types

package
v2.0.1-0...-c6a7496 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2023 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	ModuleName        = "token"
	DefaultParamspace = ModuleName
	StoreKey          = ModuleName
	RouterKey         = ModuleName
	QuerierRoute      = ModuleName
	MemStoreKey       = "mem_token"
)
View Source
const (
	TokenUriBase = "https://w3id.org/token/" // https://w3id.org/token/{stringportionofthetokendid}
)
View Source
const TypeMsgCancelToken = "cancel_token"

-------------------------- CANCEL TOKEN --------------------------

View Source
const TypeMsgCreateToken = "create_token"

-------------------------- CREATE TOKEN --------------------------

View Source
const TypeMsgMintToken = "mint_token"

-------------------------- MINT TOKEN --------------------------

View Source
const TypeMsgPauseToken = "pause_token"

-------------------------- PAUSE TOKEN --------------------------

View Source
const TypeMsgRetireToken = "retire_token"

-------------------------- RETIRE TOKEN --------------------------

View Source
const TypeMsgStopToken = "stop_token"

-------------------------- STOP TOKEN --------------------------

View Source
const TypeMsgTransferToken = "transfer_token"

-------------------------- TRANSFER TOKEN --------------------------

Variables

View Source
var (
	ErrInvalidLengthAuthz        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowAuthz          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupAuthz = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrTokenNotFound           = sdkerrors.Register(ModuleName, 1001, "token not found")
	ErrTokenPropertiesNotFound = sdkerrors.Register(ModuleName, 1002, "token properties not found")
	ErrTokenNameDuplicate      = sdkerrors.Register(ModuleName, 1003, "token name is already taken")
	ErrTokenNameIncorrect      = sdkerrors.Register(ModuleName, 1004, "token name is incorrect")
	ErrTokenAmountIncorrect    = sdkerrors.Register(ModuleName, 1005, "token amount is incorrect")
	ErrTokenPaused             = sdkerrors.Register(ModuleName, 1006, "token is paused")
	ErrTokenStopped            = sdkerrors.Register(ModuleName, 1007, "token is stopped")
)

x/token module sentinel errors

View Source
var (
	ErrInvalidLengthEvent        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowEvent          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupEvent = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	TokenKey           = []byte{0x01}
	TokenPropertiesKey = []byte{0x02}
)
View Source
var (
	ErrInvalidLengthProposal        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowProposal          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupProposal = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthToken        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowToken          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupToken = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	KeyIxo1155ContractCode = []byte("Ixo1155ContractCode")
)
View Source
var (

	// ModuleCdc references the global x/gov module codec. Note, the codec should
	// ONLY be used in certain instances of tests and for JSON encoding as Amino is
	// still used for that purpose.
	//
	// The actual codec used for serialization should be provided to x/gov and
	// defined at the application level.
	ModuleCdc = codec.NewAminoCodec(amino)
)
View Source
var (
	ProposalTypeSetTokenContractCodes = "SetTokenContractCodes"
)

Functions

func IsValidToken

func IsValidToken(token *Token) bool

IsValidToken tells if a Token is valid,

func IsValidTokenProperties

func IsValidTokenProperties(tokenProperties *TokenProperties) bool

IsValidTokenProperties tells if a TokenProperties is valid,

func Map

func Map[T, V any](ts []T, fn func(T) V) []V

func ParamKeyTable

func ParamKeyTable() paramstypes.KeyTable

ParamTable for module.

func RegisterInterfaces

func RegisterInterfaces(registry types.InterfaceRegistry)

func RegisterLegacyAminoCodec

func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterQueryHandlerClient

func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error

RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.

func RegisterQueryHandlerFromEndpoint

func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterQueryHandlerServer

func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error

RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features (such as grpc.SendHeader, etc) to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

Types

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) MarshalTo

func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)

func (*GenesisState) MarshalToSizedBuffer

func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

func (m *GenesisState) Size() (n int)

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

func (m *GenesisState) Unmarshal(dAtA []byte) error

func (*GenesisState) XXX_DiscardUnknown

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal

func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GenesisState) XXX_Merge

func (m *GenesisState) XXX_Merge(src proto.Message)

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

func (m *GenesisState) XXX_Unmarshal(b []byte) error

type 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(ctx sdk.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 github_com_cosmos_cosmos_sdk_types.Uint `protobuf:"bytes,3,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.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) Descriptor() ([]byte, []int)

func (*MintBatch) Equal

func (this *MintBatch) Equal(that interface{}) bool

func (*MintBatch) GetCollection

func (m *MintBatch) GetCollection() string

func (*MintBatch) GetIndex

func (m *MintBatch) GetIndex() string

func (*MintBatch) GetName

func (m *MintBatch) GetName() string

func (*MintBatch) GetTokenData

func (m *MintBatch) GetTokenData() []*TokenData

func (*MintBatch) Marshal

func (m *MintBatch) Marshal() (dAtA []byte, err error)

func (*MintBatch) MarshalTo

func (m *MintBatch) MarshalTo(dAtA []byte) (int, error)

func (*MintBatch) MarshalToSizedBuffer

func (m *MintBatch) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MintBatch) ProtoMessage

func (*MintBatch) ProtoMessage()

func (*MintBatch) Reset

func (m *MintBatch) Reset()

func (*MintBatch) Size

func (m *MintBatch) Size() (n int)

func (*MintBatch) String

func (m *MintBatch) String() string

func (*MintBatch) Unmarshal

func (m *MintBatch) Unmarshal(dAtA []byte) error

func (*MintBatch) XXX_DiscardUnknown

func (m *MintBatch) XXX_DiscardUnknown()

func (*MintBatch) XXX_Marshal

func (m *MintBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MintBatch) XXX_Merge

func (m *MintBatch) XXX_Merge(src proto.Message)

func (*MintBatch) XXX_Size

func (m *MintBatch) XXX_Size() int

func (*MintBatch) XXX_Unmarshal

func (m *MintBatch) XXX_Unmarshal(b []byte) error

type MintBatchData

type MintBatchData struct {
	Id         string
	Uri        string
	Name       string
	Index      string
	Amount     sdk.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          github_com_cosmos_cosmos_sdk_types.Uint `protobuf:"bytes,2,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.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) MarshalTo

func (m *MintConstraints) MarshalTo(dAtA []byte) (int, 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) GetSignBytes

func (msg MsgCancelToken) GetSignBytes() []byte

func (MsgCancelToken) GetSigners

func (msg MsgCancelToken) GetSigners() []sdk.AccAddress

func (*MsgCancelToken) GetTokens

func (m *MsgCancelToken) GetTokens() []*TokenBatch

func (*MsgCancelToken) Marshal

func (m *MsgCancelToken) Marshal() (dAtA []byte, err error)

func (*MsgCancelToken) MarshalTo

func (m *MsgCancelToken) MarshalTo(dAtA []byte) (int, 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)
	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_v2_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 github_com_cosmos_cosmos_sdk_types.Uint `protobuf:"bytes,7,opt,name=cap,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Uint" json:"cap"`
}

func (*MsgCreateToken) Descriptor

func (*MsgCreateToken) Descriptor() ([]byte, []int)

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) GetSignBytes

func (msg MsgCreateToken) GetSignBytes() []byte

func (MsgCreateToken) GetSigners

func (msg MsgCreateToken) GetSigners() []sdk.AccAddress

func (*MsgCreateToken) GetTokenType

func (m *MsgCreateToken) GetTokenType() string

func (*MsgCreateToken) Marshal

func (m *MsgCreateToken) Marshal() (dAtA []byte, err error)

func (*MsgCreateToken) MarshalTo

func (m *MsgCreateToken) MarshalTo(dAtA []byte) (int, 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) GetSignBytes

func (msg MsgMintToken) GetSignBytes() []byte

func (MsgMintToken) GetSigners

func (msg MsgMintToken) GetSigners() []sdk.AccAddress

func (*MsgMintToken) Marshal

func (m *MsgMintToken) Marshal() (dAtA []byte, err error)

func (*MsgMintToken) MarshalTo

func (m *MsgMintToken) MarshalTo(dAtA []byte) (int, 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) GetSignBytes

func (msg MsgPauseToken) GetSignBytes() []byte

func (MsgPauseToken) GetSigners

func (msg MsgPauseToken) GetSigners() []sdk.AccAddress

func (*MsgPauseToken) Marshal

func (m *MsgPauseToken) Marshal() (dAtA []byte, err error)

func (*MsgPauseToken) MarshalTo

func (m *MsgPauseToken) MarshalTo(dAtA []byte) (int, 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) GetSignBytes

func (msg MsgRetireToken) GetSignBytes() []byte

func (MsgRetireToken) GetSigners

func (msg MsgRetireToken) GetSigners() []sdk.AccAddress

func (*MsgRetireToken) GetTokens

func (m *MsgRetireToken) GetTokens() []*TokenBatch

func (*MsgRetireToken) Marshal

func (m *MsgRetireToken) Marshal() (dAtA []byte, err error)

func (*MsgRetireToken) MarshalTo

func (m *MsgRetireToken) MarshalTo(dAtA []byte) (int, 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 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) GetSignBytes

func (msg MsgStopToken) GetSignBytes() []byte

func (MsgStopToken) GetSigners

func (msg MsgStopToken) GetSigners() []sdk.AccAddress

func (*MsgStopToken) Marshal

func (m *MsgStopToken) Marshal() (dAtA []byte, err error)

func (*MsgStopToken) MarshalTo

func (m *MsgStopToken) MarshalTo(dAtA []byte) (int, 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 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) GetSignBytes

func (msg MsgTransferToken) GetSignBytes() []byte

func (MsgTransferToken) GetSigners

func (msg MsgTransferToken) GetSigners() []sdk.AccAddress

func (*MsgTransferToken) GetTokens

func (m *MsgTransferToken) GetTokens() []*TokenBatch

func (*MsgTransferToken) Marshal

func (m *MsgTransferToken) Marshal() (dAtA []byte, err error)

func (*MsgTransferToken) MarshalTo

func (m *MsgTransferToken) MarshalTo(dAtA []byte) (int, 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 NewParams

func NewParams(ixo1155ContractCode uint64) Params

func (*Params) Descriptor

func (*Params) Descriptor() ([]byte, []int)

func (*Params) GetIxo1155ContractCode

func (m *Params) GetIxo1155ContractCode() uint64

func (*Params) Marshal

func (m *Params) Marshal() (dAtA []byte, err error)

func (*Params) MarshalTo

func (m *Params) MarshalTo(dAtA []byte) (int, error)

func (*Params) MarshalToSizedBuffer

func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Params) ParamSetPairs

func (p *Params) ParamSetPairs() paramstypes.ParamSetPairs

Implements params.ParamSet

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

func (m *Params) Size() (n int)

func (*Params) String

func (m *Params) String() string

func (*Params) Unmarshal

func (m *Params) Unmarshal(dAtA []byte) error

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Params) XXX_Merge

func (m *Params) XXX_Merge(src proto.Message)

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

func (m *Params) XXX_Unmarshal(b []byte) error

type QueryClient

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

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 (*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 (sup *SetTokenContractCodes) ProposalRoute() string

func (*SetTokenContractCodes) ProposalType

func (sup *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 (sup *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 intiation through MsgSetupMinter
	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 github_com_cosmos_cosmos_sdk_types.Uint `protobuf:"bytes,8,opt,name=cap,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Uint" json:"cap"`
	// how much has already been minted for this Token type, aka the supply
	Supply github_com_cosmos_cosmos_sdk_types.Uint `protobuf:"bytes,9,opt,name=supply,proto3,customtype=github.com/cosmos/cosmos-sdk/types.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"`
}

func (*Token) Descriptor

func (*Token) Descriptor() ([]byte, []int)

func (*Token) Equal

func (this *Token) Equal(that interface{}) bool

func (*Token) GetCancelled

func (m *Token) GetCancelled() []*TokensCancelled

func (*Token) GetClass

func (m *Token) GetClass() string

func (*Token) GetContractAddress

func (m *Token) GetContractAddress() string

func (*Token) GetDescription

func (m *Token) GetDescription() string

func (*Token) GetImage

func (m *Token) GetImage() string

func (*Token) GetMinter

func (m *Token) GetMinter() string

func (*Token) GetName

func (m *Token) GetName() string

func (*Token) GetPaused

func (m *Token) GetPaused() bool

func (*Token) GetRetired

func (m *Token) GetRetired() []*TokensRetired

func (*Token) GetStopped

func (m *Token) GetStopped() bool

func (*Token) GetType

func (m *Token) GetType() string

func (*Token) Marshal

func (m *Token) Marshal() (dAtA []byte, err error)

func (*Token) MarshalTo

func (m *Token) MarshalTo(dAtA []byte) (int, error)

func (*Token) MarshalToSizedBuffer

func (m *Token) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Token) ProtoMessage

func (*Token) ProtoMessage()

func (*Token) Reset

func (m *Token) Reset()

func (*Token) Size

func (m *Token) Size() (n int)

func (*Token) String

func (m *Token) String() string

func (*Token) Unmarshal

func (m *Token) Unmarshal(dAtA []byte) error

func (*Token) XXX_DiscardUnknown

func (m *Token) XXX_DiscardUnknown()

func (*Token) XXX_Marshal

func (m *Token) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Token) XXX_Merge

func (m *Token) XXX_Merge(src proto.Message)

func (*Token) XXX_Size

func (m *Token) XXX_Size() int

func (*Token) XXX_Unmarshal

func (m *Token) XXX_Unmarshal(b []byte) error

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 github_com_cosmos_cosmos_sdk_types.Uint `protobuf:"bytes,2,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.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) MarshalTo

func (m *TokenBatch) MarshalTo(dAtA []byte) (int, 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) Descriptor() ([]byte, []int)

func (*TokenData) Equal

func (this *TokenData) Equal(that interface{}) bool

func (*TokenData) GetEncrypted

func (m *TokenData) GetEncrypted() bool

func (*TokenData) GetId

func (m *TokenData) GetId() string

func (*TokenData) GetProof

func (m *TokenData) GetProof() string

func (*TokenData) GetType

func (m *TokenData) GetType() string

func (*TokenData) GetUri

func (m *TokenData) GetUri() string

func (*TokenData) Marshal

func (m *TokenData) Marshal() (dAtA []byte, err error)

func (*TokenData) MarshalTo

func (m *TokenData) MarshalTo(dAtA []byte) (int, error)

func (*TokenData) MarshalToSizedBuffer

func (m *TokenData) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TokenData) ProtoMessage

func (*TokenData) ProtoMessage()

func (*TokenData) Reset

func (m *TokenData) Reset()

func (*TokenData) Size

func (m *TokenData) Size() (n int)

func (*TokenData) String

func (m *TokenData) String() string

func (*TokenData) Unmarshal

func (m *TokenData) Unmarshal(dAtA []byte) error

func (*TokenData) XXX_DiscardUnknown

func (m *TokenData) XXX_DiscardUnknown()

func (*TokenData) XXX_Marshal

func (m *TokenData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TokenData) XXX_Merge

func (m *TokenData) XXX_Merge(src proto.Message)

func (*TokenData) XXX_Size

func (m *TokenData) XXX_Size() int

func (*TokenData) XXX_Unmarshal

func (m *TokenData) XXX_Unmarshal(b []byte) error

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          github_com_cosmos_cosmos_sdk_types.Uint `protobuf:"bytes,4,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.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) MarshalTo

func (m *TokenMintedEvent) MarshalTo(dAtA []byte) (int, 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) MarshalTo

func (m *TokenPausedEvent) MarshalTo(dAtA []byte) (int, 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) MarshalTo

func (m *TokenProperties) MarshalTo(dAtA []byte) (int, 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 github_com_cosmos_cosmos_sdk_types.Uint `protobuf:"bytes,3,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.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) MarshalTo

func (m *TokensCancelled) MarshalTo(dAtA []byte) (int, 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       github_com_cosmos_cosmos_sdk_types.Uint `protobuf:"bytes,4,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.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) MarshalTo

func (m *TokensRetired) MarshalTo(dAtA []byte) (int, 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) CreateToken

func (*UnimplementedMsgServer) MintToken

func (*UnimplementedMsgServer) PauseToken

func (*UnimplementedMsgServer) RetireToken

func (*UnimplementedMsgServer) StopToken

func (*UnimplementedMsgServer) TransferToken

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) TokenDoc

func (*UnimplementedQueryServer) TokenList

func (*UnimplementedQueryServer) TokenMetadata

Directories

Path Synopsis
contracts

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL