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 and it is currently at block 21213262.

0xdec2157831d6abc3ec328291119cc91b337272b5

Verified contract

Proxy

Active on Ethereum with 1,082 txns
Deployed by via 0x2fbe9a8c at 12195714
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 48 additional slots
-
variable spans 48 additional slots
-
variable spans 12 additional slots
ERC-20
Value $972.9
ERC-20
--
0x21e03726d3c922442960e82b10c179cf2caae1a8c1b1ebd55c84d7635d829dc6
0x03b077ac7ac5c4eb1796a43951d9eda66654b4e435710bda83463df9af419c83
0x74040195373fad78424a32e9a7819918634e3d6cebbffbe591908b3708547412
0x4dcfdd2d5ebb681dee9387f7c15b3d9eba40585e5f3cd57d64bcbca64acc0e5f
0xb9b8f4e0848b94e612b504de3f76ae54b14530777d7b4af29671ac6419164a2e
From
0xdb29161a2d41fa8cae0b6140a7e68d289067bba06f0709f00af4a2bfc4280ea5
0x6a54f16564de58cb8b0fecd91fe92c791d07ba2119ff6b92af6dd825f26b5efc
0x107ccb997c83f49ca7aee6399dcc4aa7946bf8f365ef6610761c5c7eb5b05615
From
0xfa5406209826ada5acccd8da8778a31ae0979ba19709b7e3a822082cbf5ff697
0x3dd12a581cb69b3f11752dfe33d3ac1493e019fc7edfd0400dc58687bd05462c

Functions
Getter at block 21213591
MAX_BPS(view returns (uint256)
10000
flashLoanFeeBPS(view returns (uint256)
8
getA(view returns (uint256)
10
getAPrecise(view returns (uint256)
1000
 
getVirtualPrice(view returns (uint256)
owner(view returns (address)
0x3f8e527af4e0c6e763e8f368ac679c44c45626ae
paused(view returns (bool)
true
protocolFeeShareBPS(view returns (uint256)
0
swapStorage(view returns (uint256 initialAuint256 futureAuint256 initialATimeuint256 futureATimeuint256 swapFeeuint256 adminFeeuint256 defaultWithdrawFeeaddress lpToken)
(initialA=1000, futureA=1000, initialATime=0, futureATime=0, swapFee=4000000, adminFee=0, defaultWithdrawFee=0, lpToken=0xe37e2a01fea778bc1717d72bd9f018b6a6b241d5)
Read-only
calculateCurrentWithdrawFee(address userview returns (uint256)
calculateRemoveLiquidity(address accountuint256 amountview returns (uint256[])
calculateRemoveLiquidityOneToken(address accountuint256 tokenAmountuint8 tokenIndexview returns (uint256 availableTokenAmount)
calculateSwap(uint8 tokenIndexFromuint8 tokenIndexTouint256 dxview returns (uint256)
calculateTokenAmount(address accountuint256[] amountsbool depositview returns (uint256)
getAdminBalance(uint256 indexview returns (uint256)
getDepositTimestamp(address userview returns (uint256)
getToken(uint8 indexview returns (address)
getTokenBalance(uint8 indexview returns (uint256)
getTokenIndex(address tokenAddressview returns (uint8)
State-modifying
addLiquidity(uint256[] amountsuint256 minToMintuint256 deadlinereturns (uint256)
flashLoan(address receiveraddress tokenuint256 amountbytes params
initialize(address[] _pooledTokensuint8[] decimalsstring lpTokenNamestring lpTokenSymboluint256 _auint256 _feeuint256 _adminFeeuint256 _withdrawFee
pause(
rampA(uint256 futureAuint256 futureTime
removeLiquidity(uint256 amountuint256[] minAmountsuint256 deadlinereturns (uint256[])
removeLiquidityImbalance(uint256[] amountsuint256 maxBurnAmountuint256 deadlinereturns (uint256)
removeLiquidityOneToken(uint256 tokenAmountuint8 tokenIndexuint256 minAmountuint256 deadlinereturns (uint256)
renounceOwnership(
setAdminFee(uint256 newAdminFee
setDefaultWithdrawFee(uint256 newWithdrawFee
setFlashLoanFees(uint256 newFlashLoanFeeBPSuint256 newProtocolFeeShareBPS
setSwapFee(uint256 newSwapFee
stopRampA(
swap(uint8 tokenIndexFromuint8 tokenIndexTouint256 dxuint256 minDyuint256 deadlinereturns (uint256)
transferOwnership(address newOwner
unpause(
updateUserWithdrawFee(address recipientuint256 transferAmount
withdrawAdminFees(
Events
AddLiquidity(address indexed provideruint256[] tokenAmountsuint256[] feesuint256 invariantuint256 lpTokenSupply
FlashLoan(address indexed receiveruint8 tokenIndexuint256 amountuint256 amountFeeuint256 protocolFee
NewAdminFee(uint256 newAdminFee
NewSwapFee(uint256 newSwapFee
NewWithdrawFee(uint256 newWithdrawFee
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Paused(address account
RampA(uint256 oldAuint256 newAuint256 initialTimeuint256 futureTime
RemoveLiquidity(address indexed provideruint256[] tokenAmountsuint256 lpTokenSupply
RemoveLiquidityImbalance(address indexed provideruint256[] tokenAmountsuint256[] feesuint256 invariantuint256 lpTokenSupply
RemoveLiquidityOne(address indexed provideruint256 lpTokenAmountuint256 lpTokenSupplyuint256 boughtIduint256 tokensBought
StopRampA(uint256 currentAuint256 time
TokenSwap(address indexed buyeruint256 tokensSolduint256 tokensBoughtuint128 soldIduint128 boughtId
Unpaused(address account
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.