Documentation
¶
Index ¶
- Constants
- type AddAllowedStateControllerAddressFunc
- func (f *AddAllowedStateControllerAddressFunc) ChainOwner(v wasmclient.AgentID)
- func (f *AddAllowedStateControllerAddressFunc) FeeColor(v wasmclient.Color)
- func (f *AddAllowedStateControllerAddressFunc) Post() wasmclient.Request
- func (f *AddAllowedStateControllerAddressFunc) StateControllerAddress(v wasmclient.Address)
- type ClaimChainOwnershipFunc
- type CoreGovernanceService
- func (s *CoreGovernanceService) AddAllowedStateControllerAddress() AddAllowedStateControllerAddressFunc
- func (s *CoreGovernanceService) ClaimChainOwnership() ClaimChainOwnershipFunc
- func (s *CoreGovernanceService) DelegateChainOwnership() DelegateChainOwnershipFunc
- func (s *CoreGovernanceService) GetAllowedStateControllerAddresses() GetAllowedStateControllerAddressesView
- func (s *CoreGovernanceService) GetChainInfo() GetChainInfoView
- func (s *CoreGovernanceService) GetFeeInfo() GetFeeInfoView
- func (s *CoreGovernanceService) GetMaxBlobSize() GetMaxBlobSizeView
- func (s *CoreGovernanceService) RemoveAllowedStateControllerAddress() RemoveAllowedStateControllerAddressFunc
- func (s *CoreGovernanceService) RotateStateController() RotateStateControllerFunc
- func (s *CoreGovernanceService) SetChainInfo() SetChainInfoFunc
- func (s *CoreGovernanceService) SetContractFee() SetContractFeeFunc
- func (s *CoreGovernanceService) SetDefaultFee() SetDefaultFeeFunc
- type DelegateChainOwnershipFunc
- type GetAllowedStateControllerAddressesResults
- type GetAllowedStateControllerAddressesView
- type GetChainInfoResults
- func (r *GetChainInfoResults) ChainID() wasmclient.ChainID
- func (r *GetChainInfoResults) ChainOwnerID() wasmclient.AgentID
- func (r *GetChainInfoResults) DefaultOwnerFee() int64
- func (r *GetChainInfoResults) DefaultValidatorFee() int64
- func (r *GetChainInfoResults) Description() string
- func (r *GetChainInfoResults) FeeColor() wasmclient.Color
- func (r *GetChainInfoResults) MaxBlobSize() int32
- func (r *GetChainInfoResults) MaxEventSize() int16
- func (r *GetChainInfoResults) MaxEventsPerReq() int16
- type GetChainInfoView
- type GetFeeInfoResults
- type GetFeeInfoView
- type GetMaxBlobSizeResults
- type GetMaxBlobSizeView
- type RemoveAllowedStateControllerAddressFunc
- type RotateStateControllerFunc
- type SetChainInfoFunc
- type SetContractFeeFunc
- type SetDefaultFeeFunc
Constants ¶
View Source
const ( ArgChainOwner = "oi" ArgFeeColor = "fc" ArgHname = "hn" ArgMaxBlobSize = "bs" ArgMaxEventSize = "es" ArgMaxEventsPerReq = "ne" ArgOwnerFee = "of" ArgStateControllerAddress = "S" ArgValidatorFee = "vf" ResAllowedStateControllerAddresses = "a" ResChainID = "c" ResChainOwnerID = "o" ResDefaultOwnerFee = "do" ResDefaultValidatorFee = "dv" ResDescription = "d" ResFeeColor = "f" ResMaxBlobSize = "mb" ResMaxEventSize = "me" ResMaxEventsPerReq = "mr" ResOwnerFee = "of" ResValidatorFee = "vf" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddAllowedStateControllerAddressFunc ¶
type AddAllowedStateControllerAddressFunc struct {
wasmclient.ClientFunc
// contains filtered or unexported fields
}
func (*AddAllowedStateControllerAddressFunc) ChainOwner ¶
func (f *AddAllowedStateControllerAddressFunc) ChainOwner(v wasmclient.AgentID)
func (*AddAllowedStateControllerAddressFunc) FeeColor ¶
func (f *AddAllowedStateControllerAddressFunc) FeeColor(v wasmclient.Color)
func (*AddAllowedStateControllerAddressFunc) Post ¶
func (f *AddAllowedStateControllerAddressFunc) Post() wasmclient.Request
func (*AddAllowedStateControllerAddressFunc) StateControllerAddress ¶
func (f *AddAllowedStateControllerAddressFunc) StateControllerAddress(v wasmclient.Address)
type ClaimChainOwnershipFunc ¶
type ClaimChainOwnershipFunc struct {
wasmclient.ClientFunc
}
func (*ClaimChainOwnershipFunc) Post ¶
func (f *ClaimChainOwnershipFunc) Post() wasmclient.Request
type CoreGovernanceService ¶
type CoreGovernanceService struct {
wasmclient.Service
}
func NewCoreGovernanceService ¶
func NewCoreGovernanceService(cl *wasmclient.ServiceClient, chainID string) (*CoreGovernanceService, error)
func (*CoreGovernanceService) AddAllowedStateControllerAddress ¶
func (s *CoreGovernanceService) AddAllowedStateControllerAddress() AddAllowedStateControllerAddressFunc
func (*CoreGovernanceService) ClaimChainOwnership ¶
func (s *CoreGovernanceService) ClaimChainOwnership() ClaimChainOwnershipFunc
func (*CoreGovernanceService) DelegateChainOwnership ¶
func (s *CoreGovernanceService) DelegateChainOwnership() DelegateChainOwnershipFunc
func (*CoreGovernanceService) GetAllowedStateControllerAddresses ¶
func (s *CoreGovernanceService) GetAllowedStateControllerAddresses() GetAllowedStateControllerAddressesView
func (*CoreGovernanceService) GetChainInfo ¶
func (s *CoreGovernanceService) GetChainInfo() GetChainInfoView
func (*CoreGovernanceService) GetFeeInfo ¶
func (s *CoreGovernanceService) GetFeeInfo() GetFeeInfoView
func (*CoreGovernanceService) GetMaxBlobSize ¶
func (s *CoreGovernanceService) GetMaxBlobSize() GetMaxBlobSizeView
func (*CoreGovernanceService) RemoveAllowedStateControllerAddress ¶
func (s *CoreGovernanceService) RemoveAllowedStateControllerAddress() RemoveAllowedStateControllerAddressFunc
func (*CoreGovernanceService) RotateStateController ¶
func (s *CoreGovernanceService) RotateStateController() RotateStateControllerFunc
func (*CoreGovernanceService) SetChainInfo ¶
func (s *CoreGovernanceService) SetChainInfo() SetChainInfoFunc
func (*CoreGovernanceService) SetContractFee ¶
func (s *CoreGovernanceService) SetContractFee() SetContractFeeFunc
func (*CoreGovernanceService) SetDefaultFee ¶
func (s *CoreGovernanceService) SetDefaultFee() SetDefaultFeeFunc
type DelegateChainOwnershipFunc ¶
type DelegateChainOwnershipFunc struct {
wasmclient.ClientFunc
// contains filtered or unexported fields
}
func (*DelegateChainOwnershipFunc) ChainOwner ¶
func (f *DelegateChainOwnershipFunc) ChainOwner(v wasmclient.AgentID)
func (*DelegateChainOwnershipFunc) Post ¶
func (f *DelegateChainOwnershipFunc) Post() wasmclient.Request
type GetAllowedStateControllerAddressesResults ¶
type GetAllowedStateControllerAddressesResults struct {
// contains filtered or unexported fields
}
func (*GetAllowedStateControllerAddressesResults) AllowedStateControllerAddresses ¶
func (r *GetAllowedStateControllerAddressesResults) AllowedStateControllerAddresses() []byte
type GetAllowedStateControllerAddressesView ¶
type GetAllowedStateControllerAddressesView struct {
wasmclient.ClientView
}
type GetChainInfoResults ¶
type GetChainInfoResults struct {
// contains filtered or unexported fields
}
func (*GetChainInfoResults) ChainID ¶
func (r *GetChainInfoResults) ChainID() wasmclient.ChainID
func (*GetChainInfoResults) ChainOwnerID ¶
func (r *GetChainInfoResults) ChainOwnerID() wasmclient.AgentID
func (*GetChainInfoResults) DefaultOwnerFee ¶
func (r *GetChainInfoResults) DefaultOwnerFee() int64
func (*GetChainInfoResults) DefaultValidatorFee ¶
func (r *GetChainInfoResults) DefaultValidatorFee() int64
func (*GetChainInfoResults) Description ¶
func (r *GetChainInfoResults) Description() string
func (*GetChainInfoResults) FeeColor ¶
func (r *GetChainInfoResults) FeeColor() wasmclient.Color
func (*GetChainInfoResults) MaxBlobSize ¶
func (r *GetChainInfoResults) MaxBlobSize() int32
func (*GetChainInfoResults) MaxEventSize ¶
func (r *GetChainInfoResults) MaxEventSize() int16
func (*GetChainInfoResults) MaxEventsPerReq ¶
func (r *GetChainInfoResults) MaxEventsPerReq() int16
type GetChainInfoView ¶
type GetChainInfoView struct {
wasmclient.ClientView
}
func (*GetChainInfoView) Call ¶
func (f *GetChainInfoView) Call() GetChainInfoResults
type GetFeeInfoResults ¶
type GetFeeInfoResults struct {
// contains filtered or unexported fields
}
func (*GetFeeInfoResults) FeeColor ¶
func (r *GetFeeInfoResults) FeeColor() wasmclient.Color
func (*GetFeeInfoResults) OwnerFee ¶
func (r *GetFeeInfoResults) OwnerFee() int64
func (*GetFeeInfoResults) ValidatorFee ¶
func (r *GetFeeInfoResults) ValidatorFee() int64
type GetFeeInfoView ¶
type GetFeeInfoView struct {
wasmclient.ClientView
// contains filtered or unexported fields
}
func (*GetFeeInfoView) Call ¶
func (f *GetFeeInfoView) Call() GetFeeInfoResults
func (*GetFeeInfoView) Hname ¶
func (f *GetFeeInfoView) Hname(v wasmclient.Hname)
type GetMaxBlobSizeResults ¶
type GetMaxBlobSizeResults struct {
// contains filtered or unexported fields
}
func (*GetMaxBlobSizeResults) MaxBlobSize ¶
func (r *GetMaxBlobSizeResults) MaxBlobSize() int32
type GetMaxBlobSizeView ¶
type GetMaxBlobSizeView struct {
wasmclient.ClientView
}
func (*GetMaxBlobSizeView) Call ¶
func (f *GetMaxBlobSizeView) Call() GetMaxBlobSizeResults
type RemoveAllowedStateControllerAddressFunc ¶
type RemoveAllowedStateControllerAddressFunc struct {
wasmclient.ClientFunc
// contains filtered or unexported fields
}
func (*RemoveAllowedStateControllerAddressFunc) Post ¶
func (f *RemoveAllowedStateControllerAddressFunc) Post() wasmclient.Request
func (*RemoveAllowedStateControllerAddressFunc) StateControllerAddress ¶
func (f *RemoveAllowedStateControllerAddressFunc) StateControllerAddress(v wasmclient.Address)
type RotateStateControllerFunc ¶
type RotateStateControllerFunc struct {
wasmclient.ClientFunc
// contains filtered or unexported fields
}
func (*RotateStateControllerFunc) Post ¶
func (f *RotateStateControllerFunc) Post() wasmclient.Request
func (*RotateStateControllerFunc) StateControllerAddress ¶
func (f *RotateStateControllerFunc) StateControllerAddress(v wasmclient.Address)
type SetChainInfoFunc ¶
type SetChainInfoFunc struct {
wasmclient.ClientFunc
// contains filtered or unexported fields
}
func (*SetChainInfoFunc) MaxBlobSize ¶
func (f *SetChainInfoFunc) MaxBlobSize(v int32)
func (*SetChainInfoFunc) MaxEventSize ¶
func (f *SetChainInfoFunc) MaxEventSize(v int16)
func (*SetChainInfoFunc) MaxEventsPerReq ¶
func (f *SetChainInfoFunc) MaxEventsPerReq(v int16)
func (*SetChainInfoFunc) OwnerFee ¶
func (f *SetChainInfoFunc) OwnerFee(v int64)
func (*SetChainInfoFunc) Post ¶
func (f *SetChainInfoFunc) Post() wasmclient.Request
func (*SetChainInfoFunc) ValidatorFee ¶
func (f *SetChainInfoFunc) ValidatorFee(v int64)
type SetContractFeeFunc ¶
type SetContractFeeFunc struct {
wasmclient.ClientFunc
// contains filtered or unexported fields
}
func (*SetContractFeeFunc) Hname ¶
func (f *SetContractFeeFunc) Hname(v wasmclient.Hname)
func (*SetContractFeeFunc) OwnerFee ¶
func (f *SetContractFeeFunc) OwnerFee(v int64)
func (*SetContractFeeFunc) Post ¶
func (f *SetContractFeeFunc) Post() wasmclient.Request
func (*SetContractFeeFunc) ValidatorFee ¶
func (f *SetContractFeeFunc) ValidatorFee(v int64)
type SetDefaultFeeFunc ¶
type SetDefaultFeeFunc struct {
wasmclient.ClientFunc
// contains filtered or unexported fields
}
func (*SetDefaultFeeFunc) OwnerFee ¶
func (f *SetDefaultFeeFunc) OwnerFee(v int64)
func (*SetDefaultFeeFunc) Post ¶
func (f *SetDefaultFeeFunc) Post() wasmclient.Request
func (*SetDefaultFeeFunc) ValidatorFee ¶
func (f *SetDefaultFeeFunc) ValidatorFee(v int64)
Click to show internal directories.
Click to hide internal directories.