@xoxno/types 1.0.214 → 1.0.216
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/entities/token-data/token-data.doc.d.ts +0 -2
- package/dist/entities/token-data/token-data.doc.js +0 -8
- package/dist/enums/index.d.ts +2 -0
- package/dist/enums/index.js +2 -0
- package/dist/enums/lending-activity.enum.d.ts +14 -0
- package/dist/enums/lending-activity.enum.js +18 -0
- package/dist/enums/lending-event-identifier.enum.d.ts +29 -0
- package/dist/enums/lending-event-identifier.enum.js +33 -0
- package/dist/index.js +2 -0
- package/package.json +1 -1
|
@@ -20,7 +20,6 @@ export declare class TokenDataDoc extends TokenDataDocBase {
|
|
|
20
20
|
}
|
|
21
21
|
export declare class TokenDataDocHydrated extends TokenDataDoc {
|
|
22
22
|
usdPrice: number;
|
|
23
|
-
isAshSupported: boolean;
|
|
24
23
|
}
|
|
25
24
|
export declare class SuiCoinObjectDto {
|
|
26
25
|
objectId: string;
|
|
@@ -30,7 +29,6 @@ export declare class SuiCoinObjectDto {
|
|
|
30
29
|
}
|
|
31
30
|
export declare class TokenDataDocWithBalance extends TokenDataDocBase {
|
|
32
31
|
usdPrice: number;
|
|
33
|
-
isAshSupported: boolean;
|
|
34
32
|
nonce: number;
|
|
35
33
|
balance: string;
|
|
36
34
|
shortBalance: number;
|
|
@@ -136,10 +136,6 @@ __decorate([
|
|
|
136
136
|
(0, swagger_1.ApiProperty)({ example: 12.160648172030305 }),
|
|
137
137
|
__metadata("design:type", Number)
|
|
138
138
|
], TokenDataDocHydrated.prototype, "usdPrice", void 0);
|
|
139
|
-
__decorate([
|
|
140
|
-
(0, swagger_1.ApiProperty)({ example: false }),
|
|
141
|
-
__metadata("design:type", Boolean)
|
|
142
|
-
], TokenDataDocHydrated.prototype, "isAshSupported", void 0);
|
|
143
139
|
class SuiCoinObjectDto {
|
|
144
140
|
}
|
|
145
141
|
exports.SuiCoinObjectDto = SuiCoinObjectDto;
|
|
@@ -178,10 +174,6 @@ __decorate([
|
|
|
178
174
|
(0, swagger_1.ApiProperty)({ example: 12.160648172030305 }),
|
|
179
175
|
__metadata("design:type", Number)
|
|
180
176
|
], TokenDataDocWithBalance.prototype, "usdPrice", void 0);
|
|
181
|
-
__decorate([
|
|
182
|
-
(0, swagger_1.ApiProperty)({ example: false }),
|
|
183
|
-
__metadata("design:type", Boolean)
|
|
184
|
-
], TokenDataDocWithBalance.prototype, "isAshSupported", void 0);
|
|
185
177
|
__decorate([
|
|
186
178
|
(0, swagger_1.ApiProperty)({ example: 0 }),
|
|
187
179
|
__metadata("design:type", Number)
|
package/dist/enums/index.d.ts
CHANGED
|
@@ -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";
|
package/dist/enums/index.js
CHANGED
|
@@ -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);
|