Value Liquidity Provider

Verified contract

Active on Ethereum with 1,142 txns
Deployed by via 0xb327ea87 at 11002744
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $130.14
ERC-20
--
0x17e97decd5c9849467e48cc55423874a56dc4f14dfe863800c11f69debd56352
0x7e9d734bac36a7ce12bf8eb1d635b16d5597a7d3788b67443654875234d6f646
0xdd26ddef8950eb106cbbd0bd3b97f96de7aa99bcdd4246047aa0cd74fafbf71c
0x5e52470c7cbda6f4c9293fc164b620ade6cf49c545d01a54d86313c8c37511bc
0x0b2a0ee84ba610d6a62bb7618d9f3ebf3bb0c7b2bc3388d449804c5f3d3a9d4d
0x947819e0a08d7dcc511e1f8119028d2b8003e53ecdb24cf6d9555e50af554886
0x11d12ed9bcf18aa0c53d81551e872672873ddfe59f77f628bccd1e7851c7078b
0x2fe495a51851d1031a35d94d2348375cfa82ffb9c3c156c3eaaeabc59fef0e98
0x377e92d470d9ce64c9e15bc7cf7a037a967ce6fef6574d807bccada957ac9c9d
0xc15b1d4812ac36111a56e1f2328a3edb7dcb67773c699644f29130a12866e2d4

Functions
Getter at block 21323200
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)
[0x49E833337ECe7aFE375e44F4E3e8481029218E5c, 0x1B8E12F839BD4e73A47adDF76cF7F0097d74c14C]
getFinalTokens(view returns (address[] tokens)
[0x49E833337ECe7aFE375e44F4E3e8481029218E5c, 0x1B8E12F839BD4e73A47adDF76cF7F0097d74c14C]
getNumTokens(view returns (uint256)
2
getTotalDenormalizedWeight(view returns (uint256)
50000000000000000000
initPoolSupply(view returns (uint256)
159755588807142911901776
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)
10094488875887814784297
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.