Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AIP-83][Discussion] Framework-level Untransferable Objects #421

Closed
thepomeranian opened this issue May 7, 2024 · 0 comments
Closed

[AIP-83][Discussion] Framework-level Untransferable Objects #421

thepomeranian opened this issue May 7, 2024 · 0 comments

Comments

@thepomeranian
Copy link
Collaborator

AIP Discussion

Summary

The Aptos object model offers an extensible data model that allows an object to masquerade as many distinct types. For example, an object can be both a fungible asset as well as a digital asset. Some asset classes have need for greater control as a result the existing framework is at odds with their goals. Specifically, many APIs expose adding new objects via the ConstructorRef, but the ConstructorRef can also be used to enable new transfer policies. As a result, there is currently no method to enforce certain transfer policies in the existing object model. This AIP introduces the first step toward providing greater control by offer a new method for constructing objects called object::set_untransferable that ensures that the object owner is set permanently regardless of any operations performed on the object during or after its creation.

The specific application that comes to mind is fungible assets, wherein a fungible asset stores can be frozen via fungible_asset::set_frozen_flag, however, that does not prevent the owner of the asset from sending and receiving new fungible stores and continue to access assets.

Read more about it here: https://github.com/aptos-foundation/AIPs/blob/main/aips/aip-83.md

@thepomeranian thepomeranian added this to the aptos-node-v1.13 milestone May 22, 2024
@thepomeranian thepomeranian changed the title [AIP-83][Discussion] Framework-level Untransferable Objects [AIP-82][Discussion] Framework-level Untransferable Objects May 23, 2024
@thepomeranian thepomeranian changed the title [AIP-82][Discussion] Framework-level Untransferable Objects [AIP-83][Discussion] Framework-level Untransferable Objects May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants