Skip to content

Commit

Permalink
add zora
Browse files Browse the repository at this point in the history
  • Loading branch information
luke7211 committed Jun 22, 2023
1 parent 17047fd commit 8b9569a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/optimism-history/src/EventProcessor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export class EventProcessor {
) {}

async processEvent(event: Event) {
console.log(event)
const nameHash = (event.args?.name as { hash: string }).hash
const newAddress = EthereumAddress(event.args?.newAddress as string)
const [timestamp, name, implementationName] = await Promise.all([
Expand Down
4 changes: 4 additions & 0 deletions packages/optimism-history/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,8 @@ export const config: Record<string, NetworkConfig | undefined> = {
addressManager: '0x7934915C03eA2E2C4D69c269F45598B738ddee08',
fromBlock: 13308621,
},
zora: {
addressManager: '0xEF8115F2733fb2033a7c756402Fc1deaa56550Ef',
fromBlock: 7473931,
},
}

0 comments on commit 8b9569a

Please sign in to comment.