WeightedIndex
Verified contract
Active on
Ethereum with 2,234 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 5 additional slots
Balances ($13,918,824.37)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
PEAS | ERC-20 | 2.125011M | $6.55 |
$13,918,824.37 | |
pPEAS | ERC-20 | 366.581808 | -- | -- | |
ERC-20721 | ERC-20 | 47.56445 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21272910 | a day ago | | | 0 | 0.0016857764 | |
| 21272265 | 2 days ago | | | 0 | 0.0013527099 | |
| 21268891 | 2 days ago | | | 0 | 0.00055117113 | |
| 21264241 | 3 days ago | | | 0 | 0.0015341953 | |
| 21264035 | 3 days ago | | | 0 | 0.00086735001 | |
| 21261168 | 3 days ago | | | 0 | 0.00065251047 | |
| 21259155 | 3 days ago | | | 0 | 0.00050895837 | |
| 21256146 | 4 days ago | | | 0 | 0.00059765731 | |
| 21254666 | 4 days ago | | | 0 | 0.00075454747 | |
| 21253589 | 4 days ago | | | 0 | 0.00063678866 |
ABI
ABI objects
Getter at block 21283582 getIdxPriceUSDX96() view returns (uint256, uint256)
BOND_FEE() view returns (uint256)
150
DEBOND_FEE() view returns (uint256)
90
DOMAIN_SEPARATOR() view returns (bytes32)
0x413c554fa0805da6971540627a0746a1387a99d2af309c3fe1d9a77a756b4d2f
FLASH_FEE() view returns (uint256)
10
PAIRED_LP_TOKEN() view returns (address)
0x88e08adb69f2618adf1a3ff6cc43c671612d1ca4
created() view returns (uint256)
1706211851
decimals() view returns (uint8)
18
eip712Domain() view returns (bytes1 fields, string name, string version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] extensions)
(fields=0x0f, name=Pea Pod, version=1, chainId=1, verifyingContract=0x027ce48b9b346728557e8d420fe936a72bf9b1c7, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
fees() view returns (uint256 burn, uint256 bond, uint256 debond, uint256 buy, uint256 sell, uint256 partner)
(burn=5000, bond=150, debond=90, buy=50, sell=50, partner=0)
getAllAssets() view returns (struct IDecentralizedIndexIndexAssetInfo[])
[(0x02f92800f57bcd74066f5709f1daa1a4302df875, 100000000000000000000, 0, 0x0000000000000000000000000000000000000000, 79228162514264337593543950336000000000000000000)]
indexType() view returns (uint8)
0
lpRewardsToken() view returns (address)
0x02f92800f57bcd74066f5709f1daa1a4302df875
lpStakingPool() view returns (address)
0xe8ed30b29ee7839a5bab8966515f897e7576afa7
name() view returns (string)
Pea Pod
partner() view returns (address)
0x0000000000000000000000000000000000000000
symbol() view returns (string)
pPEAS
totalSupply() view returns (uint256)
2012636077061023484912582
Read-only
allowance(address owner, address spender) view returns (uint256)
balanceOf(address account) view returns (uint256)
getInitialAmount(address _sourceToken, uint256 _sourceAmount, address _targetToken) view returns (uint256)
getTokenPriceUSDX96(address _token) view returns (uint256)
indexTokens(uint256) view returns (address token, uint256 weighting, uint256 basePriceUSDX96, address c1, uint256 q1)
isAsset(address _token) view returns (bool)
nonces(address owner) view returns (uint256)
State-modifying
Events addLiquidityV2(uint256 _idxLPTokens, uint256 _pairedLPTokens, uint256 _slippage, uint256 _deadline)
approve(address spender, uint256 amount) returns (bool)
bond(address _token, uint256 _amount, uint256 _amountMintMin)
burn(uint256 _amount)
debond(uint256 _amount, address[], uint8[])
decreaseAllowance(address spender, uint256 subtractedValue) returns (bool)
flash(address _recipient, address _token, uint256 _amount, bytes _data)
increaseAllowance(address spender, uint256 addedValue) returns (bool)
permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s)
processPreSwapFeesAndSwap()
removeLiquidityV2(uint256 _lpTokens, uint256 _minIdxTokens, uint256 _minPairedLpToken, uint256 _deadline)
rescueERC20(address _token)
rescueETH()
setPartner(address _partner)
setPartnerFee(uint256 _fee)
transfer(address to, uint256 amount) returns (bool)
transferFrom(address from, address to, uint256 amount) returns (bool)
AddLiquidity(address indexed wallet, uint256 amountTokens, uint256 amountDAI)
Approval(address indexed owner, address indexed spender, uint256 value)
Bond(address indexed wallet, address indexed token, uint256 amountTokensBonded, uint256 amountTokensMinted)
Create(address indexed newIdx, address indexed wallet)
Debond(address indexed wallet, uint256 amountDebonded)
EIP712DomainChanged()
FlashLoan(address indexed executor, address indexed recipient, address token, uint256 amount)
RemoveLiquidity(address indexed wallet, uint256 amountLiquidity)
Transfer(address indexed from, address indexed to, uint256 value)
constructor(string _name, string _symbol, struct IDecentralizedIndexFees _fees, address[] _tokens, uint256[] _weights, address _partner, address _pairedLpToken, address _lpRewardsToken, address _v2Router, bool _stakeRestriction)
This contract contains no fallback and receive objects.
InvalidShortString()
StringTooLong(string str)