Value Liquidity Provider

Verified contract

Active on Ethereum with 514 txns
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $231.63
ERC-20
Value $144.44
ERC-20
--
ERC-20
--
0x410fd73dc8ce9cb828d3a8572f2275e2d4b5a80c24ece0d4f9565cb587c7ad24
0xbae523420dd21c386a702d26f4b6e6ef64b452a342a636cc0b03d492fe2dd66d
0xefa0cedb315d72b9aac25821a855f98d20d0343d34fc5d00e1a4b954ab3b382d
From
0xda41ef16c17a22c6d84e93d8471b65bab8ea34d8530a5dcf1e22f324fef506c4
0x0427c0e9632ba7d6dddda3aebb52449abcd67a5f50bf8ed5bd40e16017155b75
0x7b6d2756db0295d5788bc44737badfd9edad11caa93857fd8728aca1c89460ce
0x8c2b7c8e36d7c871c8bf971c9d38148057e89b6b93449ca7ce17d6a011e87cb6
0xa13cd8e660e79bc030ca59ad63488748e6064efaa757e5e31f1760761251cf23
0x5dec8521708a913e081109353a283c0af507297f3d7a2b7408f5983b8d8f8fff
0x8e540523388827103b47ee5b5f0f7fde40cb33dff8bb8161cb71c7c3fede2fa2

Functions
Getter at block 21216012
collectedFee(view returns (uint256)
2500000000000000
controller(view returns (address)
0x7be4d5a99c903c437ec77a20cb6d0688cbb73c7f
decimals(view returns (uint8)
18
exchangeProxy(view returns (address)
0xb936525a77ba0529f6c0feab28f8b0ae6c0398c7
exitFee(view returns (uint256)
0
factory(view returns (address)
0xebc44681c125d63210a33d30c55fd3d37762675b
finalized(view returns (bool)
true
getCurrentTokens(view returns (address[] tokens)
[0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48, 0x49E833337ECe7aFE375e44F4E3e8481029218E5c]
getFinalTokens(view returns (address[] tokens)
[0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48, 0x49E833337ECe7aFE375e44F4E3e8481029218E5c]
getNumTokens(view returns (uint256)
2
getTotalDenormalizedWeight(view returns (uint256)
50000000000000000000
name(view returns (string)
Value Liquidity Provider
rewardFund(view returns (address)
0xbd3d761a1254b0ab0b8c9f889f23ccca109b136f
swapFee(view returns (uint256)
5000000000000000
symbol(view returns (string)
VLP
totalSupply(view returns (uint256)
2501321473456631166140
unstakingFrozenTime(view returns (uint256)
0
version(view returns (uint256)
2001
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)
calcPoolOutGivenSingleIn(uint256 tokenBalanceInuint256 tokenWeightInuint256 poolSupplyuint256 totalWeightuint256 tokenAmountInuint256 swapFeepure returns (uint256 poolAmountOut)
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)
getUserInfo(uint8 _pidaddress _accountview returns (uint256 amountuint256 rewardDebtuint256 accumulatedEarneduint256 lockRewarduint256 lockRewardReleased)
isBound(address tview returns (bool)
pendingReward(uint8 _pidaddress _accountview returns (uint256 _pending)
rewardPoolInfo(uint256view returns (address rewardTokenuint256 lastRewardBlockuint256 endRewardBlockuint256 rewardPerBlockuint256 accRewardPerShareuint256 lockRewardPercentuint256 startVestingBlockuint256 endVestingBlockuint256 numOfVestingBlocksuint256 totalPaidRewards)
unfrozenStakeTime(address _accountview returns (uint256)
State-modifying
addRewardPool(address _rewardTokenuint256 _startBlockuint256 _endRewardBlockuint256 _rewardPerBlockuint256 _lockRewardPercentuint256 _startVestingBlockuint256 _endVestingBlock
approve(address dstuint256 amtreturns (bool)
decreaseApproval(address dstuint256 amtreturns (bool)
emergencyWithdraw(
exitPool(uint256 poolAmountInuint256[] minAmountsOut
exitswapPoolAmountIn(address tokenOutuint256 poolAmountInuint256 minAmountOutreturns (uint256 tokenAmountOut)
finalize(uint256 _swapFeeuint256 _initPoolSupplyaddress[] _bindTokensuint256[] _bindDenorms
getAllRewards(address _account
getReward(uint8 _pidaddress _account
gulp(address token
increaseApproval(address dstuint256 amtreturns (bool)
joinPool(uint256 poolAmountOutuint256[] maxAmountsIn
joinPoolFor(address accountuint256 poolAmountOutuint256[] maxAmountsIn
joinPoolNotStake(uint256 poolAmountOutuint256[] maxAmountsIn
joinswapExternAmountIn(address tokenInuint256 tokenAmountInuint256 minPoolAmountOutreturns (uint256 poolAmountOut)
setCollectedFee(uint256 _collectedFee
setController(address _controller
setExchangeProxy(address _exchangeProxy
setExitFee(uint256 _exitFee
setRewardFund(address _rewardFund
setUnstakingFrozenTime(uint256 _unstakingFrozenTime
stake(uint256 _shares
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)
updateReward(
updateReward(uint8 _pid
updateRewardPool(uint8 _piduint256 _endRewardBlockuint256 _rewardPerBlock
withdraw(uint256 _amount
Events
Approval(address indexed srcaddress indexed dstuint256 amt
Deposit(address indexed accountuint256 amount
LOG_COLLECTED_FUND(address indexed collectedTokenuint256 collectedAmount
LOG_EXIT(address indexed calleraddress indexed tokenOutuint256 tokenAmountOut
LOG_FINALIZE(uint256 swapFeeuint256 initPoolSupplyuint256 versionaddress[] bindTokensuint256[] bindDenormsuint256[] balances
LOG_JOIN(address indexed calleraddress indexed tokenInuint256 tokenAmountIn
LOG_SWAP(address indexed calleraddress indexed tokenInaddress indexed tokenOutuint256 tokenAmountInuint256 tokenAmountOut
RewardPaid(uint8 pidaddress indexed accountuint256 amount
Transfer(address indexed srcaddress indexed dstuint256 amt
Withdraw(address indexed accountuint256 amount
Constructor
constructor(address _factory
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.