WeightedPool2Tokens

Verified contract

Active on Ethereum with 71 txns
Deployed by via 0xd790892e at 12653759
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "WeightedPool2Tokens"

0xa157ea1093c9ba904e69481dfbbc1b0f170d032593998f502dc2c37685654c22
0x3ebf30d975df0c691d3b6191dbc74d00cd2874e03db8302db9008a0b8c16b9da
0x855ff2ad21cf9e5719484c4dfa0af7abda218dda73b595d3e59f9ee4dca78f17
0x1d5db1bf56e4759d26040e86afabf70387f1a323da3b5ebb9f8c91672b78deb4
0xee9fc2847a7c08ec215528dd550af8e0b49f61b8d136abb1fa2ab96f61c8a69d
0xe21ef35255f96e90eee845a368f5357f5c4ffaa129892bc182f021c445473cc4
0x49a59f91b4baf1730afc22a41ce5fd7717d1728df956461ac1f37a306bc2ca49
0xc9fbc104474ff4425315bde882933ad07a8a12f2c5f1a2a415eee5bccbd35cc5
0xd9c0206ccc3f0a79a96c97b6c61e104b6050872d8f64a7e58494689416403633
0xd3a87fd095d6c120f864650ad473a2229c01ecd3e79d519f8a855679bb6ba0f6

Functions
Getter at block 21410787
DOMAIN_SEPARATOR(view returns (bytes32)
0x18f0459f6256a32afde4028109014f4869f35c3427f5bb472f2465d5d90dd54b
decimals(pure returns (uint8)
18
getAuthorizer(view returns (address)
0x6048a8c631fb7e77eca533cf9c29784e482391e7
getInvariant(view returns (uint256)
412508145601593312885
getLargestSafeQueryWindow(pure returns (uint256)
122400
getLastInvariant(view returns (uint256)
410850440938907673677
getMiscData(view returns (int256 logInvariantint256 logTotalSupplyuint256 oracleSampleCreationTimestampuint256 oracleIndexbool oracleEnableduint256 swapFeePercentage)
(logInvariant=0, logTotalSupply=0, oracleSampleCreationTimestamp=0, oracleIndex=0, oracleEnabled=false, swapFeePercentage=2500000000000000)
getNormalizedWeights(view returns (uint256[])
[500000000000000000, 500000000000000000]
getOwner(view returns (address)
0xba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1b
getPausedState(view returns (bool pauseduint256 pauseWindowEndTimeuint256 bufferPeriodEndTime)
(paused=false, pauseWindowEndTime=1627668973, bufferPeriodEndTime=1630260973)
getPoolId(view returns (bytes32)
0xa02e4b3d18d4e6b8d18ac421fbc3dfff8933c40a00020000000000000000004b
 
getRate(view returns (uint256)
getSwapFeePercentage(view returns (uint256)
2500000000000000
getTotalSamples(pure returns (uint256)
1024
getVault(view returns (address)
0xba12222222228d8ba445958a75a0704d566bf2c8
name(view returns (string)
Balancer 50 MATIC 50 WETH
symbol(view returns (string)
B-50MATIC-50WETH
totalSupply(view returns (uint256)
787623149799031536643
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.