-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.d.ts
56 lines (48 loc) · 1.21 KB
/
index.d.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
export type Param = {
internalType: string,
name: string,
type: string,
}
export type ConstructorType = {
type: 'constructor',
inputs: Param[],
stateMutability: string
}
export type EventType = {
type: 'event',
name: string,
inputs: Param[],
anonymous: boolean,
}
export type FunctionType = {
type: 'function',
name: string,
inputs: Param[],
outputs: Param[],
stateMutability: string
}
export type Artifact = {
contractName: string,
abi: (ConstructorType | EventType | FunctionType)[],
metadata: string,
bytecode: string,
deployedBytecode: string,
linkReferences: any,
deployedLinkReferences: any,
};
export const RenPool: Artifact;
export const IERC20Standard: Artifact;
export const IDarknodeRegistry: Artifact;
export type AddressType = string;
export const deployments: {
[key in 'mainnet' | 'kovan']: {
renTokenAddr: AddressType,
renBTCAddr: AddressType,
topRenTokenHolderAddr: AddressType,
darknodeRegistryAddr: AddressType,
darknodeRegistryStoreAddr: AddressType,
darknodePaymentAddr: AddressType,
claimRewardsAddr: AddressType,
gatewayRegistryAddr: AddressType,
};
};