Skip to main content

IIdleToken

Functions

redeemIdleToken

function redeemIdleToken(
uint256 _amount
) external

Parameters

NameTypeDescription
_amountuint256

token

function token() external returns (contract IERC20)

transfer

function transfer(
address account,
uint256 amount
) external

Parameters

NameTypeDescription
accountaddress
amountuint256

IdlePCVRedeemer

Functions

constructor

function constructor(
address _target,
contract IIdleToken _idleToken
) public

Parameters

NameTypeDescription
_targetaddress
_idleTokencontract IIdleToken

redeem

function redeem(
uint256 amount
) external

redeem Idle Token shares

Parameters

NameTypeDescription
amountuint256asset amount to redeem

sweep

function sweep(
contract IERC20 token,
uint256 amount
) external

Parameters

NameTypeDescription
tokencontract IERC20
amountuint256