Contract Overview
The Agora Dollar (AUSD) token contract implements the ERC-20 standard, enabling the storage and transfer of AUSD balances across individual accounts. It supports additional functionalities such as minting and burning, controlled by privileged accounts, and incorporates asset freezing mechanisms to prevent financial crimes.
Supported ERC Standards
The AUSD contract adheres to the following Ethereum Request for Comments (ERC) standards:
ERC-20: Basic standard for fungible tokens.
ERC-712: Standard for typed structured data hashing and signing.
ERC-1271: Standard interface for validating signatures issued by smart contract wallets.
ERC-2612: Permit extension to ERC-20 allowing for approvals via signatures.
ERC-3009: Enables gasless token transfers.
Solana Token2022 Standards
For Solana, we’re adhering to token2022 standards, using Solana’s Token Extensions (TEs). TEs allow the token creator to customize how their token works. We use the following extensions:
Mint Close Authority: Grants an option to close
mintAccounts
owned by the Token Program.PermanentDelegate: Designates an address with unrestricted delegate privileges, required for regulatory purposes.
TransferHook: Allows custom logic triggers whenever a token transfer event occurs.
Metadata: Provides a metadata pointer for storing descriptive information about the token.
Confidential Transfers: Helps maintain confidentiality in sensitive use cases.
Last updated