A secure smart contract system for interbank deposit token management and settlement.
Prerequisites:
- foundry
Install dependencies with:
forge soldeer install
Build:
forge build
The Deposit Token system is designed to facilitate secure, regulated transactions between banks and their clients on EVM blockchains. It consists of two primary components:
- Deposit Token (DT): An ERC20 stablecoin contract with comprehensive permissioned-based role access controls
- Escrow Model: A secure mechanism for autonomous exchange and settlement of tokenized assets
- Platform Admin: Smart contract administrators with emergency upgrade capability
- Bank Authority: Representatives of consortium member banks
- Bank Operator: Operation team members within bank organizations
- Bank Client: Clients of member banks
- Whitelisting of bank clients
- Controlled minting and burning of deposit tokens
- Secure transfer requests between whitelisted wallets
- Autonomous escrow transactions for asset exchange
- Comprehensive consortium governance
- depositToken/: The Deposit Token application
- contracts/: Solidity smart contracts for the Deposit Token system
- tests/: Comprehensive test suites using forge
- settings.json: Configuration file for depositToken deployment and testing
- escrow/: The Escrow application
- contracts/: Solidity smart contracts for the Escrow system
- tests/: Comprehensive test suites using forge
- settings.json: Configuration file for escrow deployment and testing