@argent/x-shared 1.49.0 → 1.49.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.
|
@@ -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<["stake", "initiateWithdraw", "withdraw", "claim"]>;
|
|
431
|
+
stakingAction: z.ZodEnum<["deposit", "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"]>;
|
|
@@ -481,7 +481,7 @@ export declare const activityDetailsSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<
|
|
|
481
481
|
name?: string | undefined;
|
|
482
482
|
iconUrl?: string | undefined;
|
|
483
483
|
};
|
|
484
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
484
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
485
485
|
asset: {
|
|
486
486
|
type: "nft" | "token";
|
|
487
487
|
tokenAddress: `0x${string}`;
|
|
@@ -499,7 +499,7 @@ export declare const activityDetailsSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<
|
|
|
499
499
|
name?: string | undefined;
|
|
500
500
|
iconUrl?: string | undefined;
|
|
501
501
|
};
|
|
502
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
502
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
503
503
|
asset: {
|
|
504
504
|
type: "nft" | "token";
|
|
505
505
|
tokenAddress: string;
|
|
@@ -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<["stake", "initiateWithdraw", "withdraw", "claim"]>;
|
|
879
|
+
stakingAction: z.ZodEnum<["deposit", "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"]>;
|
|
@@ -929,7 +929,7 @@ export declare const activityDetailsSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<
|
|
|
929
929
|
name?: string | undefined;
|
|
930
930
|
iconUrl?: string | undefined;
|
|
931
931
|
};
|
|
932
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
932
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
933
933
|
asset: {
|
|
934
934
|
type: "nft" | "token";
|
|
935
935
|
tokenAddress: `0x${string}`;
|
|
@@ -947,7 +947,7 @@ export declare const activityDetailsSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<
|
|
|
947
947
|
name?: string | undefined;
|
|
948
948
|
iconUrl?: string | undefined;
|
|
949
949
|
};
|
|
950
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
950
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
951
951
|
asset: {
|
|
952
952
|
type: "nft" | "token";
|
|
953
953
|
tokenAddress: string;
|
|
@@ -1042,7 +1042,7 @@ export declare const activityDetailsSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<
|
|
|
1042
1042
|
name?: string | undefined;
|
|
1043
1043
|
iconUrl?: string | undefined;
|
|
1044
1044
|
};
|
|
1045
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
1045
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
1046
1046
|
asset: {
|
|
1047
1047
|
type: "nft" | "token";
|
|
1048
1048
|
tokenAddress: `0x${string}`;
|
|
@@ -1137,7 +1137,7 @@ export declare const activityDetailsSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<
|
|
|
1137
1137
|
name?: string | undefined;
|
|
1138
1138
|
iconUrl?: string | undefined;
|
|
1139
1139
|
};
|
|
1140
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
1140
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
1141
1141
|
asset: {
|
|
1142
1142
|
type: "nft" | "token";
|
|
1143
1143
|
tokenAddress: string;
|
|
@@ -1235,7 +1235,7 @@ export declare const activityDetailsSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<
|
|
|
1235
1235
|
name?: string | undefined;
|
|
1236
1236
|
iconUrl?: string | undefined;
|
|
1237
1237
|
};
|
|
1238
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
1238
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
1239
1239
|
asset: {
|
|
1240
1240
|
type: "nft" | "token";
|
|
1241
1241
|
tokenAddress: `0x${string}`;
|
|
@@ -1333,7 +1333,7 @@ export declare const activityDetailsSchema: z.ZodUnion<[z.ZodDiscriminatedUnion<
|
|
|
1333
1333
|
name?: string | undefined;
|
|
1334
1334
|
iconUrl?: string | undefined;
|
|
1335
1335
|
};
|
|
1336
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
1336
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
1337
1337
|
asset: {
|
|
1338
1338
|
type: "nft" | "token";
|
|
1339
1339
|
tokenAddress: string;
|
|
@@ -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<["stake", "initiateWithdraw", "withdraw", "claim"]>;
|
|
2063
|
+
stakingAction: z.ZodEnum<["deposit", "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"]>;
|
|
@@ -2113,7 +2113,7 @@ export declare const activitySchema: z.ZodObject<{
|
|
|
2113
2113
|
name?: string | undefined;
|
|
2114
2114
|
iconUrl?: string | undefined;
|
|
2115
2115
|
};
|
|
2116
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
2116
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
2117
2117
|
asset: {
|
|
2118
2118
|
type: "nft" | "token";
|
|
2119
2119
|
tokenAddress: `0x${string}`;
|
|
@@ -2131,7 +2131,7 @@ export declare const activitySchema: z.ZodObject<{
|
|
|
2131
2131
|
name?: string | undefined;
|
|
2132
2132
|
iconUrl?: string | undefined;
|
|
2133
2133
|
};
|
|
2134
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
2134
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
2135
2135
|
asset: {
|
|
2136
2136
|
type: "nft" | "token";
|
|
2137
2137
|
tokenAddress: string;
|
|
@@ -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<["stake", "initiateWithdraw", "withdraw", "claim"]>;
|
|
2511
|
+
stakingAction: z.ZodEnum<["deposit", "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"]>;
|
|
@@ -2561,7 +2561,7 @@ export declare const activitySchema: z.ZodObject<{
|
|
|
2561
2561
|
name?: string | undefined;
|
|
2562
2562
|
iconUrl?: string | undefined;
|
|
2563
2563
|
};
|
|
2564
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
2564
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
2565
2565
|
asset: {
|
|
2566
2566
|
type: "nft" | "token";
|
|
2567
2567
|
tokenAddress: `0x${string}`;
|
|
@@ -2579,7 +2579,7 @@ export declare const activitySchema: z.ZodObject<{
|
|
|
2579
2579
|
name?: string | undefined;
|
|
2580
2580
|
iconUrl?: string | undefined;
|
|
2581
2581
|
};
|
|
2582
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
2582
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
2583
2583
|
asset: {
|
|
2584
2584
|
type: "nft" | "token";
|
|
2585
2585
|
tokenAddress: string;
|
|
@@ -2674,7 +2674,7 @@ export declare const activitySchema: z.ZodObject<{
|
|
|
2674
2674
|
name?: string | undefined;
|
|
2675
2675
|
iconUrl?: string | undefined;
|
|
2676
2676
|
};
|
|
2677
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
2677
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
2678
2678
|
asset: {
|
|
2679
2679
|
type: "nft" | "token";
|
|
2680
2680
|
tokenAddress: `0x${string}`;
|
|
@@ -2769,7 +2769,7 @@ export declare const activitySchema: z.ZodObject<{
|
|
|
2769
2769
|
name?: string | undefined;
|
|
2770
2770
|
iconUrl?: string | undefined;
|
|
2771
2771
|
};
|
|
2772
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
2772
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
2773
2773
|
asset: {
|
|
2774
2774
|
type: "nft" | "token";
|
|
2775
2775
|
tokenAddress: string;
|
|
@@ -2867,7 +2867,7 @@ export declare const activitySchema: z.ZodObject<{
|
|
|
2867
2867
|
name?: string | undefined;
|
|
2868
2868
|
iconUrl?: string | undefined;
|
|
2869
2869
|
};
|
|
2870
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
2870
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
2871
2871
|
asset: {
|
|
2872
2872
|
type: "nft" | "token";
|
|
2873
2873
|
tokenAddress: `0x${string}`;
|
|
@@ -2965,7 +2965,7 @@ export declare const activitySchema: z.ZodObject<{
|
|
|
2965
2965
|
name?: string | undefined;
|
|
2966
2966
|
iconUrl?: string | undefined;
|
|
2967
2967
|
};
|
|
2968
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
2968
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
2969
2969
|
asset: {
|
|
2970
2970
|
type: "nft" | "token";
|
|
2971
2971
|
tokenAddress: string;
|
|
@@ -3876,7 +3876,7 @@ export declare const activitySchema: z.ZodObject<{
|
|
|
3876
3876
|
name?: string | undefined;
|
|
3877
3877
|
iconUrl?: string | undefined;
|
|
3878
3878
|
};
|
|
3879
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
3879
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
3880
3880
|
asset: {
|
|
3881
3881
|
type: "nft" | "token";
|
|
3882
3882
|
tokenAddress: `0x${string}`;
|
|
@@ -3972,7 +3972,7 @@ export declare const activitySchema: z.ZodObject<{
|
|
|
3972
3972
|
name?: string | undefined;
|
|
3973
3973
|
iconUrl?: string | undefined;
|
|
3974
3974
|
};
|
|
3975
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
3975
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
3976
3976
|
asset: {
|
|
3977
3977
|
type: "nft" | "token";
|
|
3978
3978
|
tokenAddress: `0x${string}`;
|
|
@@ -4274,7 +4274,7 @@ export declare const activitySchema: z.ZodObject<{
|
|
|
4274
4274
|
name?: string | undefined;
|
|
4275
4275
|
iconUrl?: string | undefined;
|
|
4276
4276
|
};
|
|
4277
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
4277
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
4278
4278
|
asset: {
|
|
4279
4279
|
type: "nft" | "token";
|
|
4280
4280
|
tokenAddress: string;
|
|
@@ -4370,7 +4370,7 @@ export declare const activitySchema: z.ZodObject<{
|
|
|
4370
4370
|
name?: string | undefined;
|
|
4371
4371
|
iconUrl?: string | undefined;
|
|
4372
4372
|
};
|
|
4373
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
4373
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
4374
4374
|
asset: {
|
|
4375
4375
|
type: "nft" | "token";
|
|
4376
4376
|
tokenAddress: string;
|
|
@@ -4593,7 +4593,7 @@ 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
|
+
stakingAction: z.ZodEnum<["deposit", "stake", "initiateWithdraw", "withdraw", "claim"]>;
|
|
4597
4597
|
stakerInfo: z.ZodObject<{
|
|
4598
4598
|
name: z.ZodOptional<z.ZodString>;
|
|
4599
4599
|
iconUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -4617,7 +4617,7 @@ export declare const nativeActivityMetaSchema: z.ZodObject<{
|
|
|
4617
4617
|
name?: string | undefined;
|
|
4618
4618
|
iconUrl?: string | undefined;
|
|
4619
4619
|
};
|
|
4620
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
4620
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
4621
4621
|
}, {
|
|
4622
4622
|
amount: string;
|
|
4623
4623
|
tokenAddress: string;
|
|
@@ -4626,7 +4626,7 @@ export declare const nativeActivityMetaSchema: z.ZodObject<{
|
|
|
4626
4626
|
name?: string | undefined;
|
|
4627
4627
|
iconUrl?: string | undefined;
|
|
4628
4628
|
};
|
|
4629
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
4629
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
4630
4630
|
}>>;
|
|
4631
4631
|
}, "strip", z.ZodTypeAny, {
|
|
4632
4632
|
icon?: string | undefined;
|
|
@@ -4641,7 +4641,7 @@ export declare const nativeActivityMetaSchema: z.ZodObject<{
|
|
|
4641
4641
|
name?: string | undefined;
|
|
4642
4642
|
iconUrl?: string | undefined;
|
|
4643
4643
|
};
|
|
4644
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
4644
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
4645
4645
|
} | undefined;
|
|
4646
4646
|
}, {
|
|
4647
4647
|
icon?: string | undefined;
|
|
@@ -4656,7 +4656,7 @@ export declare const nativeActivityMetaSchema: z.ZodObject<{
|
|
|
4656
4656
|
name?: string | undefined;
|
|
4657
4657
|
iconUrl?: string | undefined;
|
|
4658
4658
|
};
|
|
4659
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
4659
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
4660
4660
|
} | undefined;
|
|
4661
4661
|
}>;
|
|
4662
4662
|
export type NativeActivityMeta = z.infer<typeof nativeActivityMetaSchema>;
|
|
@@ -5205,7 +5205,7 @@ export declare const nativeActivitySchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
5205
5205
|
} | null | undefined;
|
|
5206
5206
|
}>, z.ZodObject<{
|
|
5207
5207
|
type: z.ZodLiteral<"staking">;
|
|
5208
|
-
stakingAction: z.ZodEnum<["stake", "initiateWithdraw", "withdraw", "claim"]>;
|
|
5208
|
+
stakingAction: z.ZodEnum<["deposit", "stake", "initiateWithdraw", "withdraw", "claim"]>;
|
|
5209
5209
|
counterparty: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
5210
5210
|
asset: z.ZodObject<{
|
|
5211
5211
|
type: z.ZodEnum<["token", "nft"]>;
|
|
@@ -5258,7 +5258,7 @@ export declare const nativeActivitySchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
5258
5258
|
name?: string | undefined;
|
|
5259
5259
|
iconUrl?: string | undefined;
|
|
5260
5260
|
};
|
|
5261
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
5261
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
5262
5262
|
asset: {
|
|
5263
5263
|
type: "nft" | "token";
|
|
5264
5264
|
tokenAddress: `0x${string}`;
|
|
@@ -5276,7 +5276,7 @@ export declare const nativeActivitySchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
5276
5276
|
name?: string | undefined;
|
|
5277
5277
|
iconUrl?: string | undefined;
|
|
5278
5278
|
};
|
|
5279
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
5279
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
5280
5280
|
asset: {
|
|
5281
5281
|
type: "nft" | "token";
|
|
5282
5282
|
tokenAddress: string;
|
|
@@ -5653,7 +5653,7 @@ export declare const nativeActivitySchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
5653
5653
|
} | null | undefined;
|
|
5654
5654
|
}>, z.ZodObject<{
|
|
5655
5655
|
type: z.ZodLiteral<"staking">;
|
|
5656
|
-
stakingAction: z.ZodEnum<["stake", "initiateWithdraw", "withdraw", "claim"]>;
|
|
5656
|
+
stakingAction: z.ZodEnum<["deposit", "stake", "initiateWithdraw", "withdraw", "claim"]>;
|
|
5657
5657
|
counterparty: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
5658
5658
|
asset: z.ZodObject<{
|
|
5659
5659
|
type: z.ZodEnum<["token", "nft"]>;
|
|
@@ -5706,7 +5706,7 @@ export declare const nativeActivitySchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
5706
5706
|
name?: string | undefined;
|
|
5707
5707
|
iconUrl?: string | undefined;
|
|
5708
5708
|
};
|
|
5709
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
5709
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
5710
5710
|
asset: {
|
|
5711
5711
|
type: "nft" | "token";
|
|
5712
5712
|
tokenAddress: `0x${string}`;
|
|
@@ -5724,7 +5724,7 @@ export declare const nativeActivitySchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
5724
5724
|
name?: string | undefined;
|
|
5725
5725
|
iconUrl?: string | undefined;
|
|
5726
5726
|
};
|
|
5727
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
5727
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
5728
5728
|
asset: {
|
|
5729
5729
|
type: "nft" | "token";
|
|
5730
5730
|
tokenAddress: string;
|
|
@@ -5819,7 +5819,7 @@ export declare const nativeActivitySchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
5819
5819
|
name?: string | undefined;
|
|
5820
5820
|
iconUrl?: string | undefined;
|
|
5821
5821
|
};
|
|
5822
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
5822
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
5823
5823
|
asset: {
|
|
5824
5824
|
type: "nft" | "token";
|
|
5825
5825
|
tokenAddress: `0x${string}`;
|
|
@@ -5914,7 +5914,7 @@ export declare const nativeActivitySchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
5914
5914
|
name?: string | undefined;
|
|
5915
5915
|
iconUrl?: string | undefined;
|
|
5916
5916
|
};
|
|
5917
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
5917
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
5918
5918
|
asset: {
|
|
5919
5919
|
type: "nft" | "token";
|
|
5920
5920
|
tokenAddress: string;
|
|
@@ -6012,7 +6012,7 @@ export declare const nativeActivitySchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
6012
6012
|
name?: string | undefined;
|
|
6013
6013
|
iconUrl?: string | undefined;
|
|
6014
6014
|
};
|
|
6015
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
6015
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
6016
6016
|
asset: {
|
|
6017
6017
|
type: "nft" | "token";
|
|
6018
6018
|
tokenAddress: `0x${string}`;
|
|
@@ -6110,7 +6110,7 @@ export declare const nativeActivitySchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
6110
6110
|
name?: string | undefined;
|
|
6111
6111
|
iconUrl?: string | undefined;
|
|
6112
6112
|
};
|
|
6113
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
6113
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
6114
6114
|
asset: {
|
|
6115
6115
|
type: "nft" | "token";
|
|
6116
6116
|
tokenAddress: string;
|
|
@@ -6995,7 +6995,7 @@ export declare const nativeActivitySchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
6995
6995
|
/** let's not import the keys from x-ui here */
|
|
6996
6996
|
icon: z.ZodOptional<z.ZodString>;
|
|
6997
6997
|
investment: z.ZodOptional<z.ZodObject<{
|
|
6998
|
-
stakingAction: z.ZodEnum<["stake", "initiateWithdraw", "withdraw", "claim"]>;
|
|
6998
|
+
stakingAction: z.ZodEnum<["deposit", "stake", "initiateWithdraw", "withdraw", "claim"]>;
|
|
6999
6999
|
stakerInfo: z.ZodObject<{
|
|
7000
7000
|
name: z.ZodOptional<z.ZodString>;
|
|
7001
7001
|
iconUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -7019,7 +7019,7 @@ export declare const nativeActivitySchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
7019
7019
|
name?: string | undefined;
|
|
7020
7020
|
iconUrl?: string | undefined;
|
|
7021
7021
|
};
|
|
7022
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
7022
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
7023
7023
|
}, {
|
|
7024
7024
|
amount: string;
|
|
7025
7025
|
tokenAddress: string;
|
|
@@ -7028,7 +7028,7 @@ export declare const nativeActivitySchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
7028
7028
|
name?: string | undefined;
|
|
7029
7029
|
iconUrl?: string | undefined;
|
|
7030
7030
|
};
|
|
7031
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
7031
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
7032
7032
|
}>>;
|
|
7033
7033
|
}, "strip", z.ZodTypeAny, {
|
|
7034
7034
|
icon?: string | undefined;
|
|
@@ -7043,7 +7043,7 @@ export declare const nativeActivitySchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
7043
7043
|
name?: string | undefined;
|
|
7044
7044
|
iconUrl?: string | undefined;
|
|
7045
7045
|
};
|
|
7046
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
7046
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
7047
7047
|
} | undefined;
|
|
7048
7048
|
}, {
|
|
7049
7049
|
icon?: string | undefined;
|
|
@@ -7058,7 +7058,7 @@ export declare const nativeActivitySchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
7058
7058
|
name?: string | undefined;
|
|
7059
7059
|
iconUrl?: string | undefined;
|
|
7060
7060
|
};
|
|
7061
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
7061
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
7062
7062
|
} | undefined;
|
|
7063
7063
|
}>>;
|
|
7064
7064
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -7252,7 +7252,7 @@ export declare const nativeActivitySchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
7252
7252
|
name?: string | undefined;
|
|
7253
7253
|
iconUrl?: string | undefined;
|
|
7254
7254
|
};
|
|
7255
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
7255
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
7256
7256
|
} | undefined;
|
|
7257
7257
|
} | undefined;
|
|
7258
7258
|
}, {
|
|
@@ -7446,7 +7446,7 @@ export declare const nativeActivitySchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
7446
7446
|
name?: string | undefined;
|
|
7447
7447
|
iconUrl?: string | undefined;
|
|
7448
7448
|
};
|
|
7449
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
7449
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
7450
7450
|
} | undefined;
|
|
7451
7451
|
} | undefined;
|
|
7452
7452
|
}>;
|
|
@@ -7993,7 +7993,7 @@ export declare const activitiesSchema: z.ZodArray<z.ZodObject<{
|
|
|
7993
7993
|
} | null | undefined;
|
|
7994
7994
|
}>, z.ZodObject<{
|
|
7995
7995
|
type: z.ZodLiteral<"staking">;
|
|
7996
|
-
stakingAction: z.ZodEnum<["stake", "initiateWithdraw", "withdraw", "claim"]>;
|
|
7996
|
+
stakingAction: z.ZodEnum<["deposit", "stake", "initiateWithdraw", "withdraw", "claim"]>;
|
|
7997
7997
|
counterparty: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
7998
7998
|
asset: z.ZodObject<{
|
|
7999
7999
|
type: z.ZodEnum<["token", "nft"]>;
|
|
@@ -8046,7 +8046,7 @@ export declare const activitiesSchema: z.ZodArray<z.ZodObject<{
|
|
|
8046
8046
|
name?: string | undefined;
|
|
8047
8047
|
iconUrl?: string | undefined;
|
|
8048
8048
|
};
|
|
8049
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
8049
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
8050
8050
|
asset: {
|
|
8051
8051
|
type: "nft" | "token";
|
|
8052
8052
|
tokenAddress: `0x${string}`;
|
|
@@ -8064,7 +8064,7 @@ export declare const activitiesSchema: z.ZodArray<z.ZodObject<{
|
|
|
8064
8064
|
name?: string | undefined;
|
|
8065
8065
|
iconUrl?: string | undefined;
|
|
8066
8066
|
};
|
|
8067
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
8067
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
8068
8068
|
asset: {
|
|
8069
8069
|
type: "nft" | "token";
|
|
8070
8070
|
tokenAddress: string;
|
|
@@ -8441,7 +8441,7 @@ export declare const activitiesSchema: z.ZodArray<z.ZodObject<{
|
|
|
8441
8441
|
} | null | undefined;
|
|
8442
8442
|
}>, z.ZodObject<{
|
|
8443
8443
|
type: z.ZodLiteral<"staking">;
|
|
8444
|
-
stakingAction: z.ZodEnum<["stake", "initiateWithdraw", "withdraw", "claim"]>;
|
|
8444
|
+
stakingAction: z.ZodEnum<["deposit", "stake", "initiateWithdraw", "withdraw", "claim"]>;
|
|
8445
8445
|
counterparty: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
8446
8446
|
asset: z.ZodObject<{
|
|
8447
8447
|
type: z.ZodEnum<["token", "nft"]>;
|
|
@@ -8494,7 +8494,7 @@ export declare const activitiesSchema: z.ZodArray<z.ZodObject<{
|
|
|
8494
8494
|
name?: string | undefined;
|
|
8495
8495
|
iconUrl?: string | undefined;
|
|
8496
8496
|
};
|
|
8497
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
8497
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
8498
8498
|
asset: {
|
|
8499
8499
|
type: "nft" | "token";
|
|
8500
8500
|
tokenAddress: `0x${string}`;
|
|
@@ -8512,7 +8512,7 @@ export declare const activitiesSchema: z.ZodArray<z.ZodObject<{
|
|
|
8512
8512
|
name?: string | undefined;
|
|
8513
8513
|
iconUrl?: string | undefined;
|
|
8514
8514
|
};
|
|
8515
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
8515
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
8516
8516
|
asset: {
|
|
8517
8517
|
type: "nft" | "token";
|
|
8518
8518
|
tokenAddress: string;
|
|
@@ -8607,7 +8607,7 @@ export declare const activitiesSchema: z.ZodArray<z.ZodObject<{
|
|
|
8607
8607
|
name?: string | undefined;
|
|
8608
8608
|
iconUrl?: string | undefined;
|
|
8609
8609
|
};
|
|
8610
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
8610
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
8611
8611
|
asset: {
|
|
8612
8612
|
type: "nft" | "token";
|
|
8613
8613
|
tokenAddress: `0x${string}`;
|
|
@@ -8702,7 +8702,7 @@ export declare const activitiesSchema: z.ZodArray<z.ZodObject<{
|
|
|
8702
8702
|
name?: string | undefined;
|
|
8703
8703
|
iconUrl?: string | undefined;
|
|
8704
8704
|
};
|
|
8705
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
8705
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
8706
8706
|
asset: {
|
|
8707
8707
|
type: "nft" | "token";
|
|
8708
8708
|
tokenAddress: string;
|
|
@@ -8800,7 +8800,7 @@ export declare const activitiesSchema: z.ZodArray<z.ZodObject<{
|
|
|
8800
8800
|
name?: string | undefined;
|
|
8801
8801
|
iconUrl?: string | undefined;
|
|
8802
8802
|
};
|
|
8803
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
8803
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
8804
8804
|
asset: {
|
|
8805
8805
|
type: "nft" | "token";
|
|
8806
8806
|
tokenAddress: `0x${string}`;
|
|
@@ -8898,7 +8898,7 @@ export declare const activitiesSchema: z.ZodArray<z.ZodObject<{
|
|
|
8898
8898
|
name?: string | undefined;
|
|
8899
8899
|
iconUrl?: string | undefined;
|
|
8900
8900
|
};
|
|
8901
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
8901
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
8902
8902
|
asset: {
|
|
8903
8903
|
type: "nft" | "token";
|
|
8904
8904
|
tokenAddress: string;
|
|
@@ -9809,7 +9809,7 @@ export declare const activitiesSchema: z.ZodArray<z.ZodObject<{
|
|
|
9809
9809
|
name?: string | undefined;
|
|
9810
9810
|
iconUrl?: string | undefined;
|
|
9811
9811
|
};
|
|
9812
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
9812
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
9813
9813
|
asset: {
|
|
9814
9814
|
type: "nft" | "token";
|
|
9815
9815
|
tokenAddress: `0x${string}`;
|
|
@@ -9905,7 +9905,7 @@ export declare const activitiesSchema: z.ZodArray<z.ZodObject<{
|
|
|
9905
9905
|
name?: string | undefined;
|
|
9906
9906
|
iconUrl?: string | undefined;
|
|
9907
9907
|
};
|
|
9908
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
9908
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
9909
9909
|
asset: {
|
|
9910
9910
|
type: "nft" | "token";
|
|
9911
9911
|
tokenAddress: `0x${string}`;
|
|
@@ -10207,7 +10207,7 @@ export declare const activitiesSchema: z.ZodArray<z.ZodObject<{
|
|
|
10207
10207
|
name?: string | undefined;
|
|
10208
10208
|
iconUrl?: string | undefined;
|
|
10209
10209
|
};
|
|
10210
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
10210
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
10211
10211
|
asset: {
|
|
10212
10212
|
type: "nft" | "token";
|
|
10213
10213
|
tokenAddress: string;
|
|
@@ -10303,7 +10303,7 @@ export declare const activitiesSchema: z.ZodArray<z.ZodObject<{
|
|
|
10303
10303
|
name?: string | undefined;
|
|
10304
10304
|
iconUrl?: string | undefined;
|
|
10305
10305
|
};
|
|
10306
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
10306
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
10307
10307
|
asset: {
|
|
10308
10308
|
type: "nft" | "token";
|
|
10309
10309
|
tokenAddress: string;
|
|
@@ -11059,7 +11059,7 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
11059
11059
|
} | null | undefined;
|
|
11060
11060
|
}>, z.ZodObject<{
|
|
11061
11061
|
type: z.ZodLiteral<"staking">;
|
|
11062
|
-
stakingAction: z.ZodEnum<["stake", "initiateWithdraw", "withdraw", "claim"]>;
|
|
11062
|
+
stakingAction: z.ZodEnum<["deposit", "stake", "initiateWithdraw", "withdraw", "claim"]>;
|
|
11063
11063
|
counterparty: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
11064
11064
|
asset: z.ZodObject<{
|
|
11065
11065
|
type: z.ZodEnum<["token", "nft"]>;
|
|
@@ -11112,7 +11112,7 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
11112
11112
|
name?: string | undefined;
|
|
11113
11113
|
iconUrl?: string | undefined;
|
|
11114
11114
|
};
|
|
11115
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
11115
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
11116
11116
|
asset: {
|
|
11117
11117
|
type: "nft" | "token";
|
|
11118
11118
|
tokenAddress: `0x${string}`;
|
|
@@ -11130,7 +11130,7 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
11130
11130
|
name?: string | undefined;
|
|
11131
11131
|
iconUrl?: string | undefined;
|
|
11132
11132
|
};
|
|
11133
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
11133
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
11134
11134
|
asset: {
|
|
11135
11135
|
type: "nft" | "token";
|
|
11136
11136
|
tokenAddress: string;
|
|
@@ -11507,7 +11507,7 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
11507
11507
|
} | null | undefined;
|
|
11508
11508
|
}>, z.ZodObject<{
|
|
11509
11509
|
type: z.ZodLiteral<"staking">;
|
|
11510
|
-
stakingAction: z.ZodEnum<["stake", "initiateWithdraw", "withdraw", "claim"]>;
|
|
11510
|
+
stakingAction: z.ZodEnum<["deposit", "stake", "initiateWithdraw", "withdraw", "claim"]>;
|
|
11511
11511
|
counterparty: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
11512
11512
|
asset: z.ZodObject<{
|
|
11513
11513
|
type: z.ZodEnum<["token", "nft"]>;
|
|
@@ -11560,7 +11560,7 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
11560
11560
|
name?: string | undefined;
|
|
11561
11561
|
iconUrl?: string | undefined;
|
|
11562
11562
|
};
|
|
11563
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
11563
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
11564
11564
|
asset: {
|
|
11565
11565
|
type: "nft" | "token";
|
|
11566
11566
|
tokenAddress: `0x${string}`;
|
|
@@ -11578,7 +11578,7 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
11578
11578
|
name?: string | undefined;
|
|
11579
11579
|
iconUrl?: string | undefined;
|
|
11580
11580
|
};
|
|
11581
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
11581
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
11582
11582
|
asset: {
|
|
11583
11583
|
type: "nft" | "token";
|
|
11584
11584
|
tokenAddress: string;
|
|
@@ -11673,7 +11673,7 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
11673
11673
|
name?: string | undefined;
|
|
11674
11674
|
iconUrl?: string | undefined;
|
|
11675
11675
|
};
|
|
11676
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
11676
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
11677
11677
|
asset: {
|
|
11678
11678
|
type: "nft" | "token";
|
|
11679
11679
|
tokenAddress: `0x${string}`;
|
|
@@ -11768,7 +11768,7 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
11768
11768
|
name?: string | undefined;
|
|
11769
11769
|
iconUrl?: string | undefined;
|
|
11770
11770
|
};
|
|
11771
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
11771
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
11772
11772
|
asset: {
|
|
11773
11773
|
type: "nft" | "token";
|
|
11774
11774
|
tokenAddress: string;
|
|
@@ -11866,7 +11866,7 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
11866
11866
|
name?: string | undefined;
|
|
11867
11867
|
iconUrl?: string | undefined;
|
|
11868
11868
|
};
|
|
11869
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
11869
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
11870
11870
|
asset: {
|
|
11871
11871
|
type: "nft" | "token";
|
|
11872
11872
|
tokenAddress: `0x${string}`;
|
|
@@ -11964,7 +11964,7 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
11964
11964
|
name?: string | undefined;
|
|
11965
11965
|
iconUrl?: string | undefined;
|
|
11966
11966
|
};
|
|
11967
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
11967
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
11968
11968
|
asset: {
|
|
11969
11969
|
type: "nft" | "token";
|
|
11970
11970
|
tokenAddress: string;
|
|
@@ -12875,7 +12875,7 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
12875
12875
|
name?: string | undefined;
|
|
12876
12876
|
iconUrl?: string | undefined;
|
|
12877
12877
|
};
|
|
12878
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
12878
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
12879
12879
|
asset: {
|
|
12880
12880
|
type: "nft" | "token";
|
|
12881
12881
|
tokenAddress: `0x${string}`;
|
|
@@ -12971,7 +12971,7 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
12971
12971
|
name?: string | undefined;
|
|
12972
12972
|
iconUrl?: string | undefined;
|
|
12973
12973
|
};
|
|
12974
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
12974
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
12975
12975
|
asset: {
|
|
12976
12976
|
type: "nft" | "token";
|
|
12977
12977
|
tokenAddress: `0x${string}`;
|
|
@@ -13273,7 +13273,7 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
13273
13273
|
name?: string | undefined;
|
|
13274
13274
|
iconUrl?: string | undefined;
|
|
13275
13275
|
};
|
|
13276
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
13276
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
13277
13277
|
asset: {
|
|
13278
13278
|
type: "nft" | "token";
|
|
13279
13279
|
tokenAddress: string;
|
|
@@ -13369,7 +13369,7 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
13369
13369
|
name?: string | undefined;
|
|
13370
13370
|
iconUrl?: string | undefined;
|
|
13371
13371
|
};
|
|
13372
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
13372
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
13373
13373
|
asset: {
|
|
13374
13374
|
type: "nft" | "token";
|
|
13375
13375
|
tokenAddress: string;
|
|
@@ -13679,7 +13679,7 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
13679
13679
|
name?: string | undefined;
|
|
13680
13680
|
iconUrl?: string | undefined;
|
|
13681
13681
|
};
|
|
13682
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
13682
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
13683
13683
|
asset: {
|
|
13684
13684
|
type: "nft" | "token";
|
|
13685
13685
|
tokenAddress: `0x${string}`;
|
|
@@ -13775,7 +13775,7 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
13775
13775
|
name?: string | undefined;
|
|
13776
13776
|
iconUrl?: string | undefined;
|
|
13777
13777
|
};
|
|
13778
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
13778
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
13779
13779
|
asset: {
|
|
13780
13780
|
type: "nft" | "token";
|
|
13781
13781
|
tokenAddress: `0x${string}`;
|
|
@@ -14083,7 +14083,7 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
14083
14083
|
name?: string | undefined;
|
|
14084
14084
|
iconUrl?: string | undefined;
|
|
14085
14085
|
};
|
|
14086
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
14086
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
14087
14087
|
asset: {
|
|
14088
14088
|
type: "nft" | "token";
|
|
14089
14089
|
tokenAddress: string;
|
|
@@ -14179,7 +14179,7 @@ export declare const activityResponseSchema: z.ZodObject<{
|
|
|
14179
14179
|
name?: string | undefined;
|
|
14180
14180
|
iconUrl?: string | undefined;
|
|
14181
14181
|
};
|
|
14182
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
14182
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
14183
14183
|
asset: {
|
|
14184
14184
|
type: "nft" | "token";
|
|
14185
14185
|
tokenAddress: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("zod"),c=require("../utils/starknet/starknet.cjs"),t=require("../chains/starknet/address.cjs"),a=e.z.object({id:e.z.string(),dappId:e.z.string(),productId:e.z.string(),productName:e.z.string(),chain:e.z.string(),name:e.z.string(),description:e.z.string(),iconUrl:e.z.string().url(),learnMoreUrl:e.z.string().url().optional(),riskFactor:e.z.enum(["low"]),metrics:e.z.object({baseApy:e.z.string(),totalApy:e.z.string(),tvl:e.z.string().optional()}),incentives:e.z.array(e.z.object({name:e.z.string(),description:e.z.string(),iconUrl:e.z.string().url(),learnMoreUrl:e.z.string().url(),metric:e.z.object({apy:e.z.string()})})),buyEnabled:e.z.boolean(),sellEnabled:e.z.boolean()}),s=a.extend({category:e.z.literal("staking"),investableAssets:e.z.object({tokenAddresses:e.z.array(t.addressSchemaArgentBackend),tokensRequirement:e.z.enum(["any"])}),withdrawableAssets:e.z.object({tokenAddresses:e.z.array(t.addressSchemaArgentBackend),tokensRequirement:e.z.enum(["any"])}),fees:e.z.object({depositFees:e.z.object({protocolFee:e.z.string().nullable().optional(),totalFee:e.z.string()}),withdrawalFees:e.z.object({protocolFee:e.z.string().nullable().optional(),totalFee:e.z.string()})})}),o=a.extend({category:e.z.literal("lending"),investableAssets:e.z.object({tokenAddresses:e.z.array(t.addressSchemaArgentBackend),tokensRequirement:e.z.enum(["any"])}),withdrawableAssets:e.z.object({tokenAddresses:e.z.array(t.addressSchemaArgentBackend),tokensRequirement:e.z.enum(["any"])}),fees:e.z.object({depositFees:e.z.object({totalFee:e.z.string()}),withdrawalFees:e.z.object({totalFee:e.z.string()})})}),n=e.z.object({name:e.z.string().optional(),iconUrl:e.z.string().url().optional(),address:e.z.string()}),r=a.extend({category:e.z.literal("strkDelegatedStaking"),stakerInfo:n,investableAssets:e.z.object({tokenAddresses:e.z.array(t.addressSchemaArgentBackend),tokensRequirement:e.z.enum(["any"]),useDecomposedBalances:e.z.boolean().optional()}),withdrawableAssets:e.z.object({tokenAddresses:e.z.array(t.addressSchemaArgentBackend),tokensRequirement:e.z.enum(["any"]),useDecomposedBalances:e.z.boolean().optional(),amountsRequirement:e.z.enum(["fullBalance"]).optional(),timelockDuration:e.z.number().optional()}),fees:e.z.object({depositFees:e.z.object({argentFee:e.z.string().nullable().optional(),protocolFee:e.z.string().nullable().optional(),providerFee:e.z.string().nullable().optional(),totalFee:e.z.string()}),withdrawalFees:e.z.object({argentFee:e.z.string().nullable().optional(),protocolFee:e.z.string().nullable().optional(),providerFee:e.z.string().nullable().optional(),totalFee:e.z.string()}),performanceFees:e.z.object({argentFee:e.z.string().nullable().optional(),protocolFee:e.z.string().nullable().optional(),providerFee:e.z.string().nullable().optional(),totalFee:e.z.string()}).optional()}),buyEnabled:e.z.boolean().optional(),sellEnabled:e.z.boolean().optional(),claimEnabled:e.z.boolean().optional()}),i=e.z.discriminatedUnion("category",[s,o,r]),z=e.z.object({investments:e.z.array(i)}),d=e.z.object({calls:e.z.array(c.callSchema)}),m=e.z.object({investmentId:e.z.string(),stakerInfo:n,accountAddress:t.addressSchemaArgentBackend,tokenAddress:t.addressSchemaArgentBackend,amount:e.z.string()}),l=e.z.enum(["stake","initiateWithdraw","withdraw","claim"]),g=e.z.object({stakingAction:l,stakerInfo:n,tokenAddress:t.addressSchema,amount:e.z.string()});exports.investmentMetaSchema=g;exports.investmentSchema=i;exports.investmentsResponseSchema=z;exports.lendingInvestmentSchema=o;exports.stakerInfoSchema=n;exports.stakingActionSchema=l;exports.stakingInvestmentSchema=s;exports.strkDelegatedStakingInvestmentSchema=r;exports.strkStakingCalldataResponseSchema=d;exports.strkStakingCalldataSchema=m;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("zod"),c=require("../utils/starknet/starknet.cjs"),t=require("../chains/starknet/address.cjs"),a=e.z.object({id:e.z.string(),dappId:e.z.string(),productId:e.z.string(),productName:e.z.string(),chain:e.z.string(),name:e.z.string(),description:e.z.string(),iconUrl:e.z.string().url(),learnMoreUrl:e.z.string().url().optional(),riskFactor:e.z.enum(["low"]),metrics:e.z.object({baseApy:e.z.string(),totalApy:e.z.string(),tvl:e.z.string().optional()}),incentives:e.z.array(e.z.object({name:e.z.string(),description:e.z.string(),iconUrl:e.z.string().url(),learnMoreUrl:e.z.string().url(),metric:e.z.object({apy:e.z.string()})})),buyEnabled:e.z.boolean(),sellEnabled:e.z.boolean()}),s=a.extend({category:e.z.literal("staking"),investableAssets:e.z.object({tokenAddresses:e.z.array(t.addressSchemaArgentBackend),tokensRequirement:e.z.enum(["any"])}),withdrawableAssets:e.z.object({tokenAddresses:e.z.array(t.addressSchemaArgentBackend),tokensRequirement:e.z.enum(["any"])}),fees:e.z.object({depositFees:e.z.object({protocolFee:e.z.string().nullable().optional(),totalFee:e.z.string()}),withdrawalFees:e.z.object({protocolFee:e.z.string().nullable().optional(),totalFee:e.z.string()})})}),o=a.extend({category:e.z.literal("lending"),investableAssets:e.z.object({tokenAddresses:e.z.array(t.addressSchemaArgentBackend),tokensRequirement:e.z.enum(["any"])}),withdrawableAssets:e.z.object({tokenAddresses:e.z.array(t.addressSchemaArgentBackend),tokensRequirement:e.z.enum(["any"])}),fees:e.z.object({depositFees:e.z.object({totalFee:e.z.string()}),withdrawalFees:e.z.object({totalFee:e.z.string()})})}),n=e.z.object({name:e.z.string().optional(),iconUrl:e.z.string().url().optional(),address:e.z.string()}),r=a.extend({category:e.z.literal("strkDelegatedStaking"),stakerInfo:n,investableAssets:e.z.object({tokenAddresses:e.z.array(t.addressSchemaArgentBackend),tokensRequirement:e.z.enum(["any"]),useDecomposedBalances:e.z.boolean().optional()}),withdrawableAssets:e.z.object({tokenAddresses:e.z.array(t.addressSchemaArgentBackend),tokensRequirement:e.z.enum(["any"]),useDecomposedBalances:e.z.boolean().optional(),amountsRequirement:e.z.enum(["fullBalance"]).optional(),timelockDuration:e.z.number().optional()}),fees:e.z.object({depositFees:e.z.object({argentFee:e.z.string().nullable().optional(),protocolFee:e.z.string().nullable().optional(),providerFee:e.z.string().nullable().optional(),totalFee:e.z.string()}),withdrawalFees:e.z.object({argentFee:e.z.string().nullable().optional(),protocolFee:e.z.string().nullable().optional(),providerFee:e.z.string().nullable().optional(),totalFee:e.z.string()}),performanceFees:e.z.object({argentFee:e.z.string().nullable().optional(),protocolFee:e.z.string().nullable().optional(),providerFee:e.z.string().nullable().optional(),totalFee:e.z.string()}).optional()}),buyEnabled:e.z.boolean().optional(),sellEnabled:e.z.boolean().optional(),claimEnabled:e.z.boolean().optional()}),i=e.z.discriminatedUnion("category",[s,o,r]),z=e.z.object({investments:e.z.array(i)}),d=e.z.object({calls:e.z.array(c.callSchema)}),m=e.z.object({investmentId:e.z.string(),stakerInfo:n,accountAddress:t.addressSchemaArgentBackend,tokenAddress:t.addressSchemaArgentBackend,amount:e.z.string()}),l=e.z.enum(["deposit","stake","initiateWithdraw","withdraw","claim"]),g=e.z.object({stakingAction:l,stakerInfo:n,tokenAddress:t.addressSchema,amount:e.z.string()});exports.investmentMetaSchema=g;exports.investmentSchema=i;exports.investmentsResponseSchema=z;exports.lendingInvestmentSchema=o;exports.stakerInfoSchema=n;exports.stakingActionSchema=l;exports.stakingInvestmentSchema=s;exports.strkDelegatedStakingInvestmentSchema=r;exports.strkStakingCalldataResponseSchema=d;exports.strkStakingCalldataSchema=m;
|
|
@@ -2576,9 +2576,9 @@ export declare const strkStakingCalldataSchema: z.ZodObject<{
|
|
|
2576
2576
|
investmentId: string;
|
|
2577
2577
|
}>;
|
|
2578
2578
|
export type StrkStakingCalldata = z.infer<typeof strkStakingCalldataSchema>;
|
|
2579
|
-
export declare const stakingActionSchema: z.ZodEnum<["stake", "initiateWithdraw", "withdraw", "claim"]>;
|
|
2579
|
+
export declare const stakingActionSchema: z.ZodEnum<["deposit", "stake", "initiateWithdraw", "withdraw", "claim"]>;
|
|
2580
2580
|
export declare const investmentMetaSchema: z.ZodObject<{
|
|
2581
|
-
stakingAction: z.ZodEnum<["stake", "initiateWithdraw", "withdraw", "claim"]>;
|
|
2581
|
+
stakingAction: z.ZodEnum<["deposit", "stake", "initiateWithdraw", "withdraw", "claim"]>;
|
|
2582
2582
|
stakerInfo: z.ZodObject<{
|
|
2583
2583
|
name: z.ZodOptional<z.ZodString>;
|
|
2584
2584
|
iconUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -2602,7 +2602,7 @@ export declare const investmentMetaSchema: z.ZodObject<{
|
|
|
2602
2602
|
name?: string | undefined;
|
|
2603
2603
|
iconUrl?: string | undefined;
|
|
2604
2604
|
};
|
|
2605
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
2605
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
2606
2606
|
}, {
|
|
2607
2607
|
amount: string;
|
|
2608
2608
|
tokenAddress: string;
|
|
@@ -2611,6 +2611,6 @@ export declare const investmentMetaSchema: z.ZodObject<{
|
|
|
2611
2611
|
name?: string | undefined;
|
|
2612
2612
|
iconUrl?: string | undefined;
|
|
2613
2613
|
};
|
|
2614
|
-
stakingAction: "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
2614
|
+
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
2615
2615
|
}>;
|
|
2616
2616
|
export type InvestmentMeta = z.infer<typeof investmentMetaSchema>;
|