WeightedPool2Tokens

Verified contract

Active on Ethereum with 269 txns
Deployed by via 0xd03d6c0f at 12369648
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
0x8d9798bc1e81c4c1ffee9987dfe139bc20fe7ea90d3addd72eeff43bf5332bb5
0x48612409a983717cf89c98b1929d3781f151a26787f46bb726ca95d121ee9e1e
0xc6ad2bcec357c44bdd72a4306d366bcda12ff73e9e511c43abf0a41278d88cc8
0x1d5ae363194ede27d80ae13a175966db2d017d9dea7caf1e6705b04f1f96fa29
0x95fda1b05def66fd7a8a04c3768fefbcef5150cbbbe983ec48071202b2849888
0x0b395c35cf67cac564225a240e4eefbdf45ad54c821b98c7e7174dc42302785a
0x2f695487ad0bee4f06365ea194d42e4bfb3a4bc02704d38595caf86c783eeb6f
0x289278b83a601632d5472b8468e613bbc67669b6518c03258a42122b3864e3b0
0x0c062cc440c6698c42671aa60e4e31f475a39b39cef1eda7880c840f79ca125d
0x7f740c61b42117847963645d70159d5f9599348a691b93474bbbfb628d9536c3

Functions
Getter at block 21410815
DOMAIN_SEPARATOR(view returns (bytes32)
0x81a0e4c0dc13467af4e540d7bb8b8575c279615597d8efad770ad78a99dd6bd8
decimals(pure returns (uint8)
18
getAuthorizer(view returns (address)
0x6048a8c631fb7e77eca533cf9c29784e482391e7
getInvariant(view returns (uint256)
1036265888111233511744
getLargestSafeQueryWindow(pure returns (uint256)
122400
getLastInvariant(view returns (uint256)
1036191953581024048874
getMiscData(view returns (int256 logInvariantint256 logTotalSupplyuint256 oracleSampleCreationTimestampuint256 oracleIndexbool oracleEnableduint256 swapFeePercentage)
(logInvariant=69433, logTotalSupply=75668, oracleSampleCreationTimestamp=1734296375, oracleIndex=931, oracleEnabled=true, swapFeePercentage=500000000000000)
getNormalizedWeights(view returns (uint256[])
[400000000000000000, 600000000000000000]
getOwner(view returns (address)
0xba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1b
getPausedState(view returns (bool pauseduint256 pauseWindowEndTimeuint256 bufferPeriodEndTime)
(paused=false, pauseWindowEndTime=1627668973, bufferPeriodEndTime=1630260973)
getPoolId(view returns (bytes32)
0x0b09dea16768f0799065c475be02919503cb2a3500020000000000000000001a
 
getRate(view returns (uint256)
getSwapFeePercentage(view returns (uint256)
500000000000000
getTotalSamples(pure returns (uint256)
1024
getVault(view returns (address)
0xba12222222228d8ba445958a75a0704d566bf2c8
name(view returns (string)
Balancer 60 WETH 40 DAI
symbol(view returns (string)
B-60WETH-40DAI
totalSupply(view returns (uint256)
1933006538312660066959
Read-only
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
getActionId(bytes4 selectorview returns (bytes32)
getLatest(uint8 variableview returns (uint256)
getPastAccumulators(struct IPriceOracleOracleAccumulatorQuery[] queriesview returns (int256[] results)
getSample(uint256 indexview returns (int256 logPairPriceint256 accLogPairPriceint256 logBptPriceint256 accLogBptPriceint256 logInvariantint256 accLogInvariantuint256 timestamp)
getTimeWeightedAverage(struct IPriceOracleOracleAverageQuery[] queriesview returns (uint256[] results)
nonces(address ownerview returns (uint256)
State-modifying
approve(address spenderuint256 amountreturns (bool)
decreaseApproval(address spenderuint256 amountreturns (bool)
enableOracle(
increaseApproval(address spenderuint256 amountreturns (bool)
onExitPool(bytes32 poolIdaddress senderaddress recipientuint256[] balancesuint256 lastChangeBlockuint256 protocolSwapFeePercentagebytes userDatareturns (uint256[]uint256[])
onJoinPool(bytes32 poolIdaddress senderaddress recipientuint256[] balancesuint256 lastChangeBlockuint256 protocolSwapFeePercentagebytes userDatareturns (uint256[] amountsInuint256[] dueProtocolFeeAmounts)
onSwap(struct IPoolSwapStructsSwapRequest requestuint256 balanceTokenInuint256 balanceTokenOutreturns (uint256)
permit(address owneraddress spenderuint256 valueuint256 deadlineuint8 vbytes32 rbytes32 s
queryExit(bytes32 poolIdaddress senderaddress recipientuint256[] balancesuint256 lastChangeBlockuint256 protocolSwapFeePercentagebytes userDatareturns (uint256 bptInuint256[] amountsOut)
queryJoin(bytes32 poolIdaddress senderaddress recipientuint256[] balancesuint256 lastChangeBlockuint256 protocolSwapFeePercentagebytes userDatareturns (uint256 bptOutuint256[] amountsIn)
setPaused(bool paused
setSwapFeePercentage(uint256 swapFeePercentage
transfer(address recipientuint256 amountreturns (bool)
transferFrom(address senderaddress recipientuint256 amountreturns (bool)
Events
Approval(address indexed owneraddress indexed spenderuint256 value
OracleEnabledChanged(bool enabled
PausedStateChanged(bool paused
SwapFeePercentageChanged(uint256 swapFeePercentage
Transfer(address indexed fromaddress indexed touint256 value
Constructor
constructor(struct WeightedPool2TokensNewPoolParams params
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.