Value Liquidity Provider

Verified contract

Active on Ethereum with 1,813 txns
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $1,056.83
ERC-20
--
ERC-20
--
0x713ccd19ee0d8d02fa034caf34feff9bdbf227f6f013eab80ed4aa816b1dedff
0x933e2f72f740c433c924920aa99905ac93394b2fb099a8f4e9d8a1bfdd1ce8e0
0x7202b88363c333cdd73653e3294046127417e2587511b4eb62392578a9d4bf07
0x3fe9d4681d3de4878b96deed7908074b7de04d3ef45ee9095fe7726c235cf2ec
0xbfbd6cca4a4556ee3df27f7372b1f2531b91ac5118facf8a05cbe1b5474cb905
0x5730fa05f2b56ebab6b2e171d1b843a3b63abe6753098e9722f9be13fdef6e7b
0xdce5122eb458e7eda31e2e2f5a0fcd26200aeac421751c38bfaffcd0bbe71612
0x04d9488d260b1974cade0aae36e38ac987d7ead8da6177a0726932690a2d63f3
0x586c7ab2953f46b7177a8b5dfecd670a6f09921db8d67726b9b1b11dd540c100
0x135254c502a000005e33ecf0796946f26d52a9f088f1e599a6f3973efd377d01

Functions
Getter at block 21388493
collectedFee(view returns (uint256)
5000000000000000
controller(view returns (address)
0xc259bf15bad4d870dff1fe1aab450794eb33f8e8
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)
[0xE7C9C188138f7D70945D420d75F8Ca7d8ab9c700, 0x6B175474E89094C44Da98b954EedeAC495271d0F]
getFinalTokens(view returns (address[] tokens)
[0xE7C9C188138f7D70945D420d75F8Ca7d8ab9c700, 0x6B175474E89094C44Da98b954EedeAC495271d0F]
getNumTokens(view returns (uint256)
2
getTotalDenormalizedWeight(view returns (uint256)
50000000000000000000
name(view returns (string)
Value Liquidity Provider
rewardFund(view returns (address)
0xc259bf15bad4d870dff1fe1aab450794eb33f8e8
swapFee(view returns (uint256)
10000000000000000
symbol(view returns (string)
VLP
totalSupply(view returns (uint256)
423575830760986585490309
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
finalizeRewardFundInfo(address _rewardFunduint256 _unstakingFrozenTime
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
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.