Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterInterfaces(registry types.InterfaceRegistry)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- type AddMTRequest
- type Balance
- func (this Balance) Convert() interface{}
- func (*Balance) Descriptor() ([]byte, []int)
- func (this *Balance) Equal(that interface{}) bool
- func (m *Balance) Marshal() (dAtA []byte, err error)
- func (m *Balance) MarshalTo(dAtA []byte) (int, error)
- func (m *Balance) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Balance) ProtoMessage()
- func (m *Balance) Reset()
- func (m *Balance) Size() (n int)
- func (m *Balance) String() string
- func (m *Balance) Unmarshal(dAtA []byte) error
- func (m *Balance) XXX_DiscardUnknown()
- func (m *Balance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Balance) XXX_Merge(src proto.Message)
- func (m *Balance) XXX_Size() int
- func (m *Balance) XXX_Unmarshal(b []byte) error
- type BurnMTRequest
- type Client
- type Denom
- func (this Denom) Convert() interface{}
- func (*Denom) Descriptor() ([]byte, []int)
- func (this *Denom) Equal(that interface{}) bool
- func (m *Denom) Marshal() (dAtA []byte, err error)
- func (m *Denom) MarshalTo(dAtA []byte) (int, error)
- func (m *Denom) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Denom) ProtoMessage()
- func (m *Denom) Reset()
- func (m *Denom) Size() (n int)
- func (m *Denom) String() string
- func (m *Denom) Unmarshal(dAtA []byte) error
- func (m *Denom) XXX_DiscardUnknown()
- func (m *Denom) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Denom) XXX_Merge(src proto.Message)
- func (m *Denom) XXX_Size() int
- func (m *Denom) XXX_Unmarshal(b []byte) error
- type EditMTRequest
- type IssueDenomRequest
- type MT
- func (this MT) Convert() interface{}
- func (*MT) Descriptor() ([]byte, []int)
- func (this *MT) Equal(that interface{}) bool
- func (m *MT) Marshal() (dAtA []byte, err error)
- func (m *MT) MarshalTo(dAtA []byte) (int, error)
- func (m *MT) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MT) ProtoMessage()
- func (m *MT) Reset()
- func (m *MT) Size() (n int)
- func (m *MT) String() string
- func (m *MT) Unmarshal(dAtA []byte) error
- func (m *MT) XXX_DiscardUnknown()
- func (m *MT) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MT) XXX_Merge(src proto.Message)
- func (m *MT) XXX_Size() int
- func (m *MT) XXX_Unmarshal(b []byte) error
- type MintMTRequest
- type MsgBurnMT
- func (*MsgBurnMT) Descriptor() ([]byte, []int)
- func (this *MsgBurnMT) Equal(that interface{}) bool
- func (m MsgBurnMT) GetSignBytes() []byte
- func (m MsgBurnMT) GetSigners() []sdk.AccAddress
- func (m *MsgBurnMT) Marshal() (dAtA []byte, err error)
- func (m *MsgBurnMT) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgBurnMT) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgBurnMT) ProtoMessage()
- func (m *MsgBurnMT) Reset()
- func (m MsgBurnMT) Route() string
- func (m *MsgBurnMT) Size() (n int)
- func (m *MsgBurnMT) String() string
- func (m MsgBurnMT) Type() string
- func (m *MsgBurnMT) Unmarshal(dAtA []byte) error
- func (m MsgBurnMT) ValidateBasic() error
- func (m *MsgBurnMT) XXX_DiscardUnknown()
- func (m *MsgBurnMT) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgBurnMT) XXX_Merge(src proto.Message)
- func (m *MsgBurnMT) XXX_Size() int
- func (m *MsgBurnMT) XXX_Unmarshal(b []byte) error
- type MsgBurnMTResponse
- func (*MsgBurnMTResponse) Descriptor() ([]byte, []int)
- func (m *MsgBurnMTResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgBurnMTResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgBurnMTResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgBurnMTResponse) ProtoMessage()
- func (m *MsgBurnMTResponse) Reset()
- func (m *MsgBurnMTResponse) Size() (n int)
- func (m *MsgBurnMTResponse) String() string
- func (m *MsgBurnMTResponse) Unmarshal(dAtA []byte) error
- func (m *MsgBurnMTResponse) XXX_DiscardUnknown()
- func (m *MsgBurnMTResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgBurnMTResponse) XXX_Merge(src proto.Message)
- func (m *MsgBurnMTResponse) XXX_Size() int
- func (m *MsgBurnMTResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgEditMT
- func (*MsgEditMT) Descriptor() ([]byte, []int)
- func (this *MsgEditMT) Equal(that interface{}) bool
- func (m MsgEditMT) GetSignBytes() []byte
- func (m MsgEditMT) GetSigners() []sdk.AccAddress
- func (m *MsgEditMT) Marshal() (dAtA []byte, err error)
- func (m *MsgEditMT) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgEditMT) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgEditMT) ProtoMessage()
- func (m *MsgEditMT) Reset()
- func (m MsgEditMT) Route() string
- func (m *MsgEditMT) Size() (n int)
- func (m *MsgEditMT) String() string
- func (m MsgEditMT) Type() string
- func (m *MsgEditMT) Unmarshal(dAtA []byte) error
- func (m MsgEditMT) ValidateBasic() error
- func (m *MsgEditMT) XXX_DiscardUnknown()
- func (m *MsgEditMT) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgEditMT) XXX_Merge(src proto.Message)
- func (m *MsgEditMT) XXX_Size() int
- func (m *MsgEditMT) XXX_Unmarshal(b []byte) error
- type MsgEditMTResponse
- func (*MsgEditMTResponse) Descriptor() ([]byte, []int)
- func (m *MsgEditMTResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgEditMTResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgEditMTResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgEditMTResponse) ProtoMessage()
- func (m *MsgEditMTResponse) Reset()
- func (m *MsgEditMTResponse) Size() (n int)
- func (m *MsgEditMTResponse) String() string
- func (m *MsgEditMTResponse) Unmarshal(dAtA []byte) error
- func (m *MsgEditMTResponse) XXX_DiscardUnknown()
- func (m *MsgEditMTResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgEditMTResponse) XXX_Merge(src proto.Message)
- func (m *MsgEditMTResponse) XXX_Size() int
- func (m *MsgEditMTResponse) XXX_Unmarshal(b []byte) error
- type MsgIssueDenom
- func (*MsgIssueDenom) Descriptor() ([]byte, []int)
- func (this *MsgIssueDenom) Equal(that interface{}) bool
- func (m MsgIssueDenom) GetSignBytes() []byte
- func (m MsgIssueDenom) GetSigners() []sdk.AccAddress
- func (m *MsgIssueDenom) Marshal() (dAtA []byte, err error)
- func (m *MsgIssueDenom) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgIssueDenom) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgIssueDenom) ProtoMessage()
- func (m *MsgIssueDenom) Reset()
- func (m MsgIssueDenom) Route() string
- func (m *MsgIssueDenom) Size() (n int)
- func (m *MsgIssueDenom) String() string
- func (m MsgIssueDenom) Type() string
- func (m *MsgIssueDenom) Unmarshal(dAtA []byte) error
- func (m MsgIssueDenom) ValidateBasic() error
- func (m *MsgIssueDenom) XXX_DiscardUnknown()
- func (m *MsgIssueDenom) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgIssueDenom) XXX_Merge(src proto.Message)
- func (m *MsgIssueDenom) XXX_Size() int
- func (m *MsgIssueDenom) XXX_Unmarshal(b []byte) error
- type MsgIssueDenomResponse
- func (*MsgIssueDenomResponse) Descriptor() ([]byte, []int)
- func (m *MsgIssueDenomResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgIssueDenomResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgIssueDenomResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgIssueDenomResponse) ProtoMessage()
- func (m *MsgIssueDenomResponse) Reset()
- func (m *MsgIssueDenomResponse) Size() (n int)
- func (m *MsgIssueDenomResponse) String() string
- func (m *MsgIssueDenomResponse) Unmarshal(dAtA []byte) error
- func (m *MsgIssueDenomResponse) XXX_DiscardUnknown()
- func (m *MsgIssueDenomResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgIssueDenomResponse) XXX_Merge(src proto.Message)
- func (m *MsgIssueDenomResponse) XXX_Size() int
- func (m *MsgIssueDenomResponse) XXX_Unmarshal(b []byte) error
- type MsgMintMT
- func (*MsgMintMT) Descriptor() ([]byte, []int)
- func (this *MsgMintMT) Equal(that interface{}) bool
- func (m MsgMintMT) GetSignBytes() []byte
- func (m MsgMintMT) GetSigners() []sdk.AccAddress
- func (m *MsgMintMT) Marshal() (dAtA []byte, err error)
- func (m *MsgMintMT) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMintMT) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMintMT) ProtoMessage()
- func (m *MsgMintMT) Reset()
- func (m MsgMintMT) Route() string
- func (m *MsgMintMT) Size() (n int)
- func (m *MsgMintMT) String() string
- func (m MsgMintMT) Type() string
- func (m *MsgMintMT) Unmarshal(dAtA []byte) error
- func (m MsgMintMT) ValidateBasic() error
- func (m *MsgMintMT) XXX_DiscardUnknown()
- func (m *MsgMintMT) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMintMT) XXX_Merge(src proto.Message)
- func (m *MsgMintMT) XXX_Size() int
- func (m *MsgMintMT) XXX_Unmarshal(b []byte) error
- type MsgMintMTResponse
- func (*MsgMintMTResponse) Descriptor() ([]byte, []int)
- func (m *MsgMintMTResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgMintMTResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMintMTResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMintMTResponse) ProtoMessage()
- func (m *MsgMintMTResponse) Reset()
- func (m *MsgMintMTResponse) Size() (n int)
- func (m *MsgMintMTResponse) String() string
- func (m *MsgMintMTResponse) Unmarshal(dAtA []byte) error
- func (m *MsgMintMTResponse) XXX_DiscardUnknown()
- func (m *MsgMintMTResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMintMTResponse) XXX_Merge(src proto.Message)
- func (m *MsgMintMTResponse) XXX_Size() int
- func (m *MsgMintMTResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgTransferDenom
- func (*MsgTransferDenom) Descriptor() ([]byte, []int)
- func (this *MsgTransferDenom) Equal(that interface{}) bool
- func (m MsgTransferDenom) GetSignBytes() []byte
- func (m MsgTransferDenom) GetSigners() []sdk.AccAddress
- func (m *MsgTransferDenom) Marshal() (dAtA []byte, err error)
- func (m *MsgTransferDenom) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgTransferDenom) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgTransferDenom) ProtoMessage()
- func (m *MsgTransferDenom) Reset()
- func (m MsgTransferDenom) Route() string
- func (m *MsgTransferDenom) Size() (n int)
- func (m *MsgTransferDenom) String() string
- func (m MsgTransferDenom) Type() string
- func (m *MsgTransferDenom) Unmarshal(dAtA []byte) error
- func (m MsgTransferDenom) ValidateBasic() error
- func (m *MsgTransferDenom) XXX_DiscardUnknown()
- func (m *MsgTransferDenom) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgTransferDenom) XXX_Merge(src proto.Message)
- func (m *MsgTransferDenom) XXX_Size() int
- func (m *MsgTransferDenom) XXX_Unmarshal(b []byte) error
- type MsgTransferDenomResponse
- func (*MsgTransferDenomResponse) Descriptor() ([]byte, []int)
- func (m *MsgTransferDenomResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgTransferDenomResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgTransferDenomResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgTransferDenomResponse) ProtoMessage()
- func (m *MsgTransferDenomResponse) Reset()
- func (m *MsgTransferDenomResponse) Size() (n int)
- func (m *MsgTransferDenomResponse) String() string
- func (m *MsgTransferDenomResponse) Unmarshal(dAtA []byte) error
- func (m *MsgTransferDenomResponse) XXX_DiscardUnknown()
- func (m *MsgTransferDenomResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgTransferDenomResponse) XXX_Merge(src proto.Message)
- func (m *MsgTransferDenomResponse) XXX_Size() int
- func (m *MsgTransferDenomResponse) XXX_Unmarshal(b []byte) error
- type MsgTransferMT
- func (*MsgTransferMT) Descriptor() ([]byte, []int)
- func (this *MsgTransferMT) Equal(that interface{}) bool
- func (m MsgTransferMT) GetSignBytes() []byte
- func (m MsgTransferMT) GetSigners() []sdk.AccAddress
- func (m *MsgTransferMT) Marshal() (dAtA []byte, err error)
- func (m *MsgTransferMT) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgTransferMT) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgTransferMT) ProtoMessage()
- func (m *MsgTransferMT) Reset()
- func (m MsgTransferMT) Route() string
- func (m *MsgTransferMT) Size() (n int)
- func (m *MsgTransferMT) String() string
- func (m MsgTransferMT) Type() string
- func (m *MsgTransferMT) Unmarshal(dAtA []byte) error
- func (m MsgTransferMT) ValidateBasic() error
- func (m *MsgTransferMT) XXX_DiscardUnknown()
- func (m *MsgTransferMT) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgTransferMT) XXX_Merge(src proto.Message)
- func (m *MsgTransferMT) XXX_Size() int
- func (m *MsgTransferMT) XXX_Unmarshal(b []byte) error
- type MsgTransferMTResponse
- func (*MsgTransferMTResponse) Descriptor() ([]byte, []int)
- func (m *MsgTransferMTResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgTransferMTResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgTransferMTResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgTransferMTResponse) ProtoMessage()
- func (m *MsgTransferMTResponse) Reset()
- func (m *MsgTransferMTResponse) Size() (n int)
- func (m *MsgTransferMTResponse) String() string
- func (m *MsgTransferMTResponse) Unmarshal(dAtA []byte) error
- func (m *MsgTransferMTResponse) XXX_DiscardUnknown()
- func (m *MsgTransferMTResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgTransferMTResponse) XXX_Merge(src proto.Message)
- func (m *MsgTransferMTResponse) XXX_Size() int
- func (m *MsgTransferMTResponse) XXX_Unmarshal(b []byte) error
- type QueryBalanceResp
- type QueryBalancesRequest
- func (*QueryBalancesRequest) Descriptor() ([]byte, []int)
- func (m *QueryBalancesRequest) GetDenomId() string
- func (m *QueryBalancesRequest) GetOwner() string
- func (m *QueryBalancesRequest) GetPagination() *query.PageRequest
- func (m *QueryBalancesRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryBalancesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBalancesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBalancesRequest) ProtoMessage()
- func (m *QueryBalancesRequest) Reset()
- func (m *QueryBalancesRequest) Size() (n int)
- func (m *QueryBalancesRequest) String() string
- func (m *QueryBalancesRequest) Unmarshal(dAtA []byte) error
- func (m *QueryBalancesRequest) XXX_DiscardUnknown()
- func (m *QueryBalancesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBalancesRequest) XXX_Merge(src proto.Message)
- func (m *QueryBalancesRequest) XXX_Size() int
- func (m *QueryBalancesRequest) XXX_Unmarshal(b []byte) error
- type QueryBalancesResponse
- func (*QueryBalancesResponse) Descriptor() ([]byte, []int)
- func (m *QueryBalancesResponse) GetBalance() []Balance
- func (m *QueryBalancesResponse) GetPagination() *query.PageResponse
- func (m *QueryBalancesResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryBalancesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBalancesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBalancesResponse) ProtoMessage()
- func (m *QueryBalancesResponse) Reset()
- func (m *QueryBalancesResponse) Size() (n int)
- func (m *QueryBalancesResponse) String() string
- func (m *QueryBalancesResponse) Unmarshal(dAtA []byte) error
- func (m *QueryBalancesResponse) XXX_DiscardUnknown()
- func (m *QueryBalancesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBalancesResponse) XXX_Merge(src proto.Message)
- func (m *QueryBalancesResponse) XXX_Size() int
- func (m *QueryBalancesResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryDenomRequest
- func (*QueryDenomRequest) Descriptor() ([]byte, []int)
- func (m *QueryDenomRequest) GetDenomId() string
- func (m *QueryDenomRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDenomRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDenomRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDenomRequest) ProtoMessage()
- func (m *QueryDenomRequest) Reset()
- func (m *QueryDenomRequest) Size() (n int)
- func (m *QueryDenomRequest) String() string
- func (m *QueryDenomRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDenomRequest) XXX_DiscardUnknown()
- func (m *QueryDenomRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDenomRequest) XXX_Merge(src proto.Message)
- func (m *QueryDenomRequest) XXX_Size() int
- func (m *QueryDenomRequest) XXX_Unmarshal(b []byte) error
- type QueryDenomResp
- type QueryDenomResponse
- func (*QueryDenomResponse) Descriptor() ([]byte, []int)
- func (m *QueryDenomResponse) GetDenom() *Denom
- func (m *QueryDenomResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDenomResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDenomResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDenomResponse) ProtoMessage()
- func (m *QueryDenomResponse) Reset()
- func (m *QueryDenomResponse) Size() (n int)
- func (m *QueryDenomResponse) String() string
- func (m *QueryDenomResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDenomResponse) XXX_DiscardUnknown()
- func (m *QueryDenomResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDenomResponse) XXX_Merge(src proto.Message)
- func (m *QueryDenomResponse) XXX_Size() int
- func (m *QueryDenomResponse) XXX_Unmarshal(b []byte) error
- type QueryDenomsRequest
- func (*QueryDenomsRequest) Descriptor() ([]byte, []int)
- func (m *QueryDenomsRequest) GetPagination() *query.PageRequest
- func (m *QueryDenomsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDenomsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDenomsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDenomsRequest) ProtoMessage()
- func (m *QueryDenomsRequest) Reset()
- func (m *QueryDenomsRequest) Size() (n int)
- func (m *QueryDenomsRequest) String() string
- func (m *QueryDenomsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDenomsRequest) XXX_DiscardUnknown()
- func (m *QueryDenomsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDenomsRequest) XXX_Merge(src proto.Message)
- func (m *QueryDenomsRequest) XXX_Size() int
- func (m *QueryDenomsRequest) XXX_Unmarshal(b []byte) error
- type QueryDenomsResponse
- func (*QueryDenomsResponse) Descriptor() ([]byte, []int)
- func (m *QueryDenomsResponse) GetDenoms() []Denom
- func (m *QueryDenomsResponse) GetPagination() *query.PageResponse
- func (m *QueryDenomsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDenomsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDenomsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDenomsResponse) ProtoMessage()
- func (m *QueryDenomsResponse) Reset()
- func (m *QueryDenomsResponse) Size() (n int)
- func (m *QueryDenomsResponse) String() string
- func (m *QueryDenomsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDenomsResponse) XXX_DiscardUnknown()
- func (m *QueryDenomsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDenomsResponse) XXX_Merge(src proto.Message)
- func (m *QueryDenomsResponse) XXX_Size() int
- func (m *QueryDenomsResponse) XXX_Unmarshal(b []byte) error
- type QueryMTRequest
- func (*QueryMTRequest) Descriptor() ([]byte, []int)
- func (m *QueryMTRequest) GetDenomId() string
- func (m *QueryMTRequest) GetMtId() string
- func (m *QueryMTRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryMTRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryMTRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryMTRequest) ProtoMessage()
- func (m *QueryMTRequest) Reset()
- func (m *QueryMTRequest) Size() (n int)
- func (m *QueryMTRequest) String() string
- func (m *QueryMTRequest) Unmarshal(dAtA []byte) error
- func (m *QueryMTRequest) XXX_DiscardUnknown()
- func (m *QueryMTRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryMTRequest) XXX_Merge(src proto.Message)
- func (m *QueryMTRequest) XXX_Size() int
- func (m *QueryMTRequest) XXX_Unmarshal(b []byte) error
- type QueryMTResp
- type QueryMTResponse
- func (*QueryMTResponse) Descriptor() ([]byte, []int)
- func (m *QueryMTResponse) GetMt() *MT
- func (m *QueryMTResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryMTResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryMTResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryMTResponse) ProtoMessage()
- func (m *QueryMTResponse) Reset()
- func (m *QueryMTResponse) Size() (n int)
- func (m *QueryMTResponse) String() string
- func (m *QueryMTResponse) Unmarshal(dAtA []byte) error
- func (m *QueryMTResponse) XXX_DiscardUnknown()
- func (m *QueryMTResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryMTResponse) XXX_Merge(src proto.Message)
- func (m *QueryMTResponse) XXX_Size() int
- func (m *QueryMTResponse) XXX_Unmarshal(b []byte) error
- type QueryMTSupplyRequest
- func (*QueryMTSupplyRequest) Descriptor() ([]byte, []int)
- func (m *QueryMTSupplyRequest) GetDenomId() string
- func (m *QueryMTSupplyRequest) GetMtId() string
- func (m *QueryMTSupplyRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryMTSupplyRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryMTSupplyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryMTSupplyRequest) ProtoMessage()
- func (m *QueryMTSupplyRequest) Reset()
- func (m *QueryMTSupplyRequest) Size() (n int)
- func (m *QueryMTSupplyRequest) String() string
- func (m *QueryMTSupplyRequest) Unmarshal(dAtA []byte) error
- func (m *QueryMTSupplyRequest) XXX_DiscardUnknown()
- func (m *QueryMTSupplyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryMTSupplyRequest) XXX_Merge(src proto.Message)
- func (m *QueryMTSupplyRequest) XXX_Size() int
- func (m *QueryMTSupplyRequest) XXX_Unmarshal(b []byte) error
- type QueryMTSupplyResponse
- func (*QueryMTSupplyResponse) Descriptor() ([]byte, []int)
- func (m *QueryMTSupplyResponse) GetAmount() uint64
- func (m *QueryMTSupplyResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryMTSupplyResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryMTSupplyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryMTSupplyResponse) ProtoMessage()
- func (m *QueryMTSupplyResponse) Reset()
- func (m *QueryMTSupplyResponse) Size() (n int)
- func (m *QueryMTSupplyResponse) String() string
- func (m *QueryMTSupplyResponse) Unmarshal(dAtA []byte) error
- func (m *QueryMTSupplyResponse) XXX_DiscardUnknown()
- func (m *QueryMTSupplyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryMTSupplyResponse) XXX_Merge(src proto.Message)
- func (m *QueryMTSupplyResponse) XXX_Size() int
- func (m *QueryMTSupplyResponse) XXX_Unmarshal(b []byte) error
- type QueryMTsRequest
- func (*QueryMTsRequest) Descriptor() ([]byte, []int)
- func (m *QueryMTsRequest) GetDenomId() string
- func (m *QueryMTsRequest) GetPagination() *query.PageRequest
- func (m *QueryMTsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryMTsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryMTsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryMTsRequest) ProtoMessage()
- func (m *QueryMTsRequest) Reset()
- func (m *QueryMTsRequest) Size() (n int)
- func (m *QueryMTsRequest) String() string
- func (m *QueryMTsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryMTsRequest) XXX_DiscardUnknown()
- func (m *QueryMTsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryMTsRequest) XXX_Merge(src proto.Message)
- func (m *QueryMTsRequest) XXX_Size() int
- func (m *QueryMTsRequest) XXX_Unmarshal(b []byte) error
- type QueryMTsResponse
- func (*QueryMTsResponse) Descriptor() ([]byte, []int)
- func (m *QueryMTsResponse) GetMts() []MT
- func (m *QueryMTsResponse) GetPagination() *query.PageResponse
- func (m *QueryMTsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryMTsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryMTsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryMTsResponse) ProtoMessage()
- func (m *QueryMTsResponse) Reset()
- func (m *QueryMTsResponse) Size() (n int)
- func (m *QueryMTsResponse) String() string
- func (m *QueryMTsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryMTsResponse) XXX_DiscardUnknown()
- func (m *QueryMTsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryMTsResponse) XXX_Merge(src proto.Message)
- func (m *QueryMTsResponse) XXX_Size() int
- func (m *QueryMTsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type QuerySupplyRequest
- func (*QuerySupplyRequest) Descriptor() ([]byte, []int)
- func (m *QuerySupplyRequest) GetDenomId() string
- func (m *QuerySupplyRequest) GetOwner() string
- func (m *QuerySupplyRequest) Marshal() (dAtA []byte, err error)
- func (m *QuerySupplyRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySupplyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySupplyRequest) ProtoMessage()
- func (m *QuerySupplyRequest) Reset()
- func (m *QuerySupplyRequest) Size() (n int)
- func (m *QuerySupplyRequest) String() string
- func (m *QuerySupplyRequest) Unmarshal(dAtA []byte) error
- func (m *QuerySupplyRequest) XXX_DiscardUnknown()
- func (m *QuerySupplyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySupplyRequest) XXX_Merge(src proto.Message)
- func (m *QuerySupplyRequest) XXX_Size() int
- func (m *QuerySupplyRequest) XXX_Unmarshal(b []byte) error
- type QuerySupplyResponse
- func (*QuerySupplyResponse) Descriptor() ([]byte, []int)
- func (m *QuerySupplyResponse) GetAmount() uint64
- func (m *QuerySupplyResponse) Marshal() (dAtA []byte, err error)
- func (m *QuerySupplyResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySupplyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySupplyResponse) ProtoMessage()
- func (m *QuerySupplyResponse) Reset()
- func (m *QuerySupplyResponse) Size() (n int)
- func (m *QuerySupplyResponse) String() string
- func (m *QuerySupplyResponse) Unmarshal(dAtA []byte) error
- func (m *QuerySupplyResponse) XXX_DiscardUnknown()
- func (m *QuerySupplyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySupplyResponse) XXX_Merge(src proto.Message)
- func (m *QuerySupplyResponse) XXX_Size() int
- func (m *QuerySupplyResponse) XXX_Unmarshal(b []byte) error
- type TransferDenomRequest
- type TransferMTRequest
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) BurnMT(ctx context.Context, req *MsgBurnMT) (*MsgBurnMTResponse, error)
- func (*UnimplementedMsgServer) EditMT(ctx context.Context, req *MsgEditMT) (*MsgEditMTResponse, error)
- func (*UnimplementedMsgServer) IssueDenom(ctx context.Context, req *MsgIssueDenom) (*MsgIssueDenomResponse, error)
- func (*UnimplementedMsgServer) MintMT(ctx context.Context, req *MsgMintMT) (*MsgMintMTResponse, error)
- func (*UnimplementedMsgServer) TransferDenom(ctx context.Context, req *MsgTransferDenom) (*MsgTransferDenomResponse, error)
- func (*UnimplementedMsgServer) TransferMT(ctx context.Context, req *MsgTransferMT) (*MsgTransferMTResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) Balances(ctx context.Context, req *QueryBalancesRequest) (*QueryBalancesResponse, error)
- func (*UnimplementedQueryServer) Denom(ctx context.Context, req *QueryDenomRequest) (*QueryDenomResponse, error)
- func (*UnimplementedQueryServer) Denoms(ctx context.Context, req *QueryDenomsRequest) (*QueryDenomsResponse, error)
- func (*UnimplementedQueryServer) MT(ctx context.Context, req *QueryMTRequest) (*QueryMTResponse, error)
- func (*UnimplementedQueryServer) MTSupply(ctx context.Context, req *QueryMTSupplyRequest) (*QueryMTSupplyResponse, error)
- func (*UnimplementedQueryServer) MTs(ctx context.Context, req *QueryMTsRequest) (*QueryMTsResponse, error)
- func (*UnimplementedQueryServer) Supply(ctx context.Context, req *QuerySupplyRequest) (*QuerySupplyResponse, error)
Constants ¶
const (
ModuleName = "mt"
)
Variables ¶
var ( ErrInvalidLengthMt = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMt = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMt = 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 types.InterfaceRegistry)
func RegisterMsgServer ¶
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
Types ¶
type AddMTRequest ¶
type Balance ¶
type Balance struct { MtId string `protobuf:"bytes,1,opt,name=mt_id,json=mtId,proto3" json:"mt_id,omitempty"` Amount uint64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"` }
Balance defines multi token balance for owners
func (*Balance) Descriptor ¶
func (*Balance) MarshalToSizedBuffer ¶
func (*Balance) ProtoMessage ¶
func (*Balance) ProtoMessage()
func (*Balance) XXX_DiscardUnknown ¶
func (m *Balance) XXX_DiscardUnknown()
func (*Balance) XXX_Marshal ¶
func (*Balance) XXX_Unmarshal ¶
type BurnMTRequest ¶
type Client ¶
type Client interface { sdk.Module IssueDenom(request IssueDenomRequest, baseTx sdk.BaseTx) (sdk.ResultTx, sdk.Error) TransferDenom(request TransferDenomRequest, baseTx sdk.BaseTx) (sdk.ResultTx, sdk.Error) MintMT(request MintMTRequest, baseTx sdk.BaseTx) (sdk.ResultTx, sdk.Error) AddMT(request AddMTRequest, baseTx sdk.BaseTx) (sdk.ResultTx, sdk.Error) EditMT(request EditMTRequest, baseTx sdk.BaseTx) (sdk.ResultTx, sdk.Error) TransferMT(request TransferMTRequest, baseTx sdk.BaseTx) (sdk.ResultTx, sdk.Error) BurnMT(request BurnMTRequest, baseTx sdk.BaseTx) (sdk.ResultTx, sdk.Error) QuerySupply(denomID, creator string) (uint64, sdk.Error) QueryDenoms(pageReq *query.PageRequest) ([]QueryDenomResp, sdk.Error) QueryDenom(denomID string) (QueryDenomResp, sdk.Error) QueryMTSupply(denomID, mtID string) (uint64, sdk.Error) QueryMTs(denomID string, pageReq *query.PageRequest) ([]QueryMTResp, sdk.Error) QueryMT(denomID, mtID string) (QueryMTResp, sdk.Error) QueryBalances(denomID, owner string) ([]QueryBalanceResp, sdk.Error) }
type Denom ¶
type Denom struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` Owner string `protobuf:"bytes,4,opt,name=owner,proto3" json:"owner,omitempty"` }
Denom defines a class of MTs
func (*Denom) Descriptor ¶
func (*Denom) ProtoMessage ¶
func (*Denom) ProtoMessage()
func (*Denom) XXX_DiscardUnknown ¶
func (m *Denom) XXX_DiscardUnknown()
func (*Denom) XXX_Marshal ¶
func (*Denom) XXX_Unmarshal ¶
type EditMTRequest ¶
type IssueDenomRequest ¶
type MT ¶
type MT struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Supply uint64 `protobuf:"varint,2,opt,name=supply,proto3" json:"supply,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` }
MT defines a multi token
func (*MT) Descriptor ¶
func (*MT) ProtoMessage ¶
func (*MT) ProtoMessage()
func (*MT) XXX_DiscardUnknown ¶
func (m *MT) XXX_DiscardUnknown()
func (*MT) XXX_Unmarshal ¶
type MintMTRequest ¶
type MsgBurnMT ¶
type MsgBurnMT struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` DenomId string `protobuf:"bytes,2,opt,name=denom_id,json=denomId,proto3" json:"denom_id,omitempty"` Amount uint64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` Sender string `protobuf:"bytes,4,opt,name=sender,proto3" json:"sender,omitempty"` }
MsgBurnMT defines an SDK message for burning an MT.
func (*MsgBurnMT) Descriptor ¶
func (MsgBurnMT) GetSignBytes ¶
func (MsgBurnMT) GetSigners ¶
func (m MsgBurnMT) GetSigners() []sdk.AccAddress
func (*MsgBurnMT) MarshalToSizedBuffer ¶
func (*MsgBurnMT) ProtoMessage ¶
func (*MsgBurnMT) ProtoMessage()
func (MsgBurnMT) ValidateBasic ¶
func (*MsgBurnMT) XXX_DiscardUnknown ¶
func (m *MsgBurnMT) XXX_DiscardUnknown()
func (*MsgBurnMT) XXX_Marshal ¶
func (*MsgBurnMT) XXX_Unmarshal ¶
type MsgBurnMTResponse ¶
type MsgBurnMTResponse struct { }
MsgBurnMTResponse defines the Msg/BurnMT response type.
func (*MsgBurnMTResponse) Descriptor ¶
func (*MsgBurnMTResponse) Descriptor() ([]byte, []int)
func (*MsgBurnMTResponse) Marshal ¶
func (m *MsgBurnMTResponse) Marshal() (dAtA []byte, err error)
func (*MsgBurnMTResponse) MarshalTo ¶
func (m *MsgBurnMTResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgBurnMTResponse) MarshalToSizedBuffer ¶
func (m *MsgBurnMTResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgBurnMTResponse) ProtoMessage ¶
func (*MsgBurnMTResponse) ProtoMessage()
func (*MsgBurnMTResponse) Reset ¶
func (m *MsgBurnMTResponse) Reset()
func (*MsgBurnMTResponse) Size ¶
func (m *MsgBurnMTResponse) Size() (n int)
func (*MsgBurnMTResponse) String ¶
func (m *MsgBurnMTResponse) String() string
func (*MsgBurnMTResponse) Unmarshal ¶
func (m *MsgBurnMTResponse) Unmarshal(dAtA []byte) error
func (*MsgBurnMTResponse) XXX_DiscardUnknown ¶
func (m *MsgBurnMTResponse) XXX_DiscardUnknown()
func (*MsgBurnMTResponse) XXX_Marshal ¶
func (m *MsgBurnMTResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgBurnMTResponse) XXX_Merge ¶
func (m *MsgBurnMTResponse) XXX_Merge(src proto.Message)
func (*MsgBurnMTResponse) XXX_Size ¶
func (m *MsgBurnMTResponse) XXX_Size() int
func (*MsgBurnMTResponse) XXX_Unmarshal ¶
func (m *MsgBurnMTResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { // IssueDenom defines a method for issuing a denom. IssueDenom(ctx context.Context, in *MsgIssueDenom, opts ...grpc.CallOption) (*MsgIssueDenomResponse, error) // TransferDenom defines a method for transferring a denom. TransferDenom(ctx context.Context, in *MsgTransferDenom, opts ...grpc.CallOption) (*MsgTransferDenomResponse, error) // MintMT defines a method for creating a new MT or minting amounts of an existing MT MintMT(ctx context.Context, in *MsgMintMT, opts ...grpc.CallOption) (*MsgMintMTResponse, error) // EditMT defines a method for editing an MT. EditMT(ctx context.Context, in *MsgEditMT, opts ...grpc.CallOption) (*MsgEditMTResponse, error) // TransferMT defines a method for transferring an MT. TransferMT(ctx context.Context, in *MsgTransferMT, opts ...grpc.CallOption) (*MsgTransferMTResponse, error) // BurnMT defines a method for burning an MT. BurnMT(ctx context.Context, in *MsgBurnMT, opts ...grpc.CallOption) (*MsgBurnMTResponse, 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 MsgEditMT ¶
type MsgEditMT struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` DenomId string `protobuf:"bytes,2,opt,name=denom_id,json=denomId,proto3" json:"denom_id,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` Sender string `protobuf:"bytes,4,opt,name=sender,proto3" json:"sender,omitempty"` }
MsgEditMT defines an SDK message for editing an MT.
func (*MsgEditMT) Descriptor ¶
func (MsgEditMT) GetSignBytes ¶
func (MsgEditMT) GetSigners ¶
func (m MsgEditMT) GetSigners() []sdk.AccAddress
func (*MsgEditMT) MarshalToSizedBuffer ¶
func (*MsgEditMT) ProtoMessage ¶
func (*MsgEditMT) ProtoMessage()
func (MsgEditMT) ValidateBasic ¶
func (*MsgEditMT) XXX_DiscardUnknown ¶
func (m *MsgEditMT) XXX_DiscardUnknown()
func (*MsgEditMT) XXX_Marshal ¶
func (*MsgEditMT) XXX_Unmarshal ¶
type MsgEditMTResponse ¶
type MsgEditMTResponse struct { }
MsgEditMTResponse defines the Msg/EditMT response type.
func (*MsgEditMTResponse) Descriptor ¶
func (*MsgEditMTResponse) Descriptor() ([]byte, []int)
func (*MsgEditMTResponse) Marshal ¶
func (m *MsgEditMTResponse) Marshal() (dAtA []byte, err error)
func (*MsgEditMTResponse) MarshalTo ¶
func (m *MsgEditMTResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgEditMTResponse) MarshalToSizedBuffer ¶
func (m *MsgEditMTResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgEditMTResponse) ProtoMessage ¶
func (*MsgEditMTResponse) ProtoMessage()
func (*MsgEditMTResponse) Reset ¶
func (m *MsgEditMTResponse) Reset()
func (*MsgEditMTResponse) Size ¶
func (m *MsgEditMTResponse) Size() (n int)
func (*MsgEditMTResponse) String ¶
func (m *MsgEditMTResponse) String() string
func (*MsgEditMTResponse) Unmarshal ¶
func (m *MsgEditMTResponse) Unmarshal(dAtA []byte) error
func (*MsgEditMTResponse) XXX_DiscardUnknown ¶
func (m *MsgEditMTResponse) XXX_DiscardUnknown()
func (*MsgEditMTResponse) XXX_Marshal ¶
func (m *MsgEditMTResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgEditMTResponse) XXX_Merge ¶
func (m *MsgEditMTResponse) XXX_Merge(src proto.Message)
func (*MsgEditMTResponse) XXX_Size ¶
func (m *MsgEditMTResponse) XXX_Size() int
func (*MsgEditMTResponse) XXX_Unmarshal ¶
func (m *MsgEditMTResponse) XXX_Unmarshal(b []byte) error
type MsgIssueDenom ¶
type MsgIssueDenom struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` Sender string `protobuf:"bytes,3,opt,name=sender,proto3" json:"sender,omitempty"` }
MsgIssueDenom defines an SDK message for creating a new denom.
func (*MsgIssueDenom) Descriptor ¶
func (*MsgIssueDenom) Descriptor() ([]byte, []int)
func (*MsgIssueDenom) Equal ¶
func (this *MsgIssueDenom) Equal(that interface{}) bool
func (MsgIssueDenom) GetSignBytes ¶
func (m MsgIssueDenom) GetSignBytes() []byte
func (MsgIssueDenom) GetSigners ¶
func (m MsgIssueDenom) GetSigners() []sdk.AccAddress
func (*MsgIssueDenom) Marshal ¶
func (m *MsgIssueDenom) Marshal() (dAtA []byte, err error)
func (*MsgIssueDenom) MarshalToSizedBuffer ¶
func (m *MsgIssueDenom) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgIssueDenom) ProtoMessage ¶
func (*MsgIssueDenom) ProtoMessage()
func (*MsgIssueDenom) Reset ¶
func (m *MsgIssueDenom) Reset()
func (MsgIssueDenom) Route ¶
func (m MsgIssueDenom) Route() string
func (*MsgIssueDenom) Size ¶
func (m *MsgIssueDenom) Size() (n int)
func (*MsgIssueDenom) String ¶
func (m *MsgIssueDenom) String() string
func (MsgIssueDenom) Type ¶
func (m MsgIssueDenom) Type() string
func (*MsgIssueDenom) Unmarshal ¶
func (m *MsgIssueDenom) Unmarshal(dAtA []byte) error
func (MsgIssueDenom) ValidateBasic ¶
func (m MsgIssueDenom) ValidateBasic() error
func (*MsgIssueDenom) XXX_DiscardUnknown ¶
func (m *MsgIssueDenom) XXX_DiscardUnknown()
func (*MsgIssueDenom) XXX_Marshal ¶
func (m *MsgIssueDenom) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgIssueDenom) XXX_Merge ¶
func (m *MsgIssueDenom) XXX_Merge(src proto.Message)
func (*MsgIssueDenom) XXX_Size ¶
func (m *MsgIssueDenom) XXX_Size() int
func (*MsgIssueDenom) XXX_Unmarshal ¶
func (m *MsgIssueDenom) XXX_Unmarshal(b []byte) error
type MsgIssueDenomResponse ¶
type MsgIssueDenomResponse struct { }
MsgIssueDenomResponse defines the Msg/IssueDenom response type.
func (*MsgIssueDenomResponse) Descriptor ¶
func (*MsgIssueDenomResponse) Descriptor() ([]byte, []int)
func (*MsgIssueDenomResponse) Marshal ¶
func (m *MsgIssueDenomResponse) Marshal() (dAtA []byte, err error)
func (*MsgIssueDenomResponse) MarshalTo ¶
func (m *MsgIssueDenomResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgIssueDenomResponse) MarshalToSizedBuffer ¶
func (m *MsgIssueDenomResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgIssueDenomResponse) ProtoMessage ¶
func (*MsgIssueDenomResponse) ProtoMessage()
func (*MsgIssueDenomResponse) Reset ¶
func (m *MsgIssueDenomResponse) Reset()
func (*MsgIssueDenomResponse) Size ¶
func (m *MsgIssueDenomResponse) Size() (n int)
func (*MsgIssueDenomResponse) String ¶
func (m *MsgIssueDenomResponse) String() string
func (*MsgIssueDenomResponse) Unmarshal ¶
func (m *MsgIssueDenomResponse) Unmarshal(dAtA []byte) error
func (*MsgIssueDenomResponse) XXX_DiscardUnknown ¶
func (m *MsgIssueDenomResponse) XXX_DiscardUnknown()
func (*MsgIssueDenomResponse) XXX_Marshal ¶
func (m *MsgIssueDenomResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgIssueDenomResponse) XXX_Merge ¶
func (m *MsgIssueDenomResponse) XXX_Merge(src proto.Message)
func (*MsgIssueDenomResponse) XXX_Size ¶
func (m *MsgIssueDenomResponse) XXX_Size() int
func (*MsgIssueDenomResponse) XXX_Unmarshal ¶
func (m *MsgIssueDenomResponse) XXX_Unmarshal(b []byte) error
type MsgMintMT ¶
type MsgMintMT struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` DenomId string `protobuf:"bytes,2,opt,name=denom_id,json=denomId,proto3" json:"denom_id,omitempty"` Amount uint64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` Sender string `protobuf:"bytes,5,opt,name=sender,proto3" json:"sender,omitempty"` Recipient string `protobuf:"bytes,6,opt,name=recipient,proto3" json:"recipient,omitempty"` }
MsgMintMT defines an SDK message for creating a new MT.
func (*MsgMintMT) Descriptor ¶
func (MsgMintMT) GetSignBytes ¶
func (MsgMintMT) GetSigners ¶
func (m MsgMintMT) GetSigners() []sdk.AccAddress
func (*MsgMintMT) MarshalToSizedBuffer ¶
func (*MsgMintMT) ProtoMessage ¶
func (*MsgMintMT) ProtoMessage()
func (MsgMintMT) ValidateBasic ¶
func (*MsgMintMT) XXX_DiscardUnknown ¶
func (m *MsgMintMT) XXX_DiscardUnknown()
func (*MsgMintMT) XXX_Marshal ¶
func (*MsgMintMT) XXX_Unmarshal ¶
type MsgMintMTResponse ¶
type MsgMintMTResponse struct { }
MsgMintMTResponse defines the Msg/MintMT response type.
func (*MsgMintMTResponse) Descriptor ¶
func (*MsgMintMTResponse) Descriptor() ([]byte, []int)
func (*MsgMintMTResponse) Marshal ¶
func (m *MsgMintMTResponse) Marshal() (dAtA []byte, err error)
func (*MsgMintMTResponse) MarshalTo ¶
func (m *MsgMintMTResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgMintMTResponse) MarshalToSizedBuffer ¶
func (m *MsgMintMTResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgMintMTResponse) ProtoMessage ¶
func (*MsgMintMTResponse) ProtoMessage()
func (*MsgMintMTResponse) Reset ¶
func (m *MsgMintMTResponse) Reset()
func (*MsgMintMTResponse) Size ¶
func (m *MsgMintMTResponse) Size() (n int)
func (*MsgMintMTResponse) String ¶
func (m *MsgMintMTResponse) String() string
func (*MsgMintMTResponse) Unmarshal ¶
func (m *MsgMintMTResponse) Unmarshal(dAtA []byte) error
func (*MsgMintMTResponse) XXX_DiscardUnknown ¶
func (m *MsgMintMTResponse) XXX_DiscardUnknown()
func (*MsgMintMTResponse) XXX_Marshal ¶
func (m *MsgMintMTResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgMintMTResponse) XXX_Merge ¶
func (m *MsgMintMTResponse) XXX_Merge(src proto.Message)
func (*MsgMintMTResponse) XXX_Size ¶
func (m *MsgMintMTResponse) XXX_Size() int
func (*MsgMintMTResponse) XXX_Unmarshal ¶
func (m *MsgMintMTResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { // IssueDenom defines a method for issuing a denom. IssueDenom(context.Context, *MsgIssueDenom) (*MsgIssueDenomResponse, error) // TransferDenom defines a method for transferring a denom. TransferDenom(context.Context, *MsgTransferDenom) (*MsgTransferDenomResponse, error) // MintMT defines a method for creating a new MT or minting amounts of an existing MT MintMT(context.Context, *MsgMintMT) (*MsgMintMTResponse, error) // EditMT defines a method for editing an MT. EditMT(context.Context, *MsgEditMT) (*MsgEditMTResponse, error) // TransferMT defines a method for transferring an MT. TransferMT(context.Context, *MsgTransferMT) (*MsgTransferMTResponse, error) // BurnMT defines a method for burning an MT. BurnMT(context.Context, *MsgBurnMT) (*MsgBurnMTResponse, error) }
MsgServer is the server API for Msg service.
type MsgTransferDenom ¶
type MsgTransferDenom struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Sender string `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty"` Recipient string `protobuf:"bytes,3,opt,name=recipient,proto3" json:"recipient,omitempty"` }
MsgTransferDenom defines an SDK message for transferring an denom to recipient.
func (*MsgTransferDenom) Descriptor ¶
func (*MsgTransferDenom) Descriptor() ([]byte, []int)
func (*MsgTransferDenom) Equal ¶
func (this *MsgTransferDenom) Equal(that interface{}) bool
func (MsgTransferDenom) GetSignBytes ¶
func (m MsgTransferDenom) GetSignBytes() []byte
func (MsgTransferDenom) GetSigners ¶
func (m MsgTransferDenom) GetSigners() []sdk.AccAddress
func (*MsgTransferDenom) Marshal ¶
func (m *MsgTransferDenom) Marshal() (dAtA []byte, err error)
func (*MsgTransferDenom) MarshalToSizedBuffer ¶
func (m *MsgTransferDenom) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgTransferDenom) ProtoMessage ¶
func (*MsgTransferDenom) ProtoMessage()
func (*MsgTransferDenom) Reset ¶
func (m *MsgTransferDenom) Reset()
func (MsgTransferDenom) Route ¶
func (m MsgTransferDenom) Route() string
func (*MsgTransferDenom) Size ¶
func (m *MsgTransferDenom) Size() (n int)
func (*MsgTransferDenom) String ¶
func (m *MsgTransferDenom) String() string
func (MsgTransferDenom) Type ¶
func (m MsgTransferDenom) Type() string
func (*MsgTransferDenom) Unmarshal ¶
func (m *MsgTransferDenom) Unmarshal(dAtA []byte) error
func (MsgTransferDenom) ValidateBasic ¶
func (m MsgTransferDenom) ValidateBasic() error
func (*MsgTransferDenom) XXX_DiscardUnknown ¶
func (m *MsgTransferDenom) XXX_DiscardUnknown()
func (*MsgTransferDenom) XXX_Marshal ¶
func (m *MsgTransferDenom) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgTransferDenom) XXX_Merge ¶
func (m *MsgTransferDenom) XXX_Merge(src proto.Message)
func (*MsgTransferDenom) XXX_Size ¶
func (m *MsgTransferDenom) XXX_Size() int
func (*MsgTransferDenom) XXX_Unmarshal ¶
func (m *MsgTransferDenom) XXX_Unmarshal(b []byte) error
type MsgTransferDenomResponse ¶
type MsgTransferDenomResponse struct { }
MsgTransferDenomResponse defines the Msg/TransferDenom response type.
func (*MsgTransferDenomResponse) Descriptor ¶
func (*MsgTransferDenomResponse) Descriptor() ([]byte, []int)
func (*MsgTransferDenomResponse) Marshal ¶
func (m *MsgTransferDenomResponse) Marshal() (dAtA []byte, err error)
func (*MsgTransferDenomResponse) MarshalTo ¶
func (m *MsgTransferDenomResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgTransferDenomResponse) MarshalToSizedBuffer ¶
func (m *MsgTransferDenomResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgTransferDenomResponse) ProtoMessage ¶
func (*MsgTransferDenomResponse) ProtoMessage()
func (*MsgTransferDenomResponse) Reset ¶
func (m *MsgTransferDenomResponse) Reset()
func (*MsgTransferDenomResponse) Size ¶
func (m *MsgTransferDenomResponse) Size() (n int)
func (*MsgTransferDenomResponse) String ¶
func (m *MsgTransferDenomResponse) String() string
func (*MsgTransferDenomResponse) Unmarshal ¶
func (m *MsgTransferDenomResponse) Unmarshal(dAtA []byte) error
func (*MsgTransferDenomResponse) XXX_DiscardUnknown ¶
func (m *MsgTransferDenomResponse) XXX_DiscardUnknown()
func (*MsgTransferDenomResponse) XXX_Marshal ¶
func (m *MsgTransferDenomResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgTransferDenomResponse) XXX_Merge ¶
func (m *MsgTransferDenomResponse) XXX_Merge(src proto.Message)
func (*MsgTransferDenomResponse) XXX_Size ¶
func (m *MsgTransferDenomResponse) XXX_Size() int
func (*MsgTransferDenomResponse) XXX_Unmarshal ¶
func (m *MsgTransferDenomResponse) XXX_Unmarshal(b []byte) error
type MsgTransferMT ¶
type MsgTransferMT struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` DenomId string `protobuf:"bytes,2,opt,name=denom_id,json=denomId,proto3" json:"denom_id,omitempty"` Amount uint64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` Sender string `protobuf:"bytes,4,opt,name=sender,proto3" json:"sender,omitempty"` Recipient string `protobuf:"bytes,5,opt,name=recipient,proto3" json:"recipient,omitempty"` }
MsgTransferMT defines an SDK message for transferring an MT to recipient.
func (*MsgTransferMT) Descriptor ¶
func (*MsgTransferMT) Descriptor() ([]byte, []int)
func (*MsgTransferMT) Equal ¶
func (this *MsgTransferMT) Equal(that interface{}) bool
func (MsgTransferMT) GetSignBytes ¶
func (m MsgTransferMT) GetSignBytes() []byte
func (MsgTransferMT) GetSigners ¶
func (m MsgTransferMT) GetSigners() []sdk.AccAddress
func (*MsgTransferMT) Marshal ¶
func (m *MsgTransferMT) Marshal() (dAtA []byte, err error)
func (*MsgTransferMT) MarshalToSizedBuffer ¶
func (m *MsgTransferMT) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgTransferMT) ProtoMessage ¶
func (*MsgTransferMT) ProtoMessage()
func (*MsgTransferMT) Reset ¶
func (m *MsgTransferMT) Reset()
func (MsgTransferMT) Route ¶
func (m MsgTransferMT) Route() string
func (*MsgTransferMT) Size ¶
func (m *MsgTransferMT) Size() (n int)
func (*MsgTransferMT) String ¶
func (m *MsgTransferMT) String() string
func (MsgTransferMT) Type ¶
func (m MsgTransferMT) Type() string
func (*MsgTransferMT) Unmarshal ¶
func (m *MsgTransferMT) Unmarshal(dAtA []byte) error
func (MsgTransferMT) ValidateBasic ¶
func (m MsgTransferMT) ValidateBasic() error
func (*MsgTransferMT) XXX_DiscardUnknown ¶
func (m *MsgTransferMT) XXX_DiscardUnknown()
func (*MsgTransferMT) XXX_Marshal ¶
func (m *MsgTransferMT) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgTransferMT) XXX_Merge ¶
func (m *MsgTransferMT) XXX_Merge(src proto.Message)
func (*MsgTransferMT) XXX_Size ¶
func (m *MsgTransferMT) XXX_Size() int
func (*MsgTransferMT) XXX_Unmarshal ¶
func (m *MsgTransferMT) XXX_Unmarshal(b []byte) error
type MsgTransferMTResponse ¶
type MsgTransferMTResponse struct { }
MsgTransferMTResponse defines the Msg/TransferMT response type.
func (*MsgTransferMTResponse) Descriptor ¶
func (*MsgTransferMTResponse) Descriptor() ([]byte, []int)
func (*MsgTransferMTResponse) Marshal ¶
func (m *MsgTransferMTResponse) Marshal() (dAtA []byte, err error)
func (*MsgTransferMTResponse) MarshalTo ¶
func (m *MsgTransferMTResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgTransferMTResponse) MarshalToSizedBuffer ¶
func (m *MsgTransferMTResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgTransferMTResponse) ProtoMessage ¶
func (*MsgTransferMTResponse) ProtoMessage()
func (*MsgTransferMTResponse) Reset ¶
func (m *MsgTransferMTResponse) Reset()
func (*MsgTransferMTResponse) Size ¶
func (m *MsgTransferMTResponse) Size() (n int)
func (*MsgTransferMTResponse) String ¶
func (m *MsgTransferMTResponse) String() string
func (*MsgTransferMTResponse) Unmarshal ¶
func (m *MsgTransferMTResponse) Unmarshal(dAtA []byte) error
func (*MsgTransferMTResponse) XXX_DiscardUnknown ¶
func (m *MsgTransferMTResponse) XXX_DiscardUnknown()
func (*MsgTransferMTResponse) XXX_Marshal ¶
func (m *MsgTransferMTResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgTransferMTResponse) XXX_Merge ¶
func (m *MsgTransferMTResponse) XXX_Merge(src proto.Message)
func (*MsgTransferMTResponse) XXX_Size ¶
func (m *MsgTransferMTResponse) XXX_Size() int
func (*MsgTransferMTResponse) XXX_Unmarshal ¶
func (m *MsgTransferMTResponse) XXX_Unmarshal(b []byte) error
type QueryBalanceResp ¶
type QueryBalancesRequest ¶
type QueryBalancesRequest struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` DenomId string `protobuf:"bytes,2,opt,name=denom_id,json=denomId,proto3" json:"denom_id,omitempty"` // pagination defines an optional pagination for the request. Pagination *query.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryBalancesRequest is the request type for the Query/Balances RPC method
func (*QueryBalancesRequest) Descriptor ¶
func (*QueryBalancesRequest) Descriptor() ([]byte, []int)
func (*QueryBalancesRequest) GetDenomId ¶
func (m *QueryBalancesRequest) GetDenomId() string
func (*QueryBalancesRequest) GetOwner ¶
func (m *QueryBalancesRequest) GetOwner() string
func (*QueryBalancesRequest) GetPagination ¶
func (m *QueryBalancesRequest) GetPagination() *query.PageRequest
func (*QueryBalancesRequest) Marshal ¶
func (m *QueryBalancesRequest) Marshal() (dAtA []byte, err error)
func (*QueryBalancesRequest) MarshalTo ¶
func (m *QueryBalancesRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryBalancesRequest) MarshalToSizedBuffer ¶
func (m *QueryBalancesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBalancesRequest) ProtoMessage ¶
func (*QueryBalancesRequest) ProtoMessage()
func (*QueryBalancesRequest) Reset ¶
func (m *QueryBalancesRequest) Reset()
func (*QueryBalancesRequest) Size ¶
func (m *QueryBalancesRequest) Size() (n int)
func (*QueryBalancesRequest) String ¶
func (m *QueryBalancesRequest) String() string
func (*QueryBalancesRequest) Unmarshal ¶
func (m *QueryBalancesRequest) Unmarshal(dAtA []byte) error
func (*QueryBalancesRequest) XXX_DiscardUnknown ¶
func (m *QueryBalancesRequest) XXX_DiscardUnknown()
func (*QueryBalancesRequest) XXX_Marshal ¶
func (m *QueryBalancesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBalancesRequest) XXX_Merge ¶
func (m *QueryBalancesRequest) XXX_Merge(src proto.Message)
func (*QueryBalancesRequest) XXX_Size ¶
func (m *QueryBalancesRequest) XXX_Size() int
func (*QueryBalancesRequest) XXX_Unmarshal ¶
func (m *QueryBalancesRequest) XXX_Unmarshal(b []byte) error
type QueryBalancesResponse ¶
type QueryBalancesResponse struct { Balance []Balance `protobuf:"bytes,1,rep,name=balance,proto3" json:"balance"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryBalancesResponse is the response type for the Query/Balances RPC method
func (*QueryBalancesResponse) Descriptor ¶
func (*QueryBalancesResponse) Descriptor() ([]byte, []int)
func (*QueryBalancesResponse) GetBalance ¶
func (m *QueryBalancesResponse) GetBalance() []Balance
func (*QueryBalancesResponse) GetPagination ¶
func (m *QueryBalancesResponse) GetPagination() *query.PageResponse
func (*QueryBalancesResponse) Marshal ¶
func (m *QueryBalancesResponse) Marshal() (dAtA []byte, err error)
func (*QueryBalancesResponse) MarshalTo ¶
func (m *QueryBalancesResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryBalancesResponse) MarshalToSizedBuffer ¶
func (m *QueryBalancesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBalancesResponse) ProtoMessage ¶
func (*QueryBalancesResponse) ProtoMessage()
func (*QueryBalancesResponse) Reset ¶
func (m *QueryBalancesResponse) Reset()
func (*QueryBalancesResponse) Size ¶
func (m *QueryBalancesResponse) Size() (n int)
func (*QueryBalancesResponse) String ¶
func (m *QueryBalancesResponse) String() string
func (*QueryBalancesResponse) Unmarshal ¶
func (m *QueryBalancesResponse) Unmarshal(dAtA []byte) error
func (*QueryBalancesResponse) XXX_DiscardUnknown ¶
func (m *QueryBalancesResponse) XXX_DiscardUnknown()
func (*QueryBalancesResponse) XXX_Marshal ¶
func (m *QueryBalancesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBalancesResponse) XXX_Merge ¶
func (m *QueryBalancesResponse) XXX_Merge(src proto.Message)
func (*QueryBalancesResponse) XXX_Size ¶
func (m *QueryBalancesResponse) XXX_Size() int
func (*QueryBalancesResponse) XXX_Unmarshal ¶
func (m *QueryBalancesResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface { // Supply queries the total supply of a given denom or owner Supply(ctx context.Context, in *QuerySupplyRequest, opts ...grpc.CallOption) (*QuerySupplyResponse, error) // Denoms queries all the denoms Denoms(ctx context.Context, in *QueryDenomsRequest, opts ...grpc.CallOption) (*QueryDenomsResponse, error) // Denom queries the definition of a given denom ID Denom(ctx context.Context, in *QueryDenomRequest, opts ...grpc.CallOption) (*QueryDenomResponse, error) // MTSupply queries the total supply of given denom and mt ID MTSupply(ctx context.Context, in *QueryMTSupplyRequest, opts ...grpc.CallOption) (*QueryMTSupplyResponse, error) // MTs queries all the MTs of a given denom ID MTs(ctx context.Context, in *QueryMTsRequest, opts ...grpc.CallOption) (*QueryMTsResponse, error) // MT queries the MT of the given denom and mt ID MT(ctx context.Context, in *QueryMTRequest, opts ...grpc.CallOption) (*QueryMTResponse, error) // Balances queries the MT balances of a specified owner Balances(ctx context.Context, in *QueryBalancesRequest, opts ...grpc.CallOption) (*QueryBalancesResponse, 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 QueryDenomRequest ¶
type QueryDenomRequest struct {
DenomId string `protobuf:"bytes,1,opt,name=denom_id,json=denomId,proto3" json:"denom_id,omitempty"`
}
QueryDenomRequest is the request type for the Query/Denom RPC method
func (*QueryDenomRequest) Descriptor ¶
func (*QueryDenomRequest) Descriptor() ([]byte, []int)
func (*QueryDenomRequest) GetDenomId ¶
func (m *QueryDenomRequest) GetDenomId() string
func (*QueryDenomRequest) Marshal ¶
func (m *QueryDenomRequest) Marshal() (dAtA []byte, err error)
func (*QueryDenomRequest) MarshalTo ¶
func (m *QueryDenomRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDenomRequest) MarshalToSizedBuffer ¶
func (m *QueryDenomRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDenomRequest) ProtoMessage ¶
func (*QueryDenomRequest) ProtoMessage()
func (*QueryDenomRequest) Reset ¶
func (m *QueryDenomRequest) Reset()
func (*QueryDenomRequest) Size ¶
func (m *QueryDenomRequest) Size() (n int)
func (*QueryDenomRequest) String ¶
func (m *QueryDenomRequest) String() string
func (*QueryDenomRequest) Unmarshal ¶
func (m *QueryDenomRequest) Unmarshal(dAtA []byte) error
func (*QueryDenomRequest) XXX_DiscardUnknown ¶
func (m *QueryDenomRequest) XXX_DiscardUnknown()
func (*QueryDenomRequest) XXX_Marshal ¶
func (m *QueryDenomRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDenomRequest) XXX_Merge ¶
func (m *QueryDenomRequest) XXX_Merge(src proto.Message)
func (*QueryDenomRequest) XXX_Size ¶
func (m *QueryDenomRequest) XXX_Size() int
func (*QueryDenomRequest) XXX_Unmarshal ¶
func (m *QueryDenomRequest) XXX_Unmarshal(b []byte) error
type QueryDenomResp ¶
type QueryDenomResponse ¶
type QueryDenomResponse struct {
Denom *Denom `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
}
QueryDenomResponse is the response type for the Query/Denom RPC method
func (*QueryDenomResponse) Descriptor ¶
func (*QueryDenomResponse) Descriptor() ([]byte, []int)
func (*QueryDenomResponse) GetDenom ¶
func (m *QueryDenomResponse) GetDenom() *Denom
func (*QueryDenomResponse) Marshal ¶
func (m *QueryDenomResponse) Marshal() (dAtA []byte, err error)
func (*QueryDenomResponse) MarshalTo ¶
func (m *QueryDenomResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDenomResponse) MarshalToSizedBuffer ¶
func (m *QueryDenomResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDenomResponse) ProtoMessage ¶
func (*QueryDenomResponse) ProtoMessage()
func (*QueryDenomResponse) Reset ¶
func (m *QueryDenomResponse) Reset()
func (*QueryDenomResponse) Size ¶
func (m *QueryDenomResponse) Size() (n int)
func (*QueryDenomResponse) String ¶
func (m *QueryDenomResponse) String() string
func (*QueryDenomResponse) Unmarshal ¶
func (m *QueryDenomResponse) Unmarshal(dAtA []byte) error
func (*QueryDenomResponse) XXX_DiscardUnknown ¶
func (m *QueryDenomResponse) XXX_DiscardUnknown()
func (*QueryDenomResponse) XXX_Marshal ¶
func (m *QueryDenomResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDenomResponse) XXX_Merge ¶
func (m *QueryDenomResponse) XXX_Merge(src proto.Message)
func (*QueryDenomResponse) XXX_Size ¶
func (m *QueryDenomResponse) XXX_Size() int
func (*QueryDenomResponse) XXX_Unmarshal ¶
func (m *QueryDenomResponse) XXX_Unmarshal(b []byte) error
type QueryDenomsRequest ¶
type QueryDenomsRequest struct { // pagination defines an optional pagination for the request. Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryDenomsRequest is the request type for the Query/Denoms RPC method
func (*QueryDenomsRequest) Descriptor ¶
func (*QueryDenomsRequest) Descriptor() ([]byte, []int)
func (*QueryDenomsRequest) GetPagination ¶
func (m *QueryDenomsRequest) GetPagination() *query.PageRequest
func (*QueryDenomsRequest) Marshal ¶
func (m *QueryDenomsRequest) Marshal() (dAtA []byte, err error)
func (*QueryDenomsRequest) MarshalTo ¶
func (m *QueryDenomsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDenomsRequest) MarshalToSizedBuffer ¶
func (m *QueryDenomsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDenomsRequest) ProtoMessage ¶
func (*QueryDenomsRequest) ProtoMessage()
func (*QueryDenomsRequest) Reset ¶
func (m *QueryDenomsRequest) Reset()
func (*QueryDenomsRequest) Size ¶
func (m *QueryDenomsRequest) Size() (n int)
func (*QueryDenomsRequest) String ¶
func (m *QueryDenomsRequest) String() string
func (*QueryDenomsRequest) Unmarshal ¶
func (m *QueryDenomsRequest) Unmarshal(dAtA []byte) error
func (*QueryDenomsRequest) XXX_DiscardUnknown ¶
func (m *QueryDenomsRequest) XXX_DiscardUnknown()
func (*QueryDenomsRequest) XXX_Marshal ¶
func (m *QueryDenomsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDenomsRequest) XXX_Merge ¶
func (m *QueryDenomsRequest) XXX_Merge(src proto.Message)
func (*QueryDenomsRequest) XXX_Size ¶
func (m *QueryDenomsRequest) XXX_Size() int
func (*QueryDenomsRequest) XXX_Unmarshal ¶
func (m *QueryDenomsRequest) XXX_Unmarshal(b []byte) error
type QueryDenomsResponse ¶
type QueryDenomsResponse struct { Denoms []Denom `protobuf:"bytes,1,rep,name=denoms,proto3" json:"denoms"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryDenomsResponse is the response type for the Query/Denoms RPC method
func (*QueryDenomsResponse) Descriptor ¶
func (*QueryDenomsResponse) Descriptor() ([]byte, []int)
func (*QueryDenomsResponse) GetDenoms ¶
func (m *QueryDenomsResponse) GetDenoms() []Denom
func (*QueryDenomsResponse) GetPagination ¶
func (m *QueryDenomsResponse) GetPagination() *query.PageResponse
func (*QueryDenomsResponse) Marshal ¶
func (m *QueryDenomsResponse) Marshal() (dAtA []byte, err error)
func (*QueryDenomsResponse) MarshalTo ¶
func (m *QueryDenomsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDenomsResponse) MarshalToSizedBuffer ¶
func (m *QueryDenomsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDenomsResponse) ProtoMessage ¶
func (*QueryDenomsResponse) ProtoMessage()
func (*QueryDenomsResponse) Reset ¶
func (m *QueryDenomsResponse) Reset()
func (*QueryDenomsResponse) Size ¶
func (m *QueryDenomsResponse) Size() (n int)
func (*QueryDenomsResponse) String ¶
func (m *QueryDenomsResponse) String() string
func (*QueryDenomsResponse) Unmarshal ¶
func (m *QueryDenomsResponse) Unmarshal(dAtA []byte) error
func (*QueryDenomsResponse) XXX_DiscardUnknown ¶
func (m *QueryDenomsResponse) XXX_DiscardUnknown()
func (*QueryDenomsResponse) XXX_Marshal ¶
func (m *QueryDenomsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDenomsResponse) XXX_Merge ¶
func (m *QueryDenomsResponse) XXX_Merge(src proto.Message)
func (*QueryDenomsResponse) XXX_Size ¶
func (m *QueryDenomsResponse) XXX_Size() int
func (*QueryDenomsResponse) XXX_Unmarshal ¶
func (m *QueryDenomsResponse) XXX_Unmarshal(b []byte) error
type QueryMTRequest ¶
type QueryMTRequest struct { DenomId string `protobuf:"bytes,1,opt,name=denom_id,json=denomId,proto3" json:"denom_id,omitempty"` MtId string `protobuf:"bytes,2,opt,name=mt_id,json=mtId,proto3" json:"mt_id,omitempty"` }
QueryMTRequest is the request type for the Query/MT RPC method
func (*QueryMTRequest) Descriptor ¶
func (*QueryMTRequest) Descriptor() ([]byte, []int)
func (*QueryMTRequest) GetDenomId ¶
func (m *QueryMTRequest) GetDenomId() string
func (*QueryMTRequest) GetMtId ¶
func (m *QueryMTRequest) GetMtId() string
func (*QueryMTRequest) Marshal ¶
func (m *QueryMTRequest) Marshal() (dAtA []byte, err error)
func (*QueryMTRequest) MarshalToSizedBuffer ¶
func (m *QueryMTRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryMTRequest) ProtoMessage ¶
func (*QueryMTRequest) ProtoMessage()
func (*QueryMTRequest) Reset ¶
func (m *QueryMTRequest) Reset()
func (*QueryMTRequest) Size ¶
func (m *QueryMTRequest) Size() (n int)
func (*QueryMTRequest) String ¶
func (m *QueryMTRequest) String() string
func (*QueryMTRequest) Unmarshal ¶
func (m *QueryMTRequest) Unmarshal(dAtA []byte) error
func (*QueryMTRequest) XXX_DiscardUnknown ¶
func (m *QueryMTRequest) XXX_DiscardUnknown()
func (*QueryMTRequest) XXX_Marshal ¶
func (m *QueryMTRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryMTRequest) XXX_Merge ¶
func (m *QueryMTRequest) XXX_Merge(src proto.Message)
func (*QueryMTRequest) XXX_Size ¶
func (m *QueryMTRequest) XXX_Size() int
func (*QueryMTRequest) XXX_Unmarshal ¶
func (m *QueryMTRequest) XXX_Unmarshal(b []byte) error
type QueryMTResp ¶
type QueryMTResp struct { ID string `json:"id"` Supply uint64 `json:"supply"` Data []byte `json:"data"` }
QueryMTResp defines a multi token BaseMT non fungible token definition
type QueryMTResponse ¶
type QueryMTResponse struct {
Mt *MT `protobuf:"bytes,1,opt,name=mt,proto3" json:"mt,omitempty"`
}
QueryMTResponse is the response type for the Query/MT RPC method
func (*QueryMTResponse) Descriptor ¶
func (*QueryMTResponse) Descriptor() ([]byte, []int)
func (*QueryMTResponse) GetMt ¶
func (m *QueryMTResponse) GetMt() *MT
func (*QueryMTResponse) Marshal ¶
func (m *QueryMTResponse) Marshal() (dAtA []byte, err error)
func (*QueryMTResponse) MarshalToSizedBuffer ¶
func (m *QueryMTResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryMTResponse) ProtoMessage ¶
func (*QueryMTResponse) ProtoMessage()
func (*QueryMTResponse) Reset ¶
func (m *QueryMTResponse) Reset()
func (*QueryMTResponse) Size ¶
func (m *QueryMTResponse) Size() (n int)
func (*QueryMTResponse) String ¶
func (m *QueryMTResponse) String() string
func (*QueryMTResponse) Unmarshal ¶
func (m *QueryMTResponse) Unmarshal(dAtA []byte) error
func (*QueryMTResponse) XXX_DiscardUnknown ¶
func (m *QueryMTResponse) XXX_DiscardUnknown()
func (*QueryMTResponse) XXX_Marshal ¶
func (m *QueryMTResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryMTResponse) XXX_Merge ¶
func (m *QueryMTResponse) XXX_Merge(src proto.Message)
func (*QueryMTResponse) XXX_Size ¶
func (m *QueryMTResponse) XXX_Size() int
func (*QueryMTResponse) XXX_Unmarshal ¶
func (m *QueryMTResponse) XXX_Unmarshal(b []byte) error
type QueryMTSupplyRequest ¶
type QueryMTSupplyRequest struct { DenomId string `protobuf:"bytes,1,opt,name=denom_id,json=denomId,proto3" json:"denom_id,omitempty"` MtId string `protobuf:"bytes,2,opt,name=mt_id,json=mtId,proto3" json:"mt_id,omitempty"` }
func (*QueryMTSupplyRequest) Descriptor ¶
func (*QueryMTSupplyRequest) Descriptor() ([]byte, []int)
func (*QueryMTSupplyRequest) GetDenomId ¶
func (m *QueryMTSupplyRequest) GetDenomId() string
func (*QueryMTSupplyRequest) GetMtId ¶
func (m *QueryMTSupplyRequest) GetMtId() string
func (*QueryMTSupplyRequest) Marshal ¶
func (m *QueryMTSupplyRequest) Marshal() (dAtA []byte, err error)
func (*QueryMTSupplyRequest) MarshalTo ¶
func (m *QueryMTSupplyRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryMTSupplyRequest) MarshalToSizedBuffer ¶
func (m *QueryMTSupplyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryMTSupplyRequest) ProtoMessage ¶
func (*QueryMTSupplyRequest) ProtoMessage()
func (*QueryMTSupplyRequest) Reset ¶
func (m *QueryMTSupplyRequest) Reset()
func (*QueryMTSupplyRequest) Size ¶
func (m *QueryMTSupplyRequest) Size() (n int)
func (*QueryMTSupplyRequest) String ¶
func (m *QueryMTSupplyRequest) String() string
func (*QueryMTSupplyRequest) Unmarshal ¶
func (m *QueryMTSupplyRequest) Unmarshal(dAtA []byte) error
func (*QueryMTSupplyRequest) XXX_DiscardUnknown ¶
func (m *QueryMTSupplyRequest) XXX_DiscardUnknown()
func (*QueryMTSupplyRequest) XXX_Marshal ¶
func (m *QueryMTSupplyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryMTSupplyRequest) XXX_Merge ¶
func (m *QueryMTSupplyRequest) XXX_Merge(src proto.Message)
func (*QueryMTSupplyRequest) XXX_Size ¶
func (m *QueryMTSupplyRequest) XXX_Size() int
func (*QueryMTSupplyRequest) XXX_Unmarshal ¶
func (m *QueryMTSupplyRequest) XXX_Unmarshal(b []byte) error
type QueryMTSupplyResponse ¶
type QueryMTSupplyResponse struct {
Amount uint64 `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"`
}
func (*QueryMTSupplyResponse) Descriptor ¶
func (*QueryMTSupplyResponse) Descriptor() ([]byte, []int)
func (*QueryMTSupplyResponse) GetAmount ¶
func (m *QueryMTSupplyResponse) GetAmount() uint64
func (*QueryMTSupplyResponse) Marshal ¶
func (m *QueryMTSupplyResponse) Marshal() (dAtA []byte, err error)
func (*QueryMTSupplyResponse) MarshalTo ¶
func (m *QueryMTSupplyResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryMTSupplyResponse) MarshalToSizedBuffer ¶
func (m *QueryMTSupplyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryMTSupplyResponse) ProtoMessage ¶
func (*QueryMTSupplyResponse) ProtoMessage()
func (*QueryMTSupplyResponse) Reset ¶
func (m *QueryMTSupplyResponse) Reset()
func (*QueryMTSupplyResponse) Size ¶
func (m *QueryMTSupplyResponse) Size() (n int)
func (*QueryMTSupplyResponse) String ¶
func (m *QueryMTSupplyResponse) String() string
func (*QueryMTSupplyResponse) Unmarshal ¶
func (m *QueryMTSupplyResponse) Unmarshal(dAtA []byte) error
func (*QueryMTSupplyResponse) XXX_DiscardUnknown ¶
func (m *QueryMTSupplyResponse) XXX_DiscardUnknown()
func (*QueryMTSupplyResponse) XXX_Marshal ¶
func (m *QueryMTSupplyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryMTSupplyResponse) XXX_Merge ¶
func (m *QueryMTSupplyResponse) XXX_Merge(src proto.Message)
func (*QueryMTSupplyResponse) XXX_Size ¶
func (m *QueryMTSupplyResponse) XXX_Size() int
func (*QueryMTSupplyResponse) XXX_Unmarshal ¶
func (m *QueryMTSupplyResponse) XXX_Unmarshal(b []byte) error
type QueryMTsRequest ¶
type QueryMTsRequest struct { DenomId string `protobuf:"bytes,1,opt,name=denom_id,json=denomId,proto3" json:"denom_id,omitempty"` // pagination defines an optional pagination for the request. Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryMTsRequest is the request type for the Query/MTs RPC method
func (*QueryMTsRequest) Descriptor ¶
func (*QueryMTsRequest) Descriptor() ([]byte, []int)
func (*QueryMTsRequest) GetDenomId ¶
func (m *QueryMTsRequest) GetDenomId() string
func (*QueryMTsRequest) GetPagination ¶
func (m *QueryMTsRequest) GetPagination() *query.PageRequest
func (*QueryMTsRequest) Marshal ¶
func (m *QueryMTsRequest) Marshal() (dAtA []byte, err error)
func (*QueryMTsRequest) MarshalToSizedBuffer ¶
func (m *QueryMTsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryMTsRequest) ProtoMessage ¶
func (*QueryMTsRequest) ProtoMessage()
func (*QueryMTsRequest) Reset ¶
func (m *QueryMTsRequest) Reset()
func (*QueryMTsRequest) Size ¶
func (m *QueryMTsRequest) Size() (n int)
func (*QueryMTsRequest) String ¶
func (m *QueryMTsRequest) String() string
func (*QueryMTsRequest) Unmarshal ¶
func (m *QueryMTsRequest) Unmarshal(dAtA []byte) error
func (*QueryMTsRequest) XXX_DiscardUnknown ¶
func (m *QueryMTsRequest) XXX_DiscardUnknown()
func (*QueryMTsRequest) XXX_Marshal ¶
func (m *QueryMTsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryMTsRequest) XXX_Merge ¶
func (m *QueryMTsRequest) XXX_Merge(src proto.Message)
func (*QueryMTsRequest) XXX_Size ¶
func (m *QueryMTsRequest) XXX_Size() int
func (*QueryMTsRequest) XXX_Unmarshal ¶
func (m *QueryMTsRequest) XXX_Unmarshal(b []byte) error
type QueryMTsResponse ¶
type QueryMTsResponse struct { Mts []MT `protobuf:"bytes,1,rep,name=mts,proto3" json:"mts"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryMTsResponse is the response type for the Query/MTs RPC method
func (*QueryMTsResponse) Descriptor ¶
func (*QueryMTsResponse) Descriptor() ([]byte, []int)
func (*QueryMTsResponse) GetMts ¶
func (m *QueryMTsResponse) GetMts() []MT
func (*QueryMTsResponse) GetPagination ¶
func (m *QueryMTsResponse) GetPagination() *query.PageResponse
func (*QueryMTsResponse) Marshal ¶
func (m *QueryMTsResponse) Marshal() (dAtA []byte, err error)
func (*QueryMTsResponse) MarshalToSizedBuffer ¶
func (m *QueryMTsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryMTsResponse) ProtoMessage ¶
func (*QueryMTsResponse) ProtoMessage()
func (*QueryMTsResponse) Reset ¶
func (m *QueryMTsResponse) Reset()
func (*QueryMTsResponse) Size ¶
func (m *QueryMTsResponse) Size() (n int)
func (*QueryMTsResponse) String ¶
func (m *QueryMTsResponse) String() string
func (*QueryMTsResponse) Unmarshal ¶
func (m *QueryMTsResponse) Unmarshal(dAtA []byte) error
func (*QueryMTsResponse) XXX_DiscardUnknown ¶
func (m *QueryMTsResponse) XXX_DiscardUnknown()
func (*QueryMTsResponse) XXX_Marshal ¶
func (m *QueryMTsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryMTsResponse) XXX_Merge ¶
func (m *QueryMTsResponse) XXX_Merge(src proto.Message)
func (*QueryMTsResponse) XXX_Size ¶
func (m *QueryMTsResponse) XXX_Size() int
func (*QueryMTsResponse) XXX_Unmarshal ¶
func (m *QueryMTsResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // Supply queries the total supply of a given denom or owner Supply(context.Context, *QuerySupplyRequest) (*QuerySupplyResponse, error) // Denoms queries all the denoms Denoms(context.Context, *QueryDenomsRequest) (*QueryDenomsResponse, error) // Denom queries the definition of a given denom ID Denom(context.Context, *QueryDenomRequest) (*QueryDenomResponse, error) // MTSupply queries the total supply of given denom and mt ID MTSupply(context.Context, *QueryMTSupplyRequest) (*QueryMTSupplyResponse, error) // MTs queries all the MTs of a given denom ID MTs(context.Context, *QueryMTsRequest) (*QueryMTsResponse, error) // MT queries the MT of the given denom and mt ID MT(context.Context, *QueryMTRequest) (*QueryMTResponse, error) // Balances queries the MT balances of a specified owner Balances(context.Context, *QueryBalancesRequest) (*QueryBalancesResponse, error) }
QueryServer is the server API for Query service.
type QuerySupplyRequest ¶
type QuerySupplyRequest struct { DenomId string `protobuf:"bytes,1,opt,name=denom_id,json=denomId,proto3" json:"denom_id,omitempty"` Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` }
QuerySupplyRequest is the request type for the Query RPC method
func (*QuerySupplyRequest) Descriptor ¶
func (*QuerySupplyRequest) Descriptor() ([]byte, []int)
func (*QuerySupplyRequest) GetDenomId ¶
func (m *QuerySupplyRequest) GetDenomId() string
func (*QuerySupplyRequest) GetOwner ¶
func (m *QuerySupplyRequest) GetOwner() string
func (*QuerySupplyRequest) Marshal ¶
func (m *QuerySupplyRequest) Marshal() (dAtA []byte, err error)
func (*QuerySupplyRequest) MarshalTo ¶
func (m *QuerySupplyRequest) MarshalTo(dAtA []byte) (int, error)
func (*QuerySupplyRequest) MarshalToSizedBuffer ¶
func (m *QuerySupplyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySupplyRequest) ProtoMessage ¶
func (*QuerySupplyRequest) ProtoMessage()
func (*QuerySupplyRequest) Reset ¶
func (m *QuerySupplyRequest) Reset()
func (*QuerySupplyRequest) Size ¶
func (m *QuerySupplyRequest) Size() (n int)
func (*QuerySupplyRequest) String ¶
func (m *QuerySupplyRequest) String() string
func (*QuerySupplyRequest) Unmarshal ¶
func (m *QuerySupplyRequest) Unmarshal(dAtA []byte) error
func (*QuerySupplyRequest) XXX_DiscardUnknown ¶
func (m *QuerySupplyRequest) XXX_DiscardUnknown()
func (*QuerySupplyRequest) XXX_Marshal ¶
func (m *QuerySupplyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySupplyRequest) XXX_Merge ¶
func (m *QuerySupplyRequest) XXX_Merge(src proto.Message)
func (*QuerySupplyRequest) XXX_Size ¶
func (m *QuerySupplyRequest) XXX_Size() int
func (*QuerySupplyRequest) XXX_Unmarshal ¶
func (m *QuerySupplyRequest) XXX_Unmarshal(b []byte) error
type QuerySupplyResponse ¶
type QuerySupplyResponse struct {
Amount uint64 `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"`
}
QuerySupplyResponse is the response type for the Query/Supply RPC method
func (*QuerySupplyResponse) Descriptor ¶
func (*QuerySupplyResponse) Descriptor() ([]byte, []int)
func (*QuerySupplyResponse) GetAmount ¶
func (m *QuerySupplyResponse) GetAmount() uint64
func (*QuerySupplyResponse) Marshal ¶
func (m *QuerySupplyResponse) Marshal() (dAtA []byte, err error)
func (*QuerySupplyResponse) MarshalTo ¶
func (m *QuerySupplyResponse) MarshalTo(dAtA []byte) (int, error)
func (*QuerySupplyResponse) MarshalToSizedBuffer ¶
func (m *QuerySupplyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySupplyResponse) ProtoMessage ¶
func (*QuerySupplyResponse) ProtoMessage()
func (*QuerySupplyResponse) Reset ¶
func (m *QuerySupplyResponse) Reset()
func (*QuerySupplyResponse) Size ¶
func (m *QuerySupplyResponse) Size() (n int)
func (*QuerySupplyResponse) String ¶
func (m *QuerySupplyResponse) String() string
func (*QuerySupplyResponse) Unmarshal ¶
func (m *QuerySupplyResponse) Unmarshal(dAtA []byte) error
func (*QuerySupplyResponse) XXX_DiscardUnknown ¶
func (m *QuerySupplyResponse) XXX_DiscardUnknown()
func (*QuerySupplyResponse) XXX_Marshal ¶
func (m *QuerySupplyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySupplyResponse) XXX_Merge ¶
func (m *QuerySupplyResponse) XXX_Merge(src proto.Message)
func (*QuerySupplyResponse) XXX_Size ¶
func (m *QuerySupplyResponse) XXX_Size() int
func (*QuerySupplyResponse) XXX_Unmarshal ¶
func (m *QuerySupplyResponse) XXX_Unmarshal(b []byte) error
type TransferDenomRequest ¶
type TransferMTRequest ¶
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) BurnMT ¶
func (*UnimplementedMsgServer) BurnMT(ctx context.Context, req *MsgBurnMT) (*MsgBurnMTResponse, error)
func (*UnimplementedMsgServer) EditMT ¶
func (*UnimplementedMsgServer) EditMT(ctx context.Context, req *MsgEditMT) (*MsgEditMTResponse, error)
func (*UnimplementedMsgServer) IssueDenom ¶
func (*UnimplementedMsgServer) IssueDenom(ctx context.Context, req *MsgIssueDenom) (*MsgIssueDenomResponse, error)
func (*UnimplementedMsgServer) MintMT ¶
func (*UnimplementedMsgServer) MintMT(ctx context.Context, req *MsgMintMT) (*MsgMintMTResponse, error)
func (*UnimplementedMsgServer) TransferDenom ¶
func (*UnimplementedMsgServer) TransferDenom(ctx context.Context, req *MsgTransferDenom) (*MsgTransferDenomResponse, error)
func (*UnimplementedMsgServer) TransferMT ¶
func (*UnimplementedMsgServer) TransferMT(ctx context.Context, req *MsgTransferMT) (*MsgTransferMTResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) Balances ¶
func (*UnimplementedQueryServer) Balances(ctx context.Context, req *QueryBalancesRequest) (*QueryBalancesResponse, error)
func (*UnimplementedQueryServer) Denom ¶
func (*UnimplementedQueryServer) Denom(ctx context.Context, req *QueryDenomRequest) (*QueryDenomResponse, error)
func (*UnimplementedQueryServer) Denoms ¶
func (*UnimplementedQueryServer) Denoms(ctx context.Context, req *QueryDenomsRequest) (*QueryDenomsResponse, error)
func (*UnimplementedQueryServer) MT ¶
func (*UnimplementedQueryServer) MT(ctx context.Context, req *QueryMTRequest) (*QueryMTResponse, error)
func (*UnimplementedQueryServer) MTSupply ¶
func (*UnimplementedQueryServer) MTSupply(ctx context.Context, req *QueryMTSupplyRequest) (*QueryMTSupplyResponse, error)
func (*UnimplementedQueryServer) MTs ¶
func (*UnimplementedQueryServer) MTs(ctx context.Context, req *QueryMTsRequest) (*QueryMTsResponse, error)
func (*UnimplementedQueryServer) Supply ¶
func (*UnimplementedQueryServer) Supply(ctx context.Context, req *QuerySupplyRequest) (*QuerySupplyResponse, error)