@argent/x-shared 1.53.0 → 1.53.1
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.
|
@@ -510,6 +510,70 @@ export declare const activityDetailsSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<
|
|
|
510
510
|
} | null | undefined;
|
|
511
511
|
};
|
|
512
512
|
counterparty: string;
|
|
513
|
+
}>, z.ZodObject<{
|
|
514
|
+
type: z.ZodLiteral<"gift">;
|
|
515
|
+
counterparty: z.ZodOptional<z.ZodEffects<z.ZodString, `0x${string}`, string>>;
|
|
516
|
+
leg: z.ZodString;
|
|
517
|
+
asset: z.ZodObject<{
|
|
518
|
+
type: z.ZodEnum<["token", "nft"]>;
|
|
519
|
+
tokenAddress: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
520
|
+
amount: z.ZodOptional<z.ZodString>;
|
|
521
|
+
fiatAmount: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
522
|
+
currency: z.ZodString;
|
|
523
|
+
currencyAmount: z.ZodNumber;
|
|
524
|
+
}, "strip", z.ZodTypeAny, {
|
|
525
|
+
currency: string;
|
|
526
|
+
currencyAmount: number;
|
|
527
|
+
}, {
|
|
528
|
+
currency: string;
|
|
529
|
+
currencyAmount: number;
|
|
530
|
+
}>>>;
|
|
531
|
+
}, "strip", z.ZodTypeAny, {
|
|
532
|
+
type: "nft" | "token";
|
|
533
|
+
tokenAddress: `0x${string}`;
|
|
534
|
+
amount?: string | undefined;
|
|
535
|
+
fiatAmount?: {
|
|
536
|
+
currency: string;
|
|
537
|
+
currencyAmount: number;
|
|
538
|
+
} | null | undefined;
|
|
539
|
+
}, {
|
|
540
|
+
type: "nft" | "token";
|
|
541
|
+
tokenAddress: string;
|
|
542
|
+
amount?: string | undefined;
|
|
543
|
+
fiatAmount?: {
|
|
544
|
+
currency: string;
|
|
545
|
+
currencyAmount: number;
|
|
546
|
+
} | null | undefined;
|
|
547
|
+
}>;
|
|
548
|
+
counterpartyNetwork: z.ZodOptional<z.ZodEnum<["ethereum", "starknet", "zksync", "zksync2"]>>;
|
|
549
|
+
}, "strip", z.ZodTypeAny, {
|
|
550
|
+
type: "gift";
|
|
551
|
+
leg: string;
|
|
552
|
+
asset: {
|
|
553
|
+
type: "nft" | "token";
|
|
554
|
+
tokenAddress: `0x${string}`;
|
|
555
|
+
amount?: string | undefined;
|
|
556
|
+
fiatAmount?: {
|
|
557
|
+
currency: string;
|
|
558
|
+
currencyAmount: number;
|
|
559
|
+
} | null | undefined;
|
|
560
|
+
};
|
|
561
|
+
counterparty?: `0x${string}` | undefined;
|
|
562
|
+
counterpartyNetwork?: "ethereum" | "zksync" | "zksync2" | "starknet" | undefined;
|
|
563
|
+
}, {
|
|
564
|
+
type: "gift";
|
|
565
|
+
leg: string;
|
|
566
|
+
asset: {
|
|
567
|
+
type: "nft" | "token";
|
|
568
|
+
tokenAddress: string;
|
|
569
|
+
amount?: string | undefined;
|
|
570
|
+
fiatAmount?: {
|
|
571
|
+
currency: string;
|
|
572
|
+
currencyAmount: number;
|
|
573
|
+
} | null | undefined;
|
|
574
|
+
};
|
|
575
|
+
counterparty?: string | undefined;
|
|
576
|
+
counterpartyNetwork?: "ethereum" | "zksync" | "zksync2" | "starknet" | undefined;
|
|
513
577
|
}>]>, z.ZodObject<{
|
|
514
578
|
type: z.ZodLiteral<"multicall">;
|
|
515
579
|
calls: z.ZodArray<z.ZodObject<{
|
|
@@ -958,6 +1022,70 @@ export declare const activityDetailsSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<
|
|
|
958
1022
|
} | null | undefined;
|
|
959
1023
|
};
|
|
960
1024
|
counterparty: string;
|
|
1025
|
+
}>, z.ZodObject<{
|
|
1026
|
+
type: z.ZodLiteral<"gift">;
|
|
1027
|
+
counterparty: z.ZodOptional<z.ZodEffects<z.ZodString, `0x${string}`, string>>;
|
|
1028
|
+
leg: z.ZodString;
|
|
1029
|
+
asset: z.ZodObject<{
|
|
1030
|
+
type: z.ZodEnum<["token", "nft"]>;
|
|
1031
|
+
tokenAddress: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
1032
|
+
amount: z.ZodOptional<z.ZodString>;
|
|
1033
|
+
fiatAmount: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1034
|
+
currency: z.ZodString;
|
|
1035
|
+
currencyAmount: z.ZodNumber;
|
|
1036
|
+
}, "strip", z.ZodTypeAny, {
|
|
1037
|
+
currency: string;
|
|
1038
|
+
currencyAmount: number;
|
|
1039
|
+
}, {
|
|
1040
|
+
currency: string;
|
|
1041
|
+
currencyAmount: number;
|
|
1042
|
+
}>>>;
|
|
1043
|
+
}, "strip", z.ZodTypeAny, {
|
|
1044
|
+
type: "nft" | "token";
|
|
1045
|
+
tokenAddress: `0x${string}`;
|
|
1046
|
+
amount?: string | undefined;
|
|
1047
|
+
fiatAmount?: {
|
|
1048
|
+
currency: string;
|
|
1049
|
+
currencyAmount: number;
|
|
1050
|
+
} | null | undefined;
|
|
1051
|
+
}, {
|
|
1052
|
+
type: "nft" | "token";
|
|
1053
|
+
tokenAddress: string;
|
|
1054
|
+
amount?: string | undefined;
|
|
1055
|
+
fiatAmount?: {
|
|
1056
|
+
currency: string;
|
|
1057
|
+
currencyAmount: number;
|
|
1058
|
+
} | null | undefined;
|
|
1059
|
+
}>;
|
|
1060
|
+
counterpartyNetwork: z.ZodOptional<z.ZodEnum<["ethereum", "starknet", "zksync", "zksync2"]>>;
|
|
1061
|
+
}, "strip", z.ZodTypeAny, {
|
|
1062
|
+
type: "gift";
|
|
1063
|
+
leg: string;
|
|
1064
|
+
asset: {
|
|
1065
|
+
type: "nft" | "token";
|
|
1066
|
+
tokenAddress: `0x${string}`;
|
|
1067
|
+
amount?: string | undefined;
|
|
1068
|
+
fiatAmount?: {
|
|
1069
|
+
currency: string;
|
|
1070
|
+
currencyAmount: number;
|
|
1071
|
+
} | null | undefined;
|
|
1072
|
+
};
|
|
1073
|
+
counterparty?: `0x${string}` | undefined;
|
|
1074
|
+
counterpartyNetwork?: "ethereum" | "zksync" | "zksync2" | "starknet" | undefined;
|
|
1075
|
+
}, {
|
|
1076
|
+
type: "gift";
|
|
1077
|
+
leg: string;
|
|
1078
|
+
asset: {
|
|
1079
|
+
type: "nft" | "token";
|
|
1080
|
+
tokenAddress: string;
|
|
1081
|
+
amount?: string | undefined;
|
|
1082
|
+
fiatAmount?: {
|
|
1083
|
+
currency: string;
|
|
1084
|
+
currencyAmount: number;
|
|
1085
|
+
} | null | undefined;
|
|
1086
|
+
};
|
|
1087
|
+
counterparty?: string | undefined;
|
|
1088
|
+
counterpartyNetwork?: "ethereum" | "zksync" | "zksync2" | "starknet" | undefined;
|
|
961
1089
|
}>]>;
|
|
962
1090
|
}, "strip", z.ZodTypeAny, {
|
|
963
1091
|
details: {
|
|
@@ -1053,6 +1181,20 @@ export declare const activityDetailsSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<
|
|
|
1053
1181
|
} | null | undefined;
|
|
1054
1182
|
};
|
|
1055
1183
|
counterparty: `0x${string}`;
|
|
1184
|
+
} | {
|
|
1185
|
+
type: "gift";
|
|
1186
|
+
leg: string;
|
|
1187
|
+
asset: {
|
|
1188
|
+
type: "nft" | "token";
|
|
1189
|
+
tokenAddress: `0x${string}`;
|
|
1190
|
+
amount?: string | undefined;
|
|
1191
|
+
fiatAmount?: {
|
|
1192
|
+
currency: string;
|
|
1193
|
+
currencyAmount: number;
|
|
1194
|
+
} | null | undefined;
|
|
1195
|
+
};
|
|
1196
|
+
counterparty?: `0x${string}` | undefined;
|
|
1197
|
+
counterpartyNetwork?: "ethereum" | "zksync" | "zksync2" | "starknet" | undefined;
|
|
1056
1198
|
};
|
|
1057
1199
|
}, {
|
|
1058
1200
|
details: {
|
|
@@ -1148,6 +1290,20 @@ export declare const activityDetailsSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<
|
|
|
1148
1290
|
} | null | undefined;
|
|
1149
1291
|
};
|
|
1150
1292
|
counterparty: string;
|
|
1293
|
+
} | {
|
|
1294
|
+
type: "gift";
|
|
1295
|
+
leg: string;
|
|
1296
|
+
asset: {
|
|
1297
|
+
type: "nft" | "token";
|
|
1298
|
+
tokenAddress: string;
|
|
1299
|
+
amount?: string | undefined;
|
|
1300
|
+
fiatAmount?: {
|
|
1301
|
+
currency: string;
|
|
1302
|
+
currencyAmount: number;
|
|
1303
|
+
} | null | undefined;
|
|
1304
|
+
};
|
|
1305
|
+
counterparty?: string | undefined;
|
|
1306
|
+
counterpartyNetwork?: "ethereum" | "zksync" | "zksync2" | "starknet" | undefined;
|
|
1151
1307
|
};
|
|
1152
1308
|
}>, "many">;
|
|
1153
1309
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1246,6 +1402,20 @@ export declare const activityDetailsSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<
|
|
|
1246
1402
|
} | null | undefined;
|
|
1247
1403
|
};
|
|
1248
1404
|
counterparty: `0x${string}`;
|
|
1405
|
+
} | {
|
|
1406
|
+
type: "gift";
|
|
1407
|
+
leg: string;
|
|
1408
|
+
asset: {
|
|
1409
|
+
type: "nft" | "token";
|
|
1410
|
+
tokenAddress: `0x${string}`;
|
|
1411
|
+
amount?: string | undefined;
|
|
1412
|
+
fiatAmount?: {
|
|
1413
|
+
currency: string;
|
|
1414
|
+
currencyAmount: number;
|
|
1415
|
+
} | null | undefined;
|
|
1416
|
+
};
|
|
1417
|
+
counterparty?: `0x${string}` | undefined;
|
|
1418
|
+
counterpartyNetwork?: "ethereum" | "zksync" | "zksync2" | "starknet" | undefined;
|
|
1249
1419
|
};
|
|
1250
1420
|
}[];
|
|
1251
1421
|
}, {
|
|
@@ -1344,6 +1514,20 @@ export declare const activityDetailsSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<
|
|
|
1344
1514
|
} | null | undefined;
|
|
1345
1515
|
};
|
|
1346
1516
|
counterparty: string;
|
|
1517
|
+
} | {
|
|
1518
|
+
type: "gift";
|
|
1519
|
+
leg: string;
|
|
1520
|
+
asset: {
|
|
1521
|
+
type: "nft" | "token";
|
|
1522
|
+
tokenAddress: string;
|
|
1523
|
+
amount?: string | undefined;
|
|
1524
|
+
fiatAmount?: {
|
|
1525
|
+
currency: string;
|
|
1526
|
+
currencyAmount: number;
|
|
1527
|
+
} | null | undefined;
|
|
1528
|
+
};
|
|
1529
|
+
counterparty?: string | undefined;
|
|
1530
|
+
counterpartyNetwork?: "ethereum" | "zksync" | "zksync2" | "starknet" | undefined;
|
|
1347
1531
|
};
|
|
1348
1532
|
}[];
|
|
1349
1533
|
}>]>;
|
|
@@ -2142,6 +2326,70 @@ export declare const activitySchema: z.ZodObject<{
|
|
|
2142
2326
|
} | null | undefined;
|
|
2143
2327
|
};
|
|
2144
2328
|
counterparty: string;
|
|
2329
|
+
}>, z.ZodObject<{
|
|
2330
|
+
type: z.ZodLiteral<"gift">;
|
|
2331
|
+
counterparty: z.ZodOptional<z.ZodEffects<z.ZodString, `0x${string}`, string>>;
|
|
2332
|
+
leg: z.ZodString;
|
|
2333
|
+
asset: z.ZodObject<{
|
|
2334
|
+
type: z.ZodEnum<["token", "nft"]>;
|
|
2335
|
+
tokenAddress: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2336
|
+
amount: z.ZodOptional<z.ZodString>;
|
|
2337
|
+
fiatAmount: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
2338
|
+
currency: z.ZodString;
|
|
2339
|
+
currencyAmount: z.ZodNumber;
|
|
2340
|
+
}, "strip", z.ZodTypeAny, {
|
|
2341
|
+
currency: string;
|
|
2342
|
+
currencyAmount: number;
|
|
2343
|
+
}, {
|
|
2344
|
+
currency: string;
|
|
2345
|
+
currencyAmount: number;
|
|
2346
|
+
}>>>;
|
|
2347
|
+
}, "strip", z.ZodTypeAny, {
|
|
2348
|
+
type: "nft" | "token";
|
|
2349
|
+
tokenAddress: `0x${string}`;
|
|
2350
|
+
amount?: string | undefined;
|
|
2351
|
+
fiatAmount?: {
|
|
2352
|
+
currency: string;
|
|
2353
|
+
currencyAmount: number;
|
|
2354
|
+
} | null | undefined;
|
|
2355
|
+
}, {
|
|
2356
|
+
type: "nft" | "token";
|
|
2357
|
+
tokenAddress: string;
|
|
2358
|
+
amount?: string | undefined;
|
|
2359
|
+
fiatAmount?: {
|
|
2360
|
+
currency: string;
|
|
2361
|
+
currencyAmount: number;
|
|
2362
|
+
} | null | undefined;
|
|
2363
|
+
}>;
|
|
2364
|
+
counterpartyNetwork: z.ZodOptional<z.ZodEnum<["ethereum", "starknet", "zksync", "zksync2"]>>;
|
|
2365
|
+
}, "strip", z.ZodTypeAny, {
|
|
2366
|
+
type: "gift";
|
|
2367
|
+
leg: string;
|
|
2368
|
+
asset: {
|
|
2369
|
+
type: "nft" | "token";
|
|
2370
|
+
tokenAddress: `0x${string}`;
|
|
2371
|
+
amount?: string | undefined;
|
|
2372
|
+
fiatAmount?: {
|
|
2373
|
+
currency: string;
|
|
2374
|
+
currencyAmount: number;
|
|
2375
|
+
} | null | undefined;
|
|
2376
|
+
};
|
|
2377
|
+
counterparty?: `0x${string}` | undefined;
|
|
2378
|
+
counterpartyNetwork?: "ethereum" | "zksync" | "zksync2" | "starknet" | undefined;
|
|
2379
|
+
}, {
|
|
2380
|
+
type: "gift";
|
|
2381
|
+
leg: string;
|
|
2382
|
+
asset: {
|
|
2383
|
+
type: "nft" | "token";
|
|
2384
|
+
tokenAddress: string;
|
|
2385
|
+
amount?: string | undefined;
|
|
2386
|
+
fiatAmount?: {
|
|
2387
|
+
currency: string;
|
|
2388
|
+
currencyAmount: number;
|
|
2389
|
+
} | null | undefined;
|
|
2390
|
+
};
|
|
2391
|
+
counterparty?: string | undefined;
|
|
2392
|
+
counterpartyNetwork?: "ethereum" | "zksync" | "zksync2" | "starknet" | undefined;
|
|
2145
2393
|
}>]>, z.ZodObject<{
|
|
2146
2394
|
type: z.ZodLiteral<"multicall">;
|
|
2147
2395
|
calls: z.ZodArray<z.ZodObject<{
|
|
@@ -2590,6 +2838,70 @@ export declare const activitySchema: z.ZodObject<{
|
|
|
2590
2838
|
} | null | undefined;
|
|
2591
2839
|
};
|
|
2592
2840
|
counterparty: string;
|
|
2841
|
+
}>, z.ZodObject<{
|
|
2842
|
+
type: z.ZodLiteral<"gift">;
|
|
2843
|
+
counterparty: z.ZodOptional<z.ZodEffects<z.ZodString, `0x${string}`, string>>;
|
|
2844
|
+
leg: z.ZodString;
|
|
2845
|
+
asset: z.ZodObject<{
|
|
2846
|
+
type: z.ZodEnum<["token", "nft"]>;
|
|
2847
|
+
tokenAddress: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2848
|
+
amount: z.ZodOptional<z.ZodString>;
|
|
2849
|
+
fiatAmount: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
2850
|
+
currency: z.ZodString;
|
|
2851
|
+
currencyAmount: z.ZodNumber;
|
|
2852
|
+
}, "strip", z.ZodTypeAny, {
|
|
2853
|
+
currency: string;
|
|
2854
|
+
currencyAmount: number;
|
|
2855
|
+
}, {
|
|
2856
|
+
currency: string;
|
|
2857
|
+
currencyAmount: number;
|
|
2858
|
+
}>>>;
|
|
2859
|
+
}, "strip", z.ZodTypeAny, {
|
|
2860
|
+
type: "nft" | "token";
|
|
2861
|
+
tokenAddress: `0x${string}`;
|
|
2862
|
+
amount?: string | undefined;
|
|
2863
|
+
fiatAmount?: {
|
|
2864
|
+
currency: string;
|
|
2865
|
+
currencyAmount: number;
|
|
2866
|
+
} | null | undefined;
|
|
2867
|
+
}, {
|
|
2868
|
+
type: "nft" | "token";
|
|
2869
|
+
tokenAddress: string;
|
|
2870
|
+
amount?: string | undefined;
|
|
2871
|
+
fiatAmount?: {
|
|
2872
|
+
currency: string;
|
|
2873
|
+
currencyAmount: number;
|
|
2874
|
+
} | null | undefined;
|
|
2875
|
+
}>;
|
|
2876
|
+
counterpartyNetwork: z.ZodOptional<z.ZodEnum<["ethereum", "starknet", "zksync", "zksync2"]>>;
|
|
2877
|
+
}, "strip", z.ZodTypeAny, {
|
|
2878
|
+
type: "gift";
|
|
2879
|
+
leg: string;
|
|
2880
|
+
asset: {
|
|
2881
|
+
type: "nft" | "token";
|
|
2882
|
+
tokenAddress: `0x${string}`;
|
|
2883
|
+
amount?: string | undefined;
|
|
2884
|
+
fiatAmount?: {
|
|
2885
|
+
currency: string;
|
|
2886
|
+
currencyAmount: number;
|
|
2887
|
+
} | null | undefined;
|
|
2888
|
+
};
|
|
2889
|
+
counterparty?: `0x${string}` | undefined;
|
|
2890
|
+
counterpartyNetwork?: "ethereum" | "zksync" | "zksync2" | "starknet" | undefined;
|
|
2891
|
+
}, {
|
|
2892
|
+
type: "gift";
|
|
2893
|
+
leg: string;
|
|
2894
|
+
asset: {
|
|
2895
|
+
type: "nft" | "token";
|
|
2896
|
+
tokenAddress: string;
|
|
2897
|
+
amount?: string | undefined;
|
|
2898
|
+
fiatAmount?: {
|
|
2899
|
+
currency: string;
|
|
2900
|
+
currencyAmount: number;
|
|
2901
|
+
} | null | undefined;
|
|
2902
|
+
};
|
|
2903
|
+
counterparty?: string | undefined;
|
|
2904
|
+
counterpartyNetwork?: "ethereum" | "zksync" | "zksync2" | "starknet" | undefined;
|
|
2593
2905
|
}>]>;
|
|
2594
2906
|
}, "strip", z.ZodTypeAny, {
|
|
2595
2907
|
details: {
|
|
@@ -2685,6 +2997,20 @@ export declare const activitySchema: z.ZodObject<{
|
|
|
2685
2997
|
} | null | undefined;
|
|
2686
2998
|
};
|
|
2687
2999
|
counterparty: `0x${string}`;
|
|
3000
|
+
} | {
|
|
3001
|
+
type: "gift";
|
|
3002
|
+
leg: string;
|
|
3003
|
+
asset: {
|
|
3004
|
+
type: "nft" | "token";
|
|
3005
|
+
tokenAddress: `0x${string}`;
|
|
3006
|
+
amount?: string | undefined;
|
|
3007
|
+
fiatAmount?: {
|
|
3008
|
+
currency: string;
|
|
3009
|
+
currencyAmount: number;
|
|
3010
|
+
} | null | undefined;
|
|
3011
|
+
};
|
|
3012
|
+
counterparty?: `0x${string}` | undefined;
|
|
3013
|
+
counterpartyNetwork?: "ethereum" | "zksync" | "zksync2" | "starknet" | undefined;
|
|
2688
3014
|
};
|
|
2689
3015
|
}, {
|
|
2690
3016
|
details: {
|
|
@@ -2780,6 +3106,20 @@ export declare const activitySchema: z.ZodObject<{
|
|
|
2780
3106
|
} | null | undefined;
|
|
2781
3107
|
};
|
|
2782
3108
|
counterparty: string;
|
|
3109
|
+
} | {
|
|
3110
|
+
type: "gift";
|
|
3111
|
+
leg: string;
|
|
3112
|
+
asset: {
|
|
3113
|
+
type: "nft" | "token";
|
|
3114
|
+
tokenAddress: string;
|
|
3115
|
+
amount?: string | undefined;
|
|
3116
|
+
fiatAmount?: {
|
|
3117
|
+
currency: string;
|
|
3118
|
+
currencyAmount: number;
|
|
3119
|
+
} | null | undefined;
|
|
3120
|
+
};
|
|
3121
|
+
counterparty?: string | undefined;
|
|
3122
|
+
counterpartyNetwork?: "ethereum" | "zksync" | "zksync2" | "starknet" | undefined;
|
|
2783
3123
|
};
|
|
2784
3124
|
}>, "many">;
|
|
2785
3125
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2878,6 +3218,20 @@ export declare const activitySchema: z.ZodObject<{
|
|
|
2878
3218
|
} | null | undefined;
|
|
2879
3219
|
};
|
|
2880
3220
|
counterparty: `0x${string}`;
|
|
3221
|
+
} | {
|
|
3222
|
+
type: "gift";
|
|
3223
|
+
leg: string;
|
|
3224
|
+
asset: {
|
|
3225
|
+
type: "nft" | "token";
|
|
3226
|
+
tokenAddress: `0x${string}`;
|
|
3227
|
+
amount?: string | undefined;
|
|
3228
|
+
fiatAmount?: {
|
|
3229
|
+
currency: string;
|
|
3230
|
+
currencyAmount: number;
|
|
3231
|
+
} | null | undefined;
|
|
3232
|
+
};
|
|
3233
|
+
counterparty?: `0x${string}` | undefined;
|
|
3234
|
+
counterpartyNetwork?: "ethereum" | "zksync" | "zksync2" | "starknet" | undefined;
|
|
2881
3235
|
};
|
|
2882
3236
|
}[];
|
|
2883
3237
|
}, {
|
|
@@ -2976,6 +3330,20 @@ export declare const activitySchema: z.ZodObject<{
|
|
|
2976
3330
|
} | null | undefined;
|
|
2977
3331
|
};
|
|
2978
3332
|
counterparty: string;
|
|
3333
|
+
} | {
|
|
3334
|
+
type: "gift";
|
|
3335
|
+
leg: string;
|
|
3336
|
+
asset: {
|
|
3337
|
+
type: "nft" | "token";
|
|
3338
|
+
tokenAddress: string;
|
|
3339
|
+
amount?: string | undefined;
|
|
3340
|
+
fiatAmount?: {
|
|
3341
|
+
currency: string;
|
|
3342
|
+
currencyAmount: number;
|
|
3343
|
+
} | null | undefined;
|
|
3344
|
+
};
|
|
3345
|
+
counterparty?: string | undefined;
|
|
3346
|
+
counterpartyNetwork?: "ethereum" | "zksync" | "zksync2" | "starknet" | undefined;
|
|
2979
3347
|
};
|
|
2980
3348
|
}[];
|
|
2981
3349
|
}>]>;
|
|
@@ -3887,6 +4255,20 @@ export declare const activitySchema: z.ZodObject<{
|
|
|
3887
4255
|
} | null | undefined;
|
|
3888
4256
|
};
|
|
3889
4257
|
counterparty: `0x${string}`;
|
|
4258
|
+
} | {
|
|
4259
|
+
type: "gift";
|
|
4260
|
+
leg: string;
|
|
4261
|
+
asset: {
|
|
4262
|
+
type: "nft" | "token";
|
|
4263
|
+
tokenAddress: `0x${string}`;
|
|
4264
|
+
amount?: string | undefined;
|
|
4265
|
+
fiatAmount?: {
|
|
4266
|
+
currency: string;
|
|
4267
|
+
currencyAmount: number;
|
|
4268
|
+
} | null | undefined;
|
|
4269
|
+
};
|
|
4270
|
+
counterparty?: `0x${string}` | undefined;
|
|
4271
|
+
counterpartyNetwork?: "ethereum" | "zksync" | "zksync2" | "starknet" | undefined;
|
|
3890
4272
|
} | {
|
|
3891
4273
|
type: "multicall";
|
|
3892
4274
|
calls: {
|
|
@@ -3983,6 +4365,20 @@ export declare const activitySchema: z.ZodObject<{
|
|
|
3983
4365
|
} | null | undefined;
|
|
3984
4366
|
};
|
|
3985
4367
|
counterparty: `0x${string}`;
|
|
4368
|
+
} | {
|
|
4369
|
+
type: "gift";
|
|
4370
|
+
leg: string;
|
|
4371
|
+
asset: {
|
|
4372
|
+
type: "nft" | "token";
|
|
4373
|
+
tokenAddress: `0x${string}`;
|
|
4374
|
+
amount?: string | undefined;
|
|
4375
|
+
fiatAmount?: {
|
|
4376
|
+
currency: string;
|
|
4377
|
+
currencyAmount: number;
|
|
4378
|
+
} | null | undefined;
|
|
4379
|
+
};
|
|
4380
|
+
counterparty?: `0x${string}` | undefined;
|
|
4381
|
+
counterpartyNetwork?: "ethereum" | "zksync" | "zksync2" | "starknet" | undefined;
|
|
3986
4382
|
};
|
|
3987
4383
|
}[];
|
|
3988
4384
|
};
|
|
@@ -4285,6 +4681,20 @@ export declare const activitySchema: z.ZodObject<{
|
|
|
4285
4681
|
} | null | undefined;
|
|
4286
4682
|
};
|
|
4287
4683
|
counterparty: string;
|
|
4684
|
+
} | {
|
|
4685
|
+
type: "gift";
|
|
4686
|
+
leg: string;
|
|
4687
|
+
asset: {
|
|
4688
|
+
type: "nft" | "token";
|
|
4689
|
+
tokenAddress: string;
|
|
4690
|
+
amount?: string | undefined;
|
|
4691
|
+
fiatAmount?: {
|
|
4692
|
+
currency: string;
|
|
4693
|
+
currencyAmount: number;
|
|
4694
|
+
} | null | undefined;
|
|
4695
|
+
};
|
|
4696
|
+
counterparty?: string | undefined;
|
|
4697
|
+
counterpartyNetwork?: "ethereum" | "zksync" | "zksync2" | "starknet" | undefined;
|
|
4288
4698
|
} | {
|
|
4289
4699
|
type: "multicall";
|
|
4290
4700
|
calls: {
|
|
@@ -4370,7 +4780,20 @@ export declare const activitySchema: z.ZodObject<{
|
|
|
4370
4780
|
address?: string | undefined;
|
|
4371
4781
|
iconUrl?: string | undefined;
|
|
4372
4782
|
};
|
|
4373
|
-
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
4783
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
4784
|
+
asset: {
|
|
4785
|
+
type: "nft" | "token";
|
|
4786
|
+
tokenAddress: string;
|
|
4787
|
+
amount?: string | undefined;
|
|
4788
|
+
fiatAmount?: {
|
|
4789
|
+
currency: string;
|
|
4790
|
+
currencyAmount: number;
|
|
4791
|
+
} | null | undefined;
|
|
4792
|
+
};
|
|
4793
|
+
counterparty: string;
|
|
4794
|
+
} | {
|
|
4795
|
+
type: "gift";
|
|
4796
|
+
leg: string;
|
|
4374
4797
|
asset: {
|
|
4375
4798
|
type: "nft" | "token";
|
|
4376
4799
|
tokenAddress: string;
|
|
@@ -4380,7 +4803,8 @@ export declare const activitySchema: z.ZodObject<{
|
|
|
4380
4803
|
currencyAmount: number;
|
|
4381
4804
|
} | null | undefined;
|
|
4382
4805
|
};
|
|
4383
|
-
counterparty
|
|
4806
|
+
counterparty?: string | undefined;
|
|
4807
|
+
counterpartyNetwork?: "ethereum" | "zksync" | "zksync2" | "starknet" | undefined;
|
|
4384
4808
|
};
|
|
4385
4809
|
}[];
|
|
4386
4810
|
};
|
|
@@ -5290,6 +5714,70 @@ export declare const nativeActivitySchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
5290
5714
|
} | null | undefined;
|
|
5291
5715
|
};
|
|
5292
5716
|
counterparty: string;
|
|
5717
|
+
}>, z.ZodObject<{
|
|
5718
|
+
type: z.ZodLiteral<"gift">;
|
|
5719
|
+
counterparty: z.ZodOptional<z.ZodEffects<z.ZodString, `0x${string}`, string>>;
|
|
5720
|
+
leg: z.ZodString;
|
|
5721
|
+
asset: z.ZodObject<{
|
|
5722
|
+
type: z.ZodEnum<["token", "nft"]>;
|
|
5723
|
+
tokenAddress: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
5724
|
+
amount: z.ZodOptional<z.ZodString>;
|
|
5725
|
+
fiatAmount: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
5726
|
+
currency: z.ZodString;
|
|
5727
|
+
currencyAmount: z.ZodNumber;
|
|
5728
|
+
}, "strip", z.ZodTypeAny, {
|
|
5729
|
+
currency: string;
|
|
5730
|
+
currencyAmount: number;
|
|
5731
|
+
}, {
|
|
5732
|
+
currency: string;
|
|
5733
|
+
currencyAmount: number;
|
|
5734
|
+
}>>>;
|
|
5735
|
+
}, "strip", z.ZodTypeAny, {
|
|
5736
|
+
type: "nft" | "token";
|
|
5737
|
+
tokenAddress: `0x${string}`;
|
|
5738
|
+
amount?: string | undefined;
|
|
5739
|
+
fiatAmount?: {
|
|
5740
|
+
currency: string;
|
|
5741
|
+
currencyAmount: number;
|
|
5742
|
+
} | null | undefined;
|
|
5743
|
+
}, {
|
|
5744
|
+
type: "nft" | "token";
|
|
5745
|
+
tokenAddress: string;
|
|
5746
|
+
amount?: string | undefined;
|
|
5747
|
+
fiatAmount?: {
|
|
5748
|
+
currency: string;
|
|
5749
|
+
currencyAmount: number;
|
|
5750
|
+
} | null | undefined;
|
|
5751
|
+
}>;
|
|
5752
|
+
counterpartyNetwork: z.ZodOptional<z.ZodEnum<["ethereum", "starknet", "zksync", "zksync2"]>>;
|
|
5753
|
+
}, "strip", z.ZodTypeAny, {
|
|
5754
|
+
type: "gift";
|
|
5755
|
+
leg: string;
|
|
5756
|
+
asset: {
|
|
5757
|
+
type: "nft" | "token";
|
|
5758
|
+
tokenAddress: `0x${string}`;
|
|
5759
|
+
amount?: string | undefined;
|
|
5760
|
+
fiatAmount?: {
|
|
5761
|
+
currency: string;
|
|
5762
|
+
currencyAmount: number;
|
|
5763
|
+
} | null | undefined;
|
|
5764
|
+
};
|
|
5765
|
+
counterparty?: `0x${string}` | undefined;
|
|
5766
|
+
counterpartyNetwork?: "ethereum" | "zksync" | "zksync2" | "starknet" | undefined;
|
|
5767
|
+
}, {
|
|
5768
|
+
type: "gift";
|
|
5769
|
+
leg: string;
|
|
5770
|
+
asset: {
|
|
5771
|
+
type: "nft" | "token";
|
|
5772
|
+
tokenAddress: string;
|
|
5773
|
+
amount?: string | undefined;
|
|
5774
|
+
fiatAmount?: {
|
|
5775
|
+
currency: string;
|
|
5776
|
+
currencyAmount: number;
|
|
5777
|
+
} | null | undefined;
|
|
5778
|
+
};
|
|
5779
|
+
counterparty?: string | undefined;
|
|
5780
|
+
counterpartyNetwork?: "ethereum" | "zksync" | "zksync2" | "starknet" | undefined;
|
|
5293
5781
|
}>]>, z.ZodObject<{
|
|
5294
5782
|
type: z.ZodLiteral<"multicall">;
|
|
5295
5783
|
calls: z.ZodArray<z.ZodObject<{
|
|
@@ -5738,6 +6226,70 @@ export declare const nativeActivitySchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
5738
6226
|
} | null | undefined;
|
|
5739
6227
|
};
|
|
5740
6228
|
counterparty: string;
|
|
6229
|
+
}>, z.ZodObject<{
|
|
6230
|
+
type: z.ZodLiteral<"gift">;
|
|
6231
|
+
counterparty: z.ZodOptional<z.ZodEffects<z.ZodString, `0x${string}`, string>>;
|
|
6232
|
+
leg: z.ZodString;
|
|
6233
|
+
asset: z.ZodObject<{
|
|
6234
|
+
type: z.ZodEnum<["token", "nft"]>;
|
|
6235
|
+
tokenAddress: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
6236
|
+
amount: z.ZodOptional<z.ZodString>;
|
|
6237
|
+
fiatAmount: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
6238
|
+
currency: z.ZodString;
|
|
6239
|
+
currencyAmount: z.ZodNumber;
|
|
6240
|
+
}, "strip", z.ZodTypeAny, {
|
|
6241
|
+
currency: string;
|
|
6242
|
+
currencyAmount: number;
|
|
6243
|
+
}, {
|
|
6244
|
+
currency: string;
|
|
6245
|
+
currencyAmount: number;
|
|
6246
|
+
}>>>;
|
|
6247
|
+
}, "strip", z.ZodTypeAny, {
|
|
6248
|
+
type: "nft" | "token";
|
|
6249
|
+
tokenAddress: `0x${string}`;
|
|
6250
|
+
amount?: string | undefined;
|
|
6251
|
+
fiatAmount?: {
|
|
6252
|
+
currency: string;
|
|
6253
|
+
currencyAmount: number;
|
|
6254
|
+
} | null | undefined;
|
|
6255
|
+
}, {
|
|
6256
|
+
type: "nft" | "token";
|
|
6257
|
+
tokenAddress: string;
|
|
6258
|
+
amount?: string | undefined;
|
|
6259
|
+
fiatAmount?: {
|
|
6260
|
+
currency: string;
|
|
6261
|
+
currencyAmount: number;
|
|
6262
|
+
} | null | undefined;
|
|
6263
|
+
}>;
|
|
6264
|
+
counterpartyNetwork: z.ZodOptional<z.ZodEnum<["ethereum", "starknet", "zksync", "zksync2"]>>;
|
|
6265
|
+
}, "strip", z.ZodTypeAny, {
|
|
6266
|
+
type: "gift";
|
|
6267
|
+
leg: string;
|
|
6268
|
+
asset: {
|
|
6269
|
+
type: "nft" | "token";
|
|
6270
|
+
tokenAddress: `0x${string}`;
|
|
6271
|
+
amount?: string | undefined;
|
|
6272
|
+
fiatAmount?: {
|
|
6273
|
+
currency: string;
|
|
6274
|
+
currencyAmount: number;
|
|
6275
|
+
} | null | undefined;
|
|
6276
|
+
};
|
|
6277
|
+
counterparty?: `0x${string}` | undefined;
|
|
6278
|
+
counterpartyNetwork?: "ethereum" | "zksync" | "zksync2" | "starknet" | undefined;
|
|
6279
|
+
}, {
|
|
6280
|
+
type: "gift";
|
|
6281
|
+
leg: string;
|
|
6282
|
+
asset: {
|
|
6283
|
+
type: "nft" | "token";
|
|
6284
|
+
tokenAddress: string;
|
|
6285
|
+
amount?: string | undefined;
|
|
6286
|
+
fiatAmount?: {
|
|
6287
|
+
currency: string;
|
|
6288
|
+
currencyAmount: number;
|
|
6289
|
+
} | null | undefined;
|
|
6290
|
+
};
|
|
6291
|
+
counterparty?: string | undefined;
|
|
6292
|
+
counterpartyNetwork?: "ethereum" | "zksync" | "zksync2" | "starknet" | undefined;
|
|
5741
6293
|
}>]>;
|
|
5742
6294
|
}, "strip", z.ZodTypeAny, {
|
|
5743
6295
|
details: {
|
|
@@ -5833,6 +6385,20 @@ export declare const nativeActivitySchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
5833
6385
|
} | null | undefined;
|
|
5834
6386
|
};
|
|
5835
6387
|
counterparty: `0x${string}`;
|
|
6388
|
+
} | {
|
|
6389
|
+
type: "gift";
|
|
6390
|
+
leg: string;
|
|
6391
|
+
asset: {
|
|
6392
|
+
type: "nft" | "token";
|
|
6393
|
+
tokenAddress: `0x${string}`;
|
|
6394
|
+
amount?: string | undefined;
|
|
6395
|
+
fiatAmount?: {
|
|
6396
|
+
currency: string;
|
|
6397
|
+
currencyAmount: number;
|
|
6398
|
+
} | null | undefined;
|
|
6399
|
+
};
|
|
6400
|
+
counterparty?: `0x${string}` | undefined;
|
|
6401
|
+
counterpartyNetwork?: "ethereum" | "zksync" | "zksync2" | "starknet" | undefined;
|
|
5836
6402
|
};
|
|
5837
6403
|
}, {
|
|
5838
6404
|
details: {
|
|
@@ -5928,6 +6494,20 @@ export declare const nativeActivitySchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
5928
6494
|
} | null | undefined;
|
|
5929
6495
|
};
|
|
5930
6496
|
counterparty: string;
|
|
6497
|
+
} | {
|
|
6498
|
+
type: "gift";
|
|
6499
|
+
leg: string;
|
|
6500
|
+
asset: {
|
|
6501
|
+
type: "nft" | "token";
|
|
6502
|
+
tokenAddress: string;
|
|
6503
|
+
amount?: string | undefined;
|
|
6504
|
+
fiatAmount?: {
|
|
6505
|
+
currency: string;
|
|
6506
|
+
currencyAmount: number;
|
|
6507
|
+
} | null | undefined;
|
|
6508
|
+
};
|
|
6509
|
+
counterparty?: string | undefined;
|
|
6510
|
+
counterpartyNetwork?: "ethereum" | "zksync" | "zksync2" | "starknet" | undefined;
|
|
5931
6511
|
};
|
|
5932
6512
|
}>, "many">;
|
|
5933
6513
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6026,6 +6606,20 @@ export declare const nativeActivitySchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
6026
6606
|
} | null | undefined;
|
|
6027
6607
|
};
|
|
6028
6608
|
counterparty: `0x${string}`;
|
|
6609
|
+
} | {
|
|
6610
|
+
type: "gift";
|
|
6611
|
+
leg: string;
|
|
6612
|
+
asset: {
|
|
6613
|
+
type: "nft" | "token";
|
|
6614
|
+
tokenAddress: `0x${string}`;
|
|
6615
|
+
amount?: string | undefined;
|
|
6616
|
+
fiatAmount?: {
|
|
6617
|
+
currency: string;
|
|
6618
|
+
currencyAmount: number;
|
|
6619
|
+
} | null | undefined;
|
|
6620
|
+
};
|
|
6621
|
+
counterparty?: `0x${string}` | undefined;
|
|
6622
|
+
counterpartyNetwork?: "ethereum" | "zksync" | "zksync2" | "starknet" | undefined;
|
|
6029
6623
|
};
|
|
6030
6624
|
}[];
|
|
6031
6625
|
}, {
|
|
@@ -6124,6 +6718,20 @@ export declare const nativeActivitySchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
6124
6718
|
} | null | undefined;
|
|
6125
6719
|
};
|
|
6126
6720
|
counterparty: string;
|
|
6721
|
+
} | {
|
|
6722
|
+
type: "gift";
|
|
6723
|
+
leg: string;
|
|
6724
|
+
asset: {
|
|
6725
|
+
type: "nft" | "token";
|
|
6726
|
+
tokenAddress: string;
|
|
6727
|
+
amount?: string | undefined;
|
|
6728
|
+
fiatAmount?: {
|
|
6729
|
+
currency: string;
|
|
6730
|
+
currencyAmount: number;
|
|
6731
|
+
} | null | undefined;
|
|
6732
|
+
};
|
|
6733
|
+
counterparty?: string | undefined;
|
|
6734
|
+
counterpartyNetwork?: "ethereum" | "zksync" | "zksync2" | "starknet" | undefined;
|
|
6127
6735
|
};
|
|
6128
6736
|
}[];
|
|
6129
6737
|
}>]>;
|
|
@@ -8034,27 +8642,94 @@ export declare const activitiesSchema: z.ZodArray<z.ZodObject<{
|
|
|
8034
8642
|
currencyAmount: number;
|
|
8035
8643
|
} | null | undefined;
|
|
8036
8644
|
}>;
|
|
8037
|
-
stakerInfo: z.ZodObject<{
|
|
8038
|
-
name: z.ZodOptional<z.ZodString>;
|
|
8039
|
-
iconUrl: z.ZodOptional<z.ZodString>;
|
|
8040
|
-
address: z.ZodOptional<z.ZodString>;
|
|
8041
|
-
}, "strip", z.ZodTypeAny, {
|
|
8042
|
-
name?: string | undefined;
|
|
8043
|
-
address?: string | undefined;
|
|
8044
|
-
iconUrl?: string | undefined;
|
|
8045
|
-
}, {
|
|
8046
|
-
name?: string | undefined;
|
|
8047
|
-
address?: string | undefined;
|
|
8048
|
-
iconUrl?: string | undefined;
|
|
8049
|
-
}>;
|
|
8645
|
+
stakerInfo: z.ZodObject<{
|
|
8646
|
+
name: z.ZodOptional<z.ZodString>;
|
|
8647
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
8648
|
+
address: z.ZodOptional<z.ZodString>;
|
|
8649
|
+
}, "strip", z.ZodTypeAny, {
|
|
8650
|
+
name?: string | undefined;
|
|
8651
|
+
address?: string | undefined;
|
|
8652
|
+
iconUrl?: string | undefined;
|
|
8653
|
+
}, {
|
|
8654
|
+
name?: string | undefined;
|
|
8655
|
+
address?: string | undefined;
|
|
8656
|
+
iconUrl?: string | undefined;
|
|
8657
|
+
}>;
|
|
8658
|
+
}, "strip", z.ZodTypeAny, {
|
|
8659
|
+
type: "staking";
|
|
8660
|
+
stakerInfo: {
|
|
8661
|
+
name?: string | undefined;
|
|
8662
|
+
address?: string | undefined;
|
|
8663
|
+
iconUrl?: string | undefined;
|
|
8664
|
+
};
|
|
8665
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
8666
|
+
asset: {
|
|
8667
|
+
type: "nft" | "token";
|
|
8668
|
+
tokenAddress: `0x${string}`;
|
|
8669
|
+
amount?: string | undefined;
|
|
8670
|
+
fiatAmount?: {
|
|
8671
|
+
currency: string;
|
|
8672
|
+
currencyAmount: number;
|
|
8673
|
+
} | null | undefined;
|
|
8674
|
+
};
|
|
8675
|
+
counterparty: `0x${string}`;
|
|
8676
|
+
}, {
|
|
8677
|
+
type: "staking";
|
|
8678
|
+
stakerInfo: {
|
|
8679
|
+
name?: string | undefined;
|
|
8680
|
+
address?: string | undefined;
|
|
8681
|
+
iconUrl?: string | undefined;
|
|
8682
|
+
};
|
|
8683
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
8684
|
+
asset: {
|
|
8685
|
+
type: "nft" | "token";
|
|
8686
|
+
tokenAddress: string;
|
|
8687
|
+
amount?: string | undefined;
|
|
8688
|
+
fiatAmount?: {
|
|
8689
|
+
currency: string;
|
|
8690
|
+
currencyAmount: number;
|
|
8691
|
+
} | null | undefined;
|
|
8692
|
+
};
|
|
8693
|
+
counterparty: string;
|
|
8694
|
+
}>, z.ZodObject<{
|
|
8695
|
+
type: z.ZodLiteral<"gift">;
|
|
8696
|
+
counterparty: z.ZodOptional<z.ZodEffects<z.ZodString, `0x${string}`, string>>;
|
|
8697
|
+
leg: z.ZodString;
|
|
8698
|
+
asset: z.ZodObject<{
|
|
8699
|
+
type: z.ZodEnum<["token", "nft"]>;
|
|
8700
|
+
tokenAddress: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
8701
|
+
amount: z.ZodOptional<z.ZodString>;
|
|
8702
|
+
fiatAmount: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
8703
|
+
currency: z.ZodString;
|
|
8704
|
+
currencyAmount: z.ZodNumber;
|
|
8705
|
+
}, "strip", z.ZodTypeAny, {
|
|
8706
|
+
currency: string;
|
|
8707
|
+
currencyAmount: number;
|
|
8708
|
+
}, {
|
|
8709
|
+
currency: string;
|
|
8710
|
+
currencyAmount: number;
|
|
8711
|
+
}>>>;
|
|
8712
|
+
}, "strip", z.ZodTypeAny, {
|
|
8713
|
+
type: "nft" | "token";
|
|
8714
|
+
tokenAddress: `0x${string}`;
|
|
8715
|
+
amount?: string | undefined;
|
|
8716
|
+
fiatAmount?: {
|
|
8717
|
+
currency: string;
|
|
8718
|
+
currencyAmount: number;
|
|
8719
|
+
} | null | undefined;
|
|
8720
|
+
}, {
|
|
8721
|
+
type: "nft" | "token";
|
|
8722
|
+
tokenAddress: string;
|
|
8723
|
+
amount?: string | undefined;
|
|
8724
|
+
fiatAmount?: {
|
|
8725
|
+
currency: string;
|
|
8726
|
+
currencyAmount: number;
|
|
8727
|
+
} | null | undefined;
|
|
8728
|
+
}>;
|
|
8729
|
+
counterpartyNetwork: z.ZodOptional<z.ZodEnum<["ethereum", "starknet", "zksync", "zksync2"]>>;
|
|
8050
8730
|
}, "strip", z.ZodTypeAny, {
|
|
8051
|
-
type: "
|
|
8052
|
-
|
|
8053
|
-
name?: string | undefined;
|
|
8054
|
-
address?: string | undefined;
|
|
8055
|
-
iconUrl?: string | undefined;
|
|
8056
|
-
};
|
|
8057
|
-
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
8731
|
+
type: "gift";
|
|
8732
|
+
leg: string;
|
|
8058
8733
|
asset: {
|
|
8059
8734
|
type: "nft" | "token";
|
|
8060
8735
|
tokenAddress: `0x${string}`;
|
|
@@ -8064,15 +8739,11 @@ export declare const activitiesSchema: z.ZodArray<z.ZodObject<{
|
|
|
8064
8739
|
currencyAmount: number;
|
|
8065
8740
|
} | null | undefined;
|
|
8066
8741
|
};
|
|
8067
|
-
counterparty
|
|
8742
|
+
counterparty?: `0x${string}` | undefined;
|
|
8743
|
+
counterpartyNetwork?: "ethereum" | "zksync" | "zksync2" | "starknet" | undefined;
|
|
8068
8744
|
}, {
|
|
8069
|
-
type: "
|
|
8070
|
-
|
|
8071
|
-
name?: string | undefined;
|
|
8072
|
-
address?: string | undefined;
|
|
8073
|
-
iconUrl?: string | undefined;
|
|
8074
|
-
};
|
|
8075
|
-
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
8745
|
+
type: "gift";
|
|
8746
|
+
leg: string;
|
|
8076
8747
|
asset: {
|
|
8077
8748
|
type: "nft" | "token";
|
|
8078
8749
|
tokenAddress: string;
|
|
@@ -8082,7 +8753,8 @@ export declare const activitiesSchema: z.ZodArray<z.ZodObject<{
|
|
|
8082
8753
|
currencyAmount: number;
|
|
8083
8754
|
} | null | undefined;
|
|
8084
8755
|
};
|
|
8085
|
-
counterparty
|
|
8756
|
+
counterparty?: string | undefined;
|
|
8757
|
+
counterpartyNetwork?: "ethereum" | "zksync" | "zksync2" | "starknet" | undefined;
|
|
8086
8758
|
}>]>, z.ZodObject<{
|
|
8087
8759
|
type: z.ZodLiteral<"multicall">;
|
|
8088
8760
|
calls: z.ZodArray<z.ZodObject<{
|
|
@@ -8531,6 +9203,70 @@ export declare const activitiesSchema: z.ZodArray<z.ZodObject<{
|
|
|
8531
9203
|
} | null | undefined;
|
|
8532
9204
|
};
|
|
8533
9205
|
counterparty: string;
|
|
9206
|
+
}>, z.ZodObject<{
|
|
9207
|
+
type: z.ZodLiteral<"gift">;
|
|
9208
|
+
counterparty: z.ZodOptional<z.ZodEffects<z.ZodString, `0x${string}`, string>>;
|
|
9209
|
+
leg: z.ZodString;
|
|
9210
|
+
asset: z.ZodObject<{
|
|
9211
|
+
type: z.ZodEnum<["token", "nft"]>;
|
|
9212
|
+
tokenAddress: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
9213
|
+
amount: z.ZodOptional<z.ZodString>;
|
|
9214
|
+
fiatAmount: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
9215
|
+
currency: z.ZodString;
|
|
9216
|
+
currencyAmount: z.ZodNumber;
|
|
9217
|
+
}, "strip", z.ZodTypeAny, {
|
|
9218
|
+
currency: string;
|
|
9219
|
+
currencyAmount: number;
|
|
9220
|
+
}, {
|
|
9221
|
+
currency: string;
|
|
9222
|
+
currencyAmount: number;
|
|
9223
|
+
}>>>;
|
|
9224
|
+
}, "strip", z.ZodTypeAny, {
|
|
9225
|
+
type: "nft" | "token";
|
|
9226
|
+
tokenAddress: `0x${string}`;
|
|
9227
|
+
amount?: string | undefined;
|
|
9228
|
+
fiatAmount?: {
|
|
9229
|
+
currency: string;
|
|
9230
|
+
currencyAmount: number;
|
|
9231
|
+
} | null | undefined;
|
|
9232
|
+
}, {
|
|
9233
|
+
type: "nft" | "token";
|
|
9234
|
+
tokenAddress: string;
|
|
9235
|
+
amount?: string | undefined;
|
|
9236
|
+
fiatAmount?: {
|
|
9237
|
+
currency: string;
|
|
9238
|
+
currencyAmount: number;
|
|
9239
|
+
} | null | undefined;
|
|
9240
|
+
}>;
|
|
9241
|
+
counterpartyNetwork: z.ZodOptional<z.ZodEnum<["ethereum", "starknet", "zksync", "zksync2"]>>;
|
|
9242
|
+
}, "strip", z.ZodTypeAny, {
|
|
9243
|
+
type: "gift";
|
|
9244
|
+
leg: string;
|
|
9245
|
+
asset: {
|
|
9246
|
+
type: "nft" | "token";
|
|
9247
|
+
tokenAddress: `0x${string}`;
|
|
9248
|
+
amount?: string | undefined;
|
|
9249
|
+
fiatAmount?: {
|
|
9250
|
+
currency: string;
|
|
9251
|
+
currencyAmount: number;
|
|
9252
|
+
} | null | undefined;
|
|
9253
|
+
};
|
|
9254
|
+
counterparty?: `0x${string}` | undefined;
|
|
9255
|
+
counterpartyNetwork?: "ethereum" | "zksync" | "zksync2" | "starknet" | undefined;
|
|
9256
|
+
}, {
|
|
9257
|
+
type: "gift";
|
|
9258
|
+
leg: string;
|
|
9259
|
+
asset: {
|
|
9260
|
+
type: "nft" | "token";
|
|
9261
|
+
tokenAddress: string;
|
|
9262
|
+
amount?: string | undefined;
|
|
9263
|
+
fiatAmount?: {
|
|
9264
|
+
currency: string;
|
|
9265
|
+
currencyAmount: number;
|
|
9266
|
+
} | null | undefined;
|
|
9267
|
+
};
|
|
9268
|
+
counterparty?: string | undefined;
|
|
9269
|
+
counterpartyNetwork?: "ethereum" | "zksync" | "zksync2" | "starknet" | undefined;
|
|
8534
9270
|
}>]>;
|
|
8535
9271
|
}, "strip", z.ZodTypeAny, {
|
|
8536
9272
|
details: {
|
|
@@ -8626,6 +9362,20 @@ export declare const activitiesSchema: z.ZodArray<z.ZodObject<{
|
|
|
8626
9362
|
} | null | undefined;
|
|
8627
9363
|
};
|
|
8628
9364
|
counterparty: `0x${string}`;
|
|
9365
|
+
} | {
|
|
9366
|
+
type: "gift";
|
|
9367
|
+
leg: string;
|
|
9368
|
+
asset: {
|
|
9369
|
+
type: "nft" | "token";
|
|
9370
|
+
tokenAddress: `0x${string}`;
|
|
9371
|
+
amount?: string | undefined;
|
|
9372
|
+
fiatAmount?: {
|
|
9373
|
+
currency: string;
|
|
9374
|
+
currencyAmount: number;
|
|
9375
|
+
} | null | undefined;
|
|
9376
|
+
};
|
|
9377
|
+
counterparty?: `0x${string}` | undefined;
|
|
9378
|
+
counterpartyNetwork?: "ethereum" | "zksync" | "zksync2" | "starknet" | undefined;
|
|
8629
9379
|
};
|
|
8630
9380
|
}, {
|
|
8631
9381
|
details: {
|
|
@@ -8721,6 +9471,20 @@ export declare const activitiesSchema: z.ZodArray<z.ZodObject<{
|
|
|
8721
9471
|
} | null | undefined;
|
|
8722
9472
|
};
|
|
8723
9473
|
counterparty: string;
|
|
9474
|
+
} | {
|
|
9475
|
+
type: "gift";
|
|
9476
|
+
leg: string;
|
|
9477
|
+
asset: {
|
|
9478
|
+
type: "nft" | "token";
|
|
9479
|
+
tokenAddress: string;
|
|
9480
|
+
amount?: string | undefined;
|
|
9481
|
+
fiatAmount?: {
|
|
9482
|
+
currency: string;
|
|
9483
|
+
currencyAmount: number;
|
|
9484
|
+
} | null | undefined;
|
|
9485
|
+
};
|
|
9486
|
+
counterparty?: string | undefined;
|
|
9487
|
+
counterpartyNetwork?: "ethereum" | "zksync" | "zksync2" | "starknet" | undefined;
|
|
8724
9488
|
};
|
|
8725
9489
|
}>, "many">;
|
|
8726
9490
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -8819,6 +9583,20 @@ export declare const activitiesSchema: z.ZodArray<z.ZodObject<{
|
|
|
8819
9583
|
} | null | undefined;
|
|
8820
9584
|
};
|
|
8821
9585
|
counterparty: `0x${string}`;
|
|
9586
|
+
} | {
|
|
9587
|
+
type: "gift";
|
|
9588
|
+
leg: string;
|
|
9589
|
+
asset: {
|
|
9590
|
+
type: "nft" | "token";
|
|
9591
|
+
tokenAddress: `0x${string}`;
|
|
9592
|
+
amount?: string | undefined;
|
|
9593
|
+
fiatAmount?: {
|
|
9594
|
+
currency: string;
|
|
9595
|
+
currencyAmount: number;
|
|
9596
|
+
} | null | undefined;
|
|
9597
|
+
};
|
|
9598
|
+
counterparty?: `0x${string}` | undefined;
|
|
9599
|
+
counterpartyNetwork?: "ethereum" | "zksync" | "zksync2" | "starknet" | undefined;
|
|
8822
9600
|
};
|
|
8823
9601
|
}[];
|
|
8824
9602
|
}, {
|
|
@@ -8917,6 +9695,20 @@ export declare const activitiesSchema: z.ZodArray<z.ZodObject<{
|
|
|
8917
9695
|
} | null | undefined;
|
|
8918
9696
|
};
|
|
8919
9697
|
counterparty: string;
|
|
9698
|
+
} | {
|
|
9699
|
+
type: "gift";
|
|
9700
|
+
leg: string;
|
|
9701
|
+
asset: {
|
|
9702
|
+
type: "nft" | "token";
|
|
9703
|
+
tokenAddress: string;
|
|
9704
|
+
amount?: string | undefined;
|
|
9705
|
+
fiatAmount?: {
|
|
9706
|
+
currency: string;
|
|
9707
|
+
currencyAmount: number;
|
|
9708
|
+
} | null | undefined;
|
|
9709
|
+
};
|
|
9710
|
+
counterparty?: string | undefined;
|
|
9711
|
+
counterpartyNetwork?: "ethereum" | "zksync" | "zksync2" | "starknet" | undefined;
|
|
8920
9712
|
};
|
|
8921
9713
|
}[];
|
|
8922
9714
|
}>]>;
|
|
@@ -9828,6 +10620,20 @@ export declare const activitiesSchema: z.ZodArray<z.ZodObject<{
|
|
|
9828
10620
|
} | null | undefined;
|
|
9829
10621
|
};
|
|
9830
10622
|
counterparty: `0x${string}`;
|
|
10623
|
+
} | {
|
|
10624
|
+
type: "gift";
|
|
10625
|
+
leg: string;
|
|
10626
|
+
asset: {
|
|
10627
|
+
type: "nft" | "token";
|
|
10628
|
+
tokenAddress: `0x${string}`;
|
|
10629
|
+
amount?: string | undefined;
|
|
10630
|
+
fiatAmount?: {
|
|
10631
|
+
currency: string;
|
|
10632
|
+
currencyAmount: number;
|
|
10633
|
+
} | null | undefined;
|
|
10634
|
+
};
|
|
10635
|
+
counterparty?: `0x${string}` | undefined;
|
|
10636
|
+
counterpartyNetwork?: "ethereum" | "zksync" | "zksync2" | "starknet" | undefined;
|
|
9831
10637
|
} | {
|
|
9832
10638
|
type: "multicall";
|
|
9833
10639
|
calls: {
|
|
@@ -9924,6 +10730,20 @@ export declare const activitiesSchema: z.ZodArray<z.ZodObject<{
|
|
|
9924
10730
|
} | null | undefined;
|
|
9925
10731
|
};
|
|
9926
10732
|
counterparty: `0x${string}`;
|
|
10733
|
+
} | {
|
|
10734
|
+
type: "gift";
|
|
10735
|
+
leg: string;
|
|
10736
|
+
asset: {
|
|
10737
|
+
type: "nft" | "token";
|
|
10738
|
+
tokenAddress: `0x${string}`;
|
|
10739
|
+
amount?: string | undefined;
|
|
10740
|
+
fiatAmount?: {
|
|
10741
|
+
currency: string;
|
|
10742
|
+
currencyAmount: number;
|
|
10743
|
+
} | null | undefined;
|
|
10744
|
+
};
|
|
10745
|
+
counterparty?: `0x${string}` | undefined;
|
|
10746
|
+
counterpartyNetwork?: "ethereum" | "zksync" | "zksync2" | "starknet" | undefined;
|
|
9927
10747
|
};
|
|
9928
10748
|
}[];
|
|
9929
10749
|
};
|
|
@@ -10226,6 +11046,20 @@ export declare const activitiesSchema: z.ZodArray<z.ZodObject<{
|
|
|
10226
11046
|
} | null | undefined;
|
|
10227
11047
|
};
|
|
10228
11048
|
counterparty: string;
|
|
11049
|
+
} | {
|
|
11050
|
+
type: "gift";
|
|
11051
|
+
leg: string;
|
|
11052
|
+
asset: {
|
|
11053
|
+
type: "nft" | "token";
|
|
11054
|
+
tokenAddress: string;
|
|
11055
|
+
amount?: string | undefined;
|
|
11056
|
+
fiatAmount?: {
|
|
11057
|
+
currency: string;
|
|
11058
|
+
currencyAmount: number;
|
|
11059
|
+
} | null | undefined;
|
|
11060
|
+
};
|
|
11061
|
+
counterparty?: string | undefined;
|
|
11062
|
+
counterpartyNetwork?: "ethereum" | "zksync" | "zksync2" | "starknet" | undefined;
|
|
10229
11063
|
} | {
|
|
10230
11064
|
type: "multicall";
|
|
10231
11065
|
calls: {
|
|
@@ -10322,6 +11156,20 @@ export declare const activitiesSchema: z.ZodArray<z.ZodObject<{
|
|
|
10322
11156
|
} | null | undefined;
|
|
10323
11157
|
};
|
|
10324
11158
|
counterparty: string;
|
|
11159
|
+
} | {
|
|
11160
|
+
type: "gift";
|
|
11161
|
+
leg: string;
|
|
11162
|
+
asset: {
|
|
11163
|
+
type: "nft" | "token";
|
|
11164
|
+
tokenAddress: string;
|
|
11165
|
+
amount?: string | undefined;
|
|
11166
|
+
fiatAmount?: {
|
|
11167
|
+
currency: string;
|
|
11168
|
+
currencyAmount: number;
|
|
11169
|
+
} | null | undefined;
|
|
11170
|
+
};
|
|
11171
|
+
counterparty?: string | undefined;
|
|
11172
|
+
counterpartyNetwork?: "ethereum" | "zksync" | "zksync2" | "starknet" | undefined;
|
|
10325
11173
|
};
|
|
10326
11174
|
}[];
|
|
10327
11175
|
};
|
|
@@ -11066,9 +11914,93 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
11066
11914
|
parameters?: unknown[] | undefined;
|
|
11067
11915
|
} | null | undefined;
|
|
11068
11916
|
}>, z.ZodObject<{
|
|
11069
|
-
type: z.ZodLiteral<"staking">;
|
|
11070
|
-
stakingAction: z.ZodEnum<["deposit", "stake", "initiateWithdraw", "withdraw", "claim"]>;
|
|
11071
|
-
counterparty: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
11917
|
+
type: z.ZodLiteral<"staking">;
|
|
11918
|
+
stakingAction: z.ZodEnum<["deposit", "stake", "initiateWithdraw", "withdraw", "claim"]>;
|
|
11919
|
+
counterparty: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
11920
|
+
asset: z.ZodObject<{
|
|
11921
|
+
type: z.ZodEnum<["token", "nft"]>;
|
|
11922
|
+
tokenAddress: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
11923
|
+
amount: z.ZodOptional<z.ZodString>;
|
|
11924
|
+
fiatAmount: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
11925
|
+
currency: z.ZodString;
|
|
11926
|
+
currencyAmount: z.ZodNumber;
|
|
11927
|
+
}, "strip", z.ZodTypeAny, {
|
|
11928
|
+
currency: string;
|
|
11929
|
+
currencyAmount: number;
|
|
11930
|
+
}, {
|
|
11931
|
+
currency: string;
|
|
11932
|
+
currencyAmount: number;
|
|
11933
|
+
}>>>;
|
|
11934
|
+
}, "strip", z.ZodTypeAny, {
|
|
11935
|
+
type: "nft" | "token";
|
|
11936
|
+
tokenAddress: `0x${string}`;
|
|
11937
|
+
amount?: string | undefined;
|
|
11938
|
+
fiatAmount?: {
|
|
11939
|
+
currency: string;
|
|
11940
|
+
currencyAmount: number;
|
|
11941
|
+
} | null | undefined;
|
|
11942
|
+
}, {
|
|
11943
|
+
type: "nft" | "token";
|
|
11944
|
+
tokenAddress: string;
|
|
11945
|
+
amount?: string | undefined;
|
|
11946
|
+
fiatAmount?: {
|
|
11947
|
+
currency: string;
|
|
11948
|
+
currencyAmount: number;
|
|
11949
|
+
} | null | undefined;
|
|
11950
|
+
}>;
|
|
11951
|
+
stakerInfo: z.ZodObject<{
|
|
11952
|
+
name: z.ZodOptional<z.ZodString>;
|
|
11953
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
11954
|
+
address: z.ZodOptional<z.ZodString>;
|
|
11955
|
+
}, "strip", z.ZodTypeAny, {
|
|
11956
|
+
name?: string | undefined;
|
|
11957
|
+
address?: string | undefined;
|
|
11958
|
+
iconUrl?: string | undefined;
|
|
11959
|
+
}, {
|
|
11960
|
+
name?: string | undefined;
|
|
11961
|
+
address?: string | undefined;
|
|
11962
|
+
iconUrl?: string | undefined;
|
|
11963
|
+
}>;
|
|
11964
|
+
}, "strip", z.ZodTypeAny, {
|
|
11965
|
+
type: "staking";
|
|
11966
|
+
stakerInfo: {
|
|
11967
|
+
name?: string | undefined;
|
|
11968
|
+
address?: string | undefined;
|
|
11969
|
+
iconUrl?: string | undefined;
|
|
11970
|
+
};
|
|
11971
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
11972
|
+
asset: {
|
|
11973
|
+
type: "nft" | "token";
|
|
11974
|
+
tokenAddress: `0x${string}`;
|
|
11975
|
+
amount?: string | undefined;
|
|
11976
|
+
fiatAmount?: {
|
|
11977
|
+
currency: string;
|
|
11978
|
+
currencyAmount: number;
|
|
11979
|
+
} | null | undefined;
|
|
11980
|
+
};
|
|
11981
|
+
counterparty: `0x${string}`;
|
|
11982
|
+
}, {
|
|
11983
|
+
type: "staking";
|
|
11984
|
+
stakerInfo: {
|
|
11985
|
+
name?: string | undefined;
|
|
11986
|
+
address?: string | undefined;
|
|
11987
|
+
iconUrl?: string | undefined;
|
|
11988
|
+
};
|
|
11989
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
11990
|
+
asset: {
|
|
11991
|
+
type: "nft" | "token";
|
|
11992
|
+
tokenAddress: string;
|
|
11993
|
+
amount?: string | undefined;
|
|
11994
|
+
fiatAmount?: {
|
|
11995
|
+
currency: string;
|
|
11996
|
+
currencyAmount: number;
|
|
11997
|
+
} | null | undefined;
|
|
11998
|
+
};
|
|
11999
|
+
counterparty: string;
|
|
12000
|
+
}>, z.ZodObject<{
|
|
12001
|
+
type: z.ZodLiteral<"gift">;
|
|
12002
|
+
counterparty: z.ZodOptional<z.ZodEffects<z.ZodString, `0x${string}`, string>>;
|
|
12003
|
+
leg: z.ZodString;
|
|
11072
12004
|
asset: z.ZodObject<{
|
|
11073
12005
|
type: z.ZodEnum<["token", "nft"]>;
|
|
11074
12006
|
tokenAddress: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
@@ -11100,27 +12032,10 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
11100
12032
|
currencyAmount: number;
|
|
11101
12033
|
} | null | undefined;
|
|
11102
12034
|
}>;
|
|
11103
|
-
|
|
11104
|
-
name: z.ZodOptional<z.ZodString>;
|
|
11105
|
-
iconUrl: z.ZodOptional<z.ZodString>;
|
|
11106
|
-
address: z.ZodOptional<z.ZodString>;
|
|
11107
|
-
}, "strip", z.ZodTypeAny, {
|
|
11108
|
-
name?: string | undefined;
|
|
11109
|
-
address?: string | undefined;
|
|
11110
|
-
iconUrl?: string | undefined;
|
|
11111
|
-
}, {
|
|
11112
|
-
name?: string | undefined;
|
|
11113
|
-
address?: string | undefined;
|
|
11114
|
-
iconUrl?: string | undefined;
|
|
11115
|
-
}>;
|
|
12035
|
+
counterpartyNetwork: z.ZodOptional<z.ZodEnum<["ethereum", "starknet", "zksync", "zksync2"]>>;
|
|
11116
12036
|
}, "strip", z.ZodTypeAny, {
|
|
11117
|
-
type: "
|
|
11118
|
-
|
|
11119
|
-
name?: string | undefined;
|
|
11120
|
-
address?: string | undefined;
|
|
11121
|
-
iconUrl?: string | undefined;
|
|
11122
|
-
};
|
|
11123
|
-
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
12037
|
+
type: "gift";
|
|
12038
|
+
leg: string;
|
|
11124
12039
|
asset: {
|
|
11125
12040
|
type: "nft" | "token";
|
|
11126
12041
|
tokenAddress: `0x${string}`;
|
|
@@ -11130,15 +12045,11 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
11130
12045
|
currencyAmount: number;
|
|
11131
12046
|
} | null | undefined;
|
|
11132
12047
|
};
|
|
11133
|
-
counterparty
|
|
12048
|
+
counterparty?: `0x${string}` | undefined;
|
|
12049
|
+
counterpartyNetwork?: "ethereum" | "zksync" | "zksync2" | "starknet" | undefined;
|
|
11134
12050
|
}, {
|
|
11135
|
-
type: "
|
|
11136
|
-
|
|
11137
|
-
name?: string | undefined;
|
|
11138
|
-
address?: string | undefined;
|
|
11139
|
-
iconUrl?: string | undefined;
|
|
11140
|
-
};
|
|
11141
|
-
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
12051
|
+
type: "gift";
|
|
12052
|
+
leg: string;
|
|
11142
12053
|
asset: {
|
|
11143
12054
|
type: "nft" | "token";
|
|
11144
12055
|
tokenAddress: string;
|
|
@@ -11148,7 +12059,8 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
11148
12059
|
currencyAmount: number;
|
|
11149
12060
|
} | null | undefined;
|
|
11150
12061
|
};
|
|
11151
|
-
counterparty
|
|
12062
|
+
counterparty?: string | undefined;
|
|
12063
|
+
counterpartyNetwork?: "ethereum" | "zksync" | "zksync2" | "starknet" | undefined;
|
|
11152
12064
|
}>]>, z.ZodObject<{
|
|
11153
12065
|
type: z.ZodLiteral<"multicall">;
|
|
11154
12066
|
calls: z.ZodArray<z.ZodObject<{
|
|
@@ -11597,6 +12509,70 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
11597
12509
|
} | null | undefined;
|
|
11598
12510
|
};
|
|
11599
12511
|
counterparty: string;
|
|
12512
|
+
}>, z.ZodObject<{
|
|
12513
|
+
type: z.ZodLiteral<"gift">;
|
|
12514
|
+
counterparty: z.ZodOptional<z.ZodEffects<z.ZodString, `0x${string}`, string>>;
|
|
12515
|
+
leg: z.ZodString;
|
|
12516
|
+
asset: z.ZodObject<{
|
|
12517
|
+
type: z.ZodEnum<["token", "nft"]>;
|
|
12518
|
+
tokenAddress: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
12519
|
+
amount: z.ZodOptional<z.ZodString>;
|
|
12520
|
+
fiatAmount: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
12521
|
+
currency: z.ZodString;
|
|
12522
|
+
currencyAmount: z.ZodNumber;
|
|
12523
|
+
}, "strip", z.ZodTypeAny, {
|
|
12524
|
+
currency: string;
|
|
12525
|
+
currencyAmount: number;
|
|
12526
|
+
}, {
|
|
12527
|
+
currency: string;
|
|
12528
|
+
currencyAmount: number;
|
|
12529
|
+
}>>>;
|
|
12530
|
+
}, "strip", z.ZodTypeAny, {
|
|
12531
|
+
type: "nft" | "token";
|
|
12532
|
+
tokenAddress: `0x${string}`;
|
|
12533
|
+
amount?: string | undefined;
|
|
12534
|
+
fiatAmount?: {
|
|
12535
|
+
currency: string;
|
|
12536
|
+
currencyAmount: number;
|
|
12537
|
+
} | null | undefined;
|
|
12538
|
+
}, {
|
|
12539
|
+
type: "nft" | "token";
|
|
12540
|
+
tokenAddress: string;
|
|
12541
|
+
amount?: string | undefined;
|
|
12542
|
+
fiatAmount?: {
|
|
12543
|
+
currency: string;
|
|
12544
|
+
currencyAmount: number;
|
|
12545
|
+
} | null | undefined;
|
|
12546
|
+
}>;
|
|
12547
|
+
counterpartyNetwork: z.ZodOptional<z.ZodEnum<["ethereum", "starknet", "zksync", "zksync2"]>>;
|
|
12548
|
+
}, "strip", z.ZodTypeAny, {
|
|
12549
|
+
type: "gift";
|
|
12550
|
+
leg: string;
|
|
12551
|
+
asset: {
|
|
12552
|
+
type: "nft" | "token";
|
|
12553
|
+
tokenAddress: `0x${string}`;
|
|
12554
|
+
amount?: string | undefined;
|
|
12555
|
+
fiatAmount?: {
|
|
12556
|
+
currency: string;
|
|
12557
|
+
currencyAmount: number;
|
|
12558
|
+
} | null | undefined;
|
|
12559
|
+
};
|
|
12560
|
+
counterparty?: `0x${string}` | undefined;
|
|
12561
|
+
counterpartyNetwork?: "ethereum" | "zksync" | "zksync2" | "starknet" | undefined;
|
|
12562
|
+
}, {
|
|
12563
|
+
type: "gift";
|
|
12564
|
+
leg: string;
|
|
12565
|
+
asset: {
|
|
12566
|
+
type: "nft" | "token";
|
|
12567
|
+
tokenAddress: string;
|
|
12568
|
+
amount?: string | undefined;
|
|
12569
|
+
fiatAmount?: {
|
|
12570
|
+
currency: string;
|
|
12571
|
+
currencyAmount: number;
|
|
12572
|
+
} | null | undefined;
|
|
12573
|
+
};
|
|
12574
|
+
counterparty?: string | undefined;
|
|
12575
|
+
counterpartyNetwork?: "ethereum" | "zksync" | "zksync2" | "starknet" | undefined;
|
|
11600
12576
|
}>]>;
|
|
11601
12577
|
}, "strip", z.ZodTypeAny, {
|
|
11602
12578
|
details: {
|
|
@@ -11692,6 +12668,20 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
11692
12668
|
} | null | undefined;
|
|
11693
12669
|
};
|
|
11694
12670
|
counterparty: `0x${string}`;
|
|
12671
|
+
} | {
|
|
12672
|
+
type: "gift";
|
|
12673
|
+
leg: string;
|
|
12674
|
+
asset: {
|
|
12675
|
+
type: "nft" | "token";
|
|
12676
|
+
tokenAddress: `0x${string}`;
|
|
12677
|
+
amount?: string | undefined;
|
|
12678
|
+
fiatAmount?: {
|
|
12679
|
+
currency: string;
|
|
12680
|
+
currencyAmount: number;
|
|
12681
|
+
} | null | undefined;
|
|
12682
|
+
};
|
|
12683
|
+
counterparty?: `0x${string}` | undefined;
|
|
12684
|
+
counterpartyNetwork?: "ethereum" | "zksync" | "zksync2" | "starknet" | undefined;
|
|
11695
12685
|
};
|
|
11696
12686
|
}, {
|
|
11697
12687
|
details: {
|
|
@@ -11787,6 +12777,20 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
11787
12777
|
} | null | undefined;
|
|
11788
12778
|
};
|
|
11789
12779
|
counterparty: string;
|
|
12780
|
+
} | {
|
|
12781
|
+
type: "gift";
|
|
12782
|
+
leg: string;
|
|
12783
|
+
asset: {
|
|
12784
|
+
type: "nft" | "token";
|
|
12785
|
+
tokenAddress: string;
|
|
12786
|
+
amount?: string | undefined;
|
|
12787
|
+
fiatAmount?: {
|
|
12788
|
+
currency: string;
|
|
12789
|
+
currencyAmount: number;
|
|
12790
|
+
} | null | undefined;
|
|
12791
|
+
};
|
|
12792
|
+
counterparty?: string | undefined;
|
|
12793
|
+
counterpartyNetwork?: "ethereum" | "zksync" | "zksync2" | "starknet" | undefined;
|
|
11790
12794
|
};
|
|
11791
12795
|
}>, "many">;
|
|
11792
12796
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -11885,6 +12889,20 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
11885
12889
|
} | null | undefined;
|
|
11886
12890
|
};
|
|
11887
12891
|
counterparty: `0x${string}`;
|
|
12892
|
+
} | {
|
|
12893
|
+
type: "gift";
|
|
12894
|
+
leg: string;
|
|
12895
|
+
asset: {
|
|
12896
|
+
type: "nft" | "token";
|
|
12897
|
+
tokenAddress: `0x${string}`;
|
|
12898
|
+
amount?: string | undefined;
|
|
12899
|
+
fiatAmount?: {
|
|
12900
|
+
currency: string;
|
|
12901
|
+
currencyAmount: number;
|
|
12902
|
+
} | null | undefined;
|
|
12903
|
+
};
|
|
12904
|
+
counterparty?: `0x${string}` | undefined;
|
|
12905
|
+
counterpartyNetwork?: "ethereum" | "zksync" | "zksync2" | "starknet" | undefined;
|
|
11888
12906
|
};
|
|
11889
12907
|
}[];
|
|
11890
12908
|
}, {
|
|
@@ -11983,6 +13001,20 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
11983
13001
|
} | null | undefined;
|
|
11984
13002
|
};
|
|
11985
13003
|
counterparty: string;
|
|
13004
|
+
} | {
|
|
13005
|
+
type: "gift";
|
|
13006
|
+
leg: string;
|
|
13007
|
+
asset: {
|
|
13008
|
+
type: "nft" | "token";
|
|
13009
|
+
tokenAddress: string;
|
|
13010
|
+
amount?: string | undefined;
|
|
13011
|
+
fiatAmount?: {
|
|
13012
|
+
currency: string;
|
|
13013
|
+
currencyAmount: number;
|
|
13014
|
+
} | null | undefined;
|
|
13015
|
+
};
|
|
13016
|
+
counterparty?: string | undefined;
|
|
13017
|
+
counterpartyNetwork?: "ethereum" | "zksync" | "zksync2" | "starknet" | undefined;
|
|
11986
13018
|
};
|
|
11987
13019
|
}[];
|
|
11988
13020
|
}>]>;
|
|
@@ -12894,6 +13926,20 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
12894
13926
|
} | null | undefined;
|
|
12895
13927
|
};
|
|
12896
13928
|
counterparty: `0x${string}`;
|
|
13929
|
+
} | {
|
|
13930
|
+
type: "gift";
|
|
13931
|
+
leg: string;
|
|
13932
|
+
asset: {
|
|
13933
|
+
type: "nft" | "token";
|
|
13934
|
+
tokenAddress: `0x${string}`;
|
|
13935
|
+
amount?: string | undefined;
|
|
13936
|
+
fiatAmount?: {
|
|
13937
|
+
currency: string;
|
|
13938
|
+
currencyAmount: number;
|
|
13939
|
+
} | null | undefined;
|
|
13940
|
+
};
|
|
13941
|
+
counterparty?: `0x${string}` | undefined;
|
|
13942
|
+
counterpartyNetwork?: "ethereum" | "zksync" | "zksync2" | "starknet" | undefined;
|
|
12897
13943
|
} | {
|
|
12898
13944
|
type: "multicall";
|
|
12899
13945
|
calls: {
|
|
@@ -12990,6 +14036,20 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
12990
14036
|
} | null | undefined;
|
|
12991
14037
|
};
|
|
12992
14038
|
counterparty: `0x${string}`;
|
|
14039
|
+
} | {
|
|
14040
|
+
type: "gift";
|
|
14041
|
+
leg: string;
|
|
14042
|
+
asset: {
|
|
14043
|
+
type: "nft" | "token";
|
|
14044
|
+
tokenAddress: `0x${string}`;
|
|
14045
|
+
amount?: string | undefined;
|
|
14046
|
+
fiatAmount?: {
|
|
14047
|
+
currency: string;
|
|
14048
|
+
currencyAmount: number;
|
|
14049
|
+
} | null | undefined;
|
|
14050
|
+
};
|
|
14051
|
+
counterparty?: `0x${string}` | undefined;
|
|
14052
|
+
counterpartyNetwork?: "ethereum" | "zksync" | "zksync2" | "starknet" | undefined;
|
|
12993
14053
|
};
|
|
12994
14054
|
}[];
|
|
12995
14055
|
};
|
|
@@ -13292,6 +14352,20 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
13292
14352
|
} | null | undefined;
|
|
13293
14353
|
};
|
|
13294
14354
|
counterparty: string;
|
|
14355
|
+
} | {
|
|
14356
|
+
type: "gift";
|
|
14357
|
+
leg: string;
|
|
14358
|
+
asset: {
|
|
14359
|
+
type: "nft" | "token";
|
|
14360
|
+
tokenAddress: string;
|
|
14361
|
+
amount?: string | undefined;
|
|
14362
|
+
fiatAmount?: {
|
|
14363
|
+
currency: string;
|
|
14364
|
+
currencyAmount: number;
|
|
14365
|
+
} | null | undefined;
|
|
14366
|
+
};
|
|
14367
|
+
counterparty?: string | undefined;
|
|
14368
|
+
counterpartyNetwork?: "ethereum" | "zksync" | "zksync2" | "starknet" | undefined;
|
|
13295
14369
|
} | {
|
|
13296
14370
|
type: "multicall";
|
|
13297
14371
|
calls: {
|
|
@@ -13388,6 +14462,20 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
13388
14462
|
} | null | undefined;
|
|
13389
14463
|
};
|
|
13390
14464
|
counterparty: string;
|
|
14465
|
+
} | {
|
|
14466
|
+
type: "gift";
|
|
14467
|
+
leg: string;
|
|
14468
|
+
asset: {
|
|
14469
|
+
type: "nft" | "token";
|
|
14470
|
+
tokenAddress: string;
|
|
14471
|
+
amount?: string | undefined;
|
|
14472
|
+
fiatAmount?: {
|
|
14473
|
+
currency: string;
|
|
14474
|
+
currencyAmount: number;
|
|
14475
|
+
} | null | undefined;
|
|
14476
|
+
};
|
|
14477
|
+
counterparty?: string | undefined;
|
|
14478
|
+
counterpartyNetwork?: "ethereum" | "zksync" | "zksync2" | "starknet" | undefined;
|
|
13391
14479
|
};
|
|
13392
14480
|
}[];
|
|
13393
14481
|
};
|
|
@@ -13698,6 +14786,20 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
13698
14786
|
} | null | undefined;
|
|
13699
14787
|
};
|
|
13700
14788
|
counterparty: `0x${string}`;
|
|
14789
|
+
} | {
|
|
14790
|
+
type: "gift";
|
|
14791
|
+
leg: string;
|
|
14792
|
+
asset: {
|
|
14793
|
+
type: "nft" | "token";
|
|
14794
|
+
tokenAddress: `0x${string}`;
|
|
14795
|
+
amount?: string | undefined;
|
|
14796
|
+
fiatAmount?: {
|
|
14797
|
+
currency: string;
|
|
14798
|
+
currencyAmount: number;
|
|
14799
|
+
} | null | undefined;
|
|
14800
|
+
};
|
|
14801
|
+
counterparty?: `0x${string}` | undefined;
|
|
14802
|
+
counterpartyNetwork?: "ethereum" | "zksync" | "zksync2" | "starknet" | undefined;
|
|
13701
14803
|
} | {
|
|
13702
14804
|
type: "multicall";
|
|
13703
14805
|
calls: {
|
|
@@ -13794,6 +14896,20 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
13794
14896
|
} | null | undefined;
|
|
13795
14897
|
};
|
|
13796
14898
|
counterparty: `0x${string}`;
|
|
14899
|
+
} | {
|
|
14900
|
+
type: "gift";
|
|
14901
|
+
leg: string;
|
|
14902
|
+
asset: {
|
|
14903
|
+
type: "nft" | "token";
|
|
14904
|
+
tokenAddress: `0x${string}`;
|
|
14905
|
+
amount?: string | undefined;
|
|
14906
|
+
fiatAmount?: {
|
|
14907
|
+
currency: string;
|
|
14908
|
+
currencyAmount: number;
|
|
14909
|
+
} | null | undefined;
|
|
14910
|
+
};
|
|
14911
|
+
counterparty?: `0x${string}` | undefined;
|
|
14912
|
+
counterpartyNetwork?: "ethereum" | "zksync" | "zksync2" | "starknet" | undefined;
|
|
13797
14913
|
};
|
|
13798
14914
|
}[];
|
|
13799
14915
|
};
|
|
@@ -14102,6 +15218,20 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
14102
15218
|
} | null | undefined;
|
|
14103
15219
|
};
|
|
14104
15220
|
counterparty: string;
|
|
15221
|
+
} | {
|
|
15222
|
+
type: "gift";
|
|
15223
|
+
leg: string;
|
|
15224
|
+
asset: {
|
|
15225
|
+
type: "nft" | "token";
|
|
15226
|
+
tokenAddress: string;
|
|
15227
|
+
amount?: string | undefined;
|
|
15228
|
+
fiatAmount?: {
|
|
15229
|
+
currency: string;
|
|
15230
|
+
currencyAmount: number;
|
|
15231
|
+
} | null | undefined;
|
|
15232
|
+
};
|
|
15233
|
+
counterparty?: string | undefined;
|
|
15234
|
+
counterpartyNetwork?: "ethereum" | "zksync" | "zksync2" | "starknet" | undefined;
|
|
14105
15235
|
} | {
|
|
14106
15236
|
type: "multicall";
|
|
14107
15237
|
calls: {
|
|
@@ -14198,6 +15328,20 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
14198
15328
|
} | null | undefined;
|
|
14199
15329
|
};
|
|
14200
15330
|
counterparty: string;
|
|
15331
|
+
} | {
|
|
15332
|
+
type: "gift";
|
|
15333
|
+
leg: string;
|
|
15334
|
+
asset: {
|
|
15335
|
+
type: "nft" | "token";
|
|
15336
|
+
tokenAddress: string;
|
|
15337
|
+
amount?: string | undefined;
|
|
15338
|
+
fiatAmount?: {
|
|
15339
|
+
currency: string;
|
|
15340
|
+
currencyAmount: number;
|
|
15341
|
+
} | null | undefined;
|
|
15342
|
+
};
|
|
15343
|
+
counterparty?: string | undefined;
|
|
15344
|
+
counterpartyNetwork?: "ethereum" | "zksync" | "zksync2" | "starknet" | undefined;
|
|
14201
15345
|
};
|
|
14202
15346
|
}[];
|
|
14203
15347
|
};
|