WeightedIndex

Verified contract

Active on Ethereum with 192 txns
Deployed by via 0x5209b36a at 19189569
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
--
0x0f7fd9bef768ff694142d7052eb41dad5624c4aa3698d8b3ba9f64c2598c1c3e
0xc5b8c1d4f5c2d74fa5ce9f1466b860f7cf5737e13e1729d49a79fd5c2a26dac0
0xbe017ee2d00c1ccbff7ac67cdadbd6602c3c5228e606ba3659610270375964fe
0x1b8d11c37a6ed339ef558725f176de853016a97e950df512e76304b9b3c21c84
0x6349285f35e383e1aa8368f78060619de78e01110c1db115bb57caaf7d80dea5
0x9244894f1c2192acfb48a311b8d0ac030c00c9369e5f3039c9f4462d7df063ce
0x24a68693d9698f50be95243a279cf9e788dae4e18e83b575d6b812e271f3291f
0x8fb3bd019ec40875d8c009369b73faef006516007c0541e7600b9ffebcc47fdb
0x87a951694f29704234036f1457d2ac7940ce66c7bad84cf5973f1ff2cf69a5c4
0x322f1c780c32e51484ae758c4ac0d7dfbfba8642296101cd2a2274a1a1a0c086

Functions
Getter at block 21377970
BOND_FEE(view returns (uint256)
100
DEBOND_FEE(view returns (uint256)
100
DOMAIN_SEPARATOR(view returns (bytes32)
0xec36b9a769fb814be3650960ab24c5ef7d3ab728180143fde12ff9ff6b08a565
FLASH_FEE(view returns (uint256)
10
PAIRED_LP_TOKEN(view returns (address)
0x6b175474e89094c44da98b954eedeac495271d0f
created(view returns (uint256)
1707469547
decimals(view returns (uint8)
18
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=DeFrogs Pod, version=1, chainId=1, verifyingContract=0x037febecef1ecdeb07f5746132f2c8e48acba82d, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
fees(view returns (uint256 burnuint256 bonduint256 debonduint256 buyuint256 selluint256 partner)
(burn=3000, bond=100, debond=100, buy=250, sell=250, partner=0)
getAllAssets(view returns (struct IDecentralizedIndexIndexAssetInfo[])
[(0xd555498a524612c67f286df0e0a9a64a73a7cdc7, 100000000000000000000, 0, 0x0000000000000000000000000000000000000000, 79228162514264337593543950336000000000000000000)]
 
getIdxPriceUSDX96(view returns (uint256uint256)
indexType(view returns (uint8)
0
lpRewardsToken(view returns (address)
0x02f92800f57bcd74066f5709f1daa1a4302df875
lpStakingPool(view returns (address)
0x6f440cb13f8d5896901eb1e6ed5af30e5d7b9c9f
name(view returns (string)
DeFrogs Pod
partner(view returns (address)
0x0000000000000000000000000000000000000000
symbol(view returns (string)
pDFROGS
totalSupply(view returns (uint256)
26362931059307316704
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