Yearn Ecosystem Token Index

Verified contract

Active on Ethereum with 9,664 txns
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
1 additional variable
ERC-20
Value $14,631.3
ERC-20
Value $7,091.31
ERC-20
Value $3,526.7
ERC-20
Value $3,521.66
ERC-20
Value $3,513.85
ERC-20
Value $3,513.67
ERC-20
Value $3,423.44
ERC-20
Value $3,304.86
ERC-20
--
ERC-20
--
0x6217c64c607048697b2f77abdf4cf70b3f45556ffbeea334efac1d88bb9984ae
0xd06be4daef0103eae575347d380553cb3971a2e25ba14b0e7c38e424e6a84516
0xb195eaf52d4fa60e3e955f098d098abee0358209301145db62aa2205a50d96dc
0x55e810034480c7c38e5449ab9a040f0ee71957741bac389084215512961562ee
0x15cd8900a3b5305e23d79a9cda27de35829950e82098da2c02c3bc45447afab5
0x265999da8113609d4e25eac871d0274ac4dd43a1fdc695510e4dd59bfbf16e6a
0xbf7a91a8da71ad0bc3bbcb2f6ebd6439a92e9a0480bbcc4fb02f328d9f584763
0x57a3708649f5022d4465a0ac639cc76d3a196d1316892234225306fb40baa448
0x7ba8d75dbbf1da2542b446c232f4327f42ac32a13d5db1ace5461bf1fb9c633e
0x0945ae642a6ff84e80cab3670606ffa31e62a6c8ce4a99ecfd0bb3074d951610

Functions
Getter at block 21257944
BONE(view returns (uint256)
1000000000000000000
BPOW_PRECISION(view returns (uint256)
100000000
INIT_POOL_SUPPLY(view returns (uint256)
100000000000000000000
MAX_BOUND_TOKENS(view returns (uint256)
9
MAX_BPOW_BASE(view returns (uint256)
1999999999999999999
MAX_FEE(view returns (uint256)
100000000000000000
MAX_IN_RATIO(view returns (uint256)
500000000000000000
MAX_OUT_RATIO(view returns (uint256)
333333333333333334
MAX_TOTAL_WEIGHT(view returns (uint256)
50000000000000000000
MAX_WEIGHT(view returns (uint256)
50000000000000000000
MIN_BALANCE(view returns (uint256)
1000000
MIN_BOUND_TOKENS(view returns (uint256)
2
MIN_BPOW_BASE(view returns (uint256)
1
MIN_FEE(view returns (uint256)
1000000000000
MIN_WEIGHT(view returns (uint256)
1000000000
decimals(view returns (uint8)
18
getCommunityFee(view returns (uint256 communitySwapFeeuint256 communityJoinFeeuint256 communityExitFeeaddress communityFeeReceiver)
(communitySwapFee=1000000000000000, communityJoinFee=1000000000000000, communityExitFee=1000000000000000, communityFeeReceiver=0xd132973eaebbd6d7ca7b88e9170f2cca058de430)
getController(view returns (address)
0xb258302c3f209491d604165549079680708581cc
getCurrentTokens(view returns (address[] tokens)
[0x0bc529c00C6401aEF6D220BE8C6Ea1667F6Ad93e, 0x6B3595068778DD592e39A122f4f5a5cF09C90fE2, 0x2ba592F78dB6436527729929AAf6c908497cB200, 0x8Ab7404063Ec4DBcfd4598215992DC3F8EC853d7, 0x429881672B9AE42b8EbA0E26cD9C73711b891Ca5, 0x1cEB5cB57C4D4E2b2433641b95Dd330A33185A44, 0x38e4adB44ef08F22F5B5b76A8f0c2d0dCbE7DcA1]
getFinalTokens(view returns (address[] tokens)
[0x0bc529c00C6401aEF6D220BE8C6Ea1667F6Ad93e, 0x6B3595068778DD592e39A122f4f5a5cF09C90fE2, 0x2ba592F78dB6436527729929AAf6c908497cB200, 0x8Ab7404063Ec4DBcfd4598215992DC3F8EC853d7, 0x429881672B9AE42b8EbA0E26cD9C73711b891Ca5, 0x1cEB5cB57C4D4E2b2433641b95Dd330A33185A44, 0x38e4adB44ef08F22F5B5b76A8f0c2d0dCbE7DcA1]
getMaxBoundTokens(view returns (uint256)
9
getMinWeight(view returns (uint256)
1000000000
getNumTokens(view returns (uint256)
7
getRestrictions(view returns (address)
0x0000000000000000000000000000000000000000
getSwapFee(view returns (uint256)
2000000000000000
 
getTotalDenormalizedWeight(view returns (uint256)
getWeightPerSecondBounds(view returns (uint256 minWeightPerSeconduint256 maxWeightPerSecond)
(minWeightPerSecond=5166997354497, maxWeightPerSecond=14467592592593)
getWrapper(view returns (address)
0x0000000000000000000000000000000000000000
getWrapperMode(view returns (bool)
false
isFinalized(view returns (bool)
true
isPublicSwap(view returns (bool)
true
name(view returns (string)
Yearn Ecosystem Token Index
symbol(view returns (string)
YETI
totalSupply(view returns (uint256)
196019928253039538725199
Read-only
allowance(address srcaddress dstview returns (uint256)
balanceOf(address whomview returns (uint256)
calcAmountWithCommunityFee(uint256 tokenAmountInuint256 communityFeeaddress operatorview returns (uint256 tokenAmountInAfterFeeuint256 tokenAmountFee)
calcInGivenOut(uint256 tokenBalanceInuint256 tokenWeightInuint256 tokenBalanceOutuint256 tokenWeightOutuint256 tokenAmountOutuint256 swapFeepure returns (uint256 tokenAmountIn)
calcOutGivenIn(uint256 tokenBalanceInuint256 tokenWeightInuint256 tokenBalanceOutuint256 tokenWeightOutuint256 tokenAmountInuint256 swapFeepure returns (uint256 tokenAmountOut)
calcPoolInGivenSingleOut(uint256 tokenBalanceOutuint256 tokenWeightOutuint256 poolSupplyuint256 totalWeightuint256 tokenAmountOutuint256 swapFeepure returns (uint256 poolAmountIn)
calcPoolOutGivenSingleIn(uint256 tokenBalanceInuint256 tokenWeightInuint256 poolSupplyuint256 totalWeightuint256 tokenAmountInuint256 swapFeepure returns (uint256 poolAmountOut)
calcSingleInGivenPoolOut(uint256 tokenBalanceInuint256 tokenWeightInuint256 poolSupplyuint256 totalWeightuint256 poolAmountOutuint256 swapFeepure returns (uint256 tokenAmountIn)
calcSingleOutGivenPoolIn(uint256 tokenBalanceOutuint256 tokenWeightOutuint256 poolSupplyuint256 totalWeightuint256 poolAmountInuint256 swapFeepure returns (uint256 tokenAmountOut)
calcSpotPrice(uint256 tokenBalanceInuint256 tokenWeightInuint256 tokenBalanceOutuint256 tokenWeightOutuint256 swapFeepure returns (uint256 spotPrice)
getBalance(address tokenview returns (uint256)
getDenormalizedWeight(address tokenview returns (uint256)
getDynamicWeightSettings(address tokenview returns (uint256 fromTimestampuint256 targetTimestampuint256 fromDenormuint256 targetDenorm)
getNormalizedWeight(address tokenview returns (uint256)
getSpotPrice(address tokenInaddress tokenOutview returns (uint256 spotPrice)
getSpotPriceSansFee(address tokenInaddress tokenOutview returns (uint256 spotPrice)
isBound(address tview returns (bool)
State-modifying
approve(address dstuint256 amtreturns (bool)
bind(addressuint256uint256
bind(address tokenuint256 balanceuint256 targetDenormuint256 fromTimestampuint256 targetTimestamp
callVoting(address votingbytes4 signaturebytes argsuint256 value
decreaseApproval(address dstuint256 amtreturns (bool)
exitPool(uint256 poolAmountInuint256[] minAmountsOut
exitswapExternAmountOut(address tokenOutuint256 tokenAmountOutuint256 maxPoolAmountInreturns (uint256 poolAmountIn)
exitswapPoolAmountIn(address tokenOutuint256 poolAmountInuint256 minAmountOutreturns (uint256 tokenAmountOut)
finalize(
gulp(address token
increaseApproval(address dstuint256 amtreturns (bool)
joinPool(uint256 poolAmountOutuint256[] maxAmountsIn
joinswapExternAmountIn(address tokenInuint256 tokenAmountInuint256 minPoolAmountOutreturns (uint256 poolAmountOut)
joinswapPoolAmountOut(address tokenInuint256 poolAmountOutuint256 maxAmountInreturns (uint256 tokenAmountIn)
rebind(address tokenuint256 balanceuint256 denorm
setCommunityFeeAndReceiver(uint256 communitySwapFeeuint256 communityJoinFeeuint256 communityExitFeeaddress communityFeeReceiver
setController(address manager
setDynamicWeight(address tokenuint256 targetDenormuint256 fromTimestampuint256 targetTimestamp
setPublicSwap(bool public_
setRestrictions(address restrictions
setSwapFee(uint256 swapFee
setWeightPerSecondBounds(uint256 minWeightPerSeconduint256 maxWeightPerSecond
setWrapper(address wrapperbool wrapperMode
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)
unbind(address token
Events
Approval(address indexed owneraddress indexed spenderuint256 value
LOG_CALL(bytes4 indexed sigaddress indexed callerbytes data anonymous
LOG_CALL_VOTING(address indexed votingbool indexed successbytes4 indexed inputSigbytes inputDatabytes outputData
LOG_COMMUNITY_FEE(address indexed calleraddress indexed receiveraddress indexed tokenuint256 tokenAmount
LOG_EXIT(address indexed calleraddress indexed tokenOutuint256 tokenAmountOut
LOG_JOIN(address indexed calleraddress indexed tokenInuint256 tokenAmountIn
LOG_SWAP(address indexed calleraddress indexed tokenInaddress indexed tokenOutuint256 tokenAmountInuint256 tokenAmountOut
SetDynamicWeight(address indexed tokenuint256 fromDenormuint256 targetDenormuint256 fromTimestampuint256 targetTimestamp
SetWeightPerSecondBounds(uint256 minWeightPerSeconduint256 maxWeightPerSecond
Transfer(address indexed fromaddress indexed touint256 value
Constructor
constructor(string namestring symboluint256 minWeightPerSeconduint256 maxWeightPerSecond
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.