AdminUpgradeabilityProxy
Verified contract
Proxy
Active on
Ethereum with 96 txns
Unified storage
Map
Table
Raw
Constants and immutables
2
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 48 additional slots
Balances ($0.00)
No balances found for "AdminUpgradeabilityProxy"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 12132516 | 4 years ago | | | 0 | 0.010429716 | |
| 12132502 | 4 years ago | | | 0 | 0.096735507 | |
| 12132498 | 4 years ago | | | 0 | 0.010429716 | |
| 12132488 | 4 years ago | | | 0 | 0.029595219 | |
| 12132486 | 4 years ago | | | 0 | 0.0064808205 | |
| 12132483 | 4 years ago | | | 0 | 0.010429716 | |
| 12132470 | 4 years ago | | | 0 | 0.012277302 | |
| 12100042 | 4 years ago | | | 0 | 0.0088145200 | |
| 12100030 | 4 years ago | | | 0 | 0.067251613 | |
| 12100027 | 4 years ago | | | 0 | 0.0050292352 |
ABI
ABI objects
Getter at block 21173265 utilizationInfoOnBSC() view returns (uint256 liquidity, uint256 utilized)
BNB() view returns (address)
0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c
SIG_CLEAR() view returns (uint8)
63
SIG_DEPOSIT() view returns (uint8)
10
SIG_EMERGENCY() view returns (uint8)
50
SIG_LEVERAGE() view returns (uint8)
20
SIG_LIQUIDATE() view returns (uint8)
40
SIG_WITHDRAW() view returns (uint8)
30
bankLiquidity() view returns (uint256)
4004342209731890317
bankUtilized() view returns (uint256)
24366741142200893
completeId() view returns (uint128)
23
cvaultBSC() view returns (address)
0x0000000000000000000000000000000000000000
cvaultETH() view returns (address)
0xde408aeb081e8d9b2aed53d7deffa65285bbe6fc
getPendingLiquidationCountOnETH() view returns (uint256)
0
liqCompleteId() view returns (uint128)
0
liqPendingId() view returns (uint128)
0
owner() view returns (address)
0xe87f02606911223c2cf200398ffaf353f60801f7
pendingId() view returns (uint128)
24
utilizationInfo() view returns (uint256 liquidity, uint256 utilized)
(liquidity=4004342209731890317, utilized=24366741142200893)
Read-only
canAskLiquidation(address lp, address account) view returns (bool)
collateralRatioOnETH(address lp, uint256 lpAmount, address flip, uint256 flipAmount, uint256 debt) view returns (uint256)
getHistoriesOf(uint128[] selector) view returns (struct ICVaultRelayerRelayHistory[])
getPendingRequestsOnETH(uint128 limit) view returns (struct ICVaultRelayerRelayRequest[])
getPendingResponsesOnBSC(uint128 limit) view returns (struct ICVaultRelayerRelayResponse[])
isUtilizable(address lp, uint256 amount, uint256 leverage) view returns (bool)
liquidations(uint128) view returns (address lp, address account, address liquidator)
priceOf(address token) view returns (uint256)
requests(uint128) view returns (address lp, address account, uint8 signature, uint8 validation, uint112 nonce, uint128 requestId, uint128 leverage, uint256 collateral, uint256 lpValue)
responses(uint128) view returns (address lp, address account, uint8 signature, uint8 validation, uint112 nonce, uint128 requestId, uint256 bscBNBDebtShare, uint256 bscFlipBalance, uint256 ethProfit, uint256 ethLoss)
valueOfAsset(address token, uint256 amount) view returns (uint256)
State-modifying
Events admin() returns (address)
changeAdmin(address newAdmin)
implementation() returns (address)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
askLiquidationFromCVaultETH(address lp, address account, address liquidator)
askLiquidationFromHandler(struct ICVaultRelayerRelayLiquidation[] asks)
completeRelaysOnETH(struct ICVaultRelayerRelayResponse[] _responses, struct ICVaultRelayerRelayUtilization utilization)
executeLiquidationOnETH()
initialize()
renounceOwnership()
requestRelayOnETH(address lp, address account, uint8 signature, uint128 leverage, uint256 collateral, uint256 lpAmount) returns (uint256 requestId)
setCVaultBSC(address _cvault)
setCVaultETH(address _cvault)
setOraclePairData(struct ICVaultRelayerRelayOracleData[] data)
setRelayHandler(address newRelayHandler, bool permission)
syncCompletedRelaysOnBSC(uint128 _count)
syncUtilization(struct ICVaultRelayerRelayUtilization utilization)
transferOwnership(address newOwner)
transferRelaysOnBSC(struct ICVaultRelayerRelayRequest[] _requests)
AdminChanged(address previousAdmin, address newAdmin)
Upgraded(address indexed implementation)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
RelayCompleted(uint128 indexed completeId, uint128 count)
RelayFailed(uint128 indexed requestId)
constructor(address _logic, address _admin, bytes _data)
fallback()
receive()
This contract contains no error objects.