Value Liquidity Provider

Verified contract

Active on Ethereum with 452 txns
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $331.99
ERC-20
--
ERC-20
--
ERC-20
--
0x4918bdc156989f4301141ecd4958a148d1bc712baf310429f31c442536c6027f
0x08bde80dcce50192a5ec4d11f3751460840f8a4116304c068af3030df37fd338
0x1a7526271d18dde4c239b5219981fa9f3ac7e7ad2375333e5d14b6d15c498c86
0xb2a28e3108d81aa56896615a3105274a7a14a19ab40d903c5b6afb2fe3fb34c6
0x3a9b7cd6c67d97642e22397469eb46c1d843eed14ab4f1035abc170c3018ec14
0x6c04e184e40d9e12c781306b803e184b2085df49a448f226c99fec522caeb033
0xac6f3f7844206a9b27091a5b4d89f650604ae568576567233e59f19f469984c9
0x9d8c83d43e0c130ea68bdd7760c4304c177e6c417db6ec47e289560341e15d9e
0x11a67bae814ff1ffd742c43968e5522560f72e8265d861569fe923c84dbe5bea
0x0770b18a7328ac51a4a826713ba9ed3cd1cf2c0bdfb147afbeb23c6a73794e34

Functions
Getter at block 21215954
collectedFee(view returns (uint256)
5000000000000000
controller(view returns (address)
0xf016fff032280c5837938c46dec0e716e3f39ff3
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)
[0x7865af71cf0b288b4E7F654f4F7851EB46a2B7F8, 0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599]
getFinalTokens(view returns (address[] tokens)
[0x7865af71cf0b288b4E7F654f4F7851EB46a2B7F8, 0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599]
getNumTokens(view returns (uint256)
2
getTotalDenormalizedWeight(view returns (uint256)
50000000000000000000
name(view returns (string)
Value Liquidity Provider
rewardFund(view returns (address)
0xac15789d7bd5fc62334d6bf9d53f184dafdbe0ad
swapFee(view returns (uint256)
10000000000000000
symbol(view returns (string)
VLP
totalSupply(view returns (uint256)
1219272423076665702264
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
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.