WeightedPool2Tokens
Verified contract
Active on
Ethereum with 6,708 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) |
---|---|---|---|---|---|---|---|
| 21214604 | 2 hours ago | | | 0 | 0.00057421823 | |
| 21200307 | 2 days ago | | | 0 | 0.00060927184 | |
| 21199300 | 2 days ago | | | 0 | 0.00038866620 | |
| 21197065 | 3 days ago | | | 0 | 0.00068576694 | |
| 21194174 | 3 days ago | | | 0 | 0.0013835632 | |
| 21177197 | 5 days ago | | | 0 | 0.0010628913 | |
| 21163032 | 7 days ago | | | 0 | 0.0010692684 | |
| 21153393 | 9 days ago | | | 0 | 0.00034879835 | |
| 21147298 | 9 days ago | | | 0 | 0.00042907521 | |
| 21136231 | 11 days ago | | | 0 | 0.00057484360 |
ABI
ABI objects
Getter at block 21215052 getRate() view returns (uint256)
DOMAIN_SEPARATOR() view returns (bytes32)
0x1575652e6425492e8825412c139a1146413139599b4282f13a90279d1fe0d79f
decimals() pure returns (uint8)
18
getAuthorizer() view returns (address)
0x6048a8c631fb7e77eca533cf9c29784e482391e7
getInvariant() view returns (uint256)
3484778229532336118028963
getLargestSafeQueryWindow() pure returns (uint256)
122400
getLastInvariant() view returns (uint256)
3484755416585807085226523
getMiscData() view returns (int256 logInvariant, int256 logTotalSupply, uint256 oracleSampleCreationTimestamp, uint256 oracleIndex, bool oracleEnabled, uint256 swapFeePercentage)
(logInvariant=150639, logTotalSupply=157273, oracleSampleCreationTimestamp=1731935771, oracleIndex=1005, oracleEnabled=true, swapFeePercentage=5000000000000000)
getNormalizedWeights() view returns (uint256[])
[800000000000000000, 200000000000000000]
getOwner() view returns (address)
0xba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1b
getPausedState() view returns (bool paused, uint256 pauseWindowEndTime, uint256 bufferPeriodEndTime)
(paused=false, pauseWindowEndTime=1627668973, bufferPeriodEndTime=1630260973)
getPoolId() view returns (bytes32)
0x5c6ee304399dbdb9c8ef030ab642b10820db8f56000200000000000000000014
getSwapFeePercentage() view returns (uint256)
5000000000000000
getTotalSamples() pure returns (uint256)
1024
getVault() view returns (address)
0xba12222222228d8ba445958a75a0704d566bf2c8
name() view returns (string)
Balancer 80 BAL 20 WETH
symbol() view returns (string)
B-80BAL-20WETH
totalSupply() view returns (uint256)
6765040404737077193365148
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.