Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // RootCmd is a root command of config section. RootCmd = &cobra.Command{ Use: "morph", Short: "Section for morph network configuration commands", } )
Functions ¶
This section is empty.
Types ¶
type Client ¶ added in v0.28.2
type Client interface { invoker.RPCInvoke GetBlockCount() (uint32, error) GetContractStateByID(int32) (*state.Contract, error) GetContractStateByHash(util.Uint160) (*state.Contract, error) GetNativeContracts() ([]state.Contract, error) GetApplicationLog(util.Uint256, *trigger.Type) (*result.ApplicationLog, error) GetVersion() (*result.Version, error) SendRawTransaction(*transaction.Transaction) (util.Uint256, error) GetCommittee() (keys.PublicKeys, error) CalculateNetworkFee(tx *transaction.Transaction) (int64, error) }
Client represents N3 client interface capable of test-invoking scripts and sending signed transactions to chain.
type Container ¶ added in v0.24.0
type Container struct { Value []byte `json:"value"` Signature []byte `json:"signature"` PublicKey []byte `json:"public_key"` Token []byte `json:"token"` EACL *EACL `json:"eacl"` }
Container represents container struct in contract storage.
func (*Container) FromStackItem ¶ added in v0.24.0
FromStackItem implements stackitem.Convertible.
type EACL ¶ added in v0.24.0
type EACL struct { Value []byte `json:"value"` Signature []byte `json:"signature"` PublicKey []byte `json:"public_key"` Token []byte `json:"token"` }
EACL represents extended ACL struct in contract storage.
func (*EACL) FromStackItem ¶ added in v0.24.0
FromStackItem implements stackitem.Convertible.
Source Files ¶
- balance.go
- config.go
- container.go
- deploy.go
- download.go
- dump_hashes.go
- dump_names.go
- epoch.go
- estimation.go
- generate.go
- initialize.go
- initialize_deploy.go
- initialize_nns.go
- initialize_register.go
- initialize_roles.go
- initialize_transfer.go
- local_client.go
- n3client.go
- netmap_candidates.go
- notary.go
- policy.go
- remove_node.go
- renew_domain.go
- root.go
- update.go
- verified_domains.go
Click to show internal directories.
Click to hide internal directories.