PCVDeposit
Functions
withdrawERC20
withdraw ERC20 from the contract
Parameters
Name
Type
Description
token
address
address of the ERC20 to send
to
address
address destination of the ERC20
amount
uint256
quantity of ERC20 to send
_withdrawERC20
Parameters
Name
Type
Description
token
address
to
address
amount
uint256
withdrawETH
withdraw ETH from the contract
Parameters
Name
Type
Description
to
address payable
address to send ETH
amountOut
uint256
amount of ETH to send
balance
gets the effective balance of "balanceReportedIn" token if the deposit were fully withdrawn
resistantBalanceAndChi
gets the resistant token balance and protocol owned chi of this deposit
Last updated