Skip to main content

IPCVDeposit

Functions

deposit

function deposit() external

withdraw

function withdraw(
address to,
uint256 amount
) external

Parameters

NameTypeDescription
toaddress
amountuint256

withdrawERC20

function withdrawERC20(
address token,
address to,
uint256 amount
) external

Parameters

NameTypeDescription
tokenaddress
toaddress
amountuint256

withdrawETH

function withdrawETH(
address payable to,
uint256 amount
) external

Parameters

NameTypeDescription
toaddress payable
amountuint256

Events

Deposit

event Deposit(
address _from,
uint256 _amount
)

Parameters

NameTypeDescription
_fromaddress
_amountuint256

Withdrawal

event Withdrawal(
address _caller,
address _to,
uint256 _amount
)

Parameters

NameTypeDescription
_calleraddress
_toaddress
_amountuint256

WithdrawERC20

event WithdrawERC20(
address _caller,
address _token,
address _to,
uint256 _amount
)

Parameters

NameTypeDescription
_calleraddress
_tokenaddress
_toaddress
_amountuint256

WithdrawETH

event WithdrawETH(
address _caller,
address _to,
uint256 _amount
)

Parameters

NameTypeDescription
_calleraddress
_toaddress
_amountuint256