Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func GetDataRequestTimeKey(timestamp time.Time) []byte
- func GetDataRequestWasmKey(hash []byte) []byte
- func GetOverlayWasmKey(hash []byte) []byte
- 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 EventStoreDataRequestWasm
- func (*EventStoreDataRequestWasm) Descriptor() ([]byte, []int)
- func (m *EventStoreDataRequestWasm) GetBytecode() []byte
- func (m *EventStoreDataRequestWasm) GetHash() string
- func (m *EventStoreDataRequestWasm) GetWasmType() WasmType
- func (m *EventStoreDataRequestWasm) Marshal() (dAtA []byte, err error)
- func (m *EventStoreDataRequestWasm) MarshalTo(dAtA []byte) (int, error)
- func (m *EventStoreDataRequestWasm) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventStoreDataRequestWasm) ProtoMessage()
- func (m *EventStoreDataRequestWasm) Reset()
- func (m *EventStoreDataRequestWasm) Size() (n int)
- func (m *EventStoreDataRequestWasm) String() string
- func (m *EventStoreDataRequestWasm) Unmarshal(dAtA []byte) error
- func (m *EventStoreDataRequestWasm) XXX_DiscardUnknown()
- func (m *EventStoreDataRequestWasm) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventStoreDataRequestWasm) XXX_Merge(src proto.Message)
- func (m *EventStoreDataRequestWasm) XXX_Size() int
- func (m *EventStoreDataRequestWasm) XXX_Unmarshal(b []byte) error
- type EventStoreOverlayWasm
- func (*EventStoreOverlayWasm) Descriptor() ([]byte, []int)
- func (m *EventStoreOverlayWasm) GetBytecode() []byte
- func (m *EventStoreOverlayWasm) GetHash() string
- func (m *EventStoreOverlayWasm) GetWasmType() WasmType
- func (m *EventStoreOverlayWasm) Marshal() (dAtA []byte, err error)
- func (m *EventStoreOverlayWasm) MarshalTo(dAtA []byte) (int, error)
- func (m *EventStoreOverlayWasm) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventStoreOverlayWasm) ProtoMessage()
- func (m *EventStoreOverlayWasm) Reset()
- func (m *EventStoreOverlayWasm) Size() (n int)
- func (m *EventStoreOverlayWasm) String() string
- func (m *EventStoreOverlayWasm) Unmarshal(dAtA []byte) error
- func (m *EventStoreOverlayWasm) XXX_DiscardUnknown()
- func (m *EventStoreOverlayWasm) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventStoreOverlayWasm) XXX_Merge(src proto.Message)
- func (m *EventStoreOverlayWasm) XXX_Size() int
- func (m *EventStoreOverlayWasm) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetProxyContractRegistry() string
- func (m *GenesisState) GetWasms() []Wasm
- 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 MsgInstantiateAndRegisterProxyContract
- func (*MsgInstantiateAndRegisterProxyContract) Descriptor() ([]byte, []int)
- func (m *MsgInstantiateAndRegisterProxyContract) GetAdmin() string
- func (m *MsgInstantiateAndRegisterProxyContract) GetCodeID() uint64
- func (m *MsgInstantiateAndRegisterProxyContract) GetFixMsg() bool
- func (m *MsgInstantiateAndRegisterProxyContract) GetFunds() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *MsgInstantiateAndRegisterProxyContract) GetLabel() string
- func (m *MsgInstantiateAndRegisterProxyContract) GetMsg() github_com_CosmWasm_wasmd_x_wasm_types.RawContractMessage
- func (m *MsgInstantiateAndRegisterProxyContract) GetSalt() []byte
- func (m *MsgInstantiateAndRegisterProxyContract) GetSender() string
- func (m *MsgInstantiateAndRegisterProxyContract) Marshal() (dAtA []byte, err error)
- func (m *MsgInstantiateAndRegisterProxyContract) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgInstantiateAndRegisterProxyContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgInstantiateAndRegisterProxyContract) ProtoMessage()
- func (m *MsgInstantiateAndRegisterProxyContract) Reset()
- func (msg MsgInstantiateAndRegisterProxyContract) Route() string
- func (m *MsgInstantiateAndRegisterProxyContract) Size() (n int)
- func (m *MsgInstantiateAndRegisterProxyContract) String() string
- func (msg MsgInstantiateAndRegisterProxyContract) Type() string
- func (m *MsgInstantiateAndRegisterProxyContract) Unmarshal(dAtA []byte) error
- func (msg MsgInstantiateAndRegisterProxyContract) ValidateBasic() error
- func (m *MsgInstantiateAndRegisterProxyContract) XXX_DiscardUnknown()
- func (m *MsgInstantiateAndRegisterProxyContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgInstantiateAndRegisterProxyContract) XXX_Merge(src proto.Message)
- func (m *MsgInstantiateAndRegisterProxyContract) XXX_Size() int
- func (m *MsgInstantiateAndRegisterProxyContract) XXX_Unmarshal(b []byte) error
- type MsgInstantiateAndRegisterProxyContractResponse
- func (*MsgInstantiateAndRegisterProxyContractResponse) Descriptor() ([]byte, []int)
- func (m *MsgInstantiateAndRegisterProxyContractResponse) GetContractAddress() string
- func (m *MsgInstantiateAndRegisterProxyContractResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgInstantiateAndRegisterProxyContractResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgInstantiateAndRegisterProxyContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgInstantiateAndRegisterProxyContractResponse) ProtoMessage()
- func (m *MsgInstantiateAndRegisterProxyContractResponse) Reset()
- func (m *MsgInstantiateAndRegisterProxyContractResponse) Size() (n int)
- func (m *MsgInstantiateAndRegisterProxyContractResponse) String() string
- func (m *MsgInstantiateAndRegisterProxyContractResponse) Unmarshal(dAtA []byte) error
- func (m *MsgInstantiateAndRegisterProxyContractResponse) XXX_DiscardUnknown()
- func (m *MsgInstantiateAndRegisterProxyContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgInstantiateAndRegisterProxyContractResponse) XXX_Merge(src proto.Message)
- func (m *MsgInstantiateAndRegisterProxyContractResponse) XXX_Size() int
- func (m *MsgInstantiateAndRegisterProxyContractResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgStoreDataRequestWasm
- func (*MsgStoreDataRequestWasm) Descriptor() ([]byte, []int)
- func (m *MsgStoreDataRequestWasm) GetSender() string
- func (m *MsgStoreDataRequestWasm) GetWasm() []byte
- func (m *MsgStoreDataRequestWasm) GetWasmType() WasmType
- func (m *MsgStoreDataRequestWasm) Marshal() (dAtA []byte, err error)
- func (m *MsgStoreDataRequestWasm) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgStoreDataRequestWasm) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgStoreDataRequestWasm) ProtoMessage()
- func (m *MsgStoreDataRequestWasm) Reset()
- func (msg MsgStoreDataRequestWasm) Route() string
- func (m *MsgStoreDataRequestWasm) Size() (n int)
- func (m *MsgStoreDataRequestWasm) String() string
- func (msg MsgStoreDataRequestWasm) Type() string
- func (m *MsgStoreDataRequestWasm) Unmarshal(dAtA []byte) error
- func (msg MsgStoreDataRequestWasm) ValidateBasic() error
- func (m *MsgStoreDataRequestWasm) XXX_DiscardUnknown()
- func (m *MsgStoreDataRequestWasm) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgStoreDataRequestWasm) XXX_Merge(src proto.Message)
- func (m *MsgStoreDataRequestWasm) XXX_Size() int
- func (m *MsgStoreDataRequestWasm) XXX_Unmarshal(b []byte) error
- type MsgStoreDataRequestWasmResponse
- func (*MsgStoreDataRequestWasmResponse) Descriptor() ([]byte, []int)
- func (m *MsgStoreDataRequestWasmResponse) GetHash() string
- func (m *MsgStoreDataRequestWasmResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgStoreDataRequestWasmResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgStoreDataRequestWasmResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgStoreDataRequestWasmResponse) ProtoMessage()
- func (m *MsgStoreDataRequestWasmResponse) Reset()
- func (m *MsgStoreDataRequestWasmResponse) Size() (n int)
- func (m *MsgStoreDataRequestWasmResponse) String() string
- func (m *MsgStoreDataRequestWasmResponse) Unmarshal(dAtA []byte) error
- func (m *MsgStoreDataRequestWasmResponse) XXX_DiscardUnknown()
- func (m *MsgStoreDataRequestWasmResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgStoreDataRequestWasmResponse) XXX_Merge(src proto.Message)
- func (m *MsgStoreDataRequestWasmResponse) XXX_Size() int
- func (m *MsgStoreDataRequestWasmResponse) XXX_Unmarshal(b []byte) error
- type MsgStoreOverlayWasm
- func (*MsgStoreOverlayWasm) Descriptor() ([]byte, []int)
- func (m *MsgStoreOverlayWasm) GetSender() string
- func (m *MsgStoreOverlayWasm) GetWasm() []byte
- func (m *MsgStoreOverlayWasm) GetWasmType() WasmType
- func (m *MsgStoreOverlayWasm) Marshal() (dAtA []byte, err error)
- func (m *MsgStoreOverlayWasm) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgStoreOverlayWasm) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgStoreOverlayWasm) ProtoMessage()
- func (m *MsgStoreOverlayWasm) Reset()
- func (msg MsgStoreOverlayWasm) Route() string
- func (m *MsgStoreOverlayWasm) Size() (n int)
- func (m *MsgStoreOverlayWasm) String() string
- func (msg MsgStoreOverlayWasm) Type() string
- func (m *MsgStoreOverlayWasm) Unmarshal(dAtA []byte) error
- func (msg MsgStoreOverlayWasm) ValidateBasic() error
- func (m *MsgStoreOverlayWasm) XXX_DiscardUnknown()
- func (m *MsgStoreOverlayWasm) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgStoreOverlayWasm) XXX_Merge(src proto.Message)
- func (m *MsgStoreOverlayWasm) XXX_Size() int
- func (m *MsgStoreOverlayWasm) XXX_Unmarshal(b []byte) error
- type MsgStoreOverlayWasmResponse
- func (*MsgStoreOverlayWasmResponse) Descriptor() ([]byte, []int)
- func (m *MsgStoreOverlayWasmResponse) GetHash() string
- func (m *MsgStoreOverlayWasmResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgStoreOverlayWasmResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgStoreOverlayWasmResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgStoreOverlayWasmResponse) ProtoMessage()
- func (m *MsgStoreOverlayWasmResponse) Reset()
- func (m *MsgStoreOverlayWasmResponse) Size() (n int)
- func (m *MsgStoreOverlayWasmResponse) String() string
- func (m *MsgStoreOverlayWasmResponse) Unmarshal(dAtA []byte) error
- func (m *MsgStoreOverlayWasmResponse) XXX_DiscardUnknown()
- func (m *MsgStoreOverlayWasmResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgStoreOverlayWasmResponse) XXX_Merge(src proto.Message)
- func (m *MsgStoreOverlayWasmResponse) XXX_Size() int
- func (m *MsgStoreOverlayWasmResponse) 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 Params
- func (*Params) Descriptor() ([]byte, []int)
- func (this *Params) Equal(that interface{}) bool
- func (m *Params) GetMaxWasmSize() uint64
- 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) 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 QueryClient
- type QueryDataRequestWasmRequest
- func (*QueryDataRequestWasmRequest) Descriptor() ([]byte, []int)
- func (m *QueryDataRequestWasmRequest) GetHash() string
- func (m *QueryDataRequestWasmRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDataRequestWasmRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDataRequestWasmRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDataRequestWasmRequest) ProtoMessage()
- func (m *QueryDataRequestWasmRequest) Reset()
- func (m *QueryDataRequestWasmRequest) Size() (n int)
- func (m *QueryDataRequestWasmRequest) String() string
- func (m *QueryDataRequestWasmRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDataRequestWasmRequest) XXX_DiscardUnknown()
- func (m *QueryDataRequestWasmRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDataRequestWasmRequest) XXX_Merge(src proto.Message)
- func (m *QueryDataRequestWasmRequest) XXX_Size() int
- func (m *QueryDataRequestWasmRequest) XXX_Unmarshal(b []byte) error
- type QueryDataRequestWasmResponse
- func (*QueryDataRequestWasmResponse) Descriptor() ([]byte, []int)
- func (m *QueryDataRequestWasmResponse) GetWasm() *Wasm
- func (m *QueryDataRequestWasmResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDataRequestWasmResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDataRequestWasmResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDataRequestWasmResponse) ProtoMessage()
- func (m *QueryDataRequestWasmResponse) Reset()
- func (m *QueryDataRequestWasmResponse) Size() (n int)
- func (m *QueryDataRequestWasmResponse) String() string
- func (m *QueryDataRequestWasmResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDataRequestWasmResponse) XXX_DiscardUnknown()
- func (m *QueryDataRequestWasmResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDataRequestWasmResponse) XXX_Merge(src proto.Message)
- func (m *QueryDataRequestWasmResponse) XXX_Size() int
- func (m *QueryDataRequestWasmResponse) XXX_Unmarshal(b []byte) error
- type QueryDataRequestWasmsRequest
- func (*QueryDataRequestWasmsRequest) Descriptor() ([]byte, []int)
- func (m *QueryDataRequestWasmsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDataRequestWasmsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDataRequestWasmsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDataRequestWasmsRequest) ProtoMessage()
- func (m *QueryDataRequestWasmsRequest) Reset()
- func (m *QueryDataRequestWasmsRequest) Size() (n int)
- func (m *QueryDataRequestWasmsRequest) String() string
- func (m *QueryDataRequestWasmsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDataRequestWasmsRequest) XXX_DiscardUnknown()
- func (m *QueryDataRequestWasmsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDataRequestWasmsRequest) XXX_Merge(src proto.Message)
- func (m *QueryDataRequestWasmsRequest) XXX_Size() int
- func (m *QueryDataRequestWasmsRequest) XXX_Unmarshal(b []byte) error
- type QueryDataRequestWasmsResponse
- func (*QueryDataRequestWasmsResponse) Descriptor() ([]byte, []int)
- func (m *QueryDataRequestWasmsResponse) GetHashTypePairs() []string
- func (m *QueryDataRequestWasmsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDataRequestWasmsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDataRequestWasmsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDataRequestWasmsResponse) ProtoMessage()
- func (m *QueryDataRequestWasmsResponse) Reset()
- func (m *QueryDataRequestWasmsResponse) Size() (n int)
- func (m *QueryDataRequestWasmsResponse) String() string
- func (m *QueryDataRequestWasmsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDataRequestWasmsResponse) XXX_DiscardUnknown()
- func (m *QueryDataRequestWasmsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDataRequestWasmsResponse) XXX_Merge(src proto.Message)
- func (m *QueryDataRequestWasmsResponse) XXX_Size() int
- func (m *QueryDataRequestWasmsResponse) XXX_Unmarshal(b []byte) error
- type QueryOverlayWasmRequest
- func (*QueryOverlayWasmRequest) Descriptor() ([]byte, []int)
- func (m *QueryOverlayWasmRequest) GetHash() string
- func (m *QueryOverlayWasmRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryOverlayWasmRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryOverlayWasmRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryOverlayWasmRequest) ProtoMessage()
- func (m *QueryOverlayWasmRequest) Reset()
- func (m *QueryOverlayWasmRequest) Size() (n int)
- func (m *QueryOverlayWasmRequest) String() string
- func (m *QueryOverlayWasmRequest) Unmarshal(dAtA []byte) error
- func (m *QueryOverlayWasmRequest) XXX_DiscardUnknown()
- func (m *QueryOverlayWasmRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryOverlayWasmRequest) XXX_Merge(src proto.Message)
- func (m *QueryOverlayWasmRequest) XXX_Size() int
- func (m *QueryOverlayWasmRequest) XXX_Unmarshal(b []byte) error
- type QueryOverlayWasmResponse
- func (*QueryOverlayWasmResponse) Descriptor() ([]byte, []int)
- func (m *QueryOverlayWasmResponse) GetWasm() *Wasm
- func (m *QueryOverlayWasmResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryOverlayWasmResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryOverlayWasmResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryOverlayWasmResponse) ProtoMessage()
- func (m *QueryOverlayWasmResponse) Reset()
- func (m *QueryOverlayWasmResponse) Size() (n int)
- func (m *QueryOverlayWasmResponse) String() string
- func (m *QueryOverlayWasmResponse) Unmarshal(dAtA []byte) error
- func (m *QueryOverlayWasmResponse) XXX_DiscardUnknown()
- func (m *QueryOverlayWasmResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryOverlayWasmResponse) XXX_Merge(src proto.Message)
- func (m *QueryOverlayWasmResponse) XXX_Size() int
- func (m *QueryOverlayWasmResponse) XXX_Unmarshal(b []byte) error
- type QueryOverlayWasmsRequest
- func (*QueryOverlayWasmsRequest) Descriptor() ([]byte, []int)
- func (m *QueryOverlayWasmsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryOverlayWasmsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryOverlayWasmsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryOverlayWasmsRequest) ProtoMessage()
- func (m *QueryOverlayWasmsRequest) Reset()
- func (m *QueryOverlayWasmsRequest) Size() (n int)
- func (m *QueryOverlayWasmsRequest) String() string
- func (m *QueryOverlayWasmsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryOverlayWasmsRequest) XXX_DiscardUnknown()
- func (m *QueryOverlayWasmsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryOverlayWasmsRequest) XXX_Merge(src proto.Message)
- func (m *QueryOverlayWasmsRequest) XXX_Size() int
- func (m *QueryOverlayWasmsRequest) XXX_Unmarshal(b []byte) error
- type QueryOverlayWasmsResponse
- func (*QueryOverlayWasmsResponse) Descriptor() ([]byte, []int)
- func (m *QueryOverlayWasmsResponse) GetHashTypePairs() []string
- func (m *QueryOverlayWasmsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryOverlayWasmsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryOverlayWasmsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryOverlayWasmsResponse) ProtoMessage()
- func (m *QueryOverlayWasmsResponse) Reset()
- func (m *QueryOverlayWasmsResponse) Size() (n int)
- func (m *QueryOverlayWasmsResponse) String() string
- func (m *QueryOverlayWasmsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryOverlayWasmsResponse) XXX_DiscardUnknown()
- func (m *QueryOverlayWasmsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryOverlayWasmsResponse) XXX_Merge(src proto.Message)
- func (m *QueryOverlayWasmsResponse) XXX_Size() int
- func (m *QueryOverlayWasmsResponse) XXX_Unmarshal(b []byte) error
- type QueryProxyContractRegistryRequest
- func (*QueryProxyContractRegistryRequest) Descriptor() ([]byte, []int)
- func (m *QueryProxyContractRegistryRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryProxyContractRegistryRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryProxyContractRegistryRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryProxyContractRegistryRequest) ProtoMessage()
- func (m *QueryProxyContractRegistryRequest) Reset()
- func (m *QueryProxyContractRegistryRequest) Size() (n int)
- func (m *QueryProxyContractRegistryRequest) String() string
- func (m *QueryProxyContractRegistryRequest) Unmarshal(dAtA []byte) error
- func (m *QueryProxyContractRegistryRequest) XXX_DiscardUnknown()
- func (m *QueryProxyContractRegistryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryProxyContractRegistryRequest) XXX_Merge(src proto.Message)
- func (m *QueryProxyContractRegistryRequest) XXX_Size() int
- func (m *QueryProxyContractRegistryRequest) XXX_Unmarshal(b []byte) error
- type QueryProxyContractRegistryResponse
- func (*QueryProxyContractRegistryResponse) Descriptor() ([]byte, []int)
- func (m *QueryProxyContractRegistryResponse) GetAddress() string
- func (m *QueryProxyContractRegistryResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryProxyContractRegistryResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryProxyContractRegistryResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryProxyContractRegistryResponse) ProtoMessage()
- func (m *QueryProxyContractRegistryResponse) Reset()
- func (m *QueryProxyContractRegistryResponse) Size() (n int)
- func (m *QueryProxyContractRegistryResponse) String() string
- func (m *QueryProxyContractRegistryResponse) Unmarshal(dAtA []byte) error
- func (m *QueryProxyContractRegistryResponse) XXX_DiscardUnknown()
- func (m *QueryProxyContractRegistryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryProxyContractRegistryResponse) XXX_Merge(src proto.Message)
- func (m *QueryProxyContractRegistryResponse) XXX_Size() int
- func (m *QueryProxyContractRegistryResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) InstantiateAndRegisterProxyContract(ctx context.Context, req *MsgInstantiateAndRegisterProxyContract) (*MsgInstantiateAndRegisterProxyContractResponse, error)
- func (*UnimplementedMsgServer) StoreDataRequestWasm(ctx context.Context, req *MsgStoreDataRequestWasm) (*MsgStoreDataRequestWasmResponse, error)
- func (*UnimplementedMsgServer) StoreOverlayWasm(ctx context.Context, req *MsgStoreOverlayWasm) (*MsgStoreOverlayWasmResponse, error)
- func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) DataRequestWasm(ctx context.Context, req *QueryDataRequestWasmRequest) (*QueryDataRequestWasmResponse, error)
- func (*UnimplementedQueryServer) DataRequestWasms(ctx context.Context, req *QueryDataRequestWasmsRequest) (*QueryDataRequestWasmsResponse, error)
- func (*UnimplementedQueryServer) OverlayWasm(ctx context.Context, req *QueryOverlayWasmRequest) (*QueryOverlayWasmResponse, error)
- func (*UnimplementedQueryServer) OverlayWasms(ctx context.Context, req *QueryOverlayWasmsRequest) (*QueryOverlayWasmsResponse, error)
- func (*UnimplementedQueryServer) ProxyContractRegistry(ctx context.Context, req *QueryProxyContractRegistryRequest) (*QueryProxyContractRegistryResponse, error)
- type Wasm
- func (*Wasm) Descriptor() ([]byte, []int)
- func (m *Wasm) GetAddedAt() time.Time
- func (m *Wasm) GetBytecode() []byte
- func (m *Wasm) GetHash() []byte
- func (m *Wasm) GetWasmType() WasmType
- func (m *Wasm) Marshal() (dAtA []byte, err error)
- func (m *Wasm) MarshalTo(dAtA []byte) (int, error)
- func (m *Wasm) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Wasm) ProtoMessage()
- func (m *Wasm) Reset()
- func (m *Wasm) Size() (n int)
- func (m *Wasm) String() string
- func (m *Wasm) Unmarshal(dAtA []byte) error
- func (m *Wasm) XXX_DiscardUnknown()
- func (m *Wasm) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Wasm) XXX_Merge(src proto.Message)
- func (m *Wasm) XXX_Size() int
- func (m *Wasm) XXX_Unmarshal(b []byte) error
- type WasmType
Constants ¶
const ( EventTypeStoreDataRequestWasm = "store_data_request_wasm" EventTypeOverlayWasm = "store_overlay_wasm" AttributeHash = "hash" AttributeWasmType = "wasm_type" )
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 // KeyParams is the store key for the parameters. KeyParams = "params" )
const DefaultMaxWasmSize uint64 = 800 * 1024
const (
// MaxWasmSize is the maximum size of Wasm bytecode.
MaxWasmSize = 800 * 1024
)
Variables ¶
var ( Amino = codec.NewLegacyAmino() ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry()) )
var ( ErrInvalidLengthEvents = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowEvents = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupEvents = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( // KeyPrefixDataRequest defines prefix to store Data Request Wasm binaries. KeyPrefixDataRequest = []byte{0x00} // KeyPrefixOverlay defines prefix to store Overlay Wasm binaries. KeyPrefixOverlay = []byte{0x01} // KeyPrefixDataRequestQueue defines prefix to store the queue that contains // the hashes of Data Request Wasm binaries. KeyPrefixDataRequestQueue = []byte{0x02} // KeyPrefixProxyContractRegistry defines prefix to store address of // Proxy Contract. KeyPrefixProxyContractRegistry = []byte{0x03} )
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 WasmType_name = map[int32]string{
0: "WASM_TYPE_UNSPECIFIED",
1: "WASM_TYPE_DATA_REQUEST",
2: "WASM_TYPE_TALLY",
3: "WASM_TYPE_DATA_REQUEST_EXECUTOR",
4: "WASM_TYPE_RELAYER",
}
var WasmType_value = map[string]int32{
"WASM_TYPE_UNSPECIFIED": 0,
"WASM_TYPE_DATA_REQUEST": 1,
"WASM_TYPE_TALLY": 2,
"WASM_TYPE_DATA_REQUEST_EXECUTOR": 3,
"WASM_TYPE_RELAYER": 4,
}
Functions ¶
func GetDataRequestTimeKey ¶
GetDataRequestTimeKey gets the key for an item in Data Request Queue. This key is the timestamp of when the Data Request Wasm was stored.
func GetDataRequestWasmKey ¶
func GetOverlayWasmKey ¶
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 ¶
AccountKeeper defines the expected account keeper used for simulations (noalias)
type BankKeeper ¶
BankKeeper defines the expected interface needed to retrieve account balances.
type EventStoreDataRequestWasm ¶
type EventStoreDataRequestWasm struct { Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` WasmType WasmType `` /* 126-byte string literal not displayed */ Bytecode []byte `protobuf:"bytes,3,opt,name=bytecode,proto3" json:"bytecode,omitempty"` }
The msg for storing a data request wasm.
func (*EventStoreDataRequestWasm) Descriptor ¶
func (*EventStoreDataRequestWasm) Descriptor() ([]byte, []int)
func (*EventStoreDataRequestWasm) GetBytecode ¶
func (m *EventStoreDataRequestWasm) GetBytecode() []byte
func (*EventStoreDataRequestWasm) GetHash ¶
func (m *EventStoreDataRequestWasm) GetHash() string
func (*EventStoreDataRequestWasm) GetWasmType ¶
func (m *EventStoreDataRequestWasm) GetWasmType() WasmType
func (*EventStoreDataRequestWasm) Marshal ¶
func (m *EventStoreDataRequestWasm) Marshal() (dAtA []byte, err error)
func (*EventStoreDataRequestWasm) MarshalTo ¶
func (m *EventStoreDataRequestWasm) MarshalTo(dAtA []byte) (int, error)
func (*EventStoreDataRequestWasm) MarshalToSizedBuffer ¶
func (m *EventStoreDataRequestWasm) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventStoreDataRequestWasm) ProtoMessage ¶
func (*EventStoreDataRequestWasm) ProtoMessage()
func (*EventStoreDataRequestWasm) Reset ¶
func (m *EventStoreDataRequestWasm) Reset()
func (*EventStoreDataRequestWasm) Size ¶
func (m *EventStoreDataRequestWasm) Size() (n int)
func (*EventStoreDataRequestWasm) String ¶
func (m *EventStoreDataRequestWasm) String() string
func (*EventStoreDataRequestWasm) Unmarshal ¶
func (m *EventStoreDataRequestWasm) Unmarshal(dAtA []byte) error
func (*EventStoreDataRequestWasm) XXX_DiscardUnknown ¶
func (m *EventStoreDataRequestWasm) XXX_DiscardUnknown()
func (*EventStoreDataRequestWasm) XXX_Marshal ¶
func (m *EventStoreDataRequestWasm) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventStoreDataRequestWasm) XXX_Merge ¶
func (m *EventStoreDataRequestWasm) XXX_Merge(src proto.Message)
func (*EventStoreDataRequestWasm) XXX_Size ¶
func (m *EventStoreDataRequestWasm) XXX_Size() int
func (*EventStoreDataRequestWasm) XXX_Unmarshal ¶
func (m *EventStoreDataRequestWasm) XXX_Unmarshal(b []byte) error
type EventStoreOverlayWasm ¶
type EventStoreOverlayWasm struct { Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` WasmType WasmType `` /* 126-byte string literal not displayed */ Bytecode []byte `protobuf:"bytes,3,opt,name=bytecode,proto3" json:"bytecode,omitempty"` }
The msg for storing a overlay wasm(i.e. relayer or executor)
func (*EventStoreOverlayWasm) Descriptor ¶
func (*EventStoreOverlayWasm) Descriptor() ([]byte, []int)
func (*EventStoreOverlayWasm) GetBytecode ¶
func (m *EventStoreOverlayWasm) GetBytecode() []byte
func (*EventStoreOverlayWasm) GetHash ¶
func (m *EventStoreOverlayWasm) GetHash() string
func (*EventStoreOverlayWasm) GetWasmType ¶
func (m *EventStoreOverlayWasm) GetWasmType() WasmType
func (*EventStoreOverlayWasm) Marshal ¶
func (m *EventStoreOverlayWasm) Marshal() (dAtA []byte, err error)
func (*EventStoreOverlayWasm) MarshalTo ¶
func (m *EventStoreOverlayWasm) MarshalTo(dAtA []byte) (int, error)
func (*EventStoreOverlayWasm) MarshalToSizedBuffer ¶
func (m *EventStoreOverlayWasm) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventStoreOverlayWasm) ProtoMessage ¶
func (*EventStoreOverlayWasm) ProtoMessage()
func (*EventStoreOverlayWasm) Reset ¶
func (m *EventStoreOverlayWasm) Reset()
func (*EventStoreOverlayWasm) Size ¶
func (m *EventStoreOverlayWasm) Size() (n int)
func (*EventStoreOverlayWasm) String ¶
func (m *EventStoreOverlayWasm) String() string
func (*EventStoreOverlayWasm) Unmarshal ¶
func (m *EventStoreOverlayWasm) Unmarshal(dAtA []byte) error
func (*EventStoreOverlayWasm) XXX_DiscardUnknown ¶
func (m *EventStoreOverlayWasm) XXX_DiscardUnknown()
func (*EventStoreOverlayWasm) XXX_Marshal ¶
func (m *EventStoreOverlayWasm) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventStoreOverlayWasm) XXX_Merge ¶
func (m *EventStoreOverlayWasm) XXX_Merge(src proto.Message)
func (*EventStoreOverlayWasm) XXX_Size ¶
func (m *EventStoreOverlayWasm) XXX_Size() int
func (*EventStoreOverlayWasm) XXX_Unmarshal ¶
func (m *EventStoreOverlayWasm) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct { Wasms []Wasm `protobuf:"bytes,1,rep,name=wasms,proto3" json:"wasms"` ProxyContractRegistry string `` /* 126-byte string literal not displayed */ }
GenesisState defines the wasm module's genesis state(i.e wasms stored at genesis.)
func DefaultGenesisState ¶
func DefaultGenesisState() *GenesisState
DefaultGenesisState creates a default GenesisState object.
func NewGenesisState ¶
func NewGenesisState(wasms []Wasm, proxyAddr string) GenesisState
NewGenesisState constructs a GenesisState object.
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetProxyContractRegistry ¶
func (m *GenesisState) GetProxyContractRegistry() string
func (*GenesisState) GetWasms ¶
func (m *GenesisState) GetWasms() []Wasm
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 { // The StoreDataRequestWasm method stores a dr wasm in the wasm-storage // module. StoreDataRequestWasm(ctx context.Context, in *MsgStoreDataRequestWasm, opts ...grpc.CallOption) (*MsgStoreDataRequestWasmResponse, error) // The StoreOverlayWasm method stores an overlay wasm in the wasm-storage // module. StoreOverlayWasm(ctx context.Context, in *MsgStoreOverlayWasm, opts ...grpc.CallOption) (*MsgStoreOverlayWasmResponse, error) // The InstantiateAndRegisterProxyContract method instantiates the proxy // contract and registers it's address. InstantiateAndRegisterProxyContract(ctx context.Context, in *MsgInstantiateAndRegisterProxyContract, opts ...grpc.CallOption) (*MsgInstantiateAndRegisterProxyContractResponse, 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 MsgInstantiateAndRegisterProxyContract ¶
type MsgInstantiateAndRegisterProxyContract 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 InstantiateAndRegisterProxyContract method.
func (*MsgInstantiateAndRegisterProxyContract) Descriptor ¶
func (*MsgInstantiateAndRegisterProxyContract) Descriptor() ([]byte, []int)
func (*MsgInstantiateAndRegisterProxyContract) GetAdmin ¶
func (m *MsgInstantiateAndRegisterProxyContract) GetAdmin() string
func (*MsgInstantiateAndRegisterProxyContract) GetCodeID ¶
func (m *MsgInstantiateAndRegisterProxyContract) GetCodeID() uint64
func (*MsgInstantiateAndRegisterProxyContract) GetFixMsg ¶
func (m *MsgInstantiateAndRegisterProxyContract) GetFixMsg() bool
func (*MsgInstantiateAndRegisterProxyContract) GetFunds ¶
func (m *MsgInstantiateAndRegisterProxyContract) GetFunds() github_com_cosmos_cosmos_sdk_types.Coins
func (*MsgInstantiateAndRegisterProxyContract) GetLabel ¶
func (m *MsgInstantiateAndRegisterProxyContract) GetLabel() string
func (*MsgInstantiateAndRegisterProxyContract) GetSalt ¶
func (m *MsgInstantiateAndRegisterProxyContract) GetSalt() []byte
func (*MsgInstantiateAndRegisterProxyContract) GetSender ¶
func (m *MsgInstantiateAndRegisterProxyContract) GetSender() string
func (*MsgInstantiateAndRegisterProxyContract) Marshal ¶
func (m *MsgInstantiateAndRegisterProxyContract) Marshal() (dAtA []byte, err error)
func (*MsgInstantiateAndRegisterProxyContract) MarshalTo ¶
func (m *MsgInstantiateAndRegisterProxyContract) MarshalTo(dAtA []byte) (int, error)
func (*MsgInstantiateAndRegisterProxyContract) MarshalToSizedBuffer ¶
func (m *MsgInstantiateAndRegisterProxyContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgInstantiateAndRegisterProxyContract) ProtoMessage ¶
func (*MsgInstantiateAndRegisterProxyContract) ProtoMessage()
func (*MsgInstantiateAndRegisterProxyContract) Reset ¶
func (m *MsgInstantiateAndRegisterProxyContract) Reset()
func (MsgInstantiateAndRegisterProxyContract) Route ¶
func (msg MsgInstantiateAndRegisterProxyContract) Route() string
func (*MsgInstantiateAndRegisterProxyContract) Size ¶
func (m *MsgInstantiateAndRegisterProxyContract) Size() (n int)
func (*MsgInstantiateAndRegisterProxyContract) String ¶
func (m *MsgInstantiateAndRegisterProxyContract) String() string
func (MsgInstantiateAndRegisterProxyContract) Type ¶
func (msg MsgInstantiateAndRegisterProxyContract) Type() string
func (*MsgInstantiateAndRegisterProxyContract) Unmarshal ¶
func (m *MsgInstantiateAndRegisterProxyContract) Unmarshal(dAtA []byte) error
func (MsgInstantiateAndRegisterProxyContract) ValidateBasic ¶
func (msg MsgInstantiateAndRegisterProxyContract) ValidateBasic() error
func (*MsgInstantiateAndRegisterProxyContract) XXX_DiscardUnknown ¶
func (m *MsgInstantiateAndRegisterProxyContract) XXX_DiscardUnknown()
func (*MsgInstantiateAndRegisterProxyContract) XXX_Marshal ¶
func (m *MsgInstantiateAndRegisterProxyContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgInstantiateAndRegisterProxyContract) XXX_Merge ¶
func (m *MsgInstantiateAndRegisterProxyContract) XXX_Merge(src proto.Message)
func (*MsgInstantiateAndRegisterProxyContract) XXX_Size ¶
func (m *MsgInstantiateAndRegisterProxyContract) XXX_Size() int
func (*MsgInstantiateAndRegisterProxyContract) XXX_Unmarshal ¶
func (m *MsgInstantiateAndRegisterProxyContract) XXX_Unmarshal(b []byte) error
type MsgInstantiateAndRegisterProxyContractResponse ¶
type MsgInstantiateAndRegisterProxyContractResponse struct {
ContractAddress string `protobuf:"bytes,1,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
}
The response message for the InstantiateAndRegisterProxyContract method.
func (*MsgInstantiateAndRegisterProxyContractResponse) Descriptor ¶
func (*MsgInstantiateAndRegisterProxyContractResponse) Descriptor() ([]byte, []int)
func (*MsgInstantiateAndRegisterProxyContractResponse) GetContractAddress ¶
func (m *MsgInstantiateAndRegisterProxyContractResponse) GetContractAddress() string
func (*MsgInstantiateAndRegisterProxyContractResponse) Marshal ¶
func (m *MsgInstantiateAndRegisterProxyContractResponse) Marshal() (dAtA []byte, err error)
func (*MsgInstantiateAndRegisterProxyContractResponse) MarshalTo ¶
func (m *MsgInstantiateAndRegisterProxyContractResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgInstantiateAndRegisterProxyContractResponse) MarshalToSizedBuffer ¶
func (m *MsgInstantiateAndRegisterProxyContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgInstantiateAndRegisterProxyContractResponse) ProtoMessage ¶
func (*MsgInstantiateAndRegisterProxyContractResponse) ProtoMessage()
func (*MsgInstantiateAndRegisterProxyContractResponse) Reset ¶
func (m *MsgInstantiateAndRegisterProxyContractResponse) Reset()
func (*MsgInstantiateAndRegisterProxyContractResponse) Size ¶
func (m *MsgInstantiateAndRegisterProxyContractResponse) Size() (n int)
func (*MsgInstantiateAndRegisterProxyContractResponse) String ¶
func (m *MsgInstantiateAndRegisterProxyContractResponse) String() string
func (*MsgInstantiateAndRegisterProxyContractResponse) Unmarshal ¶
func (m *MsgInstantiateAndRegisterProxyContractResponse) Unmarshal(dAtA []byte) error
func (*MsgInstantiateAndRegisterProxyContractResponse) XXX_DiscardUnknown ¶
func (m *MsgInstantiateAndRegisterProxyContractResponse) XXX_DiscardUnknown()
func (*MsgInstantiateAndRegisterProxyContractResponse) XXX_Marshal ¶
func (m *MsgInstantiateAndRegisterProxyContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgInstantiateAndRegisterProxyContractResponse) XXX_Merge ¶
func (m *MsgInstantiateAndRegisterProxyContractResponse) XXX_Merge(src proto.Message)
func (*MsgInstantiateAndRegisterProxyContractResponse) XXX_Size ¶
func (m *MsgInstantiateAndRegisterProxyContractResponse) XXX_Size() int
func (*MsgInstantiateAndRegisterProxyContractResponse) XXX_Unmarshal ¶
func (m *MsgInstantiateAndRegisterProxyContractResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { // The StoreDataRequestWasm method stores a dr wasm in the wasm-storage // module. StoreDataRequestWasm(context.Context, *MsgStoreDataRequestWasm) (*MsgStoreDataRequestWasmResponse, error) // The StoreOverlayWasm method stores an overlay wasm in the wasm-storage // module. StoreOverlayWasm(context.Context, *MsgStoreOverlayWasm) (*MsgStoreOverlayWasmResponse, error) // The InstantiateAndRegisterProxyContract method instantiates the proxy // contract and registers it's address. InstantiateAndRegisterProxyContract(context.Context, *MsgInstantiateAndRegisterProxyContract) (*MsgInstantiateAndRegisterProxyContractResponse, error) // The UpdateParams method updates the module's parameters. UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) }
MsgServer is the server API for Msg service.
type MsgStoreDataRequestWasm ¶
type MsgStoreDataRequestWasm 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"` WasmType WasmType `` /* 126-byte string literal not displayed */ }
The request message for the StoreDataRequestWasm method.
func (*MsgStoreDataRequestWasm) Descriptor ¶
func (*MsgStoreDataRequestWasm) Descriptor() ([]byte, []int)
func (*MsgStoreDataRequestWasm) GetSender ¶
func (m *MsgStoreDataRequestWasm) GetSender() string
func (*MsgStoreDataRequestWasm) GetWasm ¶
func (m *MsgStoreDataRequestWasm) GetWasm() []byte
func (*MsgStoreDataRequestWasm) GetWasmType ¶
func (m *MsgStoreDataRequestWasm) GetWasmType() WasmType
func (*MsgStoreDataRequestWasm) Marshal ¶
func (m *MsgStoreDataRequestWasm) Marshal() (dAtA []byte, err error)
func (*MsgStoreDataRequestWasm) MarshalTo ¶
func (m *MsgStoreDataRequestWasm) MarshalTo(dAtA []byte) (int, error)
func (*MsgStoreDataRequestWasm) MarshalToSizedBuffer ¶
func (m *MsgStoreDataRequestWasm) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgStoreDataRequestWasm) ProtoMessage ¶
func (*MsgStoreDataRequestWasm) ProtoMessage()
func (*MsgStoreDataRequestWasm) Reset ¶
func (m *MsgStoreDataRequestWasm) Reset()
func (MsgStoreDataRequestWasm) Route ¶
func (msg MsgStoreDataRequestWasm) Route() string
func (*MsgStoreDataRequestWasm) Size ¶
func (m *MsgStoreDataRequestWasm) Size() (n int)
func (*MsgStoreDataRequestWasm) String ¶
func (m *MsgStoreDataRequestWasm) String() string
func (MsgStoreDataRequestWasm) Type ¶
func (msg MsgStoreDataRequestWasm) Type() string
func (*MsgStoreDataRequestWasm) Unmarshal ¶
func (m *MsgStoreDataRequestWasm) Unmarshal(dAtA []byte) error
func (MsgStoreDataRequestWasm) ValidateBasic ¶
func (msg MsgStoreDataRequestWasm) ValidateBasic() error
func (*MsgStoreDataRequestWasm) XXX_DiscardUnknown ¶
func (m *MsgStoreDataRequestWasm) XXX_DiscardUnknown()
func (*MsgStoreDataRequestWasm) XXX_Marshal ¶
func (m *MsgStoreDataRequestWasm) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgStoreDataRequestWasm) XXX_Merge ¶
func (m *MsgStoreDataRequestWasm) XXX_Merge(src proto.Message)
func (*MsgStoreDataRequestWasm) XXX_Size ¶
func (m *MsgStoreDataRequestWasm) XXX_Size() int
func (*MsgStoreDataRequestWasm) XXX_Unmarshal ¶
func (m *MsgStoreDataRequestWasm) XXX_Unmarshal(b []byte) error
type MsgStoreDataRequestWasmResponse ¶
type MsgStoreDataRequestWasmResponse struct {
Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
}
The response message for the StoreDataRequestWasm method.
func (*MsgStoreDataRequestWasmResponse) Descriptor ¶
func (*MsgStoreDataRequestWasmResponse) Descriptor() ([]byte, []int)
func (*MsgStoreDataRequestWasmResponse) GetHash ¶
func (m *MsgStoreDataRequestWasmResponse) GetHash() string
func (*MsgStoreDataRequestWasmResponse) Marshal ¶
func (m *MsgStoreDataRequestWasmResponse) Marshal() (dAtA []byte, err error)
func (*MsgStoreDataRequestWasmResponse) MarshalTo ¶
func (m *MsgStoreDataRequestWasmResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgStoreDataRequestWasmResponse) MarshalToSizedBuffer ¶
func (m *MsgStoreDataRequestWasmResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgStoreDataRequestWasmResponse) ProtoMessage ¶
func (*MsgStoreDataRequestWasmResponse) ProtoMessage()
func (*MsgStoreDataRequestWasmResponse) Reset ¶
func (m *MsgStoreDataRequestWasmResponse) Reset()
func (*MsgStoreDataRequestWasmResponse) Size ¶
func (m *MsgStoreDataRequestWasmResponse) Size() (n int)
func (*MsgStoreDataRequestWasmResponse) String ¶
func (m *MsgStoreDataRequestWasmResponse) String() string
func (*MsgStoreDataRequestWasmResponse) Unmarshal ¶
func (m *MsgStoreDataRequestWasmResponse) Unmarshal(dAtA []byte) error
func (*MsgStoreDataRequestWasmResponse) XXX_DiscardUnknown ¶
func (m *MsgStoreDataRequestWasmResponse) XXX_DiscardUnknown()
func (*MsgStoreDataRequestWasmResponse) XXX_Marshal ¶
func (m *MsgStoreDataRequestWasmResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgStoreDataRequestWasmResponse) XXX_Merge ¶
func (m *MsgStoreDataRequestWasmResponse) XXX_Merge(src proto.Message)
func (*MsgStoreDataRequestWasmResponse) XXX_Size ¶
func (m *MsgStoreDataRequestWasmResponse) XXX_Size() int
func (*MsgStoreDataRequestWasmResponse) XXX_Unmarshal ¶
func (m *MsgStoreDataRequestWasmResponse) XXX_Unmarshal(b []byte) error
type MsgStoreOverlayWasm ¶
type MsgStoreOverlayWasm 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"` WasmType WasmType `` /* 126-byte string literal not displayed */ }
The request message for the StoreOverlayWasm method.
func (*MsgStoreOverlayWasm) Descriptor ¶
func (*MsgStoreOverlayWasm) Descriptor() ([]byte, []int)
func (*MsgStoreOverlayWasm) GetSender ¶
func (m *MsgStoreOverlayWasm) GetSender() string
func (*MsgStoreOverlayWasm) GetWasm ¶
func (m *MsgStoreOverlayWasm) GetWasm() []byte
func (*MsgStoreOverlayWasm) GetWasmType ¶
func (m *MsgStoreOverlayWasm) GetWasmType() WasmType
func (*MsgStoreOverlayWasm) Marshal ¶
func (m *MsgStoreOverlayWasm) Marshal() (dAtA []byte, err error)
func (*MsgStoreOverlayWasm) MarshalTo ¶
func (m *MsgStoreOverlayWasm) MarshalTo(dAtA []byte) (int, error)
func (*MsgStoreOverlayWasm) MarshalToSizedBuffer ¶
func (m *MsgStoreOverlayWasm) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgStoreOverlayWasm) ProtoMessage ¶
func (*MsgStoreOverlayWasm) ProtoMessage()
func (*MsgStoreOverlayWasm) Reset ¶
func (m *MsgStoreOverlayWasm) Reset()
func (MsgStoreOverlayWasm) Route ¶
func (msg MsgStoreOverlayWasm) Route() string
func (*MsgStoreOverlayWasm) Size ¶
func (m *MsgStoreOverlayWasm) Size() (n int)
func (*MsgStoreOverlayWasm) String ¶
func (m *MsgStoreOverlayWasm) String() string
func (MsgStoreOverlayWasm) Type ¶
func (msg MsgStoreOverlayWasm) Type() string
func (*MsgStoreOverlayWasm) Unmarshal ¶
func (m *MsgStoreOverlayWasm) Unmarshal(dAtA []byte) error
func (MsgStoreOverlayWasm) ValidateBasic ¶
func (msg MsgStoreOverlayWasm) ValidateBasic() error
func (*MsgStoreOverlayWasm) XXX_DiscardUnknown ¶
func (m *MsgStoreOverlayWasm) XXX_DiscardUnknown()
func (*MsgStoreOverlayWasm) XXX_Marshal ¶
func (m *MsgStoreOverlayWasm) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgStoreOverlayWasm) XXX_Merge ¶
func (m *MsgStoreOverlayWasm) XXX_Merge(src proto.Message)
func (*MsgStoreOverlayWasm) XXX_Size ¶
func (m *MsgStoreOverlayWasm) XXX_Size() int
func (*MsgStoreOverlayWasm) XXX_Unmarshal ¶
func (m *MsgStoreOverlayWasm) XXX_Unmarshal(b []byte) error
type MsgStoreOverlayWasmResponse ¶
type MsgStoreOverlayWasmResponse struct {
Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
}
The response message for the StoreOverlayWasm method.
func (*MsgStoreOverlayWasmResponse) Descriptor ¶
func (*MsgStoreOverlayWasmResponse) Descriptor() ([]byte, []int)
func (*MsgStoreOverlayWasmResponse) GetHash ¶
func (m *MsgStoreOverlayWasmResponse) GetHash() string
func (*MsgStoreOverlayWasmResponse) Marshal ¶
func (m *MsgStoreOverlayWasmResponse) Marshal() (dAtA []byte, err error)
func (*MsgStoreOverlayWasmResponse) MarshalTo ¶
func (m *MsgStoreOverlayWasmResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgStoreOverlayWasmResponse) MarshalToSizedBuffer ¶
func (m *MsgStoreOverlayWasmResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgStoreOverlayWasmResponse) ProtoMessage ¶
func (*MsgStoreOverlayWasmResponse) ProtoMessage()
func (*MsgStoreOverlayWasmResponse) Reset ¶
func (m *MsgStoreOverlayWasmResponse) Reset()
func (*MsgStoreOverlayWasmResponse) Size ¶
func (m *MsgStoreOverlayWasmResponse) Size() (n int)
func (*MsgStoreOverlayWasmResponse) String ¶
func (m *MsgStoreOverlayWasmResponse) String() string
func (*MsgStoreOverlayWasmResponse) Unmarshal ¶
func (m *MsgStoreOverlayWasmResponse) Unmarshal(dAtA []byte) error
func (*MsgStoreOverlayWasmResponse) XXX_DiscardUnknown ¶
func (m *MsgStoreOverlayWasmResponse) XXX_DiscardUnknown()
func (*MsgStoreOverlayWasmResponse) XXX_Marshal ¶
func (m *MsgStoreOverlayWasmResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgStoreOverlayWasmResponse) XXX_Merge ¶
func (m *MsgStoreOverlayWasmResponse) XXX_Merge(src proto.Message)
func (*MsgStoreOverlayWasmResponse) XXX_Size ¶
func (m *MsgStoreOverlayWasmResponse) XXX_Size() int
func (*MsgStoreOverlayWasmResponse) XXX_Unmarshal ¶
func (m *MsgStoreOverlayWasmResponse) 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 Params ¶
type Params struct {
MaxWasmSize uint64 `protobuf:"varint,1,opt,name=max_wasm_size,json=maxWasmSize,proto3" json:"max_wasm_size,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) MarshalToSizedBuffer ¶
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (Params) ValidateBasic ¶
ValidateBasic performs basic validation on wasm-storage module parameters.
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type QueryClient ¶
type QueryClient interface { // DataRequestWasm returns Data Request Wasm given its hash. DataRequestWasm(ctx context.Context, in *QueryDataRequestWasmRequest, opts ...grpc.CallOption) (*QueryDataRequestWasmResponse, error) // DataRequestWasms returns all Data Request Wasms. DataRequestWasms(ctx context.Context, in *QueryDataRequestWasmsRequest, opts ...grpc.CallOption) (*QueryDataRequestWasmsResponse, error) // OverlayWasm returns Overlay Wasm given its hash. OverlayWasm(ctx context.Context, in *QueryOverlayWasmRequest, opts ...grpc.CallOption) (*QueryOverlayWasmResponse, error) // OverlayWasms returns all Overlay Wasms. OverlayWasms(ctx context.Context, in *QueryOverlayWasmsRequest, opts ...grpc.CallOption) (*QueryOverlayWasmsResponse, error) // ProxyContractRegistry returns the Proxy Contract Registry address. ProxyContractRegistry(ctx context.Context, in *QueryProxyContractRegistryRequest, opts ...grpc.CallOption) (*QueryProxyContractRegistryResponse, 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 QueryDataRequestWasmRequest ¶
type QueryDataRequestWasmRequest struct {
Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
}
The request message for QueryDataRequestWasm RPC.
func (*QueryDataRequestWasmRequest) Descriptor ¶
func (*QueryDataRequestWasmRequest) Descriptor() ([]byte, []int)
func (*QueryDataRequestWasmRequest) GetHash ¶
func (m *QueryDataRequestWasmRequest) GetHash() string
func (*QueryDataRequestWasmRequest) Marshal ¶
func (m *QueryDataRequestWasmRequest) Marshal() (dAtA []byte, err error)
func (*QueryDataRequestWasmRequest) MarshalTo ¶
func (m *QueryDataRequestWasmRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDataRequestWasmRequest) MarshalToSizedBuffer ¶
func (m *QueryDataRequestWasmRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDataRequestWasmRequest) ProtoMessage ¶
func (*QueryDataRequestWasmRequest) ProtoMessage()
func (*QueryDataRequestWasmRequest) Reset ¶
func (m *QueryDataRequestWasmRequest) Reset()
func (*QueryDataRequestWasmRequest) Size ¶
func (m *QueryDataRequestWasmRequest) Size() (n int)
func (*QueryDataRequestWasmRequest) String ¶
func (m *QueryDataRequestWasmRequest) String() string
func (*QueryDataRequestWasmRequest) Unmarshal ¶
func (m *QueryDataRequestWasmRequest) Unmarshal(dAtA []byte) error
func (*QueryDataRequestWasmRequest) XXX_DiscardUnknown ¶
func (m *QueryDataRequestWasmRequest) XXX_DiscardUnknown()
func (*QueryDataRequestWasmRequest) XXX_Marshal ¶
func (m *QueryDataRequestWasmRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDataRequestWasmRequest) XXX_Merge ¶
func (m *QueryDataRequestWasmRequest) XXX_Merge(src proto.Message)
func (*QueryDataRequestWasmRequest) XXX_Size ¶
func (m *QueryDataRequestWasmRequest) XXX_Size() int
func (*QueryDataRequestWasmRequest) XXX_Unmarshal ¶
func (m *QueryDataRequestWasmRequest) XXX_Unmarshal(b []byte) error
type QueryDataRequestWasmResponse ¶
type QueryDataRequestWasmResponse struct {
Wasm *Wasm `protobuf:"bytes,1,opt,name=wasm,proto3" json:"wasm,omitempty"`
}
The response message for QueryDataRequestWasm RPC.
func (*QueryDataRequestWasmResponse) Descriptor ¶
func (*QueryDataRequestWasmResponse) Descriptor() ([]byte, []int)
func (*QueryDataRequestWasmResponse) GetWasm ¶
func (m *QueryDataRequestWasmResponse) GetWasm() *Wasm
func (*QueryDataRequestWasmResponse) Marshal ¶
func (m *QueryDataRequestWasmResponse) Marshal() (dAtA []byte, err error)
func (*QueryDataRequestWasmResponse) MarshalTo ¶
func (m *QueryDataRequestWasmResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDataRequestWasmResponse) MarshalToSizedBuffer ¶
func (m *QueryDataRequestWasmResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDataRequestWasmResponse) ProtoMessage ¶
func (*QueryDataRequestWasmResponse) ProtoMessage()
func (*QueryDataRequestWasmResponse) Reset ¶
func (m *QueryDataRequestWasmResponse) Reset()
func (*QueryDataRequestWasmResponse) Size ¶
func (m *QueryDataRequestWasmResponse) Size() (n int)
func (*QueryDataRequestWasmResponse) String ¶
func (m *QueryDataRequestWasmResponse) String() string
func (*QueryDataRequestWasmResponse) Unmarshal ¶
func (m *QueryDataRequestWasmResponse) Unmarshal(dAtA []byte) error
func (*QueryDataRequestWasmResponse) XXX_DiscardUnknown ¶
func (m *QueryDataRequestWasmResponse) XXX_DiscardUnknown()
func (*QueryDataRequestWasmResponse) XXX_Marshal ¶
func (m *QueryDataRequestWasmResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDataRequestWasmResponse) XXX_Merge ¶
func (m *QueryDataRequestWasmResponse) XXX_Merge(src proto.Message)
func (*QueryDataRequestWasmResponse) XXX_Size ¶
func (m *QueryDataRequestWasmResponse) XXX_Size() int
func (*QueryDataRequestWasmResponse) XXX_Unmarshal ¶
func (m *QueryDataRequestWasmResponse) XXX_Unmarshal(b []byte) error
type QueryDataRequestWasmsRequest ¶
type QueryDataRequestWasmsRequest struct { }
The request message for QueryDataRequestWasms RPC.
func (*QueryDataRequestWasmsRequest) Descriptor ¶
func (*QueryDataRequestWasmsRequest) Descriptor() ([]byte, []int)
func (*QueryDataRequestWasmsRequest) Marshal ¶
func (m *QueryDataRequestWasmsRequest) Marshal() (dAtA []byte, err error)
func (*QueryDataRequestWasmsRequest) MarshalTo ¶
func (m *QueryDataRequestWasmsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDataRequestWasmsRequest) MarshalToSizedBuffer ¶
func (m *QueryDataRequestWasmsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDataRequestWasmsRequest) ProtoMessage ¶
func (*QueryDataRequestWasmsRequest) ProtoMessage()
func (*QueryDataRequestWasmsRequest) Reset ¶
func (m *QueryDataRequestWasmsRequest) Reset()
func (*QueryDataRequestWasmsRequest) Size ¶
func (m *QueryDataRequestWasmsRequest) Size() (n int)
func (*QueryDataRequestWasmsRequest) String ¶
func (m *QueryDataRequestWasmsRequest) String() string
func (*QueryDataRequestWasmsRequest) Unmarshal ¶
func (m *QueryDataRequestWasmsRequest) Unmarshal(dAtA []byte) error
func (*QueryDataRequestWasmsRequest) XXX_DiscardUnknown ¶
func (m *QueryDataRequestWasmsRequest) XXX_DiscardUnknown()
func (*QueryDataRequestWasmsRequest) XXX_Marshal ¶
func (m *QueryDataRequestWasmsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDataRequestWasmsRequest) XXX_Merge ¶
func (m *QueryDataRequestWasmsRequest) XXX_Merge(src proto.Message)
func (*QueryDataRequestWasmsRequest) XXX_Size ¶
func (m *QueryDataRequestWasmsRequest) XXX_Size() int
func (*QueryDataRequestWasmsRequest) XXX_Unmarshal ¶
func (m *QueryDataRequestWasmsRequest) XXX_Unmarshal(b []byte) error
type QueryDataRequestWasmsResponse ¶
type QueryDataRequestWasmsResponse struct {
HashTypePairs []string `protobuf:"bytes,1,rep,name=hash_type_pairs,json=hashTypePairs,proto3" json:"hash_type_pairs,omitempty"`
}
The response message for QueryDataRequestWasms RPC.
func (*QueryDataRequestWasmsResponse) Descriptor ¶
func (*QueryDataRequestWasmsResponse) Descriptor() ([]byte, []int)
func (*QueryDataRequestWasmsResponse) GetHashTypePairs ¶
func (m *QueryDataRequestWasmsResponse) GetHashTypePairs() []string
func (*QueryDataRequestWasmsResponse) Marshal ¶
func (m *QueryDataRequestWasmsResponse) Marshal() (dAtA []byte, err error)
func (*QueryDataRequestWasmsResponse) MarshalTo ¶
func (m *QueryDataRequestWasmsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDataRequestWasmsResponse) MarshalToSizedBuffer ¶
func (m *QueryDataRequestWasmsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDataRequestWasmsResponse) ProtoMessage ¶
func (*QueryDataRequestWasmsResponse) ProtoMessage()
func (*QueryDataRequestWasmsResponse) Reset ¶
func (m *QueryDataRequestWasmsResponse) Reset()
func (*QueryDataRequestWasmsResponse) Size ¶
func (m *QueryDataRequestWasmsResponse) Size() (n int)
func (*QueryDataRequestWasmsResponse) String ¶
func (m *QueryDataRequestWasmsResponse) String() string
func (*QueryDataRequestWasmsResponse) Unmarshal ¶
func (m *QueryDataRequestWasmsResponse) Unmarshal(dAtA []byte) error
func (*QueryDataRequestWasmsResponse) XXX_DiscardUnknown ¶
func (m *QueryDataRequestWasmsResponse) XXX_DiscardUnknown()
func (*QueryDataRequestWasmsResponse) XXX_Marshal ¶
func (m *QueryDataRequestWasmsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDataRequestWasmsResponse) XXX_Merge ¶
func (m *QueryDataRequestWasmsResponse) XXX_Merge(src proto.Message)
func (*QueryDataRequestWasmsResponse) XXX_Size ¶
func (m *QueryDataRequestWasmsResponse) XXX_Size() int
func (*QueryDataRequestWasmsResponse) XXX_Unmarshal ¶
func (m *QueryDataRequestWasmsResponse) XXX_Unmarshal(b []byte) error
type QueryOverlayWasmRequest ¶
type QueryOverlayWasmRequest struct {
Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
}
The request message for QueryOverlayWasm RPC.
func (*QueryOverlayWasmRequest) Descriptor ¶
func (*QueryOverlayWasmRequest) Descriptor() ([]byte, []int)
func (*QueryOverlayWasmRequest) GetHash ¶
func (m *QueryOverlayWasmRequest) GetHash() string
func (*QueryOverlayWasmRequest) Marshal ¶
func (m *QueryOverlayWasmRequest) Marshal() (dAtA []byte, err error)
func (*QueryOverlayWasmRequest) MarshalTo ¶
func (m *QueryOverlayWasmRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryOverlayWasmRequest) MarshalToSizedBuffer ¶
func (m *QueryOverlayWasmRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryOverlayWasmRequest) ProtoMessage ¶
func (*QueryOverlayWasmRequest) ProtoMessage()
func (*QueryOverlayWasmRequest) Reset ¶
func (m *QueryOverlayWasmRequest) Reset()
func (*QueryOverlayWasmRequest) Size ¶
func (m *QueryOverlayWasmRequest) Size() (n int)
func (*QueryOverlayWasmRequest) String ¶
func (m *QueryOverlayWasmRequest) String() string
func (*QueryOverlayWasmRequest) Unmarshal ¶
func (m *QueryOverlayWasmRequest) Unmarshal(dAtA []byte) error
func (*QueryOverlayWasmRequest) XXX_DiscardUnknown ¶
func (m *QueryOverlayWasmRequest) XXX_DiscardUnknown()
func (*QueryOverlayWasmRequest) XXX_Marshal ¶
func (m *QueryOverlayWasmRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryOverlayWasmRequest) XXX_Merge ¶
func (m *QueryOverlayWasmRequest) XXX_Merge(src proto.Message)
func (*QueryOverlayWasmRequest) XXX_Size ¶
func (m *QueryOverlayWasmRequest) XXX_Size() int
func (*QueryOverlayWasmRequest) XXX_Unmarshal ¶
func (m *QueryOverlayWasmRequest) XXX_Unmarshal(b []byte) error
type QueryOverlayWasmResponse ¶
type QueryOverlayWasmResponse struct {
Wasm *Wasm `protobuf:"bytes,1,opt,name=wasm,proto3" json:"wasm,omitempty"`
}
The response message for QueryOverlayWasm RPC.
func (*QueryOverlayWasmResponse) Descriptor ¶
func (*QueryOverlayWasmResponse) Descriptor() ([]byte, []int)
func (*QueryOverlayWasmResponse) GetWasm ¶
func (m *QueryOverlayWasmResponse) GetWasm() *Wasm
func (*QueryOverlayWasmResponse) Marshal ¶
func (m *QueryOverlayWasmResponse) Marshal() (dAtA []byte, err error)
func (*QueryOverlayWasmResponse) MarshalTo ¶
func (m *QueryOverlayWasmResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryOverlayWasmResponse) MarshalToSizedBuffer ¶
func (m *QueryOverlayWasmResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryOverlayWasmResponse) ProtoMessage ¶
func (*QueryOverlayWasmResponse) ProtoMessage()
func (*QueryOverlayWasmResponse) Reset ¶
func (m *QueryOverlayWasmResponse) Reset()
func (*QueryOverlayWasmResponse) Size ¶
func (m *QueryOverlayWasmResponse) Size() (n int)
func (*QueryOverlayWasmResponse) String ¶
func (m *QueryOverlayWasmResponse) String() string
func (*QueryOverlayWasmResponse) Unmarshal ¶
func (m *QueryOverlayWasmResponse) Unmarshal(dAtA []byte) error
func (*QueryOverlayWasmResponse) XXX_DiscardUnknown ¶
func (m *QueryOverlayWasmResponse) XXX_DiscardUnknown()
func (*QueryOverlayWasmResponse) XXX_Marshal ¶
func (m *QueryOverlayWasmResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryOverlayWasmResponse) XXX_Merge ¶
func (m *QueryOverlayWasmResponse) XXX_Merge(src proto.Message)
func (*QueryOverlayWasmResponse) XXX_Size ¶
func (m *QueryOverlayWasmResponse) XXX_Size() int
func (*QueryOverlayWasmResponse) XXX_Unmarshal ¶
func (m *QueryOverlayWasmResponse) XXX_Unmarshal(b []byte) error
type QueryOverlayWasmsRequest ¶
type QueryOverlayWasmsRequest struct { }
The request message for QueryOverlayWasms RPC.
func (*QueryOverlayWasmsRequest) Descriptor ¶
func (*QueryOverlayWasmsRequest) Descriptor() ([]byte, []int)
func (*QueryOverlayWasmsRequest) Marshal ¶
func (m *QueryOverlayWasmsRequest) Marshal() (dAtA []byte, err error)
func (*QueryOverlayWasmsRequest) MarshalTo ¶
func (m *QueryOverlayWasmsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryOverlayWasmsRequest) MarshalToSizedBuffer ¶
func (m *QueryOverlayWasmsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryOverlayWasmsRequest) ProtoMessage ¶
func (*QueryOverlayWasmsRequest) ProtoMessage()
func (*QueryOverlayWasmsRequest) Reset ¶
func (m *QueryOverlayWasmsRequest) Reset()
func (*QueryOverlayWasmsRequest) Size ¶
func (m *QueryOverlayWasmsRequest) Size() (n int)
func (*QueryOverlayWasmsRequest) String ¶
func (m *QueryOverlayWasmsRequest) String() string
func (*QueryOverlayWasmsRequest) Unmarshal ¶
func (m *QueryOverlayWasmsRequest) Unmarshal(dAtA []byte) error
func (*QueryOverlayWasmsRequest) XXX_DiscardUnknown ¶
func (m *QueryOverlayWasmsRequest) XXX_DiscardUnknown()
func (*QueryOverlayWasmsRequest) XXX_Marshal ¶
func (m *QueryOverlayWasmsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryOverlayWasmsRequest) XXX_Merge ¶
func (m *QueryOverlayWasmsRequest) XXX_Merge(src proto.Message)
func (*QueryOverlayWasmsRequest) XXX_Size ¶
func (m *QueryOverlayWasmsRequest) XXX_Size() int
func (*QueryOverlayWasmsRequest) XXX_Unmarshal ¶
func (m *QueryOverlayWasmsRequest) XXX_Unmarshal(b []byte) error
type QueryOverlayWasmsResponse ¶
type QueryOverlayWasmsResponse struct {
HashTypePairs []string `protobuf:"bytes,1,rep,name=hash_type_pairs,json=hashTypePairs,proto3" json:"hash_type_pairs,omitempty"`
}
The response message for QueryOverlayWasms RPC.
func (*QueryOverlayWasmsResponse) Descriptor ¶
func (*QueryOverlayWasmsResponse) Descriptor() ([]byte, []int)
func (*QueryOverlayWasmsResponse) GetHashTypePairs ¶
func (m *QueryOverlayWasmsResponse) GetHashTypePairs() []string
func (*QueryOverlayWasmsResponse) Marshal ¶
func (m *QueryOverlayWasmsResponse) Marshal() (dAtA []byte, err error)
func (*QueryOverlayWasmsResponse) MarshalTo ¶
func (m *QueryOverlayWasmsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryOverlayWasmsResponse) MarshalToSizedBuffer ¶
func (m *QueryOverlayWasmsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryOverlayWasmsResponse) ProtoMessage ¶
func (*QueryOverlayWasmsResponse) ProtoMessage()
func (*QueryOverlayWasmsResponse) Reset ¶
func (m *QueryOverlayWasmsResponse) Reset()
func (*QueryOverlayWasmsResponse) Size ¶
func (m *QueryOverlayWasmsResponse) Size() (n int)
func (*QueryOverlayWasmsResponse) String ¶
func (m *QueryOverlayWasmsResponse) String() string
func (*QueryOverlayWasmsResponse) Unmarshal ¶
func (m *QueryOverlayWasmsResponse) Unmarshal(dAtA []byte) error
func (*QueryOverlayWasmsResponse) XXX_DiscardUnknown ¶
func (m *QueryOverlayWasmsResponse) XXX_DiscardUnknown()
func (*QueryOverlayWasmsResponse) XXX_Marshal ¶
func (m *QueryOverlayWasmsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryOverlayWasmsResponse) XXX_Merge ¶
func (m *QueryOverlayWasmsResponse) XXX_Merge(src proto.Message)
func (*QueryOverlayWasmsResponse) XXX_Size ¶
func (m *QueryOverlayWasmsResponse) XXX_Size() int
func (*QueryOverlayWasmsResponse) XXX_Unmarshal ¶
func (m *QueryOverlayWasmsResponse) XXX_Unmarshal(b []byte) error
type QueryProxyContractRegistryRequest ¶
type QueryProxyContractRegistryRequest struct { }
The request message for QueryProxyContractRegistry RPC.
func (*QueryProxyContractRegistryRequest) Descriptor ¶
func (*QueryProxyContractRegistryRequest) Descriptor() ([]byte, []int)
func (*QueryProxyContractRegistryRequest) Marshal ¶
func (m *QueryProxyContractRegistryRequest) Marshal() (dAtA []byte, err error)
func (*QueryProxyContractRegistryRequest) MarshalTo ¶
func (m *QueryProxyContractRegistryRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryProxyContractRegistryRequest) MarshalToSizedBuffer ¶
func (m *QueryProxyContractRegistryRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryProxyContractRegistryRequest) ProtoMessage ¶
func (*QueryProxyContractRegistryRequest) ProtoMessage()
func (*QueryProxyContractRegistryRequest) Reset ¶
func (m *QueryProxyContractRegistryRequest) Reset()
func (*QueryProxyContractRegistryRequest) Size ¶
func (m *QueryProxyContractRegistryRequest) Size() (n int)
func (*QueryProxyContractRegistryRequest) String ¶
func (m *QueryProxyContractRegistryRequest) String() string
func (*QueryProxyContractRegistryRequest) Unmarshal ¶
func (m *QueryProxyContractRegistryRequest) Unmarshal(dAtA []byte) error
func (*QueryProxyContractRegistryRequest) XXX_DiscardUnknown ¶
func (m *QueryProxyContractRegistryRequest) XXX_DiscardUnknown()
func (*QueryProxyContractRegistryRequest) XXX_Marshal ¶
func (m *QueryProxyContractRegistryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryProxyContractRegistryRequest) XXX_Merge ¶
func (m *QueryProxyContractRegistryRequest) XXX_Merge(src proto.Message)
func (*QueryProxyContractRegistryRequest) XXX_Size ¶
func (m *QueryProxyContractRegistryRequest) XXX_Size() int
func (*QueryProxyContractRegistryRequest) XXX_Unmarshal ¶
func (m *QueryProxyContractRegistryRequest) XXX_Unmarshal(b []byte) error
type QueryProxyContractRegistryResponse ¶
type QueryProxyContractRegistryResponse struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}
The response message for QueryProxyContractRegistry RPC.
func (*QueryProxyContractRegistryResponse) Descriptor ¶
func (*QueryProxyContractRegistryResponse) Descriptor() ([]byte, []int)
func (*QueryProxyContractRegistryResponse) GetAddress ¶
func (m *QueryProxyContractRegistryResponse) GetAddress() string
func (*QueryProxyContractRegistryResponse) Marshal ¶
func (m *QueryProxyContractRegistryResponse) Marshal() (dAtA []byte, err error)
func (*QueryProxyContractRegistryResponse) MarshalTo ¶
func (m *QueryProxyContractRegistryResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryProxyContractRegistryResponse) MarshalToSizedBuffer ¶
func (m *QueryProxyContractRegistryResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryProxyContractRegistryResponse) ProtoMessage ¶
func (*QueryProxyContractRegistryResponse) ProtoMessage()
func (*QueryProxyContractRegistryResponse) Reset ¶
func (m *QueryProxyContractRegistryResponse) Reset()
func (*QueryProxyContractRegistryResponse) Size ¶
func (m *QueryProxyContractRegistryResponse) Size() (n int)
func (*QueryProxyContractRegistryResponse) String ¶
func (m *QueryProxyContractRegistryResponse) String() string
func (*QueryProxyContractRegistryResponse) Unmarshal ¶
func (m *QueryProxyContractRegistryResponse) Unmarshal(dAtA []byte) error
func (*QueryProxyContractRegistryResponse) XXX_DiscardUnknown ¶
func (m *QueryProxyContractRegistryResponse) XXX_DiscardUnknown()
func (*QueryProxyContractRegistryResponse) XXX_Marshal ¶
func (m *QueryProxyContractRegistryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryProxyContractRegistryResponse) XXX_Merge ¶
func (m *QueryProxyContractRegistryResponse) XXX_Merge(src proto.Message)
func (*QueryProxyContractRegistryResponse) XXX_Size ¶
func (m *QueryProxyContractRegistryResponse) XXX_Size() int
func (*QueryProxyContractRegistryResponse) XXX_Unmarshal ¶
func (m *QueryProxyContractRegistryResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // DataRequestWasm returns Data Request Wasm given its hash. DataRequestWasm(context.Context, *QueryDataRequestWasmRequest) (*QueryDataRequestWasmResponse, error) // DataRequestWasms returns all Data Request Wasms. DataRequestWasms(context.Context, *QueryDataRequestWasmsRequest) (*QueryDataRequestWasmsResponse, error) // OverlayWasm returns Overlay Wasm given its hash. OverlayWasm(context.Context, *QueryOverlayWasmRequest) (*QueryOverlayWasmResponse, error) // OverlayWasms returns all Overlay Wasms. OverlayWasms(context.Context, *QueryOverlayWasmsRequest) (*QueryOverlayWasmsResponse, error) // ProxyContractRegistry returns the Proxy Contract Registry address. ProxyContractRegistry(context.Context, *QueryProxyContractRegistryRequest) (*QueryProxyContractRegistryResponse, 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) InstantiateAndRegisterProxyContract ¶
func (*UnimplementedMsgServer) InstantiateAndRegisterProxyContract(ctx context.Context, req *MsgInstantiateAndRegisterProxyContract) (*MsgInstantiateAndRegisterProxyContractResponse, error)
func (*UnimplementedMsgServer) StoreDataRequestWasm ¶
func (*UnimplementedMsgServer) StoreDataRequestWasm(ctx context.Context, req *MsgStoreDataRequestWasm) (*MsgStoreDataRequestWasmResponse, error)
func (*UnimplementedMsgServer) StoreOverlayWasm ¶
func (*UnimplementedMsgServer) StoreOverlayWasm(ctx context.Context, req *MsgStoreOverlayWasm) (*MsgStoreOverlayWasmResponse, 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) DataRequestWasm ¶
func (*UnimplementedQueryServer) DataRequestWasm(ctx context.Context, req *QueryDataRequestWasmRequest) (*QueryDataRequestWasmResponse, error)
func (*UnimplementedQueryServer) DataRequestWasms ¶
func (*UnimplementedQueryServer) DataRequestWasms(ctx context.Context, req *QueryDataRequestWasmsRequest) (*QueryDataRequestWasmsResponse, error)
func (*UnimplementedQueryServer) OverlayWasm ¶
func (*UnimplementedQueryServer) OverlayWasm(ctx context.Context, req *QueryOverlayWasmRequest) (*QueryOverlayWasmResponse, error)
func (*UnimplementedQueryServer) OverlayWasms ¶
func (*UnimplementedQueryServer) OverlayWasms(ctx context.Context, req *QueryOverlayWasmsRequest) (*QueryOverlayWasmsResponse, error)
func (*UnimplementedQueryServer) ProxyContractRegistry ¶
func (*UnimplementedQueryServer) ProxyContractRegistry(ctx context.Context, req *QueryProxyContractRegistryRequest) (*QueryProxyContractRegistryResponse, error)
type Wasm ¶
type Wasm 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"` WasmType WasmType `` /* 126-byte string literal not displayed */ AddedAt time.Time `protobuf:"bytes,4,opt,name=added_at,json=addedAt,proto3,stdtime" json:"added_at"` }
A Wasm msg.
func NewWasm ¶
NewWasm constructs a new Wasm object given bytecode and Wasm type. It panics if it fails to compute hash of bytecode.
func (*Wasm) Descriptor ¶
func (*Wasm) GetAddedAt ¶
func (*Wasm) GetBytecode ¶
func (*Wasm) GetWasmType ¶
func (*Wasm) ProtoMessage ¶
func (*Wasm) ProtoMessage()
func (*Wasm) XXX_DiscardUnknown ¶
func (m *Wasm) XXX_DiscardUnknown()
func (*Wasm) XXX_Unmarshal ¶
type WasmType ¶
type WasmType int32
WasmType is an enum for the type of wasm.
const ( // An unspecified kind of wasm. WasmTypeNil WasmType = 0 // A wasm that is a data request. WasmTypeDataRequest WasmType = 1 // A wasm that is a DR tally. WasmTypeTally WasmType = 2 // A wasm that is an overlay executor. WasmTypeDataRequestExecutor WasmType = 3 // A wasm that is an overlay relayer. WasmTypeRelayer WasmType = 4 )