-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhardhat.config.dependencies.ts
43 lines (43 loc) · 1.89 KB
/
hardhat.config.dependencies.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
export const external = {
contracts: [
{
artifacts: 'node_modules/@pooltogether/pooltogether-rng-contracts/build',
},
{
artifacts: 'node_modules/@pooltogether/yield-source-interface/artifacts',
},
],
deployments: {
rinkeby: ['node_modules/@pooltogether/pooltogether-rng-contracts/deployments/rinkeby'],
mumbai: ['node_modules/@pooltogether/pooltogether-rng-contracts/deployments/mumbai_80001'],
},
};
export const dependencyCompiler = {
paths: [
// Core
'@pooltogether/v4-core/contracts/DrawBeacon.sol',
'@pooltogether/v4-core/contracts/DrawCalculator.sol',
'@pooltogether/v4-core/contracts/DrawBuffer.sol',
'@pooltogether/v4-core/contracts/PrizeDistributor.sol',
'@pooltogether/v4-core/contracts/PrizeDistributionBuffer.sol',
'@pooltogether/v4-core/contracts/Ticket.sol',
'@pooltogether/v4-core/contracts/prize-strategy/PrizeSplitStrategy.sol',
'@pooltogether/v4-core/contracts/Reserve.sol',
'@pooltogether/v4-core/contracts/prize-pool/YieldSourcePrizePool.sol',
'@pooltogether/v4-core/contracts/test/ERC20Mintable.sol',
'@pooltogether/v4-core/contracts/permit/EIP2612PermitAndDeposit.sol',
// Timelock
'@pooltogether/v4-timelocks/contracts/L1TimelockTrigger.sol',
'@pooltogether/v4-timelocks/contracts/L2TimelockTrigger.sol',
'@pooltogether/v4-timelocks/contracts/DrawCalculatorTimelock.sol',
'@pooltogether/v4-timelocks/contracts/BeaconTimelockTrigger.sol',
'@pooltogether/v4-timelocks/contracts/ReceiverTimelockTrigger.sol',
// Periphery
'@pooltogether/v4-periphery/contracts/PrizeFlush.sol',
'@pooltogether/v4-periphery/contracts/PrizeTierHistory.sol',
'@pooltogether/v4-periphery/contracts/PrizeDistributionFactory.sol',
'@pooltogether/v4-periphery/contracts/TwabRewards.sol',
// mock yield source
'@pooltogether/yield-source-interface/contracts/test/MockYieldSource.sol',
],
};