BalancerPoolHelper

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x1f7121fa at 18466407
Slot
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

No balances found for "BalancerPoolHelper"

No transactions found for "BalancerPoolHelper"


Functions
Getter at block 21310867
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
 
getPrice(view returns (uint256)
 
getReserves(view returns (uint256 rdntuint256 wethuint256 lpTokenSupply)
 
getSwapFeePercentage(view returns (uint256 fee)
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 rdntPriceInEthview returns (uint256 priceInEth)
quoteFromToken(uint256 tokenAmountview returns (uint256 optimalWETHAmount)
quoteSwap(address _inTokenuint256 _wethAmountview returns (uint256 tokenAmount)
quoteWETH(uint256 lpAmountview returns (uint256 wethAmount)
State-modifying
initialize(address _inTokenAddraddress _outTokenAddraddress _wethAddraddress _vaultaddress _poolFactory
initializePool(string _tokenNamestring _tokenSymbol
renounceOwnership(
setLockZap(address _lockZap
setSwapFeePercentage(uint256 _fee
swapToWeth(address _inTokenuint256 _amountuint256 _minAmountOut
transferOwnership(address newOwner
zapTokens(uint256 _wethAmtuint256 _rdntAmtreturns (uint256 liquidity)
zapWETH(uint256 amountreturns (uint256 liquidity)
Events
Initialized(uint8 version
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AddressZero(
IdenticalAddresses(
InsufficientPermission(
PoolExists(
QuoteFail(
ZeroAmount(