WeightedPool2Tokens
Verified contract
Active on
Ethereum with 16 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) |
---|---|---|---|---|---|---|---|
| 18497488 | a year ago | | | 0 | 0.00060968816 | |
| 15315862 | 2 years ago | | | 0 | 0.0016415456 | |
| 14735130 | 3 years ago | | | 0 | 0.0010291507 | |
| 14672999 | 3 years ago | | | 0 | 0.0023761131 | |
| 14653032 | 3 years ago | | | 0 | 0.0014652121 | |
| 14642757 | 3 years ago | | | 0 | 0.0015115880 | |
| 14615788 | 3 years ago | | | 0 | 0.0019131520 | |
| 14608163 | 3 years ago | | | 0 | 0.00075731927 | |
| 14602153 | 3 years ago | | | 0 | 0.00094913223 | |
| 14587124 | 3 years ago | | | 0 | 0.0013386213 |
ABI
ABI objects
Getter at block 21407394 getRate() view returns (uint256)
DOMAIN_SEPARATOR() view returns (bytes32)
0xb94d13dce9a8bf67227b273123e3bb9297ea6235b29042cfc0b01b70024a292d
decimals() pure returns (uint8)
18
getAuthorizer() view returns (address)
0x6048a8c631fb7e77eca533cf9c29784e482391e7
getInvariant() view returns (uint256)
423102691724465164149
getLargestSafeQueryWindow() pure returns (uint256)
122400
getLastInvariant() view returns (uint256)
416065496846325231046
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=4000000000000000)
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)
0xf5aaf7ee8c39b651cebf5f1f50c10631e78e0ef9000200000000000000000069
getSwapFeePercentage() view returns (uint256)
4000000000000000
getTotalSamples() pure returns (uint256)
1024
getVault() view returns (address)
0xba12222222228d8ba445958a75a0704d566bf2c8
name() view returns (string)
B-UMA-USDC
symbol() view returns (string)
BPTUMAUSDC
totalSupply() view returns (uint256)
792830293608003528347
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.