Documentation
¶
Index ¶
- Constants
- type CoreRootService
- func (s *CoreRootService) DeployContract() DeployContractFunc
- func (s *CoreRootService) FindContract() FindContractView
- func (s *CoreRootService) GetContractRecords() GetContractRecordsView
- func (s *CoreRootService) GrantDeployPermission() GrantDeployPermissionFunc
- func (s *CoreRootService) RevokeDeployPermission() RevokeDeployPermissionFunc
- type DeployContractFunc
- type FindContractResults
- type FindContractView
- type GetContractRecordsResults
- type GetContractRecordsView
- type GrantDeployPermissionFunc
- type RevokeDeployPermissionFunc
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 (f *DeployContractFunc) Post() wasmclient.Request
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 (f *FindContractView) Call() FindContractResults
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 ¶
func (f *GetContractRecordsView) Call() GetContractRecordsResults
type GrantDeployPermissionFunc ¶
type GrantDeployPermissionFunc struct {
wasmclient.ClientFunc
// contains filtered or unexported fields
}
func (*GrantDeployPermissionFunc) Deployer ¶
func (f *GrantDeployPermissionFunc) Deployer(v wasmclient.AgentID)
func (*GrantDeployPermissionFunc) Post ¶
func (f *GrantDeployPermissionFunc) Post() wasmclient.Request
type RevokeDeployPermissionFunc ¶
type RevokeDeployPermissionFunc struct {
wasmclient.ClientFunc
// contains filtered or unexported fields
}
func (*RevokeDeployPermissionFunc) Deployer ¶
func (f *RevokeDeployPermissionFunc) Deployer(v wasmclient.AgentID)
func (*RevokeDeployPermissionFunc) Post ¶
func (f *RevokeDeployPermissionFunc) Post() wasmclient.Request
Click to show internal directories.
Click to hide internal directories.