BalancerPoolHelper
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
195
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 48 additional slots
Balances ($0.00)
No balances found for "BalancerPoolHelper"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "BalancerPoolHelper"
ABI
ABI objects
Getter at block 21310867 getPrice() view returns (uint256) getReserves() view returns (uint256 rdnt, uint256 weth, uint256 lpTokenSupply) getSwapFeePercentage() view returns (uint256 fee)
BALANCER_QUERIES() view returns (address)
0xe39b5e3b6d74016b2f6a9673d7d7493b6df549d5
BONE() view returns (uint256)
1000000000000000000
BPOW_PRECISION() view returns (uint256)
100000000
DAI_ADDRESS() view returns (address)
0xda10009cbd5d07dd0cecc66161fc93d7c9000da1
DAI_USDT_USDC_POOL_ID() view returns (bytes32)
0x1533a3278f3f9141d5f820a184ea4b017fce2382000000000000000000000016
EXIT_FEE() view returns (uint256)
0
INITIAL_SWAP_FEE_PERCENTAGE() view returns (uint256)
5000000000000000
INIT_POOL_SUPPLY() view returns (uint256)
100000000000000000000
MAX_BOUND_TOKENS() view returns (uint256)
8
MAX_BPOW_BASE() view returns (uint256)
1999999999999999999
MAX_FEE() view returns (uint256)
100000000000000000
MAX_IN_RATIO() view returns (uint256)
500000000000000000
MAX_OUT_RATIO() view returns (uint256)
333333333333333334
MAX_TOTAL_WEIGHT() view returns (uint256)
50000000000000000000
MAX_WEIGHT() view returns (uint256)
50000000000000000000
MIN_BALANCE() view returns (uint256)
1000000
MIN_BOUND_TOKENS() view returns (uint256)
2
MIN_BPOW_BASE() view returns (uint256)
1
MIN_FEE() view returns (uint256)
1000000000000
MIN_WEIGHT() view returns (uint256)
1000000000000000000
POOL_WEIGHT() view returns (uint256)
4
RDNT_WEIGHT() view returns (uint256)
800000000000000000
REAL_WETH_ADDR() view returns (address)
0x82af49447d8a07e3bd95bd0d56f35241523fbab1
USDC_ADDRESS() view returns (address)
0xff970a61a04b1ca14834a43f5de4533ebddb5cc8
USDT_ADDRESS() view returns (address)
0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9
WBTC_WETH_USDC_POOL_ID() view returns (bytes32)
0x64541216bafffeec8ea535bb71fbc927831d0595000100000000000000000002
WETH_WEIGHT() view returns (uint256)
200000000000000000
inTokenAddr() view returns (address)
0x0000000000000000000000000000000000000000
lockZap() view returns (address)
0x0000000000000000000000000000000000000000
lpTokenAddr() view returns (address)
0x0000000000000000000000000000000000000000
outTokenAddr() view returns (address)
0x0000000000000000000000000000000000000000
owner() view returns (address)
0x0000000000000000000000000000000000000000
poolFactory() view returns (address)
0x0000000000000000000000000000000000000000
poolId() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
vaultAddr() view returns (address)
0x0000000000000000000000000000000000000000
wethAddr() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
getLpPrice(uint256 rdntPriceInEth) view returns (uint256 priceInEth)
quoteFromToken(uint256 tokenAmount) view returns (uint256 optimalWETHAmount)
quoteSwap(address _inToken, uint256 _wethAmount) view returns (uint256 tokenAmount)
quoteWETH(uint256 lpAmount) view returns (uint256 wethAmount)
State-modifying
Events initialize(address _inTokenAddr, address _outTokenAddr, address _wethAddr, address _vault, address _poolFactory)
initializePool(string _tokenName, string _tokenSymbol)
renounceOwnership()
setLockZap(address _lockZap)
setSwapFeePercentage(uint256 _fee)
swapToWeth(address _inToken, uint256 _amount, uint256 _minAmountOut)
transferOwnership(address newOwner)
zapTokens(uint256 _wethAmt, uint256 _rdntAmt) returns (uint256 liquidity)
zapWETH(uint256 amount) returns (uint256 liquidity)
Initialized(uint8 version)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
constructor()
This contract contains no fallback and receive objects.
AddressZero()
IdenticalAddresses()
InsufficientPermission()
PoolExists()
QuoteFail()
ZeroAmount()