WeightedIndex

Verified contract

Active on Ethereum with 218 txns
Deployed by via 0x4fa2d5b2 at 19378880
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 5 additional slots
ERC-20
Value $1,423,613.74
ERC-20
--
0xac61bd342c96f01d680d8bcf35f60200c915b631e81c77428fd3bc833b290b6a
0xf5eb8c1d6cf10c793da39a37a7a5bc01591d9aa684b5dd08b20d40144225f6ca
0x2ecd1d491a15216cf34cc2ee321e3ecb5d54246727b5d1ae0286e80d92668d60
0xd45e9f4915542dd6339f45bc3913768df3c218271e6f59ddb91f9588c91706c0
0x1f4cfe9b1f8bdc318b8edb7d8d8f6937e20569723087cf82f440d511bcc64d97
0x5bdc37fa0da12f9e3e13f867f2f0a357a987aa6846611f6af86fcaea477d23b1
0xe2c92ab181e134a28533301d959b05a63e7afe036ee92b8aaf83a7bf79a0e295
0x53e0961fb9b953561038db1e5ded738742cc2516e806dd588a2c3912e988619c
0xa0b968e24497f543fafb6918303727071fb11e845acb5cc4deba5ad5ab276ebf
0xfabbd8d9ef3816865e0bfaec2a0d350462d4f41b61496ec0b64fb36c8615bb86

Functions
Getter at block 21183996
BOND_FEE(view returns (uint256)
150
DEBOND_FEE(view returns (uint256)
200
DOMAIN_SEPARATOR(view returns (bytes32)
0x1818795e6067bf8ba5bc12e8c565bc01abda5ac8b7817d230b3e29eb38f94102
FLASH_FEE(view returns (uint256)
10
PAIRED_LP_TOKEN(view returns (address)
0x6b175474e89094c44da98b954eedeac495271d0f
created(view returns (uint256)
1709761223
decimals(view returns (uint8)
18
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=pEEFI Pod, version=1, chainId=1, verifyingContract=0x0bcfb6b59b76fcca52f4daa39223f97042460ccc, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
fees(view returns (uint256 burnuint256 bonduint256 debonduint256 buyuint256 selluint256 partner)
(burn=3000, bond=150, debond=200, buy=150, sell=150, partner=500)
getAllAssets(view returns (struct IDecentralizedIndexIndexAssetInfo[])
[(0x857ffc55b1aa61a7ff847c82072790cae73cd883, 100000000000000000000, 0, 0x0000000000000000000000000000000000000000, 79228162514264337593543950336000000000000000000)]
 
getIdxPriceUSDX96(view returns (uint256uint256)
indexType(view returns (uint8)
0
lpRewardsToken(view returns (address)
0x02f92800f57bcd74066f5709f1daa1a4302df875
lpStakingPool(view returns (address)
0x260675a8736ea054612422039a734ebc3c9e60f4
name(view returns (string)
pEEFI Pod
partner(view returns (address)
0xe9b230da91fe0f451d9b92fd5213bde058567cd1
symbol(view returns (string)
pEEFI
totalSupply(view returns (uint256)
6497918992666967656691
Read-only
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
getInitialAmount(address _sourceTokenuint256 _sourceAmountaddress _targetTokenview returns (uint256)
getTokenPriceUSDX96(address _tokenview returns (uint256)
indexTokens(uint256view returns (address tokenuint256 weightinguint256 basePriceUSDX96address c1uint256 q1)
isAsset(address _tokenview returns (bool)
nonces(address ownerview returns (uint256)
State-modifying
addLiquidityV2(uint256 _idxLPTokensuint256 _pairedLPTokensuint256 _slippageuint256 _deadline
approve(address spenderuint256 amountreturns (bool)
bond(address _tokenuint256 _amountuint256 _amountMintMin
burn(uint256 _amount
debond(uint256 _amountaddress[]uint8[]
decreaseAllowance(address spenderuint256 subtractedValuereturns (bool)
flash(address _recipientaddress _tokenuint256 _amountbytes _data
increaseAllowance(address spenderuint256 addedValuereturns (bool)
permit(address owneraddress spenderuint256 valueuint256 deadlineuint8 vbytes32 rbytes32 s
processPreSwapFeesAndSwap(
removeLiquidityV2(uint256 _lpTokensuint256 _minIdxTokensuint256 _minPairedLpTokenuint256 _deadline
rescueERC20(address _token
rescueETH(
setPartner(address _partner
setPartnerFee(uint256 _fee
transfer(address touint256 amountreturns (bool)
transferFrom(address fromaddress touint256 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
EIP712DomainChanged(
FlashLoan(address indexed executoraddress indexed recipientaddress tokenuint256 amount
RemoveLiquidity(address indexed walletuint256 amountLiquidity
Transfer(address indexed fromaddress indexed touint256 value
Constructor
constructor(string _namestring _symbolstruct IDecentralizedIndexFees _feesaddress[] _tokensuint256[] _weightsaddress _partneraddress _pairedLpTokenaddress _lpRewardsTokenaddress _v2Routerbool _stakeRestriction
Fallback and receive

This contract contains no fallback and receive objects.

Errors
InvalidShortString(
StringTooLong(string str