VaultsCore

Verified contract

Active on Ethereum with 5,765 txns
Deployed by via 0xcc48b39b at 11952494
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $1.95
ERC-20
Value $0.72
ERC-20
Value $0.04
ERC-20
Value $0.01
ERC-20
Value $0.01
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0x197c7bfa2d285a3333bc864b97f314e282d26e63639f24a85a17e04b33b13e57
0x074ef64914091899f2c6b7fc2c6e0c8c711accde55b3d8f3e2887cb639fc6392
0x367d6e7a896034e4ee86c0ed49368ad97087cc1d26e8e47a74345e8e90172981
0x5f453d0d22dff99e07dd150a25b5400d31e31a1e871a96c70dd4bc2003d8a6de
0x78a2eebf5766d32690f2a80c998b9c7e2858cffb718e9b07dc2a77303cb0e863
0x01265fb477a756fe1939cc1378e45caff96555f92b600d61bc121894c9bd33d8
0x65163a85414c63b1cfecd1fc856786f5220d792ef070ee5eecc22f3b72372e1b
0x5f7a1899a996fa5ae1812f6ab2cb0dfae6640632b088a5bca4d669c13faa379a
0x3241461e0c5f7e92d398013bb684e96f56d0c394074f6432ea1578caf6835c32
0x2977f231ad920ccfed53db58c4e69bdf080368b82733f2b910b89c53e5e021ff

Functions
Getter at block 21101393
WETH(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
a(view returns (address)
0x6fae125de41c03fa7d917ccfa17ba54ef4feb014
debtNotifier(view returns (address)
0xeaad8e52a15a78a5c8be17d3c2ac538ae04f5fee
state(view returns (address)
0x9a99a3911357f3f1934dc423956713e087ef6f25
Read-only
cumulativeRates(address _collateralTypeview returns (uint256)
State-modifying
acceptUpgrade(address _oldVaultsCore
borrow(uint256 _vaultIduint256 _amount
deposit(address _collateralTypeuint256 _amount
depositAndBorrow(address _collateralTypeuint256 _depositAmountuint256 _borrowAmount
depositByVaultId(uint256 _vaultIduint256 _amount
depositETH(payable 
depositETHAndBorrow(uint256 _borrowAmountpayable 
depositETHByVaultId(uint256 _vaultIdpayable 
liquidate(uint256 _vaultId
liquidatePartial(uint256 _vaultIduint256 _amount
repay(uint256 _vaultIduint256 _amount
repayAll(uint256 _vaultId
setDebtNotifier(address _debtNotifier
upgrade(address _newVaultsCore
withdraw(uint256 _vaultIduint256 _amount
withdrawETH(uint256 _vaultIduint256 _amount
Events
Borrowed(uint256 indexed vaultIduint256 amountaddress indexed sender
Deposited(uint256 indexed vaultIduint256 amountaddress indexed sender
InsurancePaid(uint256 indexed vaultIduint256 insuranceAmountaddress indexed sender
Liquidated(uint256 indexed vaultIduint256 debtRepaiduint256 collateralLiquidatedaddress indexed owneraddress indexed sender
Opened(uint256 indexed vaultIdaddress indexed collateralTypeaddress indexed owner
Repaid(uint256 indexed vaultIduint256 amountaddress indexed sender
Withdrawn(uint256 indexed vaultIduint256 amountaddress indexed sender
Constructor
constructor(address _addressesaddress _IWETHaddress _vaultsCoreState
Fallback and receive
receive(
Errors

This contract contains no error objects.