Value Liquidity Provider

Verified contract

Active on Ethereum with 1,125 txns
Deployed by via 0xf6bc9454 at 11003218
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $57,776.41
ERC-20
Value $748.08
ERC-20
--
0x70d8109299ecd0c8a385fdf88067a6433691a32f325bc8d00d395a7ba3450887
0xec0bbd352548ff1dcd402ee0781a97bf7d23189bec06bca004aa5bc889a91098
0xc3997a279c563d1dd71a4aca8ad5df571b6b26493dbfb3b7bfaf0e24b82b8ab3
0x591a1711a8a9274ac8723c2f0c63a8719497f6cff5842a09549e5531e36eb90c
0x52e52b1c7e1b2779f2af88c0fab1b11c743bd651ab37f934865de4349fcddf7a
0x1bec1fe8c3ffa09e1088a2636c1dbaea151242bc21deef73a5299d7c449e0d09
0x8fd148f7a921ac86e417137c11a25feade40e3545520a9354770ab71fe973d63
0xc59eb02b2cc8717c8f020c9440d1b2ab6abf7defae9506cb5302509a4a090dc2
0x074f97b2f788a2693ddacfd284cba1d1f116ba3de1a8a384c667baebd6c87284
0xeba4797851b62aac0afccee232d1dfa43e684f7f3ea962ab2f3b2070af876881

Functions
Getter at block 21204086
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)
[0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2, 0x49E833337ECe7aFE375e44F4E3e8481029218E5c]
getFinalTokens(view returns (address[] tokens)
[0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2, 0x49E833337ECe7aFE375e44F4E3e8481029218E5c]
getNumTokens(view returns (uint256)
2
getTotalDenormalizedWeight(view returns (uint256)
50000000000000000000
initPoolSupply(view returns (uint256)
441071365198306113193149195
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)
99585243594572193677709
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.