You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current token::StellarAssetClient in "soroban_sdk" provides built-in support for managing SAC (Stellar Asset Contract) administrative tasks. However, some use cases require more flexible or customized logic.
To address this, we will implement a dedicated SAC Admin module to which the admin tasks can be delegated to and that replicates the admin functionality of token::StellarAssetClient. This allows developers to define custom rules on top of that (e.g., role-based access, 2-step admin transfers, mint rate limits, upgradeability) while maintaining compatibility with SACs.
This module is incompatible with our stellar_contracts::fungible which is meant only for "pure" contract tokens, while this one must be used only for SACs.
The current
token::StellarAssetClient
in "soroban_sdk" provides built-in support for managing SAC (Stellar Asset Contract) administrative tasks. However, some use cases require more flexible or customized logic.To address this, we will implement a dedicated SAC Admin module to which the admin tasks can be delegated to and that replicates the admin functionality of
token::StellarAssetClient
. This allows developers to define custom rules on top of that (e.g., role-based access, 2-step admin transfers, mint rate limits, upgradeability) while maintaining compatibility with SACs.Interface
Events
["set_admin", admin: Address, sep0011_asset: String], data = new_admin: Address
["set_authorized", admin: Address, id: Address, sep0011_asset: String], data = authorize: bool
["mint", admin: Address, to: Address, sep0011_asset: String], data = amount: i128
["clawback", admin: Address, from: Address, sep0011_asset: String], data = amount: i128
Notes
This module is incompatible with our
stellar_contracts::fungible
which is meant only for "pure" contract tokens, while this one must be used only for SACs.For more context, see:
The text was updated successfully, but these errors were encountered: