CellarWithOracleWithBalancerFlashLoans
Verified contract
Active on
Ethereum with 440 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0xa1a0…af92
-
variable spans 1 additional slot
0x8374…8a9a
Balances ($52,107.05)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
aEthUSDC | ERC-20 | 40.634313K | $0.999975 |
$40,633.3 | |
USDC | ERC-20 | 11.448774K | $1.002 |
$11,471.67 | |
CVX | ERC-20 | 0.409791 | $5.04 |
$2.07 | |
CRV | ERC-20 | 0.023519 | $0.756884 |
$0.02 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21315963 | 2 hours ago | | | 0 | 0.0063767282 | |
| 21313326 | 11 hours ago | | | 0 | 0.0019176577 | |
| 21312163 | 15 hours ago | | | 0 | 0.0023108937 | |
| 21310057 | a day ago | | | 0 | 0.0048831198 | |
| 21299885 | 2 days ago | | | 0 | 0.0010289973 | |
| 21298270 | 3 days ago | | | 0 | 0.00086821309 | |
| 21295263 | 3 days ago | | | 0 | 0.0018565360 | |
| 21294072 | 3 days ago | | | 0 | 0.0027587123 | |
| 21292861 | 3 days ago | | | 0 | 0.0011977868 | |
| 21284685 | 4 days ago | | | 0 | 0.0011517160 |
ABI
ABI objects
Getter at block 21316519 totalAssets() view returns (uint256 assets) totalAssetsWithdrawable() view returns (uint256 assets) viewPositionBalances() view returns (address[] assets, uint256[] balances, bool[] isDebt)
DOMAIN_SEPARATOR() view returns (bytes32)
0x0db495b8b545400a69ccfe667b6a8e41b6811f86b197fb558ec3411ef566e40e
GRAVITY_BRIDGE_REGISTRY_SLOT() view returns (uint256)
0
MAX_FEE_CUT() view returns (uint64)
1000000000000000000
MAX_PLATFORM_FEE() view returns (uint64)
200000000000000000
MAX_POSITIONS() view returns (uint256)
32
MAX_REBALANCE_DEVIATION() view returns (uint64)
100000000000000000
ORACLE_DECIMALS() view returns (uint8)
18
PRICE_ROUTER_REGISTRY_SLOT() view returns (uint256)
2
allowedRebalanceDeviation() view returns (uint256)
3000000000000000
asset() view returns (address)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
automationActions() view returns (address)
0x0000000000000000000000000000000000000000
balancerVault() view returns (address)
0xba12222222228d8ba445958a75a0704d566bf2c8
blockExternalReceiver() view returns (bool)
false
decimals() view returns (uint8)
6
feeData() view returns (uint64 strategistPlatformCut, uint64 platformFee, uint64 lastAccrual, address strategistPayoutAddress)
(strategistPlatformCut=850000000000000000, platformFee=10000000000000000, lastAccrual=0, strategistPayoutAddress=0xa9962a5bfbea6918e958dee0647e99fd7863b95a)
getCreditPositions() view returns (uint32[])
[3, 13, 6500001, 6000001, 2000001, 500001]
getDebtPositions() view returns (uint32[])
[]
holdingPosition() view returns (uint32)
3
ignorePause() view returns (bool)
false
isPaused() view returns (bool)
false
isShutdown() view returns (bool)
false
locked() view returns (bool)
false
name() view returns (string)
Yield Maxi USD
owner() view returns (address)
0x69592e6f9d21989a043646fe8225da2600e5a0f7
priceRouter() view returns (address)
0xa1a0bc3d59e4ee5840c9530e49bdc2d1f88aaf92
registry() view returns (address)
0xeed68c267e9313a6ed6ee08de08c9f68dee44476
sharePriceOracle() view returns (address)
0x837412832eb4b4741b86a358493ed26be16f8a9a
shareSupplyCap() view returns (uint192)
6277101735386680763835789423207666416102355444464034512895
symbol() view returns (string)
YieldMaxiUSD
totalSupply() view returns (uint256)
144809288583
Read-only
adaptorCatalogue(address) view returns (bool)
allowance(address, address) view returns (uint256)
balanceOf(address) view returns (uint256)
convertToAssets(uint256 shares) view returns (uint256 assets)
convertToShares(uint256 assets) view returns (uint256 shares)
creditPositions(uint256) view returns (uint32)
debtPositions(uint256) view returns (uint32)
getPositionData(uint32) view returns (address adaptor, bool isDebt, bytes adaptorData, bytes configurationData)
isPositionUsed(uint256) view returns (bool)
maxDeposit(address) view returns (uint256)
maxMint(address) view returns (uint256)
maxRedeem(address owner) view returns (uint256)
maxWithdraw(address owner) view returns (uint256)
nonces(address) view returns (uint256)
positionCatalogue(uint32) view returns (bool)
previewDeposit(uint256 assets) view returns (uint256 shares)
previewMint(uint256 shares) view returns (uint256 assets)
previewRedeem(uint256 shares) view returns (uint256 assets)
previewWithdraw(uint256 assets) view returns (uint256 shares)
State-modifying
Events addAdaptorToCatalogue(address adaptor)
addPosition(uint32 index, uint32 positionId, bytes configurationData, bool inDebtArray)
addPositionToCatalogue(uint32 positionId)
approve(address spender, uint256 amount) returns (bool)
cachePriceRouter(bool checkTotalAssets, uint16 allowableRange, address expectedPriceRouter)
callOnAdaptor(struct CellarAdaptorCall[] data)
decreaseShareSupplyCap(uint192 _newShareSupplyCap)
deposit(uint256 assets, address receiver) returns (uint256 shares)
forcePositionOut(uint32 index, uint32 positionId, bool inDebtArray)
increaseShareSupplyCap(uint192 _newShareSupplyCap)
initiateShutdown()
liftShutdown()
mint(uint256 shares, address receiver) returns (uint256 assets)
multicall(bytes[] data)
onERC721Received(address, address, uint256, bytes) returns (bytes4)
permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s)
receiveFlashLoan(address[] tokens, uint256[] amounts, uint256[] feeAmounts, bytes userData)
redeem(uint256 shares, address receiver, address owner) returns (uint256 assets)
removeAdaptorFromCatalogue(address adaptor)
removePosition(uint32 index, bool inDebtArray)
removePositionFromCatalogue(uint32 positionId)
setAutomationActions(uint256 _registryId, address _expectedAutomationActions)
setHoldingPosition(uint32 positionId)
setRebalanceDeviation(uint256 newDeviation)
setSharePriceOracle(uint256 _registryId, address _sharePriceOracle)
setStrategistPayoutAddress(address payout)
setStrategistPlatformCut(uint64 cut)
swapPositions(uint32 index1, uint32 index2, bool inDebtArray)
toggleIgnorePause()
transfer(address to, uint256 amount) returns (bool)
transferFrom(address from, address to, uint256 amount) returns (bool)
transferOwnership(address newOwner)
withdraw(uint256 assets, address receiver, address owner) returns (uint256 shares)
AdaptorCalled(address adaptor, bytes data)
AdaptorCatalogueAltered(address adaptor, bool inCatalogue)
Approval(address indexed owner, address indexed spender, uint256 amount)
Cellar__AutomationActionsUpdated(address newAutomationActions)
Deposit(address indexed caller, address indexed owner, uint256 assets, uint256 shares)
OwnershipTransferred(address indexed user, address indexed newOwner)
PositionAdded(uint32 position, uint256 index)
PositionCatalogueAltered(uint32 positionId, bool inCatalogue)
PositionRemoved(uint32 position, uint256 index)
PositionSwapped(uint32 newPosition1, uint32 newPosition2, uint256 index1, uint256 index2)
RebalanceDeviationChanged(uint256 oldDeviation, uint256 newDeviation)
SharePriceOracleUpdated(address newOracle)
ShutdownChanged(bool isShutdown)
StrategistPayoutAddressChanged(address oldPayoutAddress, address newPayoutAddress)
StrategistPlatformCutChanged(uint64 oldPlatformCut, uint64 newPlatformCut)
Transfer(address indexed from, address indexed to, uint256 amount)
Withdraw(address indexed caller, address indexed receiver, address indexed owner, uint256 assets, uint256 shares)
constructor(address _owner, address _registry, address _asset, string _name, string _symbol, uint32 _holdingPosition, bytes _holdingPositionConfig, uint256 _initialDeposit, uint64 _strategistPlatformCut, uint192 _shareSupplyCap, address _balancerVault)
This contract contains no fallback and receive objects.
Cellar__AssetMismatch(address asset, address expectedAsset)
Cellar__CallToAdaptorNotAllowed(address adaptor)
Cellar__CallerNotApprovedToRebalance()
Cellar__CallerNotBalancerVault()
Cellar__ContractNotShutdown()
Cellar__ContractShutdown()
Cellar__DebtMismatch(uint32 position)
Cellar__ExpectedAddressDoesNotMatchActual()
Cellar__ExternalInitiator()
Cellar__FailedToForceOutPosition()
Cellar__IlliquidWithdraw(address illiquidPosition)
Cellar__IncompleteWithdraw(uint256 assetsOwed)
Cellar__InvalidFee()
Cellar__InvalidFeeCut()
Cellar__InvalidHoldingPosition(uint32 positionId)
Cellar__InvalidRebalanceDeviation(uint256 requested, uint256 max)
Cellar__InvalidShareSupplyCap()
Cellar__MinimumConstructorMintNotMet()
Cellar__OracleFailure()
Cellar__Paused()
Cellar__PositionAlreadyUsed(uint32 position)
Cellar__PositionArrayFull(uint256 maxPositions)
Cellar__PositionNotEmpty(uint32 position, uint256 sharesRemaining)
Cellar__PositionNotInCatalogue(uint32 position)
Cellar__PositionNotUsed(uint32 position)
Cellar__RemovingHoldingPosition()
Cellar__SettingValueToRegistryIdZeroIsProhibited()
Cellar__ShareSupplyCapExceeded()
Cellar__TotalAssetDeviatedOutsideRange(uint256 assets, uint256 min, uint256 max)
Cellar__TotalSharesMustRemainConstant(uint256 current, uint256 expected)
Cellar__ZeroAssets()
Cellar__ZeroShares()