TransferLib
Functions
transfer
Transfer token amount. Amount is sent from caller address to to
address.
function transfer(IERC20 token, address to, uint256 amount) internal;
transferFrom
Transfer token amount. Amount is sent from from
address to to
address.
function transferFrom(IERC20 token, address from, address to, uint256 amount) internal;
Errors
TransferFailed
error TransferFailed(IERC20 token, address to, uint256 amount);
TransferFromFailed
error TransferFromFailed(IERC20 token, address from, address to, uint256 amount);
Last updated