Value Liquidity Provider

Verified contract

Active on Ethereum with 861 txns
Deployed by via 0x1bd8dc87 at 11003137
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $472.98
ERC-20
Value $5.13
0x37b4458324f727f48c1e0057f66c9722e7c41d4ca0e07f84718d7dd21f7c4493
0x1fcf704421c1bd536b58ec482452d6f93674b41ecc1ffe8c40e2a596ae85df6d
0x66e3a580e94718ef8fb20a6433be4f8f9d357b9fb4f1dc0e8d2aaea4395a5d91
0x22ab93e3ee50433aebf2c33b658ee43e5b5bb6dce259e7b8a0d9b67d9adec7a2
0x85c2bc865c0c9a981639683a199257d1d179cc52bef9b0158d9f2eda870111cf
0xedcee80d87e1bf5e5eb945f8d8476cfcd1b7bb48d761f822690cf86c9da737fa
0xb8a6170ab545e5bd1445c9e40b657e996788ee874e0f887d13663b1e0eb20823
0xaa266d7e4ea3e6dcfc3a3d155e7a37efe38f48a6db9e41d687dd25f6d83ec8ce
0x3aadc0d4e64d927c4eb4e4fc73aef5462e79a9866cdd7fb94357f9b26ddbaf72
0x64446a7afeaa5252e505c727976338e77fbbb7d5741f354ca60a7041978ba486
From

Functions
Getter at block 21324862
collectedFee(view returns (uint256)
1500000000000000
controller(view returns (address)
0x4572b9882fd29bdbe26a74dfa8afe9a75365e560
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)
[0x408e41876cCCDC0F92210600ef50372656052a38, 0x49E833337ECe7aFE375e44F4E3e8481029218E5c]
getFinalTokens(view returns (address[] tokens)
[0x408e41876cCCDC0F92210600ef50372656052a38, 0x49E833337ECe7aFE375e44F4E3e8481029218E5c]
getNumTokens(view returns (uint256)
2
getTotalDenormalizedWeight(view returns (uint256)
50000000000000000000
initPoolSupply(view returns (uint256)
150604771029681882875037447
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)
58599280427294795525598
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.