CellarInitializableV2_2
Verified contract
Implementation
Active on
Ethereum with 1 txns
Storage
Map
Table
Raw
Constants and immutables
9
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x138a…d3da
-
variable spans 1 additional slot
0x3051…9d08
7 additional
variables
Balances ($0.00)
No balances found for "CellarInitializableV2_2"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 16986067 | 2 years ago | | | 0 | 0.0092469500 |
ABI
ABI objects
Getter at block 21226477 totalAssets() view returns (uint256 assets) totalAssetsWithdrawable() view returns (uint256 assets)
DOMAIN_SEPARATOR() view returns (bytes32)
0x4c76e0e75871d3492a9ed4d80b2e733d28a0791d4d5c44a8cf1cabe1eeb1b9ba
GRAVITY_BRIDGE_REGISTRY_SLOT() view returns (uint256)
0
MAXIMUM_SHARE_LOCK_PERIOD() view returns (uint256)
172800
MAX_FEE_CUT() view returns (uint64)
1000000000000000000
MAX_PLATFORM_FEE() view returns (uint64)
200000000000000000
MAX_POSITIONS() view returns (uint256)
16
MAX_REBALANCE_DEVIATION() view returns (uint64)
100000000000000000
MINIMUM_SHARE_LOCK_PERIOD() view returns (uint256)
300
PRICE_ROUTER_REGISTRY_SLOT() view returns (uint256)
2
aavePool() view returns (address)
0x87870bca3f3fd6335c3f4ce8392d69350b4fa4e2
allowedRebalanceDeviation() view returns (uint256)
3000000000000000
asset() view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
blockExternalReceiver() view returns (bool)
false
decimals() view returns (uint8)
18
feeData() view returns (uint64 strategistPlatformCut, uint64 platformFee, uint64 lastAccrual, address strategistPayoutAddress)
(strategistPlatformCut=800000000000000000, platformFee=10000000000000000, lastAccrual=1680740519, strategistPayoutAddress=0x0000000000000000000000000000000000000000)
getCreditPositions() view returns (uint32[])
[101]
getDebtPositions() view returns (uint32[])
[]
getPositionAssets() view returns (address[] assets)
[0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2]
holdingPosition() view returns (uint32)
101
ignorePause() view returns (bool)
false
isPaused() view returns (bool)
false
isShutdown() view returns (bool)
false
locked() view returns (uint256)
1
name() view returns (string)
Production Implementation
owner() view returns (address)
0x0000000000000000000000000000000000000000
priceRouter() view returns (address)
0x138a6d8c49428d4c71dd7596571fbd4699c7d3da
registry() view returns (address)
0x3051e76a62da91d4ad6be6bd98d8ab26fdaf9d08
shareLockPeriod() view returns (uint256)
172800
symbol() view returns (string)
Prod Imp
totalSupply() view returns (uint256)
0
viewPositionBalances() view returns (address[] assets, uint256[] balances, bool[] isDebt)
(assets=[0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2], balances=[0], isDebt=[false])
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)
userShareLockStartTime(address) view returns (uint256)
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)
callOnAdaptor(struct CellarAdaptorCall[] data)
deposit(uint256 assets, address receiver) returns (uint256 shares)
executeOperation(address[] assets, uint256[] amounts, uint256[] premiums, address initiator, bytes params) returns (bool)
forcePositionOut(uint32 index, uint32 positionId, bool inDebtArray)
initialize(bytes params)
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)
redeem(uint256 shares, address receiver, address owner) returns (uint256 assets)
removeAdaptorFromCatalogue(address adaptor)
removePosition(uint32 index, bool inDebtArray)
removePositionFromCatalogue(uint32 positionId)
setHoldingPosition(uint32 positionId)
setRebalanceDeviation(uint256 newDeviation)
setShareLockPeriod(uint256 newLock)
setStrategistPayoutAddress(address payout)
setStrategistPlatformCut(uint64 cut)
swapPositions(uint32 index1, uint32 index2, bool inDebtArray)
toggleIgnorePause(bool toggle)
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)
Deposit(address indexed caller, address indexed owner, uint256 assets, uint256 shares)
Initialized(uint8 version)
OwnershipTransferred(address indexed user, address indexed newOwner)
PlatformFeeChanged(uint64 oldPlatformFee, uint64 newPlatformFee)
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)
ShareLockingPeriodChanged(uint256 oldPeriod, uint256 newPeriod)
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 _registry)
This contract contains no fallback and receive objects.
Cellar__AssetMismatch(address asset, address expectedAsset)
Cellar__CallToAdaptorNotAllowed(address adaptor)
Cellar__CallerNotAavePool()
Cellar__ContractNotShutdown()
Cellar__ContractShutdown()
Cellar__DebtMismatch(uint32 position)
Cellar__DepositRestricted(uint256 assets, uint256 maxDeposit)
Cellar__ExternalInitiator()
Cellar__IlliquidWithdraw(address illiquidPosition)
Cellar__IncompleteWithdraw(uint256 assetsOwed)
Cellar__InvalidFee()
Cellar__InvalidFeeCut()
Cellar__InvalidHoldingPosition(uint32 positionId)
Cellar__InvalidRebalanceDeviation(uint256 requested, uint256 max)
Cellar__InvalidShareLockPeriod()
Cellar__NotApprovedToDepositOnBehalf(address depositor)
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__SharesAreLocked(uint256 timeSharesAreUnlocked, uint256 currentBlock)
Cellar__TotalAssetDeviatedOutsideRange(uint256 assets, uint256 min, uint256 max)
Cellar__TotalSharesMustRemainConstant(uint256 current, uint256 expected)
Cellar__ZeroAssets()
Cellar__ZeroShares()