l2-lov
Verified contract
Proxy
Active on
Ethereum with 1,904 txns
Unified storage
Map
Table
Raw
Constants and immutables
4
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x0730…f26b
Balances ($1,069.90)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
USDC | ERC-20 | 1.069898K | $1.00 |
$1,069.9 | |
lpCega | ERC-20 | 788.909121 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21186597 | 3 days ago | | | 0 | 0.0028627547 | |
| 21186596 | 3 days ago | | | 0 | 0.0026794427 | |
| 21171125 | 5 days ago | | | 0 | 0.012912417 | |
| 21136631 | 10 days ago | | | 0 | 0.0013386935 | |
| 21136631 | 10 days ago | | | 0 | 0.0014096500 | |
| 21086249 | 17 days ago | | | 0 | 0.0014727613 | |
| 21086247 | 17 days ago | | | 0 | 0.0014334534 | |
| 21036148 | 24 days ago | | | 0 | 0.0010227578 | |
| 21036144 | 24 days ago | | | 0 | 0.0010920613 | |
| 20986153 | a month ago | | | 0 | 0.0017230324 |
ABI
ABI objects
Getter at block 21208275
asset() view returns (address)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
cegaState() view returns (address)
0x0730aa138062d8cc54510aa939b533ba7c30f26b
managementFeeBps() view returns (uint256)
200
minDepositAmount() view returns (uint256)
1000000
minWithdrawalAmount() view returns (uint256)
500000
name() view returns (string)
l2-lov
yieldFeeBps() view returns (uint256)
1500
Read-only
depositQueues(uint256, uint256) view returns (uint256 amount, address receiver)
getDepositQueueCount(uint256 leverage) view returns (uint256)
getVaultAddresses(uint256 leverage) view returns (address[])
getVaultMetadata(address vaultAddress) view returns (struct FCNVaultMetadata)
leverages(uint256) view returns (bool isAllowed, bool isDepositQueueOpen, uint256 maxDepositAmountLimit, uint256 sumVaultUnderlyingAmounts, uint256 queuedDepositsTotalAmount)
vaults(address) view returns (uint256 vaultStart, uint256 tradeDate, uint256 tradeExpiry, uint256 aprBps, uint256 tenorInDays, uint256 underlyingAmount, uint256 currentAssetAmount, uint256 totalCouponPayoff, uint256 vaultFinalPayoff, uint256 queuedWithdrawalsSharesAmount, uint256 queuedWithdrawalsCount, uint256 optionBarriersCount, uint256 leverage, address vaultAddress, uint8 vaultStatus, bool isKnockedIn)
withdrawalQueues(address, uint256) view returns (uint256 amountShares, address receiver)
State-modifying
Events addOptionBarrier(address vaultAddress, struct OptionBarrier optionBarrier)
addToDepositQueue(uint256 leverage, uint256 amount)
addToWithdrawalQueue(address vaultAddress, uint256 amountShares)
calculateCurrentYield(address vaultAddress)
calculateVaultFinalPayoff(address vaultAddress) returns (uint256 vaultFinalPayoff)
checkBarriers(address vaultAddress)
collectFees(address vaultAddress)
createVault(string _tokenName, string _tokenSymbol, uint256 _vaultStart, uint256 _leverage) returns (address vaultAddress)
openVaultDeposits(address vaultAddress)
processDepositQueue(address vaultAddress, uint256 maxProcessCount)
processWithdrawalQueue(address vaultAddress, uint256 maxProcessCount)
receiveAssetsFromCegaState(address vaultAddress, uint256 amount)
removeOptionBarrier(address vaultAddress, uint256 index, string _asset)
removeVault(uint256 leverage, uint256 i)
rolloverVault(address vaultAddress)
sendAssetsToTrade(address vaultAddress, address receiver, uint256 amount)
setIsDepositQueueOpen(uint256 _leverage, bool _isDepositQueueOpen)
setKnockInStatus(address vaultAddress, bool newState)
setManagementFeeBps(uint256 _managementFeeBps)
setMaxDepositAmountLimit(uint256 _leverage, uint256 _maxDepositAmountLimit)
setMinDepositAmount(uint256 _minDepositAmount)
setMinWithdrawalAmount(uint256 _minWithdrawalAmount)
setTradeData(address vaultAddress, uint256 _tradeDate, uint256 _tradeExpiry, uint256 _aprBps, uint256 _tenorInDays)
setVaultMetadata(address vaultAddress, struct FCNVaultMetadata metadata)
setVaultStatus(address vaultAddress, uint8 _vaultStatus)
setYieldFeeBps(uint256 _yieldFeeBps)
updateAllowedLeverage(uint256 _leverage, bool _isAllowed)
updateOptionBarrier(address vaultAddress, uint256 index, string _asset, uint256 _strikeAbsoluteValue, uint256 _barrierAbsoluteValue)
updateOptionBarrierOracle(address vaultAddress, uint256 index, string _asset, string newOracleName)
AssetsReceivedFromCegaState(address indexed vaultAddress, uint256 amount)
AssetsSentToTrade(address indexed vaultAddress, address indexed receiver, uint256 amount, uint8 vaultStatus)
BarriersChecked(address indexed vaultAddress, bool isKnockedIn)
DepositProcessed(address indexed vaultAddress, address indexed receiver, uint256 amount)
DepositQueued(address indexed receiver, uint256 leverage, uint256 amount)
FeesCollected(address indexed vaultAddress, uint256 managementFee, uint256 yieldFee, uint256 totalFee, uint8 vaultStatus)
IsDepositQueueOpenUpdated(uint256 leverage, bool isDepositQueueOpen)
KnockInStatusUpdated(address indexed vaultAddress, bool isKnockIn)
LOVProductCreated(address indexed cegaState, address indexed asset, string name, uint256 managementFeeBps, uint256 yieldFeeBps, uint256 maxDepositAmountLimit, uint256 minDepositAmount, uint256 minWithdrawalAmount, uint256[] initialLeverages)
LeverageUpdated(uint256 leverage, bool isAllowed)
ManagementFeeBpsUpdated(uint256 managementFeeBps)
MaxDepositAmountLimitUpdated(uint256 leverage, uint256 maxDepositAmountLimit)
MinDepositAmountUpdated(uint256 minDepositAmount)
MinWithdrawalAmountUpdated(uint256 minWithdrawalAmount)
OptionBarrierAdded(address indexed vaultAddress, uint256 barrierBps, uint256 barrierAbsoluteValue, uint256 strikeBps, uint256 strikeAbsoluteValue, string asset, string oracleName, uint8 barrierType)
OptionBarrierOracleUpdated(address indexed vaultAddress, uint256 index, string _asset, string _oracleName)
OptionBarrierRemoved(address indexed vaultAddress, uint256 index, string asset)
OptionBarrierUpated(address indexed vaultAddress, uint256 index, string _asset, uint256 _strikeAbsoluteValue, uint256 _barrierAbsoluteValue)
TradeDataSet(address indexed vaultAddress, uint256 _tradeDate, uint256 _tradeExpiry, uint256 _aprBps, uint256 _tenorInDays)
VaultCreated(address indexed vaultAddress, string _tokenSymbol, string _tokenName, uint256 _vaultStart, uint256 _leverage)
VaultFinalPayoffCalculated(address indexed vaultAddress, uint256 finalPayoffAmount, uint8 vaultStatus)
VaultMetadataUpdated(address indexed vaultAddress)
VaultRemoved(address indexed vaultAddress)
VaultRollover(address indexed vaultAddress, uint256 vaultStart, uint8 vaultStatus)
VaultStatusUpdated(address indexed vaultAddress, uint8 vaultStatus)
WithdrawalProcessed(address indexed vaultAddress, address indexed receiver, uint256 amountShares, uint256 amountAssets)
WithdrawalQueued(address indexed vaultAddress, address indexed receiver, uint256 amountShares)
YieldFeeBpsUpdated(uint256 yieldFeeBps)
constructor(address _cegaState, address _asset, string _name, uint256 _managementFeeBps, uint256 _yieldFeeBps, uint256 _maxDepositAmountLimit, uint256 _minDepositAmount, uint256 _minWithdrawalAmount, uint256[] _initialLeverages)
This contract contains no fallback and receive objects.
This contract contains no error objects.