@xoxno/types 1.0.485 → 1.0.487
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/dist/enums/lending-governance.enum.d.ts +2 -0
- package/dist/enums/lending-governance.enum.js +2 -0
- package/dist/stellar-lending/documents/cursor.doc.d.ts +6 -0
- package/dist/stellar-lending/documents/cursor.doc.js +6 -0
- package/dist/stellar-lending/enums/activity.enum.d.ts +7 -0
- package/dist/stellar-lending/enums/activity.enum.js +7 -0
- package/dist/stellar-lending/enums/governance.enum.d.ts +2 -0
- package/dist/stellar-lending/enums/governance.enum.js +2 -0
- package/package.json +1 -1
|
@@ -24,6 +24,8 @@ export declare enum GovernanceProposalKind {
|
|
|
24
24
|
UpgradeLiquidityPoolParams = "UpgradeLiquidityPoolParams",
|
|
25
25
|
DeployPool = "DeployPool",
|
|
26
26
|
UpgradePool = "UpgradePool",
|
|
27
|
+
DeployPositionNft = "DeployPositionNft",
|
|
28
|
+
UpgradePositionNft = "UpgradePositionNft",
|
|
27
29
|
UpgradeController = "UpgradeController",
|
|
28
30
|
MigrateController = "MigrateController",
|
|
29
31
|
TransferCtrlOwnership = "TransferCtrlOwnership",
|
|
@@ -28,6 +28,8 @@ var GovernanceProposalKind;
|
|
|
28
28
|
GovernanceProposalKind["UpgradeLiquidityPoolParams"] = "UpgradeLiquidityPoolParams";
|
|
29
29
|
GovernanceProposalKind["DeployPool"] = "DeployPool";
|
|
30
30
|
GovernanceProposalKind["UpgradePool"] = "UpgradePool";
|
|
31
|
+
GovernanceProposalKind["DeployPositionNft"] = "DeployPositionNft";
|
|
32
|
+
GovernanceProposalKind["UpgradePositionNft"] = "UpgradePositionNft";
|
|
31
33
|
GovernanceProposalKind["UpgradeController"] = "UpgradeController";
|
|
32
34
|
GovernanceProposalKind["MigrateController"] = "MigrateController";
|
|
33
35
|
GovernanceProposalKind["TransferCtrlOwnership"] = "TransferCtrlOwnership";
|
|
@@ -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";
|
|
@@ -22,6 +22,8 @@ export declare enum StellarGovernanceProposalKind {
|
|
|
22
22
|
UpgradeLiquidityPoolParams = "UpgradeLiquidityPoolParams",
|
|
23
23
|
DeployPool = "DeployPool",
|
|
24
24
|
UpgradePool = "UpgradePool",
|
|
25
|
+
DeployPositionNft = "DeployPositionNft",
|
|
26
|
+
UpgradePositionNft = "UpgradePositionNft",
|
|
25
27
|
SetPositionManager = "SetPositionManager",
|
|
26
28
|
UpgradeController = "UpgradeController",
|
|
27
29
|
MigrateController = "MigrateController",
|
|
@@ -26,6 +26,8 @@ var StellarGovernanceProposalKind;
|
|
|
26
26
|
StellarGovernanceProposalKind["UpgradeLiquidityPoolParams"] = "UpgradeLiquidityPoolParams";
|
|
27
27
|
StellarGovernanceProposalKind["DeployPool"] = "DeployPool";
|
|
28
28
|
StellarGovernanceProposalKind["UpgradePool"] = "UpgradePool";
|
|
29
|
+
StellarGovernanceProposalKind["DeployPositionNft"] = "DeployPositionNft";
|
|
30
|
+
StellarGovernanceProposalKind["UpgradePositionNft"] = "UpgradePositionNft";
|
|
29
31
|
StellarGovernanceProposalKind["SetPositionManager"] = "SetPositionManager";
|
|
30
32
|
StellarGovernanceProposalKind["UpgradeController"] = "UpgradeController";
|
|
31
33
|
StellarGovernanceProposalKind["MigrateController"] = "MigrateController";
|