@argent/x-shared 1.42.0 → 1.43.0
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/README.md +1 -1
- package/dist/.eslintrc.d.cts +2 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +297 -295
- package/dist/src/backend/index.d.ts +1 -1
- package/dist/src/bigdecimal/index.d.ts +1 -1
- package/dist/src/cache/index.d.ts +1 -1
- package/dist/src/chains/starknet/services/address/index.d.ts +1 -1
- package/dist/src/errors/account.d.ts +1 -1
- package/dist/src/errors/address.d.ts +1 -1
- package/dist/src/errors/call.d.ts +1 -1
- package/dist/src/errors/network.d.ts +1 -1
- package/dist/src/errors/review.d.ts +1 -1
- package/dist/src/errors/swap.d.ts +1 -1
- package/dist/src/features/simulation/activity/schema.cjs +1 -1
- package/dist/src/features/simulation/activity/schema.d.ts +346 -334
- package/dist/src/features/simulation/activity/schema.js +17 -26
- package/dist/src/features/swap/services/index.d.ts +1 -1
- package/dist/src/http/index.d.ts +2 -2
- package/dist/src/knownDapps/index.d.ts +1 -1
- package/dist/src/nameResolution/index.d.ts +1 -1
- package/dist/src/nfts/index.d.ts +1 -1
- package/dist/src/onchainRecovery/index.d.ts +1 -1
- package/dist/src/staking/schema.cjs +1 -1
- package/dist/src/staking/schema.d.ts +88 -505
- package/dist/src/staking/schema.js +27 -19
- package/dist/src/tokens/index.d.ts +1 -1
- package/dist/src/tokens/service/implementation.d.ts +21 -2
- package/dist/src/tokens/service/index.d.ts +1 -1
- package/dist/src/tokens/service/tokenError.d.ts +1 -1
- package/dist/src/tokens/service/types/backend.model.cjs +1 -1
- package/dist/src/tokens/service/types/backend.model.d.ts +840 -80
- package/dist/src/tokens/service/types/backend.model.js +117 -114
- package/dist/src/transactions/estimate/error.d.ts +1 -1
- package/dist/src/transactions/index.d.ts +5 -5
- package/dist/src/transactions/service/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -428,7 +428,7 @@ export declare const activityDetailsSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<
|
|
|
428
428
|
} | null | undefined;
|
|
429
429
|
}>, z.ZodObject<{
|
|
430
430
|
type: z.ZodLiteral<"staking">;
|
|
431
|
-
stakingAction: z.ZodEnum<["
|
|
431
|
+
stakingAction: z.ZodEnum<["stake", "initiateWithdraw", "withdraw", "claim"]>;
|
|
432
432
|
counterparty: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
433
433
|
asset: z.ZodObject<{
|
|
434
434
|
type: z.ZodEnum<["token", "nft"]>;
|
|
@@ -462,25 +462,26 @@ export declare const activityDetailsSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<
|
|
|
462
462
|
} | null | undefined;
|
|
463
463
|
}>;
|
|
464
464
|
stakerInfo: z.ZodObject<{
|
|
465
|
-
name: z.ZodString
|
|
466
|
-
iconUrl: z.ZodString
|
|
467
|
-
address: z.
|
|
465
|
+
name: z.ZodOptional<z.ZodString>;
|
|
466
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
467
|
+
address: z.ZodString;
|
|
468
468
|
}, "strip", z.ZodTypeAny, {
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
iconUrl
|
|
469
|
+
address: string;
|
|
470
|
+
name?: string | undefined;
|
|
471
|
+
iconUrl?: string | undefined;
|
|
472
472
|
}, {
|
|
473
|
-
name: string;
|
|
474
473
|
address: string;
|
|
475
|
-
|
|
474
|
+
name?: string | undefined;
|
|
475
|
+
iconUrl?: string | undefined;
|
|
476
476
|
}>;
|
|
477
477
|
}, "strip", z.ZodTypeAny, {
|
|
478
478
|
type: "staking";
|
|
479
479
|
stakerInfo: {
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
iconUrl
|
|
480
|
+
address: string;
|
|
481
|
+
name?: string | undefined;
|
|
482
|
+
iconUrl?: string | undefined;
|
|
483
483
|
};
|
|
484
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
484
485
|
asset: {
|
|
485
486
|
type: "nft" | "token";
|
|
486
487
|
tokenAddress: `0x${string}`;
|
|
@@ -491,14 +492,14 @@ export declare const activityDetailsSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<
|
|
|
491
492
|
} | null | undefined;
|
|
492
493
|
};
|
|
493
494
|
counterparty: `0x${string}`;
|
|
494
|
-
stakingAction: "deposit" | "withdraw" | "finalizeWithdraw" | "claim";
|
|
495
495
|
}, {
|
|
496
496
|
type: "staking";
|
|
497
497
|
stakerInfo: {
|
|
498
|
-
name: string;
|
|
499
498
|
address: string;
|
|
500
|
-
|
|
499
|
+
name?: string | undefined;
|
|
500
|
+
iconUrl?: string | undefined;
|
|
501
501
|
};
|
|
502
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
502
503
|
asset: {
|
|
503
504
|
type: "nft" | "token";
|
|
504
505
|
tokenAddress: string;
|
|
@@ -509,7 +510,6 @@ export declare const activityDetailsSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<
|
|
|
509
510
|
} | null | undefined;
|
|
510
511
|
};
|
|
511
512
|
counterparty: string;
|
|
512
|
-
stakingAction: "deposit" | "withdraw" | "finalizeWithdraw" | "claim";
|
|
513
513
|
}>]>, z.ZodObject<{
|
|
514
514
|
type: z.ZodLiteral<"multicall">;
|
|
515
515
|
calls: z.ZodArray<z.ZodObject<{
|
|
@@ -876,7 +876,7 @@ export declare const activityDetailsSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<
|
|
|
876
876
|
} | null | undefined;
|
|
877
877
|
}>, z.ZodObject<{
|
|
878
878
|
type: z.ZodLiteral<"staking">;
|
|
879
|
-
stakingAction: z.ZodEnum<["
|
|
879
|
+
stakingAction: z.ZodEnum<["stake", "initiateWithdraw", "withdraw", "claim"]>;
|
|
880
880
|
counterparty: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
881
881
|
asset: z.ZodObject<{
|
|
882
882
|
type: z.ZodEnum<["token", "nft"]>;
|
|
@@ -910,25 +910,26 @@ export declare const activityDetailsSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<
|
|
|
910
910
|
} | null | undefined;
|
|
911
911
|
}>;
|
|
912
912
|
stakerInfo: z.ZodObject<{
|
|
913
|
-
name: z.ZodString
|
|
914
|
-
iconUrl: z.ZodString
|
|
915
|
-
address: z.
|
|
913
|
+
name: z.ZodOptional<z.ZodString>;
|
|
914
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
915
|
+
address: z.ZodString;
|
|
916
916
|
}, "strip", z.ZodTypeAny, {
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
iconUrl
|
|
917
|
+
address: string;
|
|
918
|
+
name?: string | undefined;
|
|
919
|
+
iconUrl?: string | undefined;
|
|
920
920
|
}, {
|
|
921
|
-
name: string;
|
|
922
921
|
address: string;
|
|
923
|
-
|
|
922
|
+
name?: string | undefined;
|
|
923
|
+
iconUrl?: string | undefined;
|
|
924
924
|
}>;
|
|
925
925
|
}, "strip", z.ZodTypeAny, {
|
|
926
926
|
type: "staking";
|
|
927
927
|
stakerInfo: {
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
iconUrl
|
|
928
|
+
address: string;
|
|
929
|
+
name?: string | undefined;
|
|
930
|
+
iconUrl?: string | undefined;
|
|
931
931
|
};
|
|
932
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
932
933
|
asset: {
|
|
933
934
|
type: "nft" | "token";
|
|
934
935
|
tokenAddress: `0x${string}`;
|
|
@@ -939,14 +940,14 @@ export declare const activityDetailsSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<
|
|
|
939
940
|
} | null | undefined;
|
|
940
941
|
};
|
|
941
942
|
counterparty: `0x${string}`;
|
|
942
|
-
stakingAction: "deposit" | "withdraw" | "finalizeWithdraw" | "claim";
|
|
943
943
|
}, {
|
|
944
944
|
type: "staking";
|
|
945
945
|
stakerInfo: {
|
|
946
|
-
name: string;
|
|
947
946
|
address: string;
|
|
948
|
-
|
|
947
|
+
name?: string | undefined;
|
|
948
|
+
iconUrl?: string | undefined;
|
|
949
949
|
};
|
|
950
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
950
951
|
asset: {
|
|
951
952
|
type: "nft" | "token";
|
|
952
953
|
tokenAddress: string;
|
|
@@ -957,7 +958,6 @@ export declare const activityDetailsSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<
|
|
|
957
958
|
} | null | undefined;
|
|
958
959
|
};
|
|
959
960
|
counterparty: string;
|
|
960
|
-
stakingAction: "deposit" | "withdraw" | "finalizeWithdraw" | "claim";
|
|
961
961
|
}>]>;
|
|
962
962
|
}, "strip", z.ZodTypeAny, {
|
|
963
963
|
details: {
|
|
@@ -1038,10 +1038,11 @@ export declare const activityDetailsSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<
|
|
|
1038
1038
|
} | {
|
|
1039
1039
|
type: "staking";
|
|
1040
1040
|
stakerInfo: {
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
iconUrl
|
|
1041
|
+
address: string;
|
|
1042
|
+
name?: string | undefined;
|
|
1043
|
+
iconUrl?: string | undefined;
|
|
1044
1044
|
};
|
|
1045
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
1045
1046
|
asset: {
|
|
1046
1047
|
type: "nft" | "token";
|
|
1047
1048
|
tokenAddress: `0x${string}`;
|
|
@@ -1052,7 +1053,6 @@ export declare const activityDetailsSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<
|
|
|
1052
1053
|
} | null | undefined;
|
|
1053
1054
|
};
|
|
1054
1055
|
counterparty: `0x${string}`;
|
|
1055
|
-
stakingAction: "deposit" | "withdraw" | "finalizeWithdraw" | "claim";
|
|
1056
1056
|
};
|
|
1057
1057
|
}, {
|
|
1058
1058
|
details: {
|
|
@@ -1133,10 +1133,11 @@ export declare const activityDetailsSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<
|
|
|
1133
1133
|
} | {
|
|
1134
1134
|
type: "staking";
|
|
1135
1135
|
stakerInfo: {
|
|
1136
|
-
name: string;
|
|
1137
1136
|
address: string;
|
|
1138
|
-
|
|
1137
|
+
name?: string | undefined;
|
|
1138
|
+
iconUrl?: string | undefined;
|
|
1139
1139
|
};
|
|
1140
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
1140
1141
|
asset: {
|
|
1141
1142
|
type: "nft" | "token";
|
|
1142
1143
|
tokenAddress: string;
|
|
@@ -1147,7 +1148,6 @@ export declare const activityDetailsSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<
|
|
|
1147
1148
|
} | null | undefined;
|
|
1148
1149
|
};
|
|
1149
1150
|
counterparty: string;
|
|
1150
|
-
stakingAction: "deposit" | "withdraw" | "finalizeWithdraw" | "claim";
|
|
1151
1151
|
};
|
|
1152
1152
|
}>, "many">;
|
|
1153
1153
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1231,10 +1231,11 @@ export declare const activityDetailsSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<
|
|
|
1231
1231
|
} | {
|
|
1232
1232
|
type: "staking";
|
|
1233
1233
|
stakerInfo: {
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
iconUrl
|
|
1234
|
+
address: string;
|
|
1235
|
+
name?: string | undefined;
|
|
1236
|
+
iconUrl?: string | undefined;
|
|
1237
1237
|
};
|
|
1238
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
1238
1239
|
asset: {
|
|
1239
1240
|
type: "nft" | "token";
|
|
1240
1241
|
tokenAddress: `0x${string}`;
|
|
@@ -1245,7 +1246,6 @@ export declare const activityDetailsSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<
|
|
|
1245
1246
|
} | null | undefined;
|
|
1246
1247
|
};
|
|
1247
1248
|
counterparty: `0x${string}`;
|
|
1248
|
-
stakingAction: "deposit" | "withdraw" | "finalizeWithdraw" | "claim";
|
|
1249
1249
|
};
|
|
1250
1250
|
}[];
|
|
1251
1251
|
}, {
|
|
@@ -1329,10 +1329,11 @@ export declare const activityDetailsSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<
|
|
|
1329
1329
|
} | {
|
|
1330
1330
|
type: "staking";
|
|
1331
1331
|
stakerInfo: {
|
|
1332
|
-
name: string;
|
|
1333
1332
|
address: string;
|
|
1334
|
-
|
|
1333
|
+
name?: string | undefined;
|
|
1334
|
+
iconUrl?: string | undefined;
|
|
1335
1335
|
};
|
|
1336
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
1336
1337
|
asset: {
|
|
1337
1338
|
type: "nft" | "token";
|
|
1338
1339
|
tokenAddress: string;
|
|
@@ -1343,7 +1344,6 @@ export declare const activityDetailsSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<
|
|
|
1343
1344
|
} | null | undefined;
|
|
1344
1345
|
};
|
|
1345
1346
|
counterparty: string;
|
|
1346
|
-
stakingAction: "deposit" | "withdraw" | "finalizeWithdraw" | "claim";
|
|
1347
1347
|
};
|
|
1348
1348
|
}[];
|
|
1349
1349
|
}>]>;
|
|
@@ -2060,7 +2060,7 @@ export declare const activitySchema: z.ZodObject<{
|
|
|
2060
2060
|
} | null | undefined;
|
|
2061
2061
|
}>, z.ZodObject<{
|
|
2062
2062
|
type: z.ZodLiteral<"staking">;
|
|
2063
|
-
stakingAction: z.ZodEnum<["
|
|
2063
|
+
stakingAction: z.ZodEnum<["stake", "initiateWithdraw", "withdraw", "claim"]>;
|
|
2064
2064
|
counterparty: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2065
2065
|
asset: z.ZodObject<{
|
|
2066
2066
|
type: z.ZodEnum<["token", "nft"]>;
|
|
@@ -2094,25 +2094,26 @@ export declare const activitySchema: z.ZodObject<{
|
|
|
2094
2094
|
} | null | undefined;
|
|
2095
2095
|
}>;
|
|
2096
2096
|
stakerInfo: z.ZodObject<{
|
|
2097
|
-
name: z.ZodString
|
|
2098
|
-
iconUrl: z.ZodString
|
|
2099
|
-
address: z.
|
|
2097
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2098
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
2099
|
+
address: z.ZodString;
|
|
2100
2100
|
}, "strip", z.ZodTypeAny, {
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
iconUrl
|
|
2101
|
+
address: string;
|
|
2102
|
+
name?: string | undefined;
|
|
2103
|
+
iconUrl?: string | undefined;
|
|
2104
2104
|
}, {
|
|
2105
|
-
name: string;
|
|
2106
2105
|
address: string;
|
|
2107
|
-
|
|
2106
|
+
name?: string | undefined;
|
|
2107
|
+
iconUrl?: string | undefined;
|
|
2108
2108
|
}>;
|
|
2109
2109
|
}, "strip", z.ZodTypeAny, {
|
|
2110
2110
|
type: "staking";
|
|
2111
2111
|
stakerInfo: {
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
iconUrl
|
|
2112
|
+
address: string;
|
|
2113
|
+
name?: string | undefined;
|
|
2114
|
+
iconUrl?: string | undefined;
|
|
2115
2115
|
};
|
|
2116
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
2116
2117
|
asset: {
|
|
2117
2118
|
type: "nft" | "token";
|
|
2118
2119
|
tokenAddress: `0x${string}`;
|
|
@@ -2123,14 +2124,14 @@ export declare const activitySchema: z.ZodObject<{
|
|
|
2123
2124
|
} | null | undefined;
|
|
2124
2125
|
};
|
|
2125
2126
|
counterparty: `0x${string}`;
|
|
2126
|
-
stakingAction: "deposit" | "withdraw" | "finalizeWithdraw" | "claim";
|
|
2127
2127
|
}, {
|
|
2128
2128
|
type: "staking";
|
|
2129
2129
|
stakerInfo: {
|
|
2130
|
-
name: string;
|
|
2131
2130
|
address: string;
|
|
2132
|
-
|
|
2131
|
+
name?: string | undefined;
|
|
2132
|
+
iconUrl?: string | undefined;
|
|
2133
2133
|
};
|
|
2134
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
2134
2135
|
asset: {
|
|
2135
2136
|
type: "nft" | "token";
|
|
2136
2137
|
tokenAddress: string;
|
|
@@ -2141,7 +2142,6 @@ export declare const activitySchema: z.ZodObject<{
|
|
|
2141
2142
|
} | null | undefined;
|
|
2142
2143
|
};
|
|
2143
2144
|
counterparty: string;
|
|
2144
|
-
stakingAction: "deposit" | "withdraw" | "finalizeWithdraw" | "claim";
|
|
2145
2145
|
}>]>, z.ZodObject<{
|
|
2146
2146
|
type: z.ZodLiteral<"multicall">;
|
|
2147
2147
|
calls: z.ZodArray<z.ZodObject<{
|
|
@@ -2508,7 +2508,7 @@ export declare const activitySchema: z.ZodObject<{
|
|
|
2508
2508
|
} | null | undefined;
|
|
2509
2509
|
}>, z.ZodObject<{
|
|
2510
2510
|
type: z.ZodLiteral<"staking">;
|
|
2511
|
-
stakingAction: z.ZodEnum<["
|
|
2511
|
+
stakingAction: z.ZodEnum<["stake", "initiateWithdraw", "withdraw", "claim"]>;
|
|
2512
2512
|
counterparty: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2513
2513
|
asset: z.ZodObject<{
|
|
2514
2514
|
type: z.ZodEnum<["token", "nft"]>;
|
|
@@ -2542,25 +2542,26 @@ export declare const activitySchema: z.ZodObject<{
|
|
|
2542
2542
|
} | null | undefined;
|
|
2543
2543
|
}>;
|
|
2544
2544
|
stakerInfo: z.ZodObject<{
|
|
2545
|
-
name: z.ZodString
|
|
2546
|
-
iconUrl: z.ZodString
|
|
2547
|
-
address: z.
|
|
2545
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2546
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
2547
|
+
address: z.ZodString;
|
|
2548
2548
|
}, "strip", z.ZodTypeAny, {
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
iconUrl
|
|
2549
|
+
address: string;
|
|
2550
|
+
name?: string | undefined;
|
|
2551
|
+
iconUrl?: string | undefined;
|
|
2552
2552
|
}, {
|
|
2553
|
-
name: string;
|
|
2554
2553
|
address: string;
|
|
2555
|
-
|
|
2554
|
+
name?: string | undefined;
|
|
2555
|
+
iconUrl?: string | undefined;
|
|
2556
2556
|
}>;
|
|
2557
2557
|
}, "strip", z.ZodTypeAny, {
|
|
2558
2558
|
type: "staking";
|
|
2559
2559
|
stakerInfo: {
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
iconUrl
|
|
2560
|
+
address: string;
|
|
2561
|
+
name?: string | undefined;
|
|
2562
|
+
iconUrl?: string | undefined;
|
|
2563
2563
|
};
|
|
2564
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
2564
2565
|
asset: {
|
|
2565
2566
|
type: "nft" | "token";
|
|
2566
2567
|
tokenAddress: `0x${string}`;
|
|
@@ -2571,14 +2572,14 @@ export declare const activitySchema: z.ZodObject<{
|
|
|
2571
2572
|
} | null | undefined;
|
|
2572
2573
|
};
|
|
2573
2574
|
counterparty: `0x${string}`;
|
|
2574
|
-
stakingAction: "deposit" | "withdraw" | "finalizeWithdraw" | "claim";
|
|
2575
2575
|
}, {
|
|
2576
2576
|
type: "staking";
|
|
2577
2577
|
stakerInfo: {
|
|
2578
|
-
name: string;
|
|
2579
2578
|
address: string;
|
|
2580
|
-
|
|
2579
|
+
name?: string | undefined;
|
|
2580
|
+
iconUrl?: string | undefined;
|
|
2581
2581
|
};
|
|
2582
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
2582
2583
|
asset: {
|
|
2583
2584
|
type: "nft" | "token";
|
|
2584
2585
|
tokenAddress: string;
|
|
@@ -2589,7 +2590,6 @@ export declare const activitySchema: z.ZodObject<{
|
|
|
2589
2590
|
} | null | undefined;
|
|
2590
2591
|
};
|
|
2591
2592
|
counterparty: string;
|
|
2592
|
-
stakingAction: "deposit" | "withdraw" | "finalizeWithdraw" | "claim";
|
|
2593
2593
|
}>]>;
|
|
2594
2594
|
}, "strip", z.ZodTypeAny, {
|
|
2595
2595
|
details: {
|
|
@@ -2670,10 +2670,11 @@ export declare const activitySchema: z.ZodObject<{
|
|
|
2670
2670
|
} | {
|
|
2671
2671
|
type: "staking";
|
|
2672
2672
|
stakerInfo: {
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
iconUrl
|
|
2673
|
+
address: string;
|
|
2674
|
+
name?: string | undefined;
|
|
2675
|
+
iconUrl?: string | undefined;
|
|
2676
2676
|
};
|
|
2677
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
2677
2678
|
asset: {
|
|
2678
2679
|
type: "nft" | "token";
|
|
2679
2680
|
tokenAddress: `0x${string}`;
|
|
@@ -2684,7 +2685,6 @@ export declare const activitySchema: z.ZodObject<{
|
|
|
2684
2685
|
} | null | undefined;
|
|
2685
2686
|
};
|
|
2686
2687
|
counterparty: `0x${string}`;
|
|
2687
|
-
stakingAction: "deposit" | "withdraw" | "finalizeWithdraw" | "claim";
|
|
2688
2688
|
};
|
|
2689
2689
|
}, {
|
|
2690
2690
|
details: {
|
|
@@ -2765,10 +2765,11 @@ export declare const activitySchema: z.ZodObject<{
|
|
|
2765
2765
|
} | {
|
|
2766
2766
|
type: "staking";
|
|
2767
2767
|
stakerInfo: {
|
|
2768
|
-
name: string;
|
|
2769
2768
|
address: string;
|
|
2770
|
-
|
|
2769
|
+
name?: string | undefined;
|
|
2770
|
+
iconUrl?: string | undefined;
|
|
2771
2771
|
};
|
|
2772
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
2772
2773
|
asset: {
|
|
2773
2774
|
type: "nft" | "token";
|
|
2774
2775
|
tokenAddress: string;
|
|
@@ -2779,7 +2780,6 @@ export declare const activitySchema: z.ZodObject<{
|
|
|
2779
2780
|
} | null | undefined;
|
|
2780
2781
|
};
|
|
2781
2782
|
counterparty: string;
|
|
2782
|
-
stakingAction: "deposit" | "withdraw" | "finalizeWithdraw" | "claim";
|
|
2783
2783
|
};
|
|
2784
2784
|
}>, "many">;
|
|
2785
2785
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2863,10 +2863,11 @@ export declare const activitySchema: z.ZodObject<{
|
|
|
2863
2863
|
} | {
|
|
2864
2864
|
type: "staking";
|
|
2865
2865
|
stakerInfo: {
|
|
2866
|
-
|
|
2867
|
-
|
|
2868
|
-
iconUrl
|
|
2866
|
+
address: string;
|
|
2867
|
+
name?: string | undefined;
|
|
2868
|
+
iconUrl?: string | undefined;
|
|
2869
2869
|
};
|
|
2870
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
2870
2871
|
asset: {
|
|
2871
2872
|
type: "nft" | "token";
|
|
2872
2873
|
tokenAddress: `0x${string}`;
|
|
@@ -2877,7 +2878,6 @@ export declare const activitySchema: z.ZodObject<{
|
|
|
2877
2878
|
} | null | undefined;
|
|
2878
2879
|
};
|
|
2879
2880
|
counterparty: `0x${string}`;
|
|
2880
|
-
stakingAction: "deposit" | "withdraw" | "finalizeWithdraw" | "claim";
|
|
2881
2881
|
};
|
|
2882
2882
|
}[];
|
|
2883
2883
|
}, {
|
|
@@ -2961,10 +2961,11 @@ export declare const activitySchema: z.ZodObject<{
|
|
|
2961
2961
|
} | {
|
|
2962
2962
|
type: "staking";
|
|
2963
2963
|
stakerInfo: {
|
|
2964
|
-
name: string;
|
|
2965
2964
|
address: string;
|
|
2966
|
-
|
|
2965
|
+
name?: string | undefined;
|
|
2966
|
+
iconUrl?: string | undefined;
|
|
2967
2967
|
};
|
|
2968
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
2968
2969
|
asset: {
|
|
2969
2970
|
type: "nft" | "token";
|
|
2970
2971
|
tokenAddress: string;
|
|
@@ -2975,7 +2976,6 @@ export declare const activitySchema: z.ZodObject<{
|
|
|
2975
2976
|
} | null | undefined;
|
|
2976
2977
|
};
|
|
2977
2978
|
counterparty: string;
|
|
2978
|
-
stakingAction: "deposit" | "withdraw" | "finalizeWithdraw" | "claim";
|
|
2979
2979
|
};
|
|
2980
2980
|
}[];
|
|
2981
2981
|
}>]>;
|
|
@@ -3871,10 +3871,11 @@ export declare const activitySchema: z.ZodObject<{
|
|
|
3871
3871
|
} | {
|
|
3872
3872
|
type: "staking";
|
|
3873
3873
|
stakerInfo: {
|
|
3874
|
-
|
|
3875
|
-
|
|
3876
|
-
iconUrl
|
|
3874
|
+
address: string;
|
|
3875
|
+
name?: string | undefined;
|
|
3876
|
+
iconUrl?: string | undefined;
|
|
3877
3877
|
};
|
|
3878
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
3878
3879
|
asset: {
|
|
3879
3880
|
type: "nft" | "token";
|
|
3880
3881
|
tokenAddress: `0x${string}`;
|
|
@@ -3885,7 +3886,6 @@ export declare const activitySchema: z.ZodObject<{
|
|
|
3885
3886
|
} | null | undefined;
|
|
3886
3887
|
};
|
|
3887
3888
|
counterparty: `0x${string}`;
|
|
3888
|
-
stakingAction: "deposit" | "withdraw" | "finalizeWithdraw" | "claim";
|
|
3889
3889
|
} | {
|
|
3890
3890
|
type: "multicall";
|
|
3891
3891
|
calls: {
|
|
@@ -3967,10 +3967,11 @@ export declare const activitySchema: z.ZodObject<{
|
|
|
3967
3967
|
} | {
|
|
3968
3968
|
type: "staking";
|
|
3969
3969
|
stakerInfo: {
|
|
3970
|
-
|
|
3971
|
-
|
|
3972
|
-
iconUrl
|
|
3970
|
+
address: string;
|
|
3971
|
+
name?: string | undefined;
|
|
3972
|
+
iconUrl?: string | undefined;
|
|
3973
3973
|
};
|
|
3974
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
3974
3975
|
asset: {
|
|
3975
3976
|
type: "nft" | "token";
|
|
3976
3977
|
tokenAddress: `0x${string}`;
|
|
@@ -3981,7 +3982,6 @@ export declare const activitySchema: z.ZodObject<{
|
|
|
3981
3982
|
} | null | undefined;
|
|
3982
3983
|
};
|
|
3983
3984
|
counterparty: `0x${string}`;
|
|
3984
|
-
stakingAction: "deposit" | "withdraw" | "finalizeWithdraw" | "claim";
|
|
3985
3985
|
};
|
|
3986
3986
|
}[];
|
|
3987
3987
|
};
|
|
@@ -4269,10 +4269,11 @@ export declare const activitySchema: z.ZodObject<{
|
|
|
4269
4269
|
} | {
|
|
4270
4270
|
type: "staking";
|
|
4271
4271
|
stakerInfo: {
|
|
4272
|
-
name: string;
|
|
4273
4272
|
address: string;
|
|
4274
|
-
|
|
4273
|
+
name?: string | undefined;
|
|
4274
|
+
iconUrl?: string | undefined;
|
|
4275
4275
|
};
|
|
4276
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
4276
4277
|
asset: {
|
|
4277
4278
|
type: "nft" | "token";
|
|
4278
4279
|
tokenAddress: string;
|
|
@@ -4283,7 +4284,6 @@ export declare const activitySchema: z.ZodObject<{
|
|
|
4283
4284
|
} | null | undefined;
|
|
4284
4285
|
};
|
|
4285
4286
|
counterparty: string;
|
|
4286
|
-
stakingAction: "deposit" | "withdraw" | "finalizeWithdraw" | "claim";
|
|
4287
4287
|
} | {
|
|
4288
4288
|
type: "multicall";
|
|
4289
4289
|
calls: {
|
|
@@ -4365,10 +4365,11 @@ export declare const activitySchema: z.ZodObject<{
|
|
|
4365
4365
|
} | {
|
|
4366
4366
|
type: "staking";
|
|
4367
4367
|
stakerInfo: {
|
|
4368
|
-
name: string;
|
|
4369
4368
|
address: string;
|
|
4370
|
-
|
|
4369
|
+
name?: string | undefined;
|
|
4370
|
+
iconUrl?: string | undefined;
|
|
4371
4371
|
};
|
|
4372
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
4372
4373
|
asset: {
|
|
4373
4374
|
type: "nft" | "token";
|
|
4374
4375
|
tokenAddress: string;
|
|
@@ -4379,7 +4380,6 @@ export declare const activitySchema: z.ZodObject<{
|
|
|
4379
4380
|
} | null | undefined;
|
|
4380
4381
|
};
|
|
4381
4382
|
counterparty: string;
|
|
4382
|
-
stakingAction: "deposit" | "withdraw" | "finalizeWithdraw" | "claim";
|
|
4383
4383
|
};
|
|
4384
4384
|
}[];
|
|
4385
4385
|
};
|
|
@@ -4593,66 +4593,71 @@ export declare const nativeActivityMetaSchema: z.ZodObject<{
|
|
|
4593
4593
|
/** let's not import the keys from x-ui here */
|
|
4594
4594
|
icon: z.ZodOptional<z.ZodString>;
|
|
4595
4595
|
investment: z.ZodOptional<z.ZodObject<{
|
|
4596
|
+
stakingAction: z.ZodEnum<["stake", "initiateWithdraw", "withdraw", "claim"]>;
|
|
4596
4597
|
stakerInfo: z.ZodObject<{
|
|
4597
|
-
name: z.ZodString
|
|
4598
|
-
iconUrl: z.ZodString
|
|
4598
|
+
name: z.ZodOptional<z.ZodString>;
|
|
4599
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
4599
4600
|
address: z.ZodString;
|
|
4600
4601
|
}, "strip", z.ZodTypeAny, {
|
|
4601
|
-
name: string;
|
|
4602
4602
|
address: string;
|
|
4603
|
-
|
|
4603
|
+
name?: string | undefined;
|
|
4604
|
+
iconUrl?: string | undefined;
|
|
4604
4605
|
}, {
|
|
4605
|
-
name: string;
|
|
4606
4606
|
address: string;
|
|
4607
|
-
|
|
4607
|
+
name?: string | undefined;
|
|
4608
|
+
iconUrl?: string | undefined;
|
|
4608
4609
|
}>;
|
|
4609
4610
|
tokenAddress: z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>;
|
|
4610
4611
|
amount: z.ZodString;
|
|
4611
4612
|
}, "strip", z.ZodTypeAny, {
|
|
4612
4613
|
amount: string;
|
|
4613
4614
|
stakerInfo: {
|
|
4614
|
-
name: string;
|
|
4615
4615
|
address: string;
|
|
4616
|
-
|
|
4616
|
+
name?: string | undefined;
|
|
4617
|
+
iconUrl?: string | undefined;
|
|
4617
4618
|
};
|
|
4618
4619
|
tokenAddress: `0x${string}`;
|
|
4620
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
4619
4621
|
}, {
|
|
4620
4622
|
amount: string;
|
|
4621
4623
|
stakerInfo: {
|
|
4622
|
-
name: string;
|
|
4623
4624
|
address: string;
|
|
4624
|
-
|
|
4625
|
+
name?: string | undefined;
|
|
4626
|
+
iconUrl?: string | undefined;
|
|
4625
4627
|
};
|
|
4626
4628
|
tokenAddress: string;
|
|
4629
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
4627
4630
|
}>>;
|
|
4628
4631
|
}, "strip", z.ZodTypeAny, {
|
|
4629
4632
|
icon?: string | undefined;
|
|
4633
|
+
title?: string | undefined;
|
|
4634
|
+
shortTitle?: string | undefined;
|
|
4635
|
+
subtitle?: string | undefined;
|
|
4630
4636
|
investment?: {
|
|
4631
4637
|
amount: string;
|
|
4632
4638
|
stakerInfo: {
|
|
4633
|
-
name: string;
|
|
4634
4639
|
address: string;
|
|
4635
|
-
|
|
4640
|
+
name?: string | undefined;
|
|
4641
|
+
iconUrl?: string | undefined;
|
|
4636
4642
|
};
|
|
4637
4643
|
tokenAddress: `0x${string}`;
|
|
4644
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
4638
4645
|
} | undefined;
|
|
4646
|
+
}, {
|
|
4647
|
+
icon?: string | undefined;
|
|
4639
4648
|
title?: string | undefined;
|
|
4640
4649
|
shortTitle?: string | undefined;
|
|
4641
4650
|
subtitle?: string | undefined;
|
|
4642
|
-
}, {
|
|
4643
|
-
icon?: string | undefined;
|
|
4644
4651
|
investment?: {
|
|
4645
4652
|
amount: string;
|
|
4646
4653
|
stakerInfo: {
|
|
4647
|
-
name: string;
|
|
4648
4654
|
address: string;
|
|
4649
|
-
|
|
4655
|
+
name?: string | undefined;
|
|
4656
|
+
iconUrl?: string | undefined;
|
|
4650
4657
|
};
|
|
4651
4658
|
tokenAddress: string;
|
|
4659
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
4652
4660
|
} | undefined;
|
|
4653
|
-
title?: string | undefined;
|
|
4654
|
-
shortTitle?: string | undefined;
|
|
4655
|
-
subtitle?: string | undefined;
|
|
4656
4661
|
}>;
|
|
4657
4662
|
export type NativeActivityMeta = z.infer<typeof nativeActivityMetaSchema>;
|
|
4658
4663
|
export declare const NativeActivityTypeNative = "native";
|
|
@@ -5200,7 +5205,7 @@ export declare const nativeActivitySchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
5200
5205
|
} | null | undefined;
|
|
5201
5206
|
}>, z.ZodObject<{
|
|
5202
5207
|
type: z.ZodLiteral<"staking">;
|
|
5203
|
-
stakingAction: z.ZodEnum<["
|
|
5208
|
+
stakingAction: z.ZodEnum<["stake", "initiateWithdraw", "withdraw", "claim"]>;
|
|
5204
5209
|
counterparty: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
5205
5210
|
asset: z.ZodObject<{
|
|
5206
5211
|
type: z.ZodEnum<["token", "nft"]>;
|
|
@@ -5234,25 +5239,26 @@ export declare const nativeActivitySchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
5234
5239
|
} | null | undefined;
|
|
5235
5240
|
}>;
|
|
5236
5241
|
stakerInfo: z.ZodObject<{
|
|
5237
|
-
name: z.ZodString
|
|
5238
|
-
iconUrl: z.ZodString
|
|
5239
|
-
address: z.
|
|
5242
|
+
name: z.ZodOptional<z.ZodString>;
|
|
5243
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
5244
|
+
address: z.ZodString;
|
|
5240
5245
|
}, "strip", z.ZodTypeAny, {
|
|
5241
|
-
|
|
5242
|
-
|
|
5243
|
-
iconUrl
|
|
5246
|
+
address: string;
|
|
5247
|
+
name?: string | undefined;
|
|
5248
|
+
iconUrl?: string | undefined;
|
|
5244
5249
|
}, {
|
|
5245
|
-
name: string;
|
|
5246
5250
|
address: string;
|
|
5247
|
-
|
|
5251
|
+
name?: string | undefined;
|
|
5252
|
+
iconUrl?: string | undefined;
|
|
5248
5253
|
}>;
|
|
5249
5254
|
}, "strip", z.ZodTypeAny, {
|
|
5250
5255
|
type: "staking";
|
|
5251
5256
|
stakerInfo: {
|
|
5252
|
-
|
|
5253
|
-
|
|
5254
|
-
iconUrl
|
|
5257
|
+
address: string;
|
|
5258
|
+
name?: string | undefined;
|
|
5259
|
+
iconUrl?: string | undefined;
|
|
5255
5260
|
};
|
|
5261
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
5256
5262
|
asset: {
|
|
5257
5263
|
type: "nft" | "token";
|
|
5258
5264
|
tokenAddress: `0x${string}`;
|
|
@@ -5263,14 +5269,14 @@ export declare const nativeActivitySchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
5263
5269
|
} | null | undefined;
|
|
5264
5270
|
};
|
|
5265
5271
|
counterparty: `0x${string}`;
|
|
5266
|
-
stakingAction: "deposit" | "withdraw" | "finalizeWithdraw" | "claim";
|
|
5267
5272
|
}, {
|
|
5268
5273
|
type: "staking";
|
|
5269
5274
|
stakerInfo: {
|
|
5270
|
-
name: string;
|
|
5271
5275
|
address: string;
|
|
5272
|
-
|
|
5276
|
+
name?: string | undefined;
|
|
5277
|
+
iconUrl?: string | undefined;
|
|
5273
5278
|
};
|
|
5279
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
5274
5280
|
asset: {
|
|
5275
5281
|
type: "nft" | "token";
|
|
5276
5282
|
tokenAddress: string;
|
|
@@ -5281,7 +5287,6 @@ export declare const nativeActivitySchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
5281
5287
|
} | null | undefined;
|
|
5282
5288
|
};
|
|
5283
5289
|
counterparty: string;
|
|
5284
|
-
stakingAction: "deposit" | "withdraw" | "finalizeWithdraw" | "claim";
|
|
5285
5290
|
}>]>, z.ZodObject<{
|
|
5286
5291
|
type: z.ZodLiteral<"multicall">;
|
|
5287
5292
|
calls: z.ZodArray<z.ZodObject<{
|
|
@@ -5648,7 +5653,7 @@ export declare const nativeActivitySchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
5648
5653
|
} | null | undefined;
|
|
5649
5654
|
}>, z.ZodObject<{
|
|
5650
5655
|
type: z.ZodLiteral<"staking">;
|
|
5651
|
-
stakingAction: z.ZodEnum<["
|
|
5656
|
+
stakingAction: z.ZodEnum<["stake", "initiateWithdraw", "withdraw", "claim"]>;
|
|
5652
5657
|
counterparty: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
5653
5658
|
asset: z.ZodObject<{
|
|
5654
5659
|
type: z.ZodEnum<["token", "nft"]>;
|
|
@@ -5682,25 +5687,26 @@ export declare const nativeActivitySchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
5682
5687
|
} | null | undefined;
|
|
5683
5688
|
}>;
|
|
5684
5689
|
stakerInfo: z.ZodObject<{
|
|
5685
|
-
name: z.ZodString
|
|
5686
|
-
iconUrl: z.ZodString
|
|
5687
|
-
address: z.
|
|
5690
|
+
name: z.ZodOptional<z.ZodString>;
|
|
5691
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
5692
|
+
address: z.ZodString;
|
|
5688
5693
|
}, "strip", z.ZodTypeAny, {
|
|
5689
|
-
|
|
5690
|
-
|
|
5691
|
-
iconUrl
|
|
5694
|
+
address: string;
|
|
5695
|
+
name?: string | undefined;
|
|
5696
|
+
iconUrl?: string | undefined;
|
|
5692
5697
|
}, {
|
|
5693
|
-
name: string;
|
|
5694
5698
|
address: string;
|
|
5695
|
-
|
|
5699
|
+
name?: string | undefined;
|
|
5700
|
+
iconUrl?: string | undefined;
|
|
5696
5701
|
}>;
|
|
5697
5702
|
}, "strip", z.ZodTypeAny, {
|
|
5698
5703
|
type: "staking";
|
|
5699
5704
|
stakerInfo: {
|
|
5700
|
-
|
|
5701
|
-
|
|
5702
|
-
iconUrl
|
|
5705
|
+
address: string;
|
|
5706
|
+
name?: string | undefined;
|
|
5707
|
+
iconUrl?: string | undefined;
|
|
5703
5708
|
};
|
|
5709
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
5704
5710
|
asset: {
|
|
5705
5711
|
type: "nft" | "token";
|
|
5706
5712
|
tokenAddress: `0x${string}`;
|
|
@@ -5711,14 +5717,14 @@ export declare const nativeActivitySchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
5711
5717
|
} | null | undefined;
|
|
5712
5718
|
};
|
|
5713
5719
|
counterparty: `0x${string}`;
|
|
5714
|
-
stakingAction: "deposit" | "withdraw" | "finalizeWithdraw" | "claim";
|
|
5715
5720
|
}, {
|
|
5716
5721
|
type: "staking";
|
|
5717
5722
|
stakerInfo: {
|
|
5718
|
-
name: string;
|
|
5719
5723
|
address: string;
|
|
5720
|
-
|
|
5724
|
+
name?: string | undefined;
|
|
5725
|
+
iconUrl?: string | undefined;
|
|
5721
5726
|
};
|
|
5727
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
5722
5728
|
asset: {
|
|
5723
5729
|
type: "nft" | "token";
|
|
5724
5730
|
tokenAddress: string;
|
|
@@ -5729,7 +5735,6 @@ export declare const nativeActivitySchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
5729
5735
|
} | null | undefined;
|
|
5730
5736
|
};
|
|
5731
5737
|
counterparty: string;
|
|
5732
|
-
stakingAction: "deposit" | "withdraw" | "finalizeWithdraw" | "claim";
|
|
5733
5738
|
}>]>;
|
|
5734
5739
|
}, "strip", z.ZodTypeAny, {
|
|
5735
5740
|
details: {
|
|
@@ -5810,10 +5815,11 @@ export declare const nativeActivitySchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
5810
5815
|
} | {
|
|
5811
5816
|
type: "staking";
|
|
5812
5817
|
stakerInfo: {
|
|
5813
|
-
|
|
5814
|
-
|
|
5815
|
-
iconUrl
|
|
5818
|
+
address: string;
|
|
5819
|
+
name?: string | undefined;
|
|
5820
|
+
iconUrl?: string | undefined;
|
|
5816
5821
|
};
|
|
5822
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
5817
5823
|
asset: {
|
|
5818
5824
|
type: "nft" | "token";
|
|
5819
5825
|
tokenAddress: `0x${string}`;
|
|
@@ -5824,7 +5830,6 @@ export declare const nativeActivitySchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
5824
5830
|
} | null | undefined;
|
|
5825
5831
|
};
|
|
5826
5832
|
counterparty: `0x${string}`;
|
|
5827
|
-
stakingAction: "deposit" | "withdraw" | "finalizeWithdraw" | "claim";
|
|
5828
5833
|
};
|
|
5829
5834
|
}, {
|
|
5830
5835
|
details: {
|
|
@@ -5905,10 +5910,11 @@ export declare const nativeActivitySchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
5905
5910
|
} | {
|
|
5906
5911
|
type: "staking";
|
|
5907
5912
|
stakerInfo: {
|
|
5908
|
-
name: string;
|
|
5909
5913
|
address: string;
|
|
5910
|
-
|
|
5914
|
+
name?: string | undefined;
|
|
5915
|
+
iconUrl?: string | undefined;
|
|
5911
5916
|
};
|
|
5917
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
5912
5918
|
asset: {
|
|
5913
5919
|
type: "nft" | "token";
|
|
5914
5920
|
tokenAddress: string;
|
|
@@ -5919,7 +5925,6 @@ export declare const nativeActivitySchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
5919
5925
|
} | null | undefined;
|
|
5920
5926
|
};
|
|
5921
5927
|
counterparty: string;
|
|
5922
|
-
stakingAction: "deposit" | "withdraw" | "finalizeWithdraw" | "claim";
|
|
5923
5928
|
};
|
|
5924
5929
|
}>, "many">;
|
|
5925
5930
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6003,10 +6008,11 @@ export declare const nativeActivitySchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
6003
6008
|
} | {
|
|
6004
6009
|
type: "staking";
|
|
6005
6010
|
stakerInfo: {
|
|
6006
|
-
|
|
6007
|
-
|
|
6008
|
-
iconUrl
|
|
6011
|
+
address: string;
|
|
6012
|
+
name?: string | undefined;
|
|
6013
|
+
iconUrl?: string | undefined;
|
|
6009
6014
|
};
|
|
6015
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
6010
6016
|
asset: {
|
|
6011
6017
|
type: "nft" | "token";
|
|
6012
6018
|
tokenAddress: `0x${string}`;
|
|
@@ -6017,7 +6023,6 @@ export declare const nativeActivitySchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
6017
6023
|
} | null | undefined;
|
|
6018
6024
|
};
|
|
6019
6025
|
counterparty: `0x${string}`;
|
|
6020
|
-
stakingAction: "deposit" | "withdraw" | "finalizeWithdraw" | "claim";
|
|
6021
6026
|
};
|
|
6022
6027
|
}[];
|
|
6023
6028
|
}, {
|
|
@@ -6101,10 +6106,11 @@ export declare const nativeActivitySchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
6101
6106
|
} | {
|
|
6102
6107
|
type: "staking";
|
|
6103
6108
|
stakerInfo: {
|
|
6104
|
-
name: string;
|
|
6105
6109
|
address: string;
|
|
6106
|
-
|
|
6110
|
+
name?: string | undefined;
|
|
6111
|
+
iconUrl?: string | undefined;
|
|
6107
6112
|
};
|
|
6113
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
6108
6114
|
asset: {
|
|
6109
6115
|
type: "nft" | "token";
|
|
6110
6116
|
tokenAddress: string;
|
|
@@ -6115,7 +6121,6 @@ export declare const nativeActivitySchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
6115
6121
|
} | null | undefined;
|
|
6116
6122
|
};
|
|
6117
6123
|
counterparty: string;
|
|
6118
|
-
stakingAction: "deposit" | "withdraw" | "finalizeWithdraw" | "claim";
|
|
6119
6124
|
};
|
|
6120
6125
|
}[];
|
|
6121
6126
|
}>]>;
|
|
@@ -6990,66 +6995,71 @@ export declare const nativeActivitySchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
6990
6995
|
/** let's not import the keys from x-ui here */
|
|
6991
6996
|
icon: z.ZodOptional<z.ZodString>;
|
|
6992
6997
|
investment: z.ZodOptional<z.ZodObject<{
|
|
6998
|
+
stakingAction: z.ZodEnum<["stake", "initiateWithdraw", "withdraw", "claim"]>;
|
|
6993
6999
|
stakerInfo: z.ZodObject<{
|
|
6994
|
-
name: z.ZodString
|
|
6995
|
-
iconUrl: z.ZodString
|
|
7000
|
+
name: z.ZodOptional<z.ZodString>;
|
|
7001
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
6996
7002
|
address: z.ZodString;
|
|
6997
7003
|
}, "strip", z.ZodTypeAny, {
|
|
6998
|
-
name: string;
|
|
6999
7004
|
address: string;
|
|
7000
|
-
|
|
7005
|
+
name?: string | undefined;
|
|
7006
|
+
iconUrl?: string | undefined;
|
|
7001
7007
|
}, {
|
|
7002
|
-
name: string;
|
|
7003
7008
|
address: string;
|
|
7004
|
-
|
|
7009
|
+
name?: string | undefined;
|
|
7010
|
+
iconUrl?: string | undefined;
|
|
7005
7011
|
}>;
|
|
7006
7012
|
tokenAddress: z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>;
|
|
7007
7013
|
amount: z.ZodString;
|
|
7008
7014
|
}, "strip", z.ZodTypeAny, {
|
|
7009
7015
|
amount: string;
|
|
7010
7016
|
stakerInfo: {
|
|
7011
|
-
name: string;
|
|
7012
7017
|
address: string;
|
|
7013
|
-
|
|
7018
|
+
name?: string | undefined;
|
|
7019
|
+
iconUrl?: string | undefined;
|
|
7014
7020
|
};
|
|
7015
7021
|
tokenAddress: `0x${string}`;
|
|
7022
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
7016
7023
|
}, {
|
|
7017
7024
|
amount: string;
|
|
7018
7025
|
stakerInfo: {
|
|
7019
|
-
name: string;
|
|
7020
7026
|
address: string;
|
|
7021
|
-
|
|
7027
|
+
name?: string | undefined;
|
|
7028
|
+
iconUrl?: string | undefined;
|
|
7022
7029
|
};
|
|
7023
7030
|
tokenAddress: string;
|
|
7031
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
7024
7032
|
}>>;
|
|
7025
7033
|
}, "strip", z.ZodTypeAny, {
|
|
7026
7034
|
icon?: string | undefined;
|
|
7035
|
+
title?: string | undefined;
|
|
7036
|
+
shortTitle?: string | undefined;
|
|
7037
|
+
subtitle?: string | undefined;
|
|
7027
7038
|
investment?: {
|
|
7028
7039
|
amount: string;
|
|
7029
7040
|
stakerInfo: {
|
|
7030
|
-
name: string;
|
|
7031
7041
|
address: string;
|
|
7032
|
-
|
|
7042
|
+
name?: string | undefined;
|
|
7043
|
+
iconUrl?: string | undefined;
|
|
7033
7044
|
};
|
|
7034
7045
|
tokenAddress: `0x${string}`;
|
|
7046
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
7035
7047
|
} | undefined;
|
|
7048
|
+
}, {
|
|
7049
|
+
icon?: string | undefined;
|
|
7036
7050
|
title?: string | undefined;
|
|
7037
7051
|
shortTitle?: string | undefined;
|
|
7038
7052
|
subtitle?: string | undefined;
|
|
7039
|
-
}, {
|
|
7040
|
-
icon?: string | undefined;
|
|
7041
7053
|
investment?: {
|
|
7042
7054
|
amount: string;
|
|
7043
7055
|
stakerInfo: {
|
|
7044
|
-
name: string;
|
|
7045
7056
|
address: string;
|
|
7046
|
-
|
|
7057
|
+
name?: string | undefined;
|
|
7058
|
+
iconUrl?: string | undefined;
|
|
7047
7059
|
};
|
|
7048
7060
|
tokenAddress: string;
|
|
7061
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
7049
7062
|
} | undefined;
|
|
7050
|
-
title?: string | undefined;
|
|
7051
|
-
shortTitle?: string | undefined;
|
|
7052
|
-
subtitle?: string | undefined;
|
|
7053
7063
|
}>>;
|
|
7054
7064
|
}>, "strip", z.ZodTypeAny, {
|
|
7055
7065
|
status: "rejected" | "pending" | "success" | "failure" | "cancelled" | "queued";
|
|
@@ -7231,18 +7241,19 @@ export declare const nativeActivitySchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
7231
7241
|
} | undefined;
|
|
7232
7242
|
meta?: {
|
|
7233
7243
|
icon?: string | undefined;
|
|
7244
|
+
title?: string | undefined;
|
|
7245
|
+
shortTitle?: string | undefined;
|
|
7246
|
+
subtitle?: string | undefined;
|
|
7234
7247
|
investment?: {
|
|
7235
7248
|
amount: string;
|
|
7236
7249
|
stakerInfo: {
|
|
7237
|
-
name: string;
|
|
7238
7250
|
address: string;
|
|
7239
|
-
|
|
7251
|
+
name?: string | undefined;
|
|
7252
|
+
iconUrl?: string | undefined;
|
|
7240
7253
|
};
|
|
7241
7254
|
tokenAddress: `0x${string}`;
|
|
7255
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
7242
7256
|
} | undefined;
|
|
7243
|
-
title?: string | undefined;
|
|
7244
|
-
shortTitle?: string | undefined;
|
|
7245
|
-
subtitle?: string | undefined;
|
|
7246
7257
|
} | undefined;
|
|
7247
7258
|
}, {
|
|
7248
7259
|
status: "rejected" | "pending" | "success" | "failure" | "cancelled" | "queued";
|
|
@@ -7424,18 +7435,19 @@ export declare const nativeActivitySchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
7424
7435
|
} | undefined;
|
|
7425
7436
|
meta?: {
|
|
7426
7437
|
icon?: string | undefined;
|
|
7438
|
+
title?: string | undefined;
|
|
7439
|
+
shortTitle?: string | undefined;
|
|
7440
|
+
subtitle?: string | undefined;
|
|
7427
7441
|
investment?: {
|
|
7428
7442
|
amount: string;
|
|
7429
7443
|
stakerInfo: {
|
|
7430
|
-
name: string;
|
|
7431
7444
|
address: string;
|
|
7432
|
-
|
|
7445
|
+
name?: string | undefined;
|
|
7446
|
+
iconUrl?: string | undefined;
|
|
7433
7447
|
};
|
|
7434
7448
|
tokenAddress: string;
|
|
7449
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
7435
7450
|
} | undefined;
|
|
7436
|
-
title?: string | undefined;
|
|
7437
|
-
shortTitle?: string | undefined;
|
|
7438
|
-
subtitle?: string | undefined;
|
|
7439
7451
|
} | undefined;
|
|
7440
7452
|
}>;
|
|
7441
7453
|
export type NativeActivity = z.infer<typeof nativeActivitySchema>;
|
|
@@ -7981,7 +7993,7 @@ export declare const activitiesSchema: z.ZodArray<z.ZodObject<{
|
|
|
7981
7993
|
} | null | undefined;
|
|
7982
7994
|
}>, z.ZodObject<{
|
|
7983
7995
|
type: z.ZodLiteral<"staking">;
|
|
7984
|
-
stakingAction: z.ZodEnum<["
|
|
7996
|
+
stakingAction: z.ZodEnum<["stake", "initiateWithdraw", "withdraw", "claim"]>;
|
|
7985
7997
|
counterparty: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
7986
7998
|
asset: z.ZodObject<{
|
|
7987
7999
|
type: z.ZodEnum<["token", "nft"]>;
|
|
@@ -8015,25 +8027,26 @@ export declare const activitiesSchema: z.ZodArray<z.ZodObject<{
|
|
|
8015
8027
|
} | null | undefined;
|
|
8016
8028
|
}>;
|
|
8017
8029
|
stakerInfo: z.ZodObject<{
|
|
8018
|
-
name: z.ZodString
|
|
8019
|
-
iconUrl: z.ZodString
|
|
8020
|
-
address: z.
|
|
8030
|
+
name: z.ZodOptional<z.ZodString>;
|
|
8031
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
8032
|
+
address: z.ZodString;
|
|
8021
8033
|
}, "strip", z.ZodTypeAny, {
|
|
8022
|
-
|
|
8023
|
-
|
|
8024
|
-
iconUrl
|
|
8034
|
+
address: string;
|
|
8035
|
+
name?: string | undefined;
|
|
8036
|
+
iconUrl?: string | undefined;
|
|
8025
8037
|
}, {
|
|
8026
|
-
name: string;
|
|
8027
8038
|
address: string;
|
|
8028
|
-
|
|
8039
|
+
name?: string | undefined;
|
|
8040
|
+
iconUrl?: string | undefined;
|
|
8029
8041
|
}>;
|
|
8030
8042
|
}, "strip", z.ZodTypeAny, {
|
|
8031
8043
|
type: "staking";
|
|
8032
8044
|
stakerInfo: {
|
|
8033
|
-
|
|
8034
|
-
|
|
8035
|
-
iconUrl
|
|
8045
|
+
address: string;
|
|
8046
|
+
name?: string | undefined;
|
|
8047
|
+
iconUrl?: string | undefined;
|
|
8036
8048
|
};
|
|
8049
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
8037
8050
|
asset: {
|
|
8038
8051
|
type: "nft" | "token";
|
|
8039
8052
|
tokenAddress: `0x${string}`;
|
|
@@ -8044,14 +8057,14 @@ export declare const activitiesSchema: z.ZodArray<z.ZodObject<{
|
|
|
8044
8057
|
} | null | undefined;
|
|
8045
8058
|
};
|
|
8046
8059
|
counterparty: `0x${string}`;
|
|
8047
|
-
stakingAction: "deposit" | "withdraw" | "finalizeWithdraw" | "claim";
|
|
8048
8060
|
}, {
|
|
8049
8061
|
type: "staking";
|
|
8050
8062
|
stakerInfo: {
|
|
8051
|
-
name: string;
|
|
8052
8063
|
address: string;
|
|
8053
|
-
|
|
8064
|
+
name?: string | undefined;
|
|
8065
|
+
iconUrl?: string | undefined;
|
|
8054
8066
|
};
|
|
8067
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
8055
8068
|
asset: {
|
|
8056
8069
|
type: "nft" | "token";
|
|
8057
8070
|
tokenAddress: string;
|
|
@@ -8062,7 +8075,6 @@ export declare const activitiesSchema: z.ZodArray<z.ZodObject<{
|
|
|
8062
8075
|
} | null | undefined;
|
|
8063
8076
|
};
|
|
8064
8077
|
counterparty: string;
|
|
8065
|
-
stakingAction: "deposit" | "withdraw" | "finalizeWithdraw" | "claim";
|
|
8066
8078
|
}>]>, z.ZodObject<{
|
|
8067
8079
|
type: z.ZodLiteral<"multicall">;
|
|
8068
8080
|
calls: z.ZodArray<z.ZodObject<{
|
|
@@ -8429,7 +8441,7 @@ export declare const activitiesSchema: z.ZodArray<z.ZodObject<{
|
|
|
8429
8441
|
} | null | undefined;
|
|
8430
8442
|
}>, z.ZodObject<{
|
|
8431
8443
|
type: z.ZodLiteral<"staking">;
|
|
8432
|
-
stakingAction: z.ZodEnum<["
|
|
8444
|
+
stakingAction: z.ZodEnum<["stake", "initiateWithdraw", "withdraw", "claim"]>;
|
|
8433
8445
|
counterparty: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
8434
8446
|
asset: z.ZodObject<{
|
|
8435
8447
|
type: z.ZodEnum<["token", "nft"]>;
|
|
@@ -8463,25 +8475,26 @@ export declare const activitiesSchema: z.ZodArray<z.ZodObject<{
|
|
|
8463
8475
|
} | null | undefined;
|
|
8464
8476
|
}>;
|
|
8465
8477
|
stakerInfo: z.ZodObject<{
|
|
8466
|
-
name: z.ZodString
|
|
8467
|
-
iconUrl: z.ZodString
|
|
8468
|
-
address: z.
|
|
8478
|
+
name: z.ZodOptional<z.ZodString>;
|
|
8479
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
8480
|
+
address: z.ZodString;
|
|
8469
8481
|
}, "strip", z.ZodTypeAny, {
|
|
8470
|
-
|
|
8471
|
-
|
|
8472
|
-
iconUrl
|
|
8482
|
+
address: string;
|
|
8483
|
+
name?: string | undefined;
|
|
8484
|
+
iconUrl?: string | undefined;
|
|
8473
8485
|
}, {
|
|
8474
|
-
name: string;
|
|
8475
8486
|
address: string;
|
|
8476
|
-
|
|
8487
|
+
name?: string | undefined;
|
|
8488
|
+
iconUrl?: string | undefined;
|
|
8477
8489
|
}>;
|
|
8478
8490
|
}, "strip", z.ZodTypeAny, {
|
|
8479
8491
|
type: "staking";
|
|
8480
8492
|
stakerInfo: {
|
|
8481
|
-
|
|
8482
|
-
|
|
8483
|
-
iconUrl
|
|
8493
|
+
address: string;
|
|
8494
|
+
name?: string | undefined;
|
|
8495
|
+
iconUrl?: string | undefined;
|
|
8484
8496
|
};
|
|
8497
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
8485
8498
|
asset: {
|
|
8486
8499
|
type: "nft" | "token";
|
|
8487
8500
|
tokenAddress: `0x${string}`;
|
|
@@ -8492,14 +8505,14 @@ export declare const activitiesSchema: z.ZodArray<z.ZodObject<{
|
|
|
8492
8505
|
} | null | undefined;
|
|
8493
8506
|
};
|
|
8494
8507
|
counterparty: `0x${string}`;
|
|
8495
|
-
stakingAction: "deposit" | "withdraw" | "finalizeWithdraw" | "claim";
|
|
8496
8508
|
}, {
|
|
8497
8509
|
type: "staking";
|
|
8498
8510
|
stakerInfo: {
|
|
8499
|
-
name: string;
|
|
8500
8511
|
address: string;
|
|
8501
|
-
|
|
8512
|
+
name?: string | undefined;
|
|
8513
|
+
iconUrl?: string | undefined;
|
|
8502
8514
|
};
|
|
8515
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
8503
8516
|
asset: {
|
|
8504
8517
|
type: "nft" | "token";
|
|
8505
8518
|
tokenAddress: string;
|
|
@@ -8510,7 +8523,6 @@ export declare const activitiesSchema: z.ZodArray<z.ZodObject<{
|
|
|
8510
8523
|
} | null | undefined;
|
|
8511
8524
|
};
|
|
8512
8525
|
counterparty: string;
|
|
8513
|
-
stakingAction: "deposit" | "withdraw" | "finalizeWithdraw" | "claim";
|
|
8514
8526
|
}>]>;
|
|
8515
8527
|
}, "strip", z.ZodTypeAny, {
|
|
8516
8528
|
details: {
|
|
@@ -8591,10 +8603,11 @@ export declare const activitiesSchema: z.ZodArray<z.ZodObject<{
|
|
|
8591
8603
|
} | {
|
|
8592
8604
|
type: "staking";
|
|
8593
8605
|
stakerInfo: {
|
|
8594
|
-
|
|
8595
|
-
|
|
8596
|
-
iconUrl
|
|
8606
|
+
address: string;
|
|
8607
|
+
name?: string | undefined;
|
|
8608
|
+
iconUrl?: string | undefined;
|
|
8597
8609
|
};
|
|
8610
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
8598
8611
|
asset: {
|
|
8599
8612
|
type: "nft" | "token";
|
|
8600
8613
|
tokenAddress: `0x${string}`;
|
|
@@ -8605,7 +8618,6 @@ export declare const activitiesSchema: z.ZodArray<z.ZodObject<{
|
|
|
8605
8618
|
} | null | undefined;
|
|
8606
8619
|
};
|
|
8607
8620
|
counterparty: `0x${string}`;
|
|
8608
|
-
stakingAction: "deposit" | "withdraw" | "finalizeWithdraw" | "claim";
|
|
8609
8621
|
};
|
|
8610
8622
|
}, {
|
|
8611
8623
|
details: {
|
|
@@ -8686,10 +8698,11 @@ export declare const activitiesSchema: z.ZodArray<z.ZodObject<{
|
|
|
8686
8698
|
} | {
|
|
8687
8699
|
type: "staking";
|
|
8688
8700
|
stakerInfo: {
|
|
8689
|
-
name: string;
|
|
8690
8701
|
address: string;
|
|
8691
|
-
|
|
8702
|
+
name?: string | undefined;
|
|
8703
|
+
iconUrl?: string | undefined;
|
|
8692
8704
|
};
|
|
8705
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
8693
8706
|
asset: {
|
|
8694
8707
|
type: "nft" | "token";
|
|
8695
8708
|
tokenAddress: string;
|
|
@@ -8700,7 +8713,6 @@ export declare const activitiesSchema: z.ZodArray<z.ZodObject<{
|
|
|
8700
8713
|
} | null | undefined;
|
|
8701
8714
|
};
|
|
8702
8715
|
counterparty: string;
|
|
8703
|
-
stakingAction: "deposit" | "withdraw" | "finalizeWithdraw" | "claim";
|
|
8704
8716
|
};
|
|
8705
8717
|
}>, "many">;
|
|
8706
8718
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -8784,10 +8796,11 @@ export declare const activitiesSchema: z.ZodArray<z.ZodObject<{
|
|
|
8784
8796
|
} | {
|
|
8785
8797
|
type: "staking";
|
|
8786
8798
|
stakerInfo: {
|
|
8787
|
-
|
|
8788
|
-
|
|
8789
|
-
iconUrl
|
|
8799
|
+
address: string;
|
|
8800
|
+
name?: string | undefined;
|
|
8801
|
+
iconUrl?: string | undefined;
|
|
8790
8802
|
};
|
|
8803
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
8791
8804
|
asset: {
|
|
8792
8805
|
type: "nft" | "token";
|
|
8793
8806
|
tokenAddress: `0x${string}`;
|
|
@@ -8798,7 +8811,6 @@ export declare const activitiesSchema: z.ZodArray<z.ZodObject<{
|
|
|
8798
8811
|
} | null | undefined;
|
|
8799
8812
|
};
|
|
8800
8813
|
counterparty: `0x${string}`;
|
|
8801
|
-
stakingAction: "deposit" | "withdraw" | "finalizeWithdraw" | "claim";
|
|
8802
8814
|
};
|
|
8803
8815
|
}[];
|
|
8804
8816
|
}, {
|
|
@@ -8882,10 +8894,11 @@ export declare const activitiesSchema: z.ZodArray<z.ZodObject<{
|
|
|
8882
8894
|
} | {
|
|
8883
8895
|
type: "staking";
|
|
8884
8896
|
stakerInfo: {
|
|
8885
|
-
name: string;
|
|
8886
8897
|
address: string;
|
|
8887
|
-
|
|
8898
|
+
name?: string | undefined;
|
|
8899
|
+
iconUrl?: string | undefined;
|
|
8888
8900
|
};
|
|
8901
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
8889
8902
|
asset: {
|
|
8890
8903
|
type: "nft" | "token";
|
|
8891
8904
|
tokenAddress: string;
|
|
@@ -8896,7 +8909,6 @@ export declare const activitiesSchema: z.ZodArray<z.ZodObject<{
|
|
|
8896
8909
|
} | null | undefined;
|
|
8897
8910
|
};
|
|
8898
8911
|
counterparty: string;
|
|
8899
|
-
stakingAction: "deposit" | "withdraw" | "finalizeWithdraw" | "claim";
|
|
8900
8912
|
};
|
|
8901
8913
|
}[];
|
|
8902
8914
|
}>]>;
|
|
@@ -9792,10 +9804,11 @@ export declare const activitiesSchema: z.ZodArray<z.ZodObject<{
|
|
|
9792
9804
|
} | {
|
|
9793
9805
|
type: "staking";
|
|
9794
9806
|
stakerInfo: {
|
|
9795
|
-
|
|
9796
|
-
|
|
9797
|
-
iconUrl
|
|
9807
|
+
address: string;
|
|
9808
|
+
name?: string | undefined;
|
|
9809
|
+
iconUrl?: string | undefined;
|
|
9798
9810
|
};
|
|
9811
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
9799
9812
|
asset: {
|
|
9800
9813
|
type: "nft" | "token";
|
|
9801
9814
|
tokenAddress: `0x${string}`;
|
|
@@ -9806,7 +9819,6 @@ export declare const activitiesSchema: z.ZodArray<z.ZodObject<{
|
|
|
9806
9819
|
} | null | undefined;
|
|
9807
9820
|
};
|
|
9808
9821
|
counterparty: `0x${string}`;
|
|
9809
|
-
stakingAction: "deposit" | "withdraw" | "finalizeWithdraw" | "claim";
|
|
9810
9822
|
} | {
|
|
9811
9823
|
type: "multicall";
|
|
9812
9824
|
calls: {
|
|
@@ -9888,10 +9900,11 @@ export declare const activitiesSchema: z.ZodArray<z.ZodObject<{
|
|
|
9888
9900
|
} | {
|
|
9889
9901
|
type: "staking";
|
|
9890
9902
|
stakerInfo: {
|
|
9891
|
-
|
|
9892
|
-
|
|
9893
|
-
iconUrl
|
|
9903
|
+
address: string;
|
|
9904
|
+
name?: string | undefined;
|
|
9905
|
+
iconUrl?: string | undefined;
|
|
9894
9906
|
};
|
|
9907
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
9895
9908
|
asset: {
|
|
9896
9909
|
type: "nft" | "token";
|
|
9897
9910
|
tokenAddress: `0x${string}`;
|
|
@@ -9902,7 +9915,6 @@ export declare const activitiesSchema: z.ZodArray<z.ZodObject<{
|
|
|
9902
9915
|
} | null | undefined;
|
|
9903
9916
|
};
|
|
9904
9917
|
counterparty: `0x${string}`;
|
|
9905
|
-
stakingAction: "deposit" | "withdraw" | "finalizeWithdraw" | "claim";
|
|
9906
9918
|
};
|
|
9907
9919
|
}[];
|
|
9908
9920
|
};
|
|
@@ -10190,10 +10202,11 @@ export declare const activitiesSchema: z.ZodArray<z.ZodObject<{
|
|
|
10190
10202
|
} | {
|
|
10191
10203
|
type: "staking";
|
|
10192
10204
|
stakerInfo: {
|
|
10193
|
-
name: string;
|
|
10194
10205
|
address: string;
|
|
10195
|
-
|
|
10206
|
+
name?: string | undefined;
|
|
10207
|
+
iconUrl?: string | undefined;
|
|
10196
10208
|
};
|
|
10209
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
10197
10210
|
asset: {
|
|
10198
10211
|
type: "nft" | "token";
|
|
10199
10212
|
tokenAddress: string;
|
|
@@ -10204,7 +10217,6 @@ export declare const activitiesSchema: z.ZodArray<z.ZodObject<{
|
|
|
10204
10217
|
} | null | undefined;
|
|
10205
10218
|
};
|
|
10206
10219
|
counterparty: string;
|
|
10207
|
-
stakingAction: "deposit" | "withdraw" | "finalizeWithdraw" | "claim";
|
|
10208
10220
|
} | {
|
|
10209
10221
|
type: "multicall";
|
|
10210
10222
|
calls: {
|
|
@@ -10286,10 +10298,11 @@ export declare const activitiesSchema: z.ZodArray<z.ZodObject<{
|
|
|
10286
10298
|
} | {
|
|
10287
10299
|
type: "staking";
|
|
10288
10300
|
stakerInfo: {
|
|
10289
|
-
name: string;
|
|
10290
10301
|
address: string;
|
|
10291
|
-
|
|
10302
|
+
name?: string | undefined;
|
|
10303
|
+
iconUrl?: string | undefined;
|
|
10292
10304
|
};
|
|
10305
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
10293
10306
|
asset: {
|
|
10294
10307
|
type: "nft" | "token";
|
|
10295
10308
|
tokenAddress: string;
|
|
@@ -10300,7 +10313,6 @@ export declare const activitiesSchema: z.ZodArray<z.ZodObject<{
|
|
|
10300
10313
|
} | null | undefined;
|
|
10301
10314
|
};
|
|
10302
10315
|
counterparty: string;
|
|
10303
|
-
stakingAction: "deposit" | "withdraw" | "finalizeWithdraw" | "claim";
|
|
10304
10316
|
};
|
|
10305
10317
|
}[];
|
|
10306
10318
|
};
|
|
@@ -11047,7 +11059,7 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
11047
11059
|
} | null | undefined;
|
|
11048
11060
|
}>, z.ZodObject<{
|
|
11049
11061
|
type: z.ZodLiteral<"staking">;
|
|
11050
|
-
stakingAction: z.ZodEnum<["
|
|
11062
|
+
stakingAction: z.ZodEnum<["stake", "initiateWithdraw", "withdraw", "claim"]>;
|
|
11051
11063
|
counterparty: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
11052
11064
|
asset: z.ZodObject<{
|
|
11053
11065
|
type: z.ZodEnum<["token", "nft"]>;
|
|
@@ -11081,25 +11093,26 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
11081
11093
|
} | null | undefined;
|
|
11082
11094
|
}>;
|
|
11083
11095
|
stakerInfo: z.ZodObject<{
|
|
11084
|
-
name: z.ZodString
|
|
11085
|
-
iconUrl: z.ZodString
|
|
11086
|
-
address: z.
|
|
11096
|
+
name: z.ZodOptional<z.ZodString>;
|
|
11097
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
11098
|
+
address: z.ZodString;
|
|
11087
11099
|
}, "strip", z.ZodTypeAny, {
|
|
11088
|
-
|
|
11089
|
-
|
|
11090
|
-
iconUrl
|
|
11100
|
+
address: string;
|
|
11101
|
+
name?: string | undefined;
|
|
11102
|
+
iconUrl?: string | undefined;
|
|
11091
11103
|
}, {
|
|
11092
|
-
name: string;
|
|
11093
11104
|
address: string;
|
|
11094
|
-
|
|
11105
|
+
name?: string | undefined;
|
|
11106
|
+
iconUrl?: string | undefined;
|
|
11095
11107
|
}>;
|
|
11096
11108
|
}, "strip", z.ZodTypeAny, {
|
|
11097
11109
|
type: "staking";
|
|
11098
11110
|
stakerInfo: {
|
|
11099
|
-
|
|
11100
|
-
|
|
11101
|
-
iconUrl
|
|
11111
|
+
address: string;
|
|
11112
|
+
name?: string | undefined;
|
|
11113
|
+
iconUrl?: string | undefined;
|
|
11102
11114
|
};
|
|
11115
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
11103
11116
|
asset: {
|
|
11104
11117
|
type: "nft" | "token";
|
|
11105
11118
|
tokenAddress: `0x${string}`;
|
|
@@ -11110,14 +11123,14 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
11110
11123
|
} | null | undefined;
|
|
11111
11124
|
};
|
|
11112
11125
|
counterparty: `0x${string}`;
|
|
11113
|
-
stakingAction: "deposit" | "withdraw" | "finalizeWithdraw" | "claim";
|
|
11114
11126
|
}, {
|
|
11115
11127
|
type: "staking";
|
|
11116
11128
|
stakerInfo: {
|
|
11117
|
-
name: string;
|
|
11118
11129
|
address: string;
|
|
11119
|
-
|
|
11130
|
+
name?: string | undefined;
|
|
11131
|
+
iconUrl?: string | undefined;
|
|
11120
11132
|
};
|
|
11133
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
11121
11134
|
asset: {
|
|
11122
11135
|
type: "nft" | "token";
|
|
11123
11136
|
tokenAddress: string;
|
|
@@ -11128,7 +11141,6 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
11128
11141
|
} | null | undefined;
|
|
11129
11142
|
};
|
|
11130
11143
|
counterparty: string;
|
|
11131
|
-
stakingAction: "deposit" | "withdraw" | "finalizeWithdraw" | "claim";
|
|
11132
11144
|
}>]>, z.ZodObject<{
|
|
11133
11145
|
type: z.ZodLiteral<"multicall">;
|
|
11134
11146
|
calls: z.ZodArray<z.ZodObject<{
|
|
@@ -11495,7 +11507,7 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
11495
11507
|
} | null | undefined;
|
|
11496
11508
|
}>, z.ZodObject<{
|
|
11497
11509
|
type: z.ZodLiteral<"staking">;
|
|
11498
|
-
stakingAction: z.ZodEnum<["
|
|
11510
|
+
stakingAction: z.ZodEnum<["stake", "initiateWithdraw", "withdraw", "claim"]>;
|
|
11499
11511
|
counterparty: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
11500
11512
|
asset: z.ZodObject<{
|
|
11501
11513
|
type: z.ZodEnum<["token", "nft"]>;
|
|
@@ -11529,25 +11541,26 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
11529
11541
|
} | null | undefined;
|
|
11530
11542
|
}>;
|
|
11531
11543
|
stakerInfo: z.ZodObject<{
|
|
11532
|
-
name: z.ZodString
|
|
11533
|
-
iconUrl: z.ZodString
|
|
11534
|
-
address: z.
|
|
11544
|
+
name: z.ZodOptional<z.ZodString>;
|
|
11545
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
11546
|
+
address: z.ZodString;
|
|
11535
11547
|
}, "strip", z.ZodTypeAny, {
|
|
11536
|
-
|
|
11537
|
-
|
|
11538
|
-
iconUrl
|
|
11548
|
+
address: string;
|
|
11549
|
+
name?: string | undefined;
|
|
11550
|
+
iconUrl?: string | undefined;
|
|
11539
11551
|
}, {
|
|
11540
|
-
name: string;
|
|
11541
11552
|
address: string;
|
|
11542
|
-
|
|
11553
|
+
name?: string | undefined;
|
|
11554
|
+
iconUrl?: string | undefined;
|
|
11543
11555
|
}>;
|
|
11544
11556
|
}, "strip", z.ZodTypeAny, {
|
|
11545
11557
|
type: "staking";
|
|
11546
11558
|
stakerInfo: {
|
|
11547
|
-
|
|
11548
|
-
|
|
11549
|
-
iconUrl
|
|
11559
|
+
address: string;
|
|
11560
|
+
name?: string | undefined;
|
|
11561
|
+
iconUrl?: string | undefined;
|
|
11550
11562
|
};
|
|
11563
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
11551
11564
|
asset: {
|
|
11552
11565
|
type: "nft" | "token";
|
|
11553
11566
|
tokenAddress: `0x${string}`;
|
|
@@ -11558,14 +11571,14 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
11558
11571
|
} | null | undefined;
|
|
11559
11572
|
};
|
|
11560
11573
|
counterparty: `0x${string}`;
|
|
11561
|
-
stakingAction: "deposit" | "withdraw" | "finalizeWithdraw" | "claim";
|
|
11562
11574
|
}, {
|
|
11563
11575
|
type: "staking";
|
|
11564
11576
|
stakerInfo: {
|
|
11565
|
-
name: string;
|
|
11566
11577
|
address: string;
|
|
11567
|
-
|
|
11578
|
+
name?: string | undefined;
|
|
11579
|
+
iconUrl?: string | undefined;
|
|
11568
11580
|
};
|
|
11581
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
11569
11582
|
asset: {
|
|
11570
11583
|
type: "nft" | "token";
|
|
11571
11584
|
tokenAddress: string;
|
|
@@ -11576,7 +11589,6 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
11576
11589
|
} | null | undefined;
|
|
11577
11590
|
};
|
|
11578
11591
|
counterparty: string;
|
|
11579
|
-
stakingAction: "deposit" | "withdraw" | "finalizeWithdraw" | "claim";
|
|
11580
11592
|
}>]>;
|
|
11581
11593
|
}, "strip", z.ZodTypeAny, {
|
|
11582
11594
|
details: {
|
|
@@ -11657,10 +11669,11 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
11657
11669
|
} | {
|
|
11658
11670
|
type: "staking";
|
|
11659
11671
|
stakerInfo: {
|
|
11660
|
-
|
|
11661
|
-
|
|
11662
|
-
iconUrl
|
|
11672
|
+
address: string;
|
|
11673
|
+
name?: string | undefined;
|
|
11674
|
+
iconUrl?: string | undefined;
|
|
11663
11675
|
};
|
|
11676
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
11664
11677
|
asset: {
|
|
11665
11678
|
type: "nft" | "token";
|
|
11666
11679
|
tokenAddress: `0x${string}`;
|
|
@@ -11671,7 +11684,6 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
11671
11684
|
} | null | undefined;
|
|
11672
11685
|
};
|
|
11673
11686
|
counterparty: `0x${string}`;
|
|
11674
|
-
stakingAction: "deposit" | "withdraw" | "finalizeWithdraw" | "claim";
|
|
11675
11687
|
};
|
|
11676
11688
|
}, {
|
|
11677
11689
|
details: {
|
|
@@ -11752,10 +11764,11 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
11752
11764
|
} | {
|
|
11753
11765
|
type: "staking";
|
|
11754
11766
|
stakerInfo: {
|
|
11755
|
-
name: string;
|
|
11756
11767
|
address: string;
|
|
11757
|
-
|
|
11768
|
+
name?: string | undefined;
|
|
11769
|
+
iconUrl?: string | undefined;
|
|
11758
11770
|
};
|
|
11771
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
11759
11772
|
asset: {
|
|
11760
11773
|
type: "nft" | "token";
|
|
11761
11774
|
tokenAddress: string;
|
|
@@ -11766,7 +11779,6 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
11766
11779
|
} | null | undefined;
|
|
11767
11780
|
};
|
|
11768
11781
|
counterparty: string;
|
|
11769
|
-
stakingAction: "deposit" | "withdraw" | "finalizeWithdraw" | "claim";
|
|
11770
11782
|
};
|
|
11771
11783
|
}>, "many">;
|
|
11772
11784
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -11850,10 +11862,11 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
11850
11862
|
} | {
|
|
11851
11863
|
type: "staking";
|
|
11852
11864
|
stakerInfo: {
|
|
11853
|
-
|
|
11854
|
-
|
|
11855
|
-
iconUrl
|
|
11865
|
+
address: string;
|
|
11866
|
+
name?: string | undefined;
|
|
11867
|
+
iconUrl?: string | undefined;
|
|
11856
11868
|
};
|
|
11869
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
11857
11870
|
asset: {
|
|
11858
11871
|
type: "nft" | "token";
|
|
11859
11872
|
tokenAddress: `0x${string}`;
|
|
@@ -11864,7 +11877,6 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
11864
11877
|
} | null | undefined;
|
|
11865
11878
|
};
|
|
11866
11879
|
counterparty: `0x${string}`;
|
|
11867
|
-
stakingAction: "deposit" | "withdraw" | "finalizeWithdraw" | "claim";
|
|
11868
11880
|
};
|
|
11869
11881
|
}[];
|
|
11870
11882
|
}, {
|
|
@@ -11948,10 +11960,11 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
11948
11960
|
} | {
|
|
11949
11961
|
type: "staking";
|
|
11950
11962
|
stakerInfo: {
|
|
11951
|
-
name: string;
|
|
11952
11963
|
address: string;
|
|
11953
|
-
|
|
11964
|
+
name?: string | undefined;
|
|
11965
|
+
iconUrl?: string | undefined;
|
|
11954
11966
|
};
|
|
11967
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
11955
11968
|
asset: {
|
|
11956
11969
|
type: "nft" | "token";
|
|
11957
11970
|
tokenAddress: string;
|
|
@@ -11962,7 +11975,6 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
11962
11975
|
} | null | undefined;
|
|
11963
11976
|
};
|
|
11964
11977
|
counterparty: string;
|
|
11965
|
-
stakingAction: "deposit" | "withdraw" | "finalizeWithdraw" | "claim";
|
|
11966
11978
|
};
|
|
11967
11979
|
}[];
|
|
11968
11980
|
}>]>;
|
|
@@ -12858,10 +12870,11 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
12858
12870
|
} | {
|
|
12859
12871
|
type: "staking";
|
|
12860
12872
|
stakerInfo: {
|
|
12861
|
-
|
|
12862
|
-
|
|
12863
|
-
iconUrl
|
|
12873
|
+
address: string;
|
|
12874
|
+
name?: string | undefined;
|
|
12875
|
+
iconUrl?: string | undefined;
|
|
12864
12876
|
};
|
|
12877
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
12865
12878
|
asset: {
|
|
12866
12879
|
type: "nft" | "token";
|
|
12867
12880
|
tokenAddress: `0x${string}`;
|
|
@@ -12872,7 +12885,6 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
12872
12885
|
} | null | undefined;
|
|
12873
12886
|
};
|
|
12874
12887
|
counterparty: `0x${string}`;
|
|
12875
|
-
stakingAction: "deposit" | "withdraw" | "finalizeWithdraw" | "claim";
|
|
12876
12888
|
} | {
|
|
12877
12889
|
type: "multicall";
|
|
12878
12890
|
calls: {
|
|
@@ -12954,10 +12966,11 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
12954
12966
|
} | {
|
|
12955
12967
|
type: "staking";
|
|
12956
12968
|
stakerInfo: {
|
|
12957
|
-
|
|
12958
|
-
|
|
12959
|
-
iconUrl
|
|
12969
|
+
address: string;
|
|
12970
|
+
name?: string | undefined;
|
|
12971
|
+
iconUrl?: string | undefined;
|
|
12960
12972
|
};
|
|
12973
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
12961
12974
|
asset: {
|
|
12962
12975
|
type: "nft" | "token";
|
|
12963
12976
|
tokenAddress: `0x${string}`;
|
|
@@ -12968,7 +12981,6 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
12968
12981
|
} | null | undefined;
|
|
12969
12982
|
};
|
|
12970
12983
|
counterparty: `0x${string}`;
|
|
12971
|
-
stakingAction: "deposit" | "withdraw" | "finalizeWithdraw" | "claim";
|
|
12972
12984
|
};
|
|
12973
12985
|
}[];
|
|
12974
12986
|
};
|
|
@@ -13256,10 +13268,11 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
13256
13268
|
} | {
|
|
13257
13269
|
type: "staking";
|
|
13258
13270
|
stakerInfo: {
|
|
13259
|
-
name: string;
|
|
13260
13271
|
address: string;
|
|
13261
|
-
|
|
13272
|
+
name?: string | undefined;
|
|
13273
|
+
iconUrl?: string | undefined;
|
|
13262
13274
|
};
|
|
13275
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
13263
13276
|
asset: {
|
|
13264
13277
|
type: "nft" | "token";
|
|
13265
13278
|
tokenAddress: string;
|
|
@@ -13270,7 +13283,6 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
13270
13283
|
} | null | undefined;
|
|
13271
13284
|
};
|
|
13272
13285
|
counterparty: string;
|
|
13273
|
-
stakingAction: "deposit" | "withdraw" | "finalizeWithdraw" | "claim";
|
|
13274
13286
|
} | {
|
|
13275
13287
|
type: "multicall";
|
|
13276
13288
|
calls: {
|
|
@@ -13352,10 +13364,11 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
13352
13364
|
} | {
|
|
13353
13365
|
type: "staking";
|
|
13354
13366
|
stakerInfo: {
|
|
13355
|
-
name: string;
|
|
13356
13367
|
address: string;
|
|
13357
|
-
|
|
13368
|
+
name?: string | undefined;
|
|
13369
|
+
iconUrl?: string | undefined;
|
|
13358
13370
|
};
|
|
13371
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
13359
13372
|
asset: {
|
|
13360
13373
|
type: "nft" | "token";
|
|
13361
13374
|
tokenAddress: string;
|
|
@@ -13366,7 +13379,6 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
13366
13379
|
} | null | undefined;
|
|
13367
13380
|
};
|
|
13368
13381
|
counterparty: string;
|
|
13369
|
-
stakingAction: "deposit" | "withdraw" | "finalizeWithdraw" | "claim";
|
|
13370
13382
|
};
|
|
13371
13383
|
}[];
|
|
13372
13384
|
};
|
|
@@ -13662,10 +13674,11 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
13662
13674
|
} | {
|
|
13663
13675
|
type: "staking";
|
|
13664
13676
|
stakerInfo: {
|
|
13665
|
-
|
|
13666
|
-
|
|
13667
|
-
iconUrl
|
|
13677
|
+
address: string;
|
|
13678
|
+
name?: string | undefined;
|
|
13679
|
+
iconUrl?: string | undefined;
|
|
13668
13680
|
};
|
|
13681
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
13669
13682
|
asset: {
|
|
13670
13683
|
type: "nft" | "token";
|
|
13671
13684
|
tokenAddress: `0x${string}`;
|
|
@@ -13676,7 +13689,6 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
13676
13689
|
} | null | undefined;
|
|
13677
13690
|
};
|
|
13678
13691
|
counterparty: `0x${string}`;
|
|
13679
|
-
stakingAction: "deposit" | "withdraw" | "finalizeWithdraw" | "claim";
|
|
13680
13692
|
} | {
|
|
13681
13693
|
type: "multicall";
|
|
13682
13694
|
calls: {
|
|
@@ -13758,10 +13770,11 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
13758
13770
|
} | {
|
|
13759
13771
|
type: "staking";
|
|
13760
13772
|
stakerInfo: {
|
|
13761
|
-
|
|
13762
|
-
|
|
13763
|
-
iconUrl
|
|
13773
|
+
address: string;
|
|
13774
|
+
name?: string | undefined;
|
|
13775
|
+
iconUrl?: string | undefined;
|
|
13764
13776
|
};
|
|
13777
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
13765
13778
|
asset: {
|
|
13766
13779
|
type: "nft" | "token";
|
|
13767
13780
|
tokenAddress: `0x${string}`;
|
|
@@ -13772,7 +13785,6 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
13772
13785
|
} | null | undefined;
|
|
13773
13786
|
};
|
|
13774
13787
|
counterparty: `0x${string}`;
|
|
13775
|
-
stakingAction: "deposit" | "withdraw" | "finalizeWithdraw" | "claim";
|
|
13776
13788
|
};
|
|
13777
13789
|
}[];
|
|
13778
13790
|
};
|
|
@@ -14066,10 +14078,11 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
14066
14078
|
} | {
|
|
14067
14079
|
type: "staking";
|
|
14068
14080
|
stakerInfo: {
|
|
14069
|
-
name: string;
|
|
14070
14081
|
address: string;
|
|
14071
|
-
|
|
14082
|
+
name?: string | undefined;
|
|
14083
|
+
iconUrl?: string | undefined;
|
|
14072
14084
|
};
|
|
14085
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
14073
14086
|
asset: {
|
|
14074
14087
|
type: "nft" | "token";
|
|
14075
14088
|
tokenAddress: string;
|
|
@@ -14080,7 +14093,6 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
14080
14093
|
} | null | undefined;
|
|
14081
14094
|
};
|
|
14082
14095
|
counterparty: string;
|
|
14083
|
-
stakingAction: "deposit" | "withdraw" | "finalizeWithdraw" | "claim";
|
|
14084
14096
|
} | {
|
|
14085
14097
|
type: "multicall";
|
|
14086
14098
|
calls: {
|
|
@@ -14162,10 +14174,11 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
14162
14174
|
} | {
|
|
14163
14175
|
type: "staking";
|
|
14164
14176
|
stakerInfo: {
|
|
14165
|
-
name: string;
|
|
14166
14177
|
address: string;
|
|
14167
|
-
|
|
14178
|
+
name?: string | undefined;
|
|
14179
|
+
iconUrl?: string | undefined;
|
|
14168
14180
|
};
|
|
14181
|
+
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
14169
14182
|
asset: {
|
|
14170
14183
|
type: "nft" | "token";
|
|
14171
14184
|
tokenAddress: string;
|
|
@@ -14176,7 +14189,6 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
14176
14189
|
} | null | undefined;
|
|
14177
14190
|
};
|
|
14178
14191
|
counterparty: string;
|
|
14179
|
-
stakingAction: "deposit" | "withdraw" | "finalizeWithdraw" | "claim";
|
|
14180
14192
|
};
|
|
14181
14193
|
}[];
|
|
14182
14194
|
};
|