corerootclient

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2022 License: Apache-2.0, BSD-2-Clause, Apache-2.0, + 1 more Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ArgDeployer    = "dp"
	ArgDescription = "ds"
	ArgHname       = "hn"
	ArgName        = "nm"
	ArgProgramHash = "ph"

	ResContractFound    = "cf"
	ResContractRecData  = "dt"
	ResContractRegistry = "r"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CoreRootService

type CoreRootService struct {
	wasmclient.Service
}

func NewCoreRootService

func NewCoreRootService(cl *wasmclient.ServiceClient, chainID string) (*CoreRootService, error)

func (*CoreRootService) DeployContract

func (s *CoreRootService) DeployContract() DeployContractFunc

func (*CoreRootService) FindContract

func (s *CoreRootService) FindContract() FindContractView

func (*CoreRootService) GetContractRecords

func (s *CoreRootService) GetContractRecords() GetContractRecordsView

func (*CoreRootService) GrantDeployPermission

func (s *CoreRootService) GrantDeployPermission() GrantDeployPermissionFunc

func (*CoreRootService) RevokeDeployPermission

func (s *CoreRootService) RevokeDeployPermission() RevokeDeployPermissionFunc

type DeployContractFunc

type DeployContractFunc struct {
	wasmclient.ClientFunc
	// contains filtered or unexported fields
}

func (*DeployContractFunc) Description

func (f *DeployContractFunc) Description(v string)

func (*DeployContractFunc) Name

func (f *DeployContractFunc) Name(v string)

func (*DeployContractFunc) Post

func (*DeployContractFunc) ProgramHash

func (f *DeployContractFunc) ProgramHash(v wasmclient.Hash)

type FindContractResults

type FindContractResults struct {
	// contains filtered or unexported fields
}

func (*FindContractResults) ContractFound

func (r *FindContractResults) ContractFound() []byte

func (*FindContractResults) ContractRecData

func (r *FindContractResults) ContractRecData() []byte

type FindContractView

type FindContractView struct {
	wasmclient.ClientView
	// contains filtered or unexported fields
}

func (*FindContractView) Call

func (*FindContractView) Hname

func (f *FindContractView) Hname(v wasmclient.Hname)

type GetContractRecordsResults

type GetContractRecordsResults struct {
	// contains filtered or unexported fields
}

func (*GetContractRecordsResults) ContractRegistry

func (r *GetContractRecordsResults) ContractRegistry() map[wasmclient.Hname][]byte

type GetContractRecordsView

type GetContractRecordsView struct {
	wasmclient.ClientView
}

func (*GetContractRecordsView) Call

type GrantDeployPermissionFunc

type GrantDeployPermissionFunc struct {
	wasmclient.ClientFunc
	// contains filtered or unexported fields
}

func (*GrantDeployPermissionFunc) Deployer

func (*GrantDeployPermissionFunc) Post

type RevokeDeployPermissionFunc

type RevokeDeployPermissionFunc struct {
	wasmclient.ClientFunc
	// contains filtered or unexported fields
}

func (*RevokeDeployPermissionFunc) Deployer

func (*RevokeDeployPermissionFunc) Post

Jump to

Keyboard shortcuts

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