Documentation ¶
Index ¶
- Constants
- Variables
- func GetContractsByGasPriceKey(gasPrice uint64, address sdk.AccAddress) []byte
- func GetContractsIndexKey(address sdk.AccAddress) []byte
- 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 BatchContractDeregistrationProposal
- func (*BatchContractDeregistrationProposal) Descriptor() ([]byte, []int)
- func (p *BatchContractDeregistrationProposal) GetDescription() string
- func (p *BatchContractDeregistrationProposal) GetTitle() string
- func (m *BatchContractDeregistrationProposal) Marshal() (dAtA []byte, err error)
- func (m *BatchContractDeregistrationProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *BatchContractDeregistrationProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *BatchContractDeregistrationProposal) ProposalRoute() string
- func (p *BatchContractDeregistrationProposal) ProposalType() string
- func (*BatchContractDeregistrationProposal) ProtoMessage()
- func (m *BatchContractDeregistrationProposal) Reset()
- func (m *BatchContractDeregistrationProposal) Size() (n int)
- func (m *BatchContractDeregistrationProposal) String() string
- func (m *BatchContractDeregistrationProposal) Unmarshal(dAtA []byte) error
- func (p *BatchContractDeregistrationProposal) ValidateBasic() error
- func (m *BatchContractDeregistrationProposal) XXX_DiscardUnknown()
- func (m *BatchContractDeregistrationProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BatchContractDeregistrationProposal) XXX_Merge(src proto.Message)
- func (m *BatchContractDeregistrationProposal) XXX_Size() int
- func (m *BatchContractDeregistrationProposal) XXX_Unmarshal(b []byte) error
- 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 ContractExecutionCompatAuthorization
- func (a *ContractExecutionCompatAuthorization) Accept(goCtx context.Context, msg sdk.Msg) (authztypes.AcceptResponse, error)
- func (*ContractExecutionCompatAuthorization) Descriptor() ([]byte, []int)
- func (m *ContractExecutionCompatAuthorization) GetGrants() []types.ContractGrant
- func (m *ContractExecutionCompatAuthorization) Marshal() (dAtA []byte, err error)
- func (m *ContractExecutionCompatAuthorization) MarshalTo(dAtA []byte) (int, error)
- func (m *ContractExecutionCompatAuthorization) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (a ContractExecutionCompatAuthorization) MsgTypeURL() string
- func (a ContractExecutionCompatAuthorization) NewAuthz(g []wasmtypes.ContractGrant) authztypes.Authorization
- func (*ContractExecutionCompatAuthorization) ProtoMessage()
- func (m *ContractExecutionCompatAuthorization) Reset()
- func (m *ContractExecutionCompatAuthorization) Size() (n int)
- func (m *ContractExecutionCompatAuthorization) String() string
- func (m *ContractExecutionCompatAuthorization) Unmarshal(dAtA []byte) error
- func (a ContractExecutionCompatAuthorization) UnpackInterfaces(unpacker cdctypes.AnyUnpacker) error
- func (a ContractExecutionCompatAuthorization) ValidateBasic() error
- func (m *ContractExecutionCompatAuthorization) XXX_DiscardUnknown()
- func (m *ContractExecutionCompatAuthorization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ContractExecutionCompatAuthorization) XXX_Merge(src proto.Message)
- func (m *ContractExecutionCompatAuthorization) XXX_Size() int
- func (m *ContractExecutionCompatAuthorization) XXX_Unmarshal(b []byte) error
- type ContractRegistrationRequest
- func (*ContractRegistrationRequest) Descriptor() ([]byte, []int)
- func (m *ContractRegistrationRequest) GetAdminAddress() string
- func (m *ContractRegistrationRequest) GetCodeId() uint64
- func (m *ContractRegistrationRequest) GetContractAddress() string
- func (m *ContractRegistrationRequest) GetFundingMode() FundingMode
- func (m *ContractRegistrationRequest) GetGasLimit() uint64
- func (m *ContractRegistrationRequest) GetGasPrice() uint64
- func (m *ContractRegistrationRequest) GetGranterAddress() string
- func (m *ContractRegistrationRequest) GetIsMigrationAllowed() bool
- func (m *ContractRegistrationRequest) GetShouldPinContract() 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 (req *ContractRegistrationRequest) Validate() 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 EventContractDeregistered
- func (*EventContractDeregistered) Descriptor() ([]byte, []int)
- func (m *EventContractDeregistered) GetContractAddress() string
- func (m *EventContractDeregistered) Marshal() (dAtA []byte, err error)
- func (m *EventContractDeregistered) MarshalTo(dAtA []byte) (int, error)
- func (m *EventContractDeregistered) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventContractDeregistered) ProtoMessage()
- func (m *EventContractDeregistered) Reset()
- func (m *EventContractDeregistered) Size() (n int)
- func (m *EventContractDeregistered) String() string
- func (m *EventContractDeregistered) Unmarshal(dAtA []byte) error
- func (m *EventContractDeregistered) XXX_DiscardUnknown()
- func (m *EventContractDeregistered) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventContractDeregistered) XXX_Merge(src proto.Message)
- func (m *EventContractDeregistered) XXX_Size() int
- func (m *EventContractDeregistered) XXX_Unmarshal(b []byte) error
- type EventContractExecution
- func (*EventContractExecution) Descriptor() ([]byte, []int)
- func (m *EventContractExecution) GetContractAddress() string
- func (m *EventContractExecution) GetExecutionError() string
- func (m *EventContractExecution) GetOtherError() string
- func (m *EventContractExecution) GetResponse() []byte
- func (m *EventContractExecution) Marshal() (dAtA []byte, err error)
- func (m *EventContractExecution) MarshalTo(dAtA []byte) (int, error)
- func (m *EventContractExecution) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventContractExecution) ProtoMessage()
- func (m *EventContractExecution) Reset()
- func (m *EventContractExecution) Size() (n int)
- func (m *EventContractExecution) String() string
- func (m *EventContractExecution) Unmarshal(dAtA []byte) error
- func (m *EventContractExecution) XXX_DiscardUnknown()
- func (m *EventContractExecution) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventContractExecution) XXX_Merge(src proto.Message)
- func (m *EventContractExecution) XXX_Size() int
- func (m *EventContractExecution) XXX_Unmarshal(b []byte) error
- type EventContractRegistered
- func (*EventContractRegistered) Descriptor() ([]byte, []int)
- func (m *EventContractRegistered) GetAdminAddress() string
- func (m *EventContractRegistered) GetCodeId() uint64
- func (m *EventContractRegistered) GetContractAddress() string
- func (m *EventContractRegistered) GetFundingMode() FundingMode
- func (m *EventContractRegistered) GetGasPrice() uint64
- func (m *EventContractRegistered) GetGranterAddress() string
- func (m *EventContractRegistered) GetIsMigrationAllowed() bool
- func (m *EventContractRegistered) GetShouldPinContract() bool
- func (m *EventContractRegistered) Marshal() (dAtA []byte, err error)
- func (m *EventContractRegistered) MarshalTo(dAtA []byte) (int, error)
- func (m *EventContractRegistered) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventContractRegistered) ProtoMessage()
- func (m *EventContractRegistered) Reset()
- func (m *EventContractRegistered) Size() (n int)
- func (m *EventContractRegistered) String() string
- func (m *EventContractRegistered) Unmarshal(dAtA []byte) error
- func (m *EventContractRegistered) XXX_DiscardUnknown()
- func (m *EventContractRegistered) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventContractRegistered) XXX_Merge(src proto.Message)
- func (m *EventContractRegistered) XXX_Size() int
- func (m *EventContractRegistered) XXX_Unmarshal(b []byte) error
- type ExecutionData
- type FundingMode
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) GetRegisteredContracts() []RegisteredContractWithAddress
- 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 (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 MsgActivateContract
- func (*MsgActivateContract) Descriptor() ([]byte, []int)
- func (m *MsgActivateContract) GetContractAddress() string
- func (m *MsgActivateContract) GetSender() string
- func (msg *MsgActivateContract) GetSignBytes() []byte
- func (msg MsgActivateContract) GetSigners() []sdk.AccAddress
- func (m *MsgActivateContract) Marshal() (dAtA []byte, err error)
- func (m *MsgActivateContract) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgActivateContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgActivateContract) ProtoMessage()
- func (m *MsgActivateContract) Reset()
- func (msg MsgActivateContract) Route() string
- func (m *MsgActivateContract) Size() (n int)
- func (m *MsgActivateContract) String() string
- func (msg MsgActivateContract) Type() string
- func (m *MsgActivateContract) Unmarshal(dAtA []byte) error
- func (msg MsgActivateContract) ValidateBasic() error
- func (m *MsgActivateContract) XXX_DiscardUnknown()
- func (m *MsgActivateContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgActivateContract) XXX_Merge(src proto.Message)
- func (m *MsgActivateContract) XXX_Size() int
- func (m *MsgActivateContract) XXX_Unmarshal(b []byte) error
- type MsgActivateContractResponse
- func (*MsgActivateContractResponse) Descriptor() ([]byte, []int)
- func (m *MsgActivateContractResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgActivateContractResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgActivateContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgActivateContractResponse) ProtoMessage()
- func (m *MsgActivateContractResponse) Reset()
- func (m *MsgActivateContractResponse) Size() (n int)
- func (m *MsgActivateContractResponse) String() string
- func (m *MsgActivateContractResponse) Unmarshal(dAtA []byte) error
- func (m *MsgActivateContractResponse) XXX_DiscardUnknown()
- func (m *MsgActivateContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgActivateContractResponse) XXX_Merge(src proto.Message)
- func (m *MsgActivateContractResponse) XXX_Size() int
- func (m *MsgActivateContractResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgDeactivateContract
- func (*MsgDeactivateContract) Descriptor() ([]byte, []int)
- func (m *MsgDeactivateContract) GetContractAddress() string
- func (m *MsgDeactivateContract) GetSender() string
- func (msg *MsgDeactivateContract) GetSignBytes() []byte
- func (msg MsgDeactivateContract) GetSigners() []sdk.AccAddress
- func (m *MsgDeactivateContract) Marshal() (dAtA []byte, err error)
- func (m *MsgDeactivateContract) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeactivateContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeactivateContract) ProtoMessage()
- func (m *MsgDeactivateContract) Reset()
- func (msg MsgDeactivateContract) Route() string
- func (m *MsgDeactivateContract) Size() (n int)
- func (m *MsgDeactivateContract) String() string
- func (msg MsgDeactivateContract) Type() string
- func (m *MsgDeactivateContract) Unmarshal(dAtA []byte) error
- func (msg MsgDeactivateContract) ValidateBasic() error
- func (m *MsgDeactivateContract) XXX_DiscardUnknown()
- func (m *MsgDeactivateContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeactivateContract) XXX_Merge(src proto.Message)
- func (m *MsgDeactivateContract) XXX_Size() int
- func (m *MsgDeactivateContract) XXX_Unmarshal(b []byte) error
- type MsgDeactivateContractResponse
- func (*MsgDeactivateContractResponse) Descriptor() ([]byte, []int)
- func (m *MsgDeactivateContractResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDeactivateContractResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeactivateContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeactivateContractResponse) ProtoMessage()
- func (m *MsgDeactivateContractResponse) Reset()
- func (m *MsgDeactivateContractResponse) Size() (n int)
- func (m *MsgDeactivateContractResponse) String() string
- func (m *MsgDeactivateContractResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDeactivateContractResponse) XXX_DiscardUnknown()
- func (m *MsgDeactivateContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeactivateContractResponse) XXX_Merge(src proto.Message)
- func (m *MsgDeactivateContractResponse) XXX_Size() int
- func (m *MsgDeactivateContractResponse) XXX_Unmarshal(b []byte) error
- type MsgExecuteContractCompat
- func (*MsgExecuteContractCompat) Descriptor() ([]byte, []int)
- func (m *MsgExecuteContractCompat) GetContract() string
- func (m *MsgExecuteContractCompat) GetFunds() string
- func (m *MsgExecuteContractCompat) GetMsg() string
- func (m *MsgExecuteContractCompat) GetSender() string
- func (msg MsgExecuteContractCompat) GetSignBytes() []byte
- func (msg MsgExecuteContractCompat) GetSigners() []sdk.AccAddress
- func (m *MsgExecuteContractCompat) Marshal() (dAtA []byte, err error)
- func (m *MsgExecuteContractCompat) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgExecuteContractCompat) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgExecuteContractCompat) ProtoMessage()
- func (m *MsgExecuteContractCompat) Reset()
- func (msg MsgExecuteContractCompat) Route() string
- func (m *MsgExecuteContractCompat) Size() (n int)
- func (m *MsgExecuteContractCompat) String() string
- func (msg MsgExecuteContractCompat) Type() string
- func (m *MsgExecuteContractCompat) Unmarshal(dAtA []byte) error
- func (msg MsgExecuteContractCompat) ValidateBasic() error
- func (m *MsgExecuteContractCompat) XXX_DiscardUnknown()
- func (m *MsgExecuteContractCompat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgExecuteContractCompat) XXX_Merge(src proto.Message)
- func (m *MsgExecuteContractCompat) XXX_Size() int
- func (m *MsgExecuteContractCompat) XXX_Unmarshal(b []byte) error
- type MsgExecuteContractCompatResponse
- func (*MsgExecuteContractCompatResponse) Descriptor() ([]byte, []int)
- func (m *MsgExecuteContractCompatResponse) GetData() []byte
- func (m *MsgExecuteContractCompatResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgExecuteContractCompatResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgExecuteContractCompatResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgExecuteContractCompatResponse) ProtoMessage()
- func (m *MsgExecuteContractCompatResponse) Reset()
- func (m *MsgExecuteContractCompatResponse) Size() (n int)
- func (m *MsgExecuteContractCompatResponse) String() string
- func (m *MsgExecuteContractCompatResponse) Unmarshal(dAtA []byte) error
- func (m *MsgExecuteContractCompatResponse) XXX_DiscardUnknown()
- func (m *MsgExecuteContractCompatResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgExecuteContractCompatResponse) XXX_Merge(src proto.Message)
- func (m *MsgExecuteContractCompatResponse) XXX_Size() int
- func (m *MsgExecuteContractCompatResponse) XXX_Unmarshal(b []byte) error
- type MsgRegisterContract
- func (*MsgRegisterContract) Descriptor() ([]byte, []int)
- func (m *MsgRegisterContract) GetContractRegistrationRequest() ContractRegistrationRequest
- func (m *MsgRegisterContract) GetSender() string
- func (msg *MsgRegisterContract) GetSignBytes() []byte
- func (msg MsgRegisterContract) GetSigners() []sdk.AccAddress
- func (m *MsgRegisterContract) Marshal() (dAtA []byte, err error)
- func (m *MsgRegisterContract) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRegisterContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRegisterContract) ProtoMessage()
- func (m *MsgRegisterContract) Reset()
- func (msg MsgRegisterContract) Route() string
- func (m *MsgRegisterContract) Size() (n int)
- func (m *MsgRegisterContract) String() string
- func (msg MsgRegisterContract) Type() string
- func (m *MsgRegisterContract) Unmarshal(dAtA []byte) error
- func (msg MsgRegisterContract) ValidateBasic() error
- func (m *MsgRegisterContract) XXX_DiscardUnknown()
- func (m *MsgRegisterContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRegisterContract) XXX_Merge(src proto.Message)
- func (m *MsgRegisterContract) XXX_Size() int
- func (m *MsgRegisterContract) XXX_Unmarshal(b []byte) error
- type MsgRegisterContractResponse
- func (*MsgRegisterContractResponse) Descriptor() ([]byte, []int)
- func (m *MsgRegisterContractResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRegisterContractResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRegisterContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRegisterContractResponse) ProtoMessage()
- func (m *MsgRegisterContractResponse) Reset()
- func (m *MsgRegisterContractResponse) Size() (n int)
- func (m *MsgRegisterContractResponse) String() string
- func (m *MsgRegisterContractResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRegisterContractResponse) XXX_DiscardUnknown()
- func (m *MsgRegisterContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRegisterContractResponse) XXX_Merge(src proto.Message)
- func (m *MsgRegisterContractResponse) XXX_Size() int
- func (m *MsgRegisterContractResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgUpdateContract
- func (*MsgUpdateContract) Descriptor() ([]byte, []int)
- func (m *MsgUpdateContract) GetAdminAddress() string
- func (m *MsgUpdateContract) GetContractAddress() string
- func (m *MsgUpdateContract) GetGasLimit() uint64
- func (m *MsgUpdateContract) GetGasPrice() uint64
- func (m *MsgUpdateContract) GetSender() string
- func (msg *MsgUpdateContract) GetSignBytes() []byte
- func (msg MsgUpdateContract) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateContract) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateContract) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateContract) ProtoMessage()
- func (m *MsgUpdateContract) Reset()
- func (msg MsgUpdateContract) Route() string
- func (m *MsgUpdateContract) Size() (n int)
- func (m *MsgUpdateContract) String() string
- func (msg MsgUpdateContract) Type() string
- func (m *MsgUpdateContract) Unmarshal(dAtA []byte) error
- func (msg MsgUpdateContract) ValidateBasic() error
- func (m *MsgUpdateContract) XXX_DiscardUnknown()
- func (m *MsgUpdateContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateContract) XXX_Merge(src proto.Message)
- func (m *MsgUpdateContract) XXX_Size() int
- func (m *MsgUpdateContract) XXX_Unmarshal(b []byte) error
- type MsgUpdateContractResponse
- func (*MsgUpdateContractResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateContractResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateContractResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateContractResponse) ProtoMessage()
- func (m *MsgUpdateContractResponse) Reset()
- func (m *MsgUpdateContractResponse) Size() (n int)
- func (m *MsgUpdateContractResponse) String() string
- func (m *MsgUpdateContractResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateContractResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateContractResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateContractResponse) XXX_Size() int
- func (m *MsgUpdateContractResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateParams
- func (*MsgUpdateParams) Descriptor() ([]byte, []int)
- func (m *MsgUpdateParams) GetAuthority() string
- func (m *MsgUpdateParams) GetParams() Params
- func (msg *MsgUpdateParams) GetSignBytes() []byte
- func (msg MsgUpdateParams) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParams) ProtoMessage()
- func (m *MsgUpdateParams) Reset()
- func (msg MsgUpdateParams) Route() string
- func (m *MsgUpdateParams) Size() (n int)
- func (m *MsgUpdateParams) String() string
- func (msg MsgUpdateParams) Type() string
- func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
- func (msg MsgUpdateParams) ValidateBasic() error
- func (m *MsgUpdateParams) XXX_DiscardUnknown()
- func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParams) XXX_Merge(src proto.Message)
- func (m *MsgUpdateParams) XXX_Size() int
- func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error
- type MsgUpdateParamsResponse
- func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParamsResponse) ProtoMessage()
- func (m *MsgUpdateParamsResponse) Reset()
- func (m *MsgUpdateParamsResponse) Size() (n int)
- func (m *MsgUpdateParamsResponse) String() string
- func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateParamsResponse) XXX_Size() int
- func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error
- 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) GetRegisterContractAccess() types.AccessConfig
- 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 QueryClient
- type QueryContractRegistrationInfoRequest
- func (*QueryContractRegistrationInfoRequest) Descriptor() ([]byte, []int)
- func (m *QueryContractRegistrationInfoRequest) GetContractAddress() string
- func (m *QueryContractRegistrationInfoRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryContractRegistrationInfoRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryContractRegistrationInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryContractRegistrationInfoRequest) ProtoMessage()
- func (m *QueryContractRegistrationInfoRequest) Reset()
- func (m *QueryContractRegistrationInfoRequest) Size() (n int)
- func (m *QueryContractRegistrationInfoRequest) String() string
- func (m *QueryContractRegistrationInfoRequest) Unmarshal(dAtA []byte) error
- func (m *QueryContractRegistrationInfoRequest) XXX_DiscardUnknown()
- func (m *QueryContractRegistrationInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryContractRegistrationInfoRequest) XXX_Merge(src proto.Message)
- func (m *QueryContractRegistrationInfoRequest) XXX_Size() int
- func (m *QueryContractRegistrationInfoRequest) XXX_Unmarshal(b []byte) error
- type QueryContractRegistrationInfoResponse
- func (*QueryContractRegistrationInfoResponse) Descriptor() ([]byte, []int)
- func (m *QueryContractRegistrationInfoResponse) GetContract() *RegisteredContract
- func (m *QueryContractRegistrationInfoResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryContractRegistrationInfoResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryContractRegistrationInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryContractRegistrationInfoResponse) ProtoMessage()
- func (m *QueryContractRegistrationInfoResponse) Reset()
- func (m *QueryContractRegistrationInfoResponse) Size() (n int)
- func (m *QueryContractRegistrationInfoResponse) String() string
- func (m *QueryContractRegistrationInfoResponse) Unmarshal(dAtA []byte) error
- func (m *QueryContractRegistrationInfoResponse) XXX_DiscardUnknown()
- func (m *QueryContractRegistrationInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryContractRegistrationInfoResponse) XXX_Merge(src proto.Message)
- func (m *QueryContractRegistrationInfoResponse) XXX_Size() int
- func (m *QueryContractRegistrationInfoResponse) XXX_Unmarshal(b []byte) error
- 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 RegisteredContract
- func (*RegisteredContract) Descriptor() ([]byte, []int)
- func (this *RegisteredContract) Equal(that interface{}) bool
- func (m *RegisteredContract) GetAdminAddress() string
- func (m *RegisteredContract) GetCodeId() uint64
- func (m *RegisteredContract) GetFundMode() FundingMode
- func (m *RegisteredContract) GetGasLimit() uint64
- func (m *RegisteredContract) GetGasPrice() uint64
- func (m *RegisteredContract) GetGranterAddress() string
- func (m *RegisteredContract) GetIsExecutable() bool
- func (m *RegisteredContract) Marshal() (dAtA []byte, err error)
- func (m *RegisteredContract) MarshalTo(dAtA []byte) (int, error)
- func (m *RegisteredContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RegisteredContract) ProtoMessage()
- func (m *RegisteredContract) Reset()
- func (m *RegisteredContract) Size() (n int)
- func (m *RegisteredContract) String() string
- func (m *RegisteredContract) Unmarshal(dAtA []byte) error
- func (m *RegisteredContract) XXX_DiscardUnknown()
- func (m *RegisteredContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RegisteredContract) XXX_Merge(src proto.Message)
- func (m *RegisteredContract) XXX_Size() int
- func (m *RegisteredContract) XXX_Unmarshal(b []byte) error
- type RegisteredContractWithAddress
- func (*RegisteredContractWithAddress) Descriptor() ([]byte, []int)
- func (m *RegisteredContractWithAddress) GetAddress() string
- func (m *RegisteredContractWithAddress) GetRegisteredContract() *RegisteredContract
- func (m *RegisteredContractWithAddress) Marshal() (dAtA []byte, err error)
- func (m *RegisteredContractWithAddress) MarshalTo(dAtA []byte) (int, error)
- func (m *RegisteredContractWithAddress) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RegisteredContractWithAddress) ProtoMessage()
- func (m *RegisteredContractWithAddress) Reset()
- func (m *RegisteredContractWithAddress) Size() (n int)
- func (m *RegisteredContractWithAddress) String() string
- func (m *RegisteredContractWithAddress) Unmarshal(dAtA []byte) error
- func (m *RegisteredContractWithAddress) XXX_DiscardUnknown()
- func (m *RegisteredContractWithAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RegisteredContractWithAddress) XXX_Merge(src proto.Message)
- func (m *RegisteredContractWithAddress) XXX_Size() int
- func (m *RegisteredContractWithAddress) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) ActivateRegistryContract(ctx context.Context, req *MsgActivateContract) (*MsgActivateContractResponse, error)
- func (*UnimplementedMsgServer) DeactivateRegistryContract(ctx context.Context, req *MsgDeactivateContract) (*MsgDeactivateContractResponse, error)
- func (*UnimplementedMsgServer) ExecuteContractCompat(ctx context.Context, req *MsgExecuteContractCompat) (*MsgExecuteContractCompatResponse, error)
- func (*UnimplementedMsgServer) RegisterContract(ctx context.Context, req *MsgRegisterContract) (*MsgRegisterContractResponse, error)
- func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
- func (*UnimplementedMsgServer) UpdateRegistryContractParams(ctx context.Context, req *MsgUpdateContract) (*MsgUpdateContractResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) ContractRegistrationInfo(ctx context.Context, req *QueryContractRegistrationInfoRequest) (*QueryContractRegistrationInfoResponse, error)
- func (*UnimplementedQueryServer) WasmxModuleState(ctx context.Context, req *QueryModuleStateRequest) (*QueryModuleStateResponse, error)
- func (*UnimplementedQueryServer) WasmxParams(ctx context.Context, req *QueryWasmxParamsRequest) (*QueryWasmxParamsResponse, error)
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 ( TypeMsgUpdate = "msgUpdate" TypeMsgActivate = "msgActivate" TypeMsgDeactivate = "msgDeactivate" TypeMsgExecuteContractCompat = "executeContractCompat" TypeMsgUpdateParams = "updateParams" TypeMsgRegisterContract = "registerContract" )
const ( GasForFeeDeduction uint64 = 13419 GasForFeeRefund uint64 = 13419 DefaultGasContractCall uint64 = 63558 MinExecutionGasLimit = GasForFeeDeduction + GasForFeeRefund + DefaultGasContractCall )
const ( ProposalContractRegistrationRequest string = "ProposalContractRegistrationRequest" ProposalBatchContractRegistrationRequest string = "ProposalBatchContractRegistrationRequest" ProposalBatchContractDeregistration string = "ProposalBatchContractDeregistration" ProposalBatchStoreCode string = "ProposalBatchStoreCode" )
constants
const RouterKey = ModuleName
Variables ¶
var ( ErrInvalidLengthAuthz = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowAuthz = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupAuthz = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidGasLimit = errors.Register(ModuleName, 1, "invalid gas limit") ErrInvalidGasPrice = errors.Register(ModuleName, 2, "invalid gas price") ErrInvalidContractAddress = errors.Register(ModuleName, 3, "invalid contract address") ErrAlreadyRegistered = errors.Register(ModuleName, 4, "contract already registered") ErrDuplicateContract = errors.Register(ModuleName, 5, "duplicate contract") ErrNoContractAddresses = errors.Register(ModuleName, 6, "no contract addresses found") ErrInvalidCodeId = errors.Register(ModuleName, 7, "invalid code id") ErrDeductingGasFees = errors.Register(ModuleName, 8, "not possible to deduct gas fees") ErrMissingGranterAddress = errors.Register(ModuleName, 9, "missing granter address") ErrNoGranterAccount = errors.Register(ModuleName, 10, "granter address does not exist") ErrInvalidFundingMode = errors.Register(ModuleName, 11, "invalid funding mode") )
var ( ErrInvalidLengthEvents = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowEvents = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupEvents = fmt.Errorf("proto: unexpected end of group") )
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 ( ContractsByGasPricePrefix = []byte{0x01} // key to the smart contract execution request ID ContractsIndexPrefix = []byte{0x02} ParamsKey = []byte{0x10} )
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") KeyMaxBeginBlockTotalGas = []byte("MaxBeginBlockTotalGas") KeyMaxContractGasLimit = []byte("MaxContractGasLimit") KeyMinGasPrice = []byte("MinGasPrice") KeyRegisterContractAccess = []byte("RegisterContractAccess") )
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 ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = 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 FundingMode_name = map[int32]string{
0: "Unspecified",
1: "SelfFunded",
2: "GrantOnly",
3: "Dual",
}
var FundingMode_value = map[string]int32{
"Unspecified": 0,
"SelfFunded": 1,
"GrantOnly": 2,
"Dual": 3,
}
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.NewLegacyAmino() )
Functions ¶
func GetContractsByGasPriceKey ¶ added in v1.45.0
func GetContractsByGasPriceKey(gasPrice uint64, address sdk.AccAddress) []byte
func GetContractsIndexKey ¶ added in v1.45.0
func GetContractsIndexKey(address sdk.AccAddress) []byte
GetContractsIndexKey provides the key for the contract address => gasPrice
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 BatchContractDeregistrationProposal ¶ added in v1.42.8
type BatchContractDeregistrationProposal 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"` Contracts []string `protobuf:"bytes,3,rep,name=contracts,proto3" json:"contracts,omitempty"` }
func (*BatchContractDeregistrationProposal) Descriptor ¶ added in v1.42.8
func (*BatchContractDeregistrationProposal) Descriptor() ([]byte, []int)
func (*BatchContractDeregistrationProposal) GetDescription ¶ added in v1.42.8
func (p *BatchContractDeregistrationProposal) GetDescription() string
GetDescription returns the description of this proposal.
func (*BatchContractDeregistrationProposal) GetTitle ¶ added in v1.42.8
func (p *BatchContractDeregistrationProposal) GetTitle() string
GetTitle returns the title of this proposal.
func (*BatchContractDeregistrationProposal) Marshal ¶ added in v1.42.8
func (m *BatchContractDeregistrationProposal) Marshal() (dAtA []byte, err error)
func (*BatchContractDeregistrationProposal) MarshalTo ¶ added in v1.42.8
func (m *BatchContractDeregistrationProposal) MarshalTo(dAtA []byte) (int, error)
func (*BatchContractDeregistrationProposal) MarshalToSizedBuffer ¶ added in v1.42.8
func (m *BatchContractDeregistrationProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BatchContractDeregistrationProposal) ProposalRoute ¶ added in v1.42.8
func (p *BatchContractDeregistrationProposal) ProposalRoute() string
ProposalRoute returns router key of this proposal.
func (*BatchContractDeregistrationProposal) ProposalType ¶ added in v1.42.8
func (p *BatchContractDeregistrationProposal) ProposalType() string
ProposalType returns proposal type of this proposal.
func (*BatchContractDeregistrationProposal) ProtoMessage ¶ added in v1.42.8
func (*BatchContractDeregistrationProposal) ProtoMessage()
func (*BatchContractDeregistrationProposal) Reset ¶ added in v1.42.8
func (m *BatchContractDeregistrationProposal) Reset()
func (*BatchContractDeregistrationProposal) Size ¶ added in v1.42.8
func (m *BatchContractDeregistrationProposal) Size() (n int)
func (*BatchContractDeregistrationProposal) String ¶ added in v1.42.8
func (m *BatchContractDeregistrationProposal) String() string
func (*BatchContractDeregistrationProposal) Unmarshal ¶ added in v1.42.8
func (m *BatchContractDeregistrationProposal) Unmarshal(dAtA []byte) error
func (*BatchContractDeregistrationProposal) ValidateBasic ¶ added in v1.42.8
func (p *BatchContractDeregistrationProposal) ValidateBasic() error
ValidateBasic returns ValidateBasic result of this proposal.
func (*BatchContractDeregistrationProposal) XXX_DiscardUnknown ¶ added in v1.42.8
func (m *BatchContractDeregistrationProposal) XXX_DiscardUnknown()
func (*BatchContractDeregistrationProposal) XXX_Marshal ¶ added in v1.42.8
func (m *BatchContractDeregistrationProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BatchContractDeregistrationProposal) XXX_Merge ¶ added in v1.42.8
func (m *BatchContractDeregistrationProposal) XXX_Merge(src proto.Message)
func (*BatchContractDeregistrationProposal) XXX_Size ¶ added in v1.42.8
func (m *BatchContractDeregistrationProposal) XXX_Size() int
func (*BatchContractDeregistrationProposal) XXX_Unmarshal ¶ added in v1.42.8
func (m *BatchContractDeregistrationProposal) XXX_Unmarshal(b []byte) error
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 (*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 ContractExecutionCompatAuthorization ¶
type ContractExecutionCompatAuthorization struct { // Grants for contract executions Grants []types.ContractGrant `protobuf:"bytes,1,rep,name=grants,proto3" json:"grants"` }
ContractExecutionAuthorization defines authorization for wasm execute. Since: wasmd 0.30
func NewContractExecutionCompatAuthorization ¶
func NewContractExecutionCompatAuthorization(grants ...wasmtypes.ContractGrant) *ContractExecutionCompatAuthorization
NewContractExecutionCompatAuthorization constructor
func (*ContractExecutionCompatAuthorization) Accept ¶
func (a *ContractExecutionCompatAuthorization) Accept(goCtx context.Context, msg sdk.Msg) (authztypes.AcceptResponse, error)
Accept implements Authorization.Accept.
func (*ContractExecutionCompatAuthorization) Descriptor ¶
func (*ContractExecutionCompatAuthorization) Descriptor() ([]byte, []int)
func (*ContractExecutionCompatAuthorization) GetGrants ¶
func (m *ContractExecutionCompatAuthorization) GetGrants() []types.ContractGrant
func (*ContractExecutionCompatAuthorization) Marshal ¶
func (m *ContractExecutionCompatAuthorization) Marshal() (dAtA []byte, err error)
func (*ContractExecutionCompatAuthorization) MarshalTo ¶
func (m *ContractExecutionCompatAuthorization) MarshalTo(dAtA []byte) (int, error)
func (*ContractExecutionCompatAuthorization) MarshalToSizedBuffer ¶
func (m *ContractExecutionCompatAuthorization) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (ContractExecutionCompatAuthorization) MsgTypeURL ¶
func (a ContractExecutionCompatAuthorization) MsgTypeURL() string
MsgTypeURL implements Authorization.MsgTypeURL.
func (ContractExecutionCompatAuthorization) NewAuthz ¶
func (a ContractExecutionCompatAuthorization) NewAuthz(g []wasmtypes.ContractGrant) authztypes.Authorization
NewAuthz factory method to create an Authorization with updated grants
func (*ContractExecutionCompatAuthorization) ProtoMessage ¶
func (*ContractExecutionCompatAuthorization) ProtoMessage()
func (*ContractExecutionCompatAuthorization) Reset ¶
func (m *ContractExecutionCompatAuthorization) Reset()
func (*ContractExecutionCompatAuthorization) Size ¶
func (m *ContractExecutionCompatAuthorization) Size() (n int)
func (*ContractExecutionCompatAuthorization) String ¶
func (m *ContractExecutionCompatAuthorization) String() string
func (*ContractExecutionCompatAuthorization) Unmarshal ¶
func (m *ContractExecutionCompatAuthorization) Unmarshal(dAtA []byte) error
func (ContractExecutionCompatAuthorization) UnpackInterfaces ¶
func (a ContractExecutionCompatAuthorization) UnpackInterfaces(unpacker cdctypes.AnyUnpacker) error
UnpackInterfaces implements UnpackInterfacesMessage.UnpackInterfaces
func (ContractExecutionCompatAuthorization) ValidateBasic ¶
func (a ContractExecutionCompatAuthorization) ValidateBasic() error
ValidateBasic implements Authorization.ValidateBasic.
func (*ContractExecutionCompatAuthorization) XXX_DiscardUnknown ¶
func (m *ContractExecutionCompatAuthorization) XXX_DiscardUnknown()
func (*ContractExecutionCompatAuthorization) XXX_Marshal ¶
func (m *ContractExecutionCompatAuthorization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ContractExecutionCompatAuthorization) XXX_Merge ¶
func (m *ContractExecutionCompatAuthorization) XXX_Merge(src proto.Message)
func (*ContractExecutionCompatAuthorization) XXX_Size ¶
func (m *ContractExecutionCompatAuthorization) XXX_Size() int
func (*ContractExecutionCompatAuthorization) XXX_Unmarshal ¶
func (m *ContractExecutionCompatAuthorization) XXX_Unmarshal(b []byte) error
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"` ShouldPinContract bool `protobuf:"varint,4,opt,name=should_pin_contract,json=shouldPinContract,proto3" json:"should_pin_contract,omitempty"` // if true contract owner can update it, if false only current code_id will be // allowed to be executed IsMigrationAllowed bool `protobuf:"varint,5,opt,name=is_migration_allowed,json=isMigrationAllowed,proto3" json:"is_migration_allowed,omitempty"` // code_id of the contract being registered - will be verified upon every // execution but only if is_migration_allowed is false CodeId uint64 `protobuf:"varint,6,opt,name=code_id,json=codeId,proto3" json:"code_id,omitempty"` // Optional address of admin account (that will be allowed to pause or update // contract params) AdminAddress string `protobuf:"bytes,7,opt,name=admin_address,json=adminAddress,proto3" json:"admin_address,omitempty"` // Optional address of the contract that grants fees. Must be set if // funding_mode is other than SelfFunded GranterAddress string `protobuf:"bytes,8,opt,name=granter_address,json=granterAddress,proto3" json:"granter_address,omitempty"` // Specifies how the contract will fund its execution FundingMode FundingMode `` /* 131-byte string literal not displayed */ }
func (*ContractRegistrationRequest) Descriptor ¶
func (*ContractRegistrationRequest) Descriptor() ([]byte, []int)
func (*ContractRegistrationRequest) GetAdminAddress ¶ added in v1.45.0
func (m *ContractRegistrationRequest) GetAdminAddress() string
func (*ContractRegistrationRequest) GetCodeId ¶
func (m *ContractRegistrationRequest) GetCodeId() uint64
func (*ContractRegistrationRequest) GetContractAddress ¶
func (m *ContractRegistrationRequest) GetContractAddress() string
func (*ContractRegistrationRequest) GetFundingMode ¶ added in v1.47.4
func (m *ContractRegistrationRequest) GetFundingMode() FundingMode
func (*ContractRegistrationRequest) GetGasLimit ¶
func (m *ContractRegistrationRequest) GetGasLimit() uint64
func (*ContractRegistrationRequest) GetGasPrice ¶ added in v1.33.13
func (m *ContractRegistrationRequest) GetGasPrice() uint64
func (*ContractRegistrationRequest) GetGranterAddress ¶ added in v1.47.4
func (m *ContractRegistrationRequest) GetGranterAddress() string
func (*ContractRegistrationRequest) GetIsMigrationAllowed ¶ added in v1.45.0
func (m *ContractRegistrationRequest) GetIsMigrationAllowed() bool
func (*ContractRegistrationRequest) GetShouldPinContract ¶ added in v1.45.0
func (m *ContractRegistrationRequest) GetShouldPinContract() 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) Validate ¶ added in v1.47.4
func (req *ContractRegistrationRequest) Validate() 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 EventContractDeregistered ¶ added in v1.48.5
type EventContractDeregistered struct {
ContractAddress string `protobuf:"bytes,1,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
}
func (*EventContractDeregistered) Descriptor ¶ added in v1.48.5
func (*EventContractDeregistered) Descriptor() ([]byte, []int)
func (*EventContractDeregistered) GetContractAddress ¶ added in v1.48.5
func (m *EventContractDeregistered) GetContractAddress() string
func (*EventContractDeregistered) Marshal ¶ added in v1.48.5
func (m *EventContractDeregistered) Marshal() (dAtA []byte, err error)
func (*EventContractDeregistered) MarshalTo ¶ added in v1.48.5
func (m *EventContractDeregistered) MarshalTo(dAtA []byte) (int, error)
func (*EventContractDeregistered) MarshalToSizedBuffer ¶ added in v1.48.5
func (m *EventContractDeregistered) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventContractDeregistered) ProtoMessage ¶ added in v1.48.5
func (*EventContractDeregistered) ProtoMessage()
func (*EventContractDeregistered) Reset ¶ added in v1.48.5
func (m *EventContractDeregistered) Reset()
func (*EventContractDeregistered) Size ¶ added in v1.48.5
func (m *EventContractDeregistered) Size() (n int)
func (*EventContractDeregistered) String ¶ added in v1.48.5
func (m *EventContractDeregistered) String() string
func (*EventContractDeregistered) Unmarshal ¶ added in v1.48.5
func (m *EventContractDeregistered) Unmarshal(dAtA []byte) error
func (*EventContractDeregistered) XXX_DiscardUnknown ¶ added in v1.48.5
func (m *EventContractDeregistered) XXX_DiscardUnknown()
func (*EventContractDeregistered) XXX_Marshal ¶ added in v1.48.5
func (m *EventContractDeregistered) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventContractDeregistered) XXX_Merge ¶ added in v1.48.5
func (m *EventContractDeregistered) XXX_Merge(src proto.Message)
func (*EventContractDeregistered) XXX_Size ¶ added in v1.48.5
func (m *EventContractDeregistered) XXX_Size() int
func (*EventContractDeregistered) XXX_Unmarshal ¶ added in v1.48.5
func (m *EventContractDeregistered) XXX_Unmarshal(b []byte) error
type EventContractExecution ¶ added in v1.47.4
type EventContractExecution struct { ContractAddress string `protobuf:"bytes,1,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` Response []byte `protobuf:"bytes,2,opt,name=response,proto3" json:"response,omitempty"` OtherError string `protobuf:"bytes,3,opt,name=other_error,json=otherError,proto3" json:"other_error,omitempty"` ExecutionError string `protobuf:"bytes,4,opt,name=execution_error,json=executionError,proto3" json:"execution_error,omitempty"` }
func (*EventContractExecution) Descriptor ¶ added in v1.47.4
func (*EventContractExecution) Descriptor() ([]byte, []int)
func (*EventContractExecution) GetContractAddress ¶ added in v1.47.4
func (m *EventContractExecution) GetContractAddress() string
func (*EventContractExecution) GetExecutionError ¶ added in v1.48.5
func (m *EventContractExecution) GetExecutionError() string
func (*EventContractExecution) GetOtherError ¶ added in v1.48.5
func (m *EventContractExecution) GetOtherError() string
func (*EventContractExecution) GetResponse ¶ added in v1.47.4
func (m *EventContractExecution) GetResponse() []byte
func (*EventContractExecution) Marshal ¶ added in v1.47.4
func (m *EventContractExecution) Marshal() (dAtA []byte, err error)
func (*EventContractExecution) MarshalTo ¶ added in v1.47.4
func (m *EventContractExecution) MarshalTo(dAtA []byte) (int, error)
func (*EventContractExecution) MarshalToSizedBuffer ¶ added in v1.47.4
func (m *EventContractExecution) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventContractExecution) ProtoMessage ¶ added in v1.47.4
func (*EventContractExecution) ProtoMessage()
func (*EventContractExecution) Reset ¶ added in v1.47.4
func (m *EventContractExecution) Reset()
func (*EventContractExecution) Size ¶ added in v1.47.4
func (m *EventContractExecution) Size() (n int)
func (*EventContractExecution) String ¶ added in v1.47.4
func (m *EventContractExecution) String() string
func (*EventContractExecution) Unmarshal ¶ added in v1.47.4
func (m *EventContractExecution) Unmarshal(dAtA []byte) error
func (*EventContractExecution) XXX_DiscardUnknown ¶ added in v1.47.4
func (m *EventContractExecution) XXX_DiscardUnknown()
func (*EventContractExecution) XXX_Marshal ¶ added in v1.47.4
func (m *EventContractExecution) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventContractExecution) XXX_Merge ¶ added in v1.47.4
func (m *EventContractExecution) XXX_Merge(src proto.Message)
func (*EventContractExecution) XXX_Size ¶ added in v1.47.4
func (m *EventContractExecution) XXX_Size() int
func (*EventContractExecution) XXX_Unmarshal ¶ added in v1.47.4
func (m *EventContractExecution) XXX_Unmarshal(b []byte) error
type EventContractRegistered ¶ added in v1.48.5
type EventContractRegistered struct { ContractAddress string `protobuf:"bytes,1,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` GasPrice uint64 `protobuf:"varint,3,opt,name=gas_price,json=gasPrice,proto3" json:"gas_price,omitempty"` ShouldPinContract bool `protobuf:"varint,4,opt,name=should_pin_contract,json=shouldPinContract,proto3" json:"should_pin_contract,omitempty"` IsMigrationAllowed bool `protobuf:"varint,5,opt,name=is_migration_allowed,json=isMigrationAllowed,proto3" json:"is_migration_allowed,omitempty"` CodeId uint64 `protobuf:"varint,6,opt,name=code_id,json=codeId,proto3" json:"code_id,omitempty"` AdminAddress string `protobuf:"bytes,7,opt,name=admin_address,json=adminAddress,proto3" json:"admin_address,omitempty"` GranterAddress string `protobuf:"bytes,8,opt,name=granter_address,json=granterAddress,proto3" json:"granter_address,omitempty"` FundingMode FundingMode `` /* 131-byte string literal not displayed */ }
func (*EventContractRegistered) Descriptor ¶ added in v1.48.5
func (*EventContractRegistered) Descriptor() ([]byte, []int)
func (*EventContractRegistered) GetAdminAddress ¶ added in v1.48.5
func (m *EventContractRegistered) GetAdminAddress() string
func (*EventContractRegistered) GetCodeId ¶ added in v1.48.5
func (m *EventContractRegistered) GetCodeId() uint64
func (*EventContractRegistered) GetContractAddress ¶ added in v1.48.5
func (m *EventContractRegistered) GetContractAddress() string
func (*EventContractRegistered) GetFundingMode ¶ added in v1.48.5
func (m *EventContractRegistered) GetFundingMode() FundingMode
func (*EventContractRegistered) GetGasPrice ¶ added in v1.48.5
func (m *EventContractRegistered) GetGasPrice() uint64
func (*EventContractRegistered) GetGranterAddress ¶ added in v1.48.5
func (m *EventContractRegistered) GetGranterAddress() string
func (*EventContractRegistered) GetIsMigrationAllowed ¶ added in v1.48.5
func (m *EventContractRegistered) GetIsMigrationAllowed() bool
func (*EventContractRegistered) GetShouldPinContract ¶ added in v1.48.5
func (m *EventContractRegistered) GetShouldPinContract() bool
func (*EventContractRegistered) Marshal ¶ added in v1.48.5
func (m *EventContractRegistered) Marshal() (dAtA []byte, err error)
func (*EventContractRegistered) MarshalTo ¶ added in v1.48.5
func (m *EventContractRegistered) MarshalTo(dAtA []byte) (int, error)
func (*EventContractRegistered) MarshalToSizedBuffer ¶ added in v1.48.5
func (m *EventContractRegistered) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventContractRegistered) ProtoMessage ¶ added in v1.48.5
func (*EventContractRegistered) ProtoMessage()
func (*EventContractRegistered) Reset ¶ added in v1.48.5
func (m *EventContractRegistered) Reset()
func (*EventContractRegistered) Size ¶ added in v1.48.5
func (m *EventContractRegistered) Size() (n int)
func (*EventContractRegistered) String ¶ added in v1.48.5
func (m *EventContractRegistered) String() string
func (*EventContractRegistered) Unmarshal ¶ added in v1.48.5
func (m *EventContractRegistered) Unmarshal(dAtA []byte) error
func (*EventContractRegistered) XXX_DiscardUnknown ¶ added in v1.48.5
func (m *EventContractRegistered) XXX_DiscardUnknown()
func (*EventContractRegistered) XXX_Marshal ¶ added in v1.48.5
func (m *EventContractRegistered) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventContractRegistered) XXX_Merge ¶ added in v1.48.5
func (m *EventContractRegistered) XXX_Merge(src proto.Message)
func (*EventContractRegistered) XXX_Size ¶ added in v1.48.5
func (m *EventContractRegistered) XXX_Size() int
func (*EventContractRegistered) XXX_Unmarshal ¶ added in v1.48.5
func (m *EventContractRegistered) XXX_Unmarshal(b []byte) error
type ExecutionData ¶ added in v1.39.0
type FundingMode ¶ added in v1.47.4
type FundingMode int32
const ( FundingMode_Unspecified FundingMode = 0 FundingMode_SelfFunded FundingMode = 1 FundingMode_GrantOnly FundingMode = 2 FundingMode_Dual FundingMode = 3 )
func (FundingMode) EnumDescriptor ¶ added in v1.47.4
func (FundingMode) EnumDescriptor() ([]byte, []int)
func (FundingMode) String ¶ added in v1.47.4
func (x FundingMode) String() string
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"` // registered_contracts is an array containing the genesis registered // contracts RegisteredContracts []RegisteredContractWithAddress `protobuf:"bytes,2,rep,name=registered_contracts,json=registeredContracts,proto3" json:"registered_contracts"` }
GenesisState defines the wasmx module's genesis state.
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) GetRegisteredContracts ¶ added in v1.45.0
func (m *GenesisState) GetRegisteredContracts() []RegisteredContractWithAddress
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) 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 MsgActivateContract ¶ added in v1.45.0
type MsgActivateContract struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` // Unique Identifier for contract instance to be activated. ContractAddress string `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` }
func (*MsgActivateContract) Descriptor ¶ added in v1.45.0
func (*MsgActivateContract) Descriptor() ([]byte, []int)
func (*MsgActivateContract) GetContractAddress ¶ added in v1.45.0
func (m *MsgActivateContract) GetContractAddress() string
func (*MsgActivateContract) GetSender ¶ added in v1.45.0
func (m *MsgActivateContract) GetSender() string
func (*MsgActivateContract) GetSignBytes ¶ added in v1.45.0
func (msg *MsgActivateContract) GetSignBytes() []byte
GetSignBytes implements the sdk.Msg interface. It encodes the message for signing
func (MsgActivateContract) GetSigners ¶ added in v1.45.0
func (msg MsgActivateContract) GetSigners() []sdk.AccAddress
GetSigners implements the sdk.Msg interface. It defines whose signature is required
func (*MsgActivateContract) Marshal ¶ added in v1.45.0
func (m *MsgActivateContract) Marshal() (dAtA []byte, err error)
func (*MsgActivateContract) MarshalTo ¶ added in v1.45.0
func (m *MsgActivateContract) MarshalTo(dAtA []byte) (int, error)
func (*MsgActivateContract) MarshalToSizedBuffer ¶ added in v1.45.0
func (m *MsgActivateContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgActivateContract) ProtoMessage ¶ added in v1.45.0
func (*MsgActivateContract) ProtoMessage()
func (*MsgActivateContract) Reset ¶ added in v1.45.0
func (m *MsgActivateContract) Reset()
func (MsgActivateContract) Route ¶ added in v1.45.0
func (msg MsgActivateContract) Route() string
Route implements the sdk.Msg interface. It should return the name of the module
func (*MsgActivateContract) Size ¶ added in v1.45.0
func (m *MsgActivateContract) Size() (n int)
func (*MsgActivateContract) String ¶ added in v1.45.0
func (m *MsgActivateContract) String() string
func (MsgActivateContract) Type ¶ added in v1.45.0
func (msg MsgActivateContract) Type() string
Type implements the sdk.Msg interface. It should return the action.
func (*MsgActivateContract) Unmarshal ¶ added in v1.45.0
func (m *MsgActivateContract) Unmarshal(dAtA []byte) error
func (MsgActivateContract) ValidateBasic ¶ added in v1.45.0
func (msg MsgActivateContract) ValidateBasic() error
ValidateBasic implements the sdk.Msg interface. It runs stateless checks on the message
func (*MsgActivateContract) XXX_DiscardUnknown ¶ added in v1.45.0
func (m *MsgActivateContract) XXX_DiscardUnknown()
func (*MsgActivateContract) XXX_Marshal ¶ added in v1.45.0
func (m *MsgActivateContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgActivateContract) XXX_Merge ¶ added in v1.45.0
func (m *MsgActivateContract) XXX_Merge(src proto.Message)
func (*MsgActivateContract) XXX_Size ¶ added in v1.45.0
func (m *MsgActivateContract) XXX_Size() int
func (*MsgActivateContract) XXX_Unmarshal ¶ added in v1.45.0
func (m *MsgActivateContract) XXX_Unmarshal(b []byte) error
type MsgActivateContractResponse ¶ added in v1.45.0
type MsgActivateContractResponse struct { }
func (*MsgActivateContractResponse) Descriptor ¶ added in v1.45.0
func (*MsgActivateContractResponse) Descriptor() ([]byte, []int)
func (*MsgActivateContractResponse) Marshal ¶ added in v1.45.0
func (m *MsgActivateContractResponse) Marshal() (dAtA []byte, err error)
func (*MsgActivateContractResponse) MarshalTo ¶ added in v1.45.0
func (m *MsgActivateContractResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgActivateContractResponse) MarshalToSizedBuffer ¶ added in v1.45.0
func (m *MsgActivateContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgActivateContractResponse) ProtoMessage ¶ added in v1.45.0
func (*MsgActivateContractResponse) ProtoMessage()
func (*MsgActivateContractResponse) Reset ¶ added in v1.45.0
func (m *MsgActivateContractResponse) Reset()
func (*MsgActivateContractResponse) Size ¶ added in v1.45.0
func (m *MsgActivateContractResponse) Size() (n int)
func (*MsgActivateContractResponse) String ¶ added in v1.45.0
func (m *MsgActivateContractResponse) String() string
func (*MsgActivateContractResponse) Unmarshal ¶ added in v1.45.0
func (m *MsgActivateContractResponse) Unmarshal(dAtA []byte) error
func (*MsgActivateContractResponse) XXX_DiscardUnknown ¶ added in v1.45.0
func (m *MsgActivateContractResponse) XXX_DiscardUnknown()
func (*MsgActivateContractResponse) XXX_Marshal ¶ added in v1.45.0
func (m *MsgActivateContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgActivateContractResponse) XXX_Merge ¶ added in v1.45.0
func (m *MsgActivateContractResponse) XXX_Merge(src proto.Message)
func (*MsgActivateContractResponse) XXX_Size ¶ added in v1.45.0
func (m *MsgActivateContractResponse) XXX_Size() int
func (*MsgActivateContractResponse) XXX_Unmarshal ¶ added in v1.45.0
func (m *MsgActivateContractResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { UpdateRegistryContractParams(ctx context.Context, in *MsgUpdateContract, opts ...grpc.CallOption) (*MsgUpdateContractResponse, error) ActivateRegistryContract(ctx context.Context, in *MsgActivateContract, opts ...grpc.CallOption) (*MsgActivateContractResponse, error) DeactivateRegistryContract(ctx context.Context, in *MsgDeactivateContract, opts ...grpc.CallOption) (*MsgDeactivateContractResponse, error) ExecuteContractCompat(ctx context.Context, in *MsgExecuteContractCompat, opts ...grpc.CallOption) (*MsgExecuteContractCompatResponse, error) UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) RegisterContract(ctx context.Context, in *MsgRegisterContract, opts ...grpc.CallOption) (*MsgRegisterContractResponse, error) }
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 MsgDeactivateContract ¶ added in v1.45.0
type MsgDeactivateContract struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` // Unique Identifier for contract instance to be deactivated. ContractAddress string `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` }
func (*MsgDeactivateContract) Descriptor ¶ added in v1.45.0
func (*MsgDeactivateContract) Descriptor() ([]byte, []int)
func (*MsgDeactivateContract) GetContractAddress ¶ added in v1.45.0
func (m *MsgDeactivateContract) GetContractAddress() string
func (*MsgDeactivateContract) GetSender ¶ added in v1.45.0
func (m *MsgDeactivateContract) GetSender() string
func (*MsgDeactivateContract) GetSignBytes ¶ added in v1.45.0
func (msg *MsgDeactivateContract) GetSignBytes() []byte
GetSignBytes implements the sdk.Msg interface. It encodes the message for signing
func (MsgDeactivateContract) GetSigners ¶ added in v1.45.0
func (msg MsgDeactivateContract) GetSigners() []sdk.AccAddress
GetSigners implements the sdk.Msg interface. It defines whose signature is required
func (*MsgDeactivateContract) Marshal ¶ added in v1.45.0
func (m *MsgDeactivateContract) Marshal() (dAtA []byte, err error)
func (*MsgDeactivateContract) MarshalTo ¶ added in v1.45.0
func (m *MsgDeactivateContract) MarshalTo(dAtA []byte) (int, error)
func (*MsgDeactivateContract) MarshalToSizedBuffer ¶ added in v1.45.0
func (m *MsgDeactivateContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeactivateContract) ProtoMessage ¶ added in v1.45.0
func (*MsgDeactivateContract) ProtoMessage()
func (*MsgDeactivateContract) Reset ¶ added in v1.45.0
func (m *MsgDeactivateContract) Reset()
func (MsgDeactivateContract) Route ¶ added in v1.45.0
func (msg MsgDeactivateContract) Route() string
Route implements the sdk.Msg interface. It should return the name of the module
func (*MsgDeactivateContract) Size ¶ added in v1.45.0
func (m *MsgDeactivateContract) Size() (n int)
func (*MsgDeactivateContract) String ¶ added in v1.45.0
func (m *MsgDeactivateContract) String() string
func (MsgDeactivateContract) Type ¶ added in v1.45.0
func (msg MsgDeactivateContract) Type() string
Type implements the sdk.Msg interface. It should return the action.
func (*MsgDeactivateContract) Unmarshal ¶ added in v1.45.0
func (m *MsgDeactivateContract) Unmarshal(dAtA []byte) error
func (MsgDeactivateContract) ValidateBasic ¶ added in v1.45.0
func (msg MsgDeactivateContract) ValidateBasic() error
ValidateBasic implements the sdk.Msg interface. It runs stateless checks on the message
func (*MsgDeactivateContract) XXX_DiscardUnknown ¶ added in v1.45.0
func (m *MsgDeactivateContract) XXX_DiscardUnknown()
func (*MsgDeactivateContract) XXX_Marshal ¶ added in v1.45.0
func (m *MsgDeactivateContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeactivateContract) XXX_Merge ¶ added in v1.45.0
func (m *MsgDeactivateContract) XXX_Merge(src proto.Message)
func (*MsgDeactivateContract) XXX_Size ¶ added in v1.45.0
func (m *MsgDeactivateContract) XXX_Size() int
func (*MsgDeactivateContract) XXX_Unmarshal ¶ added in v1.45.0
func (m *MsgDeactivateContract) XXX_Unmarshal(b []byte) error
type MsgDeactivateContractResponse ¶ added in v1.45.0
type MsgDeactivateContractResponse struct { }
func (*MsgDeactivateContractResponse) Descriptor ¶ added in v1.45.0
func (*MsgDeactivateContractResponse) Descriptor() ([]byte, []int)
func (*MsgDeactivateContractResponse) Marshal ¶ added in v1.45.0
func (m *MsgDeactivateContractResponse) Marshal() (dAtA []byte, err error)
func (*MsgDeactivateContractResponse) MarshalTo ¶ added in v1.45.0
func (m *MsgDeactivateContractResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgDeactivateContractResponse) MarshalToSizedBuffer ¶ added in v1.45.0
func (m *MsgDeactivateContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeactivateContractResponse) ProtoMessage ¶ added in v1.45.0
func (*MsgDeactivateContractResponse) ProtoMessage()
func (*MsgDeactivateContractResponse) Reset ¶ added in v1.45.0
func (m *MsgDeactivateContractResponse) Reset()
func (*MsgDeactivateContractResponse) Size ¶ added in v1.45.0
func (m *MsgDeactivateContractResponse) Size() (n int)
func (*MsgDeactivateContractResponse) String ¶ added in v1.45.0
func (m *MsgDeactivateContractResponse) String() string
func (*MsgDeactivateContractResponse) Unmarshal ¶ added in v1.45.0
func (m *MsgDeactivateContractResponse) Unmarshal(dAtA []byte) error
func (*MsgDeactivateContractResponse) XXX_DiscardUnknown ¶ added in v1.45.0
func (m *MsgDeactivateContractResponse) XXX_DiscardUnknown()
func (*MsgDeactivateContractResponse) XXX_Marshal ¶ added in v1.45.0
func (m *MsgDeactivateContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeactivateContractResponse) XXX_Merge ¶ added in v1.45.0
func (m *MsgDeactivateContractResponse) XXX_Merge(src proto.Message)
func (*MsgDeactivateContractResponse) XXX_Size ¶ added in v1.45.0
func (m *MsgDeactivateContractResponse) XXX_Size() int
func (*MsgDeactivateContractResponse) XXX_Unmarshal ¶ added in v1.45.0
func (m *MsgDeactivateContractResponse) XXX_Unmarshal(b []byte) error
type MsgExecuteContractCompat ¶ added in v1.44.3
type MsgExecuteContractCompat struct { // Sender is the that actor that signed the messages Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` // Contract is the address of the smart contract Contract string `protobuf:"bytes,2,opt,name=contract,proto3" json:"contract,omitempty"` // Msg json encoded message to be passed to the contract Msg string `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty"` // Funds coins that are transferred to the contract on execution Funds string `protobuf:"bytes,4,opt,name=funds,proto3" json:"funds,omitempty"` }
MsgExecuteContractCompat submits the given message data to a smart contract, compatible with EIP712
func (*MsgExecuteContractCompat) Descriptor ¶ added in v1.44.3
func (*MsgExecuteContractCompat) Descriptor() ([]byte, []int)
func (*MsgExecuteContractCompat) GetContract ¶ added in v1.44.3
func (m *MsgExecuteContractCompat) GetContract() string
func (*MsgExecuteContractCompat) GetFunds ¶ added in v1.44.3
func (m *MsgExecuteContractCompat) GetFunds() string
func (*MsgExecuteContractCompat) GetMsg ¶ added in v1.44.3
func (m *MsgExecuteContractCompat) GetMsg() string
func (*MsgExecuteContractCompat) GetSender ¶ added in v1.44.3
func (m *MsgExecuteContractCompat) GetSender() string
func (MsgExecuteContractCompat) GetSignBytes ¶ added in v1.44.3
func (msg MsgExecuteContractCompat) GetSignBytes() []byte
func (MsgExecuteContractCompat) GetSigners ¶ added in v1.44.3
func (msg MsgExecuteContractCompat) GetSigners() []sdk.AccAddress
func (*MsgExecuteContractCompat) Marshal ¶ added in v1.44.3
func (m *MsgExecuteContractCompat) Marshal() (dAtA []byte, err error)
func (*MsgExecuteContractCompat) MarshalTo ¶ added in v1.44.3
func (m *MsgExecuteContractCompat) MarshalTo(dAtA []byte) (int, error)
func (*MsgExecuteContractCompat) MarshalToSizedBuffer ¶ added in v1.44.3
func (m *MsgExecuteContractCompat) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgExecuteContractCompat) ProtoMessage ¶ added in v1.44.3
func (*MsgExecuteContractCompat) ProtoMessage()
func (*MsgExecuteContractCompat) Reset ¶ added in v1.44.3
func (m *MsgExecuteContractCompat) Reset()
func (MsgExecuteContractCompat) Route ¶ added in v1.44.3
func (msg MsgExecuteContractCompat) Route() string
func (*MsgExecuteContractCompat) Size ¶ added in v1.44.3
func (m *MsgExecuteContractCompat) Size() (n int)
func (*MsgExecuteContractCompat) String ¶ added in v1.44.3
func (m *MsgExecuteContractCompat) String() string
func (MsgExecuteContractCompat) Type ¶ added in v1.44.3
func (msg MsgExecuteContractCompat) Type() string
func (*MsgExecuteContractCompat) Unmarshal ¶ added in v1.44.3
func (m *MsgExecuteContractCompat) Unmarshal(dAtA []byte) error
func (MsgExecuteContractCompat) ValidateBasic ¶ added in v1.44.3
func (msg MsgExecuteContractCompat) ValidateBasic() error
func (*MsgExecuteContractCompat) XXX_DiscardUnknown ¶ added in v1.44.3
func (m *MsgExecuteContractCompat) XXX_DiscardUnknown()
func (*MsgExecuteContractCompat) XXX_Marshal ¶ added in v1.44.3
func (m *MsgExecuteContractCompat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgExecuteContractCompat) XXX_Merge ¶ added in v1.44.3
func (m *MsgExecuteContractCompat) XXX_Merge(src proto.Message)
func (*MsgExecuteContractCompat) XXX_Size ¶ added in v1.44.3
func (m *MsgExecuteContractCompat) XXX_Size() int
func (*MsgExecuteContractCompat) XXX_Unmarshal ¶ added in v1.44.3
func (m *MsgExecuteContractCompat) XXX_Unmarshal(b []byte) error
type MsgExecuteContractCompatResponse ¶ added in v1.44.3
type MsgExecuteContractCompatResponse struct { // Data contains bytes to returned from the contract Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` }
MsgExecuteContractCompatResponse returns execution result data.
func (*MsgExecuteContractCompatResponse) Descriptor ¶ added in v1.44.3
func (*MsgExecuteContractCompatResponse) Descriptor() ([]byte, []int)
func (*MsgExecuteContractCompatResponse) GetData ¶ added in v1.44.3
func (m *MsgExecuteContractCompatResponse) GetData() []byte
func (*MsgExecuteContractCompatResponse) Marshal ¶ added in v1.44.3
func (m *MsgExecuteContractCompatResponse) Marshal() (dAtA []byte, err error)
func (*MsgExecuteContractCompatResponse) MarshalTo ¶ added in v1.44.3
func (m *MsgExecuteContractCompatResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgExecuteContractCompatResponse) MarshalToSizedBuffer ¶ added in v1.44.3
func (m *MsgExecuteContractCompatResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgExecuteContractCompatResponse) ProtoMessage ¶ added in v1.44.3
func (*MsgExecuteContractCompatResponse) ProtoMessage()
func (*MsgExecuteContractCompatResponse) Reset ¶ added in v1.44.3
func (m *MsgExecuteContractCompatResponse) Reset()
func (*MsgExecuteContractCompatResponse) Size ¶ added in v1.44.3
func (m *MsgExecuteContractCompatResponse) Size() (n int)
func (*MsgExecuteContractCompatResponse) String ¶ added in v1.44.3
func (m *MsgExecuteContractCompatResponse) String() string
func (*MsgExecuteContractCompatResponse) Unmarshal ¶ added in v1.44.3
func (m *MsgExecuteContractCompatResponse) Unmarshal(dAtA []byte) error
func (*MsgExecuteContractCompatResponse) XXX_DiscardUnknown ¶ added in v1.44.3
func (m *MsgExecuteContractCompatResponse) XXX_DiscardUnknown()
func (*MsgExecuteContractCompatResponse) XXX_Marshal ¶ added in v1.44.3
func (m *MsgExecuteContractCompatResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgExecuteContractCompatResponse) XXX_Merge ¶ added in v1.44.3
func (m *MsgExecuteContractCompatResponse) XXX_Merge(src proto.Message)
func (*MsgExecuteContractCompatResponse) XXX_Size ¶ added in v1.44.3
func (m *MsgExecuteContractCompatResponse) XXX_Size() int
func (*MsgExecuteContractCompatResponse) XXX_Unmarshal ¶ added in v1.44.3
func (m *MsgExecuteContractCompatResponse) XXX_Unmarshal(b []byte) error
type MsgRegisterContract ¶ added in v1.47.4
type MsgRegisterContract struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` ContractRegistrationRequest ContractRegistrationRequest `` /* 134-byte string literal not displayed */ }
func (*MsgRegisterContract) Descriptor ¶ added in v1.47.4
func (*MsgRegisterContract) Descriptor() ([]byte, []int)
func (*MsgRegisterContract) GetContractRegistrationRequest ¶ added in v1.47.4
func (m *MsgRegisterContract) GetContractRegistrationRequest() ContractRegistrationRequest
func (*MsgRegisterContract) GetSender ¶ added in v1.47.4
func (m *MsgRegisterContract) GetSender() string
func (*MsgRegisterContract) GetSignBytes ¶ added in v1.47.4
func (msg *MsgRegisterContract) GetSignBytes() []byte
GetSignBytes implements the sdk.Msg interface. It encodes the message for signing
func (MsgRegisterContract) GetSigners ¶ added in v1.47.4
func (msg MsgRegisterContract) GetSigners() []sdk.AccAddress
GetSigners implements the sdk.Msg interface. It defines whose signature is required
func (*MsgRegisterContract) Marshal ¶ added in v1.47.4
func (m *MsgRegisterContract) Marshal() (dAtA []byte, err error)
func (*MsgRegisterContract) MarshalTo ¶ added in v1.47.4
func (m *MsgRegisterContract) MarshalTo(dAtA []byte) (int, error)
func (*MsgRegisterContract) MarshalToSizedBuffer ¶ added in v1.47.4
func (m *MsgRegisterContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRegisterContract) ProtoMessage ¶ added in v1.47.4
func (*MsgRegisterContract) ProtoMessage()
func (*MsgRegisterContract) Reset ¶ added in v1.47.4
func (m *MsgRegisterContract) Reset()
func (MsgRegisterContract) Route ¶ added in v1.47.4
func (msg MsgRegisterContract) Route() string
Route implements the sdk.Msg interface. It should return the name of the module
func (*MsgRegisterContract) Size ¶ added in v1.47.4
func (m *MsgRegisterContract) Size() (n int)
func (*MsgRegisterContract) String ¶ added in v1.47.4
func (m *MsgRegisterContract) String() string
func (MsgRegisterContract) Type ¶ added in v1.47.4
func (msg MsgRegisterContract) Type() string
Type implements the sdk.Msg interface. It should return the action.
func (*MsgRegisterContract) Unmarshal ¶ added in v1.47.4
func (m *MsgRegisterContract) Unmarshal(dAtA []byte) error
func (MsgRegisterContract) ValidateBasic ¶ added in v1.47.4
func (msg MsgRegisterContract) ValidateBasic() error
ValidateBasic implements the sdk.Msg interface. It runs stateless checks on the message
func (*MsgRegisterContract) XXX_DiscardUnknown ¶ added in v1.47.4
func (m *MsgRegisterContract) XXX_DiscardUnknown()
func (*MsgRegisterContract) XXX_Marshal ¶ added in v1.47.4
func (m *MsgRegisterContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRegisterContract) XXX_Merge ¶ added in v1.47.4
func (m *MsgRegisterContract) XXX_Merge(src proto.Message)
func (*MsgRegisterContract) XXX_Size ¶ added in v1.47.4
func (m *MsgRegisterContract) XXX_Size() int
func (*MsgRegisterContract) XXX_Unmarshal ¶ added in v1.47.4
func (m *MsgRegisterContract) XXX_Unmarshal(b []byte) error
type MsgRegisterContractResponse ¶ added in v1.47.4
type MsgRegisterContractResponse struct { }
func (*MsgRegisterContractResponse) Descriptor ¶ added in v1.47.4
func (*MsgRegisterContractResponse) Descriptor() ([]byte, []int)
func (*MsgRegisterContractResponse) Marshal ¶ added in v1.47.4
func (m *MsgRegisterContractResponse) Marshal() (dAtA []byte, err error)
func (*MsgRegisterContractResponse) MarshalTo ¶ added in v1.47.4
func (m *MsgRegisterContractResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRegisterContractResponse) MarshalToSizedBuffer ¶ added in v1.47.4
func (m *MsgRegisterContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRegisterContractResponse) ProtoMessage ¶ added in v1.47.4
func (*MsgRegisterContractResponse) ProtoMessage()
func (*MsgRegisterContractResponse) Reset ¶ added in v1.47.4
func (m *MsgRegisterContractResponse) Reset()
func (*MsgRegisterContractResponse) Size ¶ added in v1.47.4
func (m *MsgRegisterContractResponse) Size() (n int)
func (*MsgRegisterContractResponse) String ¶ added in v1.47.4
func (m *MsgRegisterContractResponse) String() string
func (*MsgRegisterContractResponse) Unmarshal ¶ added in v1.47.4
func (m *MsgRegisterContractResponse) Unmarshal(dAtA []byte) error
func (*MsgRegisterContractResponse) XXX_DiscardUnknown ¶ added in v1.47.4
func (m *MsgRegisterContractResponse) XXX_DiscardUnknown()
func (*MsgRegisterContractResponse) XXX_Marshal ¶ added in v1.47.4
func (m *MsgRegisterContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRegisterContractResponse) XXX_Merge ¶ added in v1.47.4
func (m *MsgRegisterContractResponse) XXX_Merge(src proto.Message)
func (*MsgRegisterContractResponse) XXX_Size ¶ added in v1.47.4
func (m *MsgRegisterContractResponse) XXX_Size() int
func (*MsgRegisterContractResponse) XXX_Unmarshal ¶ added in v1.47.4
func (m *MsgRegisterContractResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { UpdateRegistryContractParams(context.Context, *MsgUpdateContract) (*MsgUpdateContractResponse, error) ActivateRegistryContract(context.Context, *MsgActivateContract) (*MsgActivateContractResponse, error) DeactivateRegistryContract(context.Context, *MsgDeactivateContract) (*MsgDeactivateContractResponse, error) ExecuteContractCompat(context.Context, *MsgExecuteContractCompat) (*MsgExecuteContractCompatResponse, error) UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) RegisterContract(context.Context, *MsgRegisterContract) (*MsgRegisterContractResponse, error) }
MsgServer is the server API for Msg service.
type MsgUpdateContract ¶ added in v1.45.0
type MsgUpdateContract struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` // Unique Identifier for contract instance to be registered. ContractAddress string `protobuf:"bytes,2,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,3,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,4,opt,name=gas_price,json=gasPrice,proto3" json:"gas_price,omitempty"` // optional - admin account that will be allowed to perform any changes AdminAddress string `protobuf:"bytes,5,opt,name=admin_address,json=adminAddress,proto3" json:"admin_address,omitempty"` }
func (*MsgUpdateContract) Descriptor ¶ added in v1.45.0
func (*MsgUpdateContract) Descriptor() ([]byte, []int)
func (*MsgUpdateContract) GetAdminAddress ¶ added in v1.45.0
func (m *MsgUpdateContract) GetAdminAddress() string
func (*MsgUpdateContract) GetContractAddress ¶ added in v1.45.0
func (m *MsgUpdateContract) GetContractAddress() string
func (*MsgUpdateContract) GetGasLimit ¶ added in v1.45.0
func (m *MsgUpdateContract) GetGasLimit() uint64
func (*MsgUpdateContract) GetGasPrice ¶ added in v1.45.0
func (m *MsgUpdateContract) GetGasPrice() uint64
func (*MsgUpdateContract) GetSender ¶ added in v1.45.0
func (m *MsgUpdateContract) GetSender() string
func (*MsgUpdateContract) GetSignBytes ¶ added in v1.45.0
func (msg *MsgUpdateContract) GetSignBytes() []byte
GetSignBytes implements the sdk.Msg interface. It encodes the message for signing
func (MsgUpdateContract) GetSigners ¶ added in v1.45.0
func (msg MsgUpdateContract) GetSigners() []sdk.AccAddress
GetSigners implements the sdk.Msg interface. It defines whose signature is required
func (*MsgUpdateContract) Marshal ¶ added in v1.45.0
func (m *MsgUpdateContract) Marshal() (dAtA []byte, err error)
func (*MsgUpdateContract) MarshalTo ¶ added in v1.45.0
func (m *MsgUpdateContract) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateContract) MarshalToSizedBuffer ¶ added in v1.45.0
func (m *MsgUpdateContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateContract) ProtoMessage ¶ added in v1.45.0
func (*MsgUpdateContract) ProtoMessage()
func (*MsgUpdateContract) Reset ¶ added in v1.45.0
func (m *MsgUpdateContract) Reset()
func (MsgUpdateContract) Route ¶ added in v1.45.0
func (msg MsgUpdateContract) Route() string
Route implements the sdk.Msg interface. It should return the name of the module
func (*MsgUpdateContract) Size ¶ added in v1.45.0
func (m *MsgUpdateContract) Size() (n int)
func (*MsgUpdateContract) String ¶ added in v1.45.0
func (m *MsgUpdateContract) String() string
func (MsgUpdateContract) Type ¶ added in v1.45.0
func (msg MsgUpdateContract) Type() string
Type implements the sdk.Msg interface. It should return the action.
func (*MsgUpdateContract) Unmarshal ¶ added in v1.45.0
func (m *MsgUpdateContract) Unmarshal(dAtA []byte) error
func (MsgUpdateContract) ValidateBasic ¶ added in v1.45.0
func (msg MsgUpdateContract) ValidateBasic() error
ValidateBasic implements the sdk.Msg interface. It runs stateless checks on the message
func (*MsgUpdateContract) XXX_DiscardUnknown ¶ added in v1.45.0
func (m *MsgUpdateContract) XXX_DiscardUnknown()
func (*MsgUpdateContract) XXX_Marshal ¶ added in v1.45.0
func (m *MsgUpdateContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateContract) XXX_Merge ¶ added in v1.45.0
func (m *MsgUpdateContract) XXX_Merge(src proto.Message)
func (*MsgUpdateContract) XXX_Size ¶ added in v1.45.0
func (m *MsgUpdateContract) XXX_Size() int
func (*MsgUpdateContract) XXX_Unmarshal ¶ added in v1.45.0
func (m *MsgUpdateContract) XXX_Unmarshal(b []byte) error
type MsgUpdateContractResponse ¶ added in v1.45.0
type MsgUpdateContractResponse struct { }
func (*MsgUpdateContractResponse) Descriptor ¶ added in v1.45.0
func (*MsgUpdateContractResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateContractResponse) Marshal ¶ added in v1.45.0
func (m *MsgUpdateContractResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateContractResponse) MarshalTo ¶ added in v1.45.0
func (m *MsgUpdateContractResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateContractResponse) MarshalToSizedBuffer ¶ added in v1.45.0
func (m *MsgUpdateContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateContractResponse) ProtoMessage ¶ added in v1.45.0
func (*MsgUpdateContractResponse) ProtoMessage()
func (*MsgUpdateContractResponse) Reset ¶ added in v1.45.0
func (m *MsgUpdateContractResponse) Reset()
func (*MsgUpdateContractResponse) Size ¶ added in v1.45.0
func (m *MsgUpdateContractResponse) Size() (n int)
func (*MsgUpdateContractResponse) String ¶ added in v1.45.0
func (m *MsgUpdateContractResponse) String() string
func (*MsgUpdateContractResponse) Unmarshal ¶ added in v1.45.0
func (m *MsgUpdateContractResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateContractResponse) XXX_DiscardUnknown ¶ added in v1.45.0
func (m *MsgUpdateContractResponse) XXX_DiscardUnknown()
func (*MsgUpdateContractResponse) XXX_Marshal ¶ added in v1.45.0
func (m *MsgUpdateContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateContractResponse) XXX_Merge ¶ added in v1.45.0
func (m *MsgUpdateContractResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateContractResponse) XXX_Size ¶ added in v1.45.0
func (m *MsgUpdateContractResponse) XXX_Size() int
func (*MsgUpdateContractResponse) XXX_Unmarshal ¶ added in v1.45.0
func (m *MsgUpdateContractResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateParams ¶ added in v1.47.1
type MsgUpdateParams struct { // authority is the address of the governance account. Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // params defines the wasmx parameters to update. // // NOTE: All parameters must be supplied. Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"` }
func (*MsgUpdateParams) Descriptor ¶ added in v1.47.1
func (*MsgUpdateParams) Descriptor() ([]byte, []int)
func (*MsgUpdateParams) GetAuthority ¶ added in v1.47.1
func (m *MsgUpdateParams) GetAuthority() string
func (*MsgUpdateParams) GetParams ¶ added in v1.47.1
func (m *MsgUpdateParams) GetParams() Params
func (*MsgUpdateParams) GetSignBytes ¶ added in v1.47.1
func (msg *MsgUpdateParams) GetSignBytes() []byte
GetSignBytes implements the sdk.Msg interface. It encodes the message for signing
func (MsgUpdateParams) GetSigners ¶ added in v1.47.1
func (msg MsgUpdateParams) GetSigners() []sdk.AccAddress
GetSigners implements the sdk.Msg interface. It defines whose signature is required
func (*MsgUpdateParams) Marshal ¶ added in v1.47.1
func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParams) MarshalTo ¶ added in v1.47.1
func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateParams) MarshalToSizedBuffer ¶ added in v1.47.1
func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParams) ProtoMessage ¶ added in v1.47.1
func (*MsgUpdateParams) ProtoMessage()
func (*MsgUpdateParams) Reset ¶ added in v1.47.1
func (m *MsgUpdateParams) Reset()
func (MsgUpdateParams) Route ¶ added in v1.47.1
func (msg MsgUpdateParams) Route() string
Route implements the sdk.Msg interface. It should return the name of the module
func (*MsgUpdateParams) Size ¶ added in v1.47.1
func (m *MsgUpdateParams) Size() (n int)
func (*MsgUpdateParams) String ¶ added in v1.47.1
func (m *MsgUpdateParams) String() string
func (MsgUpdateParams) Type ¶ added in v1.47.1
func (msg MsgUpdateParams) Type() string
Type implements the sdk.Msg interface. It should return the action.
func (*MsgUpdateParams) Unmarshal ¶ added in v1.47.1
func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
func (MsgUpdateParams) ValidateBasic ¶ added in v1.47.1
func (msg MsgUpdateParams) ValidateBasic() error
ValidateBasic implements the sdk.Msg interface. It runs stateless checks on the message
func (*MsgUpdateParams) XXX_DiscardUnknown ¶ added in v1.47.1
func (m *MsgUpdateParams) XXX_DiscardUnknown()
func (*MsgUpdateParams) XXX_Marshal ¶ added in v1.47.1
func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParams) XXX_Merge ¶ added in v1.47.1
func (m *MsgUpdateParams) XXX_Merge(src proto.Message)
func (*MsgUpdateParams) XXX_Size ¶ added in v1.47.1
func (m *MsgUpdateParams) XXX_Size() int
func (*MsgUpdateParams) XXX_Unmarshal ¶ added in v1.47.1
func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error
type MsgUpdateParamsResponse ¶ added in v1.47.1
type MsgUpdateParamsResponse struct { }
func (*MsgUpdateParamsResponse) Descriptor ¶ added in v1.47.1
func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateParamsResponse) Marshal ¶ added in v1.47.1
func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParamsResponse) MarshalTo ¶ added in v1.47.1
func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateParamsResponse) MarshalToSizedBuffer ¶ added in v1.47.1
func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParamsResponse) ProtoMessage ¶ added in v1.47.1
func (*MsgUpdateParamsResponse) ProtoMessage()
func (*MsgUpdateParamsResponse) Reset ¶ added in v1.47.1
func (m *MsgUpdateParamsResponse) Reset()
func (*MsgUpdateParamsResponse) Size ¶ added in v1.47.1
func (m *MsgUpdateParamsResponse) Size() (n int)
func (*MsgUpdateParamsResponse) String ¶ added in v1.47.1
func (m *MsgUpdateParamsResponse) String() string
func (*MsgUpdateParamsResponse) Unmarshal ¶ added in v1.47.1
func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateParamsResponse) XXX_DiscardUnknown ¶ added in v1.47.1
func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()
func (*MsgUpdateParamsResponse) XXX_Marshal ¶ added in v1.47.1
func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParamsResponse) XXX_Merge ¶ added in v1.47.1
func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateParamsResponse) XXX_Size ¶ added in v1.47.1
func (m *MsgUpdateParamsResponse) XXX_Size() int
func (*MsgUpdateParamsResponse) XXX_Unmarshal ¶ added in v1.47.1
func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error
type Params ¶
type Params struct { // Set the status to active to indicate that contracts can be executed in // begin blocker. IsExecutionEnabled bool `protobuf:"varint,1,opt,name=is_execution_enabled,json=isExecutionEnabled,proto3" json:"is_execution_enabled,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,3,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,4,opt,name=min_gas_price,json=minGasPrice,proto3" json:"min_gas_price,omitempty"` RegisterContractAccess types.AccessConfig `` /* 151-byte string literal not displayed */ }
func NewParams ¶
func NewParams( isExecutionEnabled bool, maxBeginBlockTotalGas uint64, maxContractGasLimit uint64, minGasPrice uint64, registerContractAccess wasmtypes.AccessConfig, ) 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) GetRegisterContractAccess ¶ added in v1.51.0
func (m *Params) GetRegisterContractAccess() types.AccessConfig
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 QueryClient ¶
type QueryClient interface { // Retrieves wasmx params WasmxParams(ctx context.Context, in *QueryWasmxParamsRequest, opts ...grpc.CallOption) (*QueryWasmxParamsResponse, error) // Retrieves contract registration info ContractRegistrationInfo(ctx context.Context, in *QueryContractRegistrationInfoRequest, opts ...grpc.CallOption) (*QueryContractRegistrationInfoResponse, 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 QueryContractRegistrationInfoRequest ¶ added in v1.45.0
type QueryContractRegistrationInfoRequest struct {
ContractAddress string `protobuf:"bytes,1,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
}
Contract registration info
func (*QueryContractRegistrationInfoRequest) Descriptor ¶ added in v1.45.0
func (*QueryContractRegistrationInfoRequest) Descriptor() ([]byte, []int)
func (*QueryContractRegistrationInfoRequest) GetContractAddress ¶ added in v1.45.0
func (m *QueryContractRegistrationInfoRequest) GetContractAddress() string
func (*QueryContractRegistrationInfoRequest) Marshal ¶ added in v1.45.0
func (m *QueryContractRegistrationInfoRequest) Marshal() (dAtA []byte, err error)
func (*QueryContractRegistrationInfoRequest) MarshalTo ¶ added in v1.45.0
func (m *QueryContractRegistrationInfoRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryContractRegistrationInfoRequest) MarshalToSizedBuffer ¶ added in v1.45.0
func (m *QueryContractRegistrationInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryContractRegistrationInfoRequest) ProtoMessage ¶ added in v1.45.0
func (*QueryContractRegistrationInfoRequest) ProtoMessage()
func (*QueryContractRegistrationInfoRequest) Reset ¶ added in v1.45.0
func (m *QueryContractRegistrationInfoRequest) Reset()
func (*QueryContractRegistrationInfoRequest) Size ¶ added in v1.45.0
func (m *QueryContractRegistrationInfoRequest) Size() (n int)
func (*QueryContractRegistrationInfoRequest) String ¶ added in v1.45.0
func (m *QueryContractRegistrationInfoRequest) String() string
func (*QueryContractRegistrationInfoRequest) Unmarshal ¶ added in v1.45.0
func (m *QueryContractRegistrationInfoRequest) Unmarshal(dAtA []byte) error
func (*QueryContractRegistrationInfoRequest) XXX_DiscardUnknown ¶ added in v1.45.0
func (m *QueryContractRegistrationInfoRequest) XXX_DiscardUnknown()
func (*QueryContractRegistrationInfoRequest) XXX_Marshal ¶ added in v1.45.0
func (m *QueryContractRegistrationInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryContractRegistrationInfoRequest) XXX_Merge ¶ added in v1.45.0
func (m *QueryContractRegistrationInfoRequest) XXX_Merge(src proto.Message)
func (*QueryContractRegistrationInfoRequest) XXX_Size ¶ added in v1.45.0
func (m *QueryContractRegistrationInfoRequest) XXX_Size() int
func (*QueryContractRegistrationInfoRequest) XXX_Unmarshal ¶ added in v1.45.0
func (m *QueryContractRegistrationInfoRequest) XXX_Unmarshal(b []byte) error
type QueryContractRegistrationInfoResponse ¶ added in v1.45.0
type QueryContractRegistrationInfoResponse struct {
Contract *RegisteredContract `protobuf:"bytes,1,opt,name=contract,proto3" json:"contract,omitempty"`
}
func (*QueryContractRegistrationInfoResponse) Descriptor ¶ added in v1.45.0
func (*QueryContractRegistrationInfoResponse) Descriptor() ([]byte, []int)
func (*QueryContractRegistrationInfoResponse) GetContract ¶ added in v1.45.0
func (m *QueryContractRegistrationInfoResponse) GetContract() *RegisteredContract
func (*QueryContractRegistrationInfoResponse) Marshal ¶ added in v1.45.0
func (m *QueryContractRegistrationInfoResponse) Marshal() (dAtA []byte, err error)
func (*QueryContractRegistrationInfoResponse) MarshalTo ¶ added in v1.45.0
func (m *QueryContractRegistrationInfoResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryContractRegistrationInfoResponse) MarshalToSizedBuffer ¶ added in v1.45.0
func (m *QueryContractRegistrationInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryContractRegistrationInfoResponse) ProtoMessage ¶ added in v1.45.0
func (*QueryContractRegistrationInfoResponse) ProtoMessage()
func (*QueryContractRegistrationInfoResponse) Reset ¶ added in v1.45.0
func (m *QueryContractRegistrationInfoResponse) Reset()
func (*QueryContractRegistrationInfoResponse) Size ¶ added in v1.45.0
func (m *QueryContractRegistrationInfoResponse) Size() (n int)
func (*QueryContractRegistrationInfoResponse) String ¶ added in v1.45.0
func (m *QueryContractRegistrationInfoResponse) String() string
func (*QueryContractRegistrationInfoResponse) Unmarshal ¶ added in v1.45.0
func (m *QueryContractRegistrationInfoResponse) Unmarshal(dAtA []byte) error
func (*QueryContractRegistrationInfoResponse) XXX_DiscardUnknown ¶ added in v1.45.0
func (m *QueryContractRegistrationInfoResponse) XXX_DiscardUnknown()
func (*QueryContractRegistrationInfoResponse) XXX_Marshal ¶ added in v1.45.0
func (m *QueryContractRegistrationInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryContractRegistrationInfoResponse) XXX_Merge ¶ added in v1.45.0
func (m *QueryContractRegistrationInfoResponse) XXX_Merge(src proto.Message)
func (*QueryContractRegistrationInfoResponse) XXX_Size ¶ added in v1.45.0
func (m *QueryContractRegistrationInfoResponse) XXX_Size() int
func (*QueryContractRegistrationInfoResponse) XXX_Unmarshal ¶ added in v1.45.0
func (m *QueryContractRegistrationInfoResponse) XXX_Unmarshal(b []byte) error
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 contract registration info ContractRegistrationInfo(context.Context, *QueryContractRegistrationInfoRequest) (*QueryContractRegistrationInfoResponse, 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 RegisteredContract ¶ added in v1.45.0
type RegisteredContract struct { // limit of gas per BB execution GasLimit uint64 `protobuf:"varint,1,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"` // gas price that contract is willing to pay for execution in BeginBlocker GasPrice uint64 `protobuf:"varint,2,opt,name=gas_price,json=gasPrice,proto3" json:"gas_price,omitempty"` // is contract currently active IsExecutable bool `protobuf:"varint,3,opt,name=is_executable,json=isExecutable,proto3" json:"is_executable,omitempty"` // code_id that is allowed to be executed (to prevent malicious updates) - if // nil/0 any code_id can be executed CodeId uint64 `protobuf:"varint,4,opt,name=code_id,json=codeId,proto3" json:"code_id,omitempty"` // optional - admin addr that is allowed to update contract data AdminAddress string `protobuf:"bytes,5,opt,name=admin_address,json=adminAddress,proto3" json:"admin_address,omitempty"` // Optional: address of the contract granting fee // Must be set if fund_mode is GrantOnly GranterAddress string `protobuf:"bytes,6,opt,name=granter_address,json=granterAddress,proto3" json:"granter_address,omitempty"` // funding mode FundMode FundingMode `protobuf:"varint,7,opt,name=fund_mode,json=fundMode,proto3,enum=injective.wasmx.v1.FundingMode" json:"fund_mode,omitempty"` }
func (*RegisteredContract) Descriptor ¶ added in v1.45.0
func (*RegisteredContract) Descriptor() ([]byte, []int)
func (*RegisteredContract) Equal ¶ added in v1.45.0
func (this *RegisteredContract) Equal(that interface{}) bool
func (*RegisteredContract) GetAdminAddress ¶ added in v1.45.0
func (m *RegisteredContract) GetAdminAddress() string
func (*RegisteredContract) GetCodeId ¶ added in v1.45.0
func (m *RegisteredContract) GetCodeId() uint64
func (*RegisteredContract) GetFundMode ¶ added in v1.47.4
func (m *RegisteredContract) GetFundMode() FundingMode
func (*RegisteredContract) GetGasLimit ¶ added in v1.45.0
func (m *RegisteredContract) GetGasLimit() uint64
func (*RegisteredContract) GetGasPrice ¶ added in v1.45.0
func (m *RegisteredContract) GetGasPrice() uint64
func (*RegisteredContract) GetGranterAddress ¶ added in v1.47.4
func (m *RegisteredContract) GetGranterAddress() string
func (*RegisteredContract) GetIsExecutable ¶ added in v1.45.0
func (m *RegisteredContract) GetIsExecutable() bool
func (*RegisteredContract) Marshal ¶ added in v1.45.0
func (m *RegisteredContract) Marshal() (dAtA []byte, err error)
func (*RegisteredContract) MarshalTo ¶ added in v1.45.0
func (m *RegisteredContract) MarshalTo(dAtA []byte) (int, error)
func (*RegisteredContract) MarshalToSizedBuffer ¶ added in v1.45.0
func (m *RegisteredContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RegisteredContract) ProtoMessage ¶ added in v1.45.0
func (*RegisteredContract) ProtoMessage()
func (*RegisteredContract) Reset ¶ added in v1.45.0
func (m *RegisteredContract) Reset()
func (*RegisteredContract) Size ¶ added in v1.45.0
func (m *RegisteredContract) Size() (n int)
func (*RegisteredContract) String ¶ added in v1.45.0
func (m *RegisteredContract) String() string
func (*RegisteredContract) Unmarshal ¶ added in v1.45.0
func (m *RegisteredContract) Unmarshal(dAtA []byte) error
func (*RegisteredContract) XXX_DiscardUnknown ¶ added in v1.45.0
func (m *RegisteredContract) XXX_DiscardUnknown()
func (*RegisteredContract) XXX_Marshal ¶ added in v1.45.0
func (m *RegisteredContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RegisteredContract) XXX_Merge ¶ added in v1.45.0
func (m *RegisteredContract) XXX_Merge(src proto.Message)
func (*RegisteredContract) XXX_Size ¶ added in v1.45.0
func (m *RegisteredContract) XXX_Size() int
func (*RegisteredContract) XXX_Unmarshal ¶ added in v1.45.0
func (m *RegisteredContract) XXX_Unmarshal(b []byte) error
type RegisteredContractWithAddress ¶ added in v1.45.0
type RegisteredContractWithAddress struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` RegisteredContract *RegisteredContract `protobuf:"bytes,2,opt,name=registered_contract,json=registeredContract,proto3" json:"registered_contract,omitempty"` }
func (*RegisteredContractWithAddress) Descriptor ¶ added in v1.45.0
func (*RegisteredContractWithAddress) Descriptor() ([]byte, []int)
func (*RegisteredContractWithAddress) GetAddress ¶ added in v1.45.0
func (m *RegisteredContractWithAddress) GetAddress() string
func (*RegisteredContractWithAddress) GetRegisteredContract ¶ added in v1.45.0
func (m *RegisteredContractWithAddress) GetRegisteredContract() *RegisteredContract
func (*RegisteredContractWithAddress) Marshal ¶ added in v1.45.0
func (m *RegisteredContractWithAddress) Marshal() (dAtA []byte, err error)
func (*RegisteredContractWithAddress) MarshalTo ¶ added in v1.45.0
func (m *RegisteredContractWithAddress) MarshalTo(dAtA []byte) (int, error)
func (*RegisteredContractWithAddress) MarshalToSizedBuffer ¶ added in v1.45.0
func (m *RegisteredContractWithAddress) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RegisteredContractWithAddress) ProtoMessage ¶ added in v1.45.0
func (*RegisteredContractWithAddress) ProtoMessage()
func (*RegisteredContractWithAddress) Reset ¶ added in v1.45.0
func (m *RegisteredContractWithAddress) Reset()
func (*RegisteredContractWithAddress) Size ¶ added in v1.45.0
func (m *RegisteredContractWithAddress) Size() (n int)
func (*RegisteredContractWithAddress) String ¶ added in v1.45.0
func (m *RegisteredContractWithAddress) String() string
func (*RegisteredContractWithAddress) Unmarshal ¶ added in v1.45.0
func (m *RegisteredContractWithAddress) Unmarshal(dAtA []byte) error
func (*RegisteredContractWithAddress) XXX_DiscardUnknown ¶ added in v1.45.0
func (m *RegisteredContractWithAddress) XXX_DiscardUnknown()
func (*RegisteredContractWithAddress) XXX_Marshal ¶ added in v1.45.0
func (m *RegisteredContractWithAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RegisteredContractWithAddress) XXX_Merge ¶ added in v1.45.0
func (m *RegisteredContractWithAddress) XXX_Merge(src proto.Message)
func (*RegisteredContractWithAddress) XXX_Size ¶ added in v1.45.0
func (m *RegisteredContractWithAddress) XXX_Size() int
func (*RegisteredContractWithAddress) XXX_Unmarshal ¶ added in v1.45.0
func (m *RegisteredContractWithAddress) XXX_Unmarshal(b []byte) error
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) ActivateRegistryContract ¶ added in v1.45.0
func (*UnimplementedMsgServer) ActivateRegistryContract(ctx context.Context, req *MsgActivateContract) (*MsgActivateContractResponse, error)
func (*UnimplementedMsgServer) DeactivateRegistryContract ¶ added in v1.45.0
func (*UnimplementedMsgServer) DeactivateRegistryContract(ctx context.Context, req *MsgDeactivateContract) (*MsgDeactivateContractResponse, error)
func (*UnimplementedMsgServer) ExecuteContractCompat ¶ added in v1.44.3
func (*UnimplementedMsgServer) ExecuteContractCompat(ctx context.Context, req *MsgExecuteContractCompat) (*MsgExecuteContractCompatResponse, error)
func (*UnimplementedMsgServer) RegisterContract ¶ added in v1.47.4
func (*UnimplementedMsgServer) RegisterContract(ctx context.Context, req *MsgRegisterContract) (*MsgRegisterContractResponse, error)
func (*UnimplementedMsgServer) UpdateParams ¶ added in v1.47.1
func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
func (*UnimplementedMsgServer) UpdateRegistryContractParams ¶ added in v1.45.0
func (*UnimplementedMsgServer) UpdateRegistryContractParams(ctx context.Context, req *MsgUpdateContract) (*MsgUpdateContractResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) ContractRegistrationInfo ¶ added in v1.47.4
func (*UnimplementedQueryServer) ContractRegistrationInfo(ctx context.Context, req *QueryContractRegistrationInfoRequest) (*QueryContractRegistrationInfoResponse, error)
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)