CVaultRelayer

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x03080241 at 12016452
Slot
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

No balances found for "CVaultRelayer"

No transactions found for "CVaultRelayer"


Functions
Getter at block 21173265
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 liquidityuint256 utilized)
(liquidity=0, utilized=0)
 
utilizationInfoOnBSC(view returns (uint256 liquidityuint256 utilized)
Read-only
canAskLiquidation(address lpaddress accountview returns (bool)
collateralRatioOnETH(address lpuint256 lpAmountaddress flipuint256 flipAmountuint256 debtview returns (uint256)
getHistoriesOf(uint128[] selectorview returns (struct ICVaultRelayerRelayHistory[])
getPendingRequestsOnETH(uint128 limitview returns (struct ICVaultRelayerRelayRequest[])
getPendingResponsesOnBSC(uint128 limitview returns (struct ICVaultRelayerRelayResponse[])
isUtilizable(address lpuint256 amountuint256 leverageview returns (bool)
liquidations(uint128view returns (address lpaddress accountaddress liquidator)
priceOf(address tokenview returns (uint256)
requests(uint128view returns (address lpaddress accountuint8 signatureuint8 validationuint112 nonceuint128 requestIduint128 leverageuint256 collateraluint256 lpValue)
responses(uint128view returns (address lpaddress accountuint8 signatureuint8 validationuint112 nonceuint128 requestIduint256 bscBNBDebtShareuint256 bscFlipBalanceuint256 ethProfituint256 ethLoss)
valueOfAsset(address tokenuint256 amountview returns (uint256)
State-modifying
askLiquidationFromCVaultETH(address lpaddress accountaddress liquidator
askLiquidationFromHandler(struct ICVaultRelayerRelayLiquidation[] asks
completeRelaysOnETH(struct ICVaultRelayerRelayResponse[] _responsesstruct ICVaultRelayerRelayUtilization utilization
executeLiquidationOnETH(
initialize(
renounceOwnership(
requestRelayOnETH(address lpaddress accountuint8 signatureuint128 leverageuint256 collateraluint256 lpAmountreturns (uint256 requestId)
setCVaultBSC(address _cvault
setCVaultETH(address _cvault
setOraclePairData(struct ICVaultRelayerRelayOracleData[] data
setRelayHandler(address newRelayHandlerbool permission
syncCompletedRelaysOnBSC(uint128 _count
syncUtilization(struct ICVaultRelayerRelayUtilization utilization
transferOwnership(address newOwner
transferRelaysOnBSC(struct ICVaultRelayerRelayRequest[] _requests
Events
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
RelayCompleted(uint128 indexed completeIduint128 count
RelayFailed(uint128 indexed requestId
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.