Value Liquidity Provider

Verified contract

Active on Ethereum with 777 txns
Deployed by via 0x69bd9439 at 10962514
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $1,047.05
ERC-20
Value $173.57
ERC-20
--
0x5ff633410939f8f793015ab647d2b97f993029116b2a800a8934893a50a71c29
0x52f993c1579b4938ff2bc5ce49d58b833970be6b1a4318e9914b35c9fbce35d7
0xf408bad0ada2fa1148a2200404f53a3d2378af1697330bf33949ca8c879cf851
0x163476c013763edee842f3e32b904e6c433f31602e49d366185a8e6cbbbcdfe2
0x871138e904a953edf52186d16f70b1689208d39d9366ca3763b928a159ad1550
0x2d6928fa86bc0d7e6b3e8c24bb716787e10b6c46d0978693dc23a55553b50581
0xe479b59998241bd54384c0320e359f269e2a54f17d59945f0c7771dc02555e8b
0x15b79adb7fdff575f2ce2299f2f0db1b963f71d45940328759a5a0bfefbddc7e
0xbb22fc3eb90e7dad976407bf8badf6a65ab9381101012f988df8aa159228eef8
0xb78da1b183a74d81acae20677a66118bf98f2277caa64cc238a8a21132366268
From

Functions
Getter at block 21188365
collectedFee(view returns (uint256)
1000000000000000
controller(view returns (address)
0xbb63aca7ac4d77cb336c63c06ef1b317a663f4cd
decimals(view returns (uint8)
18
exitFee(view returns (uint256)
0
factory(view returns (address)
0xebc44681c125d63210a33d30c55fd3d37762675b
finalized(view returns (bool)
true
getCurrentTokens(view returns (address[] tokens)
[0x6B175474E89094C44Da98b954EedeAC495271d0F, 0x49E833337ECe7aFE375e44F4E3e8481029218E5c]
getFinalTokens(view returns (address[] tokens)
[0x6B175474E89094C44Da98b954EedeAC495271d0F, 0x49E833337ECe7aFE375e44F4E3e8481029218E5c]
getNumTokens(view returns (uint256)
2
getTotalDenormalizedWeight(view returns (uint256)
50000000000000000000
initPoolSupply(view returns (uint256)
100000000000000000000
name(view returns (string)
Value Liquidity Provider
publicSwap(view returns (bool)
true
swapFee(view returns (uint256)
3000000000000000
symbol(view returns (string)
VLP
totalSupply(view returns (uint256)
384066894374415417458
version(view returns (uint256)
1001
Read-only
allowance(address srcaddress dstview returns (uint256)
balanceOf(address whomview returns (uint256)
calcInGivenOut(uint256 tokenBalanceInuint256 tokenWeightInuint256 tokenBalanceOutuint256 tokenWeightOutuint256 tokenAmountOutuint256 swapFeepure returns (uint256 tokenAmountIn)
calcOutGivenIn(uint256 tokenBalanceInuint256 tokenWeightInuint256 tokenBalanceOutuint256 tokenWeightOutuint256 tokenAmountInuint256 swapFeepure returns (uint256 tokenAmountOut)
calcPoolInGivenSingleOut(uint256 tokenBalanceOutuint256 tokenWeightOutuint256 poolSupplyuint256 totalWeightuint256 tokenAmountOutuint256 swapFeeuint256 exitFeepure returns (uint256 poolAmountIn)
calcPoolOutGivenSingleIn(uint256 tokenBalanceInuint256 tokenWeightInuint256 poolSupplyuint256 totalWeightuint256 tokenAmountInuint256 swapFeepure returns (uint256 poolAmountOut)
calcSingleInGivenPoolOut(uint256 tokenBalanceInuint256 tokenWeightInuint256 poolSupplyuint256 totalWeightuint256 poolAmountOutuint256 swapFeepure returns (uint256 tokenAmountIn)
calcSingleOutGivenPoolIn(uint256 tokenBalanceOutuint256 tokenWeightOutuint256 poolSupplyuint256 totalWeightuint256 poolAmountInuint256 swapFeeuint256 exitFeepure returns (uint256 tokenAmountOut)
calcSpotPrice(uint256 tokenBalanceInuint256 tokenWeightInuint256 tokenBalanceOutuint256 tokenWeightOutuint256 swapFeepure returns (uint256 spotPrice)
getBalance(address tokenview returns (uint256)
getDenormalizedWeight(address tokenview returns (uint256)
getNormalizedWeight(address tokenview returns (uint256)
getSpotPrice(address tokenInaddress tokenOutview returns (uint256 spotPrice)
getSpotPriceSansFee(address tokenInaddress tokenOutview returns (uint256 spotPrice)
isBound(address tview returns (bool)
State-modifying
approve(address dstuint256 amtreturns (bool)
bind(address tokenuint256 balanceuint256 denorm
decreaseApproval(address dstuint256 amtreturns (bool)
exitPool(uint256 poolAmountInuint256[] minAmountsOut
exitswapExternAmountOut(address tokenOutuint256 tokenAmountOutuint256 maxPoolAmountInreturns (uint256 poolAmountIn)
exitswapPoolAmountIn(address tokenOutuint256 poolAmountInuint256 minAmountOutreturns (uint256 tokenAmountOut)
finalize(
gulp(address token
increaseApproval(address dstuint256 amtreturns (bool)
joinPool(uint256 poolAmountOutuint256[] maxAmountsIn
joinswapExternAmountIn(address tokenInuint256 tokenAmountInuint256 minPoolAmountOutreturns (uint256 poolAmountOut)
joinswapPoolAmountOut(address tokenInuint256 poolAmountOutuint256 maxAmountInreturns (uint256 tokenAmountIn)
rebind(address tokenuint256 balanceuint256 denorm
setCollectedFee(uint256 _collectedFee
setController(address _controller
setExitFee(uint256 _exitFee
setInitPoolSupply(uint256 _initPoolSupply
setPublicSwap(bool _publicSwap
setSwapFee(uint256 _swapFee
swapExactAmountIn(address tokenInuint256 tokenAmountInaddress tokenOutuint256 minAmountOutuint256 maxPricereturns (uint256 tokenAmountOutuint256 spotPriceAfter)
swapExactAmountOut(address tokenInuint256 maxAmountInaddress tokenOutuint256 tokenAmountOutuint256 maxPricereturns (uint256 tokenAmountInuint256 spotPriceAfter)
transfer(address dstuint256 amtreturns (bool)
transferFrom(address srcaddress dstuint256 amtreturns (bool)
unbind(address token
Events
Approval(address indexed srcaddress indexed dstuint256 amt
LOG_CALL(bytes4 indexed sigaddress indexed callerbytes data anonymous
LOG_COLLECTED_FUND(address indexed collectedTokenuint256 collectedAmount
LOG_EXIT(address indexed calleraddress indexed tokenOutuint256 tokenAmountOut
LOG_JOIN(address indexed calleraddress indexed tokenInuint256 tokenAmountIn
LOG_SWAP(address indexed calleraddress indexed tokenInaddress indexed tokenOutuint256 tokenAmountInuint256 tokenAmountOut
Transfer(address indexed srcaddress indexed dstuint256 amt
Constructor
constructor(address _factory
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.