IERC20Router

Git Source

Functions

safeTransferFrom

Transfers tokens - caller must be an authorized pool

function safeTransferFrom(address token, address from, address to, uint256 amount) external;

Parameters

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

Errors

ERC20Router__NotAuthorized

error ERC20Router__NotAuthorized();