WeightedIndex
Verified contract
Active on
Ethereum with 1,461 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 ($1,122,926.43)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
OHM | ERC-20 | 69.574128K | $16.14 |
$1,122,926.43 | |
pOHM | ERC-20 | 30.619833 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21151377 | 21 hours ago | | | 0 | 0.00048988334 | |
| 21141031 | 2 days ago | | | 0 | 0.00086032212 | |
| 21136081 | 3 days ago | | | 0 | 0.0013007092 | |
| 21133139 | 3 days ago | | | 0 | 0.0018141238 | |
| 21132453 | 4 days ago | | | 0 | 0.00086856097 | |
| 21119806 | 5 days ago | | | 0 | 0.00015034905 | |
| 21116042 | 6 days ago | | | 0 | 0.00033566189 | |
| 21106629 | 7 days ago | | | 0 | 0.00026163345 | |
| 21104580 | 7 days ago | | | 0 | 0.00025633226 | |
| 21089439 | 10 days ago | | | 0 | 0.00036003437 |
ABI
ABI objects
Getter at block 21157651 getIdxPriceUSDX96() view returns (uint256, uint256)
BOND_FEE() view returns (uint256)
70
DEBOND_FEE() view returns (uint256)
70
DOMAIN_SEPARATOR() view returns (bytes32)
0x5e40420ae1144b13676c65be012c89abc2d6a74e3abbf31022adc466554c158d
FLASH_FEE() view returns (uint256)
10
PAIRED_LP_TOKEN() view returns (address)
0x6b175474e89094c44da98b954eedeac495271d0f
created() view returns (uint256)
1706207735
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=OHM Pod, version=1, chainId=1, verifyingContract=0x88e08adb69f2618adf1a3ff6cc43c671612d1ca4, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
fees() view returns (uint256 burn, uint256 bond, uint256 debond, uint256 buy, uint256 sell, uint256 partner)
(burn=4500, bond=70, debond=70, buy=20, sell=20, partner=500)
getAllAssets() view returns (struct IDecentralizedIndexIndexAssetInfo[])
[(0x64aa3364f17a4d01c6f1751fd97c2bd3d7e7f1d5, 100000000000000000000, 0, 0x0000000000000000000000000000000000000000, 79228162514264337593543950336000000000)]
indexType() view returns (uint8)
0
lpRewardsToken() view returns (address)
0x02f92800f57bcd74066f5709f1daa1a4302df875
lpStakingPool() view returns (address)
0x9034dc9b62d62408010adc31203c66a9c1d73180
name() view returns (string)
OHM Pod
partner() view returns (address)
0x73b1961f3fb68eda8bb66c96ffaf2b17dc9715c6
symbol() view returns (string)
pOHM
totalSupply() view returns (uint256)
67038386019191659613524
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)