WeightedPool2Tokens
Verified contract
Active on
Ethereum with 71 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) |
---|---|---|---|---|---|---|---|
| 20553048 | 4 months ago | | | 0 | 0.000021271399 | |
| 20506454 | 4 months ago | | | 0 | 0.00012553864 | |
| 19870085 | 7 months ago | | | 0 | 0.00042165455 | |
| 18497484 | a year ago | | | 0 | 0.00056453928 | |
| 15873770 | 2 years ago | | | 0 | 0.00042039166 | |
| 15736486 | 2 years ago | | | 0 | 0.00070633051 | |
| 15630792 | 2 years ago | | | 0 | 0.00071351137 | |
| 15620972 | 2 years ago | | | 0 | 0.00039302149 | |
| 15619749 | 2 years ago | | | 0 | 0.00073196172 | |
| 15575890 | 2 years ago | | | 0 | 0.00065865896 |
ABI
ABI objects
Getter at block 21410787 getRate() view returns (uint256)
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 logInvariant, int256 logTotalSupply, uint256 oracleSampleCreationTimestamp, uint256 oracleIndex, bool oracleEnabled, uint256 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 paused, uint256 pauseWindowEndTime, uint256 bufferPeriodEndTime)
(paused=false, pauseWindowEndTime=1627668973, bufferPeriodEndTime=1630260973)
getPoolId() view returns (bytes32)
0xa02e4b3d18d4e6b8d18ac421fbc3dfff8933c40a00020000000000000000004b
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 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.