@mimicprotocol/sdk 0.0.1-rc.9 → 0.0.2-rc.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.
- package/dist/axia/ProposalSigner.d.ts +24 -0
- package/dist/axia/ProposalSigner.d.ts.map +1 -0
- package/dist/axia/ProposalSigner.js +39 -0
- package/dist/axia/ProposalSigner.js.map +1 -0
- package/dist/axia/constants.d.ts +36 -22
- package/dist/axia/constants.d.ts.map +1 -1
- package/dist/axia/constants.js +32 -26
- package/dist/axia/constants.js.map +1 -1
- package/dist/axia/index.d.ts +1 -0
- package/dist/axia/index.d.ts.map +1 -1
- package/dist/axia/index.js +1 -0
- package/dist/axia/index.js.map +1 -1
- package/dist/axia/types.d.ts +3 -2
- package/dist/axia/types.d.ts.map +1 -1
- package/dist/axia/validators.d.ts +2505 -813
- package/dist/axia/validators.d.ts.map +1 -1
- package/dist/axia/validators.js +42 -28
- package/dist/axia/validators.js.map +1 -1
- package/dist/client/core/auth.d.ts +2 -1
- package/dist/client/core/auth.d.ts.map +1 -1
- package/dist/client/core/auth.js +3 -2
- package/dist/client/core/auth.js.map +1 -1
- package/dist/client/core/config.d.ts +1 -1
- package/dist/client/core/config.d.ts.map +1 -1
- package/dist/client/core/config.js +3 -2
- package/dist/client/core/config.js.map +1 -1
- package/dist/client/domains/Client.d.ts.map +1 -1
- package/dist/client/domains/Client.js +4 -2
- package/dist/client/domains/Client.js.map +1 -1
- package/dist/client/domains/FunctionsClient.d.ts +11 -0
- package/dist/client/domains/FunctionsClient.d.ts.map +1 -0
- package/dist/client/domains/FunctionsClient.js +30 -0
- package/dist/client/domains/FunctionsClient.js.map +1 -0
- package/dist/client/domains/IntentsClient.d.ts +36 -22
- package/dist/client/domains/IntentsClient.d.ts.map +1 -1
- package/dist/client/domains/IntentsClient.js +42 -28
- package/dist/client/domains/IntentsClient.js.map +1 -1
- package/dist/client/domains/TriggersClient.d.ts +19 -0
- package/dist/client/domains/TriggersClient.d.ts.map +1 -0
- package/dist/client/domains/TriggersClient.js +89 -0
- package/dist/client/domains/TriggersClient.js.map +1 -0
- package/dist/client/domains/UsersClient.d.ts +16 -0
- package/dist/client/domains/UsersClient.d.ts.map +1 -0
- package/dist/client/domains/UsersClient.js +45 -0
- package/dist/client/domains/UsersClient.js.map +1 -0
- package/dist/client/domains/index.d.ts +3 -2
- package/dist/client/domains/index.d.ts.map +1 -1
- package/dist/client/domains/index.js +7 -5
- package/dist/client/domains/index.js.map +1 -1
- package/dist/client/index.d.ts +6 -4
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +6 -3
- package/dist/client/index.js.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/oracle/eip712Types.d.ts +45 -5
- package/dist/oracle/eip712Types.d.ts.map +1 -1
- package/dist/oracle/eip712Types.js +50 -10
- package/dist/oracle/eip712Types.js.map +1 -1
- package/dist/oracle/types.d.ts +15 -1
- package/dist/oracle/types.d.ts.map +1 -1
- package/dist/oracle/validators.d.ts +878 -256
- package/dist/oracle/validators.d.ts.map +1 -1
- package/dist/oracle/validators.js +34 -5
- package/dist/oracle/validators.js.map +1 -1
- package/dist/registry/AuthSigner.d.ts +5 -4
- package/dist/registry/AuthSigner.d.ts.map +1 -1
- package/dist/registry/AuthSigner.js +6 -5
- package/dist/registry/AuthSigner.js.map +1 -1
- package/dist/registry/TriggerSigner.d.ts +26 -0
- package/dist/registry/TriggerSigner.d.ts.map +1 -0
- package/dist/registry/TriggerSigner.js +115 -0
- package/dist/registry/TriggerSigner.js.map +1 -0
- package/dist/registry/constants.d.ts +2 -0
- package/dist/registry/constants.d.ts.map +1 -0
- package/dist/registry/constants.js +5 -0
- package/dist/registry/constants.js.map +1 -0
- package/dist/registry/eip712Types.d.ts +31 -5
- package/dist/registry/eip712Types.d.ts.map +1 -1
- package/dist/registry/eip712Types.js +39 -11
- package/dist/registry/eip712Types.js.map +1 -1
- package/dist/registry/index.d.ts +2 -1
- package/dist/registry/index.d.ts.map +1 -1
- package/dist/registry/index.js +2 -1
- package/dist/registry/index.js.map +1 -1
- package/dist/registry/types.d.ts +34 -25
- package/dist/registry/types.d.ts.map +1 -1
- package/dist/registry/types.js +5 -1
- package/dist/registry/types.js.map +1 -1
- package/dist/registry/validations.d.ts +2 -4
- package/dist/registry/validations.d.ts.map +1 -1
- package/dist/registry/validations.js +5 -13
- package/dist/registry/validations.js.map +1 -1
- package/dist/registry/validators.d.ts +1769 -419
- package/dist/registry/validators.d.ts.map +1 -1
- package/dist/registry/validators.js +144 -81
- package/dist/registry/validators.js.map +1 -1
- package/dist/relayer/eip712Types.d.ts +8 -0
- package/dist/relayer/eip712Types.d.ts.map +1 -1
- package/dist/relayer/types.d.ts +2 -1
- package/dist/relayer/types.d.ts.map +1 -1
- package/dist/relayer/validators.d.ts +2874 -1056
- package/dist/relayer/validators.d.ts.map +1 -1
- package/dist/relayer/validators.js +4 -17
- package/dist/relayer/validators.js.map +1 -1
- package/dist/runner/validators.d.ts +770 -168
- package/dist/runner/validators.d.ts.map +1 -1
- package/dist/runner/validators.js +12 -2
- package/dist/runner/validators.js.map +1 -1
- package/dist/settler/index.d.ts +2 -0
- package/dist/settler/index.d.ts.map +1 -0
- package/dist/settler/index.js +18 -0
- package/dist/settler/index.js.map +1 -0
- package/dist/settler/svm/Controller.d.ts +24 -0
- package/dist/settler/svm/Controller.d.ts.map +1 -0
- package/dist/settler/svm/Controller.js +136 -0
- package/dist/settler/svm/Controller.js.map +1 -0
- package/dist/settler/svm/Settler.d.ts +46 -0
- package/dist/settler/svm/Settler.d.ts.map +1 -0
- package/dist/settler/svm/Settler.js +305 -0
- package/dist/settler/svm/Settler.js.map +1 -0
- package/dist/settler/svm/idls/controller.json +621 -0
- package/dist/settler/svm/idls/settler.json +1707 -0
- package/dist/settler/svm/idls/types/controller.d.ts +401 -0
- package/dist/settler/svm/idls/types/controller.d.ts.map +1 -0
- package/dist/settler/svm/idls/types/controller.js +3 -0
- package/dist/settler/svm/idls/types/controller.js.map +1 -0
- package/dist/settler/svm/idls/types/settler.d.ts +1299 -0
- package/dist/settler/svm/idls/types/settler.d.ts.map +1 -0
- package/dist/settler/svm/idls/types/settler.js +3 -0
- package/dist/settler/svm/idls/types/settler.js.map +1 -0
- package/dist/settler/svm/index.d.ts +4 -0
- package/dist/settler/svm/index.d.ts.map +1 -0
- package/dist/settler/svm/index.js +27 -0
- package/dist/settler/svm/index.js.map +1 -0
- package/dist/settler/svm/types.d.ts +44 -0
- package/dist/settler/svm/types.d.ts.map +1 -0
- package/dist/{shared/types/events.js → settler/svm/types.js} +1 -1
- package/dist/settler/svm/types.js.map +1 -0
- package/dist/shared/codec/chains/evm.d.ts +9 -5
- package/dist/shared/codec/chains/evm.d.ts.map +1 -1
- package/dist/shared/codec/chains/evm.js +105 -26
- package/dist/shared/codec/chains/evm.js.map +1 -1
- package/dist/shared/codec/chains/svm.d.ts +20 -12
- package/dist/shared/codec/chains/svm.d.ts.map +1 -1
- package/dist/shared/codec/chains/svm.js +185 -47
- package/dist/shared/codec/chains/svm.js.map +1 -1
- package/dist/shared/codec/decoder.d.ts +16 -5
- package/dist/shared/codec/decoder.d.ts.map +1 -1
- package/dist/shared/codec/decoder.js +67 -22
- package/dist/shared/codec/decoder.js.map +1 -1
- package/dist/shared/codec/encoder.d.ts +107 -10
- package/dist/shared/codec/encoder.d.ts.map +1 -1
- package/dist/shared/codec/encoder.js +72 -33
- package/dist/shared/codec/encoder.js.map +1 -1
- package/dist/shared/codec/index.d.ts +1 -1
- package/dist/shared/codec/index.d.ts.map +1 -1
- package/dist/shared/codec/index.js +13 -8
- package/dist/shared/codec/index.js.map +1 -1
- package/dist/shared/eip712Types/index.d.ts +27 -4
- package/dist/shared/eip712Types/index.d.ts.map +1 -1
- package/dist/shared/eip712Types/index.js +42 -12
- package/dist/shared/eip712Types/index.js.map +1 -1
- package/dist/shared/signer/EthersSigner.d.ts +2 -1
- package/dist/shared/signer/EthersSigner.d.ts.map +1 -1
- package/dist/shared/signer/EthersSigner.js +3 -0
- package/dist/shared/signer/EthersSigner.js.map +1 -1
- package/dist/shared/signer/Signer.d.ts +1 -0
- package/dist/shared/signer/Signer.d.ts.map +1 -1
- package/dist/shared/signer/WindowEthereumSigner.d.ts +2 -1
- package/dist/shared/signer/WindowEthereumSigner.d.ts.map +1 -1
- package/dist/shared/signer/WindowEthereumSigner.js +3 -0
- package/dist/shared/signer/WindowEthereumSigner.js.map +1 -1
- package/dist/shared/types/executions.d.ts +3 -2
- package/dist/shared/types/executions.d.ts.map +1 -1
- package/dist/shared/types/index.d.ts +0 -1
- package/dist/shared/types/index.d.ts.map +1 -1
- package/dist/shared/types/index.js +0 -1
- package/dist/shared/types/index.js.map +1 -1
- package/dist/shared/types/intents.d.ts +25 -11
- package/dist/shared/types/intents.d.ts.map +1 -1
- package/dist/shared/types/primitives.d.ts +4 -1
- package/dist/shared/types/primitives.d.ts.map +1 -1
- package/dist/shared/utils/addresses.d.ts +5 -2
- package/dist/shared/utils/addresses.d.ts.map +1 -1
- package/dist/shared/utils/addresses.js +11 -1
- package/dist/shared/utils/addresses.js.map +1 -1
- package/dist/shared/utils/bytes.d.ts +2 -0
- package/dist/shared/utils/bytes.d.ts.map +1 -1
- package/dist/shared/utils/bytes.js +10 -0
- package/dist/shared/utils/bytes.js.map +1 -1
- package/dist/shared/utils/chains.d.ts +4 -0
- package/dist/shared/utils/chains.d.ts.map +1 -1
- package/dist/shared/utils/chains.js +4 -0
- package/dist/shared/utils/chains.js.map +1 -1
- package/dist/shared/utils/constants.d.ts +2 -0
- package/dist/shared/utils/constants.d.ts.map +1 -0
- package/dist/shared/utils/constants.js +5 -0
- package/dist/shared/utils/constants.js.map +1 -0
- package/dist/shared/utils/index.d.ts +2 -0
- package/dist/shared/utils/index.d.ts.map +1 -1
- package/dist/shared/utils/index.js +2 -0
- package/dist/shared/utils/index.js.map +1 -1
- package/dist/shared/utils/numbers.d.ts +20 -6
- package/dist/shared/utils/numbers.d.ts.map +1 -1
- package/dist/shared/utils/numbers.js +85 -22
- package/dist/shared/utils/numbers.js.map +1 -1
- package/dist/shared/utils/random.d.ts +1 -3
- package/dist/shared/utils/random.d.ts.map +1 -1
- package/dist/shared/utils/random.js +13 -6
- package/dist/shared/utils/random.js.map +1 -1
- package/dist/shared/utils/time.d.ts +14 -0
- package/dist/shared/utils/time.d.ts.map +1 -0
- package/dist/shared/utils/time.js +59 -0
- package/dist/shared/utils/time.js.map +1 -0
- package/dist/shared/utils/tokens.d.ts +1 -2
- package/dist/shared/utils/tokens.d.ts.map +1 -1
- package/dist/shared/utils/tokens.js +4 -4
- package/dist/shared/utils/tokens.js.map +1 -1
- package/dist/shared/utils/validations.d.ts +5 -0
- package/dist/shared/utils/validations.d.ts.map +1 -1
- package/dist/shared/utils/validations.js +28 -1
- package/dist/shared/utils/validations.js.map +1 -1
- package/dist/shared/validators/executions.d.ts +85 -48
- package/dist/shared/validators/executions.d.ts.map +1 -1
- package/dist/shared/validators/executions.js +16 -22
- package/dist/shared/validators/executions.js.map +1 -1
- package/dist/shared/validators/index.d.ts +0 -1
- package/dist/shared/validators/index.d.ts.map +1 -1
- package/dist/shared/validators/index.js +0 -1
- package/dist/shared/validators/index.js.map +1 -1
- package/dist/shared/validators/intents.d.ts +1738 -127
- package/dist/shared/validators/intents.d.ts.map +1 -1
- package/dist/shared/validators/intents.js +93 -27
- package/dist/shared/validators/intents.js.map +1 -1
- package/dist/shared/validators/primitives.d.ts +46 -6
- package/dist/shared/validators/primitives.d.ts.map +1 -1
- package/dist/shared/validators/primitives.js +29 -9
- package/dist/shared/validators/primitives.js.map +1 -1
- package/dist/validator/ValidatorSigner.d.ts +13 -4
- package/dist/validator/ValidatorSigner.d.ts.map +1 -1
- package/dist/validator/ValidatorSigner.js +25 -7
- package/dist/validator/ValidatorSigner.js.map +1 -1
- package/dist/validator/eip712Types.js +1 -1
- package/dist/validator/eip712Types.js.map +1 -1
- package/package.json +8 -2
- package/dist/client/domains/ConfigsClient.d.ts +0 -18
- package/dist/client/domains/ConfigsClient.d.ts.map +0 -1
- package/dist/client/domains/ConfigsClient.js +0 -81
- package/dist/client/domains/ConfigsClient.js.map +0 -1
- package/dist/client/domains/TasksClient.d.ts +0 -11
- package/dist/client/domains/TasksClient.d.ts.map +0 -1
- package/dist/client/domains/TasksClient.js +0 -33
- package/dist/client/domains/TasksClient.js.map +0 -1
- package/dist/registry/ConfigSigner.d.ts +0 -25
- package/dist/registry/ConfigSigner.d.ts.map +0 -1
- package/dist/registry/ConfigSigner.js +0 -93
- package/dist/registry/ConfigSigner.js.map +0 -1
- package/dist/shared/types/events.d.ts +0 -4
- package/dist/shared/types/events.d.ts.map +0 -1
- package/dist/shared/types/events.js.map +0 -1
- package/dist/shared/validators/events.d.ts +0 -20
- package/dist/shared/validators/events.d.ts.map +0 -1
- package/dist/shared/validators/events.js +0 -17
- package/dist/shared/validators/events.js.map +0 -1
|
@@ -1,46 +1,77 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
|
|
2
|
+
export declare const SolverFeeValidator: z.ZodObject<{
|
|
3
|
+
address: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
4
|
+
amount: z.ZodEffects<z.ZodString, string, string>;
|
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
|
6
|
+
amount: string;
|
|
7
|
+
address: string;
|
|
8
|
+
}, {
|
|
9
|
+
amount: string;
|
|
10
|
+
address: string;
|
|
11
|
+
}>;
|
|
12
|
+
export declare const IntentLogValidator: z.ZodObject<{
|
|
13
|
+
level: z.ZodNativeEnum<{
|
|
14
|
+
readonly info: "info";
|
|
15
|
+
readonly success: "success";
|
|
16
|
+
readonly error: "error";
|
|
17
|
+
}>;
|
|
18
|
+
data: z.ZodString;
|
|
19
|
+
createdAt: z.ZodDate;
|
|
20
|
+
}, "strip", z.ZodTypeAny, {
|
|
21
|
+
data: string;
|
|
22
|
+
createdAt: Date;
|
|
23
|
+
level: "info" | "success" | "error";
|
|
24
|
+
}, {
|
|
25
|
+
data: string;
|
|
26
|
+
createdAt: Date;
|
|
27
|
+
level: "info" | "success" | "error";
|
|
28
|
+
}>;
|
|
3
29
|
export declare const AxiaProposalValidator: z.ZodObject<{
|
|
4
30
|
solver: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
5
|
-
|
|
31
|
+
datas: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">;
|
|
6
32
|
deadline: z.ZodEffects<z.ZodString, string, string>;
|
|
7
33
|
fees: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
8
|
-
feeUsd: z.
|
|
9
|
-
status: z.ZodNativeEnum<
|
|
34
|
+
feeUsd: z.ZodEffects<z.ZodString, string, string>;
|
|
35
|
+
status: z.ZodNativeEnum<{
|
|
36
|
+
readonly received: "received";
|
|
37
|
+
readonly discarded: "discarded";
|
|
38
|
+
readonly submitted: "submitted";
|
|
39
|
+
readonly succeeded: "succeeded";
|
|
40
|
+
readonly failed: "failed";
|
|
41
|
+
readonly expired: "expired";
|
|
42
|
+
}>;
|
|
10
43
|
description: z.ZodOptional<z.ZodString>;
|
|
11
44
|
signatures: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">;
|
|
12
45
|
transactionHash: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
13
46
|
destTransactionHash: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
14
47
|
}, "strip", z.ZodTypeAny, {
|
|
15
|
-
|
|
16
|
-
status: ProposalStatus;
|
|
48
|
+
status: "succeeded" | "failed" | "discarded" | "submitted" | "expired" | "received";
|
|
17
49
|
deadline: string;
|
|
18
50
|
solver: string;
|
|
51
|
+
datas: string[];
|
|
19
52
|
fees: string[];
|
|
20
|
-
feeUsd:
|
|
53
|
+
feeUsd: string;
|
|
21
54
|
signatures: string[];
|
|
22
55
|
description?: string | undefined;
|
|
23
56
|
transactionHash?: string | undefined;
|
|
24
57
|
destTransactionHash?: string | undefined;
|
|
25
58
|
}, {
|
|
26
|
-
|
|
27
|
-
status: ProposalStatus;
|
|
59
|
+
status: "succeeded" | "failed" | "discarded" | "submitted" | "expired" | "received";
|
|
28
60
|
deadline: string;
|
|
29
61
|
solver: string;
|
|
62
|
+
datas: string[];
|
|
30
63
|
fees: string[];
|
|
31
|
-
feeUsd:
|
|
64
|
+
feeUsd: string;
|
|
32
65
|
signatures: string[];
|
|
33
66
|
description?: string | undefined;
|
|
34
67
|
transactionHash?: string | undefined;
|
|
35
68
|
destTransactionHash?: string | undefined;
|
|
36
69
|
}>;
|
|
37
70
|
export declare const AxiaIntentValidator: z.ZodObject<z.objectUtil.extendShape<{
|
|
38
|
-
|
|
39
|
-
user: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
71
|
+
feePayer: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
40
72
|
settler: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
41
73
|
nonce: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
42
74
|
deadline: z.ZodEffects<z.ZodString, string, string>;
|
|
43
|
-
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
44
75
|
maxFees: z.ZodArray<z.ZodObject<{
|
|
45
76
|
token: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
46
77
|
amount: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -51,62 +82,119 @@ export declare const AxiaIntentValidator: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
51
82
|
token: string;
|
|
52
83
|
amount: string;
|
|
53
84
|
}>, "many">;
|
|
85
|
+
triggerSig: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
86
|
+
minValidations: z.ZodNumber;
|
|
87
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
88
|
+
opType: z.ZodNativeEnum<{
|
|
89
|
+
readonly Swap: 0;
|
|
90
|
+
readonly Transfer: 1;
|
|
91
|
+
readonly EvmCall: 2;
|
|
92
|
+
readonly CrossChainSwap: 3;
|
|
93
|
+
readonly EvmDynamicCall: 4;
|
|
94
|
+
readonly SvmCall: 5;
|
|
95
|
+
}>;
|
|
96
|
+
user: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
97
|
+
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
98
|
+
events: z.ZodArray<z.ZodObject<{
|
|
99
|
+
topic: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
100
|
+
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
101
|
+
}, "strip", z.ZodTypeAny, {
|
|
102
|
+
data: string;
|
|
103
|
+
topic: string;
|
|
104
|
+
}, {
|
|
105
|
+
data: string;
|
|
106
|
+
topic: string;
|
|
107
|
+
}>, "many">;
|
|
108
|
+
}, "strip", z.ZodTypeAny, {
|
|
109
|
+
opType: 0 | 1 | 2 | 3 | 4 | 5;
|
|
110
|
+
user: string;
|
|
111
|
+
data: string;
|
|
112
|
+
events: {
|
|
113
|
+
data: string;
|
|
114
|
+
topic: string;
|
|
115
|
+
}[];
|
|
116
|
+
}, {
|
|
117
|
+
opType: 0 | 1 | 2 | 3 | 4 | 5;
|
|
118
|
+
user: string;
|
|
119
|
+
data: string;
|
|
120
|
+
events: {
|
|
121
|
+
data: string;
|
|
122
|
+
topic: string;
|
|
123
|
+
}[];
|
|
124
|
+
}>, "many">;
|
|
54
125
|
}, {
|
|
55
126
|
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
56
127
|
executionHash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
57
|
-
status: z.ZodNativeEnum<
|
|
128
|
+
status: z.ZodNativeEnum<{
|
|
129
|
+
readonly created: "created";
|
|
130
|
+
readonly enqueued: "enqueued";
|
|
131
|
+
readonly discarded: "discarded";
|
|
132
|
+
readonly submitted: "submitted";
|
|
133
|
+
readonly succeeded: "succeeded";
|
|
134
|
+
readonly failed: "failed";
|
|
135
|
+
readonly expired: "expired";
|
|
136
|
+
}>;
|
|
58
137
|
proposals: z.ZodArray<z.ZodObject<{
|
|
59
138
|
solver: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
60
|
-
|
|
139
|
+
datas: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">;
|
|
61
140
|
deadline: z.ZodEffects<z.ZodString, string, string>;
|
|
62
141
|
fees: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
63
|
-
feeUsd: z.
|
|
64
|
-
status: z.ZodNativeEnum<
|
|
142
|
+
feeUsd: z.ZodEffects<z.ZodString, string, string>;
|
|
143
|
+
status: z.ZodNativeEnum<{
|
|
144
|
+
readonly received: "received";
|
|
145
|
+
readonly discarded: "discarded";
|
|
146
|
+
readonly submitted: "submitted";
|
|
147
|
+
readonly succeeded: "succeeded";
|
|
148
|
+
readonly failed: "failed";
|
|
149
|
+
readonly expired: "expired";
|
|
150
|
+
}>;
|
|
65
151
|
description: z.ZodOptional<z.ZodString>;
|
|
66
152
|
signatures: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">;
|
|
67
153
|
transactionHash: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
68
154
|
destTransactionHash: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
69
155
|
}, "strip", z.ZodTypeAny, {
|
|
70
|
-
|
|
71
|
-
status: ProposalStatus;
|
|
156
|
+
status: "succeeded" | "failed" | "discarded" | "submitted" | "expired" | "received";
|
|
72
157
|
deadline: string;
|
|
73
158
|
solver: string;
|
|
159
|
+
datas: string[];
|
|
74
160
|
fees: string[];
|
|
75
|
-
feeUsd:
|
|
161
|
+
feeUsd: string;
|
|
76
162
|
signatures: string[];
|
|
77
163
|
description?: string | undefined;
|
|
78
164
|
transactionHash?: string | undefined;
|
|
79
165
|
destTransactionHash?: string | undefined;
|
|
80
166
|
}, {
|
|
81
|
-
|
|
82
|
-
status: ProposalStatus;
|
|
167
|
+
status: "succeeded" | "failed" | "discarded" | "submitted" | "expired" | "received";
|
|
83
168
|
deadline: string;
|
|
84
169
|
solver: string;
|
|
170
|
+
datas: string[];
|
|
85
171
|
fees: string[];
|
|
86
|
-
feeUsd:
|
|
172
|
+
feeUsd: string;
|
|
87
173
|
signatures: string[];
|
|
88
174
|
description?: string | undefined;
|
|
89
175
|
transactionHash?: string | undefined;
|
|
90
176
|
destTransactionHash?: string | undefined;
|
|
91
177
|
}>, "many">;
|
|
92
|
-
|
|
93
|
-
level: z.ZodNativeEnum<
|
|
178
|
+
logs: z.ZodArray<z.ZodObject<{
|
|
179
|
+
level: z.ZodNativeEnum<{
|
|
180
|
+
readonly info: "info";
|
|
181
|
+
readonly success: "success";
|
|
182
|
+
readonly error: "error";
|
|
183
|
+
}>;
|
|
94
184
|
data: z.ZodString;
|
|
95
185
|
createdAt: z.ZodDate;
|
|
96
186
|
}, "strip", z.ZodTypeAny, {
|
|
97
187
|
data: string;
|
|
98
|
-
level: import("../shared").EventLevel;
|
|
99
188
|
createdAt: Date;
|
|
189
|
+
level: "info" | "success" | "error";
|
|
100
190
|
}, {
|
|
101
191
|
data: string;
|
|
102
|
-
level: import("../shared").EventLevel;
|
|
103
192
|
createdAt: Date;
|
|
193
|
+
level: "info" | "success" | "error";
|
|
104
194
|
}>, "many">;
|
|
105
195
|
}>, "strip", z.ZodTypeAny, {
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
op: import("../shared").OpType;
|
|
109
|
-
user: string;
|
|
196
|
+
status: "succeeded" | "failed" | "created" | "enqueued" | "discarded" | "submitted" | "expired";
|
|
197
|
+
feePayer: string;
|
|
110
198
|
settler: string;
|
|
111
199
|
nonce: string;
|
|
112
200
|
deadline: string;
|
|
@@ -114,30 +202,39 @@ export declare const AxiaIntentValidator: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
114
202
|
token: string;
|
|
115
203
|
amount: string;
|
|
116
204
|
}[];
|
|
205
|
+
triggerSig: string;
|
|
206
|
+
minValidations: number;
|
|
207
|
+
operations: {
|
|
208
|
+
opType: 0 | 1 | 2 | 3 | 4 | 5;
|
|
209
|
+
user: string;
|
|
210
|
+
data: string;
|
|
211
|
+
events: {
|
|
212
|
+
data: string;
|
|
213
|
+
topic: string;
|
|
214
|
+
}[];
|
|
215
|
+
}[];
|
|
117
216
|
hash: string;
|
|
118
217
|
executionHash: string;
|
|
119
218
|
proposals: {
|
|
120
|
-
|
|
121
|
-
status: ProposalStatus;
|
|
219
|
+
status: "succeeded" | "failed" | "discarded" | "submitted" | "expired" | "received";
|
|
122
220
|
deadline: string;
|
|
123
221
|
solver: string;
|
|
222
|
+
datas: string[];
|
|
124
223
|
fees: string[];
|
|
125
|
-
feeUsd:
|
|
224
|
+
feeUsd: string;
|
|
126
225
|
signatures: string[];
|
|
127
226
|
description?: string | undefined;
|
|
128
227
|
transactionHash?: string | undefined;
|
|
129
228
|
destTransactionHash?: string | undefined;
|
|
130
229
|
}[];
|
|
131
|
-
|
|
230
|
+
logs: {
|
|
132
231
|
data: string;
|
|
133
|
-
level: import("../shared").EventLevel;
|
|
134
232
|
createdAt: Date;
|
|
233
|
+
level: "info" | "success" | "error";
|
|
135
234
|
}[];
|
|
136
235
|
}, {
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
op: import("../shared").OpType;
|
|
140
|
-
user: string;
|
|
236
|
+
status: "succeeded" | "failed" | "created" | "enqueued" | "discarded" | "submitted" | "expired";
|
|
237
|
+
feePayer: string;
|
|
141
238
|
settler: string;
|
|
142
239
|
nonce: string;
|
|
143
240
|
deadline: string;
|
|
@@ -145,33 +242,42 @@ export declare const AxiaIntentValidator: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
145
242
|
token: string;
|
|
146
243
|
amount: string;
|
|
147
244
|
}[];
|
|
245
|
+
triggerSig: string;
|
|
246
|
+
minValidations: number;
|
|
247
|
+
operations: {
|
|
248
|
+
opType: 0 | 1 | 2 | 3 | 4 | 5;
|
|
249
|
+
user: string;
|
|
250
|
+
data: string;
|
|
251
|
+
events: {
|
|
252
|
+
data: string;
|
|
253
|
+
topic: string;
|
|
254
|
+
}[];
|
|
255
|
+
}[];
|
|
148
256
|
hash: string;
|
|
149
257
|
executionHash: string;
|
|
150
258
|
proposals: {
|
|
151
|
-
|
|
152
|
-
status: ProposalStatus;
|
|
259
|
+
status: "succeeded" | "failed" | "discarded" | "submitted" | "expired" | "received";
|
|
153
260
|
deadline: string;
|
|
154
261
|
solver: string;
|
|
262
|
+
datas: string[];
|
|
155
263
|
fees: string[];
|
|
156
|
-
feeUsd:
|
|
264
|
+
feeUsd: string;
|
|
157
265
|
signatures: string[];
|
|
158
266
|
description?: string | undefined;
|
|
159
267
|
transactionHash?: string | undefined;
|
|
160
268
|
destTransactionHash?: string | undefined;
|
|
161
269
|
}[];
|
|
162
|
-
|
|
270
|
+
logs: {
|
|
163
271
|
data: string;
|
|
164
|
-
level: import("../shared").EventLevel;
|
|
165
272
|
createdAt: Date;
|
|
273
|
+
level: "info" | "success" | "error";
|
|
166
274
|
}[];
|
|
167
275
|
}>;
|
|
168
|
-
export declare const IntentQuoteRequestValidator: z.ZodEffects<z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
|
|
169
|
-
|
|
170
|
-
user: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
276
|
+
export declare const IntentQuoteRequestValidator: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
277
|
+
feePayer: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
171
278
|
settler: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
172
279
|
nonce: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
173
280
|
deadline: z.ZodEffects<z.ZodString, string, string>;
|
|
174
|
-
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
175
281
|
maxFees: z.ZodArray<z.ZodObject<{
|
|
176
282
|
token: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
177
283
|
amount: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -182,12 +288,52 @@ export declare const IntentQuoteRequestValidator: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
182
288
|
token: string;
|
|
183
289
|
amount: string;
|
|
184
290
|
}>, "many">;
|
|
291
|
+
triggerSig: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
292
|
+
minValidations: z.ZodNumber;
|
|
293
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
294
|
+
opType: z.ZodNativeEnum<{
|
|
295
|
+
readonly Swap: 0;
|
|
296
|
+
readonly Transfer: 1;
|
|
297
|
+
readonly EvmCall: 2;
|
|
298
|
+
readonly CrossChainSwap: 3;
|
|
299
|
+
readonly EvmDynamicCall: 4;
|
|
300
|
+
readonly SvmCall: 5;
|
|
301
|
+
}>;
|
|
302
|
+
user: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
303
|
+
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
304
|
+
events: z.ZodArray<z.ZodObject<{
|
|
305
|
+
topic: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
306
|
+
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
307
|
+
}, "strip", z.ZodTypeAny, {
|
|
308
|
+
data: string;
|
|
309
|
+
topic: string;
|
|
310
|
+
}, {
|
|
311
|
+
data: string;
|
|
312
|
+
topic: string;
|
|
313
|
+
}>, "many">;
|
|
314
|
+
}, "strip", z.ZodTypeAny, {
|
|
315
|
+
opType: 0 | 1 | 2 | 3 | 4 | 5;
|
|
316
|
+
user: string;
|
|
317
|
+
data: string;
|
|
318
|
+
events: {
|
|
319
|
+
data: string;
|
|
320
|
+
topic: string;
|
|
321
|
+
}[];
|
|
322
|
+
}, {
|
|
323
|
+
opType: 0 | 1 | 2 | 3 | 4 | 5;
|
|
324
|
+
user: string;
|
|
325
|
+
data: string;
|
|
326
|
+
events: {
|
|
327
|
+
data: string;
|
|
328
|
+
topic: string;
|
|
329
|
+
}[];
|
|
330
|
+
}>, "many">;
|
|
185
331
|
}, {
|
|
332
|
+
validations: z.ZodArray<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">, "many">;
|
|
333
|
+
}>, {
|
|
186
334
|
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
187
335
|
}>, "strip", z.ZodTypeAny, {
|
|
188
|
-
|
|
189
|
-
op: import("../shared").OpType;
|
|
190
|
-
user: string;
|
|
336
|
+
feePayer: string;
|
|
191
337
|
settler: string;
|
|
192
338
|
nonce: string;
|
|
193
339
|
deadline: string;
|
|
@@ -195,11 +341,21 @@ export declare const IntentQuoteRequestValidator: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
195
341
|
token: string;
|
|
196
342
|
amount: string;
|
|
197
343
|
}[];
|
|
344
|
+
triggerSig: string;
|
|
345
|
+
minValidations: number;
|
|
346
|
+
operations: {
|
|
347
|
+
opType: 0 | 1 | 2 | 3 | 4 | 5;
|
|
348
|
+
user: string;
|
|
349
|
+
data: string;
|
|
350
|
+
events: {
|
|
351
|
+
data: string;
|
|
352
|
+
topic: string;
|
|
353
|
+
}[];
|
|
354
|
+
}[];
|
|
198
355
|
hash: string;
|
|
356
|
+
validations: string[][];
|
|
199
357
|
}, {
|
|
200
|
-
|
|
201
|
-
op: import("../shared").OpType;
|
|
202
|
-
user: string;
|
|
358
|
+
feePayer: string;
|
|
203
359
|
settler: string;
|
|
204
360
|
nonce: string;
|
|
205
361
|
deadline: string;
|
|
@@ -207,11 +363,21 @@ export declare const IntentQuoteRequestValidator: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
207
363
|
token: string;
|
|
208
364
|
amount: string;
|
|
209
365
|
}[];
|
|
366
|
+
triggerSig: string;
|
|
367
|
+
minValidations: number;
|
|
368
|
+
operations: {
|
|
369
|
+
opType: 0 | 1 | 2 | 3 | 4 | 5;
|
|
370
|
+
user: string;
|
|
371
|
+
data: string;
|
|
372
|
+
events: {
|
|
373
|
+
data: string;
|
|
374
|
+
topic: string;
|
|
375
|
+
}[];
|
|
376
|
+
}[];
|
|
210
377
|
hash: string;
|
|
378
|
+
validations: string[][];
|
|
211
379
|
}>, {
|
|
212
|
-
|
|
213
|
-
op: import("../shared").OpType;
|
|
214
|
-
user: string;
|
|
380
|
+
feePayer: string;
|
|
215
381
|
settler: string;
|
|
216
382
|
nonce: string;
|
|
217
383
|
deadline: string;
|
|
@@ -219,11 +385,21 @@ export declare const IntentQuoteRequestValidator: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
219
385
|
token: string;
|
|
220
386
|
amount: string;
|
|
221
387
|
}[];
|
|
388
|
+
triggerSig: string;
|
|
389
|
+
minValidations: number;
|
|
390
|
+
operations: {
|
|
391
|
+
opType: 0 | 1 | 2 | 3 | 4 | 5;
|
|
392
|
+
user: string;
|
|
393
|
+
data: string;
|
|
394
|
+
events: {
|
|
395
|
+
data: string;
|
|
396
|
+
topic: string;
|
|
397
|
+
}[];
|
|
398
|
+
}[];
|
|
222
399
|
hash: string;
|
|
400
|
+
validations: string[][];
|
|
223
401
|
}, {
|
|
224
|
-
|
|
225
|
-
op: import("../shared").OpType;
|
|
226
|
-
user: string;
|
|
402
|
+
feePayer: string;
|
|
227
403
|
settler: string;
|
|
228
404
|
nonce: string;
|
|
229
405
|
deadline: string;
|
|
@@ -231,11 +407,21 @@ export declare const IntentQuoteRequestValidator: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
231
407
|
token: string;
|
|
232
408
|
amount: string;
|
|
233
409
|
}[];
|
|
410
|
+
triggerSig: string;
|
|
411
|
+
minValidations: number;
|
|
412
|
+
operations: {
|
|
413
|
+
opType: 0 | 1 | 2 | 3 | 4 | 5;
|
|
414
|
+
user: string;
|
|
415
|
+
data: string;
|
|
416
|
+
events: {
|
|
417
|
+
data: string;
|
|
418
|
+
topic: string;
|
|
419
|
+
}[];
|
|
420
|
+
}[];
|
|
234
421
|
hash: string;
|
|
422
|
+
validations: string[][];
|
|
235
423
|
}>, {
|
|
236
|
-
|
|
237
|
-
op: import("../shared").OpType;
|
|
238
|
-
user: string;
|
|
424
|
+
feePayer: string;
|
|
239
425
|
settler: string;
|
|
240
426
|
nonce: string;
|
|
241
427
|
deadline: string;
|
|
@@ -243,11 +429,65 @@ export declare const IntentQuoteRequestValidator: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
243
429
|
token: string;
|
|
244
430
|
amount: string;
|
|
245
431
|
}[];
|
|
432
|
+
triggerSig: string;
|
|
433
|
+
minValidations: number;
|
|
434
|
+
operations: {
|
|
435
|
+
opType: 0 | 1 | 2 | 3 | 4 | 5;
|
|
436
|
+
user: string;
|
|
437
|
+
data: string;
|
|
438
|
+
events: {
|
|
439
|
+
data: string;
|
|
440
|
+
topic: string;
|
|
441
|
+
}[];
|
|
442
|
+
}[];
|
|
246
443
|
hash: string;
|
|
444
|
+
validations: string[][];
|
|
247
445
|
}, {
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
446
|
+
feePayer: string;
|
|
447
|
+
settler: string;
|
|
448
|
+
nonce: string;
|
|
449
|
+
deadline: string;
|
|
450
|
+
maxFees: {
|
|
451
|
+
token: string;
|
|
452
|
+
amount: string;
|
|
453
|
+
}[];
|
|
454
|
+
triggerSig: string;
|
|
455
|
+
minValidations: number;
|
|
456
|
+
operations: {
|
|
457
|
+
opType: 0 | 1 | 2 | 3 | 4 | 5;
|
|
458
|
+
user: string;
|
|
459
|
+
data: string;
|
|
460
|
+
events: {
|
|
461
|
+
data: string;
|
|
462
|
+
topic: string;
|
|
463
|
+
}[];
|
|
464
|
+
}[];
|
|
465
|
+
hash: string;
|
|
466
|
+
validations: string[][];
|
|
467
|
+
}>, {
|
|
468
|
+
feePayer: string;
|
|
469
|
+
settler: string;
|
|
470
|
+
nonce: string;
|
|
471
|
+
deadline: string;
|
|
472
|
+
maxFees: {
|
|
473
|
+
token: string;
|
|
474
|
+
amount: string;
|
|
475
|
+
}[];
|
|
476
|
+
triggerSig: string;
|
|
477
|
+
minValidations: number;
|
|
478
|
+
operations: {
|
|
479
|
+
opType: 0 | 1 | 2 | 3 | 4 | 5;
|
|
480
|
+
user: string;
|
|
481
|
+
data: string;
|
|
482
|
+
events: {
|
|
483
|
+
data: string;
|
|
484
|
+
topic: string;
|
|
485
|
+
}[];
|
|
486
|
+
}[];
|
|
487
|
+
hash: string;
|
|
488
|
+
validations: string[][];
|
|
489
|
+
}, {
|
|
490
|
+
feePayer: string;
|
|
251
491
|
settler: string;
|
|
252
492
|
nonce: string;
|
|
253
493
|
deadline: string;
|
|
@@ -255,16 +495,28 @@ export declare const IntentQuoteRequestValidator: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
255
495
|
token: string;
|
|
256
496
|
amount: string;
|
|
257
497
|
}[];
|
|
498
|
+
triggerSig: string;
|
|
499
|
+
minValidations: number;
|
|
500
|
+
operations: {
|
|
501
|
+
opType: 0 | 1 | 2 | 3 | 4 | 5;
|
|
502
|
+
user: string;
|
|
503
|
+
data: string;
|
|
504
|
+
events: {
|
|
505
|
+
data: string;
|
|
506
|
+
topic: string;
|
|
507
|
+
}[];
|
|
508
|
+
}[];
|
|
258
509
|
hash: string;
|
|
510
|
+
validations: string[][];
|
|
259
511
|
}>;
|
|
260
512
|
export declare const IntentQuoteValidator: z.ZodObject<{
|
|
261
|
-
|
|
513
|
+
datas: z.ZodArray<z.ZodString, "many">;
|
|
262
514
|
fees: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
263
515
|
}, "strip", z.ZodTypeAny, {
|
|
264
|
-
|
|
516
|
+
datas: string[];
|
|
265
517
|
fees: string[];
|
|
266
518
|
}, {
|
|
267
|
-
|
|
519
|
+
datas: string[];
|
|
268
520
|
fees: string[];
|
|
269
521
|
}>;
|
|
270
522
|
export declare const IntentSubmitRequestValidator: z.ZodObject<{
|
|
@@ -288,34 +540,32 @@ export declare const IntentSubmitValidator: z.ZodObject<{
|
|
|
288
540
|
received: boolean;
|
|
289
541
|
}>;
|
|
290
542
|
export declare const IntentsGetRequestValidator: z.ZodObject<{
|
|
291
|
-
|
|
543
|
+
feePayer: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
292
544
|
deadlineAfter: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
293
545
|
deadlineBefore: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
294
546
|
settler: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
295
547
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
296
548
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
297
549
|
}, "strip", z.ZodTypeAny, {
|
|
298
|
-
|
|
550
|
+
feePayer?: string | undefined;
|
|
299
551
|
settler?: string | undefined;
|
|
300
|
-
deadlineAfter?: string | undefined;
|
|
301
|
-
deadlineBefore?: string | undefined;
|
|
302
552
|
offset?: number | undefined;
|
|
303
553
|
limit?: number | undefined;
|
|
304
|
-
}, {
|
|
305
|
-
user?: string | undefined;
|
|
306
|
-
settler?: string | undefined;
|
|
307
554
|
deadlineAfter?: string | undefined;
|
|
308
555
|
deadlineBefore?: string | undefined;
|
|
556
|
+
}, {
|
|
557
|
+
feePayer?: string | undefined;
|
|
558
|
+
settler?: string | undefined;
|
|
309
559
|
offset?: number | undefined;
|
|
310
560
|
limit?: number | undefined;
|
|
561
|
+
deadlineAfter?: string | undefined;
|
|
562
|
+
deadlineBefore?: string | undefined;
|
|
311
563
|
}>;
|
|
312
564
|
export declare const AxiaIntentsValidator: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
313
|
-
|
|
314
|
-
user: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
565
|
+
feePayer: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
315
566
|
settler: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
316
567
|
nonce: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
317
568
|
deadline: z.ZodEffects<z.ZodString, string, string>;
|
|
318
|
-
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
319
569
|
maxFees: z.ZodArray<z.ZodObject<{
|
|
320
570
|
token: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
321
571
|
amount: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -326,62 +576,119 @@ export declare const AxiaIntentsValidator: z.ZodArray<z.ZodObject<z.objectUtil.e
|
|
|
326
576
|
token: string;
|
|
327
577
|
amount: string;
|
|
328
578
|
}>, "many">;
|
|
579
|
+
triggerSig: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
580
|
+
minValidations: z.ZodNumber;
|
|
581
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
582
|
+
opType: z.ZodNativeEnum<{
|
|
583
|
+
readonly Swap: 0;
|
|
584
|
+
readonly Transfer: 1;
|
|
585
|
+
readonly EvmCall: 2;
|
|
586
|
+
readonly CrossChainSwap: 3;
|
|
587
|
+
readonly EvmDynamicCall: 4;
|
|
588
|
+
readonly SvmCall: 5;
|
|
589
|
+
}>;
|
|
590
|
+
user: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
591
|
+
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
592
|
+
events: z.ZodArray<z.ZodObject<{
|
|
593
|
+
topic: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
594
|
+
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
595
|
+
}, "strip", z.ZodTypeAny, {
|
|
596
|
+
data: string;
|
|
597
|
+
topic: string;
|
|
598
|
+
}, {
|
|
599
|
+
data: string;
|
|
600
|
+
topic: string;
|
|
601
|
+
}>, "many">;
|
|
602
|
+
}, "strip", z.ZodTypeAny, {
|
|
603
|
+
opType: 0 | 1 | 2 | 3 | 4 | 5;
|
|
604
|
+
user: string;
|
|
605
|
+
data: string;
|
|
606
|
+
events: {
|
|
607
|
+
data: string;
|
|
608
|
+
topic: string;
|
|
609
|
+
}[];
|
|
610
|
+
}, {
|
|
611
|
+
opType: 0 | 1 | 2 | 3 | 4 | 5;
|
|
612
|
+
user: string;
|
|
613
|
+
data: string;
|
|
614
|
+
events: {
|
|
615
|
+
data: string;
|
|
616
|
+
topic: string;
|
|
617
|
+
}[];
|
|
618
|
+
}>, "many">;
|
|
329
619
|
}, {
|
|
330
620
|
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
331
621
|
executionHash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
332
|
-
status: z.ZodNativeEnum<
|
|
622
|
+
status: z.ZodNativeEnum<{
|
|
623
|
+
readonly created: "created";
|
|
624
|
+
readonly enqueued: "enqueued";
|
|
625
|
+
readonly discarded: "discarded";
|
|
626
|
+
readonly submitted: "submitted";
|
|
627
|
+
readonly succeeded: "succeeded";
|
|
628
|
+
readonly failed: "failed";
|
|
629
|
+
readonly expired: "expired";
|
|
630
|
+
}>;
|
|
333
631
|
proposals: z.ZodArray<z.ZodObject<{
|
|
334
632
|
solver: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
335
|
-
|
|
633
|
+
datas: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">;
|
|
336
634
|
deadline: z.ZodEffects<z.ZodString, string, string>;
|
|
337
635
|
fees: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
338
|
-
feeUsd: z.
|
|
339
|
-
status: z.ZodNativeEnum<
|
|
636
|
+
feeUsd: z.ZodEffects<z.ZodString, string, string>;
|
|
637
|
+
status: z.ZodNativeEnum<{
|
|
638
|
+
readonly received: "received";
|
|
639
|
+
readonly discarded: "discarded";
|
|
640
|
+
readonly submitted: "submitted";
|
|
641
|
+
readonly succeeded: "succeeded";
|
|
642
|
+
readonly failed: "failed";
|
|
643
|
+
readonly expired: "expired";
|
|
644
|
+
}>;
|
|
340
645
|
description: z.ZodOptional<z.ZodString>;
|
|
341
646
|
signatures: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">;
|
|
342
647
|
transactionHash: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
343
648
|
destTransactionHash: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
344
649
|
}, "strip", z.ZodTypeAny, {
|
|
345
|
-
|
|
346
|
-
status: ProposalStatus;
|
|
650
|
+
status: "succeeded" | "failed" | "discarded" | "submitted" | "expired" | "received";
|
|
347
651
|
deadline: string;
|
|
348
652
|
solver: string;
|
|
653
|
+
datas: string[];
|
|
349
654
|
fees: string[];
|
|
350
|
-
feeUsd:
|
|
655
|
+
feeUsd: string;
|
|
351
656
|
signatures: string[];
|
|
352
657
|
description?: string | undefined;
|
|
353
658
|
transactionHash?: string | undefined;
|
|
354
659
|
destTransactionHash?: string | undefined;
|
|
355
660
|
}, {
|
|
356
|
-
|
|
357
|
-
status: ProposalStatus;
|
|
661
|
+
status: "succeeded" | "failed" | "discarded" | "submitted" | "expired" | "received";
|
|
358
662
|
deadline: string;
|
|
359
663
|
solver: string;
|
|
664
|
+
datas: string[];
|
|
360
665
|
fees: string[];
|
|
361
|
-
feeUsd:
|
|
666
|
+
feeUsd: string;
|
|
362
667
|
signatures: string[];
|
|
363
668
|
description?: string | undefined;
|
|
364
669
|
transactionHash?: string | undefined;
|
|
365
670
|
destTransactionHash?: string | undefined;
|
|
366
671
|
}>, "many">;
|
|
367
|
-
|
|
368
|
-
level: z.ZodNativeEnum<
|
|
672
|
+
logs: z.ZodArray<z.ZodObject<{
|
|
673
|
+
level: z.ZodNativeEnum<{
|
|
674
|
+
readonly info: "info";
|
|
675
|
+
readonly success: "success";
|
|
676
|
+
readonly error: "error";
|
|
677
|
+
}>;
|
|
369
678
|
data: z.ZodString;
|
|
370
679
|
createdAt: z.ZodDate;
|
|
371
680
|
}, "strip", z.ZodTypeAny, {
|
|
372
681
|
data: string;
|
|
373
|
-
level: import("../shared").EventLevel;
|
|
374
682
|
createdAt: Date;
|
|
683
|
+
level: "info" | "success" | "error";
|
|
375
684
|
}, {
|
|
376
685
|
data: string;
|
|
377
|
-
level: import("../shared").EventLevel;
|
|
378
686
|
createdAt: Date;
|
|
687
|
+
level: "info" | "success" | "error";
|
|
379
688
|
}>, "many">;
|
|
380
689
|
}>, "strip", z.ZodTypeAny, {
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
op: import("../shared").OpType;
|
|
384
|
-
user: string;
|
|
690
|
+
status: "succeeded" | "failed" | "created" | "enqueued" | "discarded" | "submitted" | "expired";
|
|
691
|
+
feePayer: string;
|
|
385
692
|
settler: string;
|
|
386
693
|
nonce: string;
|
|
387
694
|
deadline: string;
|
|
@@ -389,30 +696,39 @@ export declare const AxiaIntentsValidator: z.ZodArray<z.ZodObject<z.objectUtil.e
|
|
|
389
696
|
token: string;
|
|
390
697
|
amount: string;
|
|
391
698
|
}[];
|
|
699
|
+
triggerSig: string;
|
|
700
|
+
minValidations: number;
|
|
701
|
+
operations: {
|
|
702
|
+
opType: 0 | 1 | 2 | 3 | 4 | 5;
|
|
703
|
+
user: string;
|
|
704
|
+
data: string;
|
|
705
|
+
events: {
|
|
706
|
+
data: string;
|
|
707
|
+
topic: string;
|
|
708
|
+
}[];
|
|
709
|
+
}[];
|
|
392
710
|
hash: string;
|
|
393
711
|
executionHash: string;
|
|
394
712
|
proposals: {
|
|
395
|
-
|
|
396
|
-
status: ProposalStatus;
|
|
713
|
+
status: "succeeded" | "failed" | "discarded" | "submitted" | "expired" | "received";
|
|
397
714
|
deadline: string;
|
|
398
715
|
solver: string;
|
|
716
|
+
datas: string[];
|
|
399
717
|
fees: string[];
|
|
400
|
-
feeUsd:
|
|
718
|
+
feeUsd: string;
|
|
401
719
|
signatures: string[];
|
|
402
720
|
description?: string | undefined;
|
|
403
721
|
transactionHash?: string | undefined;
|
|
404
722
|
destTransactionHash?: string | undefined;
|
|
405
723
|
}[];
|
|
406
|
-
|
|
724
|
+
logs: {
|
|
407
725
|
data: string;
|
|
408
|
-
level: import("../shared").EventLevel;
|
|
409
726
|
createdAt: Date;
|
|
727
|
+
level: "info" | "success" | "error";
|
|
410
728
|
}[];
|
|
411
729
|
}, {
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
op: import("../shared").OpType;
|
|
415
|
-
user: string;
|
|
730
|
+
status: "succeeded" | "failed" | "created" | "enqueued" | "discarded" | "submitted" | "expired";
|
|
731
|
+
feePayer: string;
|
|
416
732
|
settler: string;
|
|
417
733
|
nonce: string;
|
|
418
734
|
deadline: string;
|
|
@@ -420,24 +736,35 @@ export declare const AxiaIntentsValidator: z.ZodArray<z.ZodObject<z.objectUtil.e
|
|
|
420
736
|
token: string;
|
|
421
737
|
amount: string;
|
|
422
738
|
}[];
|
|
739
|
+
triggerSig: string;
|
|
740
|
+
minValidations: number;
|
|
741
|
+
operations: {
|
|
742
|
+
opType: 0 | 1 | 2 | 3 | 4 | 5;
|
|
743
|
+
user: string;
|
|
744
|
+
data: string;
|
|
745
|
+
events: {
|
|
746
|
+
data: string;
|
|
747
|
+
topic: string;
|
|
748
|
+
}[];
|
|
749
|
+
}[];
|
|
423
750
|
hash: string;
|
|
424
751
|
executionHash: string;
|
|
425
752
|
proposals: {
|
|
426
|
-
|
|
427
|
-
status: ProposalStatus;
|
|
753
|
+
status: "succeeded" | "failed" | "discarded" | "submitted" | "expired" | "received";
|
|
428
754
|
deadline: string;
|
|
429
755
|
solver: string;
|
|
756
|
+
datas: string[];
|
|
430
757
|
fees: string[];
|
|
431
|
-
feeUsd:
|
|
758
|
+
feeUsd: string;
|
|
432
759
|
signatures: string[];
|
|
433
760
|
description?: string | undefined;
|
|
434
761
|
transactionHash?: string | undefined;
|
|
435
762
|
destTransactionHash?: string | undefined;
|
|
436
763
|
}[];
|
|
437
|
-
|
|
764
|
+
logs: {
|
|
438
765
|
data: string;
|
|
439
|
-
level: import("../shared").EventLevel;
|
|
440
766
|
createdAt: Date;
|
|
767
|
+
level: "info" | "success" | "error";
|
|
441
768
|
}[];
|
|
442
769
|
}>, "many">;
|
|
443
770
|
export declare const SettlerValidator: z.ZodObject<{
|
|
@@ -445,12 +772,12 @@ export declare const SettlerValidator: z.ZodObject<{
|
|
|
445
772
|
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
446
773
|
createdAt: z.ZodDate;
|
|
447
774
|
}, "strip", z.ZodTypeAny, {
|
|
448
|
-
chainId: number;
|
|
449
775
|
address: string;
|
|
776
|
+
chainId: number;
|
|
450
777
|
createdAt: Date;
|
|
451
778
|
}, {
|
|
452
|
-
chainId: number;
|
|
453
779
|
address: string;
|
|
780
|
+
chainId: number;
|
|
454
781
|
createdAt: Date;
|
|
455
782
|
}>;
|
|
456
783
|
export declare const SettlersValidator: z.ZodArray<z.ZodObject<{
|
|
@@ -458,21 +785,19 @@ export declare const SettlersValidator: z.ZodArray<z.ZodObject<{
|
|
|
458
785
|
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
459
786
|
createdAt: z.ZodDate;
|
|
460
787
|
}, "strip", z.ZodTypeAny, {
|
|
461
|
-
chainId: number;
|
|
462
788
|
address: string;
|
|
789
|
+
chainId: number;
|
|
463
790
|
createdAt: Date;
|
|
464
791
|
}, {
|
|
465
|
-
chainId: number;
|
|
466
792
|
address: string;
|
|
793
|
+
chainId: number;
|
|
467
794
|
createdAt: Date;
|
|
468
795
|
}>, "many">;
|
|
469
796
|
export declare const ExecutionIntentValidator: z.ZodObject<z.objectUtil.extendShape<{
|
|
470
|
-
|
|
471
|
-
user: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
797
|
+
feePayer: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
472
798
|
settler: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
473
799
|
nonce: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
474
800
|
deadline: z.ZodEffects<z.ZodString, string, string>;
|
|
475
|
-
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
476
801
|
maxFees: z.ZodArray<z.ZodObject<{
|
|
477
802
|
token: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
478
803
|
amount: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -483,12 +808,50 @@ export declare const ExecutionIntentValidator: z.ZodObject<z.objectUtil.extendSh
|
|
|
483
808
|
token: string;
|
|
484
809
|
amount: string;
|
|
485
810
|
}>, "many">;
|
|
811
|
+
triggerSig: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
812
|
+
minValidations: z.ZodNumber;
|
|
813
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
814
|
+
opType: z.ZodNativeEnum<{
|
|
815
|
+
readonly Swap: 0;
|
|
816
|
+
readonly Transfer: 1;
|
|
817
|
+
readonly EvmCall: 2;
|
|
818
|
+
readonly CrossChainSwap: 3;
|
|
819
|
+
readonly EvmDynamicCall: 4;
|
|
820
|
+
readonly SvmCall: 5;
|
|
821
|
+
}>;
|
|
822
|
+
user: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
823
|
+
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
824
|
+
events: z.ZodArray<z.ZodObject<{
|
|
825
|
+
topic: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
826
|
+
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
827
|
+
}, "strip", z.ZodTypeAny, {
|
|
828
|
+
data: string;
|
|
829
|
+
topic: string;
|
|
830
|
+
}, {
|
|
831
|
+
data: string;
|
|
832
|
+
topic: string;
|
|
833
|
+
}>, "many">;
|
|
834
|
+
}, "strip", z.ZodTypeAny, {
|
|
835
|
+
opType: 0 | 1 | 2 | 3 | 4 | 5;
|
|
836
|
+
user: string;
|
|
837
|
+
data: string;
|
|
838
|
+
events: {
|
|
839
|
+
data: string;
|
|
840
|
+
topic: string;
|
|
841
|
+
}[];
|
|
842
|
+
}, {
|
|
843
|
+
opType: 0 | 1 | 2 | 3 | 4 | 5;
|
|
844
|
+
user: string;
|
|
845
|
+
data: string;
|
|
846
|
+
events: {
|
|
847
|
+
data: string;
|
|
848
|
+
topic: string;
|
|
849
|
+
}[];
|
|
850
|
+
}>, "many">;
|
|
486
851
|
}, {
|
|
487
852
|
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
488
853
|
}>, "strip", z.ZodTypeAny, {
|
|
489
|
-
|
|
490
|
-
op: import("../shared").OpType;
|
|
491
|
-
user: string;
|
|
854
|
+
feePayer: string;
|
|
492
855
|
settler: string;
|
|
493
856
|
nonce: string;
|
|
494
857
|
deadline: string;
|
|
@@ -496,11 +859,20 @@ export declare const ExecutionIntentValidator: z.ZodObject<z.objectUtil.extendSh
|
|
|
496
859
|
token: string;
|
|
497
860
|
amount: string;
|
|
498
861
|
}[];
|
|
862
|
+
triggerSig: string;
|
|
863
|
+
minValidations: number;
|
|
864
|
+
operations: {
|
|
865
|
+
opType: 0 | 1 | 2 | 3 | 4 | 5;
|
|
866
|
+
user: string;
|
|
867
|
+
data: string;
|
|
868
|
+
events: {
|
|
869
|
+
data: string;
|
|
870
|
+
topic: string;
|
|
871
|
+
}[];
|
|
872
|
+
}[];
|
|
499
873
|
hash: string;
|
|
500
874
|
}, {
|
|
501
|
-
|
|
502
|
-
op: import("../shared").OpType;
|
|
503
|
-
user: string;
|
|
875
|
+
feePayer: string;
|
|
504
876
|
settler: string;
|
|
505
877
|
nonce: string;
|
|
506
878
|
deadline: string;
|
|
@@ -508,48 +880,57 @@ export declare const ExecutionIntentValidator: z.ZodObject<z.objectUtil.extendSh
|
|
|
508
880
|
token: string;
|
|
509
881
|
amount: string;
|
|
510
882
|
}[];
|
|
883
|
+
triggerSig: string;
|
|
884
|
+
minValidations: number;
|
|
885
|
+
operations: {
|
|
886
|
+
opType: 0 | 1 | 2 | 3 | 4 | 5;
|
|
887
|
+
user: string;
|
|
888
|
+
data: string;
|
|
889
|
+
events: {
|
|
890
|
+
data: string;
|
|
891
|
+
topic: string;
|
|
892
|
+
}[];
|
|
893
|
+
}[];
|
|
511
894
|
hash: string;
|
|
512
895
|
}>;
|
|
513
896
|
export declare const ExecutionsGetRequestValidator: z.ZodObject<{
|
|
514
897
|
createdAfter: z.ZodOptional<z.ZodNumber>;
|
|
515
898
|
createdBefore: z.ZodOptional<z.ZodNumber>;
|
|
516
|
-
|
|
899
|
+
triggerSig: z.ZodOptional<z.ZodString>;
|
|
517
900
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
518
901
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
519
|
-
sort: z.ZodOptional<z.ZodEffects<z.ZodNativeEnum<
|
|
902
|
+
sort: z.ZodOptional<z.ZodEffects<z.ZodNativeEnum<{
|
|
903
|
+
readonly asc: 1;
|
|
904
|
+
readonly desc: -1;
|
|
905
|
+
}>, 1 | -1, unknown>>;
|
|
520
906
|
}, "strip", z.ZodTypeAny, {
|
|
521
|
-
sort?:
|
|
522
|
-
|
|
907
|
+
sort?: 1 | -1 | undefined;
|
|
908
|
+
triggerSig?: string | undefined;
|
|
523
909
|
offset?: number | undefined;
|
|
524
910
|
limit?: number | undefined;
|
|
525
911
|
createdAfter?: number | undefined;
|
|
526
912
|
createdBefore?: number | undefined;
|
|
527
913
|
}, {
|
|
528
914
|
sort?: unknown;
|
|
529
|
-
|
|
915
|
+
triggerSig?: string | undefined;
|
|
530
916
|
offset?: number | undefined;
|
|
531
917
|
limit?: number | undefined;
|
|
532
918
|
createdAfter?: number | undefined;
|
|
533
919
|
createdBefore?: number | undefined;
|
|
534
920
|
}>;
|
|
535
921
|
export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.extendShape<{
|
|
536
|
-
|
|
537
|
-
triggerType: z.ZodNativeEnum<
|
|
922
|
+
triggerSig: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
923
|
+
triggerType: z.ZodNativeEnum<{
|
|
924
|
+
readonly Cron: 0;
|
|
925
|
+
readonly Event: 1;
|
|
926
|
+
readonly Once: 2;
|
|
927
|
+
}>;
|
|
538
928
|
triggerData: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
539
929
|
}, {
|
|
540
930
|
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
541
931
|
timestamp: z.ZodNumber;
|
|
542
932
|
fuelUsed: z.ZodNumber;
|
|
543
|
-
logs: z.ZodArray<z.
|
|
544
|
-
level: z.ZodNativeEnum<typeof import("../shared").LogLevel>;
|
|
545
|
-
log: z.ZodString;
|
|
546
|
-
}, "strip", z.ZodTypeAny, {
|
|
547
|
-
level: import("../shared").LogLevel;
|
|
548
|
-
log: string;
|
|
549
|
-
}, {
|
|
550
|
-
level: import("../shared").LogLevel;
|
|
551
|
-
log: string;
|
|
552
|
-
}>, "many">;
|
|
933
|
+
logs: z.ZodArray<z.ZodString, "many">;
|
|
553
934
|
inputs: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
554
935
|
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
555
936
|
query: z.ZodObject<{
|
|
@@ -558,36 +939,36 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
|
|
|
558
939
|
params: z.ZodObject<{
|
|
559
940
|
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
560
941
|
timestamp: z.ZodEffects<z.ZodNumber, number, number>;
|
|
561
|
-
to: z.ZodEffects<z.
|
|
942
|
+
to: z.ZodEffects<z.ZodString, string, string>;
|
|
562
943
|
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
563
944
|
}, "strip", z.ZodTypeAny, {
|
|
945
|
+
data: string;
|
|
564
946
|
chainId: number;
|
|
565
947
|
to: string;
|
|
566
|
-
data: string;
|
|
567
948
|
timestamp: number;
|
|
568
949
|
}, {
|
|
950
|
+
data: string;
|
|
569
951
|
chainId: number;
|
|
570
952
|
to: string;
|
|
571
|
-
data: string;
|
|
572
953
|
timestamp: number;
|
|
573
954
|
}>;
|
|
574
955
|
}, "strip", z.ZodTypeAny, {
|
|
956
|
+
name: "EvmCallQuery";
|
|
575
957
|
params: {
|
|
958
|
+
data: string;
|
|
576
959
|
chainId: number;
|
|
577
960
|
to: string;
|
|
578
|
-
data: string;
|
|
579
961
|
timestamp: number;
|
|
580
962
|
};
|
|
581
|
-
name: "EvmCallQuery";
|
|
582
963
|
hash: string;
|
|
583
964
|
}, {
|
|
965
|
+
name: "EvmCallQuery";
|
|
584
966
|
params: {
|
|
967
|
+
data: string;
|
|
585
968
|
chainId: number;
|
|
586
969
|
to: string;
|
|
587
|
-
data: string;
|
|
588
970
|
timestamp: number;
|
|
589
971
|
};
|
|
590
|
-
name: "EvmCallQuery";
|
|
591
972
|
hash: string;
|
|
592
973
|
}>;
|
|
593
974
|
result: z.ZodObject<{
|
|
@@ -601,32 +982,32 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
|
|
|
601
982
|
result: {
|
|
602
983
|
value: string;
|
|
603
984
|
};
|
|
604
|
-
signature: string;
|
|
605
985
|
query: {
|
|
986
|
+
name: "EvmCallQuery";
|
|
606
987
|
params: {
|
|
988
|
+
data: string;
|
|
607
989
|
chainId: number;
|
|
608
990
|
to: string;
|
|
609
|
-
data: string;
|
|
610
991
|
timestamp: number;
|
|
611
992
|
};
|
|
612
|
-
name: "EvmCallQuery";
|
|
613
993
|
hash: string;
|
|
614
994
|
};
|
|
995
|
+
signature: string;
|
|
615
996
|
}, {
|
|
616
997
|
result: {
|
|
617
998
|
value: string;
|
|
618
999
|
};
|
|
619
|
-
signature: string;
|
|
620
1000
|
query: {
|
|
1001
|
+
name: "EvmCallQuery";
|
|
621
1002
|
params: {
|
|
1003
|
+
data: string;
|
|
622
1004
|
chainId: number;
|
|
623
1005
|
to: string;
|
|
624
|
-
data: string;
|
|
625
1006
|
timestamp: number;
|
|
626
1007
|
};
|
|
627
|
-
name: "EvmCallQuery";
|
|
628
1008
|
hash: string;
|
|
629
1009
|
};
|
|
1010
|
+
signature: string;
|
|
630
1011
|
}>, z.ZodObject<{
|
|
631
1012
|
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
632
1013
|
query: z.ZodObject<{
|
|
@@ -638,44 +1019,44 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
|
|
|
638
1019
|
address: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
639
1020
|
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
640
1021
|
}, "strip", z.ZodTypeAny, {
|
|
641
|
-
chainId: number;
|
|
642
1022
|
address: string;
|
|
643
|
-
}, {
|
|
644
1023
|
chainId: number;
|
|
1024
|
+
}, {
|
|
645
1025
|
address: string;
|
|
1026
|
+
chainId: number;
|
|
646
1027
|
}>;
|
|
647
1028
|
}, "strip", z.ZodTypeAny, {
|
|
648
|
-
timestamp: number;
|
|
649
1029
|
token: {
|
|
650
|
-
chainId: number;
|
|
651
1030
|
address: string;
|
|
1031
|
+
chainId: number;
|
|
652
1032
|
};
|
|
653
|
-
}, {
|
|
654
1033
|
timestamp: number;
|
|
1034
|
+
}, {
|
|
655
1035
|
token: {
|
|
656
|
-
chainId: number;
|
|
657
1036
|
address: string;
|
|
1037
|
+
chainId: number;
|
|
658
1038
|
};
|
|
1039
|
+
timestamp: number;
|
|
659
1040
|
}>;
|
|
660
1041
|
}, "strip", z.ZodTypeAny, {
|
|
1042
|
+
name: "TokenPriceQuery";
|
|
661
1043
|
params: {
|
|
662
|
-
timestamp: number;
|
|
663
1044
|
token: {
|
|
664
|
-
chainId: number;
|
|
665
1045
|
address: string;
|
|
1046
|
+
chainId: number;
|
|
666
1047
|
};
|
|
1048
|
+
timestamp: number;
|
|
667
1049
|
};
|
|
668
|
-
name: "TokenPriceQuery";
|
|
669
1050
|
hash: string;
|
|
670
1051
|
}, {
|
|
1052
|
+
name: "TokenPriceQuery";
|
|
671
1053
|
params: {
|
|
672
|
-
timestamp: number;
|
|
673
1054
|
token: {
|
|
674
|
-
chainId: number;
|
|
675
1055
|
address: string;
|
|
1056
|
+
chainId: number;
|
|
676
1057
|
};
|
|
1058
|
+
timestamp: number;
|
|
677
1059
|
};
|
|
678
|
-
name: "TokenPriceQuery";
|
|
679
1060
|
hash: string;
|
|
680
1061
|
}>;
|
|
681
1062
|
result: z.ZodObject<{
|
|
@@ -689,34 +1070,34 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
|
|
|
689
1070
|
result: {
|
|
690
1071
|
value: string;
|
|
691
1072
|
};
|
|
692
|
-
signature: string;
|
|
693
1073
|
query: {
|
|
1074
|
+
name: "TokenPriceQuery";
|
|
694
1075
|
params: {
|
|
695
|
-
timestamp: number;
|
|
696
1076
|
token: {
|
|
697
|
-
chainId: number;
|
|
698
1077
|
address: string;
|
|
1078
|
+
chainId: number;
|
|
699
1079
|
};
|
|
1080
|
+
timestamp: number;
|
|
700
1081
|
};
|
|
701
|
-
name: "TokenPriceQuery";
|
|
702
1082
|
hash: string;
|
|
703
1083
|
};
|
|
1084
|
+
signature: string;
|
|
704
1085
|
}, {
|
|
705
1086
|
result: {
|
|
706
1087
|
value: string;
|
|
707
1088
|
};
|
|
708
|
-
signature: string;
|
|
709
1089
|
query: {
|
|
1090
|
+
name: "TokenPriceQuery";
|
|
710
1091
|
params: {
|
|
711
|
-
timestamp: number;
|
|
712
1092
|
token: {
|
|
713
|
-
chainId: number;
|
|
714
1093
|
address: string;
|
|
1094
|
+
chainId: number;
|
|
715
1095
|
};
|
|
1096
|
+
timestamp: number;
|
|
716
1097
|
};
|
|
717
|
-
name: "TokenPriceQuery";
|
|
718
1098
|
hash: string;
|
|
719
1099
|
};
|
|
1100
|
+
signature: string;
|
|
720
1101
|
}>, z.ZodObject<{
|
|
721
1102
|
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
722
1103
|
query: z.ZodObject<{
|
|
@@ -726,171 +1107,431 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
|
|
|
726
1107
|
chainIds: z.ZodArray<z.ZodEffects<z.ZodNumber, number, number>, "many">;
|
|
727
1108
|
owner: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
728
1109
|
usdMinAmount: z.ZodEffects<z.ZodString, string, string>;
|
|
729
|
-
timestamp: z.ZodEffects<z.ZodNumber, number, number>;
|
|
730
1110
|
tokens: z.ZodArray<z.ZodObject<{
|
|
731
|
-
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
732
1111
|
address: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1112
|
+
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
733
1113
|
}, "strip", z.ZodTypeAny, {
|
|
734
|
-
chainId: number;
|
|
735
1114
|
address: string;
|
|
736
|
-
}, {
|
|
737
1115
|
chainId: number;
|
|
1116
|
+
}, {
|
|
738
1117
|
address: string;
|
|
1118
|
+
chainId: number;
|
|
739
1119
|
}>, "many">;
|
|
740
1120
|
tokenFilter: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>;
|
|
741
1121
|
}, "strip", z.ZodTypeAny, {
|
|
742
|
-
|
|
1122
|
+
owner: string;
|
|
743
1123
|
tokens: {
|
|
744
|
-
chainId: number;
|
|
745
1124
|
address: string;
|
|
1125
|
+
chainId: number;
|
|
746
1126
|
}[];
|
|
747
|
-
owner: string;
|
|
748
1127
|
usdMinAmount: string;
|
|
749
1128
|
chainIds: number[];
|
|
750
1129
|
tokenFilter: 0 | 1;
|
|
751
1130
|
}, {
|
|
752
|
-
|
|
1131
|
+
owner: string;
|
|
753
1132
|
tokens: {
|
|
754
|
-
chainId: number;
|
|
755
1133
|
address: string;
|
|
1134
|
+
chainId: number;
|
|
756
1135
|
}[];
|
|
757
|
-
owner: string;
|
|
758
1136
|
usdMinAmount: string;
|
|
759
1137
|
chainIds: number[];
|
|
760
1138
|
tokenFilter: 0 | 1;
|
|
761
1139
|
}>;
|
|
762
1140
|
}, "strip", z.ZodTypeAny, {
|
|
1141
|
+
name: "RelevantTokensQuery";
|
|
763
1142
|
params: {
|
|
764
|
-
|
|
1143
|
+
owner: string;
|
|
765
1144
|
tokens: {
|
|
766
|
-
chainId: number;
|
|
767
1145
|
address: string;
|
|
1146
|
+
chainId: number;
|
|
768
1147
|
}[];
|
|
769
|
-
owner: string;
|
|
770
1148
|
usdMinAmount: string;
|
|
771
1149
|
chainIds: number[];
|
|
772
1150
|
tokenFilter: 0 | 1;
|
|
773
1151
|
};
|
|
774
|
-
name: "RelevantTokensQuery";
|
|
775
1152
|
hash: string;
|
|
776
1153
|
}, {
|
|
1154
|
+
name: "RelevantTokensQuery";
|
|
777
1155
|
params: {
|
|
778
|
-
|
|
1156
|
+
owner: string;
|
|
779
1157
|
tokens: {
|
|
780
|
-
chainId: number;
|
|
781
1158
|
address: string;
|
|
1159
|
+
chainId: number;
|
|
782
1160
|
}[];
|
|
783
|
-
owner: string;
|
|
784
1161
|
usdMinAmount: string;
|
|
785
1162
|
chainIds: number[];
|
|
786
1163
|
tokenFilter: 0 | 1;
|
|
787
1164
|
};
|
|
788
|
-
name: "RelevantTokensQuery";
|
|
789
1165
|
hash: string;
|
|
790
1166
|
}>;
|
|
791
1167
|
result: z.ZodObject<{
|
|
792
|
-
value: z.
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
1168
|
+
value: z.ZodObject<{
|
|
1169
|
+
timestamp: z.ZodEffects<z.ZodNumber, number, number>;
|
|
1170
|
+
balances: z.ZodArray<z.ZodObject<{
|
|
1171
|
+
token: z.ZodObject<{
|
|
1172
|
+
address: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1173
|
+
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
1174
|
+
}, "strip", z.ZodTypeAny, {
|
|
1175
|
+
address: string;
|
|
1176
|
+
chainId: number;
|
|
1177
|
+
}, {
|
|
1178
|
+
address: string;
|
|
1179
|
+
chainId: number;
|
|
1180
|
+
}>;
|
|
1181
|
+
balance: z.ZodEffects<z.ZodString, string, string>;
|
|
796
1182
|
}, "strip", z.ZodTypeAny, {
|
|
797
|
-
|
|
798
|
-
|
|
1183
|
+
token: {
|
|
1184
|
+
address: string;
|
|
1185
|
+
chainId: number;
|
|
1186
|
+
};
|
|
1187
|
+
balance: string;
|
|
799
1188
|
}, {
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
1189
|
+
token: {
|
|
1190
|
+
address: string;
|
|
1191
|
+
chainId: number;
|
|
1192
|
+
};
|
|
1193
|
+
balance: string;
|
|
1194
|
+
}>, "many">;
|
|
804
1195
|
}, "strip", z.ZodTypeAny, {
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
1196
|
+
timestamp: number;
|
|
1197
|
+
balances: {
|
|
1198
|
+
token: {
|
|
1199
|
+
address: string;
|
|
1200
|
+
chainId: number;
|
|
1201
|
+
};
|
|
1202
|
+
balance: string;
|
|
1203
|
+
}[];
|
|
810
1204
|
}, {
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
1205
|
+
timestamp: number;
|
|
1206
|
+
balances: {
|
|
1207
|
+
token: {
|
|
1208
|
+
address: string;
|
|
1209
|
+
chainId: number;
|
|
1210
|
+
};
|
|
1211
|
+
balance: string;
|
|
1212
|
+
}[];
|
|
1213
|
+
}>;
|
|
817
1214
|
}, "strip", z.ZodTypeAny, {
|
|
818
1215
|
value: {
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
1216
|
+
timestamp: number;
|
|
1217
|
+
balances: {
|
|
1218
|
+
token: {
|
|
1219
|
+
address: string;
|
|
1220
|
+
chainId: number;
|
|
1221
|
+
};
|
|
1222
|
+
balance: string;
|
|
1223
|
+
}[];
|
|
1224
|
+
};
|
|
825
1225
|
}, {
|
|
826
1226
|
value: {
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
1227
|
+
timestamp: number;
|
|
1228
|
+
balances: {
|
|
1229
|
+
token: {
|
|
1230
|
+
address: string;
|
|
1231
|
+
chainId: number;
|
|
1232
|
+
};
|
|
1233
|
+
balance: string;
|
|
1234
|
+
}[];
|
|
1235
|
+
};
|
|
833
1236
|
}>;
|
|
834
1237
|
}, "strip", z.ZodTypeAny, {
|
|
835
1238
|
result: {
|
|
836
1239
|
value: {
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
1240
|
+
timestamp: number;
|
|
1241
|
+
balances: {
|
|
1242
|
+
token: {
|
|
1243
|
+
address: string;
|
|
1244
|
+
chainId: number;
|
|
1245
|
+
};
|
|
1246
|
+
balance: string;
|
|
1247
|
+
}[];
|
|
1248
|
+
};
|
|
843
1249
|
};
|
|
844
|
-
signature: string;
|
|
845
1250
|
query: {
|
|
1251
|
+
name: "RelevantTokensQuery";
|
|
846
1252
|
params: {
|
|
847
|
-
|
|
1253
|
+
owner: string;
|
|
848
1254
|
tokens: {
|
|
849
|
-
chainId: number;
|
|
850
1255
|
address: string;
|
|
1256
|
+
chainId: number;
|
|
851
1257
|
}[];
|
|
852
|
-
owner: string;
|
|
853
1258
|
usdMinAmount: string;
|
|
854
1259
|
chainIds: number[];
|
|
855
1260
|
tokenFilter: 0 | 1;
|
|
856
1261
|
};
|
|
857
|
-
name: "RelevantTokensQuery";
|
|
858
1262
|
hash: string;
|
|
859
1263
|
};
|
|
1264
|
+
signature: string;
|
|
860
1265
|
}, {
|
|
861
1266
|
result: {
|
|
862
1267
|
value: {
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
1268
|
+
timestamp: number;
|
|
1269
|
+
balances: {
|
|
1270
|
+
token: {
|
|
1271
|
+
address: string;
|
|
1272
|
+
chainId: number;
|
|
1273
|
+
};
|
|
1274
|
+
balance: string;
|
|
1275
|
+
}[];
|
|
1276
|
+
};
|
|
869
1277
|
};
|
|
870
|
-
signature: string;
|
|
871
1278
|
query: {
|
|
1279
|
+
name: "RelevantTokensQuery";
|
|
872
1280
|
params: {
|
|
873
|
-
|
|
1281
|
+
owner: string;
|
|
874
1282
|
tokens: {
|
|
875
|
-
chainId: number;
|
|
876
1283
|
address: string;
|
|
1284
|
+
chainId: number;
|
|
877
1285
|
}[];
|
|
878
|
-
owner: string;
|
|
879
1286
|
usdMinAmount: string;
|
|
880
1287
|
chainIds: number[];
|
|
881
1288
|
tokenFilter: 0 | 1;
|
|
882
1289
|
};
|
|
883
|
-
name: "RelevantTokensQuery";
|
|
884
1290
|
hash: string;
|
|
885
1291
|
};
|
|
1292
|
+
signature: string;
|
|
1293
|
+
}>, z.ZodObject<{
|
|
1294
|
+
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1295
|
+
query: z.ZodObject<{
|
|
1296
|
+
name: z.ZodLiteral<"SubgraphQuery">;
|
|
1297
|
+
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1298
|
+
params: z.ZodObject<{
|
|
1299
|
+
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
1300
|
+
timestamp: z.ZodEffects<z.ZodNumber, number, number>;
|
|
1301
|
+
subgraphId: z.ZodString;
|
|
1302
|
+
query: z.ZodString;
|
|
1303
|
+
}, "strip", z.ZodTypeAny, {
|
|
1304
|
+
chainId: number;
|
|
1305
|
+
timestamp: number;
|
|
1306
|
+
subgraphId: string;
|
|
1307
|
+
query: string;
|
|
1308
|
+
}, {
|
|
1309
|
+
chainId: number;
|
|
1310
|
+
timestamp: number;
|
|
1311
|
+
subgraphId: string;
|
|
1312
|
+
query: string;
|
|
1313
|
+
}>;
|
|
1314
|
+
}, "strip", z.ZodTypeAny, {
|
|
1315
|
+
name: "SubgraphQuery";
|
|
1316
|
+
params: {
|
|
1317
|
+
chainId: number;
|
|
1318
|
+
timestamp: number;
|
|
1319
|
+
subgraphId: string;
|
|
1320
|
+
query: string;
|
|
1321
|
+
};
|
|
1322
|
+
hash: string;
|
|
1323
|
+
}, {
|
|
1324
|
+
name: "SubgraphQuery";
|
|
1325
|
+
params: {
|
|
1326
|
+
chainId: number;
|
|
1327
|
+
timestamp: number;
|
|
1328
|
+
subgraphId: string;
|
|
1329
|
+
query: string;
|
|
1330
|
+
};
|
|
1331
|
+
hash: string;
|
|
1332
|
+
}>;
|
|
1333
|
+
result: z.ZodObject<{
|
|
1334
|
+
value: z.ZodObject<{
|
|
1335
|
+
blockNumber: z.ZodNumber;
|
|
1336
|
+
data: z.ZodString;
|
|
1337
|
+
}, "strip", z.ZodTypeAny, {
|
|
1338
|
+
data: string;
|
|
1339
|
+
blockNumber: number;
|
|
1340
|
+
}, {
|
|
1341
|
+
data: string;
|
|
1342
|
+
blockNumber: number;
|
|
1343
|
+
}>;
|
|
1344
|
+
}, "strip", z.ZodTypeAny, {
|
|
1345
|
+
value: {
|
|
1346
|
+
data: string;
|
|
1347
|
+
blockNumber: number;
|
|
1348
|
+
};
|
|
1349
|
+
}, {
|
|
1350
|
+
value: {
|
|
1351
|
+
data: string;
|
|
1352
|
+
blockNumber: number;
|
|
1353
|
+
};
|
|
1354
|
+
}>;
|
|
1355
|
+
}, "strip", z.ZodTypeAny, {
|
|
1356
|
+
result: {
|
|
1357
|
+
value: {
|
|
1358
|
+
data: string;
|
|
1359
|
+
blockNumber: number;
|
|
1360
|
+
};
|
|
1361
|
+
};
|
|
1362
|
+
query: {
|
|
1363
|
+
name: "SubgraphQuery";
|
|
1364
|
+
params: {
|
|
1365
|
+
chainId: number;
|
|
1366
|
+
timestamp: number;
|
|
1367
|
+
subgraphId: string;
|
|
1368
|
+
query: string;
|
|
1369
|
+
};
|
|
1370
|
+
hash: string;
|
|
1371
|
+
};
|
|
1372
|
+
signature: string;
|
|
1373
|
+
}, {
|
|
1374
|
+
result: {
|
|
1375
|
+
value: {
|
|
1376
|
+
data: string;
|
|
1377
|
+
blockNumber: number;
|
|
1378
|
+
};
|
|
1379
|
+
};
|
|
1380
|
+
query: {
|
|
1381
|
+
name: "SubgraphQuery";
|
|
1382
|
+
params: {
|
|
1383
|
+
chainId: number;
|
|
1384
|
+
timestamp: number;
|
|
1385
|
+
subgraphId: string;
|
|
1386
|
+
query: string;
|
|
1387
|
+
};
|
|
1388
|
+
hash: string;
|
|
1389
|
+
};
|
|
1390
|
+
signature: string;
|
|
1391
|
+
}>, z.ZodObject<{
|
|
1392
|
+
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1393
|
+
query: z.ZodObject<{
|
|
1394
|
+
name: z.ZodLiteral<"SvmAccountsInfoQuery">;
|
|
1395
|
+
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1396
|
+
params: z.ZodObject<{
|
|
1397
|
+
publicKeys: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
1398
|
+
timestamp: z.ZodEffects<z.ZodNumber, number, number>;
|
|
1399
|
+
}, "strip", z.ZodTypeAny, {
|
|
1400
|
+
timestamp: number;
|
|
1401
|
+
publicKeys: string[];
|
|
1402
|
+
}, {
|
|
1403
|
+
timestamp: number;
|
|
1404
|
+
publicKeys: string[];
|
|
1405
|
+
}>;
|
|
1406
|
+
}, "strip", z.ZodTypeAny, {
|
|
1407
|
+
name: "SvmAccountsInfoQuery";
|
|
1408
|
+
params: {
|
|
1409
|
+
timestamp: number;
|
|
1410
|
+
publicKeys: string[];
|
|
1411
|
+
};
|
|
1412
|
+
hash: string;
|
|
1413
|
+
}, {
|
|
1414
|
+
name: "SvmAccountsInfoQuery";
|
|
1415
|
+
params: {
|
|
1416
|
+
timestamp: number;
|
|
1417
|
+
publicKeys: string[];
|
|
1418
|
+
};
|
|
1419
|
+
hash: string;
|
|
1420
|
+
}>;
|
|
1421
|
+
result: z.ZodObject<{
|
|
1422
|
+
value: z.ZodObject<{
|
|
1423
|
+
accountsInfo: z.ZodArray<z.ZodObject<{
|
|
1424
|
+
executable: z.ZodBoolean;
|
|
1425
|
+
owner: z.ZodEffects<z.ZodString, string, string>;
|
|
1426
|
+
lamports: z.ZodEffects<z.ZodString, string, string>;
|
|
1427
|
+
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1428
|
+
rentEpoch: z.ZodEffects<z.ZodString, string, string>;
|
|
1429
|
+
}, "strip", z.ZodTypeAny, {
|
|
1430
|
+
data: string;
|
|
1431
|
+
executable: boolean;
|
|
1432
|
+
owner: string;
|
|
1433
|
+
lamports: string;
|
|
1434
|
+
rentEpoch: string;
|
|
1435
|
+
}, {
|
|
1436
|
+
data: string;
|
|
1437
|
+
executable: boolean;
|
|
1438
|
+
owner: string;
|
|
1439
|
+
lamports: string;
|
|
1440
|
+
rentEpoch: string;
|
|
1441
|
+
}>, "many">;
|
|
1442
|
+
slot: z.ZodEffects<z.ZodString, string, string>;
|
|
1443
|
+
}, "strip", z.ZodTypeAny, {
|
|
1444
|
+
accountsInfo: {
|
|
1445
|
+
data: string;
|
|
1446
|
+
executable: boolean;
|
|
1447
|
+
owner: string;
|
|
1448
|
+
lamports: string;
|
|
1449
|
+
rentEpoch: string;
|
|
1450
|
+
}[];
|
|
1451
|
+
slot: string;
|
|
1452
|
+
}, {
|
|
1453
|
+
accountsInfo: {
|
|
1454
|
+
data: string;
|
|
1455
|
+
executable: boolean;
|
|
1456
|
+
owner: string;
|
|
1457
|
+
lamports: string;
|
|
1458
|
+
rentEpoch: string;
|
|
1459
|
+
}[];
|
|
1460
|
+
slot: string;
|
|
1461
|
+
}>;
|
|
1462
|
+
}, "strip", z.ZodTypeAny, {
|
|
1463
|
+
value: {
|
|
1464
|
+
accountsInfo: {
|
|
1465
|
+
data: string;
|
|
1466
|
+
executable: boolean;
|
|
1467
|
+
owner: string;
|
|
1468
|
+
lamports: string;
|
|
1469
|
+
rentEpoch: string;
|
|
1470
|
+
}[];
|
|
1471
|
+
slot: string;
|
|
1472
|
+
};
|
|
1473
|
+
}, {
|
|
1474
|
+
value: {
|
|
1475
|
+
accountsInfo: {
|
|
1476
|
+
data: string;
|
|
1477
|
+
executable: boolean;
|
|
1478
|
+
owner: string;
|
|
1479
|
+
lamports: string;
|
|
1480
|
+
rentEpoch: string;
|
|
1481
|
+
}[];
|
|
1482
|
+
slot: string;
|
|
1483
|
+
};
|
|
1484
|
+
}>;
|
|
1485
|
+
}, "strip", z.ZodTypeAny, {
|
|
1486
|
+
result: {
|
|
1487
|
+
value: {
|
|
1488
|
+
accountsInfo: {
|
|
1489
|
+
data: string;
|
|
1490
|
+
executable: boolean;
|
|
1491
|
+
owner: string;
|
|
1492
|
+
lamports: string;
|
|
1493
|
+
rentEpoch: string;
|
|
1494
|
+
}[];
|
|
1495
|
+
slot: string;
|
|
1496
|
+
};
|
|
1497
|
+
};
|
|
1498
|
+
query: {
|
|
1499
|
+
name: "SvmAccountsInfoQuery";
|
|
1500
|
+
params: {
|
|
1501
|
+
timestamp: number;
|
|
1502
|
+
publicKeys: string[];
|
|
1503
|
+
};
|
|
1504
|
+
hash: string;
|
|
1505
|
+
};
|
|
1506
|
+
signature: string;
|
|
1507
|
+
}, {
|
|
1508
|
+
result: {
|
|
1509
|
+
value: {
|
|
1510
|
+
accountsInfo: {
|
|
1511
|
+
data: string;
|
|
1512
|
+
executable: boolean;
|
|
1513
|
+
owner: string;
|
|
1514
|
+
lamports: string;
|
|
1515
|
+
rentEpoch: string;
|
|
1516
|
+
}[];
|
|
1517
|
+
slot: string;
|
|
1518
|
+
};
|
|
1519
|
+
};
|
|
1520
|
+
query: {
|
|
1521
|
+
name: "SvmAccountsInfoQuery";
|
|
1522
|
+
params: {
|
|
1523
|
+
timestamp: number;
|
|
1524
|
+
publicKeys: string[];
|
|
1525
|
+
};
|
|
1526
|
+
hash: string;
|
|
1527
|
+
};
|
|
1528
|
+
signature: string;
|
|
886
1529
|
}>]>, "many">;
|
|
887
1530
|
outputs: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
888
|
-
|
|
889
|
-
user: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1531
|
+
feePayer: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
890
1532
|
settler: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
891
1533
|
nonce: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
892
1534
|
deadline: z.ZodEffects<z.ZodString, string, string>;
|
|
893
|
-
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
894
1535
|
maxFees: z.ZodArray<z.ZodObject<{
|
|
895
1536
|
token: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
896
1537
|
amount: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -901,12 +1542,50 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
|
|
|
901
1542
|
token: string;
|
|
902
1543
|
amount: string;
|
|
903
1544
|
}>, "many">;
|
|
1545
|
+
triggerSig: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1546
|
+
minValidations: z.ZodNumber;
|
|
1547
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
1548
|
+
opType: z.ZodNativeEnum<{
|
|
1549
|
+
readonly Swap: 0;
|
|
1550
|
+
readonly Transfer: 1;
|
|
1551
|
+
readonly EvmCall: 2;
|
|
1552
|
+
readonly CrossChainSwap: 3;
|
|
1553
|
+
readonly EvmDynamicCall: 4;
|
|
1554
|
+
readonly SvmCall: 5;
|
|
1555
|
+
}>;
|
|
1556
|
+
user: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1557
|
+
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1558
|
+
events: z.ZodArray<z.ZodObject<{
|
|
1559
|
+
topic: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1560
|
+
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1561
|
+
}, "strip", z.ZodTypeAny, {
|
|
1562
|
+
data: string;
|
|
1563
|
+
topic: string;
|
|
1564
|
+
}, {
|
|
1565
|
+
data: string;
|
|
1566
|
+
topic: string;
|
|
1567
|
+
}>, "many">;
|
|
1568
|
+
}, "strip", z.ZodTypeAny, {
|
|
1569
|
+
opType: 0 | 1 | 2 | 3 | 4 | 5;
|
|
1570
|
+
user: string;
|
|
1571
|
+
data: string;
|
|
1572
|
+
events: {
|
|
1573
|
+
data: string;
|
|
1574
|
+
topic: string;
|
|
1575
|
+
}[];
|
|
1576
|
+
}, {
|
|
1577
|
+
opType: 0 | 1 | 2 | 3 | 4 | 5;
|
|
1578
|
+
user: string;
|
|
1579
|
+
data: string;
|
|
1580
|
+
events: {
|
|
1581
|
+
data: string;
|
|
1582
|
+
topic: string;
|
|
1583
|
+
}[];
|
|
1584
|
+
}>, "many">;
|
|
904
1585
|
}, {
|
|
905
1586
|
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
906
1587
|
}>, "strip", z.ZodTypeAny, {
|
|
907
|
-
|
|
908
|
-
op: import("../shared").OpType;
|
|
909
|
-
user: string;
|
|
1588
|
+
feePayer: string;
|
|
910
1589
|
settler: string;
|
|
911
1590
|
nonce: string;
|
|
912
1591
|
deadline: string;
|
|
@@ -914,11 +1593,20 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
|
|
|
914
1593
|
token: string;
|
|
915
1594
|
amount: string;
|
|
916
1595
|
}[];
|
|
1596
|
+
triggerSig: string;
|
|
1597
|
+
minValidations: number;
|
|
1598
|
+
operations: {
|
|
1599
|
+
opType: 0 | 1 | 2 | 3 | 4 | 5;
|
|
1600
|
+
user: string;
|
|
1601
|
+
data: string;
|
|
1602
|
+
events: {
|
|
1603
|
+
data: string;
|
|
1604
|
+
topic: string;
|
|
1605
|
+
}[];
|
|
1606
|
+
}[];
|
|
917
1607
|
hash: string;
|
|
918
1608
|
}, {
|
|
919
|
-
|
|
920
|
-
op: import("../shared").OpType;
|
|
921
|
-
user: string;
|
|
1609
|
+
feePayer: string;
|
|
922
1610
|
settler: string;
|
|
923
1611
|
nonce: string;
|
|
924
1612
|
deadline: string;
|
|
@@ -926,83 +1614,136 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
|
|
|
926
1614
|
token: string;
|
|
927
1615
|
amount: string;
|
|
928
1616
|
}[];
|
|
1617
|
+
triggerSig: string;
|
|
1618
|
+
minValidations: number;
|
|
1619
|
+
operations: {
|
|
1620
|
+
opType: 0 | 1 | 2 | 3 | 4 | 5;
|
|
1621
|
+
user: string;
|
|
1622
|
+
data: string;
|
|
1623
|
+
events: {
|
|
1624
|
+
data: string;
|
|
1625
|
+
topic: string;
|
|
1626
|
+
}[];
|
|
1627
|
+
}[];
|
|
929
1628
|
hash: string;
|
|
930
1629
|
}>, "many">;
|
|
931
1630
|
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1631
|
+
result: z.ZodNativeEnum<{
|
|
1632
|
+
readonly succeeded: "succeeded";
|
|
1633
|
+
readonly failed: "failed";
|
|
1634
|
+
}>;
|
|
932
1635
|
}>, "strip", z.ZodTypeAny, {
|
|
1636
|
+
triggerSig: string;
|
|
1637
|
+
result: "succeeded" | "failed";
|
|
933
1638
|
timestamp: number;
|
|
934
|
-
configSig: string;
|
|
935
|
-
triggerType: import("../shared").TriggerType;
|
|
936
|
-
triggerData: string;
|
|
937
1639
|
signature: string;
|
|
938
1640
|
hash: string;
|
|
939
|
-
fuelUsed: number;
|
|
940
|
-
logs: {
|
|
941
|
-
level: import("../shared").LogLevel;
|
|
942
|
-
log: string;
|
|
943
|
-
}[];
|
|
944
1641
|
inputs: ({
|
|
945
1642
|
result: {
|
|
946
1643
|
value: string;
|
|
947
1644
|
};
|
|
948
|
-
signature: string;
|
|
949
1645
|
query: {
|
|
1646
|
+
name: "EvmCallQuery";
|
|
950
1647
|
params: {
|
|
1648
|
+
data: string;
|
|
951
1649
|
chainId: number;
|
|
952
1650
|
to: string;
|
|
953
|
-
data: string;
|
|
954
1651
|
timestamp: number;
|
|
955
1652
|
};
|
|
956
|
-
name: "EvmCallQuery";
|
|
957
1653
|
hash: string;
|
|
958
1654
|
};
|
|
1655
|
+
signature: string;
|
|
959
1656
|
} | {
|
|
960
1657
|
result: {
|
|
961
|
-
value:
|
|
1658
|
+
value: {
|
|
1659
|
+
accountsInfo: {
|
|
1660
|
+
data: string;
|
|
1661
|
+
executable: boolean;
|
|
1662
|
+
owner: string;
|
|
1663
|
+
lamports: string;
|
|
1664
|
+
rentEpoch: string;
|
|
1665
|
+
}[];
|
|
1666
|
+
slot: string;
|
|
1667
|
+
};
|
|
962
1668
|
};
|
|
963
|
-
signature: string;
|
|
964
1669
|
query: {
|
|
1670
|
+
name: "SvmAccountsInfoQuery";
|
|
965
1671
|
params: {
|
|
966
1672
|
timestamp: number;
|
|
967
|
-
|
|
968
|
-
chainId: number;
|
|
969
|
-
address: string;
|
|
970
|
-
};
|
|
1673
|
+
publicKeys: string[];
|
|
971
1674
|
};
|
|
972
|
-
name: "TokenPriceQuery";
|
|
973
1675
|
hash: string;
|
|
974
1676
|
};
|
|
1677
|
+
signature: string;
|
|
975
1678
|
} | {
|
|
976
1679
|
result: {
|
|
977
|
-
value:
|
|
1680
|
+
value: string;
|
|
1681
|
+
};
|
|
1682
|
+
query: {
|
|
1683
|
+
name: "TokenPriceQuery";
|
|
1684
|
+
params: {
|
|
978
1685
|
token: {
|
|
979
|
-
chainId: number;
|
|
980
1686
|
address: string;
|
|
1687
|
+
chainId: number;
|
|
981
1688
|
};
|
|
982
|
-
|
|
983
|
-
}
|
|
1689
|
+
timestamp: number;
|
|
1690
|
+
};
|
|
1691
|
+
hash: string;
|
|
984
1692
|
};
|
|
985
1693
|
signature: string;
|
|
1694
|
+
} | {
|
|
1695
|
+
result: {
|
|
1696
|
+
value: {
|
|
1697
|
+
timestamp: number;
|
|
1698
|
+
balances: {
|
|
1699
|
+
token: {
|
|
1700
|
+
address: string;
|
|
1701
|
+
chainId: number;
|
|
1702
|
+
};
|
|
1703
|
+
balance: string;
|
|
1704
|
+
}[];
|
|
1705
|
+
};
|
|
1706
|
+
};
|
|
986
1707
|
query: {
|
|
1708
|
+
name: "RelevantTokensQuery";
|
|
987
1709
|
params: {
|
|
988
|
-
|
|
1710
|
+
owner: string;
|
|
989
1711
|
tokens: {
|
|
990
|
-
chainId: number;
|
|
991
1712
|
address: string;
|
|
1713
|
+
chainId: number;
|
|
992
1714
|
}[];
|
|
993
|
-
owner: string;
|
|
994
1715
|
usdMinAmount: string;
|
|
995
1716
|
chainIds: number[];
|
|
996
1717
|
tokenFilter: 0 | 1;
|
|
997
1718
|
};
|
|
998
|
-
name: "RelevantTokensQuery";
|
|
999
1719
|
hash: string;
|
|
1000
1720
|
};
|
|
1721
|
+
signature: string;
|
|
1722
|
+
} | {
|
|
1723
|
+
result: {
|
|
1724
|
+
value: {
|
|
1725
|
+
data: string;
|
|
1726
|
+
blockNumber: number;
|
|
1727
|
+
};
|
|
1728
|
+
};
|
|
1729
|
+
query: {
|
|
1730
|
+
name: "SubgraphQuery";
|
|
1731
|
+
params: {
|
|
1732
|
+
chainId: number;
|
|
1733
|
+
timestamp: number;
|
|
1734
|
+
subgraphId: string;
|
|
1735
|
+
query: string;
|
|
1736
|
+
};
|
|
1737
|
+
hash: string;
|
|
1738
|
+
};
|
|
1739
|
+
signature: string;
|
|
1001
1740
|
})[];
|
|
1741
|
+
triggerType: 0 | 1 | 2;
|
|
1742
|
+
fuelUsed: number;
|
|
1743
|
+
triggerData: string;
|
|
1744
|
+
logs: string[];
|
|
1002
1745
|
outputs: {
|
|
1003
|
-
|
|
1004
|
-
op: import("../shared").OpType;
|
|
1005
|
-
user: string;
|
|
1746
|
+
feePayer: string;
|
|
1006
1747
|
settler: string;
|
|
1007
1748
|
nonce: string;
|
|
1008
1749
|
deadline: string;
|
|
@@ -1010,82 +1751,131 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
|
|
|
1010
1751
|
token: string;
|
|
1011
1752
|
amount: string;
|
|
1012
1753
|
}[];
|
|
1754
|
+
triggerSig: string;
|
|
1755
|
+
minValidations: number;
|
|
1756
|
+
operations: {
|
|
1757
|
+
opType: 0 | 1 | 2 | 3 | 4 | 5;
|
|
1758
|
+
user: string;
|
|
1759
|
+
data: string;
|
|
1760
|
+
events: {
|
|
1761
|
+
data: string;
|
|
1762
|
+
topic: string;
|
|
1763
|
+
}[];
|
|
1764
|
+
}[];
|
|
1013
1765
|
hash: string;
|
|
1014
1766
|
}[];
|
|
1015
1767
|
}, {
|
|
1768
|
+
triggerSig: string;
|
|
1769
|
+
result: "succeeded" | "failed";
|
|
1016
1770
|
timestamp: number;
|
|
1017
|
-
configSig: string;
|
|
1018
|
-
triggerType: import("../shared").TriggerType;
|
|
1019
|
-
triggerData: string;
|
|
1020
1771
|
signature: string;
|
|
1021
1772
|
hash: string;
|
|
1022
|
-
fuelUsed: number;
|
|
1023
|
-
logs: {
|
|
1024
|
-
level: import("../shared").LogLevel;
|
|
1025
|
-
log: string;
|
|
1026
|
-
}[];
|
|
1027
1773
|
inputs: ({
|
|
1028
1774
|
result: {
|
|
1029
1775
|
value: string;
|
|
1030
1776
|
};
|
|
1031
|
-
signature: string;
|
|
1032
1777
|
query: {
|
|
1778
|
+
name: "EvmCallQuery";
|
|
1033
1779
|
params: {
|
|
1780
|
+
data: string;
|
|
1034
1781
|
chainId: number;
|
|
1035
1782
|
to: string;
|
|
1036
|
-
data: string;
|
|
1037
1783
|
timestamp: number;
|
|
1038
1784
|
};
|
|
1039
|
-
name: "EvmCallQuery";
|
|
1040
1785
|
hash: string;
|
|
1041
1786
|
};
|
|
1787
|
+
signature: string;
|
|
1042
1788
|
} | {
|
|
1043
1789
|
result: {
|
|
1044
|
-
value:
|
|
1790
|
+
value: {
|
|
1791
|
+
accountsInfo: {
|
|
1792
|
+
data: string;
|
|
1793
|
+
executable: boolean;
|
|
1794
|
+
owner: string;
|
|
1795
|
+
lamports: string;
|
|
1796
|
+
rentEpoch: string;
|
|
1797
|
+
}[];
|
|
1798
|
+
slot: string;
|
|
1799
|
+
};
|
|
1045
1800
|
};
|
|
1046
|
-
signature: string;
|
|
1047
1801
|
query: {
|
|
1802
|
+
name: "SvmAccountsInfoQuery";
|
|
1048
1803
|
params: {
|
|
1049
1804
|
timestamp: number;
|
|
1050
|
-
|
|
1051
|
-
chainId: number;
|
|
1052
|
-
address: string;
|
|
1053
|
-
};
|
|
1805
|
+
publicKeys: string[];
|
|
1054
1806
|
};
|
|
1055
|
-
name: "TokenPriceQuery";
|
|
1056
1807
|
hash: string;
|
|
1057
1808
|
};
|
|
1809
|
+
signature: string;
|
|
1058
1810
|
} | {
|
|
1059
1811
|
result: {
|
|
1060
|
-
value:
|
|
1812
|
+
value: string;
|
|
1813
|
+
};
|
|
1814
|
+
query: {
|
|
1815
|
+
name: "TokenPriceQuery";
|
|
1816
|
+
params: {
|
|
1061
1817
|
token: {
|
|
1062
|
-
chainId: number;
|
|
1063
1818
|
address: string;
|
|
1819
|
+
chainId: number;
|
|
1064
1820
|
};
|
|
1065
|
-
|
|
1066
|
-
}
|
|
1821
|
+
timestamp: number;
|
|
1822
|
+
};
|
|
1823
|
+
hash: string;
|
|
1067
1824
|
};
|
|
1068
1825
|
signature: string;
|
|
1826
|
+
} | {
|
|
1827
|
+
result: {
|
|
1828
|
+
value: {
|
|
1829
|
+
timestamp: number;
|
|
1830
|
+
balances: {
|
|
1831
|
+
token: {
|
|
1832
|
+
address: string;
|
|
1833
|
+
chainId: number;
|
|
1834
|
+
};
|
|
1835
|
+
balance: string;
|
|
1836
|
+
}[];
|
|
1837
|
+
};
|
|
1838
|
+
};
|
|
1069
1839
|
query: {
|
|
1840
|
+
name: "RelevantTokensQuery";
|
|
1070
1841
|
params: {
|
|
1071
|
-
|
|
1842
|
+
owner: string;
|
|
1072
1843
|
tokens: {
|
|
1073
|
-
chainId: number;
|
|
1074
1844
|
address: string;
|
|
1845
|
+
chainId: number;
|
|
1075
1846
|
}[];
|
|
1076
|
-
owner: string;
|
|
1077
1847
|
usdMinAmount: string;
|
|
1078
1848
|
chainIds: number[];
|
|
1079
1849
|
tokenFilter: 0 | 1;
|
|
1080
1850
|
};
|
|
1081
|
-
name: "RelevantTokensQuery";
|
|
1082
1851
|
hash: string;
|
|
1083
1852
|
};
|
|
1853
|
+
signature: string;
|
|
1854
|
+
} | {
|
|
1855
|
+
result: {
|
|
1856
|
+
value: {
|
|
1857
|
+
data: string;
|
|
1858
|
+
blockNumber: number;
|
|
1859
|
+
};
|
|
1860
|
+
};
|
|
1861
|
+
query: {
|
|
1862
|
+
name: "SubgraphQuery";
|
|
1863
|
+
params: {
|
|
1864
|
+
chainId: number;
|
|
1865
|
+
timestamp: number;
|
|
1866
|
+
subgraphId: string;
|
|
1867
|
+
query: string;
|
|
1868
|
+
};
|
|
1869
|
+
hash: string;
|
|
1870
|
+
};
|
|
1871
|
+
signature: string;
|
|
1084
1872
|
})[];
|
|
1873
|
+
triggerType: 0 | 1 | 2;
|
|
1874
|
+
fuelUsed: number;
|
|
1875
|
+
triggerData: string;
|
|
1876
|
+
logs: string[];
|
|
1085
1877
|
outputs: {
|
|
1086
|
-
|
|
1087
|
-
op: import("../shared").OpType;
|
|
1088
|
-
user: string;
|
|
1878
|
+
feePayer: string;
|
|
1089
1879
|
settler: string;
|
|
1090
1880
|
nonce: string;
|
|
1091
1881
|
deadline: string;
|
|
@@ -1093,62 +1883,71 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
|
|
|
1093
1883
|
token: string;
|
|
1094
1884
|
amount: string;
|
|
1095
1885
|
}[];
|
|
1886
|
+
triggerSig: string;
|
|
1887
|
+
minValidations: number;
|
|
1888
|
+
operations: {
|
|
1889
|
+
opType: 0 | 1 | 2 | 3 | 4 | 5;
|
|
1890
|
+
user: string;
|
|
1891
|
+
data: string;
|
|
1892
|
+
events: {
|
|
1893
|
+
data: string;
|
|
1894
|
+
topic: string;
|
|
1895
|
+
}[];
|
|
1896
|
+
}[];
|
|
1096
1897
|
hash: string;
|
|
1097
1898
|
}[];
|
|
1098
1899
|
}>;
|
|
1099
1900
|
export declare const ExecutionFeeValidator: z.ZodObject<{
|
|
1100
|
-
trigger: z.
|
|
1101
|
-
relayer: z.
|
|
1102
|
-
oracles: z.
|
|
1103
|
-
|
|
1104
|
-
intents: z.
|
|
1105
|
-
protocol: z.
|
|
1106
|
-
total: z.
|
|
1901
|
+
trigger: z.ZodEffects<z.ZodString, string, string>;
|
|
1902
|
+
relayer: z.ZodEffects<z.ZodString, string, string>;
|
|
1903
|
+
oracles: z.ZodEffects<z.ZodString, string, string>;
|
|
1904
|
+
validators: z.ZodEffects<z.ZodString, string, string>;
|
|
1905
|
+
intents: z.ZodEffects<z.ZodString, string, string>;
|
|
1906
|
+
protocol: z.ZodEffects<z.ZodString, string, string>;
|
|
1907
|
+
total: z.ZodEffects<z.ZodString, string, string>;
|
|
1107
1908
|
}, "strip", z.ZodTypeAny, {
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
oracles:
|
|
1111
|
-
|
|
1112
|
-
intents:
|
|
1113
|
-
protocol:
|
|
1114
|
-
total:
|
|
1909
|
+
relayer: string;
|
|
1910
|
+
trigger: string;
|
|
1911
|
+
oracles: string;
|
|
1912
|
+
validators: string;
|
|
1913
|
+
intents: string;
|
|
1914
|
+
protocol: string;
|
|
1915
|
+
total: string;
|
|
1115
1916
|
}, {
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
oracles:
|
|
1119
|
-
|
|
1120
|
-
intents:
|
|
1121
|
-
protocol:
|
|
1122
|
-
total:
|
|
1917
|
+
relayer: string;
|
|
1918
|
+
trigger: string;
|
|
1919
|
+
oracles: string;
|
|
1920
|
+
validators: string;
|
|
1921
|
+
intents: string;
|
|
1922
|
+
protocol: string;
|
|
1923
|
+
total: string;
|
|
1123
1924
|
}>;
|
|
1124
1925
|
export declare const ExecutionValidationValidator: z.ZodObject<{
|
|
1125
1926
|
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1126
1927
|
succeeded: z.ZodBoolean;
|
|
1928
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1127
1929
|
}, "strip", z.ZodTypeAny, {
|
|
1128
1930
|
succeeded: boolean;
|
|
1129
1931
|
signature: string;
|
|
1932
|
+
description?: string | undefined;
|
|
1130
1933
|
}, {
|
|
1131
1934
|
succeeded: boolean;
|
|
1132
1935
|
signature: string;
|
|
1936
|
+
description?: string | undefined;
|
|
1133
1937
|
}>;
|
|
1134
1938
|
export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1135
|
-
|
|
1136
|
-
triggerType: z.ZodNativeEnum<
|
|
1939
|
+
triggerSig: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1940
|
+
triggerType: z.ZodNativeEnum<{
|
|
1941
|
+
readonly Cron: 0;
|
|
1942
|
+
readonly Event: 1;
|
|
1943
|
+
readonly Once: 2;
|
|
1944
|
+
}>;
|
|
1137
1945
|
triggerData: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1138
1946
|
}, {
|
|
1139
1947
|
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1140
1948
|
timestamp: z.ZodNumber;
|
|
1141
1949
|
fuelUsed: z.ZodNumber;
|
|
1142
|
-
logs: z.ZodArray<z.
|
|
1143
|
-
level: z.ZodNativeEnum<typeof import("../shared").LogLevel>;
|
|
1144
|
-
log: z.ZodString;
|
|
1145
|
-
}, "strip", z.ZodTypeAny, {
|
|
1146
|
-
level: import("../shared").LogLevel;
|
|
1147
|
-
log: string;
|
|
1148
|
-
}, {
|
|
1149
|
-
level: import("../shared").LogLevel;
|
|
1150
|
-
log: string;
|
|
1151
|
-
}>, "many">;
|
|
1950
|
+
logs: z.ZodArray<z.ZodString, "many">;
|
|
1152
1951
|
inputs: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
1153
1952
|
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1154
1953
|
query: z.ZodObject<{
|
|
@@ -1157,36 +1956,36 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
1157
1956
|
params: z.ZodObject<{
|
|
1158
1957
|
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
1159
1958
|
timestamp: z.ZodEffects<z.ZodNumber, number, number>;
|
|
1160
|
-
to: z.ZodEffects<z.
|
|
1959
|
+
to: z.ZodEffects<z.ZodString, string, string>;
|
|
1161
1960
|
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1162
1961
|
}, "strip", z.ZodTypeAny, {
|
|
1962
|
+
data: string;
|
|
1163
1963
|
chainId: number;
|
|
1164
1964
|
to: string;
|
|
1165
|
-
data: string;
|
|
1166
1965
|
timestamp: number;
|
|
1167
1966
|
}, {
|
|
1967
|
+
data: string;
|
|
1168
1968
|
chainId: number;
|
|
1169
1969
|
to: string;
|
|
1170
|
-
data: string;
|
|
1171
1970
|
timestamp: number;
|
|
1172
1971
|
}>;
|
|
1173
1972
|
}, "strip", z.ZodTypeAny, {
|
|
1973
|
+
name: "EvmCallQuery";
|
|
1174
1974
|
params: {
|
|
1975
|
+
data: string;
|
|
1175
1976
|
chainId: number;
|
|
1176
1977
|
to: string;
|
|
1177
|
-
data: string;
|
|
1178
1978
|
timestamp: number;
|
|
1179
1979
|
};
|
|
1180
|
-
name: "EvmCallQuery";
|
|
1181
1980
|
hash: string;
|
|
1182
1981
|
}, {
|
|
1982
|
+
name: "EvmCallQuery";
|
|
1183
1983
|
params: {
|
|
1984
|
+
data: string;
|
|
1184
1985
|
chainId: number;
|
|
1185
1986
|
to: string;
|
|
1186
|
-
data: string;
|
|
1187
1987
|
timestamp: number;
|
|
1188
1988
|
};
|
|
1189
|
-
name: "EvmCallQuery";
|
|
1190
1989
|
hash: string;
|
|
1191
1990
|
}>;
|
|
1192
1991
|
result: z.ZodObject<{
|
|
@@ -1200,32 +1999,32 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
1200
1999
|
result: {
|
|
1201
2000
|
value: string;
|
|
1202
2001
|
};
|
|
1203
|
-
signature: string;
|
|
1204
2002
|
query: {
|
|
2003
|
+
name: "EvmCallQuery";
|
|
1205
2004
|
params: {
|
|
2005
|
+
data: string;
|
|
1206
2006
|
chainId: number;
|
|
1207
2007
|
to: string;
|
|
1208
|
-
data: string;
|
|
1209
2008
|
timestamp: number;
|
|
1210
2009
|
};
|
|
1211
|
-
name: "EvmCallQuery";
|
|
1212
2010
|
hash: string;
|
|
1213
2011
|
};
|
|
2012
|
+
signature: string;
|
|
1214
2013
|
}, {
|
|
1215
2014
|
result: {
|
|
1216
2015
|
value: string;
|
|
1217
2016
|
};
|
|
1218
|
-
signature: string;
|
|
1219
2017
|
query: {
|
|
2018
|
+
name: "EvmCallQuery";
|
|
1220
2019
|
params: {
|
|
2020
|
+
data: string;
|
|
1221
2021
|
chainId: number;
|
|
1222
2022
|
to: string;
|
|
1223
|
-
data: string;
|
|
1224
2023
|
timestamp: number;
|
|
1225
2024
|
};
|
|
1226
|
-
name: "EvmCallQuery";
|
|
1227
2025
|
hash: string;
|
|
1228
2026
|
};
|
|
2027
|
+
signature: string;
|
|
1229
2028
|
}>, z.ZodObject<{
|
|
1230
2029
|
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1231
2030
|
query: z.ZodObject<{
|
|
@@ -1237,44 +2036,44 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
1237
2036
|
address: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1238
2037
|
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
1239
2038
|
}, "strip", z.ZodTypeAny, {
|
|
1240
|
-
chainId: number;
|
|
1241
2039
|
address: string;
|
|
1242
|
-
}, {
|
|
1243
2040
|
chainId: number;
|
|
2041
|
+
}, {
|
|
1244
2042
|
address: string;
|
|
2043
|
+
chainId: number;
|
|
1245
2044
|
}>;
|
|
1246
2045
|
}, "strip", z.ZodTypeAny, {
|
|
1247
|
-
timestamp: number;
|
|
1248
2046
|
token: {
|
|
1249
|
-
chainId: number;
|
|
1250
2047
|
address: string;
|
|
2048
|
+
chainId: number;
|
|
1251
2049
|
};
|
|
1252
|
-
}, {
|
|
1253
2050
|
timestamp: number;
|
|
2051
|
+
}, {
|
|
1254
2052
|
token: {
|
|
1255
|
-
chainId: number;
|
|
1256
2053
|
address: string;
|
|
2054
|
+
chainId: number;
|
|
1257
2055
|
};
|
|
2056
|
+
timestamp: number;
|
|
1258
2057
|
}>;
|
|
1259
2058
|
}, "strip", z.ZodTypeAny, {
|
|
2059
|
+
name: "TokenPriceQuery";
|
|
1260
2060
|
params: {
|
|
1261
|
-
timestamp: number;
|
|
1262
2061
|
token: {
|
|
1263
|
-
chainId: number;
|
|
1264
2062
|
address: string;
|
|
2063
|
+
chainId: number;
|
|
1265
2064
|
};
|
|
2065
|
+
timestamp: number;
|
|
1266
2066
|
};
|
|
1267
|
-
name: "TokenPriceQuery";
|
|
1268
2067
|
hash: string;
|
|
1269
2068
|
}, {
|
|
2069
|
+
name: "TokenPriceQuery";
|
|
1270
2070
|
params: {
|
|
1271
|
-
timestamp: number;
|
|
1272
2071
|
token: {
|
|
1273
|
-
chainId: number;
|
|
1274
2072
|
address: string;
|
|
2073
|
+
chainId: number;
|
|
1275
2074
|
};
|
|
2075
|
+
timestamp: number;
|
|
1276
2076
|
};
|
|
1277
|
-
name: "TokenPriceQuery";
|
|
1278
2077
|
hash: string;
|
|
1279
2078
|
}>;
|
|
1280
2079
|
result: z.ZodObject<{
|
|
@@ -1288,34 +2087,34 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
1288
2087
|
result: {
|
|
1289
2088
|
value: string;
|
|
1290
2089
|
};
|
|
1291
|
-
signature: string;
|
|
1292
2090
|
query: {
|
|
2091
|
+
name: "TokenPriceQuery";
|
|
1293
2092
|
params: {
|
|
1294
|
-
timestamp: number;
|
|
1295
2093
|
token: {
|
|
1296
|
-
chainId: number;
|
|
1297
2094
|
address: string;
|
|
2095
|
+
chainId: number;
|
|
1298
2096
|
};
|
|
2097
|
+
timestamp: number;
|
|
1299
2098
|
};
|
|
1300
|
-
name: "TokenPriceQuery";
|
|
1301
2099
|
hash: string;
|
|
1302
2100
|
};
|
|
2101
|
+
signature: string;
|
|
1303
2102
|
}, {
|
|
1304
2103
|
result: {
|
|
1305
2104
|
value: string;
|
|
1306
2105
|
};
|
|
1307
|
-
signature: string;
|
|
1308
2106
|
query: {
|
|
2107
|
+
name: "TokenPriceQuery";
|
|
1309
2108
|
params: {
|
|
1310
|
-
timestamp: number;
|
|
1311
2109
|
token: {
|
|
1312
|
-
chainId: number;
|
|
1313
2110
|
address: string;
|
|
2111
|
+
chainId: number;
|
|
1314
2112
|
};
|
|
2113
|
+
timestamp: number;
|
|
1315
2114
|
};
|
|
1316
|
-
name: "TokenPriceQuery";
|
|
1317
2115
|
hash: string;
|
|
1318
2116
|
};
|
|
2117
|
+
signature: string;
|
|
1319
2118
|
}>, z.ZodObject<{
|
|
1320
2119
|
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1321
2120
|
query: z.ZodObject<{
|
|
@@ -1325,171 +2124,431 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
1325
2124
|
chainIds: z.ZodArray<z.ZodEffects<z.ZodNumber, number, number>, "many">;
|
|
1326
2125
|
owner: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1327
2126
|
usdMinAmount: z.ZodEffects<z.ZodString, string, string>;
|
|
1328
|
-
timestamp: z.ZodEffects<z.ZodNumber, number, number>;
|
|
1329
2127
|
tokens: z.ZodArray<z.ZodObject<{
|
|
1330
|
-
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
1331
2128
|
address: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2129
|
+
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
1332
2130
|
}, "strip", z.ZodTypeAny, {
|
|
1333
|
-
chainId: number;
|
|
1334
2131
|
address: string;
|
|
1335
|
-
}, {
|
|
1336
2132
|
chainId: number;
|
|
2133
|
+
}, {
|
|
1337
2134
|
address: string;
|
|
2135
|
+
chainId: number;
|
|
1338
2136
|
}>, "many">;
|
|
1339
2137
|
tokenFilter: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>;
|
|
1340
2138
|
}, "strip", z.ZodTypeAny, {
|
|
1341
|
-
|
|
2139
|
+
owner: string;
|
|
1342
2140
|
tokens: {
|
|
1343
|
-
chainId: number;
|
|
1344
2141
|
address: string;
|
|
2142
|
+
chainId: number;
|
|
1345
2143
|
}[];
|
|
1346
|
-
owner: string;
|
|
1347
2144
|
usdMinAmount: string;
|
|
1348
2145
|
chainIds: number[];
|
|
1349
2146
|
tokenFilter: 0 | 1;
|
|
1350
2147
|
}, {
|
|
1351
|
-
|
|
2148
|
+
owner: string;
|
|
1352
2149
|
tokens: {
|
|
1353
|
-
chainId: number;
|
|
1354
2150
|
address: string;
|
|
2151
|
+
chainId: number;
|
|
1355
2152
|
}[];
|
|
1356
|
-
owner: string;
|
|
1357
2153
|
usdMinAmount: string;
|
|
1358
2154
|
chainIds: number[];
|
|
1359
2155
|
tokenFilter: 0 | 1;
|
|
1360
2156
|
}>;
|
|
1361
2157
|
}, "strip", z.ZodTypeAny, {
|
|
2158
|
+
name: "RelevantTokensQuery";
|
|
1362
2159
|
params: {
|
|
1363
|
-
|
|
2160
|
+
owner: string;
|
|
1364
2161
|
tokens: {
|
|
1365
|
-
chainId: number;
|
|
1366
2162
|
address: string;
|
|
2163
|
+
chainId: number;
|
|
1367
2164
|
}[];
|
|
1368
|
-
owner: string;
|
|
1369
2165
|
usdMinAmount: string;
|
|
1370
2166
|
chainIds: number[];
|
|
1371
2167
|
tokenFilter: 0 | 1;
|
|
1372
2168
|
};
|
|
1373
|
-
name: "RelevantTokensQuery";
|
|
1374
2169
|
hash: string;
|
|
1375
2170
|
}, {
|
|
2171
|
+
name: "RelevantTokensQuery";
|
|
1376
2172
|
params: {
|
|
1377
|
-
|
|
2173
|
+
owner: string;
|
|
1378
2174
|
tokens: {
|
|
1379
|
-
chainId: number;
|
|
1380
2175
|
address: string;
|
|
2176
|
+
chainId: number;
|
|
1381
2177
|
}[];
|
|
1382
|
-
owner: string;
|
|
1383
2178
|
usdMinAmount: string;
|
|
1384
2179
|
chainIds: number[];
|
|
1385
2180
|
tokenFilter: 0 | 1;
|
|
1386
2181
|
};
|
|
1387
|
-
name: "RelevantTokensQuery";
|
|
1388
2182
|
hash: string;
|
|
1389
2183
|
}>;
|
|
1390
2184
|
result: z.ZodObject<{
|
|
1391
|
-
value: z.
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
2185
|
+
value: z.ZodObject<{
|
|
2186
|
+
timestamp: z.ZodEffects<z.ZodNumber, number, number>;
|
|
2187
|
+
balances: z.ZodArray<z.ZodObject<{
|
|
2188
|
+
token: z.ZodObject<{
|
|
2189
|
+
address: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2190
|
+
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
2191
|
+
}, "strip", z.ZodTypeAny, {
|
|
2192
|
+
address: string;
|
|
2193
|
+
chainId: number;
|
|
2194
|
+
}, {
|
|
2195
|
+
address: string;
|
|
2196
|
+
chainId: number;
|
|
2197
|
+
}>;
|
|
2198
|
+
balance: z.ZodEffects<z.ZodString, string, string>;
|
|
1395
2199
|
}, "strip", z.ZodTypeAny, {
|
|
1396
|
-
|
|
1397
|
-
|
|
2200
|
+
token: {
|
|
2201
|
+
address: string;
|
|
2202
|
+
chainId: number;
|
|
2203
|
+
};
|
|
2204
|
+
balance: string;
|
|
1398
2205
|
}, {
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
2206
|
+
token: {
|
|
2207
|
+
address: string;
|
|
2208
|
+
chainId: number;
|
|
2209
|
+
};
|
|
2210
|
+
balance: string;
|
|
2211
|
+
}>, "many">;
|
|
1403
2212
|
}, "strip", z.ZodTypeAny, {
|
|
1404
|
-
|
|
2213
|
+
timestamp: number;
|
|
2214
|
+
balances: {
|
|
2215
|
+
token: {
|
|
2216
|
+
address: string;
|
|
2217
|
+
chainId: number;
|
|
2218
|
+
};
|
|
2219
|
+
balance: string;
|
|
2220
|
+
}[];
|
|
2221
|
+
}, {
|
|
2222
|
+
timestamp: number;
|
|
2223
|
+
balances: {
|
|
2224
|
+
token: {
|
|
2225
|
+
address: string;
|
|
2226
|
+
chainId: number;
|
|
2227
|
+
};
|
|
2228
|
+
balance: string;
|
|
2229
|
+
}[];
|
|
2230
|
+
}>;
|
|
2231
|
+
}, "strip", z.ZodTypeAny, {
|
|
2232
|
+
value: {
|
|
2233
|
+
timestamp: number;
|
|
2234
|
+
balances: {
|
|
2235
|
+
token: {
|
|
2236
|
+
address: string;
|
|
2237
|
+
chainId: number;
|
|
2238
|
+
};
|
|
2239
|
+
balance: string;
|
|
2240
|
+
}[];
|
|
2241
|
+
};
|
|
2242
|
+
}, {
|
|
2243
|
+
value: {
|
|
2244
|
+
timestamp: number;
|
|
2245
|
+
balances: {
|
|
2246
|
+
token: {
|
|
2247
|
+
address: string;
|
|
2248
|
+
chainId: number;
|
|
2249
|
+
};
|
|
2250
|
+
balance: string;
|
|
2251
|
+
}[];
|
|
2252
|
+
};
|
|
2253
|
+
}>;
|
|
2254
|
+
}, "strip", z.ZodTypeAny, {
|
|
2255
|
+
result: {
|
|
2256
|
+
value: {
|
|
2257
|
+
timestamp: number;
|
|
2258
|
+
balances: {
|
|
2259
|
+
token: {
|
|
2260
|
+
address: string;
|
|
2261
|
+
chainId: number;
|
|
2262
|
+
};
|
|
2263
|
+
balance: string;
|
|
2264
|
+
}[];
|
|
2265
|
+
};
|
|
2266
|
+
};
|
|
2267
|
+
query: {
|
|
2268
|
+
name: "RelevantTokensQuery";
|
|
2269
|
+
params: {
|
|
2270
|
+
owner: string;
|
|
2271
|
+
tokens: {
|
|
2272
|
+
address: string;
|
|
1405
2273
|
chainId: number;
|
|
2274
|
+
}[];
|
|
2275
|
+
usdMinAmount: string;
|
|
2276
|
+
chainIds: number[];
|
|
2277
|
+
tokenFilter: 0 | 1;
|
|
2278
|
+
};
|
|
2279
|
+
hash: string;
|
|
2280
|
+
};
|
|
2281
|
+
signature: string;
|
|
2282
|
+
}, {
|
|
2283
|
+
result: {
|
|
2284
|
+
value: {
|
|
2285
|
+
timestamp: number;
|
|
2286
|
+
balances: {
|
|
2287
|
+
token: {
|
|
2288
|
+
address: string;
|
|
2289
|
+
chainId: number;
|
|
2290
|
+
};
|
|
2291
|
+
balance: string;
|
|
2292
|
+
}[];
|
|
2293
|
+
};
|
|
2294
|
+
};
|
|
2295
|
+
query: {
|
|
2296
|
+
name: "RelevantTokensQuery";
|
|
2297
|
+
params: {
|
|
2298
|
+
owner: string;
|
|
2299
|
+
tokens: {
|
|
1406
2300
|
address: string;
|
|
1407
|
-
|
|
1408
|
-
|
|
2301
|
+
chainId: number;
|
|
2302
|
+
}[];
|
|
2303
|
+
usdMinAmount: string;
|
|
2304
|
+
chainIds: number[];
|
|
2305
|
+
tokenFilter: 0 | 1;
|
|
2306
|
+
};
|
|
2307
|
+
hash: string;
|
|
2308
|
+
};
|
|
2309
|
+
signature: string;
|
|
2310
|
+
}>, z.ZodObject<{
|
|
2311
|
+
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2312
|
+
query: z.ZodObject<{
|
|
2313
|
+
name: z.ZodLiteral<"SubgraphQuery">;
|
|
2314
|
+
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2315
|
+
params: z.ZodObject<{
|
|
2316
|
+
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
2317
|
+
timestamp: z.ZodEffects<z.ZodNumber, number, number>;
|
|
2318
|
+
subgraphId: z.ZodString;
|
|
2319
|
+
query: z.ZodString;
|
|
2320
|
+
}, "strip", z.ZodTypeAny, {
|
|
2321
|
+
chainId: number;
|
|
2322
|
+
timestamp: number;
|
|
2323
|
+
subgraphId: string;
|
|
2324
|
+
query: string;
|
|
2325
|
+
}, {
|
|
2326
|
+
chainId: number;
|
|
2327
|
+
timestamp: number;
|
|
2328
|
+
subgraphId: string;
|
|
2329
|
+
query: string;
|
|
2330
|
+
}>;
|
|
2331
|
+
}, "strip", z.ZodTypeAny, {
|
|
2332
|
+
name: "SubgraphQuery";
|
|
2333
|
+
params: {
|
|
2334
|
+
chainId: number;
|
|
2335
|
+
timestamp: number;
|
|
2336
|
+
subgraphId: string;
|
|
2337
|
+
query: string;
|
|
2338
|
+
};
|
|
2339
|
+
hash: string;
|
|
2340
|
+
}, {
|
|
2341
|
+
name: "SubgraphQuery";
|
|
2342
|
+
params: {
|
|
2343
|
+
chainId: number;
|
|
2344
|
+
timestamp: number;
|
|
2345
|
+
subgraphId: string;
|
|
2346
|
+
query: string;
|
|
2347
|
+
};
|
|
2348
|
+
hash: string;
|
|
2349
|
+
}>;
|
|
2350
|
+
result: z.ZodObject<{
|
|
2351
|
+
value: z.ZodObject<{
|
|
2352
|
+
blockNumber: z.ZodNumber;
|
|
2353
|
+
data: z.ZodString;
|
|
2354
|
+
}, "strip", z.ZodTypeAny, {
|
|
2355
|
+
data: string;
|
|
2356
|
+
blockNumber: number;
|
|
2357
|
+
}, {
|
|
2358
|
+
data: string;
|
|
2359
|
+
blockNumber: number;
|
|
2360
|
+
}>;
|
|
2361
|
+
}, "strip", z.ZodTypeAny, {
|
|
2362
|
+
value: {
|
|
2363
|
+
data: string;
|
|
2364
|
+
blockNumber: number;
|
|
2365
|
+
};
|
|
2366
|
+
}, {
|
|
2367
|
+
value: {
|
|
2368
|
+
data: string;
|
|
2369
|
+
blockNumber: number;
|
|
2370
|
+
};
|
|
2371
|
+
}>;
|
|
2372
|
+
}, "strip", z.ZodTypeAny, {
|
|
2373
|
+
result: {
|
|
2374
|
+
value: {
|
|
2375
|
+
data: string;
|
|
2376
|
+
blockNumber: number;
|
|
2377
|
+
};
|
|
2378
|
+
};
|
|
2379
|
+
query: {
|
|
2380
|
+
name: "SubgraphQuery";
|
|
2381
|
+
params: {
|
|
2382
|
+
chainId: number;
|
|
2383
|
+
timestamp: number;
|
|
2384
|
+
subgraphId: string;
|
|
2385
|
+
query: string;
|
|
2386
|
+
};
|
|
2387
|
+
hash: string;
|
|
2388
|
+
};
|
|
2389
|
+
signature: string;
|
|
2390
|
+
}, {
|
|
2391
|
+
result: {
|
|
2392
|
+
value: {
|
|
2393
|
+
data: string;
|
|
2394
|
+
blockNumber: number;
|
|
2395
|
+
};
|
|
2396
|
+
};
|
|
2397
|
+
query: {
|
|
2398
|
+
name: "SubgraphQuery";
|
|
2399
|
+
params: {
|
|
2400
|
+
chainId: number;
|
|
2401
|
+
timestamp: number;
|
|
2402
|
+
subgraphId: string;
|
|
2403
|
+
query: string;
|
|
2404
|
+
};
|
|
2405
|
+
hash: string;
|
|
2406
|
+
};
|
|
2407
|
+
signature: string;
|
|
2408
|
+
}>, z.ZodObject<{
|
|
2409
|
+
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2410
|
+
query: z.ZodObject<{
|
|
2411
|
+
name: z.ZodLiteral<"SvmAccountsInfoQuery">;
|
|
2412
|
+
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2413
|
+
params: z.ZodObject<{
|
|
2414
|
+
publicKeys: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
2415
|
+
timestamp: z.ZodEffects<z.ZodNumber, number, number>;
|
|
2416
|
+
}, "strip", z.ZodTypeAny, {
|
|
2417
|
+
timestamp: number;
|
|
2418
|
+
publicKeys: string[];
|
|
2419
|
+
}, {
|
|
2420
|
+
timestamp: number;
|
|
2421
|
+
publicKeys: string[];
|
|
2422
|
+
}>;
|
|
2423
|
+
}, "strip", z.ZodTypeAny, {
|
|
2424
|
+
name: "SvmAccountsInfoQuery";
|
|
2425
|
+
params: {
|
|
2426
|
+
timestamp: number;
|
|
2427
|
+
publicKeys: string[];
|
|
2428
|
+
};
|
|
2429
|
+
hash: string;
|
|
2430
|
+
}, {
|
|
2431
|
+
name: "SvmAccountsInfoQuery";
|
|
2432
|
+
params: {
|
|
2433
|
+
timestamp: number;
|
|
2434
|
+
publicKeys: string[];
|
|
2435
|
+
};
|
|
2436
|
+
hash: string;
|
|
2437
|
+
}>;
|
|
2438
|
+
result: z.ZodObject<{
|
|
2439
|
+
value: z.ZodObject<{
|
|
2440
|
+
accountsInfo: z.ZodArray<z.ZodObject<{
|
|
2441
|
+
executable: z.ZodBoolean;
|
|
2442
|
+
owner: z.ZodEffects<z.ZodString, string, string>;
|
|
2443
|
+
lamports: z.ZodEffects<z.ZodString, string, string>;
|
|
2444
|
+
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2445
|
+
rentEpoch: z.ZodEffects<z.ZodString, string, string>;
|
|
2446
|
+
}, "strip", z.ZodTypeAny, {
|
|
2447
|
+
data: string;
|
|
2448
|
+
executable: boolean;
|
|
2449
|
+
owner: string;
|
|
2450
|
+
lamports: string;
|
|
2451
|
+
rentEpoch: string;
|
|
2452
|
+
}, {
|
|
2453
|
+
data: string;
|
|
2454
|
+
executable: boolean;
|
|
2455
|
+
owner: string;
|
|
2456
|
+
lamports: string;
|
|
2457
|
+
rentEpoch: string;
|
|
2458
|
+
}>, "many">;
|
|
2459
|
+
slot: z.ZodEffects<z.ZodString, string, string>;
|
|
2460
|
+
}, "strip", z.ZodTypeAny, {
|
|
2461
|
+
accountsInfo: {
|
|
2462
|
+
data: string;
|
|
2463
|
+
executable: boolean;
|
|
2464
|
+
owner: string;
|
|
2465
|
+
lamports: string;
|
|
2466
|
+
rentEpoch: string;
|
|
2467
|
+
}[];
|
|
2468
|
+
slot: string;
|
|
1409
2469
|
}, {
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
2470
|
+
accountsInfo: {
|
|
2471
|
+
data: string;
|
|
2472
|
+
executable: boolean;
|
|
2473
|
+
owner: string;
|
|
2474
|
+
lamports: string;
|
|
2475
|
+
rentEpoch: string;
|
|
2476
|
+
}[];
|
|
2477
|
+
slot: string;
|
|
2478
|
+
}>;
|
|
1416
2479
|
}, "strip", z.ZodTypeAny, {
|
|
1417
2480
|
value: {
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
2481
|
+
accountsInfo: {
|
|
2482
|
+
data: string;
|
|
2483
|
+
executable: boolean;
|
|
2484
|
+
owner: string;
|
|
2485
|
+
lamports: string;
|
|
2486
|
+
rentEpoch: string;
|
|
2487
|
+
}[];
|
|
2488
|
+
slot: string;
|
|
2489
|
+
};
|
|
1424
2490
|
}, {
|
|
1425
2491
|
value: {
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
2492
|
+
accountsInfo: {
|
|
2493
|
+
data: string;
|
|
2494
|
+
executable: boolean;
|
|
2495
|
+
owner: string;
|
|
2496
|
+
lamports: string;
|
|
2497
|
+
rentEpoch: string;
|
|
2498
|
+
}[];
|
|
2499
|
+
slot: string;
|
|
2500
|
+
};
|
|
1432
2501
|
}>;
|
|
1433
2502
|
}, "strip", z.ZodTypeAny, {
|
|
1434
2503
|
result: {
|
|
1435
2504
|
value: {
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
2505
|
+
accountsInfo: {
|
|
2506
|
+
data: string;
|
|
2507
|
+
executable: boolean;
|
|
2508
|
+
owner: string;
|
|
2509
|
+
lamports: string;
|
|
2510
|
+
rentEpoch: string;
|
|
2511
|
+
}[];
|
|
2512
|
+
slot: string;
|
|
2513
|
+
};
|
|
1442
2514
|
};
|
|
1443
|
-
signature: string;
|
|
1444
2515
|
query: {
|
|
2516
|
+
name: "SvmAccountsInfoQuery";
|
|
1445
2517
|
params: {
|
|
1446
2518
|
timestamp: number;
|
|
1447
|
-
|
|
1448
|
-
chainId: number;
|
|
1449
|
-
address: string;
|
|
1450
|
-
}[];
|
|
1451
|
-
owner: string;
|
|
1452
|
-
usdMinAmount: string;
|
|
1453
|
-
chainIds: number[];
|
|
1454
|
-
tokenFilter: 0 | 1;
|
|
2519
|
+
publicKeys: string[];
|
|
1455
2520
|
};
|
|
1456
|
-
name: "RelevantTokensQuery";
|
|
1457
2521
|
hash: string;
|
|
1458
2522
|
};
|
|
2523
|
+
signature: string;
|
|
1459
2524
|
}, {
|
|
1460
2525
|
result: {
|
|
1461
2526
|
value: {
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
2527
|
+
accountsInfo: {
|
|
2528
|
+
data: string;
|
|
2529
|
+
executable: boolean;
|
|
2530
|
+
owner: string;
|
|
2531
|
+
lamports: string;
|
|
2532
|
+
rentEpoch: string;
|
|
2533
|
+
}[];
|
|
2534
|
+
slot: string;
|
|
2535
|
+
};
|
|
1468
2536
|
};
|
|
1469
|
-
signature: string;
|
|
1470
2537
|
query: {
|
|
2538
|
+
name: "SvmAccountsInfoQuery";
|
|
1471
2539
|
params: {
|
|
1472
2540
|
timestamp: number;
|
|
1473
|
-
|
|
1474
|
-
chainId: number;
|
|
1475
|
-
address: string;
|
|
1476
|
-
}[];
|
|
1477
|
-
owner: string;
|
|
1478
|
-
usdMinAmount: string;
|
|
1479
|
-
chainIds: number[];
|
|
1480
|
-
tokenFilter: 0 | 1;
|
|
2541
|
+
publicKeys: string[];
|
|
1481
2542
|
};
|
|
1482
|
-
name: "RelevantTokensQuery";
|
|
1483
2543
|
hash: string;
|
|
1484
2544
|
};
|
|
2545
|
+
signature: string;
|
|
1485
2546
|
}>]>, "many">;
|
|
1486
2547
|
outputs: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
1487
|
-
|
|
1488
|
-
user: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2548
|
+
feePayer: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1489
2549
|
settler: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1490
2550
|
nonce: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1491
2551
|
deadline: z.ZodEffects<z.ZodString, string, string>;
|
|
1492
|
-
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1493
2552
|
maxFees: z.ZodArray<z.ZodObject<{
|
|
1494
2553
|
token: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1495
2554
|
amount: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -1500,12 +2559,50 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
1500
2559
|
token: string;
|
|
1501
2560
|
amount: string;
|
|
1502
2561
|
}>, "many">;
|
|
2562
|
+
triggerSig: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2563
|
+
minValidations: z.ZodNumber;
|
|
2564
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
2565
|
+
opType: z.ZodNativeEnum<{
|
|
2566
|
+
readonly Swap: 0;
|
|
2567
|
+
readonly Transfer: 1;
|
|
2568
|
+
readonly EvmCall: 2;
|
|
2569
|
+
readonly CrossChainSwap: 3;
|
|
2570
|
+
readonly EvmDynamicCall: 4;
|
|
2571
|
+
readonly SvmCall: 5;
|
|
2572
|
+
}>;
|
|
2573
|
+
user: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2574
|
+
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2575
|
+
events: z.ZodArray<z.ZodObject<{
|
|
2576
|
+
topic: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2577
|
+
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2578
|
+
}, "strip", z.ZodTypeAny, {
|
|
2579
|
+
data: string;
|
|
2580
|
+
topic: string;
|
|
2581
|
+
}, {
|
|
2582
|
+
data: string;
|
|
2583
|
+
topic: string;
|
|
2584
|
+
}>, "many">;
|
|
2585
|
+
}, "strip", z.ZodTypeAny, {
|
|
2586
|
+
opType: 0 | 1 | 2 | 3 | 4 | 5;
|
|
2587
|
+
user: string;
|
|
2588
|
+
data: string;
|
|
2589
|
+
events: {
|
|
2590
|
+
data: string;
|
|
2591
|
+
topic: string;
|
|
2592
|
+
}[];
|
|
2593
|
+
}, {
|
|
2594
|
+
opType: 0 | 1 | 2 | 3 | 4 | 5;
|
|
2595
|
+
user: string;
|
|
2596
|
+
data: string;
|
|
2597
|
+
events: {
|
|
2598
|
+
data: string;
|
|
2599
|
+
topic: string;
|
|
2600
|
+
}[];
|
|
2601
|
+
}>, "many">;
|
|
1503
2602
|
}, {
|
|
1504
2603
|
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1505
2604
|
}>, "strip", z.ZodTypeAny, {
|
|
1506
|
-
|
|
1507
|
-
op: import("../shared").OpType;
|
|
1508
|
-
user: string;
|
|
2605
|
+
feePayer: string;
|
|
1509
2606
|
settler: string;
|
|
1510
2607
|
nonce: string;
|
|
1511
2608
|
deadline: string;
|
|
@@ -1513,11 +2610,20 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
1513
2610
|
token: string;
|
|
1514
2611
|
amount: string;
|
|
1515
2612
|
}[];
|
|
2613
|
+
triggerSig: string;
|
|
2614
|
+
minValidations: number;
|
|
2615
|
+
operations: {
|
|
2616
|
+
opType: 0 | 1 | 2 | 3 | 4 | 5;
|
|
2617
|
+
user: string;
|
|
2618
|
+
data: string;
|
|
2619
|
+
events: {
|
|
2620
|
+
data: string;
|
|
2621
|
+
topic: string;
|
|
2622
|
+
}[];
|
|
2623
|
+
}[];
|
|
1516
2624
|
hash: string;
|
|
1517
2625
|
}, {
|
|
1518
|
-
|
|
1519
|
-
op: import("../shared").OpType;
|
|
1520
|
-
user: string;
|
|
2626
|
+
feePayer: string;
|
|
1521
2627
|
settler: string;
|
|
1522
2628
|
nonce: string;
|
|
1523
2629
|
deadline: string;
|
|
@@ -1525,122 +2631,195 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
1525
2631
|
token: string;
|
|
1526
2632
|
amount: string;
|
|
1527
2633
|
}[];
|
|
2634
|
+
triggerSig: string;
|
|
2635
|
+
minValidations: number;
|
|
2636
|
+
operations: {
|
|
2637
|
+
opType: 0 | 1 | 2 | 3 | 4 | 5;
|
|
2638
|
+
user: string;
|
|
2639
|
+
data: string;
|
|
2640
|
+
events: {
|
|
2641
|
+
data: string;
|
|
2642
|
+
topic: string;
|
|
2643
|
+
}[];
|
|
2644
|
+
}[];
|
|
1528
2645
|
hash: string;
|
|
1529
2646
|
}>, "many">;
|
|
1530
2647
|
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2648
|
+
result: z.ZodNativeEnum<{
|
|
2649
|
+
readonly succeeded: "succeeded";
|
|
2650
|
+
readonly failed: "failed";
|
|
2651
|
+
}>;
|
|
1531
2652
|
}>, {
|
|
1532
2653
|
relayer: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1533
|
-
status: z.ZodNativeEnum<
|
|
2654
|
+
status: z.ZodNativeEnum<{
|
|
2655
|
+
readonly pending: "pending";
|
|
2656
|
+
readonly valid: "valid";
|
|
2657
|
+
readonly invalid: "invalid";
|
|
2658
|
+
}>;
|
|
1534
2659
|
createdAt: z.ZodDate;
|
|
1535
2660
|
logs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1536
|
-
errorLogs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1537
2661
|
fee: z.ZodOptional<z.ZodObject<{
|
|
1538
|
-
trigger: z.
|
|
1539
|
-
relayer: z.
|
|
1540
|
-
oracles: z.
|
|
1541
|
-
|
|
1542
|
-
intents: z.
|
|
1543
|
-
protocol: z.
|
|
1544
|
-
total: z.
|
|
2662
|
+
trigger: z.ZodEffects<z.ZodString, string, string>;
|
|
2663
|
+
relayer: z.ZodEffects<z.ZodString, string, string>;
|
|
2664
|
+
oracles: z.ZodEffects<z.ZodString, string, string>;
|
|
2665
|
+
validators: z.ZodEffects<z.ZodString, string, string>;
|
|
2666
|
+
intents: z.ZodEffects<z.ZodString, string, string>;
|
|
2667
|
+
protocol: z.ZodEffects<z.ZodString, string, string>;
|
|
2668
|
+
total: z.ZodEffects<z.ZodString, string, string>;
|
|
1545
2669
|
}, "strip", z.ZodTypeAny, {
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
oracles:
|
|
1549
|
-
|
|
1550
|
-
intents:
|
|
1551
|
-
protocol:
|
|
1552
|
-
total:
|
|
2670
|
+
relayer: string;
|
|
2671
|
+
trigger: string;
|
|
2672
|
+
oracles: string;
|
|
2673
|
+
validators: string;
|
|
2674
|
+
intents: string;
|
|
2675
|
+
protocol: string;
|
|
2676
|
+
total: string;
|
|
1553
2677
|
}, {
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
oracles:
|
|
1557
|
-
|
|
1558
|
-
intents:
|
|
1559
|
-
protocol:
|
|
1560
|
-
total:
|
|
2678
|
+
relayer: string;
|
|
2679
|
+
trigger: string;
|
|
2680
|
+
oracles: string;
|
|
2681
|
+
validators: string;
|
|
2682
|
+
intents: string;
|
|
2683
|
+
protocol: string;
|
|
2684
|
+
total: string;
|
|
1561
2685
|
}>>;
|
|
2686
|
+
solverFees: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2687
|
+
address: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2688
|
+
amount: z.ZodEffects<z.ZodString, string, string>;
|
|
2689
|
+
}, "strip", z.ZodTypeAny, {
|
|
2690
|
+
amount: string;
|
|
2691
|
+
address: string;
|
|
2692
|
+
}, {
|
|
2693
|
+
amount: string;
|
|
2694
|
+
address: string;
|
|
2695
|
+
}>, "many">>;
|
|
1562
2696
|
validations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1563
2697
|
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1564
2698
|
succeeded: z.ZodBoolean;
|
|
2699
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1565
2700
|
}, "strip", z.ZodTypeAny, {
|
|
1566
2701
|
succeeded: boolean;
|
|
1567
2702
|
signature: string;
|
|
2703
|
+
description?: string | undefined;
|
|
1568
2704
|
}, {
|
|
1569
2705
|
succeeded: boolean;
|
|
1570
2706
|
signature: string;
|
|
2707
|
+
description?: string | undefined;
|
|
1571
2708
|
}>, "many">>;
|
|
1572
2709
|
}>, "strip", z.ZodTypeAny, {
|
|
2710
|
+
status: "pending" | "valid" | "invalid";
|
|
2711
|
+
triggerSig: string;
|
|
2712
|
+
result: "succeeded" | "failed";
|
|
1573
2713
|
timestamp: number;
|
|
1574
|
-
status: ExecutionStatus;
|
|
1575
|
-
createdAt: Date;
|
|
1576
|
-
configSig: string;
|
|
1577
|
-
triggerType: import("../shared").TriggerType;
|
|
1578
|
-
triggerData: string;
|
|
1579
2714
|
signature: string;
|
|
1580
2715
|
hash: string;
|
|
1581
|
-
fuelUsed: number;
|
|
1582
2716
|
inputs: ({
|
|
1583
2717
|
result: {
|
|
1584
2718
|
value: string;
|
|
1585
2719
|
};
|
|
1586
|
-
signature: string;
|
|
1587
2720
|
query: {
|
|
2721
|
+
name: "EvmCallQuery";
|
|
1588
2722
|
params: {
|
|
2723
|
+
data: string;
|
|
1589
2724
|
chainId: number;
|
|
1590
2725
|
to: string;
|
|
1591
|
-
data: string;
|
|
1592
2726
|
timestamp: number;
|
|
1593
2727
|
};
|
|
1594
|
-
name: "EvmCallQuery";
|
|
1595
2728
|
hash: string;
|
|
1596
2729
|
};
|
|
2730
|
+
signature: string;
|
|
1597
2731
|
} | {
|
|
1598
2732
|
result: {
|
|
1599
|
-
value:
|
|
2733
|
+
value: {
|
|
2734
|
+
accountsInfo: {
|
|
2735
|
+
data: string;
|
|
2736
|
+
executable: boolean;
|
|
2737
|
+
owner: string;
|
|
2738
|
+
lamports: string;
|
|
2739
|
+
rentEpoch: string;
|
|
2740
|
+
}[];
|
|
2741
|
+
slot: string;
|
|
2742
|
+
};
|
|
1600
2743
|
};
|
|
1601
|
-
signature: string;
|
|
1602
2744
|
query: {
|
|
2745
|
+
name: "SvmAccountsInfoQuery";
|
|
1603
2746
|
params: {
|
|
1604
2747
|
timestamp: number;
|
|
1605
|
-
|
|
1606
|
-
chainId: number;
|
|
1607
|
-
address: string;
|
|
1608
|
-
};
|
|
2748
|
+
publicKeys: string[];
|
|
1609
2749
|
};
|
|
1610
|
-
name: "TokenPriceQuery";
|
|
1611
2750
|
hash: string;
|
|
1612
2751
|
};
|
|
2752
|
+
signature: string;
|
|
1613
2753
|
} | {
|
|
1614
2754
|
result: {
|
|
1615
|
-
value:
|
|
2755
|
+
value: string;
|
|
2756
|
+
};
|
|
2757
|
+
query: {
|
|
2758
|
+
name: "TokenPriceQuery";
|
|
2759
|
+
params: {
|
|
1616
2760
|
token: {
|
|
1617
|
-
chainId: number;
|
|
1618
2761
|
address: string;
|
|
2762
|
+
chainId: number;
|
|
1619
2763
|
};
|
|
1620
|
-
|
|
1621
|
-
}
|
|
2764
|
+
timestamp: number;
|
|
2765
|
+
};
|
|
2766
|
+
hash: string;
|
|
1622
2767
|
};
|
|
1623
2768
|
signature: string;
|
|
2769
|
+
} | {
|
|
2770
|
+
result: {
|
|
2771
|
+
value: {
|
|
2772
|
+
timestamp: number;
|
|
2773
|
+
balances: {
|
|
2774
|
+
token: {
|
|
2775
|
+
address: string;
|
|
2776
|
+
chainId: number;
|
|
2777
|
+
};
|
|
2778
|
+
balance: string;
|
|
2779
|
+
}[];
|
|
2780
|
+
};
|
|
2781
|
+
};
|
|
1624
2782
|
query: {
|
|
2783
|
+
name: "RelevantTokensQuery";
|
|
1625
2784
|
params: {
|
|
1626
|
-
|
|
2785
|
+
owner: string;
|
|
1627
2786
|
tokens: {
|
|
1628
|
-
chainId: number;
|
|
1629
2787
|
address: string;
|
|
2788
|
+
chainId: number;
|
|
1630
2789
|
}[];
|
|
1631
|
-
owner: string;
|
|
1632
2790
|
usdMinAmount: string;
|
|
1633
2791
|
chainIds: number[];
|
|
1634
2792
|
tokenFilter: 0 | 1;
|
|
1635
2793
|
};
|
|
1636
|
-
name: "RelevantTokensQuery";
|
|
1637
2794
|
hash: string;
|
|
1638
2795
|
};
|
|
2796
|
+
signature: string;
|
|
2797
|
+
} | {
|
|
2798
|
+
result: {
|
|
2799
|
+
value: {
|
|
2800
|
+
data: string;
|
|
2801
|
+
blockNumber: number;
|
|
2802
|
+
};
|
|
2803
|
+
};
|
|
2804
|
+
query: {
|
|
2805
|
+
name: "SubgraphQuery";
|
|
2806
|
+
params: {
|
|
2807
|
+
chainId: number;
|
|
2808
|
+
timestamp: number;
|
|
2809
|
+
subgraphId: string;
|
|
2810
|
+
query: string;
|
|
2811
|
+
};
|
|
2812
|
+
hash: string;
|
|
2813
|
+
};
|
|
2814
|
+
signature: string;
|
|
1639
2815
|
})[];
|
|
2816
|
+
createdAt: Date;
|
|
2817
|
+
relayer: string;
|
|
2818
|
+
triggerType: 0 | 1 | 2;
|
|
2819
|
+
fuelUsed: number;
|
|
2820
|
+
triggerData: string;
|
|
1640
2821
|
outputs: {
|
|
1641
|
-
|
|
1642
|
-
op: import("../shared").OpType;
|
|
1643
|
-
user: string;
|
|
2822
|
+
feePayer: string;
|
|
1644
2823
|
settler: string;
|
|
1645
2824
|
nonce: string;
|
|
1646
2825
|
deadline: string;
|
|
@@ -1648,96 +2827,152 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
1648
2827
|
token: string;
|
|
1649
2828
|
amount: string;
|
|
1650
2829
|
}[];
|
|
2830
|
+
triggerSig: string;
|
|
2831
|
+
minValidations: number;
|
|
2832
|
+
operations: {
|
|
2833
|
+
opType: 0 | 1 | 2 | 3 | 4 | 5;
|
|
2834
|
+
user: string;
|
|
2835
|
+
data: string;
|
|
2836
|
+
events: {
|
|
2837
|
+
data: string;
|
|
2838
|
+
topic: string;
|
|
2839
|
+
}[];
|
|
2840
|
+
}[];
|
|
1651
2841
|
hash: string;
|
|
1652
2842
|
}[];
|
|
1653
|
-
relayer: string;
|
|
1654
|
-
logs?: string[] | undefined;
|
|
1655
|
-
errorLogs?: string[] | undefined;
|
|
1656
2843
|
fee?: {
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
oracles:
|
|
1660
|
-
|
|
1661
|
-
intents:
|
|
1662
|
-
protocol:
|
|
1663
|
-
total:
|
|
2844
|
+
relayer: string;
|
|
2845
|
+
trigger: string;
|
|
2846
|
+
oracles: string;
|
|
2847
|
+
validators: string;
|
|
2848
|
+
intents: string;
|
|
2849
|
+
protocol: string;
|
|
2850
|
+
total: string;
|
|
1664
2851
|
} | undefined;
|
|
1665
2852
|
validations?: {
|
|
1666
2853
|
succeeded: boolean;
|
|
1667
2854
|
signature: string;
|
|
2855
|
+
description?: string | undefined;
|
|
2856
|
+
}[] | undefined;
|
|
2857
|
+
logs?: string[] | undefined;
|
|
2858
|
+
solverFees?: {
|
|
2859
|
+
amount: string;
|
|
2860
|
+
address: string;
|
|
1668
2861
|
}[] | undefined;
|
|
1669
2862
|
}, {
|
|
2863
|
+
status: "pending" | "valid" | "invalid";
|
|
2864
|
+
triggerSig: string;
|
|
2865
|
+
result: "succeeded" | "failed";
|
|
1670
2866
|
timestamp: number;
|
|
1671
|
-
status: ExecutionStatus;
|
|
1672
|
-
createdAt: Date;
|
|
1673
|
-
configSig: string;
|
|
1674
|
-
triggerType: import("../shared").TriggerType;
|
|
1675
|
-
triggerData: string;
|
|
1676
2867
|
signature: string;
|
|
1677
2868
|
hash: string;
|
|
1678
|
-
fuelUsed: number;
|
|
1679
2869
|
inputs: ({
|
|
1680
2870
|
result: {
|
|
1681
2871
|
value: string;
|
|
1682
2872
|
};
|
|
1683
|
-
signature: string;
|
|
1684
2873
|
query: {
|
|
2874
|
+
name: "EvmCallQuery";
|
|
1685
2875
|
params: {
|
|
2876
|
+
data: string;
|
|
1686
2877
|
chainId: number;
|
|
1687
2878
|
to: string;
|
|
1688
|
-
data: string;
|
|
1689
2879
|
timestamp: number;
|
|
1690
2880
|
};
|
|
1691
|
-
name: "EvmCallQuery";
|
|
1692
2881
|
hash: string;
|
|
1693
2882
|
};
|
|
2883
|
+
signature: string;
|
|
1694
2884
|
} | {
|
|
1695
2885
|
result: {
|
|
1696
|
-
value:
|
|
2886
|
+
value: {
|
|
2887
|
+
accountsInfo: {
|
|
2888
|
+
data: string;
|
|
2889
|
+
executable: boolean;
|
|
2890
|
+
owner: string;
|
|
2891
|
+
lamports: string;
|
|
2892
|
+
rentEpoch: string;
|
|
2893
|
+
}[];
|
|
2894
|
+
slot: string;
|
|
2895
|
+
};
|
|
1697
2896
|
};
|
|
1698
|
-
signature: string;
|
|
1699
2897
|
query: {
|
|
2898
|
+
name: "SvmAccountsInfoQuery";
|
|
1700
2899
|
params: {
|
|
1701
2900
|
timestamp: number;
|
|
1702
|
-
|
|
1703
|
-
chainId: number;
|
|
1704
|
-
address: string;
|
|
1705
|
-
};
|
|
2901
|
+
publicKeys: string[];
|
|
1706
2902
|
};
|
|
1707
|
-
name: "TokenPriceQuery";
|
|
1708
2903
|
hash: string;
|
|
1709
2904
|
};
|
|
2905
|
+
signature: string;
|
|
1710
2906
|
} | {
|
|
1711
2907
|
result: {
|
|
1712
|
-
value:
|
|
2908
|
+
value: string;
|
|
2909
|
+
};
|
|
2910
|
+
query: {
|
|
2911
|
+
name: "TokenPriceQuery";
|
|
2912
|
+
params: {
|
|
1713
2913
|
token: {
|
|
1714
|
-
chainId: number;
|
|
1715
2914
|
address: string;
|
|
2915
|
+
chainId: number;
|
|
1716
2916
|
};
|
|
1717
|
-
|
|
1718
|
-
}
|
|
2917
|
+
timestamp: number;
|
|
2918
|
+
};
|
|
2919
|
+
hash: string;
|
|
1719
2920
|
};
|
|
1720
2921
|
signature: string;
|
|
2922
|
+
} | {
|
|
2923
|
+
result: {
|
|
2924
|
+
value: {
|
|
2925
|
+
timestamp: number;
|
|
2926
|
+
balances: {
|
|
2927
|
+
token: {
|
|
2928
|
+
address: string;
|
|
2929
|
+
chainId: number;
|
|
2930
|
+
};
|
|
2931
|
+
balance: string;
|
|
2932
|
+
}[];
|
|
2933
|
+
};
|
|
2934
|
+
};
|
|
1721
2935
|
query: {
|
|
2936
|
+
name: "RelevantTokensQuery";
|
|
1722
2937
|
params: {
|
|
1723
|
-
|
|
2938
|
+
owner: string;
|
|
1724
2939
|
tokens: {
|
|
1725
|
-
chainId: number;
|
|
1726
2940
|
address: string;
|
|
2941
|
+
chainId: number;
|
|
1727
2942
|
}[];
|
|
1728
|
-
owner: string;
|
|
1729
2943
|
usdMinAmount: string;
|
|
1730
2944
|
chainIds: number[];
|
|
1731
2945
|
tokenFilter: 0 | 1;
|
|
1732
2946
|
};
|
|
1733
|
-
name: "RelevantTokensQuery";
|
|
1734
2947
|
hash: string;
|
|
1735
2948
|
};
|
|
2949
|
+
signature: string;
|
|
2950
|
+
} | {
|
|
2951
|
+
result: {
|
|
2952
|
+
value: {
|
|
2953
|
+
data: string;
|
|
2954
|
+
blockNumber: number;
|
|
2955
|
+
};
|
|
2956
|
+
};
|
|
2957
|
+
query: {
|
|
2958
|
+
name: "SubgraphQuery";
|
|
2959
|
+
params: {
|
|
2960
|
+
chainId: number;
|
|
2961
|
+
timestamp: number;
|
|
2962
|
+
subgraphId: string;
|
|
2963
|
+
query: string;
|
|
2964
|
+
};
|
|
2965
|
+
hash: string;
|
|
2966
|
+
};
|
|
2967
|
+
signature: string;
|
|
1736
2968
|
})[];
|
|
2969
|
+
createdAt: Date;
|
|
2970
|
+
relayer: string;
|
|
2971
|
+
triggerType: 0 | 1 | 2;
|
|
2972
|
+
fuelUsed: number;
|
|
2973
|
+
triggerData: string;
|
|
1737
2974
|
outputs: {
|
|
1738
|
-
|
|
1739
|
-
op: import("../shared").OpType;
|
|
1740
|
-
user: string;
|
|
2975
|
+
feePayer: string;
|
|
1741
2976
|
settler: string;
|
|
1742
2977
|
nonce: string;
|
|
1743
2978
|
deadline: string;
|
|
@@ -1745,43 +2980,52 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
1745
2980
|
token: string;
|
|
1746
2981
|
amount: string;
|
|
1747
2982
|
}[];
|
|
2983
|
+
triggerSig: string;
|
|
2984
|
+
minValidations: number;
|
|
2985
|
+
operations: {
|
|
2986
|
+
opType: 0 | 1 | 2 | 3 | 4 | 5;
|
|
2987
|
+
user: string;
|
|
2988
|
+
data: string;
|
|
2989
|
+
events: {
|
|
2990
|
+
data: string;
|
|
2991
|
+
topic: string;
|
|
2992
|
+
}[];
|
|
2993
|
+
}[];
|
|
1748
2994
|
hash: string;
|
|
1749
2995
|
}[];
|
|
1750
|
-
relayer: string;
|
|
1751
|
-
logs?: string[] | undefined;
|
|
1752
|
-
errorLogs?: string[] | undefined;
|
|
1753
2996
|
fee?: {
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
oracles:
|
|
1757
|
-
|
|
1758
|
-
intents:
|
|
1759
|
-
protocol:
|
|
1760
|
-
total:
|
|
2997
|
+
relayer: string;
|
|
2998
|
+
trigger: string;
|
|
2999
|
+
oracles: string;
|
|
3000
|
+
validators: string;
|
|
3001
|
+
intents: string;
|
|
3002
|
+
protocol: string;
|
|
3003
|
+
total: string;
|
|
1761
3004
|
} | undefined;
|
|
1762
3005
|
validations?: {
|
|
1763
3006
|
succeeded: boolean;
|
|
1764
3007
|
signature: string;
|
|
3008
|
+
description?: string | undefined;
|
|
3009
|
+
}[] | undefined;
|
|
3010
|
+
logs?: string[] | undefined;
|
|
3011
|
+
solverFees?: {
|
|
3012
|
+
amount: string;
|
|
3013
|
+
address: string;
|
|
1765
3014
|
}[] | undefined;
|
|
1766
3015
|
}>;
|
|
1767
3016
|
export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1768
|
-
|
|
1769
|
-
triggerType: z.ZodNativeEnum<
|
|
3017
|
+
triggerSig: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
3018
|
+
triggerType: z.ZodNativeEnum<{
|
|
3019
|
+
readonly Cron: 0;
|
|
3020
|
+
readonly Event: 1;
|
|
3021
|
+
readonly Once: 2;
|
|
3022
|
+
}>;
|
|
1770
3023
|
triggerData: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1771
3024
|
}, {
|
|
1772
3025
|
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1773
3026
|
timestamp: z.ZodNumber;
|
|
1774
3027
|
fuelUsed: z.ZodNumber;
|
|
1775
|
-
logs: z.ZodArray<z.
|
|
1776
|
-
level: z.ZodNativeEnum<typeof import("../shared").LogLevel>;
|
|
1777
|
-
log: z.ZodString;
|
|
1778
|
-
}, "strip", z.ZodTypeAny, {
|
|
1779
|
-
level: import("../shared").LogLevel;
|
|
1780
|
-
log: string;
|
|
1781
|
-
}, {
|
|
1782
|
-
level: import("../shared").LogLevel;
|
|
1783
|
-
log: string;
|
|
1784
|
-
}>, "many">;
|
|
3028
|
+
logs: z.ZodArray<z.ZodString, "many">;
|
|
1785
3029
|
inputs: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
1786
3030
|
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1787
3031
|
query: z.ZodObject<{
|
|
@@ -1790,36 +3034,36 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
1790
3034
|
params: z.ZodObject<{
|
|
1791
3035
|
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
1792
3036
|
timestamp: z.ZodEffects<z.ZodNumber, number, number>;
|
|
1793
|
-
to: z.ZodEffects<z.
|
|
3037
|
+
to: z.ZodEffects<z.ZodString, string, string>;
|
|
1794
3038
|
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1795
3039
|
}, "strip", z.ZodTypeAny, {
|
|
3040
|
+
data: string;
|
|
1796
3041
|
chainId: number;
|
|
1797
3042
|
to: string;
|
|
1798
|
-
data: string;
|
|
1799
3043
|
timestamp: number;
|
|
1800
3044
|
}, {
|
|
3045
|
+
data: string;
|
|
1801
3046
|
chainId: number;
|
|
1802
3047
|
to: string;
|
|
1803
|
-
data: string;
|
|
1804
3048
|
timestamp: number;
|
|
1805
3049
|
}>;
|
|
1806
3050
|
}, "strip", z.ZodTypeAny, {
|
|
3051
|
+
name: "EvmCallQuery";
|
|
1807
3052
|
params: {
|
|
3053
|
+
data: string;
|
|
1808
3054
|
chainId: number;
|
|
1809
3055
|
to: string;
|
|
1810
|
-
data: string;
|
|
1811
3056
|
timestamp: number;
|
|
1812
3057
|
};
|
|
1813
|
-
name: "EvmCallQuery";
|
|
1814
3058
|
hash: string;
|
|
1815
3059
|
}, {
|
|
3060
|
+
name: "EvmCallQuery";
|
|
1816
3061
|
params: {
|
|
3062
|
+
data: string;
|
|
1817
3063
|
chainId: number;
|
|
1818
3064
|
to: string;
|
|
1819
|
-
data: string;
|
|
1820
3065
|
timestamp: number;
|
|
1821
3066
|
};
|
|
1822
|
-
name: "EvmCallQuery";
|
|
1823
3067
|
hash: string;
|
|
1824
3068
|
}>;
|
|
1825
3069
|
result: z.ZodObject<{
|
|
@@ -1833,32 +3077,32 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
1833
3077
|
result: {
|
|
1834
3078
|
value: string;
|
|
1835
3079
|
};
|
|
1836
|
-
signature: string;
|
|
1837
3080
|
query: {
|
|
3081
|
+
name: "EvmCallQuery";
|
|
1838
3082
|
params: {
|
|
3083
|
+
data: string;
|
|
1839
3084
|
chainId: number;
|
|
1840
3085
|
to: string;
|
|
1841
|
-
data: string;
|
|
1842
3086
|
timestamp: number;
|
|
1843
3087
|
};
|
|
1844
|
-
name: "EvmCallQuery";
|
|
1845
3088
|
hash: string;
|
|
1846
3089
|
};
|
|
3090
|
+
signature: string;
|
|
1847
3091
|
}, {
|
|
1848
3092
|
result: {
|
|
1849
3093
|
value: string;
|
|
1850
3094
|
};
|
|
1851
|
-
signature: string;
|
|
1852
3095
|
query: {
|
|
3096
|
+
name: "EvmCallQuery";
|
|
1853
3097
|
params: {
|
|
3098
|
+
data: string;
|
|
1854
3099
|
chainId: number;
|
|
1855
3100
|
to: string;
|
|
1856
|
-
data: string;
|
|
1857
3101
|
timestamp: number;
|
|
1858
3102
|
};
|
|
1859
|
-
name: "EvmCallQuery";
|
|
1860
3103
|
hash: string;
|
|
1861
3104
|
};
|
|
3105
|
+
signature: string;
|
|
1862
3106
|
}>, z.ZodObject<{
|
|
1863
3107
|
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1864
3108
|
query: z.ZodObject<{
|
|
@@ -1870,44 +3114,44 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
1870
3114
|
address: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1871
3115
|
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
1872
3116
|
}, "strip", z.ZodTypeAny, {
|
|
1873
|
-
chainId: number;
|
|
1874
3117
|
address: string;
|
|
1875
|
-
}, {
|
|
1876
3118
|
chainId: number;
|
|
3119
|
+
}, {
|
|
1877
3120
|
address: string;
|
|
3121
|
+
chainId: number;
|
|
1878
3122
|
}>;
|
|
1879
3123
|
}, "strip", z.ZodTypeAny, {
|
|
1880
|
-
timestamp: number;
|
|
1881
3124
|
token: {
|
|
1882
|
-
chainId: number;
|
|
1883
3125
|
address: string;
|
|
3126
|
+
chainId: number;
|
|
1884
3127
|
};
|
|
1885
|
-
}, {
|
|
1886
3128
|
timestamp: number;
|
|
3129
|
+
}, {
|
|
1887
3130
|
token: {
|
|
1888
|
-
chainId: number;
|
|
1889
3131
|
address: string;
|
|
3132
|
+
chainId: number;
|
|
1890
3133
|
};
|
|
3134
|
+
timestamp: number;
|
|
1891
3135
|
}>;
|
|
1892
3136
|
}, "strip", z.ZodTypeAny, {
|
|
3137
|
+
name: "TokenPriceQuery";
|
|
1893
3138
|
params: {
|
|
1894
|
-
timestamp: number;
|
|
1895
3139
|
token: {
|
|
1896
|
-
chainId: number;
|
|
1897
3140
|
address: string;
|
|
3141
|
+
chainId: number;
|
|
1898
3142
|
};
|
|
3143
|
+
timestamp: number;
|
|
1899
3144
|
};
|
|
1900
|
-
name: "TokenPriceQuery";
|
|
1901
3145
|
hash: string;
|
|
1902
3146
|
}, {
|
|
3147
|
+
name: "TokenPriceQuery";
|
|
1903
3148
|
params: {
|
|
1904
|
-
timestamp: number;
|
|
1905
3149
|
token: {
|
|
1906
|
-
chainId: number;
|
|
1907
3150
|
address: string;
|
|
3151
|
+
chainId: number;
|
|
1908
3152
|
};
|
|
3153
|
+
timestamp: number;
|
|
1909
3154
|
};
|
|
1910
|
-
name: "TokenPriceQuery";
|
|
1911
3155
|
hash: string;
|
|
1912
3156
|
}>;
|
|
1913
3157
|
result: z.ZodObject<{
|
|
@@ -1921,34 +3165,34 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
1921
3165
|
result: {
|
|
1922
3166
|
value: string;
|
|
1923
3167
|
};
|
|
1924
|
-
signature: string;
|
|
1925
3168
|
query: {
|
|
3169
|
+
name: "TokenPriceQuery";
|
|
1926
3170
|
params: {
|
|
1927
|
-
timestamp: number;
|
|
1928
3171
|
token: {
|
|
1929
|
-
chainId: number;
|
|
1930
3172
|
address: string;
|
|
3173
|
+
chainId: number;
|
|
1931
3174
|
};
|
|
3175
|
+
timestamp: number;
|
|
1932
3176
|
};
|
|
1933
|
-
name: "TokenPriceQuery";
|
|
1934
3177
|
hash: string;
|
|
1935
3178
|
};
|
|
3179
|
+
signature: string;
|
|
1936
3180
|
}, {
|
|
1937
3181
|
result: {
|
|
1938
3182
|
value: string;
|
|
1939
3183
|
};
|
|
1940
|
-
signature: string;
|
|
1941
3184
|
query: {
|
|
3185
|
+
name: "TokenPriceQuery";
|
|
1942
3186
|
params: {
|
|
1943
|
-
timestamp: number;
|
|
1944
3187
|
token: {
|
|
1945
|
-
chainId: number;
|
|
1946
3188
|
address: string;
|
|
3189
|
+
chainId: number;
|
|
1947
3190
|
};
|
|
3191
|
+
timestamp: number;
|
|
1948
3192
|
};
|
|
1949
|
-
name: "TokenPriceQuery";
|
|
1950
3193
|
hash: string;
|
|
1951
3194
|
};
|
|
3195
|
+
signature: string;
|
|
1952
3196
|
}>, z.ZodObject<{
|
|
1953
3197
|
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1954
3198
|
query: z.ZodObject<{
|
|
@@ -1958,171 +3202,431 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
1958
3202
|
chainIds: z.ZodArray<z.ZodEffects<z.ZodNumber, number, number>, "many">;
|
|
1959
3203
|
owner: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1960
3204
|
usdMinAmount: z.ZodEffects<z.ZodString, string, string>;
|
|
1961
|
-
timestamp: z.ZodEffects<z.ZodNumber, number, number>;
|
|
1962
3205
|
tokens: z.ZodArray<z.ZodObject<{
|
|
1963
|
-
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
1964
3206
|
address: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
3207
|
+
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
1965
3208
|
}, "strip", z.ZodTypeAny, {
|
|
1966
|
-
chainId: number;
|
|
1967
3209
|
address: string;
|
|
1968
|
-
}, {
|
|
1969
3210
|
chainId: number;
|
|
3211
|
+
}, {
|
|
1970
3212
|
address: string;
|
|
3213
|
+
chainId: number;
|
|
1971
3214
|
}>, "many">;
|
|
1972
3215
|
tokenFilter: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>;
|
|
1973
3216
|
}, "strip", z.ZodTypeAny, {
|
|
1974
|
-
|
|
3217
|
+
owner: string;
|
|
1975
3218
|
tokens: {
|
|
1976
|
-
chainId: number;
|
|
1977
3219
|
address: string;
|
|
3220
|
+
chainId: number;
|
|
1978
3221
|
}[];
|
|
1979
|
-
owner: string;
|
|
1980
3222
|
usdMinAmount: string;
|
|
1981
3223
|
chainIds: number[];
|
|
1982
3224
|
tokenFilter: 0 | 1;
|
|
1983
3225
|
}, {
|
|
1984
|
-
|
|
3226
|
+
owner: string;
|
|
1985
3227
|
tokens: {
|
|
1986
|
-
chainId: number;
|
|
1987
3228
|
address: string;
|
|
3229
|
+
chainId: number;
|
|
1988
3230
|
}[];
|
|
1989
|
-
owner: string;
|
|
1990
3231
|
usdMinAmount: string;
|
|
1991
3232
|
chainIds: number[];
|
|
1992
3233
|
tokenFilter: 0 | 1;
|
|
1993
3234
|
}>;
|
|
1994
3235
|
}, "strip", z.ZodTypeAny, {
|
|
3236
|
+
name: "RelevantTokensQuery";
|
|
1995
3237
|
params: {
|
|
1996
|
-
|
|
3238
|
+
owner: string;
|
|
1997
3239
|
tokens: {
|
|
1998
|
-
chainId: number;
|
|
1999
3240
|
address: string;
|
|
3241
|
+
chainId: number;
|
|
2000
3242
|
}[];
|
|
2001
|
-
owner: string;
|
|
2002
3243
|
usdMinAmount: string;
|
|
2003
3244
|
chainIds: number[];
|
|
2004
3245
|
tokenFilter: 0 | 1;
|
|
2005
3246
|
};
|
|
2006
|
-
name: "RelevantTokensQuery";
|
|
2007
3247
|
hash: string;
|
|
2008
3248
|
}, {
|
|
3249
|
+
name: "RelevantTokensQuery";
|
|
2009
3250
|
params: {
|
|
2010
|
-
|
|
3251
|
+
owner: string;
|
|
2011
3252
|
tokens: {
|
|
2012
|
-
chainId: number;
|
|
2013
3253
|
address: string;
|
|
3254
|
+
chainId: number;
|
|
2014
3255
|
}[];
|
|
2015
|
-
owner: string;
|
|
2016
3256
|
usdMinAmount: string;
|
|
2017
3257
|
chainIds: number[];
|
|
2018
3258
|
tokenFilter: 0 | 1;
|
|
2019
3259
|
};
|
|
2020
|
-
name: "RelevantTokensQuery";
|
|
2021
3260
|
hash: string;
|
|
2022
3261
|
}>;
|
|
2023
3262
|
result: z.ZodObject<{
|
|
2024
|
-
value: z.
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
3263
|
+
value: z.ZodObject<{
|
|
3264
|
+
timestamp: z.ZodEffects<z.ZodNumber, number, number>;
|
|
3265
|
+
balances: z.ZodArray<z.ZodObject<{
|
|
3266
|
+
token: z.ZodObject<{
|
|
3267
|
+
address: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
3268
|
+
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
3269
|
+
}, "strip", z.ZodTypeAny, {
|
|
3270
|
+
address: string;
|
|
3271
|
+
chainId: number;
|
|
3272
|
+
}, {
|
|
3273
|
+
address: string;
|
|
3274
|
+
chainId: number;
|
|
3275
|
+
}>;
|
|
3276
|
+
balance: z.ZodEffects<z.ZodString, string, string>;
|
|
2028
3277
|
}, "strip", z.ZodTypeAny, {
|
|
2029
|
-
|
|
2030
|
-
|
|
3278
|
+
token: {
|
|
3279
|
+
address: string;
|
|
3280
|
+
chainId: number;
|
|
3281
|
+
};
|
|
3282
|
+
balance: string;
|
|
2031
3283
|
}, {
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
3284
|
+
token: {
|
|
3285
|
+
address: string;
|
|
3286
|
+
chainId: number;
|
|
3287
|
+
};
|
|
3288
|
+
balance: string;
|
|
3289
|
+
}>, "many">;
|
|
2036
3290
|
}, "strip", z.ZodTypeAny, {
|
|
2037
|
-
|
|
3291
|
+
timestamp: number;
|
|
3292
|
+
balances: {
|
|
3293
|
+
token: {
|
|
3294
|
+
address: string;
|
|
3295
|
+
chainId: number;
|
|
3296
|
+
};
|
|
3297
|
+
balance: string;
|
|
3298
|
+
}[];
|
|
3299
|
+
}, {
|
|
3300
|
+
timestamp: number;
|
|
3301
|
+
balances: {
|
|
3302
|
+
token: {
|
|
3303
|
+
address: string;
|
|
3304
|
+
chainId: number;
|
|
3305
|
+
};
|
|
3306
|
+
balance: string;
|
|
3307
|
+
}[];
|
|
3308
|
+
}>;
|
|
3309
|
+
}, "strip", z.ZodTypeAny, {
|
|
3310
|
+
value: {
|
|
3311
|
+
timestamp: number;
|
|
3312
|
+
balances: {
|
|
3313
|
+
token: {
|
|
3314
|
+
address: string;
|
|
3315
|
+
chainId: number;
|
|
3316
|
+
};
|
|
3317
|
+
balance: string;
|
|
3318
|
+
}[];
|
|
3319
|
+
};
|
|
3320
|
+
}, {
|
|
3321
|
+
value: {
|
|
3322
|
+
timestamp: number;
|
|
3323
|
+
balances: {
|
|
3324
|
+
token: {
|
|
3325
|
+
address: string;
|
|
3326
|
+
chainId: number;
|
|
3327
|
+
};
|
|
3328
|
+
balance: string;
|
|
3329
|
+
}[];
|
|
3330
|
+
};
|
|
3331
|
+
}>;
|
|
3332
|
+
}, "strip", z.ZodTypeAny, {
|
|
3333
|
+
result: {
|
|
3334
|
+
value: {
|
|
3335
|
+
timestamp: number;
|
|
3336
|
+
balances: {
|
|
3337
|
+
token: {
|
|
3338
|
+
address: string;
|
|
3339
|
+
chainId: number;
|
|
3340
|
+
};
|
|
3341
|
+
balance: string;
|
|
3342
|
+
}[];
|
|
3343
|
+
};
|
|
3344
|
+
};
|
|
3345
|
+
query: {
|
|
3346
|
+
name: "RelevantTokensQuery";
|
|
3347
|
+
params: {
|
|
3348
|
+
owner: string;
|
|
3349
|
+
tokens: {
|
|
3350
|
+
address: string;
|
|
2038
3351
|
chainId: number;
|
|
3352
|
+
}[];
|
|
3353
|
+
usdMinAmount: string;
|
|
3354
|
+
chainIds: number[];
|
|
3355
|
+
tokenFilter: 0 | 1;
|
|
3356
|
+
};
|
|
3357
|
+
hash: string;
|
|
3358
|
+
};
|
|
3359
|
+
signature: string;
|
|
3360
|
+
}, {
|
|
3361
|
+
result: {
|
|
3362
|
+
value: {
|
|
3363
|
+
timestamp: number;
|
|
3364
|
+
balances: {
|
|
3365
|
+
token: {
|
|
3366
|
+
address: string;
|
|
3367
|
+
chainId: number;
|
|
3368
|
+
};
|
|
3369
|
+
balance: string;
|
|
3370
|
+
}[];
|
|
3371
|
+
};
|
|
3372
|
+
};
|
|
3373
|
+
query: {
|
|
3374
|
+
name: "RelevantTokensQuery";
|
|
3375
|
+
params: {
|
|
3376
|
+
owner: string;
|
|
3377
|
+
tokens: {
|
|
2039
3378
|
address: string;
|
|
2040
|
-
|
|
2041
|
-
|
|
3379
|
+
chainId: number;
|
|
3380
|
+
}[];
|
|
3381
|
+
usdMinAmount: string;
|
|
3382
|
+
chainIds: number[];
|
|
3383
|
+
tokenFilter: 0 | 1;
|
|
3384
|
+
};
|
|
3385
|
+
hash: string;
|
|
3386
|
+
};
|
|
3387
|
+
signature: string;
|
|
3388
|
+
}>, z.ZodObject<{
|
|
3389
|
+
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
3390
|
+
query: z.ZodObject<{
|
|
3391
|
+
name: z.ZodLiteral<"SubgraphQuery">;
|
|
3392
|
+
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
3393
|
+
params: z.ZodObject<{
|
|
3394
|
+
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
3395
|
+
timestamp: z.ZodEffects<z.ZodNumber, number, number>;
|
|
3396
|
+
subgraphId: z.ZodString;
|
|
3397
|
+
query: z.ZodString;
|
|
3398
|
+
}, "strip", z.ZodTypeAny, {
|
|
3399
|
+
chainId: number;
|
|
3400
|
+
timestamp: number;
|
|
3401
|
+
subgraphId: string;
|
|
3402
|
+
query: string;
|
|
3403
|
+
}, {
|
|
3404
|
+
chainId: number;
|
|
3405
|
+
timestamp: number;
|
|
3406
|
+
subgraphId: string;
|
|
3407
|
+
query: string;
|
|
3408
|
+
}>;
|
|
3409
|
+
}, "strip", z.ZodTypeAny, {
|
|
3410
|
+
name: "SubgraphQuery";
|
|
3411
|
+
params: {
|
|
3412
|
+
chainId: number;
|
|
3413
|
+
timestamp: number;
|
|
3414
|
+
subgraphId: string;
|
|
3415
|
+
query: string;
|
|
3416
|
+
};
|
|
3417
|
+
hash: string;
|
|
3418
|
+
}, {
|
|
3419
|
+
name: "SubgraphQuery";
|
|
3420
|
+
params: {
|
|
3421
|
+
chainId: number;
|
|
3422
|
+
timestamp: number;
|
|
3423
|
+
subgraphId: string;
|
|
3424
|
+
query: string;
|
|
3425
|
+
};
|
|
3426
|
+
hash: string;
|
|
3427
|
+
}>;
|
|
3428
|
+
result: z.ZodObject<{
|
|
3429
|
+
value: z.ZodObject<{
|
|
3430
|
+
blockNumber: z.ZodNumber;
|
|
3431
|
+
data: z.ZodString;
|
|
3432
|
+
}, "strip", z.ZodTypeAny, {
|
|
3433
|
+
data: string;
|
|
3434
|
+
blockNumber: number;
|
|
3435
|
+
}, {
|
|
3436
|
+
data: string;
|
|
3437
|
+
blockNumber: number;
|
|
3438
|
+
}>;
|
|
3439
|
+
}, "strip", z.ZodTypeAny, {
|
|
3440
|
+
value: {
|
|
3441
|
+
data: string;
|
|
3442
|
+
blockNumber: number;
|
|
3443
|
+
};
|
|
3444
|
+
}, {
|
|
3445
|
+
value: {
|
|
3446
|
+
data: string;
|
|
3447
|
+
blockNumber: number;
|
|
3448
|
+
};
|
|
3449
|
+
}>;
|
|
3450
|
+
}, "strip", z.ZodTypeAny, {
|
|
3451
|
+
result: {
|
|
3452
|
+
value: {
|
|
3453
|
+
data: string;
|
|
3454
|
+
blockNumber: number;
|
|
3455
|
+
};
|
|
3456
|
+
};
|
|
3457
|
+
query: {
|
|
3458
|
+
name: "SubgraphQuery";
|
|
3459
|
+
params: {
|
|
3460
|
+
chainId: number;
|
|
3461
|
+
timestamp: number;
|
|
3462
|
+
subgraphId: string;
|
|
3463
|
+
query: string;
|
|
3464
|
+
};
|
|
3465
|
+
hash: string;
|
|
3466
|
+
};
|
|
3467
|
+
signature: string;
|
|
3468
|
+
}, {
|
|
3469
|
+
result: {
|
|
3470
|
+
value: {
|
|
3471
|
+
data: string;
|
|
3472
|
+
blockNumber: number;
|
|
3473
|
+
};
|
|
3474
|
+
};
|
|
3475
|
+
query: {
|
|
3476
|
+
name: "SubgraphQuery";
|
|
3477
|
+
params: {
|
|
3478
|
+
chainId: number;
|
|
3479
|
+
timestamp: number;
|
|
3480
|
+
subgraphId: string;
|
|
3481
|
+
query: string;
|
|
3482
|
+
};
|
|
3483
|
+
hash: string;
|
|
3484
|
+
};
|
|
3485
|
+
signature: string;
|
|
3486
|
+
}>, z.ZodObject<{
|
|
3487
|
+
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
3488
|
+
query: z.ZodObject<{
|
|
3489
|
+
name: z.ZodLiteral<"SvmAccountsInfoQuery">;
|
|
3490
|
+
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
3491
|
+
params: z.ZodObject<{
|
|
3492
|
+
publicKeys: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
3493
|
+
timestamp: z.ZodEffects<z.ZodNumber, number, number>;
|
|
3494
|
+
}, "strip", z.ZodTypeAny, {
|
|
3495
|
+
timestamp: number;
|
|
3496
|
+
publicKeys: string[];
|
|
3497
|
+
}, {
|
|
3498
|
+
timestamp: number;
|
|
3499
|
+
publicKeys: string[];
|
|
3500
|
+
}>;
|
|
3501
|
+
}, "strip", z.ZodTypeAny, {
|
|
3502
|
+
name: "SvmAccountsInfoQuery";
|
|
3503
|
+
params: {
|
|
3504
|
+
timestamp: number;
|
|
3505
|
+
publicKeys: string[];
|
|
3506
|
+
};
|
|
3507
|
+
hash: string;
|
|
3508
|
+
}, {
|
|
3509
|
+
name: "SvmAccountsInfoQuery";
|
|
3510
|
+
params: {
|
|
3511
|
+
timestamp: number;
|
|
3512
|
+
publicKeys: string[];
|
|
3513
|
+
};
|
|
3514
|
+
hash: string;
|
|
3515
|
+
}>;
|
|
3516
|
+
result: z.ZodObject<{
|
|
3517
|
+
value: z.ZodObject<{
|
|
3518
|
+
accountsInfo: z.ZodArray<z.ZodObject<{
|
|
3519
|
+
executable: z.ZodBoolean;
|
|
3520
|
+
owner: z.ZodEffects<z.ZodString, string, string>;
|
|
3521
|
+
lamports: z.ZodEffects<z.ZodString, string, string>;
|
|
3522
|
+
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
3523
|
+
rentEpoch: z.ZodEffects<z.ZodString, string, string>;
|
|
3524
|
+
}, "strip", z.ZodTypeAny, {
|
|
3525
|
+
data: string;
|
|
3526
|
+
executable: boolean;
|
|
3527
|
+
owner: string;
|
|
3528
|
+
lamports: string;
|
|
3529
|
+
rentEpoch: string;
|
|
3530
|
+
}, {
|
|
3531
|
+
data: string;
|
|
3532
|
+
executable: boolean;
|
|
3533
|
+
owner: string;
|
|
3534
|
+
lamports: string;
|
|
3535
|
+
rentEpoch: string;
|
|
3536
|
+
}>, "many">;
|
|
3537
|
+
slot: z.ZodEffects<z.ZodString, string, string>;
|
|
3538
|
+
}, "strip", z.ZodTypeAny, {
|
|
3539
|
+
accountsInfo: {
|
|
3540
|
+
data: string;
|
|
3541
|
+
executable: boolean;
|
|
3542
|
+
owner: string;
|
|
3543
|
+
lamports: string;
|
|
3544
|
+
rentEpoch: string;
|
|
3545
|
+
}[];
|
|
3546
|
+
slot: string;
|
|
2042
3547
|
}, {
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
3548
|
+
accountsInfo: {
|
|
3549
|
+
data: string;
|
|
3550
|
+
executable: boolean;
|
|
3551
|
+
owner: string;
|
|
3552
|
+
lamports: string;
|
|
3553
|
+
rentEpoch: string;
|
|
3554
|
+
}[];
|
|
3555
|
+
slot: string;
|
|
3556
|
+
}>;
|
|
2049
3557
|
}, "strip", z.ZodTypeAny, {
|
|
2050
3558
|
value: {
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
3559
|
+
accountsInfo: {
|
|
3560
|
+
data: string;
|
|
3561
|
+
executable: boolean;
|
|
3562
|
+
owner: string;
|
|
3563
|
+
lamports: string;
|
|
3564
|
+
rentEpoch: string;
|
|
3565
|
+
}[];
|
|
3566
|
+
slot: string;
|
|
3567
|
+
};
|
|
2057
3568
|
}, {
|
|
2058
3569
|
value: {
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
3570
|
+
accountsInfo: {
|
|
3571
|
+
data: string;
|
|
3572
|
+
executable: boolean;
|
|
3573
|
+
owner: string;
|
|
3574
|
+
lamports: string;
|
|
3575
|
+
rentEpoch: string;
|
|
3576
|
+
}[];
|
|
3577
|
+
slot: string;
|
|
3578
|
+
};
|
|
2065
3579
|
}>;
|
|
2066
3580
|
}, "strip", z.ZodTypeAny, {
|
|
2067
3581
|
result: {
|
|
2068
3582
|
value: {
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
3583
|
+
accountsInfo: {
|
|
3584
|
+
data: string;
|
|
3585
|
+
executable: boolean;
|
|
3586
|
+
owner: string;
|
|
3587
|
+
lamports: string;
|
|
3588
|
+
rentEpoch: string;
|
|
3589
|
+
}[];
|
|
3590
|
+
slot: string;
|
|
3591
|
+
};
|
|
2075
3592
|
};
|
|
2076
|
-
signature: string;
|
|
2077
3593
|
query: {
|
|
3594
|
+
name: "SvmAccountsInfoQuery";
|
|
2078
3595
|
params: {
|
|
2079
3596
|
timestamp: number;
|
|
2080
|
-
|
|
2081
|
-
chainId: number;
|
|
2082
|
-
address: string;
|
|
2083
|
-
}[];
|
|
2084
|
-
owner: string;
|
|
2085
|
-
usdMinAmount: string;
|
|
2086
|
-
chainIds: number[];
|
|
2087
|
-
tokenFilter: 0 | 1;
|
|
3597
|
+
publicKeys: string[];
|
|
2088
3598
|
};
|
|
2089
|
-
name: "RelevantTokensQuery";
|
|
2090
3599
|
hash: string;
|
|
2091
3600
|
};
|
|
3601
|
+
signature: string;
|
|
2092
3602
|
}, {
|
|
2093
3603
|
result: {
|
|
2094
3604
|
value: {
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
3605
|
+
accountsInfo: {
|
|
3606
|
+
data: string;
|
|
3607
|
+
executable: boolean;
|
|
3608
|
+
owner: string;
|
|
3609
|
+
lamports: string;
|
|
3610
|
+
rentEpoch: string;
|
|
3611
|
+
}[];
|
|
3612
|
+
slot: string;
|
|
3613
|
+
};
|
|
2101
3614
|
};
|
|
2102
|
-
signature: string;
|
|
2103
3615
|
query: {
|
|
3616
|
+
name: "SvmAccountsInfoQuery";
|
|
2104
3617
|
params: {
|
|
2105
3618
|
timestamp: number;
|
|
2106
|
-
|
|
2107
|
-
chainId: number;
|
|
2108
|
-
address: string;
|
|
2109
|
-
}[];
|
|
2110
|
-
owner: string;
|
|
2111
|
-
usdMinAmount: string;
|
|
2112
|
-
chainIds: number[];
|
|
2113
|
-
tokenFilter: 0 | 1;
|
|
3619
|
+
publicKeys: string[];
|
|
2114
3620
|
};
|
|
2115
|
-
name: "RelevantTokensQuery";
|
|
2116
3621
|
hash: string;
|
|
2117
3622
|
};
|
|
3623
|
+
signature: string;
|
|
2118
3624
|
}>]>, "many">;
|
|
2119
3625
|
outputs: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
2120
|
-
|
|
2121
|
-
user: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
3626
|
+
feePayer: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2122
3627
|
settler: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2123
3628
|
nonce: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2124
3629
|
deadline: z.ZodEffects<z.ZodString, string, string>;
|
|
2125
|
-
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2126
3630
|
maxFees: z.ZodArray<z.ZodObject<{
|
|
2127
3631
|
token: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2128
3632
|
amount: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -2133,12 +3637,50 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
2133
3637
|
token: string;
|
|
2134
3638
|
amount: string;
|
|
2135
3639
|
}>, "many">;
|
|
3640
|
+
triggerSig: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
3641
|
+
minValidations: z.ZodNumber;
|
|
3642
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
3643
|
+
opType: z.ZodNativeEnum<{
|
|
3644
|
+
readonly Swap: 0;
|
|
3645
|
+
readonly Transfer: 1;
|
|
3646
|
+
readonly EvmCall: 2;
|
|
3647
|
+
readonly CrossChainSwap: 3;
|
|
3648
|
+
readonly EvmDynamicCall: 4;
|
|
3649
|
+
readonly SvmCall: 5;
|
|
3650
|
+
}>;
|
|
3651
|
+
user: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
3652
|
+
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
3653
|
+
events: z.ZodArray<z.ZodObject<{
|
|
3654
|
+
topic: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
3655
|
+
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
3656
|
+
}, "strip", z.ZodTypeAny, {
|
|
3657
|
+
data: string;
|
|
3658
|
+
topic: string;
|
|
3659
|
+
}, {
|
|
3660
|
+
data: string;
|
|
3661
|
+
topic: string;
|
|
3662
|
+
}>, "many">;
|
|
3663
|
+
}, "strip", z.ZodTypeAny, {
|
|
3664
|
+
opType: 0 | 1 | 2 | 3 | 4 | 5;
|
|
3665
|
+
user: string;
|
|
3666
|
+
data: string;
|
|
3667
|
+
events: {
|
|
3668
|
+
data: string;
|
|
3669
|
+
topic: string;
|
|
3670
|
+
}[];
|
|
3671
|
+
}, {
|
|
3672
|
+
opType: 0 | 1 | 2 | 3 | 4 | 5;
|
|
3673
|
+
user: string;
|
|
3674
|
+
data: string;
|
|
3675
|
+
events: {
|
|
3676
|
+
data: string;
|
|
3677
|
+
topic: string;
|
|
3678
|
+
}[];
|
|
3679
|
+
}>, "many">;
|
|
2136
3680
|
}, {
|
|
2137
3681
|
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2138
3682
|
}>, "strip", z.ZodTypeAny, {
|
|
2139
|
-
|
|
2140
|
-
op: import("../shared").OpType;
|
|
2141
|
-
user: string;
|
|
3683
|
+
feePayer: string;
|
|
2142
3684
|
settler: string;
|
|
2143
3685
|
nonce: string;
|
|
2144
3686
|
deadline: string;
|
|
@@ -2146,11 +3688,20 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
2146
3688
|
token: string;
|
|
2147
3689
|
amount: string;
|
|
2148
3690
|
}[];
|
|
3691
|
+
triggerSig: string;
|
|
3692
|
+
minValidations: number;
|
|
3693
|
+
operations: {
|
|
3694
|
+
opType: 0 | 1 | 2 | 3 | 4 | 5;
|
|
3695
|
+
user: string;
|
|
3696
|
+
data: string;
|
|
3697
|
+
events: {
|
|
3698
|
+
data: string;
|
|
3699
|
+
topic: string;
|
|
3700
|
+
}[];
|
|
3701
|
+
}[];
|
|
2149
3702
|
hash: string;
|
|
2150
3703
|
}, {
|
|
2151
|
-
|
|
2152
|
-
op: import("../shared").OpType;
|
|
2153
|
-
user: string;
|
|
3704
|
+
feePayer: string;
|
|
2154
3705
|
settler: string;
|
|
2155
3706
|
nonce: string;
|
|
2156
3707
|
deadline: string;
|
|
@@ -2158,122 +3709,195 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
2158
3709
|
token: string;
|
|
2159
3710
|
amount: string;
|
|
2160
3711
|
}[];
|
|
3712
|
+
triggerSig: string;
|
|
3713
|
+
minValidations: number;
|
|
3714
|
+
operations: {
|
|
3715
|
+
opType: 0 | 1 | 2 | 3 | 4 | 5;
|
|
3716
|
+
user: string;
|
|
3717
|
+
data: string;
|
|
3718
|
+
events: {
|
|
3719
|
+
data: string;
|
|
3720
|
+
topic: string;
|
|
3721
|
+
}[];
|
|
3722
|
+
}[];
|
|
2161
3723
|
hash: string;
|
|
2162
3724
|
}>, "many">;
|
|
2163
3725
|
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
3726
|
+
result: z.ZodNativeEnum<{
|
|
3727
|
+
readonly succeeded: "succeeded";
|
|
3728
|
+
readonly failed: "failed";
|
|
3729
|
+
}>;
|
|
2164
3730
|
}>, {
|
|
2165
3731
|
relayer: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2166
|
-
status: z.ZodNativeEnum<
|
|
3732
|
+
status: z.ZodNativeEnum<{
|
|
3733
|
+
readonly pending: "pending";
|
|
3734
|
+
readonly valid: "valid";
|
|
3735
|
+
readonly invalid: "invalid";
|
|
3736
|
+
}>;
|
|
2167
3737
|
createdAt: z.ZodDate;
|
|
2168
3738
|
logs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2169
|
-
errorLogs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2170
3739
|
fee: z.ZodOptional<z.ZodObject<{
|
|
2171
|
-
trigger: z.
|
|
2172
|
-
relayer: z.
|
|
2173
|
-
oracles: z.
|
|
2174
|
-
|
|
2175
|
-
intents: z.
|
|
2176
|
-
protocol: z.
|
|
2177
|
-
total: z.
|
|
3740
|
+
trigger: z.ZodEffects<z.ZodString, string, string>;
|
|
3741
|
+
relayer: z.ZodEffects<z.ZodString, string, string>;
|
|
3742
|
+
oracles: z.ZodEffects<z.ZodString, string, string>;
|
|
3743
|
+
validators: z.ZodEffects<z.ZodString, string, string>;
|
|
3744
|
+
intents: z.ZodEffects<z.ZodString, string, string>;
|
|
3745
|
+
protocol: z.ZodEffects<z.ZodString, string, string>;
|
|
3746
|
+
total: z.ZodEffects<z.ZodString, string, string>;
|
|
2178
3747
|
}, "strip", z.ZodTypeAny, {
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
oracles:
|
|
2182
|
-
|
|
2183
|
-
intents:
|
|
2184
|
-
protocol:
|
|
2185
|
-
total:
|
|
3748
|
+
relayer: string;
|
|
3749
|
+
trigger: string;
|
|
3750
|
+
oracles: string;
|
|
3751
|
+
validators: string;
|
|
3752
|
+
intents: string;
|
|
3753
|
+
protocol: string;
|
|
3754
|
+
total: string;
|
|
2186
3755
|
}, {
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
oracles:
|
|
2190
|
-
|
|
2191
|
-
intents:
|
|
2192
|
-
protocol:
|
|
2193
|
-
total:
|
|
3756
|
+
relayer: string;
|
|
3757
|
+
trigger: string;
|
|
3758
|
+
oracles: string;
|
|
3759
|
+
validators: string;
|
|
3760
|
+
intents: string;
|
|
3761
|
+
protocol: string;
|
|
3762
|
+
total: string;
|
|
2194
3763
|
}>>;
|
|
3764
|
+
solverFees: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3765
|
+
address: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
3766
|
+
amount: z.ZodEffects<z.ZodString, string, string>;
|
|
3767
|
+
}, "strip", z.ZodTypeAny, {
|
|
3768
|
+
amount: string;
|
|
3769
|
+
address: string;
|
|
3770
|
+
}, {
|
|
3771
|
+
amount: string;
|
|
3772
|
+
address: string;
|
|
3773
|
+
}>, "many">>;
|
|
2195
3774
|
validations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2196
3775
|
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2197
3776
|
succeeded: z.ZodBoolean;
|
|
3777
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2198
3778
|
}, "strip", z.ZodTypeAny, {
|
|
2199
3779
|
succeeded: boolean;
|
|
2200
3780
|
signature: string;
|
|
3781
|
+
description?: string | undefined;
|
|
2201
3782
|
}, {
|
|
2202
3783
|
succeeded: boolean;
|
|
2203
3784
|
signature: string;
|
|
3785
|
+
description?: string | undefined;
|
|
2204
3786
|
}>, "many">>;
|
|
2205
3787
|
}>, "strip", z.ZodTypeAny, {
|
|
3788
|
+
status: "pending" | "valid" | "invalid";
|
|
3789
|
+
triggerSig: string;
|
|
3790
|
+
result: "succeeded" | "failed";
|
|
2206
3791
|
timestamp: number;
|
|
2207
|
-
status: ExecutionStatus;
|
|
2208
|
-
createdAt: Date;
|
|
2209
|
-
configSig: string;
|
|
2210
|
-
triggerType: import("../shared").TriggerType;
|
|
2211
|
-
triggerData: string;
|
|
2212
3792
|
signature: string;
|
|
2213
3793
|
hash: string;
|
|
2214
|
-
fuelUsed: number;
|
|
2215
3794
|
inputs: ({
|
|
2216
3795
|
result: {
|
|
2217
3796
|
value: string;
|
|
2218
3797
|
};
|
|
2219
|
-
signature: string;
|
|
2220
3798
|
query: {
|
|
3799
|
+
name: "EvmCallQuery";
|
|
2221
3800
|
params: {
|
|
3801
|
+
data: string;
|
|
2222
3802
|
chainId: number;
|
|
2223
3803
|
to: string;
|
|
2224
|
-
data: string;
|
|
2225
3804
|
timestamp: number;
|
|
2226
3805
|
};
|
|
2227
|
-
name: "EvmCallQuery";
|
|
2228
3806
|
hash: string;
|
|
2229
3807
|
};
|
|
3808
|
+
signature: string;
|
|
2230
3809
|
} | {
|
|
2231
3810
|
result: {
|
|
2232
|
-
value:
|
|
3811
|
+
value: {
|
|
3812
|
+
accountsInfo: {
|
|
3813
|
+
data: string;
|
|
3814
|
+
executable: boolean;
|
|
3815
|
+
owner: string;
|
|
3816
|
+
lamports: string;
|
|
3817
|
+
rentEpoch: string;
|
|
3818
|
+
}[];
|
|
3819
|
+
slot: string;
|
|
3820
|
+
};
|
|
2233
3821
|
};
|
|
2234
|
-
signature: string;
|
|
2235
3822
|
query: {
|
|
3823
|
+
name: "SvmAccountsInfoQuery";
|
|
2236
3824
|
params: {
|
|
2237
3825
|
timestamp: number;
|
|
2238
|
-
|
|
2239
|
-
chainId: number;
|
|
2240
|
-
address: string;
|
|
2241
|
-
};
|
|
3826
|
+
publicKeys: string[];
|
|
2242
3827
|
};
|
|
2243
|
-
name: "TokenPriceQuery";
|
|
2244
3828
|
hash: string;
|
|
2245
3829
|
};
|
|
3830
|
+
signature: string;
|
|
2246
3831
|
} | {
|
|
2247
3832
|
result: {
|
|
2248
|
-
value:
|
|
3833
|
+
value: string;
|
|
3834
|
+
};
|
|
3835
|
+
query: {
|
|
3836
|
+
name: "TokenPriceQuery";
|
|
3837
|
+
params: {
|
|
2249
3838
|
token: {
|
|
2250
|
-
chainId: number;
|
|
2251
3839
|
address: string;
|
|
3840
|
+
chainId: number;
|
|
2252
3841
|
};
|
|
2253
|
-
|
|
2254
|
-
}
|
|
3842
|
+
timestamp: number;
|
|
3843
|
+
};
|
|
3844
|
+
hash: string;
|
|
2255
3845
|
};
|
|
2256
3846
|
signature: string;
|
|
3847
|
+
} | {
|
|
3848
|
+
result: {
|
|
3849
|
+
value: {
|
|
3850
|
+
timestamp: number;
|
|
3851
|
+
balances: {
|
|
3852
|
+
token: {
|
|
3853
|
+
address: string;
|
|
3854
|
+
chainId: number;
|
|
3855
|
+
};
|
|
3856
|
+
balance: string;
|
|
3857
|
+
}[];
|
|
3858
|
+
};
|
|
3859
|
+
};
|
|
2257
3860
|
query: {
|
|
3861
|
+
name: "RelevantTokensQuery";
|
|
2258
3862
|
params: {
|
|
2259
|
-
|
|
3863
|
+
owner: string;
|
|
2260
3864
|
tokens: {
|
|
2261
|
-
chainId: number;
|
|
2262
3865
|
address: string;
|
|
3866
|
+
chainId: number;
|
|
2263
3867
|
}[];
|
|
2264
|
-
owner: string;
|
|
2265
3868
|
usdMinAmount: string;
|
|
2266
3869
|
chainIds: number[];
|
|
2267
3870
|
tokenFilter: 0 | 1;
|
|
2268
3871
|
};
|
|
2269
|
-
name: "RelevantTokensQuery";
|
|
2270
3872
|
hash: string;
|
|
2271
3873
|
};
|
|
3874
|
+
signature: string;
|
|
3875
|
+
} | {
|
|
3876
|
+
result: {
|
|
3877
|
+
value: {
|
|
3878
|
+
data: string;
|
|
3879
|
+
blockNumber: number;
|
|
3880
|
+
};
|
|
3881
|
+
};
|
|
3882
|
+
query: {
|
|
3883
|
+
name: "SubgraphQuery";
|
|
3884
|
+
params: {
|
|
3885
|
+
chainId: number;
|
|
3886
|
+
timestamp: number;
|
|
3887
|
+
subgraphId: string;
|
|
3888
|
+
query: string;
|
|
3889
|
+
};
|
|
3890
|
+
hash: string;
|
|
3891
|
+
};
|
|
3892
|
+
signature: string;
|
|
2272
3893
|
})[];
|
|
3894
|
+
createdAt: Date;
|
|
3895
|
+
relayer: string;
|
|
3896
|
+
triggerType: 0 | 1 | 2;
|
|
3897
|
+
fuelUsed: number;
|
|
3898
|
+
triggerData: string;
|
|
2273
3899
|
outputs: {
|
|
2274
|
-
|
|
2275
|
-
op: import("../shared").OpType;
|
|
2276
|
-
user: string;
|
|
3900
|
+
feePayer: string;
|
|
2277
3901
|
settler: string;
|
|
2278
3902
|
nonce: string;
|
|
2279
3903
|
deadline: string;
|
|
@@ -2281,96 +3905,152 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
2281
3905
|
token: string;
|
|
2282
3906
|
amount: string;
|
|
2283
3907
|
}[];
|
|
3908
|
+
triggerSig: string;
|
|
3909
|
+
minValidations: number;
|
|
3910
|
+
operations: {
|
|
3911
|
+
opType: 0 | 1 | 2 | 3 | 4 | 5;
|
|
3912
|
+
user: string;
|
|
3913
|
+
data: string;
|
|
3914
|
+
events: {
|
|
3915
|
+
data: string;
|
|
3916
|
+
topic: string;
|
|
3917
|
+
}[];
|
|
3918
|
+
}[];
|
|
2284
3919
|
hash: string;
|
|
2285
3920
|
}[];
|
|
2286
|
-
relayer: string;
|
|
2287
|
-
logs?: string[] | undefined;
|
|
2288
|
-
errorLogs?: string[] | undefined;
|
|
2289
3921
|
fee?: {
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
oracles:
|
|
2293
|
-
|
|
2294
|
-
intents:
|
|
2295
|
-
protocol:
|
|
2296
|
-
total:
|
|
3922
|
+
relayer: string;
|
|
3923
|
+
trigger: string;
|
|
3924
|
+
oracles: string;
|
|
3925
|
+
validators: string;
|
|
3926
|
+
intents: string;
|
|
3927
|
+
protocol: string;
|
|
3928
|
+
total: string;
|
|
2297
3929
|
} | undefined;
|
|
2298
3930
|
validations?: {
|
|
2299
3931
|
succeeded: boolean;
|
|
2300
3932
|
signature: string;
|
|
3933
|
+
description?: string | undefined;
|
|
3934
|
+
}[] | undefined;
|
|
3935
|
+
logs?: string[] | undefined;
|
|
3936
|
+
solverFees?: {
|
|
3937
|
+
amount: string;
|
|
3938
|
+
address: string;
|
|
2301
3939
|
}[] | undefined;
|
|
2302
3940
|
}, {
|
|
3941
|
+
status: "pending" | "valid" | "invalid";
|
|
3942
|
+
triggerSig: string;
|
|
3943
|
+
result: "succeeded" | "failed";
|
|
2303
3944
|
timestamp: number;
|
|
2304
|
-
status: ExecutionStatus;
|
|
2305
|
-
createdAt: Date;
|
|
2306
|
-
configSig: string;
|
|
2307
|
-
triggerType: import("../shared").TriggerType;
|
|
2308
|
-
triggerData: string;
|
|
2309
3945
|
signature: string;
|
|
2310
3946
|
hash: string;
|
|
2311
|
-
fuelUsed: number;
|
|
2312
3947
|
inputs: ({
|
|
2313
3948
|
result: {
|
|
2314
3949
|
value: string;
|
|
2315
3950
|
};
|
|
2316
|
-
signature: string;
|
|
2317
3951
|
query: {
|
|
3952
|
+
name: "EvmCallQuery";
|
|
2318
3953
|
params: {
|
|
3954
|
+
data: string;
|
|
2319
3955
|
chainId: number;
|
|
2320
3956
|
to: string;
|
|
2321
|
-
data: string;
|
|
2322
3957
|
timestamp: number;
|
|
2323
3958
|
};
|
|
2324
|
-
name: "EvmCallQuery";
|
|
2325
3959
|
hash: string;
|
|
2326
3960
|
};
|
|
3961
|
+
signature: string;
|
|
2327
3962
|
} | {
|
|
2328
3963
|
result: {
|
|
2329
|
-
value:
|
|
3964
|
+
value: {
|
|
3965
|
+
accountsInfo: {
|
|
3966
|
+
data: string;
|
|
3967
|
+
executable: boolean;
|
|
3968
|
+
owner: string;
|
|
3969
|
+
lamports: string;
|
|
3970
|
+
rentEpoch: string;
|
|
3971
|
+
}[];
|
|
3972
|
+
slot: string;
|
|
3973
|
+
};
|
|
2330
3974
|
};
|
|
2331
|
-
signature: string;
|
|
2332
3975
|
query: {
|
|
3976
|
+
name: "SvmAccountsInfoQuery";
|
|
2333
3977
|
params: {
|
|
2334
3978
|
timestamp: number;
|
|
2335
|
-
|
|
2336
|
-
chainId: number;
|
|
2337
|
-
address: string;
|
|
2338
|
-
};
|
|
3979
|
+
publicKeys: string[];
|
|
2339
3980
|
};
|
|
2340
|
-
name: "TokenPriceQuery";
|
|
2341
3981
|
hash: string;
|
|
2342
3982
|
};
|
|
3983
|
+
signature: string;
|
|
2343
3984
|
} | {
|
|
2344
3985
|
result: {
|
|
2345
|
-
value:
|
|
3986
|
+
value: string;
|
|
3987
|
+
};
|
|
3988
|
+
query: {
|
|
3989
|
+
name: "TokenPriceQuery";
|
|
3990
|
+
params: {
|
|
2346
3991
|
token: {
|
|
2347
|
-
chainId: number;
|
|
2348
3992
|
address: string;
|
|
3993
|
+
chainId: number;
|
|
2349
3994
|
};
|
|
2350
|
-
|
|
2351
|
-
}
|
|
3995
|
+
timestamp: number;
|
|
3996
|
+
};
|
|
3997
|
+
hash: string;
|
|
2352
3998
|
};
|
|
2353
3999
|
signature: string;
|
|
4000
|
+
} | {
|
|
4001
|
+
result: {
|
|
4002
|
+
value: {
|
|
4003
|
+
timestamp: number;
|
|
4004
|
+
balances: {
|
|
4005
|
+
token: {
|
|
4006
|
+
address: string;
|
|
4007
|
+
chainId: number;
|
|
4008
|
+
};
|
|
4009
|
+
balance: string;
|
|
4010
|
+
}[];
|
|
4011
|
+
};
|
|
4012
|
+
};
|
|
2354
4013
|
query: {
|
|
4014
|
+
name: "RelevantTokensQuery";
|
|
2355
4015
|
params: {
|
|
2356
|
-
|
|
4016
|
+
owner: string;
|
|
2357
4017
|
tokens: {
|
|
2358
|
-
chainId: number;
|
|
2359
4018
|
address: string;
|
|
4019
|
+
chainId: number;
|
|
2360
4020
|
}[];
|
|
2361
|
-
owner: string;
|
|
2362
4021
|
usdMinAmount: string;
|
|
2363
4022
|
chainIds: number[];
|
|
2364
4023
|
tokenFilter: 0 | 1;
|
|
2365
4024
|
};
|
|
2366
|
-
name: "RelevantTokensQuery";
|
|
2367
4025
|
hash: string;
|
|
2368
4026
|
};
|
|
4027
|
+
signature: string;
|
|
4028
|
+
} | {
|
|
4029
|
+
result: {
|
|
4030
|
+
value: {
|
|
4031
|
+
data: string;
|
|
4032
|
+
blockNumber: number;
|
|
4033
|
+
};
|
|
4034
|
+
};
|
|
4035
|
+
query: {
|
|
4036
|
+
name: "SubgraphQuery";
|
|
4037
|
+
params: {
|
|
4038
|
+
chainId: number;
|
|
4039
|
+
timestamp: number;
|
|
4040
|
+
subgraphId: string;
|
|
4041
|
+
query: string;
|
|
4042
|
+
};
|
|
4043
|
+
hash: string;
|
|
4044
|
+
};
|
|
4045
|
+
signature: string;
|
|
2369
4046
|
})[];
|
|
4047
|
+
createdAt: Date;
|
|
4048
|
+
relayer: string;
|
|
4049
|
+
triggerType: 0 | 1 | 2;
|
|
4050
|
+
fuelUsed: number;
|
|
4051
|
+
triggerData: string;
|
|
2370
4052
|
outputs: {
|
|
2371
|
-
|
|
2372
|
-
op: import("../shared").OpType;
|
|
2373
|
-
user: string;
|
|
4053
|
+
feePayer: string;
|
|
2374
4054
|
settler: string;
|
|
2375
4055
|
nonce: string;
|
|
2376
4056
|
deadline: string;
|
|
@@ -2378,62 +4058,74 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
2378
4058
|
token: string;
|
|
2379
4059
|
amount: string;
|
|
2380
4060
|
}[];
|
|
4061
|
+
triggerSig: string;
|
|
4062
|
+
minValidations: number;
|
|
4063
|
+
operations: {
|
|
4064
|
+
opType: 0 | 1 | 2 | 3 | 4 | 5;
|
|
4065
|
+
user: string;
|
|
4066
|
+
data: string;
|
|
4067
|
+
events: {
|
|
4068
|
+
data: string;
|
|
4069
|
+
topic: string;
|
|
4070
|
+
}[];
|
|
4071
|
+
}[];
|
|
2381
4072
|
hash: string;
|
|
2382
4073
|
}[];
|
|
2383
|
-
relayer: string;
|
|
2384
|
-
logs?: string[] | undefined;
|
|
2385
|
-
errorLogs?: string[] | undefined;
|
|
2386
4074
|
fee?: {
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
oracles:
|
|
2390
|
-
|
|
2391
|
-
intents:
|
|
2392
|
-
protocol:
|
|
2393
|
-
total:
|
|
4075
|
+
relayer: string;
|
|
4076
|
+
trigger: string;
|
|
4077
|
+
oracles: string;
|
|
4078
|
+
validators: string;
|
|
4079
|
+
intents: string;
|
|
4080
|
+
protocol: string;
|
|
4081
|
+
total: string;
|
|
2394
4082
|
} | undefined;
|
|
2395
4083
|
validations?: {
|
|
2396
4084
|
succeeded: boolean;
|
|
2397
4085
|
signature: string;
|
|
4086
|
+
description?: string | undefined;
|
|
4087
|
+
}[] | undefined;
|
|
4088
|
+
logs?: string[] | undefined;
|
|
4089
|
+
solverFees?: {
|
|
4090
|
+
amount: string;
|
|
4091
|
+
address: string;
|
|
2398
4092
|
}[] | undefined;
|
|
2399
4093
|
}>, "many">;
|
|
2400
4094
|
export declare const ExecutionValidationRequestValidator: z.ZodObject<z.objectUtil.extendShape<{
|
|
2401
4095
|
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2402
4096
|
succeeded: z.ZodBoolean;
|
|
4097
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2403
4098
|
}, {
|
|
2404
|
-
|
|
4099
|
+
intentsValidations: z.ZodArray<z.ZodObject<{
|
|
4100
|
+
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
2405
4101
|
intent: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2406
4102
|
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2407
4103
|
}, "strip", z.ZodTypeAny, {
|
|
2408
4104
|
intent: string;
|
|
4105
|
+
chainId: number;
|
|
2409
4106
|
signature: string;
|
|
2410
4107
|
}, {
|
|
2411
4108
|
intent: string;
|
|
4109
|
+
chainId: number;
|
|
2412
4110
|
signature: string;
|
|
2413
4111
|
}>, "many">;
|
|
2414
4112
|
}>, "strip", z.ZodTypeAny, {
|
|
2415
4113
|
succeeded: boolean;
|
|
2416
4114
|
signature: string;
|
|
2417
|
-
|
|
4115
|
+
intentsValidations: {
|
|
2418
4116
|
intent: string;
|
|
4117
|
+
chainId: number;
|
|
2419
4118
|
signature: string;
|
|
2420
4119
|
}[];
|
|
4120
|
+
description?: string | undefined;
|
|
2421
4121
|
}, {
|
|
2422
4122
|
succeeded: boolean;
|
|
2423
4123
|
signature: string;
|
|
2424
|
-
|
|
4124
|
+
intentsValidations: {
|
|
2425
4125
|
intent: string;
|
|
4126
|
+
chainId: number;
|
|
2426
4127
|
signature: string;
|
|
2427
4128
|
}[];
|
|
2428
|
-
|
|
2429
|
-
export declare const OracleFeeValidator: z.ZodObject<{
|
|
2430
|
-
address: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2431
|
-
fee: z.ZodNumber;
|
|
2432
|
-
}, "strip", z.ZodTypeAny, {
|
|
2433
|
-
address: string;
|
|
2434
|
-
fee: number;
|
|
2435
|
-
}, {
|
|
2436
|
-
address: string;
|
|
2437
|
-
fee: number;
|
|
4129
|
+
description?: string | undefined;
|
|
2438
4130
|
}>;
|
|
2439
4131
|
//# sourceMappingURL=validators.d.ts.map
|