This contract is being backfilled. You may encounter incomplete storage history.

cruise-control

Verified contract

Proxy

Active on Ethereum with 1,666 txns
Deployed by via 0xf241dc9e at 16919011
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $30,000
ERC-20
--
0x2f3644ecf30cb3a1588512fe0cf77341402a5c83ed536a036fb5405ad707d823
From
0xc0504aa3b49c94944f13434c2ff0123a4ab33d7c43299ca4153f0a4683b05a36
0x7189f3f91e106154c474b8bebb68f5d8343e059102ac6280561e89bd93b617d3
0x2b0cd9a3a88e727fee85d24a7c02f9e46e65156c8b4c5c5f36920ccc850c9ec3
0x9e9cf9a5e8d5e7ac58fe0dec95e08792270e1a5c1965b7810325b2484925f2fd
0xa17dfabb8c4db97d3232a5bfb0adb70a51edf2ea5f2e75614d371c6b1492781d
0xfeadc5d16600074ce223d58d98f39762f19c290a888220e9e835ee3efd451a22
0x1a1e66fc521238848bf7e62466cdc6723f15f749d1996ee8a9209d51361b2653
0x995479d25485b67ec41e0a6e137beaa83ebd0511a39bc2449629f6038b998fd5
0xe43a331b132cc06cc531eb152f8f8cc678630c7ebee822aec122fc7a450724f0

Functions
Getter at block 21213600
asset(view returns (address)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
cegaState(view returns (address)
0x0730aa138062d8cc54510aa939b533ba7c30f26b
getVaultAddresses(view returns (address[])
[0xE12Cc7191204f73A49429616AC9b735343efeeFe, 0xa31B4B1d793CCCf0B96cec9DBBffA91064c11D32, 0x73779F855D48c782aA83E60E4Dc2ff25fe72246b, 0x638Ec49D1Dc4aB734185Bf5f8191Bd57B4cD54ba]
isDepositQueueOpen(view returns (bool)
true
managementFeeBps(view returns (uint256)
75
maxDepositAmountLimit(view returns (uint256)
10000000000000
minDepositAmount(view returns (uint256)
1000000
minWithdrawalAmount(view returns (uint256)
500000
name(view returns (string)
cruise-control
queuedDepositsCount(view returns (uint256)
1
queuedDepositsTotalAmount(view returns (uint256)
30000000000
sumVaultUnderlyingAmounts(view returns (uint256)
6900090748205
yieldFeeBps(view returns (uint256)
500
Read-only
calculateFees(address vaultAddressview returns (uint256 totalFeeuint256 managementFeeuint256 yieldFee)
calculateKnockInRatio(address vaultAddressview returns (uint256 knockInRatio)
depositQueue(uint256view returns (uint256 amountaddress receiver)
getVaultMetadata(address vaultAddressview returns (struct FCNVaultMetadata)
vaultAddresses(uint256view returns (address)
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 amount
addToWithdrawalQueue(address vaultAddressuint256 amountShares
calculateCurrentYield(address vaultAddress
calculateVaultFinalPayoff(address vaultAddressreturns (uint256 vaultFinalPayoff)
checkBarriers(address vaultAddress
collectFees(address vaultAddress
createVault(string _tokenNamestring _tokenSymboluint256 _vaultStartreturns (address vaultAddress)
openVaultDeposits(address vaultAddress
processDepositQueue(address vaultAddressuint256 maxProcessCount
processWithdrawalQueue(address vaultAddressuint256 maxProcessCount
receiveAssetsFromCegaState(address vaultAddressuint256 amount
removeOptionBarrier(address vaultAddressuint256 indexstring _asset
removeVault(uint256 i
rolloverVault(address vaultAddress
sendAssetsToTrade(address vaultAddressaddress receiveruint256 amount
setIsDepositQueueOpen(bool _isDepositQueueOpen
setKnockInStatus(address vaultAddressbool newState
setManagementFeeBps(uint256 _managementFeeBps
setMaxDepositAmountLimit(uint256 _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
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 amount
FCNProductCreated(address indexed cegaStateaddress indexed assetstring nameuint256 managementFeeBpsuint256 yieldFeeBpsuint256 maxDepositAmountLimituint256 minDepositAmountuint256 minWithdrawalAmount
FeesCollected(address indexed vaultAddressuint256 managementFeeuint256 yieldFeeuint256 totalFeeuint8 vaultStatus
IsDepositQueueOpenUpdated(bool isDepositQueueOpen
KnockInStatusUpdated(address indexed vaultAddressbool isKnockIn
ManagementFeeBpsUpdated(uint256 managementFeeBps
MaxDepositAmountLimitUpdated(uint256 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 _vaultStart
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 _minWithdrawalAmount
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.