This repository was archived by the owner on Apr 11, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtypes.ts
81 lines (71 loc) · 1.46 KB
/
types.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
export interface IChain {
name: string
chainName: string
chainId: number
gas: string
currency?: string
defaultRpcUrl?: string
defaultBlockExplorer?: string
}
export interface IHardhatPluginAvailableList {
title: string
name: string
addInHardhatConfig: boolean
}
export interface IFileList {
name: string
type: string
filePath: string
}
export interface IMockContractsList {
name: string
desc: string
dependencies: string[]
deploymentScriptJs?: string
deploymentScriptTs?: string
testScriptJs?: string
testScriptTs?: string
testContractFoundry?: string
upgradeable?: boolean
}
export interface IExcludedFiles {
directory: string
name: string
filePath: string
}
export interface IFileSetting {
activatedChain?: IChain[]
excludedFiles?: IExcludedFiles[]
}
export interface IInquirerListField {
name: string
disabled?: string
}
export interface IContractAddressDeployed {
name: string
address: string
network: string
deployer: string
deploymentDate: Date
}
export interface IDefaultGithubWorkflowsList {
title: string
file: string
group: string
requirement?: string[]
}
export type TAddressBookFields =
| 'name'
| 'address'
| 'network'
| 'deployer'
| 'deploymentDate'
| 'chainId'
| 'blockHash'
| 'blockNumber'
| 'tag'
| 'extra'
export type FunctionSelector = {
name: string
selector: string
}