Value Liquidity Provider
Verified contract
Active on
Ethereum with 777 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($1,220.62)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
DAI | ERC-20 | 1.049427K | $0.997732 |
$1,047.05 | |
VALUE | ERC-20 | 10.664115K | $0.016276 |
$173.57 | |
DYF | ERC-20 | 100K | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 13279678 | 3 years ago | | | 0 | 0.0063806038 | |
| 11971555 | 4 years ago | | | 0 | 0.0012588900 | |
| 11971552 | 4 years ago | | | 0 | 0.0012588900 | |
| 11868594 | 4 years ago | | | 0 | 0.014408488 | |
| 11524888 | 4 years ago | | | 0 | 0.0052996071 | |
| 11451573 | 4 years ago | | | 0 | 0.0074868125 | |
| 11419689 | 4 years ago | | | 0 | 0.0089850750 | |
| 11407657 | 4 years ago | | | 0 | 0.0044339497 | |
| 11378611 | 4 years ago | | | 0 | 0.0046112440 | |
| 11312545 | 4 years ago | | | 0 | 0.0035940300 |
ABI
ABI objects
Getter at block 21188365
collectedFee() view returns (uint256)
1000000000000000
controller() view returns (address)
0xbb63aca7ac4d77cb336c63c06ef1b317a663f4cd
decimals() view returns (uint8)
18
exitFee() view returns (uint256)
0
factory() view returns (address)
0xebc44681c125d63210a33d30c55fd3d37762675b
finalized() view returns (bool)
true
getCurrentTokens() view returns (address[] tokens)
[0x6B175474E89094C44Da98b954EedeAC495271d0F, 0x49E833337ECe7aFE375e44F4E3e8481029218E5c]
getFinalTokens() view returns (address[] tokens)
[0x6B175474E89094C44Da98b954EedeAC495271d0F, 0x49E833337ECe7aFE375e44F4E3e8481029218E5c]
getNumTokens() view returns (uint256)
2
getTotalDenormalizedWeight() view returns (uint256)
50000000000000000000
initPoolSupply() view returns (uint256)
100000000000000000000
name() view returns (string)
Value Liquidity Provider
publicSwap() view returns (bool)
true
swapFee() view returns (uint256)
3000000000000000
symbol() view returns (string)
VLP
totalSupply() view returns (uint256)
384066894374415417458
version() view returns (uint256)
1001
Read-only
allowance(address src, address dst) view returns (uint256)
balanceOf(address whom) view returns (uint256)
calcInGivenOut(uint256 tokenBalanceIn, uint256 tokenWeightIn, uint256 tokenBalanceOut, uint256 tokenWeightOut, uint256 tokenAmountOut, uint256 swapFee) pure returns (uint256 tokenAmountIn)
calcOutGivenIn(uint256 tokenBalanceIn, uint256 tokenWeightIn, uint256 tokenBalanceOut, uint256 tokenWeightOut, uint256 tokenAmountIn, uint256 swapFee) pure returns (uint256 tokenAmountOut)
calcPoolInGivenSingleOut(uint256 tokenBalanceOut, uint256 tokenWeightOut, uint256 poolSupply, uint256 totalWeight, uint256 tokenAmountOut, uint256 swapFee, uint256 exitFee) pure returns (uint256 poolAmountIn)
calcPoolOutGivenSingleIn(uint256 tokenBalanceIn, uint256 tokenWeightIn, uint256 poolSupply, uint256 totalWeight, uint256 tokenAmountIn, uint256 swapFee) pure returns (uint256 poolAmountOut)
calcSingleInGivenPoolOut(uint256 tokenBalanceIn, uint256 tokenWeightIn, uint256 poolSupply, uint256 totalWeight, uint256 poolAmountOut, uint256 swapFee) pure returns (uint256 tokenAmountIn)
calcSingleOutGivenPoolIn(uint256 tokenBalanceOut, uint256 tokenWeightOut, uint256 poolSupply, uint256 totalWeight, uint256 poolAmountIn, uint256 swapFee, uint256 exitFee) pure returns (uint256 tokenAmountOut)
calcSpotPrice(uint256 tokenBalanceIn, uint256 tokenWeightIn, uint256 tokenBalanceOut, uint256 tokenWeightOut, uint256 swapFee) pure returns (uint256 spotPrice)
getBalance(address token) view returns (uint256)
getDenormalizedWeight(address token) view returns (uint256)
getNormalizedWeight(address token) view returns (uint256)
getSpotPrice(address tokenIn, address tokenOut) view returns (uint256 spotPrice)
getSpotPriceSansFee(address tokenIn, address tokenOut) view returns (uint256 spotPrice)
isBound(address t) view returns (bool)
State-modifying
Events approve(address dst, uint256 amt) returns (bool)
bind(address token, uint256 balance, uint256 denorm)
decreaseApproval(address dst, uint256 amt) returns (bool)
exitPool(uint256 poolAmountIn, uint256[] minAmountsOut)
exitswapExternAmountOut(address tokenOut, uint256 tokenAmountOut, uint256 maxPoolAmountIn) returns (uint256 poolAmountIn)
exitswapPoolAmountIn(address tokenOut, uint256 poolAmountIn, uint256 minAmountOut) returns (uint256 tokenAmountOut)
finalize()
gulp(address token)
increaseApproval(address dst, uint256 amt) returns (bool)
joinPool(uint256 poolAmountOut, uint256[] maxAmountsIn)
joinswapExternAmountIn(address tokenIn, uint256 tokenAmountIn, uint256 minPoolAmountOut) returns (uint256 poolAmountOut)
joinswapPoolAmountOut(address tokenIn, uint256 poolAmountOut, uint256 maxAmountIn) returns (uint256 tokenAmountIn)
rebind(address token, uint256 balance, uint256 denorm)
setCollectedFee(uint256 _collectedFee)
setController(address _controller)
setExitFee(uint256 _exitFee)
setInitPoolSupply(uint256 _initPoolSupply)
setPublicSwap(bool _publicSwap)
setSwapFee(uint256 _swapFee)
swapExactAmountIn(address tokenIn, uint256 tokenAmountIn, address tokenOut, uint256 minAmountOut, uint256 maxPrice) returns (uint256 tokenAmountOut, uint256 spotPriceAfter)
swapExactAmountOut(address tokenIn, uint256 maxAmountIn, address tokenOut, uint256 tokenAmountOut, uint256 maxPrice) returns (uint256 tokenAmountIn, uint256 spotPriceAfter)
transfer(address dst, uint256 amt) returns (bool)
transferFrom(address src, address dst, uint256 amt) returns (bool)
unbind(address token)
Approval(address indexed src, address indexed dst, uint256 amt)
LOG_CALL(bytes4 indexed sig, address indexed caller, bytes data) anonymous
LOG_COLLECTED_FUND(address indexed collectedToken, uint256 collectedAmount)
LOG_EXIT(address indexed caller, address indexed tokenOut, uint256 tokenAmountOut)
LOG_JOIN(address indexed caller, address indexed tokenIn, uint256 tokenAmountIn)
LOG_SWAP(address indexed caller, address indexed tokenIn, address indexed tokenOut, uint256 tokenAmountIn, uint256 tokenAmountOut)
Transfer(address indexed src, address indexed dst, uint256 amt)
constructor(address _factory)
This contract contains no fallback and receive objects.
This contract contains no error objects.