Documentation ¶
Index ¶
- Constants
- Variables
- func GetContractsByGasPriceKey(gasPrice uint64, address sdk.AccAddress) []byte
- func GetContractsIndexKey(address sdk.AccAddress) []byte
- func HasDuplicates(slice []string) bool
- func IsAllowed(accessConfig types.AccessConfig, actor sdktypes.AccAddress) bool
- func NewBeginBlockerExecMsg() ([]byte, error)
- func ParamKeyTable() paramtypes.KeyTable
- func RegisterInterfaces(registry types.InterfaceRegistry)
- func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- type BankKeeper
- type 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 BeginBlockerMsg
- type CWBeginBlockerExecMsg
- 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 DeactivateCallbackMsg
- type DeregisterCallbackMsg
- 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 (gs GenesisState) Validate() error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type InjectiveExecMsg
- type 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 ParamSet
- type ParamSetPair
- type ParamSetPairs
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (this *Params) Equal(that interface{}) bool
- func (m *Params) GetIsExecutionEnabled() bool
- func (m *Params) GetMaxBeginBlockTotalGas() uint64
- func (m *Params) GetMaxContractGasLimit() uint64
- func (m *Params) GetMinGasPrice() uint64
- func (m *Params) 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 RegistryDeactivateCallbackMsg
- type RegistryDeregisterCallbackMsg
- 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)
- type ValueValidatorFn
- type WasmContractOpsKeeper
- type WasmViewKeeper
Constants ¶
const ( // ModuleName is set to xwasm and not wasmx to avoid Potential key collision between KVStores // (see assertNoPrefix in cosmos-sdk/types/store.go) ModuleName = "xwasm" StoreKey = ModuleName TStoreKey = "transient_xwasm" )
const ( 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 ( 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 ¶
func GetContractsByGasPriceKey(gasPrice uint64, address sdk.AccAddress) []byte
func GetContractsIndexKey ¶
func GetContractsIndexKey(address sdk.AccAddress) []byte
GetContractsIndexKey provides the key for the contract address => gasPrice
func HasDuplicates ¶
func IsAllowed ¶
func IsAllowed(accessConfig types.AccessConfig, actor sdktypes.AccAddress) bool
func NewBeginBlockerExecMsg ¶
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable returns the parameter key table.
func RegisterInterfaces ¶
func RegisterInterfaces(registry types.InterfaceRegistry)
func RegisterLegacyAminoCodec ¶
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
RegisterLegacyAminoCodec registers the necessary x/wasmx interfaces and concrete types on the provided LegacyAmino codec. These types are used for Amino JSON serialization.
func RegisterMsgServer ¶
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
Types ¶
type BankKeeper ¶
type BankKeeper interface { GetBalance(ctx context.Context, addr sdk.AccAddress, denom string) sdk.Coin GetAllBalances(ctx context.Context, addr sdk.AccAddress) sdk.Coins SendCoinsFromModuleToModule(ctx context.Context, senderModule, recipientModule string, amt sdk.Coins) error SendCoinsFromModuleToAccount(ctx context.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error SendCoinsFromAccountToModule(ctx context.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error BurnCoins(ctx context.Context, moduleName string, amt sdk.Coins) error IsSendEnabledCoins(ctx context.Context, coins ...sdk.Coin) error SendCoins(ctx context.Context, from, to sdk.AccAddress, amt sdk.Coins) error }
BankKeeper defines the expected bank keeper methods
type BatchContractDeregistrationProposal ¶
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 ¶
func (*BatchContractDeregistrationProposal) Descriptor() ([]byte, []int)
func (*BatchContractDeregistrationProposal) GetDescription ¶
func (p *BatchContractDeregistrationProposal) GetDescription() string
GetDescription returns the description of this proposal.
func (*BatchContractDeregistrationProposal) GetTitle ¶
func (p *BatchContractDeregistrationProposal) GetTitle() string
GetTitle returns the title of this proposal.
func (*BatchContractDeregistrationProposal) Marshal ¶
func (m *BatchContractDeregistrationProposal) Marshal() (dAtA []byte, err error)
func (*BatchContractDeregistrationProposal) MarshalTo ¶
func (m *BatchContractDeregistrationProposal) MarshalTo(dAtA []byte) (int, error)
func (*BatchContractDeregistrationProposal) MarshalToSizedBuffer ¶
func (m *BatchContractDeregistrationProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BatchContractDeregistrationProposal) ProposalRoute ¶
func (p *BatchContractDeregistrationProposal) ProposalRoute() string
ProposalRoute returns router key of this proposal.
func (*BatchContractDeregistrationProposal) ProposalType ¶
func (p *BatchContractDeregistrationProposal) ProposalType() string
ProposalType returns proposal type of this proposal.
func (*BatchContractDeregistrationProposal) ProtoMessage ¶
func (*BatchContractDeregistrationProposal) ProtoMessage()
func (*BatchContractDeregistrationProposal) Reset ¶
func (m *BatchContractDeregistrationProposal) Reset()
func (*BatchContractDeregistrationProposal) Size ¶
func (m *BatchContractDeregistrationProposal) Size() (n int)
func (*BatchContractDeregistrationProposal) String ¶
func (m *BatchContractDeregistrationProposal) String() string
func (*BatchContractDeregistrationProposal) Unmarshal ¶
func (m *BatchContractDeregistrationProposal) Unmarshal(dAtA []byte) error
func (*BatchContractDeregistrationProposal) ValidateBasic ¶
func (p *BatchContractDeregistrationProposal) ValidateBasic() error
ValidateBasic returns ValidateBasic result of this proposal.
func (*BatchContractDeregistrationProposal) XXX_DiscardUnknown ¶
func (m *BatchContractDeregistrationProposal) XXX_DiscardUnknown()
func (*BatchContractDeregistrationProposal) XXX_Marshal ¶
func (m *BatchContractDeregistrationProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BatchContractDeregistrationProposal) XXX_Merge ¶
func (m *BatchContractDeregistrationProposal) XXX_Merge(src proto.Message)
func (*BatchContractDeregistrationProposal) XXX_Size ¶
func (m *BatchContractDeregistrationProposal) XXX_Size() int
func (*BatchContractDeregistrationProposal) XXX_Unmarshal ¶
func (m *BatchContractDeregistrationProposal) XXX_Unmarshal(b []byte) error
type BatchContractRegistrationRequestProposal ¶
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 ¶
func (*BatchContractRegistrationRequestProposal) Descriptor() ([]byte, []int)
func (*BatchContractRegistrationRequestProposal) GetDescription ¶
func (p *BatchContractRegistrationRequestProposal) GetDescription() string
GetDescription returns the description of this proposal.
func (*BatchContractRegistrationRequestProposal) GetTitle ¶
func (p *BatchContractRegistrationRequestProposal) GetTitle() string
GetTitle returns the title of this proposal.
func (*BatchContractRegistrationRequestProposal) Marshal ¶
func (m *BatchContractRegistrationRequestProposal) Marshal() (dAtA []byte, err error)
func (*BatchContractRegistrationRequestProposal) MarshalTo ¶
func (m *BatchContractRegistrationRequestProposal) MarshalTo(dAtA []byte) (int, error)
func (*BatchContractRegistrationRequestProposal) MarshalToSizedBuffer ¶
func (m *BatchContractRegistrationRequestProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BatchContractRegistrationRequestProposal) ProposalRoute ¶
func (p *BatchContractRegistrationRequestProposal) ProposalRoute() string
ProposalRoute returns router key of this proposal.
func (*BatchContractRegistrationRequestProposal) ProposalType ¶
func (p *BatchContractRegistrationRequestProposal) ProposalType() string
ProposalType returns proposal type of this proposal.
func (*BatchContractRegistrationRequestProposal) ProtoMessage ¶
func (*BatchContractRegistrationRequestProposal) ProtoMessage()
func (*BatchContractRegistrationRequestProposal) Reset ¶
func (m *BatchContractRegistrationRequestProposal) Reset()
func (*BatchContractRegistrationRequestProposal) Size ¶
func (m *BatchContractRegistrationRequestProposal) Size() (n int)
func (*BatchContractRegistrationRequestProposal) String ¶
func (m *BatchContractRegistrationRequestProposal) String() string
func (*BatchContractRegistrationRequestProposal) Unmarshal ¶
func (m *BatchContractRegistrationRequestProposal) Unmarshal(dAtA []byte) error
func (*BatchContractRegistrationRequestProposal) ValidateBasic ¶
func (p *BatchContractRegistrationRequestProposal) ValidateBasic() error
ValidateBasic returns ValidateBasic result of this proposal.
func (*BatchContractRegistrationRequestProposal) XXX_DiscardUnknown ¶
func (m *BatchContractRegistrationRequestProposal) XXX_DiscardUnknown()
func (*BatchContractRegistrationRequestProposal) XXX_Marshal ¶
func (m *BatchContractRegistrationRequestProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BatchContractRegistrationRequestProposal) XXX_Merge ¶
func (m *BatchContractRegistrationRequestProposal) XXX_Merge(src proto.Message)
func (*BatchContractRegistrationRequestProposal) XXX_Size ¶
func (m *BatchContractRegistrationRequestProposal) XXX_Size() int
func (*BatchContractRegistrationRequestProposal) XXX_Unmarshal ¶
func (m *BatchContractRegistrationRequestProposal) XXX_Unmarshal(b []byte) error
type BatchStoreCodeProposal ¶
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 ¶
func (*BatchStoreCodeProposal) Descriptor() ([]byte, []int)
func (*BatchStoreCodeProposal) GetDescription ¶
func (p *BatchStoreCodeProposal) GetDescription() string
GetDescription returns the description of this proposal.
func (*BatchStoreCodeProposal) GetTitle ¶
func (p *BatchStoreCodeProposal) GetTitle() string
GetTitle returns the title of this proposal.
func (*BatchStoreCodeProposal) Marshal ¶
func (m *BatchStoreCodeProposal) Marshal() (dAtA []byte, err error)
func (*BatchStoreCodeProposal) MarshalTo ¶
func (m *BatchStoreCodeProposal) MarshalTo(dAtA []byte) (int, error)
func (*BatchStoreCodeProposal) MarshalToSizedBuffer ¶
func (m *BatchStoreCodeProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BatchStoreCodeProposal) ProposalRoute ¶
func (p *BatchStoreCodeProposal) ProposalRoute() string
ProposalRoute returns router key of this proposal.
func (*BatchStoreCodeProposal) ProposalType ¶
func (p *BatchStoreCodeProposal) ProposalType() string
ProposalType returns proposal type of this proposal.
func (*BatchStoreCodeProposal) ProtoMessage ¶
func (*BatchStoreCodeProposal) ProtoMessage()
func (*BatchStoreCodeProposal) Reset ¶
func (m *BatchStoreCodeProposal) Reset()
func (*BatchStoreCodeProposal) Size ¶
func (m *BatchStoreCodeProposal) Size() (n int)
func (*BatchStoreCodeProposal) String ¶
func (m *BatchStoreCodeProposal) String() string
func (*BatchStoreCodeProposal) Unmarshal ¶
func (m *BatchStoreCodeProposal) Unmarshal(dAtA []byte) error
func (*BatchStoreCodeProposal) ValidateBasic ¶
func (p *BatchStoreCodeProposal) ValidateBasic() error
ValidateBasic returns ValidateBasic result of this proposal.
func (*BatchStoreCodeProposal) XXX_DiscardUnknown ¶
func (m *BatchStoreCodeProposal) XXX_DiscardUnknown()
func (*BatchStoreCodeProposal) XXX_Marshal ¶
func (m *BatchStoreCodeProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BatchStoreCodeProposal) XXX_Merge ¶
func (m *BatchStoreCodeProposal) XXX_Merge(src proto.Message)
func (*BatchStoreCodeProposal) XXX_Size ¶
func (m *BatchStoreCodeProposal) XXX_Size() int
func (*BatchStoreCodeProposal) XXX_Unmarshal ¶
func (m *BatchStoreCodeProposal) XXX_Unmarshal(b []byte) error
type BeginBlockerMsg ¶
type BeginBlockerMsg struct { }
type CWBeginBlockerExecMsg ¶
type CWBeginBlockerExecMsg struct {
BeginBlockerMsg *BeginBlockerMsg `json:"begin_blocker,omitempty"`
}
type 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 ¶
func (m *ContractRegistrationRequest) GetAdminAddress() string
func (*ContractRegistrationRequest) GetCodeId ¶
func (m *ContractRegistrationRequest) GetCodeId() uint64
func (*ContractRegistrationRequest) GetContractAddress ¶
func (m *ContractRegistrationRequest) GetContractAddress() string
func (*ContractRegistrationRequest) GetFundingMode ¶
func (m *ContractRegistrationRequest) GetFundingMode() FundingMode
func (*ContractRegistrationRequest) GetGasLimit ¶
func (m *ContractRegistrationRequest) GetGasLimit() uint64
func (*ContractRegistrationRequest) GetGasPrice ¶
func (m *ContractRegistrationRequest) GetGasPrice() uint64
func (*ContractRegistrationRequest) GetGranterAddress ¶
func (m *ContractRegistrationRequest) GetGranterAddress() string
func (*ContractRegistrationRequest) GetIsMigrationAllowed ¶
func (m *ContractRegistrationRequest) GetIsMigrationAllowed() bool
func (*ContractRegistrationRequest) GetShouldPinContract ¶
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 ¶
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 DeactivateCallbackMsg ¶
type DeactivateCallbackMsg struct{}
type DeregisterCallbackMsg ¶
type DeregisterCallbackMsg struct{}
type EventContractDeregistered ¶
type EventContractDeregistered struct {
ContractAddress string `protobuf:"bytes,1,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
}
func (*EventContractDeregistered) Descriptor ¶
func (*EventContractDeregistered) Descriptor() ([]byte, []int)
func (*EventContractDeregistered) GetContractAddress ¶
func (m *EventContractDeregistered) GetContractAddress() string
func (*EventContractDeregistered) Marshal ¶
func (m *EventContractDeregistered) Marshal() (dAtA []byte, err error)
func (*EventContractDeregistered) MarshalTo ¶
func (m *EventContractDeregistered) MarshalTo(dAtA []byte) (int, error)
func (*EventContractDeregistered) MarshalToSizedBuffer ¶
func (m *EventContractDeregistered) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventContractDeregistered) ProtoMessage ¶
func (*EventContractDeregistered) ProtoMessage()
func (*EventContractDeregistered) Reset ¶
func (m *EventContractDeregistered) Reset()
func (*EventContractDeregistered) Size ¶
func (m *EventContractDeregistered) Size() (n int)
func (*EventContractDeregistered) String ¶
func (m *EventContractDeregistered) String() string
func (*EventContractDeregistered) Unmarshal ¶
func (m *EventContractDeregistered) Unmarshal(dAtA []byte) error
func (*EventContractDeregistered) XXX_DiscardUnknown ¶
func (m *EventContractDeregistered) XXX_DiscardUnknown()
func (*EventContractDeregistered) XXX_Marshal ¶
func (m *EventContractDeregistered) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventContractDeregistered) XXX_Merge ¶
func (m *EventContractDeregistered) XXX_Merge(src proto.Message)
func (*EventContractDeregistered) XXX_Size ¶
func (m *EventContractDeregistered) XXX_Size() int
func (*EventContractDeregistered) XXX_Unmarshal ¶
func (m *EventContractDeregistered) XXX_Unmarshal(b []byte) error
type EventContractExecution ¶
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 ¶
func (*EventContractExecution) Descriptor() ([]byte, []int)
func (*EventContractExecution) GetContractAddress ¶
func (m *EventContractExecution) GetContractAddress() string
func (*EventContractExecution) GetExecutionError ¶
func (m *EventContractExecution) GetExecutionError() string
func (*EventContractExecution) GetOtherError ¶
func (m *EventContractExecution) GetOtherError() string
func (*EventContractExecution) GetResponse ¶
func (m *EventContractExecution) GetResponse() []byte
func (*EventContractExecution) Marshal ¶
func (m *EventContractExecution) Marshal() (dAtA []byte, err error)
func (*EventContractExecution) MarshalTo ¶
func (m *EventContractExecution) MarshalTo(dAtA []byte) (int, error)
func (*EventContractExecution) MarshalToSizedBuffer ¶
func (m *EventContractExecution) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventContractExecution) ProtoMessage ¶
func (*EventContractExecution) ProtoMessage()
func (*EventContractExecution) Reset ¶
func (m *EventContractExecution) Reset()
func (*EventContractExecution) Size ¶
func (m *EventContractExecution) Size() (n int)
func (*EventContractExecution) String ¶
func (m *EventContractExecution) String() string
func (*EventContractExecution) Unmarshal ¶
func (m *EventContractExecution) Unmarshal(dAtA []byte) error
func (*EventContractExecution) XXX_DiscardUnknown ¶
func (m *EventContractExecution) XXX_DiscardUnknown()
func (*EventContractExecution) XXX_Marshal ¶
func (m *EventContractExecution) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventContractExecution) XXX_Merge ¶
func (m *EventContractExecution) XXX_Merge(src proto.Message)
func (*EventContractExecution) XXX_Size ¶
func (m *EventContractExecution) XXX_Size() int
func (*EventContractExecution) XXX_Unmarshal ¶
func (m *EventContractExecution) XXX_Unmarshal(b []byte) error
type EventContractRegistered ¶
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 ¶
func (*EventContractRegistered) Descriptor() ([]byte, []int)
func (*EventContractRegistered) GetAdminAddress ¶
func (m *EventContractRegistered) GetAdminAddress() string
func (*EventContractRegistered) GetCodeId ¶
func (m *EventContractRegistered) GetCodeId() uint64
func (*EventContractRegistered) GetContractAddress ¶
func (m *EventContractRegistered) GetContractAddress() string
func (*EventContractRegistered) GetFundingMode ¶
func (m *EventContractRegistered) GetFundingMode() FundingMode
func (*EventContractRegistered) GetGasPrice ¶
func (m *EventContractRegistered) GetGasPrice() uint64
func (*EventContractRegistered) GetGranterAddress ¶
func (m *EventContractRegistered) GetGranterAddress() string
func (*EventContractRegistered) GetIsMigrationAllowed ¶
func (m *EventContractRegistered) GetIsMigrationAllowed() bool
func (*EventContractRegistered) GetShouldPinContract ¶
func (m *EventContractRegistered) GetShouldPinContract() bool
func (*EventContractRegistered) Marshal ¶
func (m *EventContractRegistered) Marshal() (dAtA []byte, err error)
func (*EventContractRegistered) MarshalTo ¶
func (m *EventContractRegistered) MarshalTo(dAtA []byte) (int, error)
func (*EventContractRegistered) MarshalToSizedBuffer ¶
func (m *EventContractRegistered) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventContractRegistered) ProtoMessage ¶
func (*EventContractRegistered) ProtoMessage()
func (*EventContractRegistered) Reset ¶
func (m *EventContractRegistered) Reset()
func (*EventContractRegistered) Size ¶
func (m *EventContractRegistered) Size() (n int)
func (*EventContractRegistered) String ¶
func (m *EventContractRegistered) String() string
func (*EventContractRegistered) Unmarshal ¶
func (m *EventContractRegistered) Unmarshal(dAtA []byte) error
func (*EventContractRegistered) XXX_DiscardUnknown ¶
func (m *EventContractRegistered) XXX_DiscardUnknown()
func (*EventContractRegistered) XXX_Marshal ¶
func (m *EventContractRegistered) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventContractRegistered) XXX_Merge ¶
func (m *EventContractRegistered) XXX_Merge(src proto.Message)
func (*EventContractRegistered) XXX_Size ¶
func (m *EventContractRegistered) XXX_Size() int
func (*EventContractRegistered) XXX_Unmarshal ¶
func (m *EventContractRegistered) XXX_Unmarshal(b []byte) error
type ExecutionData ¶
type FundingMode ¶
type FundingMode int32
const ( FundingMode_Unspecified FundingMode = 0 FundingMode_SelfFunded FundingMode = 1 FundingMode_GrantOnly FundingMode = 2 FundingMode_Dual FundingMode = 3 )
func (FundingMode) EnumDescriptor ¶
func (FundingMode) EnumDescriptor() ([]byte, []int)
func (FundingMode) String ¶
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 DefaultGenesisState ¶
func DefaultGenesisState() *GenesisState
func NewGenesisState ¶
func NewGenesisState() GenesisState
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) GetRegisteredContracts ¶
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) Validate ¶
func (gs GenesisState) Validate() error
func (*GenesisState) XXX_DiscardUnknown ¶
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type InjectiveExecMsg ¶
type InjectiveExecMsg struct {
ExecutionData ExecutionData `json:"injective_exec"`
}
func NewInjectiveExecMsg ¶
func NewInjectiveExecMsg(origin sdk.AccAddress, data string) (*InjectiveExecMsg, error)
type MsgActivateContract ¶
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 ¶
func (*MsgActivateContract) Descriptor() ([]byte, []int)
func (*MsgActivateContract) GetContractAddress ¶
func (m *MsgActivateContract) GetContractAddress() string
func (*MsgActivateContract) GetSender ¶
func (m *MsgActivateContract) GetSender() string
func (*MsgActivateContract) GetSignBytes ¶
func (msg *MsgActivateContract) GetSignBytes() []byte
GetSignBytes implements the sdk.Msg interface. It encodes the message for signing
func (MsgActivateContract) GetSigners ¶
func (msg MsgActivateContract) GetSigners() []sdk.AccAddress
GetSigners implements the sdk.Msg interface. It defines whose signature is required
func (*MsgActivateContract) Marshal ¶
func (m *MsgActivateContract) Marshal() (dAtA []byte, err error)
func (*MsgActivateContract) MarshalTo ¶
func (m *MsgActivateContract) MarshalTo(dAtA []byte) (int, error)
func (*MsgActivateContract) MarshalToSizedBuffer ¶
func (m *MsgActivateContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgActivateContract) ProtoMessage ¶
func (*MsgActivateContract) ProtoMessage()
func (*MsgActivateContract) Reset ¶
func (m *MsgActivateContract) Reset()
func (MsgActivateContract) Route ¶
func (msg MsgActivateContract) Route() string
Route implements the sdk.Msg interface. It should return the name of the module
func (*MsgActivateContract) Size ¶
func (m *MsgActivateContract) Size() (n int)
func (*MsgActivateContract) String ¶
func (m *MsgActivateContract) String() string
func (MsgActivateContract) Type ¶
func (msg MsgActivateContract) Type() string
Type implements the sdk.Msg interface. It should return the action.
func (*MsgActivateContract) Unmarshal ¶
func (m *MsgActivateContract) Unmarshal(dAtA []byte) error
func (MsgActivateContract) ValidateBasic ¶
func (msg MsgActivateContract) ValidateBasic() error
ValidateBasic implements the sdk.Msg interface. It runs stateless checks on the message
func (*MsgActivateContract) XXX_DiscardUnknown ¶
func (m *MsgActivateContract) XXX_DiscardUnknown()
func (*MsgActivateContract) XXX_Marshal ¶
func (m *MsgActivateContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgActivateContract) XXX_Merge ¶
func (m *MsgActivateContract) XXX_Merge(src proto.Message)
func (*MsgActivateContract) XXX_Size ¶
func (m *MsgActivateContract) XXX_Size() int
func (*MsgActivateContract) XXX_Unmarshal ¶
func (m *MsgActivateContract) XXX_Unmarshal(b []byte) error
type MsgActivateContractResponse ¶
type MsgActivateContractResponse struct { }
func (*MsgActivateContractResponse) Descriptor ¶
func (*MsgActivateContractResponse) Descriptor() ([]byte, []int)
func (*MsgActivateContractResponse) Marshal ¶
func (m *MsgActivateContractResponse) Marshal() (dAtA []byte, err error)
func (*MsgActivateContractResponse) MarshalTo ¶
func (m *MsgActivateContractResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgActivateContractResponse) MarshalToSizedBuffer ¶
func (m *MsgActivateContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgActivateContractResponse) ProtoMessage ¶
func (*MsgActivateContractResponse) ProtoMessage()
func (*MsgActivateContractResponse) Reset ¶
func (m *MsgActivateContractResponse) Reset()
func (*MsgActivateContractResponse) Size ¶
func (m *MsgActivateContractResponse) Size() (n int)
func (*MsgActivateContractResponse) String ¶
func (m *MsgActivateContractResponse) String() string
func (*MsgActivateContractResponse) Unmarshal ¶
func (m *MsgActivateContractResponse) Unmarshal(dAtA []byte) error
func (*MsgActivateContractResponse) XXX_DiscardUnknown ¶
func (m *MsgActivateContractResponse) XXX_DiscardUnknown()
func (*MsgActivateContractResponse) XXX_Marshal ¶
func (m *MsgActivateContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgActivateContractResponse) XXX_Merge ¶
func (m *MsgActivateContractResponse) XXX_Merge(src proto.Message)
func (*MsgActivateContractResponse) XXX_Size ¶
func (m *MsgActivateContractResponse) XXX_Size() int
func (*MsgActivateContractResponse) XXX_Unmarshal ¶
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 ¶
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 ¶
func (*MsgDeactivateContract) Descriptor() ([]byte, []int)
func (*MsgDeactivateContract) GetContractAddress ¶
func (m *MsgDeactivateContract) GetContractAddress() string
func (*MsgDeactivateContract) GetSender ¶
func (m *MsgDeactivateContract) GetSender() string
func (*MsgDeactivateContract) GetSignBytes ¶
func (msg *MsgDeactivateContract) GetSignBytes() []byte
GetSignBytes implements the sdk.Msg interface. It encodes the message for signing
func (MsgDeactivateContract) GetSigners ¶
func (msg MsgDeactivateContract) GetSigners() []sdk.AccAddress
GetSigners implements the sdk.Msg interface. It defines whose signature is required
func (*MsgDeactivateContract) Marshal ¶
func (m *MsgDeactivateContract) Marshal() (dAtA []byte, err error)
func (*MsgDeactivateContract) MarshalTo ¶
func (m *MsgDeactivateContract) MarshalTo(dAtA []byte) (int, error)
func (*MsgDeactivateContract) MarshalToSizedBuffer ¶
func (m *MsgDeactivateContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeactivateContract) ProtoMessage ¶
func (*MsgDeactivateContract) ProtoMessage()
func (*MsgDeactivateContract) Reset ¶
func (m *MsgDeactivateContract) Reset()
func (MsgDeactivateContract) Route ¶
func (msg MsgDeactivateContract) Route() string
Route implements the sdk.Msg interface. It should return the name of the module
func (*MsgDeactivateContract) Size ¶
func (m *MsgDeactivateContract) Size() (n int)
func (*MsgDeactivateContract) String ¶
func (m *MsgDeactivateContract) String() string
func (MsgDeactivateContract) Type ¶
func (msg MsgDeactivateContract) Type() string
Type implements the sdk.Msg interface. It should return the action.
func (*MsgDeactivateContract) Unmarshal ¶
func (m *MsgDeactivateContract) Unmarshal(dAtA []byte) error
func (MsgDeactivateContract) ValidateBasic ¶
func (msg MsgDeactivateContract) ValidateBasic() error
ValidateBasic implements the sdk.Msg interface. It runs stateless checks on the message
func (*MsgDeactivateContract) XXX_DiscardUnknown ¶
func (m *MsgDeactivateContract) XXX_DiscardUnknown()
func (*MsgDeactivateContract) XXX_Marshal ¶
func (m *MsgDeactivateContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeactivateContract) XXX_Merge ¶
func (m *MsgDeactivateContract) XXX_Merge(src proto.Message)
func (*MsgDeactivateContract) XXX_Size ¶
func (m *MsgDeactivateContract) XXX_Size() int
func (*MsgDeactivateContract) XXX_Unmarshal ¶
func (m *MsgDeactivateContract) XXX_Unmarshal(b []byte) error
type MsgDeactivateContractResponse ¶
type MsgDeactivateContractResponse struct { }
func (*MsgDeactivateContractResponse) Descriptor ¶
func (*MsgDeactivateContractResponse) Descriptor() ([]byte, []int)
func (*MsgDeactivateContractResponse) Marshal ¶
func (m *MsgDeactivateContractResponse) Marshal() (dAtA []byte, err error)
func (*MsgDeactivateContractResponse) MarshalTo ¶
func (m *MsgDeactivateContractResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgDeactivateContractResponse) MarshalToSizedBuffer ¶
func (m *MsgDeactivateContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeactivateContractResponse) ProtoMessage ¶
func (*MsgDeactivateContractResponse) ProtoMessage()
func (*MsgDeactivateContractResponse) Reset ¶
func (m *MsgDeactivateContractResponse) Reset()
func (*MsgDeactivateContractResponse) Size ¶
func (m *MsgDeactivateContractResponse) Size() (n int)
func (*MsgDeactivateContractResponse) String ¶
func (m *MsgDeactivateContractResponse) String() string
func (*MsgDeactivateContractResponse) Unmarshal ¶
func (m *MsgDeactivateContractResponse) Unmarshal(dAtA []byte) error
func (*MsgDeactivateContractResponse) XXX_DiscardUnknown ¶
func (m *MsgDeactivateContractResponse) XXX_DiscardUnknown()
func (*MsgDeactivateContractResponse) XXX_Marshal ¶
func (m *MsgDeactivateContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeactivateContractResponse) XXX_Merge ¶
func (m *MsgDeactivateContractResponse) XXX_Merge(src proto.Message)
func (*MsgDeactivateContractResponse) XXX_Size ¶
func (m *MsgDeactivateContractResponse) XXX_Size() int
func (*MsgDeactivateContractResponse) XXX_Unmarshal ¶
func (m *MsgDeactivateContractResponse) XXX_Unmarshal(b []byte) error
type MsgExecuteContractCompat ¶
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 ¶
func (*MsgExecuteContractCompat) Descriptor() ([]byte, []int)
func (*MsgExecuteContractCompat) GetContract ¶
func (m *MsgExecuteContractCompat) GetContract() string
func (*MsgExecuteContractCompat) GetFunds ¶
func (m *MsgExecuteContractCompat) GetFunds() string
func (*MsgExecuteContractCompat) GetMsg ¶
func (m *MsgExecuteContractCompat) GetMsg() string
func (*MsgExecuteContractCompat) GetSender ¶
func (m *MsgExecuteContractCompat) GetSender() string
func (MsgExecuteContractCompat) GetSignBytes ¶
func (msg MsgExecuteContractCompat) GetSignBytes() []byte
func (MsgExecuteContractCompat) GetSigners ¶
func (msg MsgExecuteContractCompat) GetSigners() []sdk.AccAddress
func (*MsgExecuteContractCompat) Marshal ¶
func (m *MsgExecuteContractCompat) Marshal() (dAtA []byte, err error)
func (*MsgExecuteContractCompat) MarshalTo ¶
func (m *MsgExecuteContractCompat) MarshalTo(dAtA []byte) (int, error)
func (*MsgExecuteContractCompat) MarshalToSizedBuffer ¶
func (m *MsgExecuteContractCompat) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgExecuteContractCompat) ProtoMessage ¶
func (*MsgExecuteContractCompat) ProtoMessage()
func (*MsgExecuteContractCompat) Reset ¶
func (m *MsgExecuteContractCompat) Reset()
func (MsgExecuteContractCompat) Route ¶
func (msg MsgExecuteContractCompat) Route() string
func (*MsgExecuteContractCompat) Size ¶
func (m *MsgExecuteContractCompat) Size() (n int)
func (*MsgExecuteContractCompat) String ¶
func (m *MsgExecuteContractCompat) String() string
func (MsgExecuteContractCompat) Type ¶
func (msg MsgExecuteContractCompat) Type() string
func (*MsgExecuteContractCompat) Unmarshal ¶
func (m *MsgExecuteContractCompat) Unmarshal(dAtA []byte) error
func (MsgExecuteContractCompat) ValidateBasic ¶
func (msg MsgExecuteContractCompat) ValidateBasic() error
func (*MsgExecuteContractCompat) XXX_DiscardUnknown ¶
func (m *MsgExecuteContractCompat) XXX_DiscardUnknown()
func (*MsgExecuteContractCompat) XXX_Marshal ¶
func (m *MsgExecuteContractCompat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgExecuteContractCompat) XXX_Merge ¶
func (m *MsgExecuteContractCompat) XXX_Merge(src proto.Message)
func (*MsgExecuteContractCompat) XXX_Size ¶
func (m *MsgExecuteContractCompat) XXX_Size() int
func (*MsgExecuteContractCompat) XXX_Unmarshal ¶
func (m *MsgExecuteContractCompat) XXX_Unmarshal(b []byte) error
type MsgExecuteContractCompatResponse ¶
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 ¶
func (*MsgExecuteContractCompatResponse) Descriptor() ([]byte, []int)
func (*MsgExecuteContractCompatResponse) GetData ¶
func (m *MsgExecuteContractCompatResponse) GetData() []byte
func (*MsgExecuteContractCompatResponse) Marshal ¶
func (m *MsgExecuteContractCompatResponse) Marshal() (dAtA []byte, err error)
func (*MsgExecuteContractCompatResponse) MarshalTo ¶
func (m *MsgExecuteContractCompatResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgExecuteContractCompatResponse) MarshalToSizedBuffer ¶
func (m *MsgExecuteContractCompatResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgExecuteContractCompatResponse) ProtoMessage ¶
func (*MsgExecuteContractCompatResponse) ProtoMessage()
func (*MsgExecuteContractCompatResponse) Reset ¶
func (m *MsgExecuteContractCompatResponse) Reset()
func (*MsgExecuteContractCompatResponse) Size ¶
func (m *MsgExecuteContractCompatResponse) Size() (n int)
func (*MsgExecuteContractCompatResponse) String ¶
func (m *MsgExecuteContractCompatResponse) String() string
func (*MsgExecuteContractCompatResponse) Unmarshal ¶
func (m *MsgExecuteContractCompatResponse) Unmarshal(dAtA []byte) error
func (*MsgExecuteContractCompatResponse) XXX_DiscardUnknown ¶
func (m *MsgExecuteContractCompatResponse) XXX_DiscardUnknown()
func (*MsgExecuteContractCompatResponse) XXX_Marshal ¶
func (m *MsgExecuteContractCompatResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgExecuteContractCompatResponse) XXX_Merge ¶
func (m *MsgExecuteContractCompatResponse) XXX_Merge(src proto.Message)
func (*MsgExecuteContractCompatResponse) XXX_Size ¶
func (m *MsgExecuteContractCompatResponse) XXX_Size() int
func (*MsgExecuteContractCompatResponse) XXX_Unmarshal ¶
func (m *MsgExecuteContractCompatResponse) XXX_Unmarshal(b []byte) error
type MsgRegisterContract ¶
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 ¶
func (*MsgRegisterContract) Descriptor() ([]byte, []int)
func (*MsgRegisterContract) GetContractRegistrationRequest ¶
func (m *MsgRegisterContract) GetContractRegistrationRequest() ContractRegistrationRequest
func (*MsgRegisterContract) GetSender ¶
func (m *MsgRegisterContract) GetSender() string
func (*MsgRegisterContract) GetSignBytes ¶
func (msg *MsgRegisterContract) GetSignBytes() []byte
GetSignBytes implements the sdk.Msg interface. It encodes the message for signing
func (MsgRegisterContract) GetSigners ¶
func (msg MsgRegisterContract) GetSigners() []sdk.AccAddress
GetSigners implements the sdk.Msg interface. It defines whose signature is required
func (*MsgRegisterContract) Marshal ¶
func (m *MsgRegisterContract) Marshal() (dAtA []byte, err error)
func (*MsgRegisterContract) MarshalTo ¶
func (m *MsgRegisterContract) MarshalTo(dAtA []byte) (int, error)
func (*MsgRegisterContract) MarshalToSizedBuffer ¶
func (m *MsgRegisterContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRegisterContract) ProtoMessage ¶
func (*MsgRegisterContract) ProtoMessage()
func (*MsgRegisterContract) Reset ¶
func (m *MsgRegisterContract) Reset()
func (MsgRegisterContract) Route ¶
func (msg MsgRegisterContract) Route() string
Route implements the sdk.Msg interface. It should return the name of the module
func (*MsgRegisterContract) Size ¶
func (m *MsgRegisterContract) Size() (n int)
func (*MsgRegisterContract) String ¶
func (m *MsgRegisterContract) String() string
func (MsgRegisterContract) Type ¶
func (msg MsgRegisterContract) Type() string
Type implements the sdk.Msg interface. It should return the action.
func (*MsgRegisterContract) Unmarshal ¶
func (m *MsgRegisterContract) Unmarshal(dAtA []byte) error
func (MsgRegisterContract) ValidateBasic ¶
func (msg MsgRegisterContract) ValidateBasic() error
ValidateBasic implements the sdk.Msg interface. It runs stateless checks on the message
func (*MsgRegisterContract) XXX_DiscardUnknown ¶
func (m *MsgRegisterContract) XXX_DiscardUnknown()
func (*MsgRegisterContract) XXX_Marshal ¶
func (m *MsgRegisterContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRegisterContract) XXX_Merge ¶
func (m *MsgRegisterContract) XXX_Merge(src proto.Message)
func (*MsgRegisterContract) XXX_Size ¶
func (m *MsgRegisterContract) XXX_Size() int
func (*MsgRegisterContract) XXX_Unmarshal ¶
func (m *MsgRegisterContract) XXX_Unmarshal(b []byte) error
type MsgRegisterContractResponse ¶
type MsgRegisterContractResponse struct { }
func (*MsgRegisterContractResponse) Descriptor ¶
func (*MsgRegisterContractResponse) Descriptor() ([]byte, []int)
func (*MsgRegisterContractResponse) Marshal ¶
func (m *MsgRegisterContractResponse) Marshal() (dAtA []byte, err error)
func (*MsgRegisterContractResponse) MarshalTo ¶
func (m *MsgRegisterContractResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRegisterContractResponse) MarshalToSizedBuffer ¶
func (m *MsgRegisterContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRegisterContractResponse) ProtoMessage ¶
func (*MsgRegisterContractResponse) ProtoMessage()
func (*MsgRegisterContractResponse) Reset ¶
func (m *MsgRegisterContractResponse) Reset()
func (*MsgRegisterContractResponse) Size ¶
func (m *MsgRegisterContractResponse) Size() (n int)
func (*MsgRegisterContractResponse) String ¶
func (m *MsgRegisterContractResponse) String() string
func (*MsgRegisterContractResponse) Unmarshal ¶
func (m *MsgRegisterContractResponse) Unmarshal(dAtA []byte) error
func (*MsgRegisterContractResponse) XXX_DiscardUnknown ¶
func (m *MsgRegisterContractResponse) XXX_DiscardUnknown()
func (*MsgRegisterContractResponse) XXX_Marshal ¶
func (m *MsgRegisterContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRegisterContractResponse) XXX_Merge ¶
func (m *MsgRegisterContractResponse) XXX_Merge(src proto.Message)
func (*MsgRegisterContractResponse) XXX_Size ¶
func (m *MsgRegisterContractResponse) XXX_Size() int
func (*MsgRegisterContractResponse) XXX_Unmarshal ¶
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 ¶
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 ¶
func (*MsgUpdateContract) Descriptor() ([]byte, []int)
func (*MsgUpdateContract) GetAdminAddress ¶
func (m *MsgUpdateContract) GetAdminAddress() string
func (*MsgUpdateContract) GetContractAddress ¶
func (m *MsgUpdateContract) GetContractAddress() string
func (*MsgUpdateContract) GetGasLimit ¶
func (m *MsgUpdateContract) GetGasLimit() uint64
func (*MsgUpdateContract) GetGasPrice ¶
func (m *MsgUpdateContract) GetGasPrice() uint64
func (*MsgUpdateContract) GetSender ¶
func (m *MsgUpdateContract) GetSender() string
func (*MsgUpdateContract) GetSignBytes ¶
func (msg *MsgUpdateContract) GetSignBytes() []byte
GetSignBytes implements the sdk.Msg interface. It encodes the message for signing
func (MsgUpdateContract) GetSigners ¶
func (msg MsgUpdateContract) GetSigners() []sdk.AccAddress
GetSigners implements the sdk.Msg interface. It defines whose signature is required
func (*MsgUpdateContract) Marshal ¶
func (m *MsgUpdateContract) Marshal() (dAtA []byte, err error)
func (*MsgUpdateContract) MarshalTo ¶
func (m *MsgUpdateContract) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateContract) MarshalToSizedBuffer ¶
func (m *MsgUpdateContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateContract) ProtoMessage ¶
func (*MsgUpdateContract) ProtoMessage()
func (*MsgUpdateContract) Reset ¶
func (m *MsgUpdateContract) Reset()
func (MsgUpdateContract) Route ¶
func (msg MsgUpdateContract) Route() string
Route implements the sdk.Msg interface. It should return the name of the module
func (*MsgUpdateContract) Size ¶
func (m *MsgUpdateContract) Size() (n int)
func (*MsgUpdateContract) String ¶
func (m *MsgUpdateContract) String() string
func (MsgUpdateContract) Type ¶
func (msg MsgUpdateContract) Type() string
Type implements the sdk.Msg interface. It should return the action.
func (*MsgUpdateContract) Unmarshal ¶
func (m *MsgUpdateContract) Unmarshal(dAtA []byte) error
func (MsgUpdateContract) ValidateBasic ¶
func (msg MsgUpdateContract) ValidateBasic() error
ValidateBasic implements the sdk.Msg interface. It runs stateless checks on the message
func (*MsgUpdateContract) XXX_DiscardUnknown ¶
func (m *MsgUpdateContract) XXX_DiscardUnknown()
func (*MsgUpdateContract) XXX_Marshal ¶
func (m *MsgUpdateContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateContract) XXX_Merge ¶
func (m *MsgUpdateContract) XXX_Merge(src proto.Message)
func (*MsgUpdateContract) XXX_Size ¶
func (m *MsgUpdateContract) XXX_Size() int
func (*MsgUpdateContract) XXX_Unmarshal ¶
func (m *MsgUpdateContract) XXX_Unmarshal(b []byte) error
type MsgUpdateContractResponse ¶
type MsgUpdateContractResponse struct { }
func (*MsgUpdateContractResponse) Descriptor ¶
func (*MsgUpdateContractResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateContractResponse) Marshal ¶
func (m *MsgUpdateContractResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateContractResponse) MarshalTo ¶
func (m *MsgUpdateContractResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateContractResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateContractResponse) ProtoMessage ¶
func (*MsgUpdateContractResponse) ProtoMessage()
func (*MsgUpdateContractResponse) Reset ¶
func (m *MsgUpdateContractResponse) Reset()
func (*MsgUpdateContractResponse) Size ¶
func (m *MsgUpdateContractResponse) Size() (n int)
func (*MsgUpdateContractResponse) String ¶
func (m *MsgUpdateContractResponse) String() string
func (*MsgUpdateContractResponse) Unmarshal ¶
func (m *MsgUpdateContractResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateContractResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateContractResponse) XXX_DiscardUnknown()
func (*MsgUpdateContractResponse) XXX_Marshal ¶
func (m *MsgUpdateContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateContractResponse) XXX_Merge ¶
func (m *MsgUpdateContractResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateContractResponse) XXX_Size ¶
func (m *MsgUpdateContractResponse) XXX_Size() int
func (*MsgUpdateContractResponse) XXX_Unmarshal ¶
func (m *MsgUpdateContractResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateParams ¶
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 ¶
func (*MsgUpdateParams) Descriptor() ([]byte, []int)
func (*MsgUpdateParams) GetAuthority ¶
func (m *MsgUpdateParams) GetAuthority() string
func (*MsgUpdateParams) GetParams ¶
func (m *MsgUpdateParams) GetParams() Params
func (*MsgUpdateParams) GetSignBytes ¶
func (msg *MsgUpdateParams) GetSignBytes() []byte
GetSignBytes implements the sdk.Msg interface. It encodes the message for signing
func (MsgUpdateParams) GetSigners ¶
func (msg MsgUpdateParams) GetSigners() []sdk.AccAddress
GetSigners implements the sdk.Msg interface. It defines whose signature is required
func (*MsgUpdateParams) Marshal ¶
func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParams) MarshalToSizedBuffer ¶
func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParams) ProtoMessage ¶
func (*MsgUpdateParams) ProtoMessage()
func (*MsgUpdateParams) Reset ¶
func (m *MsgUpdateParams) Reset()
func (MsgUpdateParams) Route ¶
func (msg MsgUpdateParams) Route() string
Route implements the sdk.Msg interface. It should return the name of the module
func (*MsgUpdateParams) Size ¶
func (m *MsgUpdateParams) Size() (n int)
func (*MsgUpdateParams) String ¶
func (m *MsgUpdateParams) String() string
func (MsgUpdateParams) Type ¶
func (msg MsgUpdateParams) Type() string
Type implements the sdk.Msg interface. It should return the action.
func (*MsgUpdateParams) Unmarshal ¶
func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
func (MsgUpdateParams) ValidateBasic ¶
func (msg MsgUpdateParams) ValidateBasic() error
ValidateBasic implements the sdk.Msg interface. It runs stateless checks on the message
func (*MsgUpdateParams) XXX_DiscardUnknown ¶
func (m *MsgUpdateParams) XXX_DiscardUnknown()
func (*MsgUpdateParams) XXX_Marshal ¶
func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParams) XXX_Merge ¶
func (m *MsgUpdateParams) XXX_Merge(src proto.Message)
func (*MsgUpdateParams) XXX_Size ¶
func (m *MsgUpdateParams) XXX_Size() int
func (*MsgUpdateParams) XXX_Unmarshal ¶
func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error
type MsgUpdateParamsResponse ¶
type MsgUpdateParamsResponse struct { }
func (*MsgUpdateParamsResponse) Descriptor ¶
func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateParamsResponse) Marshal ¶
func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParamsResponse) MarshalTo ¶
func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateParamsResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParamsResponse) ProtoMessage ¶
func (*MsgUpdateParamsResponse) ProtoMessage()
func (*MsgUpdateParamsResponse) Reset ¶
func (m *MsgUpdateParamsResponse) Reset()
func (*MsgUpdateParamsResponse) Size ¶
func (m *MsgUpdateParamsResponse) Size() (n int)
func (*MsgUpdateParamsResponse) String ¶
func (m *MsgUpdateParamsResponse) String() string
func (*MsgUpdateParamsResponse) Unmarshal ¶
func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateParamsResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()
func (*MsgUpdateParamsResponse) XXX_Marshal ¶
func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParamsResponse) XXX_Merge ¶
func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateParamsResponse) XXX_Size ¶
func (m *MsgUpdateParamsResponse) XXX_Size() int
func (*MsgUpdateParamsResponse) XXX_Unmarshal ¶
func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error
type ParamSet ¶
type ParamSet interface {
ParamSetPairs() ParamSetPairs
}
ParamSet defines an interface for structs containing parameters for a module
type ParamSetPair ¶
type ParamSetPair struct { Key []byte Value interface{} ValidatorFn ValueValidatorFn }
ParamSetPair is used for associating paramsubspace key and field of param structs.
func NewParamSetPair ¶
func NewParamSetPair(key []byte, value interface{}, vfn ValueValidatorFn) ParamSetPair
NewParamSetPair creates a new ParamSetPair instance.
type Params ¶
type Params struct { // Set the status to active to indicate that 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 ¶
func (*Params) GetMaxContractGasLimit ¶
func (*Params) GetMinGasPrice ¶
func (*Params) GetRegisterContractAccess ¶
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 ¶
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 ¶
func (*QueryContractRegistrationInfoRequest) Descriptor() ([]byte, []int)
func (*QueryContractRegistrationInfoRequest) GetContractAddress ¶
func (m *QueryContractRegistrationInfoRequest) GetContractAddress() string
func (*QueryContractRegistrationInfoRequest) Marshal ¶
func (m *QueryContractRegistrationInfoRequest) Marshal() (dAtA []byte, err error)
func (*QueryContractRegistrationInfoRequest) MarshalTo ¶
func (m *QueryContractRegistrationInfoRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryContractRegistrationInfoRequest) MarshalToSizedBuffer ¶
func (m *QueryContractRegistrationInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryContractRegistrationInfoRequest) ProtoMessage ¶
func (*QueryContractRegistrationInfoRequest) ProtoMessage()
func (*QueryContractRegistrationInfoRequest) Reset ¶
func (m *QueryContractRegistrationInfoRequest) Reset()
func (*QueryContractRegistrationInfoRequest) Size ¶
func (m *QueryContractRegistrationInfoRequest) Size() (n int)
func (*QueryContractRegistrationInfoRequest) String ¶
func (m *QueryContractRegistrationInfoRequest) String() string
func (*QueryContractRegistrationInfoRequest) Unmarshal ¶
func (m *QueryContractRegistrationInfoRequest) Unmarshal(dAtA []byte) error
func (*QueryContractRegistrationInfoRequest) XXX_DiscardUnknown ¶
func (m *QueryContractRegistrationInfoRequest) XXX_DiscardUnknown()
func (*QueryContractRegistrationInfoRequest) XXX_Marshal ¶
func (m *QueryContractRegistrationInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryContractRegistrationInfoRequest) XXX_Merge ¶
func (m *QueryContractRegistrationInfoRequest) XXX_Merge(src proto.Message)
func (*QueryContractRegistrationInfoRequest) XXX_Size ¶
func (m *QueryContractRegistrationInfoRequest) XXX_Size() int
func (*QueryContractRegistrationInfoRequest) XXX_Unmarshal ¶
func (m *QueryContractRegistrationInfoRequest) XXX_Unmarshal(b []byte) error
type QueryContractRegistrationInfoResponse ¶
type QueryContractRegistrationInfoResponse struct {
Contract *RegisteredContract `protobuf:"bytes,1,opt,name=contract,proto3" json:"contract,omitempty"`
}
func (*QueryContractRegistrationInfoResponse) Descriptor ¶
func (*QueryContractRegistrationInfoResponse) Descriptor() ([]byte, []int)
func (*QueryContractRegistrationInfoResponse) GetContract ¶
func (m *QueryContractRegistrationInfoResponse) GetContract() *RegisteredContract
func (*QueryContractRegistrationInfoResponse) Marshal ¶
func (m *QueryContractRegistrationInfoResponse) Marshal() (dAtA []byte, err error)
func (*QueryContractRegistrationInfoResponse) MarshalTo ¶
func (m *QueryContractRegistrationInfoResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryContractRegistrationInfoResponse) MarshalToSizedBuffer ¶
func (m *QueryContractRegistrationInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryContractRegistrationInfoResponse) ProtoMessage ¶
func (*QueryContractRegistrationInfoResponse) ProtoMessage()
func (*QueryContractRegistrationInfoResponse) Reset ¶
func (m *QueryContractRegistrationInfoResponse) Reset()
func (*QueryContractRegistrationInfoResponse) Size ¶
func (m *QueryContractRegistrationInfoResponse) Size() (n int)
func (*QueryContractRegistrationInfoResponse) String ¶
func (m *QueryContractRegistrationInfoResponse) String() string
func (*QueryContractRegistrationInfoResponse) Unmarshal ¶
func (m *QueryContractRegistrationInfoResponse) Unmarshal(dAtA []byte) error
func (*QueryContractRegistrationInfoResponse) XXX_DiscardUnknown ¶
func (m *QueryContractRegistrationInfoResponse) XXX_DiscardUnknown()
func (*QueryContractRegistrationInfoResponse) XXX_Marshal ¶
func (m *QueryContractRegistrationInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryContractRegistrationInfoResponse) XXX_Merge ¶
func (m *QueryContractRegistrationInfoResponse) XXX_Merge(src proto.Message)
func (*QueryContractRegistrationInfoResponse) XXX_Size ¶
func (m *QueryContractRegistrationInfoResponse) XXX_Size() int
func (*QueryContractRegistrationInfoResponse) XXX_Unmarshal ¶
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 ¶
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 ¶
func (*RegisteredContract) Descriptor() ([]byte, []int)
func (*RegisteredContract) Equal ¶
func (this *RegisteredContract) Equal(that interface{}) bool
func (*RegisteredContract) GetAdminAddress ¶
func (m *RegisteredContract) GetAdminAddress() string
func (*RegisteredContract) GetCodeId ¶
func (m *RegisteredContract) GetCodeId() uint64
func (*RegisteredContract) GetFundMode ¶
func (m *RegisteredContract) GetFundMode() FundingMode
func (*RegisteredContract) GetGasLimit ¶
func (m *RegisteredContract) GetGasLimit() uint64
func (*RegisteredContract) GetGasPrice ¶
func (m *RegisteredContract) GetGasPrice() uint64
func (*RegisteredContract) GetGranterAddress ¶
func (m *RegisteredContract) GetGranterAddress() string
func (*RegisteredContract) GetIsExecutable ¶
func (m *RegisteredContract) GetIsExecutable() bool
func (*RegisteredContract) Marshal ¶
func (m *RegisteredContract) Marshal() (dAtA []byte, err error)
func (*RegisteredContract) MarshalTo ¶
func (m *RegisteredContract) MarshalTo(dAtA []byte) (int, error)
func (*RegisteredContract) MarshalToSizedBuffer ¶
func (m *RegisteredContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RegisteredContract) ProtoMessage ¶
func (*RegisteredContract) ProtoMessage()
func (*RegisteredContract) Reset ¶
func (m *RegisteredContract) Reset()
func (*RegisteredContract) Size ¶
func (m *RegisteredContract) Size() (n int)
func (*RegisteredContract) String ¶
func (m *RegisteredContract) String() string
func (*RegisteredContract) Unmarshal ¶
func (m *RegisteredContract) Unmarshal(dAtA []byte) error
func (*RegisteredContract) XXX_DiscardUnknown ¶
func (m *RegisteredContract) XXX_DiscardUnknown()
func (*RegisteredContract) XXX_Marshal ¶
func (m *RegisteredContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RegisteredContract) XXX_Merge ¶
func (m *RegisteredContract) XXX_Merge(src proto.Message)
func (*RegisteredContract) XXX_Size ¶
func (m *RegisteredContract) XXX_Size() int
func (*RegisteredContract) XXX_Unmarshal ¶
func (m *RegisteredContract) XXX_Unmarshal(b []byte) error
type RegisteredContractWithAddress ¶
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 ¶
func (*RegisteredContractWithAddress) Descriptor() ([]byte, []int)
func (*RegisteredContractWithAddress) GetAddress ¶
func (m *RegisteredContractWithAddress) GetAddress() string
func (*RegisteredContractWithAddress) GetRegisteredContract ¶
func (m *RegisteredContractWithAddress) GetRegisteredContract() *RegisteredContract
func (*RegisteredContractWithAddress) Marshal ¶
func (m *RegisteredContractWithAddress) Marshal() (dAtA []byte, err error)
func (*RegisteredContractWithAddress) MarshalTo ¶
func (m *RegisteredContractWithAddress) MarshalTo(dAtA []byte) (int, error)
func (*RegisteredContractWithAddress) MarshalToSizedBuffer ¶
func (m *RegisteredContractWithAddress) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RegisteredContractWithAddress) ProtoMessage ¶
func (*RegisteredContractWithAddress) ProtoMessage()
func (*RegisteredContractWithAddress) Reset ¶
func (m *RegisteredContractWithAddress) Reset()
func (*RegisteredContractWithAddress) Size ¶
func (m *RegisteredContractWithAddress) Size() (n int)
func (*RegisteredContractWithAddress) String ¶
func (m *RegisteredContractWithAddress) String() string
func (*RegisteredContractWithAddress) Unmarshal ¶
func (m *RegisteredContractWithAddress) Unmarshal(dAtA []byte) error
func (*RegisteredContractWithAddress) XXX_DiscardUnknown ¶
func (m *RegisteredContractWithAddress) XXX_DiscardUnknown()
func (*RegisteredContractWithAddress) XXX_Marshal ¶
func (m *RegisteredContractWithAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RegisteredContractWithAddress) XXX_Merge ¶
func (m *RegisteredContractWithAddress) XXX_Merge(src proto.Message)
func (*RegisteredContractWithAddress) XXX_Size ¶
func (m *RegisteredContractWithAddress) XXX_Size() int
func (*RegisteredContractWithAddress) XXX_Unmarshal ¶
func (m *RegisteredContractWithAddress) XXX_Unmarshal(b []byte) error
type RegistryDeactivateCallbackMsg ¶
type RegistryDeactivateCallbackMsg struct {
DeactivateCallback *DeactivateCallbackMsg `json:"deactivate,omitempty"`
}
func NewRegistryDeactivateCallbackMsg ¶
func NewRegistryDeactivateCallbackMsg() RegistryDeactivateCallbackMsg
type RegistryDeregisterCallbackMsg ¶
type RegistryDeregisterCallbackMsg struct {
DeregisterCallback *DeregisterCallbackMsg `json:"deregister,omitempty"`
}
func NewRegistryDeregisterCallbackMsg ¶
func NewRegistryDeregisterCallbackMsg() RegistryDeregisterCallbackMsg
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) ActivateRegistryContract ¶
func (*UnimplementedMsgServer) ActivateRegistryContract(ctx context.Context, req *MsgActivateContract) (*MsgActivateContractResponse, error)
func (*UnimplementedMsgServer) DeactivateRegistryContract ¶
func (*UnimplementedMsgServer) DeactivateRegistryContract(ctx context.Context, req *MsgDeactivateContract) (*MsgDeactivateContractResponse, error)
func (*UnimplementedMsgServer) ExecuteContractCompat ¶
func (*UnimplementedMsgServer) ExecuteContractCompat(ctx context.Context, req *MsgExecuteContractCompat) (*MsgExecuteContractCompatResponse, error)
func (*UnimplementedMsgServer) RegisterContract ¶
func (*UnimplementedMsgServer) RegisterContract(ctx context.Context, req *MsgRegisterContract) (*MsgRegisterContractResponse, error)
func (*UnimplementedMsgServer) UpdateParams ¶
func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
func (*UnimplementedMsgServer) UpdateRegistryContractParams ¶
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 ¶
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)
type ValueValidatorFn ¶
type ValueValidatorFn func(value interface{}) error
type WasmContractOpsKeeper ¶
type WasmContractOpsKeeper interface { wasmtypes.ContractOpsKeeper }
type WasmViewKeeper ¶
type WasmViewKeeper interface { wasmtypes.ViewKeeper }