@reality.eth/contracts 3.2.25 → 3.2.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/chains/deployments/10/OETH/RealityETH-3.0.json +3 -1
- package/chains/deployments/100/XDAI/RealityETH-3.0.json +3 -1
- package/chains/deployments/8453/ETH/RealityETH-3.0.json +3 -1
- package/chains/supported.json +62 -14
- package/generated/chains.json +23 -0
- package/generated/contract_token_lookup.json +476 -0
- package/generated/contracts.json +9 -3
- package/generated/tokens.json +45 -23
- package/generated/website-data.js +1 -0
- package/package.json +7 -3
- package/scripts/generate_chains_json.js +8 -0
- package/scripts/generate_contract_token_lookup.js +40 -0
- package/scripts/generate_indexer_config.js +111 -0
- package/scripts/generate_ponder_config.js +222 -0
- package/scripts/generate_website_data.js +68 -0
- package/scripts/update_token_prices.js +144 -0
- package/tests/python/requirements.txt +0 -4
- package/tests/python/test.py +37 -34
- package/tests/python/test_erc20.py +27 -25
- package/tokens/ARETH.json +3 -2
- package/tokens/AVAX.json +2 -1
- package/tokens/BNB.json +2 -1
- package/tokens/BOND.json +2 -1
- package/tokens/CELO.json +3 -2
- package/tokens/CTH.json +2 -1
- package/tokens/DAOOS.json +2 -1
- package/tokens/DEXE.json +2 -1
- package/tokens/ETH.json +3 -2
- package/tokens/FOX.json +2 -1
- package/tokens/GNO.json +4 -3
- package/tokens/MATIC.json +2 -1
- package/tokens/MONAD.json +3 -2
- package/tokens/OETH.json +3 -2
- package/tokens/POLK.json +2 -1
- package/tokens/SUKU.json +2 -1
- package/tokens/SWISE.json +2 -1
- package/tokens/TLOS.json +3 -2
- package/tokens/TRST.json +2 -1
- package/tokens/UBQ.json +2 -1
- package/tokens/XDAI.json +3 -2
- package/tokens/ZBS.json +2 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
window.RealityWebsiteData = {"chains":{"1":{"chainId":"0x1","chainName":"Ethereum Mainnet","nativeCurrency":{"name":"Ether","symbol":"ETH","decimals":18},"network_name":"mainnet","rpcUrls":["https://api.mycryptoapi.com/eth","https://cloudflare-eth.com","https://ethereum-rpc.publicnode.com","wss://ethereum-rpc.publicnode.com","https://mainnet.gateway.tenderly.co","wss://mainnet.gateway.tenderly.co","https://rpc.blocknative.com/boost","https://rpc.flashbots.net","https://rpc.flashbots.net/fast","https://rpc.mevblocker.io","https://rpc.mevblocker.io/fast","https://rpc.mevblocker.io/noreverts","https://rpc.mevblocker.io/fullprivacy","https://eth.drpc.org","wss://eth.drpc.org","https://api.securerpc.com/v1"],"hostedRPC":"https://eth-mainnet.g.alchemy.com/v2/c9uS--nIxEOjVjh0AJlNttMaqUXQy8gR","atprotoBot":"did:plc:u4d5v5zsl5jb2y33vtfhyjo5","graphURL":"https://gateway.thegraph.com/api/73380b22a17017c081123ec9c0e34677/deployments/id/QmaugeofXNk2tCN3U3LaEi8vRq99zZ6pbKYJDWbbVF1Z9E","realityETHIndexerSupport":true,"blocksPerDay":7200,"blockExplorerUrls":["https://etherscan.io","https://eth.blockscout.com","https://ethereum.dex.guru","https://ethereum.routescan.io"]},"3":{"chainId":"0x3","chainName":"Ropsten","nativeCurrency":{"name":"Ropsten Ether","symbol":"ETH","decimals":18},"network_name":"ropsten","rpcUrls":[],"hostedRPC":"https://ropsten.infura.io/tSrhlXUe1sNEO5ZWhpUK","graphURL":"https://api.thegraph.com/subgraphs/name/realityeth/realityeth-ropsten","deprecated":true,"blockExplorerUrls":["https://ropsten.etherscan.io"]},"4":{"chainId":"0x4","chainName":"Rinkeby","nativeCurrency":{"name":"Rinkeby Ether","symbol":"ETH","decimals":18},"network_name":"rinkeby","rpcUrls":[],"graphURL":"https://api.thegraph.com/subgraphs/name/realityeth/realityeth-rinkeby","blockExplorerUrls":["https://rinkeby.etherscan.io"]},"5":{"chainId":"0x5","chainName":"Goerli","nativeCurrency":{"name":"Goerli Ether","symbol":"ETH","decimals":18},"network_name":"goerli","rpcUrls":["https://rpc.goerli.mudit.blog/","https://ethereum-goerli-rpc.publicnode.com","wss://ethereum-goerli-rpc.publicnode.com","https://goerli.gateway.tenderly.co","wss://goerli.gateway.tenderly.co"],"hostedRPC":"https://rpc.goerli.mudit.blog/","graphURL":"https://gateway.testnet.thegraph.com/api/73380b22a17017c081123ec9c0e34677/subgraphs/id/AWx6jkeKZ3xKRzkrzgfCAMPT7d6Jc3AMcqB8koN3QEqE","blockExplorerUrls":["https://goerli.etherscan.io","https://eth-goerli.blockscout.com"]},"8":{"chainId":"0x8","chainName":"Ubiq","nativeCurrency":{"name":"Ubiq Ether","symbol":"UBQ","decimals":18},"network_name":"ubiq","rpcUrls":["https://rpc.octano.dev","https://pyrus2.ubiqscan.io"],"hostedRPC":"https://rpc.octano.dev","blockExplorerUrls":["https://ubiqscan.io","https://ubqblockexplorer.com/"]},"10":{"chainId":"0xa","chainName":"OP Mainnet","nativeCurrency":{"name":"Ether","symbol":"ETH","decimals":18},"network_name":"optimism","rpcUrls":["https://mainnet.optimism.io","https://optimism-rpc.publicnode.com","wss://optimism-rpc.publicnode.com","https://optimism.gateway.tenderly.co","wss://optimism.gateway.tenderly.co","https://optimism.drpc.org","wss://optimism.drpc.org"],"hostedRPC":"https://mainnet.optimism.io","graphURL":"https://gateway-arbitrum.network.thegraph.com/api/73380b22a17017c081123ec9c0e34677/subgraphs/id/DbXiienZtjzLNQiXUfVvEyGxR3xkrJ7sJm5XdDKT4DqL","realityETHIndexerSupport":true,"blocksPerDay":43200,"blockExplorerUrls":["https://optimistic.etherscan.io","https://optimism.blockscout.com","https://optimism.dex.guru","https://mainnet.superscan.network"]},"40":{"chainId":"0x28","chainName":"Telos EVM Mainnet","nativeCurrency":{"name":"Telos","symbol":"TLOS","decimals":18},"network_name":"TelosEVM","rpcUrls":["https://rpc.telos.net","https://telos.drpc.org","wss://telos.drpc.org"],"hostedRPC":"https://rpc.telos.net","blockExplorerUrls":["https://teloscan.io"]},"56":{"chainId":"0x38","chainName":"BNB Smart Chain Mainnet","nativeCurrency":{"name":"BNB Chain Native Token","symbol":"BNB","decimals":18},"network_name":"bsc","rpcUrls":["https://bsc-dataseed1.bnbchain.org","https://bsc-dataseed2.bnbchain.org","https://bsc-dataseed3.bnbchain.org","https://bsc-dataseed4.bnbchain.org","https://bsc-dataseed1.defibit.io","https://bsc-dataseed2.defibit.io","https://bsc-dataseed3.defibit.io","https://bsc-dataseed4.defibit.io","https://bsc-dataseed1.ninicoin.io","https://bsc-dataseed2.ninicoin.io","https://bsc-dataseed3.ninicoin.io","https://bsc-dataseed4.ninicoin.io","https://bsc-rpc.publicnode.com","wss://bsc-rpc.publicnode.com","wss://bsc-ws-node.nariox.org"],"hostedRPC":"https://bsc-dataseed1.bnbchain.org","graphURL":"https://gateway-arbitrum.network.thegraph.com/api/73380b22a17017c081123ec9c0e34677/subgraphs/id/5KjMLU6mx7RrjJJK9XKrM7i6oeB7C6gpnsi3CTWqpYpm","realityETHIndexerSupport":true,"blocksPerDay":28800,"blockExplorerUrls":["https://bscscan.com","https://bnb.dex.guru","https://www.bscscan.com"]},"69":{"chainId":"0x45","chainName":"Optimism Kovan","nativeCurrency":{"name":"Kovan Ether","symbol":"ETH","decimals":18},"network_name":"kovan","rpcUrls":["https://kovan.optimism.io/"],"hostedRPC":"https://kovan.optimism.io","blockExplorerUrls":["https://kovan-optimistic.etherscan.io"]},"77":{"chainId":"0x4d","chainName":"POA Network Sokol","nativeCurrency":{"name":"POA Sokol Ether","symbol":"SPOA","decimals":18},"network_name":"poa-sokol","rpcUrls":["https://sokol.poa.network","wss://sokol.poa.network/wss","ws://sokol.poa.network:8546"],"hostedRPC":"https://sokol.poa.network","graphURL":"https://api.thegraph.com/subgraphs/name/realityeth/realityeth-sokol","blockExplorerUrls":["https://blockscout.com/poa/sokol"]},"97":{"chainId":"0x61","chainName":"BNB Smart Chain Testnet","nativeCurrency":{"name":"BNB Chain Native Token","symbol":"tBNB","decimals":18},"network_name":"chapel","rpcUrls":["https://data-seed-prebsc-1-s1.bnbchain.org:8545","https://data-seed-prebsc-2-s1.bnbchain.org:8545","https://data-seed-prebsc-1-s2.bnbchain.org:8545","https://data-seed-prebsc-2-s2.bnbchain.org:8545","https://data-seed-prebsc-1-s3.bnbchain.org:8545","https://data-seed-prebsc-2-s3.bnbchain.org:8545","https://bsc-testnet-rpc.publicnode.com","wss://bsc-testnet-rpc.publicnode.com"],"hostedRPC":"https://data-seed-prebsc-1-s1.bnbchain.org:8545","graphURL":"https://api.thegraph.com/subgraphs/name/realityeth/realityeth-chapel","blockExplorerUrls":["https://testnet.bscscan.com"]},"100":{"chainId":"0x64","chainName":"Gnosis","nativeCurrency":{"name":"xDAI","symbol":"XDAI","decimals":18},"network_name":"gnosis","rpcUrls":["https://rpc.gnosischain.com","https://rpc.gnosis.gateway.fm","https://rpc.ankr.com/gnosis","https://gnosischain-rpc.gateway.pokt.network","https://gnosis-mainnet.public.blastapi.io","https://gnosis.api.onfinality.io/public","https://gnosis.blockpi.network/v1/rpc/public","https://web3endpoints.com/gnosischain-mainnet","https://gnosis.oat.farm","wss://rpc.gnosischain.com/wss","https://gnosis-rpc.publicnode.com","wss://gnosis-rpc.publicnode.com"],"hostedRPC":"https://rpc.gnosischain.com","atprotoBot":"did:plc:u4d5v5zsl5jb2y33vtfhyjo5","graphURL":"https://gateway-arbitrum.network.thegraph.com/api/73380b22a17017c081123ec9c0e34677/subgraphs/id/E7ymrCnNcQdAAgLbdFWzGE5mvr5Mb5T9VfT43FqA7bNh","realityETHIndexerSupport":true,"blocksPerDay":17280,"blockExplorerUrls":["https://gnosisscan.io","https://gnosis.blockscout.com","https://gnosis.dex.guru"]},"130":{"chainId":"0x82","chainName":"Unichain","nativeCurrency":{"name":"Ether","symbol":"ETH","decimals":18},"network_name":"unichain","rpcUrls":["https://mainnet.unichain.org","https://unichain-rpc.publicnode.com","wss://unichain-rpc.publicnode.com"],"hostedRPC":"https://mainnet.unichain.org","atprotoBot":"did:plc:u4d5v5zsl5jb2y33vtfhyjo5","graphURL":"https://gateway.thegraph.com/api/73380b22a17017c081123ec9c0e34677/subgraphs/id/ChZUYehW8ionezxqgM1UQsrjuZpcBbNkiTjQX5jBauEi","realityETHIndexerSupport":true,"blocksPerDay":43200,"blockExplorerUrls":["https://uniscan.xyz","https://unichain.blockscout.com","https://unichain.blockscout.com/"]},"137":{"chainId":"0x89","chainName":"Polygon Mainnet","nativeCurrency":{"name":"POL","symbol":"POL","decimals":18},"network_name":"matic","rpcUrls":["https://polygon-rpc.com/","https://rpc-mainnet.matic.network","https://matic-mainnet.chainstacklabs.com","https://rpc-mainnet.maticvigil.com","https://rpc-mainnet.matic.quiknode.pro","https://matic-mainnet-full-rpc.bwarelabs.com","https://polygon-bor-rpc.publicnode.com","wss://polygon-bor-rpc.publicnode.com","https://polygon.gateway.tenderly.co","wss://polygon.gateway.tenderly.co","https://polygon.drpc.org","wss://polygon.drpc.org"],"hostedRPC":"https://polygon-rpc.com/","graphURL":"https://gateway-arbitrum.network.thegraph.com/api/73380b22a17017c081123ec9c0e34677/subgraphs/id/AWx6jkeKZ3xKRzkrzgfCAMPT7d6Jc3AMcqB8koN3QEqE","realityETHIndexerSupport":true,"blocksPerDay":43200,"blockExplorerUrls":["https://polygonscan.com","https://polygon.dex.guru","https://polygonscan.com/"]},"143":{"chainId":"0x8f","chainName":"Monad","nativeCurrency":{"name":"Monad","symbol":"MON","decimals":18},"network_name":"monad","rpcUrls":["https://rpc.monad.xyz"],"hostedRPC":"https://rpc.monad.xyz","blockExplorerUrls":["https://monadvision.com","https://monadscan.com","https://monad.socialscan.io/"]},"280":{"chainId":"0x118","chainName":"ZKSync Goerli","nativeCurrency":{"name":"Ether","symbol":"WETH","decimals":18},"network_name":"zkSync2-testnet","rpcUrls":["https://zksync2-testnet.zksync.dev"],"hostedRPC":"https://zksync2-testnet.zksync.dev","graphURL":"https://api.thegraph.com/subgraphs/name/realityeth/realityeth-zksync-goerli-2","blockExplorerUrls":["https://goerli.explorer.zksync.io/","https://zksync2-testnet.zkscan.io"]},"300":{"chainId":"0x12c","chainName":"zkSync Sepolia Testnet","nativeCurrency":{"name":"Ether","symbol":"ETH","decimals":18},"network_name":"zksync-sepolia","rpcUrls":["https://sepolia.era.zksync.dev","https://zksync-sepolia.drpc.org","wss://zksync-sepolia.drpc.org"],"hostedRPC":"https://sepolia.era.zksync.dev","blockExplorerUrls":["https://sepolia.explorer.zksync.io"]},"324":{"chainId":"0x144","chainName":"zkSync Mainnet","nativeCurrency":{"name":"Ether","symbol":"ETH","decimals":18},"network_name":"zksync-era","rpcUrls":["https://mainnet.era.zksync.io","https://zksync.drpc.org","wss://zksync.drpc.org"],"hostedRPC":"https://mainnet.era.zksync.io","graphURL":"https://api.thegraph.com/subgraphs/name/realityeth/realityeth-zksync-era","blockExplorerUrls":["https://explorer.zksync.io","https://explorer.zksync.io/"]},"690":{"chainId":"0x2b2","chainName":"Redstone","nativeCurrency":{"name":"Ether","symbol":"ETH","decimals":18},"network_name":"redstone","rpcUrls":["https://rpc.redstonechain.com","wss://rpc.redstonechain.com"],"hostedRPC":"https://rpc.redstonechain.com","blockExplorerUrls":["https://explorer.redstone.xyz","https://explorer.redstone.xyz/"]},"777":{"chainId":"0x309","chainName":"cheapETH","nativeCurrency":{"name":"cTH","symbol":"cTH","decimals":18},"network_name":"cheapeth","rpcUrls":["https://node.cheapeth.org/rpc"],"hostedRPC":"https://node.cheapeth.org/rpc","blockExplorerUrls":["https://explore.cheapswap.io/"]},"1101":{"chainId":"0x44d","chainName":"Polygon zkEVM","nativeCurrency":{"name":"Ether","symbol":"ETH","decimals":18},"network_name":"polygon-zkevm","rpcUrls":["https://zkevm-rpc.com","https://polygon-zkevm.drpc.org","wss://polygon-zkevm.drpc.org"],"hostedRPC":"https://zkevm-rpc.com","blockExplorerUrls":["https://zkevm.polygonscan.com","https://zkevm.polygonscan.com/"]},"1301":{"chainId":"0x515","chainName":"Unichain Sepolia Testnet","nativeCurrency":{"name":"Sepolia Ether","symbol":"ETH","decimals":18},"network_name":"unichain-sepolia","rpcUrls":["https://sepolia.unichain.org","https://unichain-sepolia-rpc.publicnode.com","wss://unichain-sepolia-rpc.publicnode.com"],"hostedRPC":"https://sepolia.unichain.org","blockExplorerUrls":["https://unichain-sepolia.blockscout.com","https://sepolia.uniscan.xyz","https://unichain-sepolia.blockscout.com/"]},"8453":{"chainId":"0x2105","chainName":"Base","nativeCurrency":{"name":"Ether","symbol":"ETH","decimals":18},"network_name":"base","rpcUrls":["https://mainnet.base.org/","https://developer-access-mainnet.base.org/","https://base.gateway.tenderly.co","wss://base.gateway.tenderly.co","https://base-rpc.publicnode.com","wss://base-rpc.publicnode.com"],"hostedRPC":"https://mainnet.base.org","graphURL":"https://gateway.thegraph.com/api/73380b22a17017c081123ec9c0e34677/subgraphs/id/8Gtjsx3LGtN3Jfxx1YEbLWNLEd2ntrq3dsyzXgGHov1i","realityETHIndexerSupport":true,"blocksPerDay":43200,"blockExplorerUrls":["https://basescan.org","https://base.blockscout.com","https://base.dex.guru","https://base.superscan.network","https://basescan.org/"]},"10200":{"chainId":"0x27d8","chainName":"Gnosis Chiado Testnet","nativeCurrency":{"name":"Chiado xDAI","symbol":"XDAI","decimals":18},"network_name":"chiado","rpcUrls":["https://rpc.chiadochain.net","https://rpc.chiado.gnosis.gateway.fm","wss://rpc.chiadochain.net/wss","https://gnosis-chiado-rpc.publicnode.com","wss://gnosis-chiado-rpc.publicnode.com","https://gnosis-chiado.drpc.org","wss://gnosis-chiado.drpc.org"],"hostedRPC":"https://rpc.chiadochain.net","blockExplorerUrls":["https://blockscout.chiadochain.net","https://gnosis-chiado.blockscout.com","https://gnosis-chiado.blockscout.com/"]},"17000":{"chainId":"0x4268","chainName":"Holesky","nativeCurrency":{"name":"Testnet ETH","symbol":"ETH","decimals":18},"network_name":"holesky","rpcUrls":["https://rpc.holesky.ethpandaops.io","https://ethereum-holesky-rpc.publicnode.com","wss://ethereum-holesky-rpc.publicnode.com","https://holesky.drpc.org","wss://holesky.drpc.org","https://rpc-holesky.rockx.com"],"hostedRPC":"https://ethereum-holesky.publicnode.com","deprecated":true,"blockExplorerUrls":["https://holesky.beaconcha.in","https://holesky.otterscan.io","https://holesky.etherscan.io","https://holesky.etherscan.io/"]},"42161":{"chainId":"0xa4b1","chainName":"Arbitrum One","nativeCurrency":{"name":"Ether","symbol":"ETH","decimals":18},"network_name":"arbitrum-one","rpcUrls":["https://arb1.arbitrum.io/rpc","wss://arb1.arbitrum.io/ws"],"hostedRPC":"https://arb1.arbitrum.io/rpc","graphURL":"https://gateway-arbitrum.network.thegraph.com/api/73380b22a17017c081123ec9c0e34677/subgraphs/id/GE8vDWJM3JBeqM8uk3LHZMbyBaeZTNjaeZRx1KgWvHeD","realityETHIndexerSupport":true,"blocksPerDay":360000,"blockExplorerUrls":["https://explorer.arbitrum.io"]},"42220":{"chainId":"0xa4ec","chainName":"Celo Mainnet","nativeCurrency":{"name":"CELO","symbol":"CELO","decimals":18},"network_name":"celo","rpcUrls":["https://forno.celo.org","wss://forno.celo.org/ws"],"hostedRPC":"https://forno.celo.org","graphURL":"https://api.studio.thegraph.com/query/41571/realityeth-celo/version/latest","realityETHIndexerSupport":true,"blockExplorerUrls":["https://celoscan.io","https://celo.blockscout.com"]},"43114":{"chainId":"0xa86a","chainName":"Avalanche C-Chain","nativeCurrency":{"name":"Avalanche","symbol":"AVAX","decimals":18},"network_name":"avalanche","rpcUrls":["https://api.avax.network/ext/bc/C/rpc","https://avalanche-c-chain-rpc.publicnode.com","wss://avalanche-c-chain-rpc.publicnode.com"],"hostedRPC":"https://api.avax.network/ext/bc/C/rpc","graphURL":"https://gateway-arbitrum.network.thegraph.com/api/73380b22a17017c081123ec9c0e34677/subgraphs/id/5mxhdAbQubvMU8cVjevsC2L8vre6EaHhpCXBdNPjd6EL","realityETHIndexerSupport":true,"blockExplorerUrls":["https://snowscan.xyz","https://snowtrace.io","https://avascan.info","https://cchain.explorer.avax.network/"]},"80001":{"chainId":"0x13881","chainName":"Mumbai","nativeCurrency":{"name":"MATIC","symbol":"MATIC","decimals":18},"network_name":"mumbai","rpcUrls":["https://rpc-mumbai.maticvigil.com","https://polygon-mumbai-bor-rpc.publicnode.com","wss://polygon-mumbai-bor-rpc.publicnode.com","https://polygon-mumbai.gateway.tenderly.co","wss://polygon-mumbai.gateway.tenderly.co"],"hostedRPC":"https://rpc.ankr.com/polygon_mumbai","graphURL":"https://api.thegraph.com/subgraphs/name/realityeth/realityeth-mumbai","blockExplorerUrls":["https://mumbai.polygonscan.com"]},"84532":{"chainId":"0x14a34","chainName":"Base Sepolia Testnet","nativeCurrency":{"name":"Sepolia Ether","symbol":"ETH","decimals":18},"network_name":"base-sepolia","rpcUrls":["https://sepolia.base.org","https://base-sepolia-rpc.publicnode.com","wss://base-sepolia-rpc.publicnode.com"],"hostedRPC":"https://sepolia.base.org","blockExplorerUrls":["https://sepolia.basescan.org","https://base-sepolia.blockscout.com"]},"421611":{"chainId":"0x66eeb","chainName":"Arbitrum Rinkeby","nativeCurrency":{"name":"Arbitrum Rinkeby Ether","symbol":"ETH","decimals":18},"network_name":"arbitrum-rinkeby","rpcUrls":["https://rinkeby.arbitrum.io/rpc"],"hostedRPC":"https://rinkeby.arbitrum.io/rpc","blockExplorerUrls":["https://testnet.arbiscan.io","https://rinkeby-explorer.arbitrum.io"]},"421613":{"chainId":"0x66eed","chainName":"Arbitrum Goerli","nativeCurrency":{"name":"Arbitrum Goerli Ether","symbol":"AGOR","decimals":18},"network_name":"arbitrum-goerli","rpcUrls":["https://goerli-rollup.arbitrum.io/rpc","https://arbitrum-goerli.publicnode.com","wss://arbitrum-goerli.publicnode.com"],"hostedRPC":"https://goerli-rollup.arbitrum.io/rpc","blockExplorerUrls":["https://goerli.arbiscan.io"]},"421614":{"chainId":"0x66eee","chainName":"Arbitrum Sepolia","nativeCurrency":{"name":"Sepolia Ether","symbol":"ETH","decimals":18},"network_name":"arbitrum-sepolia","rpcUrls":["https://sepolia-rollup.arbitrum.io/rpc","https://arbitrum-sepolia-rpc.publicnode.com","wss://arbitrum-sepolia-rpc.publicnode.com"],"hostedRPC":"https://sepolia-rollup.arbitrum.io/rpc","blockExplorerUrls":["https://sepolia.arbiscan.io","https://sepolia-explorer.arbitrum.io"]},"534353":{"chainId":"0x82751","chainName":"Scroll Alpha Testnet","nativeCurrency":{"name":"Ether","symbol":"ETH","decimals":18},"network_name":"scroll-alpha","rpcUrls":["https://alpha-rpc.scroll.io/l2"],"hostedRPC":"https://alpha-rpc.scroll.io/l2","blockExplorerUrls":["https://alpha-blockscout.scroll.io"]},"1337702":{"chainId":"0x146966","chainName":"Kintsugi","nativeCurrency":{"name":"kintsugi Ethere","symbol":"kiETH","decimals":18},"network_name":"kintsugi","rpcUrls":["https://rpc.kintsugi.themerge.dev"],"hostedRPC":"https://rpc.kintsugi.themerge.dev","deprecated":true,"blockExplorerUrls":["https://explorer.kintsugi.themerge.dev"]},"11155111":{"chainId":"0xaa36a7","chainName":"Ethereum Sepolia","nativeCurrency":{"name":"Sepolia Ether","symbol":"ETH","decimals":18},"network_name":"sepolia","rpcUrls":["https://rpc.sepolia.org","https://rpc2.sepolia.org","https://rpc.sepolia.ethpandaops.io","https://sepolia.gateway.tenderly.co","wss://sepolia.gateway.tenderly.co","https://ethereum-sepolia-rpc.publicnode.com","wss://ethereum-sepolia-rpc.publicnode.com","https://sepolia.drpc.org","wss://sepolia.drpc.org","https://eth-sepolia.g.alchemy.com/v2/WddzdzI2o9S3COdT73d5w6AIogbKq4X-"],"hostedRPC":"https://rpc.sepolia.org","atprotoBot":"did:plc:u4d5v5zsl5jb2y33vtfhyjo5","graphURL":"https://gateway.thegraph.com/api/73380b22a17017c081123ec9c0e34677/subgraphs/id/F3XjWNiNFUTbZhNQjXuhP7oDug2NaPwMPZ5XCRx46h5U","realityETHIndexerSupport":true,"blocksPerDay":7200,"blockExplorerUrls":["https://sepolia.etherscan.io","https://sepolia.otterscan.io","https://11155111.testnet.routescan.io"]},"11155420":{"chainId":"0xaa37dc","chainName":"OP Sepolia Testnet","nativeCurrency":{"name":"Sepolia Ether","symbol":"ETH","decimals":18},"network_name":"optimism-sepolia","rpcUrls":["https://sepolia.optimism.io","https://optimism-sepolia.drpc.org","wss://optimism-sepolia.drpc.org"],"hostedRPC":"https://sepolia.optimism.io","blockExplorerUrls":["https://sepolia-optimism.etherscan.io","https://optimism-sepolia.blockscout.com"]},"88558801":{"chainId":"0x5474cd1","chainName":"Backstop Testnet 1","nativeCurrency":{"name":"Backstop Tokens","symbol":"ZBS","decimals":18},"network_name":"backstopTestnet1","rpcUrls":["https://testnet.rpc.backstop.technology"],"hostedRPC":"https://testnet.rpc.backstop.technology","graphURL":"https://testnet.graph.backstop.technology/subgraphs/name/realityeth-backstop","blockExplorerUrls":["https://testnet.explorer.backstop.technology/"]}},"contracts":{"1":{"ETH":{"RealityETH-2.0":{"address":"0x325a2e0F3CCA2ddbaeBB4DfC38Df8D19ca165b47","block":6531265,"token_address":null,"notes":null,"arbitrators":{"0xdc0a2185031ecf89f091a39c63c2857a7d5c301a":"Reality.eth Team","0xd47f72a2d1d0E91b0Ec5e5f5d02B2dc26d00A14D":"Kleros","0x4072cadf953ad0a1bbacbbb50ac513411ae620db":"Gnosis Corona Information Arbitrator"}},"RealityETH-3.0":{"address":"0x5b7dD1E86623548AF054A4985F7fc8Ccbb554E2c","block":13194676,"notes":null,"arbitrators":{"0xFf32eff53459485074b4Db14633252C9dcA3791A":"Kleros General Court","0xf72cfd1b34a91a64f9a98537fe63fbab7530adca":"Kleros DAO Governance (Technical Court)","0x7837638B3b1546c70dfCbFBd1ce55AC88758D517":"Kleros (Precog)","0x728cba71a3723caab33ea416cb46e2cc9215a596":"Kleros (Old General Court, deprecated)"}},"RealityETH-3.2":{"address":"0x6a2155613b68eFB38D5c6074921F3F4281c8c177","block":22100226,"notes":null,"arbitrators":{}}},"FOX":{"RealityETH_ERC20-2.0":{"address":"0xf4585A9944A390615E7cec6756C1c082173B93eB","block":12821080,"token_address":"0xc770EEfAd204B5180dF6a14Ee197D99d808ee52d","notes":null,"arbitrators":{"0x90A48D5CF7343B08dA12E067680B4C6dbfE551Be":"ShapeShift DAO"}}},"GNO":{"RealityETH_ERC20-2.0":{"address":"0x8f1CC53bf34932591177CDA24723486205CA7510","block":12654677,"token_address":"0x6810e776880c02933d47db1b9fc05908e5386b96","notes":null,"arbitrators":{}},"RealityETH_ERC20-3.0":{"address":"0x33aa365a53a4c9ba777fb5f450901a8eef73f0a9","block":13201169,"token_address":"0x6810e776880c02933d47db1b9fc05908e5386b96","notes":null,"arbitrators":{}}},"SWISE":{"RealityETH_ERC20-3.0":{"address":"0x867092A32bC16816F12Fb326EfF7A2865E1ec138","block":14485577,"token_address":"0x48C3399719B582dD63eB5AADf12A40B4C3f52FA2","notes":null,"arbitrators":{}}},"TRST":{"RealityETH_ERC20-2.0":{"address":"0x3D3B51b1091d1F6491AeB1916C94BAfe57f6Cc9d","block":8050824,"token_address":"0xcb94be6f13a1182e4a4b6140cb7bf2025d28e41b","notes":null,"arbitrators":{"0xB403D7440a70b60aee93178E2F11110f1EFAC8D0":"Realitio Team","0xcE9B84c5612Beaa234ad0d9fa7d283293479510E":"Kleros"}}}},"4":{"DAOOS":{"RealityETH_ERC20-2.0":{"address":"0x3B3ab861Deb4ED756e39f2f6A2634DEdfC182d38","block":8903097,"token_address":"0x56AE5fd086823d1892BACE27034Eb5531Fcdc3f8","notes":null,"arbitrators":{"0x8368d613059dcbdBF909081Bb00190a01b0d5F9D":"daoOS DAO team (rinkeby main)"}},"RealityETH_ERC20-3.0":{"address":"0x5e97Dd72812B59cB3166B0D907a9B360493b9971","block":11107270,"token_address":"0x56AE5fd086823d1892BACE27034Eb5531Fcdc3f8","notes":null,"arbitrators":{}}},"ETH":{"Arbitrator_RealityETH-2.1":{"address":"0xA63Db03F2706a6DFFccE58B8B567872104d7B48f","block":8886242,"reality_eth_address":"0xa09CE5E7943f281A782A0dC021c4029F9088BEC4"},"RealityETH-2.0":{"address":"0x3D00D77ee771405628a4bA4913175EcC095538da","block":3175028,"token_address":null,"notes":null,"arbitrators":{"0x02321745bE4a141E78db6C39834396f8df00e2a0":"Reality.eth Team (rinkeby main)"}},"RealityETH-2.1":{"address":"0xa09CE5E7943f281A782A0dC021c4029F9088BEC4","block":8886224,"notes":null,"arbitrators":{"0xA63Db03F2706a6DFFccE58B8B567872104d7B48f":"Reality.eth Team (rinkeby main)"}},"RealityETH-3.0":{"address":"0xDf33060F476F8cff7511F806C72719394da1Ad64","block":9106451,"notes":null,"arbitrators":{"0xe27768bdb76a9b742b7ddcfe1539fadaf3b89bc7":"Kleros (General Court)"}}},"TRST":{"Arbitrator":{"address":"0xa682C58333F4959cbF728c2a871548E3D8978Fa2","block":8743912,"reality_eth_address":"0xa4dA771Bbd6e93bB8e714Fe97b388fe88eec8288"},"RealityETH_ERC20-2.0":{"address":"0xa4dA771Bbd6e93bB8e714Fe97b388fe88eec8288","block":4643634,"token_address":"0x21036C54e16521B8809553956123E44054120226","notes":null,"arbitrators":{"0x1184313B3690A4B4cF2436924C2d09dAC730628A":"Realitio Team (rinkeby main)"}}}},"5":{"ETH":{"RealityETH-3.0":{"address":"0x6F80C5cBCF9FbC2dA2F0675E56A5900BB70Df72f","block":7313546,"notes":null,"arbitrators":{"0xaa5681047a16f163391377fd9f78e84355cc9696":"Kleros"}}}},"8":{"UBQ":{"Arbitrator":{"address":"0xD31566493ac99fCa63BF17E62724b41010b4AFB6","block":1635513,"reality_eth_address":"0x0dE8A0B6d37FBfD704090245F517e52D7Ad9a903"},"RealityETH-2.1":{"address":"0x0dE8A0B6d37FBfD704090245F517e52D7Ad9a903","block":1621781,"notes":null,"arbitrators":{"0xD31566493ac99fCa63BF17E62724b41010b4AFB6":"Ubiq Core Dev Team"}},"RealityETH-3.0":{"address":"0x23C7eE4F42e473AEf51C3f59D7D58E33a63Ab348","block":1670257,"notes":null,"arbitrators":{}}}},"10":{"OETH":{"RealityETH-3.0":{"address":"0x0eF940F7f053a2eF5D6578841072488aF0c7d89A","block":2462149,"notes":null,"arbitrators":{"0x5AFa42b30955f137e10f89dfb5EF1542a186F90e":"Kleros (Seer)"}}}},"40":{"TLOS":{"RealityETH-3.0":{"address":"0xfd6f6A4181B7df7cd539Ac5ea7b6533869AE9BF1","block":299104399,"notes":null,"arbitrators":{}}}},"56":{"BNB":{"Arbitrator":{"address":"0xec634BD4c5766e96dbDC3cf89D15B4D340690118","block":8215956,"reality_eth_address":"0xa75ae6d61dd9d55e8153a393e2fc859c6a0fc716"},"RealityETH-2.1":{"address":"0xa75ae6d61dd9d55e8153a393e2fc859c6a0fc716","block":7962044,"token_address":null,"notes":null,"arbitrators":{"0xec634BD4c5766e96dbDC3cf89D15B4D340690118":"Reality.eth team (for testing only)"}},"RealityETH-3.0":{"address":"0xa925646Cae3721731F9a8C886E5D1A7B123151B9","block":10751380,"notes":null,"arbitrators":{}}},"DEXE":{"RealityETH_ERC20-3.0":{"address":"0x95f8fc16C7Bd5a5b24CaE629471c6cCC3916826A","block":13749748,"token_address":"0x039cb485212f996a9dbb85a9a75d898f94d38da6","notes":null,"arbitrators":{}}}},"69":{"OETH":{"RealityETH-3.0":{"address":"0x327543eaf65FE0D68333d4D092282cDBA0Bc37a6","block":28282,"notes":null,"arbitrators":{}}}},"77":{"XDAI":{"RealityETH-2.1-rc1":{"address":"0x63975d9e7CF434dCd04bD808d8c79d03EF69100B","block":17307142,"token_address":null,"notes":"Same as 2.1 except missing an empty address check","arbitrators":{}},"RealityETH-2.1":{"address":"0x90a617ed516ab7fAaBA56CcEDA0C5D952f294d03","block":18849434,"token_address":null,"notes":null,"arbitrators":{"0x37Fcdb26F12f3FC76F2424EC6B94D434a959A0f7":"Kleros (testing)"}},"RealityETH-3.0":{"address":"0xC3324405793B9F1C29e97b29cB084C9541aD4d9B","block":22647153,"notes":null,"arbitrators":{}}}},"97":{"BNB":{"RealityETH-3.0":{"address":"0x16E0a06b00020764F3f50bd2E03D73Da0253A6eA","block":25029439,"notes":null,"arbitrators":{}}}},"100":{"GNO":{"RealityETH_ERC20-3.0":{"address":"0x95b2b2b4b66A5a47Df79bF07BEBe72E9870fceb2","block":20882108,"token_address":"0x9C58BAcC331c9aa871AFD802DB6379a98e80CEdb","notes":null,"arbitrators":{}}},"POLK":{"RealityETH_ERC20-3.0":{"address":"0x934326a86A99DaB25bB8329089ce73ed9c7c0E4a","block":34578493,"token_address":"0x9a2A80c38AbB1FDC3Cb0fbf94FEFe88BEf828E00","notes":null,"arbitrators":{"0x5AFa42b30955f137e10f89dfb5EF1542a186F90e":"Kleros"}}},"SWISE":{"RealityETH_ERC20-3.0":{"address":"0xC9FbdF0df8dE06Ad8d2193F7FA28bdA78c13a102","block":21371853,"token_address":"0xfdA94F056346d2320d4B5E468D6Ad099b2277746","notes":null,"arbitrators":{}}},"XDAI":{"RealityETH-2.1":{"address":"0x79e32aE03fb27B07C89c0c568F80287C01ca2E57","block":14005802,"token_address":null,"notes":null,"arbitrators":{"0xe40DD83a262da3f56976038F1554Fe541Fa75ecd":"Kleros","0x7202deD6f13525A8298Ea53fBFD4395fDCc8d5f1":"Reality.eth team - testing only","0x34a8B97bd8Ac4AfBe91C71E961C3f9c1F064717F":"DXdao - Test","0x5562ac605764dc4039fb6ab56a74f7321396cdf2":"Kleros with appeal support"}},"RealityETH-3.0":{"address":"0xE78996A233895bE74a66F451f1019cA9734205cc","block":17997262,"notes":null,"arbitrators":{"0x29f39de98d750eb77b5fafb31b2837f079fce222":"Kleros","0x68154ea682f95bf582b80dd6453fa401737491dc":"Kleros (Seer)","0xe04f5791d671d5c4e08ab49b39807087b591ea3e":"Kleros Moderate"}},"RealityETH-3.2":{"address":"0xEb51d9d9717906c981C57af09C4a3449eF30705b","block":39142627,"notes":null,"arbitrators":{}}}},"130":{"ETH":{"RealityETH-3.0":{"address":"0xB920dBedE88B42aA77eE55ebcE3671132ee856fC","block":8561869,"notes":null,"arbitrators":{"0x05295972F75cFeE7fE66E6BDDC0435c9Fd083D18":"Kleros (Oracle court)","0x1301d3C29A8723fae7Ee1343203eA16bd7845996":"CFM arbitrator"}}}},"137":{"MATIC":{"Arbitrator":{"address":"0xec634BD4c5766e96dbDC3cf89D15B4D340690118","block":15610148,"reality_eth_address":"0xA75AE6D61Dd9d55e8153A393E2fc859c6a0FC716"},"RealityETH-2.1":{"address":"0xA75AE6D61Dd9d55e8153A393E2fc859c6a0FC716","block":15610082,"notes":null,"arbitrators":{"0xec634BD4c5766e96dbDC3cf89D15B4D340690118":"Reality.eth team (testing only)"}},"RealityETH-3.0":{"address":"0x60573B8DcE539aE5bF9aD7932310668997ef0428","block":18901674,"notes":null,"arbitrators":{"0x5AFa42b30955f137e10f89dfb5EF1542a186F90e":"Kleros"}}},"POLK":{"RealityETH_ERC20-3.0":{"address":"0x83d3f4769a19f1b43337888b0290f5473cf508b2","block":42899867,"token_address":"0x996F19d4b1cE6D5AD72CEaaa53152CEB1B187fD0","notes":null,"arbitrators":{}}},"SUKU":{"RealityETH_ERC20-3.2":{"address":"0x3155836D28C0845c37791808287FaFC811742C5a","block":73217319,"token_address":"0x60Ea918FC64360269Da4efBDA11d8fC6514617C6","notes":null,"arbitrators":{}}}},"143":{"MONAD":{"RealityETH-3.2":{"address":"0xa317A7B24d72e3C6cD55c8F244AE01398A8D97e1","block":48537242,"notes":null,"arbitrators":{}}}},"280":{"ETH":{"RealityETH-3.0":{"address":"0xFAD6e5e3a9421B9de71A517122D3Bb39A57D6FF5","block":2902645,"notes":null,"arbitrators":{}}}},"300":{"ETH":{"RealityETH-3.0":{"address":"0x4E346436e99fb7d6567A2bd024d8806Fc10d84D2","block":255658,"notes":null,"arbitrators":{}}}},"324":{"ETH":{"RealityETH-3.0":{"address":"0xA8AC760332770FcF2056040B1f964750e4bEf808","block":9691,"notes":null,"arbitrators":{}}}},"690":{"ETH":{"RealityETH-3.0":{"address":"0xc716c23D75f523eF0C511456528F2A1980256a87","block":3034954,"notes":null,"arbitrators":{}}}},"777":{"CTH":{"RealityETH-3.0":{"address":"0xF935d11116fA0103Bd340B663879d325673106f0","block":13539397,"notes":null,"arbitrators":{}}}},"1101":{"ETH":{"RealityETH-3.0":{"address":"0x569Dcc6d797265Da700926fe8D10c0DA01717386","block":1281264,"notes":null,"arbitrators":{}}}},"1301":{"ETH":{"Arbitrator":{"address":"0x2642BFBfe5d8dfc53276c3D510484644dDb20276","block":10756151,"reality_eth_address":"0x8bF08aE62cbC9a48aaeB473a82DAE2e6D2628517"},"RealityETH-3.0":{"address":"0x8bF08aE62cbC9a48aaeB473a82DAE2e6D2628517","block":10747559,"notes":null,"arbitrators":{"0x2642BFBfe5d8dfc53276c3D510484644dDb20276":"Butter dev arbitrator","0x8FeAB350A304140b1593A38a13607d122BEC44b6":"Kleros (Oracle court)"}}}},"8453":{"ETH":{"RealityETH-3.0":{"address":"0x2F39f464d16402Ca3D8527dA89617b73DE2F60e8","block":26260675,"notes":null,"arbitrators":{"0x05295972F75cFeE7fE66E6BDDC0435c9Fd083D18":"Kleros (Oracle court)","0x5AFa42b30955f137e10f89dfb5EF1542a186F90e":"Kleros (Seer)","0xd04f24364687dbd6db67d2101fae59e91a6e605b":"Kleros (Precog)"}}}},"10200":{"XDAI":{"RealityETH-2.1":{"address":"0xC68755Ba891A31b969764eB46C0bC7A5127A0854","block":12569806,"notes":null,"arbitrators":{}},"RealityETH-3.0":{"address":"0x1E732a1C5e9181622DD5A931Ec6801889ce66185","block":10438389,"notes":null,"arbitrators":{}},"RealityETH-3.2":{"address":"0x012fb3aDce7D60672cF634e730927Fa5822b3cAb","block":14880291,"notes":null,"arbitrators":{}}}},"17000":{"ETH":{"RealityETH-3.0":{"address":"0xd3575b215EC1c3875ad7890982f95EA729DF9537","block":62519,"notes":null,"arbitrators":{}}}},"42161":{"ARETH":{"Arbitrator":{"address":"0xba1f68fC8283051C0BCeB8770673d5af14081731","block":112029,"reality_eth_address":"0x0EDB4CB0B12523749c56Ff24C4a09c0c1417f691"},"RealityETH-2.1":{"address":"0x0EDB4CB0B12523749c56Ff24C4a09c0c1417f691","block":112029,"notes":null,"arbitrators":{"0xba1f68fC8283051C0BCeB8770673d5af14081731":"Reality.eth Team"}},"RealityETH-3.0":{"address":"0x5D18bD4dC5f1AC8e9bD9B666Bd71cB35A327C4A9","block":459975,"notes":null,"arbitrators":{"0x6B6BD5224bB20d22D81f9BEE8aFb652AcE0a9276":"Kleros (Precog)"}}}},"42220":{"CELO":{"RealityETH-3.0":{"address":"0x4C2863bb9969dD693Ec487bED72BDfD83C0cA5b3","block":31954377,"notes":null,"arbitrators":{}}}},"43114":{"AVAX":{"RealityETH-3.0":{"address":"0xD88cd78631Ea0D068cedB0d1357a6eabe59D7502","block":4090592,"notes":null,"arbitrators":{}}}},"80001":{"MATIC":{"RealityETH-3.0":{"address":"0x92115220C28e78312cCe86f3d1dE652CFBD0357A","block":27425354,"notes":null,"arbitrators":{}}},"POLK":{"RealityETH_ERC20-3.0":{"address":"0x895b09919250f81505c089651d3cb61d284531d3","block":35623862,"token_address":"0x935f82d011ee37e8870c435417ac58407a9863f7","notes":null,"arbitrators":{"0x39cd45615e20847fc50cff6bbcde45198f8f46d9":"Kleros"}}}},"84532":{"ETH":{"RealityETH-3.0":{"address":"0x86b653Dc9aa6d7311109276925927087573f91CB","block":34619265,"notes":null,"arbitrators":{"0xd919c6Edfb458C15c12b921Cbc9F6eEf06F0E9c5":"Kleros arbitrator (Precog)"}}}},"421611":{"ARETH":{"Arbitrator":{"address":"0x0442820A55bA71b8e67e035CD10eAec3fFAa66b1","block":838745,"reality_eth_address":"0x592D5cdF8464E3a71C7d5e4C8A549a386B625534"},"RealityETH-2.1":{"address":"0x592D5cdF8464E3a71C7d5e4C8A549a386B625534","block":838745,"notes":null,"arbitrators":{"0x0442820A55bA71b8e67e035CD10eAec3fFAa66b1":"Reality.eth Team"}},"RealityETH-3.0":{"address":"0xd3312B4e9225626F8e9a483e2A87bB3966a89f3a","block":4012956,"notes":null,"arbitrators":{}}}},"421613":{"ARETH":{"RealityETH-3.0":{"address":"0x14a6748192aBC6E10CA694Ae07bDd4327D6c7A51","block":19181142,"notes":null,"arbitrators":{}}}},"421614":{"ETH":{"RealityETH-3.0":{"address":"0xB78396EFaF0a177d125e9d45B2C6398Ac5f803B9","block":41977012,"notes":null,"arbitrators":{"0x12dCf80cfa60b905bbCF4873a7D1EA0F70554AdE":"Kleros (testing)","0x8C521BD71B0bdAfF6d6bc69B64a309097DaA54ca":"Kleros (Precog)"}}}},"534353":{"ETH":{"RealityETH-3.0":{"address":"0xF2D17C08B6A3A60b5A32b95bC9621D292831446b","block":2416829,"notes":null,"arbitrators":{}}},"SETH":{"RealityETH-3.0":{"address":"0x4300d4C410f87c7c1824Cbc2eF67431030106604","block":2364219,"notes":null,"arbitrators":{}}}},"1337702":{"ETH":{"RealityETH-3.0":{"address":"0x45fF90518c92C0AcF5C58784435852B5F0CBD4Be","block":47012,"notes":null,"arbitrators":{}}}},"11155111":{"BOND":{"RealityETH_ERC20-3.2":{"address":"0x8A5f1C6361E280348a59daC10160A88428FFBd51","block":8526475,"token_address":"0x88498CE124778cB92b0b4c1ab9244D38c3aA7df3","notes":null,"arbitrators":{"0x95d49BD18Bdd60e6E087DaceD9800e0FC3BB2E7a":"Kleros"}}},"ETH":{"RealityETH-3.0":{"address":"0xaf33DcB6E8c5c4D9dDF579f53031b514d19449CA","block":3044431,"notes":null,"arbitrators":{"0x05b942faecfb3924970e3a28e0f230910cedff45":"Kleros","0xaf33DcB6E8c5c4D9dDF579f53031b514d19449CA":"Kleros (Precog)"}},"RealityETH-3.2":{"address":"0xB7982f20CC159a40eba4b0eA86fd6cbA6Ff810e1","block":7898415,"notes":null,"arbitrators":{}}}},"11155420":{"ETH":{"RealityETH-3.0":{"address":"0xeAD0ca922390a5E383A9D5Ba4366F7cfdc6f0dbA","block":14341474,"notes":null,"arbitrators":{}}}},"88558801":{"ZBS":{"Arbitrator":{"address":"0x7dEEa9D38d429081a6761Ca1EF828A0C12c1d7bc","block":42,"reality_eth_address":"0xd05Af7EAB843aA2A04f623c18d2a1C8bB4F301a9"},"RealityETH-3.0":{"address":"0xd05Af7EAB843aA2A04f623c18d2a1C8bB4F301a9","block":24,"notes":null,"arbitrators":{}},"RealityETH-3.2":{"address":"0x3a9Ef99956021d545214B7021D449ACb20fCF2b3","block":240,"notes":null,"arbitrators":{}},"RealityETH-4.0":{"address":"0x74549fdf4e00C7c564bB193a911887d8C291b13C","block":2,"notes":null,"arbitrators":{"0xa6F3d82f7aEF02f3f24c3fBcfD814a74fE612D85":"Fork-backed adjudication framework"}}}}},"factories":{"4":{"RealityETH_ERC20-3.0":{"address":"0x9e862794f4f80386185b9d3baa532668e988c530","block":11107431,"library_address":"0x5e97dd72812b59cb3166b0d907a9b360493b9971"}}},"tokens":{"ARETH":{"decimals":18,"small_number":10000000000000000,"native_chains":{"42161":true,"421611":true,"421613":true},"approx_1_usd":0.000532184},"AVAX":{"decimals":18,"small_number":10000000000000000,"native_chains":{"43114":true},"approx_1_usd":0.155763},"BNB":{"decimals":18,"small_number":10000000000000000,"native_chains":{"56":true,"97":true},"approx_1_usd":0.00164965},"CELO":{"decimals":18,"small_number":"1000000000000000000","native_chains":{"42220":true},"approx_1_usd":16.7098},"CTH":{"decimals":18,"small_number":10000000000000000000,"native_chains":{"777":true},"approx_1_usd":532.184},"ETH":{"decimals":18,"small_number":10000000000000000,"native_chains":{"1":true,"4":true,"5":true,"42":true,"130":true,"280":true,"300":true,"324":true,"690":true,"1101":true,"1301":true,"8453":true,"17000":true,"84532":true,"421614":true,"534353":true,"1337702":true,"11155111":true,"11155420":true},"approx_1_usd":0.000532184},"MATIC":{"decimals":18,"small_number":1000000000000000000,"native_chains":{"137":true,"80001":true},"approx_1_usd":7.92669},"MONAD":{"decimals":18,"small_number":"1000000000","native_chains":{"143":true},"approx_1_usd":532.184},"OETH":{"decimals":18,"small_number":10000000000000000,"native_chains":{"10":true,"69":true},"approx_1_usd":0.000532184},"TLOS":{"decimals":18,"small_number":10000000000000000,"native_chains":{"40":true},"approx_1_usd":33.1572},"UBQ":{"decimals":18,"small_number":1000000000000000000,"native_chains":{"8":true},"approx_1_usd":389.902},"XDAI":{"decimals":18,"small_number":1000000000000000000,"native_chains":{"77":true,"100":true,"10200":true},"approx_1_usd":0.999001},"ZBS":{"decimals":18,"small_number":10000000000000000000,"native_chains":{"88558801":true},"approx_1_usd":532.184},"BOND":{"decimals":18,"small_number":1000000000000000000,"erc20_chains":{"11155111":"0x88498CE124778cB92b0b4c1ab9244D38c3aA7df3"},"approx_1_usd":532.184},"DAOOS":{"decimals":18,"small_number":1000000000000000000,"erc20_chains":{"4":"0x56AE5fd086823d1892BACE27034Eb5531Fcdc3f8"},"approx_1_usd":532.184},"DEXE":{"decimals":18,"small_number":1000000000000000000,"erc20_chains":{"56":"0x039cb485212f996a9dbb85a9a75d898f94d38da6"},"approx_1_usd":0.518135},"FOX":{"decimals":18,"small_number":1000000000000000000,"erc20_chains":{"1":"0xc770EEfAd204B5180dF6a14Ee197D99d808ee52d"},"approx_1_usd":244.585},"GNO":{"decimals":18,"small_number":10000000,"erc20_chains":{"1":"0x6810e776880c02933d47db1b9fc05908e5386b96","100":"0x9C58BAcC331c9aa871AFD802DB6379a98e80CEdb"},"approx_1_usd":0.00967399},"POLK":{"decimals":18,"small_number":1000000000000000000,"erc20_chains":{"42":"0x222E11E134F9AB3750812b37F0DA51B4467EaA7a","100":"0x9a2A80c38AbB1FDC3Cb0fbf94FEFe88BEf828E00","137":"0x996F19d4b1cE6D5AD72CEaaa53152CEB1B187fD0","80001":"0x935f82d011ee37e8870c435417ac58407a9863f7"},"approx_1_usd":426.534},"SUKU":{"decimals":18,"small_number":1000000000000000000,"erc20_chains":{"137":"0x60Ea918FC64360269Da4efBDA11d8fC6514617C6"},"approx_1_usd":251.405},"SWISE":{"decimals":18,"small_number":1000000000000000000,"erc20_chains":{"1":"0x48C3399719B582dD63eB5AADf12A40B4C3f52FA2","100":"0xfdA94F056346d2320d4B5E468D6Ad099b2277746"},"approx_1_usd":440.021},"TRST":{"decimals":6,"small_number":100000000,"erc20_chains":{"1":"0xcb94be6f13a1182e4a4b6140cb7bf2025d28e41b","4":"0x21036C54e16521B8809553956123E44054120226"},"approx_1_usd":1371.03}},"integrations":{"_note":"Integration registry for classifying reality.eth questions by creator contract and template patterns. Classification priority: creatorMap > templateIdMap > titlePatterns.","integrations":{"snapshot":{"name":"Snapshot","icon":"S","color":"linear-gradient(135deg,#58a6ff,#bc8cff)","description":"Verifies off-chain DAO governance votes. Each Gnosis Safe with SafeSnap or Zodiac Reality Module has its own creator contract address.","guideId":"snapshot"},"kleros-moderate":{"name":"Kleros · Moderate","icon":"K","color":"linear-gradient(135deg,#d29922,#b08800)","description":"Decentralised content moderation for Telegram groups and online communities via Kleros dispute resolution.","guideId":"content-moderation"},"seer":{"name":"Seer","icon":"S","color":"linear-gradient(135deg,#3fb950,#1a7f37)","description":"AI-generated prediction markets on Gnosis Chain covering sports, crypto, politics, and more. Uses a 10 xDAI minimum bond.","guideId":"prediction-market"},"hermes-agent":{"name":"Nous Hermes","icon":"H","color":"linear-gradient(135deg,#f78166,#b04040)","description":"AI agent prediction markets tracking whether GitHub pull requests in the NousResearch/hermes-agent repository get merged.","guideId":"ai-agent"},"dao-governance":{"name":"DAO Governance","icon":"G","color":"linear-gradient(135deg,#58a6ff,#1158cc)","description":"Prediction questions tracking Gnosis DAO (GIP) and Kleros (KIP) governance proposal outcomes.","guideId":"dao-governance"},"sports-oracle":{"name":"Sports Oracle","icon":"⚽","color":"linear-gradient(135deg,#3fb950,#1a7f37)","description":"Match result oracle for football (including FIFA World Cup and domestic leagues), cricket (IPL, ICC), basketball (NBA), rugby, esports, and Formula 1.","guideId":"event-oracle"},"olas":{"name":"Olas Network","icon":"O","color":"linear-gradient(135deg,#7c4dff,#4527a0)","description":"Prediction markets created by autonomous AI agents in the Olas Network on Gnosis Chain, covering crypto, politics, sports, and current events.","guideId":"olas-predict"},"infinite-games":{"name":"Infinite Games","icon":"∞","color":"linear-gradient(135deg,#26c6da,#00838f)","description":"Permissionless prediction market on Gnosis Chain where AI agents compete to forecast real-world events.","guideId":"infinite-games"},"deep-funding":{"name":"DeepFunding","icon":"D","color":"linear-gradient(135deg,#ff9800,#e65100)","description":"Dependency-graph funding for open-source projects on Optimism. Jurors submit numeric weights via reality.eth uint questions to allocate grants.","guideId":"deep-funding"},"cryptopond":{"name":"CryptoPond","icon":"C","color":"linear-gradient(135deg,#1565c0,#0d47a1)","description":"AI model competition marketplace on Optimism and Base. Competition scores and rankings are anchored on-chain via reality.eth for tamper-resistant payouts.","guideId":"cryptopond"},"polkamarkets":{"name":"Polkamarkets","icon":"P","color":"linear-gradient(135deg,#e91e63,#880e4f)","description":"DeFi-native prediction market protocol on Polygon. Uses reality.eth as the decentralised resolution oracle for market outcomes.","guideId":"polkamarkets-v2"},"other":{"name":"Other","icon":"…","color":"#6e7681","description":"Questions from addresses not associated with a known integration — prediction markets, DAO governance, testing, and more."}},"_creatorMapNote":"Explicit contract-to-integration mapping. Most reliable signal.","creatorMap":{"0x67d3673cf19a6b0ad70d76b4e9c6f715177eb48b":"sports-oracle","0xdcb61fab36714386e36451f82d77f30bf7b8b6ac":"sports-oracle","0xf0254936564f85cb139c889976ac17dec44afeb3":"sports-oracle","0xfe6bd7451e92deddd1096430e659e8af882d2eb7":"sports-oracle","0x2c053414646d5a843886f8d2912d3df58de891ff":"sports-oracle","0x936c0f5c3a8801e9d88c9a9e2393888db7b9ae0f":"sports-oracle","0x6e6f26d16f172ba373b496ea66ebe75767623ff2":"sports-oracle","0x3f9438a6dafb6fbdf3d5204375cb1b2ef7088791":"sports-oracle","0xb53c73b48294f5c3c9025f65b247ce8d50c4d345":"sports-oracle","0x9cb62ea7b6c88c09ff861736e4ffd3f2d4882e3c":"sports-oracle","0xd5b6f4a82d4750a890166282ac0342d840ff2cc4":"sports-oracle","0xcbbbabd15895ae7b2e28be6f250729098f1c69fa":"sports-oracle","0xf811c2895b4cff1d7a63ea7c04f60eb11335f146":"sports-oracle","0xe18ff9d58b4deb8c17ccba79a87fbed548ab06b3":"sports-oracle","0x4ce74f8ea993fc990b6808a0da5415ca88c34e0a":"sports-oracle","0x86450edc655ca3de28414b4a63183598689ac017":"sports-oracle","0x934dbde792a488604dbc9aded1d2a1c54cb4c84f":"sports-oracle","0xf1404d34905caff47f7c621d806978cb25389c14":"sports-oracle","0x28fc1bbc9578da8c41bb6279bbcce5eab892eb74":"sports-oracle","0x298e71cc0245f896f994d1cd2581a4a6b8ca6679":"sports-oracle","0xbc72416006cf67671ae7c9102805444123fa7d1c":"sports-oracle","0x41cd6228341ea33e8d9659f09bf0e5aadc54c5e7":"sports-oracle","0xcf7153aed952d1d2dc855a9138d2ceec15ae01e3":"sports-oracle","0x5682639f1b996483bd2d8b6ab353f63bafc7bf2e":"sports-oracle","0xb4dd366d8a2ac8c347c7affdb5f2617b17051b98":"sports-oracle","0x331cdc3d174d5537c28a2d17cd0d3768eba9a58e":"sports-oracle","0x545c43f3fdfb61b6394be8721b7e7bc96a77c7e0":"sports-oracle","0x7ca3aa6664de78a8742e23df46f0f52ef77e06fd":"sports-oracle","0xc23f394fdca6cfb2cc9d1149f664bb408c1abea3":"sports-oracle","0x824de829fd0ddca4ecb768f889fbdc56047d2bad":"sports-oracle","0xfb39777d9fcb0d04c8017e601db003fd575d9540":"sports-oracle","0x2631575524e119857ce2b8c41626c9b3b17b9b7d":"sports-oracle","0x3f949c7e7343c096fa640c5ac9019d87057bad7e":"sports-oracle","0x7bba5d28c5dea8974441ccebb8b33fa4870cea15":"sports-oracle","0x297dc9191652425ccc3b69dd87f90b6decd2b40c":"sports-oracle","0x9680058210070ad2ab8d290f6e44b72d5792c230":"sports-oracle","0xd1220eed2a71bf5415b7c1a925ba6c1884821948":"sports-oracle","0x9498d267fa9125d9f35b36d47b9ebde5a9c7bcc8":"sports-oracle","0xbdfd060ac349ac8b041d89ac491c89a78b4930e4":"sports-oracle","0xe0441ecf50205d3548456b29fde2a3010f9a61f3":"kleros-moderate","0x6426800f8508b15aed271337498fa5e7d0794d46":"kleros-moderate","0x209469c921db9d5bd77084370e80b63d5cdd63c1":"kleros-moderate","0xf2a0a3e58096464874f5f332b80c73721308d830":"kleros-moderate","0xca553ac295eda95594e77aa97525fc815090589a":"snapshot","0xa62d2a75eb39c12e908e9f6bf50f189641692f2e":"snapshot","0xce8badc47beed0a8178e2915914dec368d5dab9f":"snapshot","0xa3c955d317e2e13b490f71c20ad248f91f5d5511":"snapshot","0x4858750b1ffb6d76901eb9e1d1eb671dfc10027e":"snapshot","0xeddd59e44b2c79ca8fa361dd4d7b9fd6c169182c":"snapshot","0x04476c5f4551b9dc40af706c94042280b989b808":"snapshot","0x4baef16ed74f40ce75c36ca458a88b42c06510ea":"snapshot","0x903cb3d6dbb12e2066178f97c0531a8258b73ad6":"snapshot","0x8215b53c8a1d54261d617e36a3751d9922f3c7b3":"snapshot","0x871b0608f43fb3ff999ffe2cfcf0cca924f1e322":"snapshot","0x5900ca563cd65e1870e7df75a2abeb533b503631":"snapshot","0xae4a7ab9fc24601689665b605cd377072a9aad5f":"snapshot","0x38851a6e16ea1302e5163b40d75ec525dbac3290":"snapshot","0x7677d2d27e65513cab3eb8760559eeb971768768":"snapshot","0x19640d6677dfe2b88a53bbdd00ffca1defe52d04":"snapshot","0x00ffab147bb1388b9c0c566f5bb7c8da0da930bc":"snapshot","0x215084e11db1564e7b396ef91e3ab89b69e41261":"snapshot","0x628eee0159dc8b879f8d76c834559548489502e4":"snapshot","0x0aae9c4aa2de971c4729cf53bfe82cc4256fef53":"snapshot","0xd5cfb37872ccf4083959458ce17b34bcc1497d69":"snapshot","0x4fdcd87b620a7c65816fa2fbfe104844bcd15131":"snapshot","0xdf96cf06899c808dc582f949d26c64ccb4a65f8a":"snapshot","0xc128487b9dc15dbabc26682bfa4c423ad3070ff5":"snapshot","0xca7eacf3712bb9f177ea647f0d97e71f67ce50f9":"snapshot","0xe2a707a647b7bde914c5aa247019e62515b1b5af":"snapshot","0xc65710c51f482ff907506052f5d157b5ec423b79":"snapshot","0xd77c1ece6c1bc722da44d4af0c60e380cfae17c1":"snapshot","0x1f306ce7e7e5736f0345695b5683025d38e42cec":"snapshot","0xc0150c90788836f06a4dedc512f66efe7ca0c31b":"snapshot","0x65ea61b6b25c0ad2e27cbeff939e541bef449195":"snapshot","0x723a955f22452fb95eb298290352ef2d7eace29a":"snapshot","0x16049c0d9b7364725ffb392f85761a41453f577e":"snapshot","0x19ed08af7783959fddf95642b160e62956718925":"snapshot","0xa7456392eb978a756264d54968f55baf227fcbcf":"snapshot","0x0e651f2c64ffc0c37d725dc8b1c0634c323cdd10":"snapshot","0x4376319b3ef5b02104fa87a0518a397fc07cd8b6":"snapshot","0xdaa72a1944191a15e92218d9f00c375a8607a568":"snapshot","0x4ecefc422c98a096ed8b56ead67477c4b6e8702b":"snapshot","0xef1245ec2e6558f57c635b871671e2dfe5b864dc":"snapshot","0x24c5723144c6f21a034d4fea7517ad4aa0810dac":"snapshot","0x1a888ba2af6e680198228072ff025c4e0f0b1125":"snapshot","0xdc59da3a34f4cc265d4afafea26c781589d15d52":"snapshot","0x8101052b9a8260785b8281017ce407d275e59ddd":"snapshot","0x7c7daa002423839b49189a0dfa9c730574a6a900":"snapshot","0x70cad52a9a8c38131b1f4e2edca20e41c63f34d2":"snapshot","0x653b56ccb155e66163e8d695115c41ab7e6a29a0":"snapshot","0xd2655e45b207ee66a9444f832a1d71f6fb7a8451":"snapshot","0x11e230ba4403098b298d55e79dc2f62121977f51":"snapshot","0x30b670a88a30342e3d88bd160b6d970f7993b7c5":"snapshot","0xcd936cb67f85fc54a406a2a3f607a3f63a979201":"snapshot","0xfdb7e9f3ed60271a1f0864937f68cbc63283d191":"snapshot","0xc3563632b9f09a8d86f8aa0e9c69d15deea6671f":"snapshot","0x2b22835bc0e1e9adbd9b969b47917ab4b4785f6d":"snapshot","0x27978a4c331f2768ae92eaf1406293bb0e0e60c0":"snapshot","0x6a47d94dd7ca11abade3a3e58103b5a46197b811":"snapshot","0xfe593bee48612c368435fac9c4a90d3db67bb833":"snapshot","0x6aaeec6767b44f689ca9d24fc968509f1fe70bea":"snapshot","0x7c209c1b162214794d27f56f6fc0a03a2f18ac47":"snapshot","0x2010cc392f62a914572954724d1ee0b6dfce9cef":"snapshot","0xe1666d3f7dd54b87755383d74532bbcb56375689":"snapshot","0xb634e7a3e54e1fc8f6ee5bf3f874f91e207e1c86":"snapshot","0x0341310facb8ecc3b450f71a6e36c2cf1548f6e7":"snapshot","0x49f067c7bd2d7434059bc6098d56605247062659":"snapshot","0x6211f29e6048fc65b60d1b925945ccb9b33db9cc":"snapshot","0xe72bbfabc1d1216caf167e3f637a5e29c172b6c5":"snapshot","0x2c696d4c33014c8770829b6c33bcfd284f63b28e":"snapshot","0x6c853005b4e9881725d58e96afb84f3e6e90534b":"snapshot","0xc0ae51f30aa34a5a33b0b0e0fe1a09bcf97f86ad":"snapshot","0x0811de7b6ca6ff61c24eb8c6c885f44d1bca4c28":"snapshot","0x19fe458305a45e9f1dbfe3f020336bae453f1ea5":"snapshot","0x5c4d4b44c6057a3f4cc61fc2a77c19509a3f048a":"snapshot","0xdee074628675eeb10998f09bef3b5750a96f07e6":"snapshot","0xf6afc76156118f40d174d28865409736fc5dac58":"snapshot","0x150d4b3a50469ea0f6b7fd7cf3734d10ec1d6bc4":"snapshot","0xeae5be556486d54a1e937434a87c119df6680dd2":"snapshot","0x8d1dd899cb9b0369cded6588ecf9b8a4591fb615":"snapshot","0xa78cfa1f99686a8e056f2923d6a4d92dca3be9ff":"snapshot","0x82f88931da7425919babbf7f9fd56cb90c3cebdd":"snapshot","0x14b9fbcd91b3f39084efdfd72e051a41ef867c36":"snapshot","0xaf9e163da4031e03d6fded8246c69afa31a17f20":"snapshot","0x86723e4f8c39ae4de6986d64fcfc6c0a550037fb":"snapshot","0xea731b0a8ef197fc4be7dd03d3172f7232fcf089":"snapshot","0x8a2a2e7c8b77f3f32e6d1dd5498c30f1d5b87503":"snapshot","0x6bf46a44990f9049a3ad1a2d43ba0844f30649b1":"snapshot","0xe597c5246b570fd1e0f6e5ed3050b316a2f8232c":"snapshot","0x3704073aec4aad159fae41cf7b92383ce42a0e0e":"snapshot","0xa42ebc57f99eec305b7f096092cb1a3b8487a96f":"snapshot","0x83183da839ce8228e31ae41222ead9edbb5cdcf1":"seer","0xecfbc2272c85dee97d7816cb25a4ffb80230942f":"seer","0xe789e4a240d153ac55e32106821e785e71f6b792":"seer","0x1246c7e5ac59ba73a45a62e3081b548f02f58e90":"hermes-agent","0xa6cb18fcdc17a2b44e5cad2d80a6d5942d30a345":"dao-governance","0x89c5cc945dd550bcffb72fe42bff002429f46fec":"olas","0xffc8029154ecd55abed15bd428ba596e7d23f557":"olas","0x993dfce14768e4de4c366654be57c21d9ba54748":"olas","0x7d3a0da18e14ccb63375cdc250e8a8399997816f":"olas","0x55d8dfc1e6f994079a6a7fdb9d7a2712dc1b87b2":"infinite-games","0xecfd8717deada8ccfb925a3f7ea31d47cbb4f37f":"infinite-games","0xa638f22cdd13013494971b0e1325718aa45280dc":"deep-funding","0x0956b70ac0eca45db9661a1cee96b2e7062d8a1c":"deep-funding","0xb2ab74afe47e6f9d8c392fa15b139ac02684771a":"deep-funding","0x886ef0a78fabbae942f1da1791a8ed02a5af8bc6":"cryptopond","0x60d7956805ec5a698173def4d0e1ecdefb06cc57":"polkamarkets","0xb956363eef219c09a0035a527be97f40e4b3d959":"sports-oracle","0x1ee118412c36b34641d49c6caffb5153bdf64e1d":"sports-oracle","0x130f5e56220c218953824d2997c4870961cbdd24":"sports-oracle"},"_markdownTemplateIdsNote":"Compound keys (chainId-contract-templateId) whose questionText declares format:text/markdown.","markdownTemplateIds":["100-0xe78996a233895be74a66f451f1019ca9734205cc-73","100-0xe78996a233895be74a66f451f1019ca9734205cc-74","100-0xe78996a233895be74a66f451f1019ca9734205cc-75","100-0xe78996a233895be74a66f451f1019ca9734205cc-76"],"_templateIdMapNote":"Compound key (chainId-contract-templateId) → integration. Template IDs are per-contract so bare IDs are not unique across chains/deployments.","templateIdMap":{"100-0xe78996a233895be74a66f451f1019ca9734205cc-59":"kleros-moderate","100-0xe78996a233895be74a66f451f1019ca9734205cc-60":"kleros-moderate","100-0xe78996a233895be74a66f451f1019ca9734205cc-73":"kleros-moderate","100-0xe78996a233895be74a66f451f1019ca9734205cc-74":"kleros-moderate","100-0xe78996a233895be74a66f451f1019ca9734205cc-75":"kleros-moderate","100-0xe78996a233895be74a66f451f1019ca9734205cc-76":"kleros-moderate"},"_titlePatternsNote":"Ordered list — first match wins. Used when creatorMap and templateIdMap both miss.","titlePatterns":[{"contains":"Did the Snapshot proposal with the id","integration":"snapshot"},{"startsWith":"# [Kleros Moderate]","integration":"kleros-moderate"},{"contains":"infringed the","contains2":"group rules","integration":"kleros-moderate"}]},"nativeTokenByChain":{"1":"ETH","3":"ETH","4":"ETH","5":"ETH","8":"UBQ","10":"ETH","40":"TLOS","56":"BNB","69":"ETH","77":"SPOA","97":"tBNB","100":"XDAI","130":"ETH","137":"POL","143":"MON","280":"WETH","300":"ETH","324":"ETH","690":"ETH","777":"cTH","1101":"ETH","1301":"ETH","8453":"ETH","10200":"XDAI","17000":"ETH","42161":"ETH","42220":"CELO","43114":"AVAX","80001":"MATIC","84532":"ETH","421611":"ETH","421613":"AGOR","421614":"ETH","534353":"ETH","1337702":"kiETH","11155111":"ETH","11155420":"ETH","88558801":"ZBS"},"smallBondByChain":{"1":10000000000000000,"3":10000000000000000,"4":10000000000000000,"5":10000000000000000,"8":1000000000000000000,"10":10000000000000000,"40":10000000000000000,"56":10000000000000000,"69":10000000000000000,"100":1000000000000000000,"130":10000000000000000,"300":10000000000000000,"324":10000000000000000,"690":10000000000000000,"1101":10000000000000000,"1301":10000000000000000,"8453":10000000000000000,"10200":1000000000000000000,"17000":10000000000000000,"42161":10000000000000000,"42220":"1000000000000000000","43114":10000000000000000,"80001":1000000000000000000,"84532":10000000000000000,"421611":10000000000000000,"421614":10000000000000000,"534353":10000000000000000,"11155111":10000000000000000,"11155420":10000000000000000,"88558801":10000000000000000000},"contractsByAddress":{"0x325a2e0f3cca2ddbaebb4dfc38df8d19ca165b47":{"majorVersion":2,"startBlock":6531265,"tokenTicker":"ETH","tokenDecimals":18,"tokenAddress":null,"chainId":1},"0x5b7dd1e86623548af054a4985f7fc8ccbb554e2c":{"majorVersion":3,"startBlock":13194676,"tokenTicker":"ETH","tokenDecimals":18,"tokenAddress":null,"chainId":1},"0x6a2155613b68efb38d5c6074921f3f4281c8c177":{"majorVersion":3,"startBlock":22100226,"tokenTicker":"ETH","tokenDecimals":18,"tokenAddress":null,"chainId":1},"0xf4585a9944a390615e7cec6756c1c082173b93eb":{"majorVersion":2,"startBlock":12821080,"tokenTicker":"FOX","tokenDecimals":18,"tokenAddress":"0xc770EEfAd204B5180dF6a14Ee197D99d808ee52d","chainId":1},"0x8f1cc53bf34932591177cda24723486205ca7510":{"majorVersion":2,"startBlock":12654677,"tokenTicker":"GNO","tokenDecimals":18,"tokenAddress":"0x6810e776880c02933d47db1b9fc05908e5386b96","chainId":1},"0x33aa365a53a4c9ba777fb5f450901a8eef73f0a9":{"majorVersion":3,"startBlock":13201169,"tokenTicker":"GNO","tokenDecimals":18,"tokenAddress":"0x6810e776880c02933d47db1b9fc05908e5386b96","chainId":1},"0x867092a32bc16816f12fb326eff7a2865e1ec138":{"majorVersion":3,"startBlock":14485577,"tokenTicker":"SWISE","tokenDecimals":18,"tokenAddress":"0x48C3399719B582dD63eB5AADf12A40B4C3f52FA2","chainId":1},"0x3d3b51b1091d1f6491aeb1916c94bafe57f6cc9d":{"majorVersion":2,"startBlock":8050824,"tokenTicker":"TRST","tokenDecimals":6,"tokenAddress":"0xcb94be6f13a1182e4a4b6140cb7bf2025d28e41b","chainId":1},"0x3b3ab861deb4ed756e39f2f6a2634dedfc182d38":{"majorVersion":2,"startBlock":8903097,"tokenTicker":"DAOOS","tokenDecimals":18,"tokenAddress":"0x56AE5fd086823d1892BACE27034Eb5531Fcdc3f8","chainId":4},"0x5e97dd72812b59cb3166b0d907a9b360493b9971":{"majorVersion":3,"startBlock":11107270,"tokenTicker":"DAOOS","tokenDecimals":18,"tokenAddress":"0x56AE5fd086823d1892BACE27034Eb5531Fcdc3f8","chainId":4},"0xa63db03f2706a6dffcce58b8b567872104d7b48f":{"majorVersion":2,"startBlock":8886242,"tokenTicker":"ETH","tokenDecimals":18,"tokenAddress":null,"chainId":4},"0x3d00d77ee771405628a4ba4913175ecc095538da":{"majorVersion":2,"startBlock":3175028,"tokenTicker":"ETH","tokenDecimals":18,"tokenAddress":null,"chainId":4},"0xa09ce5e7943f281a782a0dc021c4029f9088bec4":{"majorVersion":2,"startBlock":8886224,"tokenTicker":"ETH","tokenDecimals":18,"tokenAddress":null,"chainId":4},"0xdf33060f476f8cff7511f806c72719394da1ad64":{"majorVersion":3,"startBlock":9106451,"tokenTicker":"ETH","tokenDecimals":18,"tokenAddress":null,"chainId":4},"0xa682c58333f4959cbf728c2a871548e3d8978fa2":{"majorVersion":null,"startBlock":8743912,"tokenTicker":"TRST","tokenDecimals":6,"tokenAddress":null,"chainId":4},"0xa4da771bbd6e93bb8e714fe97b388fe88eec8288":{"majorVersion":2,"startBlock":4643634,"tokenTicker":"TRST","tokenDecimals":6,"tokenAddress":"0x21036C54e16521B8809553956123E44054120226","chainId":4},"0x6f80c5cbcf9fbc2da2f0675e56a5900bb70df72f":{"majorVersion":3,"startBlock":7313546,"tokenTicker":"ETH","tokenDecimals":18,"tokenAddress":null,"chainId":5},"0xd31566493ac99fca63bf17e62724b41010b4afb6":{"majorVersion":null,"startBlock":1635513,"tokenTicker":"UBQ","tokenDecimals":18,"tokenAddress":null,"chainId":8},"0x0de8a0b6d37fbfd704090245f517e52d7ad9a903":{"majorVersion":2,"startBlock":1621781,"tokenTicker":"UBQ","tokenDecimals":18,"tokenAddress":null,"chainId":8},"0x23c7ee4f42e473aef51c3f59d7d58e33a63ab348":{"majorVersion":3,"startBlock":1670257,"tokenTicker":"UBQ","tokenDecimals":18,"tokenAddress":null,"chainId":8},"0x0ef940f7f053a2ef5d6578841072488af0c7d89a":{"majorVersion":3,"startBlock":2462149,"tokenTicker":"OETH","tokenDecimals":18,"tokenAddress":null,"chainId":10},"0xfd6f6a4181b7df7cd539ac5ea7b6533869ae9bf1":{"majorVersion":3,"startBlock":299104399,"tokenTicker":"TLOS","tokenDecimals":18,"tokenAddress":null,"chainId":40},"0xec634bd4c5766e96dbdc3cf89d15b4d340690118":{"majorVersion":null,"startBlock":15610148,"tokenTicker":"MATIC","tokenDecimals":18,"tokenAddress":null,"chainId":137},"0xa75ae6d61dd9d55e8153a393e2fc859c6a0fc716":{"majorVersion":2,"startBlock":15610082,"tokenTicker":"MATIC","tokenDecimals":18,"tokenAddress":null,"chainId":137},"0xa925646cae3721731f9a8c886e5d1a7b123151b9":{"majorVersion":3,"startBlock":10751380,"tokenTicker":"BNB","tokenDecimals":18,"tokenAddress":null,"chainId":56},"0x95f8fc16c7bd5a5b24cae629471c6ccc3916826a":{"majorVersion":3,"startBlock":13749748,"tokenTicker":"DEXE","tokenDecimals":18,"tokenAddress":"0x039cb485212f996a9dbb85a9a75d898f94d38da6","chainId":56},"0x327543eaf65fe0d68333d4d092282cdba0bc37a6":{"majorVersion":3,"startBlock":28282,"tokenTicker":"OETH","tokenDecimals":18,"tokenAddress":null,"chainId":69},"0x63975d9e7cf434dcd04bd808d8c79d03ef69100b":{"majorVersion":2,"startBlock":17307142,"tokenTicker":"XDAI","tokenDecimals":18,"tokenAddress":null,"chainId":77},"0x90a617ed516ab7faaba56cceda0c5d952f294d03":{"majorVersion":2,"startBlock":18849434,"tokenTicker":"XDAI","tokenDecimals":18,"tokenAddress":null,"chainId":77},"0xc3324405793b9f1c29e97b29cb084c9541ad4d9b":{"majorVersion":3,"startBlock":22647153,"tokenTicker":"XDAI","tokenDecimals":18,"tokenAddress":null,"chainId":77},"0x16e0a06b00020764f3f50bd2e03d73da0253a6ea":{"majorVersion":3,"startBlock":25029439,"tokenTicker":"BNB","tokenDecimals":18,"tokenAddress":null,"chainId":97},"0x95b2b2b4b66a5a47df79bf07bebe72e9870fceb2":{"majorVersion":3,"startBlock":20882108,"tokenTicker":"GNO","tokenDecimals":18,"tokenAddress":"0x9C58BAcC331c9aa871AFD802DB6379a98e80CEdb","chainId":100},"0x934326a86a99dab25bb8329089ce73ed9c7c0e4a":{"majorVersion":3,"startBlock":34578493,"tokenTicker":"POLK","tokenDecimals":18,"tokenAddress":"0x9a2A80c38AbB1FDC3Cb0fbf94FEFe88BEf828E00","chainId":100},"0xc9fbdf0df8de06ad8d2193f7fa28bda78c13a102":{"majorVersion":3,"startBlock":21371853,"tokenTicker":"SWISE","tokenDecimals":18,"tokenAddress":"0xfdA94F056346d2320d4B5E468D6Ad099b2277746","chainId":100},"0x79e32ae03fb27b07c89c0c568f80287c01ca2e57":{"majorVersion":2,"startBlock":14005802,"tokenTicker":"XDAI","tokenDecimals":18,"tokenAddress":null,"chainId":100},"0xe78996a233895be74a66f451f1019ca9734205cc":{"majorVersion":3,"startBlock":17997262,"tokenTicker":"XDAI","tokenDecimals":18,"tokenAddress":null,"chainId":100},"0xeb51d9d9717906c981c57af09c4a3449ef30705b":{"majorVersion":3,"startBlock":39142627,"tokenTicker":"XDAI","tokenDecimals":18,"tokenAddress":null,"chainId":100},"0xb920dbede88b42aa77ee55ebce3671132ee856fc":{"majorVersion":3,"startBlock":8561869,"tokenTicker":"ETH","tokenDecimals":18,"tokenAddress":null,"chainId":130},"0x60573b8dce539ae5bf9ad7932310668997ef0428":{"majorVersion":3,"startBlock":18901674,"tokenTicker":"MATIC","tokenDecimals":18,"tokenAddress":null,"chainId":137},"0x83d3f4769a19f1b43337888b0290f5473cf508b2":{"majorVersion":3,"startBlock":42899867,"tokenTicker":"POLK","tokenDecimals":18,"tokenAddress":"0x996F19d4b1cE6D5AD72CEaaa53152CEB1B187fD0","chainId":137},"0x3155836d28c0845c37791808287fafc811742c5a":{"majorVersion":3,"startBlock":73217319,"tokenTicker":"SUKU","tokenDecimals":18,"tokenAddress":"0x60Ea918FC64360269Da4efBDA11d8fC6514617C6","chainId":137},"0xa317a7b24d72e3c6cd55c8f244ae01398a8d97e1":{"majorVersion":3,"startBlock":48537242,"tokenTicker":"MONAD","tokenDecimals":18,"tokenAddress":null,"chainId":143},"0xfad6e5e3a9421b9de71a517122d3bb39a57d6ff5":{"majorVersion":3,"startBlock":2902645,"tokenTicker":"ETH","tokenDecimals":18,"tokenAddress":null,"chainId":280},"0x4e346436e99fb7d6567a2bd024d8806fc10d84d2":{"majorVersion":3,"startBlock":255658,"tokenTicker":"ETH","tokenDecimals":18,"tokenAddress":null,"chainId":300},"0xa8ac760332770fcf2056040b1f964750e4bef808":{"majorVersion":3,"startBlock":9691,"tokenTicker":"ETH","tokenDecimals":18,"tokenAddress":null,"chainId":324},"0xc716c23d75f523ef0c511456528f2a1980256a87":{"majorVersion":3,"startBlock":3034954,"tokenTicker":"ETH","tokenDecimals":18,"tokenAddress":null,"chainId":690},"0xf935d11116fa0103bd340b663879d325673106f0":{"majorVersion":3,"startBlock":13539397,"tokenTicker":"CTH","tokenDecimals":18,"tokenAddress":null,"chainId":777},"0x569dcc6d797265da700926fe8d10c0da01717386":{"majorVersion":3,"startBlock":1281264,"tokenTicker":"ETH","tokenDecimals":18,"tokenAddress":null,"chainId":1101},"0x2642bfbfe5d8dfc53276c3d510484644ddb20276":{"majorVersion":null,"startBlock":10756151,"tokenTicker":"ETH","tokenDecimals":18,"tokenAddress":null,"chainId":1301},"0x8bf08ae62cbc9a48aaeb473a82dae2e6d2628517":{"majorVersion":3,"startBlock":10747559,"tokenTicker":"ETH","tokenDecimals":18,"tokenAddress":null,"chainId":1301},"0x2f39f464d16402ca3d8527da89617b73de2f60e8":{"majorVersion":3,"startBlock":26260675,"tokenTicker":"ETH","tokenDecimals":18,"tokenAddress":null,"chainId":8453},"0xc68755ba891a31b969764eb46c0bc7a5127a0854":{"majorVersion":2,"startBlock":12569806,"tokenTicker":"XDAI","tokenDecimals":18,"tokenAddress":null,"chainId":10200},"0x1e732a1c5e9181622dd5a931ec6801889ce66185":{"majorVersion":3,"startBlock":10438389,"tokenTicker":"XDAI","tokenDecimals":18,"tokenAddress":null,"chainId":10200},"0x012fb3adce7d60672cf634e730927fa5822b3cab":{"majorVersion":3,"startBlock":14880291,"tokenTicker":"XDAI","tokenDecimals":18,"tokenAddress":null,"chainId":10200},"0xd3575b215ec1c3875ad7890982f95ea729df9537":{"majorVersion":3,"startBlock":62519,"tokenTicker":"ETH","tokenDecimals":18,"tokenAddress":null,"chainId":17000},"0xba1f68fc8283051c0bceb8770673d5af14081731":{"majorVersion":null,"startBlock":112029,"tokenTicker":"ARETH","tokenDecimals":18,"tokenAddress":null,"chainId":42161},"0x0edb4cb0b12523749c56ff24c4a09c0c1417f691":{"majorVersion":2,"startBlock":112029,"tokenTicker":"ARETH","tokenDecimals":18,"tokenAddress":null,"chainId":42161},"0x5d18bd4dc5f1ac8e9bd9b666bd71cb35a327c4a9":{"majorVersion":3,"startBlock":459975,"tokenTicker":"ARETH","tokenDecimals":18,"tokenAddress":null,"chainId":42161},"0x4c2863bb9969dd693ec487bed72bdfd83c0ca5b3":{"majorVersion":3,"startBlock":31954377,"tokenTicker":"CELO","tokenDecimals":18,"tokenAddress":null,"chainId":42220},"0xd88cd78631ea0d068cedb0d1357a6eabe59d7502":{"majorVersion":3,"startBlock":4090592,"tokenTicker":"AVAX","tokenDecimals":18,"tokenAddress":null,"chainId":43114},"0x92115220c28e78312cce86f3d1de652cfbd0357a":{"majorVersion":3,"startBlock":27425354,"tokenTicker":"MATIC","tokenDecimals":18,"tokenAddress":null,"chainId":80001},"0x895b09919250f81505c089651d3cb61d284531d3":{"majorVersion":3,"startBlock":35623862,"tokenTicker":"POLK","tokenDecimals":18,"tokenAddress":"0x935f82d011ee37e8870c435417ac58407a9863f7","chainId":80001},"0x86b653dc9aa6d7311109276925927087573f91cb":{"majorVersion":3,"startBlock":34619265,"tokenTicker":"ETH","tokenDecimals":18,"tokenAddress":null,"chainId":84532},"0x0442820a55ba71b8e67e035cd10eaec3ffaa66b1":{"majorVersion":null,"startBlock":838745,"tokenTicker":"ARETH","tokenDecimals":18,"tokenAddress":null,"chainId":421611},"0x592d5cdf8464e3a71c7d5e4c8a549a386b625534":{"majorVersion":2,"startBlock":838745,"tokenTicker":"ARETH","tokenDecimals":18,"tokenAddress":null,"chainId":421611},"0xd3312b4e9225626f8e9a483e2a87bb3966a89f3a":{"majorVersion":3,"startBlock":4012956,"tokenTicker":"ARETH","tokenDecimals":18,"tokenAddress":null,"chainId":421611},"0x14a6748192abc6e10ca694ae07bdd4327d6c7a51":{"majorVersion":3,"startBlock":19181142,"tokenTicker":"ARETH","tokenDecimals":18,"tokenAddress":null,"chainId":421613},"0xb78396efaf0a177d125e9d45b2c6398ac5f803b9":{"majorVersion":3,"startBlock":41977012,"tokenTicker":"ETH","tokenDecimals":18,"tokenAddress":null,"chainId":421614},"0xf2d17c08b6a3a60b5a32b95bc9621d292831446b":{"majorVersion":3,"startBlock":2416829,"tokenTicker":"ETH","tokenDecimals":18,"tokenAddress":null,"chainId":534353},"0x4300d4c410f87c7c1824cbc2ef67431030106604":{"majorVersion":3,"startBlock":2364219,"tokenTicker":"SETH","tokenDecimals":18,"tokenAddress":null,"chainId":534353},"0x45ff90518c92c0acf5c58784435852b5f0cbd4be":{"majorVersion":3,"startBlock":47012,"tokenTicker":"ETH","tokenDecimals":18,"tokenAddress":null,"chainId":1337702},"0x8a5f1c6361e280348a59dac10160a88428ffbd51":{"majorVersion":3,"startBlock":8526475,"tokenTicker":"BOND","tokenDecimals":18,"tokenAddress":"0x88498CE124778cB92b0b4c1ab9244D38c3aA7df3","chainId":11155111},"0xaf33dcb6e8c5c4d9ddf579f53031b514d19449ca":{"majorVersion":3,"startBlock":3044431,"tokenTicker":"ETH","tokenDecimals":18,"tokenAddress":null,"chainId":11155111},"0xb7982f20cc159a40eba4b0ea86fd6cba6ff810e1":{"majorVersion":3,"startBlock":7898415,"tokenTicker":"ETH","tokenDecimals":18,"tokenAddress":null,"chainId":11155111},"0xead0ca922390a5e383a9d5ba4366f7cfdc6f0dba":{"majorVersion":3,"startBlock":14341474,"tokenTicker":"ETH","tokenDecimals":18,"tokenAddress":null,"chainId":11155420},"0x7deea9d38d429081a6761ca1ef828a0c12c1d7bc":{"majorVersion":null,"startBlock":42,"tokenTicker":"ZBS","tokenDecimals":18,"tokenAddress":null,"chainId":88558801},"0xd05af7eab843aa2a04f623c18d2a1c8bb4f301a9":{"majorVersion":3,"startBlock":24,"tokenTicker":"ZBS","tokenDecimals":18,"tokenAddress":null,"chainId":88558801},"0x3a9ef99956021d545214b7021d449acb20fcf2b3":{"majorVersion":3,"startBlock":240,"tokenTicker":"ZBS","tokenDecimals":18,"tokenAddress":null,"chainId":88558801},"0x74549fdf4e00c7c564bb193a911887d8c291b13c":{"majorVersion":4,"startBlock":2,"tokenTicker":"ZBS","tokenDecimals":18,"tokenAddress":null,"chainId":88558801}}};
|
package/package.json
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reality.eth/contracts",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.26",
|
|
4
4
|
"description": "Collection of smart contracts for the Realitio fact verification platform",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"generate-chains": "node scripts/generate_chains_json.js",
|
|
7
7
|
"generate-contracts": "node scripts/generate_contract_json.js",
|
|
8
8
|
"generate-tokens": "node scripts/generate_token_json.js",
|
|
9
|
-
"generate": "node scripts/generate_token_json.js && node scripts/generate_chains_json.js && node scripts/generate_contract_json.js && node scripts/generate_factory_json.js",
|
|
9
|
+
"generate": "node scripts/generate_token_json.js && node scripts/generate_chains_json.js && node scripts/generate_contract_json.js && node scripts/generate_factory_json.js && node scripts/generate_website_data.js && node scripts/generate_ponder_config.js && node scripts/generate_indexer_config.js",
|
|
10
|
+
"generate-ponder-config": "node scripts/generate_ponder_config.js",
|
|
11
|
+
"generate-indexer-config": "node scripts/generate_indexer_config.js",
|
|
12
|
+
"generate-website-data": "node scripts/generate_website_data.js",
|
|
13
|
+
"install-website-data": "node scripts/generate_website_data.js --install",
|
|
10
14
|
"fmt": "prettier 'development/contracts/*.sol' -w",
|
|
11
15
|
"fmt:check": "prettier 'development/contracts/*.sol' -c"
|
|
12
16
|
},
|
|
@@ -34,7 +38,7 @@
|
|
|
34
38
|
"url": "https://github.com/RealityETH/monorepo/issues"
|
|
35
39
|
},
|
|
36
40
|
"homepage": "https://reality.eth.link",
|
|
37
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "1318f7f0cc58219bab1ee041431a0883f1b49b11",
|
|
38
42
|
"dependencies": {
|
|
39
43
|
"ethers": "^5.8.0"
|
|
40
44
|
}
|
|
@@ -81,6 +81,14 @@ for (var ci = 0; ci< chain_id_list.length; ci++) {
|
|
|
81
81
|
chainparams['deprecated'] = true;
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
+
if (our_data['realityETHIndexerSupport']) {
|
|
85
|
+
chainparams['realityETHIndexerSupport'] = true;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
if (our_data['blocksPerDay']) {
|
|
89
|
+
chainparams['blocksPerDay'] = our_data['blocksPerDay'];
|
|
90
|
+
}
|
|
91
|
+
|
|
84
92
|
chainparams['blockExplorerUrls'] = [];
|
|
85
93
|
if ('explorers' in chain_info) {
|
|
86
94
|
for(var exi in chain_info['explorers']) {
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// Generates generated/contract_token_lookup.json:
|
|
3
|
+
// { chainId: { contractAddress: { symbol, decimals, approx_1_usd } } }
|
|
4
|
+
// Used by both the custom indexer and ponder to compute USD bond values.
|
|
5
|
+
|
|
6
|
+
'use strict';
|
|
7
|
+
|
|
8
|
+
const fs = require('fs');
|
|
9
|
+
const path = require('path');
|
|
10
|
+
|
|
11
|
+
const GEN_DIR = path.join(__dirname, '..', 'generated');
|
|
12
|
+
const CONTRACTS = JSON.parse(fs.readFileSync(path.join(GEN_DIR, 'contracts.json'), 'utf8'));
|
|
13
|
+
const TOKENS = JSON.parse(fs.readFileSync(path.join(GEN_DIR, 'tokens.json'), 'utf8'));
|
|
14
|
+
|
|
15
|
+
const lookup = {};
|
|
16
|
+
|
|
17
|
+
for (const [chainId, tokenMap] of Object.entries(CONTRACTS)) {
|
|
18
|
+
for (const [symbol, contractMap] of Object.entries(tokenMap)) {
|
|
19
|
+
const tokenInfo = TOKENS[symbol];
|
|
20
|
+
if (!tokenInfo) {
|
|
21
|
+
console.warn(` Unknown token symbol: ${symbol} (chain ${chainId})`);
|
|
22
|
+
continue;
|
|
23
|
+
}
|
|
24
|
+
const { decimals, approx_1_usd } = tokenInfo;
|
|
25
|
+
if (approx_1_usd == null) {
|
|
26
|
+
console.warn(` No approx_1_usd for ${symbol} — run update_token_prices.js first`);
|
|
27
|
+
continue;
|
|
28
|
+
}
|
|
29
|
+
if (!lookup[chainId]) lookup[chainId] = {};
|
|
30
|
+
for (const contractDef of Object.values(contractMap)) {
|
|
31
|
+
const addr = contractDef.address.toLowerCase();
|
|
32
|
+
lookup[chainId][addr] = { symbol, decimals, approx_1_usd };
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
const outPath = path.join(GEN_DIR, 'contract_token_lookup.json');
|
|
38
|
+
fs.writeFileSync(outPath, JSON.stringify(lookup, null, 2) + '\n');
|
|
39
|
+
console.log(`Written: ${outPath}`);
|
|
40
|
+
console.log(`Chains: ${Object.keys(lookup).length}, contracts: ${Object.values(lookup).reduce((s, m) => s + Object.keys(m).length, 0)}`);
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// AUTO-GENERATES two files from contracts.json + chains.json:
|
|
3
|
+
// packages/indexer/active-chains.json — chain list for sync.js ACTIVE_CHAINS
|
|
4
|
+
// packages/indexer/scripts/chains-config.json — chain/explorer config for fetch-event-blocks.js
|
|
5
|
+
//
|
|
6
|
+
// Reads realityETHIndexerSupport, indexer_batch_size, indexer_name, and explorer_api_*
|
|
7
|
+
// fields from supported.json to drive generation.
|
|
8
|
+
|
|
9
|
+
'use strict';
|
|
10
|
+
|
|
11
|
+
const fs = require('fs');
|
|
12
|
+
const path = require('path');
|
|
13
|
+
|
|
14
|
+
const contractsDir = path.resolve(__dirname, '..');
|
|
15
|
+
const contracts = JSON.parse(fs.readFileSync(path.join(contractsDir, 'generated/contracts.json'), 'utf8'));
|
|
16
|
+
const chains = JSON.parse(fs.readFileSync(path.join(contractsDir, 'generated/chains.json'), 'utf8'));
|
|
17
|
+
const supported = JSON.parse(fs.readFileSync(path.join(contractsDir, 'chains/supported.json'), 'utf8'));
|
|
18
|
+
|
|
19
|
+
const ETHERSCAN_V2 = 'https://api.etherscan.io/v2/api';
|
|
20
|
+
const DEFAULT_BATCH = 5_000;
|
|
21
|
+
|
|
22
|
+
// Skip arbitrators and pre-release versions.
|
|
23
|
+
function isSkipped(ver) {
|
|
24
|
+
return ver.startsWith('Arbitrator') || ver.endsWith('-rc1') || ver.endsWith('-rc2');
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
// Name used in indexer logs and as the fetch-event-blocks.js CHAINS key.
|
|
28
|
+
// Prefers supported.json indexer_name, then normalized network_name.
|
|
29
|
+
function indexerName(id) {
|
|
30
|
+
const sup = supported[String(id)] || {};
|
|
31
|
+
if (sup.indexer_name) return sup.indexer_name;
|
|
32
|
+
const nn = chains[String(id)]?.network_name;
|
|
33
|
+
if (!nn) return `chain_${id}`;
|
|
34
|
+
return nn.toLowerCase().replace(/[-\s]+/g, '_');
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
// Short label for the contracts[] name field in chains-config.json.
|
|
38
|
+
// Must be unique within each chain since it's used as a meta key for HWM tracking.
|
|
39
|
+
function contractLabel(token, ver) {
|
|
40
|
+
const m = ver.match(/-(\d+\.\d+)$/);
|
|
41
|
+
const v = m ? m[1] : '?';
|
|
42
|
+
return ver.startsWith('RealityETH_ERC20-') ? `ERC20-${token}-v${v}` : `v${v}`;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
// Chain IDs that have realityETHIndexerSupport set in chains.json.
|
|
46
|
+
const indexedIds = Object.keys(chains)
|
|
47
|
+
.map(Number)
|
|
48
|
+
.filter(id => chains[String(id)]?.realityETHIndexerSupport)
|
|
49
|
+
.sort((a, b) => a - b);
|
|
50
|
+
|
|
51
|
+
const activeChains = [];
|
|
52
|
+
const chainsConfig = {};
|
|
53
|
+
|
|
54
|
+
for (const chainId of indexedIds) {
|
|
55
|
+
const sup = supported[String(chainId)] || {};
|
|
56
|
+
const byToken = contracts[String(chainId)] || {};
|
|
57
|
+
const name = indexerName(chainId);
|
|
58
|
+
|
|
59
|
+
// Collect all non-skipped contract addresses with their start blocks.
|
|
60
|
+
const entries = [];
|
|
61
|
+
for (const [token, byVersion] of Object.entries(byToken)) {
|
|
62
|
+
for (const [ver, data] of Object.entries(byVersion)) {
|
|
63
|
+
if (isSkipped(ver)) continue;
|
|
64
|
+
const addrs = Array.isArray(data.address) ? data.address : [data.address];
|
|
65
|
+
for (const addr of addrs.filter(Boolean)) {
|
|
66
|
+
entries.push({
|
|
67
|
+
address: addr.toLowerCase(),
|
|
68
|
+
startBlock: data.block || 0,
|
|
69
|
+
label: contractLabel(token, ver),
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
if (!entries.length) continue;
|
|
75
|
+
entries.sort((a, b) => a.startBlock - b.startBlock);
|
|
76
|
+
|
|
77
|
+
// active-chains.json entry (consumed by sync.js mkChain).
|
|
78
|
+
activeChains.push({
|
|
79
|
+
id: chainId,
|
|
80
|
+
name,
|
|
81
|
+
batchSize: sup.indexer_batch_size || DEFAULT_BATCH,
|
|
82
|
+
noExplorerRefresh: !!sup.no_explorer_refresh,
|
|
83
|
+
startBlock: entries[0].startBlock,
|
|
84
|
+
addresses: entries.map(e => e.address),
|
|
85
|
+
});
|
|
86
|
+
|
|
87
|
+
// chains-config.json entry (consumed by fetch-event-blocks.js).
|
|
88
|
+
// Default: Etherscan V2 with chainId param and ETHERSCAN_API_KEY.
|
|
89
|
+
// Overrides come from explorer_api_* fields in supported.json.
|
|
90
|
+
const apiUrl = sup.explorer_api_url || ETHERSCAN_V2;
|
|
91
|
+
const apiKeyEnv = 'explorer_api_key_env' in sup ? sup.explorer_api_key_env : 'ETHERSCAN_API_KEY';
|
|
92
|
+
const apiKeyReq = sup.explorer_api_key_required || false;
|
|
93
|
+
const apiChainId = sup.explorer_api_no_chain_id ? null : chainId;
|
|
94
|
+
|
|
95
|
+
chainsConfig[name] = {
|
|
96
|
+
chainId: apiChainId,
|
|
97
|
+
apiUrl,
|
|
98
|
+
apiKeyEnv,
|
|
99
|
+
apiKeyRequired: apiKeyReq,
|
|
100
|
+
contracts: entries.map(e => ({ address: e.address, startBlock: e.startBlock, name: e.label })),
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
const activeChainPath = path.resolve(contractsDir, '../indexer/active-chains.json');
|
|
105
|
+
const chainsConfigPath = path.resolve(contractsDir, '../indexer/scripts/chains-config.json');
|
|
106
|
+
|
|
107
|
+
fs.writeFileSync(activeChainPath, JSON.stringify(activeChains, null, 2) + '\n');
|
|
108
|
+
console.log('Wrote', activeChainPath);
|
|
109
|
+
|
|
110
|
+
fs.writeFileSync(chainsConfigPath, JSON.stringify(chainsConfig, null, 2) + '\n');
|
|
111
|
+
console.log('Wrote', chainsConfigPath);
|