Documentation ¶
Index ¶
- Constants
- Variables
- func KeyPrefix(p string) []byte
- func ParamKeyTable() paramtypes.KeyTable
- func RegisterCodec(cdc *codec.LegacyAmino)
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- type AccountKeeper
- type BankKeeper
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (gs GenesisState) Validate() error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgCwStoreCode
- func (*MsgCwStoreCode) Descriptor() ([]byte, []int)
- func (m *MsgCwStoreCode) GetSender() string
- func (msg *MsgCwStoreCode) GetSignBytes() []byte
- func (msg *MsgCwStoreCode) GetSigners() []sdk.AccAddress
- func (m *MsgCwStoreCode) GetWasmByteCode() string
- func (m *MsgCwStoreCode) Marshal() (dAtA []byte, err error)
- func (m *MsgCwStoreCode) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCwStoreCode) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCwStoreCode) ProtoMessage()
- func (m *MsgCwStoreCode) Reset()
- func (msg *MsgCwStoreCode) Route() string
- func (m *MsgCwStoreCode) Size() (n int)
- func (m *MsgCwStoreCode) String() string
- func (msg *MsgCwStoreCode) Type() string
- func (m *MsgCwStoreCode) Unmarshal(dAtA []byte) error
- func (msg *MsgCwStoreCode) ValidateBasic() error
- func (m *MsgCwStoreCode) XXX_DiscardUnknown()
- func (m *MsgCwStoreCode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCwStoreCode) XXX_Merge(src proto.Message)
- func (m *MsgCwStoreCode) XXX_Size() int
- func (m *MsgCwStoreCode) XXX_Unmarshal(b []byte) error
- type MsgCwStoreCodeResponse
- func (*MsgCwStoreCodeResponse) Descriptor() ([]byte, []int)
- func (m *MsgCwStoreCodeResponse) GetChecksum() []byte
- func (m *MsgCwStoreCodeResponse) GetCodeID() uint64
- func (m *MsgCwStoreCodeResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCwStoreCodeResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCwStoreCodeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCwStoreCodeResponse) ProtoMessage()
- func (m *MsgCwStoreCodeResponse) Reset()
- func (m *MsgCwStoreCodeResponse) Size() (n int)
- func (m *MsgCwStoreCodeResponse) String() string
- func (m *MsgCwStoreCodeResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCwStoreCodeResponse) XXX_DiscardUnknown()
- func (m *MsgCwStoreCodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCwStoreCodeResponse) XXX_Merge(src proto.Message)
- func (m *MsgCwStoreCodeResponse) XXX_Size() int
- func (m *MsgCwStoreCodeResponse) XXX_Unmarshal(b []byte) error
- type MsgExecuteCwContract
- func (*MsgExecuteCwContract) Descriptor() ([]byte, []int)
- func (m *MsgExecuteCwContract) GetContract() string
- func (m *MsgExecuteCwContract) GetFunds() string
- func (m *MsgExecuteCwContract) GetMsg() string
- func (m *MsgExecuteCwContract) GetSender() string
- func (msg *MsgExecuteCwContract) GetSignBytes() []byte
- func (msg *MsgExecuteCwContract) GetSigners() []sdk.AccAddress
- func (m *MsgExecuteCwContract) Marshal() (dAtA []byte, err error)
- func (m *MsgExecuteCwContract) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgExecuteCwContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgExecuteCwContract) ProtoMessage()
- func (m *MsgExecuteCwContract) Reset()
- func (msg *MsgExecuteCwContract) Route() string
- func (m *MsgExecuteCwContract) Size() (n int)
- func (m *MsgExecuteCwContract) String() string
- func (msg *MsgExecuteCwContract) Type() string
- func (m *MsgExecuteCwContract) Unmarshal(dAtA []byte) error
- func (msg *MsgExecuteCwContract) ValidateBasic() error
- func (m *MsgExecuteCwContract) XXX_DiscardUnknown()
- func (m *MsgExecuteCwContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgExecuteCwContract) XXX_Merge(src proto.Message)
- func (m *MsgExecuteCwContract) XXX_Size() int
- func (m *MsgExecuteCwContract) XXX_Unmarshal(b []byte) error
- type MsgExecuteCwContractResponse
- func (*MsgExecuteCwContractResponse) Descriptor() ([]byte, []int)
- func (m *MsgExecuteCwContractResponse) GetData() []byte
- func (m *MsgExecuteCwContractResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgExecuteCwContractResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgExecuteCwContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgExecuteCwContractResponse) ProtoMessage()
- func (m *MsgExecuteCwContractResponse) Reset()
- func (m *MsgExecuteCwContractResponse) Size() (n int)
- func (m *MsgExecuteCwContractResponse) String() string
- func (m *MsgExecuteCwContractResponse) Unmarshal(dAtA []byte) error
- func (m *MsgExecuteCwContractResponse) XXX_DiscardUnknown()
- func (m *MsgExecuteCwContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgExecuteCwContractResponse) XXX_Merge(src proto.Message)
- func (m *MsgExecuteCwContractResponse) XXX_Size() int
- func (m *MsgExecuteCwContractResponse) XXX_Unmarshal(b []byte) error
- type MsgInstantiateCwContract
- func (*MsgInstantiateCwContract) Descriptor() ([]byte, []int)
- func (m *MsgInstantiateCwContract) GetAdmin() string
- func (m *MsgInstantiateCwContract) GetCodeId() uint64
- func (m *MsgInstantiateCwContract) GetFunds() string
- func (m *MsgInstantiateCwContract) GetLabel() string
- func (m *MsgInstantiateCwContract) GetMsg() string
- func (m *MsgInstantiateCwContract) GetSender() string
- func (msg *MsgInstantiateCwContract) GetSignBytes() []byte
- func (msg *MsgInstantiateCwContract) GetSigners() []sdk.AccAddress
- func (m *MsgInstantiateCwContract) Marshal() (dAtA []byte, err error)
- func (m *MsgInstantiateCwContract) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgInstantiateCwContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgInstantiateCwContract) ProtoMessage()
- func (m *MsgInstantiateCwContract) Reset()
- func (msg *MsgInstantiateCwContract) Route() string
- func (m *MsgInstantiateCwContract) Size() (n int)
- func (m *MsgInstantiateCwContract) String() string
- func (msg *MsgInstantiateCwContract) Type() string
- func (m *MsgInstantiateCwContract) Unmarshal(dAtA []byte) error
- func (msg *MsgInstantiateCwContract) ValidateBasic() error
- func (m *MsgInstantiateCwContract) XXX_DiscardUnknown()
- func (m *MsgInstantiateCwContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgInstantiateCwContract) XXX_Merge(src proto.Message)
- func (m *MsgInstantiateCwContract) XXX_Size() int
- func (m *MsgInstantiateCwContract) XXX_Unmarshal(b []byte) error
- type MsgInstantiateCwContractResponse
- func (*MsgInstantiateCwContractResponse) Descriptor() ([]byte, []int)
- func (m *MsgInstantiateCwContractResponse) GetAddress() string
- func (m *MsgInstantiateCwContractResponse) GetData() []byte
- func (m *MsgInstantiateCwContractResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgInstantiateCwContractResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgInstantiateCwContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgInstantiateCwContractResponse) ProtoMessage()
- func (m *MsgInstantiateCwContractResponse) Reset()
- func (m *MsgInstantiateCwContractResponse) Size() (n int)
- func (m *MsgInstantiateCwContractResponse) String() string
- func (m *MsgInstantiateCwContractResponse) Unmarshal(dAtA []byte) error
- func (m *MsgInstantiateCwContractResponse) XXX_DiscardUnknown()
- func (m *MsgInstantiateCwContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgInstantiateCwContractResponse) XXX_Merge(src proto.Message)
- func (m *MsgInstantiateCwContractResponse) XXX_Size() int
- func (m *MsgInstantiateCwContractResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- 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 (p 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 QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) CwStoreCode(ctx context.Context, req *MsgCwStoreCode) (*MsgCwStoreCodeResponse, error)
- func (*UnimplementedMsgServer) ExecuteCwContract(ctx context.Context, req *MsgExecuteCwContract) (*MsgExecuteCwContractResponse, error)
- func (*UnimplementedMsgServer) InstantiateCwContract(ctx context.Context, req *MsgInstantiateCwContract) (*MsgInstantiateCwContractResponse, error)
- type UnimplementedQueryServer
- type WasmKeeper
Constants ¶
const ( // ModuleName defines the module name ModuleName = "rwasm" // StoreKey defines the primary module store key StoreKey = ModuleName // RouterKey defines the module's message routing key RouterKey = ModuleName // MemStoreKey defines the in-memory store key MemStoreKey = "mem_rwasm" )
const DefaultIndex uint64 = 1
DefaultIndex is the default global index
const TypeMsgCwStoreCode = "cw_store_code"
const TypeMsgExecuteCwContract = "execute_cw_contract"
const TypeMsgInstantiateCwContract = "instantiate_cw_contract"
Variables ¶
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 ( ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupParams = 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 (
ErrSample = sdkerrors.Register(ModuleName, 1100, "sample error")
)
x/rwasm module sentinel errors
var ( // ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry()) ModuleCdc = codec.NewAminoCodec(amino) )
Functions ¶
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable the param key table for launch module
func RegisterCodec ¶
func RegisterCodec(cdc *codec.LegacyAmino)
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
func RegisterLegacyAminoCodec ¶
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
func RegisterMsgServer ¶
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
Types ¶
type AccountKeeper ¶
AccountKeeper defines the expected account keeper used for simulations (noalias)
type BankKeeper ¶
BankKeeper defines the expected interface needed to retrieve account balances.
type GenesisState ¶
type GenesisState struct {
Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}
GenesisState defines the rwasm module's genesis state.
func DefaultGenesis ¶
func DefaultGenesis() *GenesisState
DefaultGenesis returns the default genesis state
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalToSizedBuffer ¶
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (GenesisState) Validate ¶
func (gs GenesisState) Validate() error
Validate performs basic genesis state validation returning an error upon any failure.
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 MsgClient ¶
type MsgClient interface { ExecuteCwContract(ctx context.Context, in *MsgExecuteCwContract, opts ...grpc.CallOption) (*MsgExecuteCwContractResponse, error) InstantiateCwContract(ctx context.Context, in *MsgInstantiateCwContract, opts ...grpc.CallOption) (*MsgInstantiateCwContractResponse, error) CwStoreCode(ctx context.Context, in *MsgCwStoreCode, opts ...grpc.CallOption) (*MsgCwStoreCodeResponse, 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 MsgCwStoreCode ¶
type MsgCwStoreCode struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` WasmByteCode string `protobuf:"bytes,2,opt,name=wasm_byte_code,json=wasmByteCode,proto3" json:"wasm_byte_code,omitempty"` }
func NewMsgCwStoreCode ¶
func NewMsgCwStoreCode(sender string, wasmByteCode string) *MsgCwStoreCode
func (*MsgCwStoreCode) Descriptor ¶
func (*MsgCwStoreCode) Descriptor() ([]byte, []int)
func (*MsgCwStoreCode) GetSender ¶
func (m *MsgCwStoreCode) GetSender() string
func (*MsgCwStoreCode) GetSignBytes ¶
func (msg *MsgCwStoreCode) GetSignBytes() []byte
func (*MsgCwStoreCode) GetSigners ¶
func (msg *MsgCwStoreCode) GetSigners() []sdk.AccAddress
func (*MsgCwStoreCode) GetWasmByteCode ¶
func (m *MsgCwStoreCode) GetWasmByteCode() string
func (*MsgCwStoreCode) Marshal ¶
func (m *MsgCwStoreCode) Marshal() (dAtA []byte, err error)
func (*MsgCwStoreCode) MarshalToSizedBuffer ¶
func (m *MsgCwStoreCode) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCwStoreCode) ProtoMessage ¶
func (*MsgCwStoreCode) ProtoMessage()
func (*MsgCwStoreCode) Reset ¶
func (m *MsgCwStoreCode) Reset()
func (*MsgCwStoreCode) Route ¶
func (msg *MsgCwStoreCode) Route() string
func (*MsgCwStoreCode) Size ¶
func (m *MsgCwStoreCode) Size() (n int)
func (*MsgCwStoreCode) String ¶
func (m *MsgCwStoreCode) String() string
func (*MsgCwStoreCode) Type ¶
func (msg *MsgCwStoreCode) Type() string
func (*MsgCwStoreCode) Unmarshal ¶
func (m *MsgCwStoreCode) Unmarshal(dAtA []byte) error
func (*MsgCwStoreCode) ValidateBasic ¶
func (msg *MsgCwStoreCode) ValidateBasic() error
func (*MsgCwStoreCode) XXX_DiscardUnknown ¶
func (m *MsgCwStoreCode) XXX_DiscardUnknown()
func (*MsgCwStoreCode) XXX_Marshal ¶
func (m *MsgCwStoreCode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCwStoreCode) XXX_Merge ¶
func (m *MsgCwStoreCode) XXX_Merge(src proto.Message)
func (*MsgCwStoreCode) XXX_Size ¶
func (m *MsgCwStoreCode) XXX_Size() int
func (*MsgCwStoreCode) XXX_Unmarshal ¶
func (m *MsgCwStoreCode) XXX_Unmarshal(b []byte) error
type MsgCwStoreCodeResponse ¶
type MsgCwStoreCodeResponse struct { // CodeID is the reference to the stored WASM code CodeID uint64 `protobuf:"varint,1,opt,name=code_id,json=codeId,proto3" json:"code_id,omitempty"` // Checksum is the sha256 hash of the stored code Checksum []byte `protobuf:"bytes,2,opt,name=checksum,proto3" json:"checksum,omitempty"` }
func (*MsgCwStoreCodeResponse) Descriptor ¶
func (*MsgCwStoreCodeResponse) Descriptor() ([]byte, []int)
func (*MsgCwStoreCodeResponse) GetChecksum ¶
func (m *MsgCwStoreCodeResponse) GetChecksum() []byte
func (*MsgCwStoreCodeResponse) GetCodeID ¶
func (m *MsgCwStoreCodeResponse) GetCodeID() uint64
func (*MsgCwStoreCodeResponse) Marshal ¶
func (m *MsgCwStoreCodeResponse) Marshal() (dAtA []byte, err error)
func (*MsgCwStoreCodeResponse) MarshalTo ¶
func (m *MsgCwStoreCodeResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCwStoreCodeResponse) MarshalToSizedBuffer ¶
func (m *MsgCwStoreCodeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCwStoreCodeResponse) ProtoMessage ¶
func (*MsgCwStoreCodeResponse) ProtoMessage()
func (*MsgCwStoreCodeResponse) Reset ¶
func (m *MsgCwStoreCodeResponse) Reset()
func (*MsgCwStoreCodeResponse) Size ¶
func (m *MsgCwStoreCodeResponse) Size() (n int)
func (*MsgCwStoreCodeResponse) String ¶
func (m *MsgCwStoreCodeResponse) String() string
func (*MsgCwStoreCodeResponse) Unmarshal ¶
func (m *MsgCwStoreCodeResponse) Unmarshal(dAtA []byte) error
func (*MsgCwStoreCodeResponse) XXX_DiscardUnknown ¶
func (m *MsgCwStoreCodeResponse) XXX_DiscardUnknown()
func (*MsgCwStoreCodeResponse) XXX_Marshal ¶
func (m *MsgCwStoreCodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCwStoreCodeResponse) XXX_Merge ¶
func (m *MsgCwStoreCodeResponse) XXX_Merge(src proto.Message)
func (*MsgCwStoreCodeResponse) XXX_Size ¶
func (m *MsgCwStoreCodeResponse) XXX_Size() int
func (*MsgCwStoreCodeResponse) XXX_Unmarshal ¶
func (m *MsgCwStoreCodeResponse) XXX_Unmarshal(b []byte) error
type MsgExecuteCwContract ¶
type MsgExecuteCwContract 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"` }
func NewMsgExecuteCwContract ¶
func NewMsgExecuteCwContract(sender string, contract string) *MsgExecuteCwContract
func (*MsgExecuteCwContract) Descriptor ¶
func (*MsgExecuteCwContract) Descriptor() ([]byte, []int)
func (*MsgExecuteCwContract) GetContract ¶
func (m *MsgExecuteCwContract) GetContract() string
func (*MsgExecuteCwContract) GetFunds ¶
func (m *MsgExecuteCwContract) GetFunds() string
func (*MsgExecuteCwContract) GetMsg ¶
func (m *MsgExecuteCwContract) GetMsg() string
func (*MsgExecuteCwContract) GetSender ¶
func (m *MsgExecuteCwContract) GetSender() string
func (*MsgExecuteCwContract) GetSignBytes ¶
func (msg *MsgExecuteCwContract) GetSignBytes() []byte
func (*MsgExecuteCwContract) GetSigners ¶
func (msg *MsgExecuteCwContract) GetSigners() []sdk.AccAddress
func (*MsgExecuteCwContract) Marshal ¶
func (m *MsgExecuteCwContract) Marshal() (dAtA []byte, err error)
func (*MsgExecuteCwContract) MarshalTo ¶
func (m *MsgExecuteCwContract) MarshalTo(dAtA []byte) (int, error)
func (*MsgExecuteCwContract) MarshalToSizedBuffer ¶
func (m *MsgExecuteCwContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgExecuteCwContract) ProtoMessage ¶
func (*MsgExecuteCwContract) ProtoMessage()
func (*MsgExecuteCwContract) Reset ¶
func (m *MsgExecuteCwContract) Reset()
func (*MsgExecuteCwContract) Route ¶
func (msg *MsgExecuteCwContract) Route() string
func (*MsgExecuteCwContract) Size ¶
func (m *MsgExecuteCwContract) Size() (n int)
func (*MsgExecuteCwContract) String ¶
func (m *MsgExecuteCwContract) String() string
func (*MsgExecuteCwContract) Type ¶
func (msg *MsgExecuteCwContract) Type() string
func (*MsgExecuteCwContract) Unmarshal ¶
func (m *MsgExecuteCwContract) Unmarshal(dAtA []byte) error
func (*MsgExecuteCwContract) ValidateBasic ¶
func (msg *MsgExecuteCwContract) ValidateBasic() error
func (*MsgExecuteCwContract) XXX_DiscardUnknown ¶
func (m *MsgExecuteCwContract) XXX_DiscardUnknown()
func (*MsgExecuteCwContract) XXX_Marshal ¶
func (m *MsgExecuteCwContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgExecuteCwContract) XXX_Merge ¶
func (m *MsgExecuteCwContract) XXX_Merge(src proto.Message)
func (*MsgExecuteCwContract) XXX_Size ¶
func (m *MsgExecuteCwContract) XXX_Size() int
func (*MsgExecuteCwContract) XXX_Unmarshal ¶
func (m *MsgExecuteCwContract) XXX_Unmarshal(b []byte) error
type MsgExecuteCwContractResponse ¶
type MsgExecuteCwContractResponse struct {
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}
func (*MsgExecuteCwContractResponse) Descriptor ¶
func (*MsgExecuteCwContractResponse) Descriptor() ([]byte, []int)
func (*MsgExecuteCwContractResponse) GetData ¶
func (m *MsgExecuteCwContractResponse) GetData() []byte
func (*MsgExecuteCwContractResponse) Marshal ¶
func (m *MsgExecuteCwContractResponse) Marshal() (dAtA []byte, err error)
func (*MsgExecuteCwContractResponse) MarshalTo ¶
func (m *MsgExecuteCwContractResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgExecuteCwContractResponse) MarshalToSizedBuffer ¶
func (m *MsgExecuteCwContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgExecuteCwContractResponse) ProtoMessage ¶
func (*MsgExecuteCwContractResponse) ProtoMessage()
func (*MsgExecuteCwContractResponse) Reset ¶
func (m *MsgExecuteCwContractResponse) Reset()
func (*MsgExecuteCwContractResponse) Size ¶
func (m *MsgExecuteCwContractResponse) Size() (n int)
func (*MsgExecuteCwContractResponse) String ¶
func (m *MsgExecuteCwContractResponse) String() string
func (*MsgExecuteCwContractResponse) Unmarshal ¶
func (m *MsgExecuteCwContractResponse) Unmarshal(dAtA []byte) error
func (*MsgExecuteCwContractResponse) XXX_DiscardUnknown ¶
func (m *MsgExecuteCwContractResponse) XXX_DiscardUnknown()
func (*MsgExecuteCwContractResponse) XXX_Marshal ¶
func (m *MsgExecuteCwContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgExecuteCwContractResponse) XXX_Merge ¶
func (m *MsgExecuteCwContractResponse) XXX_Merge(src proto.Message)
func (*MsgExecuteCwContractResponse) XXX_Size ¶
func (m *MsgExecuteCwContractResponse) XXX_Size() int
func (*MsgExecuteCwContractResponse) XXX_Unmarshal ¶
func (m *MsgExecuteCwContractResponse) XXX_Unmarshal(b []byte) error
type MsgInstantiateCwContract ¶
type MsgInstantiateCwContract struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` Admin string `protobuf:"bytes,2,opt,name=admin,proto3" json:"admin,omitempty"` CodeId uint64 `protobuf:"varint,3,opt,name=code_id,json=codeId,proto3" json:"code_id,omitempty"` Label string `protobuf:"bytes,4,opt,name=label,proto3" json:"label,omitempty"` Msg string `protobuf:"bytes,5,opt,name=msg,proto3" json:"msg,omitempty"` Funds string `protobuf:"bytes,6,opt,name=funds,proto3" json:"funds,omitempty"` }
func (*MsgInstantiateCwContract) Descriptor ¶
func (*MsgInstantiateCwContract) Descriptor() ([]byte, []int)
func (*MsgInstantiateCwContract) GetAdmin ¶
func (m *MsgInstantiateCwContract) GetAdmin() string
func (*MsgInstantiateCwContract) GetCodeId ¶
func (m *MsgInstantiateCwContract) GetCodeId() uint64
func (*MsgInstantiateCwContract) GetFunds ¶
func (m *MsgInstantiateCwContract) GetFunds() string
func (*MsgInstantiateCwContract) GetLabel ¶
func (m *MsgInstantiateCwContract) GetLabel() string
func (*MsgInstantiateCwContract) GetMsg ¶
func (m *MsgInstantiateCwContract) GetMsg() string
func (*MsgInstantiateCwContract) GetSender ¶
func (m *MsgInstantiateCwContract) GetSender() string
func (*MsgInstantiateCwContract) GetSignBytes ¶
func (msg *MsgInstantiateCwContract) GetSignBytes() []byte
func (*MsgInstantiateCwContract) GetSigners ¶
func (msg *MsgInstantiateCwContract) GetSigners() []sdk.AccAddress
func (*MsgInstantiateCwContract) Marshal ¶
func (m *MsgInstantiateCwContract) Marshal() (dAtA []byte, err error)
func (*MsgInstantiateCwContract) MarshalTo ¶
func (m *MsgInstantiateCwContract) MarshalTo(dAtA []byte) (int, error)
func (*MsgInstantiateCwContract) MarshalToSizedBuffer ¶
func (m *MsgInstantiateCwContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgInstantiateCwContract) ProtoMessage ¶
func (*MsgInstantiateCwContract) ProtoMessage()
func (*MsgInstantiateCwContract) Reset ¶
func (m *MsgInstantiateCwContract) Reset()
func (*MsgInstantiateCwContract) Route ¶
func (msg *MsgInstantiateCwContract) Route() string
func (*MsgInstantiateCwContract) Size ¶
func (m *MsgInstantiateCwContract) Size() (n int)
func (*MsgInstantiateCwContract) String ¶
func (m *MsgInstantiateCwContract) String() string
func (*MsgInstantiateCwContract) Type ¶
func (msg *MsgInstantiateCwContract) Type() string
func (*MsgInstantiateCwContract) Unmarshal ¶
func (m *MsgInstantiateCwContract) Unmarshal(dAtA []byte) error
func (*MsgInstantiateCwContract) ValidateBasic ¶
func (msg *MsgInstantiateCwContract) ValidateBasic() error
func (*MsgInstantiateCwContract) XXX_DiscardUnknown ¶
func (m *MsgInstantiateCwContract) XXX_DiscardUnknown()
func (*MsgInstantiateCwContract) XXX_Marshal ¶
func (m *MsgInstantiateCwContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgInstantiateCwContract) XXX_Merge ¶
func (m *MsgInstantiateCwContract) XXX_Merge(src proto.Message)
func (*MsgInstantiateCwContract) XXX_Size ¶
func (m *MsgInstantiateCwContract) XXX_Size() int
func (*MsgInstantiateCwContract) XXX_Unmarshal ¶
func (m *MsgInstantiateCwContract) XXX_Unmarshal(b []byte) error
type MsgInstantiateCwContractResponse ¶
type MsgInstantiateCwContractResponse struct { // Address is the bech32 address of the new contract instance. Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // Data contains bytes to returned from the contract Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` }
func (*MsgInstantiateCwContractResponse) Descriptor ¶
func (*MsgInstantiateCwContractResponse) Descriptor() ([]byte, []int)
func (*MsgInstantiateCwContractResponse) GetAddress ¶
func (m *MsgInstantiateCwContractResponse) GetAddress() string
func (*MsgInstantiateCwContractResponse) GetData ¶
func (m *MsgInstantiateCwContractResponse) GetData() []byte
func (*MsgInstantiateCwContractResponse) Marshal ¶
func (m *MsgInstantiateCwContractResponse) Marshal() (dAtA []byte, err error)
func (*MsgInstantiateCwContractResponse) MarshalTo ¶
func (m *MsgInstantiateCwContractResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgInstantiateCwContractResponse) MarshalToSizedBuffer ¶
func (m *MsgInstantiateCwContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgInstantiateCwContractResponse) ProtoMessage ¶
func (*MsgInstantiateCwContractResponse) ProtoMessage()
func (*MsgInstantiateCwContractResponse) Reset ¶
func (m *MsgInstantiateCwContractResponse) Reset()
func (*MsgInstantiateCwContractResponse) Size ¶
func (m *MsgInstantiateCwContractResponse) Size() (n int)
func (*MsgInstantiateCwContractResponse) String ¶
func (m *MsgInstantiateCwContractResponse) String() string
func (*MsgInstantiateCwContractResponse) Unmarshal ¶
func (m *MsgInstantiateCwContractResponse) Unmarshal(dAtA []byte) error
func (*MsgInstantiateCwContractResponse) XXX_DiscardUnknown ¶
func (m *MsgInstantiateCwContractResponse) XXX_DiscardUnknown()
func (*MsgInstantiateCwContractResponse) XXX_Marshal ¶
func (m *MsgInstantiateCwContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgInstantiateCwContractResponse) XXX_Merge ¶
func (m *MsgInstantiateCwContractResponse) XXX_Merge(src proto.Message)
func (*MsgInstantiateCwContractResponse) XXX_Size ¶
func (m *MsgInstantiateCwContractResponse) XXX_Size() int
func (*MsgInstantiateCwContractResponse) XXX_Unmarshal ¶
func (m *MsgInstantiateCwContractResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { ExecuteCwContract(context.Context, *MsgExecuteCwContract) (*MsgExecuteCwContractResponse, error) InstantiateCwContract(context.Context, *MsgInstantiateCwContract) (*MsgInstantiateCwContractResponse, error) CwStoreCode(context.Context, *MsgCwStoreCode) (*MsgCwStoreCodeResponse, error) }
MsgServer is the server API for Msg service.
type Params ¶
type Params struct { }
Params defines the parameters for the module.
func (*Params) Descriptor ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs get the params.ParamSet
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 { // Parameters queries the parameters of the module. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, 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 QueryParamsRequest ¶
type QueryParamsRequest struct { }
QueryParamsRequest is request type for the Query/Params RPC method.
func (*QueryParamsRequest) Descriptor ¶
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
func (*QueryParamsRequest) Marshal ¶
func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryParamsRequest) MarshalTo ¶
func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsRequest) MarshalToSizedBuffer ¶
func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsRequest) ProtoMessage ¶
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) Reset ¶
func (m *QueryParamsRequest) Reset()
func (*QueryParamsRequest) Size ¶
func (m *QueryParamsRequest) Size() (n int)
func (*QueryParamsRequest) String ¶
func (m *QueryParamsRequest) String() string
func (*QueryParamsRequest) Unmarshal ¶
func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryParamsRequest) XXX_DiscardUnknown ¶
func (m *QueryParamsRequest) XXX_DiscardUnknown()
func (*QueryParamsRequest) XXX_Marshal ¶
func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsRequest) XXX_Merge ¶
func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
func (*QueryParamsRequest) XXX_Size ¶
func (m *QueryParamsRequest) XXX_Size() int
func (*QueryParamsRequest) XXX_Unmarshal ¶
func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
type QueryParamsResponse ¶
type QueryParamsResponse struct { // params holds all the parameters of this module. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` }
QueryParamsResponse is response type for the Query/Params RPC method.
func (*QueryParamsResponse) Descriptor ¶
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
func (*QueryParamsResponse) GetParams ¶
func (m *QueryParamsResponse) GetParams() Params
func (*QueryParamsResponse) Marshal ¶
func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryParamsResponse) MarshalTo ¶
func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsResponse) MarshalToSizedBuffer ¶
func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) Reset ¶
func (m *QueryParamsResponse) Reset()
func (*QueryParamsResponse) Size ¶
func (m *QueryParamsResponse) Size() (n int)
func (*QueryParamsResponse) String ¶
func (m *QueryParamsResponse) String() string
func (*QueryParamsResponse) Unmarshal ¶
func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryParamsResponse) XXX_DiscardUnknown ¶
func (m *QueryParamsResponse) XXX_DiscardUnknown()
func (*QueryParamsResponse) XXX_Marshal ¶
func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsResponse) XXX_Merge ¶
func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
func (*QueryParamsResponse) XXX_Size ¶
func (m *QueryParamsResponse) XXX_Size() int
func (*QueryParamsResponse) XXX_Unmarshal ¶
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // Parameters queries the parameters of the module. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) }
QueryServer is the server API for Query service.
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) CwStoreCode ¶
func (*UnimplementedMsgServer) CwStoreCode(ctx context.Context, req *MsgCwStoreCode) (*MsgCwStoreCodeResponse, error)
func (*UnimplementedMsgServer) ExecuteCwContract ¶
func (*UnimplementedMsgServer) ExecuteCwContract(ctx context.Context, req *MsgExecuteCwContract) (*MsgExecuteCwContractResponse, error)
func (*UnimplementedMsgServer) InstantiateCwContract ¶
func (*UnimplementedMsgServer) InstantiateCwContract(ctx context.Context, req *MsgInstantiateCwContract) (*MsgInstantiateCwContractResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
type WasmKeeper ¶
type WasmKeeper interface { }