Documentation
¶
Overview ¶
Package token is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- 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 UpdateMsgModify(msg *MsgModify)
- func ValidateClassGenesis(data ClassGenesisState) error
- func ValidateContractID(id string) error
- func ValidateGenesis(data GenesisState) error
- func ValidatePermission(permission Permission) error
- type Attribute
- func (*Attribute) Descriptor() ([]byte, []int)
- func (m *Attribute) Marshal() (dAtA []byte, err error)
- func (m *Attribute) MarshalTo(dAtA []byte) (int, error)
- func (m *Attribute) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Attribute) ProtoMessage()
- func (m *Attribute) Reset()
- func (m *Attribute) Size() (n int)
- func (m *Attribute) String() string
- func (m *Attribute) Unmarshal(dAtA []byte) error
- func (m *Attribute) XXX_DiscardUnknown()
- func (m *Attribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Attribute) XXX_Merge(src proto.Message)
- func (m *Attribute) XXX_Size() int
- func (m *Attribute) XXX_Unmarshal(b []byte) error
- type AttributeKey
- type Authorization
- func (*Authorization) Descriptor() ([]byte, []int)
- func (m *Authorization) Marshal() (dAtA []byte, err error)
- func (m *Authorization) MarshalTo(dAtA []byte) (int, error)
- func (m *Authorization) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Authorization) ProtoMessage()
- func (m *Authorization) Reset()
- func (m *Authorization) Size() (n int)
- func (m *Authorization) String() string
- func (m *Authorization) Unmarshal(dAtA []byte) error
- func (m *Authorization) XXX_DiscardUnknown()
- func (m *Authorization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Authorization) XXX_Merge(src proto.Message)
- func (m *Authorization) XXX_Size() int
- func (m *Authorization) XXX_Unmarshal(b []byte) error
- type Balance
- func (*Balance) Descriptor() ([]byte, []int)
- func (this *Balance) Equal(that interface{}) bool
- func (m *Balance) GetAddress() string
- 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 ClassGenesisState
- func (*ClassGenesisState) Descriptor() ([]byte, []int)
- func (m *ClassGenesisState) GetIds() []string
- func (m *ClassGenesisState) Marshal() (dAtA []byte, err error)
- func (m *ClassGenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *ClassGenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ClassGenesisState) ProtoMessage()
- func (m *ClassGenesisState) Reset()
- func (m *ClassGenesisState) Size() (n int)
- func (m *ClassGenesisState) String() string
- func (m *ClassGenesisState) Unmarshal(dAtA []byte) error
- func (m *ClassGenesisState) XXX_DiscardUnknown()
- func (m *ClassGenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClassGenesisState) XXX_Merge(src proto.Message)
- func (m *ClassGenesisState) XXX_Size() int
- func (m *ClassGenesisState) XXX_Unmarshal(b []byte) error
- type ClassKeeper
- type Contract
- func (*Contract) Descriptor() ([]byte, []int)
- func (m *Contract) Marshal() (dAtA []byte, err error)
- func (m *Contract) MarshalTo(dAtA []byte) (int, error)
- func (m *Contract) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Contract) ProtoMessage()
- func (m *Contract) Reset()
- func (m *Contract) Size() (n int)
- func (m *Contract) String() string
- func (m *Contract) Unmarshal(dAtA []byte) error
- func (m *Contract) XXX_DiscardUnknown()
- func (m *Contract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Contract) XXX_Merge(src proto.Message)
- func (m *Contract) XXX_Size() int
- func (m *Contract) XXX_Unmarshal(b []byte) error
- type ContractAuthorizations
- func (*ContractAuthorizations) Descriptor() ([]byte, []int)
- func (m *ContractAuthorizations) GetAuthorizations() []Authorization
- func (m *ContractAuthorizations) GetContractId() string
- func (m *ContractAuthorizations) Marshal() (dAtA []byte, err error)
- func (m *ContractAuthorizations) MarshalTo(dAtA []byte) (int, error)
- func (m *ContractAuthorizations) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ContractAuthorizations) ProtoMessage()
- func (m *ContractAuthorizations) Reset()
- func (m *ContractAuthorizations) Size() (n int)
- func (m *ContractAuthorizations) String() string
- func (m *ContractAuthorizations) Unmarshal(dAtA []byte) error
- func (m *ContractAuthorizations) XXX_DiscardUnknown()
- func (m *ContractAuthorizations) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ContractAuthorizations) XXX_Merge(src proto.Message)
- func (m *ContractAuthorizations) XXX_Size() int
- func (m *ContractAuthorizations) XXX_Unmarshal(b []byte) error
- type ContractBalances
- func (*ContractBalances) Descriptor() ([]byte, []int)
- func (m *ContractBalances) GetBalances() []Balance
- func (m *ContractBalances) GetContractId() string
- func (m *ContractBalances) Marshal() (dAtA []byte, err error)
- func (m *ContractBalances) MarshalTo(dAtA []byte) (int, error)
- func (m *ContractBalances) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ContractBalances) ProtoMessage()
- func (m *ContractBalances) Reset()
- func (m *ContractBalances) Size() (n int)
- func (m *ContractBalances) String() string
- func (m *ContractBalances) Unmarshal(dAtA []byte) error
- func (m *ContractBalances) XXX_DiscardUnknown()
- func (m *ContractBalances) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ContractBalances) XXX_Merge(src proto.Message)
- func (m *ContractBalances) XXX_Size() int
- func (m *ContractBalances) XXX_Unmarshal(b []byte) error
- type ContractCoin
- func (*ContractCoin) Descriptor() ([]byte, []int)
- func (m *ContractCoin) GetContractId() string
- func (m *ContractCoin) Marshal() (dAtA []byte, err error)
- func (m *ContractCoin) MarshalTo(dAtA []byte) (int, error)
- func (m *ContractCoin) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ContractCoin) ProtoMessage()
- func (m *ContractCoin) Reset()
- func (m *ContractCoin) Size() (n int)
- func (m *ContractCoin) String() string
- func (m *ContractCoin) Unmarshal(dAtA []byte) error
- func (m *ContractCoin) XXX_DiscardUnknown()
- func (m *ContractCoin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ContractCoin) XXX_Merge(src proto.Message)
- func (m *ContractCoin) XXX_Size() int
- func (m *ContractCoin) XXX_Unmarshal(b []byte) error
- type ContractGrants
- func (*ContractGrants) Descriptor() ([]byte, []int)
- func (m *ContractGrants) GetContractId() string
- func (m *ContractGrants) GetGrants() []Grant
- func (m *ContractGrants) Marshal() (dAtA []byte, err error)
- func (m *ContractGrants) MarshalTo(dAtA []byte) (int, error)
- func (m *ContractGrants) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ContractGrants) ProtoMessage()
- func (m *ContractGrants) Reset()
- func (m *ContractGrants) Size() (n int)
- func (m *ContractGrants) String() string
- func (m *ContractGrants) Unmarshal(dAtA []byte) error
- func (m *ContractGrants) XXX_DiscardUnknown()
- func (m *ContractGrants) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ContractGrants) XXX_Merge(src proto.Message)
- func (m *ContractGrants) XXX_Size() int
- func (m *ContractGrants) XXX_Unmarshal(b []byte) error
- type EventAuthorizedOperator
- func (*EventAuthorizedOperator) Descriptor() ([]byte, []int)
- func (m *EventAuthorizedOperator) GetContractId() string
- func (m *EventAuthorizedOperator) GetHolder() string
- func (m *EventAuthorizedOperator) GetOperator() string
- func (m *EventAuthorizedOperator) Marshal() (dAtA []byte, err error)
- func (m *EventAuthorizedOperator) MarshalTo(dAtA []byte) (int, error)
- func (m *EventAuthorizedOperator) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventAuthorizedOperator) ProtoMessage()
- func (m *EventAuthorizedOperator) Reset()
- func (m *EventAuthorizedOperator) Size() (n int)
- func (m *EventAuthorizedOperator) String() string
- func (m *EventAuthorizedOperator) Unmarshal(dAtA []byte) error
- func (m *EventAuthorizedOperator) XXX_DiscardUnknown()
- func (m *EventAuthorizedOperator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventAuthorizedOperator) XXX_Merge(src proto.Message)
- func (m *EventAuthorizedOperator) XXX_Size() int
- func (m *EventAuthorizedOperator) XXX_Unmarshal(b []byte) error
- type EventBurned
- func (*EventBurned) Descriptor() ([]byte, []int)
- func (m *EventBurned) GetContractId() string
- func (m *EventBurned) GetFrom() string
- func (m *EventBurned) GetOperator() string
- func (m *EventBurned) Marshal() (dAtA []byte, err error)
- func (m *EventBurned) MarshalTo(dAtA []byte) (int, error)
- func (m *EventBurned) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventBurned) ProtoMessage()
- func (m *EventBurned) Reset()
- func (m *EventBurned) Size() (n int)
- func (m *EventBurned) String() string
- func (m *EventBurned) Unmarshal(dAtA []byte) error
- func (m *EventBurned) XXX_DiscardUnknown()
- func (m *EventBurned) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventBurned) XXX_Merge(src proto.Message)
- func (m *EventBurned) XXX_Size() int
- func (m *EventBurned) XXX_Unmarshal(b []byte) error
- type EventGranted
- func (*EventGranted) Descriptor() ([]byte, []int)
- func (m *EventGranted) GetContractId() string
- func (m *EventGranted) GetGrantee() string
- func (m *EventGranted) GetGranter() string
- func (m *EventGranted) GetPermission() Permission
- func (m *EventGranted) Marshal() (dAtA []byte, err error)
- func (m *EventGranted) MarshalTo(dAtA []byte) (int, error)
- func (m *EventGranted) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventGranted) ProtoMessage()
- func (m *EventGranted) Reset()
- func (m *EventGranted) Size() (n int)
- func (m *EventGranted) String() string
- func (m *EventGranted) Unmarshal(dAtA []byte) error
- func (m *EventGranted) XXX_DiscardUnknown()
- func (m *EventGranted) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventGranted) XXX_Merge(src proto.Message)
- func (m *EventGranted) XXX_Size() int
- func (m *EventGranted) XXX_Unmarshal(b []byte) error
- type EventIssued
- func (*EventIssued) Descriptor() ([]byte, []int)
- func (m *EventIssued) GetContractId() string
- func (m *EventIssued) GetCreator() string
- func (m *EventIssued) GetDecimals() int32
- func (m *EventIssued) GetMeta() string
- func (m *EventIssued) GetMintable() bool
- func (m *EventIssued) GetName() string
- func (m *EventIssued) GetSymbol() string
- func (m *EventIssued) GetUri() string
- func (m *EventIssued) Marshal() (dAtA []byte, err error)
- func (m *EventIssued) MarshalTo(dAtA []byte) (int, error)
- func (m *EventIssued) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventIssued) ProtoMessage()
- func (m *EventIssued) Reset()
- func (m *EventIssued) Size() (n int)
- func (m *EventIssued) String() string
- func (m *EventIssued) Unmarshal(dAtA []byte) error
- func (m *EventIssued) XXX_DiscardUnknown()
- func (m *EventIssued) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventIssued) XXX_Merge(src proto.Message)
- func (m *EventIssued) XXX_Size() int
- func (m *EventIssued) XXX_Unmarshal(b []byte) error
- type EventMinted
- func (*EventMinted) Descriptor() ([]byte, []int)
- func (m *EventMinted) GetContractId() string
- func (m *EventMinted) GetOperator() string
- func (m *EventMinted) GetTo() string
- func (m *EventMinted) Marshal() (dAtA []byte, err error)
- func (m *EventMinted) MarshalTo(dAtA []byte) (int, error)
- func (m *EventMinted) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventMinted) ProtoMessage()
- func (m *EventMinted) Reset()
- func (m *EventMinted) Size() (n int)
- func (m *EventMinted) String() string
- func (m *EventMinted) Unmarshal(dAtA []byte) error
- func (m *EventMinted) XXX_DiscardUnknown()
- func (m *EventMinted) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventMinted) XXX_Merge(src proto.Message)
- func (m *EventMinted) XXX_Size() int
- func (m *EventMinted) XXX_Unmarshal(b []byte) error
- type EventModified
- func (*EventModified) Descriptor() ([]byte, []int)
- func (m *EventModified) GetChanges() []Attribute
- func (m *EventModified) GetContractId() string
- func (m *EventModified) GetOperator() string
- func (m *EventModified) Marshal() (dAtA []byte, err error)
- func (m *EventModified) MarshalTo(dAtA []byte) (int, error)
- func (m *EventModified) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventModified) ProtoMessage()
- func (m *EventModified) Reset()
- func (m *EventModified) Size() (n int)
- func (m *EventModified) String() string
- func (m *EventModified) Unmarshal(dAtA []byte) error
- func (m *EventModified) XXX_DiscardUnknown()
- func (m *EventModified) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventModified) XXX_Merge(src proto.Message)
- func (m *EventModified) XXX_Size() int
- func (m *EventModified) XXX_Unmarshal(b []byte) error
- type EventRenounced
- func (*EventRenounced) Descriptor() ([]byte, []int)
- func (m *EventRenounced) GetContractId() string
- func (m *EventRenounced) GetGrantee() string
- func (m *EventRenounced) GetPermission() Permission
- func (m *EventRenounced) Marshal() (dAtA []byte, err error)
- func (m *EventRenounced) MarshalTo(dAtA []byte) (int, error)
- func (m *EventRenounced) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventRenounced) ProtoMessage()
- func (m *EventRenounced) Reset()
- func (m *EventRenounced) Size() (n int)
- func (m *EventRenounced) String() string
- func (m *EventRenounced) Unmarshal(dAtA []byte) error
- func (m *EventRenounced) XXX_DiscardUnknown()
- func (m *EventRenounced) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventRenounced) XXX_Merge(src proto.Message)
- func (m *EventRenounced) XXX_Size() int
- func (m *EventRenounced) XXX_Unmarshal(b []byte) error
- type EventRevokedOperator
- func (*EventRevokedOperator) Descriptor() ([]byte, []int)
- func (m *EventRevokedOperator) GetContractId() string
- func (m *EventRevokedOperator) GetHolder() string
- func (m *EventRevokedOperator) GetOperator() string
- func (m *EventRevokedOperator) Marshal() (dAtA []byte, err error)
- func (m *EventRevokedOperator) MarshalTo(dAtA []byte) (int, error)
- func (m *EventRevokedOperator) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventRevokedOperator) ProtoMessage()
- func (m *EventRevokedOperator) Reset()
- func (m *EventRevokedOperator) Size() (n int)
- func (m *EventRevokedOperator) String() string
- func (m *EventRevokedOperator) Unmarshal(dAtA []byte) error
- func (m *EventRevokedOperator) XXX_DiscardUnknown()
- func (m *EventRevokedOperator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventRevokedOperator) XXX_Merge(src proto.Message)
- func (m *EventRevokedOperator) XXX_Size() int
- func (m *EventRevokedOperator) XXX_Unmarshal(b []byte) error
- type EventSent
- func (*EventSent) Descriptor() ([]byte, []int)
- func (m *EventSent) GetContractId() string
- func (m *EventSent) GetFrom() string
- func (m *EventSent) GetOperator() string
- func (m *EventSent) GetTo() string
- func (m *EventSent) Marshal() (dAtA []byte, err error)
- func (m *EventSent) MarshalTo(dAtA []byte) (int, error)
- func (m *EventSent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventSent) ProtoMessage()
- func (m *EventSent) Reset()
- func (m *EventSent) Size() (n int)
- func (m *EventSent) String() string
- func (m *EventSent) Unmarshal(dAtA []byte) error
- func (m *EventSent) XXX_DiscardUnknown()
- func (m *EventSent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventSent) XXX_Merge(src proto.Message)
- func (m *EventSent) XXX_Size() int
- func (m *EventSent) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetAuthorizations() []ContractAuthorizations
- func (m *GenesisState) GetBalances() []ContractBalances
- func (m *GenesisState) GetBurns() []ContractCoin
- func (m *GenesisState) GetClassState() *ClassGenesisState
- func (m *GenesisState) GetClasses() []Contract
- func (m *GenesisState) GetGrants() []ContractGrants
- func (m *GenesisState) GetMints() []ContractCoin
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) GetSupplies() []ContractCoin
- 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 Grant
- func (*Grant) Descriptor() ([]byte, []int)
- func (m *Grant) Marshal() (dAtA []byte, err error)
- func (m *Grant) MarshalTo(dAtA []byte) (int, error)
- func (m *Grant) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Grant) ProtoMessage()
- func (m *Grant) Reset()
- func (m *Grant) Size() (n int)
- func (m *Grant) String() string
- func (m *Grant) Unmarshal(dAtA []byte) error
- func (m *Grant) XXX_DiscardUnknown()
- func (m *Grant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Grant) XXX_Merge(src proto.Message)
- func (m *Grant) XXX_Size() int
- func (m *Grant) XXX_Unmarshal(b []byte) error
- type LegacyPermissiondeprecated
- type MsgAuthorizeOperator
- func (*MsgAuthorizeOperator) Descriptor() ([]byte, []int)
- func (m MsgAuthorizeOperator) GetSignBytes() []byte
- func (m MsgAuthorizeOperator) GetSigners() []sdk.AccAddress
- func (m *MsgAuthorizeOperator) Marshal() (dAtA []byte, err error)
- func (m *MsgAuthorizeOperator) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAuthorizeOperator) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAuthorizeOperator) ProtoMessage()
- func (m *MsgAuthorizeOperator) Reset()
- func (m MsgAuthorizeOperator) Route() string
- func (m *MsgAuthorizeOperator) Size() (n int)
- func (m *MsgAuthorizeOperator) String() string
- func (m MsgAuthorizeOperator) Type() string
- func (m *MsgAuthorizeOperator) Unmarshal(dAtA []byte) error
- func (m MsgAuthorizeOperator) ValidateBasic() error
- func (m *MsgAuthorizeOperator) XXX_DiscardUnknown()
- func (m *MsgAuthorizeOperator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAuthorizeOperator) XXX_Merge(src proto.Message)
- func (m *MsgAuthorizeOperator) XXX_Size() int
- func (m *MsgAuthorizeOperator) XXX_Unmarshal(b []byte) error
- type MsgAuthorizeOperatorResponse
- func (*MsgAuthorizeOperatorResponse) Descriptor() ([]byte, []int)
- func (m *MsgAuthorizeOperatorResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgAuthorizeOperatorResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAuthorizeOperatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAuthorizeOperatorResponse) ProtoMessage()
- func (m *MsgAuthorizeOperatorResponse) Reset()
- func (m *MsgAuthorizeOperatorResponse) Size() (n int)
- func (m *MsgAuthorizeOperatorResponse) String() string
- func (m *MsgAuthorizeOperatorResponse) Unmarshal(dAtA []byte) error
- func (m *MsgAuthorizeOperatorResponse) XXX_DiscardUnknown()
- func (m *MsgAuthorizeOperatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAuthorizeOperatorResponse) XXX_Merge(src proto.Message)
- func (m *MsgAuthorizeOperatorResponse) XXX_Size() int
- func (m *MsgAuthorizeOperatorResponse) XXX_Unmarshal(b []byte) error
- type MsgBurn
- func (*MsgBurn) Descriptor() ([]byte, []int)
- func (m MsgBurn) GetSignBytes() []byte
- func (m MsgBurn) GetSigners() []sdk.AccAddress
- func (m *MsgBurn) Marshal() (dAtA []byte, err error)
- func (m *MsgBurn) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgBurn) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgBurn) ProtoMessage()
- func (m *MsgBurn) Reset()
- func (m MsgBurn) Route() string
- func (m *MsgBurn) Size() (n int)
- func (m *MsgBurn) String() string
- func (m MsgBurn) Type() string
- func (m *MsgBurn) Unmarshal(dAtA []byte) error
- func (m MsgBurn) ValidateBasic() error
- func (m *MsgBurn) XXX_DiscardUnknown()
- func (m *MsgBurn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgBurn) XXX_Merge(src proto.Message)
- func (m *MsgBurn) XXX_Size() int
- func (m *MsgBurn) XXX_Unmarshal(b []byte) error
- type MsgBurnResponse
- func (*MsgBurnResponse) Descriptor() ([]byte, []int)
- func (m *MsgBurnResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgBurnResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgBurnResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgBurnResponse) ProtoMessage()
- func (m *MsgBurnResponse) Reset()
- func (m *MsgBurnResponse) Size() (n int)
- func (m *MsgBurnResponse) String() string
- func (m *MsgBurnResponse) Unmarshal(dAtA []byte) error
- func (m *MsgBurnResponse) XXX_DiscardUnknown()
- func (m *MsgBurnResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgBurnResponse) XXX_Merge(src proto.Message)
- func (m *MsgBurnResponse) XXX_Size() int
- func (m *MsgBurnResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgGrantPermission
- func (*MsgGrantPermission) Descriptor() ([]byte, []int)
- func (m MsgGrantPermission) GetSignBytes() []byte
- func (m MsgGrantPermission) GetSigners() []sdk.AccAddress
- func (m *MsgGrantPermission) Marshal() (dAtA []byte, err error)
- func (m *MsgGrantPermission) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgGrantPermission) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgGrantPermission) ProtoMessage()
- func (m *MsgGrantPermission) Reset()
- func (m MsgGrantPermission) Route() string
- func (m *MsgGrantPermission) Size() (n int)
- func (m *MsgGrantPermission) String() string
- func (m MsgGrantPermission) Type() string
- func (m *MsgGrantPermission) Unmarshal(dAtA []byte) error
- func (m MsgGrantPermission) ValidateBasic() error
- func (m *MsgGrantPermission) XXX_DiscardUnknown()
- func (m *MsgGrantPermission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgGrantPermission) XXX_Merge(src proto.Message)
- func (m *MsgGrantPermission) XXX_Size() int
- func (m *MsgGrantPermission) XXX_Unmarshal(b []byte) error
- type MsgGrantPermissionResponse
- func (*MsgGrantPermissionResponse) Descriptor() ([]byte, []int)
- func (m *MsgGrantPermissionResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgGrantPermissionResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgGrantPermissionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgGrantPermissionResponse) ProtoMessage()
- func (m *MsgGrantPermissionResponse) Reset()
- func (m *MsgGrantPermissionResponse) Size() (n int)
- func (m *MsgGrantPermissionResponse) String() string
- func (m *MsgGrantPermissionResponse) Unmarshal(dAtA []byte) error
- func (m *MsgGrantPermissionResponse) XXX_DiscardUnknown()
- func (m *MsgGrantPermissionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgGrantPermissionResponse) XXX_Merge(src proto.Message)
- func (m *MsgGrantPermissionResponse) XXX_Size() int
- func (m *MsgGrantPermissionResponse) XXX_Unmarshal(b []byte) error
- type MsgIssue
- func (*MsgIssue) Descriptor() ([]byte, []int)
- func (m MsgIssue) GetSignBytes() []byte
- func (m MsgIssue) GetSigners() []sdk.AccAddress
- func (m *MsgIssue) Marshal() (dAtA []byte, err error)
- func (m *MsgIssue) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgIssue) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgIssue) ProtoMessage()
- func (m *MsgIssue) Reset()
- func (m MsgIssue) Route() string
- func (m *MsgIssue) Size() (n int)
- func (m *MsgIssue) String() string
- func (m MsgIssue) Type() string
- func (m *MsgIssue) Unmarshal(dAtA []byte) error
- func (m MsgIssue) ValidateBasic() error
- func (m *MsgIssue) XXX_DiscardUnknown()
- func (m *MsgIssue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgIssue) XXX_Merge(src proto.Message)
- func (m *MsgIssue) XXX_Size() int
- func (m *MsgIssue) XXX_Unmarshal(b []byte) error
- type MsgIssueResponse
- func (*MsgIssueResponse) Descriptor() ([]byte, []int)
- func (m *MsgIssueResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgIssueResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgIssueResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgIssueResponse) ProtoMessage()
- func (m *MsgIssueResponse) Reset()
- func (m *MsgIssueResponse) Size() (n int)
- func (m *MsgIssueResponse) String() string
- func (m *MsgIssueResponse) Unmarshal(dAtA []byte) error
- func (m *MsgIssueResponse) XXX_DiscardUnknown()
- func (m *MsgIssueResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgIssueResponse) XXX_Merge(src proto.Message)
- func (m *MsgIssueResponse) XXX_Size() int
- func (m *MsgIssueResponse) XXX_Unmarshal(b []byte) error
- type MsgMint
- func (*MsgMint) Descriptor() ([]byte, []int)
- func (m MsgMint) GetSignBytes() []byte
- func (m MsgMint) GetSigners() []sdk.AccAddress
- func (m *MsgMint) Marshal() (dAtA []byte, err error)
- func (m *MsgMint) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMint) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMint) ProtoMessage()
- func (m *MsgMint) Reset()
- func (m MsgMint) Route() string
- func (m *MsgMint) Size() (n int)
- func (m *MsgMint) String() string
- func (m MsgMint) Type() string
- func (m *MsgMint) Unmarshal(dAtA []byte) error
- func (m MsgMint) ValidateBasic() error
- func (m *MsgMint) XXX_DiscardUnknown()
- func (m *MsgMint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMint) XXX_Merge(src proto.Message)
- func (m *MsgMint) XXX_Size() int
- func (m *MsgMint) XXX_Unmarshal(b []byte) error
- type MsgMintResponse
- func (*MsgMintResponse) Descriptor() ([]byte, []int)
- func (m *MsgMintResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgMintResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMintResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMintResponse) ProtoMessage()
- func (m *MsgMintResponse) Reset()
- func (m *MsgMintResponse) Size() (n int)
- func (m *MsgMintResponse) String() string
- func (m *MsgMintResponse) Unmarshal(dAtA []byte) error
- func (m *MsgMintResponse) XXX_DiscardUnknown()
- func (m *MsgMintResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMintResponse) XXX_Merge(src proto.Message)
- func (m *MsgMintResponse) XXX_Size() int
- func (m *MsgMintResponse) XXX_Unmarshal(b []byte) error
- type MsgModify
- func (*MsgModify) Descriptor() ([]byte, []int)
- func (m MsgModify) GetSignBytes() []byte
- func (m MsgModify) GetSigners() []sdk.AccAddress
- func (m *MsgModify) Marshal() (dAtA []byte, err error)
- func (m *MsgModify) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgModify) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgModify) ProtoMessage()
- func (m *MsgModify) Reset()
- func (m MsgModify) Route() string
- func (m *MsgModify) Size() (n int)
- func (m *MsgModify) String() string
- func (m MsgModify) Type() string
- func (m *MsgModify) Unmarshal(dAtA []byte) error
- func (m MsgModify) ValidateBasic() error
- func (m *MsgModify) XXX_DiscardUnknown()
- func (m *MsgModify) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgModify) XXX_Merge(src proto.Message)
- func (m *MsgModify) XXX_Size() int
- func (m *MsgModify) XXX_Unmarshal(b []byte) error
- type MsgModifyResponse
- func (*MsgModifyResponse) Descriptor() ([]byte, []int)
- func (m *MsgModifyResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgModifyResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgModifyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgModifyResponse) ProtoMessage()
- func (m *MsgModifyResponse) Reset()
- func (m *MsgModifyResponse) Size() (n int)
- func (m *MsgModifyResponse) String() string
- func (m *MsgModifyResponse) Unmarshal(dAtA []byte) error
- func (m *MsgModifyResponse) XXX_DiscardUnknown()
- func (m *MsgModifyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgModifyResponse) XXX_Merge(src proto.Message)
- func (m *MsgModifyResponse) XXX_Size() int
- func (m *MsgModifyResponse) XXX_Unmarshal(b []byte) error
- type MsgOperatorBurn
- func (*MsgOperatorBurn) Descriptor() ([]byte, []int)
- func (m MsgOperatorBurn) GetSignBytes() []byte
- func (m MsgOperatorBurn) GetSigners() []sdk.AccAddress
- func (m *MsgOperatorBurn) Marshal() (dAtA []byte, err error)
- func (m *MsgOperatorBurn) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgOperatorBurn) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgOperatorBurn) ProtoMessage()
- func (m *MsgOperatorBurn) Reset()
- func (m MsgOperatorBurn) Route() string
- func (m *MsgOperatorBurn) Size() (n int)
- func (m *MsgOperatorBurn) String() string
- func (m MsgOperatorBurn) Type() string
- func (m *MsgOperatorBurn) Unmarshal(dAtA []byte) error
- func (m MsgOperatorBurn) ValidateBasic() error
- func (m *MsgOperatorBurn) XXX_DiscardUnknown()
- func (m *MsgOperatorBurn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgOperatorBurn) XXX_Merge(src proto.Message)
- func (m *MsgOperatorBurn) XXX_Size() int
- func (m *MsgOperatorBurn) XXX_Unmarshal(b []byte) error
- type MsgOperatorBurnResponse
- func (*MsgOperatorBurnResponse) Descriptor() ([]byte, []int)
- func (m *MsgOperatorBurnResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgOperatorBurnResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgOperatorBurnResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgOperatorBurnResponse) ProtoMessage()
- func (m *MsgOperatorBurnResponse) Reset()
- func (m *MsgOperatorBurnResponse) Size() (n int)
- func (m *MsgOperatorBurnResponse) String() string
- func (m *MsgOperatorBurnResponse) Unmarshal(dAtA []byte) error
- func (m *MsgOperatorBurnResponse) XXX_DiscardUnknown()
- func (m *MsgOperatorBurnResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgOperatorBurnResponse) XXX_Merge(src proto.Message)
- func (m *MsgOperatorBurnResponse) XXX_Size() int
- func (m *MsgOperatorBurnResponse) XXX_Unmarshal(b []byte) error
- type MsgOperatorSend
- func (*MsgOperatorSend) Descriptor() ([]byte, []int)
- func (m MsgOperatorSend) GetSignBytes() []byte
- func (m MsgOperatorSend) GetSigners() []sdk.AccAddress
- func (m *MsgOperatorSend) Marshal() (dAtA []byte, err error)
- func (m *MsgOperatorSend) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgOperatorSend) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgOperatorSend) ProtoMessage()
- func (m *MsgOperatorSend) Reset()
- func (m MsgOperatorSend) Route() string
- func (m *MsgOperatorSend) Size() (n int)
- func (m *MsgOperatorSend) String() string
- func (m MsgOperatorSend) Type() string
- func (m *MsgOperatorSend) Unmarshal(dAtA []byte) error
- func (m MsgOperatorSend) ValidateBasic() error
- func (m *MsgOperatorSend) XXX_DiscardUnknown()
- func (m *MsgOperatorSend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgOperatorSend) XXX_Merge(src proto.Message)
- func (m *MsgOperatorSend) XXX_Size() int
- func (m *MsgOperatorSend) XXX_Unmarshal(b []byte) error
- type MsgOperatorSendResponse
- func (*MsgOperatorSendResponse) Descriptor() ([]byte, []int)
- func (m *MsgOperatorSendResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgOperatorSendResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgOperatorSendResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgOperatorSendResponse) ProtoMessage()
- func (m *MsgOperatorSendResponse) Reset()
- func (m *MsgOperatorSendResponse) Size() (n int)
- func (m *MsgOperatorSendResponse) String() string
- func (m *MsgOperatorSendResponse) Unmarshal(dAtA []byte) error
- func (m *MsgOperatorSendResponse) XXX_DiscardUnknown()
- func (m *MsgOperatorSendResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgOperatorSendResponse) XXX_Merge(src proto.Message)
- func (m *MsgOperatorSendResponse) XXX_Size() int
- func (m *MsgOperatorSendResponse) XXX_Unmarshal(b []byte) error
- type MsgRevokeOperator
- func (*MsgRevokeOperator) Descriptor() ([]byte, []int)
- func (m MsgRevokeOperator) GetSignBytes() []byte
- func (m MsgRevokeOperator) GetSigners() []sdk.AccAddress
- func (m *MsgRevokeOperator) Marshal() (dAtA []byte, err error)
- func (m *MsgRevokeOperator) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRevokeOperator) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRevokeOperator) ProtoMessage()
- func (m *MsgRevokeOperator) Reset()
- func (m MsgRevokeOperator) Route() string
- func (m *MsgRevokeOperator) Size() (n int)
- func (m *MsgRevokeOperator) String() string
- func (m MsgRevokeOperator) Type() string
- func (m *MsgRevokeOperator) Unmarshal(dAtA []byte) error
- func (m MsgRevokeOperator) ValidateBasic() error
- func (m *MsgRevokeOperator) XXX_DiscardUnknown()
- func (m *MsgRevokeOperator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRevokeOperator) XXX_Merge(src proto.Message)
- func (m *MsgRevokeOperator) XXX_Size() int
- func (m *MsgRevokeOperator) XXX_Unmarshal(b []byte) error
- type MsgRevokeOperatorResponse
- func (*MsgRevokeOperatorResponse) Descriptor() ([]byte, []int)
- func (m *MsgRevokeOperatorResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRevokeOperatorResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRevokeOperatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRevokeOperatorResponse) ProtoMessage()
- func (m *MsgRevokeOperatorResponse) Reset()
- func (m *MsgRevokeOperatorResponse) Size() (n int)
- func (m *MsgRevokeOperatorResponse) String() string
- func (m *MsgRevokeOperatorResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRevokeOperatorResponse) XXX_DiscardUnknown()
- func (m *MsgRevokeOperatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRevokeOperatorResponse) XXX_Merge(src proto.Message)
- func (m *MsgRevokeOperatorResponse) XXX_Size() int
- func (m *MsgRevokeOperatorResponse) XXX_Unmarshal(b []byte) error
- type MsgRevokePermission
- func (*MsgRevokePermission) Descriptor() ([]byte, []int)
- func (m MsgRevokePermission) GetSignBytes() []byte
- func (m MsgRevokePermission) GetSigners() []sdk.AccAddress
- func (m *MsgRevokePermission) Marshal() (dAtA []byte, err error)
- func (m *MsgRevokePermission) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRevokePermission) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRevokePermission) ProtoMessage()
- func (m *MsgRevokePermission) Reset()
- func (m MsgRevokePermission) Route() string
- func (m *MsgRevokePermission) Size() (n int)
- func (m *MsgRevokePermission) String() string
- func (m MsgRevokePermission) Type() string
- func (m *MsgRevokePermission) Unmarshal(dAtA []byte) error
- func (m MsgRevokePermission) ValidateBasic() error
- func (m *MsgRevokePermission) XXX_DiscardUnknown()
- func (m *MsgRevokePermission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRevokePermission) XXX_Merge(src proto.Message)
- func (m *MsgRevokePermission) XXX_Size() int
- func (m *MsgRevokePermission) XXX_Unmarshal(b []byte) error
- type MsgRevokePermissionResponse
- func (*MsgRevokePermissionResponse) Descriptor() ([]byte, []int)
- func (m *MsgRevokePermissionResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRevokePermissionResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRevokePermissionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRevokePermissionResponse) ProtoMessage()
- func (m *MsgRevokePermissionResponse) Reset()
- func (m *MsgRevokePermissionResponse) Size() (n int)
- func (m *MsgRevokePermissionResponse) String() string
- func (m *MsgRevokePermissionResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRevokePermissionResponse) XXX_DiscardUnknown()
- func (m *MsgRevokePermissionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRevokePermissionResponse) XXX_Merge(src proto.Message)
- func (m *MsgRevokePermissionResponse) XXX_Size() int
- func (m *MsgRevokePermissionResponse) XXX_Unmarshal(b []byte) error
- type MsgSend
- func (*MsgSend) Descriptor() ([]byte, []int)
- func (m MsgSend) GetSignBytes() []byte
- func (m MsgSend) GetSigners() []sdk.AccAddress
- func (m *MsgSend) Marshal() (dAtA []byte, err error)
- func (m *MsgSend) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSend) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSend) ProtoMessage()
- func (m *MsgSend) Reset()
- func (m MsgSend) Route() string
- func (m *MsgSend) Size() (n int)
- func (m *MsgSend) String() string
- func (m MsgSend) Type() string
- func (m *MsgSend) Unmarshal(dAtA []byte) error
- func (m MsgSend) ValidateBasic() error
- func (m *MsgSend) XXX_DiscardUnknown()
- func (m *MsgSend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSend) XXX_Merge(src proto.Message)
- func (m *MsgSend) XXX_Size() int
- func (m *MsgSend) XXX_Unmarshal(b []byte) error
- type MsgSendResponse
- func (*MsgSendResponse) Descriptor() ([]byte, []int)
- func (m *MsgSendResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSendResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSendResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSendResponse) ProtoMessage()
- func (m *MsgSendResponse) Reset()
- func (m *MsgSendResponse) Size() (n int)
- func (m *MsgSendResponse) String() string
- func (m *MsgSendResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSendResponse) XXX_DiscardUnknown()
- func (m *MsgSendResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSendResponse) XXX_Merge(src proto.Message)
- func (m *MsgSendResponse) XXX_Size() int
- func (m *MsgSendResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (m *Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type Permission
- type QueryBalanceRequest
- func (*QueryBalanceRequest) Descriptor() ([]byte, []int)
- func (m *QueryBalanceRequest) GetAddress() string
- func (m *QueryBalanceRequest) GetContractId() string
- func (m *QueryBalanceRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryBalanceRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBalanceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBalanceRequest) ProtoMessage()
- func (m *QueryBalanceRequest) Reset()
- func (m *QueryBalanceRequest) Size() (n int)
- func (m *QueryBalanceRequest) String() string
- func (m *QueryBalanceRequest) Unmarshal(dAtA []byte) error
- func (m *QueryBalanceRequest) XXX_DiscardUnknown()
- func (m *QueryBalanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBalanceRequest) XXX_Merge(src proto.Message)
- func (m *QueryBalanceRequest) XXX_Size() int
- func (m *QueryBalanceRequest) XXX_Unmarshal(b []byte) error
- type QueryBalanceResponse
- func (*QueryBalanceResponse) Descriptor() ([]byte, []int)
- func (m *QueryBalanceResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryBalanceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBalanceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBalanceResponse) ProtoMessage()
- func (m *QueryBalanceResponse) Reset()
- func (m *QueryBalanceResponse) Size() (n int)
- func (m *QueryBalanceResponse) String() string
- func (m *QueryBalanceResponse) Unmarshal(dAtA []byte) error
- func (m *QueryBalanceResponse) XXX_DiscardUnknown()
- func (m *QueryBalanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBalanceResponse) XXX_Merge(src proto.Message)
- func (m *QueryBalanceResponse) XXX_Size() int
- func (m *QueryBalanceResponse) XXX_Unmarshal(b []byte) error
- type QueryBurntRequest
- func (*QueryBurntRequest) Descriptor() ([]byte, []int)
- func (m *QueryBurntRequest) GetContractId() string
- func (m *QueryBurntRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryBurntRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBurntRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBurntRequest) ProtoMessage()
- func (m *QueryBurntRequest) Reset()
- func (m *QueryBurntRequest) Size() (n int)
- func (m *QueryBurntRequest) String() string
- func (m *QueryBurntRequest) Unmarshal(dAtA []byte) error
- func (m *QueryBurntRequest) XXX_DiscardUnknown()
- func (m *QueryBurntRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBurntRequest) XXX_Merge(src proto.Message)
- func (m *QueryBurntRequest) XXX_Size() int
- func (m *QueryBurntRequest) XXX_Unmarshal(b []byte) error
- type QueryBurntResponse
- func (*QueryBurntResponse) Descriptor() ([]byte, []int)
- func (m *QueryBurntResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryBurntResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBurntResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBurntResponse) ProtoMessage()
- func (m *QueryBurntResponse) Reset()
- func (m *QueryBurntResponse) Size() (n int)
- func (m *QueryBurntResponse) String() string
- func (m *QueryBurntResponse) Unmarshal(dAtA []byte) error
- func (m *QueryBurntResponse) XXX_DiscardUnknown()
- func (m *QueryBurntResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBurntResponse) XXX_Merge(src proto.Message)
- func (m *QueryBurntResponse) XXX_Size() int
- func (m *QueryBurntResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryContractRequest
- func (*QueryContractRequest) Descriptor() ([]byte, []int)
- func (m *QueryContractRequest) GetContractId() string
- func (m *QueryContractRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryContractRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryContractRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryContractRequest) ProtoMessage()
- func (m *QueryContractRequest) Reset()
- func (m *QueryContractRequest) Size() (n int)
- func (m *QueryContractRequest) String() string
- func (m *QueryContractRequest) Unmarshal(dAtA []byte) error
- func (m *QueryContractRequest) XXX_DiscardUnknown()
- func (m *QueryContractRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryContractRequest) XXX_Merge(src proto.Message)
- func (m *QueryContractRequest) XXX_Size() int
- func (m *QueryContractRequest) XXX_Unmarshal(b []byte) error
- type QueryContractResponse
- func (*QueryContractResponse) Descriptor() ([]byte, []int)
- func (m *QueryContractResponse) GetContract() Contract
- func (m *QueryContractResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryContractResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryContractResponse) ProtoMessage()
- func (m *QueryContractResponse) Reset()
- func (m *QueryContractResponse) Size() (n int)
- func (m *QueryContractResponse) String() string
- func (m *QueryContractResponse) Unmarshal(dAtA []byte) error
- func (m *QueryContractResponse) XXX_DiscardUnknown()
- func (m *QueryContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryContractResponse) XXX_Merge(src proto.Message)
- func (m *QueryContractResponse) XXX_Size() int
- func (m *QueryContractResponse) XXX_Unmarshal(b []byte) error
- type QueryGranteeGrantsRequest
- func (*QueryGranteeGrantsRequest) Descriptor() ([]byte, []int)
- func (m *QueryGranteeGrantsRequest) GetContractId() string
- func (m *QueryGranteeGrantsRequest) GetGrantee() string
- func (m *QueryGranteeGrantsRequest) GetPagination() *query.PageRequest
- func (m *QueryGranteeGrantsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGranteeGrantsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGranteeGrantsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGranteeGrantsRequest) ProtoMessage()
- func (m *QueryGranteeGrantsRequest) Reset()
- func (m *QueryGranteeGrantsRequest) Size() (n int)
- func (m *QueryGranteeGrantsRequest) String() string
- func (m *QueryGranteeGrantsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGranteeGrantsRequest) XXX_DiscardUnknown()
- func (m *QueryGranteeGrantsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGranteeGrantsRequest) XXX_Merge(src proto.Message)
- func (m *QueryGranteeGrantsRequest) XXX_Size() int
- func (m *QueryGranteeGrantsRequest) XXX_Unmarshal(b []byte) error
- type QueryGranteeGrantsResponse
- func (*QueryGranteeGrantsResponse) Descriptor() ([]byte, []int)
- func (m *QueryGranteeGrantsResponse) GetGrants() []Grant
- func (m *QueryGranteeGrantsResponse) GetPagination() *query.PageResponse
- func (m *QueryGranteeGrantsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGranteeGrantsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGranteeGrantsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGranteeGrantsResponse) ProtoMessage()
- func (m *QueryGranteeGrantsResponse) Reset()
- func (m *QueryGranteeGrantsResponse) Size() (n int)
- func (m *QueryGranteeGrantsResponse) String() string
- func (m *QueryGranteeGrantsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGranteeGrantsResponse) XXX_DiscardUnknown()
- func (m *QueryGranteeGrantsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGranteeGrantsResponse) XXX_Merge(src proto.Message)
- func (m *QueryGranteeGrantsResponse) XXX_Size() int
- func (m *QueryGranteeGrantsResponse) XXX_Unmarshal(b []byte) error
- type QueryHoldersByOperatorRequest
- func (*QueryHoldersByOperatorRequest) Descriptor() ([]byte, []int)
- func (m *QueryHoldersByOperatorRequest) GetContractId() string
- func (m *QueryHoldersByOperatorRequest) GetOperator() string
- func (m *QueryHoldersByOperatorRequest) GetPagination() *query.PageRequest
- func (m *QueryHoldersByOperatorRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryHoldersByOperatorRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryHoldersByOperatorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryHoldersByOperatorRequest) ProtoMessage()
- func (m *QueryHoldersByOperatorRequest) Reset()
- func (m *QueryHoldersByOperatorRequest) Size() (n int)
- func (m *QueryHoldersByOperatorRequest) String() string
- func (m *QueryHoldersByOperatorRequest) Unmarshal(dAtA []byte) error
- func (m *QueryHoldersByOperatorRequest) XXX_DiscardUnknown()
- func (m *QueryHoldersByOperatorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryHoldersByOperatorRequest) XXX_Merge(src proto.Message)
- func (m *QueryHoldersByOperatorRequest) XXX_Size() int
- func (m *QueryHoldersByOperatorRequest) XXX_Unmarshal(b []byte) error
- type QueryHoldersByOperatorResponse
- func (*QueryHoldersByOperatorResponse) Descriptor() ([]byte, []int)
- func (m *QueryHoldersByOperatorResponse) GetHolders() []string
- func (m *QueryHoldersByOperatorResponse) GetPagination() *query.PageResponse
- func (m *QueryHoldersByOperatorResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryHoldersByOperatorResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryHoldersByOperatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryHoldersByOperatorResponse) ProtoMessage()
- func (m *QueryHoldersByOperatorResponse) Reset()
- func (m *QueryHoldersByOperatorResponse) Size() (n int)
- func (m *QueryHoldersByOperatorResponse) String() string
- func (m *QueryHoldersByOperatorResponse) Unmarshal(dAtA []byte) error
- func (m *QueryHoldersByOperatorResponse) XXX_DiscardUnknown()
- func (m *QueryHoldersByOperatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryHoldersByOperatorResponse) XXX_Merge(src proto.Message)
- func (m *QueryHoldersByOperatorResponse) XXX_Size() int
- func (m *QueryHoldersByOperatorResponse) XXX_Unmarshal(b []byte) error
- type QueryIsOperatorForRequest
- func (*QueryIsOperatorForRequest) Descriptor() ([]byte, []int)
- func (m *QueryIsOperatorForRequest) GetContractId() string
- func (m *QueryIsOperatorForRequest) GetHolder() string
- func (m *QueryIsOperatorForRequest) GetOperator() string
- func (m *QueryIsOperatorForRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryIsOperatorForRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryIsOperatorForRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryIsOperatorForRequest) ProtoMessage()
- func (m *QueryIsOperatorForRequest) Reset()
- func (m *QueryIsOperatorForRequest) Size() (n int)
- func (m *QueryIsOperatorForRequest) String() string
- func (m *QueryIsOperatorForRequest) Unmarshal(dAtA []byte) error
- func (m *QueryIsOperatorForRequest) XXX_DiscardUnknown()
- func (m *QueryIsOperatorForRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryIsOperatorForRequest) XXX_Merge(src proto.Message)
- func (m *QueryIsOperatorForRequest) XXX_Size() int
- func (m *QueryIsOperatorForRequest) XXX_Unmarshal(b []byte) error
- type QueryIsOperatorForResponse
- func (*QueryIsOperatorForResponse) Descriptor() ([]byte, []int)
- func (m *QueryIsOperatorForResponse) GetAuthorized() bool
- func (m *QueryIsOperatorForResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryIsOperatorForResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryIsOperatorForResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryIsOperatorForResponse) ProtoMessage()
- func (m *QueryIsOperatorForResponse) Reset()
- func (m *QueryIsOperatorForResponse) Size() (n int)
- func (m *QueryIsOperatorForResponse) String() string
- func (m *QueryIsOperatorForResponse) Unmarshal(dAtA []byte) error
- func (m *QueryIsOperatorForResponse) XXX_DiscardUnknown()
- func (m *QueryIsOperatorForResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryIsOperatorForResponse) XXX_Merge(src proto.Message)
- func (m *QueryIsOperatorForResponse) XXX_Size() int
- func (m *QueryIsOperatorForResponse) XXX_Unmarshal(b []byte) error
- type QueryMintedRequest
- func (*QueryMintedRequest) Descriptor() ([]byte, []int)
- func (m *QueryMintedRequest) GetContractId() string
- func (m *QueryMintedRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryMintedRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryMintedRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryMintedRequest) ProtoMessage()
- func (m *QueryMintedRequest) Reset()
- func (m *QueryMintedRequest) Size() (n int)
- func (m *QueryMintedRequest) String() string
- func (m *QueryMintedRequest) Unmarshal(dAtA []byte) error
- func (m *QueryMintedRequest) XXX_DiscardUnknown()
- func (m *QueryMintedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryMintedRequest) XXX_Merge(src proto.Message)
- func (m *QueryMintedRequest) XXX_Size() int
- func (m *QueryMintedRequest) XXX_Unmarshal(b []byte) error
- type QueryMintedResponse
- func (*QueryMintedResponse) Descriptor() ([]byte, []int)
- func (m *QueryMintedResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryMintedResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryMintedResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryMintedResponse) ProtoMessage()
- func (m *QueryMintedResponse) Reset()
- func (m *QueryMintedResponse) Size() (n int)
- func (m *QueryMintedResponse) String() string
- func (m *QueryMintedResponse) Unmarshal(dAtA []byte) error
- func (m *QueryMintedResponse) XXX_DiscardUnknown()
- func (m *QueryMintedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryMintedResponse) XXX_Merge(src proto.Message)
- func (m *QueryMintedResponse) XXX_Size() int
- func (m *QueryMintedResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type QuerySupplyRequest
- func (*QuerySupplyRequest) Descriptor() ([]byte, []int)
- func (m *QuerySupplyRequest) GetContractId() 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) 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) AuthorizeOperator(ctx context.Context, req *MsgAuthorizeOperator) (*MsgAuthorizeOperatorResponse, error)
- func (*UnimplementedMsgServer) Burn(ctx context.Context, req *MsgBurn) (*MsgBurnResponse, error)
- func (*UnimplementedMsgServer) GrantPermission(ctx context.Context, req *MsgGrantPermission) (*MsgGrantPermissionResponse, error)
- func (*UnimplementedMsgServer) Issue(ctx context.Context, req *MsgIssue) (*MsgIssueResponse, error)
- func (*UnimplementedMsgServer) Mint(ctx context.Context, req *MsgMint) (*MsgMintResponse, error)
- func (*UnimplementedMsgServer) Modify(ctx context.Context, req *MsgModify) (*MsgModifyResponse, error)
- func (*UnimplementedMsgServer) OperatorBurn(ctx context.Context, req *MsgOperatorBurn) (*MsgOperatorBurnResponse, error)
- func (*UnimplementedMsgServer) OperatorSend(ctx context.Context, req *MsgOperatorSend) (*MsgOperatorSendResponse, error)
- func (*UnimplementedMsgServer) RevokeOperator(ctx context.Context, req *MsgRevokeOperator) (*MsgRevokeOperatorResponse, error)
- func (*UnimplementedMsgServer) RevokePermission(ctx context.Context, req *MsgRevokePermission) (*MsgRevokePermissionResponse, error)
- func (*UnimplementedMsgServer) Send(ctx context.Context, req *MsgSend) (*MsgSendResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) Balance(ctx context.Context, req *QueryBalanceRequest) (*QueryBalanceResponse, error)
- func (*UnimplementedQueryServer) Burnt(ctx context.Context, req *QueryBurntRequest) (*QueryBurntResponse, error)
- func (*UnimplementedQueryServer) Contract(ctx context.Context, req *QueryContractRequest) (*QueryContractResponse, error)
- func (*UnimplementedQueryServer) GranteeGrants(ctx context.Context, req *QueryGranteeGrantsRequest) (*QueryGranteeGrantsResponse, error)
- func (*UnimplementedQueryServer) HoldersByOperator(ctx context.Context, req *QueryHoldersByOperatorRequest) (*QueryHoldersByOperatorResponse, error)
- func (*UnimplementedQueryServer) IsOperatorFor(ctx context.Context, req *QueryIsOperatorForRequest) (*QueryIsOperatorForResponse, error)
- func (*UnimplementedQueryServer) Minted(ctx context.Context, req *QueryMintedRequest) (*QueryMintedResponse, error)
- func (*UnimplementedQueryServer) Supply(ctx context.Context, req *QuerySupplyRequest) (*QuerySupplyResponse, error)
Constants ¶
const ( // ModuleName is the module name constant used in many places ModuleName = "token" // StoreKey defines the primary module store key StoreKey = ModuleName // RouterKey defines the module's message routing key RouterKey = ModuleName )
Variables ¶
var ( ErrTokenNotExist = sdkerrors.Register(tokenCodespace, 2, "token does not exist") ErrTokenNotMintable = sdkerrors.Register(tokenCodespace, 3, "token is not mintable") ErrInvalidTokenName = sdkerrors.Register(tokenCodespace, 4, "token name should not be empty") ErrInvalidTokenDecimals = sdkerrors.Register(tokenCodespace, 5, "token decimals should be within the range in 0 ~ 18") ErrInvalidAmount = sdkerrors.Register(tokenCodespace, 6, "invalid token amount") ErrInvalidImageURILength = sdkerrors.Register(tokenCodespace, 7, "invalid token uri length") ErrInvalidNameLength = sdkerrors.Register(tokenCodespace, 8, "invalid name length") ErrInvalidTokenSymbol = sdkerrors.Register(tokenCodespace, 9, "invalid token symbol") ErrTokenNoPermission = sdkerrors.Register(tokenCodespace, 10, "account does not have the permission") ErrAccountExist = sdkerrors.Register(tokenCodespace, 11, "account already exists") ErrAccountNotExist = sdkerrors.Register(tokenCodespace, 12, "account does not exists") ErrInsufficientBalance = sdkerrors.Register(tokenCodespace, 13, "insufficient balance") ErrSupplyExist = sdkerrors.Register(tokenCodespace, 14, "supply for token already exists") ErrInsufficientSupply = sdkerrors.Register(tokenCodespace, 15, "insufficient supply") ErrInvalidChangesFieldCount = sdkerrors.Register(tokenCodespace, 16, "invalid count of field changes") ErrEmptyChanges = sdkerrors.Register(tokenCodespace, 17, "changes is empty") ErrInvalidChangesField = sdkerrors.Register(tokenCodespace, 18, "invalid field of changes") ErrDuplicateChangesField = sdkerrors.Register(tokenCodespace, 19, "invalid field of changes") ErrInvalidMetaLength = sdkerrors.Register(tokenCodespace, 20, "invalid meta length") ErrSupplyOverflow = sdkerrors.Register(tokenCodespace, 21, "supply for token reached maximum") ErrApproverProxySame = sdkerrors.Register(tokenCodespace, 22, "approver is same with proxy") ErrTokenNotApproved = sdkerrors.Register(tokenCodespace, 23, "proxy is not approved on the token") ErrTokenAlreadyApproved = sdkerrors.Register(tokenCodespace, 24, "proxy is already approved on the token") )
var ( ErrInvalidLengthEvent = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowEvent = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupEvent = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthToken = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowToken = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupToken = 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 AttributeKey_name = map[int32]string{
0: "ATTRIBUTE_KEY_UNSPECIFIED",
1: "ATTRIBUTE_KEY_NAME",
3: "ATTRIBUTE_KEY_META",
8: "ATTRIBUTE_KEY_IMG_URI",
15: "ATTRIBUTE_KEY_URI",
}
var AttributeKey_value = map[string]int32{
"ATTRIBUTE_KEY_UNSPECIFIED": 0,
"ATTRIBUTE_KEY_NAME": 1,
"ATTRIBUTE_KEY_META": 3,
"ATTRIBUTE_KEY_IMG_URI": 8,
"ATTRIBUTE_KEY_URI": 15,
}
var LegacyPermission_name = map[int32]string{
0: "LEGACY_PERMISSION_UNSPECIFIED",
1: "LEGACY_PERMISSION_MODIFY",
2: "LEGACY_PERMISSION_MINT",
3: "LEGACY_PERMISSION_BURN",
}
var LegacyPermission_value = map[string]int32{
"LEGACY_PERMISSION_UNSPECIFIED": 0,
"LEGACY_PERMISSION_MODIFY": 1,
"LEGACY_PERMISSION_MINT": 2,
"LEGACY_PERMISSION_BURN": 3,
}
var (
ModuleCdc = codec.NewAminoCodec(amino)
)
var Permission_name = map[int32]string{
0: "PERMISSION_UNSPECIFIED",
1: "PERMISSION_MODIFY",
2: "PERMISSION_MINT",
3: "PERMISSION_BURN",
}
var Permission_value = map[string]int32{
"PERMISSION_UNSPECIFIED": 0,
"PERMISSION_MODIFY": 1,
"PERMISSION_MINT": 2,
"PERMISSION_BURN": 3,
}
Functions ¶
func RegisterInterfaces ¶
func RegisterInterfaces(registry types.InterfaceRegistry)
func RegisterLegacyAminoCodec ¶
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
RegisterLegacyAminoCodec registers concrete types on the LegacyAmino 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 (such as grpc.SendHeader, etc) to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
func UpdateMsgModify ¶
func UpdateMsgModify(msg *MsgModify)
func ValidateClassGenesis ¶
func ValidateClassGenesis(data ClassGenesisState) error
For Class keeper
func ValidateContractID ¶
func ValidateGenesis ¶
func ValidateGenesis(data GenesisState) error
ValidateGenesis check the given genesis state has no integrity issues
func ValidatePermission ¶
func ValidatePermission(permission Permission) error
Types ¶
type Attribute ¶
type Attribute struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
}
Attribute defines a key and value of the attribute.
func (*Attribute) Descriptor ¶
func (*Attribute) MarshalToSizedBuffer ¶
func (*Attribute) ProtoMessage ¶
func (*Attribute) ProtoMessage()
func (*Attribute) XXX_DiscardUnknown ¶
func (m *Attribute) XXX_DiscardUnknown()
func (*Attribute) XXX_Marshal ¶
func (*Attribute) XXX_Unmarshal ¶
type AttributeKey ¶
type AttributeKey int32
AttributeKey enumerates the valid attribute keys on x/token.
const ( AttributeKeyUnspecified AttributeKey = 0 AttributeKeyName AttributeKey = 1 AttributeKeyMeta AttributeKey = 3 // deprecated: use ATTRIBUTE_KEY_URI AttributeKeyImageURI AttributeKey = 8 AttributeKeyURI AttributeKey = 15 )
func AttributeKeyFromString ¶
func AttributeKeyFromString(name string) AttributeKey
func (AttributeKey) EnumDescriptor ¶
func (AttributeKey) EnumDescriptor() ([]byte, []int)
func (AttributeKey) String ¶
func (x AttributeKey) String() string
type Authorization ¶
type Authorization struct {
// address of the token holder which approves the authorization.
Holder string `protobuf:"bytes,1,opt,name=holder,proto3" json:"holder,omitempty"`
// address of the operator which the authorization is granted to.
Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"`
}
Authorization defines an authorization given to the operator on tokens of the holder.
func (*Authorization) Descriptor ¶
func (*Authorization) Descriptor() ([]byte, []int)
func (*Authorization) Marshal ¶
func (m *Authorization) Marshal() (dAtA []byte, err error)
func (*Authorization) MarshalToSizedBuffer ¶
func (m *Authorization) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Authorization) ProtoMessage ¶
func (*Authorization) ProtoMessage()
func (*Authorization) Reset ¶
func (m *Authorization) Reset()
func (*Authorization) Size ¶
func (m *Authorization) Size() (n int)
func (*Authorization) String ¶
func (m *Authorization) String() string
func (*Authorization) Unmarshal ¶
func (m *Authorization) Unmarshal(dAtA []byte) error
func (*Authorization) XXX_DiscardUnknown ¶
func (m *Authorization) XXX_DiscardUnknown()
func (*Authorization) XXX_Marshal ¶
func (m *Authorization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Authorization) XXX_Merge ¶
func (m *Authorization) XXX_Merge(src proto.Message)
func (*Authorization) XXX_Size ¶
func (m *Authorization) XXX_Size() int
func (*Authorization) XXX_Unmarshal ¶
func (m *Authorization) XXX_Unmarshal(b []byte) error
type Balance ¶
type Balance struct {
// address of the holder.
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
// amount of the balance.
Amount github_com_PikeEcosystem_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=amount,proto3,customtype=github.com/PikeEcosystem/cosmos-sdk/types.Int" json:"amount"`
}
Balance defines a balance of an address.
func (*Balance) Descriptor ¶
func (*Balance) GetAddress ¶
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 ClassGenesisState ¶
type ClassGenesisState struct {
// nonce is the next class nonce to issue.
Nonce github_com_PikeEcosystem_cosmos_sdk_types.Uint `protobuf:"bytes,1,opt,name=nonce,proto3,customtype=github.com/PikeEcosystem/cosmos-sdk/types.Uint" json:"nonce"`
// ids represents the issued ids.
Ids []string `protobuf:"bytes,2,rep,name=ids,proto3" json:"ids,omitempty"`
}
ClassGenesisState defines the classs keeper's genesis state.
func DefaultClassGenesisState ¶
func DefaultClassGenesisState() *ClassGenesisState
func (*ClassGenesisState) Descriptor ¶
func (*ClassGenesisState) Descriptor() ([]byte, []int)
func (*ClassGenesisState) GetIds ¶
func (m *ClassGenesisState) GetIds() []string
func (*ClassGenesisState) Marshal ¶
func (m *ClassGenesisState) Marshal() (dAtA []byte, err error)
func (*ClassGenesisState) MarshalTo ¶
func (m *ClassGenesisState) MarshalTo(dAtA []byte) (int, error)
func (*ClassGenesisState) MarshalToSizedBuffer ¶
func (m *ClassGenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ClassGenesisState) ProtoMessage ¶
func (*ClassGenesisState) ProtoMessage()
func (*ClassGenesisState) Reset ¶
func (m *ClassGenesisState) Reset()
func (*ClassGenesisState) Size ¶
func (m *ClassGenesisState) Size() (n int)
func (*ClassGenesisState) String ¶
func (m *ClassGenesisState) String() string
func (*ClassGenesisState) Unmarshal ¶
func (m *ClassGenesisState) Unmarshal(dAtA []byte) error
func (*ClassGenesisState) XXX_DiscardUnknown ¶
func (m *ClassGenesisState) XXX_DiscardUnknown()
func (*ClassGenesisState) XXX_Marshal ¶
func (m *ClassGenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClassGenesisState) XXX_Merge ¶
func (m *ClassGenesisState) XXX_Merge(src proto.Message)
func (*ClassGenesisState) XXX_Size ¶
func (m *ClassGenesisState) XXX_Size() int
func (*ClassGenesisState) XXX_Unmarshal ¶
func (m *ClassGenesisState) XXX_Unmarshal(b []byte) error
type ClassKeeper ¶
type ClassKeeper interface {
NewID(ctx sdk.Context) string
HasID(ctx sdk.Context, id string) bool
InitGenesis(ctx sdk.Context, data *ClassGenesisState)
ExportGenesis(ctx sdk.Context) *ClassGenesisState
}
ClassKeeper defines the contract needed to be fulfilled for class dependencies.
type Contract ¶
type Contract struct {
// id defines the unique identifier of the contract.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// name defines the human-readable name of the contract. mandatory (not ERC20 compliant).
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// symbol is an abbreviated name for contract. mandatory (not ERC20 compliant).
Symbol string `protobuf:"bytes,3,opt,name=symbol,proto3" json:"symbol,omitempty"`
// an uri for the image of the contract stored off chain.
Uri string `protobuf:"bytes,4,opt,name=uri,proto3" json:"uri,omitempty"`
// meta is a brief description of contract.
Meta string `protobuf:"bytes,5,opt,name=meta,proto3" json:"meta,omitempty"`
// decimals is the number of decimals which one must divide the amount by to get its user representation.
Decimals int32 `protobuf:"varint,6,opt,name=decimals,proto3" json:"decimals,omitempty"`
// mintable represents whether the token is allowed to mint or burn.
Mintable bool `protobuf:"varint,7,opt,name=mintable,proto3" json:"mintable,omitempty"`
}
Contract defines token information.
func (*Contract) Descriptor ¶
func (*Contract) MarshalToSizedBuffer ¶
func (*Contract) ProtoMessage ¶
func (*Contract) ProtoMessage()
func (*Contract) XXX_DiscardUnknown ¶
func (m *Contract) XXX_DiscardUnknown()
func (*Contract) XXX_Marshal ¶
func (*Contract) XXX_Unmarshal ¶
type ContractAuthorizations ¶
type ContractAuthorizations struct {
// contract id associated with the token class.
ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
// authorizations of the contract.
Authorizations []Authorization `protobuf:"bytes,2,rep,name=authorizations,proto3" json:"authorizations"`
}
ContractAuthorizations defines authorizations belong to a contract.
func (*ContractAuthorizations) Descriptor ¶
func (*ContractAuthorizations) Descriptor() ([]byte, []int)
func (*ContractAuthorizations) GetAuthorizations ¶
func (m *ContractAuthorizations) GetAuthorizations() []Authorization
func (*ContractAuthorizations) GetContractId ¶
func (m *ContractAuthorizations) GetContractId() string
func (*ContractAuthorizations) Marshal ¶
func (m *ContractAuthorizations) Marshal() (dAtA []byte, err error)
func (*ContractAuthorizations) MarshalTo ¶
func (m *ContractAuthorizations) MarshalTo(dAtA []byte) (int, error)
func (*ContractAuthorizations) MarshalToSizedBuffer ¶
func (m *ContractAuthorizations) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ContractAuthorizations) ProtoMessage ¶
func (*ContractAuthorizations) ProtoMessage()
func (*ContractAuthorizations) Reset ¶
func (m *ContractAuthorizations) Reset()
func (*ContractAuthorizations) Size ¶
func (m *ContractAuthorizations) Size() (n int)
func (*ContractAuthorizations) String ¶
func (m *ContractAuthorizations) String() string
func (*ContractAuthorizations) Unmarshal ¶
func (m *ContractAuthorizations) Unmarshal(dAtA []byte) error
func (*ContractAuthorizations) XXX_DiscardUnknown ¶
func (m *ContractAuthorizations) XXX_DiscardUnknown()
func (*ContractAuthorizations) XXX_Marshal ¶
func (m *ContractAuthorizations) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ContractAuthorizations) XXX_Merge ¶
func (m *ContractAuthorizations) XXX_Merge(src proto.Message)
func (*ContractAuthorizations) XXX_Size ¶
func (m *ContractAuthorizations) XXX_Size() int
func (*ContractAuthorizations) XXX_Unmarshal ¶
func (m *ContractAuthorizations) XXX_Unmarshal(b []byte) error
type ContractBalances ¶
type ContractBalances struct {
// contract id associated with the token class.
ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
// balances of the contract.
Balances []Balance `protobuf:"bytes,2,rep,name=balances,proto3" json:"balances"`
}
ContractBalances defines balances belong to a contract. genesis state.
func (*ContractBalances) Descriptor ¶
func (*ContractBalances) Descriptor() ([]byte, []int)
func (*ContractBalances) GetBalances ¶
func (m *ContractBalances) GetBalances() []Balance
func (*ContractBalances) GetContractId ¶
func (m *ContractBalances) GetContractId() string
func (*ContractBalances) Marshal ¶
func (m *ContractBalances) Marshal() (dAtA []byte, err error)
func (*ContractBalances) MarshalToSizedBuffer ¶
func (m *ContractBalances) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ContractBalances) ProtoMessage ¶
func (*ContractBalances) ProtoMessage()
func (*ContractBalances) Reset ¶
func (m *ContractBalances) Reset()
func (*ContractBalances) Size ¶
func (m *ContractBalances) Size() (n int)
func (*ContractBalances) String ¶
func (m *ContractBalances) String() string
func (*ContractBalances) Unmarshal ¶
func (m *ContractBalances) Unmarshal(dAtA []byte) error
func (*ContractBalances) XXX_DiscardUnknown ¶
func (m *ContractBalances) XXX_DiscardUnknown()
func (*ContractBalances) XXX_Marshal ¶
func (m *ContractBalances) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ContractBalances) XXX_Merge ¶
func (m *ContractBalances) XXX_Merge(src proto.Message)
func (*ContractBalances) XXX_Size ¶
func (m *ContractBalances) XXX_Size() int
func (*ContractBalances) XXX_Unmarshal ¶
func (m *ContractBalances) XXX_Unmarshal(b []byte) error
type ContractCoin ¶
type ContractCoin struct {
// contract id associated with the token class.
ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
// amount of the token.
Amount github_com_PikeEcosystem_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=amount,proto3,customtype=github.com/PikeEcosystem/cosmos-sdk/types.Int" json:"amount"`
}
func (*ContractCoin) Descriptor ¶
func (*ContractCoin) Descriptor() ([]byte, []int)
func (*ContractCoin) GetContractId ¶
func (m *ContractCoin) GetContractId() string
func (*ContractCoin) Marshal ¶
func (m *ContractCoin) Marshal() (dAtA []byte, err error)
func (*ContractCoin) MarshalToSizedBuffer ¶
func (m *ContractCoin) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ContractCoin) ProtoMessage ¶
func (*ContractCoin) ProtoMessage()
func (*ContractCoin) Reset ¶
func (m *ContractCoin) Reset()
func (*ContractCoin) Size ¶
func (m *ContractCoin) Size() (n int)
func (*ContractCoin) String ¶
func (m *ContractCoin) String() string
func (*ContractCoin) Unmarshal ¶
func (m *ContractCoin) Unmarshal(dAtA []byte) error
func (*ContractCoin) XXX_DiscardUnknown ¶
func (m *ContractCoin) XXX_DiscardUnknown()
func (*ContractCoin) XXX_Marshal ¶
func (m *ContractCoin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ContractCoin) XXX_Merge ¶
func (m *ContractCoin) XXX_Merge(src proto.Message)
func (*ContractCoin) XXX_Size ¶
func (m *ContractCoin) XXX_Size() int
func (*ContractCoin) XXX_Unmarshal ¶
func (m *ContractCoin) XXX_Unmarshal(b []byte) error
type ContractGrants ¶
type ContractGrants struct {
// contract id associated with the token class.
ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
// grants of the contract.
Grants []Grant `protobuf:"bytes,2,rep,name=grants,proto3" json:"grants"`
}
ContractGrant defines grants belong to a contract.
func (*ContractGrants) Descriptor ¶
func (*ContractGrants) Descriptor() ([]byte, []int)
func (*ContractGrants) GetContractId ¶
func (m *ContractGrants) GetContractId() string
func (*ContractGrants) GetGrants ¶
func (m *ContractGrants) GetGrants() []Grant
func (*ContractGrants) Marshal ¶
func (m *ContractGrants) Marshal() (dAtA []byte, err error)
func (*ContractGrants) MarshalToSizedBuffer ¶
func (m *ContractGrants) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ContractGrants) ProtoMessage ¶
func (*ContractGrants) ProtoMessage()
func (*ContractGrants) Reset ¶
func (m *ContractGrants) Reset()
func (*ContractGrants) Size ¶
func (m *ContractGrants) Size() (n int)
func (*ContractGrants) String ¶
func (m *ContractGrants) String() string
func (*ContractGrants) Unmarshal ¶
func (m *ContractGrants) Unmarshal(dAtA []byte) error
func (*ContractGrants) XXX_DiscardUnknown ¶
func (m *ContractGrants) XXX_DiscardUnknown()
func (*ContractGrants) XXX_Marshal ¶
func (m *ContractGrants) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ContractGrants) XXX_Merge ¶
func (m *ContractGrants) XXX_Merge(src proto.Message)
func (*ContractGrants) XXX_Size ¶
func (m *ContractGrants) XXX_Size() int
func (*ContractGrants) XXX_Unmarshal ¶
func (m *ContractGrants) XXX_Unmarshal(b []byte) error
type EventAuthorizedOperator ¶
type EventAuthorizedOperator struct {
// contract id associated with the contract.
ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
// address of a holder which authorized the `operator` address as an operator.
Holder string `protobuf:"bytes,2,opt,name=holder,proto3" json:"holder,omitempty"`
// address which became an operator of `holder`.
Operator string `protobuf:"bytes,3,opt,name=operator,proto3" json:"operator,omitempty"`
}
EventAuthorizedOperator is emitted when a holder authorizes an operator to manipulate its tokens.
Since: 0.46.0 (cosmos-sdk)
func (*EventAuthorizedOperator) Descriptor ¶
func (*EventAuthorizedOperator) Descriptor() ([]byte, []int)
func (*EventAuthorizedOperator) GetContractId ¶
func (m *EventAuthorizedOperator) GetContractId() string
func (*EventAuthorizedOperator) GetHolder ¶
func (m *EventAuthorizedOperator) GetHolder() string
func (*EventAuthorizedOperator) GetOperator ¶
func (m *EventAuthorizedOperator) GetOperator() string
func (*EventAuthorizedOperator) Marshal ¶
func (m *EventAuthorizedOperator) Marshal() (dAtA []byte, err error)
func (*EventAuthorizedOperator) MarshalTo ¶
func (m *EventAuthorizedOperator) MarshalTo(dAtA []byte) (int, error)
func (*EventAuthorizedOperator) MarshalToSizedBuffer ¶
func (m *EventAuthorizedOperator) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventAuthorizedOperator) ProtoMessage ¶
func (*EventAuthorizedOperator) ProtoMessage()
func (*EventAuthorizedOperator) Reset ¶
func (m *EventAuthorizedOperator) Reset()
func (*EventAuthorizedOperator) Size ¶
func (m *EventAuthorizedOperator) Size() (n int)
func (*EventAuthorizedOperator) String ¶
func (m *EventAuthorizedOperator) String() string
func (*EventAuthorizedOperator) Unmarshal ¶
func (m *EventAuthorizedOperator) Unmarshal(dAtA []byte) error
func (*EventAuthorizedOperator) XXX_DiscardUnknown ¶
func (m *EventAuthorizedOperator) XXX_DiscardUnknown()
func (*EventAuthorizedOperator) XXX_Marshal ¶
func (m *EventAuthorizedOperator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventAuthorizedOperator) XXX_Merge ¶
func (m *EventAuthorizedOperator) XXX_Merge(src proto.Message)
func (*EventAuthorizedOperator) XXX_Size ¶
func (m *EventAuthorizedOperator) XXX_Size() int
func (*EventAuthorizedOperator) XXX_Unmarshal ¶
func (m *EventAuthorizedOperator) XXX_Unmarshal(b []byte) error
type EventBurned ¶
type EventBurned struct {
// contract id associated with the contract.
ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
// address which triggered the burn.
Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"`
// holder whose tokens were burned.
From string `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty"`
// number of tokens burned.
Amount github_com_PikeEcosystem_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=amount,proto3,customtype=github.com/PikeEcosystem/cosmos-sdk/types.Int" json:"amount"`
}
EventBurned is emitted when tokens are burnt.
Since: 0.46.0 (cosmos-sdk)
func (*EventBurned) Descriptor ¶
func (*EventBurned) Descriptor() ([]byte, []int)
func (*EventBurned) GetContractId ¶
func (m *EventBurned) GetContractId() string
func (*EventBurned) GetFrom ¶
func (m *EventBurned) GetFrom() string
func (*EventBurned) GetOperator ¶
func (m *EventBurned) GetOperator() string
func (*EventBurned) Marshal ¶
func (m *EventBurned) Marshal() (dAtA []byte, err error)
func (*EventBurned) MarshalToSizedBuffer ¶
func (m *EventBurned) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventBurned) ProtoMessage ¶
func (*EventBurned) ProtoMessage()
func (*EventBurned) Reset ¶
func (m *EventBurned) Reset()
func (*EventBurned) Size ¶
func (m *EventBurned) Size() (n int)
func (*EventBurned) String ¶
func (m *EventBurned) String() string
func (*EventBurned) Unmarshal ¶
func (m *EventBurned) Unmarshal(dAtA []byte) error
func (*EventBurned) XXX_DiscardUnknown ¶
func (m *EventBurned) XXX_DiscardUnknown()
func (*EventBurned) XXX_Marshal ¶
func (m *EventBurned) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventBurned) XXX_Merge ¶
func (m *EventBurned) XXX_Merge(src proto.Message)
func (*EventBurned) XXX_Size ¶
func (m *EventBurned) XXX_Size() int
func (*EventBurned) XXX_Unmarshal ¶
func (m *EventBurned) XXX_Unmarshal(b []byte) error
type EventGranted ¶
type EventGranted struct {
// contract id associated with the contract.
ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
// address which granted the permission to `grantee`.
// it would be empty where the event is triggered by the issuance.
Granter string `protobuf:"bytes,2,opt,name=granter,proto3" json:"granter,omitempty"`
// address of the grantee.
Grantee string `protobuf:"bytes,3,opt,name=grantee,proto3" json:"grantee,omitempty"`
// permission on the contract.
Permission Permission `protobuf:"varint,4,opt,name=permission,proto3,enum=lbm.token.v1.Permission" json:"permission,omitempty"`
}
EventGranted is emitted when a granter grants its permission to a grantee.
Info: `granter` would be empty if the permission is granted by an issuance.
Since: 0.46.0 (cosmos-sdk)
func (*EventGranted) Descriptor ¶
func (*EventGranted) Descriptor() ([]byte, []int)
func (*EventGranted) GetContractId ¶
func (m *EventGranted) GetContractId() string
func (*EventGranted) GetGrantee ¶
func (m *EventGranted) GetGrantee() string
func (*EventGranted) GetGranter ¶
func (m *EventGranted) GetGranter() string
func (*EventGranted) GetPermission ¶
func (m *EventGranted) GetPermission() Permission
func (*EventGranted) Marshal ¶
func (m *EventGranted) Marshal() (dAtA []byte, err error)
func (*EventGranted) MarshalToSizedBuffer ¶
func (m *EventGranted) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventGranted) ProtoMessage ¶
func (*EventGranted) ProtoMessage()
func (*EventGranted) Reset ¶
func (m *EventGranted) Reset()
func (*EventGranted) Size ¶
func (m *EventGranted) Size() (n int)
func (*EventGranted) String ¶
func (m *EventGranted) String() string
func (*EventGranted) Unmarshal ¶
func (m *EventGranted) Unmarshal(dAtA []byte) error
func (*EventGranted) XXX_DiscardUnknown ¶
func (m *EventGranted) XXX_DiscardUnknown()
func (*EventGranted) XXX_Marshal ¶
func (m *EventGranted) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventGranted) XXX_Merge ¶
func (m *EventGranted) XXX_Merge(src proto.Message)
func (*EventGranted) XXX_Size ¶
func (m *EventGranted) XXX_Size() int
func (*EventGranted) XXX_Unmarshal ¶
func (m *EventGranted) XXX_Unmarshal(b []byte) error
type EventIssued ¶
type EventIssued struct {
// address which created the contract.
Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
// contract id associated with the contract.
ContractId string `protobuf:"bytes,2,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
// name defines the human-readable name of the contract.
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
// symbol is an abbreviated name for contract.
Symbol string `protobuf:"bytes,4,opt,name=symbol,proto3" json:"symbol,omitempty"`
// uri is an uri for the resource of the contract stored off chain.
Uri string `protobuf:"bytes,5,opt,name=uri,proto3" json:"uri,omitempty"`
// meta is a brief description of contract.
Meta string `protobuf:"bytes,6,opt,name=meta,proto3" json:"meta,omitempty"`
// decimals is the number of decimals which one must divide the amount by to get its user representation.
Decimals int32 `protobuf:"varint,7,opt,name=decimals,proto3" json:"decimals,omitempty"`
// mintable represents whether the token is allowed to mint.
Mintable bool `protobuf:"varint,8,opt,name=mintable,proto3" json:"mintable,omitempty"`
}
EventIssued is emitted when a new contract is created.
Since: 0.46.0 (cosmos-sdk)
func (*EventIssued) Descriptor ¶
func (*EventIssued) Descriptor() ([]byte, []int)
func (*EventIssued) GetContractId ¶
func (m *EventIssued) GetContractId() string
func (*EventIssued) GetCreator ¶
func (m *EventIssued) GetCreator() string
func (*EventIssued) GetDecimals ¶
func (m *EventIssued) GetDecimals() int32
func (*EventIssued) GetMeta ¶
func (m *EventIssued) GetMeta() string
func (*EventIssued) GetMintable ¶
func (m *EventIssued) GetMintable() bool
func (*EventIssued) GetName ¶
func (m *EventIssued) GetName() string
func (*EventIssued) GetSymbol ¶
func (m *EventIssued) GetSymbol() string
func (*EventIssued) GetUri ¶
func (m *EventIssued) GetUri() string
func (*EventIssued) Marshal ¶
func (m *EventIssued) Marshal() (dAtA []byte, err error)
func (*EventIssued) MarshalToSizedBuffer ¶
func (m *EventIssued) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventIssued) ProtoMessage ¶
func (*EventIssued) ProtoMessage()
func (*EventIssued) Reset ¶
func (m *EventIssued) Reset()
func (*EventIssued) Size ¶
func (m *EventIssued) Size() (n int)
func (*EventIssued) String ¶
func (m *EventIssued) String() string
func (*EventIssued) Unmarshal ¶
func (m *EventIssued) Unmarshal(dAtA []byte) error
func (*EventIssued) XXX_DiscardUnknown ¶
func (m *EventIssued) XXX_DiscardUnknown()
func (*EventIssued) XXX_Marshal ¶
func (m *EventIssued) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventIssued) XXX_Merge ¶
func (m *EventIssued) XXX_Merge(src proto.Message)
func (*EventIssued) XXX_Size ¶
func (m *EventIssued) XXX_Size() int
func (*EventIssued) XXX_Unmarshal ¶
func (m *EventIssued) XXX_Unmarshal(b []byte) error
type EventMinted ¶
type EventMinted struct {
// contract id associated with the contract.
ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
// address which triggered the mint.
Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"`
// recipient of the tokens.
To string `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"`
// number of tokens minted.
Amount github_com_PikeEcosystem_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=amount,proto3,customtype=github.com/PikeEcosystem/cosmos-sdk/types.Int" json:"amount"`
}
EventMinted is emitted when tokens are minted.
Since: 0.46.0 (cosmos-sdk)
func (*EventMinted) Descriptor ¶
func (*EventMinted) Descriptor() ([]byte, []int)
func (*EventMinted) GetContractId ¶
func (m *EventMinted) GetContractId() string
func (*EventMinted) GetOperator ¶
func (m *EventMinted) GetOperator() string
func (*EventMinted) GetTo ¶
func (m *EventMinted) GetTo() string
func (*EventMinted) Marshal ¶
func (m *EventMinted) Marshal() (dAtA []byte, err error)
func (*EventMinted) MarshalToSizedBuffer ¶
func (m *EventMinted) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventMinted) ProtoMessage ¶
func (*EventMinted) ProtoMessage()
func (*EventMinted) Reset ¶
func (m *EventMinted) Reset()
func (*EventMinted) Size ¶
func (m *EventMinted) Size() (n int)
func (*EventMinted) String ¶
func (m *EventMinted) String() string
func (*EventMinted) Unmarshal ¶
func (m *EventMinted) Unmarshal(dAtA []byte) error
func (*EventMinted) XXX_DiscardUnknown ¶
func (m *EventMinted) XXX_DiscardUnknown()
func (*EventMinted) XXX_Marshal ¶
func (m *EventMinted) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventMinted) XXX_Merge ¶
func (m *EventMinted) XXX_Merge(src proto.Message)
func (*EventMinted) XXX_Size ¶
func (m *EventMinted) XXX_Size() int
func (*EventMinted) XXX_Unmarshal ¶
func (m *EventMinted) XXX_Unmarshal(b []byte) error
type EventModified ¶
type EventModified struct {
// contract id associated with the contract.
ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
// address which triggered the modify.
Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"`
// changes on the metadata of the class.
// possible attribute keys are same as those of MsgModify.
// deprecated "img_uri" has been replaced by "uri" in the events.
Changes []Attribute `protobuf:"bytes,3,rep,name=changes,proto3" json:"changes"`
}
EventModified is emitted when the information of a contract is modified.
Since: 0.46.0 (cosmos-sdk)
func (*EventModified) Descriptor ¶
func (*EventModified) Descriptor() ([]byte, []int)
func (*EventModified) GetChanges ¶
func (m *EventModified) GetChanges() []Attribute
func (*EventModified) GetContractId ¶
func (m *EventModified) GetContractId() string
func (*EventModified) GetOperator ¶
func (m *EventModified) GetOperator() string
func (*EventModified) Marshal ¶
func (m *EventModified) Marshal() (dAtA []byte, err error)
func (*EventModified) MarshalToSizedBuffer ¶
func (m *EventModified) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventModified) ProtoMessage ¶
func (*EventModified) ProtoMessage()
func (*EventModified) Reset ¶
func (m *EventModified) Reset()
func (*EventModified) Size ¶
func (m *EventModified) Size() (n int)
func (*EventModified) String ¶
func (m *EventModified) String() string
func (*EventModified) Unmarshal ¶
func (m *EventModified) Unmarshal(dAtA []byte) error
func (*EventModified) XXX_DiscardUnknown ¶
func (m *EventModified) XXX_DiscardUnknown()
func (*EventModified) XXX_Marshal ¶
func (m *EventModified) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventModified) XXX_Merge ¶
func (m *EventModified) XXX_Merge(src proto.Message)
func (*EventModified) XXX_Size ¶
func (m *EventModified) XXX_Size() int
func (*EventModified) XXX_Unmarshal ¶
func (m *EventModified) XXX_Unmarshal(b []byte) error
type EventRenounced ¶
type EventRenounced struct {
// contract id associated with the contract.
ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
// address of the grantee which abandons its grant.
Grantee string `protobuf:"bytes,2,opt,name=grantee,proto3" json:"grantee,omitempty"`
// permission on the contract.
Permission Permission `protobuf:"varint,3,opt,name=permission,proto3,enum=lbm.token.v1.Permission" json:"permission,omitempty"`
}
EventRenounced is emitted when a grantee renounces its permission.
Since: 0.46.0 (cosmos-sdk)
func (*EventRenounced) Descriptor ¶
func (*EventRenounced) Descriptor() ([]byte, []int)
func (*EventRenounced) GetContractId ¶
func (m *EventRenounced) GetContractId() string
func (*EventRenounced) GetGrantee ¶
func (m *EventRenounced) GetGrantee() string
func (*EventRenounced) GetPermission ¶
func (m *EventRenounced) GetPermission() Permission
func (*EventRenounced) Marshal ¶
func (m *EventRenounced) Marshal() (dAtA []byte, err error)
func (*EventRenounced) MarshalToSizedBuffer ¶
func (m *EventRenounced) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventRenounced) ProtoMessage ¶
func (*EventRenounced) ProtoMessage()
func (*EventRenounced) Reset ¶
func (m *EventRenounced) Reset()
func (*EventRenounced) Size ¶
func (m *EventRenounced) Size() (n int)
func (*EventRenounced) String ¶
func (m *EventRenounced) String() string
func (*EventRenounced) Unmarshal ¶
func (m *EventRenounced) Unmarshal(dAtA []byte) error
func (*EventRenounced) XXX_DiscardUnknown ¶
func (m *EventRenounced) XXX_DiscardUnknown()
func (*EventRenounced) XXX_Marshal ¶
func (m *EventRenounced) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventRenounced) XXX_Merge ¶
func (m *EventRenounced) XXX_Merge(src proto.Message)
func (*EventRenounced) XXX_Size ¶
func (m *EventRenounced) XXX_Size() int
func (*EventRenounced) XXX_Unmarshal ¶
func (m *EventRenounced) XXX_Unmarshal(b []byte) error
type EventRevokedOperator ¶
type EventRevokedOperator struct {
// contract id associated with the contract.
ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
// address of a holder which revoked the `operator` address as an operator.
Holder string `protobuf:"bytes,2,opt,name=holder,proto3" json:"holder,omitempty"`
// address which was revoked as an operator of `holder`.
Operator string `protobuf:"bytes,3,opt,name=operator,proto3" json:"operator,omitempty"`
}
EventRevokedOperator is emitted when an authorization is revoked.
Since: 0.46.0 (cosmos-sdk)
func (*EventRevokedOperator) Descriptor ¶
func (*EventRevokedOperator) Descriptor() ([]byte, []int)
func (*EventRevokedOperator) GetContractId ¶
func (m *EventRevokedOperator) GetContractId() string
func (*EventRevokedOperator) GetHolder ¶
func (m *EventRevokedOperator) GetHolder() string
func (*EventRevokedOperator) GetOperator ¶
func (m *EventRevokedOperator) GetOperator() string
func (*EventRevokedOperator) Marshal ¶
func (m *EventRevokedOperator) Marshal() (dAtA []byte, err error)
func (*EventRevokedOperator) MarshalTo ¶
func (m *EventRevokedOperator) MarshalTo(dAtA []byte) (int, error)
func (*EventRevokedOperator) MarshalToSizedBuffer ¶
func (m *EventRevokedOperator) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventRevokedOperator) ProtoMessage ¶
func (*EventRevokedOperator) ProtoMessage()
func (*EventRevokedOperator) Reset ¶
func (m *EventRevokedOperator) Reset()
func (*EventRevokedOperator) Size ¶
func (m *EventRevokedOperator) Size() (n int)
func (*EventRevokedOperator) String ¶
func (m *EventRevokedOperator) String() string
func (*EventRevokedOperator) Unmarshal ¶
func (m *EventRevokedOperator) Unmarshal(dAtA []byte) error
func (*EventRevokedOperator) XXX_DiscardUnknown ¶
func (m *EventRevokedOperator) XXX_DiscardUnknown()
func (*EventRevokedOperator) XXX_Marshal ¶
func (m *EventRevokedOperator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventRevokedOperator) XXX_Merge ¶
func (m *EventRevokedOperator) XXX_Merge(src proto.Message)
func (*EventRevokedOperator) XXX_Size ¶
func (m *EventRevokedOperator) XXX_Size() int
func (*EventRevokedOperator) XXX_Unmarshal ¶
func (m *EventRevokedOperator) XXX_Unmarshal(b []byte) error
type EventSent ¶
type EventSent struct {
// contract id associated with the contract.
ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
// address which triggered the send.
Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"`
// holder whose tokens were sent.
From string `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty"`
// recipient of the tokens
To string `protobuf:"bytes,4,opt,name=to,proto3" json:"to,omitempty"`
// number of tokens sent.
Amount github_com_PikeEcosystem_cosmos_sdk_types.Int `protobuf:"bytes,5,opt,name=amount,proto3,customtype=github.com/PikeEcosystem/cosmos-sdk/types.Int" json:"amount"`
}
EventSent is emitted when tokens are transferred.
Since: 0.46.0 (cosmos-sdk)
func (*EventSent) Descriptor ¶
func (*EventSent) GetContractId ¶
func (*EventSent) GetOperator ¶
func (*EventSent) MarshalToSizedBuffer ¶
func (*EventSent) ProtoMessage ¶
func (*EventSent) ProtoMessage()
func (*EventSent) XXX_DiscardUnknown ¶
func (m *EventSent) XXX_DiscardUnknown()
func (*EventSent) XXX_Marshal ¶
func (*EventSent) XXX_Unmarshal ¶
type GenesisState ¶
type GenesisState struct {
// params defines all the paramaters of the module.
Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
// class_state is the class keeper's genesis state.
ClassState *ClassGenesisState `protobuf:"bytes,2,opt,name=class_state,json=classState,proto3" json:"class_state,omitempty"`
// balances is an array containing the balances of all the accounts.
Balances []ContractBalances `protobuf:"bytes,3,rep,name=balances,proto3" json:"balances"`
// classes defines the metadata of the differents tokens.
Classes []Contract `protobuf:"bytes,4,rep,name=classes,proto3" json:"classes"`
// grants defines the grant information.
Grants []ContractGrants `protobuf:"bytes,5,rep,name=grants,proto3" json:"grants"`
// authorizations defines the approve information.
Authorizations []ContractAuthorizations `protobuf:"bytes,6,rep,name=authorizations,proto3" json:"authorizations"`
// supplies represents the total supplies of tokens.
Supplies []ContractCoin `protobuf:"bytes,7,rep,name=supplies,proto3" json:"supplies"`
// mints represents the total mints of tokens.
Mints []ContractCoin `protobuf:"bytes,8,rep,name=mints,proto3" json:"mints"`
// burns represents the total burns of tokens.
Burns []ContractCoin `protobuf:"bytes,9,rep,name=burns,proto3" json:"burns"`
}
GenesisState defines the token module's genesis state.
func DefaultGenesisState ¶
func DefaultGenesisState() *GenesisState
DefaultGenesisState - Return a default genesis state
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetAuthorizations ¶
func (m *GenesisState) GetAuthorizations() []ContractAuthorizations
func (*GenesisState) GetBalances ¶
func (m *GenesisState) GetBalances() []ContractBalances
func (*GenesisState) GetBurns ¶
func (m *GenesisState) GetBurns() []ContractCoin
func (*GenesisState) GetClassState ¶
func (m *GenesisState) GetClassState() *ClassGenesisState
func (*GenesisState) GetClasses ¶
func (m *GenesisState) GetClasses() []Contract
func (*GenesisState) GetGrants ¶
func (m *GenesisState) GetGrants() []ContractGrants
func (*GenesisState) GetMints ¶
func (m *GenesisState) GetMints() []ContractCoin
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) GetSupplies ¶
func (m *GenesisState) GetSupplies() []ContractCoin
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 Grant ¶
type Grant struct {
// address of the grantee.
Grantee string `protobuf:"bytes,1,opt,name=grantee,proto3" json:"grantee,omitempty"`
// permission on the contract.
Permission Permission `protobuf:"varint,2,opt,name=permission,proto3,enum=lbm.token.v1.Permission" json:"permission,omitempty"`
}
Grant defines permission given to a grantee.
func (*Grant) Descriptor ¶
func (*Grant) ProtoMessage ¶
func (*Grant) ProtoMessage()
func (*Grant) XXX_DiscardUnknown ¶
func (m *Grant) XXX_DiscardUnknown()
func (*Grant) XXX_Marshal ¶
func (*Grant) XXX_Unmarshal ¶
type LegacyPermission
deprecated
type LegacyPermission int32
Deprecated: use Permission
LegacyPermission enumerates the valid permissions on a contract.
const ( // unspecified defines the default permission which is invalid. LegacyPermissionUnspecified LegacyPermission = 0 // modify defines a permission to modify a contract. LegacyPermissionModify LegacyPermission = 1 // mint defines a permission to mint tokens of a contract. LegacyPermissionMint LegacyPermission = 2 // burn defines a permission to burn tokens of a contract. LegacyPermissionBurn LegacyPermission = 3 )
func LegacyPermissionFromString ¶
func LegacyPermissionFromString(name string) LegacyPermission
func (LegacyPermission) EnumDescriptor ¶
func (LegacyPermission) EnumDescriptor() ([]byte, []int)
func (LegacyPermission) String ¶
func (x LegacyPermission) String() string
type MsgAuthorizeOperator ¶
type MsgAuthorizeOperator struct {
// contract id associated with the token class.
ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
// address of the token holder which approves the authorization.
Holder string `protobuf:"bytes,2,opt,name=holder,proto3" json:"holder,omitempty"`
// address of the operator which the authorization is granted to.
Operator string `protobuf:"bytes,3,opt,name=operator,proto3" json:"operator,omitempty"`
}
MsgAuthorizeOperator defines the Msg/AuthorizeOperator request type.
Signer: `holder`
func (*MsgAuthorizeOperator) Descriptor ¶
func (*MsgAuthorizeOperator) Descriptor() ([]byte, []int)
func (MsgAuthorizeOperator) GetSignBytes ¶
func (m MsgAuthorizeOperator) GetSignBytes() []byte
GetSignBytes implements the LegacyMsg.GetSignBytes method.
func (MsgAuthorizeOperator) GetSigners ¶
func (m MsgAuthorizeOperator) GetSigners() []sdk.AccAddress
GetSigners implements Msg.
func (*MsgAuthorizeOperator) Marshal ¶
func (m *MsgAuthorizeOperator) Marshal() (dAtA []byte, err error)
func (*MsgAuthorizeOperator) MarshalTo ¶
func (m *MsgAuthorizeOperator) MarshalTo(dAtA []byte) (int, error)
func (*MsgAuthorizeOperator) MarshalToSizedBuffer ¶
func (m *MsgAuthorizeOperator) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAuthorizeOperator) ProtoMessage ¶
func (*MsgAuthorizeOperator) ProtoMessage()
func (*MsgAuthorizeOperator) Reset ¶
func (m *MsgAuthorizeOperator) Reset()
func (MsgAuthorizeOperator) Route ¶
func (m MsgAuthorizeOperator) Route() string
Route implements the LegacyMsg.Route method.
func (*MsgAuthorizeOperator) Size ¶
func (m *MsgAuthorizeOperator) Size() (n int)
func (*MsgAuthorizeOperator) String ¶
func (m *MsgAuthorizeOperator) String() string
func (MsgAuthorizeOperator) Type ¶
func (m MsgAuthorizeOperator) Type() string
Type implements the LegacyMsg.Type method.
func (*MsgAuthorizeOperator) Unmarshal ¶
func (m *MsgAuthorizeOperator) Unmarshal(dAtA []byte) error
func (MsgAuthorizeOperator) ValidateBasic ¶
func (m MsgAuthorizeOperator) ValidateBasic() error
ValidateBasic implements Msg.
func (*MsgAuthorizeOperator) XXX_DiscardUnknown ¶
func (m *MsgAuthorizeOperator) XXX_DiscardUnknown()
func (*MsgAuthorizeOperator) XXX_Marshal ¶
func (m *MsgAuthorizeOperator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAuthorizeOperator) XXX_Merge ¶
func (m *MsgAuthorizeOperator) XXX_Merge(src proto.Message)
func (*MsgAuthorizeOperator) XXX_Size ¶
func (m *MsgAuthorizeOperator) XXX_Size() int
func (*MsgAuthorizeOperator) XXX_Unmarshal ¶
func (m *MsgAuthorizeOperator) XXX_Unmarshal(b []byte) error
type MsgAuthorizeOperatorResponse ¶
type MsgAuthorizeOperatorResponse struct {
}
MsgAuthorizeOperatorResponse defines the Msg/AuthorizeOperator response type.
func (*MsgAuthorizeOperatorResponse) Descriptor ¶
func (*MsgAuthorizeOperatorResponse) Descriptor() ([]byte, []int)
func (*MsgAuthorizeOperatorResponse) Marshal ¶
func (m *MsgAuthorizeOperatorResponse) Marshal() (dAtA []byte, err error)
func (*MsgAuthorizeOperatorResponse) MarshalTo ¶
func (m *MsgAuthorizeOperatorResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgAuthorizeOperatorResponse) MarshalToSizedBuffer ¶
func (m *MsgAuthorizeOperatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAuthorizeOperatorResponse) ProtoMessage ¶
func (*MsgAuthorizeOperatorResponse) ProtoMessage()
func (*MsgAuthorizeOperatorResponse) Reset ¶
func (m *MsgAuthorizeOperatorResponse) Reset()
func (*MsgAuthorizeOperatorResponse) Size ¶
func (m *MsgAuthorizeOperatorResponse) Size() (n int)
func (*MsgAuthorizeOperatorResponse) String ¶
func (m *MsgAuthorizeOperatorResponse) String() string
func (*MsgAuthorizeOperatorResponse) Unmarshal ¶
func (m *MsgAuthorizeOperatorResponse) Unmarshal(dAtA []byte) error
func (*MsgAuthorizeOperatorResponse) XXX_DiscardUnknown ¶
func (m *MsgAuthorizeOperatorResponse) XXX_DiscardUnknown()
func (*MsgAuthorizeOperatorResponse) XXX_Marshal ¶
func (m *MsgAuthorizeOperatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAuthorizeOperatorResponse) XXX_Merge ¶
func (m *MsgAuthorizeOperatorResponse) XXX_Merge(src proto.Message)
func (*MsgAuthorizeOperatorResponse) XXX_Size ¶
func (m *MsgAuthorizeOperatorResponse) XXX_Size() int
func (*MsgAuthorizeOperatorResponse) XXX_Unmarshal ¶
func (m *MsgAuthorizeOperatorResponse) XXX_Unmarshal(b []byte) error
type MsgBurn ¶
type MsgBurn struct {
// contract id associated with the token class.
ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
// address whose tokens are being burned.
From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`
// number of tokens to burn.
Amount github_com_PikeEcosystem_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=amount,proto3,customtype=github.com/PikeEcosystem/cosmos-sdk/types.Int" json:"amount"`
}
MsgBurn defines the Msg/Burn request type.
Signer: `from`
func (*MsgBurn) Descriptor ¶
func (MsgBurn) GetSignBytes ¶
GetSignBytes implements the LegacyMsg.GetSignBytes method.
func (MsgBurn) GetSigners ¶
func (m MsgBurn) GetSigners() []sdk.AccAddress
GetSigners implements Msg
func (*MsgBurn) MarshalToSizedBuffer ¶
func (*MsgBurn) ProtoMessage ¶
func (*MsgBurn) ProtoMessage()
func (*MsgBurn) XXX_DiscardUnknown ¶
func (m *MsgBurn) XXX_DiscardUnknown()
func (*MsgBurn) XXX_Marshal ¶
func (*MsgBurn) XXX_Unmarshal ¶
type MsgBurnResponse ¶
type MsgBurnResponse struct {
}
MsgBurnResponse defines the Msg/Burn response type.
func (*MsgBurnResponse) Descriptor ¶
func (*MsgBurnResponse) Descriptor() ([]byte, []int)
func (*MsgBurnResponse) Marshal ¶
func (m *MsgBurnResponse) Marshal() (dAtA []byte, err error)
func (*MsgBurnResponse) MarshalToSizedBuffer ¶
func (m *MsgBurnResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgBurnResponse) ProtoMessage ¶
func (*MsgBurnResponse) ProtoMessage()
func (*MsgBurnResponse) Reset ¶
func (m *MsgBurnResponse) Reset()
func (*MsgBurnResponse) Size ¶
func (m *MsgBurnResponse) Size() (n int)
func (*MsgBurnResponse) String ¶
func (m *MsgBurnResponse) String() string
func (*MsgBurnResponse) Unmarshal ¶
func (m *MsgBurnResponse) Unmarshal(dAtA []byte) error
func (*MsgBurnResponse) XXX_DiscardUnknown ¶
func (m *MsgBurnResponse) XXX_DiscardUnknown()
func (*MsgBurnResponse) XXX_Marshal ¶
func (m *MsgBurnResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgBurnResponse) XXX_Merge ¶
func (m *MsgBurnResponse) XXX_Merge(src proto.Message)
func (*MsgBurnResponse) XXX_Size ¶
func (m *MsgBurnResponse) XXX_Size() int
func (*MsgBurnResponse) XXX_Unmarshal ¶
func (m *MsgBurnResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface {
// Send defines a method to send tokens from one account to another account.
// Fires:
// - EventSent
// - transfer (deprecated, not typed)
Send(ctx context.Context, in *MsgSend, opts ...grpc.CallOption) (*MsgSendResponse, error)
// OperatorSend defines a method to send tokens from one account to another account by the operator.
// Fires:
// - EventSent
// - transfer_from (deprecated, not typed)
// Note: the approval has no value of limit (not ERC20 compliant).
OperatorSend(ctx context.Context, in *MsgOperatorSend, opts ...grpc.CallOption) (*MsgOperatorSendResponse, error)
// RevokeOperator revoke the authorization of the operator to send the holder's tokens.
// Fires:
// - EventRevokedOperator
// Note: it introduces breaking change, because the legacy clients cannot track this revocation.
// Since: 0.46.0 (cosmos-sdk)
RevokeOperator(ctx context.Context, in *MsgRevokeOperator, opts ...grpc.CallOption) (*MsgRevokeOperatorResponse, error)
// AuthorizeOperator allows one to send tokens on behalf of the holder.
// Fires:
// - EventAuthorizedOperator
// - approve_token (deprecated, not typed)
AuthorizeOperator(ctx context.Context, in *MsgAuthorizeOperator, opts ...grpc.CallOption) (*MsgAuthorizeOperatorResponse, error)
// Issue defines a method to create a class of token.
// it grants `mint`, `burn` and `modify` permissions on the token class to its creator (see also `mintable`).
// Fires:
// - EventIssue
// - EventMinted
// - issue (deprecated, not typed)
Issue(ctx context.Context, in *MsgIssue, opts ...grpc.CallOption) (*MsgIssueResponse, error)
// GrantPermission allows one to mint or burn tokens or modify a token metadata.
// Fires:
// - EventGrant
// - grant_perm (deprecated, not typed)
GrantPermission(ctx context.Context, in *MsgGrantPermission, opts ...grpc.CallOption) (*MsgGrantPermissionResponse, error)
// RevokePermission abandons a permission.
// Fires:
// - EventAbandon
// - revoke_perm (deprecated, not typed)
RevokePermission(ctx context.Context, in *MsgRevokePermission, opts ...grpc.CallOption) (*MsgRevokePermissionResponse, error)
// Mint defines a method to mint tokens.
// Fires:
// - EventMinted
// - mint (deprecated, not typed)
Mint(ctx context.Context, in *MsgMint, opts ...grpc.CallOption) (*MsgMintResponse, error)
// Burn defines a method to burn tokens.
// Fires:
// - EventBurned
// - burn (deprecated, not typed)
Burn(ctx context.Context, in *MsgBurn, opts ...grpc.CallOption) (*MsgBurnResponse, error)
// OperatorBurn defines a method to burn tokens by the operator.
// Fires:
// - EventBurned
// - burn_from (deprecated, not typed)
OperatorBurn(ctx context.Context, in *MsgOperatorBurn, opts ...grpc.CallOption) (*MsgOperatorBurnResponse, error)
// Modify defines a method to modify a token class.
// Fires:
// - EventModified
// - modify_token (deprecated, not typed)
Modify(ctx context.Context, in *MsgModify, opts ...grpc.CallOption) (*MsgModifyResponse, 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 MsgGrantPermission ¶
type MsgGrantPermission struct {
// contract id associated with the token class.
ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
// address of the granter which must have the permission to give.
From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`
// address of the grantee.
To string `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"`
// permission on the token class.
Permission string `protobuf:"bytes,4,opt,name=permission,proto3" json:"permission,omitempty"`
}
MsgGrantPermission defines the Msg/GrantPermission request type.
Signer: `granter`
func (*MsgGrantPermission) Descriptor ¶
func (*MsgGrantPermission) Descriptor() ([]byte, []int)
func (MsgGrantPermission) GetSignBytes ¶
func (m MsgGrantPermission) GetSignBytes() []byte
GetSignBytes implements the LegacyMsg.GetSignBytes method.
func (MsgGrantPermission) GetSigners ¶
func (m MsgGrantPermission) GetSigners() []sdk.AccAddress
GetSigners implements Msg
func (*MsgGrantPermission) Marshal ¶
func (m *MsgGrantPermission) Marshal() (dAtA []byte, err error)
func (*MsgGrantPermission) MarshalTo ¶
func (m *MsgGrantPermission) MarshalTo(dAtA []byte) (int, error)
func (*MsgGrantPermission) MarshalToSizedBuffer ¶
func (m *MsgGrantPermission) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgGrantPermission) ProtoMessage ¶
func (*MsgGrantPermission) ProtoMessage()
func (*MsgGrantPermission) Reset ¶
func (m *MsgGrantPermission) Reset()
func (MsgGrantPermission) Route ¶
func (m MsgGrantPermission) Route() string
Route implements the LegacyMsg.Route method.
func (*MsgGrantPermission) Size ¶
func (m *MsgGrantPermission) Size() (n int)
func (*MsgGrantPermission) String ¶
func (m *MsgGrantPermission) String() string
func (MsgGrantPermission) Type ¶
func (m MsgGrantPermission) Type() string
Type implements the LegacyMsg.Type method.
func (*MsgGrantPermission) Unmarshal ¶
func (m *MsgGrantPermission) Unmarshal(dAtA []byte) error
func (MsgGrantPermission) ValidateBasic ¶
func (m MsgGrantPermission) ValidateBasic() error
ValidateBasic implements Msg.
func (*MsgGrantPermission) XXX_DiscardUnknown ¶
func (m *MsgGrantPermission) XXX_DiscardUnknown()
func (*MsgGrantPermission) XXX_Marshal ¶
func (m *MsgGrantPermission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgGrantPermission) XXX_Merge ¶
func (m *MsgGrantPermission) XXX_Merge(src proto.Message)
func (*MsgGrantPermission) XXX_Size ¶
func (m *MsgGrantPermission) XXX_Size() int
func (*MsgGrantPermission) XXX_Unmarshal ¶
func (m *MsgGrantPermission) XXX_Unmarshal(b []byte) error
type MsgGrantPermissionResponse ¶
type MsgGrantPermissionResponse struct {
}
MsgGrantPermissionResponse defines the Msg/GrantPermission response type.
func (*MsgGrantPermissionResponse) Descriptor ¶
func (*MsgGrantPermissionResponse) Descriptor() ([]byte, []int)
func (*MsgGrantPermissionResponse) Marshal ¶
func (m *MsgGrantPermissionResponse) Marshal() (dAtA []byte, err error)
func (*MsgGrantPermissionResponse) MarshalTo ¶
func (m *MsgGrantPermissionResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgGrantPermissionResponse) MarshalToSizedBuffer ¶
func (m *MsgGrantPermissionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgGrantPermissionResponse) ProtoMessage ¶
func (*MsgGrantPermissionResponse) ProtoMessage()
func (*MsgGrantPermissionResponse) Reset ¶
func (m *MsgGrantPermissionResponse) Reset()
func (*MsgGrantPermissionResponse) Size ¶
func (m *MsgGrantPermissionResponse) Size() (n int)
func (*MsgGrantPermissionResponse) String ¶
func (m *MsgGrantPermissionResponse) String() string
func (*MsgGrantPermissionResponse) Unmarshal ¶
func (m *MsgGrantPermissionResponse) Unmarshal(dAtA []byte) error
func (*MsgGrantPermissionResponse) XXX_DiscardUnknown ¶
func (m *MsgGrantPermissionResponse) XXX_DiscardUnknown()
func (*MsgGrantPermissionResponse) XXX_Marshal ¶
func (m *MsgGrantPermissionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgGrantPermissionResponse) XXX_Merge ¶
func (m *MsgGrantPermissionResponse) XXX_Merge(src proto.Message)
func (*MsgGrantPermissionResponse) XXX_Size ¶
func (m *MsgGrantPermissionResponse) XXX_Size() int
func (*MsgGrantPermissionResponse) XXX_Unmarshal ¶
func (m *MsgGrantPermissionResponse) XXX_Unmarshal(b []byte) error
type MsgIssue ¶
type MsgIssue struct {
// name defines the human-readable name of the token class. mandatory (not ERC20 compliant).
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// symbol is an abbreviated name for token class. mandatory (not ERC20 compliant).
Symbol string `protobuf:"bytes,2,opt,name=symbol,proto3" json:"symbol,omitempty"`
// uri for the image of the token class stored off chain.
Uri string `protobuf:"bytes,3,opt,name=uri,proto3" json:"uri,omitempty"`
// meta is a brief description of token class.
Meta string `protobuf:"bytes,4,opt,name=meta,proto3" json:"meta,omitempty"`
// decimals is the number of decimals which one must divide the amount by to get its user representation.
Decimals int32 `protobuf:"varint,5,opt,name=decimals,proto3" json:"decimals,omitempty"`
// mintable represents whether the token is allowed to mint.
Mintable bool `protobuf:"varint,6,opt,name=mintable,proto3" json:"mintable,omitempty"`
// the address which all permissions on the token class will be granted to (not a permanent property).
Owner string `protobuf:"bytes,7,opt,name=owner,proto3" json:"owner,omitempty"`
// the address to send the minted token to. mandatory.
To string `protobuf:"bytes,8,opt,name=to,proto3" json:"to,omitempty"`
// amount of tokens to mint on issuance. mandatory.
Amount github_com_PikeEcosystem_cosmos_sdk_types.Int `protobuf:"bytes,9,opt,name=amount,proto3,customtype=github.com/PikeEcosystem/cosmos-sdk/types.Int" json:"amount"`
}
MsgIssue defines the Msg/Issue request type.
Signer: `owner`
func (*MsgIssue) Descriptor ¶
func (MsgIssue) GetSignBytes ¶
GetSignBytes implements the LegacyMsg.GetSignBytes method.
func (MsgIssue) GetSigners ¶
func (m MsgIssue) GetSigners() []sdk.AccAddress
GetSigners implements Msg.
func (*MsgIssue) MarshalToSizedBuffer ¶
func (*MsgIssue) ProtoMessage ¶
func (*MsgIssue) ProtoMessage()
func (MsgIssue) ValidateBasic ¶
ValidateBasic implements Msg.
func (*MsgIssue) XXX_DiscardUnknown ¶
func (m *MsgIssue) XXX_DiscardUnknown()
func (*MsgIssue) XXX_Marshal ¶
func (*MsgIssue) XXX_Unmarshal ¶
type MsgIssueResponse ¶
type MsgIssueResponse struct {
// id of the new contract.
ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
}
MsgIssueResponse defines the Msg/Issue response type.
func (*MsgIssueResponse) Descriptor ¶
func (*MsgIssueResponse) Descriptor() ([]byte, []int)
func (*MsgIssueResponse) Marshal ¶
func (m *MsgIssueResponse) Marshal() (dAtA []byte, err error)
func (*MsgIssueResponse) MarshalToSizedBuffer ¶
func (m *MsgIssueResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgIssueResponse) ProtoMessage ¶
func (*MsgIssueResponse) ProtoMessage()
func (*MsgIssueResponse) Reset ¶
func (m *MsgIssueResponse) Reset()
func (*MsgIssueResponse) Size ¶
func (m *MsgIssueResponse) Size() (n int)
func (*MsgIssueResponse) String ¶
func (m *MsgIssueResponse) String() string
func (*MsgIssueResponse) Unmarshal ¶
func (m *MsgIssueResponse) Unmarshal(dAtA []byte) error
func (*MsgIssueResponse) XXX_DiscardUnknown ¶
func (m *MsgIssueResponse) XXX_DiscardUnknown()
func (*MsgIssueResponse) XXX_Marshal ¶
func (m *MsgIssueResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgIssueResponse) XXX_Merge ¶
func (m *MsgIssueResponse) XXX_Merge(src proto.Message)
func (*MsgIssueResponse) XXX_Size ¶
func (m *MsgIssueResponse) XXX_Size() int
func (*MsgIssueResponse) XXX_Unmarshal ¶
func (m *MsgIssueResponse) XXX_Unmarshal(b []byte) error
type MsgMint ¶
type MsgMint struct {
// contract id associated with the token class.
ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
// address which triggers the mint.
From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`
// recipient of the tokens.
To string `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"`
// number of tokens to mint.
Amount github_com_PikeEcosystem_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=amount,proto3,customtype=github.com/PikeEcosystem/cosmos-sdk/types.Int" json:"amount"`
}
MsgMint defines the Msg/Mint request type.
Signer: `from`
func (*MsgMint) Descriptor ¶
func (MsgMint) GetSignBytes ¶
GetSignBytes implements the LegacyMsg.GetSignBytes method.
func (MsgMint) GetSigners ¶
func (m MsgMint) GetSigners() []sdk.AccAddress
GetSigners implements Msg
func (*MsgMint) MarshalToSizedBuffer ¶
func (*MsgMint) ProtoMessage ¶
func (*MsgMint) ProtoMessage()
func (*MsgMint) XXX_DiscardUnknown ¶
func (m *MsgMint) XXX_DiscardUnknown()
func (*MsgMint) XXX_Marshal ¶
func (*MsgMint) XXX_Unmarshal ¶
type MsgMintResponse ¶
type MsgMintResponse struct {
}
MsgMintResponse defines the Msg/Mint response type.
func (*MsgMintResponse) Descriptor ¶
func (*MsgMintResponse) Descriptor() ([]byte, []int)
func (*MsgMintResponse) Marshal ¶
func (m *MsgMintResponse) Marshal() (dAtA []byte, err error)
func (*MsgMintResponse) MarshalToSizedBuffer ¶
func (m *MsgMintResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgMintResponse) ProtoMessage ¶
func (*MsgMintResponse) ProtoMessage()
func (*MsgMintResponse) Reset ¶
func (m *MsgMintResponse) Reset()
func (*MsgMintResponse) Size ¶
func (m *MsgMintResponse) Size() (n int)
func (*MsgMintResponse) String ¶
func (m *MsgMintResponse) String() string
func (*MsgMintResponse) Unmarshal ¶
func (m *MsgMintResponse) Unmarshal(dAtA []byte) error
func (*MsgMintResponse) XXX_DiscardUnknown ¶
func (m *MsgMintResponse) XXX_DiscardUnknown()
func (*MsgMintResponse) XXX_Marshal ¶
func (m *MsgMintResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgMintResponse) XXX_Merge ¶
func (m *MsgMintResponse) XXX_Merge(src proto.Message)
func (*MsgMintResponse) XXX_Size ¶
func (m *MsgMintResponse) XXX_Size() int
func (*MsgMintResponse) XXX_Unmarshal ¶
func (m *MsgMintResponse) XXX_Unmarshal(b []byte) error
type MsgModify ¶
type MsgModify struct {
// contract id associated with the contract.
ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
// the address of the grantee which must have modify permission.
Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
// changes to apply.
// possible attribute keys are: name, uri, img_uri (deprecated), meta
Changes []Attribute `protobuf:"bytes,3,rep,name=changes,proto3" json:"changes"`
}
MsgModify defines the Msg/Modify request type.
Signer: `owner`
func (*MsgModify) Descriptor ¶
func (MsgModify) GetSignBytes ¶
GetSignBytes implements the LegacyMsg.GetSignBytes method.
func (MsgModify) GetSigners ¶
func (m MsgModify) GetSigners() []sdk.AccAddress
GetSigners implements Msg
func (*MsgModify) MarshalToSizedBuffer ¶
func (*MsgModify) ProtoMessage ¶
func (*MsgModify) ProtoMessage()
func (MsgModify) ValidateBasic ¶
ValidateBasic implements Msg.
func (*MsgModify) XXX_DiscardUnknown ¶
func (m *MsgModify) XXX_DiscardUnknown()
func (*MsgModify) XXX_Marshal ¶
func (*MsgModify) XXX_Unmarshal ¶
type MsgModifyResponse ¶
type MsgModifyResponse struct {
}
MsgModifyResponse defines the Msg/Modify response type.
func (*MsgModifyResponse) Descriptor ¶
func (*MsgModifyResponse) Descriptor() ([]byte, []int)
func (*MsgModifyResponse) Marshal ¶
func (m *MsgModifyResponse) Marshal() (dAtA []byte, err error)
func (*MsgModifyResponse) MarshalTo ¶
func (m *MsgModifyResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgModifyResponse) MarshalToSizedBuffer ¶
func (m *MsgModifyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgModifyResponse) ProtoMessage ¶
func (*MsgModifyResponse) ProtoMessage()
func (*MsgModifyResponse) Reset ¶
func (m *MsgModifyResponse) Reset()
func (*MsgModifyResponse) Size ¶
func (m *MsgModifyResponse) Size() (n int)
func (*MsgModifyResponse) String ¶
func (m *MsgModifyResponse) String() string
func (*MsgModifyResponse) Unmarshal ¶
func (m *MsgModifyResponse) Unmarshal(dAtA []byte) error
func (*MsgModifyResponse) XXX_DiscardUnknown ¶
func (m *MsgModifyResponse) XXX_DiscardUnknown()
func (*MsgModifyResponse) XXX_Marshal ¶
func (m *MsgModifyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgModifyResponse) XXX_Merge ¶
func (m *MsgModifyResponse) XXX_Merge(src proto.Message)
func (*MsgModifyResponse) XXX_Size ¶
func (m *MsgModifyResponse) XXX_Size() int
func (*MsgModifyResponse) XXX_Unmarshal ¶
func (m *MsgModifyResponse) XXX_Unmarshal(b []byte) error
type MsgOperatorBurn ¶
type MsgOperatorBurn struct {
// contract id associated with the token class.
ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
// address which triggers the burn.
Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"`
// address which the tokens will be burnt from.
From string `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty"`
// the amount of the burn.
Amount github_com_PikeEcosystem_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=amount,proto3,customtype=github.com/PikeEcosystem/cosmos-sdk/types.Int" json:"amount"`
}
MsgOperatorBurn defines the Msg/OperatorBurn request type.
Signer: `operator`
func (*MsgOperatorBurn) Descriptor ¶
func (*MsgOperatorBurn) Descriptor() ([]byte, []int)
func (MsgOperatorBurn) GetSignBytes ¶
func (m MsgOperatorBurn) GetSignBytes() []byte
GetSignBytes implements the LegacyMsg.GetSignBytes method.
func (MsgOperatorBurn) GetSigners ¶
func (m MsgOperatorBurn) GetSigners() []sdk.AccAddress
GetSigners implements Msg
func (*MsgOperatorBurn) Marshal ¶
func (m *MsgOperatorBurn) Marshal() (dAtA []byte, err error)
func (*MsgOperatorBurn) MarshalToSizedBuffer ¶
func (m *MsgOperatorBurn) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgOperatorBurn) ProtoMessage ¶
func (*MsgOperatorBurn) ProtoMessage()
func (*MsgOperatorBurn) Reset ¶
func (m *MsgOperatorBurn) Reset()
func (MsgOperatorBurn) Route ¶
func (m MsgOperatorBurn) Route() string
Route implements the LegacyMsg.Route method.
func (*MsgOperatorBurn) Size ¶
func (m *MsgOperatorBurn) Size() (n int)
func (*MsgOperatorBurn) String ¶
func (m *MsgOperatorBurn) String() string
func (MsgOperatorBurn) Type ¶
func (m MsgOperatorBurn) Type() string
Type implements the LegacyMsg.Type method.
func (*MsgOperatorBurn) Unmarshal ¶
func (m *MsgOperatorBurn) Unmarshal(dAtA []byte) error
func (MsgOperatorBurn) ValidateBasic ¶
func (m MsgOperatorBurn) ValidateBasic() error
ValidateBasic implements Msg.
func (*MsgOperatorBurn) XXX_DiscardUnknown ¶
func (m *MsgOperatorBurn) XXX_DiscardUnknown()
func (*MsgOperatorBurn) XXX_Marshal ¶
func (m *MsgOperatorBurn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgOperatorBurn) XXX_Merge ¶
func (m *MsgOperatorBurn) XXX_Merge(src proto.Message)
func (*MsgOperatorBurn) XXX_Size ¶
func (m *MsgOperatorBurn) XXX_Size() int
func (*MsgOperatorBurn) XXX_Unmarshal ¶
func (m *MsgOperatorBurn) XXX_Unmarshal(b []byte) error
type MsgOperatorBurnResponse ¶
type MsgOperatorBurnResponse struct {
}
MsgOperatorBurnResponse defines the Msg/OperatorBurn response type.
func (*MsgOperatorBurnResponse) Descriptor ¶
func (*MsgOperatorBurnResponse) Descriptor() ([]byte, []int)
func (*MsgOperatorBurnResponse) Marshal ¶
func (m *MsgOperatorBurnResponse) Marshal() (dAtA []byte, err error)
func (*MsgOperatorBurnResponse) MarshalTo ¶
func (m *MsgOperatorBurnResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgOperatorBurnResponse) MarshalToSizedBuffer ¶
func (m *MsgOperatorBurnResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgOperatorBurnResponse) ProtoMessage ¶
func (*MsgOperatorBurnResponse) ProtoMessage()
func (*MsgOperatorBurnResponse) Reset ¶
func (m *MsgOperatorBurnResponse) Reset()
func (*MsgOperatorBurnResponse) Size ¶
func (m *MsgOperatorBurnResponse) Size() (n int)
func (*MsgOperatorBurnResponse) String ¶
func (m *MsgOperatorBurnResponse) String() string
func (*MsgOperatorBurnResponse) Unmarshal ¶
func (m *MsgOperatorBurnResponse) Unmarshal(dAtA []byte) error
func (*MsgOperatorBurnResponse) XXX_DiscardUnknown ¶
func (m *MsgOperatorBurnResponse) XXX_DiscardUnknown()
func (*MsgOperatorBurnResponse) XXX_Marshal ¶
func (m *MsgOperatorBurnResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgOperatorBurnResponse) XXX_Merge ¶
func (m *MsgOperatorBurnResponse) XXX_Merge(src proto.Message)
func (*MsgOperatorBurnResponse) XXX_Size ¶
func (m *MsgOperatorBurnResponse) XXX_Size() int
func (*MsgOperatorBurnResponse) XXX_Unmarshal ¶
func (m *MsgOperatorBurnResponse) XXX_Unmarshal(b []byte) error
type MsgOperatorSend ¶
type MsgOperatorSend struct {
// contract id associated with the token class.
ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
// the address of the operator.
Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"`
// the address which the transfer is from.
From string `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty"`
// the address which the transfer is to.
To string `protobuf:"bytes,4,opt,name=to,proto3" json:"to,omitempty"`
// the amount of the transfer.
Amount github_com_PikeEcosystem_cosmos_sdk_types.Int `protobuf:"bytes,5,opt,name=amount,proto3,customtype=github.com/PikeEcosystem/cosmos-sdk/types.Int" json:"amount"`
}
MsgOperatorSend defines the Msg/OperatorSend request type.
Signer: `operator`
func (*MsgOperatorSend) Descriptor ¶
func (*MsgOperatorSend) Descriptor() ([]byte, []int)
func (MsgOperatorSend) GetSignBytes ¶
func (m MsgOperatorSend) GetSignBytes() []byte
GetSignBytes implements the LegacyMsg.GetSignBytes method.
func (MsgOperatorSend) GetSigners ¶
func (m MsgOperatorSend) GetSigners() []sdk.AccAddress
GetSigners implements Msg
func (*MsgOperatorSend) Marshal ¶
func (m *MsgOperatorSend) Marshal() (dAtA []byte, err error)
func (*MsgOperatorSend) MarshalToSizedBuffer ¶
func (m *MsgOperatorSend) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgOperatorSend) ProtoMessage ¶
func (*MsgOperatorSend) ProtoMessage()
func (*MsgOperatorSend) Reset ¶
func (m *MsgOperatorSend) Reset()
func (MsgOperatorSend) Route ¶
func (m MsgOperatorSend) Route() string
Route implements the LegacyMsg.Route method.
func (*MsgOperatorSend) Size ¶
func (m *MsgOperatorSend) Size() (n int)
func (*MsgOperatorSend) String ¶
func (m *MsgOperatorSend) String() string
func (MsgOperatorSend) Type ¶
func (m MsgOperatorSend) Type() string
Type implements the LegacyMsg.Type method.
func (*MsgOperatorSend) Unmarshal ¶
func (m *MsgOperatorSend) Unmarshal(dAtA []byte) error
func (MsgOperatorSend) ValidateBasic ¶
func (m MsgOperatorSend) ValidateBasic() error
ValidateBasic implements Msg.
func (*MsgOperatorSend) XXX_DiscardUnknown ¶
func (m *MsgOperatorSend) XXX_DiscardUnknown()
func (*MsgOperatorSend) XXX_Marshal ¶
func (m *MsgOperatorSend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgOperatorSend) XXX_Merge ¶
func (m *MsgOperatorSend) XXX_Merge(src proto.Message)
func (*MsgOperatorSend) XXX_Size ¶
func (m *MsgOperatorSend) XXX_Size() int
func (*MsgOperatorSend) XXX_Unmarshal ¶
func (m *MsgOperatorSend) XXX_Unmarshal(b []byte) error
type MsgOperatorSendResponse ¶
type MsgOperatorSendResponse struct {
}
MsgOperatorSendResponse defines the Msg/OperatorSend response type.
func (*MsgOperatorSendResponse) Descriptor ¶
func (*MsgOperatorSendResponse) Descriptor() ([]byte, []int)
func (*MsgOperatorSendResponse) Marshal ¶
func (m *MsgOperatorSendResponse) Marshal() (dAtA []byte, err error)
func (*MsgOperatorSendResponse) MarshalTo ¶
func (m *MsgOperatorSendResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgOperatorSendResponse) MarshalToSizedBuffer ¶
func (m *MsgOperatorSendResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgOperatorSendResponse) ProtoMessage ¶
func (*MsgOperatorSendResponse) ProtoMessage()
func (*MsgOperatorSendResponse) Reset ¶
func (m *MsgOperatorSendResponse) Reset()
func (*MsgOperatorSendResponse) Size ¶
func (m *MsgOperatorSendResponse) Size() (n int)
func (*MsgOperatorSendResponse) String ¶
func (m *MsgOperatorSendResponse) String() string
func (*MsgOperatorSendResponse) Unmarshal ¶
func (m *MsgOperatorSendResponse) Unmarshal(dAtA []byte) error
func (*MsgOperatorSendResponse) XXX_DiscardUnknown ¶
func (m *MsgOperatorSendResponse) XXX_DiscardUnknown()
func (*MsgOperatorSendResponse) XXX_Marshal ¶
func (m *MsgOperatorSendResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgOperatorSendResponse) XXX_Merge ¶
func (m *MsgOperatorSendResponse) XXX_Merge(src proto.Message)
func (*MsgOperatorSendResponse) XXX_Size ¶
func (m *MsgOperatorSendResponse) XXX_Size() int
func (*MsgOperatorSendResponse) XXX_Unmarshal ¶
func (m *MsgOperatorSendResponse) XXX_Unmarshal(b []byte) error
type MsgRevokeOperator ¶
type MsgRevokeOperator struct {
// contract id associated with the token class.
ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
// address of a holder which revokes the `operator` address as an operator.
Holder string `protobuf:"bytes,2,opt,name=holder,proto3" json:"holder,omitempty"`
// address to rescind as an operator for `holder`.
Operator string `protobuf:"bytes,3,opt,name=operator,proto3" json:"operator,omitempty"`
}
MsgRevokeOperator defines the Msg/RevokeOperator request type.
Signer: `holder`
Since: 0.46.0 (cosmos-sdk)
func (*MsgRevokeOperator) Descriptor ¶
func (*MsgRevokeOperator) Descriptor() ([]byte, []int)
func (MsgRevokeOperator) GetSignBytes ¶
func (m MsgRevokeOperator) GetSignBytes() []byte
GetSignBytes implements the LegacyMsg.GetSignBytes method.
func (MsgRevokeOperator) GetSigners ¶
func (m MsgRevokeOperator) GetSigners() []sdk.AccAddress
GetSigners implements Msg.
func (*MsgRevokeOperator) Marshal ¶
func (m *MsgRevokeOperator) Marshal() (dAtA []byte, err error)
func (*MsgRevokeOperator) MarshalTo ¶
func (m *MsgRevokeOperator) MarshalTo(dAtA []byte) (int, error)
func (*MsgRevokeOperator) MarshalToSizedBuffer ¶
func (m *MsgRevokeOperator) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRevokeOperator) ProtoMessage ¶
func (*MsgRevokeOperator) ProtoMessage()
func (*MsgRevokeOperator) Reset ¶
func (m *MsgRevokeOperator) Reset()
func (MsgRevokeOperator) Route ¶
func (m MsgRevokeOperator) Route() string
Route implements the LegacyMsg.Route method.
func (*MsgRevokeOperator) Size ¶
func (m *MsgRevokeOperator) Size() (n int)
func (*MsgRevokeOperator) String ¶
func (m *MsgRevokeOperator) String() string
func (MsgRevokeOperator) Type ¶
func (m MsgRevokeOperator) Type() string
Type implements the LegacyMsg.Type method.
func (*MsgRevokeOperator) Unmarshal ¶
func (m *MsgRevokeOperator) Unmarshal(dAtA []byte) error
func (MsgRevokeOperator) ValidateBasic ¶
func (m MsgRevokeOperator) ValidateBasic() error
ValidateBasic implements Msg.
func (*MsgRevokeOperator) XXX_DiscardUnknown ¶
func (m *MsgRevokeOperator) XXX_DiscardUnknown()
func (*MsgRevokeOperator) XXX_Marshal ¶
func (m *MsgRevokeOperator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRevokeOperator) XXX_Merge ¶
func (m *MsgRevokeOperator) XXX_Merge(src proto.Message)
func (*MsgRevokeOperator) XXX_Size ¶
func (m *MsgRevokeOperator) XXX_Size() int
func (*MsgRevokeOperator) XXX_Unmarshal ¶
func (m *MsgRevokeOperator) XXX_Unmarshal(b []byte) error
type MsgRevokeOperatorResponse ¶
type MsgRevokeOperatorResponse struct {
}
MsgRevokeOperatorResponse defines the Msg/RevokeOperator response type.
Since: 0.46.0 (cosmos-sdk)
func (*MsgRevokeOperatorResponse) Descriptor ¶
func (*MsgRevokeOperatorResponse) Descriptor() ([]byte, []int)
func (*MsgRevokeOperatorResponse) Marshal ¶
func (m *MsgRevokeOperatorResponse) Marshal() (dAtA []byte, err error)
func (*MsgRevokeOperatorResponse) MarshalTo ¶
func (m *MsgRevokeOperatorResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRevokeOperatorResponse) MarshalToSizedBuffer ¶
func (m *MsgRevokeOperatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRevokeOperatorResponse) ProtoMessage ¶
func (*MsgRevokeOperatorResponse) ProtoMessage()
func (*MsgRevokeOperatorResponse) Reset ¶
func (m *MsgRevokeOperatorResponse) Reset()
func (*MsgRevokeOperatorResponse) Size ¶
func (m *MsgRevokeOperatorResponse) Size() (n int)
func (*MsgRevokeOperatorResponse) String ¶
func (m *MsgRevokeOperatorResponse) String() string
func (*MsgRevokeOperatorResponse) Unmarshal ¶
func (m *MsgRevokeOperatorResponse) Unmarshal(dAtA []byte) error
func (*MsgRevokeOperatorResponse) XXX_DiscardUnknown ¶
func (m *MsgRevokeOperatorResponse) XXX_DiscardUnknown()
func (*MsgRevokeOperatorResponse) XXX_Marshal ¶
func (m *MsgRevokeOperatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRevokeOperatorResponse) XXX_Merge ¶
func (m *MsgRevokeOperatorResponse) XXX_Merge(src proto.Message)
func (*MsgRevokeOperatorResponse) XXX_Size ¶
func (m *MsgRevokeOperatorResponse) XXX_Size() int
func (*MsgRevokeOperatorResponse) XXX_Unmarshal ¶
func (m *MsgRevokeOperatorResponse) XXX_Unmarshal(b []byte) error
type MsgRevokePermission ¶
type MsgRevokePermission struct {
// contract id associated with the token class.
ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
// address of the grantee which abandons the permission.
From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`
// permission on the token class.
Permission string `protobuf:"bytes,3,opt,name=permission,proto3" json:"permission,omitempty"`
}
MsgRevokePermission defines the Msg/RevokePermission request type.
Signer: `grantee`
func (*MsgRevokePermission) Descriptor ¶
func (*MsgRevokePermission) Descriptor() ([]byte, []int)
func (MsgRevokePermission) GetSignBytes ¶
func (m MsgRevokePermission) GetSignBytes() []byte
GetSignBytes implements the LegacyMsg.GetSignBytes method.
func (MsgRevokePermission) GetSigners ¶
func (m MsgRevokePermission) GetSigners() []sdk.AccAddress
GetSigners implements Msg
func (*MsgRevokePermission) Marshal ¶
func (m *MsgRevokePermission) Marshal() (dAtA []byte, err error)
func (*MsgRevokePermission) MarshalTo ¶
func (m *MsgRevokePermission) MarshalTo(dAtA []byte) (int, error)
func (*MsgRevokePermission) MarshalToSizedBuffer ¶
func (m *MsgRevokePermission) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRevokePermission) ProtoMessage ¶
func (*MsgRevokePermission) ProtoMessage()
func (*MsgRevokePermission) Reset ¶
func (m *MsgRevokePermission) Reset()
func (MsgRevokePermission) Route ¶
func (m MsgRevokePermission) Route() string
Route implements the LegacyMsg.Route method.
func (*MsgRevokePermission) Size ¶
func (m *MsgRevokePermission) Size() (n int)
func (*MsgRevokePermission) String ¶
func (m *MsgRevokePermission) String() string
func (MsgRevokePermission) Type ¶
func (m MsgRevokePermission) Type() string
Type implements the LegacyMsg.Type method.
func (*MsgRevokePermission) Unmarshal ¶
func (m *MsgRevokePermission) Unmarshal(dAtA []byte) error
func (MsgRevokePermission) ValidateBasic ¶
func (m MsgRevokePermission) ValidateBasic() error
ValidateBasic implements Msg.
func (*MsgRevokePermission) XXX_DiscardUnknown ¶
func (m *MsgRevokePermission) XXX_DiscardUnknown()
func (*MsgRevokePermission) XXX_Marshal ¶
func (m *MsgRevokePermission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRevokePermission) XXX_Merge ¶
func (m *MsgRevokePermission) XXX_Merge(src proto.Message)
func (*MsgRevokePermission) XXX_Size ¶
func (m *MsgRevokePermission) XXX_Size() int
func (*MsgRevokePermission) XXX_Unmarshal ¶
func (m *MsgRevokePermission) XXX_Unmarshal(b []byte) error
type MsgRevokePermissionResponse ¶
type MsgRevokePermissionResponse struct {
}
MsgRevokePermissionResponse defines the Msg/RevokePermission response type.
func (*MsgRevokePermissionResponse) Descriptor ¶
func (*MsgRevokePermissionResponse) Descriptor() ([]byte, []int)
func (*MsgRevokePermissionResponse) Marshal ¶
func (m *MsgRevokePermissionResponse) Marshal() (dAtA []byte, err error)
func (*MsgRevokePermissionResponse) MarshalTo ¶
func (m *MsgRevokePermissionResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRevokePermissionResponse) MarshalToSizedBuffer ¶
func (m *MsgRevokePermissionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRevokePermissionResponse) ProtoMessage ¶
func (*MsgRevokePermissionResponse) ProtoMessage()
func (*MsgRevokePermissionResponse) Reset ¶
func (m *MsgRevokePermissionResponse) Reset()
func (*MsgRevokePermissionResponse) Size ¶
func (m *MsgRevokePermissionResponse) Size() (n int)
func (*MsgRevokePermissionResponse) String ¶
func (m *MsgRevokePermissionResponse) String() string
func (*MsgRevokePermissionResponse) Unmarshal ¶
func (m *MsgRevokePermissionResponse) Unmarshal(dAtA []byte) error
func (*MsgRevokePermissionResponse) XXX_DiscardUnknown ¶
func (m *MsgRevokePermissionResponse) XXX_DiscardUnknown()
func (*MsgRevokePermissionResponse) XXX_Marshal ¶
func (m *MsgRevokePermissionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRevokePermissionResponse) XXX_Merge ¶
func (m *MsgRevokePermissionResponse) XXX_Merge(src proto.Message)
func (*MsgRevokePermissionResponse) XXX_Size ¶
func (m *MsgRevokePermissionResponse) XXX_Size() int
func (*MsgRevokePermissionResponse) XXX_Unmarshal ¶
func (m *MsgRevokePermissionResponse) XXX_Unmarshal(b []byte) error
type MsgSend ¶
type MsgSend struct {
// contract id associated with the token class.
ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
// holder whose tokens are being sent.
From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`
// recipient of the tokens.
To string `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"`
// number of tokens to send.
Amount github_com_PikeEcosystem_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=amount,proto3,customtype=github.com/PikeEcosystem/cosmos-sdk/types.Int" json:"amount"`
}
MsgSend defines the Msg/Send request type.
Signer: `from`
func (*MsgSend) Descriptor ¶
func (MsgSend) GetSignBytes ¶
GetSignBytes implements the LegacyMsg.GetSignBytes method.
func (MsgSend) GetSigners ¶
func (m MsgSend) GetSigners() []sdk.AccAddress
GetSigners implements Msg
func (*MsgSend) MarshalToSizedBuffer ¶
func (*MsgSend) ProtoMessage ¶
func (*MsgSend) ProtoMessage()
func (*MsgSend) XXX_DiscardUnknown ¶
func (m *MsgSend) XXX_DiscardUnknown()
func (*MsgSend) XXX_Marshal ¶
func (*MsgSend) XXX_Unmarshal ¶
type MsgSendResponse ¶
type MsgSendResponse struct {
}
MsgSendResponse defines the Msg/Send response type.
func (*MsgSendResponse) Descriptor ¶
func (*MsgSendResponse) Descriptor() ([]byte, []int)
func (*MsgSendResponse) Marshal ¶
func (m *MsgSendResponse) Marshal() (dAtA []byte, err error)
func (*MsgSendResponse) MarshalToSizedBuffer ¶
func (m *MsgSendResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSendResponse) ProtoMessage ¶
func (*MsgSendResponse) ProtoMessage()
func (*MsgSendResponse) Reset ¶
func (m *MsgSendResponse) Reset()
func (*MsgSendResponse) Size ¶
func (m *MsgSendResponse) Size() (n int)
func (*MsgSendResponse) String ¶
func (m *MsgSendResponse) String() string
func (*MsgSendResponse) Unmarshal ¶
func (m *MsgSendResponse) Unmarshal(dAtA []byte) error
func (*MsgSendResponse) XXX_DiscardUnknown ¶
func (m *MsgSendResponse) XXX_DiscardUnknown()
func (*MsgSendResponse) XXX_Marshal ¶
func (m *MsgSendResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSendResponse) XXX_Merge ¶
func (m *MsgSendResponse) XXX_Merge(src proto.Message)
func (*MsgSendResponse) XXX_Size ¶
func (m *MsgSendResponse) XXX_Size() int
func (*MsgSendResponse) XXX_Unmarshal ¶
func (m *MsgSendResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface {
// Send defines a method to send tokens from one account to another account.
// Fires:
// - EventSent
// - transfer (deprecated, not typed)
Send(context.Context, *MsgSend) (*MsgSendResponse, error)
// OperatorSend defines a method to send tokens from one account to another account by the operator.
// Fires:
// - EventSent
// - transfer_from (deprecated, not typed)
// Note: the approval has no value of limit (not ERC20 compliant).
OperatorSend(context.Context, *MsgOperatorSend) (*MsgOperatorSendResponse, error)
// RevokeOperator revoke the authorization of the operator to send the holder's tokens.
// Fires:
// - EventRevokedOperator
// Note: it introduces breaking change, because the legacy clients cannot track this revocation.
// Since: 0.46.0 (cosmos-sdk)
RevokeOperator(context.Context, *MsgRevokeOperator) (*MsgRevokeOperatorResponse, error)
// AuthorizeOperator allows one to send tokens on behalf of the holder.
// Fires:
// - EventAuthorizedOperator
// - approve_token (deprecated, not typed)
AuthorizeOperator(context.Context, *MsgAuthorizeOperator) (*MsgAuthorizeOperatorResponse, error)
// Issue defines a method to create a class of token.
// it grants `mint`, `burn` and `modify` permissions on the token class to its creator (see also `mintable`).
// Fires:
// - EventIssue
// - EventMinted
// - issue (deprecated, not typed)
Issue(context.Context, *MsgIssue) (*MsgIssueResponse, error)
// GrantPermission allows one to mint or burn tokens or modify a token metadata.
// Fires:
// - EventGrant
// - grant_perm (deprecated, not typed)
GrantPermission(context.Context, *MsgGrantPermission) (*MsgGrantPermissionResponse, error)
// RevokePermission abandons a permission.
// Fires:
// - EventAbandon
// - revoke_perm (deprecated, not typed)
RevokePermission(context.Context, *MsgRevokePermission) (*MsgRevokePermissionResponse, error)
// Mint defines a method to mint tokens.
// Fires:
// - EventMinted
// - mint (deprecated, not typed)
Mint(context.Context, *MsgMint) (*MsgMintResponse, error)
// Burn defines a method to burn tokens.
// Fires:
// - EventBurned
// - burn (deprecated, not typed)
Burn(context.Context, *MsgBurn) (*MsgBurnResponse, error)
// OperatorBurn defines a method to burn tokens by the operator.
// Fires:
// - EventBurned
// - burn_from (deprecated, not typed)
OperatorBurn(context.Context, *MsgOperatorBurn) (*MsgOperatorBurnResponse, error)
// Modify defines a method to modify a token class.
// Fires:
// - EventModified
// - modify_token (deprecated, not typed)
Modify(context.Context, *MsgModify) (*MsgModifyResponse, error)
}
MsgServer is the server API for Msg service.
type Params ¶
type Params struct {
}
Params defines the parameters for the token module.
func (*Params) Descriptor ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type Permission ¶
type Permission int32
Permission enumerates the valid permissions on a contract.
const ( // unspecified defines the default permission which is invalid. PermissionUnspecified Permission = 0 // PERMISSION_MODIFY defines a permission to modify a contract. PermissionModify Permission = 1 // PERMISSION_MINT defines a permission to mint tokens of a contract. PermissionMint Permission = 2 // PERMISSION_BURN defines a permission to burn tokens of a contract. PermissionBurn Permission = 3 )
func (Permission) EnumDescriptor ¶
func (Permission) EnumDescriptor() ([]byte, []int)
func (Permission) String ¶
func (x Permission) String() string
type QueryBalanceRequest ¶
type QueryBalanceRequest struct {
// contract id associated with the contract.
ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
// address is the address to query balance for.
Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
}
QueryBalanceRequest is the request type for the Query/Balance RPC method
func (*QueryBalanceRequest) Descriptor ¶
func (*QueryBalanceRequest) Descriptor() ([]byte, []int)
func (*QueryBalanceRequest) GetAddress ¶
func (m *QueryBalanceRequest) GetAddress() string
func (*QueryBalanceRequest) GetContractId ¶
func (m *QueryBalanceRequest) GetContractId() string
func (*QueryBalanceRequest) Marshal ¶
func (m *QueryBalanceRequest) Marshal() (dAtA []byte, err error)
func (*QueryBalanceRequest) MarshalTo ¶
func (m *QueryBalanceRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryBalanceRequest) MarshalToSizedBuffer ¶
func (m *QueryBalanceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBalanceRequest) ProtoMessage ¶
func (*QueryBalanceRequest) ProtoMessage()
func (*QueryBalanceRequest) Reset ¶
func (m *QueryBalanceRequest) Reset()
func (*QueryBalanceRequest) Size ¶
func (m *QueryBalanceRequest) Size() (n int)
func (*QueryBalanceRequest) String ¶
func (m *QueryBalanceRequest) String() string
func (*QueryBalanceRequest) Unmarshal ¶
func (m *QueryBalanceRequest) Unmarshal(dAtA []byte) error
func (*QueryBalanceRequest) XXX_DiscardUnknown ¶
func (m *QueryBalanceRequest) XXX_DiscardUnknown()
func (*QueryBalanceRequest) XXX_Marshal ¶
func (m *QueryBalanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBalanceRequest) XXX_Merge ¶
func (m *QueryBalanceRequest) XXX_Merge(src proto.Message)
func (*QueryBalanceRequest) XXX_Size ¶
func (m *QueryBalanceRequest) XXX_Size() int
func (*QueryBalanceRequest) XXX_Unmarshal ¶
func (m *QueryBalanceRequest) XXX_Unmarshal(b []byte) error
type QueryBalanceResponse ¶
type QueryBalanceResponse struct {
// the balance of the tokens.
Amount github_com_PikeEcosystem_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=amount,proto3,customtype=github.com/PikeEcosystem/cosmos-sdk/types.Int" json:"amount"`
}
QueryBalanceResponse is the response type for the Query/Balance RPC method
func (*QueryBalanceResponse) Descriptor ¶
func (*QueryBalanceResponse) Descriptor() ([]byte, []int)
func (*QueryBalanceResponse) Marshal ¶
func (m *QueryBalanceResponse) Marshal() (dAtA []byte, err error)
func (*QueryBalanceResponse) MarshalTo ¶
func (m *QueryBalanceResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryBalanceResponse) MarshalToSizedBuffer ¶
func (m *QueryBalanceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBalanceResponse) ProtoMessage ¶
func (*QueryBalanceResponse) ProtoMessage()
func (*QueryBalanceResponse) Reset ¶
func (m *QueryBalanceResponse) Reset()
func (*QueryBalanceResponse) Size ¶
func (m *QueryBalanceResponse) Size() (n int)
func (*QueryBalanceResponse) String ¶
func (m *QueryBalanceResponse) String() string
func (*QueryBalanceResponse) Unmarshal ¶
func (m *QueryBalanceResponse) Unmarshal(dAtA []byte) error
func (*QueryBalanceResponse) XXX_DiscardUnknown ¶
func (m *QueryBalanceResponse) XXX_DiscardUnknown()
func (*QueryBalanceResponse) XXX_Marshal ¶
func (m *QueryBalanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBalanceResponse) XXX_Merge ¶
func (m *QueryBalanceResponse) XXX_Merge(src proto.Message)
func (*QueryBalanceResponse) XXX_Size ¶
func (m *QueryBalanceResponse) XXX_Size() int
func (*QueryBalanceResponse) XXX_Unmarshal ¶
func (m *QueryBalanceResponse) XXX_Unmarshal(b []byte) error
type QueryBurntRequest ¶
type QueryBurntRequest struct {
// contract id associated with the contract.
ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
}
QueryBurntRequest is the request type for the Query/Burnt RPC method
func (*QueryBurntRequest) Descriptor ¶
func (*QueryBurntRequest) Descriptor() ([]byte, []int)
func (*QueryBurntRequest) GetContractId ¶
func (m *QueryBurntRequest) GetContractId() string
func (*QueryBurntRequest) Marshal ¶
func (m *QueryBurntRequest) Marshal() (dAtA []byte, err error)
func (*QueryBurntRequest) MarshalTo ¶
func (m *QueryBurntRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryBurntRequest) MarshalToSizedBuffer ¶
func (m *QueryBurntRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBurntRequest) ProtoMessage ¶
func (*QueryBurntRequest) ProtoMessage()
func (*QueryBurntRequest) Reset ¶
func (m *QueryBurntRequest) Reset()
func (*QueryBurntRequest) Size ¶
func (m *QueryBurntRequest) Size() (n int)
func (*QueryBurntRequest) String ¶
func (m *QueryBurntRequest) String() string
func (*QueryBurntRequest) Unmarshal ¶
func (m *QueryBurntRequest) Unmarshal(dAtA []byte) error
func (*QueryBurntRequest) XXX_DiscardUnknown ¶
func (m *QueryBurntRequest) XXX_DiscardUnknown()
func (*QueryBurntRequest) XXX_Marshal ¶
func (m *QueryBurntRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBurntRequest) XXX_Merge ¶
func (m *QueryBurntRequest) XXX_Merge(src proto.Message)
func (*QueryBurntRequest) XXX_Size ¶
func (m *QueryBurntRequest) XXX_Size() int
func (*QueryBurntRequest) XXX_Unmarshal ¶
func (m *QueryBurntRequest) XXX_Unmarshal(b []byte) error
type QueryBurntResponse ¶
type QueryBurntResponse struct {
// the amount of the burnt tokens.
Amount github_com_PikeEcosystem_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=amount,proto3,customtype=github.com/PikeEcosystem/cosmos-sdk/types.Int" json:"amount"`
}
QueryBurntResponse is the response type for the Query/Burnt RPC method
func (*QueryBurntResponse) Descriptor ¶
func (*QueryBurntResponse) Descriptor() ([]byte, []int)
func (*QueryBurntResponse) Marshal ¶
func (m *QueryBurntResponse) Marshal() (dAtA []byte, err error)
func (*QueryBurntResponse) MarshalTo ¶
func (m *QueryBurntResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryBurntResponse) MarshalToSizedBuffer ¶
func (m *QueryBurntResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBurntResponse) ProtoMessage ¶
func (*QueryBurntResponse) ProtoMessage()
func (*QueryBurntResponse) Reset ¶
func (m *QueryBurntResponse) Reset()
func (*QueryBurntResponse) Size ¶
func (m *QueryBurntResponse) Size() (n int)
func (*QueryBurntResponse) String ¶
func (m *QueryBurntResponse) String() string
func (*QueryBurntResponse) Unmarshal ¶
func (m *QueryBurntResponse) Unmarshal(dAtA []byte) error
func (*QueryBurntResponse) XXX_DiscardUnknown ¶
func (m *QueryBurntResponse) XXX_DiscardUnknown()
func (*QueryBurntResponse) XXX_Marshal ¶
func (m *QueryBurntResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBurntResponse) XXX_Merge ¶
func (m *QueryBurntResponse) XXX_Merge(src proto.Message)
func (*QueryBurntResponse) XXX_Size ¶
func (m *QueryBurntResponse) XXX_Size() int
func (*QueryBurntResponse) XXX_Unmarshal ¶
func (m *QueryBurntResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface {
// Balance queries the number of tokens of a given contract owned by the address.
Balance(ctx context.Context, in *QueryBalanceRequest, opts ...grpc.CallOption) (*QueryBalanceResponse, error)
// Supply queries the number of tokens from the given contract id.
Supply(ctx context.Context, in *QuerySupplyRequest, opts ...grpc.CallOption) (*QuerySupplyResponse, error)
// Minted queries the number of minted tokens from the given contract id.
Minted(ctx context.Context, in *QueryMintedRequest, opts ...grpc.CallOption) (*QueryMintedResponse, error)
// Burnt queries the number of burnt tokens from the given contract id.
Burnt(ctx context.Context, in *QueryBurntRequest, opts ...grpc.CallOption) (*QueryBurntResponse, error)
// Contract queries an token metadata based on its contract id.
Contract(ctx context.Context, in *QueryContractRequest, opts ...grpc.CallOption) (*QueryContractResponse, error)
// GranteeGrants queries permissions on a given grantee.
GranteeGrants(ctx context.Context, in *QueryGranteeGrantsRequest, opts ...grpc.CallOption) (*QueryGranteeGrantsResponse, error)
// IsOperatorFor queries authorization on a given operator holder pair.
IsOperatorFor(ctx context.Context, in *QueryIsOperatorForRequest, opts ...grpc.CallOption) (*QueryIsOperatorForResponse, error)
// HoldersByOperator queries holders on a given operator.
HoldersByOperator(ctx context.Context, in *QueryHoldersByOperatorRequest, opts ...grpc.CallOption) (*QueryHoldersByOperatorResponse, 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 QueryContractRequest ¶
type QueryContractRequest struct {
// contract id associated with the contract.
ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
}
QueryContractRequest is the request type for the Query/Contract RPC method
func (*QueryContractRequest) Descriptor ¶
func (*QueryContractRequest) Descriptor() ([]byte, []int)
func (*QueryContractRequest) GetContractId ¶
func (m *QueryContractRequest) GetContractId() string
func (*QueryContractRequest) Marshal ¶
func (m *QueryContractRequest) Marshal() (dAtA []byte, err error)
func (*QueryContractRequest) MarshalTo ¶
func (m *QueryContractRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryContractRequest) MarshalToSizedBuffer ¶
func (m *QueryContractRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryContractRequest) ProtoMessage ¶
func (*QueryContractRequest) ProtoMessage()
func (*QueryContractRequest) Reset ¶
func (m *QueryContractRequest) Reset()
func (*QueryContractRequest) Size ¶
func (m *QueryContractRequest) Size() (n int)
func (*QueryContractRequest) String ¶
func (m *QueryContractRequest) String() string
func (*QueryContractRequest) Unmarshal ¶
func (m *QueryContractRequest) Unmarshal(dAtA []byte) error
func (*QueryContractRequest) XXX_DiscardUnknown ¶
func (m *QueryContractRequest) XXX_DiscardUnknown()
func (*QueryContractRequest) XXX_Marshal ¶
func (m *QueryContractRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryContractRequest) XXX_Merge ¶
func (m *QueryContractRequest) XXX_Merge(src proto.Message)
func (*QueryContractRequest) XXX_Size ¶
func (m *QueryContractRequest) XXX_Size() int
func (*QueryContractRequest) XXX_Unmarshal ¶
func (m *QueryContractRequest) XXX_Unmarshal(b []byte) error
type QueryContractResponse ¶
type QueryContractResponse struct {
Contract Contract `protobuf:"bytes,1,opt,name=contract,proto3" json:"contract"`
}
QueryContractResponse is the response type for the Query/Contract RPC method
func (*QueryContractResponse) Descriptor ¶
func (*QueryContractResponse) Descriptor() ([]byte, []int)
func (*QueryContractResponse) GetContract ¶
func (m *QueryContractResponse) GetContract() Contract
func (*QueryContractResponse) Marshal ¶
func (m *QueryContractResponse) Marshal() (dAtA []byte, err error)
func (*QueryContractResponse) MarshalTo ¶
func (m *QueryContractResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryContractResponse) MarshalToSizedBuffer ¶
func (m *QueryContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryContractResponse) ProtoMessage ¶
func (*QueryContractResponse) ProtoMessage()
func (*QueryContractResponse) Reset ¶
func (m *QueryContractResponse) Reset()
func (*QueryContractResponse) Size ¶
func (m *QueryContractResponse) Size() (n int)
func (*QueryContractResponse) String ¶
func (m *QueryContractResponse) String() string
func (*QueryContractResponse) Unmarshal ¶
func (m *QueryContractResponse) Unmarshal(dAtA []byte) error
func (*QueryContractResponse) XXX_DiscardUnknown ¶
func (m *QueryContractResponse) XXX_DiscardUnknown()
func (*QueryContractResponse) XXX_Marshal ¶
func (m *QueryContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryContractResponse) XXX_Merge ¶
func (m *QueryContractResponse) XXX_Merge(src proto.Message)
func (*QueryContractResponse) XXX_Size ¶
func (m *QueryContractResponse) XXX_Size() int
func (*QueryContractResponse) XXX_Unmarshal ¶
func (m *QueryContractResponse) XXX_Unmarshal(b []byte) error
type QueryGranteeGrantsRequest ¶
type QueryGranteeGrantsRequest struct {
// contract id associated with the contract.
ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
// grantee which has permissions on the contract.
Grantee string `protobuf:"bytes,2,opt,name=grantee,proto3" json:"grantee,omitempty"`
// pagination defines an optional pagination for the request.
Pagination *query.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
QueryGranteeGrantsRequest is the request type for the Query/GranteeGrants RPC method
func (*QueryGranteeGrantsRequest) Descriptor ¶
func (*QueryGranteeGrantsRequest) Descriptor() ([]byte, []int)
func (*QueryGranteeGrantsRequest) GetContractId ¶
func (m *QueryGranteeGrantsRequest) GetContractId() string
func (*QueryGranteeGrantsRequest) GetGrantee ¶
func (m *QueryGranteeGrantsRequest) GetGrantee() string
func (*QueryGranteeGrantsRequest) GetPagination ¶
func (m *QueryGranteeGrantsRequest) GetPagination() *query.PageRequest
func (*QueryGranteeGrantsRequest) Marshal ¶
func (m *QueryGranteeGrantsRequest) Marshal() (dAtA []byte, err error)
func (*QueryGranteeGrantsRequest) MarshalTo ¶
func (m *QueryGranteeGrantsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGranteeGrantsRequest) MarshalToSizedBuffer ¶
func (m *QueryGranteeGrantsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGranteeGrantsRequest) ProtoMessage ¶
func (*QueryGranteeGrantsRequest) ProtoMessage()
func (*QueryGranteeGrantsRequest) Reset ¶
func (m *QueryGranteeGrantsRequest) Reset()
func (*QueryGranteeGrantsRequest) Size ¶
func (m *QueryGranteeGrantsRequest) Size() (n int)
func (*QueryGranteeGrantsRequest) String ¶
func (m *QueryGranteeGrantsRequest) String() string
func (*QueryGranteeGrantsRequest) Unmarshal ¶
func (m *QueryGranteeGrantsRequest) Unmarshal(dAtA []byte) error
func (*QueryGranteeGrantsRequest) XXX_DiscardUnknown ¶
func (m *QueryGranteeGrantsRequest) XXX_DiscardUnknown()
func (*QueryGranteeGrantsRequest) XXX_Marshal ¶
func (m *QueryGranteeGrantsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGranteeGrantsRequest) XXX_Merge ¶
func (m *QueryGranteeGrantsRequest) XXX_Merge(src proto.Message)
func (*QueryGranteeGrantsRequest) XXX_Size ¶
func (m *QueryGranteeGrantsRequest) XXX_Size() int
func (*QueryGranteeGrantsRequest) XXX_Unmarshal ¶
func (m *QueryGranteeGrantsRequest) XXX_Unmarshal(b []byte) error
type QueryGranteeGrantsResponse ¶
type QueryGranteeGrantsResponse struct {
// all the grants on the grantee.
Grants []Grant `protobuf:"bytes,1,rep,name=grants,proto3" json:"grants"`
// pagination defines the pagination in the response.
Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
QueryGranteeGrantsResponse is the response type for the Query/GranteeGrants RPC method
func (*QueryGranteeGrantsResponse) Descriptor ¶
func (*QueryGranteeGrantsResponse) Descriptor() ([]byte, []int)
func (*QueryGranteeGrantsResponse) GetGrants ¶
func (m *QueryGranteeGrantsResponse) GetGrants() []Grant
func (*QueryGranteeGrantsResponse) GetPagination ¶
func (m *QueryGranteeGrantsResponse) GetPagination() *query.PageResponse
func (*QueryGranteeGrantsResponse) Marshal ¶
func (m *QueryGranteeGrantsResponse) Marshal() (dAtA []byte, err error)
func (*QueryGranteeGrantsResponse) MarshalTo ¶
func (m *QueryGranteeGrantsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGranteeGrantsResponse) MarshalToSizedBuffer ¶
func (m *QueryGranteeGrantsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGranteeGrantsResponse) ProtoMessage ¶
func (*QueryGranteeGrantsResponse) ProtoMessage()
func (*QueryGranteeGrantsResponse) Reset ¶
func (m *QueryGranteeGrantsResponse) Reset()
func (*QueryGranteeGrantsResponse) Size ¶
func (m *QueryGranteeGrantsResponse) Size() (n int)
func (*QueryGranteeGrantsResponse) String ¶
func (m *QueryGranteeGrantsResponse) String() string
func (*QueryGranteeGrantsResponse) Unmarshal ¶
func (m *QueryGranteeGrantsResponse) Unmarshal(dAtA []byte) error
func (*QueryGranteeGrantsResponse) XXX_DiscardUnknown ¶
func (m *QueryGranteeGrantsResponse) XXX_DiscardUnknown()
func (*QueryGranteeGrantsResponse) XXX_Marshal ¶
func (m *QueryGranteeGrantsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGranteeGrantsResponse) XXX_Merge ¶
func (m *QueryGranteeGrantsResponse) XXX_Merge(src proto.Message)
func (*QueryGranteeGrantsResponse) XXX_Size ¶
func (m *QueryGranteeGrantsResponse) XXX_Size() int
func (*QueryGranteeGrantsResponse) XXX_Unmarshal ¶
func (m *QueryGranteeGrantsResponse) XXX_Unmarshal(b []byte) error
type QueryHoldersByOperatorRequest ¶
type QueryHoldersByOperatorRequest struct {
// contract id associated with the contract.
ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
// address of the operator which the authorization is granted to.
Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"`
// pagination defines an optional pagination for the request.
Pagination *query.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
QueryHoldersByOperatorRequest is the request type for the Query/HoldersByOperator RPC method
func (*QueryHoldersByOperatorRequest) Descriptor ¶
func (*QueryHoldersByOperatorRequest) Descriptor() ([]byte, []int)
func (*QueryHoldersByOperatorRequest) GetContractId ¶
func (m *QueryHoldersByOperatorRequest) GetContractId() string
func (*QueryHoldersByOperatorRequest) GetOperator ¶
func (m *QueryHoldersByOperatorRequest) GetOperator() string
func (*QueryHoldersByOperatorRequest) GetPagination ¶
func (m *QueryHoldersByOperatorRequest) GetPagination() *query.PageRequest
func (*QueryHoldersByOperatorRequest) Marshal ¶
func (m *QueryHoldersByOperatorRequest) Marshal() (dAtA []byte, err error)
func (*QueryHoldersByOperatorRequest) MarshalTo ¶
func (m *QueryHoldersByOperatorRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryHoldersByOperatorRequest) MarshalToSizedBuffer ¶
func (m *QueryHoldersByOperatorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryHoldersByOperatorRequest) ProtoMessage ¶
func (*QueryHoldersByOperatorRequest) ProtoMessage()
func (*QueryHoldersByOperatorRequest) Reset ¶
func (m *QueryHoldersByOperatorRequest) Reset()
func (*QueryHoldersByOperatorRequest) Size ¶
func (m *QueryHoldersByOperatorRequest) Size() (n int)
func (*QueryHoldersByOperatorRequest) String ¶
func (m *QueryHoldersByOperatorRequest) String() string
func (*QueryHoldersByOperatorRequest) Unmarshal ¶
func (m *QueryHoldersByOperatorRequest) Unmarshal(dAtA []byte) error
func (*QueryHoldersByOperatorRequest) XXX_DiscardUnknown ¶
func (m *QueryHoldersByOperatorRequest) XXX_DiscardUnknown()
func (*QueryHoldersByOperatorRequest) XXX_Marshal ¶
func (m *QueryHoldersByOperatorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryHoldersByOperatorRequest) XXX_Merge ¶
func (m *QueryHoldersByOperatorRequest) XXX_Merge(src proto.Message)
func (*QueryHoldersByOperatorRequest) XXX_Size ¶
func (m *QueryHoldersByOperatorRequest) XXX_Size() int
func (*QueryHoldersByOperatorRequest) XXX_Unmarshal ¶
func (m *QueryHoldersByOperatorRequest) XXX_Unmarshal(b []byte) error
type QueryHoldersByOperatorResponse ¶
type QueryHoldersByOperatorResponse struct {
// holder addresses
Holders []string `protobuf:"bytes,1,rep,name=holders,proto3" json:"holders,omitempty"`
// pagination defines the pagination in the response.
Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
QueryHoldersByOperatorResponse is the response type for the Query/HoldersByOperator RPC method
func (*QueryHoldersByOperatorResponse) Descriptor ¶
func (*QueryHoldersByOperatorResponse) Descriptor() ([]byte, []int)
func (*QueryHoldersByOperatorResponse) GetHolders ¶
func (m *QueryHoldersByOperatorResponse) GetHolders() []string
func (*QueryHoldersByOperatorResponse) GetPagination ¶
func (m *QueryHoldersByOperatorResponse) GetPagination() *query.PageResponse
func (*QueryHoldersByOperatorResponse) Marshal ¶
func (m *QueryHoldersByOperatorResponse) Marshal() (dAtA []byte, err error)
func (*QueryHoldersByOperatorResponse) MarshalTo ¶
func (m *QueryHoldersByOperatorResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryHoldersByOperatorResponse) MarshalToSizedBuffer ¶
func (m *QueryHoldersByOperatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryHoldersByOperatorResponse) ProtoMessage ¶
func (*QueryHoldersByOperatorResponse) ProtoMessage()
func (*QueryHoldersByOperatorResponse) Reset ¶
func (m *QueryHoldersByOperatorResponse) Reset()
func (*QueryHoldersByOperatorResponse) Size ¶
func (m *QueryHoldersByOperatorResponse) Size() (n int)
func (*QueryHoldersByOperatorResponse) String ¶
func (m *QueryHoldersByOperatorResponse) String() string
func (*QueryHoldersByOperatorResponse) Unmarshal ¶
func (m *QueryHoldersByOperatorResponse) Unmarshal(dAtA []byte) error
func (*QueryHoldersByOperatorResponse) XXX_DiscardUnknown ¶
func (m *QueryHoldersByOperatorResponse) XXX_DiscardUnknown()
func (*QueryHoldersByOperatorResponse) XXX_Marshal ¶
func (m *QueryHoldersByOperatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryHoldersByOperatorResponse) XXX_Merge ¶
func (m *QueryHoldersByOperatorResponse) XXX_Merge(src proto.Message)
func (*QueryHoldersByOperatorResponse) XXX_Size ¶
func (m *QueryHoldersByOperatorResponse) XXX_Size() int
func (*QueryHoldersByOperatorResponse) XXX_Unmarshal ¶
func (m *QueryHoldersByOperatorResponse) XXX_Unmarshal(b []byte) error
type QueryIsOperatorForRequest ¶
type QueryIsOperatorForRequest struct {
// contract id associated with the contract.
ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
// address of the operator which the authorization is granted to.
Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"`
// address of the holder of the authorization.
Holder string `protobuf:"bytes,3,opt,name=holder,proto3" json:"holder,omitempty"`
}
QueryIsOperatorForRequest is the request type for the Query/IsOperatorFor RPC method
func (*QueryIsOperatorForRequest) Descriptor ¶
func (*QueryIsOperatorForRequest) Descriptor() ([]byte, []int)
func (*QueryIsOperatorForRequest) GetContractId ¶
func (m *QueryIsOperatorForRequest) GetContractId() string
func (*QueryIsOperatorForRequest) GetHolder ¶
func (m *QueryIsOperatorForRequest) GetHolder() string
func (*QueryIsOperatorForRequest) GetOperator ¶
func (m *QueryIsOperatorForRequest) GetOperator() string
func (*QueryIsOperatorForRequest) Marshal ¶
func (m *QueryIsOperatorForRequest) Marshal() (dAtA []byte, err error)
func (*QueryIsOperatorForRequest) MarshalTo ¶
func (m *QueryIsOperatorForRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryIsOperatorForRequest) MarshalToSizedBuffer ¶
func (m *QueryIsOperatorForRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryIsOperatorForRequest) ProtoMessage ¶
func (*QueryIsOperatorForRequest) ProtoMessage()
func (*QueryIsOperatorForRequest) Reset ¶
func (m *QueryIsOperatorForRequest) Reset()
func (*QueryIsOperatorForRequest) Size ¶
func (m *QueryIsOperatorForRequest) Size() (n int)
func (*QueryIsOperatorForRequest) String ¶
func (m *QueryIsOperatorForRequest) String() string
func (*QueryIsOperatorForRequest) Unmarshal ¶
func (m *QueryIsOperatorForRequest) Unmarshal(dAtA []byte) error
func (*QueryIsOperatorForRequest) XXX_DiscardUnknown ¶
func (m *QueryIsOperatorForRequest) XXX_DiscardUnknown()
func (*QueryIsOperatorForRequest) XXX_Marshal ¶
func (m *QueryIsOperatorForRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryIsOperatorForRequest) XXX_Merge ¶
func (m *QueryIsOperatorForRequest) XXX_Merge(src proto.Message)
func (*QueryIsOperatorForRequest) XXX_Size ¶
func (m *QueryIsOperatorForRequest) XXX_Size() int
func (*QueryIsOperatorForRequest) XXX_Unmarshal ¶
func (m *QueryIsOperatorForRequest) XXX_Unmarshal(b []byte) error
type QueryIsOperatorForResponse ¶
type QueryIsOperatorForResponse struct {
Authorized bool `protobuf:"varint,1,opt,name=authorized,proto3" json:"authorized,omitempty"`
}
QueryIsOperatorForResponse is the response type for the Query/IsOperatorFor RPC method
func (*QueryIsOperatorForResponse) Descriptor ¶
func (*QueryIsOperatorForResponse) Descriptor() ([]byte, []int)
func (*QueryIsOperatorForResponse) GetAuthorized ¶
func (m *QueryIsOperatorForResponse) GetAuthorized() bool
func (*QueryIsOperatorForResponse) Marshal ¶
func (m *QueryIsOperatorForResponse) Marshal() (dAtA []byte, err error)
func (*QueryIsOperatorForResponse) MarshalTo ¶
func (m *QueryIsOperatorForResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryIsOperatorForResponse) MarshalToSizedBuffer ¶
func (m *QueryIsOperatorForResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryIsOperatorForResponse) ProtoMessage ¶
func (*QueryIsOperatorForResponse) ProtoMessage()
func (*QueryIsOperatorForResponse) Reset ¶
func (m *QueryIsOperatorForResponse) Reset()
func (*QueryIsOperatorForResponse) Size ¶
func (m *QueryIsOperatorForResponse) Size() (n int)
func (*QueryIsOperatorForResponse) String ¶
func (m *QueryIsOperatorForResponse) String() string
func (*QueryIsOperatorForResponse) Unmarshal ¶
func (m *QueryIsOperatorForResponse) Unmarshal(dAtA []byte) error
func (*QueryIsOperatorForResponse) XXX_DiscardUnknown ¶
func (m *QueryIsOperatorForResponse) XXX_DiscardUnknown()
func (*QueryIsOperatorForResponse) XXX_Marshal ¶
func (m *QueryIsOperatorForResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryIsOperatorForResponse) XXX_Merge ¶
func (m *QueryIsOperatorForResponse) XXX_Merge(src proto.Message)
func (*QueryIsOperatorForResponse) XXX_Size ¶
func (m *QueryIsOperatorForResponse) XXX_Size() int
func (*QueryIsOperatorForResponse) XXX_Unmarshal ¶
func (m *QueryIsOperatorForResponse) XXX_Unmarshal(b []byte) error
type QueryMintedRequest ¶
type QueryMintedRequest struct {
// contract id associated with the contract.
ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
}
QueryMintedRequest is the request type for the Query/Minted RPC method
func (*QueryMintedRequest) Descriptor ¶
func (*QueryMintedRequest) Descriptor() ([]byte, []int)
func (*QueryMintedRequest) GetContractId ¶
func (m *QueryMintedRequest) GetContractId() string
func (*QueryMintedRequest) Marshal ¶
func (m *QueryMintedRequest) Marshal() (dAtA []byte, err error)
func (*QueryMintedRequest) MarshalTo ¶
func (m *QueryMintedRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryMintedRequest) MarshalToSizedBuffer ¶
func (m *QueryMintedRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryMintedRequest) ProtoMessage ¶
func (*QueryMintedRequest) ProtoMessage()
func (*QueryMintedRequest) Reset ¶
func (m *QueryMintedRequest) Reset()
func (*QueryMintedRequest) Size ¶
func (m *QueryMintedRequest) Size() (n int)
func (*QueryMintedRequest) String ¶
func (m *QueryMintedRequest) String() string
func (*QueryMintedRequest) Unmarshal ¶
func (m *QueryMintedRequest) Unmarshal(dAtA []byte) error
func (*QueryMintedRequest) XXX_DiscardUnknown ¶
func (m *QueryMintedRequest) XXX_DiscardUnknown()
func (*QueryMintedRequest) XXX_Marshal ¶
func (m *QueryMintedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryMintedRequest) XXX_Merge ¶
func (m *QueryMintedRequest) XXX_Merge(src proto.Message)
func (*QueryMintedRequest) XXX_Size ¶
func (m *QueryMintedRequest) XXX_Size() int
func (*QueryMintedRequest) XXX_Unmarshal ¶
func (m *QueryMintedRequest) XXX_Unmarshal(b []byte) error
type QueryMintedResponse ¶
type QueryMintedResponse struct {
// the amount of the minted tokens.
Amount github_com_PikeEcosystem_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=amount,proto3,customtype=github.com/PikeEcosystem/cosmos-sdk/types.Int" json:"amount"`
}
QueryMintedResponse is the response type for the Query/Minted RPC method
func (*QueryMintedResponse) Descriptor ¶
func (*QueryMintedResponse) Descriptor() ([]byte, []int)
func (*QueryMintedResponse) Marshal ¶
func (m *QueryMintedResponse) Marshal() (dAtA []byte, err error)
func (*QueryMintedResponse) MarshalTo ¶
func (m *QueryMintedResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryMintedResponse) MarshalToSizedBuffer ¶
func (m *QueryMintedResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryMintedResponse) ProtoMessage ¶
func (*QueryMintedResponse) ProtoMessage()
func (*QueryMintedResponse) Reset ¶
func (m *QueryMintedResponse) Reset()
func (*QueryMintedResponse) Size ¶
func (m *QueryMintedResponse) Size() (n int)
func (*QueryMintedResponse) String ¶
func (m *QueryMintedResponse) String() string
func (*QueryMintedResponse) Unmarshal ¶
func (m *QueryMintedResponse) Unmarshal(dAtA []byte) error
func (*QueryMintedResponse) XXX_DiscardUnknown ¶
func (m *QueryMintedResponse) XXX_DiscardUnknown()
func (*QueryMintedResponse) XXX_Marshal ¶
func (m *QueryMintedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryMintedResponse) XXX_Merge ¶
func (m *QueryMintedResponse) XXX_Merge(src proto.Message)
func (*QueryMintedResponse) XXX_Size ¶
func (m *QueryMintedResponse) XXX_Size() int
func (*QueryMintedResponse) XXX_Unmarshal ¶
func (m *QueryMintedResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface {
// Balance queries the number of tokens of a given contract owned by the address.
Balance(context.Context, *QueryBalanceRequest) (*QueryBalanceResponse, error)
// Supply queries the number of tokens from the given contract id.
Supply(context.Context, *QuerySupplyRequest) (*QuerySupplyResponse, error)
// Minted queries the number of minted tokens from the given contract id.
Minted(context.Context, *QueryMintedRequest) (*QueryMintedResponse, error)
// Burnt queries the number of burnt tokens from the given contract id.
Burnt(context.Context, *QueryBurntRequest) (*QueryBurntResponse, error)
// Contract queries an token metadata based on its contract id.
Contract(context.Context, *QueryContractRequest) (*QueryContractResponse, error)
// GranteeGrants queries permissions on a given grantee.
GranteeGrants(context.Context, *QueryGranteeGrantsRequest) (*QueryGranteeGrantsResponse, error)
// IsOperatorFor queries authorization on a given operator holder pair.
IsOperatorFor(context.Context, *QueryIsOperatorForRequest) (*QueryIsOperatorForResponse, error)
// HoldersByOperator queries holders on a given operator.
HoldersByOperator(context.Context, *QueryHoldersByOperatorRequest) (*QueryHoldersByOperatorResponse, error)
}
QueryServer is the server API for Query service.
type QuerySupplyRequest ¶
type QuerySupplyRequest struct {
// contract id associated with the contract.
ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
}
QuerySupplyRequest is the request type for the Query/Supply RPC method
func (*QuerySupplyRequest) Descriptor ¶
func (*QuerySupplyRequest) Descriptor() ([]byte, []int)
func (*QuerySupplyRequest) GetContractId ¶
func (m *QuerySupplyRequest) GetContractId() 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 {
// the supply of the tokens.
Amount github_com_PikeEcosystem_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=amount,proto3,customtype=github.com/PikeEcosystem/cosmos-sdk/types.Int" json:"amount"`
}
QuerySupplyResponse is the response type for the Query/Supply RPC method
func (*QuerySupplyResponse) Descriptor ¶
func (*QuerySupplyResponse) Descriptor() ([]byte, []int)
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) AuthorizeOperator ¶
func (*UnimplementedMsgServer) AuthorizeOperator(ctx context.Context, req *MsgAuthorizeOperator) (*MsgAuthorizeOperatorResponse, error)
func (*UnimplementedMsgServer) Burn ¶
func (*UnimplementedMsgServer) Burn(ctx context.Context, req *MsgBurn) (*MsgBurnResponse, error)
func (*UnimplementedMsgServer) GrantPermission ¶
func (*UnimplementedMsgServer) GrantPermission(ctx context.Context, req *MsgGrantPermission) (*MsgGrantPermissionResponse, error)
func (*UnimplementedMsgServer) Issue ¶
func (*UnimplementedMsgServer) Issue(ctx context.Context, req *MsgIssue) (*MsgIssueResponse, error)
func (*UnimplementedMsgServer) Mint ¶
func (*UnimplementedMsgServer) Mint(ctx context.Context, req *MsgMint) (*MsgMintResponse, error)
func (*UnimplementedMsgServer) Modify ¶
func (*UnimplementedMsgServer) Modify(ctx context.Context, req *MsgModify) (*MsgModifyResponse, error)
func (*UnimplementedMsgServer) OperatorBurn ¶
func (*UnimplementedMsgServer) OperatorBurn(ctx context.Context, req *MsgOperatorBurn) (*MsgOperatorBurnResponse, error)
func (*UnimplementedMsgServer) OperatorSend ¶
func (*UnimplementedMsgServer) OperatorSend(ctx context.Context, req *MsgOperatorSend) (*MsgOperatorSendResponse, error)
func (*UnimplementedMsgServer) RevokeOperator ¶
func (*UnimplementedMsgServer) RevokeOperator(ctx context.Context, req *MsgRevokeOperator) (*MsgRevokeOperatorResponse, error)
func (*UnimplementedMsgServer) RevokePermission ¶
func (*UnimplementedMsgServer) RevokePermission(ctx context.Context, req *MsgRevokePermission) (*MsgRevokePermissionResponse, error)
func (*UnimplementedMsgServer) Send ¶
func (*UnimplementedMsgServer) Send(ctx context.Context, req *MsgSend) (*MsgSendResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct {
}
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) Balance ¶
func (*UnimplementedQueryServer) Balance(ctx context.Context, req *QueryBalanceRequest) (*QueryBalanceResponse, error)
func (*UnimplementedQueryServer) Burnt ¶
func (*UnimplementedQueryServer) Burnt(ctx context.Context, req *QueryBurntRequest) (*QueryBurntResponse, error)
func (*UnimplementedQueryServer) Contract ¶
func (*UnimplementedQueryServer) Contract(ctx context.Context, req *QueryContractRequest) (*QueryContractResponse, error)
func (*UnimplementedQueryServer) GranteeGrants ¶
func (*UnimplementedQueryServer) GranteeGrants(ctx context.Context, req *QueryGranteeGrantsRequest) (*QueryGranteeGrantsResponse, error)
func (*UnimplementedQueryServer) HoldersByOperator ¶
func (*UnimplementedQueryServer) HoldersByOperator(ctx context.Context, req *QueryHoldersByOperatorRequest) (*QueryHoldersByOperatorResponse, error)
func (*UnimplementedQueryServer) IsOperatorFor ¶
func (*UnimplementedQueryServer) IsOperatorFor(ctx context.Context, req *QueryIsOperatorForRequest) (*QueryIsOperatorForResponse, error)
func (*UnimplementedQueryServer) Minted ¶
func (*UnimplementedQueryServer) Minted(ctx context.Context, req *QueryMintedRequest) (*QueryMintedResponse, error)
func (*UnimplementedQueryServer) Supply ¶
func (*UnimplementedQueryServer) Supply(ctx context.Context, req *QuerySupplyRequest) (*QuerySupplyResponse, error)