Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterCodec(_ *codec.LegacyAmino)
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- 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(gs GenesisState) error
- type AccountKeeper
- type BankKeeper
- type ExecutorWasm
- func (*ExecutorWasm) Descriptor() ([]byte, []int)
- func (m *ExecutorWasm) GetAddedAt() time.Time
- func (m *ExecutorWasm) GetBytecode() []byte
- func (m *ExecutorWasm) GetHash() []byte
- func (m *ExecutorWasm) Marshal() (dAtA []byte, err error)
- func (m *ExecutorWasm) MarshalTo(dAtA []byte) (int, error)
- func (m *ExecutorWasm) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ExecutorWasm) ProtoMessage()
- func (m *ExecutorWasm) Reset()
- func (m *ExecutorWasm) Size() (n int)
- func (m *ExecutorWasm) String() string
- func (m *ExecutorWasm) Unmarshal(dAtA []byte) error
- func (m *ExecutorWasm) XXX_DiscardUnknown()
- func (m *ExecutorWasm) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExecutorWasm) XXX_Merge(src proto.Message)
- func (m *ExecutorWasm) XXX_Size() int
- func (m *ExecutorWasm) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetCoreContractRegistry() string
- func (m *GenesisState) GetExecutorWasms() []ExecutorWasm
- func (m *GenesisState) GetOraclePrograms() []OracleProgram
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgInstantiateCoreContract
- func (*MsgInstantiateCoreContract) Descriptor() ([]byte, []int)
- func (m *MsgInstantiateCoreContract) GetAdmin() string
- func (m *MsgInstantiateCoreContract) GetCodeID() uint64
- func (m *MsgInstantiateCoreContract) GetFixMsg() bool
- func (m *MsgInstantiateCoreContract) GetFunds() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *MsgInstantiateCoreContract) GetLabel() string
- func (m *MsgInstantiateCoreContract) GetMsg() github_com_CosmWasm_wasmd_x_wasm_types.RawContractMessage
- func (m *MsgInstantiateCoreContract) GetSalt() []byte
- func (m *MsgInstantiateCoreContract) GetSender() string
- func (m *MsgInstantiateCoreContract) Marshal() (dAtA []byte, err error)
- func (m *MsgInstantiateCoreContract) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgInstantiateCoreContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgInstantiateCoreContract) ProtoMessage()
- func (m *MsgInstantiateCoreContract) Reset()
- func (m *MsgInstantiateCoreContract) Size() (n int)
- func (m *MsgInstantiateCoreContract) String() string
- func (m *MsgInstantiateCoreContract) Unmarshal(dAtA []byte) error
- func (msg *MsgInstantiateCoreContract) ValidateBasic() error
- func (m *MsgInstantiateCoreContract) XXX_DiscardUnknown()
- func (m *MsgInstantiateCoreContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgInstantiateCoreContract) XXX_Merge(src proto.Message)
- func (m *MsgInstantiateCoreContract) XXX_Size() int
- func (m *MsgInstantiateCoreContract) XXX_Unmarshal(b []byte) error
- type MsgInstantiateCoreContractResponse
- func (*MsgInstantiateCoreContractResponse) Descriptor() ([]byte, []int)
- func (m *MsgInstantiateCoreContractResponse) GetContractAddress() string
- func (m *MsgInstantiateCoreContractResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgInstantiateCoreContractResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgInstantiateCoreContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgInstantiateCoreContractResponse) ProtoMessage()
- func (m *MsgInstantiateCoreContractResponse) Reset()
- func (m *MsgInstantiateCoreContractResponse) Size() (n int)
- func (m *MsgInstantiateCoreContractResponse) String() string
- func (m *MsgInstantiateCoreContractResponse) Unmarshal(dAtA []byte) error
- func (m *MsgInstantiateCoreContractResponse) XXX_DiscardUnknown()
- func (m *MsgInstantiateCoreContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgInstantiateCoreContractResponse) XXX_Merge(src proto.Message)
- func (m *MsgInstantiateCoreContractResponse) XXX_Size() int
- func (m *MsgInstantiateCoreContractResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgStoreExecutorWasm
- func (*MsgStoreExecutorWasm) Descriptor() ([]byte, []int)
- func (m *MsgStoreExecutorWasm) GetSender() string
- func (m *MsgStoreExecutorWasm) GetWasm() []byte
- func (m *MsgStoreExecutorWasm) Marshal() (dAtA []byte, err error)
- func (m *MsgStoreExecutorWasm) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgStoreExecutorWasm) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgStoreExecutorWasm) ProtoMessage()
- func (m *MsgStoreExecutorWasm) Reset()
- func (m *MsgStoreExecutorWasm) Size() (n int)
- func (m *MsgStoreExecutorWasm) String() string
- func (m *MsgStoreExecutorWasm) Unmarshal(dAtA []byte) error
- func (msg *MsgStoreExecutorWasm) ValidateBasic() error
- func (m *MsgStoreExecutorWasm) XXX_DiscardUnknown()
- func (m *MsgStoreExecutorWasm) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgStoreExecutorWasm) XXX_Merge(src proto.Message)
- func (m *MsgStoreExecutorWasm) XXX_Size() int
- func (m *MsgStoreExecutorWasm) XXX_Unmarshal(b []byte) error
- type MsgStoreExecutorWasmResponse
- func (*MsgStoreExecutorWasmResponse) Descriptor() ([]byte, []int)
- func (m *MsgStoreExecutorWasmResponse) GetHash() string
- func (m *MsgStoreExecutorWasmResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgStoreExecutorWasmResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgStoreExecutorWasmResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgStoreExecutorWasmResponse) ProtoMessage()
- func (m *MsgStoreExecutorWasmResponse) Reset()
- func (m *MsgStoreExecutorWasmResponse) Size() (n int)
- func (m *MsgStoreExecutorWasmResponse) String() string
- func (m *MsgStoreExecutorWasmResponse) Unmarshal(dAtA []byte) error
- func (m *MsgStoreExecutorWasmResponse) XXX_DiscardUnknown()
- func (m *MsgStoreExecutorWasmResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgStoreExecutorWasmResponse) XXX_Merge(src proto.Message)
- func (m *MsgStoreExecutorWasmResponse) XXX_Size() int
- func (m *MsgStoreExecutorWasmResponse) XXX_Unmarshal(b []byte) error
- type MsgStoreOracleProgram
- func (*MsgStoreOracleProgram) Descriptor() ([]byte, []int)
- func (m *MsgStoreOracleProgram) GetSender() string
- func (m *MsgStoreOracleProgram) GetWasm() []byte
- func (m *MsgStoreOracleProgram) Marshal() (dAtA []byte, err error)
- func (m *MsgStoreOracleProgram) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgStoreOracleProgram) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgStoreOracleProgram) ProtoMessage()
- func (m *MsgStoreOracleProgram) Reset()
- func (m *MsgStoreOracleProgram) Size() (n int)
- func (m *MsgStoreOracleProgram) String() string
- func (m *MsgStoreOracleProgram) Unmarshal(dAtA []byte) error
- func (msg *MsgStoreOracleProgram) ValidateBasic() error
- func (m *MsgStoreOracleProgram) XXX_DiscardUnknown()
- func (m *MsgStoreOracleProgram) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgStoreOracleProgram) XXX_Merge(src proto.Message)
- func (m *MsgStoreOracleProgram) XXX_Size() int
- func (m *MsgStoreOracleProgram) XXX_Unmarshal(b []byte) error
- type MsgStoreOracleProgramResponse
- func (*MsgStoreOracleProgramResponse) Descriptor() ([]byte, []int)
- func (m *MsgStoreOracleProgramResponse) GetHash() string
- func (m *MsgStoreOracleProgramResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgStoreOracleProgramResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgStoreOracleProgramResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgStoreOracleProgramResponse) ProtoMessage()
- func (m *MsgStoreOracleProgramResponse) Reset()
- func (m *MsgStoreOracleProgramResponse) Size() (n int)
- func (m *MsgStoreOracleProgramResponse) String() string
- func (m *MsgStoreOracleProgramResponse) Unmarshal(dAtA []byte) error
- func (m *MsgStoreOracleProgramResponse) XXX_DiscardUnknown()
- func (m *MsgStoreOracleProgramResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgStoreOracleProgramResponse) XXX_Merge(src proto.Message)
- func (m *MsgStoreOracleProgramResponse) XXX_Size() int
- func (m *MsgStoreOracleProgramResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateParams
- func (*MsgUpdateParams) Descriptor() ([]byte, []int)
- func (m *MsgUpdateParams) GetAuthority() string
- func (m *MsgUpdateParams) GetParams() Params
- func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParams) ProtoMessage()
- func (m *MsgUpdateParams) Reset()
- func (m *MsgUpdateParams) Size() (n int)
- func (m *MsgUpdateParams) String() string
- func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateParams) XXX_DiscardUnknown()
- func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParams) XXX_Merge(src proto.Message)
- func (m *MsgUpdateParams) XXX_Size() int
- func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error
- type MsgUpdateParamsResponse
- func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParamsResponse) ProtoMessage()
- func (m *MsgUpdateParamsResponse) Reset()
- func (m *MsgUpdateParamsResponse) Size() (n int)
- func (m *MsgUpdateParamsResponse) String() string
- func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateParamsResponse) XXX_Size() int
- func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error
- type OracleProgram
- func (*OracleProgram) Descriptor() ([]byte, []int)
- func (m *OracleProgram) GetAddedAt() time.Time
- func (m *OracleProgram) GetBytecode() []byte
- func (m *OracleProgram) GetExpirationHeight() int64
- func (m *OracleProgram) GetHash() []byte
- func (m *OracleProgram) Marshal() (dAtA []byte, err error)
- func (m *OracleProgram) MarshalTo(dAtA []byte) (int, error)
- func (m *OracleProgram) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*OracleProgram) ProtoMessage()
- func (m *OracleProgram) Reset()
- func (m *OracleProgram) Size() (n int)
- func (m *OracleProgram) String() string
- func (m *OracleProgram) Unmarshal(dAtA []byte) error
- func (m *OracleProgram) XXX_DiscardUnknown()
- func (m *OracleProgram) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OracleProgram) XXX_Merge(src proto.Message)
- func (m *OracleProgram) XXX_Size() int
- func (m *OracleProgram) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (this *Params) Equal(that interface{}) bool
- func (m *Params) GetMaxWasmSize() int64
- func (m *Params) GetWasmTTL() int64
- 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 (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (m *Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p *Params) Validate() error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryCoreContractRegistryRequest
- func (*QueryCoreContractRegistryRequest) Descriptor() ([]byte, []int)
- func (m *QueryCoreContractRegistryRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryCoreContractRegistryRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCoreContractRegistryRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCoreContractRegistryRequest) ProtoMessage()
- func (m *QueryCoreContractRegistryRequest) Reset()
- func (m *QueryCoreContractRegistryRequest) Size() (n int)
- func (m *QueryCoreContractRegistryRequest) String() string
- func (m *QueryCoreContractRegistryRequest) Unmarshal(dAtA []byte) error
- func (m *QueryCoreContractRegistryRequest) XXX_DiscardUnknown()
- func (m *QueryCoreContractRegistryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCoreContractRegistryRequest) XXX_Merge(src proto.Message)
- func (m *QueryCoreContractRegistryRequest) XXX_Size() int
- func (m *QueryCoreContractRegistryRequest) XXX_Unmarshal(b []byte) error
- type QueryCoreContractRegistryResponse
- func (*QueryCoreContractRegistryResponse) Descriptor() ([]byte, []int)
- func (m *QueryCoreContractRegistryResponse) GetAddress() string
- func (m *QueryCoreContractRegistryResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryCoreContractRegistryResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCoreContractRegistryResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCoreContractRegistryResponse) ProtoMessage()
- func (m *QueryCoreContractRegistryResponse) Reset()
- func (m *QueryCoreContractRegistryResponse) Size() (n int)
- func (m *QueryCoreContractRegistryResponse) String() string
- func (m *QueryCoreContractRegistryResponse) Unmarshal(dAtA []byte) error
- func (m *QueryCoreContractRegistryResponse) XXX_DiscardUnknown()
- func (m *QueryCoreContractRegistryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCoreContractRegistryResponse) XXX_Merge(src proto.Message)
- func (m *QueryCoreContractRegistryResponse) XXX_Size() int
- func (m *QueryCoreContractRegistryResponse) XXX_Unmarshal(b []byte) error
- type QueryExecutorWasmRequest
- func (*QueryExecutorWasmRequest) Descriptor() ([]byte, []int)
- func (m *QueryExecutorWasmRequest) GetHash() string
- func (m *QueryExecutorWasmRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryExecutorWasmRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryExecutorWasmRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryExecutorWasmRequest) ProtoMessage()
- func (m *QueryExecutorWasmRequest) Reset()
- func (m *QueryExecutorWasmRequest) Size() (n int)
- func (m *QueryExecutorWasmRequest) String() string
- func (m *QueryExecutorWasmRequest) Unmarshal(dAtA []byte) error
- func (m *QueryExecutorWasmRequest) XXX_DiscardUnknown()
- func (m *QueryExecutorWasmRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryExecutorWasmRequest) XXX_Merge(src proto.Message)
- func (m *QueryExecutorWasmRequest) XXX_Size() int
- func (m *QueryExecutorWasmRequest) XXX_Unmarshal(b []byte) error
- type QueryExecutorWasmResponse
- func (*QueryExecutorWasmResponse) Descriptor() ([]byte, []int)
- func (m *QueryExecutorWasmResponse) GetWasm() *ExecutorWasm
- func (m *QueryExecutorWasmResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryExecutorWasmResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryExecutorWasmResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryExecutorWasmResponse) ProtoMessage()
- func (m *QueryExecutorWasmResponse) Reset()
- func (m *QueryExecutorWasmResponse) Size() (n int)
- func (m *QueryExecutorWasmResponse) String() string
- func (m *QueryExecutorWasmResponse) Unmarshal(dAtA []byte) error
- func (m *QueryExecutorWasmResponse) XXX_DiscardUnknown()
- func (m *QueryExecutorWasmResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryExecutorWasmResponse) XXX_Merge(src proto.Message)
- func (m *QueryExecutorWasmResponse) XXX_Size() int
- func (m *QueryExecutorWasmResponse) XXX_Unmarshal(b []byte) error
- type QueryExecutorWasmsRequest
- func (*QueryExecutorWasmsRequest) Descriptor() ([]byte, []int)
- func (m *QueryExecutorWasmsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryExecutorWasmsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryExecutorWasmsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryExecutorWasmsRequest) ProtoMessage()
- func (m *QueryExecutorWasmsRequest) Reset()
- func (m *QueryExecutorWasmsRequest) Size() (n int)
- func (m *QueryExecutorWasmsRequest) String() string
- func (m *QueryExecutorWasmsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryExecutorWasmsRequest) XXX_DiscardUnknown()
- func (m *QueryExecutorWasmsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryExecutorWasmsRequest) XXX_Merge(src proto.Message)
- func (m *QueryExecutorWasmsRequest) XXX_Size() int
- func (m *QueryExecutorWasmsRequest) XXX_Unmarshal(b []byte) error
- type QueryExecutorWasmsResponse
- func (*QueryExecutorWasmsResponse) Descriptor() ([]byte, []int)
- func (m *QueryExecutorWasmsResponse) GetList() []string
- func (m *QueryExecutorWasmsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryExecutorWasmsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryExecutorWasmsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryExecutorWasmsResponse) ProtoMessage()
- func (m *QueryExecutorWasmsResponse) Reset()
- func (m *QueryExecutorWasmsResponse) Size() (n int)
- func (m *QueryExecutorWasmsResponse) String() string
- func (m *QueryExecutorWasmsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryExecutorWasmsResponse) XXX_DiscardUnknown()
- func (m *QueryExecutorWasmsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryExecutorWasmsResponse) XXX_Merge(src proto.Message)
- func (m *QueryExecutorWasmsResponse) XXX_Size() int
- func (m *QueryExecutorWasmsResponse) XXX_Unmarshal(b []byte) error
- type QueryOracleProgramRequest
- func (*QueryOracleProgramRequest) Descriptor() ([]byte, []int)
- func (m *QueryOracleProgramRequest) GetHash() string
- func (m *QueryOracleProgramRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryOracleProgramRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryOracleProgramRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryOracleProgramRequest) ProtoMessage()
- func (m *QueryOracleProgramRequest) Reset()
- func (m *QueryOracleProgramRequest) Size() (n int)
- func (m *QueryOracleProgramRequest) String() string
- func (m *QueryOracleProgramRequest) Unmarshal(dAtA []byte) error
- func (m *QueryOracleProgramRequest) XXX_DiscardUnknown()
- func (m *QueryOracleProgramRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryOracleProgramRequest) XXX_Merge(src proto.Message)
- func (m *QueryOracleProgramRequest) XXX_Size() int
- func (m *QueryOracleProgramRequest) XXX_Unmarshal(b []byte) error
- type QueryOracleProgramResponse
- func (*QueryOracleProgramResponse) Descriptor() ([]byte, []int)
- func (m *QueryOracleProgramResponse) GetOracleProgram() *OracleProgram
- func (m *QueryOracleProgramResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryOracleProgramResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryOracleProgramResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryOracleProgramResponse) ProtoMessage()
- func (m *QueryOracleProgramResponse) Reset()
- func (m *QueryOracleProgramResponse) Size() (n int)
- func (m *QueryOracleProgramResponse) String() string
- func (m *QueryOracleProgramResponse) Unmarshal(dAtA []byte) error
- func (m *QueryOracleProgramResponse) XXX_DiscardUnknown()
- func (m *QueryOracleProgramResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryOracleProgramResponse) XXX_Merge(src proto.Message)
- func (m *QueryOracleProgramResponse) XXX_Size() int
- func (m *QueryOracleProgramResponse) XXX_Unmarshal(b []byte) error
- type QueryOracleProgramsRequest
- func (*QueryOracleProgramsRequest) Descriptor() ([]byte, []int)
- func (m *QueryOracleProgramsRequest) GetPagination() *query.PageRequest
- func (m *QueryOracleProgramsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryOracleProgramsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryOracleProgramsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryOracleProgramsRequest) ProtoMessage()
- func (m *QueryOracleProgramsRequest) Reset()
- func (m *QueryOracleProgramsRequest) Size() (n int)
- func (m *QueryOracleProgramsRequest) String() string
- func (m *QueryOracleProgramsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryOracleProgramsRequest) XXX_DiscardUnknown()
- func (m *QueryOracleProgramsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryOracleProgramsRequest) XXX_Merge(src proto.Message)
- func (m *QueryOracleProgramsRequest) XXX_Size() int
- func (m *QueryOracleProgramsRequest) XXX_Unmarshal(b []byte) error
- type QueryOracleProgramsResponse
- func (*QueryOracleProgramsResponse) Descriptor() ([]byte, []int)
- func (m *QueryOracleProgramsResponse) GetList() []string
- func (m *QueryOracleProgramsResponse) GetPagination() *query.PageResponse
- func (m *QueryOracleProgramsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryOracleProgramsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryOracleProgramsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryOracleProgramsResponse) ProtoMessage()
- func (m *QueryOracleProgramsResponse) Reset()
- func (m *QueryOracleProgramsResponse) Size() (n int)
- func (m *QueryOracleProgramsResponse) String() string
- func (m *QueryOracleProgramsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryOracleProgramsResponse) XXX_DiscardUnknown()
- func (m *QueryOracleProgramsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryOracleProgramsResponse) XXX_Merge(src proto.Message)
- func (m *QueryOracleProgramsResponse) XXX_Size() int
- func (m *QueryOracleProgramsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) InstantiateCoreContract(ctx context.Context, req *MsgInstantiateCoreContract) (*MsgInstantiateCoreContractResponse, error)
- func (*UnimplementedMsgServer) StoreExecutorWasm(ctx context.Context, req *MsgStoreExecutorWasm) (*MsgStoreExecutorWasmResponse, error)
- func (*UnimplementedMsgServer) StoreOracleProgram(ctx context.Context, req *MsgStoreOracleProgram) (*MsgStoreOracleProgramResponse, error)
- func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) CoreContractRegistry(ctx context.Context, req *QueryCoreContractRegistryRequest) (*QueryCoreContractRegistryResponse, error)
- func (*UnimplementedQueryServer) ExecutorWasm(ctx context.Context, req *QueryExecutorWasmRequest) (*QueryExecutorWasmResponse, error)
- func (*UnimplementedQueryServer) ExecutorWasms(ctx context.Context, req *QueryExecutorWasmsRequest) (*QueryExecutorWasmsResponse, error)
- func (*UnimplementedQueryServer) OracleProgram(ctx context.Context, req *QueryOracleProgramRequest) (*QueryOracleProgramResponse, error)
- func (*UnimplementedQueryServer) OraclePrograms(ctx context.Context, req *QueryOracleProgramsRequest) (*QueryOracleProgramsResponse, error)
Constants ¶
const ( EventTypeStoreOracleProgram = "store_oracle_program" EventTypeExecutorWasm = "store_executor_wasm" EventTypeOracleProgramExpiration = "oracle_program_expiration" AttributeOracleProgramHash = "oracle_program_hash" AttributeExecutorWasmHash = "executor_wasm_hash" AttributeSender = "sender" )
const ( // ModuleName defines the module name ModuleName = "wasm-storage" // StoreKey defines the primary module store key StoreKey = "storage" // RouterKey defines the module's message routing key RouterKey = ModuleName )
const ( DefaultMaxWasmSize int64 = 800 * 1024 DefaultWasmTTL = 259200 // 21 days )
const ( // MaxWasmSize is the maximum size of wasm bytecode. MaxWasmSize = 800 * 1024 // MinWasmSize is the realistic minimum size of wasm bytecode. MinWasmSize = 20 )
Variables ¶
var ( Amino = codec.NewLegacyAmino() ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry()) )
var ( ErrInvalidParam = errors.Register(ModuleName, 2, "invalid param") ErrWasmAlreadyExists = errors.Register(ModuleName, 3, "wasm with the same hash already exists") ErrWasmTooLarge = errors.Register(ModuleName, 4, "wasm size is too large") ErrWasmTooSmall = errors.Register(ModuleName, 5, "wasm size is too small") ErrInvalidHexWasmHash = errors.Register(ModuleName, 6, "invalid hex-encoded wasm hash") ErrWasmNotGzipCompressed = errors.Register(ModuleName, 7, "wasm is not gzip compressed") ErrInvalidAuthority = errors.Register(ModuleName, 8, "invalid authority") )
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 ( // OracleProgramPrefix defines prefix to store oracle programs. OracleProgramPrefix = collections.NewPrefix(0) // ExecutorPrefix defines prefix to store executor wasms. ExecutorPrefix = collections.NewPrefix(1) // WasmExpPrefix defines prefix to track wasm expiration. WasmExpPrefix = collections.NewPrefix(2) // CoreContractRegistryPrefix defines prefix to store address of // Core Contract. CoreContractRegistryPrefix = collections.NewPrefix(3) // ParamsPrefix defines prefix to store parameters of wasm-storage module. ParamsPrefix = collections.NewPrefix(4) )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthWasmStorage = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowWasmStorage = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupWasmStorage = fmt.Errorf("proto: unexpected end of group") )
var Msg_serviceDesc = _Msg_serviceDesc
var Query_serviceDesc = _Query_serviceDesc
Functions ¶
func RegisterCodec ¶
func RegisterCodec(_ *codec.LegacyAmino)
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
func RegisterMsgServer ¶
func RegisterQueryHandler ¶
RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryHandlerClient ¶
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 ¶
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 ¶
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 ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
func ValidateGenesis ¶
func ValidateGenesis(gs GenesisState) error
ValidateGenesis validates wasm-storage genesis data.
Types ¶
type AccountKeeper ¶
type BankKeeper ¶
type ExecutorWasm ¶
type ExecutorWasm struct { Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` Bytecode []byte `protobuf:"bytes,2,opt,name=bytecode,proto3" json:"bytecode,omitempty"` AddedAt time.Time `protobuf:"bytes,3,opt,name=added_at,json=addedAt,proto3,stdtime" json:"added_at"` }
ExecutorWasm is a wasm used by some component in the protocol.
func NewExecutorWasm ¶
func NewExecutorWasm(bytecode []byte, addedAt time.Time) ExecutorWasm
NewExecutorWasm constructs a new ExecutorWasm object given bytecode. It panics if it fails to compute hash of bytecode.
func (*ExecutorWasm) Descriptor ¶
func (*ExecutorWasm) Descriptor() ([]byte, []int)
func (*ExecutorWasm) GetAddedAt ¶
func (m *ExecutorWasm) GetAddedAt() time.Time
func (*ExecutorWasm) GetBytecode ¶
func (m *ExecutorWasm) GetBytecode() []byte
func (*ExecutorWasm) GetHash ¶
func (m *ExecutorWasm) GetHash() []byte
func (*ExecutorWasm) Marshal ¶
func (m *ExecutorWasm) Marshal() (dAtA []byte, err error)
func (*ExecutorWasm) MarshalToSizedBuffer ¶
func (m *ExecutorWasm) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ExecutorWasm) ProtoMessage ¶
func (*ExecutorWasm) ProtoMessage()
func (*ExecutorWasm) Reset ¶
func (m *ExecutorWasm) Reset()
func (*ExecutorWasm) Size ¶
func (m *ExecutorWasm) Size() (n int)
func (*ExecutorWasm) String ¶
func (m *ExecutorWasm) String() string
func (*ExecutorWasm) Unmarshal ¶
func (m *ExecutorWasm) Unmarshal(dAtA []byte) error
func (*ExecutorWasm) XXX_DiscardUnknown ¶
func (m *ExecutorWasm) XXX_DiscardUnknown()
func (*ExecutorWasm) XXX_Marshal ¶
func (m *ExecutorWasm) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExecutorWasm) XXX_Merge ¶
func (m *ExecutorWasm) XXX_Merge(src proto.Message)
func (*ExecutorWasm) XXX_Size ¶
func (m *ExecutorWasm) XXX_Size() int
func (*ExecutorWasm) XXX_Unmarshal ¶
func (m *ExecutorWasm) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct { Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` OraclePrograms []OracleProgram `protobuf:"bytes,2,rep,name=oracle_programs,json=oraclePrograms,proto3" json:"oracle_programs"` ExecutorWasms []ExecutorWasm `protobuf:"bytes,3,rep,name=executor_wasms,json=executorWasms,proto3" json:"executor_wasms"` CoreContractRegistry string `protobuf:"bytes,4,opt,name=core_contract_registry,json=coreContractRegistry,proto3" json:"core_contract_registry,omitempty"` }
GenesisState defines wasm-storage module's genesis state.
func DefaultGenesisState ¶
func DefaultGenesisState() *GenesisState
DefaultGenesisState creates a default GenesisState object.
func NewGenesisState ¶
func NewGenesisState(params Params, programs []OracleProgram, execWasms []ExecutorWasm, coreAddr string) GenesisState
NewGenesisState constructs a GenesisState object.
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetCoreContractRegistry ¶
func (m *GenesisState) GetCoreContractRegistry() string
func (*GenesisState) GetExecutorWasms ¶
func (m *GenesisState) GetExecutorWasms() []ExecutorWasm
func (*GenesisState) GetOraclePrograms ¶
func (m *GenesisState) GetOraclePrograms() []OracleProgram
func (*GenesisState) GetParams ¶ added in v0.1.4
func (m *GenesisState) GetParams() Params
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalToSizedBuffer ¶
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (*GenesisState) XXX_DiscardUnknown ¶
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { // StoreOracleProgram stores an oracle program. StoreOracleProgram(ctx context.Context, in *MsgStoreOracleProgram, opts ...grpc.CallOption) (*MsgStoreOracleProgramResponse, error) // StoreExecutorWasm stores an executor wasm. StoreExecutorWasm(ctx context.Context, in *MsgStoreExecutorWasm, opts ...grpc.CallOption) (*MsgStoreExecutorWasmResponse, error) // InstantiateCoreContract instantiates the Core Contract and registers its // address. InstantiateCoreContract(ctx context.Context, in *MsgInstantiateCoreContract, opts ...grpc.CallOption) (*MsgInstantiateCoreContractResponse, error) // The UpdateParams method updates the module's parameters. UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) }
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc1.ClientConn) MsgClient
type MsgInstantiateCoreContract ¶
type MsgInstantiateCoreContract struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` Admin string `protobuf:"bytes,2,opt,name=admin,proto3" json:"admin,omitempty"` CodeID uint64 `protobuf:"varint,3,opt,name=code_id,json=codeId,proto3" json:"code_id,omitempty"` Label string `protobuf:"bytes,4,opt,name=label,proto3" json:"label,omitempty"` Msg github_com_CosmWasm_wasmd_x_wasm_types.RawContractMessage `` /* 126-byte string literal not displayed */ Funds github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,6,rep,name=funds,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"funds"` Salt []byte `protobuf:"bytes,7,opt,name=salt,proto3" json:"salt,omitempty"` FixMsg bool `protobuf:"varint,8,opt,name=fix_msg,json=fixMsg,proto3" json:"fix_msg,omitempty"` }
The request message for the InstantiateCoreContract method.
func (*MsgInstantiateCoreContract) Descriptor ¶
func (*MsgInstantiateCoreContract) Descriptor() ([]byte, []int)
func (*MsgInstantiateCoreContract) GetAdmin ¶
func (m *MsgInstantiateCoreContract) GetAdmin() string
func (*MsgInstantiateCoreContract) GetCodeID ¶
func (m *MsgInstantiateCoreContract) GetCodeID() uint64
func (*MsgInstantiateCoreContract) GetFixMsg ¶
func (m *MsgInstantiateCoreContract) GetFixMsg() bool
func (*MsgInstantiateCoreContract) GetFunds ¶
func (m *MsgInstantiateCoreContract) GetFunds() github_com_cosmos_cosmos_sdk_types.Coins
func (*MsgInstantiateCoreContract) GetLabel ¶
func (m *MsgInstantiateCoreContract) GetLabel() string
func (*MsgInstantiateCoreContract) GetMsg ¶
func (m *MsgInstantiateCoreContract) GetMsg() github_com_CosmWasm_wasmd_x_wasm_types.RawContractMessage
func (*MsgInstantiateCoreContract) GetSalt ¶
func (m *MsgInstantiateCoreContract) GetSalt() []byte
func (*MsgInstantiateCoreContract) GetSender ¶
func (m *MsgInstantiateCoreContract) GetSender() string
func (*MsgInstantiateCoreContract) Marshal ¶
func (m *MsgInstantiateCoreContract) Marshal() (dAtA []byte, err error)
func (*MsgInstantiateCoreContract) MarshalTo ¶
func (m *MsgInstantiateCoreContract) MarshalTo(dAtA []byte) (int, error)
func (*MsgInstantiateCoreContract) MarshalToSizedBuffer ¶
func (m *MsgInstantiateCoreContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgInstantiateCoreContract) ProtoMessage ¶
func (*MsgInstantiateCoreContract) ProtoMessage()
func (*MsgInstantiateCoreContract) Reset ¶
func (m *MsgInstantiateCoreContract) Reset()
func (*MsgInstantiateCoreContract) Size ¶
func (m *MsgInstantiateCoreContract) Size() (n int)
func (*MsgInstantiateCoreContract) String ¶
func (m *MsgInstantiateCoreContract) String() string
func (*MsgInstantiateCoreContract) Unmarshal ¶
func (m *MsgInstantiateCoreContract) Unmarshal(dAtA []byte) error
func (*MsgInstantiateCoreContract) ValidateBasic ¶
func (msg *MsgInstantiateCoreContract) ValidateBasic() error
func (*MsgInstantiateCoreContract) XXX_DiscardUnknown ¶
func (m *MsgInstantiateCoreContract) XXX_DiscardUnknown()
func (*MsgInstantiateCoreContract) XXX_Marshal ¶
func (m *MsgInstantiateCoreContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgInstantiateCoreContract) XXX_Merge ¶
func (m *MsgInstantiateCoreContract) XXX_Merge(src proto.Message)
func (*MsgInstantiateCoreContract) XXX_Size ¶
func (m *MsgInstantiateCoreContract) XXX_Size() int
func (*MsgInstantiateCoreContract) XXX_Unmarshal ¶
func (m *MsgInstantiateCoreContract) XXX_Unmarshal(b []byte) error
type MsgInstantiateCoreContractResponse ¶
type MsgInstantiateCoreContractResponse struct {
ContractAddress string `protobuf:"bytes,1,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
}
The response message for the InstantiateCoreContract method.
func (*MsgInstantiateCoreContractResponse) Descriptor ¶
func (*MsgInstantiateCoreContractResponse) Descriptor() ([]byte, []int)
func (*MsgInstantiateCoreContractResponse) GetContractAddress ¶
func (m *MsgInstantiateCoreContractResponse) GetContractAddress() string
func (*MsgInstantiateCoreContractResponse) Marshal ¶
func (m *MsgInstantiateCoreContractResponse) Marshal() (dAtA []byte, err error)
func (*MsgInstantiateCoreContractResponse) MarshalTo ¶
func (m *MsgInstantiateCoreContractResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgInstantiateCoreContractResponse) MarshalToSizedBuffer ¶
func (m *MsgInstantiateCoreContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgInstantiateCoreContractResponse) ProtoMessage ¶
func (*MsgInstantiateCoreContractResponse) ProtoMessage()
func (*MsgInstantiateCoreContractResponse) Reset ¶
func (m *MsgInstantiateCoreContractResponse) Reset()
func (*MsgInstantiateCoreContractResponse) Size ¶
func (m *MsgInstantiateCoreContractResponse) Size() (n int)
func (*MsgInstantiateCoreContractResponse) String ¶
func (m *MsgInstantiateCoreContractResponse) String() string
func (*MsgInstantiateCoreContractResponse) Unmarshal ¶
func (m *MsgInstantiateCoreContractResponse) Unmarshal(dAtA []byte) error
func (*MsgInstantiateCoreContractResponse) XXX_DiscardUnknown ¶
func (m *MsgInstantiateCoreContractResponse) XXX_DiscardUnknown()
func (*MsgInstantiateCoreContractResponse) XXX_Marshal ¶
func (m *MsgInstantiateCoreContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgInstantiateCoreContractResponse) XXX_Merge ¶
func (m *MsgInstantiateCoreContractResponse) XXX_Merge(src proto.Message)
func (*MsgInstantiateCoreContractResponse) XXX_Size ¶
func (m *MsgInstantiateCoreContractResponse) XXX_Size() int
func (*MsgInstantiateCoreContractResponse) XXX_Unmarshal ¶
func (m *MsgInstantiateCoreContractResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { // StoreOracleProgram stores an oracle program. StoreOracleProgram(context.Context, *MsgStoreOracleProgram) (*MsgStoreOracleProgramResponse, error) // StoreExecutorWasm stores an executor wasm. StoreExecutorWasm(context.Context, *MsgStoreExecutorWasm) (*MsgStoreExecutorWasmResponse, error) // InstantiateCoreContract instantiates the Core Contract and registers its // address. InstantiateCoreContract(context.Context, *MsgInstantiateCoreContract) (*MsgInstantiateCoreContractResponse, error) // The UpdateParams method updates the module's parameters. UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) }
MsgServer is the server API for Msg service.
type MsgStoreExecutorWasm ¶
type MsgStoreExecutorWasm struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` Wasm []byte `protobuf:"bytes,2,opt,name=wasm,proto3" json:"wasm,omitempty"` }
The request message for the StoreExecutorWasm method.
func (*MsgStoreExecutorWasm) Descriptor ¶
func (*MsgStoreExecutorWasm) Descriptor() ([]byte, []int)
func (*MsgStoreExecutorWasm) GetSender ¶
func (m *MsgStoreExecutorWasm) GetSender() string
func (*MsgStoreExecutorWasm) GetWasm ¶
func (m *MsgStoreExecutorWasm) GetWasm() []byte
func (*MsgStoreExecutorWasm) Marshal ¶
func (m *MsgStoreExecutorWasm) Marshal() (dAtA []byte, err error)
func (*MsgStoreExecutorWasm) MarshalTo ¶
func (m *MsgStoreExecutorWasm) MarshalTo(dAtA []byte) (int, error)
func (*MsgStoreExecutorWasm) MarshalToSizedBuffer ¶
func (m *MsgStoreExecutorWasm) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgStoreExecutorWasm) ProtoMessage ¶
func (*MsgStoreExecutorWasm) ProtoMessage()
func (*MsgStoreExecutorWasm) Reset ¶
func (m *MsgStoreExecutorWasm) Reset()
func (*MsgStoreExecutorWasm) Size ¶
func (m *MsgStoreExecutorWasm) Size() (n int)
func (*MsgStoreExecutorWasm) String ¶
func (m *MsgStoreExecutorWasm) String() string
func (*MsgStoreExecutorWasm) Unmarshal ¶
func (m *MsgStoreExecutorWasm) Unmarshal(dAtA []byte) error
func (*MsgStoreExecutorWasm) ValidateBasic ¶
func (msg *MsgStoreExecutorWasm) ValidateBasic() error
func (*MsgStoreExecutorWasm) XXX_DiscardUnknown ¶
func (m *MsgStoreExecutorWasm) XXX_DiscardUnknown()
func (*MsgStoreExecutorWasm) XXX_Marshal ¶
func (m *MsgStoreExecutorWasm) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgStoreExecutorWasm) XXX_Merge ¶
func (m *MsgStoreExecutorWasm) XXX_Merge(src proto.Message)
func (*MsgStoreExecutorWasm) XXX_Size ¶
func (m *MsgStoreExecutorWasm) XXX_Size() int
func (*MsgStoreExecutorWasm) XXX_Unmarshal ¶
func (m *MsgStoreExecutorWasm) XXX_Unmarshal(b []byte) error
type MsgStoreExecutorWasmResponse ¶
type MsgStoreExecutorWasmResponse struct {
Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
}
The response message for the StoreExecutorWasm method.
func (*MsgStoreExecutorWasmResponse) Descriptor ¶
func (*MsgStoreExecutorWasmResponse) Descriptor() ([]byte, []int)
func (*MsgStoreExecutorWasmResponse) GetHash ¶
func (m *MsgStoreExecutorWasmResponse) GetHash() string
func (*MsgStoreExecutorWasmResponse) Marshal ¶
func (m *MsgStoreExecutorWasmResponse) Marshal() (dAtA []byte, err error)
func (*MsgStoreExecutorWasmResponse) MarshalTo ¶
func (m *MsgStoreExecutorWasmResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgStoreExecutorWasmResponse) MarshalToSizedBuffer ¶
func (m *MsgStoreExecutorWasmResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgStoreExecutorWasmResponse) ProtoMessage ¶
func (*MsgStoreExecutorWasmResponse) ProtoMessage()
func (*MsgStoreExecutorWasmResponse) Reset ¶
func (m *MsgStoreExecutorWasmResponse) Reset()
func (*MsgStoreExecutorWasmResponse) Size ¶
func (m *MsgStoreExecutorWasmResponse) Size() (n int)
func (*MsgStoreExecutorWasmResponse) String ¶
func (m *MsgStoreExecutorWasmResponse) String() string
func (*MsgStoreExecutorWasmResponse) Unmarshal ¶
func (m *MsgStoreExecutorWasmResponse) Unmarshal(dAtA []byte) error
func (*MsgStoreExecutorWasmResponse) XXX_DiscardUnknown ¶
func (m *MsgStoreExecutorWasmResponse) XXX_DiscardUnknown()
func (*MsgStoreExecutorWasmResponse) XXX_Marshal ¶
func (m *MsgStoreExecutorWasmResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgStoreExecutorWasmResponse) XXX_Merge ¶
func (m *MsgStoreExecutorWasmResponse) XXX_Merge(src proto.Message)
func (*MsgStoreExecutorWasmResponse) XXX_Size ¶
func (m *MsgStoreExecutorWasmResponse) XXX_Size() int
func (*MsgStoreExecutorWasmResponse) XXX_Unmarshal ¶
func (m *MsgStoreExecutorWasmResponse) XXX_Unmarshal(b []byte) error
type MsgStoreOracleProgram ¶
type MsgStoreOracleProgram struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` Wasm []byte `protobuf:"bytes,2,opt,name=wasm,proto3" json:"wasm,omitempty"` }
The request message for the StoreOracleProgram method.
func (*MsgStoreOracleProgram) Descriptor ¶
func (*MsgStoreOracleProgram) Descriptor() ([]byte, []int)
func (*MsgStoreOracleProgram) GetSender ¶
func (m *MsgStoreOracleProgram) GetSender() string
func (*MsgStoreOracleProgram) GetWasm ¶
func (m *MsgStoreOracleProgram) GetWasm() []byte
func (*MsgStoreOracleProgram) Marshal ¶
func (m *MsgStoreOracleProgram) Marshal() (dAtA []byte, err error)
func (*MsgStoreOracleProgram) MarshalTo ¶
func (m *MsgStoreOracleProgram) MarshalTo(dAtA []byte) (int, error)
func (*MsgStoreOracleProgram) MarshalToSizedBuffer ¶
func (m *MsgStoreOracleProgram) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgStoreOracleProgram) ProtoMessage ¶
func (*MsgStoreOracleProgram) ProtoMessage()
func (*MsgStoreOracleProgram) Reset ¶
func (m *MsgStoreOracleProgram) Reset()
func (*MsgStoreOracleProgram) Size ¶
func (m *MsgStoreOracleProgram) Size() (n int)
func (*MsgStoreOracleProgram) String ¶
func (m *MsgStoreOracleProgram) String() string
func (*MsgStoreOracleProgram) Unmarshal ¶
func (m *MsgStoreOracleProgram) Unmarshal(dAtA []byte) error
func (*MsgStoreOracleProgram) ValidateBasic ¶
func (msg *MsgStoreOracleProgram) ValidateBasic() error
func (*MsgStoreOracleProgram) XXX_DiscardUnknown ¶
func (m *MsgStoreOracleProgram) XXX_DiscardUnknown()
func (*MsgStoreOracleProgram) XXX_Marshal ¶
func (m *MsgStoreOracleProgram) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgStoreOracleProgram) XXX_Merge ¶
func (m *MsgStoreOracleProgram) XXX_Merge(src proto.Message)
func (*MsgStoreOracleProgram) XXX_Size ¶
func (m *MsgStoreOracleProgram) XXX_Size() int
func (*MsgStoreOracleProgram) XXX_Unmarshal ¶
func (m *MsgStoreOracleProgram) XXX_Unmarshal(b []byte) error
type MsgStoreOracleProgramResponse ¶
type MsgStoreOracleProgramResponse struct {
Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
}
The response message for the StoreOracleProgram method.
func (*MsgStoreOracleProgramResponse) Descriptor ¶
func (*MsgStoreOracleProgramResponse) Descriptor() ([]byte, []int)
func (*MsgStoreOracleProgramResponse) GetHash ¶
func (m *MsgStoreOracleProgramResponse) GetHash() string
func (*MsgStoreOracleProgramResponse) Marshal ¶
func (m *MsgStoreOracleProgramResponse) Marshal() (dAtA []byte, err error)
func (*MsgStoreOracleProgramResponse) MarshalTo ¶
func (m *MsgStoreOracleProgramResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgStoreOracleProgramResponse) MarshalToSizedBuffer ¶
func (m *MsgStoreOracleProgramResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgStoreOracleProgramResponse) ProtoMessage ¶
func (*MsgStoreOracleProgramResponse) ProtoMessage()
func (*MsgStoreOracleProgramResponse) Reset ¶
func (m *MsgStoreOracleProgramResponse) Reset()
func (*MsgStoreOracleProgramResponse) Size ¶
func (m *MsgStoreOracleProgramResponse) Size() (n int)
func (*MsgStoreOracleProgramResponse) String ¶
func (m *MsgStoreOracleProgramResponse) String() string
func (*MsgStoreOracleProgramResponse) Unmarshal ¶
func (m *MsgStoreOracleProgramResponse) Unmarshal(dAtA []byte) error
func (*MsgStoreOracleProgramResponse) XXX_DiscardUnknown ¶
func (m *MsgStoreOracleProgramResponse) XXX_DiscardUnknown()
func (*MsgStoreOracleProgramResponse) XXX_Marshal ¶
func (m *MsgStoreOracleProgramResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgStoreOracleProgramResponse) XXX_Merge ¶
func (m *MsgStoreOracleProgramResponse) XXX_Merge(src proto.Message)
func (*MsgStoreOracleProgramResponse) XXX_Size ¶
func (m *MsgStoreOracleProgramResponse) XXX_Size() int
func (*MsgStoreOracleProgramResponse) XXX_Unmarshal ¶
func (m *MsgStoreOracleProgramResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateParams ¶ added in v0.0.6
type MsgUpdateParams struct { // authority is the address that controls the module (defaults to x/gov unless // overwritten). Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"` }
The request message for the UpdateParams method.
func (*MsgUpdateParams) Descriptor ¶ added in v0.0.6
func (*MsgUpdateParams) Descriptor() ([]byte, []int)
func (*MsgUpdateParams) GetAuthority ¶ added in v0.0.6
func (m *MsgUpdateParams) GetAuthority() string
func (*MsgUpdateParams) GetParams ¶ added in v0.0.6
func (m *MsgUpdateParams) GetParams() Params
func (*MsgUpdateParams) Marshal ¶ added in v0.0.6
func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParams) MarshalTo ¶ added in v0.0.6
func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateParams) MarshalToSizedBuffer ¶ added in v0.0.6
func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParams) ProtoMessage ¶ added in v0.0.6
func (*MsgUpdateParams) ProtoMessage()
func (*MsgUpdateParams) Reset ¶ added in v0.0.6
func (m *MsgUpdateParams) Reset()
func (*MsgUpdateParams) Size ¶ added in v0.0.6
func (m *MsgUpdateParams) Size() (n int)
func (*MsgUpdateParams) String ¶ added in v0.0.6
func (m *MsgUpdateParams) String() string
func (*MsgUpdateParams) Unmarshal ¶ added in v0.0.6
func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
func (*MsgUpdateParams) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *MsgUpdateParams) XXX_DiscardUnknown()
func (*MsgUpdateParams) XXX_Marshal ¶ added in v0.0.6
func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParams) XXX_Merge ¶ added in v0.0.6
func (m *MsgUpdateParams) XXX_Merge(src proto.Message)
func (*MsgUpdateParams) XXX_Size ¶ added in v0.0.6
func (m *MsgUpdateParams) XXX_Size() int
func (*MsgUpdateParams) XXX_Unmarshal ¶ added in v0.0.6
func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error
type MsgUpdateParamsResponse ¶ added in v0.0.6
type MsgUpdateParamsResponse struct { }
no data needs to be returned
func (*MsgUpdateParamsResponse) Descriptor ¶ added in v0.0.6
func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateParamsResponse) Marshal ¶ added in v0.0.6
func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParamsResponse) MarshalTo ¶ added in v0.0.6
func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateParamsResponse) MarshalToSizedBuffer ¶ added in v0.0.6
func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParamsResponse) ProtoMessage ¶ added in v0.0.6
func (*MsgUpdateParamsResponse) ProtoMessage()
func (*MsgUpdateParamsResponse) Reset ¶ added in v0.0.6
func (m *MsgUpdateParamsResponse) Reset()
func (*MsgUpdateParamsResponse) Size ¶ added in v0.0.6
func (m *MsgUpdateParamsResponse) Size() (n int)
func (*MsgUpdateParamsResponse) String ¶ added in v0.0.6
func (m *MsgUpdateParamsResponse) String() string
func (*MsgUpdateParamsResponse) Unmarshal ¶ added in v0.0.6
func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateParamsResponse) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()
func (*MsgUpdateParamsResponse) XXX_Marshal ¶ added in v0.0.6
func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParamsResponse) XXX_Merge ¶ added in v0.0.6
func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateParamsResponse) XXX_Size ¶ added in v0.0.6
func (m *MsgUpdateParamsResponse) XXX_Size() int
func (*MsgUpdateParamsResponse) XXX_Unmarshal ¶ added in v0.0.6
func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error
type OracleProgram ¶
type OracleProgram struct { Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` Bytecode []byte `protobuf:"bytes,2,opt,name=bytecode,proto3" json:"bytecode,omitempty"` AddedAt time.Time `protobuf:"bytes,3,opt,name=added_at,json=addedAt,proto3,stdtime" json:"added_at"` // ExpirationHeight represents the block height at which the oracle // program will be pruned. The value of zero means no expiration. ExpirationHeight int64 `protobuf:"varint,4,opt,name=expiration_height,json=expirationHeight,proto3" json:"expiration_height,omitempty"` }
OracleProgram is a wasm used for data request.
func NewOracleProgram ¶
func NewOracleProgram(bytecode []byte, addedAt time.Time, _, _ int64) OracleProgram
NewOracleProgram constructs a new OracleProgram object given bytecode. It panics if it fails to compute hash of bytecode.
func (*OracleProgram) Descriptor ¶
func (*OracleProgram) Descriptor() ([]byte, []int)
func (*OracleProgram) GetAddedAt ¶
func (m *OracleProgram) GetAddedAt() time.Time
func (*OracleProgram) GetBytecode ¶
func (m *OracleProgram) GetBytecode() []byte
func (*OracleProgram) GetExpirationHeight ¶
func (m *OracleProgram) GetExpirationHeight() int64
func (*OracleProgram) GetHash ¶
func (m *OracleProgram) GetHash() []byte
func (*OracleProgram) Marshal ¶
func (m *OracleProgram) Marshal() (dAtA []byte, err error)
func (*OracleProgram) MarshalToSizedBuffer ¶
func (m *OracleProgram) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*OracleProgram) ProtoMessage ¶
func (*OracleProgram) ProtoMessage()
func (*OracleProgram) Reset ¶
func (m *OracleProgram) Reset()
func (*OracleProgram) Size ¶
func (m *OracleProgram) Size() (n int)
func (*OracleProgram) String ¶
func (m *OracleProgram) String() string
func (*OracleProgram) Unmarshal ¶
func (m *OracleProgram) Unmarshal(dAtA []byte) error
func (*OracleProgram) XXX_DiscardUnknown ¶
func (m *OracleProgram) XXX_DiscardUnknown()
func (*OracleProgram) XXX_Marshal ¶
func (m *OracleProgram) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OracleProgram) XXX_Merge ¶
func (m *OracleProgram) XXX_Merge(src proto.Message)
func (*OracleProgram) XXX_Size ¶
func (m *OracleProgram) XXX_Size() int
func (*OracleProgram) XXX_Unmarshal ¶
func (m *OracleProgram) XXX_Unmarshal(b []byte) error
type Params ¶
type Params struct { MaxWasmSize int64 `protobuf:"varint,1,opt,name=max_wasm_size,json=maxWasmSize,proto3" json:"max_wasm_size,omitempty"` // WasmTTL represents the number of blocks a wasm's life is extended when it's // created or used. WasmTTL int64 `protobuf:"varint,2,opt,name=wasm_ttl,json=wasmTtl,proto3" json:"wasm_ttl,omitempty"` }
Params to define the max wasm size allowed.
func DefaultParams ¶
func DefaultParams() Params
DefaultParams returns default wasm-storage module parameters.
func (*Params) Descriptor ¶
func (*Params) GetMaxWasmSize ¶
func (*Params) GetWasmTTL ¶ added in v0.1.4
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type QueryClient ¶
type QueryClient interface { // OracleProgram returns an oracle program given its hash. OracleProgram(ctx context.Context, in *QueryOracleProgramRequest, opts ...grpc.CallOption) (*QueryOracleProgramResponse, error) // OraclePrograms returns all oracle programs. OraclePrograms(ctx context.Context, in *QueryOracleProgramsRequest, opts ...grpc.CallOption) (*QueryOracleProgramsResponse, error) // ExecutorWasm returns an executor wasm given its hash. ExecutorWasm(ctx context.Context, in *QueryExecutorWasmRequest, opts ...grpc.CallOption) (*QueryExecutorWasmResponse, error) // ExecutorWasms returns all executor wasms. ExecutorWasms(ctx context.Context, in *QueryExecutorWasmsRequest, opts ...grpc.CallOption) (*QueryExecutorWasmsResponse, error) // CoreContractRegistry returns the Core Contract Registry address. CoreContractRegistry(ctx context.Context, in *QueryCoreContractRegistryRequest, opts ...grpc.CallOption) (*QueryCoreContractRegistryResponse, error) }
QueryClient is the client API for Query service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewQueryClient ¶
func NewQueryClient(cc grpc1.ClientConn) QueryClient
type QueryCoreContractRegistryRequest ¶
type QueryCoreContractRegistryRequest struct { }
The request message for QueryCoreContractRegistry RPC.
func (*QueryCoreContractRegistryRequest) Descriptor ¶
func (*QueryCoreContractRegistryRequest) Descriptor() ([]byte, []int)
func (*QueryCoreContractRegistryRequest) Marshal ¶
func (m *QueryCoreContractRegistryRequest) Marshal() (dAtA []byte, err error)
func (*QueryCoreContractRegistryRequest) MarshalTo ¶
func (m *QueryCoreContractRegistryRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryCoreContractRegistryRequest) MarshalToSizedBuffer ¶
func (m *QueryCoreContractRegistryRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCoreContractRegistryRequest) ProtoMessage ¶
func (*QueryCoreContractRegistryRequest) ProtoMessage()
func (*QueryCoreContractRegistryRequest) Reset ¶
func (m *QueryCoreContractRegistryRequest) Reset()
func (*QueryCoreContractRegistryRequest) Size ¶
func (m *QueryCoreContractRegistryRequest) Size() (n int)
func (*QueryCoreContractRegistryRequest) String ¶
func (m *QueryCoreContractRegistryRequest) String() string
func (*QueryCoreContractRegistryRequest) Unmarshal ¶
func (m *QueryCoreContractRegistryRequest) Unmarshal(dAtA []byte) error
func (*QueryCoreContractRegistryRequest) XXX_DiscardUnknown ¶
func (m *QueryCoreContractRegistryRequest) XXX_DiscardUnknown()
func (*QueryCoreContractRegistryRequest) XXX_Marshal ¶
func (m *QueryCoreContractRegistryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCoreContractRegistryRequest) XXX_Merge ¶
func (m *QueryCoreContractRegistryRequest) XXX_Merge(src proto.Message)
func (*QueryCoreContractRegistryRequest) XXX_Size ¶
func (m *QueryCoreContractRegistryRequest) XXX_Size() int
func (*QueryCoreContractRegistryRequest) XXX_Unmarshal ¶
func (m *QueryCoreContractRegistryRequest) XXX_Unmarshal(b []byte) error
type QueryCoreContractRegistryResponse ¶
type QueryCoreContractRegistryResponse struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}
The response message for QueryCoreContractRegistry RPC.
func (*QueryCoreContractRegistryResponse) Descriptor ¶
func (*QueryCoreContractRegistryResponse) Descriptor() ([]byte, []int)
func (*QueryCoreContractRegistryResponse) GetAddress ¶
func (m *QueryCoreContractRegistryResponse) GetAddress() string
func (*QueryCoreContractRegistryResponse) Marshal ¶
func (m *QueryCoreContractRegistryResponse) Marshal() (dAtA []byte, err error)
func (*QueryCoreContractRegistryResponse) MarshalTo ¶
func (m *QueryCoreContractRegistryResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryCoreContractRegistryResponse) MarshalToSizedBuffer ¶
func (m *QueryCoreContractRegistryResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCoreContractRegistryResponse) ProtoMessage ¶
func (*QueryCoreContractRegistryResponse) ProtoMessage()
func (*QueryCoreContractRegistryResponse) Reset ¶
func (m *QueryCoreContractRegistryResponse) Reset()
func (*QueryCoreContractRegistryResponse) Size ¶
func (m *QueryCoreContractRegistryResponse) Size() (n int)
func (*QueryCoreContractRegistryResponse) String ¶
func (m *QueryCoreContractRegistryResponse) String() string
func (*QueryCoreContractRegistryResponse) Unmarshal ¶
func (m *QueryCoreContractRegistryResponse) Unmarshal(dAtA []byte) error
func (*QueryCoreContractRegistryResponse) XXX_DiscardUnknown ¶
func (m *QueryCoreContractRegistryResponse) XXX_DiscardUnknown()
func (*QueryCoreContractRegistryResponse) XXX_Marshal ¶
func (m *QueryCoreContractRegistryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCoreContractRegistryResponse) XXX_Merge ¶
func (m *QueryCoreContractRegistryResponse) XXX_Merge(src proto.Message)
func (*QueryCoreContractRegistryResponse) XXX_Size ¶
func (m *QueryCoreContractRegistryResponse) XXX_Size() int
func (*QueryCoreContractRegistryResponse) XXX_Unmarshal ¶
func (m *QueryCoreContractRegistryResponse) XXX_Unmarshal(b []byte) error
type QueryExecutorWasmRequest ¶
type QueryExecutorWasmRequest struct {
Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
}
The request message for QueryExecutorWasm RPC.
func (*QueryExecutorWasmRequest) Descriptor ¶
func (*QueryExecutorWasmRequest) Descriptor() ([]byte, []int)
func (*QueryExecutorWasmRequest) GetHash ¶
func (m *QueryExecutorWasmRequest) GetHash() string
func (*QueryExecutorWasmRequest) Marshal ¶
func (m *QueryExecutorWasmRequest) Marshal() (dAtA []byte, err error)
func (*QueryExecutorWasmRequest) MarshalTo ¶
func (m *QueryExecutorWasmRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryExecutorWasmRequest) MarshalToSizedBuffer ¶
func (m *QueryExecutorWasmRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryExecutorWasmRequest) ProtoMessage ¶
func (*QueryExecutorWasmRequest) ProtoMessage()
func (*QueryExecutorWasmRequest) Reset ¶
func (m *QueryExecutorWasmRequest) Reset()
func (*QueryExecutorWasmRequest) Size ¶
func (m *QueryExecutorWasmRequest) Size() (n int)
func (*QueryExecutorWasmRequest) String ¶
func (m *QueryExecutorWasmRequest) String() string
func (*QueryExecutorWasmRequest) Unmarshal ¶
func (m *QueryExecutorWasmRequest) Unmarshal(dAtA []byte) error
func (*QueryExecutorWasmRequest) XXX_DiscardUnknown ¶
func (m *QueryExecutorWasmRequest) XXX_DiscardUnknown()
func (*QueryExecutorWasmRequest) XXX_Marshal ¶
func (m *QueryExecutorWasmRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryExecutorWasmRequest) XXX_Merge ¶
func (m *QueryExecutorWasmRequest) XXX_Merge(src proto.Message)
func (*QueryExecutorWasmRequest) XXX_Size ¶
func (m *QueryExecutorWasmRequest) XXX_Size() int
func (*QueryExecutorWasmRequest) XXX_Unmarshal ¶
func (m *QueryExecutorWasmRequest) XXX_Unmarshal(b []byte) error
type QueryExecutorWasmResponse ¶
type QueryExecutorWasmResponse struct {
Wasm *ExecutorWasm `protobuf:"bytes,1,opt,name=wasm,proto3" json:"wasm,omitempty"`
}
The response message for QueryExecutorWasm RPC.
func (*QueryExecutorWasmResponse) Descriptor ¶
func (*QueryExecutorWasmResponse) Descriptor() ([]byte, []int)
func (*QueryExecutorWasmResponse) GetWasm ¶
func (m *QueryExecutorWasmResponse) GetWasm() *ExecutorWasm
func (*QueryExecutorWasmResponse) Marshal ¶
func (m *QueryExecutorWasmResponse) Marshal() (dAtA []byte, err error)
func (*QueryExecutorWasmResponse) MarshalTo ¶
func (m *QueryExecutorWasmResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryExecutorWasmResponse) MarshalToSizedBuffer ¶
func (m *QueryExecutorWasmResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryExecutorWasmResponse) ProtoMessage ¶
func (*QueryExecutorWasmResponse) ProtoMessage()
func (*QueryExecutorWasmResponse) Reset ¶
func (m *QueryExecutorWasmResponse) Reset()
func (*QueryExecutorWasmResponse) Size ¶
func (m *QueryExecutorWasmResponse) Size() (n int)
func (*QueryExecutorWasmResponse) String ¶
func (m *QueryExecutorWasmResponse) String() string
func (*QueryExecutorWasmResponse) Unmarshal ¶
func (m *QueryExecutorWasmResponse) Unmarshal(dAtA []byte) error
func (*QueryExecutorWasmResponse) XXX_DiscardUnknown ¶
func (m *QueryExecutorWasmResponse) XXX_DiscardUnknown()
func (*QueryExecutorWasmResponse) XXX_Marshal ¶
func (m *QueryExecutorWasmResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryExecutorWasmResponse) XXX_Merge ¶
func (m *QueryExecutorWasmResponse) XXX_Merge(src proto.Message)
func (*QueryExecutorWasmResponse) XXX_Size ¶
func (m *QueryExecutorWasmResponse) XXX_Size() int
func (*QueryExecutorWasmResponse) XXX_Unmarshal ¶
func (m *QueryExecutorWasmResponse) XXX_Unmarshal(b []byte) error
type QueryExecutorWasmsRequest ¶
type QueryExecutorWasmsRequest struct { }
The request message for QueryExecutorWasms RPC.
func (*QueryExecutorWasmsRequest) Descriptor ¶
func (*QueryExecutorWasmsRequest) Descriptor() ([]byte, []int)
func (*QueryExecutorWasmsRequest) Marshal ¶
func (m *QueryExecutorWasmsRequest) Marshal() (dAtA []byte, err error)
func (*QueryExecutorWasmsRequest) MarshalTo ¶
func (m *QueryExecutorWasmsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryExecutorWasmsRequest) MarshalToSizedBuffer ¶
func (m *QueryExecutorWasmsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryExecutorWasmsRequest) ProtoMessage ¶
func (*QueryExecutorWasmsRequest) ProtoMessage()
func (*QueryExecutorWasmsRequest) Reset ¶
func (m *QueryExecutorWasmsRequest) Reset()
func (*QueryExecutorWasmsRequest) Size ¶
func (m *QueryExecutorWasmsRequest) Size() (n int)
func (*QueryExecutorWasmsRequest) String ¶
func (m *QueryExecutorWasmsRequest) String() string
func (*QueryExecutorWasmsRequest) Unmarshal ¶
func (m *QueryExecutorWasmsRequest) Unmarshal(dAtA []byte) error
func (*QueryExecutorWasmsRequest) XXX_DiscardUnknown ¶
func (m *QueryExecutorWasmsRequest) XXX_DiscardUnknown()
func (*QueryExecutorWasmsRequest) XXX_Marshal ¶
func (m *QueryExecutorWasmsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryExecutorWasmsRequest) XXX_Merge ¶
func (m *QueryExecutorWasmsRequest) XXX_Merge(src proto.Message)
func (*QueryExecutorWasmsRequest) XXX_Size ¶
func (m *QueryExecutorWasmsRequest) XXX_Size() int
func (*QueryExecutorWasmsRequest) XXX_Unmarshal ¶
func (m *QueryExecutorWasmsRequest) XXX_Unmarshal(b []byte) error
type QueryExecutorWasmsResponse ¶
type QueryExecutorWasmsResponse struct {
List []string `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
}
The response message for QueryExecutorWasms RPC.
func (*QueryExecutorWasmsResponse) Descriptor ¶
func (*QueryExecutorWasmsResponse) Descriptor() ([]byte, []int)
func (*QueryExecutorWasmsResponse) GetList ¶
func (m *QueryExecutorWasmsResponse) GetList() []string
func (*QueryExecutorWasmsResponse) Marshal ¶
func (m *QueryExecutorWasmsResponse) Marshal() (dAtA []byte, err error)
func (*QueryExecutorWasmsResponse) MarshalTo ¶
func (m *QueryExecutorWasmsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryExecutorWasmsResponse) MarshalToSizedBuffer ¶
func (m *QueryExecutorWasmsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryExecutorWasmsResponse) ProtoMessage ¶
func (*QueryExecutorWasmsResponse) ProtoMessage()
func (*QueryExecutorWasmsResponse) Reset ¶
func (m *QueryExecutorWasmsResponse) Reset()
func (*QueryExecutorWasmsResponse) Size ¶
func (m *QueryExecutorWasmsResponse) Size() (n int)
func (*QueryExecutorWasmsResponse) String ¶
func (m *QueryExecutorWasmsResponse) String() string
func (*QueryExecutorWasmsResponse) Unmarshal ¶
func (m *QueryExecutorWasmsResponse) Unmarshal(dAtA []byte) error
func (*QueryExecutorWasmsResponse) XXX_DiscardUnknown ¶
func (m *QueryExecutorWasmsResponse) XXX_DiscardUnknown()
func (*QueryExecutorWasmsResponse) XXX_Marshal ¶
func (m *QueryExecutorWasmsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryExecutorWasmsResponse) XXX_Merge ¶
func (m *QueryExecutorWasmsResponse) XXX_Merge(src proto.Message)
func (*QueryExecutorWasmsResponse) XXX_Size ¶
func (m *QueryExecutorWasmsResponse) XXX_Size() int
func (*QueryExecutorWasmsResponse) XXX_Unmarshal ¶
func (m *QueryExecutorWasmsResponse) XXX_Unmarshal(b []byte) error
type QueryOracleProgramRequest ¶
type QueryOracleProgramRequest struct {
Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
}
The request message for QueryOracleProgram RPC.
func (*QueryOracleProgramRequest) Descriptor ¶
func (*QueryOracleProgramRequest) Descriptor() ([]byte, []int)
func (*QueryOracleProgramRequest) GetHash ¶
func (m *QueryOracleProgramRequest) GetHash() string
func (*QueryOracleProgramRequest) Marshal ¶
func (m *QueryOracleProgramRequest) Marshal() (dAtA []byte, err error)
func (*QueryOracleProgramRequest) MarshalTo ¶
func (m *QueryOracleProgramRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryOracleProgramRequest) MarshalToSizedBuffer ¶
func (m *QueryOracleProgramRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryOracleProgramRequest) ProtoMessage ¶
func (*QueryOracleProgramRequest) ProtoMessage()
func (*QueryOracleProgramRequest) Reset ¶
func (m *QueryOracleProgramRequest) Reset()
func (*QueryOracleProgramRequest) Size ¶
func (m *QueryOracleProgramRequest) Size() (n int)
func (*QueryOracleProgramRequest) String ¶
func (m *QueryOracleProgramRequest) String() string
func (*QueryOracleProgramRequest) Unmarshal ¶
func (m *QueryOracleProgramRequest) Unmarshal(dAtA []byte) error
func (*QueryOracleProgramRequest) XXX_DiscardUnknown ¶
func (m *QueryOracleProgramRequest) XXX_DiscardUnknown()
func (*QueryOracleProgramRequest) XXX_Marshal ¶
func (m *QueryOracleProgramRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryOracleProgramRequest) XXX_Merge ¶
func (m *QueryOracleProgramRequest) XXX_Merge(src proto.Message)
func (*QueryOracleProgramRequest) XXX_Size ¶
func (m *QueryOracleProgramRequest) XXX_Size() int
func (*QueryOracleProgramRequest) XXX_Unmarshal ¶
func (m *QueryOracleProgramRequest) XXX_Unmarshal(b []byte) error
type QueryOracleProgramResponse ¶
type QueryOracleProgramResponse struct {
OracleProgram *OracleProgram `protobuf:"bytes,1,opt,name=oracle_program,json=oracleProgram,proto3" json:"oracle_program,omitempty"`
}
The response message for QueryOracleProgram RPC.
func (*QueryOracleProgramResponse) Descriptor ¶
func (*QueryOracleProgramResponse) Descriptor() ([]byte, []int)
func (*QueryOracleProgramResponse) GetOracleProgram ¶
func (m *QueryOracleProgramResponse) GetOracleProgram() *OracleProgram
func (*QueryOracleProgramResponse) Marshal ¶
func (m *QueryOracleProgramResponse) Marshal() (dAtA []byte, err error)
func (*QueryOracleProgramResponse) MarshalTo ¶
func (m *QueryOracleProgramResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryOracleProgramResponse) MarshalToSizedBuffer ¶
func (m *QueryOracleProgramResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryOracleProgramResponse) ProtoMessage ¶
func (*QueryOracleProgramResponse) ProtoMessage()
func (*QueryOracleProgramResponse) Reset ¶
func (m *QueryOracleProgramResponse) Reset()
func (*QueryOracleProgramResponse) Size ¶
func (m *QueryOracleProgramResponse) Size() (n int)
func (*QueryOracleProgramResponse) String ¶
func (m *QueryOracleProgramResponse) String() string
func (*QueryOracleProgramResponse) Unmarshal ¶
func (m *QueryOracleProgramResponse) Unmarshal(dAtA []byte) error
func (*QueryOracleProgramResponse) XXX_DiscardUnknown ¶
func (m *QueryOracleProgramResponse) XXX_DiscardUnknown()
func (*QueryOracleProgramResponse) XXX_Marshal ¶
func (m *QueryOracleProgramResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryOracleProgramResponse) XXX_Merge ¶
func (m *QueryOracleProgramResponse) XXX_Merge(src proto.Message)
func (*QueryOracleProgramResponse) XXX_Size ¶
func (m *QueryOracleProgramResponse) XXX_Size() int
func (*QueryOracleProgramResponse) XXX_Unmarshal ¶
func (m *QueryOracleProgramResponse) XXX_Unmarshal(b []byte) error
type QueryOracleProgramsRequest ¶
type QueryOracleProgramsRequest struct { // pagination defines an optional pagination for the request. Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` }
The request message for QueryOraclePrograms RPC.
func (*QueryOracleProgramsRequest) Descriptor ¶
func (*QueryOracleProgramsRequest) Descriptor() ([]byte, []int)
func (*QueryOracleProgramsRequest) GetPagination ¶
func (m *QueryOracleProgramsRequest) GetPagination() *query.PageRequest
func (*QueryOracleProgramsRequest) Marshal ¶
func (m *QueryOracleProgramsRequest) Marshal() (dAtA []byte, err error)
func (*QueryOracleProgramsRequest) MarshalTo ¶
func (m *QueryOracleProgramsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryOracleProgramsRequest) MarshalToSizedBuffer ¶
func (m *QueryOracleProgramsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryOracleProgramsRequest) ProtoMessage ¶
func (*QueryOracleProgramsRequest) ProtoMessage()
func (*QueryOracleProgramsRequest) Reset ¶
func (m *QueryOracleProgramsRequest) Reset()
func (*QueryOracleProgramsRequest) Size ¶
func (m *QueryOracleProgramsRequest) Size() (n int)
func (*QueryOracleProgramsRequest) String ¶
func (m *QueryOracleProgramsRequest) String() string
func (*QueryOracleProgramsRequest) Unmarshal ¶
func (m *QueryOracleProgramsRequest) Unmarshal(dAtA []byte) error
func (*QueryOracleProgramsRequest) XXX_DiscardUnknown ¶
func (m *QueryOracleProgramsRequest) XXX_DiscardUnknown()
func (*QueryOracleProgramsRequest) XXX_Marshal ¶
func (m *QueryOracleProgramsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryOracleProgramsRequest) XXX_Merge ¶
func (m *QueryOracleProgramsRequest) XXX_Merge(src proto.Message)
func (*QueryOracleProgramsRequest) XXX_Size ¶
func (m *QueryOracleProgramsRequest) XXX_Size() int
func (*QueryOracleProgramsRequest) XXX_Unmarshal ¶
func (m *QueryOracleProgramsRequest) XXX_Unmarshal(b []byte) error
type QueryOracleProgramsResponse ¶
type QueryOracleProgramsResponse struct { List []string `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
The response message for QueryOraclePrograms RPC.
func (*QueryOracleProgramsResponse) Descriptor ¶
func (*QueryOracleProgramsResponse) Descriptor() ([]byte, []int)
func (*QueryOracleProgramsResponse) GetList ¶
func (m *QueryOracleProgramsResponse) GetList() []string
func (*QueryOracleProgramsResponse) GetPagination ¶
func (m *QueryOracleProgramsResponse) GetPagination() *query.PageResponse
func (*QueryOracleProgramsResponse) Marshal ¶
func (m *QueryOracleProgramsResponse) Marshal() (dAtA []byte, err error)
func (*QueryOracleProgramsResponse) MarshalTo ¶
func (m *QueryOracleProgramsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryOracleProgramsResponse) MarshalToSizedBuffer ¶
func (m *QueryOracleProgramsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryOracleProgramsResponse) ProtoMessage ¶
func (*QueryOracleProgramsResponse) ProtoMessage()
func (*QueryOracleProgramsResponse) Reset ¶
func (m *QueryOracleProgramsResponse) Reset()
func (*QueryOracleProgramsResponse) Size ¶
func (m *QueryOracleProgramsResponse) Size() (n int)
func (*QueryOracleProgramsResponse) String ¶
func (m *QueryOracleProgramsResponse) String() string
func (*QueryOracleProgramsResponse) Unmarshal ¶
func (m *QueryOracleProgramsResponse) Unmarshal(dAtA []byte) error
func (*QueryOracleProgramsResponse) XXX_DiscardUnknown ¶
func (m *QueryOracleProgramsResponse) XXX_DiscardUnknown()
func (*QueryOracleProgramsResponse) XXX_Marshal ¶
func (m *QueryOracleProgramsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryOracleProgramsResponse) XXX_Merge ¶
func (m *QueryOracleProgramsResponse) XXX_Merge(src proto.Message)
func (*QueryOracleProgramsResponse) XXX_Size ¶
func (m *QueryOracleProgramsResponse) XXX_Size() int
func (*QueryOracleProgramsResponse) XXX_Unmarshal ¶
func (m *QueryOracleProgramsResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // OracleProgram returns an oracle program given its hash. OracleProgram(context.Context, *QueryOracleProgramRequest) (*QueryOracleProgramResponse, error) // OraclePrograms returns all oracle programs. OraclePrograms(context.Context, *QueryOracleProgramsRequest) (*QueryOracleProgramsResponse, error) // ExecutorWasm returns an executor wasm given its hash. ExecutorWasm(context.Context, *QueryExecutorWasmRequest) (*QueryExecutorWasmResponse, error) // ExecutorWasms returns all executor wasms. ExecutorWasms(context.Context, *QueryExecutorWasmsRequest) (*QueryExecutorWasmsResponse, error) // CoreContractRegistry returns the Core Contract Registry address. CoreContractRegistry(context.Context, *QueryCoreContractRegistryRequest) (*QueryCoreContractRegistryResponse, error) }
QueryServer is the server API for Query service.
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) InstantiateCoreContract ¶
func (*UnimplementedMsgServer) InstantiateCoreContract(ctx context.Context, req *MsgInstantiateCoreContract) (*MsgInstantiateCoreContractResponse, error)
func (*UnimplementedMsgServer) StoreExecutorWasm ¶
func (*UnimplementedMsgServer) StoreExecutorWasm(ctx context.Context, req *MsgStoreExecutorWasm) (*MsgStoreExecutorWasmResponse, error)
func (*UnimplementedMsgServer) StoreOracleProgram ¶
func (*UnimplementedMsgServer) StoreOracleProgram(ctx context.Context, req *MsgStoreOracleProgram) (*MsgStoreOracleProgramResponse, error)
func (*UnimplementedMsgServer) UpdateParams ¶ added in v0.0.6
func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) CoreContractRegistry ¶
func (*UnimplementedQueryServer) CoreContractRegistry(ctx context.Context, req *QueryCoreContractRegistryRequest) (*QueryCoreContractRegistryResponse, error)
func (*UnimplementedQueryServer) ExecutorWasm ¶
func (*UnimplementedQueryServer) ExecutorWasm(ctx context.Context, req *QueryExecutorWasmRequest) (*QueryExecutorWasmResponse, error)
func (*UnimplementedQueryServer) ExecutorWasms ¶
func (*UnimplementedQueryServer) ExecutorWasms(ctx context.Context, req *QueryExecutorWasmsRequest) (*QueryExecutorWasmsResponse, error)
func (*UnimplementedQueryServer) OracleProgram ¶
func (*UnimplementedQueryServer) OracleProgram(ctx context.Context, req *QueryOracleProgramRequest) (*QueryOracleProgramResponse, error)
func (*UnimplementedQueryServer) OraclePrograms ¶
func (*UnimplementedQueryServer) OraclePrograms(ctx context.Context, req *QueryOracleProgramsRequest) (*QueryOracleProgramsResponse, error)