WeightedPool2Tokens
Verified contract
Active on
Ethereum with 172 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
No balances found for "WeightedPool2Tokens"
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 20553053 | 4 months ago | | | 0 | 0.000021424634 | |
| 20411059 | 5 months ago | | | 0 | 0.000069264616 | |
| 20411054 | 5 months ago | | | 0 | 0.000073174349 | |
| 19498746 | 9 months ago | | | 0 | 0.0012416637 | |
| 18912518 | a year ago | | | 0 | 0.00040393652 | |
| 18594439 | a year ago | | | 0 | 0.00072014719 | |
| 18497484 | a year ago | | | 0 | 0.00056453928 | |
| 18483185 | a year ago | | | 0 | 0.00077570341 | |
| 17708407 | a year ago | | | 0 | 0.00032598740 | |
| 17109768 | 2 years ago | | | 0 | 0.0027462462 |
ABI
ABI objects
Getter at block 21410787 getRate() view returns (uint256)
DOMAIN_SEPARATOR() view returns (bytes32)
0x1e1a190bf5ec6be9f94f6c041f7843088ae0eec10108e31fb81aa5b56a61bb52
decimals() pure returns (uint8)
18
getAuthorizer() view returns (address)
0x6048a8c631fb7e77eca533cf9c29784e482391e7
getInvariant() view returns (uint256)
2892973459224399354016
getLargestSafeQueryWindow() pure returns (uint256)
122400
getLastInvariant() view returns (uint256)
2849060228213662290658
getMiscData() view returns (int256 logInvariant, int256 logTotalSupply, uint256 oracleSampleCreationTimestamp, uint256 oracleIndex, bool oracleEnabled, uint256 swapFeePercentage)
(logInvariant=79547, logTotalSupply=84902, oracleSampleCreationTimestamp=1734300251, oracleIndex=287, oracleEnabled=true, swapFeePercentage=10000000000000000)
getNormalizedWeights() view returns (uint256[])
[500000000000000000, 500000000000000000]
getOwner() view returns (address)
0xba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1b
getPausedState() view returns (bool paused, uint256 pauseWindowEndTime, uint256 bufferPeriodEndTime)
(paused=false, pauseWindowEndTime=1627668973, bufferPeriodEndTime=1630260973)
getPoolId() view returns (bytes32)
0x072f14b85add63488ddad88f855fda4a99d6ac9b000200000000000000000027
getSwapFeePercentage() view returns (uint256)
10000000000000000
getTotalSamples() pure returns (uint256)
1024
getVault() view returns (address)
0xba12222222228d8ba445958a75a0704d566bf2c8
name() view returns (string)
Balancer 50 SNX 50 WETH
symbol() view returns (string)
B-50SNX-50WETH
totalSupply() view returns (uint256)
4866651761414215440092
Read-only
allowance(address owner, address spender) view returns (uint256)
balanceOf(address account) view returns (uint256)
getActionId(bytes4 selector) view returns (bytes32)
getLatest(uint8 variable) view returns (uint256)
getPastAccumulators(struct IPriceOracleOracleAccumulatorQuery[] queries) view returns (int256[] results)
getSample(uint256 index) view returns (int256 logPairPrice, int256 accLogPairPrice, int256 logBptPrice, int256 accLogBptPrice, int256 logInvariant, int256 accLogInvariant, uint256 timestamp)
getTimeWeightedAverage(struct IPriceOracleOracleAverageQuery[] queries) view returns (uint256[] results)
nonces(address owner) view returns (uint256)
State-modifying
Events approve(address spender, uint256 amount) returns (bool)
decreaseApproval(address spender, uint256 amount) returns (bool)
enableOracle()
increaseApproval(address spender, uint256 amount) returns (bool)
onExitPool(bytes32 poolId, address sender, address recipient, uint256[] balances, uint256 lastChangeBlock, uint256 protocolSwapFeePercentage, bytes userData) returns (uint256[], uint256[])
onJoinPool(bytes32 poolId, address sender, address recipient, uint256[] balances, uint256 lastChangeBlock, uint256 protocolSwapFeePercentage, bytes userData) returns (uint256[] amountsIn, uint256[] dueProtocolFeeAmounts)
onSwap(struct IPoolSwapStructsSwapRequest request, uint256 balanceTokenIn, uint256 balanceTokenOut) returns (uint256)
permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s)
queryExit(bytes32 poolId, address sender, address recipient, uint256[] balances, uint256 lastChangeBlock, uint256 protocolSwapFeePercentage, bytes userData) returns (uint256 bptIn, uint256[] amountsOut)
queryJoin(bytes32 poolId, address sender, address recipient, uint256[] balances, uint256 lastChangeBlock, uint256 protocolSwapFeePercentage, bytes userData) returns (uint256 bptOut, uint256[] amountsIn)
setPaused(bool paused)
setSwapFeePercentage(uint256 swapFeePercentage)
transfer(address recipient, uint256 amount) returns (bool)
transferFrom(address sender, address recipient, uint256 amount) returns (bool)
Approval(address indexed owner, address indexed spender, uint256 value)
OracleEnabledChanged(bool enabled)
PausedStateChanged(bool paused)
SwapFeePercentageChanged(uint256 swapFeePercentage)
Transfer(address indexed from, address indexed to, uint256 value)
constructor(struct WeightedPool2TokensNewPoolParams params)
This contract contains no fallback and receive objects.
This contract contains no error objects.