Skip to main content

ITokemakERC20Pool

Functions

deposit

function deposit(
uint256 amount
) external

Parameters

NameTypeDescription
amountuint256

withdraw

function withdraw(
uint256 requestedAmount
) external

Parameters

NameTypeDescription
requestedAmountuint256

ERC20TokemakPCVDeposit

Functions

constructor

function constructor(
address _core,
address _pool,
address _rewards
) public

Tokemak ERC20 PCV Deposit constructor

Parameters

NameTypeDescription
_coreaddressFei Core for reference
_pooladdressTokemak pool to deposit in
_rewardsaddressTokemak rewards contract

deposit

function deposit() external

deposit ERC-20 tokens to Tokemak

withdraw

function withdraw(
address to,
uint256 amountUnderlying
) external

withdraw tokens from the PCV allocation

Parameters

NameTypeDescription
toaddressthe address to send PCV to
amountUnderlyinguint256of tokens withdrawn