CVaultRelayer
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
7
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 "CVaultRelayer"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "CVaultRelayer"
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)
0
bankUtilized() view returns (uint256)
0
completeId() view returns (uint128)
0
cvaultBSC() view returns (address)
0x0000000000000000000000000000000000000000
cvaultETH() view returns (address)
0x0000000000000000000000000000000000000000
getPendingLiquidationCountOnETH() view returns (uint256)
0
liqCompleteId() view returns (uint128)
0
liqPendingId() view returns (uint128)
0
owner() view returns (address)
0x0000000000000000000000000000000000000000
pendingId() view returns (uint128)
0
utilizationInfo() view returns (uint256 liquidity, uint256 utilized)
(liquidity=0, utilized=0)
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 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)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
RelayCompleted(uint128 indexed completeId, uint128 count)
RelayFailed(uint128 indexed requestId)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.