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 MsgClearAdmin
- func (*MsgClearAdmin) Descriptor() ([]byte, []int)
- func (m *MsgClearAdmin) GetContract() string
- func (m *MsgClearAdmin) GetSender() string
- func (msg *MsgClearAdmin) GetSignBytes() []byte
- func (msg *MsgClearAdmin) GetSigners() []sdk.AccAddress
- func (m *MsgClearAdmin) Marshal() (dAtA []byte, err error)
- func (m *MsgClearAdmin) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgClearAdmin) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgClearAdmin) ProtoMessage()
- func (m *MsgClearAdmin) Reset()
- func (msg *MsgClearAdmin) Route() string
- func (m *MsgClearAdmin) Size() (n int)
- func (m *MsgClearAdmin) String() string
- func (msg *MsgClearAdmin) Type() string
- func (m *MsgClearAdmin) Unmarshal(dAtA []byte) error
- func (msg *MsgClearAdmin) ValidateBasic() error
- func (m *MsgClearAdmin) XXX_DiscardUnknown()
- func (m *MsgClearAdmin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgClearAdmin) XXX_Merge(src proto.Message)
- func (m *MsgClearAdmin) XXX_Size() int
- func (m *MsgClearAdmin) XXX_Unmarshal(b []byte) error
- type MsgClearAdminResponse
- func (*MsgClearAdminResponse) Descriptor() ([]byte, []int)
- func (m *MsgClearAdminResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgClearAdminResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgClearAdminResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgClearAdminResponse) ProtoMessage()
- func (m *MsgClearAdminResponse) Reset()
- func (m *MsgClearAdminResponse) Size() (n int)
- func (m *MsgClearAdminResponse) String() string
- func (m *MsgClearAdminResponse) Unmarshal(dAtA []byte) error
- func (m *MsgClearAdminResponse) XXX_DiscardUnknown()
- func (m *MsgClearAdminResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgClearAdminResponse) XXX_Merge(src proto.Message)
- func (m *MsgClearAdminResponse) XXX_Size() int
- func (m *MsgClearAdminResponse) 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 MsgInstantiateCwContract2
- func (*MsgInstantiateCwContract2) Descriptor() ([]byte, []int)
- func (m *MsgInstantiateCwContract2) GetAdmin() string
- func (m *MsgInstantiateCwContract2) GetCodeId() uint64
- func (m *MsgInstantiateCwContract2) GetFixMsg() bool
- func (m *MsgInstantiateCwContract2) GetFunds() string
- func (m *MsgInstantiateCwContract2) GetLabel() string
- func (m *MsgInstantiateCwContract2) GetMsg() string
- func (m *MsgInstantiateCwContract2) GetSalt() string
- func (m *MsgInstantiateCwContract2) GetSender() string
- func (msg *MsgInstantiateCwContract2) GetSignBytes() []byte
- func (msg *MsgInstantiateCwContract2) GetSigners() []sdk.AccAddress
- func (m *MsgInstantiateCwContract2) Marshal() (dAtA []byte, err error)
- func (m *MsgInstantiateCwContract2) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgInstantiateCwContract2) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgInstantiateCwContract2) ProtoMessage()
- func (m *MsgInstantiateCwContract2) Reset()
- func (msg *MsgInstantiateCwContract2) Route() string
- func (m *MsgInstantiateCwContract2) Size() (n int)
- func (m *MsgInstantiateCwContract2) String() string
- func (msg *MsgInstantiateCwContract2) Type() string
- func (m *MsgInstantiateCwContract2) Unmarshal(dAtA []byte) error
- func (msg *MsgInstantiateCwContract2) ValidateBasic() error
- func (m *MsgInstantiateCwContract2) XXX_DiscardUnknown()
- func (m *MsgInstantiateCwContract2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgInstantiateCwContract2) XXX_Merge(src proto.Message)
- func (m *MsgInstantiateCwContract2) XXX_Size() int
- func (m *MsgInstantiateCwContract2) XXX_Unmarshal(b []byte) error
- type MsgInstantiateCwContract2Response
- func (*MsgInstantiateCwContract2Response) Descriptor() ([]byte, []int)
- func (m *MsgInstantiateCwContract2Response) GetAddress() string
- func (m *MsgInstantiateCwContract2Response) GetData() []byte
- func (m *MsgInstantiateCwContract2Response) Marshal() (dAtA []byte, err error)
- func (m *MsgInstantiateCwContract2Response) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgInstantiateCwContract2Response) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgInstantiateCwContract2Response) ProtoMessage()
- func (m *MsgInstantiateCwContract2Response) Reset()
- func (m *MsgInstantiateCwContract2Response) Size() (n int)
- func (m *MsgInstantiateCwContract2Response) String() string
- func (m *MsgInstantiateCwContract2Response) Unmarshal(dAtA []byte) error
- func (m *MsgInstantiateCwContract2Response) XXX_DiscardUnknown()
- func (m *MsgInstantiateCwContract2Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgInstantiateCwContract2Response) XXX_Merge(src proto.Message)
- func (m *MsgInstantiateCwContract2Response) XXX_Size() int
- func (m *MsgInstantiateCwContract2Response) 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 MsgMigrateCwContract
- func (*MsgMigrateCwContract) Descriptor() ([]byte, []int)
- func (m *MsgMigrateCwContract) GetCodeId() uint64
- func (m *MsgMigrateCwContract) GetContract() string
- func (m *MsgMigrateCwContract) GetMsg() string
- func (m *MsgMigrateCwContract) GetSender() string
- func (msg *MsgMigrateCwContract) GetSignBytes() []byte
- func (msg *MsgMigrateCwContract) GetSigners() []sdk.AccAddress
- func (m *MsgMigrateCwContract) Marshal() (dAtA []byte, err error)
- func (m *MsgMigrateCwContract) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMigrateCwContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMigrateCwContract) ProtoMessage()
- func (m *MsgMigrateCwContract) Reset()
- func (msg *MsgMigrateCwContract) Route() string
- func (m *MsgMigrateCwContract) Size() (n int)
- func (m *MsgMigrateCwContract) String() string
- func (msg *MsgMigrateCwContract) Type() string
- func (m *MsgMigrateCwContract) Unmarshal(dAtA []byte) error
- func (msg *MsgMigrateCwContract) ValidateBasic() error
- func (m *MsgMigrateCwContract) XXX_DiscardUnknown()
- func (m *MsgMigrateCwContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMigrateCwContract) XXX_Merge(src proto.Message)
- func (m *MsgMigrateCwContract) XXX_Size() int
- func (m *MsgMigrateCwContract) XXX_Unmarshal(b []byte) error
- type MsgMigrateCwContractResponse
- func (*MsgMigrateCwContractResponse) Descriptor() ([]byte, []int)
- func (m *MsgMigrateCwContractResponse) GetData() []byte
- func (m *MsgMigrateCwContractResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgMigrateCwContractResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMigrateCwContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMigrateCwContractResponse) ProtoMessage()
- func (m *MsgMigrateCwContractResponse) Reset()
- func (m *MsgMigrateCwContractResponse) Size() (n int)
- func (m *MsgMigrateCwContractResponse) String() string
- func (m *MsgMigrateCwContractResponse) Unmarshal(dAtA []byte) error
- func (m *MsgMigrateCwContractResponse) XXX_DiscardUnknown()
- func (m *MsgMigrateCwContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMigrateCwContractResponse) XXX_Merge(src proto.Message)
- func (m *MsgMigrateCwContractResponse) XXX_Size() int
- func (m *MsgMigrateCwContractResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgUpdateAdmin
- func (*MsgUpdateAdmin) Descriptor() ([]byte, []int)
- func (m *MsgUpdateAdmin) GetContract() string
- func (m *MsgUpdateAdmin) GetNewAdmin() string
- func (m *MsgUpdateAdmin) GetSender() string
- func (msg *MsgUpdateAdmin) GetSignBytes() []byte
- func (msg *MsgUpdateAdmin) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateAdmin) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateAdmin) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateAdmin) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateAdmin) ProtoMessage()
- func (m *MsgUpdateAdmin) Reset()
- func (msg *MsgUpdateAdmin) Route() string
- func (m *MsgUpdateAdmin) Size() (n int)
- func (m *MsgUpdateAdmin) String() string
- func (msg *MsgUpdateAdmin) Type() string
- func (m *MsgUpdateAdmin) Unmarshal(dAtA []byte) error
- func (msg *MsgUpdateAdmin) ValidateBasic() error
- func (m *MsgUpdateAdmin) XXX_DiscardUnknown()
- func (m *MsgUpdateAdmin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateAdmin) XXX_Merge(src proto.Message)
- func (m *MsgUpdateAdmin) XXX_Size() int
- func (m *MsgUpdateAdmin) XXX_Unmarshal(b []byte) error
- type MsgUpdateAdminResponse
- func (*MsgUpdateAdminResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateAdminResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateAdminResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateAdminResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateAdminResponse) ProtoMessage()
- func (m *MsgUpdateAdminResponse) Reset()
- func (m *MsgUpdateAdminResponse) Size() (n int)
- func (m *MsgUpdateAdminResponse) String() string
- func (m *MsgUpdateAdminResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateAdminResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateAdminResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateAdminResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateAdminResponse) XXX_Size() int
- func (m *MsgUpdateAdminResponse) XXX_Unmarshal(b []byte) error
- 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) ClearAdmin(ctx context.Context, req *MsgClearAdmin) (*MsgClearAdminResponse, error)
- 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)
- func (*UnimplementedMsgServer) InstantiateCwContract2(ctx context.Context, req *MsgInstantiateCwContract2) (*MsgInstantiateCwContract2Response, error)
- func (*UnimplementedMsgServer) MigrateCwContract(ctx context.Context, req *MsgMigrateCwContract) (*MsgMigrateCwContractResponse, error)
- func (*UnimplementedMsgServer) UpdateAdmin(ctx context.Context, req *MsgUpdateAdmin) (*MsgUpdateAdminResponse, 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 TypeMsgClearAdmin = "clear_admin"
const TypeMsgCwStoreCode = "cw_store_code"
const TypeMsgExecuteCwContract = "execute_cw_contract"
const TypeMsgInstantiateCwContract = "instantiate_cw_contract"
const TypeMsgInstantiateCwContract2 = "instantiate_cw_contract2"
const TypeMsgMigrateCwContract = "migrate_cw_contract"
const TypeMsgUpdateAdmin = "update_admin"
Variables ¶
var ( Amino = codec.NewLegacyAmino() // ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry()) ModuleCdc = codec.NewAminoCodec(Amino) )
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 = errorsmod.Register(ModuleName, 1100, "sample error")
)
x/rwasm module sentinel errors
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 MsgClearAdmin ¶ added in v1.3.31
type MsgClearAdmin 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,3,opt,name=contract,proto3" json:"contract,omitempty"` }
MsgClearAdmin removes any admin stored for a smart contract
func NewMsgClearAdmin ¶ added in v1.3.31
func NewMsgClearAdmin(sender string, contract string) *MsgClearAdmin
func (*MsgClearAdmin) Descriptor ¶ added in v1.3.31
func (*MsgClearAdmin) Descriptor() ([]byte, []int)
func (*MsgClearAdmin) GetContract ¶ added in v1.3.31
func (m *MsgClearAdmin) GetContract() string
func (*MsgClearAdmin) GetSender ¶ added in v1.3.31
func (m *MsgClearAdmin) GetSender() string
func (*MsgClearAdmin) GetSignBytes ¶ added in v1.3.31
func (msg *MsgClearAdmin) GetSignBytes() []byte
func (*MsgClearAdmin) GetSigners ¶ added in v1.3.31
func (msg *MsgClearAdmin) GetSigners() []sdk.AccAddress
func (*MsgClearAdmin) Marshal ¶ added in v1.3.31
func (m *MsgClearAdmin) Marshal() (dAtA []byte, err error)
func (*MsgClearAdmin) MarshalTo ¶ added in v1.3.31
func (m *MsgClearAdmin) MarshalTo(dAtA []byte) (int, error)
func (*MsgClearAdmin) MarshalToSizedBuffer ¶ added in v1.3.31
func (m *MsgClearAdmin) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgClearAdmin) ProtoMessage ¶ added in v1.3.31
func (*MsgClearAdmin) ProtoMessage()
func (*MsgClearAdmin) Reset ¶ added in v1.3.31
func (m *MsgClearAdmin) Reset()
func (*MsgClearAdmin) Route ¶ added in v1.3.31
func (msg *MsgClearAdmin) Route() string
func (*MsgClearAdmin) Size ¶ added in v1.3.31
func (m *MsgClearAdmin) Size() (n int)
func (*MsgClearAdmin) String ¶ added in v1.3.31
func (m *MsgClearAdmin) String() string
func (*MsgClearAdmin) Type ¶ added in v1.3.31
func (msg *MsgClearAdmin) Type() string
func (*MsgClearAdmin) Unmarshal ¶ added in v1.3.31
func (m *MsgClearAdmin) Unmarshal(dAtA []byte) error
func (*MsgClearAdmin) ValidateBasic ¶ added in v1.3.31
func (msg *MsgClearAdmin) ValidateBasic() error
func (*MsgClearAdmin) XXX_DiscardUnknown ¶ added in v1.3.31
func (m *MsgClearAdmin) XXX_DiscardUnknown()
func (*MsgClearAdmin) XXX_Marshal ¶ added in v1.3.31
func (m *MsgClearAdmin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgClearAdmin) XXX_Merge ¶ added in v1.3.31
func (m *MsgClearAdmin) XXX_Merge(src proto.Message)
func (*MsgClearAdmin) XXX_Size ¶ added in v1.3.31
func (m *MsgClearAdmin) XXX_Size() int
func (*MsgClearAdmin) XXX_Unmarshal ¶ added in v1.3.31
func (m *MsgClearAdmin) XXX_Unmarshal(b []byte) error
type MsgClearAdminResponse ¶ added in v1.3.31
type MsgClearAdminResponse struct { }
MsgClearAdminResponse returns empty data
func (*MsgClearAdminResponse) Descriptor ¶ added in v1.3.31
func (*MsgClearAdminResponse) Descriptor() ([]byte, []int)
func (*MsgClearAdminResponse) Marshal ¶ added in v1.3.31
func (m *MsgClearAdminResponse) Marshal() (dAtA []byte, err error)
func (*MsgClearAdminResponse) MarshalTo ¶ added in v1.3.31
func (m *MsgClearAdminResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgClearAdminResponse) MarshalToSizedBuffer ¶ added in v1.3.31
func (m *MsgClearAdminResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgClearAdminResponse) ProtoMessage ¶ added in v1.3.31
func (*MsgClearAdminResponse) ProtoMessage()
func (*MsgClearAdminResponse) Reset ¶ added in v1.3.31
func (m *MsgClearAdminResponse) Reset()
func (*MsgClearAdminResponse) Size ¶ added in v1.3.31
func (m *MsgClearAdminResponse) Size() (n int)
func (*MsgClearAdminResponse) String ¶ added in v1.3.31
func (m *MsgClearAdminResponse) String() string
func (*MsgClearAdminResponse) Unmarshal ¶ added in v1.3.31
func (m *MsgClearAdminResponse) Unmarshal(dAtA []byte) error
func (*MsgClearAdminResponse) XXX_DiscardUnknown ¶ added in v1.3.31
func (m *MsgClearAdminResponse) XXX_DiscardUnknown()
func (*MsgClearAdminResponse) XXX_Marshal ¶ added in v1.3.31
func (m *MsgClearAdminResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgClearAdminResponse) XXX_Merge ¶ added in v1.3.31
func (m *MsgClearAdminResponse) XXX_Merge(src proto.Message)
func (*MsgClearAdminResponse) XXX_Size ¶ added in v1.3.31
func (m *MsgClearAdminResponse) XXX_Size() int
func (*MsgClearAdminResponse) XXX_Unmarshal ¶ added in v1.3.31
func (m *MsgClearAdminResponse) 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) MigrateCwContract(ctx context.Context, in *MsgMigrateCwContract, opts ...grpc.CallOption) (*MsgMigrateCwContractResponse, error) InstantiateCwContract2(ctx context.Context, in *MsgInstantiateCwContract2, opts ...grpc.CallOption) (*MsgInstantiateCwContract2Response, error) UpdateAdmin(ctx context.Context, in *MsgUpdateAdmin, opts ...grpc.CallOption) (*MsgUpdateAdminResponse, error) ClearAdmin(ctx context.Context, in *MsgClearAdmin, opts ...grpc.CallOption) (*MsgClearAdminResponse, 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, msg string, funds 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 MsgInstantiateCwContract2 ¶ added in v1.3.31
type MsgInstantiateCwContract2 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"` Salt string `protobuf:"bytes,7,opt,name=salt,proto3" json:"salt,omitempty"` FixMsg bool `protobuf:"varint,8,opt,name=fix_msg,json=fixMsg,proto3" json:"fix_msg,omitempty"` }
func NewMsgInstantiateCwContract2 ¶ added in v1.3.31
func (*MsgInstantiateCwContract2) Descriptor ¶ added in v1.3.31
func (*MsgInstantiateCwContract2) Descriptor() ([]byte, []int)
func (*MsgInstantiateCwContract2) GetAdmin ¶ added in v1.3.31
func (m *MsgInstantiateCwContract2) GetAdmin() string
func (*MsgInstantiateCwContract2) GetCodeId ¶ added in v1.3.31
func (m *MsgInstantiateCwContract2) GetCodeId() uint64
func (*MsgInstantiateCwContract2) GetFixMsg ¶ added in v1.3.31
func (m *MsgInstantiateCwContract2) GetFixMsg() bool
func (*MsgInstantiateCwContract2) GetFunds ¶ added in v1.3.31
func (m *MsgInstantiateCwContract2) GetFunds() string
func (*MsgInstantiateCwContract2) GetLabel ¶ added in v1.3.31
func (m *MsgInstantiateCwContract2) GetLabel() string
func (*MsgInstantiateCwContract2) GetMsg ¶ added in v1.3.31
func (m *MsgInstantiateCwContract2) GetMsg() string
func (*MsgInstantiateCwContract2) GetSalt ¶ added in v1.3.31
func (m *MsgInstantiateCwContract2) GetSalt() string
func (*MsgInstantiateCwContract2) GetSender ¶ added in v1.3.31
func (m *MsgInstantiateCwContract2) GetSender() string
func (*MsgInstantiateCwContract2) GetSignBytes ¶ added in v1.3.31
func (msg *MsgInstantiateCwContract2) GetSignBytes() []byte
func (*MsgInstantiateCwContract2) GetSigners ¶ added in v1.3.31
func (msg *MsgInstantiateCwContract2) GetSigners() []sdk.AccAddress
func (*MsgInstantiateCwContract2) Marshal ¶ added in v1.3.31
func (m *MsgInstantiateCwContract2) Marshal() (dAtA []byte, err error)
func (*MsgInstantiateCwContract2) MarshalTo ¶ added in v1.3.31
func (m *MsgInstantiateCwContract2) MarshalTo(dAtA []byte) (int, error)
func (*MsgInstantiateCwContract2) MarshalToSizedBuffer ¶ added in v1.3.31
func (m *MsgInstantiateCwContract2) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgInstantiateCwContract2) ProtoMessage ¶ added in v1.3.31
func (*MsgInstantiateCwContract2) ProtoMessage()
func (*MsgInstantiateCwContract2) Reset ¶ added in v1.3.31
func (m *MsgInstantiateCwContract2) Reset()
func (*MsgInstantiateCwContract2) Route ¶ added in v1.3.31
func (msg *MsgInstantiateCwContract2) Route() string
func (*MsgInstantiateCwContract2) Size ¶ added in v1.3.31
func (m *MsgInstantiateCwContract2) Size() (n int)
func (*MsgInstantiateCwContract2) String ¶ added in v1.3.31
func (m *MsgInstantiateCwContract2) String() string
func (*MsgInstantiateCwContract2) Type ¶ added in v1.3.31
func (msg *MsgInstantiateCwContract2) Type() string
func (*MsgInstantiateCwContract2) Unmarshal ¶ added in v1.3.31
func (m *MsgInstantiateCwContract2) Unmarshal(dAtA []byte) error
func (*MsgInstantiateCwContract2) ValidateBasic ¶ added in v1.3.31
func (msg *MsgInstantiateCwContract2) ValidateBasic() error
func (*MsgInstantiateCwContract2) XXX_DiscardUnknown ¶ added in v1.3.31
func (m *MsgInstantiateCwContract2) XXX_DiscardUnknown()
func (*MsgInstantiateCwContract2) XXX_Marshal ¶ added in v1.3.31
func (m *MsgInstantiateCwContract2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgInstantiateCwContract2) XXX_Merge ¶ added in v1.3.31
func (m *MsgInstantiateCwContract2) XXX_Merge(src proto.Message)
func (*MsgInstantiateCwContract2) XXX_Size ¶ added in v1.3.31
func (m *MsgInstantiateCwContract2) XXX_Size() int
func (*MsgInstantiateCwContract2) XXX_Unmarshal ¶ added in v1.3.31
func (m *MsgInstantiateCwContract2) XXX_Unmarshal(b []byte) error
type MsgInstantiateCwContract2Response ¶ added in v1.3.31
type MsgInstantiateCwContract2Response 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"` }
MsgInstantiateContract2Response return instantiation result data
func (*MsgInstantiateCwContract2Response) Descriptor ¶ added in v1.3.31
func (*MsgInstantiateCwContract2Response) Descriptor() ([]byte, []int)
func (*MsgInstantiateCwContract2Response) GetAddress ¶ added in v1.3.31
func (m *MsgInstantiateCwContract2Response) GetAddress() string
func (*MsgInstantiateCwContract2Response) GetData ¶ added in v1.3.31
func (m *MsgInstantiateCwContract2Response) GetData() []byte
func (*MsgInstantiateCwContract2Response) Marshal ¶ added in v1.3.31
func (m *MsgInstantiateCwContract2Response) Marshal() (dAtA []byte, err error)
func (*MsgInstantiateCwContract2Response) MarshalTo ¶ added in v1.3.31
func (m *MsgInstantiateCwContract2Response) MarshalTo(dAtA []byte) (int, error)
func (*MsgInstantiateCwContract2Response) MarshalToSizedBuffer ¶ added in v1.3.31
func (m *MsgInstantiateCwContract2Response) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgInstantiateCwContract2Response) ProtoMessage ¶ added in v1.3.31
func (*MsgInstantiateCwContract2Response) ProtoMessage()
func (*MsgInstantiateCwContract2Response) Reset ¶ added in v1.3.31
func (m *MsgInstantiateCwContract2Response) Reset()
func (*MsgInstantiateCwContract2Response) Size ¶ added in v1.3.31
func (m *MsgInstantiateCwContract2Response) Size() (n int)
func (*MsgInstantiateCwContract2Response) String ¶ added in v1.3.31
func (m *MsgInstantiateCwContract2Response) String() string
func (*MsgInstantiateCwContract2Response) Unmarshal ¶ added in v1.3.31
func (m *MsgInstantiateCwContract2Response) Unmarshal(dAtA []byte) error
func (*MsgInstantiateCwContract2Response) XXX_DiscardUnknown ¶ added in v1.3.31
func (m *MsgInstantiateCwContract2Response) XXX_DiscardUnknown()
func (*MsgInstantiateCwContract2Response) XXX_Marshal ¶ added in v1.3.31
func (m *MsgInstantiateCwContract2Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgInstantiateCwContract2Response) XXX_Merge ¶ added in v1.3.31
func (m *MsgInstantiateCwContract2Response) XXX_Merge(src proto.Message)
func (*MsgInstantiateCwContract2Response) XXX_Size ¶ added in v1.3.31
func (m *MsgInstantiateCwContract2Response) XXX_Size() int
func (*MsgInstantiateCwContract2Response) XXX_Unmarshal ¶ added in v1.3.31
func (m *MsgInstantiateCwContract2Response) 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 MsgMigrateCwContract ¶ added in v1.3.31
type MsgMigrateCwContract struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` Contract string `protobuf:"bytes,2,opt,name=contract,proto3" json:"contract,omitempty"` CodeId uint64 `protobuf:"varint,3,opt,name=code_id,json=codeId,proto3" json:"code_id,omitempty"` Msg string `protobuf:"bytes,4,opt,name=msg,proto3" json:"msg,omitempty"` }
func NewMsgMigrateCwContract ¶ added in v1.3.31
func NewMsgMigrateCwContract(sender string, contract string, codeId uint64, msg string) *MsgMigrateCwContract
func (*MsgMigrateCwContract) Descriptor ¶ added in v1.3.31
func (*MsgMigrateCwContract) Descriptor() ([]byte, []int)
func (*MsgMigrateCwContract) GetCodeId ¶ added in v1.3.31
func (m *MsgMigrateCwContract) GetCodeId() uint64
func (*MsgMigrateCwContract) GetContract ¶ added in v1.3.31
func (m *MsgMigrateCwContract) GetContract() string
func (*MsgMigrateCwContract) GetMsg ¶ added in v1.3.31
func (m *MsgMigrateCwContract) GetMsg() string
func (*MsgMigrateCwContract) GetSender ¶ added in v1.3.31
func (m *MsgMigrateCwContract) GetSender() string
func (*MsgMigrateCwContract) GetSignBytes ¶ added in v1.3.31
func (msg *MsgMigrateCwContract) GetSignBytes() []byte
func (*MsgMigrateCwContract) GetSigners ¶ added in v1.3.31
func (msg *MsgMigrateCwContract) GetSigners() []sdk.AccAddress
func (*MsgMigrateCwContract) Marshal ¶ added in v1.3.31
func (m *MsgMigrateCwContract) Marshal() (dAtA []byte, err error)
func (*MsgMigrateCwContract) MarshalTo ¶ added in v1.3.31
func (m *MsgMigrateCwContract) MarshalTo(dAtA []byte) (int, error)
func (*MsgMigrateCwContract) MarshalToSizedBuffer ¶ added in v1.3.31
func (m *MsgMigrateCwContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgMigrateCwContract) ProtoMessage ¶ added in v1.3.31
func (*MsgMigrateCwContract) ProtoMessage()
func (*MsgMigrateCwContract) Reset ¶ added in v1.3.31
func (m *MsgMigrateCwContract) Reset()
func (*MsgMigrateCwContract) Route ¶ added in v1.3.31
func (msg *MsgMigrateCwContract) Route() string
func (*MsgMigrateCwContract) Size ¶ added in v1.3.31
func (m *MsgMigrateCwContract) Size() (n int)
func (*MsgMigrateCwContract) String ¶ added in v1.3.31
func (m *MsgMigrateCwContract) String() string
func (*MsgMigrateCwContract) Type ¶ added in v1.3.31
func (msg *MsgMigrateCwContract) Type() string
func (*MsgMigrateCwContract) Unmarshal ¶ added in v1.3.31
func (m *MsgMigrateCwContract) Unmarshal(dAtA []byte) error
func (*MsgMigrateCwContract) ValidateBasic ¶ added in v1.3.31
func (msg *MsgMigrateCwContract) ValidateBasic() error
func (*MsgMigrateCwContract) XXX_DiscardUnknown ¶ added in v1.3.31
func (m *MsgMigrateCwContract) XXX_DiscardUnknown()
func (*MsgMigrateCwContract) XXX_Marshal ¶ added in v1.3.31
func (m *MsgMigrateCwContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgMigrateCwContract) XXX_Merge ¶ added in v1.3.31
func (m *MsgMigrateCwContract) XXX_Merge(src proto.Message)
func (*MsgMigrateCwContract) XXX_Size ¶ added in v1.3.31
func (m *MsgMigrateCwContract) XXX_Size() int
func (*MsgMigrateCwContract) XXX_Unmarshal ¶ added in v1.3.31
func (m *MsgMigrateCwContract) XXX_Unmarshal(b []byte) error
type MsgMigrateCwContractResponse ¶ added in v1.3.31
type MsgMigrateCwContractResponse struct {
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}
func (*MsgMigrateCwContractResponse) Descriptor ¶ added in v1.3.31
func (*MsgMigrateCwContractResponse) Descriptor() ([]byte, []int)
func (*MsgMigrateCwContractResponse) GetData ¶ added in v1.3.31
func (m *MsgMigrateCwContractResponse) GetData() []byte
func (*MsgMigrateCwContractResponse) Marshal ¶ added in v1.3.31
func (m *MsgMigrateCwContractResponse) Marshal() (dAtA []byte, err error)
func (*MsgMigrateCwContractResponse) MarshalTo ¶ added in v1.3.31
func (m *MsgMigrateCwContractResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgMigrateCwContractResponse) MarshalToSizedBuffer ¶ added in v1.3.31
func (m *MsgMigrateCwContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgMigrateCwContractResponse) ProtoMessage ¶ added in v1.3.31
func (*MsgMigrateCwContractResponse) ProtoMessage()
func (*MsgMigrateCwContractResponse) Reset ¶ added in v1.3.31
func (m *MsgMigrateCwContractResponse) Reset()
func (*MsgMigrateCwContractResponse) Size ¶ added in v1.3.31
func (m *MsgMigrateCwContractResponse) Size() (n int)
func (*MsgMigrateCwContractResponse) String ¶ added in v1.3.31
func (m *MsgMigrateCwContractResponse) String() string
func (*MsgMigrateCwContractResponse) Unmarshal ¶ added in v1.3.31
func (m *MsgMigrateCwContractResponse) Unmarshal(dAtA []byte) error
func (*MsgMigrateCwContractResponse) XXX_DiscardUnknown ¶ added in v1.3.31
func (m *MsgMigrateCwContractResponse) XXX_DiscardUnknown()
func (*MsgMigrateCwContractResponse) XXX_Marshal ¶ added in v1.3.31
func (m *MsgMigrateCwContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgMigrateCwContractResponse) XXX_Merge ¶ added in v1.3.31
func (m *MsgMigrateCwContractResponse) XXX_Merge(src proto.Message)
func (*MsgMigrateCwContractResponse) XXX_Size ¶ added in v1.3.31
func (m *MsgMigrateCwContractResponse) XXX_Size() int
func (*MsgMigrateCwContractResponse) XXX_Unmarshal ¶ added in v1.3.31
func (m *MsgMigrateCwContractResponse) 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) MigrateCwContract(context.Context, *MsgMigrateCwContract) (*MsgMigrateCwContractResponse, error) InstantiateCwContract2(context.Context, *MsgInstantiateCwContract2) (*MsgInstantiateCwContract2Response, error) UpdateAdmin(context.Context, *MsgUpdateAdmin) (*MsgUpdateAdminResponse, error) ClearAdmin(context.Context, *MsgClearAdmin) (*MsgClearAdminResponse, error) }
MsgServer is the server API for Msg service.
type MsgUpdateAdmin ¶ added in v1.3.31
type MsgUpdateAdmin struct { // Sender is the that actor that signed the messages Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` // NewAdmin address to be set NewAdmin string `protobuf:"bytes,2,opt,name=new_admin,json=newAdmin,proto3" json:"new_admin,omitempty"` // Contract is the address of the smart contract Contract string `protobuf:"bytes,3,opt,name=contract,proto3" json:"contract,omitempty"` }
MsgUpdateAdmin sets a new admin for a smart contract
func NewMsgUpdateAdmin ¶ added in v1.3.31
func NewMsgUpdateAdmin(sender string, contract string, admin string) *MsgUpdateAdmin
func (*MsgUpdateAdmin) Descriptor ¶ added in v1.3.31
func (*MsgUpdateAdmin) Descriptor() ([]byte, []int)
func (*MsgUpdateAdmin) GetContract ¶ added in v1.3.31
func (m *MsgUpdateAdmin) GetContract() string
func (*MsgUpdateAdmin) GetNewAdmin ¶ added in v1.3.31
func (m *MsgUpdateAdmin) GetNewAdmin() string
func (*MsgUpdateAdmin) GetSender ¶ added in v1.3.31
func (m *MsgUpdateAdmin) GetSender() string
func (*MsgUpdateAdmin) GetSignBytes ¶ added in v1.3.31
func (msg *MsgUpdateAdmin) GetSignBytes() []byte
func (*MsgUpdateAdmin) GetSigners ¶ added in v1.3.31
func (msg *MsgUpdateAdmin) GetSigners() []sdk.AccAddress
func (*MsgUpdateAdmin) Marshal ¶ added in v1.3.31
func (m *MsgUpdateAdmin) Marshal() (dAtA []byte, err error)
func (*MsgUpdateAdmin) MarshalTo ¶ added in v1.3.31
func (m *MsgUpdateAdmin) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateAdmin) MarshalToSizedBuffer ¶ added in v1.3.31
func (m *MsgUpdateAdmin) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateAdmin) ProtoMessage ¶ added in v1.3.31
func (*MsgUpdateAdmin) ProtoMessage()
func (*MsgUpdateAdmin) Reset ¶ added in v1.3.31
func (m *MsgUpdateAdmin) Reset()
func (*MsgUpdateAdmin) Route ¶ added in v1.3.31
func (msg *MsgUpdateAdmin) Route() string
func (*MsgUpdateAdmin) Size ¶ added in v1.3.31
func (m *MsgUpdateAdmin) Size() (n int)
func (*MsgUpdateAdmin) String ¶ added in v1.3.31
func (m *MsgUpdateAdmin) String() string
func (*MsgUpdateAdmin) Type ¶ added in v1.3.31
func (msg *MsgUpdateAdmin) Type() string
func (*MsgUpdateAdmin) Unmarshal ¶ added in v1.3.31
func (m *MsgUpdateAdmin) Unmarshal(dAtA []byte) error
func (*MsgUpdateAdmin) ValidateBasic ¶ added in v1.3.31
func (msg *MsgUpdateAdmin) ValidateBasic() error
func (*MsgUpdateAdmin) XXX_DiscardUnknown ¶ added in v1.3.31
func (m *MsgUpdateAdmin) XXX_DiscardUnknown()
func (*MsgUpdateAdmin) XXX_Marshal ¶ added in v1.3.31
func (m *MsgUpdateAdmin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateAdmin) XXX_Merge ¶ added in v1.3.31
func (m *MsgUpdateAdmin) XXX_Merge(src proto.Message)
func (*MsgUpdateAdmin) XXX_Size ¶ added in v1.3.31
func (m *MsgUpdateAdmin) XXX_Size() int
func (*MsgUpdateAdmin) XXX_Unmarshal ¶ added in v1.3.31
func (m *MsgUpdateAdmin) XXX_Unmarshal(b []byte) error
type MsgUpdateAdminResponse ¶ added in v1.3.31
type MsgUpdateAdminResponse struct { }
MsgUpdateAdminResponse returns empty data
func (*MsgUpdateAdminResponse) Descriptor ¶ added in v1.3.31
func (*MsgUpdateAdminResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateAdminResponse) Marshal ¶ added in v1.3.31
func (m *MsgUpdateAdminResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateAdminResponse) MarshalTo ¶ added in v1.3.31
func (m *MsgUpdateAdminResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateAdminResponse) MarshalToSizedBuffer ¶ added in v1.3.31
func (m *MsgUpdateAdminResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateAdminResponse) ProtoMessage ¶ added in v1.3.31
func (*MsgUpdateAdminResponse) ProtoMessage()
func (*MsgUpdateAdminResponse) Reset ¶ added in v1.3.31
func (m *MsgUpdateAdminResponse) Reset()
func (*MsgUpdateAdminResponse) Size ¶ added in v1.3.31
func (m *MsgUpdateAdminResponse) Size() (n int)
func (*MsgUpdateAdminResponse) String ¶ added in v1.3.31
func (m *MsgUpdateAdminResponse) String() string
func (*MsgUpdateAdminResponse) Unmarshal ¶ added in v1.3.31
func (m *MsgUpdateAdminResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateAdminResponse) XXX_DiscardUnknown ¶ added in v1.3.31
func (m *MsgUpdateAdminResponse) XXX_DiscardUnknown()
func (*MsgUpdateAdminResponse) XXX_Marshal ¶ added in v1.3.31
func (m *MsgUpdateAdminResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateAdminResponse) XXX_Merge ¶ added in v1.3.31
func (m *MsgUpdateAdminResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateAdminResponse) XXX_Size ¶ added in v1.3.31
func (m *MsgUpdateAdminResponse) XXX_Size() int
func (*MsgUpdateAdminResponse) XXX_Unmarshal ¶ added in v1.3.31
func (m *MsgUpdateAdminResponse) XXX_Unmarshal(b []byte) error
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) ClearAdmin ¶ added in v1.3.31
func (*UnimplementedMsgServer) ClearAdmin(ctx context.Context, req *MsgClearAdmin) (*MsgClearAdminResponse, error)
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)
func (*UnimplementedMsgServer) InstantiateCwContract2 ¶ added in v1.3.31
func (*UnimplementedMsgServer) InstantiateCwContract2(ctx context.Context, req *MsgInstantiateCwContract2) (*MsgInstantiateCwContract2Response, error)
func (*UnimplementedMsgServer) MigrateCwContract ¶ added in v1.3.31
func (*UnimplementedMsgServer) MigrateCwContract(ctx context.Context, req *MsgMigrateCwContract) (*MsgMigrateCwContractResponse, error)
func (*UnimplementedMsgServer) UpdateAdmin ¶ added in v1.3.31
func (*UnimplementedMsgServer) UpdateAdmin(ctx context.Context, req *MsgUpdateAdmin) (*MsgUpdateAdminResponse, 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 { }
Source Files ¶
- codec.go
- errors.go
- expected_keepers.go
- genesis.go
- genesis.pb.go
- keys.go
- message_clear_admin.go
- message_cw_store_code.go
- message_execute_cw_contract.go
- message_instantiate_cw_contract.go
- message_instantiate_cw_contract2.go
- message_migrate_cw_contract.go
- message_update_admin.go
- params.go
- params.pb.go
- query.pb.go
- tx.pb.go
- types.go