@cowprotocol/cow-sdk 6.0.0-RC.35 → 6.0.0-RC.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Convert a percentage to a bps value.
3
+ *
4
+ * It rounds up.
5
+ *
6
+ * @param percentage - The percentage to convert
7
+ * @returns The bps value
8
+ */
9
+ export declare function percentageToBps(percentage: number | bigint): number;
10
+ /**
11
+ * Apply a percentage to a bigint value
12
+ * @param value - The value to apply the percentage to
13
+ * @param percentage - The percentage to apply
14
+ * @returns The value after applying the percentage
15
+ */
16
+ export declare function applyPercentage(value: bigint, percentage: number): bigint;