-
Notifications
You must be signed in to change notification settings - Fork 104
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-2][Discussion] Multiple Token Changes #2
Comments
This AIP has been reviewed by @sherry-x @aching @davidiw @movekevin . The conclusion is to deploy it to devnet, and open for community feedback. |
very nice |
excelente y mejor integrar toda la informacion a la comunidad que hace el proyecto aun mas fuerte |
This will greatly benefit Aptos |
To describe in detail the motivation for the upgrade and what it fixes is very trainable for us |
i'm sure that this improves and changes is for better! I appretiate it! |
That's the right decision. |
Sounds good! |
Let's do it |
Excellent. |
AIP is executed: https://governance.aptosfoundation.org/proposal/4 |
Summary
This proposal contains the following changes:
CollectionData
mutation functions: provide set functions to mutate the TokenData fields based on the token mutability setting.TokenData
metadata mutation functions: provide set functions to mutate the CollectionData fields based on collection mutability setting.Motivation
Change 1, 2: the motivation is to support
CollectionData
andTokenData
mutation based on the mutability config so that creators can update the fields based on their own application logic to support new product featuresChange 3,4: the motivation is fix existing issues to make the token contract works correctly
Change 5: this motivation is to allow the dapp to directly call the function without deploying their own contracts or scripts
Change 6: this is to prevent potential malicious token that could lead to charging a higher fee than the token price.
Rationale
Change 1, 2 are fulling existing token standard specification without introducing new functionalities
Change 3, 4, 5 and 6 are small fix and straightforward changes.
Reference Implementation
The PRs of the changes above are listed below:
Change 1, 2:
aptos-labs/aptos-core#5382
aptos-labs/aptos-core#5265
aptos-labs/aptos-core#5017
Change 3: aptos-labs/aptos-core#5096
Change 4: aptos-labs/aptos-core#5499
Change 5: aptos-labs/aptos-core#4930
Change 6: aptos-labs/aptos-core#5444
Risks and Drawbacks
Change 1, 2 are internally reviewed and undergo auditing to fully vet the risks
Change 3, 4 and 6 are to reduce the identified risks and drawbacks
Change 5 is to improve usability. This change doesn’t introduce new functionality
Timeline
Reference implementation changes will be deployed in devnet on 11/14 (PST) for ease of testing and providing feedback/discussion.
This AIP will be open for public comments until 11/17.
After discussion, reference implementation changes will be deployed in testnet on 11/17 for testing.
The text was updated successfully, but these errors were encountered: