Value Liquidity Provider

Verified contract

Active on Ethereum with 665 txns
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $133.15
ERC-20
--
ERC-20
--
0x3357d16ef3b98939c564f91fcd813247b9d9c9f3140d3ad769b6fbd7dc8d3a90
0xc9cb84d80f2b768243d570b08f3596c3d7c5d363ed969ecada4a9be2da70b22f
0xee4f070d5e358cc7419d075df69fc27af9b24ee6a695dd678e2a5a8a7499c696
0x03ac8ccf48d600f6ac65ec285df6784c307357f7e57e9ef8adbc2d89feb1fa3e
0xbc8794083f8483c66c4954d314064edb2ce6310530a3735f2bd2cce6fcc1a374
0xdf935ee16d5afd70e8911f6b1c470a84c009ece4adf2b96cd7e10909cfc07756
0x36e3df92c4a4559c87dae67dadc28a52d386997a3f1a164ae572daac8b1fc50d
0x76156465ec95bd0b295582c35defab9dfa4d0eea3f026b4c07572f90eb76f99e
0x739e4300b2bc2d476af98efc60edf21562fc56c3d9788f2f43239c5427f3467a
0xaad854c01c175532cd0bb1389013504b9dd260dd70213ab89b21bc75a7997dd9

Functions
Getter at block 21267994
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, 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48]
getFinalTokens(view returns (address[] tokens)
[0x7865af71cf0b288b4E7F654f4F7851EB46a2B7F8, 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48]
getNumTokens(view returns (uint256)
2
getTotalDenormalizedWeight(view returns (uint256)
50000000000000000000
name(view returns (string)
Value Liquidity Provider
rewardFund(view returns (address)
0x5f53335197e360de56c7ba77f6a45f3e259b1a7d
swapFee(view returns (uint256)
10000000000000000
symbol(view returns (string)
VLP
totalSupply(view returns (uint256)
2239836121041178175222
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.