@aegis-engine/core 0.11.0 → 0.12.0
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.
- package/README.md +10 -0
- package/dist/aegis-core.js +921 -913
- package/dist/types/aggregatedSwap.d.ts +6 -1
- package/package.json +1 -1
|
@@ -37,7 +37,12 @@ export type AggregatedSwapQuote = {
|
|
|
37
37
|
*/
|
|
38
38
|
expiresAt?: string;
|
|
39
39
|
transactionValue: bigint;
|
|
40
|
-
|
|
40
|
+
/**
|
|
41
|
+
* Fraction of value lost (positive is adverse). Provider-reported when
|
|
42
|
+
* present; for Kyber, derived from its USD values with the Aegis output fee added
|
|
43
|
+
* back (market impact and pool fees; excludes the Aegis fee and gas). Null when neither source is available.
|
|
44
|
+
*/
|
|
45
|
+
priceImpact: number | null;
|
|
41
46
|
feeAmount: bigint;
|
|
42
47
|
feeBps: number;
|
|
43
48
|
feeRecipient: Address | null;
|