EthPCVDepositAdapter

An adapter contract that allows ETH transfers to conform to the IPCVDeposit interface

Contract

EthPCVDepositAdapter

Description

Allows contracts which can receive ETH but do not conform to the IPCVDeposit interface to still receive those ETH deposits in a PCV compatible way. Likewise allows native ETH transfers to conform to the IPCVDeposit interface of a contract that does conform to that interface.

e.g. sending ETH to the EthPCVDripper from the EthBondingCurve

None

Events

None

Read-Only Functions

target

function target() external view returns (address);

Returns the target address to transfer ETH to

Public State-Changing Functions

deposit

function deposit(uint256 amount) public payable;

sends amount ETH to target

ABIs