WeightedIndex

Verified contract

Active on Ethereum with 1,299 txns
Deployed by via 0xb6cf8367 at 18780123
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $289,069.99
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
0x2e2e5ff218b924b0e6c319144a3a41020355f75d8e771dfcb2b9abba058385d7
0x6dff4f630da6a4cbf553eaa01f64bfc57498ef6d165060a690f55feb3a96de83
0x94fe487f55605d668c4cfbc22c5e0bea5cfb8fc8c943a0231b130dafea8f9c60
0x95d2240066b3ead83b2a6aec8eaab5599fa9740e59bd48549d6cf8fcfd2aca5f
0x670271c17406b45cbcf85263f0b9033c4d830aea1ea23b3d99d3ccbd50641de5
0x6fe51b291e739990652c7d4a7b3ede2b6a61ca68cb7f16fdca2f148fbf4bd4d2
0xf8e63c51368d797c0be7d78ab0e36019abd631fb1f268a404279fc7deea44236
0x877cae6a31b5ec5c5af0d4d4e7aace1bb33f2df191ed475a6223e69a1fe8cdf4
0xa54eb8e2ccfee9b182f8314633ee182fc337f5ee9248b1bc36535db9084d0b7d
0x536f03416d100bd3cc778dc43845bd2c978741f595ee9c52b89b2590a864f046

Functions
Getter at block 21208805
BOND_FEE(view returns (uint256)
100
DEBOND_FEE(view returns (uint256)
300
FLASH_FEE_DAI(view returns (uint256)
10
created(view returns (uint256)
1702505303
decimals(view returns (uint8)
18
getAllAssets(view returns (struct IDecentralizedIndexIndexAssetInfo[])
[(0x02f92800f57bcd74066f5709f1daa1a4302df875, 1, 0, 0x0000000000000000000000000000000000000000, 79228162514264337593543950336000000000000000000)]
 
getIdxPriceUSDX96(view returns (uint256uint256)
indexType(view returns (uint8)
0
lpRewardsToken(view returns (address)
0x02f92800f57bcd74066f5709f1daa1a4302df875
lpStakingPool(view returns (address)
0xbd8d0576fb1fa4460b8cafed03f5581bb265066d
name(view returns (string)
PEA,PEA (Weighted)
symbol(view returns (string)
ppPP
totalSupply(view returns (uint256)
53531479771422210523463
Read-only
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
getTokenPriceUSDX96(address _tokenview returns (uint256)
indexTokens(uint256view returns (address tokenuint256 weightinguint256 basePriceUSDX96address c1uint256 q1)
isAsset(address _tokenview returns (bool)
State-modifying
addLiquidityV2(uint256 _idxLPTokensuint256 _daiLPTokensuint256 _slippage
approve(address spenderuint256 amountreturns (bool)
bond(address _tokenuint256 _amount
debond(uint256 _amountaddress[]uint8[]
decreaseAllowance(address spenderuint256 subtractedValuereturns (bool)
flash(address _recipientaddress _tokenuint256 _amountbytes _data
increaseAllowance(address spenderuint256 addedValuereturns (bool)
removeLiquidityV2(uint256 _lpTokensuint256 _minIdxTokensuint256 _minDAI
rescueERC20(address _token
rescueETH(
transfer(address recipientuint256 amountreturns (bool)
transferFrom(address senderaddress recipientuint256 amountreturns (bool)
Events
AddLiquidity(address indexed walletuint256 amountTokensuint256 amountDAI
Approval(address indexed owneraddress indexed spenderuint256 value
Bond(address indexed walletaddress indexed tokenuint256 amountTokensBondeduint256 amountTokensMinted
Create(address indexed newIdxaddress indexed wallet
Debond(address indexed walletuint256 amountDebonded
FlashLoan(address indexed executoraddress indexed recipientaddress tokenuint256 amount
RemoveLiquidity(address indexed walletuint256 amountLiquidity
Transfer(address indexed fromaddress indexed touint256 value
Constructor
constructor(string _namestring _symboluint256 _bondFeeuint256 _debondFeeaddress[] _tokensuint256[] _weightsaddress _lpRewardsTokenaddress _v2Routeraddress _daibool _stakeRestrictionaddress _v3TwapUtilities
Fallback and receive
receive(
Errors

This contract contains no error objects.