@0xtorch/core 0.0.17 → 0.0.19
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/_cjs/actions/index.js +3 -6
- package/_cjs/actions/index.js.map +1 -1
- package/_cjs/actions/parsers/action.js +0 -8
- package/_cjs/actions/parsers/action.js.map +1 -1
- package/_cjs/actions/parsers/borrow/index.js +1 -3
- package/_cjs/actions/parsers/borrow/index.js.map +1 -1
- package/_cjs/actions/parsers/index.js +1 -2
- package/_cjs/actions/parsers/index.js.map +1 -1
- package/_cjs/actions/schemas/action.js +0 -3
- package/_cjs/actions/schemas/action.js.map +1 -1
- package/_cjs/actions/schemas/borrow/index.js +1 -4
- package/_cjs/actions/schemas/borrow/index.js.map +1 -1
- package/_cjs/actions/schemas/default/unions.js +0 -2
- package/_cjs/actions/schemas/default/unions.js.map +1 -1
- package/_cjs/actions/schemas/index.js +3 -5
- package/_cjs/actions/schemas/index.js.map +1 -1
- package/_cjs/actions/utils.js +0 -38
- package/_cjs/actions/utils.js.map +1 -1
- package/_cjs/index.js +5 -5
- package/_cjs/index.js.map +1 -1
- package/_cjs/setAccountActionPrices.js +73 -0
- package/_cjs/setAccountActionPrices.js.map +1 -0
- package/_esm/actions/index.js +2 -2
- package/_esm/actions/index.js.map +1 -1
- package/_esm/actions/parsers/action.js +1 -9
- package/_esm/actions/parsers/action.js.map +1 -1
- package/_esm/actions/parsers/borrow/index.js +0 -1
- package/_esm/actions/parsers/borrow/index.js.map +1 -1
- package/_esm/actions/parsers/index.js +1 -1
- package/_esm/actions/parsers/index.js.map +1 -1
- package/_esm/actions/schemas/action.js +1 -4
- package/_esm/actions/schemas/action.js.map +1 -1
- package/_esm/actions/schemas/borrow/index.js +0 -1
- package/_esm/actions/schemas/borrow/index.js.map +1 -1
- package/_esm/actions/schemas/default/unions.js +0 -2
- package/_esm/actions/schemas/default/unions.js.map +1 -1
- package/_esm/actions/schemas/index.js +1 -1
- package/_esm/actions/schemas/index.js.map +1 -1
- package/_esm/actions/utils.js +0 -42
- package/_esm/actions/utils.js.map +1 -1
- package/_esm/index.js +2 -1
- package/_esm/index.js.map +1 -1
- package/_esm/setAccountActionPrices.js +72 -0
- package/_esm/setAccountActionPrices.js.map +1 -0
- package/_types/actions/index.d.ts +3 -3
- package/_types/actions/index.d.ts.map +1 -1
- package/_types/actions/parsers/action.d.ts.map +1 -1
- package/_types/actions/parsers/borrow/index.d.ts +0 -1
- package/_types/actions/parsers/borrow/index.d.ts.map +1 -1
- package/_types/actions/parsers/index.d.ts +1 -1
- package/_types/actions/parsers/index.d.ts.map +1 -1
- package/_types/actions/schemas/action.d.ts +8818 -11544
- package/_types/actions/schemas/action.d.ts.map +1 -1
- package/_types/actions/schemas/borrow/index.d.ts +0 -1
- package/_types/actions/schemas/borrow/index.d.ts.map +1 -1
- package/_types/actions/schemas/default/accountAction.d.ts +9 -9
- package/_types/actions/schemas/default/normalAction.d.ts +9 -9
- package/_types/actions/schemas/default/unions.d.ts +2 -2
- package/_types/actions/schemas/default/unions.d.ts.map +1 -1
- package/_types/actions/schemas/index.d.ts +1 -1
- package/_types/actions/schemas/index.d.ts.map +1 -1
- package/_types/actions/types/index.d.ts +0 -1
- package/_types/actions/types/index.d.ts.map +1 -1
- package/_types/actions/utils.d.ts.map +1 -1
- package/_types/index.d.ts +3 -2
- package/_types/index.d.ts.map +1 -1
- package/_types/{actions/schemas/borrow/borrowWithDebt.d.ts → setAccountActionPrices.d.ts} +2271 -1370
- package/_types/{actions/schemas/borrow/borrowWithDebt.d.ts.map → setAccountActionPrices.d.ts.map} +1 -1
- package/actions/index.ts +0 -5
- package/actions/parsers/action.ts +1 -12
- package/actions/parsers/borrow/index.ts +0 -1
- package/actions/parsers/index.ts +1 -4
- package/actions/schemas/action.ts +1 -9
- package/actions/schemas/borrow/index.ts +0 -4
- package/actions/schemas/default/unions.ts +0 -2
- package/actions/schemas/index.ts +1 -6
- package/actions/types/index.ts +0 -4
- package/actions/utils.ts +0 -62
- package/index.ts +1 -4
- package/package.json +1 -1
- package/setAccountActionPrices.ts +123 -0
- package/_cjs/actions/parsers/borrow/borrowWithDebt.js +0 -23
- package/_cjs/actions/parsers/borrow/borrowWithDebt.js.map +0 -1
- package/_cjs/actions/schemas/borrow/borrowWithDebt.js +0 -36
- package/_cjs/actions/schemas/borrow/borrowWithDebt.js.map +0 -1
- package/_cjs/actions/types/borrowWithDebt.js +0 -3
- package/_cjs/actions/types/borrowWithDebt.js.map +0 -1
- package/_esm/actions/parsers/borrow/borrowWithDebt.js +0 -19
- package/_esm/actions/parsers/borrow/borrowWithDebt.js.map +0 -1
- package/_esm/actions/schemas/borrow/borrowWithDebt.js +0 -33
- package/_esm/actions/schemas/borrow/borrowWithDebt.js.map +0 -1
- package/_esm/actions/types/borrowWithDebt.js +0 -2
- package/_esm/actions/types/borrowWithDebt.js.map +0 -1
- package/_types/actions/parsers/borrow/borrowWithDebt.d.ts +0 -4
- package/_types/actions/parsers/borrow/borrowWithDebt.d.ts.map +0 -1
- package/_types/actions/types/borrowWithDebt.d.ts +0 -5
- package/_types/actions/types/borrowWithDebt.d.ts.map +0 -1
- package/actions/parsers/borrow/borrowWithDebt.ts +0 -47
- package/actions/schemas/borrow/borrowWithDebt.ts +0 -45
- package/actions/types/borrowWithDebt.ts +0 -13
|
@@ -1,71 +1,30 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
description: z.ZodOptional<z.ZodString>;
|
|
12
|
-
website: z.ZodOptional<z.ZodString>;
|
|
13
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
14
|
-
}, "strip", z.ZodTypeAny, {
|
|
15
|
-
id: string;
|
|
16
|
-
name: string;
|
|
17
|
-
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
18
|
-
description?: string | undefined;
|
|
19
|
-
website?: string | undefined;
|
|
20
|
-
icon?: string | undefined;
|
|
21
|
-
}, {
|
|
22
|
-
id: string;
|
|
23
|
-
name: string;
|
|
24
|
-
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
25
|
-
description?: string | undefined;
|
|
26
|
-
website?: string | undefined;
|
|
27
|
-
icon?: string | undefined;
|
|
28
|
-
}>, {
|
|
1
|
+
import type { AccountAction } from './actions';
|
|
2
|
+
import type { CryptoCurrencyDataSource, FiatCurrency } from './assets';
|
|
3
|
+
type SetAccountActionPricesParameters = {
|
|
4
|
+
readonly actions: readonly AccountAction[];
|
|
5
|
+
readonly fiat: FiatCurrency;
|
|
6
|
+
readonly cryptoCurrencyDataSource: CryptoCurrencyDataSource;
|
|
7
|
+
};
|
|
8
|
+
export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDataSource, }: SetAccountActionPricesParameters) => Promise<({
|
|
9
|
+
comment: string | undefined;
|
|
10
|
+
app: {
|
|
29
11
|
description: string | undefined;
|
|
30
12
|
website: string | undefined;
|
|
31
13
|
icon: string | undefined;
|
|
32
14
|
id: string;
|
|
33
15
|
name: string;
|
|
34
16
|
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
price: z.ZodOptional<z.ZodObject<{
|
|
47
|
-
cryptoCurrencyId: z.ZodString;
|
|
48
|
-
fiatCurrencyId: z.ZodString;
|
|
49
|
-
price: z.ZodObject<{
|
|
50
|
-
value: z.ZodBigInt;
|
|
51
|
-
decimals: z.ZodNumber;
|
|
52
|
-
}, "strip", z.ZodTypeAny, {
|
|
53
|
-
value: bigint;
|
|
54
|
-
decimals: number;
|
|
55
|
-
}, {
|
|
56
|
-
value: bigint;
|
|
57
|
-
decimals: number;
|
|
58
|
-
}>;
|
|
59
|
-
timestamp: z.ZodNumber;
|
|
60
|
-
}, "strip", z.ZodTypeAny, {
|
|
61
|
-
cryptoCurrencyId: string;
|
|
62
|
-
fiatCurrencyId: string;
|
|
63
|
-
price: {
|
|
64
|
-
value: bigint;
|
|
65
|
-
decimals: number;
|
|
66
|
-
};
|
|
67
|
-
timestamp: number;
|
|
68
|
-
}, {
|
|
17
|
+
} | undefined;
|
|
18
|
+
type: "LoanAccountAction";
|
|
19
|
+
timestamp: number;
|
|
20
|
+
order: number;
|
|
21
|
+
action: "borrow";
|
|
22
|
+
source: string;
|
|
23
|
+
evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
|
|
24
|
+
transfers: ({
|
|
25
|
+
from: string | undefined;
|
|
26
|
+
to: string | undefined;
|
|
27
|
+
price: {
|
|
69
28
|
cryptoCurrencyId: string;
|
|
70
29
|
fiatCurrencyId: string;
|
|
71
30
|
price: {
|
|
@@ -73,93 +32,8 @@ export declare const normalActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject<
|
|
|
73
32
|
decimals: number;
|
|
74
33
|
};
|
|
75
34
|
timestamp: number;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
to: z.ZodOptional<z.ZodString>;
|
|
79
|
-
amount: z.ZodObject<{
|
|
80
|
-
value: z.ZodBigInt;
|
|
81
|
-
decimals: z.ZodNumber;
|
|
82
|
-
}, "strip", z.ZodTypeAny, {
|
|
83
|
-
value: bigint;
|
|
84
|
-
decimals: number;
|
|
85
|
-
}, {
|
|
86
|
-
value: bigint;
|
|
87
|
-
decimals: number;
|
|
88
|
-
}>;
|
|
89
|
-
direction: z.ZodLiteral<"in">;
|
|
90
|
-
asset: z.ZodEffects<z.ZodObject<{
|
|
91
|
-
type: z.ZodLiteral<"CryptoCurrency">;
|
|
92
|
-
id: z.ZodString;
|
|
93
|
-
name: z.ZodString;
|
|
94
|
-
symbol: z.ZodString;
|
|
95
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
96
|
-
market: z.ZodEffects<z.ZodObject<{
|
|
97
|
-
coingeckoId: z.ZodOptional<z.ZodString>;
|
|
98
|
-
marketCapUsd: z.ZodOptional<z.ZodObject<{
|
|
99
|
-
value: z.ZodBigInt;
|
|
100
|
-
decimals: z.ZodNumber;
|
|
101
|
-
}, "strip", z.ZodTypeAny, {
|
|
102
|
-
value: bigint;
|
|
103
|
-
decimals: number;
|
|
104
|
-
}, {
|
|
105
|
-
value: bigint;
|
|
106
|
-
decimals: number;
|
|
107
|
-
}>>;
|
|
108
|
-
}, "strip", z.ZodTypeAny, {
|
|
109
|
-
coingeckoId?: string | undefined;
|
|
110
|
-
marketCapUsd?: {
|
|
111
|
-
value: bigint;
|
|
112
|
-
decimals: number;
|
|
113
|
-
} | undefined;
|
|
114
|
-
}, {
|
|
115
|
-
coingeckoId?: string | undefined;
|
|
116
|
-
marketCapUsd?: {
|
|
117
|
-
value: bigint;
|
|
118
|
-
decimals: number;
|
|
119
|
-
} | undefined;
|
|
120
|
-
}>, {
|
|
121
|
-
coingeckoId: string | undefined;
|
|
122
|
-
marketCapUsd: {
|
|
123
|
-
value: bigint;
|
|
124
|
-
decimals: number;
|
|
125
|
-
} | undefined;
|
|
126
|
-
}, {
|
|
127
|
-
coingeckoId?: string | undefined;
|
|
128
|
-
marketCapUsd?: {
|
|
129
|
-
value: bigint;
|
|
130
|
-
decimals: number;
|
|
131
|
-
} | undefined;
|
|
132
|
-
}>;
|
|
133
|
-
updatedAt: z.ZodNumber;
|
|
134
|
-
}, "strip", z.ZodTypeAny, {
|
|
135
|
-
symbol: string;
|
|
136
|
-
type: "CryptoCurrency";
|
|
137
|
-
id: string;
|
|
138
|
-
name: string;
|
|
139
|
-
market: {
|
|
140
|
-
coingeckoId: string | undefined;
|
|
141
|
-
marketCapUsd: {
|
|
142
|
-
value: bigint;
|
|
143
|
-
decimals: number;
|
|
144
|
-
} | undefined;
|
|
145
|
-
};
|
|
146
|
-
updatedAt: number;
|
|
147
|
-
icon?: string | undefined;
|
|
148
|
-
}, {
|
|
149
|
-
symbol: string;
|
|
150
|
-
type: "CryptoCurrency";
|
|
151
|
-
id: string;
|
|
152
|
-
name: string;
|
|
153
|
-
market: {
|
|
154
|
-
coingeckoId?: string | undefined;
|
|
155
|
-
marketCapUsd?: {
|
|
156
|
-
value: bigint;
|
|
157
|
-
decimals: number;
|
|
158
|
-
} | undefined;
|
|
159
|
-
};
|
|
160
|
-
updatedAt: number;
|
|
161
|
-
icon?: string | undefined;
|
|
162
|
-
}>, {
|
|
35
|
+
} | undefined;
|
|
36
|
+
asset: {
|
|
163
37
|
icon: string | undefined;
|
|
164
38
|
symbol: string;
|
|
165
39
|
type: "CryptoCurrency";
|
|
@@ -173,43 +47,55 @@ export declare const normalActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject<
|
|
|
173
47
|
} | undefined;
|
|
174
48
|
};
|
|
175
49
|
updatedAt: number;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
50
|
+
};
|
|
51
|
+
amount: {
|
|
52
|
+
value: bigint;
|
|
53
|
+
decimals: number;
|
|
54
|
+
};
|
|
55
|
+
direction: "in";
|
|
56
|
+
} | {
|
|
57
|
+
from: string | undefined;
|
|
58
|
+
to: string | undefined;
|
|
59
|
+
price: {
|
|
60
|
+
cryptoCurrencyId: string;
|
|
61
|
+
fiatCurrencyId: string;
|
|
62
|
+
price: {
|
|
63
|
+
value: bigint;
|
|
64
|
+
decimals: number;
|
|
187
65
|
};
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
}>;
|
|
191
|
-
}, "strip", z.ZodTypeAny, {
|
|
66
|
+
timestamp: number;
|
|
67
|
+
} | undefined;
|
|
192
68
|
asset: {
|
|
193
|
-
|
|
194
|
-
symbol: string;
|
|
195
|
-
type: "CryptoCurrency";
|
|
69
|
+
type: "Nft";
|
|
196
70
|
id: string;
|
|
197
|
-
name: string;
|
|
198
|
-
market: {
|
|
199
|
-
coingeckoId: string | undefined;
|
|
200
|
-
marketCapUsd: {
|
|
201
|
-
value: bigint;
|
|
202
|
-
decimals: number;
|
|
203
|
-
} | undefined;
|
|
204
|
-
};
|
|
205
|
-
updatedAt: number;
|
|
206
71
|
};
|
|
207
72
|
amount: {
|
|
208
73
|
value: bigint;
|
|
209
74
|
decimals: number;
|
|
210
75
|
};
|
|
211
76
|
direction: "in";
|
|
212
|
-
|
|
77
|
+
})[];
|
|
78
|
+
loanId: string;
|
|
79
|
+
} | {
|
|
80
|
+
comment: string | undefined;
|
|
81
|
+
app: {
|
|
82
|
+
description: string | undefined;
|
|
83
|
+
website: string | undefined;
|
|
84
|
+
icon: string | undefined;
|
|
85
|
+
id: string;
|
|
86
|
+
name: string;
|
|
87
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
88
|
+
} | undefined;
|
|
89
|
+
type: "CrossAccountAction";
|
|
90
|
+
timestamp: number;
|
|
91
|
+
order: number;
|
|
92
|
+
action: "bridge-from";
|
|
93
|
+
source: string;
|
|
94
|
+
evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
|
|
95
|
+
transfers: ({
|
|
96
|
+
from: string | undefined;
|
|
97
|
+
to: string | undefined;
|
|
98
|
+
price: {
|
|
213
99
|
cryptoCurrencyId: string;
|
|
214
100
|
fiatCurrencyId: string;
|
|
215
101
|
price: {
|
|
@@ -218,30 +104,30 @@ export declare const normalActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject<
|
|
|
218
104
|
};
|
|
219
105
|
timestamp: number;
|
|
220
106
|
} | undefined;
|
|
221
|
-
from?: string | undefined;
|
|
222
|
-
to?: string | undefined;
|
|
223
|
-
}, {
|
|
224
107
|
asset: {
|
|
108
|
+
icon: string | undefined;
|
|
225
109
|
symbol: string;
|
|
226
110
|
type: "CryptoCurrency";
|
|
227
111
|
id: string;
|
|
228
112
|
name: string;
|
|
229
113
|
market: {
|
|
230
|
-
coingeckoId
|
|
231
|
-
marketCapUsd
|
|
114
|
+
coingeckoId: string | undefined;
|
|
115
|
+
marketCapUsd: {
|
|
232
116
|
value: bigint;
|
|
233
117
|
decimals: number;
|
|
234
118
|
} | undefined;
|
|
235
119
|
};
|
|
236
120
|
updatedAt: number;
|
|
237
|
-
icon?: string | undefined;
|
|
238
121
|
};
|
|
239
122
|
amount: {
|
|
240
123
|
value: bigint;
|
|
241
124
|
decimals: number;
|
|
242
125
|
};
|
|
243
|
-
direction: "
|
|
244
|
-
|
|
126
|
+
direction: "out";
|
|
127
|
+
} | {
|
|
128
|
+
from: string | undefined;
|
|
129
|
+
to: string | undefined;
|
|
130
|
+
price: {
|
|
245
131
|
cryptoCurrencyId: string;
|
|
246
132
|
fiatCurrencyId: string;
|
|
247
133
|
price: {
|
|
@@ -250,9 +136,35 @@ export declare const normalActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject<
|
|
|
250
136
|
};
|
|
251
137
|
timestamp: number;
|
|
252
138
|
} | undefined;
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
139
|
+
asset: {
|
|
140
|
+
type: "Nft";
|
|
141
|
+
id: string;
|
|
142
|
+
};
|
|
143
|
+
amount: {
|
|
144
|
+
value: bigint;
|
|
145
|
+
decimals: number;
|
|
146
|
+
};
|
|
147
|
+
direction: "out";
|
|
148
|
+
})[];
|
|
149
|
+
crossId: string;
|
|
150
|
+
crossType: "start" | "middle" | "end";
|
|
151
|
+
} | {
|
|
152
|
+
comment: string | undefined;
|
|
153
|
+
app: {
|
|
154
|
+
description: string | undefined;
|
|
155
|
+
website: string | undefined;
|
|
156
|
+
icon: string | undefined;
|
|
157
|
+
id: string;
|
|
158
|
+
name: string;
|
|
159
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
160
|
+
} | undefined;
|
|
161
|
+
type: "CrossAccountAction";
|
|
162
|
+
timestamp: number;
|
|
163
|
+
order: number;
|
|
164
|
+
action: "bridge-to";
|
|
165
|
+
source: string;
|
|
166
|
+
evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
|
|
167
|
+
transfers: ({
|
|
256
168
|
from: string | undefined;
|
|
257
169
|
to: string | undefined;
|
|
258
170
|
price: {
|
|
@@ -284,28 +196,10 @@ export declare const normalActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject<
|
|
|
284
196
|
decimals: number;
|
|
285
197
|
};
|
|
286
198
|
direction: "in";
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
id: string;
|
|
292
|
-
name: string;
|
|
293
|
-
market: {
|
|
294
|
-
coingeckoId?: string | undefined;
|
|
295
|
-
marketCapUsd?: {
|
|
296
|
-
value: bigint;
|
|
297
|
-
decimals: number;
|
|
298
|
-
} | undefined;
|
|
299
|
-
};
|
|
300
|
-
updatedAt: number;
|
|
301
|
-
icon?: string | undefined;
|
|
302
|
-
};
|
|
303
|
-
amount: {
|
|
304
|
-
value: bigint;
|
|
305
|
-
decimals: number;
|
|
306
|
-
};
|
|
307
|
-
direction: "in";
|
|
308
|
-
price?: {
|
|
199
|
+
} | {
|
|
200
|
+
from: string | undefined;
|
|
201
|
+
to: string | undefined;
|
|
202
|
+
price: {
|
|
309
203
|
cryptoCurrencyId: string;
|
|
310
204
|
fiatCurrencyId: string;
|
|
311
205
|
price: {
|
|
@@ -314,64 +208,6 @@ export declare const normalActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject<
|
|
|
314
208
|
};
|
|
315
209
|
timestamp: number;
|
|
316
210
|
} | undefined;
|
|
317
|
-
from?: string | undefined;
|
|
318
|
-
to?: string | undefined;
|
|
319
|
-
}>, z.ZodEffects<z.ZodObject<{
|
|
320
|
-
price: z.ZodOptional<z.ZodObject<{
|
|
321
|
-
cryptoCurrencyId: z.ZodString;
|
|
322
|
-
fiatCurrencyId: z.ZodString;
|
|
323
|
-
price: z.ZodObject<{
|
|
324
|
-
value: z.ZodBigInt;
|
|
325
|
-
decimals: z.ZodNumber;
|
|
326
|
-
}, "strip", z.ZodTypeAny, {
|
|
327
|
-
value: bigint;
|
|
328
|
-
decimals: number;
|
|
329
|
-
}, {
|
|
330
|
-
value: bigint;
|
|
331
|
-
decimals: number;
|
|
332
|
-
}>;
|
|
333
|
-
timestamp: z.ZodNumber;
|
|
334
|
-
}, "strip", z.ZodTypeAny, {
|
|
335
|
-
cryptoCurrencyId: string;
|
|
336
|
-
fiatCurrencyId: string;
|
|
337
|
-
price: {
|
|
338
|
-
value: bigint;
|
|
339
|
-
decimals: number;
|
|
340
|
-
};
|
|
341
|
-
timestamp: number;
|
|
342
|
-
}, {
|
|
343
|
-
cryptoCurrencyId: string;
|
|
344
|
-
fiatCurrencyId: string;
|
|
345
|
-
price: {
|
|
346
|
-
value: bigint;
|
|
347
|
-
decimals: number;
|
|
348
|
-
};
|
|
349
|
-
timestamp: number;
|
|
350
|
-
}>>;
|
|
351
|
-
from: z.ZodOptional<z.ZodString>;
|
|
352
|
-
to: z.ZodOptional<z.ZodString>;
|
|
353
|
-
amount: z.ZodObject<{
|
|
354
|
-
value: z.ZodBigInt;
|
|
355
|
-
decimals: z.ZodNumber;
|
|
356
|
-
}, "strip", z.ZodTypeAny, {
|
|
357
|
-
value: bigint;
|
|
358
|
-
decimals: number;
|
|
359
|
-
}, {
|
|
360
|
-
value: bigint;
|
|
361
|
-
decimals: number;
|
|
362
|
-
}>;
|
|
363
|
-
direction: z.ZodLiteral<"in">;
|
|
364
|
-
asset: z.ZodObject<{
|
|
365
|
-
type: z.ZodLiteral<"Nft">;
|
|
366
|
-
id: z.ZodString;
|
|
367
|
-
}, "strip", z.ZodTypeAny, {
|
|
368
|
-
type: "Nft";
|
|
369
|
-
id: string;
|
|
370
|
-
}, {
|
|
371
|
-
type: "Nft";
|
|
372
|
-
id: string;
|
|
373
|
-
}>;
|
|
374
|
-
}, "strip", z.ZodTypeAny, {
|
|
375
211
|
asset: {
|
|
376
212
|
type: "Nft";
|
|
377
213
|
id: string;
|
|
@@ -381,7 +217,29 @@ export declare const normalActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject<
|
|
|
381
217
|
decimals: number;
|
|
382
218
|
};
|
|
383
219
|
direction: "in";
|
|
384
|
-
|
|
220
|
+
})[];
|
|
221
|
+
crossId: string;
|
|
222
|
+
crossType: "start" | "middle" | "end";
|
|
223
|
+
} | {
|
|
224
|
+
comment: string | undefined;
|
|
225
|
+
app: {
|
|
226
|
+
description: string | undefined;
|
|
227
|
+
website: string | undefined;
|
|
228
|
+
icon: string | undefined;
|
|
229
|
+
id: string;
|
|
230
|
+
name: string;
|
|
231
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
232
|
+
} | undefined;
|
|
233
|
+
type: "CrossAccountAction";
|
|
234
|
+
timestamp: number;
|
|
235
|
+
order: number;
|
|
236
|
+
action: "cross-replace";
|
|
237
|
+
source: string;
|
|
238
|
+
evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
|
|
239
|
+
transfers: ({
|
|
240
|
+
from: string | undefined;
|
|
241
|
+
to: string | undefined;
|
|
242
|
+
price: {
|
|
385
243
|
cryptoCurrencyId: string;
|
|
386
244
|
fiatCurrencyId: string;
|
|
387
245
|
price: {
|
|
@@ -390,10 +248,27 @@ export declare const normalActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject<
|
|
|
390
248
|
};
|
|
391
249
|
timestamp: number;
|
|
392
250
|
} | undefined;
|
|
393
|
-
from?: string | undefined;
|
|
394
|
-
to?: string | undefined;
|
|
395
|
-
}, {
|
|
396
251
|
asset: {
|
|
252
|
+
icon: string | undefined;
|
|
253
|
+
symbol: string;
|
|
254
|
+
type: "CryptoCurrency";
|
|
255
|
+
id: string;
|
|
256
|
+
name: string;
|
|
257
|
+
market: {
|
|
258
|
+
coingeckoId: string | undefined;
|
|
259
|
+
marketCapUsd: {
|
|
260
|
+
value: bigint;
|
|
261
|
+
decimals: number;
|
|
262
|
+
} | undefined;
|
|
263
|
+
};
|
|
264
|
+
updatedAt: number;
|
|
265
|
+
} | {
|
|
266
|
+
icon: string | undefined;
|
|
267
|
+
symbol: string;
|
|
268
|
+
type: "FiatCurrency";
|
|
269
|
+
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
270
|
+
name: string;
|
|
271
|
+
} | {
|
|
397
272
|
type: "Nft";
|
|
398
273
|
id: string;
|
|
399
274
|
};
|
|
@@ -402,7 +277,10 @@ export declare const normalActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject<
|
|
|
402
277
|
decimals: number;
|
|
403
278
|
};
|
|
404
279
|
direction: "in";
|
|
405
|
-
|
|
280
|
+
} | {
|
|
281
|
+
from: string | undefined;
|
|
282
|
+
to: string | undefined;
|
|
283
|
+
price: {
|
|
406
284
|
cryptoCurrencyId: string;
|
|
407
285
|
fiatCurrencyId: string;
|
|
408
286
|
price: {
|
|
@@ -411,168 +289,7 @@ export declare const normalActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject<
|
|
|
411
289
|
};
|
|
412
290
|
timestamp: number;
|
|
413
291
|
} | undefined;
|
|
414
|
-
from?: string | undefined;
|
|
415
|
-
to?: string | undefined;
|
|
416
|
-
}>, {
|
|
417
|
-
from: string | undefined;
|
|
418
|
-
to: string | undefined;
|
|
419
|
-
price: {
|
|
420
|
-
cryptoCurrencyId: string;
|
|
421
|
-
fiatCurrencyId: string;
|
|
422
|
-
price: {
|
|
423
|
-
value: bigint;
|
|
424
|
-
decimals: number;
|
|
425
|
-
};
|
|
426
|
-
timestamp: number;
|
|
427
|
-
} | undefined;
|
|
428
|
-
asset: {
|
|
429
|
-
type: "Nft";
|
|
430
|
-
id: string;
|
|
431
|
-
};
|
|
432
|
-
amount: {
|
|
433
|
-
value: bigint;
|
|
434
|
-
decimals: number;
|
|
435
|
-
};
|
|
436
|
-
direction: "in";
|
|
437
|
-
}, {
|
|
438
292
|
asset: {
|
|
439
|
-
type: "Nft";
|
|
440
|
-
id: string;
|
|
441
|
-
};
|
|
442
|
-
amount: {
|
|
443
|
-
value: bigint;
|
|
444
|
-
decimals: number;
|
|
445
|
-
};
|
|
446
|
-
direction: "in";
|
|
447
|
-
price?: {
|
|
448
|
-
cryptoCurrencyId: string;
|
|
449
|
-
fiatCurrencyId: string;
|
|
450
|
-
price: {
|
|
451
|
-
value: bigint;
|
|
452
|
-
decimals: number;
|
|
453
|
-
};
|
|
454
|
-
timestamp: number;
|
|
455
|
-
} | undefined;
|
|
456
|
-
from?: string | undefined;
|
|
457
|
-
to?: string | undefined;
|
|
458
|
-
}>, z.ZodEffects<z.ZodObject<{
|
|
459
|
-
price: z.ZodOptional<z.ZodObject<{
|
|
460
|
-
cryptoCurrencyId: z.ZodString;
|
|
461
|
-
fiatCurrencyId: z.ZodString;
|
|
462
|
-
price: z.ZodObject<{
|
|
463
|
-
value: z.ZodBigInt;
|
|
464
|
-
decimals: z.ZodNumber;
|
|
465
|
-
}, "strip", z.ZodTypeAny, {
|
|
466
|
-
value: bigint;
|
|
467
|
-
decimals: number;
|
|
468
|
-
}, {
|
|
469
|
-
value: bigint;
|
|
470
|
-
decimals: number;
|
|
471
|
-
}>;
|
|
472
|
-
timestamp: z.ZodNumber;
|
|
473
|
-
}, "strip", z.ZodTypeAny, {
|
|
474
|
-
cryptoCurrencyId: string;
|
|
475
|
-
fiatCurrencyId: string;
|
|
476
|
-
price: {
|
|
477
|
-
value: bigint;
|
|
478
|
-
decimals: number;
|
|
479
|
-
};
|
|
480
|
-
timestamp: number;
|
|
481
|
-
}, {
|
|
482
|
-
cryptoCurrencyId: string;
|
|
483
|
-
fiatCurrencyId: string;
|
|
484
|
-
price: {
|
|
485
|
-
value: bigint;
|
|
486
|
-
decimals: number;
|
|
487
|
-
};
|
|
488
|
-
timestamp: number;
|
|
489
|
-
}>>;
|
|
490
|
-
from: z.ZodOptional<z.ZodString>;
|
|
491
|
-
to: z.ZodOptional<z.ZodString>;
|
|
492
|
-
amount: z.ZodObject<{
|
|
493
|
-
value: z.ZodBigInt;
|
|
494
|
-
decimals: z.ZodNumber;
|
|
495
|
-
}, "strip", z.ZodTypeAny, {
|
|
496
|
-
value: bigint;
|
|
497
|
-
decimals: number;
|
|
498
|
-
}, {
|
|
499
|
-
value: bigint;
|
|
500
|
-
decimals: number;
|
|
501
|
-
}>;
|
|
502
|
-
direction: z.ZodLiteral<"out">;
|
|
503
|
-
asset: z.ZodEffects<z.ZodObject<{
|
|
504
|
-
type: z.ZodLiteral<"CryptoCurrency">;
|
|
505
|
-
id: z.ZodString;
|
|
506
|
-
name: z.ZodString;
|
|
507
|
-
symbol: z.ZodString;
|
|
508
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
509
|
-
market: z.ZodEffects<z.ZodObject<{
|
|
510
|
-
coingeckoId: z.ZodOptional<z.ZodString>;
|
|
511
|
-
marketCapUsd: z.ZodOptional<z.ZodObject<{
|
|
512
|
-
value: z.ZodBigInt;
|
|
513
|
-
decimals: z.ZodNumber;
|
|
514
|
-
}, "strip", z.ZodTypeAny, {
|
|
515
|
-
value: bigint;
|
|
516
|
-
decimals: number;
|
|
517
|
-
}, {
|
|
518
|
-
value: bigint;
|
|
519
|
-
decimals: number;
|
|
520
|
-
}>>;
|
|
521
|
-
}, "strip", z.ZodTypeAny, {
|
|
522
|
-
coingeckoId?: string | undefined;
|
|
523
|
-
marketCapUsd?: {
|
|
524
|
-
value: bigint;
|
|
525
|
-
decimals: number;
|
|
526
|
-
} | undefined;
|
|
527
|
-
}, {
|
|
528
|
-
coingeckoId?: string | undefined;
|
|
529
|
-
marketCapUsd?: {
|
|
530
|
-
value: bigint;
|
|
531
|
-
decimals: number;
|
|
532
|
-
} | undefined;
|
|
533
|
-
}>, {
|
|
534
|
-
coingeckoId: string | undefined;
|
|
535
|
-
marketCapUsd: {
|
|
536
|
-
value: bigint;
|
|
537
|
-
decimals: number;
|
|
538
|
-
} | undefined;
|
|
539
|
-
}, {
|
|
540
|
-
coingeckoId?: string | undefined;
|
|
541
|
-
marketCapUsd?: {
|
|
542
|
-
value: bigint;
|
|
543
|
-
decimals: number;
|
|
544
|
-
} | undefined;
|
|
545
|
-
}>;
|
|
546
|
-
updatedAt: z.ZodNumber;
|
|
547
|
-
}, "strip", z.ZodTypeAny, {
|
|
548
|
-
symbol: string;
|
|
549
|
-
type: "CryptoCurrency";
|
|
550
|
-
id: string;
|
|
551
|
-
name: string;
|
|
552
|
-
market: {
|
|
553
|
-
coingeckoId: string | undefined;
|
|
554
|
-
marketCapUsd: {
|
|
555
|
-
value: bigint;
|
|
556
|
-
decimals: number;
|
|
557
|
-
} | undefined;
|
|
558
|
-
};
|
|
559
|
-
updatedAt: number;
|
|
560
|
-
icon?: string | undefined;
|
|
561
|
-
}, {
|
|
562
|
-
symbol: string;
|
|
563
|
-
type: "CryptoCurrency";
|
|
564
|
-
id: string;
|
|
565
|
-
name: string;
|
|
566
|
-
market: {
|
|
567
|
-
coingeckoId?: string | undefined;
|
|
568
|
-
marketCapUsd?: {
|
|
569
|
-
value: bigint;
|
|
570
|
-
decimals: number;
|
|
571
|
-
} | undefined;
|
|
572
|
-
};
|
|
573
|
-
updatedAt: number;
|
|
574
|
-
icon?: string | undefined;
|
|
575
|
-
}>, {
|
|
576
293
|
icon: string | undefined;
|
|
577
294
|
symbol: string;
|
|
578
295
|
type: "CryptoCurrency";
|
|
@@ -586,43 +303,44 @@ export declare const normalActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject<
|
|
|
586
303
|
} | undefined;
|
|
587
304
|
};
|
|
588
305
|
updatedAt: number;
|
|
589
|
-
}
|
|
590
|
-
symbol: string;
|
|
591
|
-
type: "CryptoCurrency";
|
|
592
|
-
id: string;
|
|
593
|
-
name: string;
|
|
594
|
-
market: {
|
|
595
|
-
coingeckoId?: string | undefined;
|
|
596
|
-
marketCapUsd?: {
|
|
597
|
-
value: bigint;
|
|
598
|
-
decimals: number;
|
|
599
|
-
} | undefined;
|
|
600
|
-
};
|
|
601
|
-
updatedAt: number;
|
|
602
|
-
icon?: string | undefined;
|
|
603
|
-
}>;
|
|
604
|
-
}, "strip", z.ZodTypeAny, {
|
|
605
|
-
asset: {
|
|
306
|
+
} | {
|
|
606
307
|
icon: string | undefined;
|
|
607
308
|
symbol: string;
|
|
608
|
-
type: "
|
|
609
|
-
id:
|
|
309
|
+
type: "FiatCurrency";
|
|
310
|
+
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
610
311
|
name: string;
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
value: bigint;
|
|
615
|
-
decimals: number;
|
|
616
|
-
} | undefined;
|
|
617
|
-
};
|
|
618
|
-
updatedAt: number;
|
|
312
|
+
} | {
|
|
313
|
+
type: "Nft";
|
|
314
|
+
id: string;
|
|
619
315
|
};
|
|
620
316
|
amount: {
|
|
621
317
|
value: bigint;
|
|
622
318
|
decimals: number;
|
|
623
319
|
};
|
|
624
320
|
direction: "out";
|
|
625
|
-
|
|
321
|
+
})[];
|
|
322
|
+
crossId: string;
|
|
323
|
+
crossType: "start" | "middle" | "end";
|
|
324
|
+
} | {
|
|
325
|
+
comment: string | undefined;
|
|
326
|
+
app: {
|
|
327
|
+
description: string | undefined;
|
|
328
|
+
website: string | undefined;
|
|
329
|
+
icon: string | undefined;
|
|
330
|
+
id: string;
|
|
331
|
+
name: string;
|
|
332
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
333
|
+
} | undefined;
|
|
334
|
+
type: "CrossAccountAction";
|
|
335
|
+
timestamp: number;
|
|
336
|
+
order: number;
|
|
337
|
+
action: "cross-trade";
|
|
338
|
+
source: string;
|
|
339
|
+
evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
|
|
340
|
+
transfers: ({
|
|
341
|
+
from: string | undefined;
|
|
342
|
+
to: string | undefined;
|
|
343
|
+
price: {
|
|
626
344
|
cryptoCurrencyId: string;
|
|
627
345
|
fiatCurrencyId: string;
|
|
628
346
|
price: {
|
|
@@ -631,41 +349,36 @@ export declare const normalActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject<
|
|
|
631
349
|
};
|
|
632
350
|
timestamp: number;
|
|
633
351
|
} | undefined;
|
|
634
|
-
from?: string | undefined;
|
|
635
|
-
to?: string | undefined;
|
|
636
|
-
}, {
|
|
637
352
|
asset: {
|
|
353
|
+
icon: string | undefined;
|
|
638
354
|
symbol: string;
|
|
639
355
|
type: "CryptoCurrency";
|
|
640
356
|
id: string;
|
|
641
357
|
name: string;
|
|
642
358
|
market: {
|
|
643
|
-
coingeckoId
|
|
644
|
-
marketCapUsd
|
|
359
|
+
coingeckoId: string | undefined;
|
|
360
|
+
marketCapUsd: {
|
|
645
361
|
value: bigint;
|
|
646
362
|
decimals: number;
|
|
647
363
|
} | undefined;
|
|
648
364
|
};
|
|
649
365
|
updatedAt: number;
|
|
650
|
-
|
|
366
|
+
} | {
|
|
367
|
+
icon: string | undefined;
|
|
368
|
+
symbol: string;
|
|
369
|
+
type: "FiatCurrency";
|
|
370
|
+
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
371
|
+
name: string;
|
|
372
|
+
} | {
|
|
373
|
+
type: "Nft";
|
|
374
|
+
id: string;
|
|
651
375
|
};
|
|
652
376
|
amount: {
|
|
653
377
|
value: bigint;
|
|
654
378
|
decimals: number;
|
|
655
379
|
};
|
|
656
|
-
direction: "
|
|
657
|
-
|
|
658
|
-
cryptoCurrencyId: string;
|
|
659
|
-
fiatCurrencyId: string;
|
|
660
|
-
price: {
|
|
661
|
-
value: bigint;
|
|
662
|
-
decimals: number;
|
|
663
|
-
};
|
|
664
|
-
timestamp: number;
|
|
665
|
-
} | undefined;
|
|
666
|
-
from?: string | undefined;
|
|
667
|
-
to?: string | undefined;
|
|
668
|
-
}>, {
|
|
380
|
+
direction: "in";
|
|
381
|
+
} | {
|
|
669
382
|
from: string | undefined;
|
|
670
383
|
to: string | undefined;
|
|
671
384
|
price: {
|
|
@@ -691,34 +404,76 @@ export declare const normalActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject<
|
|
|
691
404
|
} | undefined;
|
|
692
405
|
};
|
|
693
406
|
updatedAt: number;
|
|
407
|
+
} | {
|
|
408
|
+
icon: string | undefined;
|
|
409
|
+
symbol: string;
|
|
410
|
+
type: "FiatCurrency";
|
|
411
|
+
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
412
|
+
name: string;
|
|
413
|
+
} | {
|
|
414
|
+
type: "Nft";
|
|
415
|
+
id: string;
|
|
694
416
|
};
|
|
695
417
|
amount: {
|
|
696
418
|
value: bigint;
|
|
697
419
|
decimals: number;
|
|
698
420
|
};
|
|
699
421
|
direction: "out";
|
|
700
|
-
}
|
|
422
|
+
})[];
|
|
423
|
+
crossId: string;
|
|
424
|
+
crossType: "start" | "middle" | "end";
|
|
425
|
+
} | {
|
|
426
|
+
comment: string | undefined;
|
|
427
|
+
app: {
|
|
428
|
+
description: string | undefined;
|
|
429
|
+
website: string | undefined;
|
|
430
|
+
icon: string | undefined;
|
|
431
|
+
id: string;
|
|
432
|
+
name: string;
|
|
433
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
434
|
+
} | undefined;
|
|
435
|
+
type: "LoanAccountAction";
|
|
436
|
+
timestamp: number;
|
|
437
|
+
order: number;
|
|
438
|
+
action: "add-liquidity";
|
|
439
|
+
source: string;
|
|
440
|
+
evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
|
|
441
|
+
transfers: ({
|
|
442
|
+
from: string | undefined;
|
|
443
|
+
to: string | undefined;
|
|
444
|
+
price: {
|
|
445
|
+
cryptoCurrencyId: string;
|
|
446
|
+
fiatCurrencyId: string;
|
|
447
|
+
price: {
|
|
448
|
+
value: bigint;
|
|
449
|
+
decimals: number;
|
|
450
|
+
};
|
|
451
|
+
timestamp: number;
|
|
452
|
+
} | undefined;
|
|
701
453
|
asset: {
|
|
454
|
+
icon: string | undefined;
|
|
702
455
|
symbol: string;
|
|
703
456
|
type: "CryptoCurrency";
|
|
704
457
|
id: string;
|
|
705
458
|
name: string;
|
|
706
459
|
market: {
|
|
707
|
-
coingeckoId
|
|
708
|
-
marketCapUsd
|
|
460
|
+
coingeckoId: string | undefined;
|
|
461
|
+
marketCapUsd: {
|
|
709
462
|
value: bigint;
|
|
710
463
|
decimals: number;
|
|
711
464
|
} | undefined;
|
|
712
465
|
};
|
|
713
466
|
updatedAt: number;
|
|
714
|
-
icon?: string | undefined;
|
|
715
467
|
};
|
|
716
468
|
amount: {
|
|
717
469
|
value: bigint;
|
|
718
470
|
decimals: number;
|
|
719
471
|
};
|
|
720
|
-
direction: "
|
|
721
|
-
|
|
472
|
+
direction: "in";
|
|
473
|
+
} | {
|
|
474
|
+
from: string | undefined;
|
|
475
|
+
to: string | undefined;
|
|
476
|
+
price: {
|
|
722
477
|
cryptoCurrencyId: string;
|
|
723
478
|
fiatCurrencyId: string;
|
|
724
479
|
price: {
|
|
@@ -727,64 +482,6 @@ export declare const normalActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject<
|
|
|
727
482
|
};
|
|
728
483
|
timestamp: number;
|
|
729
484
|
} | undefined;
|
|
730
|
-
from?: string | undefined;
|
|
731
|
-
to?: string | undefined;
|
|
732
|
-
}>, z.ZodEffects<z.ZodObject<{
|
|
733
|
-
price: z.ZodOptional<z.ZodObject<{
|
|
734
|
-
cryptoCurrencyId: z.ZodString;
|
|
735
|
-
fiatCurrencyId: z.ZodString;
|
|
736
|
-
price: z.ZodObject<{
|
|
737
|
-
value: z.ZodBigInt;
|
|
738
|
-
decimals: z.ZodNumber;
|
|
739
|
-
}, "strip", z.ZodTypeAny, {
|
|
740
|
-
value: bigint;
|
|
741
|
-
decimals: number;
|
|
742
|
-
}, {
|
|
743
|
-
value: bigint;
|
|
744
|
-
decimals: number;
|
|
745
|
-
}>;
|
|
746
|
-
timestamp: z.ZodNumber;
|
|
747
|
-
}, "strip", z.ZodTypeAny, {
|
|
748
|
-
cryptoCurrencyId: string;
|
|
749
|
-
fiatCurrencyId: string;
|
|
750
|
-
price: {
|
|
751
|
-
value: bigint;
|
|
752
|
-
decimals: number;
|
|
753
|
-
};
|
|
754
|
-
timestamp: number;
|
|
755
|
-
}, {
|
|
756
|
-
cryptoCurrencyId: string;
|
|
757
|
-
fiatCurrencyId: string;
|
|
758
|
-
price: {
|
|
759
|
-
value: bigint;
|
|
760
|
-
decimals: number;
|
|
761
|
-
};
|
|
762
|
-
timestamp: number;
|
|
763
|
-
}>>;
|
|
764
|
-
from: z.ZodOptional<z.ZodString>;
|
|
765
|
-
to: z.ZodOptional<z.ZodString>;
|
|
766
|
-
amount: z.ZodObject<{
|
|
767
|
-
value: z.ZodBigInt;
|
|
768
|
-
decimals: z.ZodNumber;
|
|
769
|
-
}, "strip", z.ZodTypeAny, {
|
|
770
|
-
value: bigint;
|
|
771
|
-
decimals: number;
|
|
772
|
-
}, {
|
|
773
|
-
value: bigint;
|
|
774
|
-
decimals: number;
|
|
775
|
-
}>;
|
|
776
|
-
direction: z.ZodLiteral<"out">;
|
|
777
|
-
asset: z.ZodObject<{
|
|
778
|
-
type: z.ZodLiteral<"Nft">;
|
|
779
|
-
id: z.ZodString;
|
|
780
|
-
}, "strip", z.ZodTypeAny, {
|
|
781
|
-
type: "Nft";
|
|
782
|
-
id: string;
|
|
783
|
-
}, {
|
|
784
|
-
type: "Nft";
|
|
785
|
-
id: string;
|
|
786
|
-
}>;
|
|
787
|
-
}, "strip", z.ZodTypeAny, {
|
|
788
485
|
asset: {
|
|
789
486
|
type: "Nft";
|
|
790
487
|
id: string;
|
|
@@ -793,8 +490,11 @@ export declare const normalActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject<
|
|
|
793
490
|
value: bigint;
|
|
794
491
|
decimals: number;
|
|
795
492
|
};
|
|
796
|
-
direction: "
|
|
797
|
-
|
|
493
|
+
direction: "in";
|
|
494
|
+
} | {
|
|
495
|
+
from: string | undefined;
|
|
496
|
+
to: string | undefined;
|
|
497
|
+
price: {
|
|
798
498
|
cryptoCurrencyId: string;
|
|
799
499
|
fiatCurrencyId: string;
|
|
800
500
|
price: {
|
|
@@ -803,30 +503,27 @@ export declare const normalActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject<
|
|
|
803
503
|
};
|
|
804
504
|
timestamp: number;
|
|
805
505
|
} | undefined;
|
|
806
|
-
from?: string | undefined;
|
|
807
|
-
to?: string | undefined;
|
|
808
|
-
}, {
|
|
809
506
|
asset: {
|
|
810
|
-
|
|
507
|
+
icon: string | undefined;
|
|
508
|
+
symbol: string;
|
|
509
|
+
type: "CryptoCurrency";
|
|
811
510
|
id: string;
|
|
511
|
+
name: string;
|
|
512
|
+
market: {
|
|
513
|
+
coingeckoId: string | undefined;
|
|
514
|
+
marketCapUsd: {
|
|
515
|
+
value: bigint;
|
|
516
|
+
decimals: number;
|
|
517
|
+
} | undefined;
|
|
518
|
+
};
|
|
519
|
+
updatedAt: number;
|
|
812
520
|
};
|
|
813
521
|
amount: {
|
|
814
522
|
value: bigint;
|
|
815
523
|
decimals: number;
|
|
816
524
|
};
|
|
817
525
|
direction: "out";
|
|
818
|
-
|
|
819
|
-
cryptoCurrencyId: string;
|
|
820
|
-
fiatCurrencyId: string;
|
|
821
|
-
price: {
|
|
822
|
-
value: bigint;
|
|
823
|
-
decimals: number;
|
|
824
|
-
};
|
|
825
|
-
timestamp: number;
|
|
826
|
-
} | undefined;
|
|
827
|
-
from?: string | undefined;
|
|
828
|
-
to?: string | undefined;
|
|
829
|
-
}>, {
|
|
526
|
+
} | {
|
|
830
527
|
from: string | undefined;
|
|
831
528
|
to: string | undefined;
|
|
832
529
|
price: {
|
|
@@ -847,32 +544,23 @@ export declare const normalActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject<
|
|
|
847
544
|
decimals: number;
|
|
848
545
|
};
|
|
849
546
|
direction: "out";
|
|
850
|
-
}
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
price: {
|
|
864
|
-
value: bigint;
|
|
865
|
-
decimals: number;
|
|
866
|
-
};
|
|
867
|
-
timestamp: number;
|
|
868
|
-
} | undefined;
|
|
869
|
-
from?: string | undefined;
|
|
870
|
-
to?: string | undefined;
|
|
871
|
-
}>]>, "many">;
|
|
872
|
-
}, "strip", z.ZodTypeAny, {
|
|
873
|
-
type: "LoanNormalAction";
|
|
547
|
+
})[];
|
|
548
|
+
loanId: string;
|
|
549
|
+
} | {
|
|
550
|
+
comment: string | undefined;
|
|
551
|
+
app: {
|
|
552
|
+
description: string | undefined;
|
|
553
|
+
website: string | undefined;
|
|
554
|
+
icon: string | undefined;
|
|
555
|
+
id: string;
|
|
556
|
+
name: string;
|
|
557
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
558
|
+
} | undefined;
|
|
559
|
+
type: "LoanAccountAction";
|
|
874
560
|
timestamp: number;
|
|
875
|
-
|
|
561
|
+
order: number;
|
|
562
|
+
action: "deposit";
|
|
563
|
+
source: string;
|
|
876
564
|
evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
|
|
877
565
|
transfers: ({
|
|
878
566
|
from: string | undefined;
|
|
@@ -905,7 +593,7 @@ export declare const normalActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject<
|
|
|
905
593
|
value: bigint;
|
|
906
594
|
decimals: number;
|
|
907
595
|
};
|
|
908
|
-
direction: "
|
|
596
|
+
direction: "out";
|
|
909
597
|
} | {
|
|
910
598
|
from: string | undefined;
|
|
911
599
|
to: string | undefined;
|
|
@@ -926,8 +614,26 @@ export declare const normalActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject<
|
|
|
926
614
|
value: bigint;
|
|
927
615
|
decimals: number;
|
|
928
616
|
};
|
|
929
|
-
direction: "
|
|
930
|
-
}
|
|
617
|
+
direction: "out";
|
|
618
|
+
})[];
|
|
619
|
+
loanId: string;
|
|
620
|
+
} | {
|
|
621
|
+
comment: string | undefined;
|
|
622
|
+
app: {
|
|
623
|
+
description: string | undefined;
|
|
624
|
+
website: string | undefined;
|
|
625
|
+
icon: string | undefined;
|
|
626
|
+
id: string;
|
|
627
|
+
name: string;
|
|
628
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
629
|
+
} | undefined;
|
|
630
|
+
type: "LoanAccountAction";
|
|
631
|
+
timestamp: number;
|
|
632
|
+
order: number;
|
|
633
|
+
action: "deposit-with-bond";
|
|
634
|
+
source: string;
|
|
635
|
+
evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
|
|
636
|
+
transfers: ({
|
|
931
637
|
from: string | undefined;
|
|
932
638
|
to: string | undefined;
|
|
933
639
|
price: {
|
|
@@ -958,7 +664,7 @@ export declare const normalActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject<
|
|
|
958
664
|
value: bigint;
|
|
959
665
|
decimals: number;
|
|
960
666
|
};
|
|
961
|
-
direction: "
|
|
667
|
+
direction: "in";
|
|
962
668
|
} | {
|
|
963
669
|
from: string | undefined;
|
|
964
670
|
to: string | undefined;
|
|
@@ -979,45 +685,43 @@ export declare const normalActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject<
|
|
|
979
685
|
value: bigint;
|
|
980
686
|
decimals: number;
|
|
981
687
|
};
|
|
982
|
-
direction: "
|
|
983
|
-
}
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
}
|
|
995
|
-
type: "LoanNormalAction";
|
|
996
|
-
timestamp: number;
|
|
997
|
-
action: "borrow-with-debt";
|
|
998
|
-
evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
|
|
999
|
-
transfers: ({
|
|
688
|
+
direction: "in";
|
|
689
|
+
} | {
|
|
690
|
+
from: string | undefined;
|
|
691
|
+
to: string | undefined;
|
|
692
|
+
price: {
|
|
693
|
+
cryptoCurrencyId: string;
|
|
694
|
+
fiatCurrencyId: string;
|
|
695
|
+
price: {
|
|
696
|
+
value: bigint;
|
|
697
|
+
decimals: number;
|
|
698
|
+
};
|
|
699
|
+
timestamp: number;
|
|
700
|
+
} | undefined;
|
|
1000
701
|
asset: {
|
|
702
|
+
icon: string | undefined;
|
|
1001
703
|
symbol: string;
|
|
1002
704
|
type: "CryptoCurrency";
|
|
1003
705
|
id: string;
|
|
1004
706
|
name: string;
|
|
1005
707
|
market: {
|
|
1006
|
-
coingeckoId
|
|
1007
|
-
marketCapUsd
|
|
708
|
+
coingeckoId: string | undefined;
|
|
709
|
+
marketCapUsd: {
|
|
1008
710
|
value: bigint;
|
|
1009
711
|
decimals: number;
|
|
1010
712
|
} | undefined;
|
|
1011
713
|
};
|
|
1012
714
|
updatedAt: number;
|
|
1013
|
-
icon?: string | undefined;
|
|
1014
715
|
};
|
|
1015
716
|
amount: {
|
|
1016
717
|
value: bigint;
|
|
1017
718
|
decimals: number;
|
|
1018
719
|
};
|
|
1019
|
-
direction: "
|
|
1020
|
-
|
|
720
|
+
direction: "out";
|
|
721
|
+
} | {
|
|
722
|
+
from: string | undefined;
|
|
723
|
+
to: string | undefined;
|
|
724
|
+
price: {
|
|
1021
725
|
cryptoCurrencyId: string;
|
|
1022
726
|
fiatCurrencyId: string;
|
|
1023
727
|
price: {
|
|
@@ -1026,9 +730,6 @@ export declare const normalActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject<
|
|
|
1026
730
|
};
|
|
1027
731
|
timestamp: number;
|
|
1028
732
|
} | undefined;
|
|
1029
|
-
from?: string | undefined;
|
|
1030
|
-
to?: string | undefined;
|
|
1031
|
-
} | {
|
|
1032
733
|
asset: {
|
|
1033
734
|
type: "Nft";
|
|
1034
735
|
id: string;
|
|
@@ -1037,8 +738,29 @@ export declare const normalActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject<
|
|
|
1037
738
|
value: bigint;
|
|
1038
739
|
decimals: number;
|
|
1039
740
|
};
|
|
1040
|
-
direction: "
|
|
1041
|
-
|
|
741
|
+
direction: "out";
|
|
742
|
+
})[];
|
|
743
|
+
loanId: string;
|
|
744
|
+
} | {
|
|
745
|
+
comment: string | undefined;
|
|
746
|
+
app: {
|
|
747
|
+
description: string | undefined;
|
|
748
|
+
website: string | undefined;
|
|
749
|
+
icon: string | undefined;
|
|
750
|
+
id: string;
|
|
751
|
+
name: string;
|
|
752
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
753
|
+
} | undefined;
|
|
754
|
+
type: "LoanAccountAction";
|
|
755
|
+
timestamp: number;
|
|
756
|
+
order: number;
|
|
757
|
+
action: "stake";
|
|
758
|
+
source: string;
|
|
759
|
+
evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
|
|
760
|
+
transfers: ({
|
|
761
|
+
from: string | undefined;
|
|
762
|
+
to: string | undefined;
|
|
763
|
+
price: {
|
|
1042
764
|
cryptoCurrencyId: string;
|
|
1043
765
|
fiatCurrencyId: string;
|
|
1044
766
|
price: {
|
|
@@ -1047,30 +769,30 @@ export declare const normalActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject<
|
|
|
1047
769
|
};
|
|
1048
770
|
timestamp: number;
|
|
1049
771
|
} | undefined;
|
|
1050
|
-
from?: string | undefined;
|
|
1051
|
-
to?: string | undefined;
|
|
1052
|
-
} | {
|
|
1053
772
|
asset: {
|
|
773
|
+
icon: string | undefined;
|
|
1054
774
|
symbol: string;
|
|
1055
775
|
type: "CryptoCurrency";
|
|
1056
776
|
id: string;
|
|
1057
777
|
name: string;
|
|
1058
778
|
market: {
|
|
1059
|
-
coingeckoId
|
|
1060
|
-
marketCapUsd
|
|
779
|
+
coingeckoId: string | undefined;
|
|
780
|
+
marketCapUsd: {
|
|
1061
781
|
value: bigint;
|
|
1062
782
|
decimals: number;
|
|
1063
783
|
} | undefined;
|
|
1064
784
|
};
|
|
1065
785
|
updatedAt: number;
|
|
1066
|
-
icon?: string | undefined;
|
|
1067
786
|
};
|
|
1068
787
|
amount: {
|
|
1069
788
|
value: bigint;
|
|
1070
789
|
decimals: number;
|
|
1071
790
|
};
|
|
1072
791
|
direction: "out";
|
|
1073
|
-
|
|
792
|
+
} | {
|
|
793
|
+
from: string | undefined;
|
|
794
|
+
to: string | undefined;
|
|
795
|
+
price: {
|
|
1074
796
|
cryptoCurrencyId: string;
|
|
1075
797
|
fiatCurrencyId: string;
|
|
1076
798
|
price: {
|
|
@@ -1079,9 +801,6 @@ export declare const normalActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject<
|
|
|
1079
801
|
};
|
|
1080
802
|
timestamp: number;
|
|
1081
803
|
} | undefined;
|
|
1082
|
-
from?: string | undefined;
|
|
1083
|
-
to?: string | undefined;
|
|
1084
|
-
} | {
|
|
1085
804
|
asset: {
|
|
1086
805
|
type: "Nft";
|
|
1087
806
|
id: string;
|
|
@@ -1091,29 +810,9 @@ export declare const normalActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject<
|
|
|
1091
810
|
decimals: number;
|
|
1092
811
|
};
|
|
1093
812
|
direction: "out";
|
|
1094
|
-
price?: {
|
|
1095
|
-
cryptoCurrencyId: string;
|
|
1096
|
-
fiatCurrencyId: string;
|
|
1097
|
-
price: {
|
|
1098
|
-
value: bigint;
|
|
1099
|
-
decimals: number;
|
|
1100
|
-
};
|
|
1101
|
-
timestamp: number;
|
|
1102
|
-
} | undefined;
|
|
1103
|
-
from?: string | undefined;
|
|
1104
|
-
to?: string | undefined;
|
|
1105
813
|
})[];
|
|
1106
814
|
loanId: string;
|
|
1107
|
-
|
|
1108
|
-
app?: {
|
|
1109
|
-
id: string;
|
|
1110
|
-
name: string;
|
|
1111
|
-
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
1112
|
-
description?: string | undefined;
|
|
1113
|
-
website?: string | undefined;
|
|
1114
|
-
icon?: string | undefined;
|
|
1115
|
-
} | undefined;
|
|
1116
|
-
}>, {
|
|
815
|
+
} | {
|
|
1117
816
|
comment: string | undefined;
|
|
1118
817
|
app: {
|
|
1119
818
|
description: string | undefined;
|
|
@@ -1123,9 +822,11 @@ export declare const normalActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject<
|
|
|
1123
822
|
name: string;
|
|
1124
823
|
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
1125
824
|
} | undefined;
|
|
1126
|
-
type: "
|
|
825
|
+
type: "NormalAccountAction";
|
|
1127
826
|
timestamp: number;
|
|
1128
|
-
|
|
827
|
+
order: number;
|
|
828
|
+
action: "fee";
|
|
829
|
+
source: string;
|
|
1129
830
|
evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
|
|
1130
831
|
transfers: ({
|
|
1131
832
|
from: string | undefined;
|
|
@@ -1158,7 +859,7 @@ export declare const normalActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject<
|
|
|
1158
859
|
value: bigint;
|
|
1159
860
|
decimals: number;
|
|
1160
861
|
};
|
|
1161
|
-
direction: "
|
|
862
|
+
direction: "out";
|
|
1162
863
|
} | {
|
|
1163
864
|
from: string | undefined;
|
|
1164
865
|
to: string | undefined;
|
|
@@ -1172,15 +873,35 @@ export declare const normalActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject<
|
|
|
1172
873
|
timestamp: number;
|
|
1173
874
|
} | undefined;
|
|
1174
875
|
asset: {
|
|
1175
|
-
|
|
1176
|
-
|
|
876
|
+
icon: string | undefined;
|
|
877
|
+
symbol: string;
|
|
878
|
+
type: "FiatCurrency";
|
|
879
|
+
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
880
|
+
name: string;
|
|
1177
881
|
};
|
|
1178
882
|
amount: {
|
|
1179
883
|
value: bigint;
|
|
1180
884
|
decimals: number;
|
|
1181
885
|
};
|
|
1182
|
-
direction: "
|
|
1183
|
-
}
|
|
886
|
+
direction: "out";
|
|
887
|
+
})[];
|
|
888
|
+
} | {
|
|
889
|
+
comment: string | undefined;
|
|
890
|
+
app: {
|
|
891
|
+
description: string | undefined;
|
|
892
|
+
website: string | undefined;
|
|
893
|
+
icon: string | undefined;
|
|
894
|
+
id: string;
|
|
895
|
+
name: string;
|
|
896
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
897
|
+
} | undefined;
|
|
898
|
+
type: "NormalAccountAction";
|
|
899
|
+
timestamp: number;
|
|
900
|
+
order: number;
|
|
901
|
+
action: "transaction-fee";
|
|
902
|
+
source: string;
|
|
903
|
+
evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
|
|
904
|
+
transfers: {
|
|
1184
905
|
from: string | undefined;
|
|
1185
906
|
to: string | undefined;
|
|
1186
907
|
price: {
|
|
@@ -1212,7 +933,58 @@ export declare const normalActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject<
|
|
|
1212
933
|
decimals: number;
|
|
1213
934
|
};
|
|
1214
935
|
direction: "out";
|
|
1215
|
-
}
|
|
936
|
+
}[];
|
|
937
|
+
} | {
|
|
938
|
+
comment: string | undefined;
|
|
939
|
+
app: {
|
|
940
|
+
description: string | undefined;
|
|
941
|
+
website: string | undefined;
|
|
942
|
+
icon: string | undefined;
|
|
943
|
+
id: string;
|
|
944
|
+
name: string;
|
|
945
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
946
|
+
} | undefined;
|
|
947
|
+
type: "NormalAccountAction";
|
|
948
|
+
timestamp: number;
|
|
949
|
+
order: number;
|
|
950
|
+
action: "approve";
|
|
951
|
+
source: string;
|
|
952
|
+
evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
|
|
953
|
+
transfers: [];
|
|
954
|
+
} | {
|
|
955
|
+
comment: string | undefined;
|
|
956
|
+
app: {
|
|
957
|
+
description: string | undefined;
|
|
958
|
+
website: string | undefined;
|
|
959
|
+
icon: string | undefined;
|
|
960
|
+
id: string;
|
|
961
|
+
name: string;
|
|
962
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
963
|
+
} | undefined;
|
|
964
|
+
type: "NormalAccountAction";
|
|
965
|
+
timestamp: number;
|
|
966
|
+
order: number;
|
|
967
|
+
action: "fail-tx";
|
|
968
|
+
source: string;
|
|
969
|
+
evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
|
|
970
|
+
transfers: [];
|
|
971
|
+
} | {
|
|
972
|
+
comment: string | undefined;
|
|
973
|
+
app: {
|
|
974
|
+
description: string | undefined;
|
|
975
|
+
website: string | undefined;
|
|
976
|
+
icon: string | undefined;
|
|
977
|
+
id: string;
|
|
978
|
+
name: string;
|
|
979
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
980
|
+
} | undefined;
|
|
981
|
+
type: "NormalAccountAction";
|
|
982
|
+
timestamp: number;
|
|
983
|
+
order: number;
|
|
984
|
+
action: "ignore";
|
|
985
|
+
source: string;
|
|
986
|
+
evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
|
|
987
|
+
transfers: ({
|
|
1216
988
|
from: string | undefined;
|
|
1217
989
|
to: string | undefined;
|
|
1218
990
|
price: {
|
|
@@ -1225,43 +997,38 @@ export declare const normalActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject<
|
|
|
1225
997
|
timestamp: number;
|
|
1226
998
|
} | undefined;
|
|
1227
999
|
asset: {
|
|
1228
|
-
|
|
1229
|
-
id: string;
|
|
1230
|
-
};
|
|
1231
|
-
amount: {
|
|
1232
|
-
value: bigint;
|
|
1233
|
-
decimals: number;
|
|
1234
|
-
};
|
|
1235
|
-
direction: "out";
|
|
1236
|
-
})[];
|
|
1237
|
-
loanId: string;
|
|
1238
|
-
}, {
|
|
1239
|
-
type: "LoanNormalAction";
|
|
1240
|
-
timestamp: number;
|
|
1241
|
-
action: "borrow-with-debt";
|
|
1242
|
-
evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
|
|
1243
|
-
transfers: ({
|
|
1244
|
-
asset: {
|
|
1000
|
+
icon: string | undefined;
|
|
1245
1001
|
symbol: string;
|
|
1246
1002
|
type: "CryptoCurrency";
|
|
1247
1003
|
id: string;
|
|
1248
1004
|
name: string;
|
|
1249
1005
|
market: {
|
|
1250
|
-
coingeckoId
|
|
1251
|
-
marketCapUsd
|
|
1006
|
+
coingeckoId: string | undefined;
|
|
1007
|
+
marketCapUsd: {
|
|
1252
1008
|
value: bigint;
|
|
1253
1009
|
decimals: number;
|
|
1254
1010
|
} | undefined;
|
|
1255
1011
|
};
|
|
1256
1012
|
updatedAt: number;
|
|
1257
|
-
|
|
1013
|
+
} | {
|
|
1014
|
+
icon: string | undefined;
|
|
1015
|
+
symbol: string;
|
|
1016
|
+
type: "FiatCurrency";
|
|
1017
|
+
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
1018
|
+
name: string;
|
|
1019
|
+
} | {
|
|
1020
|
+
type: "Nft";
|
|
1021
|
+
id: string;
|
|
1258
1022
|
};
|
|
1259
1023
|
amount: {
|
|
1260
1024
|
value: bigint;
|
|
1261
1025
|
decimals: number;
|
|
1262
1026
|
};
|
|
1263
1027
|
direction: "in";
|
|
1264
|
-
|
|
1028
|
+
} | {
|
|
1029
|
+
from: string | undefined;
|
|
1030
|
+
to: string | undefined;
|
|
1031
|
+
price: {
|
|
1265
1032
|
cryptoCurrencyId: string;
|
|
1266
1033
|
fiatCurrencyId: string;
|
|
1267
1034
|
price: {
|
|
@@ -1270,10 +1037,27 @@ export declare const normalActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject<
|
|
|
1270
1037
|
};
|
|
1271
1038
|
timestamp: number;
|
|
1272
1039
|
} | undefined;
|
|
1273
|
-
from?: string | undefined;
|
|
1274
|
-
to?: string | undefined;
|
|
1275
|
-
} | {
|
|
1276
1040
|
asset: {
|
|
1041
|
+
icon: string | undefined;
|
|
1042
|
+
symbol: string;
|
|
1043
|
+
type: "CryptoCurrency";
|
|
1044
|
+
id: string;
|
|
1045
|
+
name: string;
|
|
1046
|
+
market: {
|
|
1047
|
+
coingeckoId: string | undefined;
|
|
1048
|
+
marketCapUsd: {
|
|
1049
|
+
value: bigint;
|
|
1050
|
+
decimals: number;
|
|
1051
|
+
} | undefined;
|
|
1052
|
+
};
|
|
1053
|
+
updatedAt: number;
|
|
1054
|
+
} | {
|
|
1055
|
+
icon: string | undefined;
|
|
1056
|
+
symbol: string;
|
|
1057
|
+
type: "FiatCurrency";
|
|
1058
|
+
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
1059
|
+
name: string;
|
|
1060
|
+
} | {
|
|
1277
1061
|
type: "Nft";
|
|
1278
1062
|
id: string;
|
|
1279
1063
|
};
|
|
@@ -1281,8 +1065,11 @@ export declare const normalActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject<
|
|
|
1281
1065
|
value: bigint;
|
|
1282
1066
|
decimals: number;
|
|
1283
1067
|
};
|
|
1284
|
-
direction: "
|
|
1285
|
-
|
|
1068
|
+
direction: "out";
|
|
1069
|
+
} | {
|
|
1070
|
+
from: string | undefined;
|
|
1071
|
+
to: string | undefined;
|
|
1072
|
+
price: {
|
|
1286
1073
|
cryptoCurrencyId: string;
|
|
1287
1074
|
fiatCurrencyId: string;
|
|
1288
1075
|
price: {
|
|
@@ -1291,142 +1078,56 @@ export declare const normalActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject<
|
|
|
1291
1078
|
};
|
|
1292
1079
|
timestamp: number;
|
|
1293
1080
|
} | undefined;
|
|
1294
|
-
from?: string | undefined;
|
|
1295
|
-
to?: string | undefined;
|
|
1296
|
-
} | {
|
|
1297
1081
|
asset: {
|
|
1082
|
+
icon: string | undefined;
|
|
1298
1083
|
symbol: string;
|
|
1299
1084
|
type: "CryptoCurrency";
|
|
1300
1085
|
id: string;
|
|
1301
1086
|
name: string;
|
|
1302
1087
|
market: {
|
|
1303
|
-
coingeckoId
|
|
1304
|
-
marketCapUsd
|
|
1088
|
+
coingeckoId: string | undefined;
|
|
1089
|
+
marketCapUsd: {
|
|
1305
1090
|
value: bigint;
|
|
1306
1091
|
decimals: number;
|
|
1307
1092
|
} | undefined;
|
|
1308
1093
|
};
|
|
1309
1094
|
updatedAt: number;
|
|
1310
|
-
|
|
1095
|
+
} | {
|
|
1096
|
+
icon: string | undefined;
|
|
1097
|
+
symbol: string;
|
|
1098
|
+
type: "FiatCurrency";
|
|
1099
|
+
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
1100
|
+
name: string;
|
|
1101
|
+
} | {
|
|
1102
|
+
type: "Nft";
|
|
1103
|
+
id: string;
|
|
1311
1104
|
};
|
|
1312
1105
|
amount: {
|
|
1313
1106
|
value: bigint;
|
|
1314
1107
|
decimals: number;
|
|
1315
1108
|
};
|
|
1316
|
-
direction: "
|
|
1317
|
-
price?: {
|
|
1318
|
-
cryptoCurrencyId: string;
|
|
1319
|
-
fiatCurrencyId: string;
|
|
1320
|
-
price: {
|
|
1321
|
-
value: bigint;
|
|
1322
|
-
decimals: number;
|
|
1323
|
-
};
|
|
1324
|
-
timestamp: number;
|
|
1325
|
-
} | undefined;
|
|
1326
|
-
from?: string | undefined;
|
|
1327
|
-
to?: string | undefined;
|
|
1328
|
-
} | {
|
|
1329
|
-
asset: {
|
|
1330
|
-
type: "Nft";
|
|
1331
|
-
id: string;
|
|
1332
|
-
};
|
|
1333
|
-
amount: {
|
|
1334
|
-
value: bigint;
|
|
1335
|
-
decimals: number;
|
|
1336
|
-
};
|
|
1337
|
-
direction: "out";
|
|
1338
|
-
price?: {
|
|
1339
|
-
cryptoCurrencyId: string;
|
|
1340
|
-
fiatCurrencyId: string;
|
|
1341
|
-
price: {
|
|
1342
|
-
value: bigint;
|
|
1343
|
-
decimals: number;
|
|
1344
|
-
};
|
|
1345
|
-
timestamp: number;
|
|
1346
|
-
} | undefined;
|
|
1347
|
-
from?: string | undefined;
|
|
1348
|
-
to?: string | undefined;
|
|
1109
|
+
direction: "none";
|
|
1349
1110
|
})[];
|
|
1350
|
-
|
|
1351
|
-
comment
|
|
1352
|
-
app
|
|
1353
|
-
id: string;
|
|
1354
|
-
name: string;
|
|
1355
|
-
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
1356
|
-
description?: string | undefined;
|
|
1357
|
-
website?: string | undefined;
|
|
1358
|
-
icon?: string | undefined;
|
|
1359
|
-
} | undefined;
|
|
1360
|
-
}>;
|
|
1361
|
-
export declare const accountActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject<{
|
|
1362
|
-
type: z.ZodLiteral<"LoanAccountAction">;
|
|
1363
|
-
timestamp: z.ZodNumber;
|
|
1364
|
-
order: z.ZodNumber;
|
|
1365
|
-
source: z.ZodString;
|
|
1366
|
-
evidence: z.ZodUnion<[z.ZodLiteral<"contract">, z.ZodLiteral<"system-rule">, z.ZodLiteral<"user-rule">, z.ZodLiteral<"manual-check">, z.ZodLiteral<"none">]>;
|
|
1367
|
-
comment: z.ZodOptional<z.ZodString>;
|
|
1368
|
-
app: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
1369
|
-
id: z.ZodString;
|
|
1370
|
-
categories: z.ZodArray<z.ZodUnion<[z.ZodLiteral<"bridge">, z.ZodLiteral<"cex">, z.ZodLiteral<"cross-chain">, z.ZodLiteral<"dex">, z.ZodLiteral<"gaming">, z.ZodLiteral<"lending">, z.ZodLiteral<"nft-marketplace">, z.ZodLiteral<"other">]>, "many">;
|
|
1371
|
-
name: z.ZodString;
|
|
1372
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1373
|
-
website: z.ZodOptional<z.ZodString>;
|
|
1374
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
1375
|
-
}, "strip", z.ZodTypeAny, {
|
|
1376
|
-
id: string;
|
|
1377
|
-
name: string;
|
|
1378
|
-
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
1379
|
-
description?: string | undefined;
|
|
1380
|
-
website?: string | undefined;
|
|
1381
|
-
icon?: string | undefined;
|
|
1382
|
-
}, {
|
|
1383
|
-
id: string;
|
|
1384
|
-
name: string;
|
|
1385
|
-
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
1386
|
-
description?: string | undefined;
|
|
1387
|
-
website?: string | undefined;
|
|
1388
|
-
icon?: string | undefined;
|
|
1389
|
-
}>, {
|
|
1111
|
+
} | {
|
|
1112
|
+
comment: string | undefined;
|
|
1113
|
+
app: {
|
|
1390
1114
|
description: string | undefined;
|
|
1391
1115
|
website: string | undefined;
|
|
1392
1116
|
icon: string | undefined;
|
|
1393
1117
|
id: string;
|
|
1394
1118
|
name: string;
|
|
1395
1119
|
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
1396
|
-
}
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
price: z.ZodOptional<z.ZodObject<{
|
|
1408
|
-
cryptoCurrencyId: z.ZodString;
|
|
1409
|
-
fiatCurrencyId: z.ZodString;
|
|
1410
|
-
price: z.ZodObject<{
|
|
1411
|
-
value: z.ZodBigInt;
|
|
1412
|
-
decimals: z.ZodNumber;
|
|
1413
|
-
}, "strip", z.ZodTypeAny, {
|
|
1414
|
-
value: bigint;
|
|
1415
|
-
decimals: number;
|
|
1416
|
-
}, {
|
|
1417
|
-
value: bigint;
|
|
1418
|
-
decimals: number;
|
|
1419
|
-
}>;
|
|
1420
|
-
timestamp: z.ZodNumber;
|
|
1421
|
-
}, "strip", z.ZodTypeAny, {
|
|
1422
|
-
cryptoCurrencyId: string;
|
|
1423
|
-
fiatCurrencyId: string;
|
|
1424
|
-
price: {
|
|
1425
|
-
value: bigint;
|
|
1426
|
-
decimals: number;
|
|
1427
|
-
};
|
|
1428
|
-
timestamp: number;
|
|
1429
|
-
}, {
|
|
1120
|
+
} | undefined;
|
|
1121
|
+
type: "NormalAccountAction";
|
|
1122
|
+
timestamp: number;
|
|
1123
|
+
order: number;
|
|
1124
|
+
action: "move";
|
|
1125
|
+
source: string;
|
|
1126
|
+
evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
|
|
1127
|
+
transfers: ({
|
|
1128
|
+
from: string | undefined;
|
|
1129
|
+
to: string | undefined;
|
|
1130
|
+
price: {
|
|
1430
1131
|
cryptoCurrencyId: string;
|
|
1431
1132
|
fiatCurrencyId: string;
|
|
1432
1133
|
price: {
|
|
@@ -1434,65 +1135,9 @@ export declare const accountActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject
|
|
|
1434
1135
|
decimals: number;
|
|
1435
1136
|
};
|
|
1436
1137
|
timestamp: number;
|
|
1437
|
-
}
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
amount: z.ZodObject<{
|
|
1441
|
-
value: z.ZodBigInt;
|
|
1442
|
-
decimals: z.ZodNumber;
|
|
1443
|
-
}, "strip", z.ZodTypeAny, {
|
|
1444
|
-
value: bigint;
|
|
1445
|
-
decimals: number;
|
|
1446
|
-
}, {
|
|
1447
|
-
value: bigint;
|
|
1448
|
-
decimals: number;
|
|
1449
|
-
}>;
|
|
1450
|
-
direction: z.ZodLiteral<"in">;
|
|
1451
|
-
asset: z.ZodEffects<z.ZodObject<{
|
|
1452
|
-
type: z.ZodLiteral<"CryptoCurrency">;
|
|
1453
|
-
id: z.ZodString;
|
|
1454
|
-
name: z.ZodString;
|
|
1455
|
-
symbol: z.ZodString;
|
|
1456
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
1457
|
-
market: z.ZodEffects<z.ZodObject<{
|
|
1458
|
-
coingeckoId: z.ZodOptional<z.ZodString>;
|
|
1459
|
-
marketCapUsd: z.ZodOptional<z.ZodObject<{
|
|
1460
|
-
value: z.ZodBigInt;
|
|
1461
|
-
decimals: z.ZodNumber;
|
|
1462
|
-
}, "strip", z.ZodTypeAny, {
|
|
1463
|
-
value: bigint;
|
|
1464
|
-
decimals: number;
|
|
1465
|
-
}, {
|
|
1466
|
-
value: bigint;
|
|
1467
|
-
decimals: number;
|
|
1468
|
-
}>>;
|
|
1469
|
-
}, "strip", z.ZodTypeAny, {
|
|
1470
|
-
coingeckoId?: string | undefined;
|
|
1471
|
-
marketCapUsd?: {
|
|
1472
|
-
value: bigint;
|
|
1473
|
-
decimals: number;
|
|
1474
|
-
} | undefined;
|
|
1475
|
-
}, {
|
|
1476
|
-
coingeckoId?: string | undefined;
|
|
1477
|
-
marketCapUsd?: {
|
|
1478
|
-
value: bigint;
|
|
1479
|
-
decimals: number;
|
|
1480
|
-
} | undefined;
|
|
1481
|
-
}>, {
|
|
1482
|
-
coingeckoId: string | undefined;
|
|
1483
|
-
marketCapUsd: {
|
|
1484
|
-
value: bigint;
|
|
1485
|
-
decimals: number;
|
|
1486
|
-
} | undefined;
|
|
1487
|
-
}, {
|
|
1488
|
-
coingeckoId?: string | undefined;
|
|
1489
|
-
marketCapUsd?: {
|
|
1490
|
-
value: bigint;
|
|
1491
|
-
decimals: number;
|
|
1492
|
-
} | undefined;
|
|
1493
|
-
}>;
|
|
1494
|
-
updatedAt: z.ZodNumber;
|
|
1495
|
-
}, "strip", z.ZodTypeAny, {
|
|
1138
|
+
} | undefined;
|
|
1139
|
+
asset: {
|
|
1140
|
+
icon: string | undefined;
|
|
1496
1141
|
symbol: string;
|
|
1497
1142
|
type: "CryptoCurrency";
|
|
1498
1143
|
id: string;
|
|
@@ -1505,22 +1150,34 @@ export declare const accountActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject
|
|
|
1505
1150
|
} | undefined;
|
|
1506
1151
|
};
|
|
1507
1152
|
updatedAt: number;
|
|
1508
|
-
|
|
1509
|
-
|
|
1153
|
+
} | {
|
|
1154
|
+
icon: string | undefined;
|
|
1510
1155
|
symbol: string;
|
|
1511
|
-
type: "
|
|
1512
|
-
id:
|
|
1156
|
+
type: "FiatCurrency";
|
|
1157
|
+
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
1513
1158
|
name: string;
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1159
|
+
} | {
|
|
1160
|
+
type: "Nft";
|
|
1161
|
+
id: string;
|
|
1162
|
+
};
|
|
1163
|
+
amount: {
|
|
1164
|
+
value: bigint;
|
|
1165
|
+
decimals: number;
|
|
1166
|
+
};
|
|
1167
|
+
direction: "in";
|
|
1168
|
+
} | {
|
|
1169
|
+
from: string | undefined;
|
|
1170
|
+
to: string | undefined;
|
|
1171
|
+
price: {
|
|
1172
|
+
cryptoCurrencyId: string;
|
|
1173
|
+
fiatCurrencyId: string;
|
|
1174
|
+
price: {
|
|
1175
|
+
value: bigint;
|
|
1176
|
+
decimals: number;
|
|
1520
1177
|
};
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1178
|
+
timestamp: number;
|
|
1179
|
+
} | undefined;
|
|
1180
|
+
asset: {
|
|
1524
1181
|
icon: string | undefined;
|
|
1525
1182
|
symbol: string;
|
|
1526
1183
|
type: "CryptoCurrency";
|
|
@@ -1534,22 +1191,33 @@ export declare const accountActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject
|
|
|
1534
1191
|
} | undefined;
|
|
1535
1192
|
};
|
|
1536
1193
|
updatedAt: number;
|
|
1537
|
-
}
|
|
1194
|
+
} | {
|
|
1195
|
+
icon: string | undefined;
|
|
1538
1196
|
symbol: string;
|
|
1539
|
-
type: "
|
|
1540
|
-
id:
|
|
1197
|
+
type: "FiatCurrency";
|
|
1198
|
+
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
1541
1199
|
name: string;
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1200
|
+
} | {
|
|
1201
|
+
type: "Nft";
|
|
1202
|
+
id: string;
|
|
1203
|
+
};
|
|
1204
|
+
amount: {
|
|
1205
|
+
value: bigint;
|
|
1206
|
+
decimals: number;
|
|
1207
|
+
};
|
|
1208
|
+
direction: "out";
|
|
1209
|
+
} | {
|
|
1210
|
+
from: string | undefined;
|
|
1211
|
+
to: string | undefined;
|
|
1212
|
+
price: {
|
|
1213
|
+
cryptoCurrencyId: string;
|
|
1214
|
+
fiatCurrencyId: string;
|
|
1215
|
+
price: {
|
|
1216
|
+
value: bigint;
|
|
1217
|
+
decimals: number;
|
|
1548
1218
|
};
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
}>;
|
|
1552
|
-
}, "strip", z.ZodTypeAny, {
|
|
1219
|
+
timestamp: number;
|
|
1220
|
+
} | undefined;
|
|
1553
1221
|
asset: {
|
|
1554
1222
|
icon: string | undefined;
|
|
1555
1223
|
symbol: string;
|
|
@@ -1564,13 +1232,42 @@ export declare const accountActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject
|
|
|
1564
1232
|
} | undefined;
|
|
1565
1233
|
};
|
|
1566
1234
|
updatedAt: number;
|
|
1235
|
+
} | {
|
|
1236
|
+
icon: string | undefined;
|
|
1237
|
+
symbol: string;
|
|
1238
|
+
type: "FiatCurrency";
|
|
1239
|
+
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
1240
|
+
name: string;
|
|
1241
|
+
} | {
|
|
1242
|
+
type: "Nft";
|
|
1243
|
+
id: string;
|
|
1567
1244
|
};
|
|
1568
1245
|
amount: {
|
|
1569
1246
|
value: bigint;
|
|
1570
1247
|
decimals: number;
|
|
1571
1248
|
};
|
|
1572
|
-
direction: "
|
|
1573
|
-
|
|
1249
|
+
direction: "none";
|
|
1250
|
+
})[];
|
|
1251
|
+
} | {
|
|
1252
|
+
comment: string | undefined;
|
|
1253
|
+
app: {
|
|
1254
|
+
description: string | undefined;
|
|
1255
|
+
website: string | undefined;
|
|
1256
|
+
icon: string | undefined;
|
|
1257
|
+
id: string;
|
|
1258
|
+
name: string;
|
|
1259
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
1260
|
+
} | undefined;
|
|
1261
|
+
type: "NormalAccountAction";
|
|
1262
|
+
timestamp: number;
|
|
1263
|
+
order: number;
|
|
1264
|
+
action: "receive-from-cex";
|
|
1265
|
+
source: string;
|
|
1266
|
+
evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
|
|
1267
|
+
transfers: ({
|
|
1268
|
+
from: string | undefined;
|
|
1269
|
+
to: string | undefined;
|
|
1270
|
+
price: {
|
|
1574
1271
|
cryptoCurrencyId: string;
|
|
1575
1272
|
fiatCurrencyId: string;
|
|
1576
1273
|
price: {
|
|
@@ -1579,30 +1276,30 @@ export declare const accountActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject
|
|
|
1579
1276
|
};
|
|
1580
1277
|
timestamp: number;
|
|
1581
1278
|
} | undefined;
|
|
1582
|
-
from?: string | undefined;
|
|
1583
|
-
to?: string | undefined;
|
|
1584
|
-
}, {
|
|
1585
1279
|
asset: {
|
|
1280
|
+
icon: string | undefined;
|
|
1586
1281
|
symbol: string;
|
|
1587
1282
|
type: "CryptoCurrency";
|
|
1588
1283
|
id: string;
|
|
1589
1284
|
name: string;
|
|
1590
1285
|
market: {
|
|
1591
|
-
coingeckoId
|
|
1592
|
-
marketCapUsd
|
|
1286
|
+
coingeckoId: string | undefined;
|
|
1287
|
+
marketCapUsd: {
|
|
1593
1288
|
value: bigint;
|
|
1594
1289
|
decimals: number;
|
|
1595
1290
|
} | undefined;
|
|
1596
1291
|
};
|
|
1597
1292
|
updatedAt: number;
|
|
1598
|
-
icon?: string | undefined;
|
|
1599
1293
|
};
|
|
1600
1294
|
amount: {
|
|
1601
1295
|
value: bigint;
|
|
1602
1296
|
decimals: number;
|
|
1603
1297
|
};
|
|
1604
1298
|
direction: "in";
|
|
1605
|
-
|
|
1299
|
+
} | {
|
|
1300
|
+
from: string | undefined;
|
|
1301
|
+
to: string | undefined;
|
|
1302
|
+
price: {
|
|
1606
1303
|
cryptoCurrencyId: string;
|
|
1607
1304
|
fiatCurrencyId: string;
|
|
1608
1305
|
price: {
|
|
@@ -1611,9 +1308,50 @@ export declare const accountActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject
|
|
|
1611
1308
|
};
|
|
1612
1309
|
timestamp: number;
|
|
1613
1310
|
} | undefined;
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1311
|
+
asset: {
|
|
1312
|
+
type: "Nft";
|
|
1313
|
+
id: string;
|
|
1314
|
+
};
|
|
1315
|
+
amount: {
|
|
1316
|
+
value: bigint;
|
|
1317
|
+
decimals: number;
|
|
1318
|
+
};
|
|
1319
|
+
direction: "in";
|
|
1320
|
+
})[];
|
|
1321
|
+
} | {
|
|
1322
|
+
comment: string | undefined;
|
|
1323
|
+
app: {
|
|
1324
|
+
description: string | undefined;
|
|
1325
|
+
website: string | undefined;
|
|
1326
|
+
icon: string | undefined;
|
|
1327
|
+
id: string;
|
|
1328
|
+
name: string;
|
|
1329
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
1330
|
+
} | undefined;
|
|
1331
|
+
type: "NormalAccountAction";
|
|
1332
|
+
timestamp: number;
|
|
1333
|
+
order: number;
|
|
1334
|
+
action: "revoke";
|
|
1335
|
+
source: string;
|
|
1336
|
+
evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
|
|
1337
|
+
transfers: [];
|
|
1338
|
+
} | {
|
|
1339
|
+
comment: string | undefined;
|
|
1340
|
+
app: {
|
|
1341
|
+
description: string | undefined;
|
|
1342
|
+
website: string | undefined;
|
|
1343
|
+
icon: string | undefined;
|
|
1344
|
+
id: string;
|
|
1345
|
+
name: string;
|
|
1346
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
1347
|
+
} | undefined;
|
|
1348
|
+
type: "NormalAccountAction";
|
|
1349
|
+
timestamp: number;
|
|
1350
|
+
order: number;
|
|
1351
|
+
action: "send-to-cex";
|
|
1352
|
+
source: string;
|
|
1353
|
+
evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
|
|
1354
|
+
transfers: ({
|
|
1617
1355
|
from: string | undefined;
|
|
1618
1356
|
to: string | undefined;
|
|
1619
1357
|
price: {
|
|
@@ -1644,29 +1382,49 @@ export declare const accountActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject
|
|
|
1644
1382
|
value: bigint;
|
|
1645
1383
|
decimals: number;
|
|
1646
1384
|
};
|
|
1647
|
-
direction: "
|
|
1648
|
-
}
|
|
1385
|
+
direction: "out";
|
|
1386
|
+
} | {
|
|
1387
|
+
from: string | undefined;
|
|
1388
|
+
to: string | undefined;
|
|
1389
|
+
price: {
|
|
1390
|
+
cryptoCurrencyId: string;
|
|
1391
|
+
fiatCurrencyId: string;
|
|
1392
|
+
price: {
|
|
1393
|
+
value: bigint;
|
|
1394
|
+
decimals: number;
|
|
1395
|
+
};
|
|
1396
|
+
timestamp: number;
|
|
1397
|
+
} | undefined;
|
|
1649
1398
|
asset: {
|
|
1650
|
-
|
|
1651
|
-
type: "CryptoCurrency";
|
|
1399
|
+
type: "Nft";
|
|
1652
1400
|
id: string;
|
|
1653
|
-
name: string;
|
|
1654
|
-
market: {
|
|
1655
|
-
coingeckoId?: string | undefined;
|
|
1656
|
-
marketCapUsd?: {
|
|
1657
|
-
value: bigint;
|
|
1658
|
-
decimals: number;
|
|
1659
|
-
} | undefined;
|
|
1660
|
-
};
|
|
1661
|
-
updatedAt: number;
|
|
1662
|
-
icon?: string | undefined;
|
|
1663
1401
|
};
|
|
1664
1402
|
amount: {
|
|
1665
1403
|
value: bigint;
|
|
1666
1404
|
decimals: number;
|
|
1667
1405
|
};
|
|
1668
|
-
direction: "
|
|
1669
|
-
|
|
1406
|
+
direction: "out";
|
|
1407
|
+
})[];
|
|
1408
|
+
} | {
|
|
1409
|
+
comment: string | undefined;
|
|
1410
|
+
app: {
|
|
1411
|
+
description: string | undefined;
|
|
1412
|
+
website: string | undefined;
|
|
1413
|
+
icon: string | undefined;
|
|
1414
|
+
id: string;
|
|
1415
|
+
name: string;
|
|
1416
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
1417
|
+
} | undefined;
|
|
1418
|
+
type: "NormalAccountAction";
|
|
1419
|
+
timestamp: number;
|
|
1420
|
+
order: number;
|
|
1421
|
+
action: "spam";
|
|
1422
|
+
source: string;
|
|
1423
|
+
evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
|
|
1424
|
+
transfers: ({
|
|
1425
|
+
from: string | undefined;
|
|
1426
|
+
to: string | undefined;
|
|
1427
|
+
price: {
|
|
1670
1428
|
cryptoCurrencyId: string;
|
|
1671
1429
|
fiatCurrencyId: string;
|
|
1672
1430
|
price: {
|
|
@@ -1675,74 +1433,30 @@ export declare const accountActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject
|
|
|
1675
1433
|
};
|
|
1676
1434
|
timestamp: number;
|
|
1677
1435
|
} | undefined;
|
|
1678
|
-
from?: string | undefined;
|
|
1679
|
-
to?: string | undefined;
|
|
1680
|
-
}>, z.ZodEffects<z.ZodObject<{
|
|
1681
|
-
price: z.ZodOptional<z.ZodObject<{
|
|
1682
|
-
cryptoCurrencyId: z.ZodString;
|
|
1683
|
-
fiatCurrencyId: z.ZodString;
|
|
1684
|
-
price: z.ZodObject<{
|
|
1685
|
-
value: z.ZodBigInt;
|
|
1686
|
-
decimals: z.ZodNumber;
|
|
1687
|
-
}, "strip", z.ZodTypeAny, {
|
|
1688
|
-
value: bigint;
|
|
1689
|
-
decimals: number;
|
|
1690
|
-
}, {
|
|
1691
|
-
value: bigint;
|
|
1692
|
-
decimals: number;
|
|
1693
|
-
}>;
|
|
1694
|
-
timestamp: z.ZodNumber;
|
|
1695
|
-
}, "strip", z.ZodTypeAny, {
|
|
1696
|
-
cryptoCurrencyId: string;
|
|
1697
|
-
fiatCurrencyId: string;
|
|
1698
|
-
price: {
|
|
1699
|
-
value: bigint;
|
|
1700
|
-
decimals: number;
|
|
1701
|
-
};
|
|
1702
|
-
timestamp: number;
|
|
1703
|
-
}, {
|
|
1704
|
-
cryptoCurrencyId: string;
|
|
1705
|
-
fiatCurrencyId: string;
|
|
1706
|
-
price: {
|
|
1707
|
-
value: bigint;
|
|
1708
|
-
decimals: number;
|
|
1709
|
-
};
|
|
1710
|
-
timestamp: number;
|
|
1711
|
-
}>>;
|
|
1712
|
-
from: z.ZodOptional<z.ZodString>;
|
|
1713
|
-
to: z.ZodOptional<z.ZodString>;
|
|
1714
|
-
amount: z.ZodObject<{
|
|
1715
|
-
value: z.ZodBigInt;
|
|
1716
|
-
decimals: z.ZodNumber;
|
|
1717
|
-
}, "strip", z.ZodTypeAny, {
|
|
1718
|
-
value: bigint;
|
|
1719
|
-
decimals: number;
|
|
1720
|
-
}, {
|
|
1721
|
-
value: bigint;
|
|
1722
|
-
decimals: number;
|
|
1723
|
-
}>;
|
|
1724
|
-
direction: z.ZodLiteral<"in">;
|
|
1725
|
-
asset: z.ZodObject<{
|
|
1726
|
-
type: z.ZodLiteral<"Nft">;
|
|
1727
|
-
id: z.ZodString;
|
|
1728
|
-
}, "strip", z.ZodTypeAny, {
|
|
1729
|
-
type: "Nft";
|
|
1730
|
-
id: string;
|
|
1731
|
-
}, {
|
|
1732
|
-
type: "Nft";
|
|
1733
|
-
id: string;
|
|
1734
|
-
}>;
|
|
1735
|
-
}, "strip", z.ZodTypeAny, {
|
|
1736
1436
|
asset: {
|
|
1737
|
-
|
|
1437
|
+
icon: string | undefined;
|
|
1438
|
+
symbol: string;
|
|
1439
|
+
type: "CryptoCurrency";
|
|
1738
1440
|
id: string;
|
|
1441
|
+
name: string;
|
|
1442
|
+
market: {
|
|
1443
|
+
coingeckoId: string | undefined;
|
|
1444
|
+
marketCapUsd: {
|
|
1445
|
+
value: bigint;
|
|
1446
|
+
decimals: number;
|
|
1447
|
+
} | undefined;
|
|
1448
|
+
};
|
|
1449
|
+
updatedAt: number;
|
|
1739
1450
|
};
|
|
1740
1451
|
amount: {
|
|
1741
1452
|
value: bigint;
|
|
1742
1453
|
decimals: number;
|
|
1743
1454
|
};
|
|
1744
1455
|
direction: "in";
|
|
1745
|
-
|
|
1456
|
+
} | {
|
|
1457
|
+
from: string | undefined;
|
|
1458
|
+
to: string | undefined;
|
|
1459
|
+
price: {
|
|
1746
1460
|
cryptoCurrencyId: string;
|
|
1747
1461
|
fiatCurrencyId: string;
|
|
1748
1462
|
price: {
|
|
@@ -1751,9 +1465,6 @@ export declare const accountActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject
|
|
|
1751
1465
|
};
|
|
1752
1466
|
timestamp: number;
|
|
1753
1467
|
} | undefined;
|
|
1754
|
-
from?: string | undefined;
|
|
1755
|
-
to?: string | undefined;
|
|
1756
|
-
}, {
|
|
1757
1468
|
asset: {
|
|
1758
1469
|
type: "Nft";
|
|
1759
1470
|
id: string;
|
|
@@ -1763,7 +1474,10 @@ export declare const accountActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject
|
|
|
1763
1474
|
decimals: number;
|
|
1764
1475
|
};
|
|
1765
1476
|
direction: "in";
|
|
1766
|
-
|
|
1477
|
+
} | {
|
|
1478
|
+
from: string | undefined;
|
|
1479
|
+
to: string | undefined;
|
|
1480
|
+
price: {
|
|
1767
1481
|
cryptoCurrencyId: string;
|
|
1768
1482
|
fiatCurrencyId: string;
|
|
1769
1483
|
price: {
|
|
@@ -1772,9 +1486,27 @@ export declare const accountActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject
|
|
|
1772
1486
|
};
|
|
1773
1487
|
timestamp: number;
|
|
1774
1488
|
} | undefined;
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1489
|
+
asset: {
|
|
1490
|
+
icon: string | undefined;
|
|
1491
|
+
symbol: string;
|
|
1492
|
+
type: "CryptoCurrency";
|
|
1493
|
+
id: string;
|
|
1494
|
+
name: string;
|
|
1495
|
+
market: {
|
|
1496
|
+
coingeckoId: string | undefined;
|
|
1497
|
+
marketCapUsd: {
|
|
1498
|
+
value: bigint;
|
|
1499
|
+
decimals: number;
|
|
1500
|
+
} | undefined;
|
|
1501
|
+
};
|
|
1502
|
+
updatedAt: number;
|
|
1503
|
+
};
|
|
1504
|
+
amount: {
|
|
1505
|
+
value: bigint;
|
|
1506
|
+
decimals: number;
|
|
1507
|
+
};
|
|
1508
|
+
direction: "out";
|
|
1509
|
+
} | {
|
|
1778
1510
|
from: string | undefined;
|
|
1779
1511
|
to: string | undefined;
|
|
1780
1512
|
price: {
|
|
@@ -1794,18 +1526,28 @@ export declare const accountActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject
|
|
|
1794
1526
|
value: bigint;
|
|
1795
1527
|
decimals: number;
|
|
1796
1528
|
};
|
|
1797
|
-
direction: "
|
|
1798
|
-
}
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1529
|
+
direction: "out";
|
|
1530
|
+
})[];
|
|
1531
|
+
} | {
|
|
1532
|
+
comment: string | undefined;
|
|
1533
|
+
app: {
|
|
1534
|
+
description: string | undefined;
|
|
1535
|
+
website: string | undefined;
|
|
1536
|
+
icon: string | undefined;
|
|
1537
|
+
id: string;
|
|
1538
|
+
name: string;
|
|
1539
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
1540
|
+
} | undefined;
|
|
1541
|
+
type: "NormalAccountAction";
|
|
1542
|
+
timestamp: number;
|
|
1543
|
+
order: number;
|
|
1544
|
+
action: "atomic-arbitrage";
|
|
1545
|
+
source: string;
|
|
1546
|
+
evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
|
|
1547
|
+
transfers: ({
|
|
1548
|
+
from: string | undefined;
|
|
1549
|
+
to: string | undefined;
|
|
1550
|
+
price: {
|
|
1809
1551
|
cryptoCurrencyId: string;
|
|
1810
1552
|
fiatCurrencyId: string;
|
|
1811
1553
|
price: {
|
|
@@ -1814,155 +1556,6 @@ export declare const accountActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject
|
|
|
1814
1556
|
};
|
|
1815
1557
|
timestamp: number;
|
|
1816
1558
|
} | undefined;
|
|
1817
|
-
from?: string | undefined;
|
|
1818
|
-
to?: string | undefined;
|
|
1819
|
-
}>, z.ZodEffects<z.ZodObject<{
|
|
1820
|
-
price: z.ZodOptional<z.ZodObject<{
|
|
1821
|
-
cryptoCurrencyId: z.ZodString;
|
|
1822
|
-
fiatCurrencyId: z.ZodString;
|
|
1823
|
-
price: z.ZodObject<{
|
|
1824
|
-
value: z.ZodBigInt;
|
|
1825
|
-
decimals: z.ZodNumber;
|
|
1826
|
-
}, "strip", z.ZodTypeAny, {
|
|
1827
|
-
value: bigint;
|
|
1828
|
-
decimals: number;
|
|
1829
|
-
}, {
|
|
1830
|
-
value: bigint;
|
|
1831
|
-
decimals: number;
|
|
1832
|
-
}>;
|
|
1833
|
-
timestamp: z.ZodNumber;
|
|
1834
|
-
}, "strip", z.ZodTypeAny, {
|
|
1835
|
-
cryptoCurrencyId: string;
|
|
1836
|
-
fiatCurrencyId: string;
|
|
1837
|
-
price: {
|
|
1838
|
-
value: bigint;
|
|
1839
|
-
decimals: number;
|
|
1840
|
-
};
|
|
1841
|
-
timestamp: number;
|
|
1842
|
-
}, {
|
|
1843
|
-
cryptoCurrencyId: string;
|
|
1844
|
-
fiatCurrencyId: string;
|
|
1845
|
-
price: {
|
|
1846
|
-
value: bigint;
|
|
1847
|
-
decimals: number;
|
|
1848
|
-
};
|
|
1849
|
-
timestamp: number;
|
|
1850
|
-
}>>;
|
|
1851
|
-
from: z.ZodOptional<z.ZodString>;
|
|
1852
|
-
to: z.ZodOptional<z.ZodString>;
|
|
1853
|
-
amount: z.ZodObject<{
|
|
1854
|
-
value: z.ZodBigInt;
|
|
1855
|
-
decimals: z.ZodNumber;
|
|
1856
|
-
}, "strip", z.ZodTypeAny, {
|
|
1857
|
-
value: bigint;
|
|
1858
|
-
decimals: number;
|
|
1859
|
-
}, {
|
|
1860
|
-
value: bigint;
|
|
1861
|
-
decimals: number;
|
|
1862
|
-
}>;
|
|
1863
|
-
direction: z.ZodLiteral<"out">;
|
|
1864
|
-
asset: z.ZodEffects<z.ZodObject<{
|
|
1865
|
-
type: z.ZodLiteral<"CryptoCurrency">;
|
|
1866
|
-
id: z.ZodString;
|
|
1867
|
-
name: z.ZodString;
|
|
1868
|
-
symbol: z.ZodString;
|
|
1869
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
1870
|
-
market: z.ZodEffects<z.ZodObject<{
|
|
1871
|
-
coingeckoId: z.ZodOptional<z.ZodString>;
|
|
1872
|
-
marketCapUsd: z.ZodOptional<z.ZodObject<{
|
|
1873
|
-
value: z.ZodBigInt;
|
|
1874
|
-
decimals: z.ZodNumber;
|
|
1875
|
-
}, "strip", z.ZodTypeAny, {
|
|
1876
|
-
value: bigint;
|
|
1877
|
-
decimals: number;
|
|
1878
|
-
}, {
|
|
1879
|
-
value: bigint;
|
|
1880
|
-
decimals: number;
|
|
1881
|
-
}>>;
|
|
1882
|
-
}, "strip", z.ZodTypeAny, {
|
|
1883
|
-
coingeckoId?: string | undefined;
|
|
1884
|
-
marketCapUsd?: {
|
|
1885
|
-
value: bigint;
|
|
1886
|
-
decimals: number;
|
|
1887
|
-
} | undefined;
|
|
1888
|
-
}, {
|
|
1889
|
-
coingeckoId?: string | undefined;
|
|
1890
|
-
marketCapUsd?: {
|
|
1891
|
-
value: bigint;
|
|
1892
|
-
decimals: number;
|
|
1893
|
-
} | undefined;
|
|
1894
|
-
}>, {
|
|
1895
|
-
coingeckoId: string | undefined;
|
|
1896
|
-
marketCapUsd: {
|
|
1897
|
-
value: bigint;
|
|
1898
|
-
decimals: number;
|
|
1899
|
-
} | undefined;
|
|
1900
|
-
}, {
|
|
1901
|
-
coingeckoId?: string | undefined;
|
|
1902
|
-
marketCapUsd?: {
|
|
1903
|
-
value: bigint;
|
|
1904
|
-
decimals: number;
|
|
1905
|
-
} | undefined;
|
|
1906
|
-
}>;
|
|
1907
|
-
updatedAt: z.ZodNumber;
|
|
1908
|
-
}, "strip", z.ZodTypeAny, {
|
|
1909
|
-
symbol: string;
|
|
1910
|
-
type: "CryptoCurrency";
|
|
1911
|
-
id: string;
|
|
1912
|
-
name: string;
|
|
1913
|
-
market: {
|
|
1914
|
-
coingeckoId: string | undefined;
|
|
1915
|
-
marketCapUsd: {
|
|
1916
|
-
value: bigint;
|
|
1917
|
-
decimals: number;
|
|
1918
|
-
} | undefined;
|
|
1919
|
-
};
|
|
1920
|
-
updatedAt: number;
|
|
1921
|
-
icon?: string | undefined;
|
|
1922
|
-
}, {
|
|
1923
|
-
symbol: string;
|
|
1924
|
-
type: "CryptoCurrency";
|
|
1925
|
-
id: string;
|
|
1926
|
-
name: string;
|
|
1927
|
-
market: {
|
|
1928
|
-
coingeckoId?: string | undefined;
|
|
1929
|
-
marketCapUsd?: {
|
|
1930
|
-
value: bigint;
|
|
1931
|
-
decimals: number;
|
|
1932
|
-
} | undefined;
|
|
1933
|
-
};
|
|
1934
|
-
updatedAt: number;
|
|
1935
|
-
icon?: string | undefined;
|
|
1936
|
-
}>, {
|
|
1937
|
-
icon: string | undefined;
|
|
1938
|
-
symbol: string;
|
|
1939
|
-
type: "CryptoCurrency";
|
|
1940
|
-
id: string;
|
|
1941
|
-
name: string;
|
|
1942
|
-
market: {
|
|
1943
|
-
coingeckoId: string | undefined;
|
|
1944
|
-
marketCapUsd: {
|
|
1945
|
-
value: bigint;
|
|
1946
|
-
decimals: number;
|
|
1947
|
-
} | undefined;
|
|
1948
|
-
};
|
|
1949
|
-
updatedAt: number;
|
|
1950
|
-
}, {
|
|
1951
|
-
symbol: string;
|
|
1952
|
-
type: "CryptoCurrency";
|
|
1953
|
-
id: string;
|
|
1954
|
-
name: string;
|
|
1955
|
-
market: {
|
|
1956
|
-
coingeckoId?: string | undefined;
|
|
1957
|
-
marketCapUsd?: {
|
|
1958
|
-
value: bigint;
|
|
1959
|
-
decimals: number;
|
|
1960
|
-
} | undefined;
|
|
1961
|
-
};
|
|
1962
|
-
updatedAt: number;
|
|
1963
|
-
icon?: string | undefined;
|
|
1964
|
-
}>;
|
|
1965
|
-
}, "strip", z.ZodTypeAny, {
|
|
1966
1559
|
asset: {
|
|
1967
1560
|
icon: string | undefined;
|
|
1968
1561
|
symbol: string;
|
|
@@ -1982,8 +1575,11 @@ export declare const accountActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject
|
|
|
1982
1575
|
value: bigint;
|
|
1983
1576
|
decimals: number;
|
|
1984
1577
|
};
|
|
1985
|
-
direction: "
|
|
1986
|
-
|
|
1578
|
+
direction: "in";
|
|
1579
|
+
} | {
|
|
1580
|
+
from: string | undefined;
|
|
1581
|
+
to: string | undefined;
|
|
1582
|
+
price: {
|
|
1987
1583
|
cryptoCurrencyId: string;
|
|
1988
1584
|
fiatCurrencyId: string;
|
|
1989
1585
|
price: {
|
|
@@ -1992,30 +1588,47 @@ export declare const accountActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject
|
|
|
1992
1588
|
};
|
|
1993
1589
|
timestamp: number;
|
|
1994
1590
|
} | undefined;
|
|
1995
|
-
from?: string | undefined;
|
|
1996
|
-
to?: string | undefined;
|
|
1997
|
-
}, {
|
|
1998
1591
|
asset: {
|
|
1592
|
+
icon: string | undefined;
|
|
1999
1593
|
symbol: string;
|
|
2000
1594
|
type: "CryptoCurrency";
|
|
2001
1595
|
id: string;
|
|
2002
1596
|
name: string;
|
|
2003
1597
|
market: {
|
|
2004
|
-
coingeckoId
|
|
2005
|
-
marketCapUsd
|
|
1598
|
+
coingeckoId: string | undefined;
|
|
1599
|
+
marketCapUsd: {
|
|
2006
1600
|
value: bigint;
|
|
2007
1601
|
decimals: number;
|
|
2008
1602
|
} | undefined;
|
|
2009
1603
|
};
|
|
2010
1604
|
updatedAt: number;
|
|
2011
|
-
icon?: string | undefined;
|
|
2012
1605
|
};
|
|
2013
1606
|
amount: {
|
|
2014
1607
|
value: bigint;
|
|
2015
1608
|
decimals: number;
|
|
2016
1609
|
};
|
|
2017
1610
|
direction: "out";
|
|
2018
|
-
|
|
1611
|
+
})[];
|
|
1612
|
+
} | {
|
|
1613
|
+
comment: string | undefined;
|
|
1614
|
+
app: {
|
|
1615
|
+
description: string | undefined;
|
|
1616
|
+
website: string | undefined;
|
|
1617
|
+
icon: string | undefined;
|
|
1618
|
+
id: string;
|
|
1619
|
+
name: string;
|
|
1620
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
1621
|
+
} | undefined;
|
|
1622
|
+
type: "NormalAccountAction";
|
|
1623
|
+
timestamp: number;
|
|
1624
|
+
order: number;
|
|
1625
|
+
action: "free-mint-nft";
|
|
1626
|
+
source: string;
|
|
1627
|
+
evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
|
|
1628
|
+
transfers: {
|
|
1629
|
+
from: string | undefined;
|
|
1630
|
+
to: string | undefined;
|
|
1631
|
+
price: {
|
|
2019
1632
|
cryptoCurrencyId: string;
|
|
2020
1633
|
fiatCurrencyId: string;
|
|
2021
1634
|
price: {
|
|
@@ -2024,9 +1637,33 @@ export declare const accountActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject
|
|
|
2024
1637
|
};
|
|
2025
1638
|
timestamp: number;
|
|
2026
1639
|
} | undefined;
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
1640
|
+
asset: {
|
|
1641
|
+
type: "Nft";
|
|
1642
|
+
id: string;
|
|
1643
|
+
};
|
|
1644
|
+
amount: {
|
|
1645
|
+
value: bigint;
|
|
1646
|
+
decimals: number;
|
|
1647
|
+
};
|
|
1648
|
+
direction: "in";
|
|
1649
|
+
}[];
|
|
1650
|
+
} | {
|
|
1651
|
+
comment: string | undefined;
|
|
1652
|
+
app: {
|
|
1653
|
+
description: string | undefined;
|
|
1654
|
+
website: string | undefined;
|
|
1655
|
+
icon: string | undefined;
|
|
1656
|
+
id: string;
|
|
1657
|
+
name: string;
|
|
1658
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
1659
|
+
} | undefined;
|
|
1660
|
+
type: "NormalAccountAction";
|
|
1661
|
+
timestamp: number;
|
|
1662
|
+
order: number;
|
|
1663
|
+
action: "income";
|
|
1664
|
+
source: string;
|
|
1665
|
+
evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
|
|
1666
|
+
transfers: {
|
|
2030
1667
|
from: string | undefined;
|
|
2031
1668
|
to: string | undefined;
|
|
2032
1669
|
price: {
|
|
@@ -2052,60 +1689,1079 @@ export declare const accountActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject
|
|
|
2052
1689
|
} | undefined;
|
|
2053
1690
|
};
|
|
2054
1691
|
updatedAt: number;
|
|
2055
|
-
}
|
|
2056
|
-
|
|
2057
|
-
value: bigint;
|
|
2058
|
-
decimals: number;
|
|
2059
|
-
};
|
|
2060
|
-
direction: "out";
|
|
2061
|
-
}, {
|
|
2062
|
-
asset: {
|
|
1692
|
+
} | {
|
|
1693
|
+
icon: string | undefined;
|
|
2063
1694
|
symbol: string;
|
|
2064
|
-
type: "
|
|
2065
|
-
id:
|
|
1695
|
+
type: "FiatCurrency";
|
|
1696
|
+
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
2066
1697
|
name: string;
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
value: bigint;
|
|
2071
|
-
decimals: number;
|
|
2072
|
-
} | undefined;
|
|
2073
|
-
};
|
|
2074
|
-
updatedAt: number;
|
|
2075
|
-
icon?: string | undefined;
|
|
1698
|
+
} | {
|
|
1699
|
+
type: "Nft";
|
|
1700
|
+
id: string;
|
|
2076
1701
|
};
|
|
2077
1702
|
amount: {
|
|
2078
1703
|
value: bigint;
|
|
2079
1704
|
decimals: number;
|
|
2080
1705
|
};
|
|
2081
|
-
direction: "
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
1706
|
+
direction: "in";
|
|
1707
|
+
}[];
|
|
1708
|
+
} | {
|
|
1709
|
+
comment: string | undefined;
|
|
1710
|
+
app: {
|
|
1711
|
+
description: string | undefined;
|
|
1712
|
+
website: string | undefined;
|
|
1713
|
+
icon: string | undefined;
|
|
1714
|
+
id: string;
|
|
1715
|
+
name: string;
|
|
1716
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
1717
|
+
} | undefined;
|
|
1718
|
+
type: "NormalAccountAction";
|
|
1719
|
+
timestamp: number;
|
|
1720
|
+
order: number;
|
|
1721
|
+
action: "nft-royalty";
|
|
1722
|
+
source: string;
|
|
1723
|
+
evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
|
|
1724
|
+
transfers: ({
|
|
1725
|
+
from: string | undefined;
|
|
1726
|
+
to: string | undefined;
|
|
1727
|
+
price: {
|
|
1728
|
+
cryptoCurrencyId: string;
|
|
1729
|
+
fiatCurrencyId: string;
|
|
1730
|
+
price: {
|
|
1731
|
+
value: bigint;
|
|
1732
|
+
decimals: number;
|
|
1733
|
+
};
|
|
1734
|
+
timestamp: number;
|
|
1735
|
+
} | undefined;
|
|
1736
|
+
asset: {
|
|
1737
|
+
icon: string | undefined;
|
|
1738
|
+
symbol: string;
|
|
1739
|
+
type: "CryptoCurrency";
|
|
1740
|
+
id: string;
|
|
1741
|
+
name: string;
|
|
1742
|
+
market: {
|
|
1743
|
+
coingeckoId: string | undefined;
|
|
1744
|
+
marketCapUsd: {
|
|
1745
|
+
value: bigint;
|
|
1746
|
+
decimals: number;
|
|
1747
|
+
} | undefined;
|
|
1748
|
+
};
|
|
1749
|
+
updatedAt: number;
|
|
1750
|
+
};
|
|
1751
|
+
amount: {
|
|
1752
|
+
value: bigint;
|
|
1753
|
+
decimals: number;
|
|
1754
|
+
};
|
|
1755
|
+
direction: "in";
|
|
1756
|
+
} | {
|
|
1757
|
+
from: string | undefined;
|
|
1758
|
+
to: string | undefined;
|
|
1759
|
+
price: {
|
|
1760
|
+
cryptoCurrencyId: string;
|
|
1761
|
+
fiatCurrencyId: string;
|
|
1762
|
+
price: {
|
|
1763
|
+
value: bigint;
|
|
1764
|
+
decimals: number;
|
|
1765
|
+
};
|
|
1766
|
+
timestamp: number;
|
|
1767
|
+
} | undefined;
|
|
1768
|
+
asset: {
|
|
1769
|
+
icon: string | undefined;
|
|
1770
|
+
symbol: string;
|
|
1771
|
+
type: "FiatCurrency";
|
|
1772
|
+
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
1773
|
+
name: string;
|
|
1774
|
+
};
|
|
1775
|
+
amount: {
|
|
1776
|
+
value: bigint;
|
|
1777
|
+
decimals: number;
|
|
1778
|
+
};
|
|
1779
|
+
direction: "in";
|
|
1780
|
+
})[];
|
|
1781
|
+
} | {
|
|
1782
|
+
comment: string | undefined;
|
|
1783
|
+
app: {
|
|
1784
|
+
description: string | undefined;
|
|
1785
|
+
website: string | undefined;
|
|
1786
|
+
icon: string | undefined;
|
|
1787
|
+
id: string;
|
|
1788
|
+
name: string;
|
|
1789
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
1790
|
+
} | undefined;
|
|
1791
|
+
type: "NormalAccountAction";
|
|
1792
|
+
timestamp: number;
|
|
1793
|
+
order: number;
|
|
1794
|
+
action: "swap-income";
|
|
1795
|
+
source: string;
|
|
1796
|
+
evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
|
|
1797
|
+
transfers: ({
|
|
1798
|
+
from: string | undefined;
|
|
1799
|
+
to: string | undefined;
|
|
1800
|
+
price: {
|
|
1801
|
+
cryptoCurrencyId: string;
|
|
1802
|
+
fiatCurrencyId: string;
|
|
1803
|
+
price: {
|
|
1804
|
+
value: bigint;
|
|
1805
|
+
decimals: number;
|
|
1806
|
+
};
|
|
1807
|
+
timestamp: number;
|
|
1808
|
+
} | undefined;
|
|
1809
|
+
asset: {
|
|
1810
|
+
icon: string | undefined;
|
|
1811
|
+
symbol: string;
|
|
1812
|
+
type: "CryptoCurrency";
|
|
1813
|
+
id: string;
|
|
1814
|
+
name: string;
|
|
1815
|
+
market: {
|
|
1816
|
+
coingeckoId: string | undefined;
|
|
1817
|
+
marketCapUsd: {
|
|
1818
|
+
value: bigint;
|
|
1819
|
+
decimals: number;
|
|
1820
|
+
} | undefined;
|
|
1821
|
+
};
|
|
1822
|
+
updatedAt: number;
|
|
1823
|
+
};
|
|
1824
|
+
amount: {
|
|
1825
|
+
value: bigint;
|
|
1826
|
+
decimals: number;
|
|
1827
|
+
};
|
|
1828
|
+
direction: "in";
|
|
1829
|
+
} | {
|
|
1830
|
+
from: string | undefined;
|
|
1831
|
+
to: string | undefined;
|
|
1832
|
+
price: {
|
|
1833
|
+
cryptoCurrencyId: string;
|
|
1834
|
+
fiatCurrencyId: string;
|
|
1835
|
+
price: {
|
|
1836
|
+
value: bigint;
|
|
1837
|
+
decimals: number;
|
|
1838
|
+
};
|
|
1839
|
+
timestamp: number;
|
|
1840
|
+
} | undefined;
|
|
1841
|
+
asset: {
|
|
1842
|
+
type: "Nft";
|
|
1843
|
+
id: string;
|
|
1844
|
+
};
|
|
1845
|
+
amount: {
|
|
1846
|
+
value: bigint;
|
|
1847
|
+
decimals: number;
|
|
1848
|
+
};
|
|
1849
|
+
direction: "in";
|
|
1850
|
+
})[];
|
|
1851
|
+
} | {
|
|
1852
|
+
comment: string | undefined;
|
|
1853
|
+
app: {
|
|
1854
|
+
description: string | undefined;
|
|
1855
|
+
website: string | undefined;
|
|
1856
|
+
icon: string | undefined;
|
|
1857
|
+
id: string;
|
|
1858
|
+
name: string;
|
|
1859
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
1860
|
+
} | undefined;
|
|
1861
|
+
type: "NormalAccountAction";
|
|
1862
|
+
timestamp: number;
|
|
1863
|
+
order: number;
|
|
1864
|
+
action: "reduce";
|
|
1865
|
+
source: string;
|
|
1866
|
+
evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
|
|
1867
|
+
transfers: ({
|
|
1868
|
+
from: string | undefined;
|
|
1869
|
+
to: string | undefined;
|
|
1870
|
+
price: {
|
|
1871
|
+
cryptoCurrencyId: string;
|
|
1872
|
+
fiatCurrencyId: string;
|
|
1873
|
+
price: {
|
|
1874
|
+
value: bigint;
|
|
1875
|
+
decimals: number;
|
|
1876
|
+
};
|
|
1877
|
+
timestamp: number;
|
|
1878
|
+
} | undefined;
|
|
1879
|
+
asset: {
|
|
1880
|
+
icon: string | undefined;
|
|
1881
|
+
symbol: string;
|
|
1882
|
+
type: "CryptoCurrency";
|
|
1883
|
+
id: string;
|
|
1884
|
+
name: string;
|
|
1885
|
+
market: {
|
|
1886
|
+
coingeckoId: string | undefined;
|
|
1887
|
+
marketCapUsd: {
|
|
1888
|
+
value: bigint;
|
|
1889
|
+
decimals: number;
|
|
1890
|
+
} | undefined;
|
|
1891
|
+
};
|
|
1892
|
+
updatedAt: number;
|
|
1893
|
+
};
|
|
1894
|
+
amount: {
|
|
1895
|
+
value: bigint;
|
|
1896
|
+
decimals: number;
|
|
1897
|
+
};
|
|
1898
|
+
direction: "out";
|
|
1899
|
+
} | {
|
|
1900
|
+
from: string | undefined;
|
|
1901
|
+
to: string | undefined;
|
|
1902
|
+
price: {
|
|
1903
|
+
cryptoCurrencyId: string;
|
|
1904
|
+
fiatCurrencyId: string;
|
|
1905
|
+
price: {
|
|
1906
|
+
value: bigint;
|
|
1907
|
+
decimals: number;
|
|
1908
|
+
};
|
|
1909
|
+
timestamp: number;
|
|
1910
|
+
} | undefined;
|
|
1911
|
+
asset: {
|
|
1912
|
+
type: "Nft";
|
|
1913
|
+
id: string;
|
|
1914
|
+
};
|
|
1915
|
+
amount: {
|
|
1916
|
+
value: bigint;
|
|
1917
|
+
decimals: number;
|
|
1918
|
+
};
|
|
1919
|
+
direction: "out";
|
|
1920
|
+
})[];
|
|
1921
|
+
} | {
|
|
1922
|
+
comment: string | undefined;
|
|
1923
|
+
app: {
|
|
1924
|
+
description: string | undefined;
|
|
1925
|
+
website: string | undefined;
|
|
1926
|
+
icon: string | undefined;
|
|
1927
|
+
id: string;
|
|
1928
|
+
name: string;
|
|
1929
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
1930
|
+
} | undefined;
|
|
1931
|
+
type: "LoanAccountAction";
|
|
1932
|
+
timestamp: number;
|
|
1933
|
+
order: number;
|
|
1934
|
+
action: "repayment";
|
|
1935
|
+
source: string;
|
|
1936
|
+
evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
|
|
1937
|
+
transfers: ({
|
|
1938
|
+
from: string | undefined;
|
|
1939
|
+
to: string | undefined;
|
|
1940
|
+
price: {
|
|
1941
|
+
cryptoCurrencyId: string;
|
|
1942
|
+
fiatCurrencyId: string;
|
|
1943
|
+
price: {
|
|
1944
|
+
value: bigint;
|
|
1945
|
+
decimals: number;
|
|
1946
|
+
};
|
|
1947
|
+
timestamp: number;
|
|
1948
|
+
} | undefined;
|
|
1949
|
+
asset: {
|
|
1950
|
+
icon: string | undefined;
|
|
1951
|
+
symbol: string;
|
|
1952
|
+
type: "CryptoCurrency";
|
|
1953
|
+
id: string;
|
|
1954
|
+
name: string;
|
|
1955
|
+
market: {
|
|
1956
|
+
coingeckoId: string | undefined;
|
|
1957
|
+
marketCapUsd: {
|
|
1958
|
+
value: bigint;
|
|
1959
|
+
decimals: number;
|
|
1960
|
+
} | undefined;
|
|
1961
|
+
};
|
|
1962
|
+
updatedAt: number;
|
|
1963
|
+
};
|
|
1964
|
+
amount: {
|
|
1965
|
+
value: bigint;
|
|
1966
|
+
decimals: number;
|
|
1967
|
+
};
|
|
1968
|
+
direction: "out";
|
|
1969
|
+
} | {
|
|
1970
|
+
from: string | undefined;
|
|
1971
|
+
to: string | undefined;
|
|
1972
|
+
price: {
|
|
1973
|
+
cryptoCurrencyId: string;
|
|
1974
|
+
fiatCurrencyId: string;
|
|
1975
|
+
price: {
|
|
1976
|
+
value: bigint;
|
|
1977
|
+
decimals: number;
|
|
1978
|
+
};
|
|
1979
|
+
timestamp: number;
|
|
1980
|
+
} | undefined;
|
|
1981
|
+
asset: {
|
|
1982
|
+
type: "Nft";
|
|
1983
|
+
id: string;
|
|
1984
|
+
};
|
|
1985
|
+
amount: {
|
|
1986
|
+
value: bigint;
|
|
1987
|
+
decimals: number;
|
|
1988
|
+
};
|
|
1989
|
+
direction: "out";
|
|
1990
|
+
})[];
|
|
1991
|
+
loanId: string;
|
|
1992
|
+
} | {
|
|
1993
|
+
comment: string | undefined;
|
|
1994
|
+
app: {
|
|
1995
|
+
description: string | undefined;
|
|
1996
|
+
website: string | undefined;
|
|
1997
|
+
icon: string | undefined;
|
|
1998
|
+
id: string;
|
|
1999
|
+
name: string;
|
|
2000
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
2001
|
+
} | undefined;
|
|
2002
|
+
type: "LoanAccountAction";
|
|
2003
|
+
timestamp: number;
|
|
2004
|
+
order: number;
|
|
2005
|
+
action: "repayment-with-debt";
|
|
2006
|
+
source: string;
|
|
2007
|
+
evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
|
|
2008
|
+
transfers: ({
|
|
2009
|
+
from: string | undefined;
|
|
2010
|
+
to: string | undefined;
|
|
2011
|
+
price: {
|
|
2012
|
+
cryptoCurrencyId: string;
|
|
2013
|
+
fiatCurrencyId: string;
|
|
2014
|
+
price: {
|
|
2015
|
+
value: bigint;
|
|
2016
|
+
decimals: number;
|
|
2017
|
+
};
|
|
2018
|
+
timestamp: number;
|
|
2019
|
+
} | undefined;
|
|
2020
|
+
asset: {
|
|
2021
|
+
icon: string | undefined;
|
|
2022
|
+
symbol: string;
|
|
2023
|
+
type: "CryptoCurrency";
|
|
2024
|
+
id: string;
|
|
2025
|
+
name: string;
|
|
2026
|
+
market: {
|
|
2027
|
+
coingeckoId: string | undefined;
|
|
2028
|
+
marketCapUsd: {
|
|
2029
|
+
value: bigint;
|
|
2030
|
+
decimals: number;
|
|
2031
|
+
} | undefined;
|
|
2032
|
+
};
|
|
2033
|
+
updatedAt: number;
|
|
2034
|
+
};
|
|
2035
|
+
amount: {
|
|
2036
|
+
value: bigint;
|
|
2037
|
+
decimals: number;
|
|
2038
|
+
};
|
|
2039
|
+
direction: "in";
|
|
2040
|
+
} | {
|
|
2041
|
+
from: string | undefined;
|
|
2042
|
+
to: string | undefined;
|
|
2043
|
+
price: {
|
|
2044
|
+
cryptoCurrencyId: string;
|
|
2045
|
+
fiatCurrencyId: string;
|
|
2046
|
+
price: {
|
|
2047
|
+
value: bigint;
|
|
2048
|
+
decimals: number;
|
|
2049
|
+
};
|
|
2050
|
+
timestamp: number;
|
|
2051
|
+
} | undefined;
|
|
2052
|
+
asset: {
|
|
2053
|
+
type: "Nft";
|
|
2054
|
+
id: string;
|
|
2055
|
+
};
|
|
2056
|
+
amount: {
|
|
2057
|
+
value: bigint;
|
|
2058
|
+
decimals: number;
|
|
2059
|
+
};
|
|
2060
|
+
direction: "in";
|
|
2061
|
+
} | {
|
|
2062
|
+
from: string | undefined;
|
|
2063
|
+
to: string | undefined;
|
|
2064
|
+
price: {
|
|
2065
|
+
cryptoCurrencyId: string;
|
|
2066
|
+
fiatCurrencyId: string;
|
|
2067
|
+
price: {
|
|
2068
|
+
value: bigint;
|
|
2069
|
+
decimals: number;
|
|
2070
|
+
};
|
|
2071
|
+
timestamp: number;
|
|
2072
|
+
} | undefined;
|
|
2073
|
+
asset: {
|
|
2074
|
+
icon: string | undefined;
|
|
2075
|
+
symbol: string;
|
|
2076
|
+
type: "CryptoCurrency";
|
|
2077
|
+
id: string;
|
|
2078
|
+
name: string;
|
|
2079
|
+
market: {
|
|
2080
|
+
coingeckoId: string | undefined;
|
|
2081
|
+
marketCapUsd: {
|
|
2082
|
+
value: bigint;
|
|
2083
|
+
decimals: number;
|
|
2084
|
+
} | undefined;
|
|
2085
|
+
};
|
|
2086
|
+
updatedAt: number;
|
|
2087
|
+
};
|
|
2088
|
+
amount: {
|
|
2089
|
+
value: bigint;
|
|
2090
|
+
decimals: number;
|
|
2091
|
+
};
|
|
2092
|
+
direction: "out";
|
|
2093
|
+
} | {
|
|
2094
|
+
from: string | undefined;
|
|
2095
|
+
to: string | undefined;
|
|
2096
|
+
price: {
|
|
2097
|
+
cryptoCurrencyId: string;
|
|
2098
|
+
fiatCurrencyId: string;
|
|
2099
|
+
price: {
|
|
2100
|
+
value: bigint;
|
|
2101
|
+
decimals: number;
|
|
2102
|
+
};
|
|
2103
|
+
timestamp: number;
|
|
2104
|
+
} | undefined;
|
|
2105
|
+
asset: {
|
|
2106
|
+
type: "Nft";
|
|
2107
|
+
id: string;
|
|
2108
|
+
};
|
|
2109
|
+
amount: {
|
|
2110
|
+
value: bigint;
|
|
2111
|
+
decimals: number;
|
|
2112
|
+
};
|
|
2113
|
+
direction: "out";
|
|
2114
|
+
})[];
|
|
2115
|
+
loanId: string;
|
|
2116
|
+
} | {
|
|
2117
|
+
comment: string | undefined;
|
|
2118
|
+
app: {
|
|
2119
|
+
description: string | undefined;
|
|
2120
|
+
website: string | undefined;
|
|
2121
|
+
icon: string | undefined;
|
|
2122
|
+
id: string;
|
|
2123
|
+
name: string;
|
|
2124
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
2125
|
+
} | undefined;
|
|
2126
|
+
type: "NormalAccountAction";
|
|
2127
|
+
timestamp: number;
|
|
2128
|
+
order: number;
|
|
2129
|
+
action: "replace";
|
|
2130
|
+
source: string;
|
|
2131
|
+
evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
|
|
2132
|
+
transfers: ({
|
|
2133
|
+
from: string | undefined;
|
|
2134
|
+
to: string | undefined;
|
|
2135
|
+
price: {
|
|
2136
|
+
cryptoCurrencyId: string;
|
|
2137
|
+
fiatCurrencyId: string;
|
|
2138
|
+
price: {
|
|
2139
|
+
value: bigint;
|
|
2140
|
+
decimals: number;
|
|
2141
|
+
};
|
|
2142
|
+
timestamp: number;
|
|
2143
|
+
} | undefined;
|
|
2144
|
+
asset: {
|
|
2145
|
+
icon: string | undefined;
|
|
2146
|
+
symbol: string;
|
|
2147
|
+
type: "CryptoCurrency";
|
|
2148
|
+
id: string;
|
|
2149
|
+
name: string;
|
|
2150
|
+
market: {
|
|
2151
|
+
coingeckoId: string | undefined;
|
|
2152
|
+
marketCapUsd: {
|
|
2153
|
+
value: bigint;
|
|
2154
|
+
decimals: number;
|
|
2155
|
+
} | undefined;
|
|
2156
|
+
};
|
|
2157
|
+
updatedAt: number;
|
|
2158
|
+
};
|
|
2159
|
+
amount: {
|
|
2160
|
+
value: bigint;
|
|
2161
|
+
decimals: number;
|
|
2162
|
+
};
|
|
2163
|
+
direction: "in";
|
|
2164
|
+
} | {
|
|
2165
|
+
from: string | undefined;
|
|
2166
|
+
to: string | undefined;
|
|
2167
|
+
price: {
|
|
2168
|
+
cryptoCurrencyId: string;
|
|
2169
|
+
fiatCurrencyId: string;
|
|
2170
|
+
price: {
|
|
2171
|
+
value: bigint;
|
|
2172
|
+
decimals: number;
|
|
2173
|
+
};
|
|
2174
|
+
timestamp: number;
|
|
2175
|
+
} | undefined;
|
|
2176
|
+
asset: {
|
|
2177
|
+
type: "Nft";
|
|
2178
|
+
id: string;
|
|
2179
|
+
};
|
|
2180
|
+
amount: {
|
|
2181
|
+
value: bigint;
|
|
2182
|
+
decimals: number;
|
|
2183
|
+
};
|
|
2184
|
+
direction: "in";
|
|
2185
|
+
} | {
|
|
2186
|
+
from: string | undefined;
|
|
2187
|
+
to: string | undefined;
|
|
2188
|
+
price: {
|
|
2189
|
+
cryptoCurrencyId: string;
|
|
2190
|
+
fiatCurrencyId: string;
|
|
2191
|
+
price: {
|
|
2192
|
+
value: bigint;
|
|
2193
|
+
decimals: number;
|
|
2194
|
+
};
|
|
2195
|
+
timestamp: number;
|
|
2196
|
+
} | undefined;
|
|
2197
|
+
asset: {
|
|
2198
|
+
icon: string | undefined;
|
|
2199
|
+
symbol: string;
|
|
2200
|
+
type: "CryptoCurrency";
|
|
2201
|
+
id: string;
|
|
2202
|
+
name: string;
|
|
2203
|
+
market: {
|
|
2204
|
+
coingeckoId: string | undefined;
|
|
2205
|
+
marketCapUsd: {
|
|
2206
|
+
value: bigint;
|
|
2207
|
+
decimals: number;
|
|
2208
|
+
} | undefined;
|
|
2209
|
+
};
|
|
2210
|
+
updatedAt: number;
|
|
2211
|
+
};
|
|
2212
|
+
amount: {
|
|
2213
|
+
value: bigint;
|
|
2214
|
+
decimals: number;
|
|
2215
|
+
};
|
|
2216
|
+
direction: "out";
|
|
2217
|
+
} | {
|
|
2218
|
+
from: string | undefined;
|
|
2219
|
+
to: string | undefined;
|
|
2220
|
+
price: {
|
|
2221
|
+
cryptoCurrencyId: string;
|
|
2222
|
+
fiatCurrencyId: string;
|
|
2223
|
+
price: {
|
|
2224
|
+
value: bigint;
|
|
2225
|
+
decimals: number;
|
|
2226
|
+
};
|
|
2227
|
+
timestamp: number;
|
|
2228
|
+
} | undefined;
|
|
2229
|
+
asset: {
|
|
2230
|
+
type: "Nft";
|
|
2231
|
+
id: string;
|
|
2232
|
+
};
|
|
2233
|
+
amount: {
|
|
2234
|
+
value: bigint;
|
|
2235
|
+
decimals: number;
|
|
2236
|
+
};
|
|
2237
|
+
direction: "out";
|
|
2238
|
+
})[];
|
|
2239
|
+
} | {
|
|
2240
|
+
comment: string | undefined;
|
|
2241
|
+
app: {
|
|
2242
|
+
description: string | undefined;
|
|
2243
|
+
website: string | undefined;
|
|
2244
|
+
icon: string | undefined;
|
|
2245
|
+
id: string;
|
|
2246
|
+
name: string;
|
|
2247
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
2248
|
+
} | undefined;
|
|
2249
|
+
type: "NormalAccountAction";
|
|
2250
|
+
timestamp: number;
|
|
2251
|
+
order: number;
|
|
2252
|
+
action: "swap-nft";
|
|
2253
|
+
source: string;
|
|
2254
|
+
evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
|
|
2255
|
+
transfers: ({
|
|
2256
|
+
from: string | undefined;
|
|
2257
|
+
to: string | undefined;
|
|
2258
|
+
price: {
|
|
2259
|
+
cryptoCurrencyId: string;
|
|
2260
|
+
fiatCurrencyId: string;
|
|
2261
|
+
price: {
|
|
2262
|
+
value: bigint;
|
|
2263
|
+
decimals: number;
|
|
2264
|
+
};
|
|
2265
|
+
timestamp: number;
|
|
2266
|
+
} | undefined;
|
|
2267
|
+
asset: {
|
|
2268
|
+
type: "Nft";
|
|
2269
|
+
id: string;
|
|
2270
|
+
};
|
|
2271
|
+
amount: {
|
|
2272
|
+
value: bigint;
|
|
2273
|
+
decimals: number;
|
|
2274
|
+
};
|
|
2275
|
+
direction: "in";
|
|
2276
|
+
} | {
|
|
2277
|
+
from: string | undefined;
|
|
2278
|
+
to: string | undefined;
|
|
2279
|
+
price: {
|
|
2280
|
+
cryptoCurrencyId: string;
|
|
2281
|
+
fiatCurrencyId: string;
|
|
2282
|
+
price: {
|
|
2283
|
+
value: bigint;
|
|
2284
|
+
decimals: number;
|
|
2285
|
+
};
|
|
2286
|
+
timestamp: number;
|
|
2287
|
+
} | undefined;
|
|
2288
|
+
asset: {
|
|
2289
|
+
type: "Nft";
|
|
2290
|
+
id: string;
|
|
2291
|
+
};
|
|
2292
|
+
amount: {
|
|
2293
|
+
value: bigint;
|
|
2294
|
+
decimals: number;
|
|
2295
|
+
};
|
|
2296
|
+
direction: "out";
|
|
2297
|
+
})[];
|
|
2298
|
+
} | {
|
|
2299
|
+
comment: string | undefined;
|
|
2300
|
+
app: {
|
|
2301
|
+
description: string | undefined;
|
|
2302
|
+
website: string | undefined;
|
|
2303
|
+
icon: string | undefined;
|
|
2304
|
+
id: string;
|
|
2305
|
+
name: string;
|
|
2306
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
2307
|
+
} | undefined;
|
|
2308
|
+
type: "NormalAccountAction";
|
|
2309
|
+
timestamp: number;
|
|
2310
|
+
order: number;
|
|
2311
|
+
action: "unwrap";
|
|
2312
|
+
source: string;
|
|
2313
|
+
evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
|
|
2314
|
+
transfers: ({
|
|
2315
|
+
from: string | undefined;
|
|
2316
|
+
to: string | undefined;
|
|
2317
|
+
price: {
|
|
2318
|
+
cryptoCurrencyId: string;
|
|
2319
|
+
fiatCurrencyId: string;
|
|
2320
|
+
price: {
|
|
2321
|
+
value: bigint;
|
|
2322
|
+
decimals: number;
|
|
2323
|
+
};
|
|
2324
|
+
timestamp: number;
|
|
2325
|
+
} | undefined;
|
|
2326
|
+
asset: {
|
|
2327
|
+
icon: string | undefined;
|
|
2328
|
+
symbol: string;
|
|
2329
|
+
type: "CryptoCurrency";
|
|
2330
|
+
id: string;
|
|
2331
|
+
name: string;
|
|
2332
|
+
market: {
|
|
2333
|
+
coingeckoId: string | undefined;
|
|
2334
|
+
marketCapUsd: {
|
|
2335
|
+
value: bigint;
|
|
2336
|
+
decimals: number;
|
|
2337
|
+
} | undefined;
|
|
2338
|
+
};
|
|
2339
|
+
updatedAt: number;
|
|
2340
|
+
};
|
|
2341
|
+
amount: {
|
|
2342
|
+
value: bigint;
|
|
2343
|
+
decimals: number;
|
|
2344
|
+
};
|
|
2345
|
+
direction: "in";
|
|
2346
|
+
} | {
|
|
2347
|
+
from: string | undefined;
|
|
2348
|
+
to: string | undefined;
|
|
2349
|
+
price: {
|
|
2350
|
+
cryptoCurrencyId: string;
|
|
2351
|
+
fiatCurrencyId: string;
|
|
2352
|
+
price: {
|
|
2353
|
+
value: bigint;
|
|
2354
|
+
decimals: number;
|
|
2355
|
+
};
|
|
2356
|
+
timestamp: number;
|
|
2357
|
+
} | undefined;
|
|
2358
|
+
asset: {
|
|
2359
|
+
icon: string | undefined;
|
|
2360
|
+
symbol: string;
|
|
2361
|
+
type: "CryptoCurrency";
|
|
2362
|
+
id: string;
|
|
2363
|
+
name: string;
|
|
2364
|
+
market: {
|
|
2365
|
+
coingeckoId: string | undefined;
|
|
2366
|
+
marketCapUsd: {
|
|
2367
|
+
value: bigint;
|
|
2368
|
+
decimals: number;
|
|
2369
|
+
} | undefined;
|
|
2370
|
+
};
|
|
2371
|
+
updatedAt: number;
|
|
2372
|
+
};
|
|
2373
|
+
amount: {
|
|
2374
|
+
value: bigint;
|
|
2375
|
+
decimals: number;
|
|
2376
|
+
};
|
|
2377
|
+
direction: "out";
|
|
2378
|
+
})[];
|
|
2379
|
+
} | {
|
|
2380
|
+
comment: string | undefined;
|
|
2381
|
+
app: {
|
|
2382
|
+
description: string | undefined;
|
|
2383
|
+
website: string | undefined;
|
|
2384
|
+
icon: string | undefined;
|
|
2385
|
+
id: string;
|
|
2386
|
+
name: string;
|
|
2387
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
2388
|
+
} | undefined;
|
|
2389
|
+
type: "NormalAccountAction";
|
|
2390
|
+
timestamp: number;
|
|
2391
|
+
order: number;
|
|
2392
|
+
action: "wrap";
|
|
2393
|
+
source: string;
|
|
2394
|
+
evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
|
|
2395
|
+
transfers: ({
|
|
2396
|
+
from: string | undefined;
|
|
2397
|
+
to: string | undefined;
|
|
2398
|
+
price: {
|
|
2399
|
+
cryptoCurrencyId: string;
|
|
2400
|
+
fiatCurrencyId: string;
|
|
2401
|
+
price: {
|
|
2402
|
+
value: bigint;
|
|
2403
|
+
decimals: number;
|
|
2404
|
+
};
|
|
2405
|
+
timestamp: number;
|
|
2406
|
+
} | undefined;
|
|
2407
|
+
asset: {
|
|
2408
|
+
icon: string | undefined;
|
|
2409
|
+
symbol: string;
|
|
2410
|
+
type: "CryptoCurrency";
|
|
2411
|
+
id: string;
|
|
2412
|
+
name: string;
|
|
2413
|
+
market: {
|
|
2414
|
+
coingeckoId: string | undefined;
|
|
2415
|
+
marketCapUsd: {
|
|
2416
|
+
value: bigint;
|
|
2417
|
+
decimals: number;
|
|
2418
|
+
} | undefined;
|
|
2419
|
+
};
|
|
2420
|
+
updatedAt: number;
|
|
2421
|
+
};
|
|
2422
|
+
amount: {
|
|
2423
|
+
value: bigint;
|
|
2424
|
+
decimals: number;
|
|
2425
|
+
};
|
|
2426
|
+
direction: "in";
|
|
2427
|
+
} | {
|
|
2428
|
+
from: string | undefined;
|
|
2429
|
+
to: string | undefined;
|
|
2430
|
+
price: {
|
|
2431
|
+
cryptoCurrencyId: string;
|
|
2432
|
+
fiatCurrencyId: string;
|
|
2433
|
+
price: {
|
|
2434
|
+
value: bigint;
|
|
2435
|
+
decimals: number;
|
|
2436
|
+
};
|
|
2437
|
+
timestamp: number;
|
|
2438
|
+
} | undefined;
|
|
2439
|
+
asset: {
|
|
2440
|
+
icon: string | undefined;
|
|
2441
|
+
symbol: string;
|
|
2442
|
+
type: "CryptoCurrency";
|
|
2443
|
+
id: string;
|
|
2444
|
+
name: string;
|
|
2445
|
+
market: {
|
|
2446
|
+
coingeckoId: string | undefined;
|
|
2447
|
+
marketCapUsd: {
|
|
2448
|
+
value: bigint;
|
|
2449
|
+
decimals: number;
|
|
2450
|
+
} | undefined;
|
|
2451
|
+
};
|
|
2452
|
+
updatedAt: number;
|
|
2453
|
+
};
|
|
2454
|
+
amount: {
|
|
2455
|
+
value: bigint;
|
|
2456
|
+
decimals: number;
|
|
2457
|
+
};
|
|
2458
|
+
direction: "out";
|
|
2459
|
+
})[];
|
|
2460
|
+
} | {
|
|
2461
|
+
comment: string | undefined;
|
|
2462
|
+
app: {
|
|
2463
|
+
description: string | undefined;
|
|
2464
|
+
website: string | undefined;
|
|
2465
|
+
icon: string | undefined;
|
|
2466
|
+
id: string;
|
|
2467
|
+
name: string;
|
|
2468
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
2469
|
+
} | undefined;
|
|
2470
|
+
type: "NormalAccountAction";
|
|
2471
|
+
timestamp: number;
|
|
2472
|
+
order: number;
|
|
2473
|
+
action: "buy-crypto";
|
|
2474
|
+
source: string;
|
|
2475
|
+
evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
|
|
2476
|
+
transfers: ({
|
|
2477
|
+
from: string | undefined;
|
|
2478
|
+
to: string | undefined;
|
|
2479
|
+
price: {
|
|
2480
|
+
cryptoCurrencyId: string;
|
|
2481
|
+
fiatCurrencyId: string;
|
|
2482
|
+
price: {
|
|
2483
|
+
value: bigint;
|
|
2484
|
+
decimals: number;
|
|
2485
|
+
};
|
|
2486
|
+
timestamp: number;
|
|
2487
|
+
} | undefined;
|
|
2488
|
+
asset: {
|
|
2489
|
+
icon: string | undefined;
|
|
2490
|
+
symbol: string;
|
|
2491
|
+
type: "CryptoCurrency";
|
|
2492
|
+
id: string;
|
|
2493
|
+
name: string;
|
|
2494
|
+
market: {
|
|
2495
|
+
coingeckoId: string | undefined;
|
|
2496
|
+
marketCapUsd: {
|
|
2497
|
+
value: bigint;
|
|
2498
|
+
decimals: number;
|
|
2499
|
+
} | undefined;
|
|
2500
|
+
};
|
|
2501
|
+
updatedAt: number;
|
|
2502
|
+
};
|
|
2503
|
+
amount: {
|
|
2504
|
+
value: bigint;
|
|
2505
|
+
decimals: number;
|
|
2506
|
+
};
|
|
2507
|
+
direction: "in";
|
|
2508
|
+
} | {
|
|
2509
|
+
from: string | undefined;
|
|
2510
|
+
to: string | undefined;
|
|
2511
|
+
price: {
|
|
2512
|
+
cryptoCurrencyId: string;
|
|
2513
|
+
fiatCurrencyId: string;
|
|
2514
|
+
price: {
|
|
2515
|
+
value: bigint;
|
|
2516
|
+
decimals: number;
|
|
2517
|
+
};
|
|
2518
|
+
timestamp: number;
|
|
2519
|
+
} | undefined;
|
|
2520
|
+
asset: {
|
|
2521
|
+
icon: string | undefined;
|
|
2522
|
+
symbol: string;
|
|
2523
|
+
type: "FiatCurrency";
|
|
2524
|
+
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
2525
|
+
name: string;
|
|
2526
|
+
};
|
|
2527
|
+
amount: {
|
|
2528
|
+
value: bigint;
|
|
2529
|
+
decimals: number;
|
|
2530
|
+
};
|
|
2531
|
+
direction: "out";
|
|
2532
|
+
})[];
|
|
2533
|
+
} | {
|
|
2534
|
+
comment: string | undefined;
|
|
2535
|
+
app: {
|
|
2536
|
+
description: string | undefined;
|
|
2537
|
+
website: string | undefined;
|
|
2538
|
+
icon: string | undefined;
|
|
2539
|
+
id: string;
|
|
2540
|
+
name: string;
|
|
2541
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
2542
|
+
} | undefined;
|
|
2543
|
+
type: "NormalAccountAction";
|
|
2544
|
+
timestamp: number;
|
|
2545
|
+
order: number;
|
|
2546
|
+
action: "buy-nft";
|
|
2547
|
+
source: string;
|
|
2548
|
+
evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
|
|
2549
|
+
transfers: ({
|
|
2550
|
+
from: string | undefined;
|
|
2551
|
+
to: string | undefined;
|
|
2552
|
+
price: {
|
|
2553
|
+
cryptoCurrencyId: string;
|
|
2554
|
+
fiatCurrencyId: string;
|
|
2555
|
+
price: {
|
|
2556
|
+
value: bigint;
|
|
2557
|
+
decimals: number;
|
|
2558
|
+
};
|
|
2559
|
+
timestamp: number;
|
|
2560
|
+
} | undefined;
|
|
2561
|
+
asset: {
|
|
2562
|
+
type: "Nft";
|
|
2563
|
+
id: string;
|
|
2564
|
+
};
|
|
2565
|
+
amount: {
|
|
2566
|
+
value: bigint;
|
|
2567
|
+
decimals: number;
|
|
2568
|
+
};
|
|
2569
|
+
direction: "in";
|
|
2570
|
+
} | {
|
|
2571
|
+
from: string | undefined;
|
|
2572
|
+
to: string | undefined;
|
|
2573
|
+
price: {
|
|
2574
|
+
cryptoCurrencyId: string;
|
|
2575
|
+
fiatCurrencyId: string;
|
|
2576
|
+
price: {
|
|
2577
|
+
value: bigint;
|
|
2578
|
+
decimals: number;
|
|
2579
|
+
};
|
|
2580
|
+
timestamp: number;
|
|
2581
|
+
} | undefined;
|
|
2582
|
+
asset: {
|
|
2583
|
+
icon: string | undefined;
|
|
2584
|
+
symbol: string;
|
|
2585
|
+
type: "CryptoCurrency";
|
|
2586
|
+
id: string;
|
|
2587
|
+
name: string;
|
|
2588
|
+
market: {
|
|
2589
|
+
coingeckoId: string | undefined;
|
|
2590
|
+
marketCapUsd: {
|
|
2591
|
+
value: bigint;
|
|
2592
|
+
decimals: number;
|
|
2593
|
+
} | undefined;
|
|
2594
|
+
};
|
|
2595
|
+
updatedAt: number;
|
|
2596
|
+
};
|
|
2597
|
+
amount: {
|
|
2598
|
+
value: bigint;
|
|
2599
|
+
decimals: number;
|
|
2600
|
+
};
|
|
2601
|
+
direction: "out";
|
|
2602
|
+
} | {
|
|
2603
|
+
from: string | undefined;
|
|
2604
|
+
to: string | undefined;
|
|
2605
|
+
price: {
|
|
2606
|
+
cryptoCurrencyId: string;
|
|
2607
|
+
fiatCurrencyId: string;
|
|
2608
|
+
price: {
|
|
2609
|
+
value: bigint;
|
|
2610
|
+
decimals: number;
|
|
2611
|
+
};
|
|
2612
|
+
timestamp: number;
|
|
2613
|
+
} | undefined;
|
|
2614
|
+
asset: {
|
|
2615
|
+
icon: string | undefined;
|
|
2616
|
+
symbol: string;
|
|
2617
|
+
type: "FiatCurrency";
|
|
2618
|
+
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
2619
|
+
name: string;
|
|
2620
|
+
};
|
|
2621
|
+
amount: {
|
|
2622
|
+
value: bigint;
|
|
2623
|
+
decimals: number;
|
|
2624
|
+
};
|
|
2625
|
+
direction: "out";
|
|
2626
|
+
})[];
|
|
2627
|
+
} | {
|
|
2628
|
+
comment: string | undefined;
|
|
2629
|
+
app: {
|
|
2630
|
+
description: string | undefined;
|
|
2631
|
+
website: string | undefined;
|
|
2632
|
+
icon: string | undefined;
|
|
2633
|
+
id: string;
|
|
2634
|
+
name: string;
|
|
2635
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
2636
|
+
} | undefined;
|
|
2637
|
+
type: "NormalAccountAction";
|
|
2638
|
+
timestamp: number;
|
|
2639
|
+
order: number;
|
|
2640
|
+
action: "mint-nft";
|
|
2641
|
+
source: string;
|
|
2642
|
+
evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
|
|
2643
|
+
transfers: ({
|
|
2644
|
+
from: string | undefined;
|
|
2645
|
+
to: string | undefined;
|
|
2646
|
+
price: {
|
|
2647
|
+
cryptoCurrencyId: string;
|
|
2648
|
+
fiatCurrencyId: string;
|
|
2649
|
+
price: {
|
|
2650
|
+
value: bigint;
|
|
2651
|
+
decimals: number;
|
|
2652
|
+
};
|
|
2653
|
+
timestamp: number;
|
|
2654
|
+
} | undefined;
|
|
2655
|
+
asset: {
|
|
2656
|
+
type: "Nft";
|
|
2657
|
+
id: string;
|
|
2658
|
+
};
|
|
2659
|
+
amount: {
|
|
2660
|
+
value: bigint;
|
|
2661
|
+
decimals: number;
|
|
2662
|
+
};
|
|
2663
|
+
direction: "in";
|
|
2664
|
+
} | {
|
|
2665
|
+
from: string | undefined;
|
|
2666
|
+
to: string | undefined;
|
|
2667
|
+
price: {
|
|
2668
|
+
cryptoCurrencyId: string;
|
|
2669
|
+
fiatCurrencyId: string;
|
|
2670
|
+
price: {
|
|
2671
|
+
value: bigint;
|
|
2672
|
+
decimals: number;
|
|
2673
|
+
};
|
|
2674
|
+
timestamp: number;
|
|
2675
|
+
} | undefined;
|
|
2676
|
+
asset: {
|
|
2677
|
+
icon: string | undefined;
|
|
2678
|
+
symbol: string;
|
|
2679
|
+
type: "CryptoCurrency";
|
|
2680
|
+
id: string;
|
|
2681
|
+
name: string;
|
|
2682
|
+
market: {
|
|
2683
|
+
coingeckoId: string | undefined;
|
|
2684
|
+
marketCapUsd: {
|
|
2685
|
+
value: bigint;
|
|
2686
|
+
decimals: number;
|
|
2687
|
+
} | undefined;
|
|
2688
|
+
};
|
|
2689
|
+
updatedAt: number;
|
|
2690
|
+
};
|
|
2691
|
+
amount: {
|
|
2692
|
+
value: bigint;
|
|
2693
|
+
decimals: number;
|
|
2694
|
+
};
|
|
2695
|
+
direction: "out";
|
|
2696
|
+
} | {
|
|
2697
|
+
from: string | undefined;
|
|
2698
|
+
to: string | undefined;
|
|
2699
|
+
price: {
|
|
2700
|
+
cryptoCurrencyId: string;
|
|
2701
|
+
fiatCurrencyId: string;
|
|
2702
|
+
price: {
|
|
2703
|
+
value: bigint;
|
|
2704
|
+
decimals: number;
|
|
2705
|
+
};
|
|
2706
|
+
timestamp: number;
|
|
2707
|
+
} | undefined;
|
|
2708
|
+
asset: {
|
|
2709
|
+
icon: string | undefined;
|
|
2710
|
+
symbol: string;
|
|
2711
|
+
type: "FiatCurrency";
|
|
2712
|
+
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
2713
|
+
name: string;
|
|
2714
|
+
};
|
|
2715
|
+
amount: {
|
|
2716
|
+
value: bigint;
|
|
2717
|
+
decimals: number;
|
|
2718
|
+
};
|
|
2719
|
+
direction: "out";
|
|
2720
|
+
})[];
|
|
2721
|
+
} | {
|
|
2722
|
+
comment: string | undefined;
|
|
2723
|
+
app: {
|
|
2724
|
+
description: string | undefined;
|
|
2725
|
+
website: string | undefined;
|
|
2726
|
+
icon: string | undefined;
|
|
2727
|
+
id: string;
|
|
2728
|
+
name: string;
|
|
2729
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
2730
|
+
} | undefined;
|
|
2731
|
+
type: "NormalAccountAction";
|
|
2732
|
+
timestamp: number;
|
|
2733
|
+
order: number;
|
|
2734
|
+
action: "sell-crypto";
|
|
2735
|
+
source: string;
|
|
2736
|
+
evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
|
|
2737
|
+
transfers: ({
|
|
2738
|
+
from: string | undefined;
|
|
2739
|
+
to: string | undefined;
|
|
2740
|
+
price: {
|
|
2741
|
+
cryptoCurrencyId: string;
|
|
2742
|
+
fiatCurrencyId: string;
|
|
2743
|
+
price: {
|
|
2104
2744
|
value: bigint;
|
|
2105
2745
|
decimals: number;
|
|
2106
|
-
}
|
|
2107
|
-
timestamp:
|
|
2108
|
-
}
|
|
2746
|
+
};
|
|
2747
|
+
timestamp: number;
|
|
2748
|
+
} | undefined;
|
|
2749
|
+
asset: {
|
|
2750
|
+
icon: string | undefined;
|
|
2751
|
+
symbol: string;
|
|
2752
|
+
type: "FiatCurrency";
|
|
2753
|
+
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
2754
|
+
name: string;
|
|
2755
|
+
};
|
|
2756
|
+
amount: {
|
|
2757
|
+
value: bigint;
|
|
2758
|
+
decimals: number;
|
|
2759
|
+
};
|
|
2760
|
+
direction: "in";
|
|
2761
|
+
} | {
|
|
2762
|
+
from: string | undefined;
|
|
2763
|
+
to: string | undefined;
|
|
2764
|
+
price: {
|
|
2109
2765
|
cryptoCurrencyId: string;
|
|
2110
2766
|
fiatCurrencyId: string;
|
|
2111
2767
|
price: {
|
|
@@ -2113,7 +2769,48 @@ export declare const accountActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject
|
|
|
2113
2769
|
decimals: number;
|
|
2114
2770
|
};
|
|
2115
2771
|
timestamp: number;
|
|
2116
|
-
}
|
|
2772
|
+
} | undefined;
|
|
2773
|
+
asset: {
|
|
2774
|
+
icon: string | undefined;
|
|
2775
|
+
symbol: string;
|
|
2776
|
+
type: "CryptoCurrency";
|
|
2777
|
+
id: string;
|
|
2778
|
+
name: string;
|
|
2779
|
+
market: {
|
|
2780
|
+
coingeckoId: string | undefined;
|
|
2781
|
+
marketCapUsd: {
|
|
2782
|
+
value: bigint;
|
|
2783
|
+
decimals: number;
|
|
2784
|
+
} | undefined;
|
|
2785
|
+
};
|
|
2786
|
+
updatedAt: number;
|
|
2787
|
+
};
|
|
2788
|
+
amount: {
|
|
2789
|
+
value: bigint;
|
|
2790
|
+
decimals: number;
|
|
2791
|
+
};
|
|
2792
|
+
direction: "out";
|
|
2793
|
+
})[];
|
|
2794
|
+
} | {
|
|
2795
|
+
comment: string | undefined;
|
|
2796
|
+
app: {
|
|
2797
|
+
description: string | undefined;
|
|
2798
|
+
website: string | undefined;
|
|
2799
|
+
icon: string | undefined;
|
|
2800
|
+
id: string;
|
|
2801
|
+
name: string;
|
|
2802
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
2803
|
+
} | undefined;
|
|
2804
|
+
type: "NormalAccountAction";
|
|
2805
|
+
timestamp: number;
|
|
2806
|
+
order: number;
|
|
2807
|
+
action: "sell-nft";
|
|
2808
|
+
source: string;
|
|
2809
|
+
evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
|
|
2810
|
+
transfers: ({
|
|
2811
|
+
from: string | undefined;
|
|
2812
|
+
to: string | undefined;
|
|
2813
|
+
price: {
|
|
2117
2814
|
cryptoCurrencyId: string;
|
|
2118
2815
|
fiatCurrencyId: string;
|
|
2119
2816
|
price: {
|
|
@@ -2121,32 +2818,163 @@ export declare const accountActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject
|
|
|
2121
2818
|
decimals: number;
|
|
2122
2819
|
};
|
|
2123
2820
|
timestamp: number;
|
|
2124
|
-
}
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2821
|
+
} | undefined;
|
|
2822
|
+
asset: {
|
|
2823
|
+
icon: string | undefined;
|
|
2824
|
+
symbol: string;
|
|
2825
|
+
type: "CryptoCurrency";
|
|
2826
|
+
id: string;
|
|
2827
|
+
name: string;
|
|
2828
|
+
market: {
|
|
2829
|
+
coingeckoId: string | undefined;
|
|
2830
|
+
marketCapUsd: {
|
|
2831
|
+
value: bigint;
|
|
2832
|
+
decimals: number;
|
|
2833
|
+
} | undefined;
|
|
2834
|
+
};
|
|
2835
|
+
updatedAt: number;
|
|
2836
|
+
};
|
|
2837
|
+
amount: {
|
|
2131
2838
|
value: bigint;
|
|
2132
2839
|
decimals: number;
|
|
2133
|
-
}
|
|
2840
|
+
};
|
|
2841
|
+
direction: "in";
|
|
2842
|
+
} | {
|
|
2843
|
+
from: string | undefined;
|
|
2844
|
+
to: string | undefined;
|
|
2845
|
+
price: {
|
|
2846
|
+
cryptoCurrencyId: string;
|
|
2847
|
+
fiatCurrencyId: string;
|
|
2848
|
+
price: {
|
|
2849
|
+
value: bigint;
|
|
2850
|
+
decimals: number;
|
|
2851
|
+
};
|
|
2852
|
+
timestamp: number;
|
|
2853
|
+
} | undefined;
|
|
2854
|
+
asset: {
|
|
2855
|
+
icon: string | undefined;
|
|
2856
|
+
symbol: string;
|
|
2857
|
+
type: "FiatCurrency";
|
|
2858
|
+
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
2859
|
+
name: string;
|
|
2860
|
+
};
|
|
2861
|
+
amount: {
|
|
2134
2862
|
value: bigint;
|
|
2135
2863
|
decimals: number;
|
|
2136
|
-
}
|
|
2137
|
-
direction:
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2864
|
+
};
|
|
2865
|
+
direction: "in";
|
|
2866
|
+
} | {
|
|
2867
|
+
from: string | undefined;
|
|
2868
|
+
to: string | undefined;
|
|
2869
|
+
price: {
|
|
2870
|
+
cryptoCurrencyId: string;
|
|
2871
|
+
fiatCurrencyId: string;
|
|
2872
|
+
price: {
|
|
2873
|
+
value: bigint;
|
|
2874
|
+
decimals: number;
|
|
2875
|
+
};
|
|
2876
|
+
timestamp: number;
|
|
2877
|
+
} | undefined;
|
|
2878
|
+
asset: {
|
|
2142
2879
|
type: "Nft";
|
|
2143
2880
|
id: string;
|
|
2144
|
-
}
|
|
2881
|
+
};
|
|
2882
|
+
amount: {
|
|
2883
|
+
value: bigint;
|
|
2884
|
+
decimals: number;
|
|
2885
|
+
};
|
|
2886
|
+
direction: "out";
|
|
2887
|
+
})[];
|
|
2888
|
+
} | {
|
|
2889
|
+
comment: string | undefined;
|
|
2890
|
+
app: {
|
|
2891
|
+
description: string | undefined;
|
|
2892
|
+
website: string | undefined;
|
|
2893
|
+
icon: string | undefined;
|
|
2894
|
+
id: string;
|
|
2895
|
+
name: string;
|
|
2896
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
2897
|
+
} | undefined;
|
|
2898
|
+
type: "NormalAccountAction";
|
|
2899
|
+
timestamp: number;
|
|
2900
|
+
order: number;
|
|
2901
|
+
action: "trade";
|
|
2902
|
+
source: string;
|
|
2903
|
+
evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
|
|
2904
|
+
transfers: ({
|
|
2905
|
+
from: string | undefined;
|
|
2906
|
+
to: string | undefined;
|
|
2907
|
+
price: {
|
|
2908
|
+
cryptoCurrencyId: string;
|
|
2909
|
+
fiatCurrencyId: string;
|
|
2910
|
+
price: {
|
|
2911
|
+
value: bigint;
|
|
2912
|
+
decimals: number;
|
|
2913
|
+
};
|
|
2914
|
+
timestamp: number;
|
|
2915
|
+
} | undefined;
|
|
2916
|
+
asset: {
|
|
2917
|
+
icon: string | undefined;
|
|
2918
|
+
symbol: string;
|
|
2919
|
+
type: "CryptoCurrency";
|
|
2920
|
+
id: string;
|
|
2921
|
+
name: string;
|
|
2922
|
+
market: {
|
|
2923
|
+
coingeckoId: string | undefined;
|
|
2924
|
+
marketCapUsd: {
|
|
2925
|
+
value: bigint;
|
|
2926
|
+
decimals: number;
|
|
2927
|
+
} | undefined;
|
|
2928
|
+
};
|
|
2929
|
+
updatedAt: number;
|
|
2930
|
+
} | {
|
|
2931
|
+
icon: string | undefined;
|
|
2932
|
+
symbol: string;
|
|
2933
|
+
type: "FiatCurrency";
|
|
2934
|
+
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
2935
|
+
name: string;
|
|
2936
|
+
} | {
|
|
2145
2937
|
type: "Nft";
|
|
2146
2938
|
id: string;
|
|
2147
|
-
}
|
|
2148
|
-
|
|
2939
|
+
};
|
|
2940
|
+
amount: {
|
|
2941
|
+
value: bigint;
|
|
2942
|
+
decimals: number;
|
|
2943
|
+
};
|
|
2944
|
+
direction: "in";
|
|
2945
|
+
} | {
|
|
2946
|
+
from: string | undefined;
|
|
2947
|
+
to: string | undefined;
|
|
2948
|
+
price: {
|
|
2949
|
+
cryptoCurrencyId: string;
|
|
2950
|
+
fiatCurrencyId: string;
|
|
2951
|
+
price: {
|
|
2952
|
+
value: bigint;
|
|
2953
|
+
decimals: number;
|
|
2954
|
+
};
|
|
2955
|
+
timestamp: number;
|
|
2956
|
+
} | undefined;
|
|
2149
2957
|
asset: {
|
|
2958
|
+
icon: string | undefined;
|
|
2959
|
+
symbol: string;
|
|
2960
|
+
type: "CryptoCurrency";
|
|
2961
|
+
id: string;
|
|
2962
|
+
name: string;
|
|
2963
|
+
market: {
|
|
2964
|
+
coingeckoId: string | undefined;
|
|
2965
|
+
marketCapUsd: {
|
|
2966
|
+
value: bigint;
|
|
2967
|
+
decimals: number;
|
|
2968
|
+
} | undefined;
|
|
2969
|
+
};
|
|
2970
|
+
updatedAt: number;
|
|
2971
|
+
} | {
|
|
2972
|
+
icon: string | undefined;
|
|
2973
|
+
symbol: string;
|
|
2974
|
+
type: "FiatCurrency";
|
|
2975
|
+
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
2976
|
+
name: string;
|
|
2977
|
+
} | {
|
|
2150
2978
|
type: "Nft";
|
|
2151
2979
|
id: string;
|
|
2152
2980
|
};
|
|
@@ -2155,7 +2983,27 @@ export declare const accountActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject
|
|
|
2155
2983
|
decimals: number;
|
|
2156
2984
|
};
|
|
2157
2985
|
direction: "out";
|
|
2158
|
-
|
|
2986
|
+
})[];
|
|
2987
|
+
} | {
|
|
2988
|
+
comment: string | undefined;
|
|
2989
|
+
app: {
|
|
2990
|
+
description: string | undefined;
|
|
2991
|
+
website: string | undefined;
|
|
2992
|
+
icon: string | undefined;
|
|
2993
|
+
id: string;
|
|
2994
|
+
name: string;
|
|
2995
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
2996
|
+
} | undefined;
|
|
2997
|
+
type: "NormalAccountAction";
|
|
2998
|
+
timestamp: number;
|
|
2999
|
+
order: number;
|
|
3000
|
+
action: "swap-transfer";
|
|
3001
|
+
source: string;
|
|
3002
|
+
evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
|
|
3003
|
+
transfers: ({
|
|
3004
|
+
from: string | undefined;
|
|
3005
|
+
to: string | undefined;
|
|
3006
|
+
price: {
|
|
2159
3007
|
cryptoCurrencyId: string;
|
|
2160
3008
|
fiatCurrencyId: string;
|
|
2161
3009
|
price: {
|
|
@@ -2164,30 +3012,27 @@ export declare const accountActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject
|
|
|
2164
3012
|
};
|
|
2165
3013
|
timestamp: number;
|
|
2166
3014
|
} | undefined;
|
|
2167
|
-
from?: string | undefined;
|
|
2168
|
-
to?: string | undefined;
|
|
2169
|
-
}, {
|
|
2170
3015
|
asset: {
|
|
2171
|
-
|
|
3016
|
+
icon: string | undefined;
|
|
3017
|
+
symbol: string;
|
|
3018
|
+
type: "CryptoCurrency";
|
|
2172
3019
|
id: string;
|
|
3020
|
+
name: string;
|
|
3021
|
+
market: {
|
|
3022
|
+
coingeckoId: string | undefined;
|
|
3023
|
+
marketCapUsd: {
|
|
3024
|
+
value: bigint;
|
|
3025
|
+
decimals: number;
|
|
3026
|
+
} | undefined;
|
|
3027
|
+
};
|
|
3028
|
+
updatedAt: number;
|
|
2173
3029
|
};
|
|
2174
3030
|
amount: {
|
|
2175
3031
|
value: bigint;
|
|
2176
3032
|
decimals: number;
|
|
2177
3033
|
};
|
|
2178
3034
|
direction: "out";
|
|
2179
|
-
|
|
2180
|
-
cryptoCurrencyId: string;
|
|
2181
|
-
fiatCurrencyId: string;
|
|
2182
|
-
price: {
|
|
2183
|
-
value: bigint;
|
|
2184
|
-
decimals: number;
|
|
2185
|
-
};
|
|
2186
|
-
timestamp: number;
|
|
2187
|
-
} | undefined;
|
|
2188
|
-
from?: string | undefined;
|
|
2189
|
-
to?: string | undefined;
|
|
2190
|
-
}>, {
|
|
3035
|
+
} | {
|
|
2191
3036
|
from: string | undefined;
|
|
2192
3037
|
to: string | undefined;
|
|
2193
3038
|
price: {
|
|
@@ -2208,36 +3053,24 @@ export declare const accountActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject
|
|
|
2208
3053
|
decimals: number;
|
|
2209
3054
|
};
|
|
2210
3055
|
direction: "out";
|
|
2211
|
-
}
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
fiatCurrencyId: string;
|
|
2224
|
-
price: {
|
|
2225
|
-
value: bigint;
|
|
2226
|
-
decimals: number;
|
|
2227
|
-
};
|
|
2228
|
-
timestamp: number;
|
|
2229
|
-
} | undefined;
|
|
2230
|
-
from?: string | undefined;
|
|
2231
|
-
to?: string | undefined;
|
|
2232
|
-
}>]>, "many">;
|
|
2233
|
-
}, "strip", z.ZodTypeAny, {
|
|
2234
|
-
type: "LoanAccountAction";
|
|
3056
|
+
})[];
|
|
3057
|
+
} | {
|
|
3058
|
+
comment: string | undefined;
|
|
3059
|
+
app: {
|
|
3060
|
+
description: string | undefined;
|
|
3061
|
+
website: string | undefined;
|
|
3062
|
+
icon: string | undefined;
|
|
3063
|
+
id: string;
|
|
3064
|
+
name: string;
|
|
3065
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
3066
|
+
} | undefined;
|
|
3067
|
+
type: "NormalAccountAction";
|
|
2235
3068
|
timestamp: number;
|
|
2236
3069
|
order: number;
|
|
2237
|
-
action: "
|
|
3070
|
+
action: "transfer";
|
|
2238
3071
|
source: string;
|
|
2239
3072
|
evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
|
|
2240
|
-
transfers:
|
|
3073
|
+
transfers: {
|
|
2241
3074
|
from: string | undefined;
|
|
2242
3075
|
to: string | undefined;
|
|
2243
3076
|
price: {
|
|
@@ -2263,13 +3096,39 @@ export declare const accountActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject
|
|
|
2263
3096
|
} | undefined;
|
|
2264
3097
|
};
|
|
2265
3098
|
updatedAt: number;
|
|
3099
|
+
} | {
|
|
3100
|
+
icon: string | undefined;
|
|
3101
|
+
symbol: string;
|
|
3102
|
+
type: "FiatCurrency";
|
|
3103
|
+
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
3104
|
+
name: string;
|
|
3105
|
+
} | {
|
|
3106
|
+
type: "Nft";
|
|
3107
|
+
id: string;
|
|
2266
3108
|
};
|
|
2267
3109
|
amount: {
|
|
2268
3110
|
value: bigint;
|
|
2269
3111
|
decimals: number;
|
|
2270
3112
|
};
|
|
2271
|
-
direction: "
|
|
2272
|
-
}
|
|
3113
|
+
direction: "out";
|
|
3114
|
+
}[];
|
|
3115
|
+
} | {
|
|
3116
|
+
comment: string | undefined;
|
|
3117
|
+
app: {
|
|
3118
|
+
description: string | undefined;
|
|
3119
|
+
website: string | undefined;
|
|
3120
|
+
icon: string | undefined;
|
|
3121
|
+
id: string;
|
|
3122
|
+
name: string;
|
|
3123
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
3124
|
+
} | undefined;
|
|
3125
|
+
type: "NormalAccountAction";
|
|
3126
|
+
timestamp: number;
|
|
3127
|
+
order: number;
|
|
3128
|
+
action: "valuedown";
|
|
3129
|
+
source: string;
|
|
3130
|
+
evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
|
|
3131
|
+
transfers: {
|
|
2273
3132
|
from: string | undefined;
|
|
2274
3133
|
to: string | undefined;
|
|
2275
3134
|
price: {
|
|
@@ -2282,6 +3141,26 @@ export declare const accountActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject
|
|
|
2282
3141
|
timestamp: number;
|
|
2283
3142
|
} | undefined;
|
|
2284
3143
|
asset: {
|
|
3144
|
+
icon: string | undefined;
|
|
3145
|
+
symbol: string;
|
|
3146
|
+
type: "CryptoCurrency";
|
|
3147
|
+
id: string;
|
|
3148
|
+
name: string;
|
|
3149
|
+
market: {
|
|
3150
|
+
coingeckoId: string | undefined;
|
|
3151
|
+
marketCapUsd: {
|
|
3152
|
+
value: bigint;
|
|
3153
|
+
decimals: number;
|
|
3154
|
+
} | undefined;
|
|
3155
|
+
};
|
|
3156
|
+
updatedAt: number;
|
|
3157
|
+
} | {
|
|
3158
|
+
icon: string | undefined;
|
|
3159
|
+
symbol: string;
|
|
3160
|
+
type: "FiatCurrency";
|
|
3161
|
+
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
3162
|
+
name: string;
|
|
3163
|
+
} | {
|
|
2285
3164
|
type: "Nft";
|
|
2286
3165
|
id: string;
|
|
2287
3166
|
};
|
|
@@ -2290,7 +3169,28 @@ export declare const accountActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject
|
|
|
2290
3169
|
decimals: number;
|
|
2291
3170
|
};
|
|
2292
3171
|
direction: "in";
|
|
2293
|
-
}
|
|
3172
|
+
}[];
|
|
3173
|
+
target: {
|
|
3174
|
+
type: "Nft";
|
|
3175
|
+
id: string;
|
|
3176
|
+
};
|
|
3177
|
+
} | {
|
|
3178
|
+
comment: string | undefined;
|
|
3179
|
+
app: {
|
|
3180
|
+
description: string | undefined;
|
|
3181
|
+
website: string | undefined;
|
|
3182
|
+
icon: string | undefined;
|
|
3183
|
+
id: string;
|
|
3184
|
+
name: string;
|
|
3185
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
3186
|
+
} | undefined;
|
|
3187
|
+
type: "NormalAccountAction";
|
|
3188
|
+
timestamp: number;
|
|
3189
|
+
order: number;
|
|
3190
|
+
action: "valueup";
|
|
3191
|
+
source: string;
|
|
3192
|
+
evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
|
|
3193
|
+
transfers: {
|
|
2294
3194
|
from: string | undefined;
|
|
2295
3195
|
to: string | undefined;
|
|
2296
3196
|
price: {
|
|
@@ -2316,25 +3216,13 @@ export declare const accountActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject
|
|
|
2316
3216
|
} | undefined;
|
|
2317
3217
|
};
|
|
2318
3218
|
updatedAt: number;
|
|
2319
|
-
}
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
from: string | undefined;
|
|
2327
|
-
to: string | undefined;
|
|
2328
|
-
price: {
|
|
2329
|
-
cryptoCurrencyId: string;
|
|
2330
|
-
fiatCurrencyId: string;
|
|
2331
|
-
price: {
|
|
2332
|
-
value: bigint;
|
|
2333
|
-
decimals: number;
|
|
2334
|
-
};
|
|
2335
|
-
timestamp: number;
|
|
2336
|
-
} | undefined;
|
|
2337
|
-
asset: {
|
|
3219
|
+
} | {
|
|
3220
|
+
icon: string | undefined;
|
|
3221
|
+
symbol: string;
|
|
3222
|
+
type: "FiatCurrency";
|
|
3223
|
+
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
3224
|
+
name: string;
|
|
3225
|
+
} | {
|
|
2338
3226
|
type: "Nft";
|
|
2339
3227
|
id: string;
|
|
2340
3228
|
};
|
|
@@ -2343,10 +3231,14 @@ export declare const accountActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject
|
|
|
2343
3231
|
decimals: number;
|
|
2344
3232
|
};
|
|
2345
3233
|
direction: "out";
|
|
2346
|
-
}
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
3234
|
+
}[];
|
|
3235
|
+
target: {
|
|
3236
|
+
type: "Nft";
|
|
3237
|
+
id: string;
|
|
3238
|
+
};
|
|
3239
|
+
} | {
|
|
3240
|
+
comment: string | undefined;
|
|
3241
|
+
app: {
|
|
2350
3242
|
description: string | undefined;
|
|
2351
3243
|
website: string | undefined;
|
|
2352
3244
|
icon: string | undefined;
|
|
@@ -2354,35 +3246,48 @@ export declare const accountActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject
|
|
|
2354
3246
|
name: string;
|
|
2355
3247
|
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
2356
3248
|
} | undefined;
|
|
2357
|
-
}, {
|
|
2358
3249
|
type: "LoanAccountAction";
|
|
2359
3250
|
timestamp: number;
|
|
2360
3251
|
order: number;
|
|
2361
|
-
action: "
|
|
3252
|
+
action: "remove-liquidity";
|
|
2362
3253
|
source: string;
|
|
2363
3254
|
evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
|
|
2364
3255
|
transfers: ({
|
|
3256
|
+
from: string | undefined;
|
|
3257
|
+
to: string | undefined;
|
|
3258
|
+
price: {
|
|
3259
|
+
cryptoCurrencyId: string;
|
|
3260
|
+
fiatCurrencyId: string;
|
|
3261
|
+
price: {
|
|
3262
|
+
value: bigint;
|
|
3263
|
+
decimals: number;
|
|
3264
|
+
};
|
|
3265
|
+
timestamp: number;
|
|
3266
|
+
} | undefined;
|
|
2365
3267
|
asset: {
|
|
3268
|
+
icon: string | undefined;
|
|
2366
3269
|
symbol: string;
|
|
2367
3270
|
type: "CryptoCurrency";
|
|
2368
3271
|
id: string;
|
|
2369
3272
|
name: string;
|
|
2370
3273
|
market: {
|
|
2371
|
-
coingeckoId
|
|
2372
|
-
marketCapUsd
|
|
3274
|
+
coingeckoId: string | undefined;
|
|
3275
|
+
marketCapUsd: {
|
|
2373
3276
|
value: bigint;
|
|
2374
3277
|
decimals: number;
|
|
2375
3278
|
} | undefined;
|
|
2376
3279
|
};
|
|
2377
3280
|
updatedAt: number;
|
|
2378
|
-
icon?: string | undefined;
|
|
2379
3281
|
};
|
|
2380
3282
|
amount: {
|
|
2381
3283
|
value: bigint;
|
|
2382
3284
|
decimals: number;
|
|
2383
3285
|
};
|
|
2384
3286
|
direction: "in";
|
|
2385
|
-
|
|
3287
|
+
} | {
|
|
3288
|
+
from: string | undefined;
|
|
3289
|
+
to: string | undefined;
|
|
3290
|
+
price: {
|
|
2386
3291
|
cryptoCurrencyId: string;
|
|
2387
3292
|
fiatCurrencyId: string;
|
|
2388
3293
|
price: {
|
|
@@ -2391,9 +3296,6 @@ export declare const accountActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject
|
|
|
2391
3296
|
};
|
|
2392
3297
|
timestamp: number;
|
|
2393
3298
|
} | undefined;
|
|
2394
|
-
from?: string | undefined;
|
|
2395
|
-
to?: string | undefined;
|
|
2396
|
-
} | {
|
|
2397
3299
|
asset: {
|
|
2398
3300
|
type: "Nft";
|
|
2399
3301
|
id: string;
|
|
@@ -2403,7 +3305,10 @@ export declare const accountActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject
|
|
|
2403
3305
|
decimals: number;
|
|
2404
3306
|
};
|
|
2405
3307
|
direction: "in";
|
|
2406
|
-
|
|
3308
|
+
} | {
|
|
3309
|
+
from: string | undefined;
|
|
3310
|
+
to: string | undefined;
|
|
3311
|
+
price: {
|
|
2407
3312
|
cryptoCurrencyId: string;
|
|
2408
3313
|
fiatCurrencyId: string;
|
|
2409
3314
|
price: {
|
|
@@ -2412,30 +3317,30 @@ export declare const accountActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject
|
|
|
2412
3317
|
};
|
|
2413
3318
|
timestamp: number;
|
|
2414
3319
|
} | undefined;
|
|
2415
|
-
from?: string | undefined;
|
|
2416
|
-
to?: string | undefined;
|
|
2417
|
-
} | {
|
|
2418
3320
|
asset: {
|
|
3321
|
+
icon: string | undefined;
|
|
2419
3322
|
symbol: string;
|
|
2420
3323
|
type: "CryptoCurrency";
|
|
2421
3324
|
id: string;
|
|
2422
3325
|
name: string;
|
|
2423
3326
|
market: {
|
|
2424
|
-
coingeckoId
|
|
2425
|
-
marketCapUsd
|
|
3327
|
+
coingeckoId: string | undefined;
|
|
3328
|
+
marketCapUsd: {
|
|
2426
3329
|
value: bigint;
|
|
2427
3330
|
decimals: number;
|
|
2428
3331
|
} | undefined;
|
|
2429
3332
|
};
|
|
2430
3333
|
updatedAt: number;
|
|
2431
|
-
icon?: string | undefined;
|
|
2432
3334
|
};
|
|
2433
3335
|
amount: {
|
|
2434
3336
|
value: bigint;
|
|
2435
3337
|
decimals: number;
|
|
2436
3338
|
};
|
|
2437
3339
|
direction: "out";
|
|
2438
|
-
|
|
3340
|
+
} | {
|
|
3341
|
+
from: string | undefined;
|
|
3342
|
+
to: string | undefined;
|
|
3343
|
+
price: {
|
|
2439
3344
|
cryptoCurrencyId: string;
|
|
2440
3345
|
fiatCurrencyId: string;
|
|
2441
3346
|
price: {
|
|
@@ -2444,9 +3349,6 @@ export declare const accountActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject
|
|
|
2444
3349
|
};
|
|
2445
3350
|
timestamp: number;
|
|
2446
3351
|
} | undefined;
|
|
2447
|
-
from?: string | undefined;
|
|
2448
|
-
to?: string | undefined;
|
|
2449
|
-
} | {
|
|
2450
3352
|
asset: {
|
|
2451
3353
|
type: "Nft";
|
|
2452
3354
|
id: string;
|
|
@@ -2456,29 +3358,9 @@ export declare const accountActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject
|
|
|
2456
3358
|
decimals: number;
|
|
2457
3359
|
};
|
|
2458
3360
|
direction: "out";
|
|
2459
|
-
price?: {
|
|
2460
|
-
cryptoCurrencyId: string;
|
|
2461
|
-
fiatCurrencyId: string;
|
|
2462
|
-
price: {
|
|
2463
|
-
value: bigint;
|
|
2464
|
-
decimals: number;
|
|
2465
|
-
};
|
|
2466
|
-
timestamp: number;
|
|
2467
|
-
} | undefined;
|
|
2468
|
-
from?: string | undefined;
|
|
2469
|
-
to?: string | undefined;
|
|
2470
3361
|
})[];
|
|
2471
3362
|
loanId: string;
|
|
2472
|
-
|
|
2473
|
-
app?: {
|
|
2474
|
-
id: string;
|
|
2475
|
-
name: string;
|
|
2476
|
-
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
2477
|
-
description?: string | undefined;
|
|
2478
|
-
website?: string | undefined;
|
|
2479
|
-
icon?: string | undefined;
|
|
2480
|
-
} | undefined;
|
|
2481
|
-
}>, {
|
|
3363
|
+
} | {
|
|
2482
3364
|
comment: string | undefined;
|
|
2483
3365
|
app: {
|
|
2484
3366
|
description: string | undefined;
|
|
@@ -2491,7 +3373,7 @@ export declare const accountActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject
|
|
|
2491
3373
|
type: "LoanAccountAction";
|
|
2492
3374
|
timestamp: number;
|
|
2493
3375
|
order: number;
|
|
2494
|
-
action: "
|
|
3376
|
+
action: "unstake";
|
|
2495
3377
|
source: string;
|
|
2496
3378
|
evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
|
|
2497
3379
|
transfers: ({
|
|
@@ -2547,7 +3429,25 @@ export declare const accountActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject
|
|
|
2547
3429
|
decimals: number;
|
|
2548
3430
|
};
|
|
2549
3431
|
direction: "in";
|
|
2550
|
-
}
|
|
3432
|
+
})[];
|
|
3433
|
+
loanId: string;
|
|
3434
|
+
} | {
|
|
3435
|
+
comment: string | undefined;
|
|
3436
|
+
app: {
|
|
3437
|
+
description: string | undefined;
|
|
3438
|
+
website: string | undefined;
|
|
3439
|
+
icon: string | undefined;
|
|
3440
|
+
id: string;
|
|
3441
|
+
name: string;
|
|
3442
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
3443
|
+
} | undefined;
|
|
3444
|
+
type: "LoanAccountAction";
|
|
3445
|
+
timestamp: number;
|
|
3446
|
+
order: number;
|
|
3447
|
+
action: "withdraw";
|
|
3448
|
+
source: string;
|
|
3449
|
+
evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
|
|
3450
|
+
transfers: ({
|
|
2551
3451
|
from: string | undefined;
|
|
2552
3452
|
to: string | undefined;
|
|
2553
3453
|
price: {
|
|
@@ -2578,7 +3478,7 @@ export declare const accountActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject
|
|
|
2578
3478
|
value: bigint;
|
|
2579
3479
|
decimals: number;
|
|
2580
3480
|
};
|
|
2581
|
-
direction: "
|
|
3481
|
+
direction: "in";
|
|
2582
3482
|
} | {
|
|
2583
3483
|
from: string | undefined;
|
|
2584
3484
|
to: string | undefined;
|
|
@@ -2599,38 +3499,61 @@ export declare const accountActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject
|
|
|
2599
3499
|
value: bigint;
|
|
2600
3500
|
decimals: number;
|
|
2601
3501
|
};
|
|
2602
|
-
direction: "
|
|
3502
|
+
direction: "in";
|
|
2603
3503
|
})[];
|
|
2604
3504
|
loanId: string;
|
|
2605
|
-
}
|
|
3505
|
+
} | {
|
|
3506
|
+
comment: string | undefined;
|
|
3507
|
+
app: {
|
|
3508
|
+
description: string | undefined;
|
|
3509
|
+
website: string | undefined;
|
|
3510
|
+
icon: string | undefined;
|
|
3511
|
+
id: string;
|
|
3512
|
+
name: string;
|
|
3513
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
3514
|
+
} | undefined;
|
|
2606
3515
|
type: "LoanAccountAction";
|
|
2607
3516
|
timestamp: number;
|
|
2608
3517
|
order: number;
|
|
2609
|
-
action: "
|
|
3518
|
+
action: "withdraw-with-bond";
|
|
2610
3519
|
source: string;
|
|
2611
3520
|
evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
|
|
2612
3521
|
transfers: ({
|
|
3522
|
+
from: string | undefined;
|
|
3523
|
+
to: string | undefined;
|
|
3524
|
+
price: {
|
|
3525
|
+
cryptoCurrencyId: string;
|
|
3526
|
+
fiatCurrencyId: string;
|
|
3527
|
+
price: {
|
|
3528
|
+
value: bigint;
|
|
3529
|
+
decimals: number;
|
|
3530
|
+
};
|
|
3531
|
+
timestamp: number;
|
|
3532
|
+
} | undefined;
|
|
2613
3533
|
asset: {
|
|
3534
|
+
icon: string | undefined;
|
|
2614
3535
|
symbol: string;
|
|
2615
3536
|
type: "CryptoCurrency";
|
|
2616
3537
|
id: string;
|
|
2617
3538
|
name: string;
|
|
2618
3539
|
market: {
|
|
2619
|
-
coingeckoId
|
|
2620
|
-
marketCapUsd
|
|
3540
|
+
coingeckoId: string | undefined;
|
|
3541
|
+
marketCapUsd: {
|
|
2621
3542
|
value: bigint;
|
|
2622
3543
|
decimals: number;
|
|
2623
3544
|
} | undefined;
|
|
2624
3545
|
};
|
|
2625
3546
|
updatedAt: number;
|
|
2626
|
-
icon?: string | undefined;
|
|
2627
3547
|
};
|
|
2628
3548
|
amount: {
|
|
2629
3549
|
value: bigint;
|
|
2630
3550
|
decimals: number;
|
|
2631
3551
|
};
|
|
2632
3552
|
direction: "in";
|
|
2633
|
-
|
|
3553
|
+
} | {
|
|
3554
|
+
from: string | undefined;
|
|
3555
|
+
to: string | undefined;
|
|
3556
|
+
price: {
|
|
2634
3557
|
cryptoCurrencyId: string;
|
|
2635
3558
|
fiatCurrencyId: string;
|
|
2636
3559
|
price: {
|
|
@@ -2639,9 +3562,6 @@ export declare const accountActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject
|
|
|
2639
3562
|
};
|
|
2640
3563
|
timestamp: number;
|
|
2641
3564
|
} | undefined;
|
|
2642
|
-
from?: string | undefined;
|
|
2643
|
-
to?: string | undefined;
|
|
2644
|
-
} | {
|
|
2645
3565
|
asset: {
|
|
2646
3566
|
type: "Nft";
|
|
2647
3567
|
id: string;
|
|
@@ -2651,7 +3571,10 @@ export declare const accountActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject
|
|
|
2651
3571
|
decimals: number;
|
|
2652
3572
|
};
|
|
2653
3573
|
direction: "in";
|
|
2654
|
-
|
|
3574
|
+
} | {
|
|
3575
|
+
from: string | undefined;
|
|
3576
|
+
to: string | undefined;
|
|
3577
|
+
price: {
|
|
2655
3578
|
cryptoCurrencyId: string;
|
|
2656
3579
|
fiatCurrencyId: string;
|
|
2657
3580
|
price: {
|
|
@@ -2660,30 +3583,30 @@ export declare const accountActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject
|
|
|
2660
3583
|
};
|
|
2661
3584
|
timestamp: number;
|
|
2662
3585
|
} | undefined;
|
|
2663
|
-
from?: string | undefined;
|
|
2664
|
-
to?: string | undefined;
|
|
2665
|
-
} | {
|
|
2666
3586
|
asset: {
|
|
3587
|
+
icon: string | undefined;
|
|
2667
3588
|
symbol: string;
|
|
2668
3589
|
type: "CryptoCurrency";
|
|
2669
3590
|
id: string;
|
|
2670
3591
|
name: string;
|
|
2671
3592
|
market: {
|
|
2672
|
-
coingeckoId
|
|
2673
|
-
marketCapUsd
|
|
3593
|
+
coingeckoId: string | undefined;
|
|
3594
|
+
marketCapUsd: {
|
|
2674
3595
|
value: bigint;
|
|
2675
3596
|
decimals: number;
|
|
2676
3597
|
} | undefined;
|
|
2677
3598
|
};
|
|
2678
3599
|
updatedAt: number;
|
|
2679
|
-
icon?: string | undefined;
|
|
2680
3600
|
};
|
|
2681
3601
|
amount: {
|
|
2682
3602
|
value: bigint;
|
|
2683
3603
|
decimals: number;
|
|
2684
3604
|
};
|
|
2685
3605
|
direction: "out";
|
|
2686
|
-
|
|
3606
|
+
} | {
|
|
3607
|
+
from: string | undefined;
|
|
3608
|
+
to: string | undefined;
|
|
3609
|
+
price: {
|
|
2687
3610
|
cryptoCurrencyId: string;
|
|
2688
3611
|
fiatCurrencyId: string;
|
|
2689
3612
|
price: {
|
|
@@ -2692,9 +3615,6 @@ export declare const accountActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject
|
|
|
2692
3615
|
};
|
|
2693
3616
|
timestamp: number;
|
|
2694
3617
|
} | undefined;
|
|
2695
|
-
from?: string | undefined;
|
|
2696
|
-
to?: string | undefined;
|
|
2697
|
-
} | {
|
|
2698
3618
|
asset: {
|
|
2699
3619
|
type: "Nft";
|
|
2700
3620
|
id: string;
|
|
@@ -2704,27 +3624,8 @@ export declare const accountActionBorrowWithDebtSchema: z.ZodEffects<z.ZodObject
|
|
|
2704
3624
|
decimals: number;
|
|
2705
3625
|
};
|
|
2706
3626
|
direction: "out";
|
|
2707
|
-
price?: {
|
|
2708
|
-
cryptoCurrencyId: string;
|
|
2709
|
-
fiatCurrencyId: string;
|
|
2710
|
-
price: {
|
|
2711
|
-
value: bigint;
|
|
2712
|
-
decimals: number;
|
|
2713
|
-
};
|
|
2714
|
-
timestamp: number;
|
|
2715
|
-
} | undefined;
|
|
2716
|
-
from?: string | undefined;
|
|
2717
|
-
to?: string | undefined;
|
|
2718
3627
|
})[];
|
|
2719
3628
|
loanId: string;
|
|
2720
|
-
|
|
2721
|
-
|
|
2722
|
-
|
|
2723
|
-
name: string;
|
|
2724
|
-
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
2725
|
-
description?: string | undefined;
|
|
2726
|
-
website?: string | undefined;
|
|
2727
|
-
icon?: string | undefined;
|
|
2728
|
-
} | undefined;
|
|
2729
|
-
}>;
|
|
2730
|
-
//# sourceMappingURL=borrowWithDebt.d.ts.map
|
|
3629
|
+
})[]>;
|
|
3630
|
+
export {};
|
|
3631
|
+
//# sourceMappingURL=setAccountActionPrices.d.ts.map
|