Skip to content

Generated schema for tokenization/transfers.proto: 2 messages in the x/tokenization module.

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

Messages

PrecalculateBalancesFromApprovalDetails

PrecalculateBalancesFromApprovalDetails defines the details for precalculating balances from an approval.

Field#TypeRuleDescription
approvalId1stringsingularThe ID of the approval.
approvalLevel2stringsingularThe level of the approval. Can be "collection", "incoming", or "outgoing".
approverAddress3stringsingularThe address of the approver. Leave blank "" if approvalLevel == "collection".
version4stringsingularThe version of the approval.
precalculationOptions5PrecalculationOptionssingularThe options for precalculating the balances.

Transfer

Transfer defines the details of a transfer of tokens.

Field#TypeRuleDescription
from1stringsingularThe address of the sender of the transfer.
toAddresses2stringrepeatedThe addresses of the recipients of the transfer.
balances3BalancerepeatedThe balances to be transferred.
precalculateBalancesFromApproval4PrecalculateBalancesFromApprovalDetailssingularIf defined, we will use the predeterminedBalances from the specified approval to calculate the balances at execution time. We will override the balances field with the precalculated balances. Only applicable for approvals with predeterminedBalances set.
merkleProofs5MerkleProofrepeatedThe Merkle proofs / solutions for all Merkle challenges required for the transfer.
ethSignatureProofs6ETHSignatureProofrepeatedThe ETH signature proofs / solutions for all ETH signature challenges required for the transfer.
memo7stringsingularThe memo for the transfer.
prioritizedApprovals8ApprovalIdentifierDetailsrepeatedThe prioritized approvals for the transfer. By default, we scan linearly through the approvals and use the first match. This field can be used to prioritize specific approvals and scan through them first.
onlyCheckPrioritizedCollectionApprovals9boolsingularWhether to only check prioritized approvals for the transfer. If true, we will only check the prioritized approvals and fail if none of them match (i.e. do not check any non-prioritized approvals). If false, we will check the prioritized approvals first and then scan through the rest of the approvals.
onlyCheckPrioritizedIncomingApprovals10boolsingularWhether to only check prioritized approvals for the transfer. If true, we will only check the prioritized approvals and fail if none of them match (i.e. do not check any non-prioritized approvals). If false, we will check the prioritized approvals first and then scan through the rest of the approvals.
onlyCheckPrioritizedOutgoingApprovals11boolsingularWhether to only check prioritized approvals for the transfer. If true, we will only check the prioritized approvals and fail if none of them match (i.e. do not check any non-prioritized approvals). If false, we will check the prioritized approvals first and then scan through the rest of the approvals.

Edit this page on GitHub