@xoxno/types 1.0.482 → 1.0.483
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.
|
@@ -21,7 +21,19 @@ export interface StellarLendingActivityData {
|
|
|
21
21
|
amountShort: number | null;
|
|
22
22
|
oraclePrice: number | null;
|
|
23
23
|
usd: number | null;
|
|
24
|
+
/**
|
|
25
|
+
* Fee in display units on rows where `amount` is a gross principal rather
|
|
26
|
+
* than the fee itself (`position:flash_loan`, `strategy:fee`). Omitted when
|
|
27
|
+
* the asset decimals are unknown — never a fabricated zero.
|
|
28
|
+
*/
|
|
24
29
|
feeShort?: number;
|
|
30
|
+
/**
|
|
31
|
+
* `feeShort` valued at the same `oraclePrice` as `usd`. On a `strategyFee`
|
|
32
|
+
* row `usd` is the strategy's gross principal, NOT protocol revenue — sum
|
|
33
|
+
* `feeUsd` for revenue. Omitted when the asset is unpriced or its decimals
|
|
34
|
+
* are unknown.
|
|
35
|
+
*/
|
|
36
|
+
feeUsd?: number;
|
|
25
37
|
/**
|
|
26
38
|
* Which side of the position this row mutated (`null` for non-position
|
|
27
39
|
* events: flash loan, strategy fee, bad-debt header).
|