Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func KeyBalance(address sdk.AccAddress, denomID, mtID string) []byte
- func KeyDenom(id string) []byte
- func KeyMT(denomID, mtID string) []byte
- func KeySupply(denomID, mtID string) []byte
- func Modified(target string) bool
- func MustMarshalAmount(cdc codec.Codec, amount uint64) []byte
- func MustMarshalMTID(cdc codec.Codec, mtID string) []byte
- func MustMarshalSupply(cdc codec.Codec, supply uint64) []byte
- func MustUnMarshalAmount(cdc codec.Codec, value []byte) uint64
- func MustUnMarshalMTID(cdc codec.Codec, value []byte) string
- func MustUnMarshalSupply(cdc codec.Codec, value []byte) uint64
- func RegisterInterfaces(registry types.InterfaceRegistry)
- func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- func ValidateGenesis(data GenesisState) error
- type AccountKeeper
- type Balance
- 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 BankKeeper
- type Collection
- func (c Collection) AddMT(mt MT) Collection
- func (*Collection) Descriptor() ([]byte, []int)
- func (this *Collection) Equal(that interface{}) bool
- func (m *Collection) GetDenom() *Denom
- func (m *Collection) GetMts() []MT
- func (m *Collection) Marshal() (dAtA []byte, err error)
- func (m *Collection) MarshalTo(dAtA []byte) (int, error)
- func (m *Collection) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Collection) ProtoMessage()
- func (m *Collection) Reset()
- func (m *Collection) Size() (n int)
- func (m *Collection) String() string
- func (c Collection) Supply() int
- func (m *Collection) Unmarshal(dAtA []byte) error
- func (m *Collection) XXX_DiscardUnknown()
- func (m *Collection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Collection) XXX_Merge(src proto.Message)
- func (m *Collection) XXX_Size() int
- func (m *Collection) XXX_Unmarshal(b []byte) error
- type Denom
- 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 DenomBalance
- func (*DenomBalance) Descriptor() ([]byte, []int)
- func (this *DenomBalance) Equal(that interface{}) bool
- func (m *DenomBalance) GetBalances() []Balance
- func (m *DenomBalance) GetDenomId() string
- func (m *DenomBalance) Marshal() (dAtA []byte, err error)
- func (m *DenomBalance) MarshalTo(dAtA []byte) (int, error)
- func (m *DenomBalance) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DenomBalance) ProtoMessage()
- func (m *DenomBalance) Reset()
- func (m *DenomBalance) Size() (n int)
- func (m *DenomBalance) String() string
- func (m *DenomBalance) Unmarshal(dAtA []byte) error
- func (m *DenomBalance) XXX_DiscardUnknown()
- func (m *DenomBalance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DenomBalance) XXX_Merge(src proto.Message)
- func (m *DenomBalance) XXX_Size() int
- func (m *DenomBalance) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetCollections() []Collection
- func (m *GenesisState) GetOwners() []Owner
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type MT
- func (*MT) Descriptor() ([]byte, []int)
- func (this *MT) Equal(that interface{}) bool
- func (mt MT) GetData() []byte
- func (mt MT) GetID() string
- func (mt MT) GetSupply() uint64
- 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 MTs
- type MsgBurnMT
- func (*MsgBurnMT) Descriptor() ([]byte, []int)
- func (this *MsgBurnMT) Equal(that interface{}) bool
- func (msg MsgBurnMT) GetSignBytes() []byte
- func (msg 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 (msg MsgBurnMT) Route() string
- func (m *MsgBurnMT) Size() (n int)
- func (m *MsgBurnMT) String() string
- func (msg MsgBurnMT) Type() string
- func (m *MsgBurnMT) Unmarshal(dAtA []byte) error
- func (msg 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 (msg MsgEditMT) GetSignBytes() []byte
- func (msg 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 (msg MsgEditMT) Route() string
- func (m *MsgEditMT) Size() (n int)
- func (m *MsgEditMT) String() string
- func (msg MsgEditMT) Type() string
- func (m *MsgEditMT) Unmarshal(dAtA []byte) error
- func (msg 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 (msg MsgIssueDenom) GetSignBytes() []byte
- func (msg 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 (msg MsgIssueDenom) Route() string
- func (m *MsgIssueDenom) Size() (n int)
- func (m *MsgIssueDenom) String() string
- func (msg MsgIssueDenom) Type() string
- func (m *MsgIssueDenom) Unmarshal(dAtA []byte) error
- func (msg 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 (msg MsgMintMT) GetSignBytes() []byte
- func (msg 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 (msg MsgMintMT) Route() string
- func (m *MsgMintMT) Size() (n int)
- func (m *MsgMintMT) String() string
- func (msg MsgMintMT) Type() string
- func (m *MsgMintMT) Unmarshal(dAtA []byte) error
- func (msg 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 (msg MsgTransferDenom) GetSignBytes() []byte
- func (msg 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 (msg MsgTransferDenom) Route() string
- func (m *MsgTransferDenom) Size() (n int)
- func (m *MsgTransferDenom) String() string
- func (msg MsgTransferDenom) Type() string
- func (m *MsgTransferDenom) Unmarshal(dAtA []byte) error
- func (msg 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 (msg MsgTransferMT) GetSignBytes() []byte
- func (msg 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 (msg MsgTransferMT) Route() string
- func (m *MsgTransferMT) Size() (n int)
- func (m *MsgTransferMT) String() string
- func (msg MsgTransferMT) Type() string
- func (m *MsgTransferMT) Unmarshal(dAtA []byte) error
- func (msg 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 Owner
- func (*Owner) Descriptor() ([]byte, []int)
- func (this *Owner) Equal(that interface{}) bool
- func (m *Owner) GetAddress() string
- func (m *Owner) GetDenoms() []DenomBalance
- func (m *Owner) Marshal() (dAtA []byte, err error)
- func (m *Owner) MarshalTo(dAtA []byte) (int, error)
- func (m *Owner) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Owner) ProtoMessage()
- func (m *Owner) Reset()
- func (m *Owner) Size() (n int)
- func (m *Owner) String() string
- func (m *Owner) Unmarshal(dAtA []byte) error
- func (m *Owner) XXX_DiscardUnknown()
- func (m *Owner) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Owner) XXX_Merge(src proto.Message)
- func (m *Owner) XXX_Size() int
- func (m *Owner) XXX_Unmarshal(b []byte) error
- 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 QueryCollectionParams
- type QueryDenomParams
- 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 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 QueryMTParams
- 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 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 QueryOwnerParams
- type QueryServer
- type QuerySupplyParams
- 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 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 is the name of the module ModuleName = "mt" // StoreKey is the default store key for MT StoreKey = ModuleName // QuerierRoute is the querier route for the MT store. QuerierRoute = ModuleName // RouterKey is the message route for the MT module RouterKey = ModuleName // KeyNextDenomSequence is the key used to store the next denom sequence in the keeper KeyNextDenomSequence = "nextDenomSequence" // KeyNextMTSequence is the key used to store the next MT sequence in the keeper KeyNextMTSequence = "nextMTSequence" )
const ( TypeMsgIssueDenom = "issue_denom" TypeMsgTransferDenom = "transfer_denom" TypeMsgMintMT = "mint_mt" TypeMsgTransferMT = "transfer_mt" TypeMsgEditMT = "edit_mt" TypeMsgBurnMT = "burn_mt" )
constant used to indicate that some field should not be updated
const ( QuerySupply = "supply" QueryOwner = "owner" QueryCollection = "collection" QueryDenoms = "denoms" QueryDenom = "denom" QueryMT = "mt" )
query endpoints supported by the MT Querier
const (
DoNotModify = "[do-not-modify]"
)
Variables ¶
var ( EventTypeIssueDenom = "issue_denom" EventTypeTransfer = "transfer_mt" EventTypeEditMT = "edit_mt" EventTypeMintMT = "mint_mt" EventTypeBurnMT = "burn_mt" EventTypeTransferDenom = "transfer_denom" AttributeValueCategory = ModuleName AttributeKeySender = "sender" AttributeKeyCreator = "creator" AttributeKeyRecipient = "recipient" AttributeKeyOwner = "owner" AttributeKeyMTID = "mt_id" AttributeKeySupply = "supply" AttributeKeyAmount = "amount" AttributeKeyDenomID = "denom_id" AttributeKeyDenomName = "denom_name" )
MT module event types
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( PrefixDenom = []byte{0x01} PrefixMT = []byte{0x02} PrefixBalance = []byte{0x03} PrefixSupply = []byte{0x04} Delimiter = []byte("/") )
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 KeyBalance ¶
func KeyBalance(address sdk.AccAddress, denomID, mtID string) []byte
KeyBalance gets the key of a balance owned by an account address
func MustMarshalMTID ¶
return the mtID protobuf code
func MustMarshalSupply ¶
return supply protobuf code
func MustUnMarshalMTID ¶
return th mtID
func MustUnMarshalSupply ¶
return th supply
func RegisterInterfaces ¶
func RegisterInterfaces(registry types.InterfaceRegistry)
func RegisterLegacyAminoCodec ¶
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
RegisterLegacyAminoCodec concrete types on codec
func RegisterMsgServer ¶
func RegisterQueryHandler ¶
RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryHandlerClient ¶
func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.
func RegisterQueryHandlerFromEndpoint ¶
func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQueryHandlerServer ¶
func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
func ValidateGenesis ¶
func ValidateGenesis(data GenesisState) error
ValidateGenesis performs basic validation of mts genesis data returning an error for any failed validation criteria.
Types ¶
type AccountKeeper ¶
type AccountKeeper interface {
GetAccount(ctx sdk.Context, addr sdk.AccAddress) authtypes.AccountI
}
AccountKeeper defines the expected account keeper for query account
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 NewBalance ¶
NewBalance creates a new mt balance
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 BankKeeper ¶
type BankKeeper interface { GetAllBalances(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins GetBalance(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin LockedCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins }
BankKeeper defines the expected interface needed to retrieve account balances.
type Collection ¶
type Collection struct { Denom *Denom `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` Mts []MT `protobuf:"bytes,2,rep,name=mts,proto3" json:"mts"` }
Collection defines a type of collection
func NewCollection ¶
func NewCollection(denom Denom, mts []exported.MT) (c Collection)
--------------------------------------------- NewCollection creates a new MT Collection
func NewCollections ¶
func NewCollections(c ...Collection) []Collection
NewCollections creates collections
func (Collection) AddMT ¶
func (c Collection) AddMT(mt MT) Collection
AddMT adds an MT to the collection
func (*Collection) Descriptor ¶
func (*Collection) Descriptor() ([]byte, []int)
func (*Collection) Equal ¶
func (this *Collection) Equal(that interface{}) bool
func (*Collection) GetDenom ¶
func (m *Collection) GetDenom() *Denom
func (*Collection) GetMts ¶
func (m *Collection) GetMts() []MT
func (*Collection) Marshal ¶
func (m *Collection) Marshal() (dAtA []byte, err error)
func (*Collection) MarshalToSizedBuffer ¶
func (m *Collection) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Collection) ProtoMessage ¶
func (*Collection) ProtoMessage()
func (*Collection) Reset ¶
func (m *Collection) Reset()
func (*Collection) Size ¶
func (m *Collection) Size() (n int)
func (*Collection) String ¶
func (m *Collection) String() string
func (*Collection) Unmarshal ¶
func (m *Collection) Unmarshal(dAtA []byte) error
func (*Collection) XXX_DiscardUnknown ¶
func (m *Collection) XXX_DiscardUnknown()
func (*Collection) XXX_Marshal ¶
func (m *Collection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Collection) XXX_Merge ¶
func (m *Collection) XXX_Merge(src proto.Message)
func (*Collection) XXX_Size ¶
func (m *Collection) XXX_Size() int
func (*Collection) XXX_Unmarshal ¶
func (m *Collection) XXX_Unmarshal(b []byte) 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 DenomBalance ¶
type DenomBalance struct { DenomId string `protobuf:"bytes,1,opt,name=denom_id,json=denomId,proto3" json:"denom_id,omitempty"` Balances []Balance `protobuf:"bytes,2,rep,name=balances,proto3" json:"balances"` }
DenomBalance defines a type of denom balances owned by an account
func NewDenomBalance ¶
func NewDenomBalance(denomID string, balances []Balance) (d DenomBalance)
NewDenomBalance creates a new denom balance
func (*DenomBalance) Descriptor ¶
func (*DenomBalance) Descriptor() ([]byte, []int)
func (*DenomBalance) Equal ¶
func (this *DenomBalance) Equal(that interface{}) bool
func (*DenomBalance) GetBalances ¶
func (m *DenomBalance) GetBalances() []Balance
func (*DenomBalance) GetDenomId ¶
func (m *DenomBalance) GetDenomId() string
func (*DenomBalance) Marshal ¶
func (m *DenomBalance) Marshal() (dAtA []byte, err error)
func (*DenomBalance) MarshalToSizedBuffer ¶
func (m *DenomBalance) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DenomBalance) ProtoMessage ¶
func (*DenomBalance) ProtoMessage()
func (*DenomBalance) Reset ¶
func (m *DenomBalance) Reset()
func (*DenomBalance) Size ¶
func (m *DenomBalance) Size() (n int)
func (*DenomBalance) String ¶
func (m *DenomBalance) String() string
func (*DenomBalance) Unmarshal ¶
func (m *DenomBalance) Unmarshal(dAtA []byte) error
func (*DenomBalance) XXX_DiscardUnknown ¶
func (m *DenomBalance) XXX_DiscardUnknown()
func (*DenomBalance) XXX_Marshal ¶
func (m *DenomBalance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DenomBalance) XXX_Merge ¶
func (m *DenomBalance) XXX_Merge(src proto.Message)
func (*DenomBalance) XXX_Size ¶
func (m *DenomBalance) XXX_Size() int
func (*DenomBalance) XXX_Unmarshal ¶
func (m *DenomBalance) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct { Collections []Collection `protobuf:"bytes,1,rep,name=collections,proto3" json:"collections"` Owners []Owner `protobuf:"bytes,2,rep,name=owners,proto3" json:"owners"` }
GenesisState defines the MT module's genesis state
func NewGenesisState ¶
func NewGenesisState(collections []Collection, owners []Owner) *GenesisState
NewGenesisState creates a new genesis state.
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetCollections ¶
func (m *GenesisState) GetCollections() []Collection
func (*GenesisState) GetOwners ¶
func (m *GenesisState) GetOwners() []Owner
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalToSizedBuffer ¶
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (*GenesisState) XXX_DiscardUnknown ¶
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type 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 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 NewMsgBurnMT ¶
NewMsgBurnMT is a constructor function for MsgBurnMT
func (*MsgBurnMT) Descriptor ¶
func (MsgBurnMT) GetSignBytes ¶
GetSignBytes Implements Msg.
func (MsgBurnMT) GetSigners ¶
func (msg MsgBurnMT) GetSigners() []sdk.AccAddress
GetSigners Implements Msg.
func (*MsgBurnMT) MarshalToSizedBuffer ¶
func (*MsgBurnMT) ProtoMessage ¶
func (*MsgBurnMT) ProtoMessage()
func (MsgBurnMT) ValidateBasic ¶
ValidateBasic Implements Msg.
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 NewMsgEditMT ¶
NewMsgEditMT is a constructor function for MsgEditMT
func (*MsgEditMT) Descriptor ¶
func (MsgEditMT) GetSignBytes ¶
GetSignBytes Implements Msg.
func (MsgEditMT) GetSigners ¶
func (msg MsgEditMT) GetSigners() []sdk.AccAddress
GetSigners Implements Msg.
func (*MsgEditMT) MarshalToSizedBuffer ¶
func (*MsgEditMT) ProtoMessage ¶
func (*MsgEditMT) ProtoMessage()
func (MsgEditMT) ValidateBasic ¶
ValidateBasic Implements Msg.
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 NewMsgIssueDenom ¶
func NewMsgIssueDenom(name, data, sender string) *MsgIssueDenom
NewMsgIssueDenom is a constructor function for MsgIssueDenom
func (*MsgIssueDenom) Descriptor ¶
func (*MsgIssueDenom) Descriptor() ([]byte, []int)
func (*MsgIssueDenom) Equal ¶
func (this *MsgIssueDenom) Equal(that interface{}) bool
func (MsgIssueDenom) GetSignBytes ¶
func (msg MsgIssueDenom) GetSignBytes() []byte
GetSignBytes Implements Msg.
func (MsgIssueDenom) GetSigners ¶
func (msg MsgIssueDenom) GetSigners() []sdk.AccAddress
GetSigners Implements Msg.
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) Size ¶
func (m *MsgIssueDenom) Size() (n int)
func (*MsgIssueDenom) String ¶
func (m *MsgIssueDenom) String() string
func (*MsgIssueDenom) Unmarshal ¶
func (m *MsgIssueDenom) Unmarshal(dAtA []byte) error
func (MsgIssueDenom) ValidateBasic ¶
func (msg MsgIssueDenom) ValidateBasic() error
ValidateBasic Implements Msg.
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/SaveDenom 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 NewMsgMintMT ¶
func NewMsgMintMT( mtID, denomID string, amount uint64, tokenData, sender, recipient string, ) *MsgMintMT
NewMsgMintMT is a constructor function for MsgMintMT
func (*MsgMintMT) Descriptor ¶
func (MsgMintMT) GetSignBytes ¶
GetSignBytes Implements Msg.
func (MsgMintMT) GetSigners ¶
func (msg MsgMintMT) GetSigners() []sdk.AccAddress
GetSigners Implements Msg.
func (*MsgMintMT) MarshalToSizedBuffer ¶
func (*MsgMintMT) ProtoMessage ¶
func (*MsgMintMT) ProtoMessage()
func (MsgMintMT) ValidateBasic ¶
ValidateBasic Implements Msg.
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 NewMsgTransferDenom ¶
func NewMsgTransferDenom(denomId, sender, recipient string) *MsgTransferDenom
NewMsgTransferDenom is a constructor function for MsgTransferDenom
func (*MsgTransferDenom) Descriptor ¶
func (*MsgTransferDenom) Descriptor() ([]byte, []int)
func (*MsgTransferDenom) Equal ¶
func (this *MsgTransferDenom) Equal(that interface{}) bool
func (MsgTransferDenom) GetSignBytes ¶
func (msg MsgTransferDenom) GetSignBytes() []byte
GetSignBytes Implements Msg.
func (MsgTransferDenom) GetSigners ¶
func (msg MsgTransferDenom) GetSigners() []sdk.AccAddress
GetSigners Implements Msg.
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) Size ¶
func (m *MsgTransferDenom) Size() (n int)
func (*MsgTransferDenom) String ¶
func (m *MsgTransferDenom) String() string
func (*MsgTransferDenom) Unmarshal ¶
func (m *MsgTransferDenom) Unmarshal(dAtA []byte) error
func (MsgTransferDenom) ValidateBasic ¶
func (msg MsgTransferDenom) ValidateBasic() error
ValidateBasic Implements Msg.
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 NewMsgTransferMT ¶
func NewMsgTransferMT( mtID, denomID, sender, recipient string, amount uint64, ) *MsgTransferMT
NewMsgTransferMT is a constructor function for MsgTransferMT
func (*MsgTransferMT) Descriptor ¶
func (*MsgTransferMT) Descriptor() ([]byte, []int)
func (*MsgTransferMT) Equal ¶
func (this *MsgTransferMT) Equal(that interface{}) bool
func (MsgTransferMT) GetSignBytes ¶
func (msg MsgTransferMT) GetSignBytes() []byte
GetSignBytes Implements Msg.
func (MsgTransferMT) GetSigners ¶
func (msg MsgTransferMT) GetSigners() []sdk.AccAddress
GetSigners Implements Msg.
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) Size ¶
func (m *MsgTransferMT) Size() (n int)
func (*MsgTransferMT) String ¶
func (m *MsgTransferMT) String() string
func (*MsgTransferMT) Unmarshal ¶
func (m *MsgTransferMT) Unmarshal(dAtA []byte) error
func (MsgTransferMT) ValidateBasic ¶
func (msg MsgTransferMT) ValidateBasic() error
ValidateBasic Implements Msg.
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 Owner ¶
type Owner struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Denoms []DenomBalance `protobuf:"bytes,2,rep,name=denoms,proto3" json:"denoms"` }
Owner defines a type of account balances
func NewOwner ¶
func NewOwner(address string, denoms []DenomBalance) (o Owner)
--------------------------------------------- NewOwner creates a new owner balance
func (*Owner) Descriptor ¶
func (*Owner) GetAddress ¶
func (*Owner) GetDenoms ¶
func (m *Owner) GetDenoms() []DenomBalance
func (*Owner) ProtoMessage ¶
func (*Owner) ProtoMessage()
func (*Owner) XXX_DiscardUnknown ¶
func (m *Owner) XXX_DiscardUnknown()
func (*Owner) XXX_Marshal ¶
func (*Owner) XXX_Unmarshal ¶
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 QueryCollectionParams ¶
type QueryCollectionParams struct {
Denom string
}
QuerySupplyParams defines the params for queries:
func NewQueryCollectionParams ¶
func NewQueryCollectionParams(denom string) QueryCollectionParams
NewQueryCollectionParams creates a new instance of QueryCollectionParams
type QueryDenomParams ¶
type QueryDenomParams struct {
ID string
}
QueryDenomParams defines the params for queries:
func NewQueryDenomParams ¶
func NewQueryDenomParams(id string) QueryDenomParams
NewQueryDenomParams creates a new instance of QueryDenomParams
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 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 QueryMTParams ¶
QueryMTParams params for query 'custom/mts/mt'
func NewQueryMTParams ¶
func NewQueryMTParams(denom, id string) QueryMTParams
NewQueryMTParams creates a new instance of QueryMTParams
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 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 QueryOwnerParams ¶
type QueryOwnerParams struct { Denom string Owner sdk.AccAddress }
QueryOwnerParams defines the params for queries:
func NewQueryOwnerParams ¶
func NewQueryOwnerParams(denom string, owner sdk.AccAddress) QueryOwnerParams
NewQuerySupplyParams creates a new instance of QuerySupplyParams
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 QuerySupplyParams ¶
type QuerySupplyParams struct { Denom string Owner sdk.AccAddress }
QuerySupplyParams defines the params for queries:
func NewQuerySupplyParams ¶
func NewQuerySupplyParams(denom string, owner sdk.AccAddress) QuerySupplyParams
NewQuerySupplyParams creates a new instance of QuerySupplyParams
func (QuerySupplyParams) Bytes ¶
func (q QuerySupplyParams) Bytes() []byte
Bytes exports the Denom as bytes
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 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)