From 31795c8e7025a386a64956bf5ec9e891e70749ef Mon Sep 17 00:00:00 2001 From: spsjvc Date: Tue, 19 Dec 2023 00:48:45 +0100 Subject: [PATCH] build: add arb owner public config --- src/contracts.ts | 6 ++++++ wagmi.config.ts | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/src/contracts.ts b/src/contracts.ts index c949406a..660175bf 100644 --- a/src/contracts.ts +++ b/src/contracts.ts @@ -3,6 +3,7 @@ import { parseAbi } from 'viem'; import { erc20ABI, arbOwnerConfig, + arbOwnerPublicConfig, rollupCreatorConfig, tokenBridgeCreatorConfig, } from './generated'; @@ -16,6 +17,11 @@ export const arbOwner = { address: Object.values(arbOwnerConfig.address)[0], } as const; +export const arbOwnerPublic = { + ...arbOwnerPublicConfig, + address: Object.values(arbOwnerPublicConfig.address)[0], +} as const; + export const rollupCreator = rollupCreatorConfig; export const tokenBridgeCreator = tokenBridgeCreatorConfig; diff --git a/wagmi.config.ts b/wagmi.config.ts index 38fd0420..da2bd556 100644 --- a/wagmi.config.ts +++ b/wagmi.config.ts @@ -56,6 +56,10 @@ const contracts: ContractConfig[] = [ name: 'ArbOwner', address: '0x0000000000000000000000000000000000000070', }, + { + name: 'ArbOwnerPublic', + address: '0x000000000000000000000000000000000000006b', + }, ]; function allEqual(array: T[]) {