PCVDepositWrapper
a lightweight contract to wrap old PCV deposits to use the new interface
Mainnet implementations
Related Contracts
CollateralizationOracle, ERC20CompoundPCVDeposit
Methods
balance
function balance() view returns(uint256)
returns total balance of PCV in the Deposit
Returns
Param | Type | Notes |
---|---|---|
uint256 |
balanceReportedIn
function balanceReportedIn() view returns(address)
display the related token of the balance reported
Returns
Param | Type | Notes |
---|---|---|
address |
isProtocolFeiDeposit
function isProtocolFeiDeposit() view returns(bool)
a flag for whether to report the balance as protocol owned FEI
Returns
Param | Type | Notes |
---|---|---|
bool |
pcvDeposit
function pcvDeposit() view returns(address)
the referenced PCV Deposit
Returns
Param | Type | Notes |
---|---|---|
address |
resistantBalanceAndFei
function resistantBalanceAndFei() view returns(uint256,uint256)
returns the resistant balance and FEI in the deposit
Returns
Param | Type | Notes |
---|---|---|
uint256 | ||
uint256 |
token
function token() view returns(address)
the balance reported in token
Returns
Param | Type | Notes |
---|---|---|
address |