WeightedPool2Tokens
Verified contract
Active on
Ethereum with 236 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) |
---|---|---|---|---|---|---|---|
| 20677736 | 2 months ago | | | 0 | 0.00026067990 | |
| 20677717 | 2 months ago | | | 0 | 0.00025170153 | |
| 20677715 | 2 months ago | | | 0 | 0.00024330941 | |
| 20651346 | 3 months ago | | | 0 | 0.000061397693 | |
| 20553026 | 3 months ago | | | 0 | 0.000019524888 | |
| 20506510 | 3 months ago | | | 0 | 0.00012696868 | |
| 20447256 | 3 months ago | | | 0 | 0.000071734000 | |
| 20173460 | 5 months ago | | | 0 | 0.000058439725 | |
| 19810873 | 6 months ago | | | 0 | 0.00029147720 | |
| 18630709 | a year ago | | | 0 | 0.00075361000 |
ABI
ABI objects
Getter at block 21211505
DOMAIN_SEPARATOR() view returns (bytes32)
0xa46894e375a50c1eabfb64fd95c0c38cb73e50918209b83cfabc13cbd7f0cf51
decimals() pure returns (uint8)
18
getAuthorizer() view returns (address)
0x6048a8c631fb7e77eca533cf9c29784e482391e7
getInvariant() view returns (uint256)
10569498762716367106
getLargestSafeQueryWindow() pure returns (uint256)
122400
getLastInvariant() view returns (uint256)
10559741829879040068
getMiscData() view returns (int256 logInvariant, int256 logTotalSupply, uint256 oracleSampleCreationTimestamp, uint256 oracleIndex, bool oracleEnabled, uint256 swapFeePercentage)
(logInvariant=23570, logTotalSupply=29989, oracleSampleCreationTimestamp=1731804815, oracleIndex=358, oracleEnabled=true, swapFeePercentage=7500000000000000)
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)
0xefaa1604e82e1b3af8430b90192c1b9e8197e377000200000000000000000021
getRate() view returns (uint256)
1053577799810162521
getSwapFeePercentage() view returns (uint256)
7500000000000000
getTotalSamples() pure returns (uint256)
1024
getVault() view returns (address)
0xba12222222228d8ba445958a75a0704d566bf2c8
name() view returns (string)
Balancer 50 COMP 50 WETH
symbol() view returns (string)
B-50COMP-50WETH
totalSupply() view returns (uint256)
20064011911831889051
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.