Skip to content

Generated schema for tokenization/legacytx.proto: 19 messages in the x/tokenization module.

Proto package tokenization, part of the x/tokenization module. It declares 19 messages. Read the raw source.

Messages

CollectionApprovalTimeline

Field#TypeRuleDescription
collectionApprovals1CollectionApprovalrepeated
timelineTimes2UintRangerepeated

MsgArchiveCollection

Field#TypeRuleDescription
creator1stringsingular
collectionId2stringsingular
isArchivedTimeline3IsArchivedTimelinerepeated

MsgArchiveCollectionResponse

No fields.

MsgMintAndDistributeTokens

This handles both minting more of existing tokens and creating new tokens.

Field#TypeRuleDescription
creator1stringsingular
collectionId2stringsingular
tokensToCreate3Balancerepeated
transfers4Transferrepeated
collectionMetadataTimeline5CollectionMetadataTimelinerepeated
tokenMetadataTimeline6TokenMetadataTimelinerepeated
collectionApprovals7CollectionApprovalrepeated
addressLists8AddressListrepeated

MsgMintAndDistributeTokensResponse

No fields.

MsgNewCollection

Field#TypeRuleDescription
creator1stringsingularSee collections.proto for more details about these MsgNewBadge fields. Defines the token details. Leave unneeded fields empty.
collectionMetadataTimeline2CollectionMetadataTimelinerepeated
tokenMetadataTimeline3TokenMetadataTimelinerepeated
customDataTimeline4CustomDataTimelinerepeated
collectionApprovals5CollectionApprovalrepeated
permissions6CollectionPermissionssingular
standardsTimeline7StandardsTimelinerepeated
tokensToCreate8BalancerepeatedToken supplys and amounts to create. For each idx, we create amounts[idx] badges each with a supply of supplys[idx]. If supply[idx] == 0, we assume default supply. amountsToCreate[idx] can't equal 0.
transfers9Transferrepeated
contractAddressTimeline10ContractAddressTimelinerepeated
addressLists11AddressListrepeated
defaultOutgoingApprovals12UserOutgoingApprovalrepeatedThe user's approved transfers for each token ID.
defaultIncomingApprovals13UserIncomingApprovalrepeatedThe user's approved incoming transfers for each token ID.
defaultDisapproveSelfInitiated14boolsingular
defaultBalances15BalancerepeatedThe default balances for the user
cosmosCoinWrapperPathsToAdd16CosmosCoinWrapperPathAddObjectrepeated
invariants17InvariantsAddObjectsingularCollection-level invariants that cannot be broken. These are set upon genesis and cannot be modified. Addresses are generated by the keeper and stored in the collection.
aliasPathsToAdd18AliasPathAddObjectrepeated

MsgNewCollectionResponse

Field#TypeRuleDescription
collectionId1stringsingularID of created token collection

MsgUniversalUpdateCollectionApprovals

Field#TypeRuleDescription
creator1stringsingular
collectionId2stringsingular
collectionApprovals3CollectionApprovalrepeated
addressLists4AddressListrepeated

MsgUniversalUpdateCollectionApprovalsResponse

No fields.

MsgUniversalUpdateCollectionPermissions

Update token permissions with new permissions, if permitted.

Field#TypeRuleDescription
creator1stringsingular
collectionId2stringsingular
permissions3CollectionPermissionssingular
addressLists4AddressListrepeated

MsgUniversalUpdateCollectionPermissionsResponse

No fields.

MsgUpdateManager

Transfer manager to this address. Recipient must have made a request.

Field#TypeRuleDescription
creator1stringsingular
collectionId2stringsingular
managerTimeline3ManagerTimelinerepeated

MsgUpdateManagerResponse

No fields.

MsgUpdateMetadata

Update token Uris with new URI object, if permitted.

Field#TypeRuleDescription
creator1stringsingular
collectionId2stringsingular
collectionMetadataTimeline3CollectionMetadataTimelinerepeated
tokenMetadataTimeline4TokenMetadataTimelinerepeated
customDataTimeline5CustomDataTimelinerepeated
contractAddressTimeline6ContractAddressTimelinerepeated
standardsTimeline7StandardsTimelinerepeated

MsgUpdateMetadataResponse

No fields.

MsgUpdateUserPermissions

Field#TypeRuleDescription
creator1stringsingular
collectionId2stringsingular
permissions3UserPermissionssingular
addressLists4AddressListrepeated

MsgUpdateUserPermissionsResponse

No fields.

UserIncomingApprovalTimeline

Field#TypeRuleDescription
incomingApprovals1UserIncomingApprovalrepeated
timelineTimes2UintRangerepeated

UserOutgoingApprovalTimeline

Before switching to the universal Msgs, we had a separate Msg for each action.

This is the old Msg service definition. It is still used in some parts of the codebase for compatibility.

The types defined in these files are used to define the MsgServer types for all requests and responses for Msgs of the tokens module.

Field#TypeRuleDescription
outgoingApprovals1UserOutgoingApprovalrepeated
timelineTimes2UintRangerepeated

Edit this page on GitHub