Documentation ¶
Index ¶
- Constants
- Variables
- func GetContractExecutionRequestIDKey(requestID uint64) []byte
- func NewBeginBlockerExecMsg() ([]byte, error)
- func NewRegistryActiveContractQuery() ([]byte, error)
- func NewRegistryContractQuery() ([]byte, error)
- func NewRegistryDeactivateMsg(contractAddress string) ([]byte, error)
- func ParamKeyTable() paramtypes.KeyTable
- func RegisterInterfaces(registry types.InterfaceRegistry)
- func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- type BankKeeper
- type BatchContractRegistrationRequestProposal
- func (*BatchContractRegistrationRequestProposal) Descriptor() ([]byte, []int)
- func (p *BatchContractRegistrationRequestProposal) GetDescription() string
- func (p *BatchContractRegistrationRequestProposal) GetTitle() string
- func (m *BatchContractRegistrationRequestProposal) Marshal() (dAtA []byte, err error)
- func (m *BatchContractRegistrationRequestProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *BatchContractRegistrationRequestProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *BatchContractRegistrationRequestProposal) ProposalRoute() string
- func (p *BatchContractRegistrationRequestProposal) ProposalType() string
- func (*BatchContractRegistrationRequestProposal) ProtoMessage()
- func (m *BatchContractRegistrationRequestProposal) Reset()
- func (m *BatchContractRegistrationRequestProposal) Size() (n int)
- func (m *BatchContractRegistrationRequestProposal) String() string
- func (m *BatchContractRegistrationRequestProposal) Unmarshal(dAtA []byte) error
- func (p *BatchContractRegistrationRequestProposal) ValidateBasic() error
- func (m *BatchContractRegistrationRequestProposal) XXX_DiscardUnknown()
- func (m *BatchContractRegistrationRequestProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BatchContractRegistrationRequestProposal) XXX_Merge(src proto.Message)
- func (m *BatchContractRegistrationRequestProposal) XXX_Size() int
- func (m *BatchContractRegistrationRequestProposal) XXX_Unmarshal(b []byte) error
- type BatchStoreCodeProposal
- func (*BatchStoreCodeProposal) Descriptor() ([]byte, []int)
- func (p *BatchStoreCodeProposal) GetDescription() string
- func (p *BatchStoreCodeProposal) GetTitle() string
- func (m *BatchStoreCodeProposal) Marshal() (dAtA []byte, err error)
- func (m *BatchStoreCodeProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *BatchStoreCodeProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *BatchStoreCodeProposal) ProposalRoute() string
- func (p *BatchStoreCodeProposal) ProposalType() string
- func (*BatchStoreCodeProposal) ProtoMessage()
- func (m *BatchStoreCodeProposal) Reset()
- func (m *BatchStoreCodeProposal) Size() (n int)
- func (m *BatchStoreCodeProposal) String() string
- func (m *BatchStoreCodeProposal) Unmarshal(dAtA []byte) error
- func (p *BatchStoreCodeProposal) ValidateBasic() error
- func (m *BatchStoreCodeProposal) XXX_DiscardUnknown()
- func (m *BatchStoreCodeProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BatchStoreCodeProposal) XXX_Merge(src proto.Message)
- func (m *BatchStoreCodeProposal) XXX_Size() int
- func (m *BatchStoreCodeProposal) XXX_Unmarshal(b []byte) error
- type BeginBlockerMsg
- type CWBeginBlockerExecMsg
- type ContractExecutionParams
- type ContractRegistrationRequest
- func (*ContractRegistrationRequest) Descriptor() ([]byte, []int)
- func (m *ContractRegistrationRequest) GetContractAddress() string
- func (m *ContractRegistrationRequest) GetGasLimit() uint64
- func (m *ContractRegistrationRequest) GetGasPrice() uint64
- func (m *ContractRegistrationRequest) GetPinContract() bool
- func (m *ContractRegistrationRequest) Marshal() (dAtA []byte, err error)
- func (m *ContractRegistrationRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ContractRegistrationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ContractRegistrationRequest) ProtoMessage()
- func (m *ContractRegistrationRequest) Reset()
- func (m *ContractRegistrationRequest) Size() (n int)
- func (m *ContractRegistrationRequest) String() string
- func (m *ContractRegistrationRequest) Unmarshal(dAtA []byte) error
- func (m *ContractRegistrationRequest) XXX_DiscardUnknown()
- func (m *ContractRegistrationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ContractRegistrationRequest) XXX_Merge(src proto.Message)
- func (m *ContractRegistrationRequest) XXX_Size() int
- func (m *ContractRegistrationRequest) XXX_Unmarshal(b []byte) error
- type ContractRegistrationRequestProposal
- func (*ContractRegistrationRequestProposal) Descriptor() ([]byte, []int)
- func (p *ContractRegistrationRequestProposal) GetDescription() string
- func (p *ContractRegistrationRequestProposal) GetTitle() string
- func (m *ContractRegistrationRequestProposal) Marshal() (dAtA []byte, err error)
- func (m *ContractRegistrationRequestProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *ContractRegistrationRequestProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *ContractRegistrationRequestProposal) ProposalRoute() string
- func (p *ContractRegistrationRequestProposal) ProposalType() string
- func (*ContractRegistrationRequestProposal) ProtoMessage()
- func (m *ContractRegistrationRequestProposal) Reset()
- func (m *ContractRegistrationRequestProposal) Size() (n int)
- func (m *ContractRegistrationRequestProposal) String() string
- func (m *ContractRegistrationRequestProposal) Unmarshal(dAtA []byte) error
- func (p *ContractRegistrationRequestProposal) ValidateBasic() error
- func (m *ContractRegistrationRequestProposal) XXX_DiscardUnknown()
- func (m *ContractRegistrationRequestProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ContractRegistrationRequestProposal) XXX_Merge(src proto.Message)
- func (m *ContractRegistrationRequestProposal) XXX_Size() int
- func (m *ContractRegistrationRequestProposal) XXX_Unmarshal(b []byte) error
- type ExecutionData
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (gs GenesisState) Validate() error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type InjectiveExecMsg
- type MsgClient
- type MsgServer
- type ParamSet
- type ParamSetPair
- type ParamSetPairs
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (this *Params) Equal(that interface{}) bool
- func (m *Params) GetIsExecutionEnabled() bool
- func (m *Params) GetMaxBeginBlockTotalGas() uint64
- func (m *Params) GetMaxContractGasLimit() uint64
- func (m *Params) GetMinGasPrice() uint64
- func (m *Params) GetRegistryContract() string
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (m *Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p Params) Validate() error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type QueryActiveContractsMsg
- type QueryClient
- type QueryContractsMsg
- type QueryModuleStateRequest
- func (*QueryModuleStateRequest) Descriptor() ([]byte, []int)
- func (m *QueryModuleStateRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryModuleStateRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryModuleStateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryModuleStateRequest) ProtoMessage()
- func (m *QueryModuleStateRequest) Reset()
- func (m *QueryModuleStateRequest) Size() (n int)
- func (m *QueryModuleStateRequest) String() string
- func (m *QueryModuleStateRequest) Unmarshal(dAtA []byte) error
- func (m *QueryModuleStateRequest) XXX_DiscardUnknown()
- func (m *QueryModuleStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryModuleStateRequest) XXX_Merge(src proto.Message)
- func (m *QueryModuleStateRequest) XXX_Size() int
- func (m *QueryModuleStateRequest) XXX_Unmarshal(b []byte) error
- type QueryModuleStateResponse
- func (*QueryModuleStateResponse) Descriptor() ([]byte, []int)
- func (m *QueryModuleStateResponse) GetState() *GenesisState
- func (m *QueryModuleStateResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryModuleStateResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryModuleStateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryModuleStateResponse) ProtoMessage()
- func (m *QueryModuleStateResponse) Reset()
- func (m *QueryModuleStateResponse) Size() (n int)
- func (m *QueryModuleStateResponse) String() string
- func (m *QueryModuleStateResponse) Unmarshal(dAtA []byte) error
- func (m *QueryModuleStateResponse) XXX_DiscardUnknown()
- func (m *QueryModuleStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryModuleStateResponse) XXX_Merge(src proto.Message)
- func (m *QueryModuleStateResponse) XXX_Size() int
- func (m *QueryModuleStateResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type QueryWasmxParamsRequest
- func (*QueryWasmxParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryWasmxParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryWasmxParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryWasmxParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryWasmxParamsRequest) ProtoMessage()
- func (m *QueryWasmxParamsRequest) Reset()
- func (m *QueryWasmxParamsRequest) Size() (n int)
- func (m *QueryWasmxParamsRequest) String() string
- func (m *QueryWasmxParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryWasmxParamsRequest) XXX_DiscardUnknown()
- func (m *QueryWasmxParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryWasmxParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryWasmxParamsRequest) XXX_Size() int
- func (m *QueryWasmxParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryWasmxParamsResponse
- func (*QueryWasmxParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryWasmxParamsResponse) GetParams() Params
- func (m *QueryWasmxParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryWasmxParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryWasmxParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryWasmxParamsResponse) ProtoMessage()
- func (m *QueryWasmxParamsResponse) Reset()
- func (m *QueryWasmxParamsResponse) Size() (n int)
- func (m *QueryWasmxParamsResponse) String() string
- func (m *QueryWasmxParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryWasmxParamsResponse) XXX_DiscardUnknown()
- func (m *QueryWasmxParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryWasmxParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryWasmxParamsResponse) XXX_Size() int
- func (m *QueryWasmxParamsResponse) XXX_Unmarshal(b []byte) error
- type RawContractExecutionParams
- type RegisterMsg
- type RegistryActiveContractQueryMsg
- type RegistryContractQueryMsg
- type RegistryDeactivate
- type RegistryDeactivateMsg
- type RegistryRegisterMsg
- type UnimplementedMsgServer
- type UnimplementedQueryServer
- type ValueValidatorFn
- type WasmContractOpsKeeper
- type WasmViewKeeper
Constants ¶
const ( // ModuleName is set to xwasm and not wasmx to avoid Potential key collision between KVStores // (see assertNoPrefix in cosmos-sdk/types/store.go) ModuleName = "xwasm" StoreKey = ModuleName TStoreKey = "transient_xwasm" )
const ( GasForFeeDeduction uint64 = 13419 GasForFeeRefund uint64 = 13419 DefaultGasContractCall uint64 = 63558 MinExecutionGasLimit = GasForFeeDeduction + GasForFeeRefund + DefaultGasContractCall )
const ( ProposalContractRegistrationRequest string = "ProposalContractRegistrationRequest" ProposalBatchContractRegistrationRequest string = "ProposalBatchContractRegistrationRequest" ProposalBatchStoreCode string = "ProposalBatchStoreCode" )
constants
const RouterKey = ModuleName
Variables ¶
var ( ErrInvalidGasLimit = sdkerrors.Register(ModuleName, 1, "invalid gas limit") ErrInvalidGasPrice = sdkerrors.Register(ModuleName, 2, "invalid gas price") ErrInvalidContractAddress = sdkerrors.Register(ModuleName, 3, "invalid contract address") ErrAlreadyRegistered = sdkerrors.Register(ModuleName, 4, "contract already registered") ErrDuplicateContractRegistrationRequest = sdkerrors.Register(ModuleName, 5, "contract duplicate in registration request") )
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( // Keys for store prefixes BidsKey = []byte{0x01} // Keys for Smart contract execution ContractExecutionRequestIDKey = []byte{0x02} // key to the smart contract execution request ID LatestSmartContractRequestIDKey = []byte{0x03} // key to the latest smart contract request ID )
var ( DefaultIsExecutionEnabled = false DefaultMaxBeginBlockTotalGas uint64 = 42_000_000 // 42M DefaultMaxContractGasLimit uint64 = DefaultMaxBeginBlockTotalGas / 12 // 3.5M DefaultMinGasPrice uint64 = 1_000_000_000 // 1B )
Wasmx params default values
var ( KeyIsExecutionEnabled = []byte("IsExecutionEnabled") KeyRegistryContract = []byte("RegistryContract") KeyMaxBeginBlockTotalGas = []byte("MaxBeginBlockTotalGas") KeyMaxContractGasLimit = []byte("MaxContractGasLimit") KeyMinGasPrice = []byte("MinGasPrice") )
Parameter keys
var ( ErrInvalidLengthProposal = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowProposal = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupProposal = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthWasmx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowWasmx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupWasmx = fmt.Errorf("proto: unexpected end of group") )
var ( // ModuleCdc references the global x/wasmx module codec. Note, the codec should // ONLY be used in certain instances of tests and for JSON encoding as Amino is // still used for that purpose. // // The actual codec used for serialization should be provided to x/wasmx and // defined at the application level. ModuleCdc = codec.NewAminoCodec(amino) )
Functions ¶
func NewBeginBlockerExecMsg ¶ added in v1.39.0
func NewRegistryActiveContractQuery ¶ added in v1.33.14
NewRegistryActiveContractQuery constructs the registry active contracts query message
func NewRegistryContractQuery ¶ added in v1.33.14
NewRegistryContractQuery constructs the registry Exec message
func NewRegistryDeactivateMsg ¶ added in v1.39.0
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable returns the parameter key table.
func RegisterInterfaces ¶
func RegisterInterfaces(registry types.InterfaceRegistry)
func RegisterLegacyAminoCodec ¶
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
RegisterLegacyAminoCodec registers the necessary x/wasmx interfaces and concrete types on the provided LegacyAmino codec. These types are used for Amino JSON serialization.
func RegisterMsgServer ¶
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
Types ¶
type BankKeeper ¶
type BankKeeper interface { GetAllBalances(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins SendCoinsFromModuleToModule(ctx sdk.Context, senderModule, recipientModule string, amt sdk.Coins) error SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error BurnCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error }
BankKeeper defines the expected bank keeper methods
type BatchContractRegistrationRequestProposal ¶ added in v1.33.14
type BatchContractRegistrationRequestProposal struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` ContractRegistrationRequests []ContractRegistrationRequest `` /* 137-byte string literal not displayed */ }
func (*BatchContractRegistrationRequestProposal) Descriptor ¶ added in v1.33.14
func (*BatchContractRegistrationRequestProposal) Descriptor() ([]byte, []int)
func (*BatchContractRegistrationRequestProposal) GetDescription ¶ added in v1.33.14
func (p *BatchContractRegistrationRequestProposal) GetDescription() string
GetDescription returns the description of this proposal.
func (*BatchContractRegistrationRequestProposal) GetTitle ¶ added in v1.33.14
func (p *BatchContractRegistrationRequestProposal) GetTitle() string
GetTitle returns the title of this proposal.
func (*BatchContractRegistrationRequestProposal) Marshal ¶ added in v1.33.14
func (m *BatchContractRegistrationRequestProposal) Marshal() (dAtA []byte, err error)
func (*BatchContractRegistrationRequestProposal) MarshalTo ¶ added in v1.33.14
func (m *BatchContractRegistrationRequestProposal) MarshalTo(dAtA []byte) (int, error)
func (*BatchContractRegistrationRequestProposal) MarshalToSizedBuffer ¶ added in v1.33.14
func (m *BatchContractRegistrationRequestProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BatchContractRegistrationRequestProposal) ProposalRoute ¶ added in v1.33.14
func (p *BatchContractRegistrationRequestProposal) ProposalRoute() string
ProposalRoute returns router key of this proposal.
func (*BatchContractRegistrationRequestProposal) ProposalType ¶ added in v1.33.14
func (p *BatchContractRegistrationRequestProposal) ProposalType() string
ProposalType returns proposal type of this proposal.
func (*BatchContractRegistrationRequestProposal) ProtoMessage ¶ added in v1.33.14
func (*BatchContractRegistrationRequestProposal) ProtoMessage()
func (*BatchContractRegistrationRequestProposal) Reset ¶ added in v1.33.14
func (m *BatchContractRegistrationRequestProposal) Reset()
func (*BatchContractRegistrationRequestProposal) Size ¶ added in v1.33.14
func (m *BatchContractRegistrationRequestProposal) Size() (n int)
func (*BatchContractRegistrationRequestProposal) String ¶ added in v1.33.14
func (m *BatchContractRegistrationRequestProposal) String() string
func (*BatchContractRegistrationRequestProposal) Unmarshal ¶ added in v1.33.14
func (m *BatchContractRegistrationRequestProposal) Unmarshal(dAtA []byte) error
func (*BatchContractRegistrationRequestProposal) ValidateBasic ¶ added in v1.33.14
func (p *BatchContractRegistrationRequestProposal) ValidateBasic() error
ValidateBasic returns ValidateBasic result of this proposal.
func (*BatchContractRegistrationRequestProposal) XXX_DiscardUnknown ¶ added in v1.33.14
func (m *BatchContractRegistrationRequestProposal) XXX_DiscardUnknown()
func (*BatchContractRegistrationRequestProposal) XXX_Marshal ¶ added in v1.33.14
func (m *BatchContractRegistrationRequestProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BatchContractRegistrationRequestProposal) XXX_Merge ¶ added in v1.33.14
func (m *BatchContractRegistrationRequestProposal) XXX_Merge(src proto.Message)
func (*BatchContractRegistrationRequestProposal) XXX_Size ¶ added in v1.33.14
func (m *BatchContractRegistrationRequestProposal) XXX_Size() int
func (*BatchContractRegistrationRequestProposal) XXX_Unmarshal ¶ added in v1.33.14
func (m *BatchContractRegistrationRequestProposal) XXX_Unmarshal(b []byte) error
type BatchStoreCodeProposal ¶ added in v1.42.7
type BatchStoreCodeProposal struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Proposals []types.StoreCodeProposal `protobuf:"bytes,3,rep,name=proposals,proto3" json:"proposals"` }
func NewBatchStoreCodeProposal ¶ added in v1.42.7
func NewBatchStoreCodeProposal(title, description string, proposals []wasmtypes.StoreCodeProposal) *BatchStoreCodeProposal
NewBatchStoreCodeProposal returns new instance of BatchStoreCodeProposal
func (*BatchStoreCodeProposal) Descriptor ¶ added in v1.42.7
func (*BatchStoreCodeProposal) Descriptor() ([]byte, []int)
func (*BatchStoreCodeProposal) GetDescription ¶ added in v1.42.7
func (p *BatchStoreCodeProposal) GetDescription() string
GetDescription returns the description of this proposal.
func (*BatchStoreCodeProposal) GetTitle ¶ added in v1.42.7
func (p *BatchStoreCodeProposal) GetTitle() string
GetTitle returns the title of this proposal.
func (*BatchStoreCodeProposal) Marshal ¶ added in v1.42.7
func (m *BatchStoreCodeProposal) Marshal() (dAtA []byte, err error)
func (*BatchStoreCodeProposal) MarshalTo ¶ added in v1.42.7
func (m *BatchStoreCodeProposal) MarshalTo(dAtA []byte) (int, error)
func (*BatchStoreCodeProposal) MarshalToSizedBuffer ¶ added in v1.42.7
func (m *BatchStoreCodeProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BatchStoreCodeProposal) ProposalRoute ¶ added in v1.42.7
func (p *BatchStoreCodeProposal) ProposalRoute() string
ProposalRoute returns router key of this proposal.
func (*BatchStoreCodeProposal) ProposalType ¶ added in v1.42.7
func (p *BatchStoreCodeProposal) ProposalType() string
ProposalType returns proposal type of this proposal.
func (*BatchStoreCodeProposal) ProtoMessage ¶ added in v1.42.7
func (*BatchStoreCodeProposal) ProtoMessage()
func (*BatchStoreCodeProposal) Reset ¶ added in v1.42.7
func (m *BatchStoreCodeProposal) Reset()
func (*BatchStoreCodeProposal) Size ¶ added in v1.42.7
func (m *BatchStoreCodeProposal) Size() (n int)
func (*BatchStoreCodeProposal) String ¶ added in v1.42.7
func (m *BatchStoreCodeProposal) String() string
func (*BatchStoreCodeProposal) Unmarshal ¶ added in v1.42.7
func (m *BatchStoreCodeProposal) Unmarshal(dAtA []byte) error
func (*BatchStoreCodeProposal) ValidateBasic ¶ added in v1.42.7
func (p *BatchStoreCodeProposal) ValidateBasic() error
ValidateBasic returns ValidateBasic result of this proposal.
func (*BatchStoreCodeProposal) XXX_DiscardUnknown ¶ added in v1.42.7
func (m *BatchStoreCodeProposal) XXX_DiscardUnknown()
func (*BatchStoreCodeProposal) XXX_Marshal ¶ added in v1.42.7
func (m *BatchStoreCodeProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BatchStoreCodeProposal) XXX_Merge ¶ added in v1.42.7
func (m *BatchStoreCodeProposal) XXX_Merge(src proto.Message)
func (*BatchStoreCodeProposal) XXX_Size ¶ added in v1.42.7
func (m *BatchStoreCodeProposal) XXX_Size() int
func (*BatchStoreCodeProposal) XXX_Unmarshal ¶ added in v1.42.7
func (m *BatchStoreCodeProposal) XXX_Unmarshal(b []byte) error
type BeginBlockerMsg ¶
type BeginBlockerMsg struct { }
type CWBeginBlockerExecMsg ¶
type CWBeginBlockerExecMsg struct {
BeginBlockerMsg *BeginBlockerMsg `json:"begin_blocker,omitempty"`
}
type ContractExecutionParams ¶ added in v1.33.14
type ContractExecutionParams struct { Address sdk.AccAddress GasLimit uint64 GasPrice uint64 IsExecutable bool }
func GetSortedContractExecutionParams ¶ added in v1.33.14
func GetSortedContractExecutionParams(contractExecutionList []RawContractExecutionParams) ([]*ContractExecutionParams, error)
GetSortedContractExecutionParams returns the ContractExecutionParams sorted by descending order of gas price
type ContractRegistrationRequest ¶
type ContractRegistrationRequest struct { // Unique Identifier for contract instance to be registered. ContractAddress string `protobuf:"bytes,1,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` // Maximum gas to be used for the smart contract execution. GasLimit uint64 `protobuf:"varint,2,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"` // gas price to be used for the smart contract execution. GasPrice uint64 `protobuf:"varint,3,opt,name=gas_price,json=gasPrice,proto3" json:"gas_price,omitempty"` PinContract bool `protobuf:"varint,4,opt,name=pin_contract,json=pinContract,proto3" json:"pin_contract,omitempty"` }
func (*ContractRegistrationRequest) Descriptor ¶
func (*ContractRegistrationRequest) Descriptor() ([]byte, []int)
func (*ContractRegistrationRequest) GetContractAddress ¶
func (m *ContractRegistrationRequest) GetContractAddress() string
func (*ContractRegistrationRequest) GetGasLimit ¶
func (m *ContractRegistrationRequest) GetGasLimit() uint64
func (*ContractRegistrationRequest) GetGasPrice ¶ added in v1.33.13
func (m *ContractRegistrationRequest) GetGasPrice() uint64
func (*ContractRegistrationRequest) GetPinContract ¶ added in v1.39.0
func (m *ContractRegistrationRequest) GetPinContract() bool
func (*ContractRegistrationRequest) Marshal ¶
func (m *ContractRegistrationRequest) Marshal() (dAtA []byte, err error)
func (*ContractRegistrationRequest) MarshalTo ¶
func (m *ContractRegistrationRequest) MarshalTo(dAtA []byte) (int, error)
func (*ContractRegistrationRequest) MarshalToSizedBuffer ¶
func (m *ContractRegistrationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ContractRegistrationRequest) ProtoMessage ¶
func (*ContractRegistrationRequest) ProtoMessage()
func (*ContractRegistrationRequest) Reset ¶
func (m *ContractRegistrationRequest) Reset()
func (*ContractRegistrationRequest) Size ¶
func (m *ContractRegistrationRequest) Size() (n int)
func (*ContractRegistrationRequest) String ¶
func (m *ContractRegistrationRequest) String() string
func (*ContractRegistrationRequest) Unmarshal ¶
func (m *ContractRegistrationRequest) Unmarshal(dAtA []byte) error
func (*ContractRegistrationRequest) XXX_DiscardUnknown ¶
func (m *ContractRegistrationRequest) XXX_DiscardUnknown()
func (*ContractRegistrationRequest) XXX_Marshal ¶
func (m *ContractRegistrationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ContractRegistrationRequest) XXX_Merge ¶
func (m *ContractRegistrationRequest) XXX_Merge(src proto.Message)
func (*ContractRegistrationRequest) XXX_Size ¶
func (m *ContractRegistrationRequest) XXX_Size() int
func (*ContractRegistrationRequest) XXX_Unmarshal ¶
func (m *ContractRegistrationRequest) XXX_Unmarshal(b []byte) error
type ContractRegistrationRequestProposal ¶
type ContractRegistrationRequestProposal struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` ContractRegistrationRequest ContractRegistrationRequest `` /* 134-byte string literal not displayed */ }
func NewContractRegistrationRequestProposal ¶
func NewContractRegistrationRequestProposal(title, description string, contractRegistrationRequest ContractRegistrationRequest) *ContractRegistrationRequestProposal
NewContractRegistrationRequestProposal returns new instance of ContractRegistrationRequestProposal
func (*ContractRegistrationRequestProposal) Descriptor ¶
func (*ContractRegistrationRequestProposal) Descriptor() ([]byte, []int)
func (*ContractRegistrationRequestProposal) GetDescription ¶
func (p *ContractRegistrationRequestProposal) GetDescription() string
GetDescription returns the description of this proposal.
func (*ContractRegistrationRequestProposal) GetTitle ¶
func (p *ContractRegistrationRequestProposal) GetTitle() string
GetTitle returns the title of this proposal.
func (*ContractRegistrationRequestProposal) Marshal ¶
func (m *ContractRegistrationRequestProposal) Marshal() (dAtA []byte, err error)
func (*ContractRegistrationRequestProposal) MarshalTo ¶
func (m *ContractRegistrationRequestProposal) MarshalTo(dAtA []byte) (int, error)
func (*ContractRegistrationRequestProposal) MarshalToSizedBuffer ¶
func (m *ContractRegistrationRequestProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ContractRegistrationRequestProposal) ProposalRoute ¶
func (p *ContractRegistrationRequestProposal) ProposalRoute() string
ProposalRoute returns router key of this proposal.
func (*ContractRegistrationRequestProposal) ProposalType ¶
func (p *ContractRegistrationRequestProposal) ProposalType() string
ProposalType returns proposal type of this proposal.
func (*ContractRegistrationRequestProposal) ProtoMessage ¶
func (*ContractRegistrationRequestProposal) ProtoMessage()
func (*ContractRegistrationRequestProposal) Reset ¶
func (m *ContractRegistrationRequestProposal) Reset()
func (*ContractRegistrationRequestProposal) Size ¶
func (m *ContractRegistrationRequestProposal) Size() (n int)
func (*ContractRegistrationRequestProposal) String ¶
func (m *ContractRegistrationRequestProposal) String() string
func (*ContractRegistrationRequestProposal) Unmarshal ¶
func (m *ContractRegistrationRequestProposal) Unmarshal(dAtA []byte) error
func (*ContractRegistrationRequestProposal) ValidateBasic ¶
func (p *ContractRegistrationRequestProposal) ValidateBasic() error
ValidateBasic returns ValidateBasic result of this proposal.
func (*ContractRegistrationRequestProposal) XXX_DiscardUnknown ¶
func (m *ContractRegistrationRequestProposal) XXX_DiscardUnknown()
func (*ContractRegistrationRequestProposal) XXX_Marshal ¶
func (m *ContractRegistrationRequestProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ContractRegistrationRequestProposal) XXX_Merge ¶
func (m *ContractRegistrationRequestProposal) XXX_Merge(src proto.Message)
func (*ContractRegistrationRequestProposal) XXX_Size ¶
func (m *ContractRegistrationRequestProposal) XXX_Size() int
func (*ContractRegistrationRequestProposal) XXX_Unmarshal ¶
func (m *ContractRegistrationRequestProposal) XXX_Unmarshal(b []byte) error
type ExecutionData ¶ added in v1.39.0
type GenesisState ¶
type GenesisState struct { // params defines all the parameters of related to wasmx. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` }
GenesisState defines the wasmx module's genesis state.
func DefaultGenesisState ¶
func DefaultGenesisState() *GenesisState
func NewGenesisState ¶
func NewGenesisState() GenesisState
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalToSizedBuffer ¶
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (GenesisState) Validate ¶
func (gs GenesisState) Validate() error
func (*GenesisState) XXX_DiscardUnknown ¶
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type InjectiveExecMsg ¶ added in v1.39.0
type InjectiveExecMsg struct {
ExecutionData ExecutionData `json:"injective_exec"`
}
func NewInjectiveExecMsg ¶ added in v1.39.0
func NewInjectiveExecMsg(origin sdk.AccAddress, data string) (*InjectiveExecMsg, error)
type MsgClient ¶
type MsgClient interface { }
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc1.ClientConn) MsgClient
type ParamSet ¶
type ParamSet interface {
ParamSetPairs() ParamSetPairs
}
ParamSet defines an interface for structs containing parameters for a module
type ParamSetPair ¶
type ParamSetPair struct { Key []byte Value interface{} ValidatorFn ValueValidatorFn }
ParamSetPair is used for associating paramsubspace key and field of param structs.
func NewParamSetPair ¶
func NewParamSetPair(key []byte, value interface{}, vfn ValueValidatorFn) ParamSetPair
NewParamSetPair creates a new ParamSetPair instance.
type Params ¶
type Params struct { // Set the status to active to indicate that the contract is to be executed in begin blocker. IsExecutionEnabled bool `protobuf:"varint,1,opt,name=is_execution_enabled,json=isExecutionEnabled,proto3" json:"is_execution_enabled,omitempty"` // registry_contract is the address of the registry contract that will be used to register contract executions in begin blocker. RegistryContract string `protobuf:"bytes,2,opt,name=registry_contract,json=registryContract,proto3" json:"registry_contract,omitempty"` // Maximum aggregate total gas to be used for the contract executions in the BeginBlocker. MaxBeginBlockTotalGas uint64 `` /* 131-byte string literal not displayed */ // the maximum gas limit each individual contract can consume in the BeginBlocker. MaxContractGasLimit uint64 `protobuf:"varint,4,opt,name=max_contract_gas_limit,json=maxContractGasLimit,proto3" json:"max_contract_gas_limit,omitempty"` // min_gas_price defines the minimum gas price the contracts must pay to be executed in the BeginBlocker. MinGasPrice uint64 `protobuf:"varint,5,opt,name=min_gas_price,json=minGasPrice,proto3" json:"min_gas_price,omitempty"` }
func NewParams ¶
func NewParams( isExecutionEnabled bool, registryContract string, maxBeginBlockTotalGas uint64, maxContractGasLimit uint64, minGasPrice uint64, ) Params
NewParams creates a new Params instance
func (*Params) Descriptor ¶
func (*Params) GetIsExecutionEnabled ¶
func (*Params) GetMaxBeginBlockTotalGas ¶ added in v1.33.14
func (*Params) GetMaxContractGasLimit ¶ added in v1.33.14
func (*Params) GetMinGasPrice ¶ added in v1.42.6
func (*Params) GetRegistryContract ¶ added in v1.33.14
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs returns the parameter set pairs.
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type QueryActiveContractsMsg ¶ added in v1.33.14
type QueryActiveContractsMsg struct { }
type QueryClient ¶
type QueryClient interface { // Retrieves wasmx params WasmxParams(ctx context.Context, in *QueryWasmxParamsRequest, opts ...grpc.CallOption) (*QueryWasmxParamsResponse, error) // Retrieves the entire wasmx module's state WasmxModuleState(ctx context.Context, in *QueryModuleStateRequest, opts ...grpc.CallOption) (*QueryModuleStateResponse, error) }
QueryClient is the client API for Query service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewQueryClient ¶
func NewQueryClient(cc grpc1.ClientConn) QueryClient
type QueryContractsMsg ¶ added in v1.33.7
type QueryContractsMsg struct { }
type QueryModuleStateRequest ¶
type QueryModuleStateRequest struct { }
QueryModuleStateRequest is the request type for the Query/WasmxModuleState RPC method.
func (*QueryModuleStateRequest) Descriptor ¶
func (*QueryModuleStateRequest) Descriptor() ([]byte, []int)
func (*QueryModuleStateRequest) Marshal ¶
func (m *QueryModuleStateRequest) Marshal() (dAtA []byte, err error)
func (*QueryModuleStateRequest) MarshalTo ¶
func (m *QueryModuleStateRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryModuleStateRequest) MarshalToSizedBuffer ¶
func (m *QueryModuleStateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryModuleStateRequest) ProtoMessage ¶
func (*QueryModuleStateRequest) ProtoMessage()
func (*QueryModuleStateRequest) Reset ¶
func (m *QueryModuleStateRequest) Reset()
func (*QueryModuleStateRequest) Size ¶
func (m *QueryModuleStateRequest) Size() (n int)
func (*QueryModuleStateRequest) String ¶
func (m *QueryModuleStateRequest) String() string
func (*QueryModuleStateRequest) Unmarshal ¶
func (m *QueryModuleStateRequest) Unmarshal(dAtA []byte) error
func (*QueryModuleStateRequest) XXX_DiscardUnknown ¶
func (m *QueryModuleStateRequest) XXX_DiscardUnknown()
func (*QueryModuleStateRequest) XXX_Marshal ¶
func (m *QueryModuleStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryModuleStateRequest) XXX_Merge ¶
func (m *QueryModuleStateRequest) XXX_Merge(src proto.Message)
func (*QueryModuleStateRequest) XXX_Size ¶
func (m *QueryModuleStateRequest) XXX_Size() int
func (*QueryModuleStateRequest) XXX_Unmarshal ¶
func (m *QueryModuleStateRequest) XXX_Unmarshal(b []byte) error
type QueryModuleStateResponse ¶
type QueryModuleStateResponse struct {
State *GenesisState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
}
QueryModuleStateResponse is the response type for the Query/WasmxModuleState RPC method.
func (*QueryModuleStateResponse) Descriptor ¶
func (*QueryModuleStateResponse) Descriptor() ([]byte, []int)
func (*QueryModuleStateResponse) GetState ¶
func (m *QueryModuleStateResponse) GetState() *GenesisState
func (*QueryModuleStateResponse) Marshal ¶
func (m *QueryModuleStateResponse) Marshal() (dAtA []byte, err error)
func (*QueryModuleStateResponse) MarshalTo ¶
func (m *QueryModuleStateResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryModuleStateResponse) MarshalToSizedBuffer ¶
func (m *QueryModuleStateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryModuleStateResponse) ProtoMessage ¶
func (*QueryModuleStateResponse) ProtoMessage()
func (*QueryModuleStateResponse) Reset ¶
func (m *QueryModuleStateResponse) Reset()
func (*QueryModuleStateResponse) Size ¶
func (m *QueryModuleStateResponse) Size() (n int)
func (*QueryModuleStateResponse) String ¶
func (m *QueryModuleStateResponse) String() string
func (*QueryModuleStateResponse) Unmarshal ¶
func (m *QueryModuleStateResponse) Unmarshal(dAtA []byte) error
func (*QueryModuleStateResponse) XXX_DiscardUnknown ¶
func (m *QueryModuleStateResponse) XXX_DiscardUnknown()
func (*QueryModuleStateResponse) XXX_Marshal ¶
func (m *QueryModuleStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryModuleStateResponse) XXX_Merge ¶
func (m *QueryModuleStateResponse) XXX_Merge(src proto.Message)
func (*QueryModuleStateResponse) XXX_Size ¶
func (m *QueryModuleStateResponse) XXX_Size() int
func (*QueryModuleStateResponse) XXX_Unmarshal ¶
func (m *QueryModuleStateResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // Retrieves wasmx params WasmxParams(context.Context, *QueryWasmxParamsRequest) (*QueryWasmxParamsResponse, error) // Retrieves the entire wasmx module's state WasmxModuleState(context.Context, *QueryModuleStateRequest) (*QueryModuleStateResponse, error) }
QueryServer is the server API for Query service.
type QueryWasmxParamsRequest ¶
type QueryWasmxParamsRequest struct { }
QueryWasmxParamsRequest is the request type for the Query/WasmxParams RPC method.
func (*QueryWasmxParamsRequest) Descriptor ¶
func (*QueryWasmxParamsRequest) Descriptor() ([]byte, []int)
func (*QueryWasmxParamsRequest) Marshal ¶
func (m *QueryWasmxParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryWasmxParamsRequest) MarshalTo ¶
func (m *QueryWasmxParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryWasmxParamsRequest) MarshalToSizedBuffer ¶
func (m *QueryWasmxParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryWasmxParamsRequest) ProtoMessage ¶
func (*QueryWasmxParamsRequest) ProtoMessage()
func (*QueryWasmxParamsRequest) Reset ¶
func (m *QueryWasmxParamsRequest) Reset()
func (*QueryWasmxParamsRequest) Size ¶
func (m *QueryWasmxParamsRequest) Size() (n int)
func (*QueryWasmxParamsRequest) String ¶
func (m *QueryWasmxParamsRequest) String() string
func (*QueryWasmxParamsRequest) Unmarshal ¶
func (m *QueryWasmxParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryWasmxParamsRequest) XXX_DiscardUnknown ¶
func (m *QueryWasmxParamsRequest) XXX_DiscardUnknown()
func (*QueryWasmxParamsRequest) XXX_Marshal ¶
func (m *QueryWasmxParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryWasmxParamsRequest) XXX_Merge ¶
func (m *QueryWasmxParamsRequest) XXX_Merge(src proto.Message)
func (*QueryWasmxParamsRequest) XXX_Size ¶
func (m *QueryWasmxParamsRequest) XXX_Size() int
func (*QueryWasmxParamsRequest) XXX_Unmarshal ¶
func (m *QueryWasmxParamsRequest) XXX_Unmarshal(b []byte) error
type QueryWasmxParamsResponse ¶
type QueryWasmxParamsResponse struct {
Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}
QueryWasmxParamsRequest is the response type for the Query/WasmxParams RPC method.
func (*QueryWasmxParamsResponse) Descriptor ¶
func (*QueryWasmxParamsResponse) Descriptor() ([]byte, []int)
func (*QueryWasmxParamsResponse) GetParams ¶
func (m *QueryWasmxParamsResponse) GetParams() Params
func (*QueryWasmxParamsResponse) Marshal ¶
func (m *QueryWasmxParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryWasmxParamsResponse) MarshalTo ¶
func (m *QueryWasmxParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryWasmxParamsResponse) MarshalToSizedBuffer ¶
func (m *QueryWasmxParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryWasmxParamsResponse) ProtoMessage ¶
func (*QueryWasmxParamsResponse) ProtoMessage()
func (*QueryWasmxParamsResponse) Reset ¶
func (m *QueryWasmxParamsResponse) Reset()
func (*QueryWasmxParamsResponse) Size ¶
func (m *QueryWasmxParamsResponse) Size() (n int)
func (*QueryWasmxParamsResponse) String ¶
func (m *QueryWasmxParamsResponse) String() string
func (*QueryWasmxParamsResponse) Unmarshal ¶
func (m *QueryWasmxParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryWasmxParamsResponse) XXX_DiscardUnknown ¶
func (m *QueryWasmxParamsResponse) XXX_DiscardUnknown()
func (*QueryWasmxParamsResponse) XXX_Marshal ¶
func (m *QueryWasmxParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryWasmxParamsResponse) XXX_Merge ¶
func (m *QueryWasmxParamsResponse) XXX_Merge(src proto.Message)
func (*QueryWasmxParamsResponse) XXX_Size ¶
func (m *QueryWasmxParamsResponse) XXX_Size() int
func (*QueryWasmxParamsResponse) XXX_Unmarshal ¶
func (m *QueryWasmxParamsResponse) XXX_Unmarshal(b []byte) error
type RawContractExecutionParams ¶ added in v1.33.14
type RawContractExecutionParams struct { Address string `json:"address"` GasLimit uint64 `json:"gas_limit"` GasPrice uint64 `json:"gas_price"` IsExecutable bool `json:"is_executable"` }
func (*RawContractExecutionParams) ToContractExecutionParams ¶ added in v1.33.14
func (r *RawContractExecutionParams) ToContractExecutionParams() (p *ContractExecutionParams, err error)
type RegisterMsg ¶
type RegistryActiveContractQueryMsg ¶ added in v1.33.14
type RegistryActiveContractQueryMsg struct {
QueryActiveContractsMsg *QueryActiveContractsMsg `json:"get_active_contracts,omitempty"`
}
type RegistryContractQueryMsg ¶ added in v1.33.14
type RegistryContractQueryMsg struct {
QueryContractsMsg *QueryContractsMsg `json:"get_contracts,omitempty"`
}
type RegistryDeactivate ¶ added in v1.40.2
type RegistryDeactivate struct {
ContractAddress string `json:"contract_address"`
}
type RegistryDeactivateMsg ¶ added in v1.40.2
type RegistryDeactivateMsg struct {
RegistryDeactivate *RegistryDeactivate `json:"deactivate,omitempty"`
}
type RegistryRegisterMsg ¶ added in v1.33.14
type RegistryRegisterMsg struct {
Register *RegisterMsg `json:"register,omitempty"`
}
func NewRegistryRegisterMsg ¶ added in v1.33.14
func NewRegistryRegisterMsg(req *ContractRegistrationRequest) RegistryRegisterMsg
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) WasmxModuleState ¶
func (*UnimplementedQueryServer) WasmxModuleState(ctx context.Context, req *QueryModuleStateRequest) (*QueryModuleStateResponse, error)
func (*UnimplementedQueryServer) WasmxParams ¶
func (*UnimplementedQueryServer) WasmxParams(ctx context.Context, req *QueryWasmxParamsRequest) (*QueryWasmxParamsResponse, error)
type ValueValidatorFn ¶
type ValueValidatorFn func(value interface{}) error
type WasmContractOpsKeeper ¶
type WasmContractOpsKeeper interface { wasmtypes.ContractOpsKeeper }
type WasmViewKeeper ¶
type WasmViewKeeper interface { wasmtypes.ViewKeeper }