Last updated 2 months ago
Token: IERC20 (address); the ERC20 contract to transfer tokens of.
To: address; the address to transfer tokens to.
Amount: uint256; the amount of tokens to transfer.
```solidity function __Escrow_init() external { if (owner != address(0)) { revert AlreadyInitialized(); } owner = msg.sender; } ```
```solidity function transfer(IERC20 token, address to, uint256 amount) external { if (msg.sender != owner) { revert NotOwner(); } token.transfer(to, amount); } ```