Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterInterfaces(registry types2.InterfaceRegistry)
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- func ValidateInputsOutputs(inputs []Input, outputs []Output) error
- type Client
- type DenomUnit
- func (*DenomUnit) Descriptor() ([]byte, []int)
- func (m *DenomUnit) GetAliases() []string
- func (m *DenomUnit) GetDenom() string
- func (m *DenomUnit) GetExponent() uint32
- func (m *DenomUnit) Marshal() (dAtA []byte, err error)
- func (m *DenomUnit) MarshalTo(dAtA []byte) (int, error)
- func (m *DenomUnit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DenomUnit) ProtoMessage()
- func (m *DenomUnit) Reset()
- func (m *DenomUnit) Size() (n int)
- func (m *DenomUnit) String() string
- func (m *DenomUnit) Unmarshal(dAtA []byte) error
- func (m *DenomUnit) XXX_DiscardUnknown()
- func (m *DenomUnit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DenomUnit) XXX_Merge(src proto.Message)
- func (m *DenomUnit) XXX_Size() int
- func (m *DenomUnit) XXX_Unmarshal(b []byte) error
- type EventDataMsgSend
- type EventMsgSendCallback
- type Input
- func (*Input) Descriptor() ([]byte, []int)
- func (m *Input) Marshal() (dAtA []byte, err error)
- func (m *Input) MarshalTo(dAtA []byte) (int, error)
- func (m *Input) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Input) ProtoMessage()
- func (m *Input) Reset()
- func (m *Input) Size() (n int)
- func (m *Input) String() string
- func (m *Input) Unmarshal(dAtA []byte) error
- func (in Input) ValidateBasic() error
- func (m *Input) XXX_DiscardUnknown()
- func (m *Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Input) XXX_Merge(src proto.Message)
- func (m *Input) XXX_Size() int
- func (m *Input) XXX_Unmarshal(b []byte) error
- type Metadata
- func (*Metadata) Descriptor() ([]byte, []int)
- func (m *Metadata) GetBase() string
- func (m *Metadata) GetDenomUnits() []*DenomUnit
- func (m *Metadata) GetDescription() string
- func (m *Metadata) GetDisplay() string
- func (m *Metadata) GetName() string
- func (m *Metadata) GetSymbol() string
- func (m *Metadata) Marshal() (dAtA []byte, err error)
- func (m *Metadata) MarshalTo(dAtA []byte) (int, error)
- func (m *Metadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Metadata) ProtoMessage()
- func (m *Metadata) Reset()
- func (m *Metadata) Size() (n int)
- func (m *Metadata) String() string
- func (m *Metadata) Unmarshal(dAtA []byte) error
- func (m *Metadata) XXX_DiscardUnknown()
- func (m *Metadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Metadata) XXX_Merge(src proto.Message)
- func (m *Metadata) XXX_Size() int
- func (m *Metadata) XXX_Unmarshal(b []byte) error
- type MsgMultiSend
- func (*MsgMultiSend) Descriptor() ([]byte, []int)
- func (m *MsgMultiSend) GetInputs() []Input
- func (m *MsgMultiSend) GetOutputs() []Output
- func (msg MsgMultiSend) GetSignBytes() []byte
- func (msg MsgMultiSend) GetSigners() []sdk.AccAddress
- func (m *MsgMultiSend) Marshal() (dAtA []byte, err error)
- func (m *MsgMultiSend) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMultiSend) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMultiSend) ProtoMessage()
- func (m *MsgMultiSend) Reset()
- func (msg MsgMultiSend) Route() string
- func (m *MsgMultiSend) Size() (n int)
- func (m *MsgMultiSend) String() string
- func (msg MsgMultiSend) Type() string
- func (m *MsgMultiSend) Unmarshal(dAtA []byte) error
- func (msg MsgMultiSend) ValidateBasic() error
- func (m *MsgMultiSend) XXX_DiscardUnknown()
- func (m *MsgMultiSend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMultiSend) XXX_Merge(src proto.Message)
- func (m *MsgMultiSend) XXX_Size() int
- func (m *MsgMultiSend) XXX_Unmarshal(b []byte) error
- type MsgMultiSendResponse
- func (*MsgMultiSendResponse) Descriptor() ([]byte, []int)
- func (m *MsgMultiSendResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgMultiSendResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMultiSendResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMultiSendResponse) ProtoMessage()
- func (m *MsgMultiSendResponse) Reset()
- func (m *MsgMultiSendResponse) Size() (n int)
- func (m *MsgMultiSendResponse) String() string
- func (m *MsgMultiSendResponse) Unmarshal(dAtA []byte) error
- func (m *MsgMultiSendResponse) XXX_DiscardUnknown()
- func (m *MsgMultiSendResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMultiSendResponse) XXX_Merge(src proto.Message)
- func (m *MsgMultiSendResponse) XXX_Size() int
- func (m *MsgMultiSendResponse) XXX_Unmarshal(b []byte) error
- type MsgSend
- func (*MsgSend) Descriptor() ([]byte, []int)
- func (msg MsgSend) GetSignBytes() []byte
- func (msg MsgSend) GetSigners() []sdk.AccAddress
- func (m *MsgSend) Marshal() (dAtA []byte, err error)
- func (m *MsgSend) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSend) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSend) ProtoMessage()
- func (m *MsgSend) Reset()
- func (msg MsgSend) Route() string
- func (m *MsgSend) Size() (n int)
- func (m *MsgSend) String() string
- func (msg MsgSend) Type() string
- func (m *MsgSend) Unmarshal(dAtA []byte) error
- func (msg MsgSend) ValidateBasic() error
- func (m *MsgSend) XXX_DiscardUnknown()
- func (m *MsgSend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSend) XXX_Merge(src proto.Message)
- func (m *MsgSend) XXX_Size() int
- func (m *MsgSend) XXX_Unmarshal(b []byte) error
- type MsgSendResponse
- func (*MsgSendResponse) Descriptor() ([]byte, []int)
- func (m *MsgSendResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSendResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSendResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSendResponse) ProtoMessage()
- func (m *MsgSendResponse) Reset()
- func (m *MsgSendResponse) Size() (n int)
- func (m *MsgSendResponse) String() string
- func (m *MsgSendResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSendResponse) XXX_DiscardUnknown()
- func (m *MsgSendResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSendResponse) XXX_Merge(src proto.Message)
- func (m *MsgSendResponse) XXX_Size() int
- func (m *MsgSendResponse) XXX_Unmarshal(b []byte) error
- type MultiSendRequest
- type MultiToMultiSendRequest
- type MutilReceipt
- type Output
- func (*Output) Descriptor() ([]byte, []int)
- func (m *Output) Marshal() (dAtA []byte, err error)
- func (m *Output) MarshalTo(dAtA []byte) (int, error)
- func (m *Output) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Output) ProtoMessage()
- func (m *Output) Reset()
- func (m *Output) Size() (n int)
- func (m *Output) String() string
- func (m *Output) Unmarshal(dAtA []byte) error
- func (out Output) ValidateBasic() error
- func (m *Output) XXX_DiscardUnknown()
- func (m *Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Output) XXX_Merge(src proto.Message)
- func (m *Output) XXX_Size() int
- func (m *Output) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetDefaultSendEnabled() bool
- func (m *Params) GetSendEnabled() []*SendEnabled
- 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 (p Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) 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 QueryAllBalancesRequest
- func (*QueryAllBalancesRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllBalancesRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllBalancesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllBalancesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllBalancesRequest) ProtoMessage()
- func (m *QueryAllBalancesRequest) Reset()
- func (m *QueryAllBalancesRequest) Size() (n int)
- func (m *QueryAllBalancesRequest) String() string
- func (m *QueryAllBalancesRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllBalancesRequest) XXX_DiscardUnknown()
- func (m *QueryAllBalancesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllBalancesRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllBalancesRequest) XXX_Size() int
- func (m *QueryAllBalancesRequest) XXX_Unmarshal(b []byte) error
- type QueryAllBalancesResponse
- func (*QueryAllBalancesResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllBalancesResponse) GetBalances() github_com_oracleNetworkProtocol_plugchain_sdk_go_types.Coins
- func (m *QueryAllBalancesResponse) GetPagination() *query.PageResponse
- func (m *QueryAllBalancesResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllBalancesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllBalancesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllBalancesResponse) ProtoMessage()
- func (m *QueryAllBalancesResponse) Reset()
- func (m *QueryAllBalancesResponse) Size() (n int)
- func (m *QueryAllBalancesResponse) String() string
- func (m *QueryAllBalancesResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllBalancesResponse) XXX_DiscardUnknown()
- func (m *QueryAllBalancesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllBalancesResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllBalancesResponse) XXX_Size() int
- func (m *QueryAllBalancesResponse) XXX_Unmarshal(b []byte) error
- type QueryBalanceRequest
- func (*QueryBalanceRequest) Descriptor() ([]byte, []int)
- func (m *QueryBalanceRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryBalanceRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBalanceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBalanceRequest) ProtoMessage()
- func (m *QueryBalanceRequest) Reset()
- func (m *QueryBalanceRequest) Size() (n int)
- func (m *QueryBalanceRequest) String() string
- func (m *QueryBalanceRequest) Unmarshal(dAtA []byte) error
- func (m *QueryBalanceRequest) XXX_DiscardUnknown()
- func (m *QueryBalanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBalanceRequest) XXX_Merge(src proto.Message)
- func (m *QueryBalanceRequest) XXX_Size() int
- func (m *QueryBalanceRequest) XXX_Unmarshal(b []byte) error
- type QueryBalanceResponse
- func (*QueryBalanceResponse) Descriptor() ([]byte, []int)
- func (m *QueryBalanceResponse) GetBalance() *types.Coin
- func (m *QueryBalanceResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryBalanceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBalanceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBalanceResponse) ProtoMessage()
- func (m *QueryBalanceResponse) Reset()
- func (m *QueryBalanceResponse) Size() (n int)
- func (m *QueryBalanceResponse) String() string
- func (m *QueryBalanceResponse) Unmarshal(dAtA []byte) error
- func (m *QueryBalanceResponse) XXX_DiscardUnknown()
- func (m *QueryBalanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBalanceResponse) XXX_Merge(src proto.Message)
- func (m *QueryBalanceResponse) XXX_Size() int
- func (m *QueryBalanceResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryDenomMetadataRequest
- func (*QueryDenomMetadataRequest) Descriptor() ([]byte, []int)
- func (m *QueryDenomMetadataRequest) GetDenom() string
- func (m *QueryDenomMetadataRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDenomMetadataRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDenomMetadataRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDenomMetadataRequest) ProtoMessage()
- func (m *QueryDenomMetadataRequest) Reset()
- func (m *QueryDenomMetadataRequest) Size() (n int)
- func (m *QueryDenomMetadataRequest) String() string
- func (m *QueryDenomMetadataRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDenomMetadataRequest) XXX_DiscardUnknown()
- func (m *QueryDenomMetadataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDenomMetadataRequest) XXX_Merge(src proto.Message)
- func (m *QueryDenomMetadataRequest) XXX_Size() int
- func (m *QueryDenomMetadataRequest) XXX_Unmarshal(b []byte) error
- type QueryDenomMetadataResponse
- func (*QueryDenomMetadataResponse) Descriptor() ([]byte, []int)
- func (m *QueryDenomMetadataResponse) GetMetadata() Metadata
- func (m *QueryDenomMetadataResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDenomMetadataResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDenomMetadataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDenomMetadataResponse) ProtoMessage()
- func (m *QueryDenomMetadataResponse) Reset()
- func (m *QueryDenomMetadataResponse) Size() (n int)
- func (m *QueryDenomMetadataResponse) String() string
- func (m *QueryDenomMetadataResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDenomMetadataResponse) XXX_DiscardUnknown()
- func (m *QueryDenomMetadataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDenomMetadataResponse) XXX_Merge(src proto.Message)
- func (m *QueryDenomMetadataResponse) XXX_Size() int
- func (m *QueryDenomMetadataResponse) XXX_Unmarshal(b []byte) error
- type QueryDenomsMetadataRequest
- func (*QueryDenomsMetadataRequest) Descriptor() ([]byte, []int)
- func (m *QueryDenomsMetadataRequest) GetPagination() *query.PageRequest
- func (m *QueryDenomsMetadataRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDenomsMetadataRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDenomsMetadataRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDenomsMetadataRequest) ProtoMessage()
- func (m *QueryDenomsMetadataRequest) Reset()
- func (m *QueryDenomsMetadataRequest) Size() (n int)
- func (m *QueryDenomsMetadataRequest) String() string
- func (m *QueryDenomsMetadataRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDenomsMetadataRequest) XXX_DiscardUnknown()
- func (m *QueryDenomsMetadataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDenomsMetadataRequest) XXX_Merge(src proto.Message)
- func (m *QueryDenomsMetadataRequest) XXX_Size() int
- func (m *QueryDenomsMetadataRequest) XXX_Unmarshal(b []byte) error
- type QueryDenomsMetadataResponse
- func (*QueryDenomsMetadataResponse) Descriptor() ([]byte, []int)
- func (m *QueryDenomsMetadataResponse) GetMetadatas() []Metadata
- func (m *QueryDenomsMetadataResponse) GetPagination() *query.PageResponse
- func (m *QueryDenomsMetadataResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDenomsMetadataResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDenomsMetadataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDenomsMetadataResponse) ProtoMessage()
- func (m *QueryDenomsMetadataResponse) Reset()
- func (m *QueryDenomsMetadataResponse) Size() (n int)
- func (m *QueryDenomsMetadataResponse) String() string
- func (m *QueryDenomsMetadataResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDenomsMetadataResponse) XXX_DiscardUnknown()
- func (m *QueryDenomsMetadataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDenomsMetadataResponse) XXX_Merge(src proto.Message)
- func (m *QueryDenomsMetadataResponse) XXX_Size() int
- func (m *QueryDenomsMetadataResponse) XXX_Unmarshal(b []byte) error
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type QuerySupplyOfRequest
- func (*QuerySupplyOfRequest) Descriptor() ([]byte, []int)
- func (m *QuerySupplyOfRequest) GetDenom() string
- func (m *QuerySupplyOfRequest) Marshal() (dAtA []byte, err error)
- func (m *QuerySupplyOfRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySupplyOfRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySupplyOfRequest) ProtoMessage()
- func (m *QuerySupplyOfRequest) Reset()
- func (m *QuerySupplyOfRequest) Size() (n int)
- func (m *QuerySupplyOfRequest) String() string
- func (m *QuerySupplyOfRequest) Unmarshal(dAtA []byte) error
- func (m *QuerySupplyOfRequest) XXX_DiscardUnknown()
- func (m *QuerySupplyOfRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySupplyOfRequest) XXX_Merge(src proto.Message)
- func (m *QuerySupplyOfRequest) XXX_Size() int
- func (m *QuerySupplyOfRequest) XXX_Unmarshal(b []byte) error
- type QuerySupplyOfResponse
- func (*QuerySupplyOfResponse) Descriptor() ([]byte, []int)
- func (m *QuerySupplyOfResponse) GetAmount() types.Coin
- func (m *QuerySupplyOfResponse) Marshal() (dAtA []byte, err error)
- func (m *QuerySupplyOfResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySupplyOfResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySupplyOfResponse) ProtoMessage()
- func (m *QuerySupplyOfResponse) Reset()
- func (m *QuerySupplyOfResponse) Size() (n int)
- func (m *QuerySupplyOfResponse) String() string
- func (m *QuerySupplyOfResponse) Unmarshal(dAtA []byte) error
- func (m *QuerySupplyOfResponse) XXX_DiscardUnknown()
- func (m *QuerySupplyOfResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySupplyOfResponse) XXX_Merge(src proto.Message)
- func (m *QuerySupplyOfResponse) XXX_Size() int
- func (m *QuerySupplyOfResponse) XXX_Unmarshal(b []byte) error
- type QueryTotalSupplyRequest
- func (*QueryTotalSupplyRequest) Descriptor() ([]byte, []int)
- func (m *QueryTotalSupplyRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryTotalSupplyRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTotalSupplyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTotalSupplyRequest) ProtoMessage()
- func (m *QueryTotalSupplyRequest) Reset()
- func (m *QueryTotalSupplyRequest) Size() (n int)
- func (m *QueryTotalSupplyRequest) String() string
- func (m *QueryTotalSupplyRequest) Unmarshal(dAtA []byte) error
- func (m *QueryTotalSupplyRequest) XXX_DiscardUnknown()
- func (m *QueryTotalSupplyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTotalSupplyRequest) XXX_Merge(src proto.Message)
- func (m *QueryTotalSupplyRequest) XXX_Size() int
- func (m *QueryTotalSupplyRequest) XXX_Unmarshal(b []byte) error
- type QueryTotalSupplyResponse
- func (*QueryTotalSupplyResponse) Descriptor() ([]byte, []int)
- func (m *QueryTotalSupplyResponse) GetPagination() *query.PageResponse
- func (m *QueryTotalSupplyResponse) GetSupply() github_com_oracleNetworkProtocol_plugchain_sdk_go_types.Coins
- func (m *QueryTotalSupplyResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryTotalSupplyResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTotalSupplyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTotalSupplyResponse) ProtoMessage()
- func (m *QueryTotalSupplyResponse) Reset()
- func (m *QueryTotalSupplyResponse) Size() (n int)
- func (m *QueryTotalSupplyResponse) String() string
- func (m *QueryTotalSupplyResponse) Unmarshal(dAtA []byte) error
- func (m *QueryTotalSupplyResponse) XXX_DiscardUnknown()
- func (m *QueryTotalSupplyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTotalSupplyResponse) XXX_Merge(src proto.Message)
- func (m *QueryTotalSupplyResponse) XXX_Size() int
- func (m *QueryTotalSupplyResponse) XXX_Unmarshal(b []byte) error
- type Receipt
- type SendEnabled
- func (*SendEnabled) Descriptor() ([]byte, []int)
- func (this *SendEnabled) Equal(that interface{}) bool
- func (m *SendEnabled) GetDenom() string
- func (m *SendEnabled) GetEnabled() bool
- func (m *SendEnabled) Marshal() (dAtA []byte, err error)
- func (m *SendEnabled) MarshalTo(dAtA []byte) (int, error)
- func (m *SendEnabled) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SendEnabled) ProtoMessage()
- func (m *SendEnabled) Reset()
- func (m *SendEnabled) Size() (n int)
- func (se SendEnabled) String() string
- func (m *SendEnabled) Unmarshal(dAtA []byte) error
- func (m *SendEnabled) XXX_DiscardUnknown()
- func (m *SendEnabled) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SendEnabled) XXX_Merge(src proto.Message)
- func (m *SendEnabled) XXX_Size() int
- func (m *SendEnabled) XXX_Unmarshal(b []byte) error
- type Supplydeprecated
- func (*Supply) Descriptor() ([]byte, []int)
- func (this *Supply) Equal(that interface{}) bool
- func (m *Supply) Marshal() (dAtA []byte, err error)
- func (m *Supply) MarshalTo(dAtA []byte) (int, error)
- func (m *Supply) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Supply) ProtoMessage()
- func (m *Supply) Reset()
- func (m *Supply) Size() (n int)
- func (supply Supply) String() string
- func (m *Supply) Unmarshal(dAtA []byte) error
- func (m *Supply) XXX_DiscardUnknown()
- func (m *Supply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Supply) XXX_Merge(src proto.Message)
- func (m *Supply) XXX_Size() int
- func (m *Supply) XXX_Unmarshal(b []byte) error
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) AllBalances(ctx context.Context, req *QueryAllBalancesRequest) (*QueryAllBalancesResponse, error)
- func (*UnimplementedQueryServer) Balance(ctx context.Context, req *QueryBalanceRequest) (*QueryBalanceResponse, error)
- func (*UnimplementedQueryServer) DenomMetadata(ctx context.Context, req *QueryDenomMetadataRequest) (*QueryDenomMetadataResponse, error)
- func (*UnimplementedQueryServer) DenomsMetadata(ctx context.Context, req *QueryDenomsMetadataRequest) (*QueryDenomsMetadataResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) SupplyOf(ctx context.Context, req *QuerySupplyOfRequest) (*QuerySupplyOfResponse, error)
- func (*UnimplementedQueryServer) TotalSupply(ctx context.Context, req *QueryTotalSupplyRequest) (*QueryTotalSupplyResponse, error)
Constants ¶
const ( ModuleName = "bank" TypeMsgSend = "send" TypeMsgMultiSend = "multisend" )
Variables ¶
var ( ErrInvalidLengthBank = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowBank = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupBank = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var (
ModuleCdc = codec.NewAminoCodec(amino)
)
Functions ¶
func RegisterInterfaces ¶
func RegisterInterfaces(registry types2.InterfaceRegistry)
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
func ValidateInputsOutputs ¶
ValidateInputsOutputs validates that each respective input and output is valid and that the sum of inputs is equal to the sum of outputs.
Types ¶
type Client ¶
type Client interface { sdk.Module Send(to string, amount sdk.DecCoins, baseTx sdk.BaseTx) (sdk.ResultTx, sdk.Error) SendWitchSpecAccountInfo(to string, sequence, accountNumber uint64, amount sdk.DecCoins, baseTx sdk.BaseTx) (sdk.ResultTx, sdk.Error) MultiSend(receipts MultiSendRequest, baseTx sdk.BaseTx) ([]sdk.ResultTx, sdk.Error) MultiToMultiSend(receipts MultiToMultiSendRequest, baseTx sdk.BaseTx) ([]sdk.ResultTx, sdk.Error) SubscribeSendTx(from, to string, callback EventMsgSendCallback) sdk.Subscription QueryAccount(address string, clientCtx sdk.Context) (sdk.BaseAccount, sdk.Error) TotalSupply() (sdk.Coins, sdk.Error) }
expose bank module api for user
type DenomUnit ¶
type DenomUnit struct { // denom represents the string name of the given denom unit (e.g uatom). Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` // exponent represents power of 10 exponent that one must // raise the base_denom to in order to equal the given DenomUnit's denom // 1 denom = 1^exponent base_denom // (e.g. with a base_denom of uatom, one can create a DenomUnit of 'atom' with // exponent = 6, thus: 1 atom = 10^6 uatom). Exponent uint32 `protobuf:"varint,2,opt,name=exponent,proto3" json:"exponent,omitempty"` // aliases is a list of string aliases for the given denom Aliases []string `protobuf:"bytes,3,rep,name=aliases,proto3" json:"aliases,omitempty"` }
DenomUnit represents a struct that describes a given denomination unit of the basic token.
func (*DenomUnit) Descriptor ¶
func (*DenomUnit) GetAliases ¶
func (*DenomUnit) GetExponent ¶
func (*DenomUnit) MarshalToSizedBuffer ¶
func (*DenomUnit) ProtoMessage ¶
func (*DenomUnit) ProtoMessage()
func (*DenomUnit) XXX_DiscardUnknown ¶
func (m *DenomUnit) XXX_DiscardUnknown()
func (*DenomUnit) XXX_Marshal ¶
func (*DenomUnit) XXX_Unmarshal ¶
type EventDataMsgSend ¶
type EventMsgSendCallback ¶
type EventMsgSendCallback func(EventDataMsgSend)
type Input ¶
type Input struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Coins github_com_oracleNetworkProtocol_plugchain_sdk_go_types.Coins `protobuf:"bytes,2,rep,name=coins,proto3,castrepeated=gitee.com/qizikd/plugchain-sdk-go/types.Coins" json:"coins"` }
Input models transaction input.
func NewInput ¶
func NewInput(addr sdk.AccAddress, coins sdk.Coins) Input
NewInput - create a transaction input, used with MsgMultiSend
func (*Input) Descriptor ¶
func (*Input) ProtoMessage ¶
func (*Input) ProtoMessage()
func (Input) ValidateBasic ¶
ValidateBasic - validate transaction input
func (*Input) XXX_DiscardUnknown ¶
func (m *Input) XXX_DiscardUnknown()
func (*Input) XXX_Marshal ¶
func (*Input) XXX_Unmarshal ¶
type Metadata ¶
type Metadata struct { Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` // denom_units represents the list of DenomUnit's for a given coin DenomUnits []*DenomUnit `protobuf:"bytes,2,rep,name=denom_units,json=denomUnits,proto3" json:"denom_units,omitempty"` // base represents the base denom (should be the DenomUnit with exponent = 0). Base string `protobuf:"bytes,3,opt,name=base,proto3" json:"base,omitempty"` // display indicates the suggested denom that should be // displayed in clients. Display string `protobuf:"bytes,4,opt,name=display,proto3" json:"display,omitempty"` // name defines the name of the token (eg: Cosmos Atom) // // Since: cosmos-sdk 0.43 Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` // symbol is the token symbol usually shown on exchanges (eg: ATOM). This can // be the same as the display. // // Since: cosmos-sdk 0.43 Symbol string `protobuf:"bytes,6,opt,name=symbol,proto3" json:"symbol,omitempty"` }
Metadata represents a struct that describes a basic token.
func (*Metadata) Descriptor ¶
func (*Metadata) GetDenomUnits ¶
func (*Metadata) GetDescription ¶
func (*Metadata) GetDisplay ¶
func (*Metadata) MarshalToSizedBuffer ¶
func (*Metadata) ProtoMessage ¶
func (*Metadata) ProtoMessage()
func (*Metadata) XXX_DiscardUnknown ¶
func (m *Metadata) XXX_DiscardUnknown()
func (*Metadata) XXX_Marshal ¶
func (*Metadata) XXX_Unmarshal ¶
type MsgMultiSend ¶
type MsgMultiSend struct { Inputs []Input `protobuf:"bytes,1,rep,name=inputs,proto3" json:"inputs"` Outputs []Output `protobuf:"bytes,2,rep,name=outputs,proto3" json:"outputs"` }
MsgMultiSend represents an arbitrary multi-in, multi-out send message.
func NewMsgMultiSend ¶
func NewMsgMultiSend(in []Input, out []Output) *MsgMultiSend
NewMsgMultiSend - construct arbitrary multi-in, multi-out send msg.
func (*MsgMultiSend) Descriptor ¶
func (*MsgMultiSend) Descriptor() ([]byte, []int)
func (*MsgMultiSend) GetInputs ¶
func (m *MsgMultiSend) GetInputs() []Input
func (*MsgMultiSend) GetOutputs ¶
func (m *MsgMultiSend) GetOutputs() []Output
func (MsgMultiSend) GetSignBytes ¶
func (msg MsgMultiSend) GetSignBytes() []byte
GetSignBytes Implements Msg.
func (MsgMultiSend) GetSigners ¶
func (msg MsgMultiSend) GetSigners() []sdk.AccAddress
GetSigners Implements Msg.
func (*MsgMultiSend) Marshal ¶
func (m *MsgMultiSend) Marshal() (dAtA []byte, err error)
func (*MsgMultiSend) MarshalToSizedBuffer ¶
func (m *MsgMultiSend) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgMultiSend) ProtoMessage ¶
func (*MsgMultiSend) ProtoMessage()
func (*MsgMultiSend) Reset ¶
func (m *MsgMultiSend) Reset()
func (MsgMultiSend) Route ¶
func (msg MsgMultiSend) Route() string
func (*MsgMultiSend) Size ¶
func (m *MsgMultiSend) Size() (n int)
func (*MsgMultiSend) String ¶
func (m *MsgMultiSend) String() string
func (*MsgMultiSend) Unmarshal ¶
func (m *MsgMultiSend) Unmarshal(dAtA []byte) error
func (*MsgMultiSend) XXX_DiscardUnknown ¶
func (m *MsgMultiSend) XXX_DiscardUnknown()
func (*MsgMultiSend) XXX_Marshal ¶
func (m *MsgMultiSend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgMultiSend) XXX_Merge ¶
func (m *MsgMultiSend) XXX_Merge(src proto.Message)
func (*MsgMultiSend) XXX_Size ¶
func (m *MsgMultiSend) XXX_Size() int
func (*MsgMultiSend) XXX_Unmarshal ¶
func (m *MsgMultiSend) XXX_Unmarshal(b []byte) error
type MsgMultiSendResponse ¶
type MsgMultiSendResponse struct { }
MsgMultiSendResponse defines the Msg/MultiSend response type.
func (*MsgMultiSendResponse) Descriptor ¶
func (*MsgMultiSendResponse) Descriptor() ([]byte, []int)
func (*MsgMultiSendResponse) Marshal ¶
func (m *MsgMultiSendResponse) Marshal() (dAtA []byte, err error)
func (*MsgMultiSendResponse) MarshalTo ¶
func (m *MsgMultiSendResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgMultiSendResponse) MarshalToSizedBuffer ¶
func (m *MsgMultiSendResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgMultiSendResponse) ProtoMessage ¶
func (*MsgMultiSendResponse) ProtoMessage()
func (*MsgMultiSendResponse) Reset ¶
func (m *MsgMultiSendResponse) Reset()
func (*MsgMultiSendResponse) Size ¶
func (m *MsgMultiSendResponse) Size() (n int)
func (*MsgMultiSendResponse) String ¶
func (m *MsgMultiSendResponse) String() string
func (*MsgMultiSendResponse) Unmarshal ¶
func (m *MsgMultiSendResponse) Unmarshal(dAtA []byte) error
func (*MsgMultiSendResponse) XXX_DiscardUnknown ¶
func (m *MsgMultiSendResponse) XXX_DiscardUnknown()
func (*MsgMultiSendResponse) XXX_Marshal ¶
func (m *MsgMultiSendResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgMultiSendResponse) XXX_Merge ¶
func (m *MsgMultiSendResponse) XXX_Merge(src proto.Message)
func (*MsgMultiSendResponse) XXX_Size ¶
func (m *MsgMultiSendResponse) XXX_Size() int
func (*MsgMultiSendResponse) XXX_Unmarshal ¶
func (m *MsgMultiSendResponse) XXX_Unmarshal(b []byte) error
type MsgSend ¶
type MsgSend struct { FromAddress string `protobuf:"bytes,1,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty" yaml:"from_address"` ToAddress string `protobuf:"bytes,2,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty" yaml:"to_address"` Amount github_com_oracleNetworkProtocol_plugchain_sdk_go_types.Coins `protobuf:"bytes,3,rep,name=amount,proto3,castrepeated=gitee.com/qizikd/plugchain-sdk-go/types.Coins" json:"amount"` }
MsgSend represents a message to send coins from one account to another.
func NewMsgSend ¶
func NewMsgSend(fromAddr, toAddr sdk.AccAddress, amount sdk.Coins) *MsgSend
NewMsgSend - construct a msg to send coins from one account to another.
func (*MsgSend) Descriptor ¶
func (MsgSend) GetSigners ¶
func (msg MsgSend) GetSigners() []sdk.AccAddress
GetSigners Implements Msg.
func (*MsgSend) MarshalToSizedBuffer ¶
func (*MsgSend) ProtoMessage ¶
func (*MsgSend) ProtoMessage()
func (MsgSend) ValidateBasic ¶
func (*MsgSend) XXX_DiscardUnknown ¶
func (m *MsgSend) XXX_DiscardUnknown()
func (*MsgSend) XXX_Marshal ¶
func (*MsgSend) XXX_Unmarshal ¶
type MsgSendResponse ¶
type MsgSendResponse struct { }
MsgSendResponse defines the Msg/Send response type.
func (*MsgSendResponse) Descriptor ¶
func (*MsgSendResponse) Descriptor() ([]byte, []int)
func (*MsgSendResponse) Marshal ¶
func (m *MsgSendResponse) Marshal() (dAtA []byte, err error)
func (*MsgSendResponse) MarshalToSizedBuffer ¶
func (m *MsgSendResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSendResponse) ProtoMessage ¶
func (*MsgSendResponse) ProtoMessage()
func (*MsgSendResponse) Reset ¶
func (m *MsgSendResponse) Reset()
func (*MsgSendResponse) Size ¶
func (m *MsgSendResponse) Size() (n int)
func (*MsgSendResponse) String ¶
func (m *MsgSendResponse) String() string
func (*MsgSendResponse) Unmarshal ¶
func (m *MsgSendResponse) Unmarshal(dAtA []byte) error
func (*MsgSendResponse) XXX_DiscardUnknown ¶
func (m *MsgSendResponse) XXX_DiscardUnknown()
func (*MsgSendResponse) XXX_Marshal ¶
func (m *MsgSendResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSendResponse) XXX_Merge ¶
func (m *MsgSendResponse) XXX_Merge(src proto.Message)
func (*MsgSendResponse) XXX_Size ¶
func (m *MsgSendResponse) XXX_Size() int
func (*MsgSendResponse) XXX_Unmarshal ¶
func (m *MsgSendResponse) XXX_Unmarshal(b []byte) error
type MultiSendRequest ¶
type MultiSendRequest struct {
Receipts []Receipt
}
func (MultiSendRequest) Len ¶
func (msr MultiSendRequest) Len() int
type MultiToMultiSendRequest ¶
type MultiToMultiSendRequest struct {
Receipts []MutilReceipt
}
type MutilReceipt ¶
type Output ¶
type Output struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Coins github_com_oracleNetworkProtocol_plugchain_sdk_go_types.Coins `protobuf:"bytes,2,rep,name=coins,proto3,castrepeated=gitee.com/qizikd/plugchain-sdk-go/types.Coins" json:"coins"` }
Output models transaction outputs.
func NewOutput ¶
func NewOutput(addr sdk.AccAddress, coins sdk.Coins) Output
NewOutput - create a transaction output, used with MsgMultiSend
func (*Output) Descriptor ¶
func (*Output) MarshalToSizedBuffer ¶
func (*Output) ProtoMessage ¶
func (*Output) ProtoMessage()
func (Output) ValidateBasic ¶
ValidateBasic - validate transaction output
func (*Output) XXX_DiscardUnknown ¶
func (m *Output) XXX_DiscardUnknown()
func (*Output) XXX_Marshal ¶
func (*Output) XXX_Unmarshal ¶
type Params ¶
type Params struct { SendEnabled []*SendEnabled `protobuf:"bytes,1,rep,name=send_enabled,json=sendEnabled,proto3" json:"send_enabled,omitempty" yaml:"send_enabled,omitempty"` DefaultSendEnabled bool `` /* 156-byte string literal not displayed */ }
Params defines the parameters for the bank module.
func (*Params) Descriptor ¶
func (*Params) GetDefaultSendEnabled ¶
func (*Params) GetSendEnabled ¶
func (m *Params) GetSendEnabled() []*SendEnabled
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 QueryAllBalancesRequest ¶
type QueryAllBalancesRequest struct { // address is the address to query balances for. Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // pagination defines an optional pagination for the request. Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryBalanceRequest is the request type for the Query/AllBalances RPC method.
func (*QueryAllBalancesRequest) Descriptor ¶
func (*QueryAllBalancesRequest) Descriptor() ([]byte, []int)
func (*QueryAllBalancesRequest) Marshal ¶
func (m *QueryAllBalancesRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllBalancesRequest) MarshalTo ¶
func (m *QueryAllBalancesRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllBalancesRequest) MarshalToSizedBuffer ¶
func (m *QueryAllBalancesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllBalancesRequest) ProtoMessage ¶
func (*QueryAllBalancesRequest) ProtoMessage()
func (*QueryAllBalancesRequest) Reset ¶
func (m *QueryAllBalancesRequest) Reset()
func (*QueryAllBalancesRequest) Size ¶
func (m *QueryAllBalancesRequest) Size() (n int)
func (*QueryAllBalancesRequest) String ¶
func (m *QueryAllBalancesRequest) String() string
func (*QueryAllBalancesRequest) Unmarshal ¶
func (m *QueryAllBalancesRequest) Unmarshal(dAtA []byte) error
func (*QueryAllBalancesRequest) XXX_DiscardUnknown ¶
func (m *QueryAllBalancesRequest) XXX_DiscardUnknown()
func (*QueryAllBalancesRequest) XXX_Marshal ¶
func (m *QueryAllBalancesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllBalancesRequest) XXX_Merge ¶
func (m *QueryAllBalancesRequest) XXX_Merge(src proto.Message)
func (*QueryAllBalancesRequest) XXX_Size ¶
func (m *QueryAllBalancesRequest) XXX_Size() int
func (*QueryAllBalancesRequest) XXX_Unmarshal ¶
func (m *QueryAllBalancesRequest) XXX_Unmarshal(b []byte) error
type QueryAllBalancesResponse ¶
type QueryAllBalancesResponse struct { // balances is the balances of all the coins. Balances github_com_oracleNetworkProtocol_plugchain_sdk_go_types.Coins `protobuf:"bytes,1,rep,name=balances,proto3,castrepeated=gitee.com/qizikd/plugchain-sdk-go/types.Coins" json:"balances"` // pagination defines the pagination in the response. Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryAllBalancesResponse is the response type for the Query/AllBalances RPC method.
func (*QueryAllBalancesResponse) Descriptor ¶
func (*QueryAllBalancesResponse) Descriptor() ([]byte, []int)
func (*QueryAllBalancesResponse) GetBalances ¶
func (m *QueryAllBalancesResponse) GetBalances() github_com_oracleNetworkProtocol_plugchain_sdk_go_types.Coins
func (*QueryAllBalancesResponse) GetPagination ¶
func (m *QueryAllBalancesResponse) GetPagination() *query.PageResponse
func (*QueryAllBalancesResponse) Marshal ¶
func (m *QueryAllBalancesResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllBalancesResponse) MarshalTo ¶
func (m *QueryAllBalancesResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllBalancesResponse) MarshalToSizedBuffer ¶
func (m *QueryAllBalancesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllBalancesResponse) ProtoMessage ¶
func (*QueryAllBalancesResponse) ProtoMessage()
func (*QueryAllBalancesResponse) Reset ¶
func (m *QueryAllBalancesResponse) Reset()
func (*QueryAllBalancesResponse) Size ¶
func (m *QueryAllBalancesResponse) Size() (n int)
func (*QueryAllBalancesResponse) String ¶
func (m *QueryAllBalancesResponse) String() string
func (*QueryAllBalancesResponse) Unmarshal ¶
func (m *QueryAllBalancesResponse) Unmarshal(dAtA []byte) error
func (*QueryAllBalancesResponse) XXX_DiscardUnknown ¶
func (m *QueryAllBalancesResponse) XXX_DiscardUnknown()
func (*QueryAllBalancesResponse) XXX_Marshal ¶
func (m *QueryAllBalancesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllBalancesResponse) XXX_Merge ¶
func (m *QueryAllBalancesResponse) XXX_Merge(src proto.Message)
func (*QueryAllBalancesResponse) XXX_Size ¶
func (m *QueryAllBalancesResponse) XXX_Size() int
func (*QueryAllBalancesResponse) XXX_Unmarshal ¶
func (m *QueryAllBalancesResponse) XXX_Unmarshal(b []byte) error
type QueryBalanceRequest ¶
type QueryBalanceRequest struct { // address is the address to query balances for. Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // denom is the coin denom to query balances for. Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` }
QueryBalanceRequest is the request type for the Query/Balance RPC method.
func (*QueryBalanceRequest) Descriptor ¶
func (*QueryBalanceRequest) Descriptor() ([]byte, []int)
func (*QueryBalanceRequest) Marshal ¶
func (m *QueryBalanceRequest) Marshal() (dAtA []byte, err error)
func (*QueryBalanceRequest) MarshalTo ¶
func (m *QueryBalanceRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryBalanceRequest) MarshalToSizedBuffer ¶
func (m *QueryBalanceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBalanceRequest) ProtoMessage ¶
func (*QueryBalanceRequest) ProtoMessage()
func (*QueryBalanceRequest) Reset ¶
func (m *QueryBalanceRequest) Reset()
func (*QueryBalanceRequest) Size ¶
func (m *QueryBalanceRequest) Size() (n int)
func (*QueryBalanceRequest) String ¶
func (m *QueryBalanceRequest) String() string
func (*QueryBalanceRequest) Unmarshal ¶
func (m *QueryBalanceRequest) Unmarshal(dAtA []byte) error
func (*QueryBalanceRequest) XXX_DiscardUnknown ¶
func (m *QueryBalanceRequest) XXX_DiscardUnknown()
func (*QueryBalanceRequest) XXX_Marshal ¶
func (m *QueryBalanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBalanceRequest) XXX_Merge ¶
func (m *QueryBalanceRequest) XXX_Merge(src proto.Message)
func (*QueryBalanceRequest) XXX_Size ¶
func (m *QueryBalanceRequest) XXX_Size() int
func (*QueryBalanceRequest) XXX_Unmarshal ¶
func (m *QueryBalanceRequest) XXX_Unmarshal(b []byte) error
type QueryBalanceResponse ¶
type QueryBalanceResponse struct { // balance is the balance of the coin. Balance *types.Coin `protobuf:"bytes,1,opt,name=balance,proto3" json:"balance,omitempty"` }
QueryBalanceResponse is the response type for the Query/Balance RPC method.
func (*QueryBalanceResponse) Descriptor ¶
func (*QueryBalanceResponse) Descriptor() ([]byte, []int)
func (*QueryBalanceResponse) GetBalance ¶
func (m *QueryBalanceResponse) GetBalance() *types.Coin
func (*QueryBalanceResponse) Marshal ¶
func (m *QueryBalanceResponse) Marshal() (dAtA []byte, err error)
func (*QueryBalanceResponse) MarshalTo ¶
func (m *QueryBalanceResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryBalanceResponse) MarshalToSizedBuffer ¶
func (m *QueryBalanceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBalanceResponse) ProtoMessage ¶
func (*QueryBalanceResponse) ProtoMessage()
func (*QueryBalanceResponse) Reset ¶
func (m *QueryBalanceResponse) Reset()
func (*QueryBalanceResponse) Size ¶
func (m *QueryBalanceResponse) Size() (n int)
func (*QueryBalanceResponse) String ¶
func (m *QueryBalanceResponse) String() string
func (*QueryBalanceResponse) Unmarshal ¶
func (m *QueryBalanceResponse) Unmarshal(dAtA []byte) error
func (*QueryBalanceResponse) XXX_DiscardUnknown ¶
func (m *QueryBalanceResponse) XXX_DiscardUnknown()
func (*QueryBalanceResponse) XXX_Marshal ¶
func (m *QueryBalanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBalanceResponse) XXX_Merge ¶
func (m *QueryBalanceResponse) XXX_Merge(src proto.Message)
func (*QueryBalanceResponse) XXX_Size ¶
func (m *QueryBalanceResponse) XXX_Size() int
func (*QueryBalanceResponse) XXX_Unmarshal ¶
func (m *QueryBalanceResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface { // Balance queries the balance of a single coin for a single account. Balance(ctx context.Context, in *QueryBalanceRequest, opts ...grpc.CallOption) (*QueryBalanceResponse, error) // AllBalances queries the balance of all coins for a single account. AllBalances(ctx context.Context, in *QueryAllBalancesRequest, opts ...grpc.CallOption) (*QueryAllBalancesResponse, error) // TotalSupply queries the total supply of all coins. TotalSupply(ctx context.Context, in *QueryTotalSupplyRequest, opts ...grpc.CallOption) (*QueryTotalSupplyResponse, error) // SupplyOf queries the supply of a single coin. SupplyOf(ctx context.Context, in *QuerySupplyOfRequest, opts ...grpc.CallOption) (*QuerySupplyOfResponse, error) // Params queries the parameters of x/bank module. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // DenomsMetadata queries the client metadata of a given coin denomination. DenomMetadata(ctx context.Context, in *QueryDenomMetadataRequest, opts ...grpc.CallOption) (*QueryDenomMetadataResponse, error) // DenomsMetadata queries the client metadata for all registered coin denominations. DenomsMetadata(ctx context.Context, in *QueryDenomsMetadataRequest, opts ...grpc.CallOption) (*QueryDenomsMetadataResponse, 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 QueryDenomMetadataRequest ¶
type QueryDenomMetadataRequest struct { // denom is the coin denom to query the metadata for. Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` }
QueryDenomMetadataRequest is the request type for the Query/DenomMetadata RPC method.
func (*QueryDenomMetadataRequest) Descriptor ¶
func (*QueryDenomMetadataRequest) Descriptor() ([]byte, []int)
func (*QueryDenomMetadataRequest) GetDenom ¶
func (m *QueryDenomMetadataRequest) GetDenom() string
func (*QueryDenomMetadataRequest) Marshal ¶
func (m *QueryDenomMetadataRequest) Marshal() (dAtA []byte, err error)
func (*QueryDenomMetadataRequest) MarshalTo ¶
func (m *QueryDenomMetadataRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDenomMetadataRequest) MarshalToSizedBuffer ¶
func (m *QueryDenomMetadataRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDenomMetadataRequest) ProtoMessage ¶
func (*QueryDenomMetadataRequest) ProtoMessage()
func (*QueryDenomMetadataRequest) Reset ¶
func (m *QueryDenomMetadataRequest) Reset()
func (*QueryDenomMetadataRequest) Size ¶
func (m *QueryDenomMetadataRequest) Size() (n int)
func (*QueryDenomMetadataRequest) String ¶
func (m *QueryDenomMetadataRequest) String() string
func (*QueryDenomMetadataRequest) Unmarshal ¶
func (m *QueryDenomMetadataRequest) Unmarshal(dAtA []byte) error
func (*QueryDenomMetadataRequest) XXX_DiscardUnknown ¶
func (m *QueryDenomMetadataRequest) XXX_DiscardUnknown()
func (*QueryDenomMetadataRequest) XXX_Marshal ¶
func (m *QueryDenomMetadataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDenomMetadataRequest) XXX_Merge ¶
func (m *QueryDenomMetadataRequest) XXX_Merge(src proto.Message)
func (*QueryDenomMetadataRequest) XXX_Size ¶
func (m *QueryDenomMetadataRequest) XXX_Size() int
func (*QueryDenomMetadataRequest) XXX_Unmarshal ¶
func (m *QueryDenomMetadataRequest) XXX_Unmarshal(b []byte) error
type QueryDenomMetadataResponse ¶
type QueryDenomMetadataResponse struct { // metadata describes and provides all the client information for the requested token. Metadata Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata"` }
QueryDenomMetadataResponse is the response type for the Query/DenomMetadata RPC method.
func (*QueryDenomMetadataResponse) Descriptor ¶
func (*QueryDenomMetadataResponse) Descriptor() ([]byte, []int)
func (*QueryDenomMetadataResponse) GetMetadata ¶
func (m *QueryDenomMetadataResponse) GetMetadata() Metadata
func (*QueryDenomMetadataResponse) Marshal ¶
func (m *QueryDenomMetadataResponse) Marshal() (dAtA []byte, err error)
func (*QueryDenomMetadataResponse) MarshalTo ¶
func (m *QueryDenomMetadataResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDenomMetadataResponse) MarshalToSizedBuffer ¶
func (m *QueryDenomMetadataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDenomMetadataResponse) ProtoMessage ¶
func (*QueryDenomMetadataResponse) ProtoMessage()
func (*QueryDenomMetadataResponse) Reset ¶
func (m *QueryDenomMetadataResponse) Reset()
func (*QueryDenomMetadataResponse) Size ¶
func (m *QueryDenomMetadataResponse) Size() (n int)
func (*QueryDenomMetadataResponse) String ¶
func (m *QueryDenomMetadataResponse) String() string
func (*QueryDenomMetadataResponse) Unmarshal ¶
func (m *QueryDenomMetadataResponse) Unmarshal(dAtA []byte) error
func (*QueryDenomMetadataResponse) XXX_DiscardUnknown ¶
func (m *QueryDenomMetadataResponse) XXX_DiscardUnknown()
func (*QueryDenomMetadataResponse) XXX_Marshal ¶
func (m *QueryDenomMetadataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDenomMetadataResponse) XXX_Merge ¶
func (m *QueryDenomMetadataResponse) XXX_Merge(src proto.Message)
func (*QueryDenomMetadataResponse) XXX_Size ¶
func (m *QueryDenomMetadataResponse) XXX_Size() int
func (*QueryDenomMetadataResponse) XXX_Unmarshal ¶
func (m *QueryDenomMetadataResponse) XXX_Unmarshal(b []byte) error
type QueryDenomsMetadataRequest ¶
type QueryDenomsMetadataRequest struct { // pagination defines an optional pagination for the request. Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryDenomsMetadataRequest is the request type for the Query/DenomsMetadata RPC method.
func (*QueryDenomsMetadataRequest) Descriptor ¶
func (*QueryDenomsMetadataRequest) Descriptor() ([]byte, []int)
func (*QueryDenomsMetadataRequest) GetPagination ¶
func (m *QueryDenomsMetadataRequest) GetPagination() *query.PageRequest
func (*QueryDenomsMetadataRequest) Marshal ¶
func (m *QueryDenomsMetadataRequest) Marshal() (dAtA []byte, err error)
func (*QueryDenomsMetadataRequest) MarshalTo ¶
func (m *QueryDenomsMetadataRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDenomsMetadataRequest) MarshalToSizedBuffer ¶
func (m *QueryDenomsMetadataRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDenomsMetadataRequest) ProtoMessage ¶
func (*QueryDenomsMetadataRequest) ProtoMessage()
func (*QueryDenomsMetadataRequest) Reset ¶
func (m *QueryDenomsMetadataRequest) Reset()
func (*QueryDenomsMetadataRequest) Size ¶
func (m *QueryDenomsMetadataRequest) Size() (n int)
func (*QueryDenomsMetadataRequest) String ¶
func (m *QueryDenomsMetadataRequest) String() string
func (*QueryDenomsMetadataRequest) Unmarshal ¶
func (m *QueryDenomsMetadataRequest) Unmarshal(dAtA []byte) error
func (*QueryDenomsMetadataRequest) XXX_DiscardUnknown ¶
func (m *QueryDenomsMetadataRequest) XXX_DiscardUnknown()
func (*QueryDenomsMetadataRequest) XXX_Marshal ¶
func (m *QueryDenomsMetadataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDenomsMetadataRequest) XXX_Merge ¶
func (m *QueryDenomsMetadataRequest) XXX_Merge(src proto.Message)
func (*QueryDenomsMetadataRequest) XXX_Size ¶
func (m *QueryDenomsMetadataRequest) XXX_Size() int
func (*QueryDenomsMetadataRequest) XXX_Unmarshal ¶
func (m *QueryDenomsMetadataRequest) XXX_Unmarshal(b []byte) error
type QueryDenomsMetadataResponse ¶
type QueryDenomsMetadataResponse struct { // metadata provides the client information for all the registered tokens. Metadatas []Metadata `protobuf:"bytes,1,rep,name=metadatas,proto3" json:"metadatas"` // pagination defines the pagination in the response. Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryDenomsMetadataResponse is the response type for the Query/DenomsMetadata RPC method.
func (*QueryDenomsMetadataResponse) Descriptor ¶
func (*QueryDenomsMetadataResponse) Descriptor() ([]byte, []int)
func (*QueryDenomsMetadataResponse) GetMetadatas ¶
func (m *QueryDenomsMetadataResponse) GetMetadatas() []Metadata
func (*QueryDenomsMetadataResponse) GetPagination ¶
func (m *QueryDenomsMetadataResponse) GetPagination() *query.PageResponse
func (*QueryDenomsMetadataResponse) Marshal ¶
func (m *QueryDenomsMetadataResponse) Marshal() (dAtA []byte, err error)
func (*QueryDenomsMetadataResponse) MarshalTo ¶
func (m *QueryDenomsMetadataResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDenomsMetadataResponse) MarshalToSizedBuffer ¶
func (m *QueryDenomsMetadataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDenomsMetadataResponse) ProtoMessage ¶
func (*QueryDenomsMetadataResponse) ProtoMessage()
func (*QueryDenomsMetadataResponse) Reset ¶
func (m *QueryDenomsMetadataResponse) Reset()
func (*QueryDenomsMetadataResponse) Size ¶
func (m *QueryDenomsMetadataResponse) Size() (n int)
func (*QueryDenomsMetadataResponse) String ¶
func (m *QueryDenomsMetadataResponse) String() string
func (*QueryDenomsMetadataResponse) Unmarshal ¶
func (m *QueryDenomsMetadataResponse) Unmarshal(dAtA []byte) error
func (*QueryDenomsMetadataResponse) XXX_DiscardUnknown ¶
func (m *QueryDenomsMetadataResponse) XXX_DiscardUnknown()
func (*QueryDenomsMetadataResponse) XXX_Marshal ¶
func (m *QueryDenomsMetadataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDenomsMetadataResponse) XXX_Merge ¶
func (m *QueryDenomsMetadataResponse) XXX_Merge(src proto.Message)
func (*QueryDenomsMetadataResponse) XXX_Size ¶
func (m *QueryDenomsMetadataResponse) XXX_Size() int
func (*QueryDenomsMetadataResponse) XXX_Unmarshal ¶
func (m *QueryDenomsMetadataResponse) XXX_Unmarshal(b []byte) error
type QueryParamsRequest ¶
type QueryParamsRequest struct { }
QueryParamsRequest defines the request type for querying x/bank parameters.
func (*QueryParamsRequest) Descriptor ¶
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
func (*QueryParamsRequest) Marshal ¶
func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryParamsRequest) MarshalTo ¶
func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsRequest) MarshalToSizedBuffer ¶
func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsRequest) ProtoMessage ¶
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) Reset ¶
func (m *QueryParamsRequest) Reset()
func (*QueryParamsRequest) Size ¶
func (m *QueryParamsRequest) Size() (n int)
func (*QueryParamsRequest) String ¶
func (m *QueryParamsRequest) String() string
func (*QueryParamsRequest) Unmarshal ¶
func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryParamsRequest) XXX_DiscardUnknown ¶
func (m *QueryParamsRequest) XXX_DiscardUnknown()
func (*QueryParamsRequest) XXX_Marshal ¶
func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsRequest) XXX_Merge ¶
func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
func (*QueryParamsRequest) XXX_Size ¶
func (m *QueryParamsRequest) XXX_Size() int
func (*QueryParamsRequest) XXX_Unmarshal ¶
func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
type QueryParamsResponse ¶
type QueryParamsResponse struct {
Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}
QueryParamsResponse defines the response type for querying x/bank parameters.
func (*QueryParamsResponse) Descriptor ¶
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
func (*QueryParamsResponse) GetParams ¶
func (m *QueryParamsResponse) GetParams() Params
func (*QueryParamsResponse) Marshal ¶
func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryParamsResponse) MarshalTo ¶
func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsResponse) MarshalToSizedBuffer ¶
func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) Reset ¶
func (m *QueryParamsResponse) Reset()
func (*QueryParamsResponse) Size ¶
func (m *QueryParamsResponse) Size() (n int)
func (*QueryParamsResponse) String ¶
func (m *QueryParamsResponse) String() string
func (*QueryParamsResponse) Unmarshal ¶
func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryParamsResponse) XXX_DiscardUnknown ¶
func (m *QueryParamsResponse) XXX_DiscardUnknown()
func (*QueryParamsResponse) XXX_Marshal ¶
func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsResponse) XXX_Merge ¶
func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
func (*QueryParamsResponse) XXX_Size ¶
func (m *QueryParamsResponse) XXX_Size() int
func (*QueryParamsResponse) XXX_Unmarshal ¶
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // Balance queries the balance of a single coin for a single account. Balance(context.Context, *QueryBalanceRequest) (*QueryBalanceResponse, error) // AllBalances queries the balance of all coins for a single account. AllBalances(context.Context, *QueryAllBalancesRequest) (*QueryAllBalancesResponse, error) // TotalSupply queries the total supply of all coins. TotalSupply(context.Context, *QueryTotalSupplyRequest) (*QueryTotalSupplyResponse, error) // SupplyOf queries the supply of a single coin. SupplyOf(context.Context, *QuerySupplyOfRequest) (*QuerySupplyOfResponse, error) // Params queries the parameters of x/bank module. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // DenomsMetadata queries the client metadata of a given coin denomination. DenomMetadata(context.Context, *QueryDenomMetadataRequest) (*QueryDenomMetadataResponse, error) // DenomsMetadata queries the client metadata for all registered coin denominations. DenomsMetadata(context.Context, *QueryDenomsMetadataRequest) (*QueryDenomsMetadataResponse, error) }
QueryServer is the server API for Query service.
type QuerySupplyOfRequest ¶
type QuerySupplyOfRequest struct { // denom is the coin denom to query balances for. Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` }
QuerySupplyOfRequest is the request type for the Query/SupplyOf RPC method.
func (*QuerySupplyOfRequest) Descriptor ¶
func (*QuerySupplyOfRequest) Descriptor() ([]byte, []int)
func (*QuerySupplyOfRequest) GetDenom ¶
func (m *QuerySupplyOfRequest) GetDenom() string
func (*QuerySupplyOfRequest) Marshal ¶
func (m *QuerySupplyOfRequest) Marshal() (dAtA []byte, err error)
func (*QuerySupplyOfRequest) MarshalTo ¶
func (m *QuerySupplyOfRequest) MarshalTo(dAtA []byte) (int, error)
func (*QuerySupplyOfRequest) MarshalToSizedBuffer ¶
func (m *QuerySupplyOfRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySupplyOfRequest) ProtoMessage ¶
func (*QuerySupplyOfRequest) ProtoMessage()
func (*QuerySupplyOfRequest) Reset ¶
func (m *QuerySupplyOfRequest) Reset()
func (*QuerySupplyOfRequest) Size ¶
func (m *QuerySupplyOfRequest) Size() (n int)
func (*QuerySupplyOfRequest) String ¶
func (m *QuerySupplyOfRequest) String() string
func (*QuerySupplyOfRequest) Unmarshal ¶
func (m *QuerySupplyOfRequest) Unmarshal(dAtA []byte) error
func (*QuerySupplyOfRequest) XXX_DiscardUnknown ¶
func (m *QuerySupplyOfRequest) XXX_DiscardUnknown()
func (*QuerySupplyOfRequest) XXX_Marshal ¶
func (m *QuerySupplyOfRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySupplyOfRequest) XXX_Merge ¶
func (m *QuerySupplyOfRequest) XXX_Merge(src proto.Message)
func (*QuerySupplyOfRequest) XXX_Size ¶
func (m *QuerySupplyOfRequest) XXX_Size() int
func (*QuerySupplyOfRequest) XXX_Unmarshal ¶
func (m *QuerySupplyOfRequest) XXX_Unmarshal(b []byte) error
type QuerySupplyOfResponse ¶
type QuerySupplyOfResponse struct { // amount is the supply of the coin. Amount types.Coin `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount"` }
QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC method.
func (*QuerySupplyOfResponse) Descriptor ¶
func (*QuerySupplyOfResponse) Descriptor() ([]byte, []int)
func (*QuerySupplyOfResponse) GetAmount ¶
func (m *QuerySupplyOfResponse) GetAmount() types.Coin
func (*QuerySupplyOfResponse) Marshal ¶
func (m *QuerySupplyOfResponse) Marshal() (dAtA []byte, err error)
func (*QuerySupplyOfResponse) MarshalTo ¶
func (m *QuerySupplyOfResponse) MarshalTo(dAtA []byte) (int, error)
func (*QuerySupplyOfResponse) MarshalToSizedBuffer ¶
func (m *QuerySupplyOfResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySupplyOfResponse) ProtoMessage ¶
func (*QuerySupplyOfResponse) ProtoMessage()
func (*QuerySupplyOfResponse) Reset ¶
func (m *QuerySupplyOfResponse) Reset()
func (*QuerySupplyOfResponse) Size ¶
func (m *QuerySupplyOfResponse) Size() (n int)
func (*QuerySupplyOfResponse) String ¶
func (m *QuerySupplyOfResponse) String() string
func (*QuerySupplyOfResponse) Unmarshal ¶
func (m *QuerySupplyOfResponse) Unmarshal(dAtA []byte) error
func (*QuerySupplyOfResponse) XXX_DiscardUnknown ¶
func (m *QuerySupplyOfResponse) XXX_DiscardUnknown()
func (*QuerySupplyOfResponse) XXX_Marshal ¶
func (m *QuerySupplyOfResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySupplyOfResponse) XXX_Merge ¶
func (m *QuerySupplyOfResponse) XXX_Merge(src proto.Message)
func (*QuerySupplyOfResponse) XXX_Size ¶
func (m *QuerySupplyOfResponse) XXX_Size() int
func (*QuerySupplyOfResponse) XXX_Unmarshal ¶
func (m *QuerySupplyOfResponse) XXX_Unmarshal(b []byte) error
type QueryTotalSupplyRequest ¶
type QueryTotalSupplyRequest struct { // pagination defines an optional pagination for the request. // // Since: cosmos-sdk 0.43 Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryTotalSupplyRequest is the request type for the Query/TotalSupply RPC method.
func (*QueryTotalSupplyRequest) Descriptor ¶
func (*QueryTotalSupplyRequest) Descriptor() ([]byte, []int)
func (*QueryTotalSupplyRequest) Marshal ¶
func (m *QueryTotalSupplyRequest) Marshal() (dAtA []byte, err error)
func (*QueryTotalSupplyRequest) MarshalTo ¶
func (m *QueryTotalSupplyRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryTotalSupplyRequest) MarshalToSizedBuffer ¶
func (m *QueryTotalSupplyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTotalSupplyRequest) ProtoMessage ¶
func (*QueryTotalSupplyRequest) ProtoMessage()
func (*QueryTotalSupplyRequest) Reset ¶
func (m *QueryTotalSupplyRequest) Reset()
func (*QueryTotalSupplyRequest) Size ¶
func (m *QueryTotalSupplyRequest) Size() (n int)
func (*QueryTotalSupplyRequest) String ¶
func (m *QueryTotalSupplyRequest) String() string
func (*QueryTotalSupplyRequest) Unmarshal ¶
func (m *QueryTotalSupplyRequest) Unmarshal(dAtA []byte) error
func (*QueryTotalSupplyRequest) XXX_DiscardUnknown ¶
func (m *QueryTotalSupplyRequest) XXX_DiscardUnknown()
func (*QueryTotalSupplyRequest) XXX_Marshal ¶
func (m *QueryTotalSupplyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTotalSupplyRequest) XXX_Merge ¶
func (m *QueryTotalSupplyRequest) XXX_Merge(src proto.Message)
func (*QueryTotalSupplyRequest) XXX_Size ¶
func (m *QueryTotalSupplyRequest) XXX_Size() int
func (*QueryTotalSupplyRequest) XXX_Unmarshal ¶
func (m *QueryTotalSupplyRequest) XXX_Unmarshal(b []byte) error
type QueryTotalSupplyResponse ¶
type QueryTotalSupplyResponse struct { // supply is the supply of the coins Supply github_com_oracleNetworkProtocol_plugchain_sdk_go_types.Coins `protobuf:"bytes,1,rep,name=supply,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"supply"` // pagination defines the pagination in the response. // // Since: cosmos-sdk 0.43 Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryTotalSupplyResponse is the response type for the Query/TotalSupply RPC method
func (*QueryTotalSupplyResponse) Descriptor ¶
func (*QueryTotalSupplyResponse) Descriptor() ([]byte, []int)
func (*QueryTotalSupplyResponse) GetPagination ¶
func (m *QueryTotalSupplyResponse) GetPagination() *query.PageResponse
func (*QueryTotalSupplyResponse) GetSupply ¶
func (m *QueryTotalSupplyResponse) GetSupply() github_com_oracleNetworkProtocol_plugchain_sdk_go_types.Coins
func (*QueryTotalSupplyResponse) Marshal ¶
func (m *QueryTotalSupplyResponse) Marshal() (dAtA []byte, err error)
func (*QueryTotalSupplyResponse) MarshalTo ¶
func (m *QueryTotalSupplyResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryTotalSupplyResponse) MarshalToSizedBuffer ¶
func (m *QueryTotalSupplyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTotalSupplyResponse) ProtoMessage ¶
func (*QueryTotalSupplyResponse) ProtoMessage()
func (*QueryTotalSupplyResponse) Reset ¶
func (m *QueryTotalSupplyResponse) Reset()
func (*QueryTotalSupplyResponse) Size ¶
func (m *QueryTotalSupplyResponse) Size() (n int)
func (*QueryTotalSupplyResponse) String ¶
func (m *QueryTotalSupplyResponse) String() string
func (*QueryTotalSupplyResponse) Unmarshal ¶
func (m *QueryTotalSupplyResponse) Unmarshal(dAtA []byte) error
func (*QueryTotalSupplyResponse) XXX_DiscardUnknown ¶
func (m *QueryTotalSupplyResponse) XXX_DiscardUnknown()
func (*QueryTotalSupplyResponse) XXX_Marshal ¶
func (m *QueryTotalSupplyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTotalSupplyResponse) XXX_Merge ¶
func (m *QueryTotalSupplyResponse) XXX_Merge(src proto.Message)
func (*QueryTotalSupplyResponse) XXX_Size ¶
func (m *QueryTotalSupplyResponse) XXX_Size() int
func (*QueryTotalSupplyResponse) XXX_Unmarshal ¶
func (m *QueryTotalSupplyResponse) XXX_Unmarshal(b []byte) error
type SendEnabled ¶
type SendEnabled struct { Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"` }
SendEnabled maps coin denom to a send_enabled status (whether a denom is sendable).
func (*SendEnabled) Descriptor ¶
func (*SendEnabled) Descriptor() ([]byte, []int)
func (*SendEnabled) Equal ¶
func (this *SendEnabled) Equal(that interface{}) bool
func (*SendEnabled) GetDenom ¶
func (m *SendEnabled) GetDenom() string
func (*SendEnabled) GetEnabled ¶
func (m *SendEnabled) GetEnabled() bool
func (*SendEnabled) Marshal ¶
func (m *SendEnabled) Marshal() (dAtA []byte, err error)
func (*SendEnabled) MarshalToSizedBuffer ¶
func (m *SendEnabled) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SendEnabled) ProtoMessage ¶
func (*SendEnabled) ProtoMessage()
func (*SendEnabled) Reset ¶
func (m *SendEnabled) Reset()
func (*SendEnabled) Size ¶
func (m *SendEnabled) Size() (n int)
func (SendEnabled) String ¶
func (se SendEnabled) String() string
String implements stringer insterface
func (*SendEnabled) Unmarshal ¶
func (m *SendEnabled) Unmarshal(dAtA []byte) error
func (*SendEnabled) XXX_DiscardUnknown ¶
func (m *SendEnabled) XXX_DiscardUnknown()
func (*SendEnabled) XXX_Marshal ¶
func (m *SendEnabled) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SendEnabled) XXX_Merge ¶
func (m *SendEnabled) XXX_Merge(src proto.Message)
func (*SendEnabled) XXX_Size ¶
func (m *SendEnabled) XXX_Size() int
func (*SendEnabled) XXX_Unmarshal ¶
func (m *SendEnabled) XXX_Unmarshal(b []byte) error
type Supply
deprecated
type Supply struct {
Total github_com_oracleNetworkProtocol_plugchain_sdk_go_types.Coins `protobuf:"bytes,1,rep,name=total,proto3,castrepeated=gitee.com/qizikd/plugchain-sdk-go/types.Coins" json:"total"`
}
Supply represents a struct that passively keeps track of the total supply amounts in the network. This message is deprecated now that supply is indexed by denom.
Deprecated: Do not use.
func (*Supply) Descriptor ¶
func (*Supply) MarshalToSizedBuffer ¶
func (*Supply) ProtoMessage ¶
func (*Supply) ProtoMessage()
func (*Supply) XXX_DiscardUnknown ¶
func (m *Supply) XXX_DiscardUnknown()
func (*Supply) XXX_Marshal ¶
func (*Supply) XXX_Unmarshal ¶
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) AllBalances ¶
func (*UnimplementedQueryServer) AllBalances(ctx context.Context, req *QueryAllBalancesRequest) (*QueryAllBalancesResponse, error)
func (*UnimplementedQueryServer) Balance ¶
func (*UnimplementedQueryServer) Balance(ctx context.Context, req *QueryBalanceRequest) (*QueryBalanceResponse, error)
func (*UnimplementedQueryServer) DenomMetadata ¶
func (*UnimplementedQueryServer) DenomMetadata(ctx context.Context, req *QueryDenomMetadataRequest) (*QueryDenomMetadataResponse, error)
func (*UnimplementedQueryServer) DenomsMetadata ¶
func (*UnimplementedQueryServer) DenomsMetadata(ctx context.Context, req *QueryDenomsMetadataRequest) (*QueryDenomsMetadataResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) SupplyOf ¶
func (*UnimplementedQueryServer) SupplyOf(ctx context.Context, req *QuerySupplyOfRequest) (*QuerySupplyOfResponse, error)
func (*UnimplementedQueryServer) TotalSupply ¶
func (*UnimplementedQueryServer) TotalSupply(ctx context.Context, req *QueryTotalSupplyRequest) (*QueryTotalSupplyResponse, error)