ERC20Router

Git Source

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

NameTypeDescription
tokenaddressAddress of token to transfer
fromaddressAddress to transfer tokens from
toaddressAddress to transfer tokens to
amountuint256Amount of tokens to transfer