-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.ts
33 lines (29 loc) · 982 Bytes
/
index.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import { ContractStore } from "contract-store";
import semaphoreDemoGoerli from "./deployments/goerli/SemaphoreDemo.json";
import semaphore from './artifacts/@semaphore-protocol/contracts/interfaces/ISemaphore.sol/ISemaphore.json';
export * from "./typechain";
enum Network {
goerli = 5,
}
const SEMAPHORE_GOERLI_ADDRESS = "0x99aAb52e60f40AAC0BFE53e003De847bBDbC9611";
export const contractStore = new ContractStore({
networks: {
[Network.goerli]: {
abis: {
SEMAPHORE_DEMO: semaphoreDemoGoerli.abi,
SEMAPHORE: semaphore.abi
},
deployments: {
SEMAPHORE_DEMO: {
address: semaphoreDemoGoerli.address,
abiKey: "SEMAPHORE_DEMO"
},
SEMAPHORE: {
address: SEMAPHORE_GOERLI_ADDRESS,
abiKey: "SEMAPHORE"
},
}
}
},
globalAbis: {}
});