Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func IsValidToken(token *Token) bool
- func IsValidTokenProperties(tokenProperties *TokenProperties) bool
- func Map[T, V any](ts []T, fn func(T) V) []V
- func ParamKeyTable() paramstypes.KeyTable
- 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)
- type CreditsTransferred
- func (*CreditsTransferred) Descriptor() ([]byte, []int)
- func (this *CreditsTransferred) Equal(that interface{}) bool
- func (m *CreditsTransferred) GetAuthorizationId() string
- func (m *CreditsTransferred) GetId() string
- func (m *CreditsTransferred) GetJurisdiction() string
- func (m *CreditsTransferred) GetOwner() string
- func (m *CreditsTransferred) GetReason() string
- func (m *CreditsTransferred) Marshal() (dAtA []byte, err error)
- func (m *CreditsTransferred) MarshalTo(dAtA []byte) (int, error)
- func (m *CreditsTransferred) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CreditsTransferred) ProtoMessage()
- func (m *CreditsTransferred) Reset()
- func (m *CreditsTransferred) Size() (n int)
- func (m *CreditsTransferred) String() string
- func (m *CreditsTransferred) Unmarshal(dAtA []byte) error
- func (m *CreditsTransferred) XXX_DiscardUnknown()
- func (m *CreditsTransferred) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreditsTransferred) XXX_Merge(src proto.Message)
- func (m *CreditsTransferred) XXX_Size() int
- func (m *CreditsTransferred) XXX_Unmarshal(b []byte) error
- type CreditsTransferredEvent
- func (*CreditsTransferredEvent) Descriptor() ([]byte, []int)
- func (m *CreditsTransferredEvent) GetOwner() string
- func (m *CreditsTransferredEvent) GetTokens() []*TokenBatch
- func (m *CreditsTransferredEvent) Marshal() (dAtA []byte, err error)
- func (m *CreditsTransferredEvent) MarshalTo(dAtA []byte) (int, error)
- func (m *CreditsTransferredEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CreditsTransferredEvent) ProtoMessage()
- func (m *CreditsTransferredEvent) Reset()
- func (m *CreditsTransferredEvent) Size() (n int)
- func (m *CreditsTransferredEvent) String() string
- func (m *CreditsTransferredEvent) Unmarshal(dAtA []byte) error
- func (m *CreditsTransferredEvent) XXX_DiscardUnknown()
- func (m *CreditsTransferredEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreditsTransferredEvent) XXX_Merge(src proto.Message)
- func (m *CreditsTransferredEvent) XXX_Size() int
- func (m *CreditsTransferredEvent) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) GetTokenProperties() []TokenProperties
- func (m *GenesisState) GetTokens() []Token
- 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 (gs GenesisState) Validate() 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 IidKeeper
- type MintAuthorization
- func (a MintAuthorization) Accept(_ context.Context, msg sdk.Msg) (authz.AcceptResponse, error)
- func (*MintAuthorization) Descriptor() ([]byte, []int)
- func (m *MintAuthorization) GetConstraints() []*MintConstraints
- func (m *MintAuthorization) GetMinter() string
- func (m *MintAuthorization) Marshal() (dAtA []byte, err error)
- func (m *MintAuthorization) MarshalTo(dAtA []byte) (int, error)
- func (m *MintAuthorization) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (a MintAuthorization) MsgTypeURL() string
- func (*MintAuthorization) ProtoMessage()
- func (m *MintAuthorization) Reset()
- func (m *MintAuthorization) Size() (n int)
- func (m *MintAuthorization) String() string
- func (m *MintAuthorization) Unmarshal(dAtA []byte) error
- func (a MintAuthorization) ValidateBasic() error
- func (m *MintAuthorization) XXX_DiscardUnknown()
- func (m *MintAuthorization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MintAuthorization) XXX_Merge(src proto.Message)
- func (m *MintAuthorization) XXX_Size() int
- func (m *MintAuthorization) XXX_Unmarshal(b []byte) error
- type MintBatch
- func (*MintBatch) Descriptor() ([]byte, []int)
- func (this *MintBatch) Equal(that interface{}) bool
- func (m *MintBatch) GetCollection() string
- func (m *MintBatch) GetIndex() string
- func (m *MintBatch) GetName() string
- func (m *MintBatch) GetTokenData() []*TokenData
- func (m *MintBatch) Marshal() (dAtA []byte, err error)
- func (m *MintBatch) MarshalTo(dAtA []byte) (int, error)
- func (m *MintBatch) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MintBatch) ProtoMessage()
- func (m *MintBatch) Reset()
- func (m *MintBatch) Size() (n int)
- func (m *MintBatch) String() string
- func (m *MintBatch) Unmarshal(dAtA []byte) error
- func (m *MintBatch) XXX_DiscardUnknown()
- func (m *MintBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MintBatch) XXX_Merge(src proto.Message)
- func (m *MintBatch) XXX_Size() int
- func (m *MintBatch) XXX_Unmarshal(b []byte) error
- type MintBatchData
- type MintConstraints
- func (*MintConstraints) Descriptor() ([]byte, []int)
- func (m *MintConstraints) GetCollection() string
- func (m *MintConstraints) GetContractAddress() string
- func (m *MintConstraints) GetIndex() string
- func (m *MintConstraints) GetName() string
- func (m *MintConstraints) GetTokenData() []*TokenData
- func (m *MintConstraints) Marshal() (dAtA []byte, err error)
- func (m *MintConstraints) MarshalTo(dAtA []byte) (int, error)
- func (m *MintConstraints) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MintConstraints) ProtoMessage()
- func (m *MintConstraints) Reset()
- func (m *MintConstraints) Size() (n int)
- func (m *MintConstraints) String() string
- func (m *MintConstraints) Unmarshal(dAtA []byte) error
- func (m *MintConstraints) XXX_DiscardUnknown()
- func (m *MintConstraints) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MintConstraints) XXX_Merge(src proto.Message)
- func (m *MintConstraints) XXX_Size() int
- func (m *MintConstraints) XXX_Unmarshal(b []byte) error
- type MsgCancelToken
- func (*MsgCancelToken) Descriptor() ([]byte, []int)
- func (m *MsgCancelToken) GetOwner() string
- func (m *MsgCancelToken) GetReason() string
- func (m *MsgCancelToken) GetTokens() []*TokenBatch
- func (m *MsgCancelToken) Marshal() (dAtA []byte, err error)
- func (m *MsgCancelToken) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCancelToken) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCancelToken) ProtoMessage()
- func (m *MsgCancelToken) Reset()
- func (msg MsgCancelToken) Route() string
- func (m *MsgCancelToken) Size() (n int)
- func (m *MsgCancelToken) String() string
- func (msg MsgCancelToken) Type() string
- func (m *MsgCancelToken) Unmarshal(dAtA []byte) error
- func (msg MsgCancelToken) ValidateBasic() error
- func (m *MsgCancelToken) XXX_DiscardUnknown()
- func (m *MsgCancelToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCancelToken) XXX_Merge(src proto.Message)
- func (m *MsgCancelToken) XXX_Size() int
- func (m *MsgCancelToken) XXX_Unmarshal(b []byte) error
- type MsgCancelTokenResponse
- func (*MsgCancelTokenResponse) Descriptor() ([]byte, []int)
- func (m *MsgCancelTokenResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCancelTokenResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCancelTokenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCancelTokenResponse) ProtoMessage()
- func (m *MsgCancelTokenResponse) Reset()
- func (m *MsgCancelTokenResponse) Size() (n int)
- func (m *MsgCancelTokenResponse) String() string
- func (m *MsgCancelTokenResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCancelTokenResponse) XXX_DiscardUnknown()
- func (m *MsgCancelTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCancelTokenResponse) XXX_Merge(src proto.Message)
- func (m *MsgCancelTokenResponse) XXX_Size() int
- func (m *MsgCancelTokenResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgCreateToken
- func (*MsgCreateToken) Descriptor() ([]byte, []int)
- func (m *MsgCreateToken) GetClass() github_com_ixofoundation_ixo_blockchain_v4_x_iid_types.DIDFragment
- func (m *MsgCreateToken) GetDescription() string
- func (m *MsgCreateToken) GetImage() string
- func (m *MsgCreateToken) GetMinter() string
- func (m *MsgCreateToken) GetName() string
- func (m *MsgCreateToken) GetTokenType() string
- func (m *MsgCreateToken) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateToken) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateToken) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateToken) ProtoMessage()
- func (m *MsgCreateToken) Reset()
- func (msg MsgCreateToken) Route() string
- func (m *MsgCreateToken) Size() (n int)
- func (m *MsgCreateToken) String() string
- func (msg MsgCreateToken) Type() string
- func (m *MsgCreateToken) Unmarshal(dAtA []byte) error
- func (msg MsgCreateToken) ValidateBasic() error
- func (m *MsgCreateToken) XXX_DiscardUnknown()
- func (m *MsgCreateToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateToken) XXX_Merge(src proto.Message)
- func (m *MsgCreateToken) XXX_Size() int
- func (m *MsgCreateToken) XXX_Unmarshal(b []byte) error
- type MsgCreateTokenResponse
- func (*MsgCreateTokenResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateTokenResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateTokenResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateTokenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateTokenResponse) ProtoMessage()
- func (m *MsgCreateTokenResponse) Reset()
- func (m *MsgCreateTokenResponse) Size() (n int)
- func (m *MsgCreateTokenResponse) String() string
- func (m *MsgCreateTokenResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateTokenResponse) XXX_DiscardUnknown()
- func (m *MsgCreateTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateTokenResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateTokenResponse) XXX_Size() int
- func (m *MsgCreateTokenResponse) XXX_Unmarshal(b []byte) error
- type MsgMintToken
- func (*MsgMintToken) Descriptor() ([]byte, []int)
- func (m *MsgMintToken) GetContractAddress() string
- func (m *MsgMintToken) GetMintBatch() []*MintBatch
- func (m *MsgMintToken) GetMinter() string
- func (m *MsgMintToken) GetOwner() string
- func (m *MsgMintToken) Marshal() (dAtA []byte, err error)
- func (m *MsgMintToken) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMintToken) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMintToken) ProtoMessage()
- func (m *MsgMintToken) Reset()
- func (msg MsgMintToken) Route() string
- func (m *MsgMintToken) Size() (n int)
- func (m *MsgMintToken) String() string
- func (msg MsgMintToken) Type() string
- func (m *MsgMintToken) Unmarshal(dAtA []byte) error
- func (msg MsgMintToken) ValidateBasic() error
- func (m *MsgMintToken) XXX_DiscardUnknown()
- func (m *MsgMintToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMintToken) XXX_Merge(src proto.Message)
- func (m *MsgMintToken) XXX_Size() int
- func (m *MsgMintToken) XXX_Unmarshal(b []byte) error
- type MsgMintTokenResponse
- func (*MsgMintTokenResponse) Descriptor() ([]byte, []int)
- func (m *MsgMintTokenResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgMintTokenResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMintTokenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMintTokenResponse) ProtoMessage()
- func (m *MsgMintTokenResponse) Reset()
- func (m *MsgMintTokenResponse) Size() (n int)
- func (m *MsgMintTokenResponse) String() string
- func (m *MsgMintTokenResponse) Unmarshal(dAtA []byte) error
- func (m *MsgMintTokenResponse) XXX_DiscardUnknown()
- func (m *MsgMintTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMintTokenResponse) XXX_Merge(src proto.Message)
- func (m *MsgMintTokenResponse) XXX_Size() int
- func (m *MsgMintTokenResponse) XXX_Unmarshal(b []byte) error
- type MsgPauseToken
- func (*MsgPauseToken) Descriptor() ([]byte, []int)
- func (m *MsgPauseToken) GetContractAddress() string
- func (m *MsgPauseToken) GetMinter() string
- func (m *MsgPauseToken) GetPaused() bool
- func (m *MsgPauseToken) Marshal() (dAtA []byte, err error)
- func (m *MsgPauseToken) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgPauseToken) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgPauseToken) ProtoMessage()
- func (m *MsgPauseToken) Reset()
- func (msg MsgPauseToken) Route() string
- func (m *MsgPauseToken) Size() (n int)
- func (m *MsgPauseToken) String() string
- func (msg MsgPauseToken) Type() string
- func (m *MsgPauseToken) Unmarshal(dAtA []byte) error
- func (msg MsgPauseToken) ValidateBasic() error
- func (m *MsgPauseToken) XXX_DiscardUnknown()
- func (m *MsgPauseToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgPauseToken) XXX_Merge(src proto.Message)
- func (m *MsgPauseToken) XXX_Size() int
- func (m *MsgPauseToken) XXX_Unmarshal(b []byte) error
- type MsgPauseTokenResponse
- func (*MsgPauseTokenResponse) Descriptor() ([]byte, []int)
- func (m *MsgPauseTokenResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgPauseTokenResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgPauseTokenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgPauseTokenResponse) ProtoMessage()
- func (m *MsgPauseTokenResponse) Reset()
- func (m *MsgPauseTokenResponse) Size() (n int)
- func (m *MsgPauseTokenResponse) String() string
- func (m *MsgPauseTokenResponse) Unmarshal(dAtA []byte) error
- func (m *MsgPauseTokenResponse) XXX_DiscardUnknown()
- func (m *MsgPauseTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgPauseTokenResponse) XXX_Merge(src proto.Message)
- func (m *MsgPauseTokenResponse) XXX_Size() int
- func (m *MsgPauseTokenResponse) XXX_Unmarshal(b []byte) error
- type MsgRetireToken
- func (*MsgRetireToken) Descriptor() ([]byte, []int)
- func (m *MsgRetireToken) GetJurisdiction() string
- func (m *MsgRetireToken) GetOwner() string
- func (m *MsgRetireToken) GetReason() string
- func (m *MsgRetireToken) GetTokens() []*TokenBatch
- func (m *MsgRetireToken) Marshal() (dAtA []byte, err error)
- func (m *MsgRetireToken) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRetireToken) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRetireToken) ProtoMessage()
- func (m *MsgRetireToken) Reset()
- func (msg MsgRetireToken) Route() string
- func (m *MsgRetireToken) Size() (n int)
- func (m *MsgRetireToken) String() string
- func (msg MsgRetireToken) Type() string
- func (m *MsgRetireToken) Unmarshal(dAtA []byte) error
- func (msg MsgRetireToken) ValidateBasic() error
- func (m *MsgRetireToken) XXX_DiscardUnknown()
- func (m *MsgRetireToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRetireToken) XXX_Merge(src proto.Message)
- func (m *MsgRetireToken) XXX_Size() int
- func (m *MsgRetireToken) XXX_Unmarshal(b []byte) error
- type MsgRetireTokenResponse
- func (*MsgRetireTokenResponse) Descriptor() ([]byte, []int)
- func (m *MsgRetireTokenResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRetireTokenResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRetireTokenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRetireTokenResponse) ProtoMessage()
- func (m *MsgRetireTokenResponse) Reset()
- func (m *MsgRetireTokenResponse) Size() (n int)
- func (m *MsgRetireTokenResponse) String() string
- func (m *MsgRetireTokenResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRetireTokenResponse) XXX_DiscardUnknown()
- func (m *MsgRetireTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRetireTokenResponse) XXX_Merge(src proto.Message)
- func (m *MsgRetireTokenResponse) XXX_Size() int
- func (m *MsgRetireTokenResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgStopToken
- func (*MsgStopToken) Descriptor() ([]byte, []int)
- func (m *MsgStopToken) GetContractAddress() string
- func (m *MsgStopToken) GetMinter() string
- func (m *MsgStopToken) Marshal() (dAtA []byte, err error)
- func (m *MsgStopToken) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgStopToken) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgStopToken) ProtoMessage()
- func (m *MsgStopToken) Reset()
- func (msg MsgStopToken) Route() string
- func (m *MsgStopToken) Size() (n int)
- func (m *MsgStopToken) String() string
- func (msg MsgStopToken) Type() string
- func (m *MsgStopToken) Unmarshal(dAtA []byte) error
- func (msg MsgStopToken) ValidateBasic() error
- func (m *MsgStopToken) XXX_DiscardUnknown()
- func (m *MsgStopToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgStopToken) XXX_Merge(src proto.Message)
- func (m *MsgStopToken) XXX_Size() int
- func (m *MsgStopToken) XXX_Unmarshal(b []byte) error
- type MsgStopTokenResponse
- func (*MsgStopTokenResponse) Descriptor() ([]byte, []int)
- func (m *MsgStopTokenResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgStopTokenResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgStopTokenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgStopTokenResponse) ProtoMessage()
- func (m *MsgStopTokenResponse) Reset()
- func (m *MsgStopTokenResponse) Size() (n int)
- func (m *MsgStopTokenResponse) String() string
- func (m *MsgStopTokenResponse) Unmarshal(dAtA []byte) error
- func (m *MsgStopTokenResponse) XXX_DiscardUnknown()
- func (m *MsgStopTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgStopTokenResponse) XXX_Merge(src proto.Message)
- func (m *MsgStopTokenResponse) XXX_Size() int
- func (m *MsgStopTokenResponse) XXX_Unmarshal(b []byte) error
- type MsgTransferCredit
- func (*MsgTransferCredit) Descriptor() ([]byte, []int)
- func (m *MsgTransferCredit) GetAuthorizationId() string
- func (m *MsgTransferCredit) GetJurisdiction() string
- func (m *MsgTransferCredit) GetOwner() string
- func (m *MsgTransferCredit) GetReason() string
- func (m *MsgTransferCredit) GetTokens() []*TokenBatch
- func (m *MsgTransferCredit) Marshal() (dAtA []byte, err error)
- func (m *MsgTransferCredit) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgTransferCredit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgTransferCredit) ProtoMessage()
- func (m *MsgTransferCredit) Reset()
- func (msg MsgTransferCredit) Route() string
- func (m *MsgTransferCredit) Size() (n int)
- func (m *MsgTransferCredit) String() string
- func (msg MsgTransferCredit) Type() string
- func (m *MsgTransferCredit) Unmarshal(dAtA []byte) error
- func (msg MsgTransferCredit) ValidateBasic() error
- func (m *MsgTransferCredit) XXX_DiscardUnknown()
- func (m *MsgTransferCredit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgTransferCredit) XXX_Merge(src proto.Message)
- func (m *MsgTransferCredit) XXX_Size() int
- func (m *MsgTransferCredit) XXX_Unmarshal(b []byte) error
- type MsgTransferCreditResponse
- func (*MsgTransferCreditResponse) Descriptor() ([]byte, []int)
- func (m *MsgTransferCreditResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgTransferCreditResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgTransferCreditResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgTransferCreditResponse) ProtoMessage()
- func (m *MsgTransferCreditResponse) Reset()
- func (m *MsgTransferCreditResponse) Size() (n int)
- func (m *MsgTransferCreditResponse) String() string
- func (m *MsgTransferCreditResponse) Unmarshal(dAtA []byte) error
- func (m *MsgTransferCreditResponse) XXX_DiscardUnknown()
- func (m *MsgTransferCreditResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgTransferCreditResponse) XXX_Merge(src proto.Message)
- func (m *MsgTransferCreditResponse) XXX_Size() int
- func (m *MsgTransferCreditResponse) XXX_Unmarshal(b []byte) error
- type MsgTransferToken
- func (*MsgTransferToken) Descriptor() ([]byte, []int)
- func (m *MsgTransferToken) GetOwner() string
- func (m *MsgTransferToken) GetRecipient() string
- func (m *MsgTransferToken) GetTokens() []*TokenBatch
- func (m *MsgTransferToken) Marshal() (dAtA []byte, err error)
- func (m *MsgTransferToken) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgTransferToken) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgTransferToken) ProtoMessage()
- func (m *MsgTransferToken) Reset()
- func (msg MsgTransferToken) Route() string
- func (m *MsgTransferToken) Size() (n int)
- func (m *MsgTransferToken) String() string
- func (msg MsgTransferToken) Type() string
- func (m *MsgTransferToken) Unmarshal(dAtA []byte) error
- func (msg MsgTransferToken) ValidateBasic() error
- func (m *MsgTransferToken) XXX_DiscardUnknown()
- func (m *MsgTransferToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgTransferToken) XXX_Merge(src proto.Message)
- func (m *MsgTransferToken) XXX_Size() int
- func (m *MsgTransferToken) XXX_Unmarshal(b []byte) error
- type MsgTransferTokenResponse
- func (*MsgTransferTokenResponse) Descriptor() ([]byte, []int)
- func (m *MsgTransferTokenResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgTransferTokenResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgTransferTokenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgTransferTokenResponse) ProtoMessage()
- func (m *MsgTransferTokenResponse) Reset()
- func (m *MsgTransferTokenResponse) Size() (n int)
- func (m *MsgTransferTokenResponse) String() string
- func (m *MsgTransferTokenResponse) Unmarshal(dAtA []byte) error
- func (m *MsgTransferTokenResponse) XXX_DiscardUnknown()
- func (m *MsgTransferTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgTransferTokenResponse) XXX_Merge(src proto.Message)
- func (m *MsgTransferTokenResponse) XXX_Size() int
- func (m *MsgTransferTokenResponse) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetIxo1155ContractCode() uint64
- 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 (p *Params) ParamSetPairs() paramstypes.ParamSetPairs
- 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 (p Params) Validate() 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 QueryClient
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type QueryTokenDocRequest
- func (*QueryTokenDocRequest) Descriptor() ([]byte, []int)
- func (m *QueryTokenDocRequest) GetContractAddress() string
- func (m *QueryTokenDocRequest) GetMinter() string
- func (m *QueryTokenDocRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryTokenDocRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTokenDocRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTokenDocRequest) ProtoMessage()
- func (m *QueryTokenDocRequest) Reset()
- func (m *QueryTokenDocRequest) Size() (n int)
- func (m *QueryTokenDocRequest) String() string
- func (m *QueryTokenDocRequest) Unmarshal(dAtA []byte) error
- func (m *QueryTokenDocRequest) XXX_DiscardUnknown()
- func (m *QueryTokenDocRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTokenDocRequest) XXX_Merge(src proto.Message)
- func (m *QueryTokenDocRequest) XXX_Size() int
- func (m *QueryTokenDocRequest) XXX_Unmarshal(b []byte) error
- type QueryTokenDocResponse
- func (*QueryTokenDocResponse) Descriptor() ([]byte, []int)
- func (m *QueryTokenDocResponse) GetTokenDoc() Token
- func (m *QueryTokenDocResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryTokenDocResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTokenDocResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTokenDocResponse) ProtoMessage()
- func (m *QueryTokenDocResponse) Reset()
- func (m *QueryTokenDocResponse) Size() (n int)
- func (m *QueryTokenDocResponse) String() string
- func (m *QueryTokenDocResponse) Unmarshal(dAtA []byte) error
- func (m *QueryTokenDocResponse) XXX_DiscardUnknown()
- func (m *QueryTokenDocResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTokenDocResponse) XXX_Merge(src proto.Message)
- func (m *QueryTokenDocResponse) XXX_Size() int
- func (m *QueryTokenDocResponse) XXX_Unmarshal(b []byte) error
- type QueryTokenListRequest
- func (*QueryTokenListRequest) Descriptor() ([]byte, []int)
- func (m *QueryTokenListRequest) GetMinter() string
- func (m *QueryTokenListRequest) GetPagination() *query.PageRequest
- func (m *QueryTokenListRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryTokenListRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTokenListRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTokenListRequest) ProtoMessage()
- func (m *QueryTokenListRequest) Reset()
- func (m *QueryTokenListRequest) Size() (n int)
- func (m *QueryTokenListRequest) String() string
- func (m *QueryTokenListRequest) Unmarshal(dAtA []byte) error
- func (m *QueryTokenListRequest) XXX_DiscardUnknown()
- func (m *QueryTokenListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTokenListRequest) XXX_Merge(src proto.Message)
- func (m *QueryTokenListRequest) XXX_Size() int
- func (m *QueryTokenListRequest) XXX_Unmarshal(b []byte) error
- type QueryTokenListResponse
- func (*QueryTokenListResponse) Descriptor() ([]byte, []int)
- func (m *QueryTokenListResponse) GetPagination() *query.PageResponse
- func (m *QueryTokenListResponse) GetTokenDocs() []Token
- func (m *QueryTokenListResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryTokenListResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTokenListResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTokenListResponse) ProtoMessage()
- func (m *QueryTokenListResponse) Reset()
- func (m *QueryTokenListResponse) Size() (n int)
- func (m *QueryTokenListResponse) String() string
- func (m *QueryTokenListResponse) Unmarshal(dAtA []byte) error
- func (m *QueryTokenListResponse) XXX_DiscardUnknown()
- func (m *QueryTokenListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTokenListResponse) XXX_Merge(src proto.Message)
- func (m *QueryTokenListResponse) XXX_Size() int
- func (m *QueryTokenListResponse) XXX_Unmarshal(b []byte) error
- type QueryTokenMetadataRequest
- func (*QueryTokenMetadataRequest) Descriptor() ([]byte, []int)
- func (m *QueryTokenMetadataRequest) GetId() string
- func (m *QueryTokenMetadataRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryTokenMetadataRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTokenMetadataRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTokenMetadataRequest) ProtoMessage()
- func (m *QueryTokenMetadataRequest) Reset()
- func (m *QueryTokenMetadataRequest) Size() (n int)
- func (m *QueryTokenMetadataRequest) String() string
- func (m *QueryTokenMetadataRequest) Unmarshal(dAtA []byte) error
- func (m *QueryTokenMetadataRequest) XXX_DiscardUnknown()
- func (m *QueryTokenMetadataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTokenMetadataRequest) XXX_Merge(src proto.Message)
- func (m *QueryTokenMetadataRequest) XXX_Size() int
- func (m *QueryTokenMetadataRequest) XXX_Unmarshal(b []byte) error
- type QueryTokenMetadataResponse
- func (*QueryTokenMetadataResponse) Descriptor() ([]byte, []int)
- func (m *QueryTokenMetadataResponse) GetDecimals() string
- func (m *QueryTokenMetadataResponse) GetDescription() string
- func (m *QueryTokenMetadataResponse) GetImage() string
- func (m *QueryTokenMetadataResponse) GetIndex() string
- func (m *QueryTokenMetadataResponse) GetName() string
- func (m *QueryTokenMetadataResponse) GetProperties() *TokenMetadataProperties
- func (m *QueryTokenMetadataResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryTokenMetadataResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTokenMetadataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTokenMetadataResponse) ProtoMessage()
- func (m *QueryTokenMetadataResponse) Reset()
- func (m *QueryTokenMetadataResponse) Size() (n int)
- func (m *QueryTokenMetadataResponse) String() string
- func (m *QueryTokenMetadataResponse) Unmarshal(dAtA []byte) error
- func (m *QueryTokenMetadataResponse) XXX_DiscardUnknown()
- func (m *QueryTokenMetadataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTokenMetadataResponse) XXX_Merge(src proto.Message)
- func (m *QueryTokenMetadataResponse) XXX_Size() int
- func (m *QueryTokenMetadataResponse) XXX_Unmarshal(b []byte) error
- type SetTokenContractCodes
- func (*SetTokenContractCodes) Descriptor() ([]byte, []int)
- func (p *SetTokenContractCodes) GetDescription() string
- func (m *SetTokenContractCodes) GetIxo1155ContractCode() uint64
- func (p *SetTokenContractCodes) GetTitle() string
- func (m *SetTokenContractCodes) Marshal() (dAtA []byte, err error)
- func (m *SetTokenContractCodes) MarshalTo(dAtA []byte) (int, error)
- func (m *SetTokenContractCodes) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *SetTokenContractCodes) ProposalRoute() string
- func (p *SetTokenContractCodes) ProposalType() string
- func (*SetTokenContractCodes) ProtoMessage()
- func (m *SetTokenContractCodes) Reset()
- func (m *SetTokenContractCodes) Size() (n int)
- func (m *SetTokenContractCodes) String() string
- func (m *SetTokenContractCodes) Unmarshal(dAtA []byte) error
- func (p *SetTokenContractCodes) ValidateBasic() error
- func (m *SetTokenContractCodes) XXX_DiscardUnknown()
- func (m *SetTokenContractCodes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SetTokenContractCodes) XXX_Merge(src proto.Message)
- func (m *SetTokenContractCodes) XXX_Size() int
- func (m *SetTokenContractCodes) XXX_Unmarshal(b []byte) error
- type Token
- func (*Token) Descriptor() ([]byte, []int)
- func (this *Token) Equal(that interface{}) bool
- func (m *Token) GetCancelled() []*TokensCancelled
- func (m *Token) GetClass() string
- func (m *Token) GetContractAddress() string
- func (m *Token) GetDescription() string
- func (m *Token) GetImage() string
- func (m *Token) GetMinter() string
- func (m *Token) GetName() string
- func (m *Token) GetPaused() bool
- func (m *Token) GetRetired() []*TokensRetired
- func (m *Token) GetStopped() bool
- func (m *Token) GetTransferred() []*CreditsTransferred
- func (m *Token) GetType() string
- func (m *Token) Marshal() (dAtA []byte, err error)
- func (m *Token) MarshalTo(dAtA []byte) (int, error)
- func (m *Token) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Token) ProtoMessage()
- func (m *Token) Reset()
- func (m *Token) Size() (n int)
- func (m *Token) String() string
- func (m *Token) Unmarshal(dAtA []byte) error
- func (m *Token) XXX_DiscardUnknown()
- func (m *Token) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Token) XXX_Merge(src proto.Message)
- func (m *Token) XXX_Size() int
- func (m *Token) XXX_Unmarshal(b []byte) error
- type TokenBatch
- func (*TokenBatch) Descriptor() ([]byte, []int)
- func (this *TokenBatch) Equal(that interface{}) bool
- func (m *TokenBatch) GetId() string
- func (batch *TokenBatch) GetWasmTransferBatch() ixo1155.Batch
- func (m *TokenBatch) Marshal() (dAtA []byte, err error)
- func (m *TokenBatch) MarshalTo(dAtA []byte) (int, error)
- func (m *TokenBatch) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TokenBatch) ProtoMessage()
- func (m *TokenBatch) Reset()
- func (m *TokenBatch) Size() (n int)
- func (m *TokenBatch) String() string
- func (m *TokenBatch) Unmarshal(dAtA []byte) error
- func (m *TokenBatch) XXX_DiscardUnknown()
- func (m *TokenBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TokenBatch) XXX_Merge(src proto.Message)
- func (m *TokenBatch) XXX_Size() int
- func (m *TokenBatch) XXX_Unmarshal(b []byte) error
- type TokenCancelledEvent
- func (*TokenCancelledEvent) Descriptor() ([]byte, []int)
- func (m *TokenCancelledEvent) GetOwner() string
- func (m *TokenCancelledEvent) GetTokens() []*TokenBatch
- func (m *TokenCancelledEvent) Marshal() (dAtA []byte, err error)
- func (m *TokenCancelledEvent) MarshalTo(dAtA []byte) (int, error)
- func (m *TokenCancelledEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TokenCancelledEvent) ProtoMessage()
- func (m *TokenCancelledEvent) Reset()
- func (m *TokenCancelledEvent) Size() (n int)
- func (m *TokenCancelledEvent) String() string
- func (m *TokenCancelledEvent) Unmarshal(dAtA []byte) error
- func (m *TokenCancelledEvent) XXX_DiscardUnknown()
- func (m *TokenCancelledEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TokenCancelledEvent) XXX_Merge(src proto.Message)
- func (m *TokenCancelledEvent) XXX_Size() int
- func (m *TokenCancelledEvent) XXX_Unmarshal(b []byte) error
- type TokenCreatedEvent
- func (*TokenCreatedEvent) Descriptor() ([]byte, []int)
- func (m *TokenCreatedEvent) GetToken() *Token
- func (m *TokenCreatedEvent) Marshal() (dAtA []byte, err error)
- func (m *TokenCreatedEvent) MarshalTo(dAtA []byte) (int, error)
- func (m *TokenCreatedEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TokenCreatedEvent) ProtoMessage()
- func (m *TokenCreatedEvent) Reset()
- func (m *TokenCreatedEvent) Size() (n int)
- func (m *TokenCreatedEvent) String() string
- func (m *TokenCreatedEvent) Unmarshal(dAtA []byte) error
- func (m *TokenCreatedEvent) XXX_DiscardUnknown()
- func (m *TokenCreatedEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TokenCreatedEvent) XXX_Merge(src proto.Message)
- func (m *TokenCreatedEvent) XXX_Size() int
- func (m *TokenCreatedEvent) XXX_Unmarshal(b []byte) error
- type TokenData
- func (*TokenData) Descriptor() ([]byte, []int)
- func (this *TokenData) Equal(that interface{}) bool
- func (m *TokenData) GetEncrypted() bool
- func (m *TokenData) GetId() string
- func (m *TokenData) GetProof() string
- func (m *TokenData) GetType() string
- func (m *TokenData) GetUri() string
- func (m *TokenData) Marshal() (dAtA []byte, err error)
- func (m *TokenData) MarshalTo(dAtA []byte) (int, error)
- func (m *TokenData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TokenData) ProtoMessage()
- func (m *TokenData) Reset()
- func (m *TokenData) Size() (n int)
- func (m *TokenData) String() string
- func (m *TokenData) Unmarshal(dAtA []byte) error
- func (m *TokenData) XXX_DiscardUnknown()
- func (m *TokenData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TokenData) XXX_Merge(src proto.Message)
- func (m *TokenData) XXX_Size() int
- func (m *TokenData) XXX_Unmarshal(b []byte) error
- type TokenMetadataProperties
- func (*TokenMetadataProperties) Descriptor() ([]byte, []int)
- func (this *TokenMetadataProperties) Equal(that interface{}) bool
- func (m *TokenMetadataProperties) GetCap() string
- func (m *TokenMetadataProperties) GetClass() string
- func (m *TokenMetadataProperties) GetCollection() string
- func (m *TokenMetadataProperties) GetLinkedResources() []*TokenData
- func (m *TokenMetadataProperties) Marshal() (dAtA []byte, err error)
- func (m *TokenMetadataProperties) MarshalTo(dAtA []byte) (int, error)
- func (m *TokenMetadataProperties) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TokenMetadataProperties) ProtoMessage()
- func (m *TokenMetadataProperties) Reset()
- func (m *TokenMetadataProperties) Size() (n int)
- func (m *TokenMetadataProperties) String() string
- func (m *TokenMetadataProperties) Unmarshal(dAtA []byte) error
- func (m *TokenMetadataProperties) XXX_DiscardUnknown()
- func (m *TokenMetadataProperties) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TokenMetadataProperties) XXX_Merge(src proto.Message)
- func (m *TokenMetadataProperties) XXX_Size() int
- func (m *TokenMetadataProperties) XXX_Unmarshal(b []byte) error
- type TokenMintedEvent
- func (*TokenMintedEvent) Descriptor() ([]byte, []int)
- func (m *TokenMintedEvent) GetContractAddress() string
- func (m *TokenMintedEvent) GetMinter() string
- func (m *TokenMintedEvent) GetOwner() string
- func (m *TokenMintedEvent) GetTokenProperties() *TokenProperties
- func (m *TokenMintedEvent) Marshal() (dAtA []byte, err error)
- func (m *TokenMintedEvent) MarshalTo(dAtA []byte) (int, error)
- func (m *TokenMintedEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TokenMintedEvent) ProtoMessage()
- func (m *TokenMintedEvent) Reset()
- func (m *TokenMintedEvent) Size() (n int)
- func (m *TokenMintedEvent) String() string
- func (m *TokenMintedEvent) Unmarshal(dAtA []byte) error
- func (m *TokenMintedEvent) XXX_DiscardUnknown()
- func (m *TokenMintedEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TokenMintedEvent) XXX_Merge(src proto.Message)
- func (m *TokenMintedEvent) XXX_Size() int
- func (m *TokenMintedEvent) XXX_Unmarshal(b []byte) error
- type TokenPausedEvent
- func (*TokenPausedEvent) Descriptor() ([]byte, []int)
- func (m *TokenPausedEvent) GetContractAddress() string
- func (m *TokenPausedEvent) GetMinter() string
- func (m *TokenPausedEvent) GetPaused() bool
- func (m *TokenPausedEvent) Marshal() (dAtA []byte, err error)
- func (m *TokenPausedEvent) MarshalTo(dAtA []byte) (int, error)
- func (m *TokenPausedEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TokenPausedEvent) ProtoMessage()
- func (m *TokenPausedEvent) Reset()
- func (m *TokenPausedEvent) Size() (n int)
- func (m *TokenPausedEvent) String() string
- func (m *TokenPausedEvent) Unmarshal(dAtA []byte) error
- func (m *TokenPausedEvent) XXX_DiscardUnknown()
- func (m *TokenPausedEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TokenPausedEvent) XXX_Merge(src proto.Message)
- func (m *TokenPausedEvent) XXX_Size() int
- func (m *TokenPausedEvent) XXX_Unmarshal(b []byte) error
- type TokenProperties
- func (*TokenProperties) Descriptor() ([]byte, []int)
- func (this *TokenProperties) Equal(that interface{}) bool
- func (m *TokenProperties) GetCollection() string
- func (m *TokenProperties) GetId() string
- func (m *TokenProperties) GetIndex() string
- func (m *TokenProperties) GetName() string
- func (m *TokenProperties) GetTokenData() []*TokenData
- func (m *TokenProperties) Marshal() (dAtA []byte, err error)
- func (m *TokenProperties) MarshalTo(dAtA []byte) (int, error)
- func (m *TokenProperties) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TokenProperties) ProtoMessage()
- func (m *TokenProperties) Reset()
- func (m *TokenProperties) Size() (n int)
- func (m *TokenProperties) String() string
- func (m *TokenProperties) Unmarshal(dAtA []byte) error
- func (m *TokenProperties) XXX_DiscardUnknown()
- func (m *TokenProperties) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TokenProperties) XXX_Merge(src proto.Message)
- func (m *TokenProperties) XXX_Size() int
- func (m *TokenProperties) XXX_Unmarshal(b []byte) error
- type TokenRetiredEvent
- func (*TokenRetiredEvent) Descriptor() ([]byte, []int)
- func (m *TokenRetiredEvent) GetOwner() string
- func (m *TokenRetiredEvent) GetTokens() []*TokenBatch
- func (m *TokenRetiredEvent) Marshal() (dAtA []byte, err error)
- func (m *TokenRetiredEvent) MarshalTo(dAtA []byte) (int, error)
- func (m *TokenRetiredEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TokenRetiredEvent) ProtoMessage()
- func (m *TokenRetiredEvent) Reset()
- func (m *TokenRetiredEvent) Size() (n int)
- func (m *TokenRetiredEvent) String() string
- func (m *TokenRetiredEvent) Unmarshal(dAtA []byte) error
- func (m *TokenRetiredEvent) XXX_DiscardUnknown()
- func (m *TokenRetiredEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TokenRetiredEvent) XXX_Merge(src proto.Message)
- func (m *TokenRetiredEvent) XXX_Size() int
- func (m *TokenRetiredEvent) XXX_Unmarshal(b []byte) error
- type TokenStoppedEvent
- func (*TokenStoppedEvent) Descriptor() ([]byte, []int)
- func (m *TokenStoppedEvent) GetContractAddress() string
- func (m *TokenStoppedEvent) GetMinter() string
- func (m *TokenStoppedEvent) GetStopped() bool
- func (m *TokenStoppedEvent) Marshal() (dAtA []byte, err error)
- func (m *TokenStoppedEvent) MarshalTo(dAtA []byte) (int, error)
- func (m *TokenStoppedEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TokenStoppedEvent) ProtoMessage()
- func (m *TokenStoppedEvent) Reset()
- func (m *TokenStoppedEvent) Size() (n int)
- func (m *TokenStoppedEvent) String() string
- func (m *TokenStoppedEvent) Unmarshal(dAtA []byte) error
- func (m *TokenStoppedEvent) XXX_DiscardUnknown()
- func (m *TokenStoppedEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TokenStoppedEvent) XXX_Merge(src proto.Message)
- func (m *TokenStoppedEvent) XXX_Size() int
- func (m *TokenStoppedEvent) XXX_Unmarshal(b []byte) error
- type TokenTransferredEvent
- func (*TokenTransferredEvent) Descriptor() ([]byte, []int)
- func (m *TokenTransferredEvent) GetOwner() string
- func (m *TokenTransferredEvent) GetRecipient() string
- func (m *TokenTransferredEvent) GetTokens() []*TokenBatch
- func (m *TokenTransferredEvent) Marshal() (dAtA []byte, err error)
- func (m *TokenTransferredEvent) MarshalTo(dAtA []byte) (int, error)
- func (m *TokenTransferredEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TokenTransferredEvent) ProtoMessage()
- func (m *TokenTransferredEvent) Reset()
- func (m *TokenTransferredEvent) Size() (n int)
- func (m *TokenTransferredEvent) String() string
- func (m *TokenTransferredEvent) Unmarshal(dAtA []byte) error
- func (m *TokenTransferredEvent) XXX_DiscardUnknown()
- func (m *TokenTransferredEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TokenTransferredEvent) XXX_Merge(src proto.Message)
- func (m *TokenTransferredEvent) XXX_Size() int
- func (m *TokenTransferredEvent) XXX_Unmarshal(b []byte) error
- type TokenUpdatedEvent
- func (*TokenUpdatedEvent) Descriptor() ([]byte, []int)
- func (m *TokenUpdatedEvent) GetToken() *Token
- func (m *TokenUpdatedEvent) Marshal() (dAtA []byte, err error)
- func (m *TokenUpdatedEvent) MarshalTo(dAtA []byte) (int, error)
- func (m *TokenUpdatedEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TokenUpdatedEvent) ProtoMessage()
- func (m *TokenUpdatedEvent) Reset()
- func (m *TokenUpdatedEvent) Size() (n int)
- func (m *TokenUpdatedEvent) String() string
- func (m *TokenUpdatedEvent) Unmarshal(dAtA []byte) error
- func (m *TokenUpdatedEvent) XXX_DiscardUnknown()
- func (m *TokenUpdatedEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TokenUpdatedEvent) XXX_Merge(src proto.Message)
- func (m *TokenUpdatedEvent) XXX_Size() int
- func (m *TokenUpdatedEvent) XXX_Unmarshal(b []byte) error
- type TokensCancelled
- func (*TokensCancelled) Descriptor() ([]byte, []int)
- func (this *TokensCancelled) Equal(that interface{}) bool
- func (m *TokensCancelled) GetId() string
- func (m *TokensCancelled) GetOwner() string
- func (m *TokensCancelled) GetReason() string
- func (m *TokensCancelled) Marshal() (dAtA []byte, err error)
- func (m *TokensCancelled) MarshalTo(dAtA []byte) (int, error)
- func (m *TokensCancelled) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TokensCancelled) ProtoMessage()
- func (m *TokensCancelled) Reset()
- func (m *TokensCancelled) Size() (n int)
- func (m *TokensCancelled) String() string
- func (m *TokensCancelled) Unmarshal(dAtA []byte) error
- func (m *TokensCancelled) XXX_DiscardUnknown()
- func (m *TokensCancelled) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TokensCancelled) XXX_Merge(src proto.Message)
- func (m *TokensCancelled) XXX_Size() int
- func (m *TokensCancelled) XXX_Unmarshal(b []byte) error
- type TokensRetired
- func (*TokensRetired) Descriptor() ([]byte, []int)
- func (this *TokensRetired) Equal(that interface{}) bool
- func (m *TokensRetired) GetId() string
- func (m *TokensRetired) GetJurisdiction() string
- func (m *TokensRetired) GetOwner() string
- func (m *TokensRetired) GetReason() string
- func (m *TokensRetired) Marshal() (dAtA []byte, err error)
- func (m *TokensRetired) MarshalTo(dAtA []byte) (int, error)
- func (m *TokensRetired) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TokensRetired) ProtoMessage()
- func (m *TokensRetired) Reset()
- func (m *TokensRetired) Size() (n int)
- func (m *TokensRetired) String() string
- func (m *TokensRetired) Unmarshal(dAtA []byte) error
- func (m *TokensRetired) XXX_DiscardUnknown()
- func (m *TokensRetired) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TokensRetired) XXX_Merge(src proto.Message)
- func (m *TokensRetired) XXX_Size() int
- func (m *TokensRetired) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) CancelToken(ctx context.Context, req *MsgCancelToken) (*MsgCancelTokenResponse, error)
- func (*UnimplementedMsgServer) CreateToken(ctx context.Context, req *MsgCreateToken) (*MsgCreateTokenResponse, error)
- func (*UnimplementedMsgServer) MintToken(ctx context.Context, req *MsgMintToken) (*MsgMintTokenResponse, error)
- func (*UnimplementedMsgServer) PauseToken(ctx context.Context, req *MsgPauseToken) (*MsgPauseTokenResponse, error)
- func (*UnimplementedMsgServer) RetireToken(ctx context.Context, req *MsgRetireToken) (*MsgRetireTokenResponse, error)
- func (*UnimplementedMsgServer) StopToken(ctx context.Context, req *MsgStopToken) (*MsgStopTokenResponse, error)
- func (*UnimplementedMsgServer) TransferCredit(ctx context.Context, req *MsgTransferCredit) (*MsgTransferCreditResponse, error)
- func (*UnimplementedMsgServer) TransferToken(ctx context.Context, req *MsgTransferToken) (*MsgTransferTokenResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) TokenDoc(ctx context.Context, req *QueryTokenDocRequest) (*QueryTokenDocResponse, error)
- func (*UnimplementedQueryServer) TokenList(ctx context.Context, req *QueryTokenListRequest) (*QueryTokenListResponse, error)
- func (*UnimplementedQueryServer) TokenMetadata(ctx context.Context, req *QueryTokenMetadataRequest) (*QueryTokenMetadataResponse, error)
- type WasmKeeper
Constants ¶
const ( // ModuleName defines the module name ModuleName = "token" DefaultParamspace = ModuleName // StoreKey defines the primary module store key StoreKey = ModuleName // RouterKey defines the module's message routing key RouterKey = ModuleName )
const (
ProposalTypeSetTokenContractCodes = "SetTokenContractCodes"
)
const (
TokenUriBase = "https://w3id.org/token/" // https://w3id.org/token/{stringportionofthetokendid}
)
const TypeMsgCancelToken = "cancel_token"
-------------------------- CANCEL TOKEN --------------------------
const TypeMsgCreateToken = "create_token"
-------------------------- CREATE TOKEN --------------------------
const TypeMsgMintToken = "mint_token"
-------------------------- MINT TOKEN --------------------------
const TypeMsgPauseToken = "pause_token"
-------------------------- PAUSE TOKEN --------------------------
const TypeMsgRetireToken = "retire_token"
-------------------------- RETIRE TOKEN --------------------------
const TypeMsgStopToken = "stop_token"
-------------------------- STOP TOKEN --------------------------
const TypeMsgTransferCredit = "transfer_credit"
-------------------------- RETIRE TOKEN --------------------------
const TypeMsgTransferToken = "transfer_token"
-------------------------- TRANSFER TOKEN --------------------------
Variables ¶
var ( ErrInvalidLengthAuthz = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowAuthz = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupAuthz = fmt.Errorf("proto: unexpected end of group") )
var ( ErrTokenNotFound = errorsmod.Register(ModuleName, 1001, "token not found") ErrTokenPropertiesNotFound = errorsmod.Register(ModuleName, 1002, "token properties not found") ErrTokenNameDuplicate = errorsmod.Register(ModuleName, 1003, "token name is already taken") ErrTokenNameIncorrect = errorsmod.Register(ModuleName, 1004, "token name is incorrect") ErrTokenAmountIncorrect = errorsmod.Register(ModuleName, 1005, "token amount is incorrect") ErrTokenPaused = errorsmod.Register(ModuleName, 1006, "token is paused") ErrTokenStopped = errorsmod.Register(ModuleName, 1007, "token is stopped") )
x/token module sentinel errors
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 ( TokenKey = []byte{0x01} TokenPropertiesKey = []byte{0x02} )
var ( ErrInvalidLengthProposal = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowProposal = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupProposal = 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 (
KeyIxo1155ContractCode = []byte("Ixo1155ContractCode")
)
var (
ModuleCdc = codec.NewProtoCodec(types.NewInterfaceRegistry())
)
Functions ¶
func IsValidTokenProperties ¶
func IsValidTokenProperties(tokenProperties *TokenProperties) bool
IsValidTokenProperties tells if a TokenProperties is valid,
func RegisterInterfaces ¶
func RegisterInterfaces(registry types.InterfaceRegistry)
RegisterInterfaces registers interfaces and implementations of the x/token module.
func RegisterLegacyAminoCodec ¶
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
RegisterCodec registers the necessary x/token interfaces and concrete types on the provided LegacyAmino codec. These types are used for Amino JSON serialization.
func RegisterMsgServer ¶
func RegisterQueryHandler ¶
RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryHandlerClient ¶
func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.
func RegisterQueryHandlerFromEndpoint ¶
func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQueryHandlerServer ¶
func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
Types ¶
type CreditsTransferred ¶
type CreditsTransferred struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` Jurisdiction string `protobuf:"bytes,3,opt,name=jurisdiction,proto3" json:"jurisdiction,omitempty"` Amount cosmossdk_io_math.Uint `protobuf:"bytes,4,opt,name=amount,proto3,customtype=cosmossdk.io/math.Uint" json:"amount"` Owner string `protobuf:"bytes,5,opt,name=owner,proto3" json:"owner,omitempty"` AuthorizationId string `protobuf:"bytes,6,opt,name=authorization_id,json=authorizationId,proto3" json:"authorization_id,omitempty"` }
func (*CreditsTransferred) Descriptor ¶
func (*CreditsTransferred) Descriptor() ([]byte, []int)
func (*CreditsTransferred) Equal ¶
func (this *CreditsTransferred) Equal(that interface{}) bool
func (*CreditsTransferred) GetAuthorizationId ¶
func (m *CreditsTransferred) GetAuthorizationId() string
func (*CreditsTransferred) GetId ¶
func (m *CreditsTransferred) GetId() string
func (*CreditsTransferred) GetJurisdiction ¶
func (m *CreditsTransferred) GetJurisdiction() string
func (*CreditsTransferred) GetOwner ¶
func (m *CreditsTransferred) GetOwner() string
func (*CreditsTransferred) GetReason ¶
func (m *CreditsTransferred) GetReason() string
func (*CreditsTransferred) Marshal ¶
func (m *CreditsTransferred) Marshal() (dAtA []byte, err error)
func (*CreditsTransferred) MarshalTo ¶
func (m *CreditsTransferred) MarshalTo(dAtA []byte) (int, error)
func (*CreditsTransferred) MarshalToSizedBuffer ¶
func (m *CreditsTransferred) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CreditsTransferred) ProtoMessage ¶
func (*CreditsTransferred) ProtoMessage()
func (*CreditsTransferred) Reset ¶
func (m *CreditsTransferred) Reset()
func (*CreditsTransferred) Size ¶
func (m *CreditsTransferred) Size() (n int)
func (*CreditsTransferred) String ¶
func (m *CreditsTransferred) String() string
func (*CreditsTransferred) Unmarshal ¶
func (m *CreditsTransferred) Unmarshal(dAtA []byte) error
func (*CreditsTransferred) XXX_DiscardUnknown ¶
func (m *CreditsTransferred) XXX_DiscardUnknown()
func (*CreditsTransferred) XXX_Marshal ¶
func (m *CreditsTransferred) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreditsTransferred) XXX_Merge ¶
func (m *CreditsTransferred) XXX_Merge(src proto.Message)
func (*CreditsTransferred) XXX_Size ¶
func (m *CreditsTransferred) XXX_Size() int
func (*CreditsTransferred) XXX_Unmarshal ¶
func (m *CreditsTransferred) XXX_Unmarshal(b []byte) error
type CreditsTransferredEvent ¶
type CreditsTransferredEvent struct { // the token owner Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` Tokens []*TokenBatch `protobuf:"bytes,2,rep,name=tokens,proto3" json:"tokens,omitempty"` }
CreditsTransferredEvent is an event triggered on a Credit transfer execution
func (*CreditsTransferredEvent) Descriptor ¶
func (*CreditsTransferredEvent) Descriptor() ([]byte, []int)
func (*CreditsTransferredEvent) GetOwner ¶
func (m *CreditsTransferredEvent) GetOwner() string
func (*CreditsTransferredEvent) GetTokens ¶
func (m *CreditsTransferredEvent) GetTokens() []*TokenBatch
func (*CreditsTransferredEvent) Marshal ¶
func (m *CreditsTransferredEvent) Marshal() (dAtA []byte, err error)
func (*CreditsTransferredEvent) MarshalTo ¶
func (m *CreditsTransferredEvent) MarshalTo(dAtA []byte) (int, error)
func (*CreditsTransferredEvent) MarshalToSizedBuffer ¶
func (m *CreditsTransferredEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CreditsTransferredEvent) ProtoMessage ¶
func (*CreditsTransferredEvent) ProtoMessage()
func (*CreditsTransferredEvent) Reset ¶
func (m *CreditsTransferredEvent) Reset()
func (*CreditsTransferredEvent) Size ¶
func (m *CreditsTransferredEvent) Size() (n int)
func (*CreditsTransferredEvent) String ¶
func (m *CreditsTransferredEvent) String() string
func (*CreditsTransferredEvent) Unmarshal ¶
func (m *CreditsTransferredEvent) Unmarshal(dAtA []byte) error
func (*CreditsTransferredEvent) XXX_DiscardUnknown ¶
func (m *CreditsTransferredEvent) XXX_DiscardUnknown()
func (*CreditsTransferredEvent) XXX_Marshal ¶
func (m *CreditsTransferredEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreditsTransferredEvent) XXX_Merge ¶
func (m *CreditsTransferredEvent) XXX_Merge(src proto.Message)
func (*CreditsTransferredEvent) XXX_Size ¶
func (m *CreditsTransferredEvent) XXX_Size() int
func (*CreditsTransferredEvent) XXX_Unmarshal ¶
func (m *CreditsTransferredEvent) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct { Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` Tokens []Token `protobuf:"bytes,2,rep,name=tokens,proto3" json:"tokens"` TokenProperties []TokenProperties `protobuf:"bytes,3,rep,name=token_properties,json=tokenProperties,proto3" json:"token_properties"` }
GenesisState defines the module's genesis state.
func DefaultGenesisState ¶
func DefaultGenesisState() *GenesisState
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) GetTokenProperties ¶
func (m *GenesisState) GetTokenProperties() []TokenProperties
func (*GenesisState) GetTokens ¶
func (m *GenesisState) GetTokens() []Token
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) Validate ¶
func (gs GenesisState) Validate() error
Validate performs basic genesis state validation returning an error upon any failure.
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 MintAuthorization ¶
type MintAuthorization struct { // address of minter Minter string `protobuf:"bytes,1,opt,name=minter,proto3" json:"minter,omitempty"` Constraints []*MintConstraints `protobuf:"bytes,2,rep,name=constraints,proto3" json:"constraints,omitempty"` }
func NewMintAuthorization ¶
func NewMintAuthorization(minter string, constraints []*MintConstraints) *MintAuthorization
NewMintAuthorization creates a new MintAuthorization object.
func (MintAuthorization) Accept ¶
func (a MintAuthorization) Accept(_ context.Context, msg sdk.Msg) (authz.AcceptResponse, error)
Accept implements Authorization.Accept.
func (*MintAuthorization) Descriptor ¶
func (*MintAuthorization) Descriptor() ([]byte, []int)
func (*MintAuthorization) GetConstraints ¶
func (m *MintAuthorization) GetConstraints() []*MintConstraints
func (*MintAuthorization) GetMinter ¶
func (m *MintAuthorization) GetMinter() string
func (*MintAuthorization) Marshal ¶
func (m *MintAuthorization) Marshal() (dAtA []byte, err error)
func (*MintAuthorization) MarshalTo ¶
func (m *MintAuthorization) MarshalTo(dAtA []byte) (int, error)
func (*MintAuthorization) MarshalToSizedBuffer ¶
func (m *MintAuthorization) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (MintAuthorization) MsgTypeURL ¶
func (a MintAuthorization) MsgTypeURL() string
MsgTypeURL implements Authorization.MsgTypeURL.
func (*MintAuthorization) ProtoMessage ¶
func (*MintAuthorization) ProtoMessage()
func (*MintAuthorization) Reset ¶
func (m *MintAuthorization) Reset()
func (*MintAuthorization) Size ¶
func (m *MintAuthorization) Size() (n int)
func (*MintAuthorization) String ¶
func (m *MintAuthorization) String() string
func (*MintAuthorization) Unmarshal ¶
func (m *MintAuthorization) Unmarshal(dAtA []byte) error
func (MintAuthorization) ValidateBasic ¶
func (a MintAuthorization) ValidateBasic() error
ValidateBasic implements Authorization.ValidateBasic.
func (*MintAuthorization) XXX_DiscardUnknown ¶
func (m *MintAuthorization) XXX_DiscardUnknown()
func (*MintAuthorization) XXX_Marshal ¶
func (m *MintAuthorization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MintAuthorization) XXX_Merge ¶
func (m *MintAuthorization) XXX_Merge(src proto.Message)
func (*MintAuthorization) XXX_Size ¶
func (m *MintAuthorization) XXX_Size() int
func (*MintAuthorization) XXX_Unmarshal ¶
func (m *MintAuthorization) XXX_Unmarshal(b []byte) error
type MintBatch ¶
type MintBatch struct { // name is the token name, which must be unique (namespace), will be verified // against Token name provided on msgCreateToken Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // index is the unique identifier hexstring that identifies the token Index string `protobuf:"bytes,2,opt,name=index,proto3" json:"index,omitempty"` // amount is the number of tokens to mint Amount cosmossdk_io_math.Uint `protobuf:"bytes,3,opt,name=amount,proto3,customtype=cosmossdk.io/math.Uint" json:"amount"` // did of collection (eg Supamoto Malawi) Collection string `protobuf:"bytes,4,opt,name=collection,proto3" json:"collection,omitempty"` // tokenData is the linkedResources added to tokenMetadata when queried eg // (credential link ***.ipfs) TokenData []*TokenData `protobuf:"bytes,5,rep,name=token_data,json=tokenData,proto3" json:"token_data,omitempty"` }
func (*MintBatch) Descriptor ¶
func (*MintBatch) GetCollection ¶
func (*MintBatch) GetTokenData ¶
func (*MintBatch) MarshalToSizedBuffer ¶
func (*MintBatch) ProtoMessage ¶
func (*MintBatch) ProtoMessage()
func (*MintBatch) XXX_DiscardUnknown ¶
func (m *MintBatch) XXX_DiscardUnknown()
func (*MintBatch) XXX_Marshal ¶
func (*MintBatch) XXX_Unmarshal ¶
type MintBatchData ¶
type MintBatchData struct { Id string Uri string Name string Index string Amount math.Uint Collection string TokenData []*TokenData }
func (*MintBatchData) GetTokenMintedEventBatch ¶
func (batch *MintBatchData) GetTokenMintedEventBatch() *TokenBatch
func (*MintBatchData) GetWasmMintBatch ¶
func (batch *MintBatchData) GetWasmMintBatch() ixo1155.Batch
type MintConstraints ¶
type MintConstraints struct { ContractAddress string `protobuf:"bytes,1,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` Amount cosmossdk_io_math.Uint `protobuf:"bytes,2,opt,name=amount,proto3,customtype=cosmossdk.io/math.Uint" json:"amount"` // name is the token name, which must be unique (namespace), will be verified // against Token name provided on msgCreateToken Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // index is the unique identifier hexstring that identifies the token Index string `protobuf:"bytes,4,opt,name=index,proto3" json:"index,omitempty"` // did of collection (eg Supamoto Malawi) Collection string `protobuf:"bytes,5,opt,name=collection,proto3" json:"collection,omitempty"` // tokenData is the linkedResources added to tokenMetadata when queried eg // (credential link ***.ipfs) TokenData []*TokenData `protobuf:"bytes,6,rep,name=tokenData,proto3" json:"tokenData,omitempty"` }
func (*MintConstraints) Descriptor ¶
func (*MintConstraints) Descriptor() ([]byte, []int)
func (*MintConstraints) GetCollection ¶
func (m *MintConstraints) GetCollection() string
func (*MintConstraints) GetContractAddress ¶
func (m *MintConstraints) GetContractAddress() string
func (*MintConstraints) GetIndex ¶
func (m *MintConstraints) GetIndex() string
func (*MintConstraints) GetName ¶
func (m *MintConstraints) GetName() string
func (*MintConstraints) GetTokenData ¶
func (m *MintConstraints) GetTokenData() []*TokenData
func (*MintConstraints) Marshal ¶
func (m *MintConstraints) Marshal() (dAtA []byte, err error)
func (*MintConstraints) MarshalToSizedBuffer ¶
func (m *MintConstraints) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MintConstraints) ProtoMessage ¶
func (*MintConstraints) ProtoMessage()
func (*MintConstraints) Reset ¶
func (m *MintConstraints) Reset()
func (*MintConstraints) Size ¶
func (m *MintConstraints) Size() (n int)
func (*MintConstraints) String ¶
func (m *MintConstraints) String() string
func (*MintConstraints) Unmarshal ¶
func (m *MintConstraints) Unmarshal(dAtA []byte) error
func (*MintConstraints) XXX_DiscardUnknown ¶
func (m *MintConstraints) XXX_DiscardUnknown()
func (*MintConstraints) XXX_Marshal ¶
func (m *MintConstraints) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MintConstraints) XXX_Merge ¶
func (m *MintConstraints) XXX_Merge(src proto.Message)
func (*MintConstraints) XXX_Size ¶
func (m *MintConstraints) XXX_Size() int
func (*MintConstraints) XXX_Unmarshal ¶
func (m *MintConstraints) XXX_Unmarshal(b []byte) error
type MsgCancelToken ¶
type MsgCancelToken struct { // address of owner Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` // tokens to retire, all tokens must be in same smart contract Tokens []*TokenBatch `protobuf:"bytes,2,rep,name=tokens,proto3" json:"tokens,omitempty"` // reason is any arbitrary string that specifies the reason for retiring // tokens. Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"` }
func (*MsgCancelToken) Descriptor ¶
func (*MsgCancelToken) Descriptor() ([]byte, []int)
func (*MsgCancelToken) GetOwner ¶
func (m *MsgCancelToken) GetOwner() string
func (*MsgCancelToken) GetReason ¶
func (m *MsgCancelToken) GetReason() string
func (*MsgCancelToken) GetTokens ¶
func (m *MsgCancelToken) GetTokens() []*TokenBatch
func (*MsgCancelToken) Marshal ¶
func (m *MsgCancelToken) Marshal() (dAtA []byte, err error)
func (*MsgCancelToken) MarshalToSizedBuffer ¶
func (m *MsgCancelToken) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCancelToken) ProtoMessage ¶
func (*MsgCancelToken) ProtoMessage()
func (*MsgCancelToken) Reset ¶
func (m *MsgCancelToken) Reset()
func (MsgCancelToken) Route ¶
func (msg MsgCancelToken) Route() string
func (*MsgCancelToken) Size ¶
func (m *MsgCancelToken) Size() (n int)
func (*MsgCancelToken) String ¶
func (m *MsgCancelToken) String() string
func (MsgCancelToken) Type ¶
func (msg MsgCancelToken) Type() string
func (*MsgCancelToken) Unmarshal ¶
func (m *MsgCancelToken) Unmarshal(dAtA []byte) error
func (MsgCancelToken) ValidateBasic ¶
func (msg MsgCancelToken) ValidateBasic() error
func (*MsgCancelToken) XXX_DiscardUnknown ¶
func (m *MsgCancelToken) XXX_DiscardUnknown()
func (*MsgCancelToken) XXX_Marshal ¶
func (m *MsgCancelToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCancelToken) XXX_Merge ¶
func (m *MsgCancelToken) XXX_Merge(src proto.Message)
func (*MsgCancelToken) XXX_Size ¶
func (m *MsgCancelToken) XXX_Size() int
func (*MsgCancelToken) XXX_Unmarshal ¶
func (m *MsgCancelToken) XXX_Unmarshal(b []byte) error
type MsgCancelTokenResponse ¶
type MsgCancelTokenResponse struct { }
func (*MsgCancelTokenResponse) Descriptor ¶
func (*MsgCancelTokenResponse) Descriptor() ([]byte, []int)
func (*MsgCancelTokenResponse) Marshal ¶
func (m *MsgCancelTokenResponse) Marshal() (dAtA []byte, err error)
func (*MsgCancelTokenResponse) MarshalTo ¶
func (m *MsgCancelTokenResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCancelTokenResponse) MarshalToSizedBuffer ¶
func (m *MsgCancelTokenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCancelTokenResponse) ProtoMessage ¶
func (*MsgCancelTokenResponse) ProtoMessage()
func (*MsgCancelTokenResponse) Reset ¶
func (m *MsgCancelTokenResponse) Reset()
func (*MsgCancelTokenResponse) Size ¶
func (m *MsgCancelTokenResponse) Size() (n int)
func (*MsgCancelTokenResponse) String ¶
func (m *MsgCancelTokenResponse) String() string
func (*MsgCancelTokenResponse) Unmarshal ¶
func (m *MsgCancelTokenResponse) Unmarshal(dAtA []byte) error
func (*MsgCancelTokenResponse) XXX_DiscardUnknown ¶
func (m *MsgCancelTokenResponse) XXX_DiscardUnknown()
func (*MsgCancelTokenResponse) XXX_Marshal ¶
func (m *MsgCancelTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCancelTokenResponse) XXX_Merge ¶
func (m *MsgCancelTokenResponse) XXX_Merge(src proto.Message)
func (*MsgCancelTokenResponse) XXX_Size ¶
func (m *MsgCancelTokenResponse) XXX_Size() int
func (*MsgCancelTokenResponse) XXX_Unmarshal ¶
func (m *MsgCancelTokenResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { CreateToken(ctx context.Context, in *MsgCreateToken, opts ...grpc.CallOption) (*MsgCreateTokenResponse, error) MintToken(ctx context.Context, in *MsgMintToken, opts ...grpc.CallOption) (*MsgMintTokenResponse, error) TransferToken(ctx context.Context, in *MsgTransferToken, opts ...grpc.CallOption) (*MsgTransferTokenResponse, error) RetireToken(ctx context.Context, in *MsgRetireToken, opts ...grpc.CallOption) (*MsgRetireTokenResponse, error) TransferCredit(ctx context.Context, in *MsgTransferCredit, opts ...grpc.CallOption) (*MsgTransferCreditResponse, error) CancelToken(ctx context.Context, in *MsgCancelToken, opts ...grpc.CallOption) (*MsgCancelTokenResponse, error) PauseToken(ctx context.Context, in *MsgPauseToken, opts ...grpc.CallOption) (*MsgPauseTokenResponse, error) StopToken(ctx context.Context, in *MsgStopToken, opts ...grpc.CallOption) (*MsgStopTokenResponse, 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 MsgCreateToken ¶
type MsgCreateToken struct { // address of minter Minter string `protobuf:"bytes,1,opt,name=minter,proto3" json:"minter,omitempty"` // class is the token protocol entity DID (validated) Class github_com_ixofoundation_ixo_blockchain_v4_x_iid_types.DIDFragment `` /* 139-byte string literal not displayed */ // name is the token name, which must be unique (namespace) Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // description is any arbitrary description Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // image is the image url for the token Image string `protobuf:"bytes,5,opt,name=image,proto3" json:"image,omitempty"` // type is the token type (eg ixo1155) TokenType string `protobuf:"bytes,6,opt,name=token_type,json=tokenType,proto3" json:"token_type,omitempty"` // cap is the maximum number of tokens with this name that can be minted, 0 is // unlimited Cap cosmossdk_io_math.Uint `protobuf:"bytes,7,opt,name=cap,proto3,customtype=cosmossdk.io/math.Uint" json:"cap"` }
func (*MsgCreateToken) Descriptor ¶
func (*MsgCreateToken) Descriptor() ([]byte, []int)
func (*MsgCreateToken) GetClass ¶
func (m *MsgCreateToken) GetClass() github_com_ixofoundation_ixo_blockchain_v4_x_iid_types.DIDFragment
func (*MsgCreateToken) GetDescription ¶
func (m *MsgCreateToken) GetDescription() string
func (*MsgCreateToken) GetImage ¶
func (m *MsgCreateToken) GetImage() string
func (*MsgCreateToken) GetMinter ¶
func (m *MsgCreateToken) GetMinter() string
func (*MsgCreateToken) GetName ¶
func (m *MsgCreateToken) GetName() string
func (*MsgCreateToken) GetTokenType ¶
func (m *MsgCreateToken) GetTokenType() string
func (*MsgCreateToken) Marshal ¶
func (m *MsgCreateToken) Marshal() (dAtA []byte, err error)
func (*MsgCreateToken) MarshalToSizedBuffer ¶
func (m *MsgCreateToken) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateToken) ProtoMessage ¶
func (*MsgCreateToken) ProtoMessage()
func (*MsgCreateToken) Reset ¶
func (m *MsgCreateToken) Reset()
func (MsgCreateToken) Route ¶
func (msg MsgCreateToken) Route() string
func (*MsgCreateToken) Size ¶
func (m *MsgCreateToken) Size() (n int)
func (*MsgCreateToken) String ¶
func (m *MsgCreateToken) String() string
func (MsgCreateToken) Type ¶
func (msg MsgCreateToken) Type() string
func (*MsgCreateToken) Unmarshal ¶
func (m *MsgCreateToken) Unmarshal(dAtA []byte) error
func (MsgCreateToken) ValidateBasic ¶
func (msg MsgCreateToken) ValidateBasic() error
func (*MsgCreateToken) XXX_DiscardUnknown ¶
func (m *MsgCreateToken) XXX_DiscardUnknown()
func (*MsgCreateToken) XXX_Marshal ¶
func (m *MsgCreateToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateToken) XXX_Merge ¶
func (m *MsgCreateToken) XXX_Merge(src proto.Message)
func (*MsgCreateToken) XXX_Size ¶
func (m *MsgCreateToken) XXX_Size() int
func (*MsgCreateToken) XXX_Unmarshal ¶
func (m *MsgCreateToken) XXX_Unmarshal(b []byte) error
type MsgCreateTokenResponse ¶
type MsgCreateTokenResponse struct { }
func (*MsgCreateTokenResponse) Descriptor ¶
func (*MsgCreateTokenResponse) Descriptor() ([]byte, []int)
func (*MsgCreateTokenResponse) Marshal ¶
func (m *MsgCreateTokenResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreateTokenResponse) MarshalTo ¶
func (m *MsgCreateTokenResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateTokenResponse) MarshalToSizedBuffer ¶
func (m *MsgCreateTokenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateTokenResponse) ProtoMessage ¶
func (*MsgCreateTokenResponse) ProtoMessage()
func (*MsgCreateTokenResponse) Reset ¶
func (m *MsgCreateTokenResponse) Reset()
func (*MsgCreateTokenResponse) Size ¶
func (m *MsgCreateTokenResponse) Size() (n int)
func (*MsgCreateTokenResponse) String ¶
func (m *MsgCreateTokenResponse) String() string
func (*MsgCreateTokenResponse) Unmarshal ¶
func (m *MsgCreateTokenResponse) Unmarshal(dAtA []byte) error
func (*MsgCreateTokenResponse) XXX_DiscardUnknown ¶
func (m *MsgCreateTokenResponse) XXX_DiscardUnknown()
func (*MsgCreateTokenResponse) XXX_Marshal ¶
func (m *MsgCreateTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateTokenResponse) XXX_Merge ¶
func (m *MsgCreateTokenResponse) XXX_Merge(src proto.Message)
func (*MsgCreateTokenResponse) XXX_Size ¶
func (m *MsgCreateTokenResponse) XXX_Size() int
func (*MsgCreateTokenResponse) XXX_Unmarshal ¶
func (m *MsgCreateTokenResponse) XXX_Unmarshal(b []byte) error
type MsgMintToken ¶
type MsgMintToken struct { // address of minter Minter string `protobuf:"bytes,1,opt,name=minter,proto3" json:"minter,omitempty"` ContractAddress string `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` // address of owner to mint for Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"` MintBatch []*MintBatch `protobuf:"bytes,4,rep,name=mint_batch,json=mintBatch,proto3" json:"mint_batch,omitempty"` }
func (*MsgMintToken) Descriptor ¶
func (*MsgMintToken) Descriptor() ([]byte, []int)
func (*MsgMintToken) GetContractAddress ¶
func (m *MsgMintToken) GetContractAddress() string
func (*MsgMintToken) GetMintBatch ¶
func (m *MsgMintToken) GetMintBatch() []*MintBatch
func (*MsgMintToken) GetMinter ¶
func (m *MsgMintToken) GetMinter() string
func (*MsgMintToken) GetOwner ¶
func (m *MsgMintToken) GetOwner() string
func (*MsgMintToken) Marshal ¶
func (m *MsgMintToken) Marshal() (dAtA []byte, err error)
func (*MsgMintToken) MarshalToSizedBuffer ¶
func (m *MsgMintToken) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgMintToken) ProtoMessage ¶
func (*MsgMintToken) ProtoMessage()
func (*MsgMintToken) Reset ¶
func (m *MsgMintToken) Reset()
func (MsgMintToken) Route ¶
func (msg MsgMintToken) Route() string
func (*MsgMintToken) Size ¶
func (m *MsgMintToken) Size() (n int)
func (*MsgMintToken) String ¶
func (m *MsgMintToken) String() string
func (MsgMintToken) Type ¶
func (msg MsgMintToken) Type() string
func (*MsgMintToken) Unmarshal ¶
func (m *MsgMintToken) Unmarshal(dAtA []byte) error
func (MsgMintToken) ValidateBasic ¶
func (msg MsgMintToken) ValidateBasic() error
func (*MsgMintToken) XXX_DiscardUnknown ¶
func (m *MsgMintToken) XXX_DiscardUnknown()
func (*MsgMintToken) XXX_Marshal ¶
func (m *MsgMintToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgMintToken) XXX_Merge ¶
func (m *MsgMintToken) XXX_Merge(src proto.Message)
func (*MsgMintToken) XXX_Size ¶
func (m *MsgMintToken) XXX_Size() int
func (*MsgMintToken) XXX_Unmarshal ¶
func (m *MsgMintToken) XXX_Unmarshal(b []byte) error
type MsgMintTokenResponse ¶
type MsgMintTokenResponse struct { }
func (*MsgMintTokenResponse) Descriptor ¶
func (*MsgMintTokenResponse) Descriptor() ([]byte, []int)
func (*MsgMintTokenResponse) Marshal ¶
func (m *MsgMintTokenResponse) Marshal() (dAtA []byte, err error)
func (*MsgMintTokenResponse) MarshalTo ¶
func (m *MsgMintTokenResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgMintTokenResponse) MarshalToSizedBuffer ¶
func (m *MsgMintTokenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgMintTokenResponse) ProtoMessage ¶
func (*MsgMintTokenResponse) ProtoMessage()
func (*MsgMintTokenResponse) Reset ¶
func (m *MsgMintTokenResponse) Reset()
func (*MsgMintTokenResponse) Size ¶
func (m *MsgMintTokenResponse) Size() (n int)
func (*MsgMintTokenResponse) String ¶
func (m *MsgMintTokenResponse) String() string
func (*MsgMintTokenResponse) Unmarshal ¶
func (m *MsgMintTokenResponse) Unmarshal(dAtA []byte) error
func (*MsgMintTokenResponse) XXX_DiscardUnknown ¶
func (m *MsgMintTokenResponse) XXX_DiscardUnknown()
func (*MsgMintTokenResponse) XXX_Marshal ¶
func (m *MsgMintTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgMintTokenResponse) XXX_Merge ¶
func (m *MsgMintTokenResponse) XXX_Merge(src proto.Message)
func (*MsgMintTokenResponse) XXX_Size ¶
func (m *MsgMintTokenResponse) XXX_Size() int
func (*MsgMintTokenResponse) XXX_Unmarshal ¶
func (m *MsgMintTokenResponse) XXX_Unmarshal(b []byte) error
type MsgPauseToken ¶
type MsgPauseToken struct { // address of minter Minter string `protobuf:"bytes,1,opt,name=minter,proto3" json:"minter,omitempty"` ContractAddress string `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` // pause or unpause Token Minting allowance Paused bool `protobuf:"varint,3,opt,name=paused,proto3" json:"paused,omitempty"` }
func (*MsgPauseToken) Descriptor ¶
func (*MsgPauseToken) Descriptor() ([]byte, []int)
func (*MsgPauseToken) GetContractAddress ¶
func (m *MsgPauseToken) GetContractAddress() string
func (*MsgPauseToken) GetMinter ¶
func (m *MsgPauseToken) GetMinter() string
func (*MsgPauseToken) GetPaused ¶
func (m *MsgPauseToken) GetPaused() bool
func (*MsgPauseToken) Marshal ¶
func (m *MsgPauseToken) Marshal() (dAtA []byte, err error)
func (*MsgPauseToken) MarshalToSizedBuffer ¶
func (m *MsgPauseToken) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgPauseToken) ProtoMessage ¶
func (*MsgPauseToken) ProtoMessage()
func (*MsgPauseToken) Reset ¶
func (m *MsgPauseToken) Reset()
func (MsgPauseToken) Route ¶
func (msg MsgPauseToken) Route() string
func (*MsgPauseToken) Size ¶
func (m *MsgPauseToken) Size() (n int)
func (*MsgPauseToken) String ¶
func (m *MsgPauseToken) String() string
func (MsgPauseToken) Type ¶
func (msg MsgPauseToken) Type() string
func (*MsgPauseToken) Unmarshal ¶
func (m *MsgPauseToken) Unmarshal(dAtA []byte) error
func (MsgPauseToken) ValidateBasic ¶
func (msg MsgPauseToken) ValidateBasic() error
func (*MsgPauseToken) XXX_DiscardUnknown ¶
func (m *MsgPauseToken) XXX_DiscardUnknown()
func (*MsgPauseToken) XXX_Marshal ¶
func (m *MsgPauseToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgPauseToken) XXX_Merge ¶
func (m *MsgPauseToken) XXX_Merge(src proto.Message)
func (*MsgPauseToken) XXX_Size ¶
func (m *MsgPauseToken) XXX_Size() int
func (*MsgPauseToken) XXX_Unmarshal ¶
func (m *MsgPauseToken) XXX_Unmarshal(b []byte) error
type MsgPauseTokenResponse ¶
type MsgPauseTokenResponse struct { }
func (*MsgPauseTokenResponse) Descriptor ¶
func (*MsgPauseTokenResponse) Descriptor() ([]byte, []int)
func (*MsgPauseTokenResponse) Marshal ¶
func (m *MsgPauseTokenResponse) Marshal() (dAtA []byte, err error)
func (*MsgPauseTokenResponse) MarshalTo ¶
func (m *MsgPauseTokenResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgPauseTokenResponse) MarshalToSizedBuffer ¶
func (m *MsgPauseTokenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgPauseTokenResponse) ProtoMessage ¶
func (*MsgPauseTokenResponse) ProtoMessage()
func (*MsgPauseTokenResponse) Reset ¶
func (m *MsgPauseTokenResponse) Reset()
func (*MsgPauseTokenResponse) Size ¶
func (m *MsgPauseTokenResponse) Size() (n int)
func (*MsgPauseTokenResponse) String ¶
func (m *MsgPauseTokenResponse) String() string
func (*MsgPauseTokenResponse) Unmarshal ¶
func (m *MsgPauseTokenResponse) Unmarshal(dAtA []byte) error
func (*MsgPauseTokenResponse) XXX_DiscardUnknown ¶
func (m *MsgPauseTokenResponse) XXX_DiscardUnknown()
func (*MsgPauseTokenResponse) XXX_Marshal ¶
func (m *MsgPauseTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgPauseTokenResponse) XXX_Merge ¶
func (m *MsgPauseTokenResponse) XXX_Merge(src proto.Message)
func (*MsgPauseTokenResponse) XXX_Size ¶
func (m *MsgPauseTokenResponse) XXX_Size() int
func (*MsgPauseTokenResponse) XXX_Unmarshal ¶
func (m *MsgPauseTokenResponse) XXX_Unmarshal(b []byte) error
type MsgRetireToken ¶
type MsgRetireToken struct { // address of owner Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` // tokens to retire, all tokens must be in same smart contract Tokens []*TokenBatch `protobuf:"bytes,2,rep,name=tokens,proto3" json:"tokens,omitempty"` // jurisdiction is the jurisdiction of the token owner. A jurisdiction has // the format: <country-code>[-<sub-national-code>[ <postal-code>]] // The country-code must be 2 alphabetic characters, the sub-national-code // can be 1-3 alphanumeric characters, and the postal-code can be up to 64 // alphanumeric characters. Only the country-code is required, while the // sub-national-code and postal-code are optional and can be added for // increased precision. See the valid format for this below. Jurisdiction string `protobuf:"bytes,3,opt,name=jurisdiction,proto3" json:"jurisdiction,omitempty"` // reason is any arbitrary string that specifies the reason for retiring // tokens. Reason string `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,omitempty"` }
func (*MsgRetireToken) Descriptor ¶
func (*MsgRetireToken) Descriptor() ([]byte, []int)
func (*MsgRetireToken) GetJurisdiction ¶
func (m *MsgRetireToken) GetJurisdiction() string
func (*MsgRetireToken) GetOwner ¶
func (m *MsgRetireToken) GetOwner() string
func (*MsgRetireToken) GetReason ¶
func (m *MsgRetireToken) GetReason() string
func (*MsgRetireToken) GetTokens ¶
func (m *MsgRetireToken) GetTokens() []*TokenBatch
func (*MsgRetireToken) Marshal ¶
func (m *MsgRetireToken) Marshal() (dAtA []byte, err error)
func (*MsgRetireToken) MarshalToSizedBuffer ¶
func (m *MsgRetireToken) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRetireToken) ProtoMessage ¶
func (*MsgRetireToken) ProtoMessage()
func (*MsgRetireToken) Reset ¶
func (m *MsgRetireToken) Reset()
func (MsgRetireToken) Route ¶
func (msg MsgRetireToken) Route() string
func (*MsgRetireToken) Size ¶
func (m *MsgRetireToken) Size() (n int)
func (*MsgRetireToken) String ¶
func (m *MsgRetireToken) String() string
func (MsgRetireToken) Type ¶
func (msg MsgRetireToken) Type() string
func (*MsgRetireToken) Unmarshal ¶
func (m *MsgRetireToken) Unmarshal(dAtA []byte) error
func (MsgRetireToken) ValidateBasic ¶
func (msg MsgRetireToken) ValidateBasic() error
func (*MsgRetireToken) XXX_DiscardUnknown ¶
func (m *MsgRetireToken) XXX_DiscardUnknown()
func (*MsgRetireToken) XXX_Marshal ¶
func (m *MsgRetireToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRetireToken) XXX_Merge ¶
func (m *MsgRetireToken) XXX_Merge(src proto.Message)
func (*MsgRetireToken) XXX_Size ¶
func (m *MsgRetireToken) XXX_Size() int
func (*MsgRetireToken) XXX_Unmarshal ¶
func (m *MsgRetireToken) XXX_Unmarshal(b []byte) error
type MsgRetireTokenResponse ¶
type MsgRetireTokenResponse struct { }
func (*MsgRetireTokenResponse) Descriptor ¶
func (*MsgRetireTokenResponse) Descriptor() ([]byte, []int)
func (*MsgRetireTokenResponse) Marshal ¶
func (m *MsgRetireTokenResponse) Marshal() (dAtA []byte, err error)
func (*MsgRetireTokenResponse) MarshalTo ¶
func (m *MsgRetireTokenResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRetireTokenResponse) MarshalToSizedBuffer ¶
func (m *MsgRetireTokenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRetireTokenResponse) ProtoMessage ¶
func (*MsgRetireTokenResponse) ProtoMessage()
func (*MsgRetireTokenResponse) Reset ¶
func (m *MsgRetireTokenResponse) Reset()
func (*MsgRetireTokenResponse) Size ¶
func (m *MsgRetireTokenResponse) Size() (n int)
func (*MsgRetireTokenResponse) String ¶
func (m *MsgRetireTokenResponse) String() string
func (*MsgRetireTokenResponse) Unmarshal ¶
func (m *MsgRetireTokenResponse) Unmarshal(dAtA []byte) error
func (*MsgRetireTokenResponse) XXX_DiscardUnknown ¶
func (m *MsgRetireTokenResponse) XXX_DiscardUnknown()
func (*MsgRetireTokenResponse) XXX_Marshal ¶
func (m *MsgRetireTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRetireTokenResponse) XXX_Merge ¶
func (m *MsgRetireTokenResponse) XXX_Merge(src proto.Message)
func (*MsgRetireTokenResponse) XXX_Size ¶
func (m *MsgRetireTokenResponse) XXX_Size() int
func (*MsgRetireTokenResponse) XXX_Unmarshal ¶
func (m *MsgRetireTokenResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { CreateToken(context.Context, *MsgCreateToken) (*MsgCreateTokenResponse, error) MintToken(context.Context, *MsgMintToken) (*MsgMintTokenResponse, error) TransferToken(context.Context, *MsgTransferToken) (*MsgTransferTokenResponse, error) RetireToken(context.Context, *MsgRetireToken) (*MsgRetireTokenResponse, error) TransferCredit(context.Context, *MsgTransferCredit) (*MsgTransferCreditResponse, error) CancelToken(context.Context, *MsgCancelToken) (*MsgCancelTokenResponse, error) PauseToken(context.Context, *MsgPauseToken) (*MsgPauseTokenResponse, error) StopToken(context.Context, *MsgStopToken) (*MsgStopTokenResponse, error) }
MsgServer is the server API for Msg service.
type MsgStopToken ¶
type MsgStopToken struct { // address of minter Minter string `protobuf:"bytes,1,opt,name=minter,proto3" json:"minter,omitempty"` ContractAddress string `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` }
func (*MsgStopToken) Descriptor ¶
func (*MsgStopToken) Descriptor() ([]byte, []int)
func (*MsgStopToken) GetContractAddress ¶
func (m *MsgStopToken) GetContractAddress() string
func (*MsgStopToken) GetMinter ¶
func (m *MsgStopToken) GetMinter() string
func (*MsgStopToken) Marshal ¶
func (m *MsgStopToken) Marshal() (dAtA []byte, err error)
func (*MsgStopToken) MarshalToSizedBuffer ¶
func (m *MsgStopToken) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgStopToken) ProtoMessage ¶
func (*MsgStopToken) ProtoMessage()
func (*MsgStopToken) Reset ¶
func (m *MsgStopToken) Reset()
func (MsgStopToken) Route ¶
func (msg MsgStopToken) Route() string
func (*MsgStopToken) Size ¶
func (m *MsgStopToken) Size() (n int)
func (*MsgStopToken) String ¶
func (m *MsgStopToken) String() string
func (MsgStopToken) Type ¶
func (msg MsgStopToken) Type() string
func (*MsgStopToken) Unmarshal ¶
func (m *MsgStopToken) Unmarshal(dAtA []byte) error
func (MsgStopToken) ValidateBasic ¶
func (msg MsgStopToken) ValidateBasic() error
func (*MsgStopToken) XXX_DiscardUnknown ¶
func (m *MsgStopToken) XXX_DiscardUnknown()
func (*MsgStopToken) XXX_Marshal ¶
func (m *MsgStopToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgStopToken) XXX_Merge ¶
func (m *MsgStopToken) XXX_Merge(src proto.Message)
func (*MsgStopToken) XXX_Size ¶
func (m *MsgStopToken) XXX_Size() int
func (*MsgStopToken) XXX_Unmarshal ¶
func (m *MsgStopToken) XXX_Unmarshal(b []byte) error
type MsgStopTokenResponse ¶
type MsgStopTokenResponse struct { }
func (*MsgStopTokenResponse) Descriptor ¶
func (*MsgStopTokenResponse) Descriptor() ([]byte, []int)
func (*MsgStopTokenResponse) Marshal ¶
func (m *MsgStopTokenResponse) Marshal() (dAtA []byte, err error)
func (*MsgStopTokenResponse) MarshalTo ¶
func (m *MsgStopTokenResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgStopTokenResponse) MarshalToSizedBuffer ¶
func (m *MsgStopTokenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgStopTokenResponse) ProtoMessage ¶
func (*MsgStopTokenResponse) ProtoMessage()
func (*MsgStopTokenResponse) Reset ¶
func (m *MsgStopTokenResponse) Reset()
func (*MsgStopTokenResponse) Size ¶
func (m *MsgStopTokenResponse) Size() (n int)
func (*MsgStopTokenResponse) String ¶
func (m *MsgStopTokenResponse) String() string
func (*MsgStopTokenResponse) Unmarshal ¶
func (m *MsgStopTokenResponse) Unmarshal(dAtA []byte) error
func (*MsgStopTokenResponse) XXX_DiscardUnknown ¶
func (m *MsgStopTokenResponse) XXX_DiscardUnknown()
func (*MsgStopTokenResponse) XXX_Marshal ¶
func (m *MsgStopTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgStopTokenResponse) XXX_Merge ¶
func (m *MsgStopTokenResponse) XXX_Merge(src proto.Message)
func (*MsgStopTokenResponse) XXX_Size ¶
func (m *MsgStopTokenResponse) XXX_Size() int
func (*MsgStopTokenResponse) XXX_Unmarshal ¶
func (m *MsgStopTokenResponse) XXX_Unmarshal(b []byte) error
type MsgTransferCredit ¶
type MsgTransferCredit struct { // address of owner Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` // tokens to retire, all tokens must be in same smart contract Tokens []*TokenBatch `protobuf:"bytes,2,rep,name=tokens,proto3" json:"tokens,omitempty"` // jurisdiction is the jurisdiction of the token owner. A jurisdiction has // the format: <country-code>[-<sub-national-code>[ <postal-code>]] // The country-code must be 2 alphabetic characters, the sub-national-code // can be 1-3 alphanumeric characters, and the postal-code can be up to 64 // alphanumeric characters. Only the country-code is required, while the // sub-national-code and postal-code are optional and can be added for // increased precision. See the valid format for this below. Jurisdiction string `protobuf:"bytes,3,opt,name=jurisdiction,proto3" json:"jurisdiction,omitempty"` // reason is any arbitrary string that specifies the reason for retiring // tokens. Reason string `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,omitempty"` // authorization_id is the id of the authorization that was used for the // credit transfer AuthorizationId string `protobuf:"bytes,5,opt,name=authorization_id,json=authorizationId,proto3" json:"authorization_id,omitempty"` }
func (*MsgTransferCredit) Descriptor ¶
func (*MsgTransferCredit) Descriptor() ([]byte, []int)
func (*MsgTransferCredit) GetAuthorizationId ¶
func (m *MsgTransferCredit) GetAuthorizationId() string
func (*MsgTransferCredit) GetJurisdiction ¶
func (m *MsgTransferCredit) GetJurisdiction() string
func (*MsgTransferCredit) GetOwner ¶
func (m *MsgTransferCredit) GetOwner() string
func (*MsgTransferCredit) GetReason ¶
func (m *MsgTransferCredit) GetReason() string
func (*MsgTransferCredit) GetTokens ¶
func (m *MsgTransferCredit) GetTokens() []*TokenBatch
func (*MsgTransferCredit) Marshal ¶
func (m *MsgTransferCredit) Marshal() (dAtA []byte, err error)
func (*MsgTransferCredit) MarshalTo ¶
func (m *MsgTransferCredit) MarshalTo(dAtA []byte) (int, error)
func (*MsgTransferCredit) MarshalToSizedBuffer ¶
func (m *MsgTransferCredit) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgTransferCredit) ProtoMessage ¶
func (*MsgTransferCredit) ProtoMessage()
func (*MsgTransferCredit) Reset ¶
func (m *MsgTransferCredit) Reset()
func (MsgTransferCredit) Route ¶
func (msg MsgTransferCredit) Route() string
func (*MsgTransferCredit) Size ¶
func (m *MsgTransferCredit) Size() (n int)
func (*MsgTransferCredit) String ¶
func (m *MsgTransferCredit) String() string
func (MsgTransferCredit) Type ¶
func (msg MsgTransferCredit) Type() string
func (*MsgTransferCredit) Unmarshal ¶
func (m *MsgTransferCredit) Unmarshal(dAtA []byte) error
func (MsgTransferCredit) ValidateBasic ¶
func (msg MsgTransferCredit) ValidateBasic() error
func (*MsgTransferCredit) XXX_DiscardUnknown ¶
func (m *MsgTransferCredit) XXX_DiscardUnknown()
func (*MsgTransferCredit) XXX_Marshal ¶
func (m *MsgTransferCredit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgTransferCredit) XXX_Merge ¶
func (m *MsgTransferCredit) XXX_Merge(src proto.Message)
func (*MsgTransferCredit) XXX_Size ¶
func (m *MsgTransferCredit) XXX_Size() int
func (*MsgTransferCredit) XXX_Unmarshal ¶
func (m *MsgTransferCredit) XXX_Unmarshal(b []byte) error
type MsgTransferCreditResponse ¶
type MsgTransferCreditResponse struct { }
func (*MsgTransferCreditResponse) Descriptor ¶
func (*MsgTransferCreditResponse) Descriptor() ([]byte, []int)
func (*MsgTransferCreditResponse) Marshal ¶
func (m *MsgTransferCreditResponse) Marshal() (dAtA []byte, err error)
func (*MsgTransferCreditResponse) MarshalTo ¶
func (m *MsgTransferCreditResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgTransferCreditResponse) MarshalToSizedBuffer ¶
func (m *MsgTransferCreditResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgTransferCreditResponse) ProtoMessage ¶
func (*MsgTransferCreditResponse) ProtoMessage()
func (*MsgTransferCreditResponse) Reset ¶
func (m *MsgTransferCreditResponse) Reset()
func (*MsgTransferCreditResponse) Size ¶
func (m *MsgTransferCreditResponse) Size() (n int)
func (*MsgTransferCreditResponse) String ¶
func (m *MsgTransferCreditResponse) String() string
func (*MsgTransferCreditResponse) Unmarshal ¶
func (m *MsgTransferCreditResponse) Unmarshal(dAtA []byte) error
func (*MsgTransferCreditResponse) XXX_DiscardUnknown ¶
func (m *MsgTransferCreditResponse) XXX_DiscardUnknown()
func (*MsgTransferCreditResponse) XXX_Marshal ¶
func (m *MsgTransferCreditResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgTransferCreditResponse) XXX_Merge ¶
func (m *MsgTransferCreditResponse) XXX_Merge(src proto.Message)
func (*MsgTransferCreditResponse) XXX_Size ¶
func (m *MsgTransferCreditResponse) XXX_Size() int
func (*MsgTransferCreditResponse) XXX_Unmarshal ¶
func (m *MsgTransferCreditResponse) XXX_Unmarshal(b []byte) error
type MsgTransferToken ¶
type MsgTransferToken struct { // address of owner Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` // address of receiver Recipient string `protobuf:"bytes,2,opt,name=recipient,proto3" json:"recipient,omitempty"` // all tokens must be in same smart contract Tokens []*TokenBatch `protobuf:"bytes,3,rep,name=tokens,proto3" json:"tokens,omitempty"` }
func (*MsgTransferToken) Descriptor ¶
func (*MsgTransferToken) Descriptor() ([]byte, []int)
func (*MsgTransferToken) GetOwner ¶
func (m *MsgTransferToken) GetOwner() string
func (*MsgTransferToken) GetRecipient ¶
func (m *MsgTransferToken) GetRecipient() string
func (*MsgTransferToken) GetTokens ¶
func (m *MsgTransferToken) GetTokens() []*TokenBatch
func (*MsgTransferToken) Marshal ¶
func (m *MsgTransferToken) Marshal() (dAtA []byte, err error)
func (*MsgTransferToken) MarshalToSizedBuffer ¶
func (m *MsgTransferToken) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgTransferToken) ProtoMessage ¶
func (*MsgTransferToken) ProtoMessage()
func (*MsgTransferToken) Reset ¶
func (m *MsgTransferToken) Reset()
func (MsgTransferToken) Route ¶
func (msg MsgTransferToken) Route() string
func (*MsgTransferToken) Size ¶
func (m *MsgTransferToken) Size() (n int)
func (*MsgTransferToken) String ¶
func (m *MsgTransferToken) String() string
func (MsgTransferToken) Type ¶
func (msg MsgTransferToken) Type() string
func (*MsgTransferToken) Unmarshal ¶
func (m *MsgTransferToken) Unmarshal(dAtA []byte) error
func (MsgTransferToken) ValidateBasic ¶
func (msg MsgTransferToken) ValidateBasic() error
func (*MsgTransferToken) XXX_DiscardUnknown ¶
func (m *MsgTransferToken) XXX_DiscardUnknown()
func (*MsgTransferToken) XXX_Marshal ¶
func (m *MsgTransferToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgTransferToken) XXX_Merge ¶
func (m *MsgTransferToken) XXX_Merge(src proto.Message)
func (*MsgTransferToken) XXX_Size ¶
func (m *MsgTransferToken) XXX_Size() int
func (*MsgTransferToken) XXX_Unmarshal ¶
func (m *MsgTransferToken) XXX_Unmarshal(b []byte) error
type MsgTransferTokenResponse ¶
type MsgTransferTokenResponse struct { }
func (*MsgTransferTokenResponse) Descriptor ¶
func (*MsgTransferTokenResponse) Descriptor() ([]byte, []int)
func (*MsgTransferTokenResponse) Marshal ¶
func (m *MsgTransferTokenResponse) Marshal() (dAtA []byte, err error)
func (*MsgTransferTokenResponse) MarshalTo ¶
func (m *MsgTransferTokenResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgTransferTokenResponse) MarshalToSizedBuffer ¶
func (m *MsgTransferTokenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgTransferTokenResponse) ProtoMessage ¶
func (*MsgTransferTokenResponse) ProtoMessage()
func (*MsgTransferTokenResponse) Reset ¶
func (m *MsgTransferTokenResponse) Reset()
func (*MsgTransferTokenResponse) Size ¶
func (m *MsgTransferTokenResponse) Size() (n int)
func (*MsgTransferTokenResponse) String ¶
func (m *MsgTransferTokenResponse) String() string
func (*MsgTransferTokenResponse) Unmarshal ¶
func (m *MsgTransferTokenResponse) Unmarshal(dAtA []byte) error
func (*MsgTransferTokenResponse) XXX_DiscardUnknown ¶
func (m *MsgTransferTokenResponse) XXX_DiscardUnknown()
func (*MsgTransferTokenResponse) XXX_Marshal ¶
func (m *MsgTransferTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgTransferTokenResponse) XXX_Merge ¶
func (m *MsgTransferTokenResponse) XXX_Merge(src proto.Message)
func (*MsgTransferTokenResponse) XXX_Size ¶
func (m *MsgTransferTokenResponse) XXX_Size() int
func (*MsgTransferTokenResponse) XXX_Unmarshal ¶
func (m *MsgTransferTokenResponse) XXX_Unmarshal(b []byte) error
type Params ¶
type Params struct {
Ixo1155ContractCode uint64 `protobuf:"varint,1,opt,name=ixo1155_contract_code,json=ixo1155ContractCode,proto3" json:"ixo1155_contract_code,omitempty"`
}
func DefaultParams ¶
func DefaultParams() Params
func (*Params) Descriptor ¶
func (*Params) GetIxo1155ContractCode ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramstypes.ParamSetPairs
Implements params.ParamSet
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type QueryClient ¶
type QueryClient interface { Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) TokenMetadata(ctx context.Context, in *QueryTokenMetadataRequest, opts ...grpc.CallOption) (*QueryTokenMetadataResponse, error) TokenList(ctx context.Context, in *QueryTokenListRequest, opts ...grpc.CallOption) (*QueryTokenListResponse, error) TokenDoc(ctx context.Context, in *QueryTokenDocRequest, opts ...grpc.CallOption) (*QueryTokenDocResponse, 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 QueryParamsRequest ¶
type QueryParamsRequest struct { }
func (*QueryParamsRequest) Descriptor ¶
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
func (*QueryParamsRequest) Marshal ¶
func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryParamsRequest) MarshalTo ¶
func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsRequest) MarshalToSizedBuffer ¶
func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsRequest) ProtoMessage ¶
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) Reset ¶
func (m *QueryParamsRequest) Reset()
func (*QueryParamsRequest) Size ¶
func (m *QueryParamsRequest) Size() (n int)
func (*QueryParamsRequest) String ¶
func (m *QueryParamsRequest) String() string
func (*QueryParamsRequest) Unmarshal ¶
func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryParamsRequest) XXX_DiscardUnknown ¶
func (m *QueryParamsRequest) XXX_DiscardUnknown()
func (*QueryParamsRequest) XXX_Marshal ¶
func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsRequest) XXX_Merge ¶
func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
func (*QueryParamsRequest) XXX_Size ¶
func (m *QueryParamsRequest) XXX_Size() int
func (*QueryParamsRequest) XXX_Unmarshal ¶
func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
type QueryParamsResponse ¶
type QueryParamsResponse struct { // params holds all the parameters of this module. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` }
func (*QueryParamsResponse) Descriptor ¶
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
func (*QueryParamsResponse) GetParams ¶
func (m *QueryParamsResponse) GetParams() Params
func (*QueryParamsResponse) Marshal ¶
func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryParamsResponse) MarshalTo ¶
func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsResponse) MarshalToSizedBuffer ¶
func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) Reset ¶
func (m *QueryParamsResponse) Reset()
func (*QueryParamsResponse) Size ¶
func (m *QueryParamsResponse) Size() (n int)
func (*QueryParamsResponse) String ¶
func (m *QueryParamsResponse) String() string
func (*QueryParamsResponse) Unmarshal ¶
func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryParamsResponse) XXX_DiscardUnknown ¶
func (m *QueryParamsResponse) XXX_DiscardUnknown()
func (*QueryParamsResponse) XXX_Marshal ¶
func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsResponse) XXX_Merge ¶
func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
func (*QueryParamsResponse) XXX_Size ¶
func (m *QueryParamsResponse) XXX_Size() int
func (*QueryParamsResponse) XXX_Unmarshal ¶
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) TokenMetadata(context.Context, *QueryTokenMetadataRequest) (*QueryTokenMetadataResponse, error) TokenList(context.Context, *QueryTokenListRequest) (*QueryTokenListResponse, error) TokenDoc(context.Context, *QueryTokenDocRequest) (*QueryTokenDocResponse, error) }
QueryServer is the server API for Query service.
type QueryTokenDocRequest ¶
type QueryTokenDocRequest struct { // minter address to get Token Doc for Minter string `protobuf:"bytes,1,opt,name=minter,proto3" json:"minter,omitempty"` ContractAddress string `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` }
func (*QueryTokenDocRequest) Descriptor ¶
func (*QueryTokenDocRequest) Descriptor() ([]byte, []int)
func (*QueryTokenDocRequest) GetContractAddress ¶
func (m *QueryTokenDocRequest) GetContractAddress() string
func (*QueryTokenDocRequest) GetMinter ¶
func (m *QueryTokenDocRequest) GetMinter() string
func (*QueryTokenDocRequest) Marshal ¶
func (m *QueryTokenDocRequest) Marshal() (dAtA []byte, err error)
func (*QueryTokenDocRequest) MarshalTo ¶
func (m *QueryTokenDocRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryTokenDocRequest) MarshalToSizedBuffer ¶
func (m *QueryTokenDocRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTokenDocRequest) ProtoMessage ¶
func (*QueryTokenDocRequest) ProtoMessage()
func (*QueryTokenDocRequest) Reset ¶
func (m *QueryTokenDocRequest) Reset()
func (*QueryTokenDocRequest) Size ¶
func (m *QueryTokenDocRequest) Size() (n int)
func (*QueryTokenDocRequest) String ¶
func (m *QueryTokenDocRequest) String() string
func (*QueryTokenDocRequest) Unmarshal ¶
func (m *QueryTokenDocRequest) Unmarshal(dAtA []byte) error
func (*QueryTokenDocRequest) XXX_DiscardUnknown ¶
func (m *QueryTokenDocRequest) XXX_DiscardUnknown()
func (*QueryTokenDocRequest) XXX_Marshal ¶
func (m *QueryTokenDocRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTokenDocRequest) XXX_Merge ¶
func (m *QueryTokenDocRequest) XXX_Merge(src proto.Message)
func (*QueryTokenDocRequest) XXX_Size ¶
func (m *QueryTokenDocRequest) XXX_Size() int
func (*QueryTokenDocRequest) XXX_Unmarshal ¶
func (m *QueryTokenDocRequest) XXX_Unmarshal(b []byte) error
type QueryTokenDocResponse ¶
type QueryTokenDocResponse struct {
TokenDoc Token `protobuf:"bytes,1,opt,name=tokenDoc,proto3" json:"tokenDoc"`
}
func (*QueryTokenDocResponse) Descriptor ¶
func (*QueryTokenDocResponse) Descriptor() ([]byte, []int)
func (*QueryTokenDocResponse) GetTokenDoc ¶
func (m *QueryTokenDocResponse) GetTokenDoc() Token
func (*QueryTokenDocResponse) Marshal ¶
func (m *QueryTokenDocResponse) Marshal() (dAtA []byte, err error)
func (*QueryTokenDocResponse) MarshalTo ¶
func (m *QueryTokenDocResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryTokenDocResponse) MarshalToSizedBuffer ¶
func (m *QueryTokenDocResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTokenDocResponse) ProtoMessage ¶
func (*QueryTokenDocResponse) ProtoMessage()
func (*QueryTokenDocResponse) Reset ¶
func (m *QueryTokenDocResponse) Reset()
func (*QueryTokenDocResponse) Size ¶
func (m *QueryTokenDocResponse) Size() (n int)
func (*QueryTokenDocResponse) String ¶
func (m *QueryTokenDocResponse) String() string
func (*QueryTokenDocResponse) Unmarshal ¶
func (m *QueryTokenDocResponse) Unmarshal(dAtA []byte) error
func (*QueryTokenDocResponse) XXX_DiscardUnknown ¶
func (m *QueryTokenDocResponse) XXX_DiscardUnknown()
func (*QueryTokenDocResponse) XXX_Marshal ¶
func (m *QueryTokenDocResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTokenDocResponse) XXX_Merge ¶
func (m *QueryTokenDocResponse) XXX_Merge(src proto.Message)
func (*QueryTokenDocResponse) XXX_Size ¶
func (m *QueryTokenDocResponse) XXX_Size() int
func (*QueryTokenDocResponse) XXX_Unmarshal ¶
func (m *QueryTokenDocResponse) XXX_Unmarshal(b []byte) error
type QueryTokenListRequest ¶
type QueryTokenListRequest struct { Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` // minter address to get list for Minter string `protobuf:"bytes,2,opt,name=minter,proto3" json:"minter,omitempty"` }
func (*QueryTokenListRequest) Descriptor ¶
func (*QueryTokenListRequest) Descriptor() ([]byte, []int)
func (*QueryTokenListRequest) GetMinter ¶
func (m *QueryTokenListRequest) GetMinter() string
func (*QueryTokenListRequest) GetPagination ¶
func (m *QueryTokenListRequest) GetPagination() *query.PageRequest
func (*QueryTokenListRequest) Marshal ¶
func (m *QueryTokenListRequest) Marshal() (dAtA []byte, err error)
func (*QueryTokenListRequest) MarshalTo ¶
func (m *QueryTokenListRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryTokenListRequest) MarshalToSizedBuffer ¶
func (m *QueryTokenListRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTokenListRequest) ProtoMessage ¶
func (*QueryTokenListRequest) ProtoMessage()
func (*QueryTokenListRequest) Reset ¶
func (m *QueryTokenListRequest) Reset()
func (*QueryTokenListRequest) Size ¶
func (m *QueryTokenListRequest) Size() (n int)
func (*QueryTokenListRequest) String ¶
func (m *QueryTokenListRequest) String() string
func (*QueryTokenListRequest) Unmarshal ¶
func (m *QueryTokenListRequest) Unmarshal(dAtA []byte) error
func (*QueryTokenListRequest) XXX_DiscardUnknown ¶
func (m *QueryTokenListRequest) XXX_DiscardUnknown()
func (*QueryTokenListRequest) XXX_Marshal ¶
func (m *QueryTokenListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTokenListRequest) XXX_Merge ¶
func (m *QueryTokenListRequest) XXX_Merge(src proto.Message)
func (*QueryTokenListRequest) XXX_Size ¶
func (m *QueryTokenListRequest) XXX_Size() int
func (*QueryTokenListRequest) XXX_Unmarshal ¶
func (m *QueryTokenListRequest) XXX_Unmarshal(b []byte) error
type QueryTokenListResponse ¶
type QueryTokenListResponse struct { Pagination *query.PageResponse `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` TokenDocs []Token `protobuf:"bytes,2,rep,name=tokenDocs,proto3" json:"tokenDocs"` }
func (*QueryTokenListResponse) Descriptor ¶
func (*QueryTokenListResponse) Descriptor() ([]byte, []int)
func (*QueryTokenListResponse) GetPagination ¶
func (m *QueryTokenListResponse) GetPagination() *query.PageResponse
func (*QueryTokenListResponse) GetTokenDocs ¶
func (m *QueryTokenListResponse) GetTokenDocs() []Token
func (*QueryTokenListResponse) Marshal ¶
func (m *QueryTokenListResponse) Marshal() (dAtA []byte, err error)
func (*QueryTokenListResponse) MarshalTo ¶
func (m *QueryTokenListResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryTokenListResponse) MarshalToSizedBuffer ¶
func (m *QueryTokenListResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTokenListResponse) ProtoMessage ¶
func (*QueryTokenListResponse) ProtoMessage()
func (*QueryTokenListResponse) Reset ¶
func (m *QueryTokenListResponse) Reset()
func (*QueryTokenListResponse) Size ¶
func (m *QueryTokenListResponse) Size() (n int)
func (*QueryTokenListResponse) String ¶
func (m *QueryTokenListResponse) String() string
func (*QueryTokenListResponse) Unmarshal ¶
func (m *QueryTokenListResponse) Unmarshal(dAtA []byte) error
func (*QueryTokenListResponse) XXX_DiscardUnknown ¶
func (m *QueryTokenListResponse) XXX_DiscardUnknown()
func (*QueryTokenListResponse) XXX_Marshal ¶
func (m *QueryTokenListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTokenListResponse) XXX_Merge ¶
func (m *QueryTokenListResponse) XXX_Merge(src proto.Message)
func (*QueryTokenListResponse) XXX_Size ¶
func (m *QueryTokenListResponse) XXX_Size() int
func (*QueryTokenListResponse) XXX_Unmarshal ¶
func (m *QueryTokenListResponse) XXX_Unmarshal(b []byte) error
type QueryTokenMetadataRequest ¶
type QueryTokenMetadataRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}
func (*QueryTokenMetadataRequest) Descriptor ¶
func (*QueryTokenMetadataRequest) Descriptor() ([]byte, []int)
func (*QueryTokenMetadataRequest) GetId ¶
func (m *QueryTokenMetadataRequest) GetId() string
func (*QueryTokenMetadataRequest) Marshal ¶
func (m *QueryTokenMetadataRequest) Marshal() (dAtA []byte, err error)
func (*QueryTokenMetadataRequest) MarshalTo ¶
func (m *QueryTokenMetadataRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryTokenMetadataRequest) MarshalToSizedBuffer ¶
func (m *QueryTokenMetadataRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTokenMetadataRequest) ProtoMessage ¶
func (*QueryTokenMetadataRequest) ProtoMessage()
func (*QueryTokenMetadataRequest) Reset ¶
func (m *QueryTokenMetadataRequest) Reset()
func (*QueryTokenMetadataRequest) Size ¶
func (m *QueryTokenMetadataRequest) Size() (n int)
func (*QueryTokenMetadataRequest) String ¶
func (m *QueryTokenMetadataRequest) String() string
func (*QueryTokenMetadataRequest) Unmarshal ¶
func (m *QueryTokenMetadataRequest) Unmarshal(dAtA []byte) error
func (*QueryTokenMetadataRequest) XXX_DiscardUnknown ¶
func (m *QueryTokenMetadataRequest) XXX_DiscardUnknown()
func (*QueryTokenMetadataRequest) XXX_Marshal ¶
func (m *QueryTokenMetadataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTokenMetadataRequest) XXX_Merge ¶
func (m *QueryTokenMetadataRequest) XXX_Merge(src proto.Message)
func (*QueryTokenMetadataRequest) XXX_Size ¶
func (m *QueryTokenMetadataRequest) XXX_Size() int
func (*QueryTokenMetadataRequest) XXX_Unmarshal ¶
func (m *QueryTokenMetadataRequest) XXX_Unmarshal(b []byte) error
type QueryTokenMetadataResponse ¶
type QueryTokenMetadataResponse struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Decimals string `protobuf:"bytes,3,opt,name=decimals,proto3" json:"decimals,omitempty"` Image string `protobuf:"bytes,4,opt,name=image,proto3" json:"image,omitempty"` Index string `protobuf:"bytes,5,opt,name=index,proto3" json:"index,omitempty"` Properties *TokenMetadataProperties `protobuf:"bytes,6,opt,name=properties,proto3" json:"properties,omitempty"` }
func (*QueryTokenMetadataResponse) Descriptor ¶
func (*QueryTokenMetadataResponse) Descriptor() ([]byte, []int)
func (*QueryTokenMetadataResponse) GetDecimals ¶
func (m *QueryTokenMetadataResponse) GetDecimals() string
func (*QueryTokenMetadataResponse) GetDescription ¶
func (m *QueryTokenMetadataResponse) GetDescription() string
func (*QueryTokenMetadataResponse) GetImage ¶
func (m *QueryTokenMetadataResponse) GetImage() string
func (*QueryTokenMetadataResponse) GetIndex ¶
func (m *QueryTokenMetadataResponse) GetIndex() string
func (*QueryTokenMetadataResponse) GetName ¶
func (m *QueryTokenMetadataResponse) GetName() string
func (*QueryTokenMetadataResponse) GetProperties ¶
func (m *QueryTokenMetadataResponse) GetProperties() *TokenMetadataProperties
func (*QueryTokenMetadataResponse) Marshal ¶
func (m *QueryTokenMetadataResponse) Marshal() (dAtA []byte, err error)
func (*QueryTokenMetadataResponse) MarshalTo ¶
func (m *QueryTokenMetadataResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryTokenMetadataResponse) MarshalToSizedBuffer ¶
func (m *QueryTokenMetadataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTokenMetadataResponse) ProtoMessage ¶
func (*QueryTokenMetadataResponse) ProtoMessage()
func (*QueryTokenMetadataResponse) Reset ¶
func (m *QueryTokenMetadataResponse) Reset()
func (*QueryTokenMetadataResponse) Size ¶
func (m *QueryTokenMetadataResponse) Size() (n int)
func (*QueryTokenMetadataResponse) String ¶
func (m *QueryTokenMetadataResponse) String() string
func (*QueryTokenMetadataResponse) Unmarshal ¶
func (m *QueryTokenMetadataResponse) Unmarshal(dAtA []byte) error
func (*QueryTokenMetadataResponse) XXX_DiscardUnknown ¶
func (m *QueryTokenMetadataResponse) XXX_DiscardUnknown()
func (*QueryTokenMetadataResponse) XXX_Marshal ¶
func (m *QueryTokenMetadataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTokenMetadataResponse) XXX_Merge ¶
func (m *QueryTokenMetadataResponse) XXX_Merge(src proto.Message)
func (*QueryTokenMetadataResponse) XXX_Size ¶
func (m *QueryTokenMetadataResponse) XXX_Size() int
func (*QueryTokenMetadataResponse) XXX_Unmarshal ¶
func (m *QueryTokenMetadataResponse) XXX_Unmarshal(b []byte) error
type SetTokenContractCodes ¶
type SetTokenContractCodes struct {
Ixo1155ContractCode uint64 `protobuf:"varint,1,opt,name=ixo1155_contract_code,json=ixo1155ContractCode,proto3" json:"ixo1155_contract_code,omitempty"`
}
func NewSetTokenContract ¶
func NewSetTokenContract(ixo1155Code uint64) SetTokenContractCodes
func (*SetTokenContractCodes) Descriptor ¶
func (*SetTokenContractCodes) Descriptor() ([]byte, []int)
func (*SetTokenContractCodes) GetDescription ¶
func (p *SetTokenContractCodes) GetDescription() string
func (*SetTokenContractCodes) GetIxo1155ContractCode ¶
func (m *SetTokenContractCodes) GetIxo1155ContractCode() uint64
func (*SetTokenContractCodes) GetTitle ¶
func (p *SetTokenContractCodes) GetTitle() string
func (*SetTokenContractCodes) Marshal ¶
func (m *SetTokenContractCodes) Marshal() (dAtA []byte, err error)
func (*SetTokenContractCodes) MarshalTo ¶
func (m *SetTokenContractCodes) MarshalTo(dAtA []byte) (int, error)
func (*SetTokenContractCodes) MarshalToSizedBuffer ¶
func (m *SetTokenContractCodes) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SetTokenContractCodes) ProposalRoute ¶
func (p *SetTokenContractCodes) ProposalRoute() string
func (*SetTokenContractCodes) ProposalType ¶
func (p *SetTokenContractCodes) ProposalType() string
func (*SetTokenContractCodes) ProtoMessage ¶
func (*SetTokenContractCodes) ProtoMessage()
func (*SetTokenContractCodes) Reset ¶
func (m *SetTokenContractCodes) Reset()
func (*SetTokenContractCodes) Size ¶
func (m *SetTokenContractCodes) Size() (n int)
func (*SetTokenContractCodes) String ¶
func (m *SetTokenContractCodes) String() string
func (*SetTokenContractCodes) Unmarshal ¶
func (m *SetTokenContractCodes) Unmarshal(dAtA []byte) error
func (*SetTokenContractCodes) ValidateBasic ¶
func (p *SetTokenContractCodes) ValidateBasic() error
func (*SetTokenContractCodes) XXX_DiscardUnknown ¶
func (m *SetTokenContractCodes) XXX_DiscardUnknown()
func (*SetTokenContractCodes) XXX_Marshal ¶
func (m *SetTokenContractCodes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetTokenContractCodes) XXX_Merge ¶
func (m *SetTokenContractCodes) XXX_Merge(src proto.Message)
func (*SetTokenContractCodes) XXX_Size ¶
func (m *SetTokenContractCodes) XXX_Size() int
func (*SetTokenContractCodes) XXX_Unmarshal ¶
func (m *SetTokenContractCodes) XXX_Unmarshal(b []byte) error
type Token ¶
type Token struct { // address of minter Minter string `protobuf:"bytes,1,opt,name=minter,proto3" json:"minter,omitempty"` // generated on token initiation ContractAddress string `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` // class is the token protocol entity DID (validated) Class string `protobuf:"bytes,3,opt,name=class,proto3" json:"class,omitempty"` // name is the token name, which must be unique (namespace) Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // description is any arbitrary description Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` // image is the image url for the token Image string `protobuf:"bytes,6,opt,name=image,proto3" json:"image,omitempty"` // type is the token type (eg ixo1155) Type string `protobuf:"bytes,7,opt,name=type,proto3" json:"type,omitempty"` // cap is the maximum number of tokens with this name that can be minted, 0 is // unlimited Cap cosmossdk_io_math.Uint `protobuf:"bytes,8,opt,name=cap,proto3,customtype=cosmossdk.io/math.Uint" json:"cap"` // how much has already been minted for this Token type, aka the supply Supply cosmossdk_io_math.Uint `protobuf:"bytes,9,opt,name=supply,proto3,customtype=cosmossdk.io/math.Uint" json:"supply"` // stop allowance of token minter temporarily Paused bool `protobuf:"varint,10,opt,name=paused,proto3" json:"paused,omitempty"` // stop allowance of token minter permanently Stopped bool `protobuf:"varint,11,opt,name=stopped,proto3" json:"stopped,omitempty"` // tokens that has been retired for this Token with specific name and contract // address Retired []*TokensRetired `protobuf:"bytes,12,rep,name=retired,proto3" json:"retired,omitempty"` // tokens that has been cancelled for this Token with specific name and // contract address Cancelled []*TokensCancelled `protobuf:"bytes,13,rep,name=cancelled,proto3" json:"cancelled,omitempty"` // credits that has been transferred for this Token with specific name and // contract address Transferred []*CreditsTransferred `protobuf:"bytes,14,rep,name=transferred,proto3" json:"transferred,omitempty"` }
func (*Token) Descriptor ¶
func (*Token) GetCancelled ¶
func (m *Token) GetCancelled() []*TokensCancelled
func (*Token) GetContractAddress ¶
func (*Token) GetDescription ¶
func (*Token) GetRetired ¶
func (m *Token) GetRetired() []*TokensRetired
func (*Token) GetStopped ¶
func (*Token) GetTransferred ¶
func (m *Token) GetTransferred() []*CreditsTransferred
func (*Token) ProtoMessage ¶
func (*Token) ProtoMessage()
func (*Token) XXX_DiscardUnknown ¶
func (m *Token) XXX_DiscardUnknown()
func (*Token) XXX_Marshal ¶
func (*Token) XXX_Unmarshal ¶
type TokenBatch ¶
type TokenBatch struct { // id that identifies the token Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // amount is the number of tokens to transfer Amount cosmossdk_io_math.Uint `protobuf:"bytes,2,opt,name=amount,proto3,customtype=cosmossdk.io/math.Uint" json:"amount"` }
func (*TokenBatch) Descriptor ¶
func (*TokenBatch) Descriptor() ([]byte, []int)
func (*TokenBatch) Equal ¶
func (this *TokenBatch) Equal(that interface{}) bool
func (*TokenBatch) GetId ¶
func (m *TokenBatch) GetId() string
func (*TokenBatch) GetWasmTransferBatch ¶
func (batch *TokenBatch) GetWasmTransferBatch() ixo1155.Batch
func (*TokenBatch) Marshal ¶
func (m *TokenBatch) Marshal() (dAtA []byte, err error)
func (*TokenBatch) MarshalToSizedBuffer ¶
func (m *TokenBatch) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TokenBatch) ProtoMessage ¶
func (*TokenBatch) ProtoMessage()
func (*TokenBatch) Reset ¶
func (m *TokenBatch) Reset()
func (*TokenBatch) Size ¶
func (m *TokenBatch) Size() (n int)
func (*TokenBatch) String ¶
func (m *TokenBatch) String() string
func (*TokenBatch) Unmarshal ¶
func (m *TokenBatch) Unmarshal(dAtA []byte) error
func (*TokenBatch) XXX_DiscardUnknown ¶
func (m *TokenBatch) XXX_DiscardUnknown()
func (*TokenBatch) XXX_Marshal ¶
func (m *TokenBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TokenBatch) XXX_Merge ¶
func (m *TokenBatch) XXX_Merge(src proto.Message)
func (*TokenBatch) XXX_Size ¶
func (m *TokenBatch) XXX_Size() int
func (*TokenBatch) XXX_Unmarshal ¶
func (m *TokenBatch) XXX_Unmarshal(b []byte) error
type TokenCancelledEvent ¶
type TokenCancelledEvent struct { // the token owner Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` Tokens []*TokenBatch `protobuf:"bytes,2,rep,name=tokens,proto3" json:"tokens,omitempty"` }
TokenCancelledEvent is an event triggered on a Token cancel execution
func (*TokenCancelledEvent) Descriptor ¶
func (*TokenCancelledEvent) Descriptor() ([]byte, []int)
func (*TokenCancelledEvent) GetOwner ¶
func (m *TokenCancelledEvent) GetOwner() string
func (*TokenCancelledEvent) GetTokens ¶
func (m *TokenCancelledEvent) GetTokens() []*TokenBatch
func (*TokenCancelledEvent) Marshal ¶
func (m *TokenCancelledEvent) Marshal() (dAtA []byte, err error)
func (*TokenCancelledEvent) MarshalTo ¶
func (m *TokenCancelledEvent) MarshalTo(dAtA []byte) (int, error)
func (*TokenCancelledEvent) MarshalToSizedBuffer ¶
func (m *TokenCancelledEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TokenCancelledEvent) ProtoMessage ¶
func (*TokenCancelledEvent) ProtoMessage()
func (*TokenCancelledEvent) Reset ¶
func (m *TokenCancelledEvent) Reset()
func (*TokenCancelledEvent) Size ¶
func (m *TokenCancelledEvent) Size() (n int)
func (*TokenCancelledEvent) String ¶
func (m *TokenCancelledEvent) String() string
func (*TokenCancelledEvent) Unmarshal ¶
func (m *TokenCancelledEvent) Unmarshal(dAtA []byte) error
func (*TokenCancelledEvent) XXX_DiscardUnknown ¶
func (m *TokenCancelledEvent) XXX_DiscardUnknown()
func (*TokenCancelledEvent) XXX_Marshal ¶
func (m *TokenCancelledEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TokenCancelledEvent) XXX_Merge ¶
func (m *TokenCancelledEvent) XXX_Merge(src proto.Message)
func (*TokenCancelledEvent) XXX_Size ¶
func (m *TokenCancelledEvent) XXX_Size() int
func (*TokenCancelledEvent) XXX_Unmarshal ¶
func (m *TokenCancelledEvent) XXX_Unmarshal(b []byte) error
type TokenCreatedEvent ¶
type TokenCreatedEvent struct {
Token *Token `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
}
TokenCreatedEvent is an event triggered on a Token creation
func (*TokenCreatedEvent) Descriptor ¶
func (*TokenCreatedEvent) Descriptor() ([]byte, []int)
func (*TokenCreatedEvent) GetToken ¶
func (m *TokenCreatedEvent) GetToken() *Token
func (*TokenCreatedEvent) Marshal ¶
func (m *TokenCreatedEvent) Marshal() (dAtA []byte, err error)
func (*TokenCreatedEvent) MarshalTo ¶
func (m *TokenCreatedEvent) MarshalTo(dAtA []byte) (int, error)
func (*TokenCreatedEvent) MarshalToSizedBuffer ¶
func (m *TokenCreatedEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TokenCreatedEvent) ProtoMessage ¶
func (*TokenCreatedEvent) ProtoMessage()
func (*TokenCreatedEvent) Reset ¶
func (m *TokenCreatedEvent) Reset()
func (*TokenCreatedEvent) Size ¶
func (m *TokenCreatedEvent) Size() (n int)
func (*TokenCreatedEvent) String ¶
func (m *TokenCreatedEvent) String() string
func (*TokenCreatedEvent) Unmarshal ¶
func (m *TokenCreatedEvent) Unmarshal(dAtA []byte) error
func (*TokenCreatedEvent) XXX_DiscardUnknown ¶
func (m *TokenCreatedEvent) XXX_DiscardUnknown()
func (*TokenCreatedEvent) XXX_Marshal ¶
func (m *TokenCreatedEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TokenCreatedEvent) XXX_Merge ¶
func (m *TokenCreatedEvent) XXX_Merge(src proto.Message)
func (*TokenCreatedEvent) XXX_Size ¶
func (m *TokenCreatedEvent) XXX_Size() int
func (*TokenCreatedEvent) XXX_Unmarshal ¶
func (m *TokenCreatedEvent) XXX_Unmarshal(b []byte) error
type TokenData ¶
type TokenData struct { // media type value should always be "application/json" Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` Encrypted bool `protobuf:"varint,2,opt,name=encrypted,proto3" json:"encrypted,omitempty"` Proof string `protobuf:"bytes,3,opt,name=proof,proto3" json:"proof,omitempty"` Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"` // did of entity to map token to Id string `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"` }
func (*TokenData) Descriptor ¶
func (*TokenData) GetEncrypted ¶
func (*TokenData) MarshalToSizedBuffer ¶
func (*TokenData) ProtoMessage ¶
func (*TokenData) ProtoMessage()
func (*TokenData) XXX_DiscardUnknown ¶
func (m *TokenData) XXX_DiscardUnknown()
func (*TokenData) XXX_Marshal ¶
func (*TokenData) XXX_Unmarshal ¶
type TokenMetadataProperties ¶
type TokenMetadataProperties struct { Class string `protobuf:"bytes,1,opt,name=class,proto3" json:"class,omitempty"` Collection string `protobuf:"bytes,2,opt,name=collection,proto3" json:"collection,omitempty"` Cap string `protobuf:"bytes,3,opt,name=cap,proto3" json:"cap,omitempty"` LinkedResources []*TokenData `protobuf:"bytes,4,rep,name=linkedResources,proto3" json:"linkedResources,omitempty"` }
func (*TokenMetadataProperties) Descriptor ¶
func (*TokenMetadataProperties) Descriptor() ([]byte, []int)
func (*TokenMetadataProperties) Equal ¶
func (this *TokenMetadataProperties) Equal(that interface{}) bool
func (*TokenMetadataProperties) GetCap ¶
func (m *TokenMetadataProperties) GetCap() string
func (*TokenMetadataProperties) GetClass ¶
func (m *TokenMetadataProperties) GetClass() string
func (*TokenMetadataProperties) GetCollection ¶
func (m *TokenMetadataProperties) GetCollection() string
func (*TokenMetadataProperties) GetLinkedResources ¶
func (m *TokenMetadataProperties) GetLinkedResources() []*TokenData
func (*TokenMetadataProperties) Marshal ¶
func (m *TokenMetadataProperties) Marshal() (dAtA []byte, err error)
func (*TokenMetadataProperties) MarshalTo ¶
func (m *TokenMetadataProperties) MarshalTo(dAtA []byte) (int, error)
func (*TokenMetadataProperties) MarshalToSizedBuffer ¶
func (m *TokenMetadataProperties) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TokenMetadataProperties) ProtoMessage ¶
func (*TokenMetadataProperties) ProtoMessage()
func (*TokenMetadataProperties) Reset ¶
func (m *TokenMetadataProperties) Reset()
func (*TokenMetadataProperties) Size ¶
func (m *TokenMetadataProperties) Size() (n int)
func (*TokenMetadataProperties) String ¶
func (m *TokenMetadataProperties) String() string
func (*TokenMetadataProperties) Unmarshal ¶
func (m *TokenMetadataProperties) Unmarshal(dAtA []byte) error
func (*TokenMetadataProperties) XXX_DiscardUnknown ¶
func (m *TokenMetadataProperties) XXX_DiscardUnknown()
func (*TokenMetadataProperties) XXX_Marshal ¶
func (m *TokenMetadataProperties) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TokenMetadataProperties) XXX_Merge ¶
func (m *TokenMetadataProperties) XXX_Merge(src proto.Message)
func (*TokenMetadataProperties) XXX_Size ¶
func (m *TokenMetadataProperties) XXX_Size() int
func (*TokenMetadataProperties) XXX_Unmarshal ¶
func (m *TokenMetadataProperties) XXX_Unmarshal(b []byte) error
type TokenMintedEvent ¶
type TokenMintedEvent struct { // the contract address of token contract being initialized ContractAddress string `protobuf:"bytes,1,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` // the token minter Minter string `protobuf:"bytes,2,opt,name=minter,proto3" json:"minter,omitempty"` // the new tokens owner Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"` Amount cosmossdk_io_math.Uint `protobuf:"bytes,4,opt,name=amount,proto3,customtype=cosmossdk.io/math.Uint" json:"amount"` TokenProperties *TokenProperties `protobuf:"bytes,5,opt,name=tokenProperties,proto3" json:"tokenProperties,omitempty"` }
TokenMintedEvent is an event triggered on a Token mint execution
func (*TokenMintedEvent) Descriptor ¶
func (*TokenMintedEvent) Descriptor() ([]byte, []int)
func (*TokenMintedEvent) GetContractAddress ¶
func (m *TokenMintedEvent) GetContractAddress() string
func (*TokenMintedEvent) GetMinter ¶
func (m *TokenMintedEvent) GetMinter() string
func (*TokenMintedEvent) GetOwner ¶
func (m *TokenMintedEvent) GetOwner() string
func (*TokenMintedEvent) GetTokenProperties ¶
func (m *TokenMintedEvent) GetTokenProperties() *TokenProperties
func (*TokenMintedEvent) Marshal ¶
func (m *TokenMintedEvent) Marshal() (dAtA []byte, err error)
func (*TokenMintedEvent) MarshalToSizedBuffer ¶
func (m *TokenMintedEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TokenMintedEvent) ProtoMessage ¶
func (*TokenMintedEvent) ProtoMessage()
func (*TokenMintedEvent) Reset ¶
func (m *TokenMintedEvent) Reset()
func (*TokenMintedEvent) Size ¶
func (m *TokenMintedEvent) Size() (n int)
func (*TokenMintedEvent) String ¶
func (m *TokenMintedEvent) String() string
func (*TokenMintedEvent) Unmarshal ¶
func (m *TokenMintedEvent) Unmarshal(dAtA []byte) error
func (*TokenMintedEvent) XXX_DiscardUnknown ¶
func (m *TokenMintedEvent) XXX_DiscardUnknown()
func (*TokenMintedEvent) XXX_Marshal ¶
func (m *TokenMintedEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TokenMintedEvent) XXX_Merge ¶
func (m *TokenMintedEvent) XXX_Merge(src proto.Message)
func (*TokenMintedEvent) XXX_Size ¶
func (m *TokenMintedEvent) XXX_Size() int
func (*TokenMintedEvent) XXX_Unmarshal ¶
func (m *TokenMintedEvent) XXX_Unmarshal(b []byte) error
type TokenPausedEvent ¶
type TokenPausedEvent struct { // the minter address Minter string `protobuf:"bytes,1,opt,name=minter,proto3" json:"minter,omitempty"` ContractAddress string `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` Paused bool `protobuf:"varint,3,opt,name=paused,proto3" json:"paused,omitempty"` }
TokenPausedEvent is an event triggered on a Token pause/unpause execution
func (*TokenPausedEvent) Descriptor ¶
func (*TokenPausedEvent) Descriptor() ([]byte, []int)
func (*TokenPausedEvent) GetContractAddress ¶
func (m *TokenPausedEvent) GetContractAddress() string
func (*TokenPausedEvent) GetMinter ¶
func (m *TokenPausedEvent) GetMinter() string
func (*TokenPausedEvent) GetPaused ¶
func (m *TokenPausedEvent) GetPaused() bool
func (*TokenPausedEvent) Marshal ¶
func (m *TokenPausedEvent) Marshal() (dAtA []byte, err error)
func (*TokenPausedEvent) MarshalToSizedBuffer ¶
func (m *TokenPausedEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TokenPausedEvent) ProtoMessage ¶
func (*TokenPausedEvent) ProtoMessage()
func (*TokenPausedEvent) Reset ¶
func (m *TokenPausedEvent) Reset()
func (*TokenPausedEvent) Size ¶
func (m *TokenPausedEvent) Size() (n int)
func (*TokenPausedEvent) String ¶
func (m *TokenPausedEvent) String() string
func (*TokenPausedEvent) Unmarshal ¶
func (m *TokenPausedEvent) Unmarshal(dAtA []byte) error
func (*TokenPausedEvent) XXX_DiscardUnknown ¶
func (m *TokenPausedEvent) XXX_DiscardUnknown()
func (*TokenPausedEvent) XXX_Marshal ¶
func (m *TokenPausedEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TokenPausedEvent) XXX_Merge ¶
func (m *TokenPausedEvent) XXX_Merge(src proto.Message)
func (*TokenPausedEvent) XXX_Size ¶
func (m *TokenPausedEvent) XXX_Size() int
func (*TokenPausedEvent) XXX_Unmarshal ¶
func (m *TokenPausedEvent) XXX_Unmarshal(b []byte) error
type TokenProperties ¶
type TokenProperties struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // index is the unique identifier hexstring that identifies the token Index string `protobuf:"bytes,2,opt,name=index,proto3" json:"index,omitempty"` // name is the token name, which is same as Token name Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // did of collection (eg Supamoto Malawi) Collection string `protobuf:"bytes,4,opt,name=collection,proto3" json:"collection,omitempty"` // tokenData is the linkedResources added to tokenMetadata when queried eg // (credential link ***.ipfs) TokenData []*TokenData `protobuf:"bytes,5,rep,name=tokenData,proto3" json:"tokenData,omitempty"` }
func (*TokenProperties) Descriptor ¶
func (*TokenProperties) Descriptor() ([]byte, []int)
func (*TokenProperties) Equal ¶
func (this *TokenProperties) Equal(that interface{}) bool
func (*TokenProperties) GetCollection ¶
func (m *TokenProperties) GetCollection() string
func (*TokenProperties) GetId ¶
func (m *TokenProperties) GetId() string
func (*TokenProperties) GetIndex ¶
func (m *TokenProperties) GetIndex() string
func (*TokenProperties) GetName ¶
func (m *TokenProperties) GetName() string
func (*TokenProperties) GetTokenData ¶
func (m *TokenProperties) GetTokenData() []*TokenData
func (*TokenProperties) Marshal ¶
func (m *TokenProperties) Marshal() (dAtA []byte, err error)
func (*TokenProperties) MarshalToSizedBuffer ¶
func (m *TokenProperties) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TokenProperties) ProtoMessage ¶
func (*TokenProperties) ProtoMessage()
func (*TokenProperties) Reset ¶
func (m *TokenProperties) Reset()
func (*TokenProperties) Size ¶
func (m *TokenProperties) Size() (n int)
func (*TokenProperties) String ¶
func (m *TokenProperties) String() string
func (*TokenProperties) Unmarshal ¶
func (m *TokenProperties) Unmarshal(dAtA []byte) error
func (*TokenProperties) XXX_DiscardUnknown ¶
func (m *TokenProperties) XXX_DiscardUnknown()
func (*TokenProperties) XXX_Marshal ¶
func (m *TokenProperties) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TokenProperties) XXX_Merge ¶
func (m *TokenProperties) XXX_Merge(src proto.Message)
func (*TokenProperties) XXX_Size ¶
func (m *TokenProperties) XXX_Size() int
func (*TokenProperties) XXX_Unmarshal ¶
func (m *TokenProperties) XXX_Unmarshal(b []byte) error
type TokenRetiredEvent ¶
type TokenRetiredEvent struct { // the token owner Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` Tokens []*TokenBatch `protobuf:"bytes,2,rep,name=tokens,proto3" json:"tokens,omitempty"` }
TokenRetiredEvent is an event triggered on a Token retire execution
func (*TokenRetiredEvent) Descriptor ¶
func (*TokenRetiredEvent) Descriptor() ([]byte, []int)
func (*TokenRetiredEvent) GetOwner ¶
func (m *TokenRetiredEvent) GetOwner() string
func (*TokenRetiredEvent) GetTokens ¶
func (m *TokenRetiredEvent) GetTokens() []*TokenBatch
func (*TokenRetiredEvent) Marshal ¶
func (m *TokenRetiredEvent) Marshal() (dAtA []byte, err error)
func (*TokenRetiredEvent) MarshalTo ¶
func (m *TokenRetiredEvent) MarshalTo(dAtA []byte) (int, error)
func (*TokenRetiredEvent) MarshalToSizedBuffer ¶
func (m *TokenRetiredEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TokenRetiredEvent) ProtoMessage ¶
func (*TokenRetiredEvent) ProtoMessage()
func (*TokenRetiredEvent) Reset ¶
func (m *TokenRetiredEvent) Reset()
func (*TokenRetiredEvent) Size ¶
func (m *TokenRetiredEvent) Size() (n int)
func (*TokenRetiredEvent) String ¶
func (m *TokenRetiredEvent) String() string
func (*TokenRetiredEvent) Unmarshal ¶
func (m *TokenRetiredEvent) Unmarshal(dAtA []byte) error
func (*TokenRetiredEvent) XXX_DiscardUnknown ¶
func (m *TokenRetiredEvent) XXX_DiscardUnknown()
func (*TokenRetiredEvent) XXX_Marshal ¶
func (m *TokenRetiredEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TokenRetiredEvent) XXX_Merge ¶
func (m *TokenRetiredEvent) XXX_Merge(src proto.Message)
func (*TokenRetiredEvent) XXX_Size ¶
func (m *TokenRetiredEvent) XXX_Size() int
func (*TokenRetiredEvent) XXX_Unmarshal ¶
func (m *TokenRetiredEvent) XXX_Unmarshal(b []byte) error
type TokenStoppedEvent ¶
type TokenStoppedEvent struct { // the minter address Minter string `protobuf:"bytes,1,opt,name=minter,proto3" json:"minter,omitempty"` ContractAddress string `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` Stopped bool `protobuf:"varint,3,opt,name=stopped,proto3" json:"stopped,omitempty"` }
TokenStoppedEvent is an event triggered on a Token stopped execution
func (*TokenStoppedEvent) Descriptor ¶
func (*TokenStoppedEvent) Descriptor() ([]byte, []int)
func (*TokenStoppedEvent) GetContractAddress ¶
func (m *TokenStoppedEvent) GetContractAddress() string
func (*TokenStoppedEvent) GetMinter ¶
func (m *TokenStoppedEvent) GetMinter() string
func (*TokenStoppedEvent) GetStopped ¶
func (m *TokenStoppedEvent) GetStopped() bool
func (*TokenStoppedEvent) Marshal ¶
func (m *TokenStoppedEvent) Marshal() (dAtA []byte, err error)
func (*TokenStoppedEvent) MarshalTo ¶
func (m *TokenStoppedEvent) MarshalTo(dAtA []byte) (int, error)
func (*TokenStoppedEvent) MarshalToSizedBuffer ¶
func (m *TokenStoppedEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TokenStoppedEvent) ProtoMessage ¶
func (*TokenStoppedEvent) ProtoMessage()
func (*TokenStoppedEvent) Reset ¶
func (m *TokenStoppedEvent) Reset()
func (*TokenStoppedEvent) Size ¶
func (m *TokenStoppedEvent) Size() (n int)
func (*TokenStoppedEvent) String ¶
func (m *TokenStoppedEvent) String() string
func (*TokenStoppedEvent) Unmarshal ¶
func (m *TokenStoppedEvent) Unmarshal(dAtA []byte) error
func (*TokenStoppedEvent) XXX_DiscardUnknown ¶
func (m *TokenStoppedEvent) XXX_DiscardUnknown()
func (*TokenStoppedEvent) XXX_Marshal ¶
func (m *TokenStoppedEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TokenStoppedEvent) XXX_Merge ¶
func (m *TokenStoppedEvent) XXX_Merge(src proto.Message)
func (*TokenStoppedEvent) XXX_Size ¶
func (m *TokenStoppedEvent) XXX_Size() int
func (*TokenStoppedEvent) XXX_Unmarshal ¶
func (m *TokenStoppedEvent) XXX_Unmarshal(b []byte) error
type TokenTransferredEvent ¶
type TokenTransferredEvent struct { // the old token owner Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` // the new tokens owner Recipient string `protobuf:"bytes,2,opt,name=recipient,proto3" json:"recipient,omitempty"` Tokens []*TokenBatch `protobuf:"bytes,3,rep,name=tokens,proto3" json:"tokens,omitempty"` }
TokenTransferedEvent is an event triggered on a Token transfer execution
func (*TokenTransferredEvent) Descriptor ¶
func (*TokenTransferredEvent) Descriptor() ([]byte, []int)
func (*TokenTransferredEvent) GetOwner ¶
func (m *TokenTransferredEvent) GetOwner() string
func (*TokenTransferredEvent) GetRecipient ¶
func (m *TokenTransferredEvent) GetRecipient() string
func (*TokenTransferredEvent) GetTokens ¶
func (m *TokenTransferredEvent) GetTokens() []*TokenBatch
func (*TokenTransferredEvent) Marshal ¶
func (m *TokenTransferredEvent) Marshal() (dAtA []byte, err error)
func (*TokenTransferredEvent) MarshalTo ¶
func (m *TokenTransferredEvent) MarshalTo(dAtA []byte) (int, error)
func (*TokenTransferredEvent) MarshalToSizedBuffer ¶
func (m *TokenTransferredEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TokenTransferredEvent) ProtoMessage ¶
func (*TokenTransferredEvent) ProtoMessage()
func (*TokenTransferredEvent) Reset ¶
func (m *TokenTransferredEvent) Reset()
func (*TokenTransferredEvent) Size ¶
func (m *TokenTransferredEvent) Size() (n int)
func (*TokenTransferredEvent) String ¶
func (m *TokenTransferredEvent) String() string
func (*TokenTransferredEvent) Unmarshal ¶
func (m *TokenTransferredEvent) Unmarshal(dAtA []byte) error
func (*TokenTransferredEvent) XXX_DiscardUnknown ¶
func (m *TokenTransferredEvent) XXX_DiscardUnknown()
func (*TokenTransferredEvent) XXX_Marshal ¶
func (m *TokenTransferredEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TokenTransferredEvent) XXX_Merge ¶
func (m *TokenTransferredEvent) XXX_Merge(src proto.Message)
func (*TokenTransferredEvent) XXX_Size ¶
func (m *TokenTransferredEvent) XXX_Size() int
func (*TokenTransferredEvent) XXX_Unmarshal ¶
func (m *TokenTransferredEvent) XXX_Unmarshal(b []byte) error
type TokenUpdatedEvent ¶
type TokenUpdatedEvent struct {
Token *Token `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
}
TokenUpdatedEvent is an event triggered on a Token update
func (*TokenUpdatedEvent) Descriptor ¶
func (*TokenUpdatedEvent) Descriptor() ([]byte, []int)
func (*TokenUpdatedEvent) GetToken ¶
func (m *TokenUpdatedEvent) GetToken() *Token
func (*TokenUpdatedEvent) Marshal ¶
func (m *TokenUpdatedEvent) Marshal() (dAtA []byte, err error)
func (*TokenUpdatedEvent) MarshalTo ¶
func (m *TokenUpdatedEvent) MarshalTo(dAtA []byte) (int, error)
func (*TokenUpdatedEvent) MarshalToSizedBuffer ¶
func (m *TokenUpdatedEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TokenUpdatedEvent) ProtoMessage ¶
func (*TokenUpdatedEvent) ProtoMessage()
func (*TokenUpdatedEvent) Reset ¶
func (m *TokenUpdatedEvent) Reset()
func (*TokenUpdatedEvent) Size ¶
func (m *TokenUpdatedEvent) Size() (n int)
func (*TokenUpdatedEvent) String ¶
func (m *TokenUpdatedEvent) String() string
func (*TokenUpdatedEvent) Unmarshal ¶
func (m *TokenUpdatedEvent) Unmarshal(dAtA []byte) error
func (*TokenUpdatedEvent) XXX_DiscardUnknown ¶
func (m *TokenUpdatedEvent) XXX_DiscardUnknown()
func (*TokenUpdatedEvent) XXX_Marshal ¶
func (m *TokenUpdatedEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TokenUpdatedEvent) XXX_Merge ¶
func (m *TokenUpdatedEvent) XXX_Merge(src proto.Message)
func (*TokenUpdatedEvent) XXX_Size ¶
func (m *TokenUpdatedEvent) XXX_Size() int
func (*TokenUpdatedEvent) XXX_Unmarshal ¶
func (m *TokenUpdatedEvent) XXX_Unmarshal(b []byte) error
type TokensCancelled ¶
type TokensCancelled struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` Amount cosmossdk_io_math.Uint `protobuf:"bytes,3,opt,name=amount,proto3,customtype=cosmossdk.io/math.Uint" json:"amount"` Owner string `protobuf:"bytes,4,opt,name=owner,proto3" json:"owner,omitempty"` }
func (*TokensCancelled) Descriptor ¶
func (*TokensCancelled) Descriptor() ([]byte, []int)
func (*TokensCancelled) Equal ¶
func (this *TokensCancelled) Equal(that interface{}) bool
func (*TokensCancelled) GetId ¶
func (m *TokensCancelled) GetId() string
func (*TokensCancelled) GetOwner ¶
func (m *TokensCancelled) GetOwner() string
func (*TokensCancelled) GetReason ¶
func (m *TokensCancelled) GetReason() string
func (*TokensCancelled) Marshal ¶
func (m *TokensCancelled) Marshal() (dAtA []byte, err error)
func (*TokensCancelled) MarshalToSizedBuffer ¶
func (m *TokensCancelled) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TokensCancelled) ProtoMessage ¶
func (*TokensCancelled) ProtoMessage()
func (*TokensCancelled) Reset ¶
func (m *TokensCancelled) Reset()
func (*TokensCancelled) Size ¶
func (m *TokensCancelled) Size() (n int)
func (*TokensCancelled) String ¶
func (m *TokensCancelled) String() string
func (*TokensCancelled) Unmarshal ¶
func (m *TokensCancelled) Unmarshal(dAtA []byte) error
func (*TokensCancelled) XXX_DiscardUnknown ¶
func (m *TokensCancelled) XXX_DiscardUnknown()
func (*TokensCancelled) XXX_Marshal ¶
func (m *TokensCancelled) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TokensCancelled) XXX_Merge ¶
func (m *TokensCancelled) XXX_Merge(src proto.Message)
func (*TokensCancelled) XXX_Size ¶
func (m *TokensCancelled) XXX_Size() int
func (*TokensCancelled) XXX_Unmarshal ¶
func (m *TokensCancelled) XXX_Unmarshal(b []byte) error
type TokensRetired ¶
type TokensRetired struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` Jurisdiction string `protobuf:"bytes,3,opt,name=jurisdiction,proto3" json:"jurisdiction,omitempty"` Amount cosmossdk_io_math.Uint `protobuf:"bytes,4,opt,name=amount,proto3,customtype=cosmossdk.io/math.Uint" json:"amount"` Owner string `protobuf:"bytes,5,opt,name=owner,proto3" json:"owner,omitempty"` }
func (*TokensRetired) Descriptor ¶
func (*TokensRetired) Descriptor() ([]byte, []int)
func (*TokensRetired) Equal ¶
func (this *TokensRetired) Equal(that interface{}) bool
func (*TokensRetired) GetId ¶
func (m *TokensRetired) GetId() string
func (*TokensRetired) GetJurisdiction ¶
func (m *TokensRetired) GetJurisdiction() string
func (*TokensRetired) GetOwner ¶
func (m *TokensRetired) GetOwner() string
func (*TokensRetired) GetReason ¶
func (m *TokensRetired) GetReason() string
func (*TokensRetired) Marshal ¶
func (m *TokensRetired) Marshal() (dAtA []byte, err error)
func (*TokensRetired) MarshalToSizedBuffer ¶
func (m *TokensRetired) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TokensRetired) ProtoMessage ¶
func (*TokensRetired) ProtoMessage()
func (*TokensRetired) Reset ¶
func (m *TokensRetired) Reset()
func (*TokensRetired) Size ¶
func (m *TokensRetired) Size() (n int)
func (*TokensRetired) String ¶
func (m *TokensRetired) String() string
func (*TokensRetired) Unmarshal ¶
func (m *TokensRetired) Unmarshal(dAtA []byte) error
func (*TokensRetired) XXX_DiscardUnknown ¶
func (m *TokensRetired) XXX_DiscardUnknown()
func (*TokensRetired) XXX_Marshal ¶
func (m *TokensRetired) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TokensRetired) XXX_Merge ¶
func (m *TokensRetired) XXX_Merge(src proto.Message)
func (*TokensRetired) XXX_Size ¶
func (m *TokensRetired) XXX_Size() int
func (*TokensRetired) XXX_Unmarshal ¶
func (m *TokensRetired) XXX_Unmarshal(b []byte) error
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) CancelToken ¶
func (*UnimplementedMsgServer) CancelToken(ctx context.Context, req *MsgCancelToken) (*MsgCancelTokenResponse, error)
func (*UnimplementedMsgServer) CreateToken ¶
func (*UnimplementedMsgServer) CreateToken(ctx context.Context, req *MsgCreateToken) (*MsgCreateTokenResponse, error)
func (*UnimplementedMsgServer) MintToken ¶
func (*UnimplementedMsgServer) MintToken(ctx context.Context, req *MsgMintToken) (*MsgMintTokenResponse, error)
func (*UnimplementedMsgServer) PauseToken ¶
func (*UnimplementedMsgServer) PauseToken(ctx context.Context, req *MsgPauseToken) (*MsgPauseTokenResponse, error)
func (*UnimplementedMsgServer) RetireToken ¶
func (*UnimplementedMsgServer) RetireToken(ctx context.Context, req *MsgRetireToken) (*MsgRetireTokenResponse, error)
func (*UnimplementedMsgServer) StopToken ¶
func (*UnimplementedMsgServer) StopToken(ctx context.Context, req *MsgStopToken) (*MsgStopTokenResponse, error)
func (*UnimplementedMsgServer) TransferCredit ¶
func (*UnimplementedMsgServer) TransferCredit(ctx context.Context, req *MsgTransferCredit) (*MsgTransferCreditResponse, error)
func (*UnimplementedMsgServer) TransferToken ¶
func (*UnimplementedMsgServer) TransferToken(ctx context.Context, req *MsgTransferToken) (*MsgTransferTokenResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) TokenDoc ¶
func (*UnimplementedQueryServer) TokenDoc(ctx context.Context, req *QueryTokenDocRequest) (*QueryTokenDocResponse, error)
func (*UnimplementedQueryServer) TokenList ¶
func (*UnimplementedQueryServer) TokenList(ctx context.Context, req *QueryTokenListRequest) (*QueryTokenListResponse, error)
func (*UnimplementedQueryServer) TokenMetadata ¶
func (*UnimplementedQueryServer) TokenMetadata(ctx context.Context, req *QueryTokenMetadataRequest) (*QueryTokenMetadataResponse, error)
type WasmKeeper ¶
type WasmKeeper interface { Instantiate( ctx sdk.Context, codeID uint64, creator, admin sdk.AccAddress, initMsg []byte, label string, deposit sdk.Coins, ) (sdk.AccAddress, []byte, error) Execute(ctx sdk.Context, contractAddress sdk.AccAddress, caller sdk.AccAddress, msg []byte, coins sdk.Coins) ([]byte, error) }