l2-lov

Verified contract

Proxy

Active on Ethereum with 1,904 txns
Deployed by via 0xbda3231c at 17586489
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $1,069.9
ERC-20
--
0x2e99a81c651caa2644540e3e636632d8f81f011703342c70cf16f73094ad1a4c
0x52e83d6e88544046f2c09fc8bbdf597c10c83f4ddc7c58dd63e9d9d54753da24
0xac2dfce3eb9bb86720f18abf56742b418f34e7d40fa317f342a81f1bcc907b6a
0xa49e64459d2026d85c0380dce4082ed6288db77df6544e94fd657009cee15717
0x8138585f67243bf0f23a918932cf421a49b2e144fe1847610b15c43547f0db82
0x181d9f12e9a15a154a466e43e2bdb4f2c50a7933279c13e2e7914daca9221238
0x4f77b38bac29e040b4ea17342f8385238b7507807510d295bb1d795a9804a1ca
0xb1a8a33d076b03ad09874a68577bb722ff1b84c383b37576e16a9f9634f7bf7e
0x6cce6771f044b306041075ba863d01b6e1edd973ed1c332170bfd0dc0e7cb237
0x30579a86d35b707910e361197c6bb13f277ec01c6f820309c580206b6ac77713

Functions
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(uint256uint256view returns (uint256 amountaddress receiver)
getDepositQueueCount(uint256 leverageview returns (uint256)
getVaultAddresses(uint256 leverageview returns (address[])
getVaultMetadata(address vaultAddressview returns (struct FCNVaultMetadata)
leverages(uint256view returns (bool isAllowedbool isDepositQueueOpenuint256 maxDepositAmountLimituint256 sumVaultUnderlyingAmountsuint256 queuedDepositsTotalAmount)
vaults(addressview returns (uint256 vaultStartuint256 tradeDateuint256 tradeExpiryuint256 aprBpsuint256 tenorInDaysuint256 underlyingAmountuint256 currentAssetAmountuint256 totalCouponPayoffuint256 vaultFinalPayoffuint256 queuedWithdrawalsSharesAmountuint256 queuedWithdrawalsCountuint256 optionBarriersCountuint256 leverageaddress vaultAddressuint8 vaultStatusbool isKnockedIn)
withdrawalQueues(addressuint256view returns (uint256 amountSharesaddress receiver)
State-modifying
addOptionBarrier(address vaultAddressstruct OptionBarrier optionBarrier
addToDepositQueue(uint256 leverageuint256 amount
addToWithdrawalQueue(address vaultAddressuint256 amountShares
calculateCurrentYield(address vaultAddress
calculateVaultFinalPayoff(address vaultAddressreturns (uint256 vaultFinalPayoff)
checkBarriers(address vaultAddress
collectFees(address vaultAddress
createVault(string _tokenNamestring _tokenSymboluint256 _vaultStartuint256 _leveragereturns (address vaultAddress)
openVaultDeposits(address vaultAddress
processDepositQueue(address vaultAddressuint256 maxProcessCount
processWithdrawalQueue(address vaultAddressuint256 maxProcessCount
receiveAssetsFromCegaState(address vaultAddressuint256 amount
removeOptionBarrier(address vaultAddressuint256 indexstring _asset
removeVault(uint256 leverageuint256 i
rolloverVault(address vaultAddress
sendAssetsToTrade(address vaultAddressaddress receiveruint256 amount
setIsDepositQueueOpen(uint256 _leveragebool _isDepositQueueOpen
setKnockInStatus(address vaultAddressbool newState
setManagementFeeBps(uint256 _managementFeeBps
setMaxDepositAmountLimit(uint256 _leverageuint256 _maxDepositAmountLimit
setMinDepositAmount(uint256 _minDepositAmount
setMinWithdrawalAmount(uint256 _minWithdrawalAmount
setTradeData(address vaultAddressuint256 _tradeDateuint256 _tradeExpiryuint256 _aprBpsuint256 _tenorInDays
setVaultMetadata(address vaultAddressstruct FCNVaultMetadata metadata
setVaultStatus(address vaultAddressuint8 _vaultStatus
setYieldFeeBps(uint256 _yieldFeeBps
updateAllowedLeverage(uint256 _leveragebool _isAllowed
updateOptionBarrier(address vaultAddressuint256 indexstring _assetuint256 _strikeAbsoluteValueuint256 _barrierAbsoluteValue
updateOptionBarrierOracle(address vaultAddressuint256 indexstring _assetstring newOracleName
Events
AssetsReceivedFromCegaState(address indexed vaultAddressuint256 amount
AssetsSentToTrade(address indexed vaultAddressaddress indexed receiveruint256 amountuint8 vaultStatus
BarriersChecked(address indexed vaultAddressbool isKnockedIn
DepositProcessed(address indexed vaultAddressaddress indexed receiveruint256 amount
DepositQueued(address indexed receiveruint256 leverageuint256 amount
FeesCollected(address indexed vaultAddressuint256 managementFeeuint256 yieldFeeuint256 totalFeeuint8 vaultStatus
IsDepositQueueOpenUpdated(uint256 leveragebool isDepositQueueOpen
KnockInStatusUpdated(address indexed vaultAddressbool isKnockIn
LOVProductCreated(address indexed cegaStateaddress indexed assetstring nameuint256 managementFeeBpsuint256 yieldFeeBpsuint256 maxDepositAmountLimituint256 minDepositAmountuint256 minWithdrawalAmountuint256[] initialLeverages
LeverageUpdated(uint256 leveragebool isAllowed
ManagementFeeBpsUpdated(uint256 managementFeeBps
MaxDepositAmountLimitUpdated(uint256 leverageuint256 maxDepositAmountLimit
MinDepositAmountUpdated(uint256 minDepositAmount
MinWithdrawalAmountUpdated(uint256 minWithdrawalAmount
OptionBarrierAdded(address indexed vaultAddressuint256 barrierBpsuint256 barrierAbsoluteValueuint256 strikeBpsuint256 strikeAbsoluteValuestring assetstring oracleNameuint8 barrierType
OptionBarrierOracleUpdated(address indexed vaultAddressuint256 indexstring _assetstring _oracleName
OptionBarrierRemoved(address indexed vaultAddressuint256 indexstring asset
OptionBarrierUpated(address indexed vaultAddressuint256 indexstring _assetuint256 _strikeAbsoluteValueuint256 _barrierAbsoluteValue
TradeDataSet(address indexed vaultAddressuint256 _tradeDateuint256 _tradeExpiryuint256 _aprBpsuint256 _tenorInDays
VaultCreated(address indexed vaultAddressstring _tokenSymbolstring _tokenNameuint256 _vaultStartuint256 _leverage
VaultFinalPayoffCalculated(address indexed vaultAddressuint256 finalPayoffAmountuint8 vaultStatus
VaultMetadataUpdated(address indexed vaultAddress
VaultRemoved(address indexed vaultAddress
VaultRollover(address indexed vaultAddressuint256 vaultStartuint8 vaultStatus
VaultStatusUpdated(address indexed vaultAddressuint8 vaultStatus
WithdrawalProcessed(address indexed vaultAddressaddress indexed receiveruint256 amountSharesuint256 amountAssets
WithdrawalQueued(address indexed vaultAddressaddress indexed receiveruint256 amountShares
YieldFeeBpsUpdated(uint256 yieldFeeBps
Constructor
constructor(address _cegaStateaddress _assetstring _nameuint256 _managementFeeBpsuint256 _yieldFeeBpsuint256 _maxDepositAmountLimituint256 _minDepositAmountuint256 _minWithdrawalAmountuint256[] _initialLeverages
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.