coregovernanceclient

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 (
	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 (*AddAllowedStateControllerAddressFunc) FeeColor

func (*AddAllowedStateControllerAddressFunc) Post

func (*AddAllowedStateControllerAddressFunc) StateControllerAddress

func (f *AddAllowedStateControllerAddressFunc) StateControllerAddress(v wasmclient.Address)

type ClaimChainOwnershipFunc

type ClaimChainOwnershipFunc struct {
	wasmclient.ClientFunc
}

func (*ClaimChainOwnershipFunc) Post

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 (*DelegateChainOwnershipFunc) Post

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
}

func (*GetAllowedStateControllerAddressesView) Call

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

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 (*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

type RemoveAllowedStateControllerAddressFunc

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

func (*RemoveAllowedStateControllerAddressFunc) Post

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 (*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 (*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 (*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 (*SetDefaultFeeFunc) ValidatorFee

func (f *SetDefaultFeeFunc) ValidatorFee(v int64)

Jump to

Keyboard shortcuts

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