Vault

Verified contract

Active on Ethereum with 25 txns
Deployed by via 0x51807e85 at 11315910
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $354,016.61
ERC-20
Value $4,412.58
ERC-20
Value $2,127.63
ERC-20
Value $1,553.79
ERC-20
Value $1,344.99
ERC-20
Value $522.08
ERC-20
Value $323.15
ERC-20
Value $110.56
ERC-20
Value $103.59
ERC-20
Value $83.29
0x609a172ab7bcfbcf32e9e524088be21d5ef2843acd000c4be22de53e61396e02
0x276fbb89759ad4f951240d1803b4d16076e8990470d82acee605b82ce3cef785
0x6a754710533afcc4f8b7c08033e5eb9b0a3da18b8470cf991a2cf16cdc9b091c
0xf451b56b0e35f2c39d6ad352aa3dd724b1410ab505a210e3afd954f423d1b058
0x0d694160421ac10f045b0adf32d6e2d7aae1c6675b1b5e6d3b1d10b784ad7ced
0xae035b14c69f55553cf315975c7eeca3058353ed067e7db04ebb5e0f27bffa64
0x78bbcada76f63466652d61e4aef4af40aee621ce576824d2f1f80449277ea4a8
0x302c41f8171719357925520ba2d9f4dd722026a27e8eacb7c715a59145e09b17
0x0915eff9a92a9bc1c4b3e9008a1956d105b4370a782a7471327455105e27caeb
0x9a17571e8b666856d813d0ac0257f969b44a663ae68fca8b3a38417a398b08be

Functions
Getter at block 21270794
DENOMINATOR_1E2(view returns (uint256)
100
DENOMINATOR_1E5(view returns (uint256)
100000
col(view returns (address)
0xc76fb75950536d98fa62ea968e1d6b45ffea2a55
usdp(view returns (address)
0x1456688345527be1f37e9e627da0837d6f08c925
vaultParameters(view returns (address)
0xb46f8cf42e504efe8bef895f848741daa55e9f1d
weth(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Read-only
calculateFee(address assetaddress useruint256 amountview returns (uint256)
colToken(addressaddressview returns (uint256)
collaterals(addressaddressview returns (uint256)
debts(addressaddressview returns (uint256)
getTotalDebt(address assetaddress userview returns (uint256)
lastUpdate(addressaddressview returns (uint256)
liquidationBlock(addressaddressview returns (uint256)
liquidationFee(addressaddressview returns (uint256)
liquidationPrice(addressaddressview returns (uint256)
oracleType(addressaddressview returns (uint256)
stabilityFee(addressaddressview returns (uint256)
tokenDebts(addressview returns (uint256)
State-modifying
borrow(address assetaddress useruint256 amountreturns (uint256)
changeOracleType(address assetaddress useruint256 newOracleType
chargeFee(address assetaddress useruint256 amount
depositCol(address assetaddress useruint256 amount
depositEth(address userpayable 
depositMain(address assetaddress useruint256 amount
destroy(address assetaddress user
liquidate(address assetaddress positionOwneruint256 mainAssetToLiquidatoruint256 colToLiquidatoruint256 mainAssetToPositionOwneruint256 colToPositionOwneruint256 repaymentuint256 penaltyaddress liquidator
repay(address assetaddress useruint256 amountreturns (uint256)
spawn(address assetaddress useruint256 _oracleType
triggerLiquidation(address assetaddress positionOwneruint256 initialPrice
update(address assetaddress user
withdrawCol(address assetaddress useruint256 amount
withdrawEth(address useruint256 amount
withdrawMain(address assetaddress useruint256 amount
Events

This contract contains no event objects.

Constructor
constructor(address _parametersaddress _coladdress _usdpaddress _weth
Fallback and receive
receive(
Errors

This contract contains no error objects.