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.

BRT2: vAMM AERO-BAVA

Verified contract

Proxy

Active on Base with 79,373 txns
Deployed by via 0xd1c67851 at 12543939
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
ERC-20
Value $0.49
ERC-20
Value $0.41
ERC-20
Value $0.29
ERC-20
Value $0.25
ERC-20
Value $0.07
ERC-20
Value $0.01
ERC-20
Value $0
ERC-20
Value $0
ERC-20
Value $0
ERC-20
Value $0
0xc0dd90c490a98794fb13a0caf9c93255b7f39f1efa46baded6ef8adebf3915c0
0xe78759f7fad801c151cab5e5e38d0705ab69dfd0e70ac7deb3d234da410bc4b8
0x0f5c309414dce692a4b4170403ea55012935b32a7ac7816709e013a9cfb40b94
0xb21d931f1a011ee6a158e4a9ec353615c868979ab9244426c179ffc8f386405d
0x4baf42339cbaa394329ae885f170952399402fe3bf1d3220d4ff7bf58df13370
0xac4ef226be0b0dfd525bc5f448388d124a810ef3625c2fff6ab765b20f2b5d6c
0x41ee72f8be6927a6e938e8c575fbea57c16abd586cccf811d5ba49bdc4494ab4
0x34b170160d65e73a534943588209f31d1436a29beabe77259f66fefd9827b87b
0x452f2d066785ae7c673ef9da20b08ccbb2e224107f04fe6651f4fa009dd6700a
0x188fe821acd2b95da45873dac82f6daafb2407f38988f1f2807d15328ec723ff

Functions
Getter at block 22882478
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
GOVERNOR_ROLE(view returns (bytes32)
0x474f5645524e4f525f524f4c4500000000000000000000000000000000000000
OPERATOR_ROLE(view returns (bytes32)
0x4f50455241544f525f524f4c4500000000000000000000000000000000000000
OWNER_ROLE(view returns (bytes32)
0x4f574e45525f524f4c4500000000000000000000000000000000000000000000
UPGRADE_INTERFACE_VERSION(view returns (string)
5.0.0
asset(view returns (address)
0xd3c2fa602b8da5b0b9c25dfbe7f2f31bb512db13
balanceOfPool(view returns (uint256)
1993764021677506435163529
 
checkReward(view returns (uint256)
cumulativeRewardPerToken(view returns (uint256)
16715491715017720151952737944582
decimals(view returns (uint8)
18
depositsEnabled(view returns (bool)
true
distributor(view returns (address)
0xe48c3ea37d4956580799d90a4601887d77a57d55
feeTreasury(view returns (address)
0x5c24b402b4b4550cf94227813f3547b94774c1cb
getFeesInfo(view returns (uint256uint256uint256)
(500, 50, 10)
minTokensToReinvest(view returns (uint256)
100000000000000000
name(view returns (string)
BRT2: vAMM AERO-BAVA
paused(view returns (bool)
false
poolRewardToken(view returns (address)
0x940181a94a35a4569e4529a3cdfb74e38fd98631
 
proxiableUUID(view returns (bytes32)
restakingEnabled(view returns (bool)
true
rewardToken(view returns (address)
0x77e74e7e92ecb9e921e7447c3fc35547e1c61f99
router(view returns (address)
0xcf77a3ba9a5ca399b7c97c74d54e5b1beb874e43
stable(view returns (bool)
false
stakingContract(view returns (address)
0xe3da183cdbbd0f01867605c632f1e275e7ed6e3d
stakingFarmID(view returns (uint256)
0
symbol(view returns (string)
BRT2 vAMM
totalAssets(view returns (uint256)
1993764021677506435163529
totalSupply(view returns (uint256)
316735844154231244986161
Read-only
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
bonusRewardTokens(uint256view returns (address)
claimable(address accountview returns (uint256)
convertToAssets(uint256 sharesview returns (uint256)
convertToShares(uint256 assetsview returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
maxDeposit(addressview returns (uint256)
maxMint(addressview returns (uint256)
maxRedeem(address ownerview returns (uint256)
maxWithdraw(address ownerview returns (uint256)
outputToLp0Route(uint256view returns (address fromaddress tobool stableaddress factory)
outputToLp1Route(uint256view returns (address fromaddress tobool stableaddress factory)
outputToNativeRoute(uint256view returns (address fromaddress tobool stableaddress factory)
previewDeposit(uint256 assetsview returns (uint256)
previewMint(uint256 sharesview returns (uint256)
previewRedeem(uint256 sharesview returns (uint256)
previewWithdraw(uint256 assetsview returns (uint256)
supportsInterface(bytes4 interfaceIdview returns (bool)
userInfo(addressview returns (uint256 claimableRewarduint256 previousCumulatedRewardPerToken)
State-modifying
approve(address spenderuint256 valuereturns (bool)
approveAllowances(uint256 _amount
claimReward(address receiverreturns (uint256)
compound(
deposit(uint256 _assetsaddress _receiverreturns (uint256)
emergencyRedeem(
emergencyWithdrawVault(bool disableDeposits
grantRole(bytes32 roleaddress account
initVault(address _stakingContractaddress _poolRewardTokenaddress[] _bonusRewardTokensaddress _routeraddress _feeTreasuryaddress _distributorstruct ISolidlyRouterRoute[] _outputToNativeRoutestruct ISolidlyRouterRoute[] _outputToLp0Routestruct ISolidlyRouterRoute[] _outputToLp1Route
initialize(address _assetaddress _owneraddress _governorstring name_string symbol_
mint(uint256 _sharesaddress _receiverreturns (uint256)
pause(
redeem(uint256 _sharesaddress _receiveraddress _ownerreturns (uint256)
renounceRole(bytes32 roleaddress callerConfirmation
rescueDeployedFunds(address tokenuint256 amountaddress _to
revokeRole(bytes32 roleaddress account
transfer(address touint256 valuereturns (bool)
transferFrom(address fromaddress touint256 valuereturns (bool)
unpause(
updateBonusReward(address[] _bonusRewardTokens
updateDepositsEnabled(bool newValue
updateDistributor(address _distributor
updateFeeBips(struct TypesStrategySettings _strategySettings
updateFeeTreasury(address _feeTreasury
updateRestakingEnabled(bool newValue
updateRewards(
updateRoute(struct ISolidlyRouterRoute[] _outputToNativeRoutestruct ISolidlyRouterRoute[] _outputToLp0Routestruct ISolidlyRouterRoute[] _outputToLp1Route
updateStackingGauge(address _stakingContract
upgradeToAndCall(address newImplementationbytes datapayable 
withdraw(uint256 _assetsaddress _receiveraddress _ownerreturns (uint256)
Events
Approval(address indexed owneraddress indexed spenderuint256 value
Claim(address indexed accountuint256 tokenAmount
Deposit(address indexed senderaddress indexed owneruint256 assetsuint256 shares
DepositsEnabled(bool newValue
EmergencyWithdraw(address indexed owneruint256 assetsuint256 shares
EmergencyWithdrawVault(address indexed ownerbool disableDeposits
Initialized(uint64 version
Paused(address account
RestakingEnabled(bool newValue
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Transfer(address indexed fromaddress indexed touint256 value
Unpaused(address account
Upgraded(address indexed implementation
Withdraw(address indexed senderaddress indexed receiveraddress indexed owneruint256 assetsuint256 shares
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors
AccessControlBadConfirmation(
AccessControlUnauthorizedAccount(address accountbytes32 neededRole
AddressEmptyCode(address target
AddressInsufficientBalance(address account
ERC1967InvalidImplementation(address implementation
ERC1967NonPayable(
ERC20InsufficientAllowance(address spenderuint256 allowanceuint256 needed
ERC20InsufficientBalance(address senderuint256 balanceuint256 needed
ERC20InvalidApprover(address approver
ERC20InvalidReceiver(address receiver
ERC20InvalidSender(address sender
ERC20InvalidSpender(address spender
ERC4626ExceededMaxDeposit(address receiveruint256 assetsuint256 max
ERC4626ExceededMaxMint(address receiveruint256 sharesuint256 max
ERC4626ExceededMaxRedeem(address owneruint256 sharesuint256 max
ERC4626ExceededMaxWithdraw(address owneruint256 assetsuint256 max
EnforcedPause(
ExpectedPause(
FailedInnerCall(
InvalidInitialization(
MathOverflowedMulDiv(
NotInitializing(
ReentrancyGuardReentrantCall(
SafeERC20FailedOperation(address token
UUPSUnauthorizedCallContext(
UUPSUnsupportedProxiableUUID(bytes32 slot