tokenization/legacytx.proto
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 | # | Type | Rule | Description |
|---|---|---|---|---|
collectionApprovals | 1 | CollectionApproval | repeated | |
timelineTimes | 2 | UintRange | repeated |
MsgArchiveCollection
| Field | # | Type | Rule | Description |
|---|---|---|---|---|
creator | 1 | string | singular | |
collectionId | 2 | string | singular | |
isArchivedTimeline | 3 | IsArchivedTimeline | repeated |
MsgArchiveCollectionResponse
No fields.
MsgMintAndDistributeTokens
This handles both minting more of existing tokens and creating new tokens.
| Field | # | Type | Rule | Description |
|---|---|---|---|---|
creator | 1 | string | singular | |
collectionId | 2 | string | singular | |
tokensToCreate | 3 | Balance | repeated | |
transfers | 4 | Transfer | repeated | |
collectionMetadataTimeline | 5 | CollectionMetadataTimeline | repeated | |
tokenMetadataTimeline | 6 | TokenMetadataTimeline | repeated | |
collectionApprovals | 7 | CollectionApproval | repeated | |
addressLists | 8 | AddressList | repeated |
MsgMintAndDistributeTokensResponse
No fields.
MsgNewCollection
| Field | # | Type | Rule | Description |
|---|---|---|---|---|
creator | 1 | string | singular | See collections.proto for more details about these MsgNewBadge fields. Defines the token details. Leave unneeded fields empty. |
collectionMetadataTimeline | 2 | CollectionMetadataTimeline | repeated | |
tokenMetadataTimeline | 3 | TokenMetadataTimeline | repeated | |
customDataTimeline | 4 | CustomDataTimeline | repeated | |
collectionApprovals | 5 | CollectionApproval | repeated | |
permissions | 6 | CollectionPermissions | singular | |
standardsTimeline | 7 | StandardsTimeline | repeated | |
tokensToCreate | 8 | Balance | repeated | Token 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. |
transfers | 9 | Transfer | repeated | |
contractAddressTimeline | 10 | ContractAddressTimeline | repeated | |
addressLists | 11 | AddressList | repeated | |
defaultOutgoingApprovals | 12 | UserOutgoingApproval | repeated | The user's approved transfers for each token ID. |
defaultIncomingApprovals | 13 | UserIncomingApproval | repeated | The user's approved incoming transfers for each token ID. |
defaultDisapproveSelfInitiated | 14 | bool | singular | |
defaultBalances | 15 | Balance | repeated | The default balances for the user |
cosmosCoinWrapperPathsToAdd | 16 | CosmosCoinWrapperPathAddObject | repeated | |
invariants | 17 | InvariantsAddObject | singular | Collection-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. |
aliasPathsToAdd | 18 | AliasPathAddObject | repeated |
MsgNewCollectionResponse
| Field | # | Type | Rule | Description |
|---|---|---|---|---|
collectionId | 1 | string | singular | ID of created token collection |
MsgUniversalUpdateCollectionApprovals
| Field | # | Type | Rule | Description |
|---|---|---|---|---|
creator | 1 | string | singular | |
collectionId | 2 | string | singular | |
collectionApprovals | 3 | CollectionApproval | repeated | |
addressLists | 4 | AddressList | repeated |
MsgUniversalUpdateCollectionApprovalsResponse
No fields.
MsgUniversalUpdateCollectionPermissions
Update token permissions with new permissions, if permitted.
| Field | # | Type | Rule | Description |
|---|---|---|---|---|
creator | 1 | string | singular | |
collectionId | 2 | string | singular | |
permissions | 3 | CollectionPermissions | singular | |
addressLists | 4 | AddressList | repeated |
MsgUniversalUpdateCollectionPermissionsResponse
No fields.
MsgUpdateManager
Transfer manager to this address. Recipient must have made a request.
| Field | # | Type | Rule | Description |
|---|---|---|---|---|
creator | 1 | string | singular | |
collectionId | 2 | string | singular | |
managerTimeline | 3 | ManagerTimeline | repeated |
MsgUpdateManagerResponse
No fields.
MsgUpdateMetadata
Update token Uris with new URI object, if permitted.
| Field | # | Type | Rule | Description |
|---|---|---|---|---|
creator | 1 | string | singular | |
collectionId | 2 | string | singular | |
collectionMetadataTimeline | 3 | CollectionMetadataTimeline | repeated | |
tokenMetadataTimeline | 4 | TokenMetadataTimeline | repeated | |
customDataTimeline | 5 | CustomDataTimeline | repeated | |
contractAddressTimeline | 6 | ContractAddressTimeline | repeated | |
standardsTimeline | 7 | StandardsTimeline | repeated |
MsgUpdateMetadataResponse
No fields.
MsgUpdateUserPermissions
| Field | # | Type | Rule | Description |
|---|---|---|---|---|
creator | 1 | string | singular | |
collectionId | 2 | string | singular | |
permissions | 3 | UserPermissions | singular | |
addressLists | 4 | AddressList | repeated |
MsgUpdateUserPermissionsResponse
No fields.
UserIncomingApprovalTimeline
| Field | # | Type | Rule | Description |
|---|---|---|---|---|
incomingApprovals | 1 | UserIncomingApproval | repeated | |
timelineTimes | 2 | UintRange | repeated |
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 | # | Type | Rule | Description |
|---|---|---|---|---|
outgoingApprovals | 1 | UserOutgoingApproval | repeated | |
timelineTimes | 2 | UintRange | repeated |