@xoxno/types 1.0.485 → 1.0.486

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.
@@ -20,6 +20,12 @@ export declare class StellarLendingCursorDoc {
20
20
  poolAddress: string | null;
21
21
  priceAggregatorAddress: string | null;
22
22
  governanceAddress: string | null;
23
+ /**
24
+ * Position-NFT contract bound to this cursor position. NFT transfers change
25
+ * account ownership without any controller event, so the indexer watches it;
26
+ * a repoint invalidates the cursor like every other watched address.
27
+ */
28
+ positionNftAddress: string | null;
23
29
  /**
24
30
  * Decode-logic version. Bumping it discards the cursor and replays everything
25
31
  * within RPC retention, so a decoder fix reaches already-indexed events.
@@ -23,6 +23,12 @@ class StellarLendingCursorDoc {
23
23
  this.poolAddress = null;
24
24
  this.priceAggregatorAddress = null;
25
25
  this.governanceAddress = null;
26
+ /**
27
+ * Position-NFT contract bound to this cursor position. NFT transfers change
28
+ * account ownership without any controller event, so the indexer watches it;
29
+ * a repoint invalidates the cursor like every other watched address.
30
+ */
31
+ this.positionNftAddress = null;
26
32
  /**
27
33
  * Decode-logic version. Bumping it discards the cursor and replays everything
28
34
  * within RPC retention, so a decoder fix reaches already-indexed events.
@@ -26,6 +26,13 @@ export declare enum StellarLendingActivity {
26
26
  * as liquidator proceeds overstates them by the fee.
27
27
  */
28
28
  LiqCredit = "liqCredit",
29
+ /**
30
+ * Position-NFT `transfer` — the whole account (collateral AND debt) changed
31
+ * hands outside the controller. `owner` is the receiving wallet; the row's
32
+ * address is the sender. Not an on-chain `PositionAction`: emitted by the
33
+ * position-NFT contract, not the controller.
34
+ */
35
+ NftTransfer = "nftTransfer",
29
36
  FlashLoan = "flashLoan",
30
37
  BadDebt = "badDebt",
31
38
  StrategyFee = "strategyFee",
@@ -30,6 +30,13 @@ var StellarLendingActivity;
30
30
  * as liquidator proceeds overstates them by the fee.
31
31
  */
32
32
  StellarLendingActivity["LiqCredit"] = "liqCredit";
33
+ /**
34
+ * Position-NFT `transfer` — the whole account (collateral AND debt) changed
35
+ * hands outside the controller. `owner` is the receiving wallet; the row's
36
+ * address is the sender. Not an on-chain `PositionAction`: emitted by the
37
+ * position-NFT contract, not the controller.
38
+ */
39
+ StellarLendingActivity["NftTransfer"] = "nftTransfer";
33
40
  StellarLendingActivity["FlashLoan"] = "flashLoan";
34
41
  StellarLendingActivity["BadDebt"] = "badDebt";
35
42
  StellarLendingActivity["StrategyFee"] = "strategyFee";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xoxno/types",
3
- "version": "1.0.485",
3
+ "version": "1.0.486",
4
4
  "description": "Shared types and utilities for XOXNO API.",
5
5
  "exports": {
6
6
  ".": {