CellarInitializableV2_2

Verified contract

Implementation

Active on Ethereum with 1 txns
Deployed by via 0xefac44f3 at 16986064
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
7 additional variables

No balances found for "CellarInitializableV2_2"

0x3f534f76ac5481105996ad15ad2370a49c866190f05b6adff5c6fb0b8bedc98e
From

Functions
Getter at block 21226477
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 strategistPlatformCutuint64 platformFeeuint64 lastAccrualaddress 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
 
totalAssets(view returns (uint256 assets)
 
totalAssetsWithdrawable(view returns (uint256 assets)
totalSupply(view returns (uint256)
0
viewPositionBalances(view returns (address[] assetsuint256[] balancesbool[] isDebt)
(assets=[0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2], balances=[0], isDebt=[false])
Read-only
adaptorCatalogue(addressview returns (bool)
allowance(addressaddressview returns (uint256)
balanceOf(addressview returns (uint256)
convertToAssets(uint256 sharesview returns (uint256 assets)
convertToShares(uint256 assetsview returns (uint256 shares)
creditPositions(uint256view returns (uint32)
debtPositions(uint256view returns (uint32)
getPositionData(uint32view returns (address adaptorbool isDebtbytes adaptorDatabytes configurationData)
isPositionUsed(uint256view returns (bool)
maxDeposit(addressview returns (uint256)
maxMint(addressview returns (uint256)
maxRedeem(address ownerview returns (uint256)
maxWithdraw(address ownerview returns (uint256)
nonces(addressview returns (uint256)
positionCatalogue(uint32view returns (bool)
previewDeposit(uint256 assetsview returns (uint256 shares)
previewMint(uint256 sharesview returns (uint256 assets)
previewRedeem(uint256 sharesview returns (uint256 assets)
previewWithdraw(uint256 assetsview returns (uint256 shares)
userShareLockStartTime(addressview returns (uint256)
State-modifying
addAdaptorToCatalogue(address adaptor
addPosition(uint32 indexuint32 positionIdbytes configurationDatabool inDebtArray
addPositionToCatalogue(uint32 positionId
approve(address spenderuint256 amountreturns (bool)
cachePriceRouter(bool checkTotalAssetsuint16 allowableRange
callOnAdaptor(struct CellarAdaptorCall[] data
deposit(uint256 assetsaddress receiverreturns (uint256 shares)
executeOperation(address[] assetsuint256[] amountsuint256[] premiumsaddress initiatorbytes paramsreturns (bool)
forcePositionOut(uint32 indexuint32 positionIdbool inDebtArray
initialize(bytes params
initiateShutdown(
liftShutdown(
mint(uint256 sharesaddress receiverreturns (uint256 assets)
multicall(bytes[] data
onERC721Received(addressaddressuint256bytesreturns (bytes4)
permit(address owneraddress spenderuint256 valueuint256 deadlineuint8 vbytes32 rbytes32 s
redeem(uint256 sharesaddress receiveraddress ownerreturns (uint256 assets)
removeAdaptorFromCatalogue(address adaptor
removePosition(uint32 indexbool inDebtArray
removePositionFromCatalogue(uint32 positionId
setHoldingPosition(uint32 positionId
setRebalanceDeviation(uint256 newDeviation
setShareLockPeriod(uint256 newLock
setStrategistPayoutAddress(address payout
setStrategistPlatformCut(uint64 cut
swapPositions(uint32 index1uint32 index2bool inDebtArray
toggleIgnorePause(bool toggle
transfer(address touint256 amountreturns (bool)
transferFrom(address fromaddress touint256 amountreturns (bool)
transferOwnership(address newOwner
withdraw(uint256 assetsaddress receiveraddress ownerreturns (uint256 shares)
Events
AdaptorCalled(address adaptorbytes data
AdaptorCatalogueAltered(address adaptorbool inCatalogue
Approval(address indexed owneraddress indexed spenderuint256 amount
Deposit(address indexed calleraddress indexed owneruint256 assetsuint256 shares
Initialized(uint8 version
OwnershipTransferred(address indexed useraddress indexed newOwner
PlatformFeeChanged(uint64 oldPlatformFeeuint64 newPlatformFee
PositionAdded(uint32 positionuint256 index
PositionCatalogueAltered(uint32 positionIdbool inCatalogue
PositionRemoved(uint32 positionuint256 index
PositionSwapped(uint32 newPosition1uint32 newPosition2uint256 index1uint256 index2
RebalanceDeviationChanged(uint256 oldDeviationuint256 newDeviation
ShareLockingPeriodChanged(uint256 oldPerioduint256 newPeriod
ShutdownChanged(bool isShutdown
StrategistPayoutAddressChanged(address oldPayoutAddressaddress newPayoutAddress
StrategistPlatformCutChanged(uint64 oldPlatformCutuint64 newPlatformCut
Transfer(address indexed fromaddress indexed touint256 amount
Withdraw(address indexed calleraddress indexed receiveraddress indexed owneruint256 assetsuint256 shares
Constructor
constructor(address _registry
Fallback and receive

This contract contains no fallback and receive objects.

Errors
Cellar__AssetMismatch(address assetaddress expectedAsset
Cellar__CallToAdaptorNotAllowed(address adaptor
Cellar__CallerNotAavePool(
Cellar__ContractNotShutdown(
Cellar__ContractShutdown(
Cellar__DebtMismatch(uint32 position
Cellar__DepositRestricted(uint256 assetsuint256 maxDeposit
Cellar__ExternalInitiator(
Cellar__IlliquidWithdraw(address illiquidPosition
Cellar__IncompleteWithdraw(uint256 assetsOwed
Cellar__InvalidFee(
Cellar__InvalidFeeCut(
Cellar__InvalidHoldingPosition(uint32 positionId
Cellar__InvalidRebalanceDeviation(uint256 requesteduint256 max
Cellar__InvalidShareLockPeriod(
Cellar__NotApprovedToDepositOnBehalf(address depositor
Cellar__Paused(
Cellar__PositionAlreadyUsed(uint32 position
Cellar__PositionArrayFull(uint256 maxPositions
Cellar__PositionNotEmpty(uint32 positionuint256 sharesRemaining
Cellar__PositionNotInCatalogue(uint32 position
Cellar__PositionNotUsed(uint32 position
Cellar__RemovingHoldingPosition(
Cellar__SharesAreLocked(uint256 timeSharesAreUnlockeduint256 currentBlock
Cellar__TotalAssetDeviatedOutsideRange(uint256 assetsuint256 minuint256 max
Cellar__TotalSharesMustRemainConstant(uint256 currentuint256 expected
Cellar__ZeroAssets(
Cellar__ZeroShares(