-
Notifications
You must be signed in to change notification settings - Fork 39
/
input.ts
31 lines (27 loc) · 1.05 KB
/
input.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
import { Task, TaskMode } from '@src';
import { MONTH } from '@helpers/time';
export type AaveLinearPoolDeployment = {
Vault: string;
BalancerQueries: string;
ProtocolFeePercentagesProvider: string;
WETH: string;
FactoryVersion: string;
PoolVersion: string;
InitialPauseWindowDuration: number;
BufferPeriodDuration: number;
};
const Vault = new Task('20210418-vault', TaskMode.READ_ONLY);
const BalancerQueries = new Task('20220721-balancer-queries', TaskMode.READ_ONLY);
const ProtocolFeePercentagesProvider = new Task('20220725-protocol-fee-percentages-provider', TaskMode.READ_ONLY);
const WETH = new Task('00000000-tokens', TaskMode.READ_ONLY);
const BaseVersion = { version: 5, deployment: '20230410-aave-linear-pool-v5' };
export default {
Vault,
BalancerQueries,
ProtocolFeePercentagesProvider,
WETH,
FactoryVersion: JSON.stringify({ name: 'AaveLinearPoolFactory', ...BaseVersion }),
PoolVersion: JSON.stringify({ name: 'AaveLinearPool', ...BaseVersion }),
InitialPauseWindowDuration: MONTH * 3,
BufferPeriodDuration: MONTH,
};