This contract is being backfilled. You may encounter incomplete storage history.

Yearn Ecosystem Token Index

Verified contract

Active on Ethereum with 9,650 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 $11,350.75
ERC-20
Value $5,639.29
ERC-20
Value $3,526.77
ERC-20
Value $2,675.89
ERC-20
Value $2,664.58
ERC-20
Value $2,586.71
ERC-20
Value $2,499.28
ERC-20
Value $2,489.52
ERC-20
--
ERC-20
--
0x5b2bf272732db4e54123a1ac771925b8438a5349a3877b71ff7579c8cb1f8c4e
0x6ff1cb0bedc6109f36ddea57407cfa3bf6dad284df113e986670be0f519d7632
0x6c07bb860efc2ce9f87759fadd40a490d4e610fae61944b875d3366749a1b115
0xff291b16c7e8cb1bff5a70f7750e9531b2f1e6b05c32c2636f5c384577a9bbd0
0x45015d5e248d18a877dd4bb5f37fed897544abcf267b40522bbf507f7a57e8a2
0x49cef41cfd167eae0bee0618c771a5ee4ee2f4e8259a9c7c8209f6071cc578e2
0xcf83371bc3cea56776211feab60201596dd53bf5dea7d0d123b99c6f644c46c3
0xf1e2e1c7686ad69510335f07ac89e04007c943b094c4dd16f4aa4aad74d72e6f
0x22bf9b22e3a32dad5c9ff1ece757e1b7df891d8a751a3a17f7c3ae9aa1e2314b
0x110b3279703ee8d70f9386a2eb0925260c2e047da6443d0cddcec554d32b3ad0

Functions
Getter at block 20801368
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)
197658575629067173350161
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.