Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func GetCodeKey(codeID uint64) []byte
- func GetContractAddressKey(addr sdk.AccAddress) []byte
- func GetContractStorePrefixKey(addr sdk.AccAddress) []byte
- func NewEnv(ctx sdk.Context, contractAddr sdk.AccAddress) wasmTypes.Env
- func NewInfo(creator sdk.AccAddress, deposit sdk.Coins) wasmTypes.MessageInfo
- func NewWasmCoins(cosmosCoins sdk.Coins) (wasmCoins []wasmTypes.Coin)
- func OnlyGenesisFields(info *ContractInfo)
- func ParamKeyTable() paramtypes.KeyTable
- func ParseEvents(logs []wasmTypes.EventAttribute, contractAddr sdk.AccAddress) sdk.Events
- func RegisterInterfaces(registry types.InterfaceRegistry)
- func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- func ValidateGenesis(data GenesisState) error
- func WithSHA256CodeHash(wasmCode []byte) func(info *CodeInfo)
- type AbsoluteTxPosition
- func (*AbsoluteTxPosition) Descriptor() ([]byte, []int)
- func (this *AbsoluteTxPosition) Equal(that interface{}) bool
- func (a *AbsoluteTxPosition) LessThan(b *AbsoluteTxPosition) bool
- func (m *AbsoluteTxPosition) Marshal() (dAtA []byte, err error)
- func (m *AbsoluteTxPosition) MarshalTo(dAtA []byte) (int, error)
- func (m *AbsoluteTxPosition) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AbsoluteTxPosition) ProtoMessage()
- func (m *AbsoluteTxPosition) Reset()
- func (m *AbsoluteTxPosition) Size() (n int)
- func (m *AbsoluteTxPosition) String() string
- func (m *AbsoluteTxPosition) Unmarshal(dAtA []byte) error
- func (m *AbsoluteTxPosition) XXX_DiscardUnknown()
- func (m *AbsoluteTxPosition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AbsoluteTxPosition) XXX_Merge(src proto.Message)
- func (m *AbsoluteTxPosition) XXX_Size() int
- func (m *AbsoluteTxPosition) XXX_Unmarshal(b []byte) error
- type AccessConfig
- func (v AccessConfig) Allowed(actor sdk.AccAddress) bool
- func (*AccessConfig) Descriptor() ([]byte, []int)
- func (this *AccessConfig) Equal(that interface{}) bool
- func (a AccessConfig) Equals(o AccessConfig) bool
- func (m *AccessConfig) Marshal() (dAtA []byte, err error)
- func (m *AccessConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *AccessConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AccessConfig) ProtoMessage()
- func (m *AccessConfig) Reset()
- func (m *AccessConfig) Size() (n int)
- func (m *AccessConfig) String() string
- func (m *AccessConfig) Unmarshal(dAtA []byte) error
- func (v AccessConfig) ValidateBasic() error
- func (m *AccessConfig) XXX_DiscardUnknown()
- func (m *AccessConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccessConfig) XXX_Merge(src proto.Message)
- func (m *AccessConfig) XXX_Size() int
- func (m *AccessConfig) XXX_Unmarshal(b []byte) error
- type AccessType
- func (AccessType) EnumDescriptor() ([]byte, []int)
- func (a *AccessType) MarshalJSONPB(_ *jsonpb.Marshaler) ([]byte, error)
- func (a AccessType) MarshalText() ([]byte, error)
- func (a AccessType) String() string
- func (a *AccessType) UnmarshalJSONPB(_ *jsonpb.Unmarshaler, data []byte) error
- func (a *AccessType) UnmarshalText(text []byte) error
- func (a AccessType) With(addr sdk.AccAddress) AccessConfig
- type AccessTypeParam
- func (*AccessTypeParam) Descriptor() ([]byte, []int)
- func (this *AccessTypeParam) Equal(that interface{}) bool
- func (m *AccessTypeParam) Marshal() (dAtA []byte, err error)
- func (m *AccessTypeParam) MarshalTo(dAtA []byte) (int, error)
- func (m *AccessTypeParam) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AccessTypeParam) ProtoMessage()
- func (m *AccessTypeParam) Reset()
- func (m *AccessTypeParam) Size() (n int)
- func (m *AccessTypeParam) String() string
- func (m *AccessTypeParam) Unmarshal(dAtA []byte) error
- func (m *AccessTypeParam) XXX_DiscardUnknown()
- func (m *AccessTypeParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccessTypeParam) XXX_Merge(src proto.Message)
- func (m *AccessTypeParam) XXX_Size() int
- func (m *AccessTypeParam) XXX_Unmarshal(b []byte) error
- type ClearAdminProposal
- func (*ClearAdminProposal) Descriptor() ([]byte, []int)
- func (this *ClearAdminProposal) Equal(that interface{}) bool
- func (p ClearAdminProposal) GetDescription() string
- func (p *ClearAdminProposal) GetTitle() string
- func (m *ClearAdminProposal) Marshal() (dAtA []byte, err error)
- func (m *ClearAdminProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *ClearAdminProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p ClearAdminProposal) ProposalRoute() string
- func (p ClearAdminProposal) ProposalType() string
- func (*ClearAdminProposal) ProtoMessage()
- func (m *ClearAdminProposal) Reset()
- func (m *ClearAdminProposal) Size() (n int)
- func (p ClearAdminProposal) String() string
- func (m *ClearAdminProposal) Unmarshal(dAtA []byte) error
- func (p ClearAdminProposal) ValidateBasic() error
- func (m *ClearAdminProposal) XXX_DiscardUnknown()
- func (m *ClearAdminProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClearAdminProposal) XXX_Merge(src proto.Message)
- func (m *ClearAdminProposal) XXX_Size() int
- func (m *ClearAdminProposal) XXX_Unmarshal(b []byte) error
- type Code
- func (*Code) Descriptor() ([]byte, []int)
- func (m *Code) GetCodeBytes() []byte
- func (m *Code) GetCodeID() uint64
- func (m *Code) GetCodeInfo() CodeInfo
- func (m *Code) Marshal() (dAtA []byte, err error)
- func (m *Code) MarshalTo(dAtA []byte) (int, error)
- func (m *Code) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Code) ProtoMessage()
- func (m *Code) Reset()
- func (m *Code) Size() (n int)
- func (m *Code) String() string
- func (m *Code) Unmarshal(dAtA []byte) error
- func (c Code) ValidateBasic() error
- func (m *Code) XXX_DiscardUnknown()
- func (m *Code) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Code) XXX_Merge(src proto.Message)
- func (m *Code) XXX_Size() int
- func (m *Code) XXX_Unmarshal(b []byte) error
- type CodeInfo
- func (*CodeInfo) Descriptor() ([]byte, []int)
- func (this *CodeInfo) Equal(that interface{}) bool
- func (m *CodeInfo) Marshal() (dAtA []byte, err error)
- func (m *CodeInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *CodeInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CodeInfo) ProtoMessage()
- func (m *CodeInfo) Reset()
- func (m *CodeInfo) Size() (n int)
- func (m *CodeInfo) String() string
- func (m *CodeInfo) Unmarshal(dAtA []byte) error
- func (c CodeInfo) ValidateBasic() error
- func (m *CodeInfo) XXX_DiscardUnknown()
- func (m *CodeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CodeInfo) XXX_Merge(src proto.Message)
- func (m *CodeInfo) XXX_Size() int
- func (m *CodeInfo) XXX_Unmarshal(b []byte) error
- type CodeInfoResponse
- func (*CodeInfoResponse) Descriptor() ([]byte, []int)
- func (this *CodeInfoResponse) Equal(that interface{}) bool
- func (m *CodeInfoResponse) Marshal() (dAtA []byte, err error)
- func (m *CodeInfoResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *CodeInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CodeInfoResponse) ProtoMessage()
- func (m *CodeInfoResponse) Reset()
- func (m *CodeInfoResponse) Size() (n int)
- func (m *CodeInfoResponse) String() string
- func (m *CodeInfoResponse) Unmarshal(dAtA []byte) error
- func (m *CodeInfoResponse) XXX_DiscardUnknown()
- func (m *CodeInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CodeInfoResponse) XXX_Merge(src proto.Message)
- func (m *CodeInfoResponse) XXX_Size() int
- func (m *CodeInfoResponse) XXX_Unmarshal(b []byte) error
- type Contract
- func (*Contract) Descriptor() ([]byte, []int)
- func (m *Contract) GetContractAddress() github_com_cosmos_cosmos_sdk_types.AccAddress
- func (m *Contract) GetContractInfo() ContractInfo
- func (m *Contract) GetContractState() []Model
- func (m *Contract) Marshal() (dAtA []byte, err error)
- func (m *Contract) MarshalTo(dAtA []byte) (int, error)
- func (m *Contract) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Contract) ProtoMessage()
- func (m *Contract) Reset()
- func (m *Contract) Size() (n int)
- func (m *Contract) String() string
- func (m *Contract) Unmarshal(dAtA []byte) error
- func (c Contract) ValidateBasic() error
- func (m *Contract) XXX_DiscardUnknown()
- func (m *Contract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Contract) XXX_Merge(src proto.Message)
- func (m *Contract) XXX_Size() int
- func (m *Contract) XXX_Unmarshal(b []byte) error
- type ContractCodeHistoryEntry
- func (*ContractCodeHistoryEntry) Descriptor() ([]byte, []int)
- func (this *ContractCodeHistoryEntry) Equal(that interface{}) bool
- func (m *ContractCodeHistoryEntry) Marshal() (dAtA []byte, err error)
- func (m *ContractCodeHistoryEntry) MarshalTo(dAtA []byte) (int, error)
- func (m *ContractCodeHistoryEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ContractCodeHistoryEntry) ProtoMessage()
- func (m *ContractCodeHistoryEntry) Reset()
- func (m *ContractCodeHistoryEntry) Size() (n int)
- func (m *ContractCodeHistoryEntry) String() string
- func (m *ContractCodeHistoryEntry) Unmarshal(dAtA []byte) error
- func (m *ContractCodeHistoryEntry) XXX_DiscardUnknown()
- func (m *ContractCodeHistoryEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ContractCodeHistoryEntry) XXX_Merge(src proto.Message)
- func (m *ContractCodeHistoryEntry) XXX_Size() int
- func (m *ContractCodeHistoryEntry) XXX_Unmarshal(b []byte) error
- type ContractCodeHistoryOperationType
- type ContractHistory
- func (c *ContractHistory) AppendCodeHistory(newEntries ...ContractCodeHistoryEntry)
- func (*ContractHistory) Descriptor() ([]byte, []int)
- func (this *ContractHistory) Equal(that interface{}) bool
- func (m *ContractHistory) Marshal() (dAtA []byte, err error)
- func (m *ContractHistory) MarshalTo(dAtA []byte) (int, error)
- func (m *ContractHistory) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ContractHistory) ProtoMessage()
- func (m *ContractHistory) Reset()
- func (m *ContractHistory) Size() (n int)
- func (m *ContractHistory) String() string
- func (m *ContractHistory) Unmarshal(dAtA []byte) error
- func (m *ContractHistory) XXX_DiscardUnknown()
- func (m *ContractHistory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ContractHistory) XXX_Merge(src proto.Message)
- func (m *ContractHistory) XXX_Size() int
- func (m *ContractHistory) XXX_Unmarshal(b []byte) error
- type ContractInfo
- func (c *ContractInfo) AddMigration(ctx sdk.Context, codeID uint64, msg []byte) ContractCodeHistoryEntry
- func (*ContractInfo) Descriptor() ([]byte, []int)
- func (this *ContractInfo) Equal(that interface{}) bool
- func (c ContractInfo) InitialHistory(initMsg []byte) ContractCodeHistoryEntry
- func (m *ContractInfo) Marshal() (dAtA []byte, err error)
- func (m *ContractInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *ContractInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ContractInfo) ProtoMessage()
- func (m *ContractInfo) Reset()
- func (c *ContractInfo) ResetFromGenesis(ctx sdk.Context) ContractCodeHistoryEntry
- func (m *ContractInfo) Size() (n int)
- func (m *ContractInfo) String() string
- func (m *ContractInfo) Unmarshal(dAtA []byte) error
- func (c *ContractInfo) ValidateBasic() error
- func (m *ContractInfo) XXX_DiscardUnknown()
- func (m *ContractInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ContractInfo) XXX_Merge(src proto.Message)
- func (m *ContractInfo) XXX_Size() int
- func (m *ContractInfo) XXX_Unmarshal(b []byte) error
- type ContractInfoWithAddress
- func (*ContractInfoWithAddress) Descriptor() ([]byte, []int)
- func (this *ContractInfoWithAddress) Equal(that interface{}) bool
- func (m *ContractInfoWithAddress) Marshal() (dAtA []byte, err error)
- func (m *ContractInfoWithAddress) MarshalTo(dAtA []byte) (int, error)
- func (m *ContractInfoWithAddress) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ContractInfoWithAddress) ProtoMessage()
- func (m *ContractInfoWithAddress) Reset()
- func (m *ContractInfoWithAddress) Size() (n int)
- func (m *ContractInfoWithAddress) String() string
- func (m *ContractInfoWithAddress) Unmarshal(dAtA []byte) error
- func (m *ContractInfoWithAddress) XXX_DiscardUnknown()
- func (m *ContractInfoWithAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ContractInfoWithAddress) XXX_Merge(src proto.Message)
- func (m *ContractInfoWithAddress) XXX_Size() int
- func (m *ContractInfoWithAddress) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetCodes() []Code
- func (m *GenesisState) GetContracts() []Contract
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) GetSequences() []Sequence
- 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 (s GenesisState) ValidateBasic() 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 InstantiateContractProposal
- func (*InstantiateContractProposal) Descriptor() ([]byte, []int)
- func (this *InstantiateContractProposal) Equal(that interface{}) bool
- func (p InstantiateContractProposal) GetDescription() string
- func (p *InstantiateContractProposal) GetTitle() string
- func (m *InstantiateContractProposal) Marshal() (dAtA []byte, err error)
- func (m *InstantiateContractProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *InstantiateContractProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p InstantiateContractProposal) MarshalYAML() (interface{}, error)
- func (p InstantiateContractProposal) ProposalRoute() string
- func (p InstantiateContractProposal) ProposalType() string
- func (*InstantiateContractProposal) ProtoMessage()
- func (m *InstantiateContractProposal) Reset()
- func (m *InstantiateContractProposal) Size() (n int)
- func (p InstantiateContractProposal) String() string
- func (m *InstantiateContractProposal) Unmarshal(dAtA []byte) error
- func (p InstantiateContractProposal) ValidateBasic() error
- func (m *InstantiateContractProposal) XXX_DiscardUnknown()
- func (m *InstantiateContractProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InstantiateContractProposal) XXX_Merge(src proto.Message)
- func (m *InstantiateContractProposal) XXX_Size() int
- func (m *InstantiateContractProposal) XXX_Unmarshal(b []byte) error
- type MigrateContractProposal
- func (*MigrateContractProposal) Descriptor() ([]byte, []int)
- func (this *MigrateContractProposal) Equal(that interface{}) bool
- func (p MigrateContractProposal) GetDescription() string
- func (p *MigrateContractProposal) GetTitle() string
- func (m *MigrateContractProposal) Marshal() (dAtA []byte, err error)
- func (m *MigrateContractProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *MigrateContractProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p MigrateContractProposal) MarshalYAML() (interface{}, error)
- func (p MigrateContractProposal) ProposalRoute() string
- func (p MigrateContractProposal) ProposalType() string
- func (*MigrateContractProposal) ProtoMessage()
- func (m *MigrateContractProposal) Reset()
- func (m *MigrateContractProposal) Size() (n int)
- func (p MigrateContractProposal) String() string
- func (m *MigrateContractProposal) Unmarshal(dAtA []byte) error
- func (p MigrateContractProposal) ValidateBasic() error
- func (m *MigrateContractProposal) XXX_DiscardUnknown()
- func (m *MigrateContractProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MigrateContractProposal) XXX_Merge(src proto.Message)
- func (m *MigrateContractProposal) XXX_Size() int
- func (m *MigrateContractProposal) XXX_Unmarshal(b []byte) error
- type Model
- func (*Model) Descriptor() ([]byte, []int)
- func (this *Model) Equal(that interface{}) bool
- func (m *Model) Marshal() (dAtA []byte, err error)
- func (m *Model) MarshalTo(dAtA []byte) (int, error)
- func (m *Model) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Model) ProtoMessage()
- func (m *Model) Reset()
- func (m *Model) Size() (n int)
- func (m *Model) String() string
- func (m *Model) Unmarshal(dAtA []byte) error
- func (m Model) ValidateBasic() error
- func (m *Model) XXX_DiscardUnknown()
- func (m *Model) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Model) XXX_Merge(src proto.Message)
- func (m *Model) XXX_Size() int
- func (m *Model) XXX_Unmarshal(b []byte) error
- type MsgClearAdmin
- func (*MsgClearAdmin) Descriptor() ([]byte, []int)
- 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 MsgExecuteContract
- func (*MsgExecuteContract) Descriptor() ([]byte, []int)
- func (msg MsgExecuteContract) GetSignBytes() []byte
- func (msg MsgExecuteContract) GetSigners() []sdk.AccAddress
- func (m *MsgExecuteContract) Marshal() (dAtA []byte, err error)
- func (m *MsgExecuteContract) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgExecuteContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgExecuteContract) ProtoMessage()
- func (m *MsgExecuteContract) Reset()
- func (msg MsgExecuteContract) Route() string
- func (m *MsgExecuteContract) Size() (n int)
- func (m *MsgExecuteContract) String() string
- func (msg MsgExecuteContract) Type() string
- func (m *MsgExecuteContract) Unmarshal(dAtA []byte) error
- func (msg MsgExecuteContract) ValidateBasic() error
- func (m *MsgExecuteContract) XXX_DiscardUnknown()
- func (m *MsgExecuteContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgExecuteContract) XXX_Merge(src proto.Message)
- func (m *MsgExecuteContract) XXX_Size() int
- func (m *MsgExecuteContract) XXX_Unmarshal(b []byte) error
- type MsgInstantiateContract
- func (*MsgInstantiateContract) Descriptor() ([]byte, []int)
- func (msg MsgInstantiateContract) GetSignBytes() []byte
- func (msg MsgInstantiateContract) GetSigners() []sdk.AccAddress
- func (m *MsgInstantiateContract) Marshal() (dAtA []byte, err error)
- func (m *MsgInstantiateContract) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgInstantiateContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgInstantiateContract) ProtoMessage()
- func (m *MsgInstantiateContract) Reset()
- func (msg MsgInstantiateContract) Route() string
- func (m *MsgInstantiateContract) Size() (n int)
- func (m *MsgInstantiateContract) String() string
- func (msg MsgInstantiateContract) Type() string
- func (m *MsgInstantiateContract) Unmarshal(dAtA []byte) error
- func (msg MsgInstantiateContract) ValidateBasic() error
- func (m *MsgInstantiateContract) XXX_DiscardUnknown()
- func (m *MsgInstantiateContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgInstantiateContract) XXX_Merge(src proto.Message)
- func (m *MsgInstantiateContract) XXX_Size() int
- func (m *MsgInstantiateContract) XXX_Unmarshal(b []byte) error
- type MsgMigrateContract
- func (*MsgMigrateContract) Descriptor() ([]byte, []int)
- func (msg MsgMigrateContract) GetSignBytes() []byte
- func (msg MsgMigrateContract) GetSigners() []sdk.AccAddress
- func (m *MsgMigrateContract) Marshal() (dAtA []byte, err error)
- func (m *MsgMigrateContract) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMigrateContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMigrateContract) ProtoMessage()
- func (m *MsgMigrateContract) Reset()
- func (msg MsgMigrateContract) Route() string
- func (m *MsgMigrateContract) Size() (n int)
- func (m *MsgMigrateContract) String() string
- func (msg MsgMigrateContract) Type() string
- func (m *MsgMigrateContract) Unmarshal(dAtA []byte) error
- func (msg MsgMigrateContract) ValidateBasic() error
- func (m *MsgMigrateContract) XXX_DiscardUnknown()
- func (m *MsgMigrateContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMigrateContract) XXX_Merge(src proto.Message)
- func (m *MsgMigrateContract) XXX_Size() int
- func (m *MsgMigrateContract) XXX_Unmarshal(b []byte) error
- type MsgStoreCode
- func (*MsgStoreCode) Descriptor() ([]byte, []int)
- func (msg MsgStoreCode) GetSignBytes() []byte
- func (msg MsgStoreCode) GetSigners() []sdk.AccAddress
- func (m *MsgStoreCode) Marshal() (dAtA []byte, err error)
- func (m *MsgStoreCode) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgStoreCode) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgStoreCode) ProtoMessage()
- func (m *MsgStoreCode) Reset()
- func (msg MsgStoreCode) Route() string
- func (m *MsgStoreCode) Size() (n int)
- func (m *MsgStoreCode) String() string
- func (msg MsgStoreCode) Type() string
- func (m *MsgStoreCode) Unmarshal(dAtA []byte) error
- func (msg MsgStoreCode) ValidateBasic() error
- func (m *MsgStoreCode) XXX_DiscardUnknown()
- func (m *MsgStoreCode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgStoreCode) XXX_Merge(src proto.Message)
- func (m *MsgStoreCode) XXX_Size() int
- func (m *MsgStoreCode) XXX_Unmarshal(b []byte) error
- type MsgUpdateAdmin
- func (*MsgUpdateAdmin) Descriptor() ([]byte, []int)
- 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 Params
- func (*Params) Descriptor() ([]byte, []int)
- func (this *Params) Equal(that interface{}) bool
- 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) ValidateBasic() 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 ProposalType
- type QueryAllContractStateRequest
- func (*QueryAllContractStateRequest) Descriptor() ([]byte, []int)
- func (this *QueryAllContractStateRequest) Equal(that interface{}) bool
- func (m *QueryAllContractStateRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllContractStateRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllContractStateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllContractStateRequest) ProtoMessage()
- func (m *QueryAllContractStateRequest) Reset()
- func (m *QueryAllContractStateRequest) Size() (n int)
- func (m *QueryAllContractStateRequest) String() string
- func (m *QueryAllContractStateRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllContractStateRequest) XXX_DiscardUnknown()
- func (m *QueryAllContractStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllContractStateRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllContractStateRequest) XXX_Size() int
- func (m *QueryAllContractStateRequest) XXX_Unmarshal(b []byte) error
- type QueryAllContractStateResponse
- func (*QueryAllContractStateResponse) Descriptor() ([]byte, []int)
- func (this *QueryAllContractStateResponse) Equal(that interface{}) bool
- func (m *QueryAllContractStateResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllContractStateResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllContractStateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllContractStateResponse) ProtoMessage()
- func (m *QueryAllContractStateResponse) Reset()
- func (m *QueryAllContractStateResponse) Size() (n int)
- func (m *QueryAllContractStateResponse) String() string
- func (m *QueryAllContractStateResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllContractStateResponse) XXX_DiscardUnknown()
- func (m *QueryAllContractStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllContractStateResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllContractStateResponse) XXX_Size() int
- func (m *QueryAllContractStateResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryCodeRequest
- func (*QueryCodeRequest) Descriptor() ([]byte, []int)
- func (this *QueryCodeRequest) Equal(that interface{}) bool
- func (m *QueryCodeRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryCodeRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCodeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCodeRequest) ProtoMessage()
- func (m *QueryCodeRequest) Reset()
- func (m *QueryCodeRequest) Size() (n int)
- func (m *QueryCodeRequest) String() string
- func (m *QueryCodeRequest) Unmarshal(dAtA []byte) error
- func (m *QueryCodeRequest) XXX_DiscardUnknown()
- func (m *QueryCodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCodeRequest) XXX_Merge(src proto.Message)
- func (m *QueryCodeRequest) XXX_Size() int
- func (m *QueryCodeRequest) XXX_Unmarshal(b []byte) error
- type QueryCodeResponse
- func (*QueryCodeResponse) Descriptor() ([]byte, []int)
- func (this *QueryCodeResponse) Equal(that interface{}) bool
- func (m *QueryCodeResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryCodeResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCodeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCodeResponse) ProtoMessage()
- func (m *QueryCodeResponse) Reset()
- func (m *QueryCodeResponse) Size() (n int)
- func (m *QueryCodeResponse) String() string
- func (m *QueryCodeResponse) Unmarshal(dAtA []byte) error
- func (m *QueryCodeResponse) XXX_DiscardUnknown()
- func (m *QueryCodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCodeResponse) XXX_Merge(src proto.Message)
- func (m *QueryCodeResponse) XXX_Size() int
- func (m *QueryCodeResponse) XXX_Unmarshal(b []byte) error
- type QueryCodesResponse
- func (*QueryCodesResponse) Descriptor() ([]byte, []int)
- func (this *QueryCodesResponse) Equal(that interface{}) bool
- func (m *QueryCodesResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryCodesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCodesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCodesResponse) ProtoMessage()
- func (m *QueryCodesResponse) Reset()
- func (m *QueryCodesResponse) Size() (n int)
- func (m *QueryCodesResponse) String() string
- func (m *QueryCodesResponse) Unmarshal(dAtA []byte) error
- func (m *QueryCodesResponse) XXX_DiscardUnknown()
- func (m *QueryCodesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCodesResponse) XXX_Merge(src proto.Message)
- func (m *QueryCodesResponse) XXX_Size() int
- func (m *QueryCodesResponse) XXX_Unmarshal(b []byte) error
- type QueryContractHistoryRequest
- func (*QueryContractHistoryRequest) Descriptor() ([]byte, []int)
- func (this *QueryContractHistoryRequest) Equal(that interface{}) bool
- func (m *QueryContractHistoryRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryContractHistoryRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryContractHistoryRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryContractHistoryRequest) ProtoMessage()
- func (m *QueryContractHistoryRequest) Reset()
- func (m *QueryContractHistoryRequest) Size() (n int)
- func (m *QueryContractHistoryRequest) String() string
- func (m *QueryContractHistoryRequest) Unmarshal(dAtA []byte) error
- func (m *QueryContractHistoryRequest) XXX_DiscardUnknown()
- func (m *QueryContractHistoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryContractHistoryRequest) XXX_Merge(src proto.Message)
- func (m *QueryContractHistoryRequest) XXX_Size() int
- func (m *QueryContractHistoryRequest) XXX_Unmarshal(b []byte) error
- type QueryContractHistoryResponse
- func (*QueryContractHistoryResponse) Descriptor() ([]byte, []int)
- func (this *QueryContractHistoryResponse) Equal(that interface{}) bool
- func (m *QueryContractHistoryResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryContractHistoryResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryContractHistoryResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryContractHistoryResponse) ProtoMessage()
- func (m *QueryContractHistoryResponse) Reset()
- func (m *QueryContractHistoryResponse) Size() (n int)
- func (m *QueryContractHistoryResponse) String() string
- func (m *QueryContractHistoryResponse) Unmarshal(dAtA []byte) error
- func (m *QueryContractHistoryResponse) XXX_DiscardUnknown()
- func (m *QueryContractHistoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryContractHistoryResponse) XXX_Merge(src proto.Message)
- func (m *QueryContractHistoryResponse) XXX_Size() int
- func (m *QueryContractHistoryResponse) XXX_Unmarshal(b []byte) error
- type QueryContractInfoRequest
- func (*QueryContractInfoRequest) Descriptor() ([]byte, []int)
- func (this *QueryContractInfoRequest) Equal(that interface{}) bool
- func (m *QueryContractInfoRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryContractInfoRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryContractInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryContractInfoRequest) ProtoMessage()
- func (m *QueryContractInfoRequest) Reset()
- func (m *QueryContractInfoRequest) Size() (n int)
- func (m *QueryContractInfoRequest) String() string
- func (m *QueryContractInfoRequest) Unmarshal(dAtA []byte) error
- func (m *QueryContractInfoRequest) XXX_DiscardUnknown()
- func (m *QueryContractInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryContractInfoRequest) XXX_Merge(src proto.Message)
- func (m *QueryContractInfoRequest) XXX_Size() int
- func (m *QueryContractInfoRequest) XXX_Unmarshal(b []byte) error
- type QueryContractInfoResponse
- func (*QueryContractInfoResponse) Descriptor() ([]byte, []int)
- func (this *QueryContractInfoResponse) Equal(that interface{}) bool
- func (m *QueryContractInfoResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryContractInfoResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryContractInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryContractInfoResponse) ProtoMessage()
- func (m *QueryContractInfoResponse) Reset()
- func (m *QueryContractInfoResponse) Size() (n int)
- func (m *QueryContractInfoResponse) String() string
- func (m *QueryContractInfoResponse) Unmarshal(dAtA []byte) error
- func (m *QueryContractInfoResponse) XXX_DiscardUnknown()
- func (m *QueryContractInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryContractInfoResponse) XXX_Merge(src proto.Message)
- func (m *QueryContractInfoResponse) XXX_Size() int
- func (m *QueryContractInfoResponse) XXX_Unmarshal(b []byte) error
- type QueryContractsByCodeRequest
- func (*QueryContractsByCodeRequest) Descriptor() ([]byte, []int)
- func (this *QueryContractsByCodeRequest) Equal(that interface{}) bool
- func (m *QueryContractsByCodeRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryContractsByCodeRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryContractsByCodeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryContractsByCodeRequest) ProtoMessage()
- func (m *QueryContractsByCodeRequest) Reset()
- func (m *QueryContractsByCodeRequest) Size() (n int)
- func (m *QueryContractsByCodeRequest) String() string
- func (m *QueryContractsByCodeRequest) Unmarshal(dAtA []byte) error
- func (m *QueryContractsByCodeRequest) XXX_DiscardUnknown()
- func (m *QueryContractsByCodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryContractsByCodeRequest) XXX_Merge(src proto.Message)
- func (m *QueryContractsByCodeRequest) XXX_Size() int
- func (m *QueryContractsByCodeRequest) XXX_Unmarshal(b []byte) error
- type QueryContractsByCodeResponse
- func (*QueryContractsByCodeResponse) Descriptor() ([]byte, []int)
- func (this *QueryContractsByCodeResponse) Equal(that interface{}) bool
- func (m *QueryContractsByCodeResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryContractsByCodeResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryContractsByCodeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryContractsByCodeResponse) ProtoMessage()
- func (m *QueryContractsByCodeResponse) Reset()
- func (m *QueryContractsByCodeResponse) Size() (n int)
- func (m *QueryContractsByCodeResponse) String() string
- func (m *QueryContractsByCodeResponse) Unmarshal(dAtA []byte) error
- func (m *QueryContractsByCodeResponse) XXX_DiscardUnknown()
- func (m *QueryContractsByCodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryContractsByCodeResponse) XXX_Merge(src proto.Message)
- func (m *QueryContractsByCodeResponse) XXX_Size() int
- func (m *QueryContractsByCodeResponse) XXX_Unmarshal(b []byte) error
- type QueryRawContractStateRequest
- func (*QueryRawContractStateRequest) Descriptor() ([]byte, []int)
- func (this *QueryRawContractStateRequest) Equal(that interface{}) bool
- func (m *QueryRawContractStateRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryRawContractStateRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryRawContractStateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryRawContractStateRequest) ProtoMessage()
- func (m *QueryRawContractStateRequest) Reset()
- func (m *QueryRawContractStateRequest) Size() (n int)
- func (m *QueryRawContractStateRequest) String() string
- func (m *QueryRawContractStateRequest) Unmarshal(dAtA []byte) error
- func (m *QueryRawContractStateRequest) XXX_DiscardUnknown()
- func (m *QueryRawContractStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryRawContractStateRequest) XXX_Merge(src proto.Message)
- func (m *QueryRawContractStateRequest) XXX_Size() int
- func (m *QueryRawContractStateRequest) XXX_Unmarshal(b []byte) error
- type QueryRawContractStateResponse
- func (*QueryRawContractStateResponse) Descriptor() ([]byte, []int)
- func (this *QueryRawContractStateResponse) Equal(that interface{}) bool
- func (m *QueryRawContractStateResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryRawContractStateResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryRawContractStateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryRawContractStateResponse) ProtoMessage()
- func (m *QueryRawContractStateResponse) Reset()
- func (m *QueryRawContractStateResponse) Size() (n int)
- func (m *QueryRawContractStateResponse) String() string
- func (m *QueryRawContractStateResponse) Unmarshal(dAtA []byte) error
- func (m *QueryRawContractStateResponse) XXX_DiscardUnknown()
- func (m *QueryRawContractStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryRawContractStateResponse) XXX_Merge(src proto.Message)
- func (m *QueryRawContractStateResponse) XXX_Size() int
- func (m *QueryRawContractStateResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type QuerySmartContractStateRequest
- func (*QuerySmartContractStateRequest) Descriptor() ([]byte, []int)
- func (this *QuerySmartContractStateRequest) Equal(that interface{}) bool
- func (m *QuerySmartContractStateRequest) Marshal() (dAtA []byte, err error)
- func (m *QuerySmartContractStateRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySmartContractStateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySmartContractStateRequest) ProtoMessage()
- func (m *QuerySmartContractStateRequest) Reset()
- func (m *QuerySmartContractStateRequest) Size() (n int)
- func (m *QuerySmartContractStateRequest) String() string
- func (m *QuerySmartContractStateRequest) Unmarshal(dAtA []byte) error
- func (m *QuerySmartContractStateRequest) XXX_DiscardUnknown()
- func (m *QuerySmartContractStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySmartContractStateRequest) XXX_Merge(src proto.Message)
- func (m *QuerySmartContractStateRequest) XXX_Size() int
- func (m *QuerySmartContractStateRequest) XXX_Unmarshal(b []byte) error
- type QuerySmartContractStateResponse
- func (*QuerySmartContractStateResponse) Descriptor() ([]byte, []int)
- func (this *QuerySmartContractStateResponse) Equal(that interface{}) bool
- func (m *QuerySmartContractStateResponse) Marshal() (dAtA []byte, err error)
- func (m *QuerySmartContractStateResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySmartContractStateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySmartContractStateResponse) ProtoMessage()
- func (m *QuerySmartContractStateResponse) Reset()
- func (m *QuerySmartContractStateResponse) Size() (n int)
- func (m *QuerySmartContractStateResponse) String() string
- func (m *QuerySmartContractStateResponse) Unmarshal(dAtA []byte) error
- func (m *QuerySmartContractStateResponse) XXX_DiscardUnknown()
- func (m *QuerySmartContractStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySmartContractStateResponse) XXX_Merge(src proto.Message)
- func (m *QuerySmartContractStateResponse) XXX_Size() int
- func (m *QuerySmartContractStateResponse) XXX_Unmarshal(b []byte) error
- type Sequence
- func (*Sequence) Descriptor() ([]byte, []int)
- func (m *Sequence) GetIDKey() []byte
- func (m *Sequence) GetValue() uint64
- func (m *Sequence) Marshal() (dAtA []byte, err error)
- func (m *Sequence) MarshalTo(dAtA []byte) (int, error)
- func (m *Sequence) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Sequence) ProtoMessage()
- func (m *Sequence) Reset()
- func (m *Sequence) Size() (n int)
- func (m *Sequence) String() string
- func (m *Sequence) Unmarshal(dAtA []byte) error
- func (s Sequence) ValidateBasic() error
- func (m *Sequence) XXX_DiscardUnknown()
- func (m *Sequence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Sequence) XXX_Merge(src proto.Message)
- func (m *Sequence) XXX_Size() int
- func (m *Sequence) XXX_Unmarshal(b []byte) error
- type StoreCodeProposal
- func (*StoreCodeProposal) Descriptor() ([]byte, []int)
- func (this *StoreCodeProposal) Equal(that interface{}) bool
- func (p StoreCodeProposal) GetDescription() string
- func (p *StoreCodeProposal) GetTitle() string
- func (m *StoreCodeProposal) Marshal() (dAtA []byte, err error)
- func (m *StoreCodeProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *StoreCodeProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p StoreCodeProposal) MarshalYAML() (interface{}, error)
- func (p StoreCodeProposal) ProposalRoute() string
- func (p StoreCodeProposal) ProposalType() string
- func (*StoreCodeProposal) ProtoMessage()
- func (m *StoreCodeProposal) Reset()
- func (m *StoreCodeProposal) Size() (n int)
- func (p StoreCodeProposal) String() string
- func (m *StoreCodeProposal) Unmarshal(dAtA []byte) error
- func (p StoreCodeProposal) ValidateBasic() error
- func (m *StoreCodeProposal) XXX_DiscardUnknown()
- func (m *StoreCodeProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StoreCodeProposal) XXX_Merge(src proto.Message)
- func (m *StoreCodeProposal) XXX_Size() int
- func (m *StoreCodeProposal) XXX_Unmarshal(b []byte) error
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) AllContractState(ctx context.Context, req *QueryAllContractStateRequest) (*QueryAllContractStateResponse, error)
- func (*UnimplementedQueryServer) Code(ctx context.Context, req *QueryCodeRequest) (*QueryCodeResponse, error)
- func (*UnimplementedQueryServer) Codes(ctx context.Context, req *empty.Empty) (*QueryCodesResponse, error)
- func (*UnimplementedQueryServer) ContractHistory(ctx context.Context, req *QueryContractHistoryRequest) (*QueryContractHistoryResponse, error)
- func (*UnimplementedQueryServer) ContractInfo(ctx context.Context, req *QueryContractInfoRequest) (*QueryContractInfoResponse, error)
- func (*UnimplementedQueryServer) ContractsByCode(ctx context.Context, req *QueryContractsByCodeRequest) (*QueryContractsByCodeResponse, error)
- func (*UnimplementedQueryServer) RawContractState(ctx context.Context, req *QueryRawContractStateRequest) (*QueryRawContractStateResponse, error)
- func (*UnimplementedQueryServer) SmartContractState(ctx context.Context, req *QuerySmartContractStateRequest) (*QuerySmartContractStateResponse, error)
- type UpdateAdminProposal
- func (*UpdateAdminProposal) Descriptor() ([]byte, []int)
- func (this *UpdateAdminProposal) Equal(that interface{}) bool
- func (p UpdateAdminProposal) GetDescription() string
- func (p *UpdateAdminProposal) GetTitle() string
- func (m *UpdateAdminProposal) Marshal() (dAtA []byte, err error)
- func (m *UpdateAdminProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *UpdateAdminProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p UpdateAdminProposal) ProposalRoute() string
- func (p UpdateAdminProposal) ProposalType() string
- func (*UpdateAdminProposal) ProtoMessage()
- func (m *UpdateAdminProposal) Reset()
- func (m *UpdateAdminProposal) Size() (n int)
- func (p UpdateAdminProposal) String() string
- func (m *UpdateAdminProposal) Unmarshal(dAtA []byte) error
- func (p UpdateAdminProposal) ValidateBasic() error
- func (m *UpdateAdminProposal) XXX_DiscardUnknown()
- func (m *UpdateAdminProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateAdminProposal) XXX_Merge(src proto.Message)
- func (m *UpdateAdminProposal) XXX_Size() int
- func (m *UpdateAdminProposal) XXX_Unmarshal(b []byte) error
- type WasmConfig
Constants ¶
const ( // ModuleName is the name of the contract module ModuleName = "wasm" // StoreKey is the string store representation StoreKey = ModuleName // TStoreKey is the string transient store representation TStoreKey = "transient_" + ModuleName // QuerierRoute is the querier route for the staking module QuerierRoute = ModuleName // RouterKey is the msg router key for the staking module RouterKey = ModuleName )
const ( AttributeKeyContract = "contract_address" AttributeKeyCodeID = "code_id" AttributeKeySigner = "signer" )
const ( MaxWasmSize = 500 * 1024 // MaxLabelSize is the longest label that can be used when Instantiating a contract MaxLabelSize = 128 // BuildTagRegexp is a docker image regexp. // We only support max 128 characters, with at least one organization name (subset of all legal names). // // Details from https://docs.docker.com/engine/reference/commandline/tag/#extended-description : // // An image name is made up of slash-separated name components (optionally prefixed by a registry hostname). // Name components may contain lowercase characters, digits and separators. // A separator is defined as a period, one or two underscores, or one or more dashes. A name component may not start or end with a separator. // // A tag name must be valid ASCII and may contain lowercase and uppercase letters, digits, underscores, periods and dashes. // A tag name may not start with a period or a dash and may contain a maximum of 128 characters. BuildTagRegexp = "^[a-z0-9][a-z0-9._-]*[a-z0-9](/[a-z0-9][a-z0-9._-]*[a-z0-9])+:[a-zA-Z0-9_][a-zA-Z0-9_.-]*$" MaxBuildTagSize = 128 )
const AttributeKeyContractAddr = "contract_address"
const CustomEventType = "wasm"
const ( // DefaultParamspace for params keeper DefaultParamspace = ModuleName )
Variables ¶
var ( DefaultCodespace = ModuleName // ErrCreateFailed error for wasm code that has already been uploaded or failed ErrCreateFailed = sdkErrors.Register(DefaultCodespace, 2, "create wasm contract failed") // ErrAccountExists error for a contract account that already exists ErrAccountExists = sdkErrors.Register(DefaultCodespace, 3, "contract account already exists") // ErrInstantiateFailed error for rust instantiate contract failure ErrInstantiateFailed = sdkErrors.Register(DefaultCodespace, 4, "instantiate wasm contract failed") // ErrExecuteFailed error for rust execution contract failure ErrExecuteFailed = sdkErrors.Register(DefaultCodespace, 5, "execute wasm contract failed") // ErrGasLimit error for out of gas ErrGasLimit = sdkErrors.Register(DefaultCodespace, 6, "insufficient gas") // ErrInvalidGenesis error for invalid genesis file syntax ErrInvalidGenesis = sdkErrors.Register(DefaultCodespace, 7, "invalid genesis") // ErrNotFound error for an entry not found in the store ErrNotFound = sdkErrors.Register(DefaultCodespace, 8, "not found") // ErrQueryFailed error for rust smart query contract failure ErrQueryFailed = sdkErrors.Register(DefaultCodespace, 9, "query wasm contract failed") // ErrInvalidMsg error when we cannot process the error returned from the contract ErrInvalidMsg = sdkErrors.Register(DefaultCodespace, 10, "invalid CosmosMsg from the contract") // ErrMigrationFailed error for rust execution contract failure ErrMigrationFailed = sdkErrors.Register(DefaultCodespace, 11, "migrate wasm contract failed") // ErrEmpty error for empty content ErrEmpty = sdkErrors.Register(DefaultCodespace, 12, "empty") // ErrLimit error for content that exceeds a limit ErrLimit = sdkErrors.Register(DefaultCodespace, 13, "exceeds limit") // ErrInvalid error for content that is invalid in this context ErrInvalid = sdkErrors.Register(DefaultCodespace, 14, "invalid") // ErrDuplicate error for content that exsists ErrDuplicate = sdkErrors.Register(DefaultCodespace, 15, "duplicate") )
Codes for wasm contract errors
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 ( CodeKeyPrefix = []byte{0x01} ContractKeyPrefix = []byte{0x02} ContractStorePrefix = []byte{0x03} SequenceKeyPrefix = []byte{0x04} ContractHistoryStorePrefix = []byte{0x05} KeyLastCodeID = append(SequenceKeyPrefix, []byte("lastCodeId")...) KeyLastInstanceID = append(SequenceKeyPrefix, []byte("lastContractId")...) )
nolint
var ( ErrInvalidLengthMsg = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMsg = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMsg = fmt.Errorf("proto: unexpected end of group") )
var ( DefaultUploadAccess = AllowEverybody AllowEverybody = AccessConfig{Permission: AccessTypeEverybody} AllowNobody = AccessConfig{Permission: AccessTypeNobody} )
var ( ErrInvalidLengthProposal = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowProposal = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupProposal = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group") )
var AccessType_name = map[int32]string{
0: "UNDEFINED",
1: "NOBODY",
2: "ONLY_ADDRESS",
3: "EVERYBODY",
}
var AccessType_value = map[string]int32{
"UNDEFINED": 0,
"NOBODY": 1,
"ONLY_ADDRESS": 2,
"EVERYBODY": 3,
}
var AllAccessTypes = []AccessType{ AccessTypeNobody, AccessTypeOnlyAddress, AccessTypeEverybody, }
var AllCodeHistoryTypes = []ContractCodeHistoryOperationType{ContractCodeHistoryTypeGenesis, ContractCodeHistoryTypeInit, ContractCodeHistoryTypeMigrate}
var ContractCodeHistoryOperationType_name = map[int32]string{
0: "Undefined",
1: "Init",
2: "Migrate",
3: "Genesis",
}
var ContractCodeHistoryOperationType_value = map[string]int32{
"Undefined": 0,
"Init": 1,
"Migrate": 2,
"Genesis": 3,
}
var DisableAllProposals []ProposalType
DisableAllProposals contains no wasm gov types.
var EnableAllProposals = []ProposalType{ ProposalTypeStoreCode, ProposalTypeInstantiateContract, ProposalTypeMigrateContract, ProposalTypeUpdateAdmin, ProposalTypeClearAdmin, }
EnableAllProposals contains all wasm gov types as keys.
var (
ModuleCdc = codec.NewAminoCodec(amino)
)
var ParamStoreKeyInstantiateAccess = []byte("instantiateAccess")
var ParamStoreKeyUploadAccess = []byte("uploadAccess")
Functions ¶
func GetCodeKey ¶
GetCodeKey constructs the key for retreiving the ID for the WASM code
func GetContractAddressKey ¶
func GetContractAddressKey(addr sdk.AccAddress) []byte
GetContractAddressKey returns the key for the WASM contract instance
func GetContractStorePrefixKey ¶
func GetContractStorePrefixKey(addr sdk.AccAddress) []byte
GetContractStorePrefixKey returns the store prefix for the WASM contract instance
func NewInfo ¶ added in v0.11.0
func NewInfo(creator sdk.AccAddress, deposit sdk.Coins) wasmTypes.MessageInfo
NewInfo initializes the MessageInfo for a contract instance
func NewWasmCoins ¶
NewWasmCoins translates between Cosmos SDK coins and Wasm coins
func OnlyGenesisFields ¶ added in v0.10.0
func OnlyGenesisFields(info *ContractInfo)
func ParamKeyTable ¶ added in v0.10.0
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable returns the parameter key table.
func ParseEvents ¶ added in v0.9.0
func ParseEvents(logs []wasmTypes.EventAttribute, contractAddr sdk.AccAddress) sdk.Events
ParseEvents converts wasm LogAttributes into an sdk.Events (with 0 or 1 elements)
func RegisterInterfaces ¶ added in v0.12.0
func RegisterInterfaces(registry types.InterfaceRegistry)
func RegisterLegacyAminoCodec ¶ added in v0.12.0
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
RegisterLegacyAminoCodec registers the account types and interface
func RegisterQueryHandler ¶ added in v0.12.0
RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryHandlerClient ¶ added in v0.12.0
func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.
func RegisterQueryHandlerFromEndpoint ¶ added in v0.12.0
func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQueryHandlerServer ¶ added in v0.12.0
func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶ added in v0.12.0
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
func ValidateGenesis ¶
func ValidateGenesis(data GenesisState) error
ValidateGenesis performs basic validation of supply genesis data returning an error for any failed validation criteria.
func WithSHA256CodeHash ¶ added in v0.10.0
Types ¶
type AbsoluteTxPosition ¶ added in v0.9.0
type AbsoluteTxPosition struct { // BlockHeight is the block the contract was created at BlockHeight int64 `protobuf:"varint,1,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` // TxIndex is a monotonic counter within the block (actual transaction index, or gas consumed) TxIndex uint64 `protobuf:"varint,2,opt,name=tx_index,json=txIndex,proto3" json:"tx_index,omitempty"` }
AbsoluteTxPosition can be used to sort contracts
func NewAbsoluteTxPosition ¶ added in v0.10.0
func NewAbsoluteTxPosition(ctx sdk.Context) *AbsoluteTxPosition
NewAbsoluteTxPosition gets a timestamp from the context
func (*AbsoluteTxPosition) Descriptor ¶ added in v0.12.0
func (*AbsoluteTxPosition) Descriptor() ([]byte, []int)
func (*AbsoluteTxPosition) Equal ¶ added in v0.12.0
func (this *AbsoluteTxPosition) Equal(that interface{}) bool
func (*AbsoluteTxPosition) LessThan ¶ added in v0.9.0
func (a *AbsoluteTxPosition) LessThan(b *AbsoluteTxPosition) bool
LessThan can be used to sort
func (*AbsoluteTxPosition) Marshal ¶ added in v0.12.0
func (m *AbsoluteTxPosition) Marshal() (dAtA []byte, err error)
func (*AbsoluteTxPosition) MarshalTo ¶ added in v0.12.0
func (m *AbsoluteTxPosition) MarshalTo(dAtA []byte) (int, error)
func (*AbsoluteTxPosition) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *AbsoluteTxPosition) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AbsoluteTxPosition) ProtoMessage ¶ added in v0.12.0
func (*AbsoluteTxPosition) ProtoMessage()
func (*AbsoluteTxPosition) Reset ¶ added in v0.12.0
func (m *AbsoluteTxPosition) Reset()
func (*AbsoluteTxPosition) Size ¶ added in v0.12.0
func (m *AbsoluteTxPosition) Size() (n int)
func (*AbsoluteTxPosition) String ¶ added in v0.12.0
func (m *AbsoluteTxPosition) String() string
func (*AbsoluteTxPosition) Unmarshal ¶ added in v0.12.0
func (m *AbsoluteTxPosition) Unmarshal(dAtA []byte) error
func (*AbsoluteTxPosition) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *AbsoluteTxPosition) XXX_DiscardUnknown()
func (*AbsoluteTxPosition) XXX_Marshal ¶ added in v0.12.0
func (m *AbsoluteTxPosition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AbsoluteTxPosition) XXX_Merge ¶ added in v0.12.0
func (m *AbsoluteTxPosition) XXX_Merge(src proto.Message)
func (*AbsoluteTxPosition) XXX_Size ¶ added in v0.12.0
func (m *AbsoluteTxPosition) XXX_Size() int
func (*AbsoluteTxPosition) XXX_Unmarshal ¶ added in v0.12.0
func (m *AbsoluteTxPosition) XXX_Unmarshal(b []byte) error
type AccessConfig ¶ added in v0.10.0
type AccessConfig struct { Permission AccessType `` /* 130-byte string literal not displayed */ Address github_com_cosmos_cosmos_sdk_types.AccAddress `` /* 137-byte string literal not displayed */ }
func (AccessConfig) Allowed ¶ added in v0.10.0
func (v AccessConfig) Allowed(actor sdk.AccAddress) bool
func (*AccessConfig) Descriptor ¶ added in v0.12.0
func (*AccessConfig) Descriptor() ([]byte, []int)
func (*AccessConfig) Equal ¶ added in v0.12.0
func (this *AccessConfig) Equal(that interface{}) bool
func (AccessConfig) Equals ¶ added in v0.10.0
func (a AccessConfig) Equals(o AccessConfig) bool
func (*AccessConfig) Marshal ¶ added in v0.12.0
func (m *AccessConfig) Marshal() (dAtA []byte, err error)
func (*AccessConfig) MarshalTo ¶ added in v0.12.0
func (m *AccessConfig) MarshalTo(dAtA []byte) (int, error)
func (*AccessConfig) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *AccessConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AccessConfig) ProtoMessage ¶ added in v0.12.0
func (*AccessConfig) ProtoMessage()
func (*AccessConfig) Reset ¶ added in v0.12.0
func (m *AccessConfig) Reset()
func (*AccessConfig) Size ¶ added in v0.12.0
func (m *AccessConfig) Size() (n int)
func (*AccessConfig) String ¶ added in v0.12.0
func (m *AccessConfig) String() string
func (*AccessConfig) Unmarshal ¶ added in v0.12.0
func (m *AccessConfig) Unmarshal(dAtA []byte) error
func (AccessConfig) ValidateBasic ¶ added in v0.10.0
func (v AccessConfig) ValidateBasic() error
func (*AccessConfig) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *AccessConfig) XXX_DiscardUnknown()
func (*AccessConfig) XXX_Marshal ¶ added in v0.12.0
func (m *AccessConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccessConfig) XXX_Merge ¶ added in v0.12.0
func (m *AccessConfig) XXX_Merge(src proto.Message)
func (*AccessConfig) XXX_Size ¶ added in v0.12.0
func (m *AccessConfig) XXX_Size() int
func (*AccessConfig) XXX_Unmarshal ¶ added in v0.12.0
func (m *AccessConfig) XXX_Unmarshal(b []byte) error
type AccessType ¶ added in v0.10.0
type AccessType int32
const ( AccessTypeUndefined AccessType = 0 AccessTypeNobody AccessType = 1 AccessTypeOnlyAddress AccessType = 2 AccessTypeEverybody AccessType = 3 )
func (AccessType) EnumDescriptor ¶ added in v0.12.0
func (AccessType) EnumDescriptor() ([]byte, []int)
func (*AccessType) MarshalJSONPB ¶ added in v0.12.0
func (a *AccessType) MarshalJSONPB(_ *jsonpb.Marshaler) ([]byte, error)
func (AccessType) MarshalText ¶ added in v0.10.0
func (a AccessType) MarshalText() ([]byte, error)
func (AccessType) String ¶ added in v0.12.0
func (a AccessType) String() string
func (*AccessType) UnmarshalJSONPB ¶ added in v0.12.0
func (a *AccessType) UnmarshalJSONPB(_ *jsonpb.Unmarshaler, data []byte) error
func (*AccessType) UnmarshalText ¶ added in v0.10.0
func (a *AccessType) UnmarshalText(text []byte) error
func (AccessType) With ¶ added in v0.10.0
func (a AccessType) With(addr sdk.AccAddress) AccessConfig
type AccessTypeParam ¶ added in v0.12.0
type AccessTypeParam struct {
Value AccessType `protobuf:"varint,1,opt,name=value,proto3,enum=wasmd.x.wasmd.v1beta1.AccessType" json:"value,omitempty" yaml:"value"`
}
func (*AccessTypeParam) Descriptor ¶ added in v0.12.0
func (*AccessTypeParam) Descriptor() ([]byte, []int)
func (*AccessTypeParam) Equal ¶ added in v0.12.0
func (this *AccessTypeParam) Equal(that interface{}) bool
func (*AccessTypeParam) Marshal ¶ added in v0.12.0
func (m *AccessTypeParam) Marshal() (dAtA []byte, err error)
func (*AccessTypeParam) MarshalTo ¶ added in v0.12.0
func (m *AccessTypeParam) MarshalTo(dAtA []byte) (int, error)
func (*AccessTypeParam) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *AccessTypeParam) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AccessTypeParam) ProtoMessage ¶ added in v0.12.0
func (*AccessTypeParam) ProtoMessage()
func (*AccessTypeParam) Reset ¶ added in v0.12.0
func (m *AccessTypeParam) Reset()
func (*AccessTypeParam) Size ¶ added in v0.12.0
func (m *AccessTypeParam) Size() (n int)
func (*AccessTypeParam) String ¶ added in v0.12.0
func (m *AccessTypeParam) String() string
func (*AccessTypeParam) Unmarshal ¶ added in v0.12.0
func (m *AccessTypeParam) Unmarshal(dAtA []byte) error
func (*AccessTypeParam) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *AccessTypeParam) XXX_DiscardUnknown()
func (*AccessTypeParam) XXX_Marshal ¶ added in v0.12.0
func (m *AccessTypeParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccessTypeParam) XXX_Merge ¶ added in v0.12.0
func (m *AccessTypeParam) XXX_Merge(src proto.Message)
func (*AccessTypeParam) XXX_Size ¶ added in v0.12.0
func (m *AccessTypeParam) XXX_Size() int
func (*AccessTypeParam) XXX_Unmarshal ¶ added in v0.12.0
func (m *AccessTypeParam) XXX_Unmarshal(b []byte) error
type ClearAdminProposal ¶ added in v0.10.0
type ClearAdminProposal struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Contract github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,3,opt,name=contract,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"contract,omitempty"` }
ClearAdminProposal gov proposal content type to clear the admin of a contract.
func ClearAdminProposalFixture ¶ added in v0.10.0
func ClearAdminProposalFixture(mutators ...func(p *ClearAdminProposal)) *ClearAdminProposal
func (*ClearAdminProposal) Descriptor ¶ added in v0.12.0
func (*ClearAdminProposal) Descriptor() ([]byte, []int)
func (*ClearAdminProposal) Equal ¶ added in v0.12.0
func (this *ClearAdminProposal) Equal(that interface{}) bool
func (ClearAdminProposal) GetDescription ¶ added in v0.12.0
func (p ClearAdminProposal) GetDescription() string
GetDescription returns the human readable description of the proposal
func (*ClearAdminProposal) GetTitle ¶ added in v0.12.0
func (p *ClearAdminProposal) GetTitle() string
GetTitle returns the title of the proposal
func (*ClearAdminProposal) Marshal ¶ added in v0.12.0
func (m *ClearAdminProposal) Marshal() (dAtA []byte, err error)
func (*ClearAdminProposal) MarshalTo ¶ added in v0.12.0
func (m *ClearAdminProposal) MarshalTo(dAtA []byte) (int, error)
func (*ClearAdminProposal) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *ClearAdminProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (ClearAdminProposal) ProposalRoute ¶ added in v0.12.0
func (p ClearAdminProposal) ProposalRoute() string
ProposalRoute returns the routing key of a parameter change proposal.
func (ClearAdminProposal) ProposalType ¶ added in v0.10.0
func (p ClearAdminProposal) ProposalType() string
ProposalType returns the type
func (*ClearAdminProposal) ProtoMessage ¶ added in v0.12.0
func (*ClearAdminProposal) ProtoMessage()
func (*ClearAdminProposal) Reset ¶ added in v0.12.0
func (m *ClearAdminProposal) Reset()
func (*ClearAdminProposal) Size ¶ added in v0.12.0
func (m *ClearAdminProposal) Size() (n int)
func (ClearAdminProposal) String ¶ added in v0.10.0
func (p ClearAdminProposal) String() string
String implements the Stringer interface.
func (*ClearAdminProposal) Unmarshal ¶ added in v0.12.0
func (m *ClearAdminProposal) Unmarshal(dAtA []byte) error
func (ClearAdminProposal) ValidateBasic ¶ added in v0.10.0
func (p ClearAdminProposal) ValidateBasic() error
ValidateBasic validates the proposal
func (*ClearAdminProposal) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *ClearAdminProposal) XXX_DiscardUnknown()
func (*ClearAdminProposal) XXX_Marshal ¶ added in v0.12.0
func (m *ClearAdminProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClearAdminProposal) XXX_Merge ¶ added in v0.12.0
func (m *ClearAdminProposal) XXX_Merge(src proto.Message)
func (*ClearAdminProposal) XXX_Size ¶ added in v0.12.0
func (m *ClearAdminProposal) XXX_Size() int
func (*ClearAdminProposal) XXX_Unmarshal ¶ added in v0.12.0
func (m *ClearAdminProposal) XXX_Unmarshal(b []byte) error
type Code ¶
type Code struct { CodeID uint64 `protobuf:"varint,1,opt,name=code_id,json=codeId,proto3" json:"code_id,omitempty"` CodeInfo CodeInfo `protobuf:"bytes,2,opt,name=code_info,json=codeInfo,proto3" json:"code_info"` CodeBytes []byte `protobuf:"bytes,3,opt,name=code_bytes,json=codeBytes,proto3" json:"code_bytes,omitempty"` }
Code struct encompasses CodeInfo and CodeBytes
func CodeFixture ¶ added in v0.9.0
func (*Code) Descriptor ¶ added in v0.12.0
func (*Code) GetCodeBytes ¶ added in v0.12.0
func (*Code) GetCodeInfo ¶ added in v0.12.0
func (*Code) MarshalToSizedBuffer ¶ added in v0.12.0
func (*Code) ProtoMessage ¶ added in v0.12.0
func (*Code) ProtoMessage()
func (Code) ValidateBasic ¶ added in v0.9.0
func (*Code) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *Code) XXX_DiscardUnknown()
func (*Code) XXX_Marshal ¶ added in v0.12.0
func (*Code) XXX_Unmarshal ¶ added in v0.12.0
type CodeInfo ¶
type CodeInfo struct { CodeHash []byte `protobuf:"bytes,1,opt,name=code_hash,json=codeHash,proto3" json:"code_hash,omitempty"` Creator github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,2,opt,name=creator,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"creator,omitempty"` Source string `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"` Builder string `protobuf:"bytes,4,opt,name=builder,proto3" json:"builder,omitempty"` InstantiateConfig AccessConfig `protobuf:"bytes,5,opt,name=instantiate_config,json=instantiateConfig,proto3" json:"instantiate_config"` }
CodeInfo is data for the uploaded contract WASM code
func CodeInfoFixture ¶ added in v0.9.0
func NewCodeInfo ¶
func NewCodeInfo(codeHash []byte, creator sdk.AccAddress, source string, builder string, instantiatePermission AccessConfig) CodeInfo
NewCodeInfo fills a new Contract struct
func (*CodeInfo) Descriptor ¶ added in v0.12.0
func (*CodeInfo) MarshalToSizedBuffer ¶ added in v0.12.0
func (*CodeInfo) ProtoMessage ¶ added in v0.12.0
func (*CodeInfo) ProtoMessage()
func (CodeInfo) ValidateBasic ¶ added in v0.9.0
func (*CodeInfo) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *CodeInfo) XXX_DiscardUnknown()
func (*CodeInfo) XXX_Marshal ¶ added in v0.12.0
func (*CodeInfo) XXX_Unmarshal ¶ added in v0.12.0
type CodeInfoResponse ¶ added in v0.12.0
type CodeInfoResponse struct { CodeID uint64 `protobuf:"varint,1,opt,name=code_id,json=codeId,proto3" json:"id"` Creator github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,2,opt,name=creator,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"creator,omitempty"` DataHash github_com_tendermint_tendermint_libs_bytes.HexBytes `` /* 147-byte string literal not displayed */ Source string `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"` Builder string `protobuf:"bytes,5,opt,name=builder,proto3" json:"builder,omitempty"` }
func (*CodeInfoResponse) Descriptor ¶ added in v0.12.0
func (*CodeInfoResponse) Descriptor() ([]byte, []int)
func (*CodeInfoResponse) Equal ¶ added in v0.12.0
func (this *CodeInfoResponse) Equal(that interface{}) bool
func (*CodeInfoResponse) Marshal ¶ added in v0.12.0
func (m *CodeInfoResponse) Marshal() (dAtA []byte, err error)
func (*CodeInfoResponse) MarshalTo ¶ added in v0.12.0
func (m *CodeInfoResponse) MarshalTo(dAtA []byte) (int, error)
func (*CodeInfoResponse) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *CodeInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CodeInfoResponse) ProtoMessage ¶ added in v0.12.0
func (*CodeInfoResponse) ProtoMessage()
func (*CodeInfoResponse) Reset ¶ added in v0.12.0
func (m *CodeInfoResponse) Reset()
func (*CodeInfoResponse) Size ¶ added in v0.12.0
func (m *CodeInfoResponse) Size() (n int)
func (*CodeInfoResponse) String ¶ added in v0.12.0
func (m *CodeInfoResponse) String() string
func (*CodeInfoResponse) Unmarshal ¶ added in v0.12.0
func (m *CodeInfoResponse) Unmarshal(dAtA []byte) error
func (*CodeInfoResponse) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *CodeInfoResponse) XXX_DiscardUnknown()
func (*CodeInfoResponse) XXX_Marshal ¶ added in v0.12.0
func (m *CodeInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CodeInfoResponse) XXX_Merge ¶ added in v0.12.0
func (m *CodeInfoResponse) XXX_Merge(src proto.Message)
func (*CodeInfoResponse) XXX_Size ¶ added in v0.12.0
func (m *CodeInfoResponse) XXX_Size() int
func (*CodeInfoResponse) XXX_Unmarshal ¶ added in v0.12.0
func (m *CodeInfoResponse) XXX_Unmarshal(b []byte) error
type Contract ¶
type Contract struct { ContractAddress github_com_cosmos_cosmos_sdk_types.AccAddress `` /* 161-byte string literal not displayed */ ContractInfo ContractInfo `protobuf:"bytes,2,opt,name=contract_info,json=contractInfo,proto3" json:"contract_info"` ContractState []Model `protobuf:"bytes,3,rep,name=contract_state,json=contractState,proto3" json:"contract_state"` }
Contract struct encompasses ContractAddress, ContractInfo, and ContractState
func ContractFixture ¶ added in v0.9.0
func (*Contract) Descriptor ¶ added in v0.12.0
func (*Contract) GetContractAddress ¶ added in v0.12.0
func (m *Contract) GetContractAddress() github_com_cosmos_cosmos_sdk_types.AccAddress
func (*Contract) GetContractInfo ¶ added in v0.12.0
func (m *Contract) GetContractInfo() ContractInfo
func (*Contract) GetContractState ¶ added in v0.12.0
func (*Contract) MarshalToSizedBuffer ¶ added in v0.12.0
func (*Contract) ProtoMessage ¶ added in v0.12.0
func (*Contract) ProtoMessage()
func (Contract) ValidateBasic ¶ added in v0.9.0
func (*Contract) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *Contract) XXX_DiscardUnknown()
func (*Contract) XXX_Marshal ¶ added in v0.12.0
func (*Contract) XXX_Unmarshal ¶ added in v0.12.0
type ContractCodeHistoryEntry ¶ added in v0.10.0
type ContractCodeHistoryEntry struct { Operation ContractCodeHistoryOperationType `` /* 132-byte string literal not displayed */ CodeID uint64 `protobuf:"varint,2,opt,name=code_id,json=codeId,proto3" json:"code_id,omitempty"` Updated *AbsoluteTxPosition `protobuf:"bytes,3,opt,name=updated,proto3" json:"updated,omitempty"` Msg encoding_json.RawMessage `protobuf:"bytes,4,opt,name=msg,proto3,casttype=encoding/json.RawMessage" json:"msg,omitempty"` }
ContractCodeHistoryEntry stores code updates to a contract.
func (*ContractCodeHistoryEntry) Descriptor ¶ added in v0.12.0
func (*ContractCodeHistoryEntry) Descriptor() ([]byte, []int)
func (*ContractCodeHistoryEntry) Equal ¶ added in v0.12.0
func (this *ContractCodeHistoryEntry) Equal(that interface{}) bool
func (*ContractCodeHistoryEntry) Marshal ¶ added in v0.12.0
func (m *ContractCodeHistoryEntry) Marshal() (dAtA []byte, err error)
func (*ContractCodeHistoryEntry) MarshalTo ¶ added in v0.12.0
func (m *ContractCodeHistoryEntry) MarshalTo(dAtA []byte) (int, error)
func (*ContractCodeHistoryEntry) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *ContractCodeHistoryEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ContractCodeHistoryEntry) ProtoMessage ¶ added in v0.12.0
func (*ContractCodeHistoryEntry) ProtoMessage()
func (*ContractCodeHistoryEntry) Reset ¶ added in v0.12.0
func (m *ContractCodeHistoryEntry) Reset()
func (*ContractCodeHistoryEntry) Size ¶ added in v0.12.0
func (m *ContractCodeHistoryEntry) Size() (n int)
func (*ContractCodeHistoryEntry) String ¶ added in v0.12.0
func (m *ContractCodeHistoryEntry) String() string
func (*ContractCodeHistoryEntry) Unmarshal ¶ added in v0.12.0
func (m *ContractCodeHistoryEntry) Unmarshal(dAtA []byte) error
func (*ContractCodeHistoryEntry) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *ContractCodeHistoryEntry) XXX_DiscardUnknown()
func (*ContractCodeHistoryEntry) XXX_Marshal ¶ added in v0.12.0
func (m *ContractCodeHistoryEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ContractCodeHistoryEntry) XXX_Merge ¶ added in v0.12.0
func (m *ContractCodeHistoryEntry) XXX_Merge(src proto.Message)
func (*ContractCodeHistoryEntry) XXX_Size ¶ added in v0.12.0
func (m *ContractCodeHistoryEntry) XXX_Size() int
func (*ContractCodeHistoryEntry) XXX_Unmarshal ¶ added in v0.12.0
func (m *ContractCodeHistoryEntry) XXX_Unmarshal(b []byte) error
type ContractCodeHistoryOperationType ¶ added in v0.10.0
type ContractCodeHistoryOperationType int32
const ( Undefined ContractCodeHistoryOperationType = 0 ContractCodeHistoryTypeInit ContractCodeHistoryOperationType = 1 ContractCodeHistoryTypeMigrate ContractCodeHistoryOperationType = 2 ContractCodeHistoryTypeGenesis ContractCodeHistoryOperationType = 3 )
func (ContractCodeHistoryOperationType) EnumDescriptor ¶ added in v0.12.0
func (ContractCodeHistoryOperationType) EnumDescriptor() ([]byte, []int)
func (ContractCodeHistoryOperationType) String ¶ added in v0.12.0
func (x ContractCodeHistoryOperationType) String() string
type ContractHistory ¶ added in v0.12.0
type ContractHistory struct {
CodeHistoryEntries []ContractCodeHistoryEntry `protobuf:"bytes,1,rep,name=code_history_entries,json=codeHistoryEntries,proto3" json:"code_history_entries"`
}
func (*ContractHistory) AppendCodeHistory ¶ added in v0.12.0
func (c *ContractHistory) AppendCodeHistory(newEntries ...ContractCodeHistoryEntry)
func (*ContractHistory) Descriptor ¶ added in v0.12.0
func (*ContractHistory) Descriptor() ([]byte, []int)
func (*ContractHistory) Equal ¶ added in v0.12.0
func (this *ContractHistory) Equal(that interface{}) bool
func (*ContractHistory) Marshal ¶ added in v0.12.0
func (m *ContractHistory) Marshal() (dAtA []byte, err error)
func (*ContractHistory) MarshalTo ¶ added in v0.12.0
func (m *ContractHistory) MarshalTo(dAtA []byte) (int, error)
func (*ContractHistory) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *ContractHistory) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ContractHistory) ProtoMessage ¶ added in v0.12.0
func (*ContractHistory) ProtoMessage()
func (*ContractHistory) Reset ¶ added in v0.12.0
func (m *ContractHistory) Reset()
func (*ContractHistory) Size ¶ added in v0.12.0
func (m *ContractHistory) Size() (n int)
func (*ContractHistory) String ¶ added in v0.12.0
func (m *ContractHistory) String() string
func (*ContractHistory) Unmarshal ¶ added in v0.12.0
func (m *ContractHistory) Unmarshal(dAtA []byte) error
func (*ContractHistory) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *ContractHistory) XXX_DiscardUnknown()
func (*ContractHistory) XXX_Marshal ¶ added in v0.12.0
func (m *ContractHistory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ContractHistory) XXX_Merge ¶ added in v0.12.0
func (m *ContractHistory) XXX_Merge(src proto.Message)
func (*ContractHistory) XXX_Size ¶ added in v0.12.0
func (m *ContractHistory) XXX_Size() int
func (*ContractHistory) XXX_Unmarshal ¶ added in v0.12.0
func (m *ContractHistory) XXX_Unmarshal(b []byte) error
type ContractInfo ¶
type ContractInfo struct { CodeID uint64 `protobuf:"varint,1,opt,name=code_id,json=codeId,proto3" json:"code_id,omitempty"` Creator github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,2,opt,name=creator,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"creator,omitempty"` Admin github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,3,opt,name=admin,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"admin,omitempty"` Label string `protobuf:"bytes,4,opt,name=label,proto3" json:"label,omitempty"` // never show this in query results, just use for sorting // (Note: when using json tag "-" amino refused to serialize it...) Created *AbsoluteTxPosition `protobuf:"bytes,5,opt,name=created,proto3" json:"created,omitempty"` }
ContractInfo stores a WASM contract instance
func ContractInfoFixture ¶ added in v0.9.0
func ContractInfoFixture(mutators ...func(*ContractInfo)) ContractInfo
func NewContractInfo ¶
func NewContractInfo(codeID uint64, creator, admin sdk.AccAddress, label string, createdAt *AbsoluteTxPosition) ContractInfo
NewContractInfo creates a new instance of a given WASM contract info
func (*ContractInfo) AddMigration ¶ added in v0.10.0
func (c *ContractInfo) AddMigration(ctx sdk.Context, codeID uint64, msg []byte) ContractCodeHistoryEntry
func (*ContractInfo) Descriptor ¶ added in v0.12.0
func (*ContractInfo) Descriptor() ([]byte, []int)
func (*ContractInfo) Equal ¶ added in v0.12.0
func (this *ContractInfo) Equal(that interface{}) bool
func (ContractInfo) InitialHistory ¶ added in v0.10.0
func (c ContractInfo) InitialHistory(initMsg []byte) ContractCodeHistoryEntry
func (*ContractInfo) Marshal ¶ added in v0.12.0
func (m *ContractInfo) Marshal() (dAtA []byte, err error)
func (*ContractInfo) MarshalTo ¶ added in v0.12.0
func (m *ContractInfo) MarshalTo(dAtA []byte) (int, error)
func (*ContractInfo) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *ContractInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ContractInfo) ProtoMessage ¶ added in v0.12.0
func (*ContractInfo) ProtoMessage()
func (*ContractInfo) Reset ¶ added in v0.12.0
func (m *ContractInfo) Reset()
func (*ContractInfo) ResetFromGenesis ¶ added in v0.10.0
func (c *ContractInfo) ResetFromGenesis(ctx sdk.Context) ContractCodeHistoryEntry
ResetFromGenesis resets contracts timestamp and history.
func (*ContractInfo) Size ¶ added in v0.12.0
func (m *ContractInfo) Size() (n int)
func (*ContractInfo) String ¶ added in v0.12.0
func (m *ContractInfo) String() string
func (*ContractInfo) Unmarshal ¶ added in v0.12.0
func (m *ContractInfo) Unmarshal(dAtA []byte) error
func (*ContractInfo) ValidateBasic ¶ added in v0.9.0
func (c *ContractInfo) ValidateBasic() error
func (*ContractInfo) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *ContractInfo) XXX_DiscardUnknown()
func (*ContractInfo) XXX_Marshal ¶ added in v0.12.0
func (m *ContractInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ContractInfo) XXX_Merge ¶ added in v0.12.0
func (m *ContractInfo) XXX_Merge(src proto.Message)
func (*ContractInfo) XXX_Size ¶ added in v0.12.0
func (m *ContractInfo) XXX_Size() int
func (*ContractInfo) XXX_Unmarshal ¶ added in v0.12.0
func (m *ContractInfo) XXX_Unmarshal(b []byte) error
type ContractInfoWithAddress ¶ added in v0.12.0
type ContractInfoWithAddress struct { Address github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,1,opt,name=address,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"address,omitempty"` *ContractInfo `protobuf:"bytes,2,opt,name=ContractInfo,proto3,embedded=ContractInfo" json:""` }
ContractInfoWithAddress adds the address (key) to the ContractInfo representation
func (*ContractInfoWithAddress) Descriptor ¶ added in v0.12.0
func (*ContractInfoWithAddress) Descriptor() ([]byte, []int)
func (*ContractInfoWithAddress) Equal ¶ added in v0.12.0
func (this *ContractInfoWithAddress) Equal(that interface{}) bool
func (*ContractInfoWithAddress) Marshal ¶ added in v0.12.0
func (m *ContractInfoWithAddress) Marshal() (dAtA []byte, err error)
func (*ContractInfoWithAddress) MarshalTo ¶ added in v0.12.0
func (m *ContractInfoWithAddress) MarshalTo(dAtA []byte) (int, error)
func (*ContractInfoWithAddress) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *ContractInfoWithAddress) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ContractInfoWithAddress) ProtoMessage ¶ added in v0.12.0
func (*ContractInfoWithAddress) ProtoMessage()
func (*ContractInfoWithAddress) Reset ¶ added in v0.12.0
func (m *ContractInfoWithAddress) Reset()
func (*ContractInfoWithAddress) Size ¶ added in v0.12.0
func (m *ContractInfoWithAddress) Size() (n int)
func (*ContractInfoWithAddress) String ¶ added in v0.12.0
func (m *ContractInfoWithAddress) String() string
func (*ContractInfoWithAddress) Unmarshal ¶ added in v0.12.0
func (m *ContractInfoWithAddress) Unmarshal(dAtA []byte) error
func (*ContractInfoWithAddress) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *ContractInfoWithAddress) XXX_DiscardUnknown()
func (*ContractInfoWithAddress) XXX_Marshal ¶ added in v0.12.0
func (m *ContractInfoWithAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ContractInfoWithAddress) XXX_Merge ¶ added in v0.12.0
func (m *ContractInfoWithAddress) XXX_Merge(src proto.Message)
func (*ContractInfoWithAddress) XXX_Size ¶ added in v0.12.0
func (m *ContractInfoWithAddress) XXX_Size() int
func (*ContractInfoWithAddress) XXX_Unmarshal ¶ added in v0.12.0
func (m *ContractInfoWithAddress) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct { Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` Codes []Code `protobuf:"bytes,2,rep,name=codes,proto3" json:"codes,omitempty"` Contracts []Contract `protobuf:"bytes,3,rep,name=contracts,proto3" json:"contracts,omitempty"` Sequences []Sequence `protobuf:"bytes,4,rep,name=sequences,proto3" json:"sequences,omitempty"` }
GenesisState - genesis state of x/wasm
func GenesisFixture ¶ added in v0.9.0
func GenesisFixture(mutators ...func(*GenesisState)) GenesisState
func (*GenesisState) Descriptor ¶ added in v0.12.0
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetCodes ¶ added in v0.12.0
func (m *GenesisState) GetCodes() []Code
func (*GenesisState) GetContracts ¶ added in v0.12.0
func (m *GenesisState) GetContracts() []Contract
func (*GenesisState) GetParams ¶ added in v0.12.0
func (m *GenesisState) GetParams() Params
func (*GenesisState) GetSequences ¶ added in v0.12.0
func (m *GenesisState) GetSequences() []Sequence
func (*GenesisState) Marshal ¶ added in v0.12.0
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalTo ¶ added in v0.12.0
func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
func (*GenesisState) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶ added in v0.12.0
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶ added in v0.12.0
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶ added in v0.12.0
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶ added in v0.12.0
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶ added in v0.12.0
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (GenesisState) ValidateBasic ¶ added in v0.9.0
func (s GenesisState) ValidateBasic() error
func (*GenesisState) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶ added in v0.12.0
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶ added in v0.12.0
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶ added in v0.12.0
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶ added in v0.12.0
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type InstantiateContractProposal ¶ added in v0.10.0
type InstantiateContractProposal struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // RunAs is the address that is passed to the contract's environment as sender RunAs github_com_cosmos_cosmos_sdk_types.AccAddress `` /* 131-byte string literal not displayed */ // Admin is an optional address that can execute migrations Admin github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,4,opt,name=admin,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"admin,omitempty"` CodeID uint64 `protobuf:"varint,5,opt,name=code_id,json=codeId,proto3" json:"code_id,omitempty"` Label string `protobuf:"bytes,6,opt,name=label,proto3" json:"label,omitempty"` InitMsg encoding_json.RawMessage `protobuf:"bytes,7,opt,name=init_msg,json=initMsg,proto3,casttype=encoding/json.RawMessage" json:"init_msg,omitempty"` InitFunds github_com_cosmos_cosmos_sdk_types.Coins `` /* 132-byte string literal not displayed */ }
InstantiateContractProposal gov proposal content type to instantiate a contract.
func InstantiateContractProposalFixture ¶ added in v0.10.0
func InstantiateContractProposalFixture(mutators ...func(p *InstantiateContractProposal)) *InstantiateContractProposal
func (*InstantiateContractProposal) Descriptor ¶ added in v0.12.0
func (*InstantiateContractProposal) Descriptor() ([]byte, []int)
func (*InstantiateContractProposal) Equal ¶ added in v0.12.0
func (this *InstantiateContractProposal) Equal(that interface{}) bool
func (InstantiateContractProposal) GetDescription ¶ added in v0.12.0
func (p InstantiateContractProposal) GetDescription() string
GetDescription returns the human readable description of the proposal
func (*InstantiateContractProposal) GetTitle ¶ added in v0.12.0
func (p *InstantiateContractProposal) GetTitle() string
GetTitle returns the title of the proposal
func (*InstantiateContractProposal) Marshal ¶ added in v0.12.0
func (m *InstantiateContractProposal) Marshal() (dAtA []byte, err error)
func (*InstantiateContractProposal) MarshalTo ¶ added in v0.12.0
func (m *InstantiateContractProposal) MarshalTo(dAtA []byte) (int, error)
func (*InstantiateContractProposal) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *InstantiateContractProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (InstantiateContractProposal) MarshalYAML ¶ added in v0.10.0
func (p InstantiateContractProposal) MarshalYAML() (interface{}, error)
MarshalYAML pretty prints the init message
func (InstantiateContractProposal) ProposalRoute ¶ added in v0.12.0
func (p InstantiateContractProposal) ProposalRoute() string
ProposalRoute returns the routing key of a parameter change proposal.
func (InstantiateContractProposal) ProposalType ¶ added in v0.10.0
func (p InstantiateContractProposal) ProposalType() string
ProposalType returns the type
func (*InstantiateContractProposal) ProtoMessage ¶ added in v0.12.0
func (*InstantiateContractProposal) ProtoMessage()
func (*InstantiateContractProposal) Reset ¶ added in v0.12.0
func (m *InstantiateContractProposal) Reset()
func (*InstantiateContractProposal) Size ¶ added in v0.12.0
func (m *InstantiateContractProposal) Size() (n int)
func (InstantiateContractProposal) String ¶ added in v0.10.0
func (p InstantiateContractProposal) String() string
String implements the Stringer interface.
func (*InstantiateContractProposal) Unmarshal ¶ added in v0.12.0
func (m *InstantiateContractProposal) Unmarshal(dAtA []byte) error
func (InstantiateContractProposal) ValidateBasic ¶ added in v0.10.0
func (p InstantiateContractProposal) ValidateBasic() error
ValidateBasic validates the proposal
func (*InstantiateContractProposal) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *InstantiateContractProposal) XXX_DiscardUnknown()
func (*InstantiateContractProposal) XXX_Marshal ¶ added in v0.12.0
func (m *InstantiateContractProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InstantiateContractProposal) XXX_Merge ¶ added in v0.12.0
func (m *InstantiateContractProposal) XXX_Merge(src proto.Message)
func (*InstantiateContractProposal) XXX_Size ¶ added in v0.12.0
func (m *InstantiateContractProposal) XXX_Size() int
func (*InstantiateContractProposal) XXX_Unmarshal ¶ added in v0.12.0
func (m *InstantiateContractProposal) XXX_Unmarshal(b []byte) error
type MigrateContractProposal ¶ added in v0.10.0
type MigrateContractProposal struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // RunAs is the address that is passed to the contract's environment as sender RunAs github_com_cosmos_cosmos_sdk_types.AccAddress `` /* 131-byte string literal not displayed */ Contract github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,4,opt,name=contract,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"contract,omitempty"` CodeID uint64 `protobuf:"varint,5,opt,name=code_id,json=codeId,proto3" json:"code_id,omitempty"` MigrateMsg encoding_json.RawMessage `protobuf:"bytes,6,opt,name=migrate_msg,json=migrateMsg,proto3,casttype=encoding/json.RawMessage" json:"migrate_msg,omitempty"` }
MigrateContractProposal gov proposal content type to migrate a contract.
func MigrateContractProposalFixture ¶ added in v0.10.0
func MigrateContractProposalFixture(mutators ...func(p *MigrateContractProposal)) *MigrateContractProposal
func (*MigrateContractProposal) Descriptor ¶ added in v0.12.0
func (*MigrateContractProposal) Descriptor() ([]byte, []int)
func (*MigrateContractProposal) Equal ¶ added in v0.12.0
func (this *MigrateContractProposal) Equal(that interface{}) bool
func (MigrateContractProposal) GetDescription ¶ added in v0.12.0
func (p MigrateContractProposal) GetDescription() string
GetDescription returns the human readable description of the proposal
func (*MigrateContractProposal) GetTitle ¶ added in v0.12.0
func (p *MigrateContractProposal) GetTitle() string
GetTitle returns the title of the proposal
func (*MigrateContractProposal) Marshal ¶ added in v0.12.0
func (m *MigrateContractProposal) Marshal() (dAtA []byte, err error)
func (*MigrateContractProposal) MarshalTo ¶ added in v0.12.0
func (m *MigrateContractProposal) MarshalTo(dAtA []byte) (int, error)
func (*MigrateContractProposal) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *MigrateContractProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (MigrateContractProposal) MarshalYAML ¶ added in v0.10.0
func (p MigrateContractProposal) MarshalYAML() (interface{}, error)
MarshalYAML pretty prints the migrate message
func (MigrateContractProposal) ProposalRoute ¶ added in v0.12.0
func (p MigrateContractProposal) ProposalRoute() string
ProposalRoute returns the routing key of a parameter change proposal.
func (MigrateContractProposal) ProposalType ¶ added in v0.10.0
func (p MigrateContractProposal) ProposalType() string
ProposalType returns the type
func (*MigrateContractProposal) ProtoMessage ¶ added in v0.12.0
func (*MigrateContractProposal) ProtoMessage()
func (*MigrateContractProposal) Reset ¶ added in v0.12.0
func (m *MigrateContractProposal) Reset()
func (*MigrateContractProposal) Size ¶ added in v0.12.0
func (m *MigrateContractProposal) Size() (n int)
func (MigrateContractProposal) String ¶ added in v0.10.0
func (p MigrateContractProposal) String() string
String implements the Stringer interface.
func (*MigrateContractProposal) Unmarshal ¶ added in v0.12.0
func (m *MigrateContractProposal) Unmarshal(dAtA []byte) error
func (MigrateContractProposal) ValidateBasic ¶ added in v0.10.0
func (p MigrateContractProposal) ValidateBasic() error
ValidateBasic validates the proposal
func (*MigrateContractProposal) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *MigrateContractProposal) XXX_DiscardUnknown()
func (*MigrateContractProposal) XXX_Marshal ¶ added in v0.12.0
func (m *MigrateContractProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MigrateContractProposal) XXX_Merge ¶ added in v0.12.0
func (m *MigrateContractProposal) XXX_Merge(src proto.Message)
func (*MigrateContractProposal) XXX_Size ¶ added in v0.12.0
func (m *MigrateContractProposal) XXX_Size() int
func (*MigrateContractProposal) XXX_Unmarshal ¶ added in v0.12.0
func (m *MigrateContractProposal) XXX_Unmarshal(b []byte) error
type Model ¶
type Model struct { // hex-encode key to read it better (this is often ascii) Key github_com_tendermint_tendermint_libs_bytes.HexBytes `protobuf:"bytes,1,opt,name=Key,proto3,casttype=github.com/tendermint/tendermint/libs/bytes.HexBytes" json:"Key,omitempty"` // base64-encode raw value Value []byte `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"` }
Model is a struct that holds a KV pair
func (*Model) Descriptor ¶ added in v0.12.0
func (*Model) MarshalToSizedBuffer ¶ added in v0.12.0
func (*Model) ProtoMessage ¶ added in v0.12.0
func (*Model) ProtoMessage()
func (Model) ValidateBasic ¶ added in v0.9.0
func (*Model) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *Model) XXX_DiscardUnknown()
func (*Model) XXX_Marshal ¶ added in v0.12.0
func (*Model) XXX_Unmarshal ¶ added in v0.12.0
type MsgClearAdmin ¶ added in v0.9.0
type MsgClearAdmin struct { Sender github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,1,opt,name=sender,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"sender,omitempty"` Contract github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,3,opt,name=contract,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"contract,omitempty"` }
func (*MsgClearAdmin) Descriptor ¶ added in v0.12.0
func (*MsgClearAdmin) Descriptor() ([]byte, []int)
func (MsgClearAdmin) GetSignBytes ¶ added in v0.9.0
func (msg MsgClearAdmin) GetSignBytes() []byte
func (MsgClearAdmin) GetSigners ¶ added in v0.9.0
func (msg MsgClearAdmin) GetSigners() []sdk.AccAddress
func (*MsgClearAdmin) Marshal ¶ added in v0.12.0
func (m *MsgClearAdmin) Marshal() (dAtA []byte, err error)
func (*MsgClearAdmin) MarshalTo ¶ added in v0.12.0
func (m *MsgClearAdmin) MarshalTo(dAtA []byte) (int, error)
func (*MsgClearAdmin) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *MsgClearAdmin) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgClearAdmin) ProtoMessage ¶ added in v0.12.0
func (*MsgClearAdmin) ProtoMessage()
func (*MsgClearAdmin) Reset ¶ added in v0.12.0
func (m *MsgClearAdmin) Reset()
func (MsgClearAdmin) Route ¶ added in v0.9.0
func (msg MsgClearAdmin) Route() string
func (*MsgClearAdmin) Size ¶ added in v0.12.0
func (m *MsgClearAdmin) Size() (n int)
func (*MsgClearAdmin) String ¶ added in v0.12.0
func (m *MsgClearAdmin) String() string
func (MsgClearAdmin) Type ¶ added in v0.9.0
func (msg MsgClearAdmin) Type() string
func (*MsgClearAdmin) Unmarshal ¶ added in v0.12.0
func (m *MsgClearAdmin) Unmarshal(dAtA []byte) error
func (MsgClearAdmin) ValidateBasic ¶ added in v0.9.0
func (msg MsgClearAdmin) ValidateBasic() error
func (*MsgClearAdmin) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *MsgClearAdmin) XXX_DiscardUnknown()
func (*MsgClearAdmin) XXX_Marshal ¶ added in v0.12.0
func (m *MsgClearAdmin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgClearAdmin) XXX_Merge ¶ added in v0.12.0
func (m *MsgClearAdmin) XXX_Merge(src proto.Message)
func (*MsgClearAdmin) XXX_Size ¶ added in v0.12.0
func (m *MsgClearAdmin) XXX_Size() int
func (*MsgClearAdmin) XXX_Unmarshal ¶ added in v0.12.0
func (m *MsgClearAdmin) XXX_Unmarshal(b []byte) error
type MsgExecuteContract ¶
type MsgExecuteContract struct { Sender github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,1,opt,name=sender,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"sender,omitempty"` Contract github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,2,opt,name=contract,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"contract,omitempty"` Msg encoding_json.RawMessage `protobuf:"bytes,3,opt,name=msg,proto3,casttype=encoding/json.RawMessage" json:"msg,omitempty"` SentFunds github_com_cosmos_cosmos_sdk_types.Coins `` /* 132-byte string literal not displayed */ }
func (*MsgExecuteContract) Descriptor ¶ added in v0.12.0
func (*MsgExecuteContract) Descriptor() ([]byte, []int)
func (MsgExecuteContract) GetSignBytes ¶
func (msg MsgExecuteContract) GetSignBytes() []byte
func (MsgExecuteContract) GetSigners ¶
func (msg MsgExecuteContract) GetSigners() []sdk.AccAddress
func (*MsgExecuteContract) Marshal ¶ added in v0.12.0
func (m *MsgExecuteContract) Marshal() (dAtA []byte, err error)
func (*MsgExecuteContract) MarshalTo ¶ added in v0.12.0
func (m *MsgExecuteContract) MarshalTo(dAtA []byte) (int, error)
func (*MsgExecuteContract) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *MsgExecuteContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgExecuteContract) ProtoMessage ¶ added in v0.12.0
func (*MsgExecuteContract) ProtoMessage()
func (*MsgExecuteContract) Reset ¶ added in v0.12.0
func (m *MsgExecuteContract) Reset()
func (MsgExecuteContract) Route ¶
func (msg MsgExecuteContract) Route() string
func (*MsgExecuteContract) Size ¶ added in v0.12.0
func (m *MsgExecuteContract) Size() (n int)
func (*MsgExecuteContract) String ¶ added in v0.12.0
func (m *MsgExecuteContract) String() string
func (MsgExecuteContract) Type ¶
func (msg MsgExecuteContract) Type() string
func (*MsgExecuteContract) Unmarshal ¶ added in v0.12.0
func (m *MsgExecuteContract) Unmarshal(dAtA []byte) error
func (MsgExecuteContract) ValidateBasic ¶
func (msg MsgExecuteContract) ValidateBasic() error
func (*MsgExecuteContract) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *MsgExecuteContract) XXX_DiscardUnknown()
func (*MsgExecuteContract) XXX_Marshal ¶ added in v0.12.0
func (m *MsgExecuteContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgExecuteContract) XXX_Merge ¶ added in v0.12.0
func (m *MsgExecuteContract) XXX_Merge(src proto.Message)
func (*MsgExecuteContract) XXX_Size ¶ added in v0.12.0
func (m *MsgExecuteContract) XXX_Size() int
func (*MsgExecuteContract) XXX_Unmarshal ¶ added in v0.12.0
func (m *MsgExecuteContract) XXX_Unmarshal(b []byte) error
type MsgInstantiateContract ¶
type MsgInstantiateContract struct { Sender github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,1,opt,name=sender,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"sender,omitempty"` // Admin is an optional address that can execute migrations Admin github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,2,opt,name=admin,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" 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"` InitMsg encoding_json.RawMessage `protobuf:"bytes,5,opt,name=init_msg,json=initMsg,proto3,casttype=encoding/json.RawMessage" json:"init_msg,omitempty"` InitFunds github_com_cosmos_cosmos_sdk_types.Coins `` /* 132-byte string literal not displayed */ }
func (*MsgInstantiateContract) Descriptor ¶ added in v0.12.0
func (*MsgInstantiateContract) Descriptor() ([]byte, []int)
func (MsgInstantiateContract) GetSignBytes ¶
func (msg MsgInstantiateContract) GetSignBytes() []byte
func (MsgInstantiateContract) GetSigners ¶
func (msg MsgInstantiateContract) GetSigners() []sdk.AccAddress
func (*MsgInstantiateContract) Marshal ¶ added in v0.12.0
func (m *MsgInstantiateContract) Marshal() (dAtA []byte, err error)
func (*MsgInstantiateContract) MarshalTo ¶ added in v0.12.0
func (m *MsgInstantiateContract) MarshalTo(dAtA []byte) (int, error)
func (*MsgInstantiateContract) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *MsgInstantiateContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgInstantiateContract) ProtoMessage ¶ added in v0.12.0
func (*MsgInstantiateContract) ProtoMessage()
func (*MsgInstantiateContract) Reset ¶ added in v0.12.0
func (m *MsgInstantiateContract) Reset()
func (MsgInstantiateContract) Route ¶
func (msg MsgInstantiateContract) Route() string
func (*MsgInstantiateContract) Size ¶ added in v0.12.0
func (m *MsgInstantiateContract) Size() (n int)
func (*MsgInstantiateContract) String ¶ added in v0.12.0
func (m *MsgInstantiateContract) String() string
func (MsgInstantiateContract) Type ¶
func (msg MsgInstantiateContract) Type() string
func (*MsgInstantiateContract) Unmarshal ¶ added in v0.12.0
func (m *MsgInstantiateContract) Unmarshal(dAtA []byte) error
func (MsgInstantiateContract) ValidateBasic ¶
func (msg MsgInstantiateContract) ValidateBasic() error
func (*MsgInstantiateContract) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *MsgInstantiateContract) XXX_DiscardUnknown()
func (*MsgInstantiateContract) XXX_Marshal ¶ added in v0.12.0
func (m *MsgInstantiateContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgInstantiateContract) XXX_Merge ¶ added in v0.12.0
func (m *MsgInstantiateContract) XXX_Merge(src proto.Message)
func (*MsgInstantiateContract) XXX_Size ¶ added in v0.12.0
func (m *MsgInstantiateContract) XXX_Size() int
func (*MsgInstantiateContract) XXX_Unmarshal ¶ added in v0.12.0
func (m *MsgInstantiateContract) XXX_Unmarshal(b []byte) error
type MsgMigrateContract ¶ added in v0.9.0
type MsgMigrateContract struct { Sender github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,1,opt,name=sender,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"sender,omitempty"` Contract github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,2,opt,name=contract,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"contract,omitempty"` CodeID uint64 `protobuf:"varint,3,opt,name=code_id,json=codeId,proto3" json:"code_id,omitempty"` MigrateMsg encoding_json.RawMessage `protobuf:"bytes,4,opt,name=migrate_msg,json=migrateMsg,proto3,casttype=encoding/json.RawMessage" json:"migrate_msg,omitempty"` }
func (*MsgMigrateContract) Descriptor ¶ added in v0.12.0
func (*MsgMigrateContract) Descriptor() ([]byte, []int)
func (MsgMigrateContract) GetSignBytes ¶ added in v0.9.0
func (msg MsgMigrateContract) GetSignBytes() []byte
func (MsgMigrateContract) GetSigners ¶ added in v0.9.0
func (msg MsgMigrateContract) GetSigners() []sdk.AccAddress
func (*MsgMigrateContract) Marshal ¶ added in v0.12.0
func (m *MsgMigrateContract) Marshal() (dAtA []byte, err error)
func (*MsgMigrateContract) MarshalTo ¶ added in v0.12.0
func (m *MsgMigrateContract) MarshalTo(dAtA []byte) (int, error)
func (*MsgMigrateContract) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *MsgMigrateContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgMigrateContract) ProtoMessage ¶ added in v0.12.0
func (*MsgMigrateContract) ProtoMessage()
func (*MsgMigrateContract) Reset ¶ added in v0.12.0
func (m *MsgMigrateContract) Reset()
func (MsgMigrateContract) Route ¶ added in v0.9.0
func (msg MsgMigrateContract) Route() string
func (*MsgMigrateContract) Size ¶ added in v0.12.0
func (m *MsgMigrateContract) Size() (n int)
func (*MsgMigrateContract) String ¶ added in v0.12.0
func (m *MsgMigrateContract) String() string
func (MsgMigrateContract) Type ¶ added in v0.9.0
func (msg MsgMigrateContract) Type() string
func (*MsgMigrateContract) Unmarshal ¶ added in v0.12.0
func (m *MsgMigrateContract) Unmarshal(dAtA []byte) error
func (MsgMigrateContract) ValidateBasic ¶ added in v0.9.0
func (msg MsgMigrateContract) ValidateBasic() error
func (*MsgMigrateContract) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *MsgMigrateContract) XXX_DiscardUnknown()
func (*MsgMigrateContract) XXX_Marshal ¶ added in v0.12.0
func (m *MsgMigrateContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgMigrateContract) XXX_Merge ¶ added in v0.12.0
func (m *MsgMigrateContract) XXX_Merge(src proto.Message)
func (*MsgMigrateContract) XXX_Size ¶ added in v0.12.0
func (m *MsgMigrateContract) XXX_Size() int
func (*MsgMigrateContract) XXX_Unmarshal ¶ added in v0.12.0
func (m *MsgMigrateContract) XXX_Unmarshal(b []byte) error
type MsgStoreCode ¶
type MsgStoreCode struct { Sender github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,1,opt,name=sender,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"sender,omitempty"` // WASMByteCode can be raw or gzip compressed WASMByteCode []byte `protobuf:"bytes,2,opt,name=wasm_byte_code,json=wasmByteCode,proto3" json:"wasm_byte_code,omitempty"` // Source is a valid absolute HTTPS URI to the contract's source code, optional Source string `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"` // Builder is a valid docker image name with tag, optional Builder string `protobuf:"bytes,4,opt,name=builder,proto3" json:"builder,omitempty"` // InstantiatePermission to apply on contract creation, optional InstantiatePermission *AccessConfig `protobuf:"bytes,5,opt,name=InstantiatePermission,proto3" json:"InstantiatePermission,omitempty"` }
func (*MsgStoreCode) Descriptor ¶ added in v0.12.0
func (*MsgStoreCode) Descriptor() ([]byte, []int)
func (MsgStoreCode) GetSignBytes ¶
func (msg MsgStoreCode) GetSignBytes() []byte
func (MsgStoreCode) GetSigners ¶
func (msg MsgStoreCode) GetSigners() []sdk.AccAddress
func (*MsgStoreCode) Marshal ¶ added in v0.12.0
func (m *MsgStoreCode) Marshal() (dAtA []byte, err error)
func (*MsgStoreCode) MarshalTo ¶ added in v0.12.0
func (m *MsgStoreCode) MarshalTo(dAtA []byte) (int, error)
func (*MsgStoreCode) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *MsgStoreCode) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgStoreCode) ProtoMessage ¶ added in v0.12.0
func (*MsgStoreCode) ProtoMessage()
func (*MsgStoreCode) Reset ¶ added in v0.12.0
func (m *MsgStoreCode) Reset()
func (MsgStoreCode) Route ¶
func (msg MsgStoreCode) Route() string
func (*MsgStoreCode) Size ¶ added in v0.12.0
func (m *MsgStoreCode) Size() (n int)
func (*MsgStoreCode) String ¶ added in v0.12.0
func (m *MsgStoreCode) String() string
func (MsgStoreCode) Type ¶
func (msg MsgStoreCode) Type() string
func (*MsgStoreCode) Unmarshal ¶ added in v0.12.0
func (m *MsgStoreCode) Unmarshal(dAtA []byte) error
func (MsgStoreCode) ValidateBasic ¶
func (msg MsgStoreCode) ValidateBasic() error
func (*MsgStoreCode) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *MsgStoreCode) XXX_DiscardUnknown()
func (*MsgStoreCode) XXX_Marshal ¶ added in v0.12.0
func (m *MsgStoreCode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgStoreCode) XXX_Merge ¶ added in v0.12.0
func (m *MsgStoreCode) XXX_Merge(src proto.Message)
func (*MsgStoreCode) XXX_Size ¶ added in v0.12.0
func (m *MsgStoreCode) XXX_Size() int
func (*MsgStoreCode) XXX_Unmarshal ¶ added in v0.12.0
func (m *MsgStoreCode) XXX_Unmarshal(b []byte) error
type MsgUpdateAdmin ¶ added in v0.9.0
type MsgUpdateAdmin struct { Sender github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,1,opt,name=sender,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"sender,omitempty"` NewAdmin github_com_cosmos_cosmos_sdk_types.AccAddress `` /* 140-byte string literal not displayed */ Contract github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,3,opt,name=contract,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"contract,omitempty"` }
func (*MsgUpdateAdmin) Descriptor ¶ added in v0.12.0
func (*MsgUpdateAdmin) Descriptor() ([]byte, []int)
func (MsgUpdateAdmin) GetSignBytes ¶ added in v0.9.0
func (msg MsgUpdateAdmin) GetSignBytes() []byte
func (MsgUpdateAdmin) GetSigners ¶ added in v0.9.0
func (msg MsgUpdateAdmin) GetSigners() []sdk.AccAddress
func (*MsgUpdateAdmin) Marshal ¶ added in v0.12.0
func (m *MsgUpdateAdmin) Marshal() (dAtA []byte, err error)
func (*MsgUpdateAdmin) MarshalTo ¶ added in v0.12.0
func (m *MsgUpdateAdmin) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateAdmin) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *MsgUpdateAdmin) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateAdmin) ProtoMessage ¶ added in v0.12.0
func (*MsgUpdateAdmin) ProtoMessage()
func (*MsgUpdateAdmin) Reset ¶ added in v0.12.0
func (m *MsgUpdateAdmin) Reset()
func (MsgUpdateAdmin) Route ¶ added in v0.9.0
func (msg MsgUpdateAdmin) Route() string
func (*MsgUpdateAdmin) Size ¶ added in v0.12.0
func (m *MsgUpdateAdmin) Size() (n int)
func (*MsgUpdateAdmin) String ¶ added in v0.12.0
func (m *MsgUpdateAdmin) String() string
func (MsgUpdateAdmin) Type ¶ added in v0.9.0
func (msg MsgUpdateAdmin) Type() string
func (*MsgUpdateAdmin) Unmarshal ¶ added in v0.12.0
func (m *MsgUpdateAdmin) Unmarshal(dAtA []byte) error
func (MsgUpdateAdmin) ValidateBasic ¶ added in v0.9.0
func (msg MsgUpdateAdmin) ValidateBasic() error
func (*MsgUpdateAdmin) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *MsgUpdateAdmin) XXX_DiscardUnknown()
func (*MsgUpdateAdmin) XXX_Marshal ¶ added in v0.12.0
func (m *MsgUpdateAdmin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateAdmin) XXX_Merge ¶ added in v0.12.0
func (m *MsgUpdateAdmin) XXX_Merge(src proto.Message)
func (*MsgUpdateAdmin) XXX_Size ¶ added in v0.12.0
func (m *MsgUpdateAdmin) XXX_Size() int
func (*MsgUpdateAdmin) XXX_Unmarshal ¶ added in v0.12.0
func (m *MsgUpdateAdmin) XXX_Unmarshal(b []byte) error
type Params ¶ added in v0.10.0
type Params struct { CodeUploadAccess AccessConfig `` /* 127-byte string literal not displayed */ InstantiateDefaultPermission AccessType `` /* 224-byte string literal not displayed */ }
Params defines the set of wasm parameters.
func DefaultParams ¶ added in v0.10.0
func DefaultParams() Params
DefaultParams returns default wasm parameters
func (*Params) Descriptor ¶ added in v0.12.0
func (*Params) MarshalToSizedBuffer ¶ added in v0.12.0
func (*Params) ParamSetPairs ¶ added in v0.10.0
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs returns the parameter set pairs.
func (*Params) ProtoMessage ¶ added in v0.12.0
func (*Params) ProtoMessage()
func (Params) ValidateBasic ¶ added in v0.10.0
ValidateBasic performs basic validation on wasm parameters
func (*Params) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶ added in v0.12.0
func (*Params) XXX_Unmarshal ¶ added in v0.12.0
type ProposalType ¶ added in v0.10.0
type ProposalType string
const ( ProposalTypeStoreCode ProposalType = "StoreCode" ProposalTypeInstantiateContract ProposalType = "InstantiateContract" ProposalTypeMigrateContract ProposalType = "MigrateContract" ProposalTypeUpdateAdmin ProposalType = "UpdateAdmin" ProposalTypeClearAdmin ProposalType = "ClearAdmin" )
func ConvertToProposals ¶ added in v0.10.0
func ConvertToProposals(keys []string) ([]ProposalType, error)
ConvertToProposals maps each key to a ProposalType and returns a typed list. If any string is not a valid type (in this file), then return an error
type QueryAllContractStateRequest ¶ added in v0.12.0
type QueryAllContractStateRequest struct { // address is the address of the contract Address github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,1,opt,name=address,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"address,omitempty"` }
func (*QueryAllContractStateRequest) Descriptor ¶ added in v0.12.0
func (*QueryAllContractStateRequest) Descriptor() ([]byte, []int)
func (*QueryAllContractStateRequest) Equal ¶ added in v0.12.0
func (this *QueryAllContractStateRequest) Equal(that interface{}) bool
func (*QueryAllContractStateRequest) Marshal ¶ added in v0.12.0
func (m *QueryAllContractStateRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllContractStateRequest) MarshalTo ¶ added in v0.12.0
func (m *QueryAllContractStateRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllContractStateRequest) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *QueryAllContractStateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllContractStateRequest) ProtoMessage ¶ added in v0.12.0
func (*QueryAllContractStateRequest) ProtoMessage()
func (*QueryAllContractStateRequest) Reset ¶ added in v0.12.0
func (m *QueryAllContractStateRequest) Reset()
func (*QueryAllContractStateRequest) Size ¶ added in v0.12.0
func (m *QueryAllContractStateRequest) Size() (n int)
func (*QueryAllContractStateRequest) String ¶ added in v0.12.0
func (m *QueryAllContractStateRequest) String() string
func (*QueryAllContractStateRequest) Unmarshal ¶ added in v0.12.0
func (m *QueryAllContractStateRequest) Unmarshal(dAtA []byte) error
func (*QueryAllContractStateRequest) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *QueryAllContractStateRequest) XXX_DiscardUnknown()
func (*QueryAllContractStateRequest) XXX_Marshal ¶ added in v0.12.0
func (m *QueryAllContractStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllContractStateRequest) XXX_Merge ¶ added in v0.12.0
func (m *QueryAllContractStateRequest) XXX_Merge(src proto.Message)
func (*QueryAllContractStateRequest) XXX_Size ¶ added in v0.12.0
func (m *QueryAllContractStateRequest) XXX_Size() int
func (*QueryAllContractStateRequest) XXX_Unmarshal ¶ added in v0.12.0
func (m *QueryAllContractStateRequest) XXX_Unmarshal(b []byte) error
type QueryAllContractStateResponse ¶ added in v0.12.0
type QueryAllContractStateResponse struct {
Models []Model `protobuf:"bytes,1,rep,name=models,proto3" json:"models"`
}
func (*QueryAllContractStateResponse) Descriptor ¶ added in v0.12.0
func (*QueryAllContractStateResponse) Descriptor() ([]byte, []int)
func (*QueryAllContractStateResponse) Equal ¶ added in v0.12.0
func (this *QueryAllContractStateResponse) Equal(that interface{}) bool
func (*QueryAllContractStateResponse) Marshal ¶ added in v0.12.0
func (m *QueryAllContractStateResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllContractStateResponse) MarshalTo ¶ added in v0.12.0
func (m *QueryAllContractStateResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllContractStateResponse) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *QueryAllContractStateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllContractStateResponse) ProtoMessage ¶ added in v0.12.0
func (*QueryAllContractStateResponse) ProtoMessage()
func (*QueryAllContractStateResponse) Reset ¶ added in v0.12.0
func (m *QueryAllContractStateResponse) Reset()
func (*QueryAllContractStateResponse) Size ¶ added in v0.12.0
func (m *QueryAllContractStateResponse) Size() (n int)
func (*QueryAllContractStateResponse) String ¶ added in v0.12.0
func (m *QueryAllContractStateResponse) String() string
func (*QueryAllContractStateResponse) Unmarshal ¶ added in v0.12.0
func (m *QueryAllContractStateResponse) Unmarshal(dAtA []byte) error
func (*QueryAllContractStateResponse) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *QueryAllContractStateResponse) XXX_DiscardUnknown()
func (*QueryAllContractStateResponse) XXX_Marshal ¶ added in v0.12.0
func (m *QueryAllContractStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllContractStateResponse) XXX_Merge ¶ added in v0.12.0
func (m *QueryAllContractStateResponse) XXX_Merge(src proto.Message)
func (*QueryAllContractStateResponse) XXX_Size ¶ added in v0.12.0
func (m *QueryAllContractStateResponse) XXX_Size() int
func (*QueryAllContractStateResponse) XXX_Unmarshal ¶ added in v0.12.0
func (m *QueryAllContractStateResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶ added in v0.12.0
type QueryClient interface { ContractInfo(ctx context.Context, in *QueryContractInfoRequest, opts ...grpc.CallOption) (*QueryContractInfoResponse, error) ContractHistory(ctx context.Context, in *QueryContractHistoryRequest, opts ...grpc.CallOption) (*QueryContractHistoryResponse, error) ContractsByCode(ctx context.Context, in *QueryContractsByCodeRequest, opts ...grpc.CallOption) (*QueryContractsByCodeResponse, error) AllContractState(ctx context.Context, in *QueryAllContractStateRequest, opts ...grpc.CallOption) (*QueryAllContractStateResponse, error) RawContractState(ctx context.Context, in *QueryRawContractStateRequest, opts ...grpc.CallOption) (*QueryRawContractStateResponse, error) SmartContractState(ctx context.Context, in *QuerySmartContractStateRequest, opts ...grpc.CallOption) (*QuerySmartContractStateResponse, error) Code(ctx context.Context, in *QueryCodeRequest, opts ...grpc.CallOption) (*QueryCodeResponse, error) Codes(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*QueryCodesResponse, 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 ¶ added in v0.12.0
func NewQueryClient(cc grpc1.ClientConn) QueryClient
type QueryCodeRequest ¶ added in v0.12.0
type QueryCodeRequest struct {
CodeId uint64 `protobuf:"varint,1,opt,name=code_id,json=codeId,proto3" json:"code_id,omitempty"`
}
func (*QueryCodeRequest) Descriptor ¶ added in v0.12.0
func (*QueryCodeRequest) Descriptor() ([]byte, []int)
func (*QueryCodeRequest) Equal ¶ added in v0.12.0
func (this *QueryCodeRequest) Equal(that interface{}) bool
func (*QueryCodeRequest) Marshal ¶ added in v0.12.0
func (m *QueryCodeRequest) Marshal() (dAtA []byte, err error)
func (*QueryCodeRequest) MarshalTo ¶ added in v0.12.0
func (m *QueryCodeRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryCodeRequest) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *QueryCodeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCodeRequest) ProtoMessage ¶ added in v0.12.0
func (*QueryCodeRequest) ProtoMessage()
func (*QueryCodeRequest) Reset ¶ added in v0.12.0
func (m *QueryCodeRequest) Reset()
func (*QueryCodeRequest) Size ¶ added in v0.12.0
func (m *QueryCodeRequest) Size() (n int)
func (*QueryCodeRequest) String ¶ added in v0.12.0
func (m *QueryCodeRequest) String() string
func (*QueryCodeRequest) Unmarshal ¶ added in v0.12.0
func (m *QueryCodeRequest) Unmarshal(dAtA []byte) error
func (*QueryCodeRequest) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *QueryCodeRequest) XXX_DiscardUnknown()
func (*QueryCodeRequest) XXX_Marshal ¶ added in v0.12.0
func (m *QueryCodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCodeRequest) XXX_Merge ¶ added in v0.12.0
func (m *QueryCodeRequest) XXX_Merge(src proto.Message)
func (*QueryCodeRequest) XXX_Size ¶ added in v0.12.0
func (m *QueryCodeRequest) XXX_Size() int
func (*QueryCodeRequest) XXX_Unmarshal ¶ added in v0.12.0
func (m *QueryCodeRequest) XXX_Unmarshal(b []byte) error
type QueryCodeResponse ¶ added in v0.12.0
type QueryCodeResponse struct { *CodeInfoResponse `protobuf:"bytes,1,opt,name=code_info,json=codeInfo,proto3,embedded=code_info" json:""` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data"` }
func (*QueryCodeResponse) Descriptor ¶ added in v0.12.0
func (*QueryCodeResponse) Descriptor() ([]byte, []int)
func (*QueryCodeResponse) Equal ¶ added in v0.12.0
func (this *QueryCodeResponse) Equal(that interface{}) bool
func (*QueryCodeResponse) Marshal ¶ added in v0.12.0
func (m *QueryCodeResponse) Marshal() (dAtA []byte, err error)
func (*QueryCodeResponse) MarshalTo ¶ added in v0.12.0
func (m *QueryCodeResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryCodeResponse) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *QueryCodeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCodeResponse) ProtoMessage ¶ added in v0.12.0
func (*QueryCodeResponse) ProtoMessage()
func (*QueryCodeResponse) Reset ¶ added in v0.12.0
func (m *QueryCodeResponse) Reset()
func (*QueryCodeResponse) Size ¶ added in v0.12.0
func (m *QueryCodeResponse) Size() (n int)
func (*QueryCodeResponse) String ¶ added in v0.12.0
func (m *QueryCodeResponse) String() string
func (*QueryCodeResponse) Unmarshal ¶ added in v0.12.0
func (m *QueryCodeResponse) Unmarshal(dAtA []byte) error
func (*QueryCodeResponse) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *QueryCodeResponse) XXX_DiscardUnknown()
func (*QueryCodeResponse) XXX_Marshal ¶ added in v0.12.0
func (m *QueryCodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCodeResponse) XXX_Merge ¶ added in v0.12.0
func (m *QueryCodeResponse) XXX_Merge(src proto.Message)
func (*QueryCodeResponse) XXX_Size ¶ added in v0.12.0
func (m *QueryCodeResponse) XXX_Size() int
func (*QueryCodeResponse) XXX_Unmarshal ¶ added in v0.12.0
func (m *QueryCodeResponse) XXX_Unmarshal(b []byte) error
type QueryCodesResponse ¶ added in v0.12.0
type QueryCodesResponse struct {
CodeInfos []CodeInfoResponse `protobuf:"bytes,1,rep,name=code_infos,json=codeInfos,proto3" json:"code_infos"`
}
func (*QueryCodesResponse) Descriptor ¶ added in v0.12.0
func (*QueryCodesResponse) Descriptor() ([]byte, []int)
func (*QueryCodesResponse) Equal ¶ added in v0.12.0
func (this *QueryCodesResponse) Equal(that interface{}) bool
func (*QueryCodesResponse) Marshal ¶ added in v0.12.0
func (m *QueryCodesResponse) Marshal() (dAtA []byte, err error)
func (*QueryCodesResponse) MarshalTo ¶ added in v0.12.0
func (m *QueryCodesResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryCodesResponse) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *QueryCodesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCodesResponse) ProtoMessage ¶ added in v0.12.0
func (*QueryCodesResponse) ProtoMessage()
func (*QueryCodesResponse) Reset ¶ added in v0.12.0
func (m *QueryCodesResponse) Reset()
func (*QueryCodesResponse) Size ¶ added in v0.12.0
func (m *QueryCodesResponse) Size() (n int)
func (*QueryCodesResponse) String ¶ added in v0.12.0
func (m *QueryCodesResponse) String() string
func (*QueryCodesResponse) Unmarshal ¶ added in v0.12.0
func (m *QueryCodesResponse) Unmarshal(dAtA []byte) error
func (*QueryCodesResponse) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *QueryCodesResponse) XXX_DiscardUnknown()
func (*QueryCodesResponse) XXX_Marshal ¶ added in v0.12.0
func (m *QueryCodesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCodesResponse) XXX_Merge ¶ added in v0.12.0
func (m *QueryCodesResponse) XXX_Merge(src proto.Message)
func (*QueryCodesResponse) XXX_Size ¶ added in v0.12.0
func (m *QueryCodesResponse) XXX_Size() int
func (*QueryCodesResponse) XXX_Unmarshal ¶ added in v0.12.0
func (m *QueryCodesResponse) XXX_Unmarshal(b []byte) error
type QueryContractHistoryRequest ¶ added in v0.12.0
type QueryContractHistoryRequest struct { // address is the address of the contract to query Address github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,1,opt,name=address,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"address,omitempty"` }
func (*QueryContractHistoryRequest) Descriptor ¶ added in v0.12.0
func (*QueryContractHistoryRequest) Descriptor() ([]byte, []int)
func (*QueryContractHistoryRequest) Equal ¶ added in v0.12.0
func (this *QueryContractHistoryRequest) Equal(that interface{}) bool
func (*QueryContractHistoryRequest) Marshal ¶ added in v0.12.0
func (m *QueryContractHistoryRequest) Marshal() (dAtA []byte, err error)
func (*QueryContractHistoryRequest) MarshalTo ¶ added in v0.12.0
func (m *QueryContractHistoryRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryContractHistoryRequest) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *QueryContractHistoryRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryContractHistoryRequest) ProtoMessage ¶ added in v0.12.0
func (*QueryContractHistoryRequest) ProtoMessage()
func (*QueryContractHistoryRequest) Reset ¶ added in v0.12.0
func (m *QueryContractHistoryRequest) Reset()
func (*QueryContractHistoryRequest) Size ¶ added in v0.12.0
func (m *QueryContractHistoryRequest) Size() (n int)
func (*QueryContractHistoryRequest) String ¶ added in v0.12.0
func (m *QueryContractHistoryRequest) String() string
func (*QueryContractHistoryRequest) Unmarshal ¶ added in v0.12.0
func (m *QueryContractHistoryRequest) Unmarshal(dAtA []byte) error
func (*QueryContractHistoryRequest) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *QueryContractHistoryRequest) XXX_DiscardUnknown()
func (*QueryContractHistoryRequest) XXX_Marshal ¶ added in v0.12.0
func (m *QueryContractHistoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryContractHistoryRequest) XXX_Merge ¶ added in v0.12.0
func (m *QueryContractHistoryRequest) XXX_Merge(src proto.Message)
func (*QueryContractHistoryRequest) XXX_Size ¶ added in v0.12.0
func (m *QueryContractHistoryRequest) XXX_Size() int
func (*QueryContractHistoryRequest) XXX_Unmarshal ¶ added in v0.12.0
func (m *QueryContractHistoryRequest) XXX_Unmarshal(b []byte) error
type QueryContractHistoryResponse ¶ added in v0.12.0
type QueryContractHistoryResponse struct {
Entries []ContractCodeHistoryEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries"`
}
func (*QueryContractHistoryResponse) Descriptor ¶ added in v0.12.0
func (*QueryContractHistoryResponse) Descriptor() ([]byte, []int)
func (*QueryContractHistoryResponse) Equal ¶ added in v0.12.0
func (this *QueryContractHistoryResponse) Equal(that interface{}) bool
func (*QueryContractHistoryResponse) Marshal ¶ added in v0.12.0
func (m *QueryContractHistoryResponse) Marshal() (dAtA []byte, err error)
func (*QueryContractHistoryResponse) MarshalTo ¶ added in v0.12.0
func (m *QueryContractHistoryResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryContractHistoryResponse) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *QueryContractHistoryResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryContractHistoryResponse) ProtoMessage ¶ added in v0.12.0
func (*QueryContractHistoryResponse) ProtoMessage()
func (*QueryContractHistoryResponse) Reset ¶ added in v0.12.0
func (m *QueryContractHistoryResponse) Reset()
func (*QueryContractHistoryResponse) Size ¶ added in v0.12.0
func (m *QueryContractHistoryResponse) Size() (n int)
func (*QueryContractHistoryResponse) String ¶ added in v0.12.0
func (m *QueryContractHistoryResponse) String() string
func (*QueryContractHistoryResponse) Unmarshal ¶ added in v0.12.0
func (m *QueryContractHistoryResponse) Unmarshal(dAtA []byte) error
func (*QueryContractHistoryResponse) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *QueryContractHistoryResponse) XXX_DiscardUnknown()
func (*QueryContractHistoryResponse) XXX_Marshal ¶ added in v0.12.0
func (m *QueryContractHistoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryContractHistoryResponse) XXX_Merge ¶ added in v0.12.0
func (m *QueryContractHistoryResponse) XXX_Merge(src proto.Message)
func (*QueryContractHistoryResponse) XXX_Size ¶ added in v0.12.0
func (m *QueryContractHistoryResponse) XXX_Size() int
func (*QueryContractHistoryResponse) XXX_Unmarshal ¶ added in v0.12.0
func (m *QueryContractHistoryResponse) XXX_Unmarshal(b []byte) error
type QueryContractInfoRequest ¶ added in v0.12.0
type QueryContractInfoRequest struct { // address is the address of the contract to query Address github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,1,opt,name=address,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"address,omitempty"` }
QueryContractInfoRequest is the request type for the Query/ContractInfo RPC method
func (*QueryContractInfoRequest) Descriptor ¶ added in v0.12.0
func (*QueryContractInfoRequest) Descriptor() ([]byte, []int)
func (*QueryContractInfoRequest) Equal ¶ added in v0.12.0
func (this *QueryContractInfoRequest) Equal(that interface{}) bool
func (*QueryContractInfoRequest) Marshal ¶ added in v0.12.0
func (m *QueryContractInfoRequest) Marshal() (dAtA []byte, err error)
func (*QueryContractInfoRequest) MarshalTo ¶ added in v0.12.0
func (m *QueryContractInfoRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryContractInfoRequest) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *QueryContractInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryContractInfoRequest) ProtoMessage ¶ added in v0.12.0
func (*QueryContractInfoRequest) ProtoMessage()
func (*QueryContractInfoRequest) Reset ¶ added in v0.12.0
func (m *QueryContractInfoRequest) Reset()
func (*QueryContractInfoRequest) Size ¶ added in v0.12.0
func (m *QueryContractInfoRequest) Size() (n int)
func (*QueryContractInfoRequest) String ¶ added in v0.12.0
func (m *QueryContractInfoRequest) String() string
func (*QueryContractInfoRequest) Unmarshal ¶ added in v0.12.0
func (m *QueryContractInfoRequest) Unmarshal(dAtA []byte) error
func (*QueryContractInfoRequest) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *QueryContractInfoRequest) XXX_DiscardUnknown()
func (*QueryContractInfoRequest) XXX_Marshal ¶ added in v0.12.0
func (m *QueryContractInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryContractInfoRequest) XXX_Merge ¶ added in v0.12.0
func (m *QueryContractInfoRequest) XXX_Merge(src proto.Message)
func (*QueryContractInfoRequest) XXX_Size ¶ added in v0.12.0
func (m *QueryContractInfoRequest) XXX_Size() int
func (*QueryContractInfoRequest) XXX_Unmarshal ¶ added in v0.12.0
func (m *QueryContractInfoRequest) XXX_Unmarshal(b []byte) error
type QueryContractInfoResponse ¶ added in v0.12.0
type QueryContractInfoResponse struct { // address is the address of the contract Address github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,1,opt,name=address,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"address,omitempty"` *ContractInfo `protobuf:"bytes,2,opt,name=ContractInfo,proto3,embedded=ContractInfo" json:""` }
QueryContractInfoResponse is the response type for the Query/ContractInfo RPC method
func (*QueryContractInfoResponse) Descriptor ¶ added in v0.12.0
func (*QueryContractInfoResponse) Descriptor() ([]byte, []int)
func (*QueryContractInfoResponse) Equal ¶ added in v0.12.0
func (this *QueryContractInfoResponse) Equal(that interface{}) bool
func (*QueryContractInfoResponse) Marshal ¶ added in v0.12.0
func (m *QueryContractInfoResponse) Marshal() (dAtA []byte, err error)
func (*QueryContractInfoResponse) MarshalTo ¶ added in v0.12.0
func (m *QueryContractInfoResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryContractInfoResponse) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *QueryContractInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryContractInfoResponse) ProtoMessage ¶ added in v0.12.0
func (*QueryContractInfoResponse) ProtoMessage()
func (*QueryContractInfoResponse) Reset ¶ added in v0.12.0
func (m *QueryContractInfoResponse) Reset()
func (*QueryContractInfoResponse) Size ¶ added in v0.12.0
func (m *QueryContractInfoResponse) Size() (n int)
func (*QueryContractInfoResponse) String ¶ added in v0.12.0
func (m *QueryContractInfoResponse) String() string
func (*QueryContractInfoResponse) Unmarshal ¶ added in v0.12.0
func (m *QueryContractInfoResponse) Unmarshal(dAtA []byte) error
func (*QueryContractInfoResponse) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *QueryContractInfoResponse) XXX_DiscardUnknown()
func (*QueryContractInfoResponse) XXX_Marshal ¶ added in v0.12.0
func (m *QueryContractInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryContractInfoResponse) XXX_Merge ¶ added in v0.12.0
func (m *QueryContractInfoResponse) XXX_Merge(src proto.Message)
func (*QueryContractInfoResponse) XXX_Size ¶ added in v0.12.0
func (m *QueryContractInfoResponse) XXX_Size() int
func (*QueryContractInfoResponse) XXX_Unmarshal ¶ added in v0.12.0
func (m *QueryContractInfoResponse) XXX_Unmarshal(b []byte) error
type QueryContractsByCodeRequest ¶ added in v0.12.0
type QueryContractsByCodeRequest struct {
CodeId uint64 `protobuf:"varint,1,opt,name=code_id,json=codeId,proto3" json:"code_id,omitempty"`
}
func (*QueryContractsByCodeRequest) Descriptor ¶ added in v0.12.0
func (*QueryContractsByCodeRequest) Descriptor() ([]byte, []int)
func (*QueryContractsByCodeRequest) Equal ¶ added in v0.12.0
func (this *QueryContractsByCodeRequest) Equal(that interface{}) bool
func (*QueryContractsByCodeRequest) Marshal ¶ added in v0.12.0
func (m *QueryContractsByCodeRequest) Marshal() (dAtA []byte, err error)
func (*QueryContractsByCodeRequest) MarshalTo ¶ added in v0.12.0
func (m *QueryContractsByCodeRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryContractsByCodeRequest) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *QueryContractsByCodeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryContractsByCodeRequest) ProtoMessage ¶ added in v0.12.0
func (*QueryContractsByCodeRequest) ProtoMessage()
func (*QueryContractsByCodeRequest) Reset ¶ added in v0.12.0
func (m *QueryContractsByCodeRequest) Reset()
func (*QueryContractsByCodeRequest) Size ¶ added in v0.12.0
func (m *QueryContractsByCodeRequest) Size() (n int)
func (*QueryContractsByCodeRequest) String ¶ added in v0.12.0
func (m *QueryContractsByCodeRequest) String() string
func (*QueryContractsByCodeRequest) Unmarshal ¶ added in v0.12.0
func (m *QueryContractsByCodeRequest) Unmarshal(dAtA []byte) error
func (*QueryContractsByCodeRequest) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *QueryContractsByCodeRequest) XXX_DiscardUnknown()
func (*QueryContractsByCodeRequest) XXX_Marshal ¶ added in v0.12.0
func (m *QueryContractsByCodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryContractsByCodeRequest) XXX_Merge ¶ added in v0.12.0
func (m *QueryContractsByCodeRequest) XXX_Merge(src proto.Message)
func (*QueryContractsByCodeRequest) XXX_Size ¶ added in v0.12.0
func (m *QueryContractsByCodeRequest) XXX_Size() int
func (*QueryContractsByCodeRequest) XXX_Unmarshal ¶ added in v0.12.0
func (m *QueryContractsByCodeRequest) XXX_Unmarshal(b []byte) error
type QueryContractsByCodeResponse ¶ added in v0.12.0
type QueryContractsByCodeResponse struct {
ContractInfos []ContractInfoWithAddress `protobuf:"bytes,1,rep,name=contract_infos,json=contractInfos,proto3" json:"contract_infos"`
}
func (*QueryContractsByCodeResponse) Descriptor ¶ added in v0.12.0
func (*QueryContractsByCodeResponse) Descriptor() ([]byte, []int)
func (*QueryContractsByCodeResponse) Equal ¶ added in v0.12.0
func (this *QueryContractsByCodeResponse) Equal(that interface{}) bool
func (*QueryContractsByCodeResponse) Marshal ¶ added in v0.12.0
func (m *QueryContractsByCodeResponse) Marshal() (dAtA []byte, err error)
func (*QueryContractsByCodeResponse) MarshalTo ¶ added in v0.12.0
func (m *QueryContractsByCodeResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryContractsByCodeResponse) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *QueryContractsByCodeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryContractsByCodeResponse) ProtoMessage ¶ added in v0.12.0
func (*QueryContractsByCodeResponse) ProtoMessage()
func (*QueryContractsByCodeResponse) Reset ¶ added in v0.12.0
func (m *QueryContractsByCodeResponse) Reset()
func (*QueryContractsByCodeResponse) Size ¶ added in v0.12.0
func (m *QueryContractsByCodeResponse) Size() (n int)
func (*QueryContractsByCodeResponse) String ¶ added in v0.12.0
func (m *QueryContractsByCodeResponse) String() string
func (*QueryContractsByCodeResponse) Unmarshal ¶ added in v0.12.0
func (m *QueryContractsByCodeResponse) Unmarshal(dAtA []byte) error
func (*QueryContractsByCodeResponse) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *QueryContractsByCodeResponse) XXX_DiscardUnknown()
func (*QueryContractsByCodeResponse) XXX_Marshal ¶ added in v0.12.0
func (m *QueryContractsByCodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryContractsByCodeResponse) XXX_Merge ¶ added in v0.12.0
func (m *QueryContractsByCodeResponse) XXX_Merge(src proto.Message)
func (*QueryContractsByCodeResponse) XXX_Size ¶ added in v0.12.0
func (m *QueryContractsByCodeResponse) XXX_Size() int
func (*QueryContractsByCodeResponse) XXX_Unmarshal ¶ added in v0.12.0
func (m *QueryContractsByCodeResponse) XXX_Unmarshal(b []byte) error
type QueryRawContractStateRequest ¶ added in v0.12.0
type QueryRawContractStateRequest struct { // address is the address of the contract Address github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,1,opt,name=address,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"address,omitempty"` QueryData []byte `protobuf:"bytes,2,opt,name=query_data,json=queryData,proto3" json:"query_data,omitempty"` }
func (*QueryRawContractStateRequest) Descriptor ¶ added in v0.12.0
func (*QueryRawContractStateRequest) Descriptor() ([]byte, []int)
func (*QueryRawContractStateRequest) Equal ¶ added in v0.12.0
func (this *QueryRawContractStateRequest) Equal(that interface{}) bool
func (*QueryRawContractStateRequest) Marshal ¶ added in v0.12.0
func (m *QueryRawContractStateRequest) Marshal() (dAtA []byte, err error)
func (*QueryRawContractStateRequest) MarshalTo ¶ added in v0.12.0
func (m *QueryRawContractStateRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryRawContractStateRequest) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *QueryRawContractStateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryRawContractStateRequest) ProtoMessage ¶ added in v0.12.0
func (*QueryRawContractStateRequest) ProtoMessage()
func (*QueryRawContractStateRequest) Reset ¶ added in v0.12.0
func (m *QueryRawContractStateRequest) Reset()
func (*QueryRawContractStateRequest) Size ¶ added in v0.12.0
func (m *QueryRawContractStateRequest) Size() (n int)
func (*QueryRawContractStateRequest) String ¶ added in v0.12.0
func (m *QueryRawContractStateRequest) String() string
func (*QueryRawContractStateRequest) Unmarshal ¶ added in v0.12.0
func (m *QueryRawContractStateRequest) Unmarshal(dAtA []byte) error
func (*QueryRawContractStateRequest) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *QueryRawContractStateRequest) XXX_DiscardUnknown()
func (*QueryRawContractStateRequest) XXX_Marshal ¶ added in v0.12.0
func (m *QueryRawContractStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryRawContractStateRequest) XXX_Merge ¶ added in v0.12.0
func (m *QueryRawContractStateRequest) XXX_Merge(src proto.Message)
func (*QueryRawContractStateRequest) XXX_Size ¶ added in v0.12.0
func (m *QueryRawContractStateRequest) XXX_Size() int
func (*QueryRawContractStateRequest) XXX_Unmarshal ¶ added in v0.12.0
func (m *QueryRawContractStateRequest) XXX_Unmarshal(b []byte) error
type QueryRawContractStateResponse ¶ added in v0.12.0
type QueryRawContractStateResponse struct {
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}
func (*QueryRawContractStateResponse) Descriptor ¶ added in v0.12.0
func (*QueryRawContractStateResponse) Descriptor() ([]byte, []int)
func (*QueryRawContractStateResponse) Equal ¶ added in v0.12.0
func (this *QueryRawContractStateResponse) Equal(that interface{}) bool
func (*QueryRawContractStateResponse) Marshal ¶ added in v0.12.0
func (m *QueryRawContractStateResponse) Marshal() (dAtA []byte, err error)
func (*QueryRawContractStateResponse) MarshalTo ¶ added in v0.12.0
func (m *QueryRawContractStateResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryRawContractStateResponse) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *QueryRawContractStateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryRawContractStateResponse) ProtoMessage ¶ added in v0.12.0
func (*QueryRawContractStateResponse) ProtoMessage()
func (*QueryRawContractStateResponse) Reset ¶ added in v0.12.0
func (m *QueryRawContractStateResponse) Reset()
func (*QueryRawContractStateResponse) Size ¶ added in v0.12.0
func (m *QueryRawContractStateResponse) Size() (n int)
func (*QueryRawContractStateResponse) String ¶ added in v0.12.0
func (m *QueryRawContractStateResponse) String() string
func (*QueryRawContractStateResponse) Unmarshal ¶ added in v0.12.0
func (m *QueryRawContractStateResponse) Unmarshal(dAtA []byte) error
func (*QueryRawContractStateResponse) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *QueryRawContractStateResponse) XXX_DiscardUnknown()
func (*QueryRawContractStateResponse) XXX_Marshal ¶ added in v0.12.0
func (m *QueryRawContractStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryRawContractStateResponse) XXX_Merge ¶ added in v0.12.0
func (m *QueryRawContractStateResponse) XXX_Merge(src proto.Message)
func (*QueryRawContractStateResponse) XXX_Size ¶ added in v0.12.0
func (m *QueryRawContractStateResponse) XXX_Size() int
func (*QueryRawContractStateResponse) XXX_Unmarshal ¶ added in v0.12.0
func (m *QueryRawContractStateResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶ added in v0.12.0
type QueryServer interface { ContractInfo(context.Context, *QueryContractInfoRequest) (*QueryContractInfoResponse, error) ContractHistory(context.Context, *QueryContractHistoryRequest) (*QueryContractHistoryResponse, error) ContractsByCode(context.Context, *QueryContractsByCodeRequest) (*QueryContractsByCodeResponse, error) AllContractState(context.Context, *QueryAllContractStateRequest) (*QueryAllContractStateResponse, error) RawContractState(context.Context, *QueryRawContractStateRequest) (*QueryRawContractStateResponse, error) SmartContractState(context.Context, *QuerySmartContractStateRequest) (*QuerySmartContractStateResponse, error) Code(context.Context, *QueryCodeRequest) (*QueryCodeResponse, error) Codes(context.Context, *empty.Empty) (*QueryCodesResponse, error) }
QueryServer is the server API for Query service.
type QuerySmartContractStateRequest ¶ added in v0.12.0
type QuerySmartContractStateRequest struct { // address is the address of the contract Address github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,1,opt,name=address,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"address,omitempty"` QueryData []byte `protobuf:"bytes,2,opt,name=query_data,json=queryData,proto3" json:"query_data,omitempty"` }
func (*QuerySmartContractStateRequest) Descriptor ¶ added in v0.12.0
func (*QuerySmartContractStateRequest) Descriptor() ([]byte, []int)
func (*QuerySmartContractStateRequest) Equal ¶ added in v0.12.0
func (this *QuerySmartContractStateRequest) Equal(that interface{}) bool
func (*QuerySmartContractStateRequest) Marshal ¶ added in v0.12.0
func (m *QuerySmartContractStateRequest) Marshal() (dAtA []byte, err error)
func (*QuerySmartContractStateRequest) MarshalTo ¶ added in v0.12.0
func (m *QuerySmartContractStateRequest) MarshalTo(dAtA []byte) (int, error)
func (*QuerySmartContractStateRequest) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *QuerySmartContractStateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySmartContractStateRequest) ProtoMessage ¶ added in v0.12.0
func (*QuerySmartContractStateRequest) ProtoMessage()
func (*QuerySmartContractStateRequest) Reset ¶ added in v0.12.0
func (m *QuerySmartContractStateRequest) Reset()
func (*QuerySmartContractStateRequest) Size ¶ added in v0.12.0
func (m *QuerySmartContractStateRequest) Size() (n int)
func (*QuerySmartContractStateRequest) String ¶ added in v0.12.0
func (m *QuerySmartContractStateRequest) String() string
func (*QuerySmartContractStateRequest) Unmarshal ¶ added in v0.12.0
func (m *QuerySmartContractStateRequest) Unmarshal(dAtA []byte) error
func (*QuerySmartContractStateRequest) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *QuerySmartContractStateRequest) XXX_DiscardUnknown()
func (*QuerySmartContractStateRequest) XXX_Marshal ¶ added in v0.12.0
func (m *QuerySmartContractStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySmartContractStateRequest) XXX_Merge ¶ added in v0.12.0
func (m *QuerySmartContractStateRequest) XXX_Merge(src proto.Message)
func (*QuerySmartContractStateRequest) XXX_Size ¶ added in v0.12.0
func (m *QuerySmartContractStateRequest) XXX_Size() int
func (*QuerySmartContractStateRequest) XXX_Unmarshal ¶ added in v0.12.0
func (m *QuerySmartContractStateRequest) XXX_Unmarshal(b []byte) error
type QuerySmartContractStateResponse ¶ added in v0.12.0
type QuerySmartContractStateResponse struct {
Data encoding_json.RawMessage `protobuf:"bytes,1,opt,name=data,proto3,casttype=encoding/json.RawMessage" json:"data,omitempty"`
}
func (*QuerySmartContractStateResponse) Descriptor ¶ added in v0.12.0
func (*QuerySmartContractStateResponse) Descriptor() ([]byte, []int)
func (*QuerySmartContractStateResponse) Equal ¶ added in v0.12.0
func (this *QuerySmartContractStateResponse) Equal(that interface{}) bool
func (*QuerySmartContractStateResponse) Marshal ¶ added in v0.12.0
func (m *QuerySmartContractStateResponse) Marshal() (dAtA []byte, err error)
func (*QuerySmartContractStateResponse) MarshalTo ¶ added in v0.12.0
func (m *QuerySmartContractStateResponse) MarshalTo(dAtA []byte) (int, error)
func (*QuerySmartContractStateResponse) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *QuerySmartContractStateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySmartContractStateResponse) ProtoMessage ¶ added in v0.12.0
func (*QuerySmartContractStateResponse) ProtoMessage()
func (*QuerySmartContractStateResponse) Reset ¶ added in v0.12.0
func (m *QuerySmartContractStateResponse) Reset()
func (*QuerySmartContractStateResponse) Size ¶ added in v0.12.0
func (m *QuerySmartContractStateResponse) Size() (n int)
func (*QuerySmartContractStateResponse) String ¶ added in v0.12.0
func (m *QuerySmartContractStateResponse) String() string
func (*QuerySmartContractStateResponse) Unmarshal ¶ added in v0.12.0
func (m *QuerySmartContractStateResponse) Unmarshal(dAtA []byte) error
func (*QuerySmartContractStateResponse) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *QuerySmartContractStateResponse) XXX_DiscardUnknown()
func (*QuerySmartContractStateResponse) XXX_Marshal ¶ added in v0.12.0
func (m *QuerySmartContractStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySmartContractStateResponse) XXX_Merge ¶ added in v0.12.0
func (m *QuerySmartContractStateResponse) XXX_Merge(src proto.Message)
func (*QuerySmartContractStateResponse) XXX_Size ¶ added in v0.12.0
func (m *QuerySmartContractStateResponse) XXX_Size() int
func (*QuerySmartContractStateResponse) XXX_Unmarshal ¶ added in v0.12.0
func (m *QuerySmartContractStateResponse) XXX_Unmarshal(b []byte) error
type Sequence ¶ added in v0.9.0
type Sequence struct { IDKey []byte `protobuf:"bytes,1,opt,name=id_key,json=idKey,proto3" json:"id_key,omitempty"` Value uint64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` }
Sequence id and value of a counter
func (*Sequence) Descriptor ¶ added in v0.12.0
func (*Sequence) MarshalToSizedBuffer ¶ added in v0.12.0
func (*Sequence) ProtoMessage ¶ added in v0.12.0
func (*Sequence) ProtoMessage()
func (Sequence) ValidateBasic ¶ added in v0.9.0
func (*Sequence) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *Sequence) XXX_DiscardUnknown()
func (*Sequence) XXX_Marshal ¶ added in v0.12.0
func (*Sequence) XXX_Unmarshal ¶ added in v0.12.0
type StoreCodeProposal ¶ added in v0.10.0
type StoreCodeProposal struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // RunAs is the address that is passed to the contract's environment as sender RunAs github_com_cosmos_cosmos_sdk_types.AccAddress `` /* 131-byte string literal not displayed */ // WASMByteCode can be raw or gzip compressed WASMByteCode []byte `protobuf:"bytes,4,opt,name=wasm_byte_code,json=wasmByteCode,proto3" json:"wasm_byte_code,omitempty"` // Source is a valid absolute HTTPS URI to the contract's source code, optional Source string `protobuf:"bytes,5,opt,name=source,proto3" json:"source,omitempty"` // Builder is a valid docker image name with tag, optional Builder string `protobuf:"bytes,6,opt,name=builder,proto3" json:"builder,omitempty"` // InstantiatePermission to apply on contract creation, optional InstantiatePermission *AccessConfig `protobuf:"bytes,7,opt,name=InstantiatePermission,proto3" json:"InstantiatePermission,omitempty"` }
func StoreCodeProposalFixture ¶ added in v0.10.0
func StoreCodeProposalFixture(mutators ...func(*StoreCodeProposal)) *StoreCodeProposal
func (*StoreCodeProposal) Descriptor ¶ added in v0.12.0
func (*StoreCodeProposal) Descriptor() ([]byte, []int)
func (*StoreCodeProposal) Equal ¶ added in v0.12.0
func (this *StoreCodeProposal) Equal(that interface{}) bool
func (StoreCodeProposal) GetDescription ¶ added in v0.12.0
func (p StoreCodeProposal) GetDescription() string
GetDescription returns the human readable description of the proposal
func (*StoreCodeProposal) GetTitle ¶ added in v0.12.0
func (p *StoreCodeProposal) GetTitle() string
GetTitle returns the title of the proposal
func (*StoreCodeProposal) Marshal ¶ added in v0.12.0
func (m *StoreCodeProposal) Marshal() (dAtA []byte, err error)
func (*StoreCodeProposal) MarshalTo ¶ added in v0.12.0
func (m *StoreCodeProposal) MarshalTo(dAtA []byte) (int, error)
func (*StoreCodeProposal) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *StoreCodeProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (StoreCodeProposal) MarshalYAML ¶ added in v0.10.0
func (p StoreCodeProposal) MarshalYAML() (interface{}, error)
MarshalYAML pretty prints the wasm byte code
func (StoreCodeProposal) ProposalRoute ¶ added in v0.12.0
func (p StoreCodeProposal) ProposalRoute() string
ProposalRoute returns the routing key of a parameter change proposal.
func (StoreCodeProposal) ProposalType ¶ added in v0.10.0
func (p StoreCodeProposal) ProposalType() string
ProposalType returns the type
func (*StoreCodeProposal) ProtoMessage ¶ added in v0.12.0
func (*StoreCodeProposal) ProtoMessage()
func (*StoreCodeProposal) Reset ¶ added in v0.12.0
func (m *StoreCodeProposal) Reset()
func (*StoreCodeProposal) Size ¶ added in v0.12.0
func (m *StoreCodeProposal) Size() (n int)
func (StoreCodeProposal) String ¶ added in v0.10.0
func (p StoreCodeProposal) String() string
String implements the Stringer interface.
func (*StoreCodeProposal) Unmarshal ¶ added in v0.12.0
func (m *StoreCodeProposal) Unmarshal(dAtA []byte) error
func (StoreCodeProposal) ValidateBasic ¶ added in v0.10.0
func (p StoreCodeProposal) ValidateBasic() error
ValidateBasic validates the proposal
func (*StoreCodeProposal) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *StoreCodeProposal) XXX_DiscardUnknown()
func (*StoreCodeProposal) XXX_Marshal ¶ added in v0.12.0
func (m *StoreCodeProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StoreCodeProposal) XXX_Merge ¶ added in v0.12.0
func (m *StoreCodeProposal) XXX_Merge(src proto.Message)
func (*StoreCodeProposal) XXX_Size ¶ added in v0.12.0
func (m *StoreCodeProposal) XXX_Size() int
func (*StoreCodeProposal) XXX_Unmarshal ¶ added in v0.12.0
func (m *StoreCodeProposal) XXX_Unmarshal(b []byte) error
type UnimplementedQueryServer ¶ added in v0.12.0
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) AllContractState ¶ added in v0.12.0
func (*UnimplementedQueryServer) AllContractState(ctx context.Context, req *QueryAllContractStateRequest) (*QueryAllContractStateResponse, error)
func (*UnimplementedQueryServer) Code ¶ added in v0.12.0
func (*UnimplementedQueryServer) Code(ctx context.Context, req *QueryCodeRequest) (*QueryCodeResponse, error)
func (*UnimplementedQueryServer) Codes ¶ added in v0.12.0
func (*UnimplementedQueryServer) Codes(ctx context.Context, req *empty.Empty) (*QueryCodesResponse, error)
func (*UnimplementedQueryServer) ContractHistory ¶ added in v0.12.0
func (*UnimplementedQueryServer) ContractHistory(ctx context.Context, req *QueryContractHistoryRequest) (*QueryContractHistoryResponse, error)
func (*UnimplementedQueryServer) ContractInfo ¶ added in v0.12.0
func (*UnimplementedQueryServer) ContractInfo(ctx context.Context, req *QueryContractInfoRequest) (*QueryContractInfoResponse, error)
func (*UnimplementedQueryServer) ContractsByCode ¶ added in v0.12.0
func (*UnimplementedQueryServer) ContractsByCode(ctx context.Context, req *QueryContractsByCodeRequest) (*QueryContractsByCodeResponse, error)
func (*UnimplementedQueryServer) RawContractState ¶ added in v0.12.0
func (*UnimplementedQueryServer) RawContractState(ctx context.Context, req *QueryRawContractStateRequest) (*QueryRawContractStateResponse, error)
func (*UnimplementedQueryServer) SmartContractState ¶ added in v0.12.0
func (*UnimplementedQueryServer) SmartContractState(ctx context.Context, req *QuerySmartContractStateRequest) (*QuerySmartContractStateResponse, error)
type UpdateAdminProposal ¶ added in v0.10.0
type UpdateAdminProposal struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` NewAdmin github_com_cosmos_cosmos_sdk_types.AccAddress `` /* 157-byte string literal not displayed */ Contract github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,4,opt,name=contract,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"contract,omitempty"` }
UpdateAdminProposal gov proposal content type to set an admin for a contract.
func UpdateAdminProposalFixture ¶ added in v0.10.0
func UpdateAdminProposalFixture(mutators ...func(p *UpdateAdminProposal)) *UpdateAdminProposal
func (*UpdateAdminProposal) Descriptor ¶ added in v0.12.0
func (*UpdateAdminProposal) Descriptor() ([]byte, []int)
func (*UpdateAdminProposal) Equal ¶ added in v0.12.0
func (this *UpdateAdminProposal) Equal(that interface{}) bool
func (UpdateAdminProposal) GetDescription ¶ added in v0.12.0
func (p UpdateAdminProposal) GetDescription() string
GetDescription returns the human readable description of the proposal
func (*UpdateAdminProposal) GetTitle ¶ added in v0.12.0
func (p *UpdateAdminProposal) GetTitle() string
GetTitle returns the title of the proposal
func (*UpdateAdminProposal) Marshal ¶ added in v0.12.0
func (m *UpdateAdminProposal) Marshal() (dAtA []byte, err error)
func (*UpdateAdminProposal) MarshalTo ¶ added in v0.12.0
func (m *UpdateAdminProposal) MarshalTo(dAtA []byte) (int, error)
func (*UpdateAdminProposal) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *UpdateAdminProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (UpdateAdminProposal) ProposalRoute ¶ added in v0.12.0
func (p UpdateAdminProposal) ProposalRoute() string
ProposalRoute returns the routing key of a parameter change proposal.
func (UpdateAdminProposal) ProposalType ¶ added in v0.10.0
func (p UpdateAdminProposal) ProposalType() string
ProposalType returns the type
func (*UpdateAdminProposal) ProtoMessage ¶ added in v0.12.0
func (*UpdateAdminProposal) ProtoMessage()
func (*UpdateAdminProposal) Reset ¶ added in v0.12.0
func (m *UpdateAdminProposal) Reset()
func (*UpdateAdminProposal) Size ¶ added in v0.12.0
func (m *UpdateAdminProposal) Size() (n int)
func (UpdateAdminProposal) String ¶ added in v0.10.0
func (p UpdateAdminProposal) String() string
String implements the Stringer interface.
func (*UpdateAdminProposal) Unmarshal ¶ added in v0.12.0
func (m *UpdateAdminProposal) Unmarshal(dAtA []byte) error
func (UpdateAdminProposal) ValidateBasic ¶ added in v0.10.0
func (p UpdateAdminProposal) ValidateBasic() error
ValidateBasic validates the proposal
func (*UpdateAdminProposal) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *UpdateAdminProposal) XXX_DiscardUnknown()
func (*UpdateAdminProposal) XXX_Marshal ¶ added in v0.12.0
func (m *UpdateAdminProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateAdminProposal) XXX_Merge ¶ added in v0.12.0
func (m *UpdateAdminProposal) XXX_Merge(src proto.Message)
func (*UpdateAdminProposal) XXX_Size ¶ added in v0.12.0
func (m *UpdateAdminProposal) XXX_Size() int
func (*UpdateAdminProposal) XXX_Unmarshal ¶ added in v0.12.0
func (m *UpdateAdminProposal) XXX_Unmarshal(b []byte) error
type WasmConfig ¶
type WasmConfig struct { SmartQueryGasLimit uint64 `mapstructure:"query_gas_limit"` CacheSize uint64 `mapstructure:"lru_size"` }
WasmConfig is the extra config required for wasm
func DefaultWasmConfig ¶
func DefaultWasmConfig() WasmConfig
DefaultWasmConfig returns the default settings for WasmConfig