@waiaas/daemon 2.6.0-rc.9 → 2.7.0-rc
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 +51 -3
- package/dist/api/routes/actions.d.ts.map +1 -1
- package/dist/api/routes/actions.js +43 -2
- package/dist/api/routes/actions.js.map +1 -1
- package/dist/api/routes/admin.d.ts +0 -30
- package/dist/api/routes/admin.d.ts.map +1 -1
- package/dist/api/routes/admin.js +201 -33
- package/dist/api/routes/admin.js.map +1 -1
- package/dist/api/routes/connect-info.d.ts +7 -0
- package/dist/api/routes/connect-info.d.ts.map +1 -1
- package/dist/api/routes/connect-info.js +36 -6
- package/dist/api/routes/connect-info.js.map +1 -1
- package/dist/api/routes/openapi-schemas.d.ts +496 -0
- package/dist/api/routes/openapi-schemas.d.ts.map +1 -1
- package/dist/api/routes/openapi-schemas.js +51 -0
- package/dist/api/routes/openapi-schemas.js.map +1 -1
- package/dist/api/routes/staking.d.ts +31 -0
- package/dist/api/routes/staking.d.ts.map +1 -0
- package/dist/api/routes/staking.js +204 -0
- package/dist/api/routes/staking.js.map +1 -0
- package/dist/api/routes/transactions.d.ts.map +1 -1
- package/dist/api/routes/transactions.js +3 -2
- package/dist/api/routes/transactions.js.map +1 -1
- package/dist/api/server.d.ts.map +1 -1
- package/dist/api/server.js +43 -1
- package/dist/api/server.js.map +1 -1
- package/dist/infrastructure/config/loader.js +3 -3
- package/dist/infrastructure/config/loader.js.map +1 -1
- package/dist/infrastructure/settings/hot-reload.d.ts +9 -0
- package/dist/infrastructure/settings/hot-reload.d.ts.map +1 -1
- package/dist/infrastructure/settings/hot-reload.js +28 -0
- package/dist/infrastructure/settings/hot-reload.js.map +1 -1
- package/dist/infrastructure/settings/setting-keys.d.ts +1 -1
- package/dist/infrastructure/settings/setting-keys.d.ts.map +1 -1
- package/dist/infrastructure/settings/setting-keys.js +23 -7
- package/dist/infrastructure/settings/setting-keys.js.map +1 -1
- package/dist/lifecycle/daemon.d.ts +15 -0
- package/dist/lifecycle/daemon.d.ts.map +1 -1
- package/dist/lifecycle/daemon.js +146 -1
- package/dist/lifecycle/daemon.js.map +1 -1
- package/dist/pipeline/gas-condition-tracker.d.ts +73 -0
- package/dist/pipeline/gas-condition-tracker.d.ts.map +1 -0
- package/dist/pipeline/gas-condition-tracker.js +214 -0
- package/dist/pipeline/gas-condition-tracker.js.map +1 -0
- package/dist/pipeline/pipeline.d.ts.map +1 -1
- package/dist/pipeline/pipeline.js +3 -2
- package/dist/pipeline/pipeline.js.map +1 -1
- package/dist/pipeline/stages.d.ts +15 -0
- package/dist/pipeline/stages.d.ts.map +1 -1
- package/dist/pipeline/stages.js +152 -1
- package/dist/pipeline/stages.js.map +1 -1
- package/dist/services/async-polling-service.d.ts +2 -0
- package/dist/services/async-polling-service.d.ts.map +1 -1
- package/dist/services/async-polling-service.js +41 -6
- package/dist/services/async-polling-service.js.map +1 -1
- package/dist/services/incoming/__tests__/integration-wiring.test.js +6 -1
- package/dist/services/incoming/__tests__/integration-wiring.test.js.map +1 -1
- package/dist/services/incoming/incoming-tx-monitor-service.d.ts.map +1 -1
- package/dist/services/incoming/incoming-tx-monitor-service.js +10 -3
- package/dist/services/incoming/incoming-tx-monitor-service.js.map +1 -1
- package/package.json +5 -5
- package/public/admin/assets/index-C0nLGE6n.js +1 -0
- package/public/admin/index.html +1 -1
- package/public/admin/assets/index-yzTEayia.js +0 -1
|
@@ -701,7 +701,46 @@ export declare const UpdatePolicyRequestOpenAPI: z.ZodObject<{
|
|
|
701
701
|
rules?: Record<string, unknown> | undefined;
|
|
702
702
|
priority?: number | undefined;
|
|
703
703
|
}>;
|
|
704
|
+
/**
|
|
705
|
+
* OpenAPI schema for gas condition. Documents the optional gasCondition field
|
|
706
|
+
* available on all 5 transaction request types. Actual validation is handled
|
|
707
|
+
* by @waiaas/core GasConditionSchema (Zod SSoT) in stage1Validate.
|
|
708
|
+
*/
|
|
709
|
+
export declare const GasConditionOpenAPI: z.ZodObject<{
|
|
710
|
+
maxGasPrice: z.ZodOptional<z.ZodString>;
|
|
711
|
+
maxPriorityFee: z.ZodOptional<z.ZodString>;
|
|
712
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
713
|
+
}, "strip", z.ZodTypeAny, {
|
|
714
|
+
timeout?: number | undefined;
|
|
715
|
+
maxGasPrice?: string | undefined;
|
|
716
|
+
maxPriorityFee?: string | undefined;
|
|
717
|
+
}, {
|
|
718
|
+
timeout?: number | undefined;
|
|
719
|
+
maxGasPrice?: string | undefined;
|
|
720
|
+
maxPriorityFee?: string | undefined;
|
|
721
|
+
}>;
|
|
704
722
|
export declare const TransferRequestOpenAPI: z.ZodObject<{
|
|
723
|
+
gasCondition: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
724
|
+
maxGasPrice: z.ZodOptional<z.ZodString>;
|
|
725
|
+
maxPriorityFee: z.ZodOptional<z.ZodString>;
|
|
726
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
727
|
+
}, "strip", z.ZodTypeAny, {
|
|
728
|
+
maxGasPrice?: string | undefined;
|
|
729
|
+
maxPriorityFee?: string | undefined;
|
|
730
|
+
timeout?: number | undefined;
|
|
731
|
+
}, {
|
|
732
|
+
maxGasPrice?: string | undefined;
|
|
733
|
+
maxPriorityFee?: string | undefined;
|
|
734
|
+
timeout?: number | undefined;
|
|
735
|
+
}>, {
|
|
736
|
+
maxGasPrice?: string | undefined;
|
|
737
|
+
maxPriorityFee?: string | undefined;
|
|
738
|
+
timeout?: number | undefined;
|
|
739
|
+
}, {
|
|
740
|
+
maxGasPrice?: string | undefined;
|
|
741
|
+
maxPriorityFee?: string | undefined;
|
|
742
|
+
timeout?: number | undefined;
|
|
743
|
+
}>>;
|
|
705
744
|
type: z.ZodLiteral<"TRANSFER">;
|
|
706
745
|
to: z.ZodString;
|
|
707
746
|
amount: z.ZodString;
|
|
@@ -713,14 +752,45 @@ export declare const TransferRequestOpenAPI: z.ZodObject<{
|
|
|
713
752
|
to: string;
|
|
714
753
|
network?: "mainnet" | "devnet" | "testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | undefined;
|
|
715
754
|
memo?: string | undefined;
|
|
755
|
+
gasCondition?: {
|
|
756
|
+
maxGasPrice?: string | undefined;
|
|
757
|
+
maxPriorityFee?: string | undefined;
|
|
758
|
+
timeout?: number | undefined;
|
|
759
|
+
} | undefined;
|
|
716
760
|
}, {
|
|
717
761
|
type: "TRANSFER";
|
|
718
762
|
amount: string;
|
|
719
763
|
to: string;
|
|
720
764
|
network?: "mainnet" | "devnet" | "testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | undefined;
|
|
721
765
|
memo?: string | undefined;
|
|
766
|
+
gasCondition?: {
|
|
767
|
+
maxGasPrice?: string | undefined;
|
|
768
|
+
maxPriorityFee?: string | undefined;
|
|
769
|
+
timeout?: number | undefined;
|
|
770
|
+
} | undefined;
|
|
722
771
|
}>;
|
|
723
772
|
export declare const TokenTransferRequestOpenAPI: z.ZodObject<{
|
|
773
|
+
gasCondition: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
774
|
+
maxGasPrice: z.ZodOptional<z.ZodString>;
|
|
775
|
+
maxPriorityFee: z.ZodOptional<z.ZodString>;
|
|
776
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
777
|
+
}, "strip", z.ZodTypeAny, {
|
|
778
|
+
maxGasPrice?: string | undefined;
|
|
779
|
+
maxPriorityFee?: string | undefined;
|
|
780
|
+
timeout?: number | undefined;
|
|
781
|
+
}, {
|
|
782
|
+
maxGasPrice?: string | undefined;
|
|
783
|
+
maxPriorityFee?: string | undefined;
|
|
784
|
+
timeout?: number | undefined;
|
|
785
|
+
}>, {
|
|
786
|
+
maxGasPrice?: string | undefined;
|
|
787
|
+
maxPriorityFee?: string | undefined;
|
|
788
|
+
timeout?: number | undefined;
|
|
789
|
+
}, {
|
|
790
|
+
maxGasPrice?: string | undefined;
|
|
791
|
+
maxPriorityFee?: string | undefined;
|
|
792
|
+
timeout?: number | undefined;
|
|
793
|
+
}>>;
|
|
724
794
|
type: z.ZodLiteral<"TOKEN_TRANSFER">;
|
|
725
795
|
to: z.ZodString;
|
|
726
796
|
amount: z.ZodString;
|
|
@@ -764,6 +834,11 @@ export declare const TokenTransferRequestOpenAPI: z.ZodObject<{
|
|
|
764
834
|
to: string;
|
|
765
835
|
network?: "mainnet" | "devnet" | "testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | undefined;
|
|
766
836
|
memo?: string | undefined;
|
|
837
|
+
gasCondition?: {
|
|
838
|
+
maxGasPrice?: string | undefined;
|
|
839
|
+
maxPriorityFee?: string | undefined;
|
|
840
|
+
timeout?: number | undefined;
|
|
841
|
+
} | undefined;
|
|
767
842
|
}, {
|
|
768
843
|
type: "TOKEN_TRANSFER";
|
|
769
844
|
token: {
|
|
@@ -776,8 +851,34 @@ export declare const TokenTransferRequestOpenAPI: z.ZodObject<{
|
|
|
776
851
|
to: string;
|
|
777
852
|
network?: "mainnet" | "devnet" | "testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | undefined;
|
|
778
853
|
memo?: string | undefined;
|
|
854
|
+
gasCondition?: {
|
|
855
|
+
maxGasPrice?: string | undefined;
|
|
856
|
+
maxPriorityFee?: string | undefined;
|
|
857
|
+
timeout?: number | undefined;
|
|
858
|
+
} | undefined;
|
|
779
859
|
}>;
|
|
780
860
|
export declare const ContractCallRequestOpenAPI: z.ZodObject<{
|
|
861
|
+
gasCondition: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
862
|
+
maxGasPrice: z.ZodOptional<z.ZodString>;
|
|
863
|
+
maxPriorityFee: z.ZodOptional<z.ZodString>;
|
|
864
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
865
|
+
}, "strip", z.ZodTypeAny, {
|
|
866
|
+
maxGasPrice?: string | undefined;
|
|
867
|
+
maxPriorityFee?: string | undefined;
|
|
868
|
+
timeout?: number | undefined;
|
|
869
|
+
}, {
|
|
870
|
+
maxGasPrice?: string | undefined;
|
|
871
|
+
maxPriorityFee?: string | undefined;
|
|
872
|
+
timeout?: number | undefined;
|
|
873
|
+
}>, {
|
|
874
|
+
maxGasPrice?: string | undefined;
|
|
875
|
+
maxPriorityFee?: string | undefined;
|
|
876
|
+
timeout?: number | undefined;
|
|
877
|
+
}, {
|
|
878
|
+
maxGasPrice?: string | undefined;
|
|
879
|
+
maxPriorityFee?: string | undefined;
|
|
880
|
+
timeout?: number | undefined;
|
|
881
|
+
}>>;
|
|
781
882
|
type: z.ZodLiteral<"CONTRACT_CALL">;
|
|
782
883
|
to: z.ZodString;
|
|
783
884
|
calldata: z.ZodOptional<z.ZodString>;
|
|
@@ -805,6 +906,11 @@ export declare const ContractCallRequestOpenAPI: z.ZodObject<{
|
|
|
805
906
|
to: string;
|
|
806
907
|
value?: string | undefined;
|
|
807
908
|
network?: "mainnet" | "devnet" | "testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | undefined;
|
|
909
|
+
gasCondition?: {
|
|
910
|
+
maxGasPrice?: string | undefined;
|
|
911
|
+
maxPriorityFee?: string | undefined;
|
|
912
|
+
timeout?: number | undefined;
|
|
913
|
+
} | undefined;
|
|
808
914
|
calldata?: string | undefined;
|
|
809
915
|
abi?: Record<string, unknown>[] | undefined;
|
|
810
916
|
programId?: string | undefined;
|
|
@@ -820,6 +926,11 @@ export declare const ContractCallRequestOpenAPI: z.ZodObject<{
|
|
|
820
926
|
to: string;
|
|
821
927
|
value?: string | undefined;
|
|
822
928
|
network?: "mainnet" | "devnet" | "testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | undefined;
|
|
929
|
+
gasCondition?: {
|
|
930
|
+
maxGasPrice?: string | undefined;
|
|
931
|
+
maxPriorityFee?: string | undefined;
|
|
932
|
+
timeout?: number | undefined;
|
|
933
|
+
} | undefined;
|
|
823
934
|
calldata?: string | undefined;
|
|
824
935
|
abi?: Record<string, unknown>[] | undefined;
|
|
825
936
|
programId?: string | undefined;
|
|
@@ -832,6 +943,27 @@ export declare const ContractCallRequestOpenAPI: z.ZodObject<{
|
|
|
832
943
|
actionProvider?: string | undefined;
|
|
833
944
|
}>;
|
|
834
945
|
export declare const ApproveRequestOpenAPI: z.ZodObject<{
|
|
946
|
+
gasCondition: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
947
|
+
maxGasPrice: z.ZodOptional<z.ZodString>;
|
|
948
|
+
maxPriorityFee: z.ZodOptional<z.ZodString>;
|
|
949
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
950
|
+
}, "strip", z.ZodTypeAny, {
|
|
951
|
+
maxGasPrice?: string | undefined;
|
|
952
|
+
maxPriorityFee?: string | undefined;
|
|
953
|
+
timeout?: number | undefined;
|
|
954
|
+
}, {
|
|
955
|
+
maxGasPrice?: string | undefined;
|
|
956
|
+
maxPriorityFee?: string | undefined;
|
|
957
|
+
timeout?: number | undefined;
|
|
958
|
+
}>, {
|
|
959
|
+
maxGasPrice?: string | undefined;
|
|
960
|
+
maxPriorityFee?: string | undefined;
|
|
961
|
+
timeout?: number | undefined;
|
|
962
|
+
}, {
|
|
963
|
+
maxGasPrice?: string | undefined;
|
|
964
|
+
maxPriorityFee?: string | undefined;
|
|
965
|
+
timeout?: number | undefined;
|
|
966
|
+
}>>;
|
|
835
967
|
type: z.ZodLiteral<"APPROVE">;
|
|
836
968
|
spender: z.ZodString;
|
|
837
969
|
token: z.ZodEffects<z.ZodObject<{
|
|
@@ -873,6 +1005,11 @@ export declare const ApproveRequestOpenAPI: z.ZodObject<{
|
|
|
873
1005
|
amount: string;
|
|
874
1006
|
spender: string;
|
|
875
1007
|
network?: "mainnet" | "devnet" | "testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | undefined;
|
|
1008
|
+
gasCondition?: {
|
|
1009
|
+
maxGasPrice?: string | undefined;
|
|
1010
|
+
maxPriorityFee?: string | undefined;
|
|
1011
|
+
timeout?: number | undefined;
|
|
1012
|
+
} | undefined;
|
|
876
1013
|
}, {
|
|
877
1014
|
type: "APPROVE";
|
|
878
1015
|
token: {
|
|
@@ -884,10 +1021,57 @@ export declare const ApproveRequestOpenAPI: z.ZodObject<{
|
|
|
884
1021
|
amount: string;
|
|
885
1022
|
spender: string;
|
|
886
1023
|
network?: "mainnet" | "devnet" | "testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | undefined;
|
|
1024
|
+
gasCondition?: {
|
|
1025
|
+
maxGasPrice?: string | undefined;
|
|
1026
|
+
maxPriorityFee?: string | undefined;
|
|
1027
|
+
timeout?: number | undefined;
|
|
1028
|
+
} | undefined;
|
|
887
1029
|
}>;
|
|
888
1030
|
export declare const BatchRequestOpenAPI: z.ZodObject<{
|
|
1031
|
+
gasCondition: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
1032
|
+
maxGasPrice: z.ZodOptional<z.ZodString>;
|
|
1033
|
+
maxPriorityFee: z.ZodOptional<z.ZodString>;
|
|
1034
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
1035
|
+
}, "strip", z.ZodTypeAny, {
|
|
1036
|
+
maxGasPrice?: string | undefined;
|
|
1037
|
+
maxPriorityFee?: string | undefined;
|
|
1038
|
+
timeout?: number | undefined;
|
|
1039
|
+
}, {
|
|
1040
|
+
maxGasPrice?: string | undefined;
|
|
1041
|
+
maxPriorityFee?: string | undefined;
|
|
1042
|
+
timeout?: number | undefined;
|
|
1043
|
+
}>, {
|
|
1044
|
+
maxGasPrice?: string | undefined;
|
|
1045
|
+
maxPriorityFee?: string | undefined;
|
|
1046
|
+
timeout?: number | undefined;
|
|
1047
|
+
}, {
|
|
1048
|
+
maxGasPrice?: string | undefined;
|
|
1049
|
+
maxPriorityFee?: string | undefined;
|
|
1050
|
+
timeout?: number | undefined;
|
|
1051
|
+
}>>;
|
|
889
1052
|
type: z.ZodLiteral<"BATCH">;
|
|
890
1053
|
instructions: z.ZodArray<z.ZodUnion<[z.ZodObject<Omit<{
|
|
1054
|
+
gasCondition: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
1055
|
+
maxGasPrice: z.ZodOptional<z.ZodString>;
|
|
1056
|
+
maxPriorityFee: z.ZodOptional<z.ZodString>;
|
|
1057
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
1058
|
+
}, "strip", z.ZodTypeAny, {
|
|
1059
|
+
maxGasPrice?: string | undefined;
|
|
1060
|
+
maxPriorityFee?: string | undefined;
|
|
1061
|
+
timeout?: number | undefined;
|
|
1062
|
+
}, {
|
|
1063
|
+
maxGasPrice?: string | undefined;
|
|
1064
|
+
maxPriorityFee?: string | undefined;
|
|
1065
|
+
timeout?: number | undefined;
|
|
1066
|
+
}>, {
|
|
1067
|
+
maxGasPrice?: string | undefined;
|
|
1068
|
+
maxPriorityFee?: string | undefined;
|
|
1069
|
+
timeout?: number | undefined;
|
|
1070
|
+
}, {
|
|
1071
|
+
maxGasPrice?: string | undefined;
|
|
1072
|
+
maxPriorityFee?: string | undefined;
|
|
1073
|
+
timeout?: number | undefined;
|
|
1074
|
+
}>>;
|
|
891
1075
|
type: z.ZodLiteral<"TRANSFER">;
|
|
892
1076
|
to: z.ZodString;
|
|
893
1077
|
amount: z.ZodString;
|
|
@@ -898,12 +1082,43 @@ export declare const BatchRequestOpenAPI: z.ZodObject<{
|
|
|
898
1082
|
to: string;
|
|
899
1083
|
network?: "mainnet" | "devnet" | "testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | undefined;
|
|
900
1084
|
memo?: string | undefined;
|
|
1085
|
+
gasCondition?: {
|
|
1086
|
+
maxGasPrice?: string | undefined;
|
|
1087
|
+
maxPriorityFee?: string | undefined;
|
|
1088
|
+
timeout?: number | undefined;
|
|
1089
|
+
} | undefined;
|
|
901
1090
|
}, {
|
|
902
1091
|
amount: string;
|
|
903
1092
|
to: string;
|
|
904
1093
|
network?: "mainnet" | "devnet" | "testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | undefined;
|
|
905
1094
|
memo?: string | undefined;
|
|
1095
|
+
gasCondition?: {
|
|
1096
|
+
maxGasPrice?: string | undefined;
|
|
1097
|
+
maxPriorityFee?: string | undefined;
|
|
1098
|
+
timeout?: number | undefined;
|
|
1099
|
+
} | undefined;
|
|
906
1100
|
}>, z.ZodObject<Omit<{
|
|
1101
|
+
gasCondition: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
1102
|
+
maxGasPrice: z.ZodOptional<z.ZodString>;
|
|
1103
|
+
maxPriorityFee: z.ZodOptional<z.ZodString>;
|
|
1104
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
1105
|
+
}, "strip", z.ZodTypeAny, {
|
|
1106
|
+
maxGasPrice?: string | undefined;
|
|
1107
|
+
maxPriorityFee?: string | undefined;
|
|
1108
|
+
timeout?: number | undefined;
|
|
1109
|
+
}, {
|
|
1110
|
+
maxGasPrice?: string | undefined;
|
|
1111
|
+
maxPriorityFee?: string | undefined;
|
|
1112
|
+
timeout?: number | undefined;
|
|
1113
|
+
}>, {
|
|
1114
|
+
maxGasPrice?: string | undefined;
|
|
1115
|
+
maxPriorityFee?: string | undefined;
|
|
1116
|
+
timeout?: number | undefined;
|
|
1117
|
+
}, {
|
|
1118
|
+
maxGasPrice?: string | undefined;
|
|
1119
|
+
maxPriorityFee?: string | undefined;
|
|
1120
|
+
timeout?: number | undefined;
|
|
1121
|
+
}>>;
|
|
907
1122
|
type: z.ZodLiteral<"TOKEN_TRANSFER">;
|
|
908
1123
|
to: z.ZodString;
|
|
909
1124
|
amount: z.ZodString;
|
|
@@ -946,6 +1161,11 @@ export declare const BatchRequestOpenAPI: z.ZodObject<{
|
|
|
946
1161
|
to: string;
|
|
947
1162
|
network?: "mainnet" | "devnet" | "testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | undefined;
|
|
948
1163
|
memo?: string | undefined;
|
|
1164
|
+
gasCondition?: {
|
|
1165
|
+
maxGasPrice?: string | undefined;
|
|
1166
|
+
maxPriorityFee?: string | undefined;
|
|
1167
|
+
timeout?: number | undefined;
|
|
1168
|
+
} | undefined;
|
|
949
1169
|
}, {
|
|
950
1170
|
token: {
|
|
951
1171
|
symbol: string;
|
|
@@ -957,7 +1177,33 @@ export declare const BatchRequestOpenAPI: z.ZodObject<{
|
|
|
957
1177
|
to: string;
|
|
958
1178
|
network?: "mainnet" | "devnet" | "testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | undefined;
|
|
959
1179
|
memo?: string | undefined;
|
|
1180
|
+
gasCondition?: {
|
|
1181
|
+
maxGasPrice?: string | undefined;
|
|
1182
|
+
maxPriorityFee?: string | undefined;
|
|
1183
|
+
timeout?: number | undefined;
|
|
1184
|
+
} | undefined;
|
|
960
1185
|
}>, z.ZodObject<Omit<{
|
|
1186
|
+
gasCondition: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
1187
|
+
maxGasPrice: z.ZodOptional<z.ZodString>;
|
|
1188
|
+
maxPriorityFee: z.ZodOptional<z.ZodString>;
|
|
1189
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
1190
|
+
}, "strip", z.ZodTypeAny, {
|
|
1191
|
+
maxGasPrice?: string | undefined;
|
|
1192
|
+
maxPriorityFee?: string | undefined;
|
|
1193
|
+
timeout?: number | undefined;
|
|
1194
|
+
}, {
|
|
1195
|
+
maxGasPrice?: string | undefined;
|
|
1196
|
+
maxPriorityFee?: string | undefined;
|
|
1197
|
+
timeout?: number | undefined;
|
|
1198
|
+
}>, {
|
|
1199
|
+
maxGasPrice?: string | undefined;
|
|
1200
|
+
maxPriorityFee?: string | undefined;
|
|
1201
|
+
timeout?: number | undefined;
|
|
1202
|
+
}, {
|
|
1203
|
+
maxGasPrice?: string | undefined;
|
|
1204
|
+
maxPriorityFee?: string | undefined;
|
|
1205
|
+
timeout?: number | undefined;
|
|
1206
|
+
}>>;
|
|
961
1207
|
type: z.ZodLiteral<"CONTRACT_CALL">;
|
|
962
1208
|
to: z.ZodString;
|
|
963
1209
|
calldata: z.ZodOptional<z.ZodString>;
|
|
@@ -984,6 +1230,11 @@ export declare const BatchRequestOpenAPI: z.ZodObject<{
|
|
|
984
1230
|
to: string;
|
|
985
1231
|
value?: string | undefined;
|
|
986
1232
|
network?: "mainnet" | "devnet" | "testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | undefined;
|
|
1233
|
+
gasCondition?: {
|
|
1234
|
+
maxGasPrice?: string | undefined;
|
|
1235
|
+
maxPriorityFee?: string | undefined;
|
|
1236
|
+
timeout?: number | undefined;
|
|
1237
|
+
} | undefined;
|
|
987
1238
|
calldata?: string | undefined;
|
|
988
1239
|
abi?: Record<string, unknown>[] | undefined;
|
|
989
1240
|
programId?: string | undefined;
|
|
@@ -998,6 +1249,11 @@ export declare const BatchRequestOpenAPI: z.ZodObject<{
|
|
|
998
1249
|
to: string;
|
|
999
1250
|
value?: string | undefined;
|
|
1000
1251
|
network?: "mainnet" | "devnet" | "testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | undefined;
|
|
1252
|
+
gasCondition?: {
|
|
1253
|
+
maxGasPrice?: string | undefined;
|
|
1254
|
+
maxPriorityFee?: string | undefined;
|
|
1255
|
+
timeout?: number | undefined;
|
|
1256
|
+
} | undefined;
|
|
1001
1257
|
calldata?: string | undefined;
|
|
1002
1258
|
abi?: Record<string, unknown>[] | undefined;
|
|
1003
1259
|
programId?: string | undefined;
|
|
@@ -1009,6 +1265,27 @@ export declare const BatchRequestOpenAPI: z.ZodObject<{
|
|
|
1009
1265
|
}[] | undefined;
|
|
1010
1266
|
actionProvider?: string | undefined;
|
|
1011
1267
|
}>, z.ZodObject<Omit<{
|
|
1268
|
+
gasCondition: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
1269
|
+
maxGasPrice: z.ZodOptional<z.ZodString>;
|
|
1270
|
+
maxPriorityFee: z.ZodOptional<z.ZodString>;
|
|
1271
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
1272
|
+
}, "strip", z.ZodTypeAny, {
|
|
1273
|
+
maxGasPrice?: string | undefined;
|
|
1274
|
+
maxPriorityFee?: string | undefined;
|
|
1275
|
+
timeout?: number | undefined;
|
|
1276
|
+
}, {
|
|
1277
|
+
maxGasPrice?: string | undefined;
|
|
1278
|
+
maxPriorityFee?: string | undefined;
|
|
1279
|
+
timeout?: number | undefined;
|
|
1280
|
+
}>, {
|
|
1281
|
+
maxGasPrice?: string | undefined;
|
|
1282
|
+
maxPriorityFee?: string | undefined;
|
|
1283
|
+
timeout?: number | undefined;
|
|
1284
|
+
}, {
|
|
1285
|
+
maxGasPrice?: string | undefined;
|
|
1286
|
+
maxPriorityFee?: string | undefined;
|
|
1287
|
+
timeout?: number | undefined;
|
|
1288
|
+
}>>;
|
|
1012
1289
|
type: z.ZodLiteral<"APPROVE">;
|
|
1013
1290
|
spender: z.ZodString;
|
|
1014
1291
|
token: z.ZodEffects<z.ZodObject<{
|
|
@@ -1049,6 +1326,11 @@ export declare const BatchRequestOpenAPI: z.ZodObject<{
|
|
|
1049
1326
|
amount: string;
|
|
1050
1327
|
spender: string;
|
|
1051
1328
|
network?: "mainnet" | "devnet" | "testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | undefined;
|
|
1329
|
+
gasCondition?: {
|
|
1330
|
+
maxGasPrice?: string | undefined;
|
|
1331
|
+
maxPriorityFee?: string | undefined;
|
|
1332
|
+
timeout?: number | undefined;
|
|
1333
|
+
} | undefined;
|
|
1052
1334
|
}, {
|
|
1053
1335
|
token: {
|
|
1054
1336
|
symbol: string;
|
|
@@ -1059,6 +1341,11 @@ export declare const BatchRequestOpenAPI: z.ZodObject<{
|
|
|
1059
1341
|
amount: string;
|
|
1060
1342
|
spender: string;
|
|
1061
1343
|
network?: "mainnet" | "devnet" | "testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | undefined;
|
|
1344
|
+
gasCondition?: {
|
|
1345
|
+
maxGasPrice?: string | undefined;
|
|
1346
|
+
maxPriorityFee?: string | undefined;
|
|
1347
|
+
timeout?: number | undefined;
|
|
1348
|
+
} | undefined;
|
|
1062
1349
|
}>]>, "many">;
|
|
1063
1350
|
network: z.ZodOptional<z.ZodEnum<["mainnet", "devnet", "testnet", "ethereum-mainnet", "ethereum-sepolia", "polygon-mainnet", "polygon-amoy", "arbitrum-mainnet", "arbitrum-sepolia", "optimism-mainnet", "optimism-sepolia", "base-mainnet", "base-sepolia"]>>;
|
|
1064
1351
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1068,6 +1355,11 @@ export declare const BatchRequestOpenAPI: z.ZodObject<{
|
|
|
1068
1355
|
to: string;
|
|
1069
1356
|
network?: "mainnet" | "devnet" | "testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | undefined;
|
|
1070
1357
|
memo?: string | undefined;
|
|
1358
|
+
gasCondition?: {
|
|
1359
|
+
maxGasPrice?: string | undefined;
|
|
1360
|
+
maxPriorityFee?: string | undefined;
|
|
1361
|
+
timeout?: number | undefined;
|
|
1362
|
+
} | undefined;
|
|
1071
1363
|
} | {
|
|
1072
1364
|
token: {
|
|
1073
1365
|
symbol: string;
|
|
@@ -1079,10 +1371,20 @@ export declare const BatchRequestOpenAPI: z.ZodObject<{
|
|
|
1079
1371
|
to: string;
|
|
1080
1372
|
network?: "mainnet" | "devnet" | "testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | undefined;
|
|
1081
1373
|
memo?: string | undefined;
|
|
1374
|
+
gasCondition?: {
|
|
1375
|
+
maxGasPrice?: string | undefined;
|
|
1376
|
+
maxPriorityFee?: string | undefined;
|
|
1377
|
+
timeout?: number | undefined;
|
|
1378
|
+
} | undefined;
|
|
1082
1379
|
} | {
|
|
1083
1380
|
to: string;
|
|
1084
1381
|
value?: string | undefined;
|
|
1085
1382
|
network?: "mainnet" | "devnet" | "testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | undefined;
|
|
1383
|
+
gasCondition?: {
|
|
1384
|
+
maxGasPrice?: string | undefined;
|
|
1385
|
+
maxPriorityFee?: string | undefined;
|
|
1386
|
+
timeout?: number | undefined;
|
|
1387
|
+
} | undefined;
|
|
1086
1388
|
calldata?: string | undefined;
|
|
1087
1389
|
abi?: Record<string, unknown>[] | undefined;
|
|
1088
1390
|
programId?: string | undefined;
|
|
@@ -1103,8 +1405,18 @@ export declare const BatchRequestOpenAPI: z.ZodObject<{
|
|
|
1103
1405
|
amount: string;
|
|
1104
1406
|
spender: string;
|
|
1105
1407
|
network?: "mainnet" | "devnet" | "testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | undefined;
|
|
1408
|
+
gasCondition?: {
|
|
1409
|
+
maxGasPrice?: string | undefined;
|
|
1410
|
+
maxPriorityFee?: string | undefined;
|
|
1411
|
+
timeout?: number | undefined;
|
|
1412
|
+
} | undefined;
|
|
1106
1413
|
})[];
|
|
1107
1414
|
network?: "mainnet" | "devnet" | "testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | undefined;
|
|
1415
|
+
gasCondition?: {
|
|
1416
|
+
maxGasPrice?: string | undefined;
|
|
1417
|
+
maxPriorityFee?: string | undefined;
|
|
1418
|
+
timeout?: number | undefined;
|
|
1419
|
+
} | undefined;
|
|
1108
1420
|
}, {
|
|
1109
1421
|
type: "BATCH";
|
|
1110
1422
|
instructions: ({
|
|
@@ -1112,6 +1424,11 @@ export declare const BatchRequestOpenAPI: z.ZodObject<{
|
|
|
1112
1424
|
to: string;
|
|
1113
1425
|
network?: "mainnet" | "devnet" | "testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | undefined;
|
|
1114
1426
|
memo?: string | undefined;
|
|
1427
|
+
gasCondition?: {
|
|
1428
|
+
maxGasPrice?: string | undefined;
|
|
1429
|
+
maxPriorityFee?: string | undefined;
|
|
1430
|
+
timeout?: number | undefined;
|
|
1431
|
+
} | undefined;
|
|
1115
1432
|
} | {
|
|
1116
1433
|
token: {
|
|
1117
1434
|
symbol: string;
|
|
@@ -1123,10 +1440,20 @@ export declare const BatchRequestOpenAPI: z.ZodObject<{
|
|
|
1123
1440
|
to: string;
|
|
1124
1441
|
network?: "mainnet" | "devnet" | "testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | undefined;
|
|
1125
1442
|
memo?: string | undefined;
|
|
1443
|
+
gasCondition?: {
|
|
1444
|
+
maxGasPrice?: string | undefined;
|
|
1445
|
+
maxPriorityFee?: string | undefined;
|
|
1446
|
+
timeout?: number | undefined;
|
|
1447
|
+
} | undefined;
|
|
1126
1448
|
} | {
|
|
1127
1449
|
to: string;
|
|
1128
1450
|
value?: string | undefined;
|
|
1129
1451
|
network?: "mainnet" | "devnet" | "testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | undefined;
|
|
1452
|
+
gasCondition?: {
|
|
1453
|
+
maxGasPrice?: string | undefined;
|
|
1454
|
+
maxPriorityFee?: string | undefined;
|
|
1455
|
+
timeout?: number | undefined;
|
|
1456
|
+
} | undefined;
|
|
1130
1457
|
calldata?: string | undefined;
|
|
1131
1458
|
abi?: Record<string, unknown>[] | undefined;
|
|
1132
1459
|
programId?: string | undefined;
|
|
@@ -1147,8 +1474,18 @@ export declare const BatchRequestOpenAPI: z.ZodObject<{
|
|
|
1147
1474
|
amount: string;
|
|
1148
1475
|
spender: string;
|
|
1149
1476
|
network?: "mainnet" | "devnet" | "testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | undefined;
|
|
1477
|
+
gasCondition?: {
|
|
1478
|
+
maxGasPrice?: string | undefined;
|
|
1479
|
+
maxPriorityFee?: string | undefined;
|
|
1480
|
+
timeout?: number | undefined;
|
|
1481
|
+
} | undefined;
|
|
1150
1482
|
})[];
|
|
1151
1483
|
network?: "mainnet" | "devnet" | "testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | undefined;
|
|
1484
|
+
gasCondition?: {
|
|
1485
|
+
maxGasPrice?: string | undefined;
|
|
1486
|
+
maxPriorityFee?: string | undefined;
|
|
1487
|
+
timeout?: number | undefined;
|
|
1488
|
+
} | undefined;
|
|
1152
1489
|
}>;
|
|
1153
1490
|
/**
|
|
1154
1491
|
* Loose passthrough schema for the send transaction route.
|
|
@@ -2175,6 +2512,7 @@ export declare const SettingsResponseSchema: z.ZodObject<{
|
|
|
2175
2512
|
monitoring: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
|
|
2176
2513
|
telegram: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
|
|
2177
2514
|
signing_sdk: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
|
|
2515
|
+
gas_condition: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
|
|
2178
2516
|
}, "strip", z.ZodTypeAny, {
|
|
2179
2517
|
daemon: Record<string, string | boolean>;
|
|
2180
2518
|
rpc: Record<string, string | boolean>;
|
|
@@ -2187,6 +2525,7 @@ export declare const SettingsResponseSchema: z.ZodObject<{
|
|
|
2187
2525
|
autostop: Record<string, string | boolean>;
|
|
2188
2526
|
monitoring: Record<string, string | boolean>;
|
|
2189
2527
|
signing_sdk: Record<string, string | boolean>;
|
|
2528
|
+
gas_condition: Record<string, string | boolean>;
|
|
2190
2529
|
}, {
|
|
2191
2530
|
daemon: Record<string, string | boolean>;
|
|
2192
2531
|
rpc: Record<string, string | boolean>;
|
|
@@ -2199,6 +2538,7 @@ export declare const SettingsResponseSchema: z.ZodObject<{
|
|
|
2199
2538
|
autostop: Record<string, string | boolean>;
|
|
2200
2539
|
monitoring: Record<string, string | boolean>;
|
|
2201
2540
|
signing_sdk: Record<string, string | boolean>;
|
|
2541
|
+
gas_condition: Record<string, string | boolean>;
|
|
2202
2542
|
}>;
|
|
2203
2543
|
export declare const SettingsUpdateRequestSchema: z.ZodObject<{
|
|
2204
2544
|
settings: z.ZodArray<z.ZodObject<{
|
|
@@ -2236,6 +2576,7 @@ export declare const SettingsUpdateResponseSchema: z.ZodObject<{
|
|
|
2236
2576
|
monitoring: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
|
|
2237
2577
|
telegram: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
|
|
2238
2578
|
signing_sdk: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
|
|
2579
|
+
gas_condition: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
|
|
2239
2580
|
}, "strip", z.ZodTypeAny, {
|
|
2240
2581
|
daemon: Record<string, string | boolean>;
|
|
2241
2582
|
rpc: Record<string, string | boolean>;
|
|
@@ -2248,6 +2589,7 @@ export declare const SettingsUpdateResponseSchema: z.ZodObject<{
|
|
|
2248
2589
|
autostop: Record<string, string | boolean>;
|
|
2249
2590
|
monitoring: Record<string, string | boolean>;
|
|
2250
2591
|
signing_sdk: Record<string, string | boolean>;
|
|
2592
|
+
gas_condition: Record<string, string | boolean>;
|
|
2251
2593
|
}, {
|
|
2252
2594
|
daemon: Record<string, string | boolean>;
|
|
2253
2595
|
rpc: Record<string, string | boolean>;
|
|
@@ -2260,6 +2602,7 @@ export declare const SettingsUpdateResponseSchema: z.ZodObject<{
|
|
|
2260
2602
|
autostop: Record<string, string | boolean>;
|
|
2261
2603
|
monitoring: Record<string, string | boolean>;
|
|
2262
2604
|
signing_sdk: Record<string, string | boolean>;
|
|
2605
|
+
gas_condition: Record<string, string | boolean>;
|
|
2263
2606
|
}>;
|
|
2264
2607
|
}, "strip", z.ZodTypeAny, {
|
|
2265
2608
|
settings: {
|
|
@@ -2274,6 +2617,7 @@ export declare const SettingsUpdateResponseSchema: z.ZodObject<{
|
|
|
2274
2617
|
autostop: Record<string, string | boolean>;
|
|
2275
2618
|
monitoring: Record<string, string | boolean>;
|
|
2276
2619
|
signing_sdk: Record<string, string | boolean>;
|
|
2620
|
+
gas_condition: Record<string, string | boolean>;
|
|
2277
2621
|
};
|
|
2278
2622
|
updated: number;
|
|
2279
2623
|
}, {
|
|
@@ -2289,6 +2633,7 @@ export declare const SettingsUpdateResponseSchema: z.ZodObject<{
|
|
|
2289
2633
|
autostop: Record<string, string | boolean>;
|
|
2290
2634
|
monitoring: Record<string, string | boolean>;
|
|
2291
2635
|
signing_sdk: Record<string, string | boolean>;
|
|
2636
|
+
gas_condition: Record<string, string | boolean>;
|
|
2292
2637
|
};
|
|
2293
2638
|
updated: number;
|
|
2294
2639
|
}>;
|
|
@@ -2779,6 +3124,22 @@ export declare const ConnectInfoResponseSchema: z.ZodObject<{
|
|
|
2779
3124
|
priority: number;
|
|
2780
3125
|
}>, "many">>;
|
|
2781
3126
|
capabilities: z.ZodArray<z.ZodString, "many">;
|
|
3127
|
+
defaultDeny: z.ZodObject<{
|
|
3128
|
+
tokenTransfers: z.ZodBoolean;
|
|
3129
|
+
contractCalls: z.ZodBoolean;
|
|
3130
|
+
tokenApprovals: z.ZodBoolean;
|
|
3131
|
+
x402Domains: z.ZodBoolean;
|
|
3132
|
+
}, "strip", z.ZodTypeAny, {
|
|
3133
|
+
tokenTransfers: boolean;
|
|
3134
|
+
contractCalls: boolean;
|
|
3135
|
+
tokenApprovals: boolean;
|
|
3136
|
+
x402Domains: boolean;
|
|
3137
|
+
}, {
|
|
3138
|
+
tokenTransfers: boolean;
|
|
3139
|
+
contractCalls: boolean;
|
|
3140
|
+
tokenApprovals: boolean;
|
|
3141
|
+
x402Domains: boolean;
|
|
3142
|
+
}>;
|
|
2782
3143
|
daemon: z.ZodObject<{
|
|
2783
3144
|
version: z.ZodString;
|
|
2784
3145
|
baseUrl: z.ZodString;
|
|
@@ -2818,6 +3179,12 @@ export declare const ConnectInfoResponseSchema: z.ZodObject<{
|
|
|
2818
3179
|
};
|
|
2819
3180
|
prompt: string;
|
|
2820
3181
|
capabilities: string[];
|
|
3182
|
+
defaultDeny: {
|
|
3183
|
+
tokenTransfers: boolean;
|
|
3184
|
+
contractCalls: boolean;
|
|
3185
|
+
tokenApprovals: boolean;
|
|
3186
|
+
x402Domains: boolean;
|
|
3187
|
+
};
|
|
2821
3188
|
}, {
|
|
2822
3189
|
wallets: {
|
|
2823
3190
|
id: string;
|
|
@@ -2846,6 +3213,12 @@ export declare const ConnectInfoResponseSchema: z.ZodObject<{
|
|
|
2846
3213
|
};
|
|
2847
3214
|
prompt: string;
|
|
2848
3215
|
capabilities: string[];
|
|
3216
|
+
defaultDeny: {
|
|
3217
|
+
tokenTransfers: boolean;
|
|
3218
|
+
contractCalls: boolean;
|
|
3219
|
+
tokenApprovals: boolean;
|
|
3220
|
+
x402Domains: boolean;
|
|
3221
|
+
};
|
|
2849
3222
|
}>;
|
|
2850
3223
|
export declare const IncomingTxItemSchema: z.ZodObject<{
|
|
2851
3224
|
id: z.ZodString;
|
|
@@ -3049,4 +3422,127 @@ export declare const PatchWalletResponseSchema: z.ZodObject<{
|
|
|
3049
3422
|
id: string;
|
|
3050
3423
|
monitorIncoming: boolean;
|
|
3051
3424
|
}>;
|
|
3425
|
+
export declare const StakingPositionSchema: z.ZodObject<{
|
|
3426
|
+
protocol: z.ZodEnum<["lido", "jito"]>;
|
|
3427
|
+
chain: z.ZodEnum<["ethereum", "solana"]>;
|
|
3428
|
+
asset: z.ZodString;
|
|
3429
|
+
balance: z.ZodString;
|
|
3430
|
+
balanceUsd: z.ZodNullable<z.ZodString>;
|
|
3431
|
+
apy: z.ZodNullable<z.ZodString>;
|
|
3432
|
+
pendingUnstake: z.ZodNullable<z.ZodObject<{
|
|
3433
|
+
amount: z.ZodString;
|
|
3434
|
+
status: z.ZodEnum<["PENDING", "COMPLETED", "TIMEOUT"]>;
|
|
3435
|
+
requestedAt: z.ZodNullable<z.ZodNumber>;
|
|
3436
|
+
}, "strip", z.ZodTypeAny, {
|
|
3437
|
+
status: "PENDING" | "TIMEOUT" | "COMPLETED";
|
|
3438
|
+
amount: string;
|
|
3439
|
+
requestedAt: number | null;
|
|
3440
|
+
}, {
|
|
3441
|
+
status: "PENDING" | "TIMEOUT" | "COMPLETED";
|
|
3442
|
+
amount: string;
|
|
3443
|
+
requestedAt: number | null;
|
|
3444
|
+
}>>;
|
|
3445
|
+
}, "strip", z.ZodTypeAny, {
|
|
3446
|
+
chain: "solana" | "ethereum";
|
|
3447
|
+
balance: string;
|
|
3448
|
+
asset: string;
|
|
3449
|
+
protocol: "lido" | "jito";
|
|
3450
|
+
balanceUsd: string | null;
|
|
3451
|
+
apy: string | null;
|
|
3452
|
+
pendingUnstake: {
|
|
3453
|
+
status: "PENDING" | "TIMEOUT" | "COMPLETED";
|
|
3454
|
+
amount: string;
|
|
3455
|
+
requestedAt: number | null;
|
|
3456
|
+
} | null;
|
|
3457
|
+
}, {
|
|
3458
|
+
chain: "solana" | "ethereum";
|
|
3459
|
+
balance: string;
|
|
3460
|
+
asset: string;
|
|
3461
|
+
protocol: "lido" | "jito";
|
|
3462
|
+
balanceUsd: string | null;
|
|
3463
|
+
apy: string | null;
|
|
3464
|
+
pendingUnstake: {
|
|
3465
|
+
status: "PENDING" | "TIMEOUT" | "COMPLETED";
|
|
3466
|
+
amount: string;
|
|
3467
|
+
requestedAt: number | null;
|
|
3468
|
+
} | null;
|
|
3469
|
+
}>;
|
|
3470
|
+
export declare const StakingPositionsResponseSchema: z.ZodObject<{
|
|
3471
|
+
walletId: z.ZodString;
|
|
3472
|
+
positions: z.ZodArray<z.ZodObject<{
|
|
3473
|
+
protocol: z.ZodEnum<["lido", "jito"]>;
|
|
3474
|
+
chain: z.ZodEnum<["ethereum", "solana"]>;
|
|
3475
|
+
asset: z.ZodString;
|
|
3476
|
+
balance: z.ZodString;
|
|
3477
|
+
balanceUsd: z.ZodNullable<z.ZodString>;
|
|
3478
|
+
apy: z.ZodNullable<z.ZodString>;
|
|
3479
|
+
pendingUnstake: z.ZodNullable<z.ZodObject<{
|
|
3480
|
+
amount: z.ZodString;
|
|
3481
|
+
status: z.ZodEnum<["PENDING", "COMPLETED", "TIMEOUT"]>;
|
|
3482
|
+
requestedAt: z.ZodNullable<z.ZodNumber>;
|
|
3483
|
+
}, "strip", z.ZodTypeAny, {
|
|
3484
|
+
status: "PENDING" | "TIMEOUT" | "COMPLETED";
|
|
3485
|
+
amount: string;
|
|
3486
|
+
requestedAt: number | null;
|
|
3487
|
+
}, {
|
|
3488
|
+
status: "PENDING" | "TIMEOUT" | "COMPLETED";
|
|
3489
|
+
amount: string;
|
|
3490
|
+
requestedAt: number | null;
|
|
3491
|
+
}>>;
|
|
3492
|
+
}, "strip", z.ZodTypeAny, {
|
|
3493
|
+
chain: "solana" | "ethereum";
|
|
3494
|
+
balance: string;
|
|
3495
|
+
asset: string;
|
|
3496
|
+
protocol: "lido" | "jito";
|
|
3497
|
+
balanceUsd: string | null;
|
|
3498
|
+
apy: string | null;
|
|
3499
|
+
pendingUnstake: {
|
|
3500
|
+
status: "PENDING" | "TIMEOUT" | "COMPLETED";
|
|
3501
|
+
amount: string;
|
|
3502
|
+
requestedAt: number | null;
|
|
3503
|
+
} | null;
|
|
3504
|
+
}, {
|
|
3505
|
+
chain: "solana" | "ethereum";
|
|
3506
|
+
balance: string;
|
|
3507
|
+
asset: string;
|
|
3508
|
+
protocol: "lido" | "jito";
|
|
3509
|
+
balanceUsd: string | null;
|
|
3510
|
+
apy: string | null;
|
|
3511
|
+
pendingUnstake: {
|
|
3512
|
+
status: "PENDING" | "TIMEOUT" | "COMPLETED";
|
|
3513
|
+
amount: string;
|
|
3514
|
+
requestedAt: number | null;
|
|
3515
|
+
} | null;
|
|
3516
|
+
}>, "many">;
|
|
3517
|
+
}, "strip", z.ZodTypeAny, {
|
|
3518
|
+
walletId: string;
|
|
3519
|
+
positions: {
|
|
3520
|
+
chain: "solana" | "ethereum";
|
|
3521
|
+
balance: string;
|
|
3522
|
+
asset: string;
|
|
3523
|
+
protocol: "lido" | "jito";
|
|
3524
|
+
balanceUsd: string | null;
|
|
3525
|
+
apy: string | null;
|
|
3526
|
+
pendingUnstake: {
|
|
3527
|
+
status: "PENDING" | "TIMEOUT" | "COMPLETED";
|
|
3528
|
+
amount: string;
|
|
3529
|
+
requestedAt: number | null;
|
|
3530
|
+
} | null;
|
|
3531
|
+
}[];
|
|
3532
|
+
}, {
|
|
3533
|
+
walletId: string;
|
|
3534
|
+
positions: {
|
|
3535
|
+
chain: "solana" | "ethereum";
|
|
3536
|
+
balance: string;
|
|
3537
|
+
asset: string;
|
|
3538
|
+
protocol: "lido" | "jito";
|
|
3539
|
+
balanceUsd: string | null;
|
|
3540
|
+
apy: string | null;
|
|
3541
|
+
pendingUnstake: {
|
|
3542
|
+
status: "PENDING" | "TIMEOUT" | "COMPLETED";
|
|
3543
|
+
amount: string;
|
|
3544
|
+
requestedAt: number | null;
|
|
3545
|
+
} | null;
|
|
3546
|
+
}[];
|
|
3547
|
+
}>;
|
|
3052
3548
|
//# sourceMappingURL=openapi-schemas.d.ts.map
|