coregovernance

package
v0.6.1-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2023 License: Apache-2.0, Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ScName        = "governance"
	ScDescription = "Governance contract"
	HScName       = wasmtypes.ScHname(0x17cf909f)
)
View Source
const (
	ParamAccessAPI   = "ia"
	ParamAccessOnly  = "i"
	ParamActions     = "n"
	ParamAddress     = "S"
	ParamCertificate = "ic"
	ParamChainOwner  = "o"
	ParamFeePolicy   = "g"
	ParamGasLimits   = "l"
	ParamGasRatio    = "e"
	ParamMetadata    = "x"
	ParamPubKey      = "ip"
)
View Source
const (
	ResultAccessNodeCandidates = "an"
	ResultAccessNodes          = "ac"
	ResultChainID              = "c"
	ResultChainOwner           = "o"
	ResultChainOwnerID         = "o"
	ResultControllers          = "a"
	ResultCustomMetadata       = "x"
	ResultFeePolicy            = "g"
	ResultGasLimits            = "l"
	ResultGasRatio             = "e"
	ResultMetadata             = "x"
	ResultStatus               = "m"
)
View Source
const (
	FuncAddAllowedStateControllerAddress    = "addAllowedStateControllerAddress"
	FuncAddCandidateNode                    = "addCandidateNode"
	FuncChangeAccessNodes                   = "changeAccessNodes"
	FuncClaimChainOwnership                 = "claimChainOwnership"
	FuncDelegateChainOwnership              = "delegateChainOwnership"
	FuncRemoveAllowedStateControllerAddress = "removeAllowedStateControllerAddress"
	FuncRevokeAccessNode                    = "revokeAccessNode"
	FuncRotateStateController               = "rotateStateController"
	FuncSetCustomMetadata                   = "setCustomMetadata"
	FuncSetEVMGasRatio                      = "setEVMGasRatio"
	FuncSetFeePolicy                        = "setFeePolicy"
	FuncSetGasLimits                        = "setGasLimits"
	FuncSetMaintenanceOff                   = "setMaintenanceOff"
	FuncSetMaintenanceOn                    = "setMaintenanceOn"
	ViewGetAllowedStateControllerAddresses  = "getAllowedStateControllerAddresses"
	ViewGetChainInfo                        = "getChainInfo"
	ViewGetChainNodes                       = "getChainNodes"
	ViewGetChainOwner                       = "getChainOwner"
	ViewGetCustomMetadata                   = "getCustomMetadata"
	ViewGetEVMGasRatio                      = "getEVMGasRatio"
	ViewGetFeePolicy                        = "getFeePolicy"
	ViewGetGasLimits                        = "getGasLimits"
	ViewGetMaintenanceStatus                = "getMaintenanceStatus"
)
View Source
const (
	HFuncAddAllowedStateControllerAddress    = wasmtypes.ScHname(0x9469d567)
	HFuncAddCandidateNode                    = wasmtypes.ScHname(0xb745b382)
	HFuncChangeAccessNodes                   = wasmtypes.ScHname(0x7bca3700)
	HFuncClaimChainOwnership                 = wasmtypes.ScHname(0x03ff0fc0)
	HFuncDelegateChainOwnership              = wasmtypes.ScHname(0x93ecb6ad)
	HFuncRemoveAllowedStateControllerAddress = wasmtypes.ScHname(0x31f69447)
	HFuncRevokeAccessNode                    = wasmtypes.ScHname(0x5459512d)
	HFuncRotateStateController               = wasmtypes.ScHname(0x244d1038)
	HFuncSetCustomMetadata                   = wasmtypes.ScHname(0xaa71b0b3)
	HFuncSetEVMGasRatio                      = wasmtypes.ScHname(0xaae22338)
	HFuncSetFeePolicy                        = wasmtypes.ScHname(0x5b791c9f)
	HFuncSetGasLimits                        = wasmtypes.ScHname(0xd72fb355)
	HFuncSetMaintenanceOff                   = wasmtypes.ScHname(0x0e2b35d4)
	HFuncSetMaintenanceOn                    = wasmtypes.ScHname(0x5e369f89)
	HViewGetAllowedStateControllerAddresses  = wasmtypes.ScHname(0xf3505183)
	HViewGetChainInfo                        = wasmtypes.ScHname(0x434477e2)
	HViewGetChainNodes                       = wasmtypes.ScHname(0xe1832289)
	HViewGetChainOwner                       = wasmtypes.ScHname(0x9b2ef0ac)
	HViewGetCustomMetadata                   = wasmtypes.ScHname(0x02d4bac9)
	HViewGetEVMGasRatio                      = wasmtypes.ScHname(0xb81c8c34)
	HViewGetFeePolicy                        = wasmtypes.ScHname(0xf8c89790)
	HViewGetGasLimits                        = wasmtypes.ScHname(0x3a493455)
	HViewGetMaintenanceStatus                = wasmtypes.ScHname(0x61fe5443)
)

Variables

This section is empty.

Functions

func OnDispatch added in v1.0.3

func OnDispatch(index int32)

Types

type AddAllowedStateControllerAddressCall

type AddAllowedStateControllerAddressCall struct {
	Func   *wasmlib.ScFunc
	Params MutableAddAllowedStateControllerAddressParams
}

type AddCandidateNodeCall added in v0.3.0

type AddCandidateNodeCall struct {
	Func   *wasmlib.ScFunc
	Params MutableAddCandidateNodeParams
}

type ArrayOfImmutableAddress added in v0.3.0

type ArrayOfImmutableAddress struct {
	Proxy wasmtypes.Proxy
}

func (ArrayOfImmutableAddress) GetAddress added in v0.3.0

func (ArrayOfImmutableAddress) Length added in v0.3.0

func (a ArrayOfImmutableAddress) Length() uint32

type ArrayOfMutableAddress added in v0.3.0

type ArrayOfMutableAddress struct {
	Proxy wasmtypes.Proxy
}

func (ArrayOfMutableAddress) AppendAddress added in v0.3.0

func (ArrayOfMutableAddress) Clear added in v0.3.0

func (a ArrayOfMutableAddress) Clear()

func (ArrayOfMutableAddress) GetAddress added in v0.3.0

func (ArrayOfMutableAddress) Length added in v0.3.0

func (a ArrayOfMutableAddress) Length() uint32

type ChangeAccessNodesCall added in v0.3.0

type ChangeAccessNodesCall struct {
	Func   *wasmlib.ScFunc
	Params MutableChangeAccessNodesParams
}

type ClaimChainOwnershipCall

type ClaimChainOwnershipCall struct {
	Func *wasmlib.ScFunc
}

type DelegateChainOwnershipCall

type DelegateChainOwnershipCall struct {
	Func   *wasmlib.ScFunc
	Params MutableDelegateChainOwnershipParams
}

type Funcs

type Funcs struct{}
var ScFuncs Funcs

func (Funcs) AddAllowedStateControllerAddress

func (sc Funcs) AddAllowedStateControllerAddress(ctx wasmlib.ScFuncCallContext) *AddAllowedStateControllerAddressCall

Adds the given address to the list of identities that constitute the state controller.

func (Funcs) AddCandidateNode added in v0.3.0

func (sc Funcs) AddCandidateNode(ctx wasmlib.ScFuncCallContext) *AddCandidateNodeCall

Adds a node to the list of candidates.

func (Funcs) ChangeAccessNodes added in v0.3.0

func (sc Funcs) ChangeAccessNodes(ctx wasmlib.ScFuncCallContext) *ChangeAccessNodesCall

Iterates through the given map of actions and applies them.

func (Funcs) ClaimChainOwnership

func (sc Funcs) ClaimChainOwnership(ctx wasmlib.ScFuncCallContext) *ClaimChainOwnershipCall

Claims the ownership of the chain if the caller matches the identity that was set in delegateChainOwnership().

func (Funcs) DelegateChainOwnership

func (sc Funcs) DelegateChainOwnership(ctx wasmlib.ScFuncCallContext) *DelegateChainOwnershipCall

Sets the Agent ID o as the new owner for the chain. This change will only be effective once claimChainOwnership() is called by o.

func (Funcs) GetAllowedStateControllerAddresses

func (sc Funcs) GetAllowedStateControllerAddresses(ctx wasmlib.ScViewCallContext) *GetAllowedStateControllerAddressesCall

Returns the list of allowed state controllers.

func (Funcs) GetChainInfo

func (sc Funcs) GetChainInfo(ctx wasmlib.ScViewCallContext) *GetChainInfoCall

Returns information about the chain.

func (Funcs) GetChainNodes added in v0.3.0

func (sc Funcs) GetChainNodes(ctx wasmlib.ScViewCallContext) *GetChainNodesCall

Returns the current access nodes and candidates.

func (Funcs) GetChainOwner added in v0.3.0

func (sc Funcs) GetChainOwner(ctx wasmlib.ScViewCallContext) *GetChainOwnerCall

Returns the AgentID of the chain owner.

func (Funcs) GetCustomMetadata

func (sc Funcs) GetCustomMetadata(ctx wasmlib.ScViewCallContext) *GetCustomMetadataCall

Returns the extra metadata that is added to the chain AliasOutput.

func (Funcs) GetEVMGasRatio added in v1.0.3

func (sc Funcs) GetEVMGasRatio(ctx wasmlib.ScViewCallContext) *GetEVMGasRatioCall

Returns the EVM gas ratio.

func (Funcs) GetFeePolicy added in v0.3.0

func (sc Funcs) GetFeePolicy(ctx wasmlib.ScViewCallContext) *GetFeePolicyCall

Returns the fee policy.

func (Funcs) GetGasLimits added in v1.0.3

func (sc Funcs) GetGasLimits(ctx wasmlib.ScViewCallContext) *GetGasLimitsCall

Returns the gas limits.

func (Funcs) GetMaintenanceStatus added in v1.0.3

func (sc Funcs) GetMaintenanceStatus(ctx wasmlib.ScViewCallContext) *GetMaintenanceStatusCall

Returns whether the chain is undergoing maintenance.

func (Funcs) RemoveAllowedStateControllerAddress

func (sc Funcs) RemoveAllowedStateControllerAddress(ctx wasmlib.ScFuncCallContext) *RemoveAllowedStateControllerAddressCall

Removes the given address from the list of identities that constitute the state controller.

func (Funcs) RevokeAccessNode added in v0.3.0

func (sc Funcs) RevokeAccessNode(ctx wasmlib.ScFuncCallContext) *RevokeAccessNodeCall

Removes a node from the list of candidates.

func (Funcs) RotateStateController

func (sc Funcs) RotateStateController(ctx wasmlib.ScFuncCallContext) *RotateStateControllerCall

Called when the committee is about to be rotated to the given address. If it succeeds, the next state transition will become a governance transition, thus updating the state controller in the chain's Alias Output. If it fails, nothing happens.

func (Funcs) SetCustomMetadata

func (sc Funcs) SetCustomMetadata(ctx wasmlib.ScFuncCallContext) *SetCustomMetadataCall

Changes optional extra metadata that is appended to the L1 AliasOutput.

func (Funcs) SetEVMGasRatio added in v1.0.3

func (sc Funcs) SetEVMGasRatio(ctx wasmlib.ScFuncCallContext) *SetEVMGasRatioCall

Sets the EVM gas ratio for the chain.

func (Funcs) SetFeePolicy added in v0.3.0

func (sc Funcs) SetFeePolicy(ctx wasmlib.ScFuncCallContext) *SetFeePolicyCall

Sets the fee policy for the chain.

func (Funcs) SetGasLimits added in v1.0.3

func (sc Funcs) SetGasLimits(ctx wasmlib.ScFuncCallContext) *SetGasLimitsCall

Sets the gas limits for the chain.

func (Funcs) SetMaintenanceOff

func (sc Funcs) SetMaintenanceOff(ctx wasmlib.ScFuncCallContext) *SetMaintenanceOffCall

Stops the maintenance mode.

func (Funcs) SetMaintenanceOn

func (sc Funcs) SetMaintenanceOn(ctx wasmlib.ScFuncCallContext) *SetMaintenanceOnCall

Starts the chain maintenance mode, meaning no further requests will be processed except calls to the governance contract.

type GetAllowedStateControllerAddressesCall

type GetAllowedStateControllerAddressesCall struct {
	Func    *wasmlib.ScView
	Results ImmutableGetAllowedStateControllerAddressesResults
}

type GetChainInfoCall

type GetChainInfoCall struct {
	Func    *wasmlib.ScView
	Results ImmutableGetChainInfoResults
}

type GetChainNodesCall added in v0.3.0

type GetChainNodesCall struct {
	Func    *wasmlib.ScView
	Results ImmutableGetChainNodesResults
}

type GetChainOwnerCall added in v0.3.0

type GetChainOwnerCall struct {
	Func    *wasmlib.ScView
	Results ImmutableGetChainOwnerResults
}

type GetCustomMetadataCall

type GetCustomMetadataCall struct {
	Func    *wasmlib.ScView
	Results ImmutableGetCustomMetadataResults
}

type GetEVMGasRatioCall added in v1.0.3

type GetEVMGasRatioCall struct {
	Func    *wasmlib.ScView
	Results ImmutableGetEVMGasRatioResults
}

type GetFeePolicyCall added in v0.3.0

type GetFeePolicyCall struct {
	Func    *wasmlib.ScView
	Results ImmutableGetFeePolicyResults
}

type GetGasLimitsCall added in v1.0.3

type GetGasLimitsCall struct {
	Func    *wasmlib.ScView
	Results ImmutableGetGasLimitsResults
}

type GetMaintenanceStatusCall added in v1.0.3

type GetMaintenanceStatusCall struct {
	Func    *wasmlib.ScView
	Results ImmutableGetMaintenanceStatusResults
}

type ImmutableAddAllowedStateControllerAddressParams

type ImmutableAddAllowedStateControllerAddressParams struct {
	Proxy wasmtypes.Proxy
}

func NewImmutableAddAllowedStateControllerAddressParams added in v1.0.3

func NewImmutableAddAllowedStateControllerAddressParams() ImmutableAddAllowedStateControllerAddressParams

func (ImmutableAddAllowedStateControllerAddressParams) Address added in v1.0.3

state controller address

type ImmutableAddCandidateNodeParams added in v0.3.0

type ImmutableAddCandidateNodeParams struct {
	Proxy wasmtypes.Proxy
}

func NewImmutableAddCandidateNodeParams added in v1.0.3

func NewImmutableAddCandidateNodeParams() ImmutableAddCandidateNodeParams

func (ImmutableAddCandidateNodeParams) AccessAPI added in v1.0.3

API base URL for the node, default empty

func (ImmutableAddCandidateNodeParams) AccessOnly added in v1.0.3

whether node is just an access node, default false

func (ImmutableAddCandidateNodeParams) Certificate added in v1.0.3

signed binary containing both the node public key and their L1 address

func (ImmutableAddCandidateNodeParams) PubKey added in v1.0.3

public key of the node to be added

type ImmutableChangeAccessNodesParams added in v0.3.0

type ImmutableChangeAccessNodesParams struct {
	Proxy wasmtypes.Proxy
}

func NewImmutableChangeAccessNodesParams added in v1.0.3

func NewImmutableChangeAccessNodesParams() ImmutableChangeAccessNodesParams

func (ImmutableChangeAccessNodesParams) Actions added in v1.0.3

map of actions per pubkey 0: Remove the access node from the access nodes list. 1: Accept a candidate node and add it to the list of access nodes. 2: Drop an access node from the access node and candidate lists.

type ImmutableDelegateChainOwnershipParams

type ImmutableDelegateChainOwnershipParams struct {
	Proxy wasmtypes.Proxy
}

func NewImmutableDelegateChainOwnershipParams added in v1.0.3

func NewImmutableDelegateChainOwnershipParams() ImmutableDelegateChainOwnershipParams

func (ImmutableDelegateChainOwnershipParams) ChainOwner

next chain owner's agent ID

type ImmutableGetAllowedStateControllerAddressesResults

type ImmutableGetAllowedStateControllerAddressesResults struct {
	Proxy wasmtypes.Proxy
}

func (ImmutableGetAllowedStateControllerAddressesResults) Controllers added in v1.0.3

Array16 of state controller addresses

type ImmutableGetChainInfoResults

type ImmutableGetChainInfoResults struct {
	Proxy wasmtypes.Proxy
}

func (ImmutableGetChainInfoResults) ChainID

chain ID

func (ImmutableGetChainInfoResults) ChainOwnerID

chain owner agent ID

func (ImmutableGetChainInfoResults) CustomMetadata

chain metadata

func (ImmutableGetChainInfoResults) FeePolicy added in v1.0.3

serialized fee policy

func (ImmutableGetChainInfoResults) GasLimits added in v1.0.3

serialized gas limits

type ImmutableGetChainNodesResults added in v0.3.0

type ImmutableGetChainNodesResults struct {
	Proxy wasmtypes.Proxy
}

func (ImmutableGetChainNodesResults) AccessNodeCandidates added in v0.3.0

serialized access node info per pubKey

func (ImmutableGetChainNodesResults) AccessNodes added in v0.3.0

pubKey set

type ImmutableGetChainOwnerResults added in v0.3.0

type ImmutableGetChainOwnerResults struct {
	Proxy wasmtypes.Proxy
}

func (ImmutableGetChainOwnerResults) ChainOwner added in v0.3.0

chain owner

type ImmutableGetCustomMetadataResults

type ImmutableGetCustomMetadataResults struct {
	Proxy wasmtypes.Proxy
}

func (ImmutableGetCustomMetadataResults) Metadata

chain metadata

type ImmutableGetEVMGasRatioResults added in v1.0.3

type ImmutableGetEVMGasRatioResults struct {
	Proxy wasmtypes.Proxy
}

func (ImmutableGetEVMGasRatioResults) GasRatio added in v1.0.3

serialized gas ratio

type ImmutableGetFeePolicyResults added in v0.3.0

type ImmutableGetFeePolicyResults struct {
	Proxy wasmtypes.Proxy
}

func (ImmutableGetFeePolicyResults) FeePolicy added in v1.0.3

serialized fee policy

type ImmutableGetGasLimitsResults added in v1.0.3

type ImmutableGetGasLimitsResults struct {
	Proxy wasmtypes.Proxy
}

func (ImmutableGetGasLimitsResults) GasLimits added in v1.0.3

serialized gas limits

type ImmutableGetMaintenanceStatusResults added in v1.0.3

type ImmutableGetMaintenanceStatusResults struct {
	Proxy wasmtypes.Proxy
}

func (ImmutableGetMaintenanceStatusResults) Status added in v1.0.3

whether maintenance mode is on

type ImmutableRemoveAllowedStateControllerAddressParams

type ImmutableRemoveAllowedStateControllerAddressParams struct {
	Proxy wasmtypes.Proxy
}

func NewImmutableRemoveAllowedStateControllerAddressParams added in v1.0.3

func NewImmutableRemoveAllowedStateControllerAddressParams() ImmutableRemoveAllowedStateControllerAddressParams

func (ImmutableRemoveAllowedStateControllerAddressParams) Address added in v1.0.3

state controller address

type ImmutableRevokeAccessNodeParams added in v0.3.0

type ImmutableRevokeAccessNodeParams struct {
	Proxy wasmtypes.Proxy
}

func NewImmutableRevokeAccessNodeParams added in v1.0.3

func NewImmutableRevokeAccessNodeParams() ImmutableRevokeAccessNodeParams

func (ImmutableRevokeAccessNodeParams) Certificate added in v1.0.3

certificate of the node to be removed

func (ImmutableRevokeAccessNodeParams) PubKey added in v1.0.3

public key of the node to be removed

type ImmutableRotateStateControllerParams

type ImmutableRotateStateControllerParams struct {
	Proxy wasmtypes.Proxy
}

func NewImmutableRotateStateControllerParams added in v1.0.3

func NewImmutableRotateStateControllerParams() ImmutableRotateStateControllerParams

func (ImmutableRotateStateControllerParams) Address added in v1.0.3

state controller address

type ImmutableSetCustomMetadataParams

type ImmutableSetCustomMetadataParams struct {
	Proxy wasmtypes.Proxy
}

func NewImmutableSetCustomMetadataParams

func NewImmutableSetCustomMetadataParams() ImmutableSetCustomMetadataParams

func (ImmutableSetCustomMetadataParams) Metadata

serialized chain metadata

type ImmutableSetEVMGasRatioParams added in v1.0.3

type ImmutableSetEVMGasRatioParams struct {
	Proxy wasmtypes.Proxy
}

func NewImmutableSetEVMGasRatioParams added in v1.0.3

func NewImmutableSetEVMGasRatioParams() ImmutableSetEVMGasRatioParams

func (ImmutableSetEVMGasRatioParams) GasRatio added in v1.0.3

serialized gas ratio

type ImmutableSetFeePolicyParams added in v0.3.0

type ImmutableSetFeePolicyParams struct {
	Proxy wasmtypes.Proxy
}

func NewImmutableSetFeePolicyParams added in v1.0.3

func NewImmutableSetFeePolicyParams() ImmutableSetFeePolicyParams

func (ImmutableSetFeePolicyParams) FeePolicy added in v1.0.3

serialized fee policy

type ImmutableSetGasLimitsParams added in v1.0.3

type ImmutableSetGasLimitsParams struct {
	Proxy wasmtypes.Proxy
}

func NewImmutableSetGasLimitsParams added in v1.0.3

func NewImmutableSetGasLimitsParams() ImmutableSetGasLimitsParams

func (ImmutableSetGasLimitsParams) GasLimits added in v1.0.3

serialized gas limits

type MapBytesToImmutableBool added in v1.0.3

type MapBytesToImmutableBool struct {
	Proxy wasmtypes.Proxy
}

func (MapBytesToImmutableBool) GetBool added in v1.0.3

type MapBytesToImmutableBytes added in v0.3.0

type MapBytesToImmutableBytes struct {
	Proxy wasmtypes.Proxy
}

func (MapBytesToImmutableBytes) GetBytes added in v0.3.0

type MapBytesToImmutableUint8 added in v0.3.0

type MapBytesToImmutableUint8 struct {
	Proxy wasmtypes.Proxy
}

func (MapBytesToImmutableUint8) GetUint8 added in v0.3.0

type MapBytesToMutableBool added in v1.0.3

type MapBytesToMutableBool struct {
	Proxy wasmtypes.Proxy
}

func (MapBytesToMutableBool) Clear added in v1.0.3

func (m MapBytesToMutableBool) Clear()

func (MapBytesToMutableBool) GetBool added in v1.0.3

type MapBytesToMutableBytes added in v0.3.0

type MapBytesToMutableBytes struct {
	Proxy wasmtypes.Proxy
}

func (MapBytesToMutableBytes) Clear added in v0.3.0

func (m MapBytesToMutableBytes) Clear()

func (MapBytesToMutableBytes) GetBytes added in v0.3.0

type MapBytesToMutableUint8 added in v0.3.0

type MapBytesToMutableUint8 struct {
	Proxy wasmtypes.Proxy
}

func (MapBytesToMutableUint8) Clear added in v0.3.0

func (m MapBytesToMutableUint8) Clear()

func (MapBytesToMutableUint8) GetUint8 added in v0.3.0

type MutableAddAllowedStateControllerAddressParams

type MutableAddAllowedStateControllerAddressParams struct {
	Proxy wasmtypes.Proxy
}

func (MutableAddAllowedStateControllerAddressParams) Address added in v1.0.3

state controller address

type MutableAddCandidateNodeParams added in v0.3.0

type MutableAddCandidateNodeParams struct {
	Proxy wasmtypes.Proxy
}

func (MutableAddCandidateNodeParams) AccessAPI added in v1.0.3

API base URL for the node, default empty

func (MutableAddCandidateNodeParams) AccessOnly added in v1.0.3

whether node is just an access node, default false

func (MutableAddCandidateNodeParams) Certificate added in v1.0.3

signed binary containing both the node public key and their L1 address

func (MutableAddCandidateNodeParams) PubKey added in v1.0.3

public key of the node to be added

type MutableChangeAccessNodesParams added in v0.3.0

type MutableChangeAccessNodesParams struct {
	Proxy wasmtypes.Proxy
}

func (MutableChangeAccessNodesParams) Actions added in v1.0.3

map of actions per pubkey 0: Remove the access node from the access nodes list. 1: Accept a candidate node and add it to the list of access nodes. 2: Drop an access node from the access node and candidate lists.

type MutableDelegateChainOwnershipParams

type MutableDelegateChainOwnershipParams struct {
	Proxy wasmtypes.Proxy
}

func (MutableDelegateChainOwnershipParams) ChainOwner

next chain owner's agent ID

type MutableGetAllowedStateControllerAddressesResults

type MutableGetAllowedStateControllerAddressesResults struct {
	Proxy wasmtypes.Proxy
}

func NewMutableGetAllowedStateControllerAddressesResults added in v1.0.3

func NewMutableGetAllowedStateControllerAddressesResults() MutableGetAllowedStateControllerAddressesResults

func (MutableGetAllowedStateControllerAddressesResults) Controllers added in v1.0.3

Array16 of state controller addresses

type MutableGetChainInfoResults

type MutableGetChainInfoResults struct {
	Proxy wasmtypes.Proxy
}

func NewMutableGetChainInfoResults added in v1.0.3

func NewMutableGetChainInfoResults() MutableGetChainInfoResults

func (MutableGetChainInfoResults) ChainID

chain ID

func (MutableGetChainInfoResults) ChainOwnerID

chain owner agent ID

func (MutableGetChainInfoResults) CustomMetadata

chain metadata

func (MutableGetChainInfoResults) FeePolicy added in v1.0.3

serialized fee policy

func (MutableGetChainInfoResults) GasLimits added in v1.0.3

serialized gas limits

type MutableGetChainNodesResults added in v0.3.0

type MutableGetChainNodesResults struct {
	Proxy wasmtypes.Proxy
}

func NewMutableGetChainNodesResults added in v1.0.3

func NewMutableGetChainNodesResults() MutableGetChainNodesResults

func (MutableGetChainNodesResults) AccessNodeCandidates added in v0.3.0

func (s MutableGetChainNodesResults) AccessNodeCandidates() MapBytesToMutableBytes

serialized access node info per pubKey

func (MutableGetChainNodesResults) AccessNodes added in v0.3.0

pubKey set

type MutableGetChainOwnerResults added in v0.3.0

type MutableGetChainOwnerResults struct {
	Proxy wasmtypes.Proxy
}

func NewMutableGetChainOwnerResults added in v1.0.3

func NewMutableGetChainOwnerResults() MutableGetChainOwnerResults

func (MutableGetChainOwnerResults) ChainOwner added in v0.3.0

chain owner

type MutableGetCustomMetadataResults

type MutableGetCustomMetadataResults struct {
	Proxy wasmtypes.Proxy
}

func NewMutableGetCustomMetadataResults

func NewMutableGetCustomMetadataResults() MutableGetCustomMetadataResults

func (MutableGetCustomMetadataResults) Metadata

chain metadata

type MutableGetEVMGasRatioResults added in v1.0.3

type MutableGetEVMGasRatioResults struct {
	Proxy wasmtypes.Proxy
}

func NewMutableGetEVMGasRatioResults added in v1.0.3

func NewMutableGetEVMGasRatioResults() MutableGetEVMGasRatioResults

func (MutableGetEVMGasRatioResults) GasRatio added in v1.0.3

serialized gas ratio

type MutableGetFeePolicyResults added in v0.3.0

type MutableGetFeePolicyResults struct {
	Proxy wasmtypes.Proxy
}

func NewMutableGetFeePolicyResults added in v1.0.3

func NewMutableGetFeePolicyResults() MutableGetFeePolicyResults

func (MutableGetFeePolicyResults) FeePolicy added in v1.0.3

serialized fee policy

type MutableGetGasLimitsResults added in v1.0.3

type MutableGetGasLimitsResults struct {
	Proxy wasmtypes.Proxy
}

func NewMutableGetGasLimitsResults added in v1.0.3

func NewMutableGetGasLimitsResults() MutableGetGasLimitsResults

func (MutableGetGasLimitsResults) GasLimits added in v1.0.3

serialized gas limits

type MutableGetMaintenanceStatusResults added in v1.0.3

type MutableGetMaintenanceStatusResults struct {
	Proxy wasmtypes.Proxy
}

func NewMutableGetMaintenanceStatusResults added in v1.0.3

func NewMutableGetMaintenanceStatusResults() MutableGetMaintenanceStatusResults

func (MutableGetMaintenanceStatusResults) Status added in v1.0.3

whether maintenance mode is on

type MutableRemoveAllowedStateControllerAddressParams

type MutableRemoveAllowedStateControllerAddressParams struct {
	Proxy wasmtypes.Proxy
}

func (MutableRemoveAllowedStateControllerAddressParams) Address added in v1.0.3

state controller address

type MutableRevokeAccessNodeParams added in v0.3.0

type MutableRevokeAccessNodeParams struct {
	Proxy wasmtypes.Proxy
}

func (MutableRevokeAccessNodeParams) Certificate added in v1.0.3

certificate of the node to be removed

func (MutableRevokeAccessNodeParams) PubKey added in v1.0.3

public key of the node to be removed

type MutableRotateStateControllerParams

type MutableRotateStateControllerParams struct {
	Proxy wasmtypes.Proxy
}

func (MutableRotateStateControllerParams) Address added in v1.0.3

state controller address

type MutableSetCustomMetadataParams

type MutableSetCustomMetadataParams struct {
	Proxy wasmtypes.Proxy
}

func (MutableSetCustomMetadataParams) Metadata

serialized chain metadata

type MutableSetEVMGasRatioParams added in v1.0.3

type MutableSetEVMGasRatioParams struct {
	Proxy wasmtypes.Proxy
}

func (MutableSetEVMGasRatioParams) GasRatio added in v1.0.3

serialized gas ratio

type MutableSetFeePolicyParams added in v0.3.0

type MutableSetFeePolicyParams struct {
	Proxy wasmtypes.Proxy
}

func (MutableSetFeePolicyParams) FeePolicy added in v1.0.3

serialized fee policy

type MutableSetGasLimitsParams added in v1.0.3

type MutableSetGasLimitsParams struct {
	Proxy wasmtypes.Proxy
}

func (MutableSetGasLimitsParams) GasLimits added in v1.0.3

serialized gas limits

type RemoveAllowedStateControllerAddressCall

type RemoveAllowedStateControllerAddressCall struct {
	Func   *wasmlib.ScFunc
	Params MutableRemoveAllowedStateControllerAddressParams
}

type RevokeAccessNodeCall added in v0.3.0

type RevokeAccessNodeCall struct {
	Func   *wasmlib.ScFunc
	Params MutableRevokeAccessNodeParams
}

type RotateStateControllerCall

type RotateStateControllerCall struct {
	Func   *wasmlib.ScFunc
	Params MutableRotateStateControllerParams
}

type SetCustomMetadataCall

type SetCustomMetadataCall struct {
	Func   *wasmlib.ScFunc
	Params MutableSetCustomMetadataParams
}

type SetEVMGasRatioCall added in v1.0.3

type SetEVMGasRatioCall struct {
	Func   *wasmlib.ScFunc
	Params MutableSetEVMGasRatioParams
}

type SetFeePolicyCall added in v0.3.0

type SetFeePolicyCall struct {
	Func   *wasmlib.ScFunc
	Params MutableSetFeePolicyParams
}

type SetGasLimitsCall added in v1.0.3

type SetGasLimitsCall struct {
	Func   *wasmlib.ScFunc
	Params MutableSetGasLimitsParams
}

type SetMaintenanceOffCall

type SetMaintenanceOffCall struct {
	Func *wasmlib.ScFunc
}

type SetMaintenanceOnCall

type SetMaintenanceOnCall struct {
	Func *wasmlib.ScFunc
}

Jump to

Keyboard shortcuts

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