Documentation ¶
Overview ¶
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Index ¶
- Constants
- Variables
- func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)
- func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
- type Balance
- type Collection
- type Denom
- func (*Denom) Descriptor() ([]byte, []int)deprecated
- func (x *Denom) GetData() []byte
- func (x *Denom) GetId() string
- func (x *Denom) GetName() string
- func (x *Denom) GetOwner() string
- func (*Denom) ProtoMessage()
- func (x *Denom) ProtoReflect() protoreflect.Message
- func (x *Denom) Reset()
- func (x *Denom) String() string
- type DenomBalance
- func (*DenomBalance) Descriptor() ([]byte, []int)deprecated
- func (x *DenomBalance) GetBalances() []*Balance
- func (x *DenomBalance) GetDenomId() string
- func (*DenomBalance) ProtoMessage()
- func (x *DenomBalance) ProtoReflect() protoreflect.Message
- func (x *DenomBalance) Reset()
- func (x *DenomBalance) String() string
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)deprecated
- func (x *GenesisState) GetCollections() []*Collection
- func (x *GenesisState) GetOwners() []*Owner
- func (*GenesisState) ProtoMessage()
- func (x *GenesisState) ProtoReflect() protoreflect.Message
- func (x *GenesisState) Reset()
- func (x *GenesisState) String() string
- type MT
- type MsgBurnMT
- func (*MsgBurnMT) Descriptor() ([]byte, []int)deprecated
- func (x *MsgBurnMT) GetAmount() uint64
- func (x *MsgBurnMT) GetDenomId() string
- func (x *MsgBurnMT) GetId() string
- func (x *MsgBurnMT) GetSender() string
- func (*MsgBurnMT) ProtoMessage()
- func (x *MsgBurnMT) ProtoReflect() protoreflect.Message
- func (x *MsgBurnMT) Reset()
- func (x *MsgBurnMT) String() string
- type MsgBurnMTResponse
- type MsgClient
- type MsgEditMT
- func (*MsgEditMT) Descriptor() ([]byte, []int)deprecated
- func (x *MsgEditMT) GetData() []byte
- func (x *MsgEditMT) GetDenomId() string
- func (x *MsgEditMT) GetId() string
- func (x *MsgEditMT) GetSender() string
- func (*MsgEditMT) ProtoMessage()
- func (x *MsgEditMT) ProtoReflect() protoreflect.Message
- func (x *MsgEditMT) Reset()
- func (x *MsgEditMT) String() string
- type MsgEditMTResponse
- type MsgIssueDenom
- func (*MsgIssueDenom) Descriptor() ([]byte, []int)deprecated
- func (x *MsgIssueDenom) GetData() []byte
- func (x *MsgIssueDenom) GetName() string
- func (x *MsgIssueDenom) GetSender() string
- func (*MsgIssueDenom) ProtoMessage()
- func (x *MsgIssueDenom) ProtoReflect() protoreflect.Message
- func (x *MsgIssueDenom) Reset()
- func (x *MsgIssueDenom) String() string
- type MsgIssueDenomResponse
- type MsgMintMT
- func (*MsgMintMT) Descriptor() ([]byte, []int)deprecated
- func (x *MsgMintMT) GetAmount() uint64
- func (x *MsgMintMT) GetData() []byte
- func (x *MsgMintMT) GetDenomId() string
- func (x *MsgMintMT) GetId() string
- func (x *MsgMintMT) GetRecipient() string
- func (x *MsgMintMT) GetSender() string
- func (*MsgMintMT) ProtoMessage()
- func (x *MsgMintMT) ProtoReflect() protoreflect.Message
- func (x *MsgMintMT) Reset()
- func (x *MsgMintMT) String() string
- type MsgMintMTResponse
- type MsgServer
- type MsgTransferDenom
- func (*MsgTransferDenom) Descriptor() ([]byte, []int)deprecated
- func (x *MsgTransferDenom) GetId() string
- func (x *MsgTransferDenom) GetRecipient() string
- func (x *MsgTransferDenom) GetSender() string
- func (*MsgTransferDenom) ProtoMessage()
- func (x *MsgTransferDenom) ProtoReflect() protoreflect.Message
- func (x *MsgTransferDenom) Reset()
- func (x *MsgTransferDenom) String() string
- type MsgTransferDenomResponse
- type MsgTransferMT
- func (*MsgTransferMT) Descriptor() ([]byte, []int)deprecated
- func (x *MsgTransferMT) GetAmount() uint64
- func (x *MsgTransferMT) GetDenomId() string
- func (x *MsgTransferMT) GetId() string
- func (x *MsgTransferMT) GetRecipient() string
- func (x *MsgTransferMT) GetSender() string
- func (*MsgTransferMT) ProtoMessage()
- func (x *MsgTransferMT) ProtoReflect() protoreflect.Message
- func (x *MsgTransferMT) Reset()
- func (x *MsgTransferMT) String() string
- type MsgTransferMTResponse
- type Owner
- type QueryBalancesRequest
- func (*QueryBalancesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryBalancesRequest) GetDenomId() string
- func (x *QueryBalancesRequest) GetOwner() string
- func (x *QueryBalancesRequest) GetPagination() *v1beta1.PageRequest
- func (*QueryBalancesRequest) ProtoMessage()
- func (x *QueryBalancesRequest) ProtoReflect() protoreflect.Message
- func (x *QueryBalancesRequest) Reset()
- func (x *QueryBalancesRequest) String() string
- type QueryBalancesResponse
- func (*QueryBalancesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryBalancesResponse) GetBalance() []*Balance
- func (x *QueryBalancesResponse) GetPagination() *v1beta1.PageResponse
- func (*QueryBalancesResponse) ProtoMessage()
- func (x *QueryBalancesResponse) ProtoReflect() protoreflect.Message
- func (x *QueryBalancesResponse) Reset()
- func (x *QueryBalancesResponse) String() string
- type QueryClient
- type QueryDenomRequest
- type QueryDenomResponse
- func (*QueryDenomResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryDenomResponse) GetDenom() *Denom
- func (*QueryDenomResponse) ProtoMessage()
- func (x *QueryDenomResponse) ProtoReflect() protoreflect.Message
- func (x *QueryDenomResponse) Reset()
- func (x *QueryDenomResponse) String() string
- type QueryDenomsRequest
- func (*QueryDenomsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryDenomsRequest) GetPagination() *v1beta1.PageRequest
- func (*QueryDenomsRequest) ProtoMessage()
- func (x *QueryDenomsRequest) ProtoReflect() protoreflect.Message
- func (x *QueryDenomsRequest) Reset()
- func (x *QueryDenomsRequest) String() string
- type QueryDenomsResponse
- func (*QueryDenomsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryDenomsResponse) GetDenoms() []*Denom
- func (x *QueryDenomsResponse) GetPagination() *v1beta1.PageResponse
- func (*QueryDenomsResponse) ProtoMessage()
- func (x *QueryDenomsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryDenomsResponse) Reset()
- func (x *QueryDenomsResponse) String() string
- type QueryMTRequest
- func (*QueryMTRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryMTRequest) GetDenomId() string
- func (x *QueryMTRequest) GetMtId() string
- func (*QueryMTRequest) ProtoMessage()
- func (x *QueryMTRequest) ProtoReflect() protoreflect.Message
- func (x *QueryMTRequest) Reset()
- func (x *QueryMTRequest) String() string
- type QueryMTResponse
- type QueryMTSupplyRequest
- func (*QueryMTSupplyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryMTSupplyRequest) GetDenomId() string
- func (x *QueryMTSupplyRequest) GetMtId() string
- func (*QueryMTSupplyRequest) ProtoMessage()
- func (x *QueryMTSupplyRequest) ProtoReflect() protoreflect.Message
- func (x *QueryMTSupplyRequest) Reset()
- func (x *QueryMTSupplyRequest) String() string
- type QueryMTSupplyResponse
- func (*QueryMTSupplyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryMTSupplyResponse) GetAmount() uint64
- func (*QueryMTSupplyResponse) ProtoMessage()
- func (x *QueryMTSupplyResponse) ProtoReflect() protoreflect.Message
- func (x *QueryMTSupplyResponse) Reset()
- func (x *QueryMTSupplyResponse) String() string
- type QueryMTsRequest
- func (*QueryMTsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryMTsRequest) GetDenomId() string
- func (x *QueryMTsRequest) GetPagination() *v1beta1.PageRequest
- func (*QueryMTsRequest) ProtoMessage()
- func (x *QueryMTsRequest) ProtoReflect() protoreflect.Message
- func (x *QueryMTsRequest) Reset()
- func (x *QueryMTsRequest) String() string
- type QueryMTsResponse
- func (*QueryMTsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryMTsResponse) GetMts() []*MT
- func (x *QueryMTsResponse) GetPagination() *v1beta1.PageResponse
- func (*QueryMTsResponse) ProtoMessage()
- func (x *QueryMTsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryMTsResponse) Reset()
- func (x *QueryMTsResponse) String() string
- type QueryServer
- type QuerySupplyRequest
- func (*QuerySupplyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QuerySupplyRequest) GetDenomId() string
- func (x *QuerySupplyRequest) GetOwner() string
- func (*QuerySupplyRequest) ProtoMessage()
- func (x *QuerySupplyRequest) ProtoReflect() protoreflect.Message
- func (x *QuerySupplyRequest) Reset()
- func (x *QuerySupplyRequest) String() string
- type QuerySupplyResponse
- func (*QuerySupplyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QuerySupplyResponse) GetAmount() uint64
- func (*QuerySupplyResponse) ProtoMessage()
- func (x *QuerySupplyResponse) ProtoReflect() protoreflect.Message
- func (x *QuerySupplyResponse) Reset()
- func (x *QuerySupplyResponse) String() string
- type UnimplementedMsgServer
- func (UnimplementedMsgServer) BurnMT(context.Context, *MsgBurnMT) (*MsgBurnMTResponse, error)
- func (UnimplementedMsgServer) EditMT(context.Context, *MsgEditMT) (*MsgEditMTResponse, error)
- func (UnimplementedMsgServer) IssueDenom(context.Context, *MsgIssueDenom) (*MsgIssueDenomResponse, error)
- func (UnimplementedMsgServer) MintMT(context.Context, *MsgMintMT) (*MsgMintMTResponse, error)
- func (UnimplementedMsgServer) TransferDenom(context.Context, *MsgTransferDenom) (*MsgTransferDenomResponse, error)
- func (UnimplementedMsgServer) TransferMT(context.Context, *MsgTransferMT) (*MsgTransferMTResponse, error)
- type UnimplementedQueryServer
- func (UnimplementedQueryServer) Balances(context.Context, *QueryBalancesRequest) (*QueryBalancesResponse, error)
- func (UnimplementedQueryServer) Denom(context.Context, *QueryDenomRequest) (*QueryDenomResponse, error)
- func (UnimplementedQueryServer) Denoms(context.Context, *QueryDenomsRequest) (*QueryDenomsResponse, error)
- func (UnimplementedQueryServer) MT(context.Context, *QueryMTRequest) (*QueryMTResponse, error)
- func (UnimplementedQueryServer) MTSupply(context.Context, *QueryMTSupplyRequest) (*QueryMTSupplyResponse, error)
- func (UnimplementedQueryServer) MTs(context.Context, *QueryMTsRequest) (*QueryMTsResponse, error)
- func (UnimplementedQueryServer) Supply(context.Context, *QuerySupplyRequest) (*QuerySupplyResponse, error)
- type UnsafeMsgServer
- type UnsafeQueryServer
Constants ¶
const ( Query_Supply_FullMethodName = "/irismod.mt.Query/Supply" Query_Denoms_FullMethodName = "/irismod.mt.Query/Denoms" Query_Denom_FullMethodName = "/irismod.mt.Query/Denom" Query_MTSupply_FullMethodName = "/irismod.mt.Query/MTSupply" Query_MTs_FullMethodName = "/irismod.mt.Query/MTs" Query_MT_FullMethodName = "/irismod.mt.Query/MT" Query_Balances_FullMethodName = "/irismod.mt.Query/Balances" )
const ( Msg_IssueDenom_FullMethodName = "/irismod.mt.Msg/IssueDenom" Msg_TransferDenom_FullMethodName = "/irismod.mt.Msg/TransferDenom" Msg_MintMT_FullMethodName = "/irismod.mt.Msg/MintMT" Msg_EditMT_FullMethodName = "/irismod.mt.Msg/EditMT" Msg_TransferMT_FullMethodName = "/irismod.mt.Msg/TransferMT" Msg_BurnMT_FullMethodName = "/irismod.mt.Msg/BurnMT" )
Variables ¶
var File_irismod_mt_genesis_proto protoreflect.FileDescriptor
var File_irismod_mt_mt_proto protoreflect.FileDescriptor
var File_irismod_mt_query_proto protoreflect.FileDescriptor
var File_irismod_mt_tx_proto protoreflect.FileDescriptor
var Msg_ServiceDesc = grpc.ServiceDesc{ ServiceName: "irismod.mt.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "IssueDenom", Handler: _Msg_IssueDenom_Handler, }, { MethodName: "TransferDenom", Handler: _Msg_TransferDenom_Handler, }, { MethodName: "MintMT", Handler: _Msg_MintMT_Handler, }, { MethodName: "EditMT", Handler: _Msg_EditMT_Handler, }, { MethodName: "TransferMT", Handler: _Msg_TransferMT_Handler, }, { MethodName: "BurnMT", Handler: _Msg_BurnMT_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "irismod/mt/tx.proto", }
Msg_ServiceDesc is the grpc.ServiceDesc for Msg service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Query_ServiceDesc = grpc.ServiceDesc{ ServiceName: "irismod.mt.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Supply", Handler: _Query_Supply_Handler, }, { MethodName: "Denoms", Handler: _Query_Denoms_Handler, }, { MethodName: "Denom", Handler: _Query_Denom_Handler, }, { MethodName: "MTSupply", Handler: _Query_MTSupply_Handler, }, { MethodName: "MTs", Handler: _Query_MTs_Handler, }, { MethodName: "MT", Handler: _Query_MT_Handler, }, { MethodName: "Balances", Handler: _Query_Balances_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "irismod/mt/query.proto", }
Query_ServiceDesc is the grpc.ServiceDesc for Query service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterMsgServer ¶
func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
Types ¶
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"` // contains filtered or unexported fields }
Balance defines multi token balance for owners
func (*Balance) Descriptor
deprecated
func (*Balance) ProtoMessage ¶
func (*Balance) ProtoMessage()
func (*Balance) ProtoReflect ¶
func (x *Balance) ProtoReflect() protoreflect.Message
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,omitempty"` // contains filtered or unexported fields }
Collection defines a type of collection
func (*Collection) Descriptor
deprecated
func (*Collection) Descriptor() ([]byte, []int)
Deprecated: Use Collection.ProtoReflect.Descriptor instead.
func (*Collection) GetDenom ¶
func (x *Collection) GetDenom() *Denom
func (*Collection) GetMts ¶
func (x *Collection) GetMts() []*MT
func (*Collection) ProtoMessage ¶
func (*Collection) ProtoMessage()
func (*Collection) ProtoReflect ¶
func (x *Collection) ProtoReflect() protoreflect.Message
func (*Collection) Reset ¶
func (x *Collection) Reset()
func (*Collection) String ¶
func (x *Collection) String() string
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"` // contains filtered or unexported fields }
Denom defines a class of MTs
func (*Denom) Descriptor
deprecated
func (*Denom) ProtoMessage ¶
func (*Denom) ProtoMessage()
func (*Denom) ProtoReflect ¶
func (x *Denom) ProtoReflect() protoreflect.Message
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,omitempty"` // contains filtered or unexported fields }
DenomBalance defines a type of denom balances owned by an account
func (*DenomBalance) Descriptor
deprecated
func (*DenomBalance) Descriptor() ([]byte, []int)
Deprecated: Use DenomBalance.ProtoReflect.Descriptor instead.
func (*DenomBalance) GetBalances ¶
func (x *DenomBalance) GetBalances() []*Balance
func (*DenomBalance) GetDenomId ¶
func (x *DenomBalance) GetDenomId() string
func (*DenomBalance) ProtoMessage ¶
func (*DenomBalance) ProtoMessage()
func (*DenomBalance) ProtoReflect ¶
func (x *DenomBalance) ProtoReflect() protoreflect.Message
func (*DenomBalance) Reset ¶
func (x *DenomBalance) Reset()
func (*DenomBalance) String ¶
func (x *DenomBalance) String() string
type GenesisState ¶
type GenesisState struct { Collections []*Collection `protobuf:"bytes,1,rep,name=collections,proto3" json:"collections,omitempty"` Owners []*Owner `protobuf:"bytes,2,rep,name=owners,proto3" json:"owners,omitempty"` // contains filtered or unexported fields }
GenesisState defines the MT module's genesis state
func (*GenesisState) Descriptor
deprecated
func (*GenesisState) Descriptor() ([]byte, []int)
Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.
func (*GenesisState) GetCollections ¶
func (x *GenesisState) GetCollections() []*Collection
func (*GenesisState) GetOwners ¶
func (x *GenesisState) GetOwners() []*Owner
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) ProtoReflect ¶
func (x *GenesisState) ProtoReflect() protoreflect.Message
func (*GenesisState) Reset ¶
func (x *GenesisState) Reset()
func (*GenesisState) String ¶
func (x *GenesisState) String() string
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"` // contains filtered or unexported fields }
MT defines a multi token
func (*MT) Descriptor
deprecated
func (*MT) ProtoMessage ¶
func (*MT) ProtoMessage()
func (*MT) ProtoReflect ¶
func (x *MT) ProtoReflect() protoreflect.Message
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"` // contains filtered or unexported fields }
MsgBurnMT defines an SDK message for burning an MT.
func (*MsgBurnMT) Descriptor
deprecated
func (*MsgBurnMT) GetDenomId ¶
func (*MsgBurnMT) ProtoMessage ¶
func (*MsgBurnMT) ProtoMessage()
func (*MsgBurnMT) ProtoReflect ¶
func (x *MsgBurnMT) ProtoReflect() protoreflect.Message
type MsgBurnMTResponse ¶
type MsgBurnMTResponse struct {
// contains filtered or unexported fields
}
MsgBurnMTResponse defines the Msg/BurnMT response type.
func (*MsgBurnMTResponse) Descriptor
deprecated
func (*MsgBurnMTResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgBurnMTResponse.ProtoReflect.Descriptor instead.
func (*MsgBurnMTResponse) ProtoMessage ¶
func (*MsgBurnMTResponse) ProtoMessage()
func (*MsgBurnMTResponse) ProtoReflect ¶
func (x *MsgBurnMTResponse) ProtoReflect() protoreflect.Message
func (*MsgBurnMTResponse) Reset ¶
func (x *MsgBurnMTResponse) Reset()
func (*MsgBurnMTResponse) String ¶
func (x *MsgBurnMTResponse) String() string
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://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc.ClientConnInterface) 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"` // contains filtered or unexported fields }
MsgEditMT defines an SDK message for editing an MT.
func (*MsgEditMT) Descriptor
deprecated
func (*MsgEditMT) GetDenomId ¶
func (*MsgEditMT) ProtoMessage ¶
func (*MsgEditMT) ProtoMessage()
func (*MsgEditMT) ProtoReflect ¶
func (x *MsgEditMT) ProtoReflect() protoreflect.Message
type MsgEditMTResponse ¶
type MsgEditMTResponse struct {
// contains filtered or unexported fields
}
MsgEditMTResponse defines the Msg/EditMT response type.
func (*MsgEditMTResponse) Descriptor
deprecated
func (*MsgEditMTResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgEditMTResponse.ProtoReflect.Descriptor instead.
func (*MsgEditMTResponse) ProtoMessage ¶
func (*MsgEditMTResponse) ProtoMessage()
func (*MsgEditMTResponse) ProtoReflect ¶
func (x *MsgEditMTResponse) ProtoReflect() protoreflect.Message
func (*MsgEditMTResponse) Reset ¶
func (x *MsgEditMTResponse) Reset()
func (*MsgEditMTResponse) String ¶
func (x *MsgEditMTResponse) String() string
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"` // contains filtered or unexported fields }
MsgIssueDenom defines an SDK message for creating a new denom.
func (*MsgIssueDenom) Descriptor
deprecated
func (*MsgIssueDenom) Descriptor() ([]byte, []int)
Deprecated: Use MsgIssueDenom.ProtoReflect.Descriptor instead.
func (*MsgIssueDenom) GetData ¶
func (x *MsgIssueDenom) GetData() []byte
func (*MsgIssueDenom) GetName ¶
func (x *MsgIssueDenom) GetName() string
func (*MsgIssueDenom) GetSender ¶
func (x *MsgIssueDenom) GetSender() string
func (*MsgIssueDenom) ProtoMessage ¶
func (*MsgIssueDenom) ProtoMessage()
func (*MsgIssueDenom) ProtoReflect ¶
func (x *MsgIssueDenom) ProtoReflect() protoreflect.Message
func (*MsgIssueDenom) Reset ¶
func (x *MsgIssueDenom) Reset()
func (*MsgIssueDenom) String ¶
func (x *MsgIssueDenom) String() string
type MsgIssueDenomResponse ¶
type MsgIssueDenomResponse struct {
// contains filtered or unexported fields
}
MsgIssueDenomResponse defines the Msg/IssueDenom response type.
func (*MsgIssueDenomResponse) Descriptor
deprecated
func (*MsgIssueDenomResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgIssueDenomResponse.ProtoReflect.Descriptor instead.
func (*MsgIssueDenomResponse) ProtoMessage ¶
func (*MsgIssueDenomResponse) ProtoMessage()
func (*MsgIssueDenomResponse) ProtoReflect ¶
func (x *MsgIssueDenomResponse) ProtoReflect() protoreflect.Message
func (*MsgIssueDenomResponse) Reset ¶
func (x *MsgIssueDenomResponse) Reset()
func (*MsgIssueDenomResponse) String ¶
func (x *MsgIssueDenomResponse) String() string
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"` // contains filtered or unexported fields }
MsgMintMT defines an SDK message for creating a new MT.
func (*MsgMintMT) Descriptor
deprecated
func (*MsgMintMT) GetDenomId ¶
func (*MsgMintMT) GetRecipient ¶
func (*MsgMintMT) ProtoMessage ¶
func (*MsgMintMT) ProtoMessage()
func (*MsgMintMT) ProtoReflect ¶
func (x *MsgMintMT) ProtoReflect() protoreflect.Message
type MsgMintMTResponse ¶
type MsgMintMTResponse struct {
// contains filtered or unexported fields
}
MsgMintMTResponse defines the Msg/MintMT response type.
func (*MsgMintMTResponse) Descriptor
deprecated
func (*MsgMintMTResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgMintMTResponse.ProtoReflect.Descriptor instead.
func (*MsgMintMTResponse) ProtoMessage ¶
func (*MsgMintMTResponse) ProtoMessage()
func (*MsgMintMTResponse) ProtoReflect ¶
func (x *MsgMintMTResponse) ProtoReflect() protoreflect.Message
func (*MsgMintMTResponse) Reset ¶
func (x *MsgMintMTResponse) Reset()
func (*MsgMintMTResponse) String ¶
func (x *MsgMintMTResponse) String() string
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) // contains filtered or unexported methods }
MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility
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"` // contains filtered or unexported fields }
MsgTransferDenom defines an SDK message for transferring an denom to recipient.
func (*MsgTransferDenom) Descriptor
deprecated
func (*MsgTransferDenom) Descriptor() ([]byte, []int)
Deprecated: Use MsgTransferDenom.ProtoReflect.Descriptor instead.
func (*MsgTransferDenom) GetId ¶
func (x *MsgTransferDenom) GetId() string
func (*MsgTransferDenom) GetRecipient ¶
func (x *MsgTransferDenom) GetRecipient() string
func (*MsgTransferDenom) GetSender ¶
func (x *MsgTransferDenom) GetSender() string
func (*MsgTransferDenom) ProtoMessage ¶
func (*MsgTransferDenom) ProtoMessage()
func (*MsgTransferDenom) ProtoReflect ¶
func (x *MsgTransferDenom) ProtoReflect() protoreflect.Message
func (*MsgTransferDenom) Reset ¶
func (x *MsgTransferDenom) Reset()
func (*MsgTransferDenom) String ¶
func (x *MsgTransferDenom) String() string
type MsgTransferDenomResponse ¶
type MsgTransferDenomResponse struct {
// contains filtered or unexported fields
}
MsgTransferDenomResponse defines the Msg/TransferDenom response type.
func (*MsgTransferDenomResponse) Descriptor
deprecated
func (*MsgTransferDenomResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgTransferDenomResponse.ProtoReflect.Descriptor instead.
func (*MsgTransferDenomResponse) ProtoMessage ¶
func (*MsgTransferDenomResponse) ProtoMessage()
func (*MsgTransferDenomResponse) ProtoReflect ¶
func (x *MsgTransferDenomResponse) ProtoReflect() protoreflect.Message
func (*MsgTransferDenomResponse) Reset ¶
func (x *MsgTransferDenomResponse) Reset()
func (*MsgTransferDenomResponse) String ¶
func (x *MsgTransferDenomResponse) String() string
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"` // contains filtered or unexported fields }
MsgTransferMT defines an SDK message for transferring an MT to recipient.
func (*MsgTransferMT) Descriptor
deprecated
func (*MsgTransferMT) Descriptor() ([]byte, []int)
Deprecated: Use MsgTransferMT.ProtoReflect.Descriptor instead.
func (*MsgTransferMT) GetAmount ¶
func (x *MsgTransferMT) GetAmount() uint64
func (*MsgTransferMT) GetDenomId ¶
func (x *MsgTransferMT) GetDenomId() string
func (*MsgTransferMT) GetId ¶
func (x *MsgTransferMT) GetId() string
func (*MsgTransferMT) GetRecipient ¶
func (x *MsgTransferMT) GetRecipient() string
func (*MsgTransferMT) GetSender ¶
func (x *MsgTransferMT) GetSender() string
func (*MsgTransferMT) ProtoMessage ¶
func (*MsgTransferMT) ProtoMessage()
func (*MsgTransferMT) ProtoReflect ¶
func (x *MsgTransferMT) ProtoReflect() protoreflect.Message
func (*MsgTransferMT) Reset ¶
func (x *MsgTransferMT) Reset()
func (*MsgTransferMT) String ¶
func (x *MsgTransferMT) String() string
type MsgTransferMTResponse ¶
type MsgTransferMTResponse struct {
// contains filtered or unexported fields
}
MsgTransferMTResponse defines the Msg/TransferMT response type.
func (*MsgTransferMTResponse) Descriptor
deprecated
func (*MsgTransferMTResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgTransferMTResponse.ProtoReflect.Descriptor instead.
func (*MsgTransferMTResponse) ProtoMessage ¶
func (*MsgTransferMTResponse) ProtoMessage()
func (*MsgTransferMTResponse) ProtoReflect ¶
func (x *MsgTransferMTResponse) ProtoReflect() protoreflect.Message
func (*MsgTransferMTResponse) Reset ¶
func (x *MsgTransferMTResponse) Reset()
func (*MsgTransferMTResponse) String ¶
func (x *MsgTransferMTResponse) String() string
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,omitempty"` // contains filtered or unexported fields }
Owner defines a type of account balances
func (*Owner) Descriptor
deprecated
func (*Owner) GetAddress ¶
func (*Owner) GetDenoms ¶
func (x *Owner) GetDenoms() []*DenomBalance
func (*Owner) ProtoMessage ¶
func (*Owner) ProtoMessage()
func (*Owner) ProtoReflect ¶
func (x *Owner) ProtoReflect() protoreflect.Message
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 *v1beta1.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QueryBalancesRequest is the request type for the Query/Balances RPC method
func (*QueryBalancesRequest) Descriptor
deprecated
func (*QueryBalancesRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryBalancesRequest.ProtoReflect.Descriptor instead.
func (*QueryBalancesRequest) GetDenomId ¶
func (x *QueryBalancesRequest) GetDenomId() string
func (*QueryBalancesRequest) GetOwner ¶
func (x *QueryBalancesRequest) GetOwner() string
func (*QueryBalancesRequest) GetPagination ¶
func (x *QueryBalancesRequest) GetPagination() *v1beta1.PageRequest
func (*QueryBalancesRequest) ProtoMessage ¶
func (*QueryBalancesRequest) ProtoMessage()
func (*QueryBalancesRequest) ProtoReflect ¶
func (x *QueryBalancesRequest) ProtoReflect() protoreflect.Message
func (*QueryBalancesRequest) Reset ¶
func (x *QueryBalancesRequest) Reset()
func (*QueryBalancesRequest) String ¶
func (x *QueryBalancesRequest) String() string
type QueryBalancesResponse ¶
type QueryBalancesResponse struct { Balance []*Balance `protobuf:"bytes,1,rep,name=balance,proto3" json:"balance,omitempty"` Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QueryBalancesResponse is the response type for the Query/Balances RPC method
func (*QueryBalancesResponse) Descriptor
deprecated
func (*QueryBalancesResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryBalancesResponse.ProtoReflect.Descriptor instead.
func (*QueryBalancesResponse) GetBalance ¶
func (x *QueryBalancesResponse) GetBalance() []*Balance
func (*QueryBalancesResponse) GetPagination ¶
func (x *QueryBalancesResponse) GetPagination() *v1beta1.PageResponse
func (*QueryBalancesResponse) ProtoMessage ¶
func (*QueryBalancesResponse) ProtoMessage()
func (*QueryBalancesResponse) ProtoReflect ¶
func (x *QueryBalancesResponse) ProtoReflect() protoreflect.Message
func (*QueryBalancesResponse) Reset ¶
func (x *QueryBalancesResponse) Reset()
func (*QueryBalancesResponse) String ¶
func (x *QueryBalancesResponse) String() string
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://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewQueryClient ¶
func NewQueryClient(cc grpc.ClientConnInterface) QueryClient
type QueryDenomRequest ¶
type QueryDenomRequest struct { DenomId string `protobuf:"bytes,1,opt,name=denom_id,json=denomId,proto3" json:"denom_id,omitempty"` // contains filtered or unexported fields }
QueryDenomRequest is the request type for the Query/Denom RPC method
func (*QueryDenomRequest) Descriptor
deprecated
func (*QueryDenomRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryDenomRequest.ProtoReflect.Descriptor instead.
func (*QueryDenomRequest) GetDenomId ¶
func (x *QueryDenomRequest) GetDenomId() string
func (*QueryDenomRequest) ProtoMessage ¶
func (*QueryDenomRequest) ProtoMessage()
func (*QueryDenomRequest) ProtoReflect ¶
func (x *QueryDenomRequest) ProtoReflect() protoreflect.Message
func (*QueryDenomRequest) Reset ¶
func (x *QueryDenomRequest) Reset()
func (*QueryDenomRequest) String ¶
func (x *QueryDenomRequest) String() string
type QueryDenomResponse ¶
type QueryDenomResponse struct { Denom *Denom `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` // contains filtered or unexported fields }
QueryDenomResponse is the response type for the Query/Denom RPC method
func (*QueryDenomResponse) Descriptor
deprecated
func (*QueryDenomResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryDenomResponse.ProtoReflect.Descriptor instead.
func (*QueryDenomResponse) GetDenom ¶
func (x *QueryDenomResponse) GetDenom() *Denom
func (*QueryDenomResponse) ProtoMessage ¶
func (*QueryDenomResponse) ProtoMessage()
func (*QueryDenomResponse) ProtoReflect ¶
func (x *QueryDenomResponse) ProtoReflect() protoreflect.Message
func (*QueryDenomResponse) Reset ¶
func (x *QueryDenomResponse) Reset()
func (*QueryDenomResponse) String ¶
func (x *QueryDenomResponse) String() string
type QueryDenomsRequest ¶
type QueryDenomsRequest struct { // pagination defines an optional pagination for the request. Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QueryDenomsRequest is the request type for the Query/Denoms RPC method
func (*QueryDenomsRequest) Descriptor
deprecated
func (*QueryDenomsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryDenomsRequest.ProtoReflect.Descriptor instead.
func (*QueryDenomsRequest) GetPagination ¶
func (x *QueryDenomsRequest) GetPagination() *v1beta1.PageRequest
func (*QueryDenomsRequest) ProtoMessage ¶
func (*QueryDenomsRequest) ProtoMessage()
func (*QueryDenomsRequest) ProtoReflect ¶
func (x *QueryDenomsRequest) ProtoReflect() protoreflect.Message
func (*QueryDenomsRequest) Reset ¶
func (x *QueryDenomsRequest) Reset()
func (*QueryDenomsRequest) String ¶
func (x *QueryDenomsRequest) String() string
type QueryDenomsResponse ¶
type QueryDenomsResponse struct { Denoms []*Denom `protobuf:"bytes,1,rep,name=denoms,proto3" json:"denoms,omitempty"` Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QueryDenomsResponse is the response type for the Query/Denoms RPC method
func (*QueryDenomsResponse) Descriptor
deprecated
func (*QueryDenomsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryDenomsResponse.ProtoReflect.Descriptor instead.
func (*QueryDenomsResponse) GetDenoms ¶
func (x *QueryDenomsResponse) GetDenoms() []*Denom
func (*QueryDenomsResponse) GetPagination ¶
func (x *QueryDenomsResponse) GetPagination() *v1beta1.PageResponse
func (*QueryDenomsResponse) ProtoMessage ¶
func (*QueryDenomsResponse) ProtoMessage()
func (*QueryDenomsResponse) ProtoReflect ¶
func (x *QueryDenomsResponse) ProtoReflect() protoreflect.Message
func (*QueryDenomsResponse) Reset ¶
func (x *QueryDenomsResponse) Reset()
func (*QueryDenomsResponse) String ¶
func (x *QueryDenomsResponse) String() string
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"` // contains filtered or unexported fields }
QueryMTRequest is the request type for the Query/MT RPC method
func (*QueryMTRequest) Descriptor
deprecated
func (*QueryMTRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryMTRequest.ProtoReflect.Descriptor instead.
func (*QueryMTRequest) GetDenomId ¶
func (x *QueryMTRequest) GetDenomId() string
func (*QueryMTRequest) GetMtId ¶
func (x *QueryMTRequest) GetMtId() string
func (*QueryMTRequest) ProtoMessage ¶
func (*QueryMTRequest) ProtoMessage()
func (*QueryMTRequest) ProtoReflect ¶
func (x *QueryMTRequest) ProtoReflect() protoreflect.Message
func (*QueryMTRequest) Reset ¶
func (x *QueryMTRequest) Reset()
func (*QueryMTRequest) String ¶
func (x *QueryMTRequest) String() string
type QueryMTResponse ¶
type QueryMTResponse struct { Mt *MT `protobuf:"bytes,1,opt,name=mt,proto3" json:"mt,omitempty"` // contains filtered or unexported fields }
QueryMTResponse is the response type for the Query/MT RPC method
func (*QueryMTResponse) Descriptor
deprecated
func (*QueryMTResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryMTResponse.ProtoReflect.Descriptor instead.
func (*QueryMTResponse) GetMt ¶
func (x *QueryMTResponse) GetMt() *MT
func (*QueryMTResponse) ProtoMessage ¶
func (*QueryMTResponse) ProtoMessage()
func (*QueryMTResponse) ProtoReflect ¶
func (x *QueryMTResponse) ProtoReflect() protoreflect.Message
func (*QueryMTResponse) Reset ¶
func (x *QueryMTResponse) Reset()
func (*QueryMTResponse) String ¶
func (x *QueryMTResponse) String() string
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"` // contains filtered or unexported fields }
func (*QueryMTSupplyRequest) Descriptor
deprecated
func (*QueryMTSupplyRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryMTSupplyRequest.ProtoReflect.Descriptor instead.
func (*QueryMTSupplyRequest) GetDenomId ¶
func (x *QueryMTSupplyRequest) GetDenomId() string
func (*QueryMTSupplyRequest) GetMtId ¶
func (x *QueryMTSupplyRequest) GetMtId() string
func (*QueryMTSupplyRequest) ProtoMessage ¶
func (*QueryMTSupplyRequest) ProtoMessage()
func (*QueryMTSupplyRequest) ProtoReflect ¶
func (x *QueryMTSupplyRequest) ProtoReflect() protoreflect.Message
func (*QueryMTSupplyRequest) Reset ¶
func (x *QueryMTSupplyRequest) Reset()
func (*QueryMTSupplyRequest) String ¶
func (x *QueryMTSupplyRequest) String() string
type QueryMTSupplyResponse ¶
type QueryMTSupplyResponse struct { Amount uint64 `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"` // contains filtered or unexported fields }
func (*QueryMTSupplyResponse) Descriptor
deprecated
func (*QueryMTSupplyResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryMTSupplyResponse.ProtoReflect.Descriptor instead.
func (*QueryMTSupplyResponse) GetAmount ¶
func (x *QueryMTSupplyResponse) GetAmount() uint64
func (*QueryMTSupplyResponse) ProtoMessage ¶
func (*QueryMTSupplyResponse) ProtoMessage()
func (*QueryMTSupplyResponse) ProtoReflect ¶
func (x *QueryMTSupplyResponse) ProtoReflect() protoreflect.Message
func (*QueryMTSupplyResponse) Reset ¶
func (x *QueryMTSupplyResponse) Reset()
func (*QueryMTSupplyResponse) String ¶
func (x *QueryMTSupplyResponse) String() string
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 *v1beta1.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QueryMTsRequest is the request type for the Query/MTs RPC method
func (*QueryMTsRequest) Descriptor
deprecated
func (*QueryMTsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryMTsRequest.ProtoReflect.Descriptor instead.
func (*QueryMTsRequest) GetDenomId ¶
func (x *QueryMTsRequest) GetDenomId() string
func (*QueryMTsRequest) GetPagination ¶
func (x *QueryMTsRequest) GetPagination() *v1beta1.PageRequest
func (*QueryMTsRequest) ProtoMessage ¶
func (*QueryMTsRequest) ProtoMessage()
func (*QueryMTsRequest) ProtoReflect ¶
func (x *QueryMTsRequest) ProtoReflect() protoreflect.Message
func (*QueryMTsRequest) Reset ¶
func (x *QueryMTsRequest) Reset()
func (*QueryMTsRequest) String ¶
func (x *QueryMTsRequest) String() string
type QueryMTsResponse ¶
type QueryMTsResponse struct { Mts []*MT `protobuf:"bytes,1,rep,name=mts,proto3" json:"mts,omitempty"` Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QueryMTsResponse is the response type for the Query/MTs RPC method
func (*QueryMTsResponse) Descriptor
deprecated
func (*QueryMTsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryMTsResponse.ProtoReflect.Descriptor instead.
func (*QueryMTsResponse) GetMts ¶
func (x *QueryMTsResponse) GetMts() []*MT
func (*QueryMTsResponse) GetPagination ¶
func (x *QueryMTsResponse) GetPagination() *v1beta1.PageResponse
func (*QueryMTsResponse) ProtoMessage ¶
func (*QueryMTsResponse) ProtoMessage()
func (*QueryMTsResponse) ProtoReflect ¶
func (x *QueryMTsResponse) ProtoReflect() protoreflect.Message
func (*QueryMTsResponse) Reset ¶
func (x *QueryMTsResponse) Reset()
func (*QueryMTsResponse) String ¶
func (x *QueryMTsResponse) String() string
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) // contains filtered or unexported methods }
QueryServer is the server API for Query service. All implementations must embed UnimplementedQueryServer for forward compatibility
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"` // contains filtered or unexported fields }
QuerySupplyRequest is the request type for the Query RPC method
func (*QuerySupplyRequest) Descriptor
deprecated
func (*QuerySupplyRequest) Descriptor() ([]byte, []int)
Deprecated: Use QuerySupplyRequest.ProtoReflect.Descriptor instead.
func (*QuerySupplyRequest) GetDenomId ¶
func (x *QuerySupplyRequest) GetDenomId() string
func (*QuerySupplyRequest) GetOwner ¶
func (x *QuerySupplyRequest) GetOwner() string
func (*QuerySupplyRequest) ProtoMessage ¶
func (*QuerySupplyRequest) ProtoMessage()
func (*QuerySupplyRequest) ProtoReflect ¶
func (x *QuerySupplyRequest) ProtoReflect() protoreflect.Message
func (*QuerySupplyRequest) Reset ¶
func (x *QuerySupplyRequest) Reset()
func (*QuerySupplyRequest) String ¶
func (x *QuerySupplyRequest) String() string
type QuerySupplyResponse ¶
type QuerySupplyResponse struct { Amount uint64 `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"` // contains filtered or unexported fields }
QuerySupplyResponse is the response type for the Query/Supply RPC method
func (*QuerySupplyResponse) Descriptor
deprecated
func (*QuerySupplyResponse) Descriptor() ([]byte, []int)
Deprecated: Use QuerySupplyResponse.ProtoReflect.Descriptor instead.
func (*QuerySupplyResponse) GetAmount ¶
func (x *QuerySupplyResponse) GetAmount() uint64
func (*QuerySupplyResponse) ProtoMessage ¶
func (*QuerySupplyResponse) ProtoMessage()
func (*QuerySupplyResponse) ProtoReflect ¶
func (x *QuerySupplyResponse) ProtoReflect() protoreflect.Message
func (*QuerySupplyResponse) Reset ¶
func (x *QuerySupplyResponse) Reset()
func (*QuerySupplyResponse) String ¶
func (x *QuerySupplyResponse) String() string
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer must be embedded to have forward compatible implementations.
func (UnimplementedMsgServer) BurnMT ¶
func (UnimplementedMsgServer) BurnMT(context.Context, *MsgBurnMT) (*MsgBurnMTResponse, error)
func (UnimplementedMsgServer) EditMT ¶
func (UnimplementedMsgServer) EditMT(context.Context, *MsgEditMT) (*MsgEditMTResponse, error)
func (UnimplementedMsgServer) IssueDenom ¶
func (UnimplementedMsgServer) IssueDenom(context.Context, *MsgIssueDenom) (*MsgIssueDenomResponse, error)
func (UnimplementedMsgServer) MintMT ¶
func (UnimplementedMsgServer) MintMT(context.Context, *MsgMintMT) (*MsgMintMTResponse, error)
func (UnimplementedMsgServer) TransferDenom ¶
func (UnimplementedMsgServer) TransferDenom(context.Context, *MsgTransferDenom) (*MsgTransferDenomResponse, error)
func (UnimplementedMsgServer) TransferMT ¶
func (UnimplementedMsgServer) TransferMT(context.Context, *MsgTransferMT) (*MsgTransferMTResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer must be embedded to have forward compatible implementations.
func (UnimplementedQueryServer) Balances ¶
func (UnimplementedQueryServer) Balances(context.Context, *QueryBalancesRequest) (*QueryBalancesResponse, error)
func (UnimplementedQueryServer) Denom ¶
func (UnimplementedQueryServer) Denom(context.Context, *QueryDenomRequest) (*QueryDenomResponse, error)
func (UnimplementedQueryServer) Denoms ¶
func (UnimplementedQueryServer) Denoms(context.Context, *QueryDenomsRequest) (*QueryDenomsResponse, error)
func (UnimplementedQueryServer) MT ¶
func (UnimplementedQueryServer) MT(context.Context, *QueryMTRequest) (*QueryMTResponse, error)
func (UnimplementedQueryServer) MTSupply ¶
func (UnimplementedQueryServer) MTSupply(context.Context, *QueryMTSupplyRequest) (*QueryMTSupplyResponse, error)
func (UnimplementedQueryServer) MTs ¶
func (UnimplementedQueryServer) MTs(context.Context, *QueryMTsRequest) (*QueryMTsResponse, error)
func (UnimplementedQueryServer) Supply ¶
func (UnimplementedQueryServer) Supply(context.Context, *QuerySupplyRequest) (*QuerySupplyResponse, error)
type UnsafeMsgServer ¶
type UnsafeMsgServer interface {
// contains filtered or unexported methods
}
UnsafeMsgServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MsgServer will result in compilation errors.
type UnsafeQueryServer ¶
type UnsafeQueryServer interface {
// contains filtered or unexported methods
}
UnsafeQueryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to QueryServer will result in compilation errors.