@0xtorch/core 0.0.7 → 0.0.8
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/schemas/action.js +1 -0
- package/_cjs/actions/schemas/action.js.map +1 -1
- package/_cjs/index.js +6 -2
- package/_cjs/index.js.map +1 -1
- package/_esm/actions/schemas/action.js +2 -1
- package/_esm/actions/schemas/action.js.map +1 -1
- package/_esm/index.js +1 -1
- package/_esm/index.js.map +1 -1
- package/_types/actions/schemas/action.d.ts +783 -0
- package/_types/actions/schemas/action.d.ts.map +1 -1
- package/_types/index.d.ts +1 -1
- package/_types/index.d.ts.map +1 -1
- package/actions/schemas/action.ts +2 -0
- package/index.ts +4 -0
- package/package.json +1 -1
- package/.DS_Store +0 -0
- package/actions/.DS_Store +0 -0
- package/assets/.DS_Store +0 -0
|
@@ -51126,6 +51126,789 @@ export declare const accountActionSchema: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
|
51126
51126
|
website?: string | undefined;
|
|
51127
51127
|
icon?: string | undefined;
|
|
51128
51128
|
} | undefined;
|
|
51129
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
51130
|
+
type: z.ZodLiteral<"NormalAccountAction">;
|
|
51131
|
+
timestamp: z.ZodNumber;
|
|
51132
|
+
order: z.ZodNumber;
|
|
51133
|
+
source: z.ZodString;
|
|
51134
|
+
evidence: z.ZodUnion<[z.ZodLiteral<"contract">, z.ZodLiteral<"system-rule">, z.ZodLiteral<"user-rule">, z.ZodLiteral<"manual-check">, z.ZodLiteral<"none">]>;
|
|
51135
|
+
comment: z.ZodOptional<z.ZodString>;
|
|
51136
|
+
app: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
51137
|
+
id: z.ZodString;
|
|
51138
|
+
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">;
|
|
51139
|
+
name: z.ZodString;
|
|
51140
|
+
description: z.ZodOptional<z.ZodString>;
|
|
51141
|
+
website: z.ZodOptional<z.ZodString>;
|
|
51142
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
51143
|
+
}, "strip", z.ZodTypeAny, {
|
|
51144
|
+
id: string;
|
|
51145
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
51146
|
+
name: string;
|
|
51147
|
+
description?: string | undefined;
|
|
51148
|
+
website?: string | undefined;
|
|
51149
|
+
icon?: string | undefined;
|
|
51150
|
+
}, {
|
|
51151
|
+
id: string;
|
|
51152
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
51153
|
+
name: string;
|
|
51154
|
+
description?: string | undefined;
|
|
51155
|
+
website?: string | undefined;
|
|
51156
|
+
icon?: string | undefined;
|
|
51157
|
+
}>, {
|
|
51158
|
+
description: string | undefined;
|
|
51159
|
+
website: string | undefined;
|
|
51160
|
+
icon: string | undefined;
|
|
51161
|
+
id: string;
|
|
51162
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
51163
|
+
name: string;
|
|
51164
|
+
}, {
|
|
51165
|
+
id: string;
|
|
51166
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
51167
|
+
name: string;
|
|
51168
|
+
description?: string | undefined;
|
|
51169
|
+
website?: string | undefined;
|
|
51170
|
+
icon?: string | undefined;
|
|
51171
|
+
}>>;
|
|
51172
|
+
action: z.ZodLiteral<"nft-royalty">;
|
|
51173
|
+
transfers: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
51174
|
+
price: z.ZodOptional<z.ZodObject<{
|
|
51175
|
+
cryptoCurrencyId: z.ZodString;
|
|
51176
|
+
fiatCurrencyId: z.ZodString;
|
|
51177
|
+
price: z.ZodObject<{
|
|
51178
|
+
value: z.ZodBigInt;
|
|
51179
|
+
decimals: z.ZodNumber;
|
|
51180
|
+
}, "strip", z.ZodTypeAny, {
|
|
51181
|
+
value: bigint;
|
|
51182
|
+
decimals: number;
|
|
51183
|
+
}, {
|
|
51184
|
+
value: bigint;
|
|
51185
|
+
decimals: number;
|
|
51186
|
+
}>;
|
|
51187
|
+
timestamp: z.ZodNumber;
|
|
51188
|
+
}, "strip", z.ZodTypeAny, {
|
|
51189
|
+
cryptoCurrencyId: string;
|
|
51190
|
+
fiatCurrencyId: string;
|
|
51191
|
+
price: {
|
|
51192
|
+
value: bigint;
|
|
51193
|
+
decimals: number;
|
|
51194
|
+
};
|
|
51195
|
+
timestamp: number;
|
|
51196
|
+
}, {
|
|
51197
|
+
cryptoCurrencyId: string;
|
|
51198
|
+
fiatCurrencyId: string;
|
|
51199
|
+
price: {
|
|
51200
|
+
value: bigint;
|
|
51201
|
+
decimals: number;
|
|
51202
|
+
};
|
|
51203
|
+
timestamp: number;
|
|
51204
|
+
}>>;
|
|
51205
|
+
from: z.ZodOptional<z.ZodString>;
|
|
51206
|
+
to: z.ZodOptional<z.ZodString>;
|
|
51207
|
+
amount: z.ZodObject<{
|
|
51208
|
+
value: z.ZodBigInt;
|
|
51209
|
+
decimals: z.ZodNumber;
|
|
51210
|
+
}, "strip", z.ZodTypeAny, {
|
|
51211
|
+
value: bigint;
|
|
51212
|
+
decimals: number;
|
|
51213
|
+
}, {
|
|
51214
|
+
value: bigint;
|
|
51215
|
+
decimals: number;
|
|
51216
|
+
}>;
|
|
51217
|
+
direction: z.ZodLiteral<"in">;
|
|
51218
|
+
asset: z.ZodEffects<z.ZodObject<{
|
|
51219
|
+
type: z.ZodLiteral<"CryptoCurrency">;
|
|
51220
|
+
id: z.ZodString;
|
|
51221
|
+
name: z.ZodString;
|
|
51222
|
+
symbol: z.ZodString;
|
|
51223
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
51224
|
+
market: z.ZodEffects<z.ZodObject<{
|
|
51225
|
+
coingeckoId: z.ZodOptional<z.ZodString>;
|
|
51226
|
+
marketCapUsd: z.ZodOptional<z.ZodObject<{
|
|
51227
|
+
value: z.ZodBigInt;
|
|
51228
|
+
decimals: z.ZodNumber;
|
|
51229
|
+
}, "strip", z.ZodTypeAny, {
|
|
51230
|
+
value: bigint;
|
|
51231
|
+
decimals: number;
|
|
51232
|
+
}, {
|
|
51233
|
+
value: bigint;
|
|
51234
|
+
decimals: number;
|
|
51235
|
+
}>>;
|
|
51236
|
+
}, "strip", z.ZodTypeAny, {
|
|
51237
|
+
coingeckoId?: string | undefined;
|
|
51238
|
+
marketCapUsd?: {
|
|
51239
|
+
value: bigint;
|
|
51240
|
+
decimals: number;
|
|
51241
|
+
} | undefined;
|
|
51242
|
+
}, {
|
|
51243
|
+
coingeckoId?: string | undefined;
|
|
51244
|
+
marketCapUsd?: {
|
|
51245
|
+
value: bigint;
|
|
51246
|
+
decimals: number;
|
|
51247
|
+
} | undefined;
|
|
51248
|
+
}>, {
|
|
51249
|
+
coingeckoId: string | undefined;
|
|
51250
|
+
marketCapUsd: {
|
|
51251
|
+
value: bigint;
|
|
51252
|
+
decimals: number;
|
|
51253
|
+
} | undefined;
|
|
51254
|
+
}, {
|
|
51255
|
+
coingeckoId?: string | undefined;
|
|
51256
|
+
marketCapUsd?: {
|
|
51257
|
+
value: bigint;
|
|
51258
|
+
decimals: number;
|
|
51259
|
+
} | undefined;
|
|
51260
|
+
}>;
|
|
51261
|
+
updatedAt: z.ZodNumber;
|
|
51262
|
+
}, "strip", z.ZodTypeAny, {
|
|
51263
|
+
symbol: string;
|
|
51264
|
+
type: "CryptoCurrency";
|
|
51265
|
+
id: string;
|
|
51266
|
+
name: string;
|
|
51267
|
+
market: {
|
|
51268
|
+
coingeckoId: string | undefined;
|
|
51269
|
+
marketCapUsd: {
|
|
51270
|
+
value: bigint;
|
|
51271
|
+
decimals: number;
|
|
51272
|
+
} | undefined;
|
|
51273
|
+
};
|
|
51274
|
+
updatedAt: number;
|
|
51275
|
+
icon?: string | undefined;
|
|
51276
|
+
}, {
|
|
51277
|
+
symbol: string;
|
|
51278
|
+
type: "CryptoCurrency";
|
|
51279
|
+
id: string;
|
|
51280
|
+
name: string;
|
|
51281
|
+
market: {
|
|
51282
|
+
coingeckoId?: string | undefined;
|
|
51283
|
+
marketCapUsd?: {
|
|
51284
|
+
value: bigint;
|
|
51285
|
+
decimals: number;
|
|
51286
|
+
} | undefined;
|
|
51287
|
+
};
|
|
51288
|
+
updatedAt: number;
|
|
51289
|
+
icon?: string | undefined;
|
|
51290
|
+
}>, {
|
|
51291
|
+
icon: string | undefined;
|
|
51292
|
+
symbol: string;
|
|
51293
|
+
type: "CryptoCurrency";
|
|
51294
|
+
id: string;
|
|
51295
|
+
name: string;
|
|
51296
|
+
market: {
|
|
51297
|
+
coingeckoId: string | undefined;
|
|
51298
|
+
marketCapUsd: {
|
|
51299
|
+
value: bigint;
|
|
51300
|
+
decimals: number;
|
|
51301
|
+
} | undefined;
|
|
51302
|
+
};
|
|
51303
|
+
updatedAt: number;
|
|
51304
|
+
}, {
|
|
51305
|
+
symbol: string;
|
|
51306
|
+
type: "CryptoCurrency";
|
|
51307
|
+
id: string;
|
|
51308
|
+
name: string;
|
|
51309
|
+
market: {
|
|
51310
|
+
coingeckoId?: string | undefined;
|
|
51311
|
+
marketCapUsd?: {
|
|
51312
|
+
value: bigint;
|
|
51313
|
+
decimals: number;
|
|
51314
|
+
} | undefined;
|
|
51315
|
+
};
|
|
51316
|
+
updatedAt: number;
|
|
51317
|
+
icon?: string | undefined;
|
|
51318
|
+
}>;
|
|
51319
|
+
}, "strip", z.ZodTypeAny, {
|
|
51320
|
+
asset: {
|
|
51321
|
+
icon: string | undefined;
|
|
51322
|
+
symbol: string;
|
|
51323
|
+
type: "CryptoCurrency";
|
|
51324
|
+
id: string;
|
|
51325
|
+
name: string;
|
|
51326
|
+
market: {
|
|
51327
|
+
coingeckoId: string | undefined;
|
|
51328
|
+
marketCapUsd: {
|
|
51329
|
+
value: bigint;
|
|
51330
|
+
decimals: number;
|
|
51331
|
+
} | undefined;
|
|
51332
|
+
};
|
|
51333
|
+
updatedAt: number;
|
|
51334
|
+
};
|
|
51335
|
+
amount: {
|
|
51336
|
+
value: bigint;
|
|
51337
|
+
decimals: number;
|
|
51338
|
+
};
|
|
51339
|
+
direction: "in";
|
|
51340
|
+
price?: {
|
|
51341
|
+
cryptoCurrencyId: string;
|
|
51342
|
+
fiatCurrencyId: string;
|
|
51343
|
+
price: {
|
|
51344
|
+
value: bigint;
|
|
51345
|
+
decimals: number;
|
|
51346
|
+
};
|
|
51347
|
+
timestamp: number;
|
|
51348
|
+
} | undefined;
|
|
51349
|
+
from?: string | undefined;
|
|
51350
|
+
to?: string | undefined;
|
|
51351
|
+
}, {
|
|
51352
|
+
asset: {
|
|
51353
|
+
symbol: string;
|
|
51354
|
+
type: "CryptoCurrency";
|
|
51355
|
+
id: string;
|
|
51356
|
+
name: string;
|
|
51357
|
+
market: {
|
|
51358
|
+
coingeckoId?: string | undefined;
|
|
51359
|
+
marketCapUsd?: {
|
|
51360
|
+
value: bigint;
|
|
51361
|
+
decimals: number;
|
|
51362
|
+
} | undefined;
|
|
51363
|
+
};
|
|
51364
|
+
updatedAt: number;
|
|
51365
|
+
icon?: string | undefined;
|
|
51366
|
+
};
|
|
51367
|
+
amount: {
|
|
51368
|
+
value: bigint;
|
|
51369
|
+
decimals: number;
|
|
51370
|
+
};
|
|
51371
|
+
direction: "in";
|
|
51372
|
+
price?: {
|
|
51373
|
+
cryptoCurrencyId: string;
|
|
51374
|
+
fiatCurrencyId: string;
|
|
51375
|
+
price: {
|
|
51376
|
+
value: bigint;
|
|
51377
|
+
decimals: number;
|
|
51378
|
+
};
|
|
51379
|
+
timestamp: number;
|
|
51380
|
+
} | undefined;
|
|
51381
|
+
from?: string | undefined;
|
|
51382
|
+
to?: string | undefined;
|
|
51383
|
+
}>, {
|
|
51384
|
+
from: string | undefined;
|
|
51385
|
+
to: string | undefined;
|
|
51386
|
+
price: {
|
|
51387
|
+
cryptoCurrencyId: string;
|
|
51388
|
+
fiatCurrencyId: string;
|
|
51389
|
+
price: {
|
|
51390
|
+
value: bigint;
|
|
51391
|
+
decimals: number;
|
|
51392
|
+
};
|
|
51393
|
+
timestamp: number;
|
|
51394
|
+
} | undefined;
|
|
51395
|
+
asset: {
|
|
51396
|
+
icon: string | undefined;
|
|
51397
|
+
symbol: string;
|
|
51398
|
+
type: "CryptoCurrency";
|
|
51399
|
+
id: string;
|
|
51400
|
+
name: string;
|
|
51401
|
+
market: {
|
|
51402
|
+
coingeckoId: string | undefined;
|
|
51403
|
+
marketCapUsd: {
|
|
51404
|
+
value: bigint;
|
|
51405
|
+
decimals: number;
|
|
51406
|
+
} | undefined;
|
|
51407
|
+
};
|
|
51408
|
+
updatedAt: number;
|
|
51409
|
+
};
|
|
51410
|
+
amount: {
|
|
51411
|
+
value: bigint;
|
|
51412
|
+
decimals: number;
|
|
51413
|
+
};
|
|
51414
|
+
direction: "in";
|
|
51415
|
+
}, {
|
|
51416
|
+
asset: {
|
|
51417
|
+
symbol: string;
|
|
51418
|
+
type: "CryptoCurrency";
|
|
51419
|
+
id: string;
|
|
51420
|
+
name: string;
|
|
51421
|
+
market: {
|
|
51422
|
+
coingeckoId?: string | undefined;
|
|
51423
|
+
marketCapUsd?: {
|
|
51424
|
+
value: bigint;
|
|
51425
|
+
decimals: number;
|
|
51426
|
+
} | undefined;
|
|
51427
|
+
};
|
|
51428
|
+
updatedAt: number;
|
|
51429
|
+
icon?: string | undefined;
|
|
51430
|
+
};
|
|
51431
|
+
amount: {
|
|
51432
|
+
value: bigint;
|
|
51433
|
+
decimals: number;
|
|
51434
|
+
};
|
|
51435
|
+
direction: "in";
|
|
51436
|
+
price?: {
|
|
51437
|
+
cryptoCurrencyId: string;
|
|
51438
|
+
fiatCurrencyId: string;
|
|
51439
|
+
price: {
|
|
51440
|
+
value: bigint;
|
|
51441
|
+
decimals: number;
|
|
51442
|
+
};
|
|
51443
|
+
timestamp: number;
|
|
51444
|
+
} | undefined;
|
|
51445
|
+
from?: string | undefined;
|
|
51446
|
+
to?: string | undefined;
|
|
51447
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
51448
|
+
price: z.ZodOptional<z.ZodObject<{
|
|
51449
|
+
cryptoCurrencyId: z.ZodString;
|
|
51450
|
+
fiatCurrencyId: z.ZodString;
|
|
51451
|
+
price: z.ZodObject<{
|
|
51452
|
+
value: z.ZodBigInt;
|
|
51453
|
+
decimals: z.ZodNumber;
|
|
51454
|
+
}, "strip", z.ZodTypeAny, {
|
|
51455
|
+
value: bigint;
|
|
51456
|
+
decimals: number;
|
|
51457
|
+
}, {
|
|
51458
|
+
value: bigint;
|
|
51459
|
+
decimals: number;
|
|
51460
|
+
}>;
|
|
51461
|
+
timestamp: z.ZodNumber;
|
|
51462
|
+
}, "strip", z.ZodTypeAny, {
|
|
51463
|
+
cryptoCurrencyId: string;
|
|
51464
|
+
fiatCurrencyId: string;
|
|
51465
|
+
price: {
|
|
51466
|
+
value: bigint;
|
|
51467
|
+
decimals: number;
|
|
51468
|
+
};
|
|
51469
|
+
timestamp: number;
|
|
51470
|
+
}, {
|
|
51471
|
+
cryptoCurrencyId: string;
|
|
51472
|
+
fiatCurrencyId: string;
|
|
51473
|
+
price: {
|
|
51474
|
+
value: bigint;
|
|
51475
|
+
decimals: number;
|
|
51476
|
+
};
|
|
51477
|
+
timestamp: number;
|
|
51478
|
+
}>>;
|
|
51479
|
+
from: z.ZodOptional<z.ZodString>;
|
|
51480
|
+
to: z.ZodOptional<z.ZodString>;
|
|
51481
|
+
amount: z.ZodObject<{
|
|
51482
|
+
value: z.ZodBigInt;
|
|
51483
|
+
decimals: z.ZodNumber;
|
|
51484
|
+
}, "strip", z.ZodTypeAny, {
|
|
51485
|
+
value: bigint;
|
|
51486
|
+
decimals: number;
|
|
51487
|
+
}, {
|
|
51488
|
+
value: bigint;
|
|
51489
|
+
decimals: number;
|
|
51490
|
+
}>;
|
|
51491
|
+
direction: z.ZodLiteral<"in">;
|
|
51492
|
+
asset: z.ZodEffects<z.ZodObject<{
|
|
51493
|
+
type: z.ZodLiteral<"FiatCurrency">;
|
|
51494
|
+
id: z.ZodUnion<[z.ZodLiteral<"cny">, z.ZodLiteral<"eur">, z.ZodLiteral<"idr">, z.ZodLiteral<"jpy">, z.ZodLiteral<"krw">, z.ZodLiteral<"rub">, z.ZodLiteral<"twd">, z.ZodLiteral<"usd">]>;
|
|
51495
|
+
name: z.ZodString;
|
|
51496
|
+
symbol: z.ZodString;
|
|
51497
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
51498
|
+
}, "strip", z.ZodTypeAny, {
|
|
51499
|
+
symbol: string;
|
|
51500
|
+
type: "FiatCurrency";
|
|
51501
|
+
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
51502
|
+
name: string;
|
|
51503
|
+
icon?: string | undefined;
|
|
51504
|
+
}, {
|
|
51505
|
+
symbol: string;
|
|
51506
|
+
type: "FiatCurrency";
|
|
51507
|
+
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
51508
|
+
name: string;
|
|
51509
|
+
icon?: string | undefined;
|
|
51510
|
+
}>, {
|
|
51511
|
+
icon: string | undefined;
|
|
51512
|
+
symbol: string;
|
|
51513
|
+
type: "FiatCurrency";
|
|
51514
|
+
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
51515
|
+
name: string;
|
|
51516
|
+
}, {
|
|
51517
|
+
symbol: string;
|
|
51518
|
+
type: "FiatCurrency";
|
|
51519
|
+
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
51520
|
+
name: string;
|
|
51521
|
+
icon?: string | undefined;
|
|
51522
|
+
}>;
|
|
51523
|
+
}, "strip", z.ZodTypeAny, {
|
|
51524
|
+
asset: {
|
|
51525
|
+
icon: string | undefined;
|
|
51526
|
+
symbol: string;
|
|
51527
|
+
type: "FiatCurrency";
|
|
51528
|
+
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
51529
|
+
name: string;
|
|
51530
|
+
};
|
|
51531
|
+
amount: {
|
|
51532
|
+
value: bigint;
|
|
51533
|
+
decimals: number;
|
|
51534
|
+
};
|
|
51535
|
+
direction: "in";
|
|
51536
|
+
price?: {
|
|
51537
|
+
cryptoCurrencyId: string;
|
|
51538
|
+
fiatCurrencyId: string;
|
|
51539
|
+
price: {
|
|
51540
|
+
value: bigint;
|
|
51541
|
+
decimals: number;
|
|
51542
|
+
};
|
|
51543
|
+
timestamp: number;
|
|
51544
|
+
} | undefined;
|
|
51545
|
+
from?: string | undefined;
|
|
51546
|
+
to?: string | undefined;
|
|
51547
|
+
}, {
|
|
51548
|
+
asset: {
|
|
51549
|
+
symbol: string;
|
|
51550
|
+
type: "FiatCurrency";
|
|
51551
|
+
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
51552
|
+
name: string;
|
|
51553
|
+
icon?: string | undefined;
|
|
51554
|
+
};
|
|
51555
|
+
amount: {
|
|
51556
|
+
value: bigint;
|
|
51557
|
+
decimals: number;
|
|
51558
|
+
};
|
|
51559
|
+
direction: "in";
|
|
51560
|
+
price?: {
|
|
51561
|
+
cryptoCurrencyId: string;
|
|
51562
|
+
fiatCurrencyId: string;
|
|
51563
|
+
price: {
|
|
51564
|
+
value: bigint;
|
|
51565
|
+
decimals: number;
|
|
51566
|
+
};
|
|
51567
|
+
timestamp: number;
|
|
51568
|
+
} | undefined;
|
|
51569
|
+
from?: string | undefined;
|
|
51570
|
+
to?: string | undefined;
|
|
51571
|
+
}>, {
|
|
51572
|
+
from: string | undefined;
|
|
51573
|
+
to: string | undefined;
|
|
51574
|
+
price: {
|
|
51575
|
+
cryptoCurrencyId: string;
|
|
51576
|
+
fiatCurrencyId: string;
|
|
51577
|
+
price: {
|
|
51578
|
+
value: bigint;
|
|
51579
|
+
decimals: number;
|
|
51580
|
+
};
|
|
51581
|
+
timestamp: number;
|
|
51582
|
+
} | undefined;
|
|
51583
|
+
asset: {
|
|
51584
|
+
icon: string | undefined;
|
|
51585
|
+
symbol: string;
|
|
51586
|
+
type: "FiatCurrency";
|
|
51587
|
+
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
51588
|
+
name: string;
|
|
51589
|
+
};
|
|
51590
|
+
amount: {
|
|
51591
|
+
value: bigint;
|
|
51592
|
+
decimals: number;
|
|
51593
|
+
};
|
|
51594
|
+
direction: "in";
|
|
51595
|
+
}, {
|
|
51596
|
+
asset: {
|
|
51597
|
+
symbol: string;
|
|
51598
|
+
type: "FiatCurrency";
|
|
51599
|
+
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
51600
|
+
name: string;
|
|
51601
|
+
icon?: string | undefined;
|
|
51602
|
+
};
|
|
51603
|
+
amount: {
|
|
51604
|
+
value: bigint;
|
|
51605
|
+
decimals: number;
|
|
51606
|
+
};
|
|
51607
|
+
direction: "in";
|
|
51608
|
+
price?: {
|
|
51609
|
+
cryptoCurrencyId: string;
|
|
51610
|
+
fiatCurrencyId: string;
|
|
51611
|
+
price: {
|
|
51612
|
+
value: bigint;
|
|
51613
|
+
decimals: number;
|
|
51614
|
+
};
|
|
51615
|
+
timestamp: number;
|
|
51616
|
+
} | undefined;
|
|
51617
|
+
from?: string | undefined;
|
|
51618
|
+
to?: string | undefined;
|
|
51619
|
+
}>]>, "many">;
|
|
51620
|
+
}, "strip", z.ZodTypeAny, {
|
|
51621
|
+
type: "NormalAccountAction";
|
|
51622
|
+
timestamp: number;
|
|
51623
|
+
order: number;
|
|
51624
|
+
action: "nft-royalty";
|
|
51625
|
+
source: string;
|
|
51626
|
+
evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
|
|
51627
|
+
transfers: ({
|
|
51628
|
+
from: string | undefined;
|
|
51629
|
+
to: string | undefined;
|
|
51630
|
+
price: {
|
|
51631
|
+
cryptoCurrencyId: string;
|
|
51632
|
+
fiatCurrencyId: string;
|
|
51633
|
+
price: {
|
|
51634
|
+
value: bigint;
|
|
51635
|
+
decimals: number;
|
|
51636
|
+
};
|
|
51637
|
+
timestamp: number;
|
|
51638
|
+
} | undefined;
|
|
51639
|
+
asset: {
|
|
51640
|
+
icon: string | undefined;
|
|
51641
|
+
symbol: string;
|
|
51642
|
+
type: "CryptoCurrency";
|
|
51643
|
+
id: string;
|
|
51644
|
+
name: string;
|
|
51645
|
+
market: {
|
|
51646
|
+
coingeckoId: string | undefined;
|
|
51647
|
+
marketCapUsd: {
|
|
51648
|
+
value: bigint;
|
|
51649
|
+
decimals: number;
|
|
51650
|
+
} | undefined;
|
|
51651
|
+
};
|
|
51652
|
+
updatedAt: number;
|
|
51653
|
+
};
|
|
51654
|
+
amount: {
|
|
51655
|
+
value: bigint;
|
|
51656
|
+
decimals: number;
|
|
51657
|
+
};
|
|
51658
|
+
direction: "in";
|
|
51659
|
+
} | {
|
|
51660
|
+
from: string | undefined;
|
|
51661
|
+
to: string | undefined;
|
|
51662
|
+
price: {
|
|
51663
|
+
cryptoCurrencyId: string;
|
|
51664
|
+
fiatCurrencyId: string;
|
|
51665
|
+
price: {
|
|
51666
|
+
value: bigint;
|
|
51667
|
+
decimals: number;
|
|
51668
|
+
};
|
|
51669
|
+
timestamp: number;
|
|
51670
|
+
} | undefined;
|
|
51671
|
+
asset: {
|
|
51672
|
+
icon: string | undefined;
|
|
51673
|
+
symbol: string;
|
|
51674
|
+
type: "FiatCurrency";
|
|
51675
|
+
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
51676
|
+
name: string;
|
|
51677
|
+
};
|
|
51678
|
+
amount: {
|
|
51679
|
+
value: bigint;
|
|
51680
|
+
decimals: number;
|
|
51681
|
+
};
|
|
51682
|
+
direction: "in";
|
|
51683
|
+
})[];
|
|
51684
|
+
comment?: string | undefined;
|
|
51685
|
+
app?: {
|
|
51686
|
+
description: string | undefined;
|
|
51687
|
+
website: string | undefined;
|
|
51688
|
+
icon: string | undefined;
|
|
51689
|
+
id: string;
|
|
51690
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
51691
|
+
name: string;
|
|
51692
|
+
} | undefined;
|
|
51693
|
+
}, {
|
|
51694
|
+
type: "NormalAccountAction";
|
|
51695
|
+
timestamp: number;
|
|
51696
|
+
order: number;
|
|
51697
|
+
action: "nft-royalty";
|
|
51698
|
+
source: string;
|
|
51699
|
+
evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
|
|
51700
|
+
transfers: ({
|
|
51701
|
+
asset: {
|
|
51702
|
+
symbol: string;
|
|
51703
|
+
type: "CryptoCurrency";
|
|
51704
|
+
id: string;
|
|
51705
|
+
name: string;
|
|
51706
|
+
market: {
|
|
51707
|
+
coingeckoId?: string | undefined;
|
|
51708
|
+
marketCapUsd?: {
|
|
51709
|
+
value: bigint;
|
|
51710
|
+
decimals: number;
|
|
51711
|
+
} | undefined;
|
|
51712
|
+
};
|
|
51713
|
+
updatedAt: number;
|
|
51714
|
+
icon?: string | undefined;
|
|
51715
|
+
};
|
|
51716
|
+
amount: {
|
|
51717
|
+
value: bigint;
|
|
51718
|
+
decimals: number;
|
|
51719
|
+
};
|
|
51720
|
+
direction: "in";
|
|
51721
|
+
price?: {
|
|
51722
|
+
cryptoCurrencyId: string;
|
|
51723
|
+
fiatCurrencyId: string;
|
|
51724
|
+
price: {
|
|
51725
|
+
value: bigint;
|
|
51726
|
+
decimals: number;
|
|
51727
|
+
};
|
|
51728
|
+
timestamp: number;
|
|
51729
|
+
} | undefined;
|
|
51730
|
+
from?: string | undefined;
|
|
51731
|
+
to?: string | undefined;
|
|
51732
|
+
} | {
|
|
51733
|
+
asset: {
|
|
51734
|
+
symbol: string;
|
|
51735
|
+
type: "FiatCurrency";
|
|
51736
|
+
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
51737
|
+
name: string;
|
|
51738
|
+
icon?: string | undefined;
|
|
51739
|
+
};
|
|
51740
|
+
amount: {
|
|
51741
|
+
value: bigint;
|
|
51742
|
+
decimals: number;
|
|
51743
|
+
};
|
|
51744
|
+
direction: "in";
|
|
51745
|
+
price?: {
|
|
51746
|
+
cryptoCurrencyId: string;
|
|
51747
|
+
fiatCurrencyId: string;
|
|
51748
|
+
price: {
|
|
51749
|
+
value: bigint;
|
|
51750
|
+
decimals: number;
|
|
51751
|
+
};
|
|
51752
|
+
timestamp: number;
|
|
51753
|
+
} | undefined;
|
|
51754
|
+
from?: string | undefined;
|
|
51755
|
+
to?: string | undefined;
|
|
51756
|
+
})[];
|
|
51757
|
+
comment?: string | undefined;
|
|
51758
|
+
app?: {
|
|
51759
|
+
id: string;
|
|
51760
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
51761
|
+
name: string;
|
|
51762
|
+
description?: string | undefined;
|
|
51763
|
+
website?: string | undefined;
|
|
51764
|
+
icon?: string | undefined;
|
|
51765
|
+
} | undefined;
|
|
51766
|
+
}>, {
|
|
51767
|
+
comment: string | undefined;
|
|
51768
|
+
app: {
|
|
51769
|
+
description: string | undefined;
|
|
51770
|
+
website: string | undefined;
|
|
51771
|
+
icon: string | undefined;
|
|
51772
|
+
id: string;
|
|
51773
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
51774
|
+
name: string;
|
|
51775
|
+
} | undefined;
|
|
51776
|
+
type: "NormalAccountAction";
|
|
51777
|
+
timestamp: number;
|
|
51778
|
+
order: number;
|
|
51779
|
+
action: "nft-royalty";
|
|
51780
|
+
source: string;
|
|
51781
|
+
evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
|
|
51782
|
+
transfers: ({
|
|
51783
|
+
from: string | undefined;
|
|
51784
|
+
to: string | undefined;
|
|
51785
|
+
price: {
|
|
51786
|
+
cryptoCurrencyId: string;
|
|
51787
|
+
fiatCurrencyId: string;
|
|
51788
|
+
price: {
|
|
51789
|
+
value: bigint;
|
|
51790
|
+
decimals: number;
|
|
51791
|
+
};
|
|
51792
|
+
timestamp: number;
|
|
51793
|
+
} | undefined;
|
|
51794
|
+
asset: {
|
|
51795
|
+
icon: string | undefined;
|
|
51796
|
+
symbol: string;
|
|
51797
|
+
type: "CryptoCurrency";
|
|
51798
|
+
id: string;
|
|
51799
|
+
name: string;
|
|
51800
|
+
market: {
|
|
51801
|
+
coingeckoId: string | undefined;
|
|
51802
|
+
marketCapUsd: {
|
|
51803
|
+
value: bigint;
|
|
51804
|
+
decimals: number;
|
|
51805
|
+
} | undefined;
|
|
51806
|
+
};
|
|
51807
|
+
updatedAt: number;
|
|
51808
|
+
};
|
|
51809
|
+
amount: {
|
|
51810
|
+
value: bigint;
|
|
51811
|
+
decimals: number;
|
|
51812
|
+
};
|
|
51813
|
+
direction: "in";
|
|
51814
|
+
} | {
|
|
51815
|
+
from: string | undefined;
|
|
51816
|
+
to: string | undefined;
|
|
51817
|
+
price: {
|
|
51818
|
+
cryptoCurrencyId: string;
|
|
51819
|
+
fiatCurrencyId: string;
|
|
51820
|
+
price: {
|
|
51821
|
+
value: bigint;
|
|
51822
|
+
decimals: number;
|
|
51823
|
+
};
|
|
51824
|
+
timestamp: number;
|
|
51825
|
+
} | undefined;
|
|
51826
|
+
asset: {
|
|
51827
|
+
icon: string | undefined;
|
|
51828
|
+
symbol: string;
|
|
51829
|
+
type: "FiatCurrency";
|
|
51830
|
+
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
51831
|
+
name: string;
|
|
51832
|
+
};
|
|
51833
|
+
amount: {
|
|
51834
|
+
value: bigint;
|
|
51835
|
+
decimals: number;
|
|
51836
|
+
};
|
|
51837
|
+
direction: "in";
|
|
51838
|
+
})[];
|
|
51839
|
+
}, {
|
|
51840
|
+
type: "NormalAccountAction";
|
|
51841
|
+
timestamp: number;
|
|
51842
|
+
order: number;
|
|
51843
|
+
action: "nft-royalty";
|
|
51844
|
+
source: string;
|
|
51845
|
+
evidence: "none" | "contract" | "system-rule" | "user-rule" | "manual-check";
|
|
51846
|
+
transfers: ({
|
|
51847
|
+
asset: {
|
|
51848
|
+
symbol: string;
|
|
51849
|
+
type: "CryptoCurrency";
|
|
51850
|
+
id: string;
|
|
51851
|
+
name: string;
|
|
51852
|
+
market: {
|
|
51853
|
+
coingeckoId?: string | undefined;
|
|
51854
|
+
marketCapUsd?: {
|
|
51855
|
+
value: bigint;
|
|
51856
|
+
decimals: number;
|
|
51857
|
+
} | undefined;
|
|
51858
|
+
};
|
|
51859
|
+
updatedAt: number;
|
|
51860
|
+
icon?: string | undefined;
|
|
51861
|
+
};
|
|
51862
|
+
amount: {
|
|
51863
|
+
value: bigint;
|
|
51864
|
+
decimals: number;
|
|
51865
|
+
};
|
|
51866
|
+
direction: "in";
|
|
51867
|
+
price?: {
|
|
51868
|
+
cryptoCurrencyId: string;
|
|
51869
|
+
fiatCurrencyId: string;
|
|
51870
|
+
price: {
|
|
51871
|
+
value: bigint;
|
|
51872
|
+
decimals: number;
|
|
51873
|
+
};
|
|
51874
|
+
timestamp: number;
|
|
51875
|
+
} | undefined;
|
|
51876
|
+
from?: string | undefined;
|
|
51877
|
+
to?: string | undefined;
|
|
51878
|
+
} | {
|
|
51879
|
+
asset: {
|
|
51880
|
+
symbol: string;
|
|
51881
|
+
type: "FiatCurrency";
|
|
51882
|
+
id: "cny" | "eur" | "idr" | "jpy" | "krw" | "rub" | "twd" | "usd";
|
|
51883
|
+
name: string;
|
|
51884
|
+
icon?: string | undefined;
|
|
51885
|
+
};
|
|
51886
|
+
amount: {
|
|
51887
|
+
value: bigint;
|
|
51888
|
+
decimals: number;
|
|
51889
|
+
};
|
|
51890
|
+
direction: "in";
|
|
51891
|
+
price?: {
|
|
51892
|
+
cryptoCurrencyId: string;
|
|
51893
|
+
fiatCurrencyId: string;
|
|
51894
|
+
price: {
|
|
51895
|
+
value: bigint;
|
|
51896
|
+
decimals: number;
|
|
51897
|
+
};
|
|
51898
|
+
timestamp: number;
|
|
51899
|
+
} | undefined;
|
|
51900
|
+
from?: string | undefined;
|
|
51901
|
+
to?: string | undefined;
|
|
51902
|
+
})[];
|
|
51903
|
+
comment?: string | undefined;
|
|
51904
|
+
app?: {
|
|
51905
|
+
id: string;
|
|
51906
|
+
categories: ("bridge" | "cex" | "cross-chain" | "dex" | "gaming" | "lending" | "nft-marketplace" | "other")[];
|
|
51907
|
+
name: string;
|
|
51908
|
+
description?: string | undefined;
|
|
51909
|
+
website?: string | undefined;
|
|
51910
|
+
icon?: string | undefined;
|
|
51911
|
+
} | undefined;
|
|
51129
51912
|
}>, z.ZodEffects<z.ZodObject<{
|
|
51130
51913
|
type: z.ZodLiteral<"NormalAccountAction">;
|
|
51131
51914
|
timestamp: z.ZodNumber;
|