Value Liquidity Provider

Verified contract

Active on Ethereum with 512 txns
Deployed by via 0x8a1eddda at 11003056
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $55.26
ERC-20
Value $0.03
ERC-20
--
0xf80982674c907f23e670cbbce8e787d6ba19c6d20d95fa9b1a6b1c2f9fd06426
0x66cb38348cb3198914fa8ef5077d7ec0fa5e3812575c31d8c0fd2f5150f463d6
0x5d172e3fa9496cd7ced4f7a3339840751d853d08f50b0cdb45dcf7104e0539f8
0xd2c2cb2077c68f6ae398707d146dd8a2d7b7d87b8b0076b4ba5f28fe858331c2
0x6fa3297bedd8e109061251b714623b15d82a8a97e5a640a7f1f2c4c53850fb5a
0x60cb078666728248e7230dbdd768201d9a97ba367b764056b45d74a5acb69199
0x3c54e074e24362ce33bc449541d9b00ad1ecc68ea8a55432c6aefa4b74e9c727
0x6d97c6cab6f71aa96cb5fba4490e9fab12d285ed2668d3ba72e57c916f8f2624
0x1e565849a966606939c2df671e29a6b9f68c1b6b5888f056bcd7ed91e6b3b37c
0x14466cfd024f656950f8bf194069b2a839db839d72c74ca948141aa480ebc00b

Functions
Getter at block 21312326
collectedFee(view returns (uint256)
1000000000000000
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)
[0x0bc529c00C6401aEF6D220BE8C6Ea1667F6Ad93e, 0x49E833337ECe7aFE375e44F4E3e8481029218E5c]
getFinalTokens(view returns (address[] tokens)
[0x0bc529c00C6401aEF6D220BE8C6Ea1667F6Ad93e, 0x49E833337ECe7aFE375e44F4E3e8481029218E5c]
getNumTokens(view returns (uint256)
2
getTotalDenormalizedWeight(view returns (uint256)
50000000000000000000
initPoolSupply(view returns (uint256)
52831541408640442169131344
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)
1088836816643406448605
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.