-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtypes.ts
More file actions
36 lines (30 loc) · 1.25 KB
/
types.ts
File metadata and controls
36 lines (30 loc) · 1.25 KB
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
import type { FeeMetrics } from "../utils/types.js";
/**
* Interface representing the aggregated metrics
*/
export interface IAggregatedMetrics {
/**
* The average fee metrics for the shield ERC20 operation, including average gas used, average gas price, and average transaction fee.
*/
shieldErc20: FeeMetrics;
/**
* The average fee metrics for the unshield ERC20 operation, including average gas used, average gas price, and average transaction fee.
*/
unshieldErc20: FeeMetrics;
/**
* The average fee metrics for the internal transfers operation, including average gas used, average gas price, and average transaction fee.
*/
internalTransfer: FeeMetrics;
/**
* The average fee metrics for the shield ETH operation, including average gas used, average gas price, and average transaction fee.
*/
shieldEth: FeeMetrics;
/**
* The average fee metrics for the unshield ETH operation, including average gas used, average gas price, and average transaction fee.
*/
unshieldEth: FeeMetrics;
/**
* The size of the anonymity set by native and ERC20 tokens, which represents the number of transactions that are indistinguishable from each other in terms of privacy.
*/
anonymitySetSize: Record<string, bigint | number>;
}