-
Notifications
You must be signed in to change notification settings - Fork 0
/
input.ts
31 lines (27 loc) · 1.04 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 SiloLinearPoolDeployment = {
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: 1, deployment: '20230315-silo-linear-pool' };
export default {
Vault,
BalancerQueries,
ProtocolFeePercentagesProvider,
WETH,
FactoryVersion: JSON.stringify({ name: 'SiloLinearPoolFactory', ...BaseVersion }),
PoolVersion: JSON.stringify({ name: 'SiloLinearPool', ...BaseVersion }),
InitialPauseWindowDuration: MONTH * 3,
BufferPeriodDuration: MONTH,
};