Skip to content

Commit

Permalink
chore: update arb contracts on ponder
Browse files Browse the repository at this point in the history
  • Loading branch information
pikonha committed Oct 16, 2024
1 parent 8b3e6be commit a800ada
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 16 deletions.
16 changes: 8 additions & 8 deletions packages/l2-indexer/ponder.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,26 +31,26 @@ export default createConfig({
ENSRegistry: {
network: 'arbitrum_sepolia',
abi: ENSRegistry,
address: '0x83686f21bdf2289eb4f6a837c271330851ada373',
startBlock: 85597983,
address: '0x8d55e297c37993ebbd2e7a8d7688f7e5b35f1b50',
startBlock: 89197400,
},
ETHRegistrarController: {
network: 'arbitrum_sepolia',
abi: ETHRegistrarController,
address: '0xd01c56789c783aab5d1cbf7f8a62115a041c0d42',
startBlock: 85598659,
address: '0x263c644d8f5d4bdb44cfab020491ec6fc4ca5271',
startBlock: 89197400,
},
NameWrapper: {
network: 'arbitrum_sepolia',
abi: NameWrapper,
address: '0xd23e62032eb539264cab21c1fb9978fe4092a918',
startBlock: 85598409,
address: '0xff4f34ac12a84de527cf9e24856fc8d7c42cc379',
startBlock: 89197400,
},
PublicResolver: {
network: 'arbitrum_sepolia',
abi: PublicResolver,
address: '0xd9555fc98250d60974cf50cbf42ffff361fe352e',
startBlock: 85599473,
address: '0x0a33f065c9c8f0F5c56BB84b1593631725F0f3af',
startBlock: 89197400,
},
},
})
8 changes: 0 additions & 8 deletions packages/l2-indexer/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,7 @@
import { ponder } from '@/generated'
import { config } from 'dotenv'
import { zeroAddress, zeroHash } from 'viem'
import { namehash } from 'viem/ens'

config({
path: process.env.ENV_FILE || '../../../.env',
})

const registryAddress = process.env.REGISTRY_ADDRESS
if (!registryAddress) throw new Error('REGISTRY_ADDRESS is required')

ponder.on(
'ETHRegistrarController:NameRegistered',
async ({ event, context }) => {
Expand Down

0 comments on commit a800ada

Please sign in to comment.