WeightedIndex

Verified contract

Active on Base with 1,140 txns
Deployed by via 0x364ba741 at 14063328
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $389,806.9
ERC-20
Value $0
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
0x3f46c77a8b4f38cbed322f66bfe0f7a0f70b211ff5c1480fd96051326276c0fe
0xc9c35b732e5f3caf09e0033034587fa3d939cc03330cd64a0ddc305c3f87c9c1
0xc33c1cbd77c85ea2c7716e5616245cdf3456e9f2af1ddd44b96003e0c049ee4f
0x9e56ee83adb1f0056e48424c23b3da41e2dcd009fc5a85026b203147934902ab
0x6cf61a2fbfb2ce1621fdc0e156349800335b3905121d3a81ece12f41cb4d04b8
0xced8b2a698737a1aa75aadd109f711ae1aad3f016ea206a90cb160b6bee6a9c2
0xe3af2d50358f7aa8563fad146a7b3cacddedd50f9a3e47492a15c5506514b015
0x5648776883bf6d5584bd2e181dc26691310457418b19f048510a9fd653df2ec2
0xc78e6babc2b51633f4f5aa7606a35674f0c29e9032d72acdbdea25b2d7a48d2b
0xedc6f1ea799fae38348f6d20480d5b4d99e9a77434dedf0d3d39d271125e535c

Functions
Getter at block 22753932
BOND_FEE(view returns (uint16)
20
DEBOND_FEE(view returns (uint16)
20
DEX_HANDLER(view returns (address)
0xb9f88534d856dc3c6785f47a0c6944b71d1ff944
DOMAIN_SEPARATOR(view returns (bytes32)
0xaad8d3b212d5c7ae800a2adc7ec40b1b72ef9648bc7f627735e61156cadb6265
FLASH_FEE_AMOUNT_DAI(view returns (uint256)
10000000
PAIRED_LP_TOKEN(view returns (address)
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
config(view returns (address partnerbool hasTransferTaxbool blacklistTKNpTKNPoolV2)
(partner=0x0000000000000000000000000000000000000000, hasTransferTax=false, blacklistTKNpTKNPoolV2=false)
created(view returns (uint256)
1714916003
decimals(view returns (uint8)
18
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=@MorphexBMX Pod (BASE), version=1, chainId=8453, verifyingContract=0x3dd79d6bd927615787cc95f2c7a77c9ac1af26f4, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
fees(view returns (uint16 burnuint16 bonduint16 debonduint16 buyuint16 selluint16 partner)
(burn=5000, bond=20, debond=20, buy=20, sell=20, partner=0)
getAllAssets(view returns (struct IDecentralizedIndexIndexAssetInfo[])
[(0x4e74d4db6c0726ccded4656d0bce448876bb4c7a, 100000000000000000000, 0, 0x0000000000000000000000000000000000000000, 79228162514264337593543950336000000000000000000)]
 
getIdxPriceUSDX96(view returns (uint256uint256)
indexType(view returns (uint8)
0
lpRewardsToken(view returns (address)
0x02f92800f57bcd74066f5709f1daa1a4302df875
lpStakingPool(view returns (address)
0xc820e6a24e232bf586d3620fc680e852562de4cf
name(view returns (string)
@MorphexBMX Pod (BASE)
partner(view returns (address)
0x0000000000000000000000000000000000000000
symbol(view returns (string)
pwBLT
totalSupply(view returns (uint256)
320666013244641555280014
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 _deadlinereturns (uint256)
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)
initialize(
permit(address owneraddress spenderuint256 valueuint256 deadlineuint8 vbytes32 rbytes32 s
processPreSwapFeesAndSwap(
removeLiquidityV2(uint256 _lpTokensuint256 _minIdxTokensuint256 _minPairedLpTokenuint256 _deadline
rescueERC20(address _token
rescueETH(
setPartner(address _partner
setPartnerFee(uint16 _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
Initialize(address indexed walletaddress v2Pool
RemoveLiquidity(address indexed walletuint256 amountLiquidity
SetPartner(address indexed walletaddress newPartner
SetPartnerFee(address indexed walletuint16 newFee
Transfer(address indexed fromaddress indexed touint256 value
Constructor
constructor(string _namestring _symbolstruct IDecentralizedIndexConfig _configstruct IDecentralizedIndexFees _feesaddress[] _tokensuint256[] _weightsaddress _pairedLpTokenaddress _lpRewardsTokenaddress _dexHandlerbool _stakeRestriction
Fallback and receive
receive(
Errors
InvalidShortString(
StringTooLong(string str