registerpushkey

package
v0.0.32 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 15, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Contract

type Contract struct {
	core.Keepers
	// contains filtered or unexported fields
}

Contract implements core.SystemContract. It is a system contract for creating a repository.

func NewContract

func NewContract() *Contract

NewContract creates a new instance of Contract

func NewContractWithNoSenderUpdate

func NewContractWithNoSenderUpdate() *Contract

NewContractWithNoSenderUpdate is like NewContract but disables fee debit and nonce update on the sender's account. This is meant to be used when calling the contract from other contract that intend to handle sender account update them self.

func (*Contract) CanExec

func (c *Contract) CanExec(typ types.TxCode) bool

func (*Contract) Exec

func (c *Contract) Exec() error

Exec executes the contract

func (*Contract) Init

func (c *Contract) Init(keepers core.Keepers, tx types.BaseTx, curChainHeight uint64) core.SystemContract

Init initialize the contract

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL