Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
hieuvubk committed Jan 31, 2025
1 parent 33a8b33 commit b07b0f2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion x/asset/spec/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ The Realio Asset module is centered around a token model where certain whitelist

Each token can choose to enable extensions supported by the module. Currently, there are four extensions supported: "mint", "freeze", "clawback", "transfer_auth", each handle a completely different logic. We wanna decouple the logic of these extensions from the `Asset module`, meaning that they will be defined in separate packages/modules, thus, developers can customize new extensions without modifying the `Asset Module`. Doing this allows our token model to be extensible while keeping the core logic of `Asset Module` untouched and simple, avoiding complicated migration when we integrating new features.

The token manager's task is to choose what extensions it wants to disable/enable for its token; and only the token manager can trigger those extensions, except for the `mint` extension which is handled by the `distributor`.
The token manager's task is to choose what extensions it wants to disable/enable for its token; and only the token manager can trigger those extensions.

![asset_module](imgs/asset_module.png)`

Expand Down Expand Up @@ -41,6 +41,7 @@ We introduce additional extensions on these standard extensions:

- Mint
- Burn
- Freeze

All above extensions can be called from both AssetModule and EVM side (by metamask for example).

Expand Down

0 comments on commit b07b0f2

Please sign in to comment.