-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Problem
This feature does not currently exist.
The partially fungible token feature introduces 2 new token types. One token type acts as an abstract class while the other is derived from the abstract token. The abstract token contains a transfer policy that governs transfers made involving the abstract + derived tokens. The derived token acts as a regular fungible token but allows for the addition of tags to distinguish it from other tokens derived from the same abstract token. One key aspect of the derived token is that it can be transferred (like an abstract class/interface in OO) and the final calculation of what derived tokens to use in the transfer will be done by the transfer policy.
Reference HIP: HIP-365
Solution
- Alter TokenCreateTransactionBody and TokenType to support new token types
- Add messages for transfer policy expression
- Alter TokenUpdateTransactionBody to support updates to new token types
- Alter TokenInfo to return transfer policy and tags for new token types
- Introduce new query message TokenGetAccountSubTokenBalancesQuery to fetch balances of all tokens derived from a particular abstract token
- Alter TokenTransferList to add transfer policy parameters to use for new tokens
Alternatives
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request