AssetVault
The AssetVault contract provides secure custody for assets backing RWA tokens.
Functions​
deposit​
Deposits assets into the vault.
function deposit(address token, uint256 amount) external;
withdraw​
Withdraws assets from the vault. Requires multi-sig approval.
function withdraw(address token, uint256 amount, address recipient) external;
getBalance​
Returns the vault balance for a token.
function getBalance(address token) external view returns (uint256);
Events​
event Deposited(address indexed token, uint256 amount, address indexed depositor);
event Withdrawn(address indexed token, uint256 amount, address indexed recipient);