ERC20Router
Inherits: IERC20Router, ReentrancyGuard
State Variables
POOL_FACTORY
address public immutable POOL_FACTORY;
Functions
constructor
constructor(address poolFactory);
safeTransferFrom
Transfers tokens - caller must be an authorized pool
function safeTransferFrom(address token, address from, address to, uint256 amount) external nonReentrant;
Parameters
Name | Type | Description |
---|---|---|
token | address | Address of token to transfer |
from | address | Address to transfer tokens from |
to | address | Address to transfer tokens to |
amount | uint256 | Amount of tokens to transfer |