-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathglobal.d.ts
49 lines (42 loc) · 1019 Bytes
/
global.d.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
/**
* EMP Strategy
*/
type StrategyUtiliziedERC20 = string[];
type StrategyUtilization = [boolean, boolean, BigNumber][];
type StrategyUtilizedERC20Update = {
utilizedERC20: StrategyUtiliziedERC20,
utilization: StrategyUtilization[]
};
/**
* EMP
*/
type UtilizedEMPStrategy = string[];
type UtilizedEMPStrategyUpdate = string[];
type UtilizedEMPStrategyAllocationUpdate = BigNumber[];
type UtilizedERC20Amount = BigNumber[];
type UtilizedEMPStrategyERC20Amount = BigNumber[][];
/**
* Deploy EMP
*/
type DeployEMP = {
name: string,
ticker: string,
utilizedEMPStrategyUpdate: UtilizedEMPStrategyUpdate,
utilizedEMPStrategyAllocationUpdate: UtilizedEMPStrategyAllocationUpdate
};
/**
* Deploy Strategy
*/
type DeployStrategy = {
strategyUtilizedERC20: string[],
strategyUtilization: [boolean, boolean, BigNumber][],
eRC20Handler?: string
};
type TestEMP = {
contract: Contract,
UtilEMPTransfer: UtilEMPTransfer
};
type TestStrategy = {
contract: Contract,
UtilStrategyTransfer: UtilStrategyTransfer
};