-
Notifications
You must be signed in to change notification settings - Fork 369
/
contractPackages.ts
59 lines (57 loc) · 1.44 KB
/
contractPackages.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
export interface ContractPackage {
path?: string
folderPath?: string
name: string
contracts: string[]
contractsFolder?: string
proxyContracts?: string[]
truffleConfig?: string
solidityVersion?: string
proxiesPath?: string
}
export const MENTO_PACKAGE = {
path: 'mento-core',
contractsFolder: 'contracts',
folderPath: 'lib',
name: 'mento',
contracts: [
'Exchange',
'ExchangeEUR',
'ExchangeBRL',
'GrandaMento',
'Reserve',
'ReserveSpenderMultiSig',
'StableToken',
'StableTokenEUR',
'StableTokenBRL',
],
proxyContracts: [
'ExchangeBRLProxy',
'ExchangeEURProxy',
'ExchangeProxy',
'GrandaMentoProxy',
'ReserveProxy',
'ReserveSpenderMultiSigProxy',
'StableTokenBRLProxy',
'StableTokenEURProxy',
'StableTokenProxy',
],
truffleConfig: 'truffle-config.js',
} satisfies ContractPackage
export const SOLIDITY_08_PACKAGE = {
path: 'contracts-0.8',
contractsFolder: '',
folderPath: '',
name: '0.8',
proxiesPath: '/', // Proxies are still with 0.5 contracts
// Proxies shouldn't have to be added to a list manually
// https://github.com/celo-org/celo-monorepo/issues/10555
contracts: ['GasPriceMinimum', 'FeeCurrencyDirectory', 'MintGoldSchedule'],
proxyContracts: [
'GasPriceMinimumProxy',
'FeeCurrencyDirectoryProxy',
'MentoFeeCurrencyAdapterV1',
'MintGoldScheduleProxy',
],
truffleConfig: 'truffle-config0.8.js',
} satisfies ContractPackage