WeightedIndex

Verified contract

Active on Base with 1,009 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 $361,253.98
ERC-20
Value $0
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
0xaf016ceb0cb2baf50ae1de7f28426dd47dbb59a2351f3f933e7ecc7fe09e21ba
0xbf504c610bad1f05dea30bb6c5122f595ff29d7c5e9cb49c736265a015e4cc76
0x1dc575ab725ef319df9254c5982b98eb3b0298476eb8a6e77824c4f5ce49d4df
0xe3775b79b32dd8a12da4e7021389b14dce0e7ea86cf90d21cec16bcd182774c0
0xaa1a55f1abcb6f99cf3936986970442c694e132262829846fd0586df5b1f7b6a
0x5a67dcd25dd266c78d2ba39a8b32ab07c33568043c432598294e2dfa0c5e26c2
0x4c3ee44e0534ef4e3422518bca1e74bb8d5054dbec88c2ac23684136e967d305
0x38e2add91746b376b007507b5ab94b8a7bb190eb5a23d3f59fd0cdefbcc69db6
0x1b0b5891ee8b8e32c59541359064736e116aed5ccefbaa9d26779d54cd38b316
0x7affb196473db5f8c22cf6c3956b2b3f2b0f01f72b7f3c5bf832be526efe35b3

Functions
Getter at block 21761723
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)
313097572365029050004083
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