cruise-control
Verified contract
Proxy
Active on
Ethereum with 1,666 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 ($30,000.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
USDC | ERC-20 | 30K | $1.00 |
$30,000 | |
lpCega | ERC-20 | 147.001937K | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21212821 | 3 hours ago | | | 0 | 0.0018820296 | |
| 21207326 | 21 hours ago | | | 0 | 0.00083493600 | |
| 21207186 | 21 hours ago | | | 0 | 0.00083493600 | |
| 21186602 | 4 days ago | | | 0 | 0.0027502960 | |
| 21170951 | 6 days ago | | | 0 | 0.0052916318 | |
| 21158697 | 8 days ago | | | 0 | 0.0025664619 | |
| 21158134 | 8 days ago | | | 0 | 0.0028511650 | |
| 21150975 | 9 days ago | | | 0 | 0.0012324832 | |
| 21147671 | 9 days ago | | | 0 | 0.00072060985 | |
| 21147128 | 9 days ago | | | 0 | 0.0011289597 |
ABI
ABI objects
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 vaultAddress) view returns (uint256 totalFee, uint256 managementFee, uint256 yieldFee)
calculateKnockInRatio(address vaultAddress) view returns (uint256 knockInRatio)
depositQueue(uint256) view returns (uint256 amount, address receiver)
getVaultMetadata(address vaultAddress) view returns (struct FCNVaultMetadata)
vaultAddresses(uint256) view returns (address)
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 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) 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 i)
rolloverVault(address vaultAddress)
sendAssetsToTrade(address vaultAddress, address receiver, uint256 amount)
setIsDepositQueueOpen(bool _isDepositQueueOpen)
setKnockInStatus(address vaultAddress, bool newState)
setManagementFeeBps(uint256 _managementFeeBps)
setMaxDepositAmountLimit(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)
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 amount)
FCNProductCreated(address indexed cegaState, address indexed asset, string name, uint256 managementFeeBps, uint256 yieldFeeBps, uint256 maxDepositAmountLimit, uint256 minDepositAmount, uint256 minWithdrawalAmount)
FeesCollected(address indexed vaultAddress, uint256 managementFee, uint256 yieldFee, uint256 totalFee, uint8 vaultStatus)
IsDepositQueueOpenUpdated(bool isDepositQueueOpen)
KnockInStatusUpdated(address indexed vaultAddress, bool isKnockIn)
ManagementFeeBpsUpdated(uint256 managementFeeBps)
MaxDepositAmountLimitUpdated(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)
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)
This contract contains no fallback and receive objects.
This contract contains no error objects.