Bytecode-generated storage layout

We've generated a storage layout (with no variable labels) from this contract's bytecode. We've also started a backfill to track the inferred variables.

2TOP

Unverified contract

Proxy

Active on Base with 4 txns
Deployed by via 0xa35b800d at 17305795
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 44 additional slots
-
variable spans 48 additional slots
7 additional variables

No balances found for "2TOP"

0x9751cb7ed9b51c4ca3c0b9f7de60b4c226cc48b2c65b6359b2d8e9d75e431a70
0x799de0e1451d5fe365abc3751c1bf4d9f2d38db53eb23a4548c0b359b5221842
0xf48804eb589aeaead856817d272d5ff613918cc6309d5ac6105a61ad6773b71b
0x78e045ab2efcc09cd6cef7224eaae8f2c1b49067bc92dcb4a5e98260fc08ecdf

Functions
Getter at block 23714280
accessController(view returns (address)
0x38e5f26399243981a8187e6e6c5ea3b90b71b8b3
assetManagementConfig(view returns (address)
0xfb38970262e655ec4dd5093edd82311e586ae4d7
decimals(view returns (uint8)
18
feeModule(view returns (address)
0x1c9ec07b11785842fc44019e9702309888f54935
getTokens(view returns (address[])
[0x532f27101965dd16442E59d40670FaF5eBB142E4]
name(view returns (string)
2TOP
owner(view returns (address)
0xf93659fb357899e092813bc3a2959cedb3282a7f
permit2(view returns (address)
0x000000000022d473030f116ddee9f6b43ac78ba3
protocolConfig(view returns (address)
0x0490a477e4fc96392bdf1e2846e3230a1263a5d2
 
proxiableUUID(view returns (bytes32)
safeModule(view returns (address)
0x885a3b7ca97ae92fd2f0c41ffb68d444301bc29d
symbol(view returns (string)
2TOP
tokenExclusionManager(view returns (address)
0x6a5a6c200c3feca1384931d1998eb5b048f806d4
totalSupply(view returns (uint256)
1292685950360758704
vault(view returns (address)
0x0e5da4a7af999984881b5e19914dc7253acef9bb
Read-only
_lastDepositTime(addressview returns (uint256)
_lastWithdrawCooldown(addressview returns (uint256)
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
getTokenBalancesOf(address[] portfolioTokensaddress _vaultview returns (uint256[] vaultBalances)
getVaultValueInUSD(address _oracleaddress[] _tokensuint256 _totalSupplyaddress _vaultview returns (uint256 vaultValue)
userCooldownPeriod(addressview returns (uint256)
userLastDepositTime(addressview returns (uint256)
State-modifying
approve(address spenderuint256 amountreturns (bool)
claimRewardTokens(address _targetbytes _claimCalldata
decreaseAllowance(address spenderuint256 subtractedValuereturns (bool)
emergencyWithdrawal(uint256 _portfolioTokenAmountaddress[] _exemptionTokens
emergencyWithdrawalFor(address _withdrawForaddress _tokenReceiveruint256 _portfolioTokenAmountaddress[] _exemptionTokens
increaseAllowance(address spenderuint256 addedValuereturns (bool)
init(struct FunctionParametersPortfolioInitData initData
initToken(address[] _tokens
mintShares(address _touint256 _amount
multiTokenDeposit(uint256[] depositAmountsuint256 _minMintAmountstruct IAllowanceTransferPermitBatch _permitbytes _signature
multiTokenDepositFor(address _depositForuint256[] depositAmountsuint256 _minMintAmount
multiTokenWithdrawal(uint256 _portfolioTokenAmount
multiTokenWithdrawalFor(address _withdrawForaddress _tokenReceiveruint256 _portfolioTokenAmount
pullFromVault(address _tokenuint256 _amountaddress _to
renounceOwnership(
transfer(address touint256 amountreturns (bool)
transferFrom(address fromaddress touint256 amountreturns (bool)
transferOwnership(address newOwner
updateTokenList(address[] _tokens
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
Events
AdminChanged(address previousAdminaddress newAdmin
Approval(address indexed owneraddress indexed spenderuint256 value
BeaconUpgraded(address indexed beacon
Deposited(address indexed portfolioaddress indexed useruint256 indexed mintedAmountuint256 userBalanceAfterDeposit
Initialized(uint8 version
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
PublicSwapEnabled(address indexed portfolio
Transfer(address indexed fromaddress indexed touint256 value
Upgraded(address indexed implementation
UserDepositedAmounts(uint256[] depositedAmountsaddress[] portfolioTokens
Withdrawn(address indexed useruint256 indexed burnedAmountaddress indexed portfolioaddress[] portfolioTokensuint256 userBalanceAfterWithdrawaluint256[] userWithdrawalAmounts
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors
AlreadyInitialized(
AmountCannotBeZero(
BalanceOfVaultIsZero(
CallerNeedToMaintainMinTokenAmount(
CallerNotHavingGivenPortfolioTokenAmount(
CallerNotPortfolioManager(
CallerNotRebalancerContract(
CallerNotSuperAdmin(
ClaimFailed(
CoolDownPeriodNotPassed(
DivisionByZero(
InsufficientAllowance(
InvalidAddress(
InvalidCastToUint160(
InvalidDepositInputLength(
InvalidExemptionTokens(
InvalidExemptionTokensLength(
InvalidMintAmount(
InvalidSpender(
InvalidTokenAddress(
MintedAmountIsNotAccepted(
PortfolioTokenNotInitialized(
ProtocolIsPaused(
TokenAlreadyExist(
TokenCountOutOfLimit(uint256 limit
TokenNotEnabled(
TokenNotWhitelisted(
TransferFailed(
Transferprohibited(
UserNotAllowedToDeposit(
WithdrawalAmountIsSmall(