@xoxno/types 1.0.403 → 1.0.404
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.
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { AccountPositionType, PositionMode } from '../../enums/lending.enum';
|
|
2
|
-
import { StellarLendingTopic } from '../../enums/stellar-lending-topic.enum';
|
|
3
1
|
import { AssetConfigRawDto } from './stellar-lending-admin-args.dto';
|
|
4
2
|
import { StellarLendingOracleUpdateStruct } from '../../cosmos-db/documents/lending/lending-oracle';
|
|
5
3
|
/**
|
|
@@ -33,12 +31,12 @@ export declare class StellarEventAccountAttributes {
|
|
|
33
31
|
owner: string;
|
|
34
32
|
isIsolatedPosition: boolean;
|
|
35
33
|
eModeCategoryId: number;
|
|
36
|
-
mode:
|
|
34
|
+
mode: 'None' | 'Multiply' | 'Long' | 'Short';
|
|
37
35
|
isolatedToken?: string;
|
|
38
36
|
}
|
|
39
37
|
export declare class StellarEventPositionDelta {
|
|
40
38
|
action: string;
|
|
41
|
-
positionType:
|
|
39
|
+
positionType: 'Deposit' | 'Borrow';
|
|
42
40
|
asset: string;
|
|
43
41
|
scaledAmountRay: string;
|
|
44
42
|
indexRay: string;
|
|
@@ -169,66 +167,66 @@ export declare class StellarOracleTwapDegradedEvent {
|
|
|
169
167
|
* `"<domain>:<action>"` topic. Narrow on `topic` to access the typed `data`.
|
|
170
168
|
*/
|
|
171
169
|
export type StellarLendingDecodedEvent = {
|
|
172
|
-
topic:
|
|
170
|
+
topic: 'market:create';
|
|
173
171
|
data: StellarCreateMarketEvent;
|
|
174
172
|
} | {
|
|
175
|
-
topic:
|
|
173
|
+
topic: 'market:params_update';
|
|
176
174
|
data: StellarUpdateMarketParamsEvent;
|
|
177
175
|
} | {
|
|
178
|
-
topic:
|
|
176
|
+
topic: 'market:batch_state_update';
|
|
179
177
|
data: StellarUpdateMarketStateBatchEvent;
|
|
180
178
|
} | {
|
|
181
|
-
topic:
|
|
179
|
+
topic: 'position:batch_update';
|
|
182
180
|
data: StellarUpdatePositionBatchEvent;
|
|
183
181
|
} | {
|
|
184
|
-
topic:
|
|
182
|
+
topic: 'position:flash_loan';
|
|
185
183
|
data: StellarFlashLoanEvent;
|
|
186
184
|
} | {
|
|
187
|
-
topic:
|
|
185
|
+
topic: 'config:asset';
|
|
188
186
|
data: StellarUpdateAssetConfigEvent;
|
|
189
187
|
} | {
|
|
190
|
-
topic:
|
|
188
|
+
topic: 'config:oracle';
|
|
191
189
|
data: StellarUpdateAssetOracleEvent;
|
|
192
190
|
} | {
|
|
193
|
-
topic:
|
|
191
|
+
topic: 'config:emode_category';
|
|
194
192
|
data: StellarUpdateEModeCategoryEvent;
|
|
195
193
|
} | {
|
|
196
|
-
topic:
|
|
194
|
+
topic: 'config:emode_asset';
|
|
197
195
|
data: StellarUpdateEModeAssetEvent;
|
|
198
196
|
} | {
|
|
199
|
-
topic:
|
|
197
|
+
topic: 'config:remove_emode_asset';
|
|
200
198
|
data: StellarRemoveEModeAssetEvent;
|
|
201
199
|
} | {
|
|
202
|
-
topic:
|
|
200
|
+
topic: 'debt:ceiling_update';
|
|
203
201
|
data: StellarUpdateDebtCeilingEvent;
|
|
204
202
|
} | {
|
|
205
|
-
topic:
|
|
203
|
+
topic: 'debt:ceiling_batch_update';
|
|
206
204
|
data: StellarUpdateDebtCeilingBatchEvent;
|
|
207
205
|
} | {
|
|
208
|
-
topic:
|
|
206
|
+
topic: 'debt:bad_debt';
|
|
209
207
|
data: StellarCleanBadDebtEvent;
|
|
210
208
|
} | {
|
|
211
|
-
topic:
|
|
209
|
+
topic: 'strategy:initial_payment';
|
|
212
210
|
data: StellarInitialMultiplyPaymentEvent;
|
|
213
211
|
} | {
|
|
214
|
-
topic:
|
|
212
|
+
topic: 'config:approve_token';
|
|
215
213
|
data: StellarApproveTokenEvent;
|
|
216
214
|
} | {
|
|
217
|
-
topic:
|
|
215
|
+
topic: 'config:aggregator';
|
|
218
216
|
data: StellarUpdateAggregatorEvent;
|
|
219
217
|
} | {
|
|
220
|
-
topic:
|
|
218
|
+
topic: 'config:accumulator';
|
|
221
219
|
data: StellarUpdateAccumulatorEvent;
|
|
222
220
|
} | {
|
|
223
|
-
topic:
|
|
221
|
+
topic: 'config:pool_template';
|
|
224
222
|
data: StellarUpdatePoolTemplateEvent;
|
|
225
223
|
} | {
|
|
226
|
-
topic:
|
|
224
|
+
topic: 'config:position_limits';
|
|
227
225
|
data: StellarUpdatePositionLimitsEvent;
|
|
228
226
|
} | {
|
|
229
|
-
topic:
|
|
227
|
+
topic: 'config:oracle_disabled';
|
|
230
228
|
data: StellarOracleDisabledEvent;
|
|
231
229
|
} | {
|
|
232
|
-
topic:
|
|
230
|
+
topic: 'oracle:twap_degraded';
|
|
233
231
|
data: StellarOracleTwapDegradedEvent;
|
|
234
232
|
};
|