@xoxno/types 1.0.214 → 1.0.215

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.
@@ -22,7 +22,9 @@ export * from "./event-user-roles.enum";
22
22
  export * from "./external-payment-status.enum";
23
23
  export * from "./fiat-tokens.enum";
24
24
  export * from "./kusto-db.enum";
25
+ export * from "./lending-activity.enum";
25
26
  export * from "./lending-data-type.enum";
27
+ export * from "./lending-event-identifier.enum";
26
28
  export * from "./lending-position-type.enum";
27
29
  export * from "./lending.enum";
28
30
  export * from "./linked-account-type.enum";
@@ -38,7 +38,9 @@ __exportStar(require("./event-user-roles.enum"), exports);
38
38
  __exportStar(require("./external-payment-status.enum"), exports);
39
39
  __exportStar(require("./fiat-tokens.enum"), exports);
40
40
  __exportStar(require("./kusto-db.enum"), exports);
41
+ __exportStar(require("./lending-activity.enum"), exports);
41
42
  __exportStar(require("./lending-data-type.enum"), exports);
43
+ __exportStar(require("./lending-event-identifier.enum"), exports);
42
44
  __exportStar(require("./lending-position-type.enum"), exports);
43
45
  __exportStar(require("./lending.enum"), exports);
44
46
  __exportStar(require("./linked-account-type.enum"), exports);
@@ -0,0 +1,14 @@
1
+ export declare enum XoxnoLendingActivity {
2
+ CREATE_MARKET = "lendingCreateMarket",
3
+ UPDATE_MARKET = "lendingUpdateMarket",
4
+ UPDATE_MARKET_DEBT_CEILING = "lendingUpdateMarketDebtCeiling",
5
+ UPGRADE_MARKET = "lendingUpgradeMarket",
6
+ CREATE_ACCOUNT = "lendingCreateAccount",
7
+ UPDATE_ACCOUNT_POSITION = "lendingUpdateAccountPosition",
8
+ UPDATE_MARKET_STATE = "lendingUpdateMarketState",
9
+ LIQUIDATE_REPAY_DEBT = "lendingLiquidateRepayDebt",
10
+ LIQUIDATE_SEIZE_COLLATERAL = "lendingLiquidateSeizeCollateral",
11
+ EMODE_CATEGORY = "lendingEModeCategory",
12
+ TOKEN_EMODE = "lendingTokenEMode",
13
+ UPDATE_ACCOUNT_PARAMETERS = "lendingUpdateAccountParameters"
14
+ }
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.XoxnoLendingActivity = void 0;
4
+ var XoxnoLendingActivity;
5
+ (function (XoxnoLendingActivity) {
6
+ XoxnoLendingActivity["CREATE_MARKET"] = "lendingCreateMarket";
7
+ XoxnoLendingActivity["UPDATE_MARKET"] = "lendingUpdateMarket";
8
+ XoxnoLendingActivity["UPDATE_MARKET_DEBT_CEILING"] = "lendingUpdateMarketDebtCeiling";
9
+ XoxnoLendingActivity["UPGRADE_MARKET"] = "lendingUpgradeMarket";
10
+ XoxnoLendingActivity["CREATE_ACCOUNT"] = "lendingCreateAccount";
11
+ XoxnoLendingActivity["UPDATE_ACCOUNT_POSITION"] = "lendingUpdateAccountPosition";
12
+ XoxnoLendingActivity["UPDATE_MARKET_STATE"] = "lendingUpdateMarketState";
13
+ XoxnoLendingActivity["LIQUIDATE_REPAY_DEBT"] = "lendingLiquidateRepayDebt";
14
+ XoxnoLendingActivity["LIQUIDATE_SEIZE_COLLATERAL"] = "lendingLiquidateSeizeCollateral";
15
+ XoxnoLendingActivity["EMODE_CATEGORY"] = "lendingEModeCategory";
16
+ XoxnoLendingActivity["TOKEN_EMODE"] = "lendingTokenEMode";
17
+ XoxnoLendingActivity["UPDATE_ACCOUNT_PARAMETERS"] = "lendingUpdateAccountParameters";
18
+ })(XoxnoLendingActivity || (exports.XoxnoLendingActivity = XoxnoLendingActivity = {}));
@@ -0,0 +1,29 @@
1
+ export declare enum LendingScEventIdentifier {
2
+ CREATE_MARKET = "createLiquidityPool",
3
+ UPGRADE_MARKET = "upgradeContract",
4
+ SUPPLY = "supply",
5
+ MULTIPLY = "multiply",
6
+ FLASH_LOAN = "flashLoan",
7
+ WITHDRAW = "withdraw",
8
+ BORROW = "borrow",
9
+ REPAY = "repay",
10
+ LIQUIDATE = "liquidate",
11
+ UPDATE_ACCOUNT_POSITIONS = "updateAccountPositions",
12
+ EDIT_ASSET_CONFIG = "editAssetConfig",
13
+ ADD_EMODE_CATEGORY = "addEModeCategory",
14
+ EDIT_EMODE_CATEGORY = "editEModeCategory",
15
+ REMOVE_EMODE_CATEGORY = "removeEModeCategory",
16
+ ADD_TOKEN_EMODE = "addAssetToEModeCategory",
17
+ EDIT_TOKEN_EMODE = "editAssetInEModeCategory",
18
+ REMOVE_TOKEN_EMODE = "removeAssetFromEModeCategory",
19
+ UPDATE_INDEXES = "updateIndexes",
20
+ ADD_PROTOCOL_REVENUE = "addProtocolRevenue",
21
+ CLAIM_REVENUE = "claimRevenue",
22
+ UPDATE_ACCOUNT_THRESHOLD = "updateAccountThreshold",
23
+ CREATE_STRATEGY = "createStrategy",
24
+ SWAP_COLLATERAL = "swapCollateral",
25
+ SWAP_DEBT = "swapDebt",
26
+ CLEAN_BAD_DEBT = "cleanBadDebt",
27
+ REPAY_SWAP_DEBT = "repayDebtWithCollateral",
28
+ SEIZE_DUST_COLLATERAL = "seizeDustCollateral"
29
+ }
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LendingScEventIdentifier = void 0;
4
+ var LendingScEventIdentifier;
5
+ (function (LendingScEventIdentifier) {
6
+ LendingScEventIdentifier["CREATE_MARKET"] = "createLiquidityPool";
7
+ LendingScEventIdentifier["UPGRADE_MARKET"] = "upgradeContract";
8
+ LendingScEventIdentifier["SUPPLY"] = "supply";
9
+ LendingScEventIdentifier["MULTIPLY"] = "multiply";
10
+ LendingScEventIdentifier["FLASH_LOAN"] = "flashLoan";
11
+ LendingScEventIdentifier["WITHDRAW"] = "withdraw";
12
+ LendingScEventIdentifier["BORROW"] = "borrow";
13
+ LendingScEventIdentifier["REPAY"] = "repay";
14
+ LendingScEventIdentifier["LIQUIDATE"] = "liquidate";
15
+ LendingScEventIdentifier["UPDATE_ACCOUNT_POSITIONS"] = "updateAccountPositions";
16
+ LendingScEventIdentifier["EDIT_ASSET_CONFIG"] = "editAssetConfig";
17
+ LendingScEventIdentifier["ADD_EMODE_CATEGORY"] = "addEModeCategory";
18
+ LendingScEventIdentifier["EDIT_EMODE_CATEGORY"] = "editEModeCategory";
19
+ LendingScEventIdentifier["REMOVE_EMODE_CATEGORY"] = "removeEModeCategory";
20
+ LendingScEventIdentifier["ADD_TOKEN_EMODE"] = "addAssetToEModeCategory";
21
+ LendingScEventIdentifier["EDIT_TOKEN_EMODE"] = "editAssetInEModeCategory";
22
+ LendingScEventIdentifier["REMOVE_TOKEN_EMODE"] = "removeAssetFromEModeCategory";
23
+ LendingScEventIdentifier["UPDATE_INDEXES"] = "updateIndexes";
24
+ LendingScEventIdentifier["ADD_PROTOCOL_REVENUE"] = "addProtocolRevenue";
25
+ LendingScEventIdentifier["CLAIM_REVENUE"] = "claimRevenue";
26
+ LendingScEventIdentifier["UPDATE_ACCOUNT_THRESHOLD"] = "updateAccountThreshold";
27
+ LendingScEventIdentifier["CREATE_STRATEGY"] = "createStrategy";
28
+ LendingScEventIdentifier["SWAP_COLLATERAL"] = "swapCollateral";
29
+ LendingScEventIdentifier["SWAP_DEBT"] = "swapDebt";
30
+ LendingScEventIdentifier["CLEAN_BAD_DEBT"] = "cleanBadDebt";
31
+ LendingScEventIdentifier["REPAY_SWAP_DEBT"] = "repayDebtWithCollateral";
32
+ LendingScEventIdentifier["SEIZE_DUST_COLLATERAL"] = "seizeDustCollateral";
33
+ })(LendingScEventIdentifier || (exports.LendingScEventIdentifier = LendingScEventIdentifier = {}));
package/dist/index.js CHANGED
@@ -203,7 +203,9 @@ __exportStar(require("./enums/event-user-roles.enum"), exports);
203
203
  __exportStar(require("./enums/external-payment-status.enum"), exports);
204
204
  __exportStar(require("./enums/fiat-tokens.enum"), exports);
205
205
  __exportStar(require("./enums/kusto-db.enum"), exports);
206
+ __exportStar(require("./enums/lending-activity.enum"), exports);
206
207
  __exportStar(require("./enums/lending-data-type.enum"), exports);
208
+ __exportStar(require("./enums/lending-event-identifier.enum"), exports);
207
209
  __exportStar(require("./enums/lending-position-type.enum"), exports);
208
210
  __exportStar(require("./enums/lending.enum"), exports);
209
211
  __exportStar(require("./enums/linked-account-type.enum"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xoxno/types",
3
- "version": "1.0.214",
3
+ "version": "1.0.215",
4
4
  "description": "Shared types and utilities for XOXNO API.",
5
5
  "exports": {
6
6
  ".": {