Value Liquidity Provider

Verified contract

Active on Ethereum with 258 txns
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $1.88
ERC-20
--
0xa8c94e1a064e6359ab0ace88e4070e0f775d51e67f0cdfa7394f11db704739cc
0x563cf09545d3513b5733ff8499c3568b147230c1ca04c9595f9413ad5c029da6
0xaface9090d1d2d9f47cec45d71de5bf7521eb4a7560bbc81dfd9566811a1abad
0xb9e7bcd58a5aa0eb3a0f329080930b5ad1ea74701a22499864d3cba34ca4f5d3
0x707293bdf8c2dc1acdbeaa70a8e04ae86d942906676632672a446430b11d083f
0x1550158dd81ccbb1632891d55be49cff2dce0a16aca93cec965efbdc5d813639
0xa5f5b88bef113c1fcd4edd8a70900748688af0cab3644354f5ab15a40a23ccae
0x2bf8118c94ae7c994131677f1d516b7d7fe3fd058f65e0b4fd9bba6ab48ef2a8
0x102414b40c394494647b6c97e8dba3bca5751ba92807aadaf79730d9e0eea9d6
0x0e5ca69b1741220747d90fc2ab4a1ded374c0b958d75727244481489b4188ac7

Functions
Getter at block 21099080
collectedFee(view returns (uint256)
1500000000000000
controller(view returns (address)
0xbc2bebf0cd47de6d21f8996162e40c4a68808ef9
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)
[0x4981553e8CcF6Df916B36a2d6B6f8fC567628a51, 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48]
getFinalTokens(view returns (address[] tokens)
[0x4981553e8CcF6Df916B36a2d6B6f8fC567628a51, 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48]
getNumTokens(view returns (uint256)
2
getTotalDenormalizedWeight(view returns (uint256)
50000000000000000000
name(view returns (string)
Value Liquidity Provider
rewardFund(view returns (address)
0xbc2bebf0cd47de6d21f8996162e40c4a68808ef9
swapFee(view returns (uint256)
3000000000000000
symbol(view returns (string)
VLP
totalSupply(view returns (uint256)
32359720264890402114
unstakingFrozenTime(view returns (uint256)
259200
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.