@mimicprotocol/sdk 0.0.1-rc.2 → 0.0.1-rc.20
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/constants.d.ts +17 -2
- package/dist/axia/constants.d.ts.map +1 -1
- package/dist/axia/constants.js +20 -2
- package/dist/axia/constants.js.map +1 -1
- package/dist/axia/types.d.ts +3 -1
- package/dist/axia/types.d.ts.map +1 -1
- package/dist/axia/validators.d.ts +1789 -442
- package/dist/axia/validators.d.ts.map +1 -1
- package/dist/axia/validators.js +28 -11
- 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 +2 -2
- package/dist/client/core/config.d.ts.map +1 -1
- package/dist/client/core/config.js +7 -5
- package/dist/client/core/config.js.map +1 -1
- package/dist/client/domains/BalancesClient.d.ts +8 -0
- package/dist/client/domains/BalancesClient.d.ts.map +1 -0
- package/dist/client/domains/BalancesClient.js +17 -0
- package/dist/client/domains/BalancesClient.js.map +1 -0
- 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/ConfigsClient.d.ts +4 -1
- package/dist/client/domains/ConfigsClient.d.ts.map +1 -1
- package/dist/client/domains/ConfigsClient.js +33 -3
- package/dist/client/domains/ConfigsClient.js.map +1 -1
- package/dist/client/domains/IntentsClient.d.ts +22 -5
- package/dist/client/domains/IntentsClient.d.ts.map +1 -1
- package/dist/client/domains/IntentsClient.js +26 -4
- package/dist/client/domains/IntentsClient.js.map +1 -1
- package/dist/client/domains/TasksClient.d.ts.map +1 -1
- package/dist/client/domains/TasksClient.js +1 -4
- package/dist/client/domains/TasksClient.js.map +1 -1
- 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 +2 -0
- package/dist/client/domains/index.d.ts.map +1 -1
- package/dist/client/domains/index.js +5 -1
- package/dist/client/domains/index.js.map +1 -1
- package/dist/client/index.d.ts +7 -2
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +25 -6
- package/dist/client/index.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/oracle/eip712Types.d.ts +44 -0
- package/dist/oracle/eip712Types.d.ts.map +1 -1
- package/dist/oracle/eip712Types.js +45 -3
- 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 +799 -177
- package/dist/oracle/validators.d.ts.map +1 -1
- package/dist/oracle/validators.js +36 -6
- 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/ConfigSigner.d.ts +1 -1
- package/dist/registry/ConfigSigner.d.ts.map +1 -1
- package/dist/registry/ConfigSigner.js +4 -2
- package/dist/registry/ConfigSigner.js.map +1 -1
- package/dist/registry/eip712Types.d.ts.map +1 -1
- package/dist/registry/eip712Types.js +3 -1
- package/dist/registry/eip712Types.js.map +1 -1
- package/dist/registry/types.d.ts +7 -1
- package/dist/registry/types.d.ts.map +1 -1
- package/dist/registry/types.js.map +1 -1
- package/dist/registry/validations.d.ts +2 -2
- package/dist/registry/validations.d.ts.map +1 -1
- package/dist/registry/validations.js +5 -5
- package/dist/registry/validations.js.map +1 -1
- package/dist/registry/validators.d.ts +242 -128
- package/dist/registry/validators.d.ts.map +1 -1
- package/dist/registry/validators.js +37 -12
- package/dist/registry/validators.js.map +1 -1
- package/dist/relayer/eip712Types.d.ts +4 -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 +1623 -305
- package/dist/relayer/validators.d.ts.map +1 -1
- package/dist/relayer/validators.js +7 -15
- package/dist/relayer/validators.js.map +1 -1
- package/dist/runner/validators.d.ts +675 -81
- package/dist/runner/validators.d.ts.map +1 -1
- package/dist/runner/validators.js +10 -1
- package/dist/runner/validators.js.map +1 -1
- package/dist/shared/codec/chains/evm.d.ts +9 -0
- package/dist/shared/codec/chains/evm.d.ts.map +1 -0
- package/dist/shared/codec/chains/evm.js +122 -0
- package/dist/shared/codec/chains/evm.js.map +1 -0
- package/dist/shared/codec/chains/svm.d.ts +22 -0
- package/dist/shared/codec/chains/svm.d.ts.map +1 -0
- package/dist/shared/codec/chains/svm.js +233 -0
- package/dist/shared/codec/chains/svm.js.map +1 -0
- package/dist/shared/codec/decoder.d.ts +6 -2
- package/dist/shared/codec/decoder.d.ts.map +1 -1
- package/dist/shared/codec/decoder.js +42 -44
- package/dist/shared/codec/decoder.js.map +1 -1
- package/dist/shared/codec/encoder.d.ts +97 -4
- package/dist/shared/codec/encoder.d.ts.map +1 -1
- package/dist/shared/codec/encoder.js +32 -54
- package/dist/shared/codec/encoder.js.map +1 -1
- package/dist/shared/codec/index.d.ts +1 -0
- package/dist/shared/codec/index.d.ts.map +1 -1
- package/dist/shared/codec/index.js +14 -0
- package/dist/shared/codec/index.js.map +1 -1
- package/dist/shared/eip712Types/index.d.ts +6 -1
- package/dist/shared/eip712Types/index.d.ts.map +1 -1
- package/dist/shared/eip712Types/index.js +14 -6
- package/dist/shared/eip712Types/index.js.map +1 -1
- package/dist/shared/signer/WindowEthereumSigner.d.ts.map +1 -1
- package/dist/shared/signer/WindowEthereumSigner.js +1 -6
- package/dist/shared/signer/WindowEthereumSigner.js.map +1 -1
- package/dist/shared/types/executions.d.ts +1 -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 +11 -4
- package/dist/shared/types/intents.d.ts.map +1 -1
- package/dist/shared/types/primitives.d.ts +3 -1
- package/dist/shared/types/primitives.d.ts.map +1 -1
- package/dist/shared/utils/addresses.d.ts +2 -0
- package/dist/shared/utils/addresses.d.ts.map +1 -1
- package/dist/shared/utils/addresses.js +9 -0
- 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 +1 -0
- package/dist/shared/utils/chains.d.ts.map +1 -1
- package/dist/shared/utils/chains.js +1 -0
- package/dist/shared/utils/chains.js.map +1 -1
- package/dist/shared/utils/index.d.ts +1 -0
- package/dist/shared/utils/index.d.ts.map +1 -1
- package/dist/shared/utils/index.js +1 -0
- package/dist/shared/utils/index.js.map +1 -1
- package/dist/shared/utils/numbers.d.ts +7 -6
- package/dist/shared/utils/numbers.d.ts.map +1 -1
- package/dist/shared/utils/numbers.js +61 -22
- package/dist/shared/utils/numbers.js.map +1 -1
- package/dist/shared/utils/random.d.ts +4 -1
- package/dist/shared/utils/random.d.ts.map +1 -1
- package/dist/shared/utils/random.js +22 -4
- package/dist/shared/utils/random.js.map +1 -1
- package/dist/shared/utils/time.d.ts +11 -0
- package/dist/shared/utils/time.d.ts.map +1 -0
- package/dist/shared/utils/time.js +42 -0
- package/dist/shared/utils/time.js.map +1 -0
- package/dist/shared/utils/validations.d.ts +7 -1
- package/dist/shared/utils/validations.d.ts.map +1 -1
- package/dist/shared/utils/validations.js +36 -3
- package/dist/shared/utils/validations.js.map +1 -1
- package/dist/shared/validators/executions.d.ts +18 -35
- package/dist/shared/validators/executions.d.ts.map +1 -1
- package/dist/shared/validators/executions.js +4 -17
- 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 +409 -7
- package/dist/shared/validators/intents.d.ts.map +1 -1
- package/dist/shared/validators/intents.js +35 -8
- package/dist/shared/validators/intents.js.map +1 -1
- package/dist/shared/validators/primitives.d.ts +24 -0
- package/dist/shared/validators/primitives.d.ts.map +1 -1
- package/dist/shared/validators/primitives.js +18 -5
- package/dist/shared/validators/primitives.js.map +1 -1
- package/dist/validator/ValidatorSigner.d.ts +10 -4
- package/dist/validator/ValidatorSigner.d.ts.map +1 -1
- package/dist/validator/ValidatorSigner.js +14 -8
- package/dist/validator/ValidatorSigner.js.map +1 -1
- package/dist/validator/eip712Types.d.ts.map +1 -1
- package/dist/validator/eip712Types.js +5 -2
- package/dist/validator/eip712Types.js.map +1 -1
- package/package.json +4 -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 +0 -3
- 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,5 +1,18 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { IntentStatus, ProposalStatus } from './constants';
|
|
2
|
+
import { ExecutionResult, ExecutionStatus, IntentLogLevel, IntentStatus, ProposalStatus } from './constants';
|
|
3
|
+
export declare const IntentLogValidator: z.ZodObject<{
|
|
4
|
+
level: z.ZodNativeEnum<typeof IntentLogLevel>;
|
|
5
|
+
data: z.ZodString;
|
|
6
|
+
createdAt: z.ZodDate;
|
|
7
|
+
}, "strip", z.ZodTypeAny, {
|
|
8
|
+
data: string;
|
|
9
|
+
level: IntentLogLevel;
|
|
10
|
+
createdAt: Date;
|
|
11
|
+
}, {
|
|
12
|
+
data: string;
|
|
13
|
+
level: IntentLogLevel;
|
|
14
|
+
createdAt: Date;
|
|
15
|
+
}>;
|
|
3
16
|
export declare const AxiaProposalValidator: z.ZodObject<{
|
|
4
17
|
solver: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
5
18
|
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
@@ -13,10 +26,10 @@ export declare const AxiaProposalValidator: z.ZodObject<{
|
|
|
13
26
|
destTransactionHash: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
14
27
|
}, "strip", z.ZodTypeAny, {
|
|
15
28
|
data: string;
|
|
29
|
+
status: ProposalStatus;
|
|
16
30
|
deadline: string;
|
|
17
31
|
solver: string;
|
|
18
32
|
fees: string[];
|
|
19
|
-
status: ProposalStatus;
|
|
20
33
|
feeUsd: number;
|
|
21
34
|
signatures: string[];
|
|
22
35
|
description?: string | undefined;
|
|
@@ -24,10 +37,10 @@ export declare const AxiaProposalValidator: z.ZodObject<{
|
|
|
24
37
|
destTransactionHash?: string | undefined;
|
|
25
38
|
}, {
|
|
26
39
|
data: string;
|
|
40
|
+
status: ProposalStatus;
|
|
27
41
|
deadline: string;
|
|
28
42
|
solver: string;
|
|
29
43
|
fees: string[];
|
|
30
|
-
status: ProposalStatus;
|
|
31
44
|
feeUsd: number;
|
|
32
45
|
signatures: string[];
|
|
33
46
|
description?: string | undefined;
|
|
@@ -51,8 +64,21 @@ export declare const AxiaIntentValidator: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
51
64
|
token: string;
|
|
52
65
|
amount: string;
|
|
53
66
|
}>, "many">;
|
|
67
|
+
events: z.ZodArray<z.ZodObject<{
|
|
68
|
+
topic: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
69
|
+
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
70
|
+
}, "strip", z.ZodTypeAny, {
|
|
71
|
+
data: string;
|
|
72
|
+
topic: string;
|
|
73
|
+
}, {
|
|
74
|
+
data: string;
|
|
75
|
+
topic: string;
|
|
76
|
+
}>, "many">;
|
|
77
|
+
configSig: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
78
|
+
minValidations: z.ZodNumber;
|
|
54
79
|
}, {
|
|
55
80
|
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
81
|
+
executionHash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
56
82
|
status: z.ZodNativeEnum<typeof IntentStatus>;
|
|
57
83
|
proposals: z.ZodArray<z.ZodObject<{
|
|
58
84
|
solver: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
@@ -67,10 +93,10 @@ export declare const AxiaIntentValidator: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
67
93
|
destTransactionHash: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
68
94
|
}, "strip", z.ZodTypeAny, {
|
|
69
95
|
data: string;
|
|
96
|
+
status: ProposalStatus;
|
|
70
97
|
deadline: string;
|
|
71
98
|
solver: string;
|
|
72
99
|
fees: string[];
|
|
73
|
-
status: ProposalStatus;
|
|
74
100
|
feeUsd: number;
|
|
75
101
|
signatures: string[];
|
|
76
102
|
description?: string | undefined;
|
|
@@ -78,31 +104,33 @@ export declare const AxiaIntentValidator: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
78
104
|
destTransactionHash?: string | undefined;
|
|
79
105
|
}, {
|
|
80
106
|
data: string;
|
|
107
|
+
status: ProposalStatus;
|
|
81
108
|
deadline: string;
|
|
82
109
|
solver: string;
|
|
83
110
|
fees: string[];
|
|
84
|
-
status: ProposalStatus;
|
|
85
111
|
feeUsd: number;
|
|
86
112
|
signatures: string[];
|
|
87
113
|
description?: string | undefined;
|
|
88
114
|
transactionHash?: string | undefined;
|
|
89
115
|
destTransactionHash?: string | undefined;
|
|
90
116
|
}>, "many">;
|
|
91
|
-
|
|
92
|
-
level: z.ZodNativeEnum<typeof
|
|
117
|
+
logs: z.ZodArray<z.ZodObject<{
|
|
118
|
+
level: z.ZodNativeEnum<typeof IntentLogLevel>;
|
|
93
119
|
data: z.ZodString;
|
|
94
120
|
createdAt: z.ZodDate;
|
|
95
121
|
}, "strip", z.ZodTypeAny, {
|
|
96
122
|
data: string;
|
|
97
|
-
level:
|
|
123
|
+
level: IntentLogLevel;
|
|
98
124
|
createdAt: Date;
|
|
99
125
|
}, {
|
|
100
126
|
data: string;
|
|
101
|
-
level:
|
|
127
|
+
level: IntentLogLevel;
|
|
102
128
|
createdAt: Date;
|
|
103
129
|
}>, "many">;
|
|
104
130
|
}>, "strip", z.ZodTypeAny, {
|
|
105
131
|
data: string;
|
|
132
|
+
status: IntentStatus;
|
|
133
|
+
configSig: string;
|
|
106
134
|
op: import("../shared").OpType;
|
|
107
135
|
user: string;
|
|
108
136
|
settler: string;
|
|
@@ -112,27 +140,34 @@ export declare const AxiaIntentValidator: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
112
140
|
token: string;
|
|
113
141
|
amount: string;
|
|
114
142
|
}[];
|
|
115
|
-
|
|
143
|
+
events: {
|
|
144
|
+
data: string;
|
|
145
|
+
topic: string;
|
|
146
|
+
}[];
|
|
147
|
+
minValidations: number;
|
|
116
148
|
hash: string;
|
|
149
|
+
executionHash: string;
|
|
117
150
|
proposals: {
|
|
118
151
|
data: string;
|
|
152
|
+
status: ProposalStatus;
|
|
119
153
|
deadline: string;
|
|
120
154
|
solver: string;
|
|
121
155
|
fees: string[];
|
|
122
|
-
status: ProposalStatus;
|
|
123
156
|
feeUsd: number;
|
|
124
157
|
signatures: string[];
|
|
125
158
|
description?: string | undefined;
|
|
126
159
|
transactionHash?: string | undefined;
|
|
127
160
|
destTransactionHash?: string | undefined;
|
|
128
161
|
}[];
|
|
129
|
-
|
|
162
|
+
logs: {
|
|
130
163
|
data: string;
|
|
131
|
-
level:
|
|
164
|
+
level: IntentLogLevel;
|
|
132
165
|
createdAt: Date;
|
|
133
166
|
}[];
|
|
134
167
|
}, {
|
|
135
168
|
data: string;
|
|
169
|
+
status: IntentStatus;
|
|
170
|
+
configSig: string;
|
|
136
171
|
op: import("../shared").OpType;
|
|
137
172
|
user: string;
|
|
138
173
|
settler: string;
|
|
@@ -142,27 +177,32 @@ export declare const AxiaIntentValidator: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
142
177
|
token: string;
|
|
143
178
|
amount: string;
|
|
144
179
|
}[];
|
|
145
|
-
|
|
180
|
+
events: {
|
|
181
|
+
data: string;
|
|
182
|
+
topic: string;
|
|
183
|
+
}[];
|
|
184
|
+
minValidations: number;
|
|
146
185
|
hash: string;
|
|
186
|
+
executionHash: string;
|
|
147
187
|
proposals: {
|
|
148
188
|
data: string;
|
|
189
|
+
status: ProposalStatus;
|
|
149
190
|
deadline: string;
|
|
150
191
|
solver: string;
|
|
151
192
|
fees: string[];
|
|
152
|
-
status: ProposalStatus;
|
|
153
193
|
feeUsd: number;
|
|
154
194
|
signatures: string[];
|
|
155
195
|
description?: string | undefined;
|
|
156
196
|
transactionHash?: string | undefined;
|
|
157
197
|
destTransactionHash?: string | undefined;
|
|
158
198
|
}[];
|
|
159
|
-
|
|
199
|
+
logs: {
|
|
160
200
|
data: string;
|
|
161
|
-
level:
|
|
201
|
+
level: IntentLogLevel;
|
|
162
202
|
createdAt: Date;
|
|
163
203
|
}[];
|
|
164
204
|
}>;
|
|
165
|
-
export declare const IntentQuoteRequestValidator: z.ZodEffects<z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
|
|
205
|
+
export declare const IntentQuoteRequestValidator: z.ZodEffects<z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
166
206
|
op: z.ZodNativeEnum<typeof import("../shared").OpType>;
|
|
167
207
|
user: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
168
208
|
settler: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
@@ -179,10 +219,25 @@ export declare const IntentQuoteRequestValidator: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
179
219
|
token: string;
|
|
180
220
|
amount: string;
|
|
181
221
|
}>, "many">;
|
|
222
|
+
events: z.ZodArray<z.ZodObject<{
|
|
223
|
+
topic: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
224
|
+
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
225
|
+
}, "strip", z.ZodTypeAny, {
|
|
226
|
+
data: string;
|
|
227
|
+
topic: string;
|
|
228
|
+
}, {
|
|
229
|
+
data: string;
|
|
230
|
+
topic: string;
|
|
231
|
+
}>, "many">;
|
|
232
|
+
configSig: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
233
|
+
minValidations: z.ZodNumber;
|
|
182
234
|
}, {
|
|
235
|
+
validations: z.ZodArray<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">, "many">;
|
|
236
|
+
}>, {
|
|
183
237
|
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
184
238
|
}>, "strip", z.ZodTypeAny, {
|
|
185
239
|
data: string;
|
|
240
|
+
configSig: string;
|
|
186
241
|
op: import("../shared").OpType;
|
|
187
242
|
user: string;
|
|
188
243
|
settler: string;
|
|
@@ -192,9 +247,16 @@ export declare const IntentQuoteRequestValidator: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
192
247
|
token: string;
|
|
193
248
|
amount: string;
|
|
194
249
|
}[];
|
|
250
|
+
events: {
|
|
251
|
+
data: string;
|
|
252
|
+
topic: string;
|
|
253
|
+
}[];
|
|
254
|
+
minValidations: number;
|
|
255
|
+
validations: string[][];
|
|
195
256
|
hash: string;
|
|
196
257
|
}, {
|
|
197
258
|
data: string;
|
|
259
|
+
configSig: string;
|
|
198
260
|
op: import("../shared").OpType;
|
|
199
261
|
user: string;
|
|
200
262
|
settler: string;
|
|
@@ -204,9 +266,16 @@ export declare const IntentQuoteRequestValidator: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
204
266
|
token: string;
|
|
205
267
|
amount: string;
|
|
206
268
|
}[];
|
|
269
|
+
events: {
|
|
270
|
+
data: string;
|
|
271
|
+
topic: string;
|
|
272
|
+
}[];
|
|
273
|
+
minValidations: number;
|
|
274
|
+
validations: string[][];
|
|
207
275
|
hash: string;
|
|
208
276
|
}>, {
|
|
209
277
|
data: string;
|
|
278
|
+
configSig: string;
|
|
210
279
|
op: import("../shared").OpType;
|
|
211
280
|
user: string;
|
|
212
281
|
settler: string;
|
|
@@ -216,9 +285,16 @@ export declare const IntentQuoteRequestValidator: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
216
285
|
token: string;
|
|
217
286
|
amount: string;
|
|
218
287
|
}[];
|
|
288
|
+
events: {
|
|
289
|
+
data: string;
|
|
290
|
+
topic: string;
|
|
291
|
+
}[];
|
|
292
|
+
minValidations: number;
|
|
293
|
+
validations: string[][];
|
|
219
294
|
hash: string;
|
|
220
295
|
}, {
|
|
221
296
|
data: string;
|
|
297
|
+
configSig: string;
|
|
222
298
|
op: import("../shared").OpType;
|
|
223
299
|
user: string;
|
|
224
300
|
settler: string;
|
|
@@ -228,9 +304,16 @@ export declare const IntentQuoteRequestValidator: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
228
304
|
token: string;
|
|
229
305
|
amount: string;
|
|
230
306
|
}[];
|
|
307
|
+
events: {
|
|
308
|
+
data: string;
|
|
309
|
+
topic: string;
|
|
310
|
+
}[];
|
|
311
|
+
minValidations: number;
|
|
312
|
+
validations: string[][];
|
|
231
313
|
hash: string;
|
|
232
314
|
}>, {
|
|
233
315
|
data: string;
|
|
316
|
+
configSig: string;
|
|
234
317
|
op: import("../shared").OpType;
|
|
235
318
|
user: string;
|
|
236
319
|
settler: string;
|
|
@@ -240,9 +323,16 @@ export declare const IntentQuoteRequestValidator: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
240
323
|
token: string;
|
|
241
324
|
amount: string;
|
|
242
325
|
}[];
|
|
326
|
+
events: {
|
|
327
|
+
data: string;
|
|
328
|
+
topic: string;
|
|
329
|
+
}[];
|
|
330
|
+
minValidations: number;
|
|
331
|
+
validations: string[][];
|
|
243
332
|
hash: string;
|
|
244
333
|
}, {
|
|
245
334
|
data: string;
|
|
335
|
+
configSig: string;
|
|
246
336
|
op: import("../shared").OpType;
|
|
247
337
|
user: string;
|
|
248
338
|
settler: string;
|
|
@@ -252,6 +342,12 @@ export declare const IntentQuoteRequestValidator: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
252
342
|
token: string;
|
|
253
343
|
amount: string;
|
|
254
344
|
}[];
|
|
345
|
+
events: {
|
|
346
|
+
data: string;
|
|
347
|
+
topic: string;
|
|
348
|
+
}[];
|
|
349
|
+
minValidations: number;
|
|
350
|
+
validations: string[][];
|
|
255
351
|
hash: string;
|
|
256
352
|
}>;
|
|
257
353
|
export declare const IntentQuoteValidator: z.ZodObject<{
|
|
@@ -323,8 +419,21 @@ export declare const AxiaIntentsValidator: z.ZodArray<z.ZodObject<z.objectUtil.e
|
|
|
323
419
|
token: string;
|
|
324
420
|
amount: string;
|
|
325
421
|
}>, "many">;
|
|
422
|
+
events: z.ZodArray<z.ZodObject<{
|
|
423
|
+
topic: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
424
|
+
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
425
|
+
}, "strip", z.ZodTypeAny, {
|
|
426
|
+
data: string;
|
|
427
|
+
topic: string;
|
|
428
|
+
}, {
|
|
429
|
+
data: string;
|
|
430
|
+
topic: string;
|
|
431
|
+
}>, "many">;
|
|
432
|
+
configSig: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
433
|
+
minValidations: z.ZodNumber;
|
|
326
434
|
}, {
|
|
327
435
|
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
436
|
+
executionHash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
328
437
|
status: z.ZodNativeEnum<typeof IntentStatus>;
|
|
329
438
|
proposals: z.ZodArray<z.ZodObject<{
|
|
330
439
|
solver: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
@@ -339,10 +448,10 @@ export declare const AxiaIntentsValidator: z.ZodArray<z.ZodObject<z.objectUtil.e
|
|
|
339
448
|
destTransactionHash: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
340
449
|
}, "strip", z.ZodTypeAny, {
|
|
341
450
|
data: string;
|
|
451
|
+
status: ProposalStatus;
|
|
342
452
|
deadline: string;
|
|
343
453
|
solver: string;
|
|
344
454
|
fees: string[];
|
|
345
|
-
status: ProposalStatus;
|
|
346
455
|
feeUsd: number;
|
|
347
456
|
signatures: string[];
|
|
348
457
|
description?: string | undefined;
|
|
@@ -350,31 +459,33 @@ export declare const AxiaIntentsValidator: z.ZodArray<z.ZodObject<z.objectUtil.e
|
|
|
350
459
|
destTransactionHash?: string | undefined;
|
|
351
460
|
}, {
|
|
352
461
|
data: string;
|
|
462
|
+
status: ProposalStatus;
|
|
353
463
|
deadline: string;
|
|
354
464
|
solver: string;
|
|
355
465
|
fees: string[];
|
|
356
|
-
status: ProposalStatus;
|
|
357
466
|
feeUsd: number;
|
|
358
467
|
signatures: string[];
|
|
359
468
|
description?: string | undefined;
|
|
360
469
|
transactionHash?: string | undefined;
|
|
361
470
|
destTransactionHash?: string | undefined;
|
|
362
471
|
}>, "many">;
|
|
363
|
-
|
|
364
|
-
level: z.ZodNativeEnum<typeof
|
|
472
|
+
logs: z.ZodArray<z.ZodObject<{
|
|
473
|
+
level: z.ZodNativeEnum<typeof IntentLogLevel>;
|
|
365
474
|
data: z.ZodString;
|
|
366
475
|
createdAt: z.ZodDate;
|
|
367
476
|
}, "strip", z.ZodTypeAny, {
|
|
368
477
|
data: string;
|
|
369
|
-
level:
|
|
478
|
+
level: IntentLogLevel;
|
|
370
479
|
createdAt: Date;
|
|
371
480
|
}, {
|
|
372
481
|
data: string;
|
|
373
|
-
level:
|
|
482
|
+
level: IntentLogLevel;
|
|
374
483
|
createdAt: Date;
|
|
375
484
|
}>, "many">;
|
|
376
485
|
}>, "strip", z.ZodTypeAny, {
|
|
377
486
|
data: string;
|
|
487
|
+
status: IntentStatus;
|
|
488
|
+
configSig: string;
|
|
378
489
|
op: import("../shared").OpType;
|
|
379
490
|
user: string;
|
|
380
491
|
settler: string;
|
|
@@ -384,27 +495,34 @@ export declare const AxiaIntentsValidator: z.ZodArray<z.ZodObject<z.objectUtil.e
|
|
|
384
495
|
token: string;
|
|
385
496
|
amount: string;
|
|
386
497
|
}[];
|
|
387
|
-
|
|
498
|
+
events: {
|
|
499
|
+
data: string;
|
|
500
|
+
topic: string;
|
|
501
|
+
}[];
|
|
502
|
+
minValidations: number;
|
|
388
503
|
hash: string;
|
|
504
|
+
executionHash: string;
|
|
389
505
|
proposals: {
|
|
390
506
|
data: string;
|
|
507
|
+
status: ProposalStatus;
|
|
391
508
|
deadline: string;
|
|
392
509
|
solver: string;
|
|
393
510
|
fees: string[];
|
|
394
|
-
status: ProposalStatus;
|
|
395
511
|
feeUsd: number;
|
|
396
512
|
signatures: string[];
|
|
397
513
|
description?: string | undefined;
|
|
398
514
|
transactionHash?: string | undefined;
|
|
399
515
|
destTransactionHash?: string | undefined;
|
|
400
516
|
}[];
|
|
401
|
-
|
|
517
|
+
logs: {
|
|
402
518
|
data: string;
|
|
403
|
-
level:
|
|
519
|
+
level: IntentLogLevel;
|
|
404
520
|
createdAt: Date;
|
|
405
521
|
}[];
|
|
406
522
|
}, {
|
|
407
523
|
data: string;
|
|
524
|
+
status: IntentStatus;
|
|
525
|
+
configSig: string;
|
|
408
526
|
op: import("../shared").OpType;
|
|
409
527
|
user: string;
|
|
410
528
|
settler: string;
|
|
@@ -414,23 +532,28 @@ export declare const AxiaIntentsValidator: z.ZodArray<z.ZodObject<z.objectUtil.e
|
|
|
414
532
|
token: string;
|
|
415
533
|
amount: string;
|
|
416
534
|
}[];
|
|
417
|
-
|
|
535
|
+
events: {
|
|
536
|
+
data: string;
|
|
537
|
+
topic: string;
|
|
538
|
+
}[];
|
|
539
|
+
minValidations: number;
|
|
418
540
|
hash: string;
|
|
541
|
+
executionHash: string;
|
|
419
542
|
proposals: {
|
|
420
543
|
data: string;
|
|
544
|
+
status: ProposalStatus;
|
|
421
545
|
deadline: string;
|
|
422
546
|
solver: string;
|
|
423
547
|
fees: string[];
|
|
424
|
-
status: ProposalStatus;
|
|
425
548
|
feeUsd: number;
|
|
426
549
|
signatures: string[];
|
|
427
550
|
description?: string | undefined;
|
|
428
551
|
transactionHash?: string | undefined;
|
|
429
552
|
destTransactionHash?: string | undefined;
|
|
430
553
|
}[];
|
|
431
|
-
|
|
554
|
+
logs: {
|
|
432
555
|
data: string;
|
|
433
|
-
level:
|
|
556
|
+
level: IntentLogLevel;
|
|
434
557
|
createdAt: Date;
|
|
435
558
|
}[];
|
|
436
559
|
}>, "many">;
|
|
@@ -477,10 +600,23 @@ export declare const ExecutionIntentValidator: z.ZodObject<z.objectUtil.extendSh
|
|
|
477
600
|
token: string;
|
|
478
601
|
amount: string;
|
|
479
602
|
}>, "many">;
|
|
603
|
+
events: z.ZodArray<z.ZodObject<{
|
|
604
|
+
topic: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
605
|
+
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
606
|
+
}, "strip", z.ZodTypeAny, {
|
|
607
|
+
data: string;
|
|
608
|
+
topic: string;
|
|
609
|
+
}, {
|
|
610
|
+
data: string;
|
|
611
|
+
topic: string;
|
|
612
|
+
}>, "many">;
|
|
613
|
+
configSig: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
614
|
+
minValidations: z.ZodNumber;
|
|
480
615
|
}, {
|
|
481
616
|
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
482
617
|
}>, "strip", z.ZodTypeAny, {
|
|
483
618
|
data: string;
|
|
619
|
+
configSig: string;
|
|
484
620
|
op: import("../shared").OpType;
|
|
485
621
|
user: string;
|
|
486
622
|
settler: string;
|
|
@@ -490,9 +626,15 @@ export declare const ExecutionIntentValidator: z.ZodObject<z.objectUtil.extendSh
|
|
|
490
626
|
token: string;
|
|
491
627
|
amount: string;
|
|
492
628
|
}[];
|
|
629
|
+
events: {
|
|
630
|
+
data: string;
|
|
631
|
+
topic: string;
|
|
632
|
+
}[];
|
|
633
|
+
minValidations: number;
|
|
493
634
|
hash: string;
|
|
494
635
|
}, {
|
|
495
636
|
data: string;
|
|
637
|
+
configSig: string;
|
|
496
638
|
op: import("../shared").OpType;
|
|
497
639
|
user: string;
|
|
498
640
|
settler: string;
|
|
@@ -502,6 +644,11 @@ export declare const ExecutionIntentValidator: z.ZodObject<z.objectUtil.extendSh
|
|
|
502
644
|
token: string;
|
|
503
645
|
amount: string;
|
|
504
646
|
}[];
|
|
647
|
+
events: {
|
|
648
|
+
data: string;
|
|
649
|
+
topic: string;
|
|
650
|
+
}[];
|
|
651
|
+
minValidations: number;
|
|
505
652
|
hash: string;
|
|
506
653
|
}>;
|
|
507
654
|
export declare const ExecutionsGetRequestValidator: z.ZodObject<{
|
|
@@ -534,16 +681,7 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
|
|
|
534
681
|
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
535
682
|
timestamp: z.ZodNumber;
|
|
536
683
|
fuelUsed: z.ZodNumber;
|
|
537
|
-
logs: z.ZodArray<z.
|
|
538
|
-
level: z.ZodNativeEnum<typeof import("../shared").LogLevel>;
|
|
539
|
-
log: z.ZodString;
|
|
540
|
-
}, "strip", z.ZodTypeAny, {
|
|
541
|
-
level: import("../shared").LogLevel;
|
|
542
|
-
log: string;
|
|
543
|
-
}, {
|
|
544
|
-
level: import("../shared").LogLevel;
|
|
545
|
-
log: string;
|
|
546
|
-
}>, "many">;
|
|
684
|
+
logs: z.ZodArray<z.ZodString, "many">;
|
|
547
685
|
inputs: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
548
686
|
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
549
687
|
query: z.ZodObject<{
|
|
@@ -552,7 +690,7 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
|
|
|
552
690
|
params: z.ZodObject<{
|
|
553
691
|
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
554
692
|
timestamp: z.ZodEffects<z.ZodNumber, number, number>;
|
|
555
|
-
to: z.ZodEffects<z.
|
|
693
|
+
to: z.ZodEffects<z.ZodString, string, string>;
|
|
556
694
|
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
557
695
|
}, "strip", z.ZodTypeAny, {
|
|
558
696
|
chainId: number;
|
|
@@ -595,7 +733,6 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
|
|
|
595
733
|
result: {
|
|
596
734
|
value: string;
|
|
597
735
|
};
|
|
598
|
-
signature: string;
|
|
599
736
|
query: {
|
|
600
737
|
params: {
|
|
601
738
|
chainId: number;
|
|
@@ -606,11 +743,11 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
|
|
|
606
743
|
name: "EvmCallQuery";
|
|
607
744
|
hash: string;
|
|
608
745
|
};
|
|
746
|
+
signature: string;
|
|
609
747
|
}, {
|
|
610
748
|
result: {
|
|
611
749
|
value: string;
|
|
612
750
|
};
|
|
613
|
-
signature: string;
|
|
614
751
|
query: {
|
|
615
752
|
params: {
|
|
616
753
|
chainId: number;
|
|
@@ -621,6 +758,7 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
|
|
|
621
758
|
name: "EvmCallQuery";
|
|
622
759
|
hash: string;
|
|
623
760
|
};
|
|
761
|
+
signature: string;
|
|
624
762
|
}>, z.ZodObject<{
|
|
625
763
|
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
626
764
|
query: z.ZodObject<{
|
|
@@ -683,7 +821,6 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
|
|
|
683
821
|
result: {
|
|
684
822
|
value: string;
|
|
685
823
|
};
|
|
686
|
-
signature: string;
|
|
687
824
|
query: {
|
|
688
825
|
params: {
|
|
689
826
|
timestamp: number;
|
|
@@ -695,11 +832,11 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
|
|
|
695
832
|
name: "TokenPriceQuery";
|
|
696
833
|
hash: string;
|
|
697
834
|
};
|
|
835
|
+
signature: string;
|
|
698
836
|
}, {
|
|
699
837
|
result: {
|
|
700
838
|
value: string;
|
|
701
839
|
};
|
|
702
|
-
signature: string;
|
|
703
840
|
query: {
|
|
704
841
|
params: {
|
|
705
842
|
timestamp: number;
|
|
@@ -711,6 +848,7 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
|
|
|
711
848
|
name: "TokenPriceQuery";
|
|
712
849
|
hash: string;
|
|
713
850
|
};
|
|
851
|
+
signature: string;
|
|
714
852
|
}>, z.ZodObject<{
|
|
715
853
|
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
716
854
|
query: z.ZodObject<{
|
|
@@ -720,10 +858,9 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
|
|
|
720
858
|
chainIds: z.ZodArray<z.ZodEffects<z.ZodNumber, number, number>, "many">;
|
|
721
859
|
owner: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
722
860
|
usdMinAmount: z.ZodEffects<z.ZodString, string, string>;
|
|
723
|
-
timestamp: z.ZodEffects<z.ZodNumber, number, number>;
|
|
724
861
|
tokens: z.ZodArray<z.ZodObject<{
|
|
725
|
-
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
726
862
|
address: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
863
|
+
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
727
864
|
}, "strip", z.ZodTypeAny, {
|
|
728
865
|
chainId: number;
|
|
729
866
|
address: string;
|
|
@@ -733,34 +870,31 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
|
|
|
733
870
|
}>, "many">;
|
|
734
871
|
tokenFilter: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>;
|
|
735
872
|
}, "strip", z.ZodTypeAny, {
|
|
736
|
-
|
|
873
|
+
owner: string;
|
|
737
874
|
tokens: {
|
|
738
875
|
chainId: number;
|
|
739
876
|
address: string;
|
|
740
877
|
}[];
|
|
741
|
-
owner: string;
|
|
742
878
|
usdMinAmount: string;
|
|
743
879
|
chainIds: number[];
|
|
744
880
|
tokenFilter: 0 | 1;
|
|
745
881
|
}, {
|
|
746
|
-
|
|
882
|
+
owner: string;
|
|
747
883
|
tokens: {
|
|
748
884
|
chainId: number;
|
|
749
885
|
address: string;
|
|
750
886
|
}[];
|
|
751
|
-
owner: string;
|
|
752
887
|
usdMinAmount: string;
|
|
753
888
|
chainIds: number[];
|
|
754
889
|
tokenFilter: 0 | 1;
|
|
755
890
|
}>;
|
|
756
891
|
}, "strip", z.ZodTypeAny, {
|
|
757
892
|
params: {
|
|
758
|
-
|
|
893
|
+
owner: string;
|
|
759
894
|
tokens: {
|
|
760
895
|
chainId: number;
|
|
761
896
|
address: string;
|
|
762
897
|
}[];
|
|
763
|
-
owner: string;
|
|
764
898
|
usdMinAmount: string;
|
|
765
899
|
chainIds: number[];
|
|
766
900
|
tokenFilter: 0 | 1;
|
|
@@ -769,12 +903,11 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
|
|
|
769
903
|
hash: string;
|
|
770
904
|
}, {
|
|
771
905
|
params: {
|
|
772
|
-
|
|
906
|
+
owner: string;
|
|
773
907
|
tokens: {
|
|
774
908
|
chainId: number;
|
|
775
909
|
address: string;
|
|
776
910
|
}[];
|
|
777
|
-
owner: string;
|
|
778
911
|
usdMinAmount: string;
|
|
779
912
|
chainIds: number[];
|
|
780
913
|
tokenFilter: 0 | 1;
|
|
@@ -783,67 +916,95 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
|
|
|
783
916
|
hash: string;
|
|
784
917
|
}>;
|
|
785
918
|
result: z.ZodObject<{
|
|
786
|
-
value: z.
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
919
|
+
value: z.ZodObject<{
|
|
920
|
+
timestamp: z.ZodEffects<z.ZodNumber, number, number>;
|
|
921
|
+
balances: z.ZodArray<z.ZodObject<{
|
|
922
|
+
token: z.ZodObject<{
|
|
923
|
+
address: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
924
|
+
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
925
|
+
}, "strip", z.ZodTypeAny, {
|
|
926
|
+
chainId: number;
|
|
927
|
+
address: string;
|
|
928
|
+
}, {
|
|
929
|
+
chainId: number;
|
|
930
|
+
address: string;
|
|
931
|
+
}>;
|
|
932
|
+
balance: z.ZodEffects<z.ZodString, string, string>;
|
|
790
933
|
}, "strip", z.ZodTypeAny, {
|
|
791
|
-
|
|
792
|
-
|
|
934
|
+
token: {
|
|
935
|
+
chainId: number;
|
|
936
|
+
address: string;
|
|
937
|
+
};
|
|
938
|
+
balance: string;
|
|
793
939
|
}, {
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
940
|
+
token: {
|
|
941
|
+
chainId: number;
|
|
942
|
+
address: string;
|
|
943
|
+
};
|
|
944
|
+
balance: string;
|
|
945
|
+
}>, "many">;
|
|
798
946
|
}, "strip", z.ZodTypeAny, {
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
947
|
+
timestamp: number;
|
|
948
|
+
balances: {
|
|
949
|
+
token: {
|
|
950
|
+
chainId: number;
|
|
951
|
+
address: string;
|
|
952
|
+
};
|
|
953
|
+
balance: string;
|
|
954
|
+
}[];
|
|
804
955
|
}, {
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
956
|
+
timestamp: number;
|
|
957
|
+
balances: {
|
|
958
|
+
token: {
|
|
959
|
+
chainId: number;
|
|
960
|
+
address: string;
|
|
961
|
+
};
|
|
962
|
+
balance: string;
|
|
963
|
+
}[];
|
|
964
|
+
}>;
|
|
811
965
|
}, "strip", z.ZodTypeAny, {
|
|
812
966
|
value: {
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
967
|
+
timestamp: number;
|
|
968
|
+
balances: {
|
|
969
|
+
token: {
|
|
970
|
+
chainId: number;
|
|
971
|
+
address: string;
|
|
972
|
+
};
|
|
973
|
+
balance: string;
|
|
974
|
+
}[];
|
|
975
|
+
};
|
|
819
976
|
}, {
|
|
820
977
|
value: {
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
978
|
+
timestamp: number;
|
|
979
|
+
balances: {
|
|
980
|
+
token: {
|
|
981
|
+
chainId: number;
|
|
982
|
+
address: string;
|
|
983
|
+
};
|
|
984
|
+
balance: string;
|
|
985
|
+
}[];
|
|
986
|
+
};
|
|
827
987
|
}>;
|
|
828
988
|
}, "strip", z.ZodTypeAny, {
|
|
829
989
|
result: {
|
|
830
990
|
value: {
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
991
|
+
timestamp: number;
|
|
992
|
+
balances: {
|
|
993
|
+
token: {
|
|
994
|
+
chainId: number;
|
|
995
|
+
address: string;
|
|
996
|
+
};
|
|
997
|
+
balance: string;
|
|
998
|
+
}[];
|
|
999
|
+
};
|
|
837
1000
|
};
|
|
838
|
-
signature: string;
|
|
839
1001
|
query: {
|
|
840
1002
|
params: {
|
|
841
|
-
|
|
1003
|
+
owner: string;
|
|
842
1004
|
tokens: {
|
|
843
1005
|
chainId: number;
|
|
844
1006
|
address: string;
|
|
845
1007
|
}[];
|
|
846
|
-
owner: string;
|
|
847
1008
|
usdMinAmount: string;
|
|
848
1009
|
chainIds: number[];
|
|
849
1010
|
tokenFilter: 0 | 1;
|
|
@@ -851,25 +1012,27 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
|
|
|
851
1012
|
name: "RelevantTokensQuery";
|
|
852
1013
|
hash: string;
|
|
853
1014
|
};
|
|
1015
|
+
signature: string;
|
|
854
1016
|
}, {
|
|
855
1017
|
result: {
|
|
856
1018
|
value: {
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
1019
|
+
timestamp: number;
|
|
1020
|
+
balances: {
|
|
1021
|
+
token: {
|
|
1022
|
+
chainId: number;
|
|
1023
|
+
address: string;
|
|
1024
|
+
};
|
|
1025
|
+
balance: string;
|
|
1026
|
+
}[];
|
|
1027
|
+
};
|
|
863
1028
|
};
|
|
864
|
-
signature: string;
|
|
865
1029
|
query: {
|
|
866
1030
|
params: {
|
|
867
|
-
|
|
1031
|
+
owner: string;
|
|
868
1032
|
tokens: {
|
|
869
1033
|
chainId: number;
|
|
870
1034
|
address: string;
|
|
871
1035
|
}[];
|
|
872
|
-
owner: string;
|
|
873
1036
|
usdMinAmount: string;
|
|
874
1037
|
chainIds: number[];
|
|
875
1038
|
tokenFilter: 0 | 1;
|
|
@@ -877,28 +1040,278 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
|
|
|
877
1040
|
name: "RelevantTokensQuery";
|
|
878
1041
|
hash: string;
|
|
879
1042
|
};
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
1043
|
+
signature: string;
|
|
1044
|
+
}>, z.ZodObject<{
|
|
1045
|
+
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1046
|
+
query: z.ZodObject<{
|
|
1047
|
+
name: z.ZodLiteral<"SubgraphQuery">;
|
|
1048
|
+
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1049
|
+
params: z.ZodObject<{
|
|
1050
|
+
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
1051
|
+
timestamp: z.ZodEffects<z.ZodNumber, number, number>;
|
|
1052
|
+
subgraphId: z.ZodString;
|
|
1053
|
+
query: z.ZodString;
|
|
1054
|
+
}, "strip", z.ZodTypeAny, {
|
|
1055
|
+
chainId: number;
|
|
1056
|
+
timestamp: number;
|
|
1057
|
+
subgraphId: string;
|
|
1058
|
+
query: string;
|
|
1059
|
+
}, {
|
|
1060
|
+
chainId: number;
|
|
1061
|
+
timestamp: number;
|
|
1062
|
+
subgraphId: string;
|
|
1063
|
+
query: string;
|
|
1064
|
+
}>;
|
|
891
1065
|
}, "strip", z.ZodTypeAny, {
|
|
892
|
-
|
|
893
|
-
|
|
1066
|
+
params: {
|
|
1067
|
+
chainId: number;
|
|
1068
|
+
timestamp: number;
|
|
1069
|
+
subgraphId: string;
|
|
1070
|
+
query: string;
|
|
1071
|
+
};
|
|
1072
|
+
name: "SubgraphQuery";
|
|
1073
|
+
hash: string;
|
|
894
1074
|
}, {
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
1075
|
+
params: {
|
|
1076
|
+
chainId: number;
|
|
1077
|
+
timestamp: number;
|
|
1078
|
+
subgraphId: string;
|
|
1079
|
+
query: string;
|
|
1080
|
+
};
|
|
1081
|
+
name: "SubgraphQuery";
|
|
1082
|
+
hash: string;
|
|
1083
|
+
}>;
|
|
1084
|
+
result: z.ZodObject<{
|
|
1085
|
+
value: z.ZodObject<{
|
|
1086
|
+
blockNumber: z.ZodNumber;
|
|
1087
|
+
data: z.ZodString;
|
|
1088
|
+
}, "strip", z.ZodTypeAny, {
|
|
1089
|
+
data: string;
|
|
1090
|
+
blockNumber: number;
|
|
1091
|
+
}, {
|
|
1092
|
+
data: string;
|
|
1093
|
+
blockNumber: number;
|
|
1094
|
+
}>;
|
|
1095
|
+
}, "strip", z.ZodTypeAny, {
|
|
1096
|
+
value: {
|
|
1097
|
+
data: string;
|
|
1098
|
+
blockNumber: number;
|
|
1099
|
+
};
|
|
1100
|
+
}, {
|
|
1101
|
+
value: {
|
|
1102
|
+
data: string;
|
|
1103
|
+
blockNumber: number;
|
|
1104
|
+
};
|
|
1105
|
+
}>;
|
|
1106
|
+
}, "strip", z.ZodTypeAny, {
|
|
1107
|
+
result: {
|
|
1108
|
+
value: {
|
|
1109
|
+
data: string;
|
|
1110
|
+
blockNumber: number;
|
|
1111
|
+
};
|
|
1112
|
+
};
|
|
1113
|
+
query: {
|
|
1114
|
+
params: {
|
|
1115
|
+
chainId: number;
|
|
1116
|
+
timestamp: number;
|
|
1117
|
+
subgraphId: string;
|
|
1118
|
+
query: string;
|
|
1119
|
+
};
|
|
1120
|
+
name: "SubgraphQuery";
|
|
1121
|
+
hash: string;
|
|
1122
|
+
};
|
|
1123
|
+
signature: string;
|
|
1124
|
+
}, {
|
|
1125
|
+
result: {
|
|
1126
|
+
value: {
|
|
1127
|
+
data: string;
|
|
1128
|
+
blockNumber: number;
|
|
1129
|
+
};
|
|
1130
|
+
};
|
|
1131
|
+
query: {
|
|
1132
|
+
params: {
|
|
1133
|
+
chainId: number;
|
|
1134
|
+
timestamp: number;
|
|
1135
|
+
subgraphId: string;
|
|
1136
|
+
query: string;
|
|
1137
|
+
};
|
|
1138
|
+
name: "SubgraphQuery";
|
|
1139
|
+
hash: string;
|
|
1140
|
+
};
|
|
1141
|
+
signature: string;
|
|
1142
|
+
}>, z.ZodObject<{
|
|
1143
|
+
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1144
|
+
query: z.ZodObject<{
|
|
1145
|
+
name: z.ZodLiteral<"SvmGetAccountsInfoQuery">;
|
|
1146
|
+
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1147
|
+
params: z.ZodObject<{
|
|
1148
|
+
publicKeys: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
1149
|
+
timestamp: z.ZodEffects<z.ZodNumber, number, number>;
|
|
1150
|
+
}, "strip", z.ZodTypeAny, {
|
|
1151
|
+
timestamp: number;
|
|
1152
|
+
publicKeys: string[];
|
|
1153
|
+
}, {
|
|
1154
|
+
timestamp: number;
|
|
1155
|
+
publicKeys: string[];
|
|
1156
|
+
}>;
|
|
1157
|
+
}, "strip", z.ZodTypeAny, {
|
|
1158
|
+
params: {
|
|
1159
|
+
timestamp: number;
|
|
1160
|
+
publicKeys: string[];
|
|
1161
|
+
};
|
|
1162
|
+
name: "SvmGetAccountsInfoQuery";
|
|
1163
|
+
hash: string;
|
|
1164
|
+
}, {
|
|
1165
|
+
params: {
|
|
1166
|
+
timestamp: number;
|
|
1167
|
+
publicKeys: string[];
|
|
1168
|
+
};
|
|
1169
|
+
name: "SvmGetAccountsInfoQuery";
|
|
1170
|
+
hash: string;
|
|
1171
|
+
}>;
|
|
1172
|
+
result: z.ZodObject<{
|
|
1173
|
+
value: z.ZodObject<{
|
|
1174
|
+
accountsInfo: z.ZodArray<z.ZodObject<{
|
|
1175
|
+
executable: z.ZodBoolean;
|
|
1176
|
+
owner: z.ZodEffects<z.ZodString, string, string>;
|
|
1177
|
+
lamports: z.ZodEffects<z.ZodString, string, string>;
|
|
1178
|
+
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1179
|
+
rentEpoch: z.ZodEffects<z.ZodString, string, string>;
|
|
1180
|
+
}, "strip", z.ZodTypeAny, {
|
|
1181
|
+
data: string;
|
|
1182
|
+
executable: boolean;
|
|
1183
|
+
owner: string;
|
|
1184
|
+
lamports: string;
|
|
1185
|
+
rentEpoch: string;
|
|
1186
|
+
}, {
|
|
1187
|
+
data: string;
|
|
1188
|
+
executable: boolean;
|
|
1189
|
+
owner: string;
|
|
1190
|
+
lamports: string;
|
|
1191
|
+
rentEpoch: string;
|
|
1192
|
+
}>, "many">;
|
|
1193
|
+
slot: z.ZodEffects<z.ZodString, string, string>;
|
|
1194
|
+
}, "strip", z.ZodTypeAny, {
|
|
1195
|
+
accountsInfo: {
|
|
1196
|
+
data: string;
|
|
1197
|
+
executable: boolean;
|
|
1198
|
+
owner: string;
|
|
1199
|
+
lamports: string;
|
|
1200
|
+
rentEpoch: string;
|
|
1201
|
+
}[];
|
|
1202
|
+
slot: string;
|
|
1203
|
+
}, {
|
|
1204
|
+
accountsInfo: {
|
|
1205
|
+
data: string;
|
|
1206
|
+
executable: boolean;
|
|
1207
|
+
owner: string;
|
|
1208
|
+
lamports: string;
|
|
1209
|
+
rentEpoch: string;
|
|
1210
|
+
}[];
|
|
1211
|
+
slot: string;
|
|
1212
|
+
}>;
|
|
1213
|
+
}, "strip", z.ZodTypeAny, {
|
|
1214
|
+
value: {
|
|
1215
|
+
accountsInfo: {
|
|
1216
|
+
data: string;
|
|
1217
|
+
executable: boolean;
|
|
1218
|
+
owner: string;
|
|
1219
|
+
lamports: string;
|
|
1220
|
+
rentEpoch: string;
|
|
1221
|
+
}[];
|
|
1222
|
+
slot: string;
|
|
1223
|
+
};
|
|
1224
|
+
}, {
|
|
1225
|
+
value: {
|
|
1226
|
+
accountsInfo: {
|
|
1227
|
+
data: string;
|
|
1228
|
+
executable: boolean;
|
|
1229
|
+
owner: string;
|
|
1230
|
+
lamports: string;
|
|
1231
|
+
rentEpoch: string;
|
|
1232
|
+
}[];
|
|
1233
|
+
slot: string;
|
|
1234
|
+
};
|
|
1235
|
+
}>;
|
|
1236
|
+
}, "strip", z.ZodTypeAny, {
|
|
1237
|
+
result: {
|
|
1238
|
+
value: {
|
|
1239
|
+
accountsInfo: {
|
|
1240
|
+
data: string;
|
|
1241
|
+
executable: boolean;
|
|
1242
|
+
owner: string;
|
|
1243
|
+
lamports: string;
|
|
1244
|
+
rentEpoch: string;
|
|
1245
|
+
}[];
|
|
1246
|
+
slot: string;
|
|
1247
|
+
};
|
|
1248
|
+
};
|
|
1249
|
+
query: {
|
|
1250
|
+
params: {
|
|
1251
|
+
timestamp: number;
|
|
1252
|
+
publicKeys: string[];
|
|
1253
|
+
};
|
|
1254
|
+
name: "SvmGetAccountsInfoQuery";
|
|
1255
|
+
hash: string;
|
|
1256
|
+
};
|
|
1257
|
+
signature: string;
|
|
1258
|
+
}, {
|
|
1259
|
+
result: {
|
|
1260
|
+
value: {
|
|
1261
|
+
accountsInfo: {
|
|
1262
|
+
data: string;
|
|
1263
|
+
executable: boolean;
|
|
1264
|
+
owner: string;
|
|
1265
|
+
lamports: string;
|
|
1266
|
+
rentEpoch: string;
|
|
1267
|
+
}[];
|
|
1268
|
+
slot: string;
|
|
1269
|
+
};
|
|
1270
|
+
};
|
|
1271
|
+
query: {
|
|
1272
|
+
params: {
|
|
1273
|
+
timestamp: number;
|
|
1274
|
+
publicKeys: string[];
|
|
1275
|
+
};
|
|
1276
|
+
name: "SvmGetAccountsInfoQuery";
|
|
1277
|
+
hash: string;
|
|
1278
|
+
};
|
|
1279
|
+
signature: string;
|
|
1280
|
+
}>]>, "many">;
|
|
1281
|
+
outputs: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
1282
|
+
op: z.ZodNativeEnum<typeof import("../shared").OpType>;
|
|
1283
|
+
user: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1284
|
+
settler: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1285
|
+
nonce: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1286
|
+
deadline: z.ZodEffects<z.ZodString, string, string>;
|
|
1287
|
+
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1288
|
+
maxFees: z.ZodArray<z.ZodObject<{
|
|
1289
|
+
token: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1290
|
+
amount: z.ZodEffects<z.ZodString, string, string>;
|
|
1291
|
+
}, "strip", z.ZodTypeAny, {
|
|
1292
|
+
token: string;
|
|
1293
|
+
amount: string;
|
|
1294
|
+
}, {
|
|
1295
|
+
token: string;
|
|
1296
|
+
amount: string;
|
|
1297
|
+
}>, "many">;
|
|
1298
|
+
events: z.ZodArray<z.ZodObject<{
|
|
1299
|
+
topic: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1300
|
+
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1301
|
+
}, "strip", z.ZodTypeAny, {
|
|
1302
|
+
data: string;
|
|
1303
|
+
topic: string;
|
|
1304
|
+
}, {
|
|
1305
|
+
data: string;
|
|
1306
|
+
topic: string;
|
|
1307
|
+
}>, "many">;
|
|
1308
|
+
configSig: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1309
|
+
minValidations: z.ZodNumber;
|
|
1310
|
+
}, {
|
|
1311
|
+
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1312
|
+
}>, "strip", z.ZodTypeAny, {
|
|
901
1313
|
data: string;
|
|
1314
|
+
configSig: string;
|
|
902
1315
|
op: import("../shared").OpType;
|
|
903
1316
|
user: string;
|
|
904
1317
|
settler: string;
|
|
@@ -908,9 +1321,15 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
|
|
|
908
1321
|
token: string;
|
|
909
1322
|
amount: string;
|
|
910
1323
|
}[];
|
|
1324
|
+
events: {
|
|
1325
|
+
data: string;
|
|
1326
|
+
topic: string;
|
|
1327
|
+
}[];
|
|
1328
|
+
minValidations: number;
|
|
911
1329
|
hash: string;
|
|
912
1330
|
}, {
|
|
913
1331
|
data: string;
|
|
1332
|
+
configSig: string;
|
|
914
1333
|
op: import("../shared").OpType;
|
|
915
1334
|
user: string;
|
|
916
1335
|
settler: string;
|
|
@@ -920,26 +1339,29 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
|
|
|
920
1339
|
token: string;
|
|
921
1340
|
amount: string;
|
|
922
1341
|
}[];
|
|
1342
|
+
events: {
|
|
1343
|
+
data: string;
|
|
1344
|
+
topic: string;
|
|
1345
|
+
}[];
|
|
1346
|
+
minValidations: number;
|
|
923
1347
|
hash: string;
|
|
924
1348
|
}>, "many">;
|
|
925
1349
|
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1350
|
+
result: z.ZodNativeEnum<typeof ExecutionResult>;
|
|
926
1351
|
}>, "strip", z.ZodTypeAny, {
|
|
1352
|
+
result: ExecutionResult;
|
|
927
1353
|
timestamp: number;
|
|
928
1354
|
configSig: string;
|
|
929
1355
|
triggerType: import("../shared").TriggerType;
|
|
930
1356
|
triggerData: string;
|
|
931
1357
|
signature: string;
|
|
932
1358
|
hash: string;
|
|
1359
|
+
logs: string[];
|
|
933
1360
|
fuelUsed: number;
|
|
934
|
-
logs: {
|
|
935
|
-
level: import("../shared").LogLevel;
|
|
936
|
-
log: string;
|
|
937
|
-
}[];
|
|
938
1361
|
inputs: ({
|
|
939
1362
|
result: {
|
|
940
1363
|
value: string;
|
|
941
1364
|
};
|
|
942
|
-
signature: string;
|
|
943
1365
|
query: {
|
|
944
1366
|
params: {
|
|
945
1367
|
chainId: number;
|
|
@@ -950,11 +1372,33 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
|
|
|
950
1372
|
name: "EvmCallQuery";
|
|
951
1373
|
hash: string;
|
|
952
1374
|
};
|
|
1375
|
+
signature: string;
|
|
953
1376
|
} | {
|
|
954
1377
|
result: {
|
|
955
|
-
value:
|
|
1378
|
+
value: {
|
|
1379
|
+
accountsInfo: {
|
|
1380
|
+
data: string;
|
|
1381
|
+
executable: boolean;
|
|
1382
|
+
owner: string;
|
|
1383
|
+
lamports: string;
|
|
1384
|
+
rentEpoch: string;
|
|
1385
|
+
}[];
|
|
1386
|
+
slot: string;
|
|
1387
|
+
};
|
|
1388
|
+
};
|
|
1389
|
+
query: {
|
|
1390
|
+
params: {
|
|
1391
|
+
timestamp: number;
|
|
1392
|
+
publicKeys: string[];
|
|
1393
|
+
};
|
|
1394
|
+
name: "SvmGetAccountsInfoQuery";
|
|
1395
|
+
hash: string;
|
|
956
1396
|
};
|
|
957
1397
|
signature: string;
|
|
1398
|
+
} | {
|
|
1399
|
+
result: {
|
|
1400
|
+
value: string;
|
|
1401
|
+
};
|
|
958
1402
|
query: {
|
|
959
1403
|
params: {
|
|
960
1404
|
timestamp: number;
|
|
@@ -966,25 +1410,27 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
|
|
|
966
1410
|
name: "TokenPriceQuery";
|
|
967
1411
|
hash: string;
|
|
968
1412
|
};
|
|
1413
|
+
signature: string;
|
|
969
1414
|
} | {
|
|
970
1415
|
result: {
|
|
971
1416
|
value: {
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
1417
|
+
timestamp: number;
|
|
1418
|
+
balances: {
|
|
1419
|
+
token: {
|
|
1420
|
+
chainId: number;
|
|
1421
|
+
address: string;
|
|
1422
|
+
};
|
|
1423
|
+
balance: string;
|
|
1424
|
+
}[];
|
|
1425
|
+
};
|
|
978
1426
|
};
|
|
979
|
-
signature: string;
|
|
980
1427
|
query: {
|
|
981
1428
|
params: {
|
|
982
|
-
|
|
1429
|
+
owner: string;
|
|
983
1430
|
tokens: {
|
|
984
1431
|
chainId: number;
|
|
985
1432
|
address: string;
|
|
986
1433
|
}[];
|
|
987
|
-
owner: string;
|
|
988
1434
|
usdMinAmount: string;
|
|
989
1435
|
chainIds: number[];
|
|
990
1436
|
tokenFilter: 0 | 1;
|
|
@@ -992,9 +1438,29 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
|
|
|
992
1438
|
name: "RelevantTokensQuery";
|
|
993
1439
|
hash: string;
|
|
994
1440
|
};
|
|
1441
|
+
signature: string;
|
|
1442
|
+
} | {
|
|
1443
|
+
result: {
|
|
1444
|
+
value: {
|
|
1445
|
+
data: string;
|
|
1446
|
+
blockNumber: number;
|
|
1447
|
+
};
|
|
1448
|
+
};
|
|
1449
|
+
query: {
|
|
1450
|
+
params: {
|
|
1451
|
+
chainId: number;
|
|
1452
|
+
timestamp: number;
|
|
1453
|
+
subgraphId: string;
|
|
1454
|
+
query: string;
|
|
1455
|
+
};
|
|
1456
|
+
name: "SubgraphQuery";
|
|
1457
|
+
hash: string;
|
|
1458
|
+
};
|
|
1459
|
+
signature: string;
|
|
995
1460
|
})[];
|
|
996
1461
|
outputs: {
|
|
997
1462
|
data: string;
|
|
1463
|
+
configSig: string;
|
|
998
1464
|
op: import("../shared").OpType;
|
|
999
1465
|
user: string;
|
|
1000
1466
|
settler: string;
|
|
@@ -1004,25 +1470,27 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
|
|
|
1004
1470
|
token: string;
|
|
1005
1471
|
amount: string;
|
|
1006
1472
|
}[];
|
|
1473
|
+
events: {
|
|
1474
|
+
data: string;
|
|
1475
|
+
topic: string;
|
|
1476
|
+
}[];
|
|
1477
|
+
minValidations: number;
|
|
1007
1478
|
hash: string;
|
|
1008
1479
|
}[];
|
|
1009
1480
|
}, {
|
|
1481
|
+
result: ExecutionResult;
|
|
1010
1482
|
timestamp: number;
|
|
1011
1483
|
configSig: string;
|
|
1012
1484
|
triggerType: import("../shared").TriggerType;
|
|
1013
1485
|
triggerData: string;
|
|
1014
1486
|
signature: string;
|
|
1015
1487
|
hash: string;
|
|
1488
|
+
logs: string[];
|
|
1016
1489
|
fuelUsed: number;
|
|
1017
|
-
logs: {
|
|
1018
|
-
level: import("../shared").LogLevel;
|
|
1019
|
-
log: string;
|
|
1020
|
-
}[];
|
|
1021
1490
|
inputs: ({
|
|
1022
1491
|
result: {
|
|
1023
1492
|
value: string;
|
|
1024
1493
|
};
|
|
1025
|
-
signature: string;
|
|
1026
1494
|
query: {
|
|
1027
1495
|
params: {
|
|
1028
1496
|
chainId: number;
|
|
@@ -1033,11 +1501,33 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
|
|
|
1033
1501
|
name: "EvmCallQuery";
|
|
1034
1502
|
hash: string;
|
|
1035
1503
|
};
|
|
1504
|
+
signature: string;
|
|
1036
1505
|
} | {
|
|
1037
1506
|
result: {
|
|
1038
|
-
value:
|
|
1507
|
+
value: {
|
|
1508
|
+
accountsInfo: {
|
|
1509
|
+
data: string;
|
|
1510
|
+
executable: boolean;
|
|
1511
|
+
owner: string;
|
|
1512
|
+
lamports: string;
|
|
1513
|
+
rentEpoch: string;
|
|
1514
|
+
}[];
|
|
1515
|
+
slot: string;
|
|
1516
|
+
};
|
|
1517
|
+
};
|
|
1518
|
+
query: {
|
|
1519
|
+
params: {
|
|
1520
|
+
timestamp: number;
|
|
1521
|
+
publicKeys: string[];
|
|
1522
|
+
};
|
|
1523
|
+
name: "SvmGetAccountsInfoQuery";
|
|
1524
|
+
hash: string;
|
|
1039
1525
|
};
|
|
1040
1526
|
signature: string;
|
|
1527
|
+
} | {
|
|
1528
|
+
result: {
|
|
1529
|
+
value: string;
|
|
1530
|
+
};
|
|
1041
1531
|
query: {
|
|
1042
1532
|
params: {
|
|
1043
1533
|
timestamp: number;
|
|
@@ -1049,25 +1539,27 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
|
|
|
1049
1539
|
name: "TokenPriceQuery";
|
|
1050
1540
|
hash: string;
|
|
1051
1541
|
};
|
|
1542
|
+
signature: string;
|
|
1052
1543
|
} | {
|
|
1053
1544
|
result: {
|
|
1054
1545
|
value: {
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1546
|
+
timestamp: number;
|
|
1547
|
+
balances: {
|
|
1548
|
+
token: {
|
|
1549
|
+
chainId: number;
|
|
1550
|
+
address: string;
|
|
1551
|
+
};
|
|
1552
|
+
balance: string;
|
|
1553
|
+
}[];
|
|
1554
|
+
};
|
|
1061
1555
|
};
|
|
1062
|
-
signature: string;
|
|
1063
1556
|
query: {
|
|
1064
1557
|
params: {
|
|
1065
|
-
|
|
1558
|
+
owner: string;
|
|
1066
1559
|
tokens: {
|
|
1067
1560
|
chainId: number;
|
|
1068
1561
|
address: string;
|
|
1069
1562
|
}[];
|
|
1070
|
-
owner: string;
|
|
1071
1563
|
usdMinAmount: string;
|
|
1072
1564
|
chainIds: number[];
|
|
1073
1565
|
tokenFilter: 0 | 1;
|
|
@@ -1075,9 +1567,29 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
|
|
|
1075
1567
|
name: "RelevantTokensQuery";
|
|
1076
1568
|
hash: string;
|
|
1077
1569
|
};
|
|
1570
|
+
signature: string;
|
|
1571
|
+
} | {
|
|
1572
|
+
result: {
|
|
1573
|
+
value: {
|
|
1574
|
+
data: string;
|
|
1575
|
+
blockNumber: number;
|
|
1576
|
+
};
|
|
1577
|
+
};
|
|
1578
|
+
query: {
|
|
1579
|
+
params: {
|
|
1580
|
+
chainId: number;
|
|
1581
|
+
timestamp: number;
|
|
1582
|
+
subgraphId: string;
|
|
1583
|
+
query: string;
|
|
1584
|
+
};
|
|
1585
|
+
name: "SubgraphQuery";
|
|
1586
|
+
hash: string;
|
|
1587
|
+
};
|
|
1588
|
+
signature: string;
|
|
1078
1589
|
})[];
|
|
1079
1590
|
outputs: {
|
|
1080
1591
|
data: string;
|
|
1592
|
+
configSig: string;
|
|
1081
1593
|
op: import("../shared").OpType;
|
|
1082
1594
|
user: string;
|
|
1083
1595
|
settler: string;
|
|
@@ -1087,10 +1599,16 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
|
|
|
1087
1599
|
token: string;
|
|
1088
1600
|
amount: string;
|
|
1089
1601
|
}[];
|
|
1602
|
+
events: {
|
|
1603
|
+
data: string;
|
|
1604
|
+
topic: string;
|
|
1605
|
+
}[];
|
|
1606
|
+
minValidations: number;
|
|
1090
1607
|
hash: string;
|
|
1091
1608
|
}[];
|
|
1092
1609
|
}>;
|
|
1093
1610
|
export declare const ExecutionFeeValidator: z.ZodObject<{
|
|
1611
|
+
trigger: z.ZodNumber;
|
|
1094
1612
|
relayer: z.ZodNumber;
|
|
1095
1613
|
oracles: z.ZodNumber;
|
|
1096
1614
|
validator: z.ZodNumber;
|
|
@@ -1098,6 +1616,7 @@ export declare const ExecutionFeeValidator: z.ZodObject<{
|
|
|
1098
1616
|
protocol: z.ZodNumber;
|
|
1099
1617
|
total: z.ZodNumber;
|
|
1100
1618
|
}, "strip", z.ZodTypeAny, {
|
|
1619
|
+
trigger: number;
|
|
1101
1620
|
relayer: number;
|
|
1102
1621
|
oracles: number;
|
|
1103
1622
|
validator: number;
|
|
@@ -1105,6 +1624,7 @@ export declare const ExecutionFeeValidator: z.ZodObject<{
|
|
|
1105
1624
|
protocol: number;
|
|
1106
1625
|
total: number;
|
|
1107
1626
|
}, {
|
|
1627
|
+
trigger: number;
|
|
1108
1628
|
relayer: number;
|
|
1109
1629
|
oracles: number;
|
|
1110
1630
|
validator: number;
|
|
@@ -1112,6 +1632,19 @@ export declare const ExecutionFeeValidator: z.ZodObject<{
|
|
|
1112
1632
|
protocol: number;
|
|
1113
1633
|
total: number;
|
|
1114
1634
|
}>;
|
|
1635
|
+
export declare const ExecutionValidationValidator: z.ZodObject<{
|
|
1636
|
+
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1637
|
+
succeeded: z.ZodBoolean;
|
|
1638
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1639
|
+
}, "strip", z.ZodTypeAny, {
|
|
1640
|
+
succeeded: boolean;
|
|
1641
|
+
signature: string;
|
|
1642
|
+
description?: string | undefined;
|
|
1643
|
+
}, {
|
|
1644
|
+
succeeded: boolean;
|
|
1645
|
+
signature: string;
|
|
1646
|
+
description?: string | undefined;
|
|
1647
|
+
}>;
|
|
1115
1648
|
export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1116
1649
|
configSig: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1117
1650
|
triggerType: z.ZodNativeEnum<typeof import("../shared").TriggerType>;
|
|
@@ -1120,16 +1653,7 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
1120
1653
|
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1121
1654
|
timestamp: z.ZodNumber;
|
|
1122
1655
|
fuelUsed: z.ZodNumber;
|
|
1123
|
-
logs: z.ZodArray<z.
|
|
1124
|
-
level: z.ZodNativeEnum<typeof import("../shared").LogLevel>;
|
|
1125
|
-
log: z.ZodString;
|
|
1126
|
-
}, "strip", z.ZodTypeAny, {
|
|
1127
|
-
level: import("../shared").LogLevel;
|
|
1128
|
-
log: string;
|
|
1129
|
-
}, {
|
|
1130
|
-
level: import("../shared").LogLevel;
|
|
1131
|
-
log: string;
|
|
1132
|
-
}>, "many">;
|
|
1656
|
+
logs: z.ZodArray<z.ZodString, "many">;
|
|
1133
1657
|
inputs: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
1134
1658
|
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1135
1659
|
query: z.ZodObject<{
|
|
@@ -1138,7 +1662,7 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
1138
1662
|
params: z.ZodObject<{
|
|
1139
1663
|
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
1140
1664
|
timestamp: z.ZodEffects<z.ZodNumber, number, number>;
|
|
1141
|
-
to: z.ZodEffects<z.
|
|
1665
|
+
to: z.ZodEffects<z.ZodString, string, string>;
|
|
1142
1666
|
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1143
1667
|
}, "strip", z.ZodTypeAny, {
|
|
1144
1668
|
chainId: number;
|
|
@@ -1181,7 +1705,6 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
1181
1705
|
result: {
|
|
1182
1706
|
value: string;
|
|
1183
1707
|
};
|
|
1184
|
-
signature: string;
|
|
1185
1708
|
query: {
|
|
1186
1709
|
params: {
|
|
1187
1710
|
chainId: number;
|
|
@@ -1192,11 +1715,11 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
1192
1715
|
name: "EvmCallQuery";
|
|
1193
1716
|
hash: string;
|
|
1194
1717
|
};
|
|
1718
|
+
signature: string;
|
|
1195
1719
|
}, {
|
|
1196
1720
|
result: {
|
|
1197
1721
|
value: string;
|
|
1198
1722
|
};
|
|
1199
|
-
signature: string;
|
|
1200
1723
|
query: {
|
|
1201
1724
|
params: {
|
|
1202
1725
|
chainId: number;
|
|
@@ -1207,6 +1730,7 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
1207
1730
|
name: "EvmCallQuery";
|
|
1208
1731
|
hash: string;
|
|
1209
1732
|
};
|
|
1733
|
+
signature: string;
|
|
1210
1734
|
}>, z.ZodObject<{
|
|
1211
1735
|
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1212
1736
|
query: z.ZodObject<{
|
|
@@ -1269,7 +1793,6 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
1269
1793
|
result: {
|
|
1270
1794
|
value: string;
|
|
1271
1795
|
};
|
|
1272
|
-
signature: string;
|
|
1273
1796
|
query: {
|
|
1274
1797
|
params: {
|
|
1275
1798
|
timestamp: number;
|
|
@@ -1281,11 +1804,11 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
1281
1804
|
name: "TokenPriceQuery";
|
|
1282
1805
|
hash: string;
|
|
1283
1806
|
};
|
|
1807
|
+
signature: string;
|
|
1284
1808
|
}, {
|
|
1285
1809
|
result: {
|
|
1286
1810
|
value: string;
|
|
1287
1811
|
};
|
|
1288
|
-
signature: string;
|
|
1289
1812
|
query: {
|
|
1290
1813
|
params: {
|
|
1291
1814
|
timestamp: number;
|
|
@@ -1297,6 +1820,7 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
1297
1820
|
name: "TokenPriceQuery";
|
|
1298
1821
|
hash: string;
|
|
1299
1822
|
};
|
|
1823
|
+
signature: string;
|
|
1300
1824
|
}>, z.ZodObject<{
|
|
1301
1825
|
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1302
1826
|
query: z.ZodObject<{
|
|
@@ -1306,10 +1830,9 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
1306
1830
|
chainIds: z.ZodArray<z.ZodEffects<z.ZodNumber, number, number>, "many">;
|
|
1307
1831
|
owner: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1308
1832
|
usdMinAmount: z.ZodEffects<z.ZodString, string, string>;
|
|
1309
|
-
timestamp: z.ZodEffects<z.ZodNumber, number, number>;
|
|
1310
1833
|
tokens: z.ZodArray<z.ZodObject<{
|
|
1311
|
-
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
1312
1834
|
address: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1835
|
+
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
1313
1836
|
}, "strip", z.ZodTypeAny, {
|
|
1314
1837
|
chainId: number;
|
|
1315
1838
|
address: string;
|
|
@@ -1319,34 +1842,31 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
1319
1842
|
}>, "many">;
|
|
1320
1843
|
tokenFilter: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>;
|
|
1321
1844
|
}, "strip", z.ZodTypeAny, {
|
|
1322
|
-
|
|
1845
|
+
owner: string;
|
|
1323
1846
|
tokens: {
|
|
1324
1847
|
chainId: number;
|
|
1325
1848
|
address: string;
|
|
1326
1849
|
}[];
|
|
1327
|
-
owner: string;
|
|
1328
1850
|
usdMinAmount: string;
|
|
1329
1851
|
chainIds: number[];
|
|
1330
1852
|
tokenFilter: 0 | 1;
|
|
1331
1853
|
}, {
|
|
1332
|
-
|
|
1854
|
+
owner: string;
|
|
1333
1855
|
tokens: {
|
|
1334
1856
|
chainId: number;
|
|
1335
1857
|
address: string;
|
|
1336
1858
|
}[];
|
|
1337
|
-
owner: string;
|
|
1338
1859
|
usdMinAmount: string;
|
|
1339
1860
|
chainIds: number[];
|
|
1340
1861
|
tokenFilter: 0 | 1;
|
|
1341
1862
|
}>;
|
|
1342
1863
|
}, "strip", z.ZodTypeAny, {
|
|
1343
1864
|
params: {
|
|
1344
|
-
|
|
1865
|
+
owner: string;
|
|
1345
1866
|
tokens: {
|
|
1346
1867
|
chainId: number;
|
|
1347
1868
|
address: string;
|
|
1348
1869
|
}[];
|
|
1349
|
-
owner: string;
|
|
1350
1870
|
usdMinAmount: string;
|
|
1351
1871
|
chainIds: number[];
|
|
1352
1872
|
tokenFilter: 0 | 1;
|
|
@@ -1355,12 +1875,11 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
1355
1875
|
hash: string;
|
|
1356
1876
|
}, {
|
|
1357
1877
|
params: {
|
|
1358
|
-
|
|
1878
|
+
owner: string;
|
|
1359
1879
|
tokens: {
|
|
1360
1880
|
chainId: number;
|
|
1361
1881
|
address: string;
|
|
1362
1882
|
}[];
|
|
1363
|
-
owner: string;
|
|
1364
1883
|
usdMinAmount: string;
|
|
1365
1884
|
chainIds: number[];
|
|
1366
1885
|
tokenFilter: 0 | 1;
|
|
@@ -1369,67 +1888,95 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
1369
1888
|
hash: string;
|
|
1370
1889
|
}>;
|
|
1371
1890
|
result: z.ZodObject<{
|
|
1372
|
-
value: z.
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1891
|
+
value: z.ZodObject<{
|
|
1892
|
+
timestamp: z.ZodEffects<z.ZodNumber, number, number>;
|
|
1893
|
+
balances: z.ZodArray<z.ZodObject<{
|
|
1894
|
+
token: z.ZodObject<{
|
|
1895
|
+
address: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1896
|
+
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
1897
|
+
}, "strip", z.ZodTypeAny, {
|
|
1898
|
+
chainId: number;
|
|
1899
|
+
address: string;
|
|
1900
|
+
}, {
|
|
1901
|
+
chainId: number;
|
|
1902
|
+
address: string;
|
|
1903
|
+
}>;
|
|
1904
|
+
balance: z.ZodEffects<z.ZodString, string, string>;
|
|
1376
1905
|
}, "strip", z.ZodTypeAny, {
|
|
1377
|
-
|
|
1378
|
-
|
|
1906
|
+
token: {
|
|
1907
|
+
chainId: number;
|
|
1908
|
+
address: string;
|
|
1909
|
+
};
|
|
1910
|
+
balance: string;
|
|
1379
1911
|
}, {
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1912
|
+
token: {
|
|
1913
|
+
chainId: number;
|
|
1914
|
+
address: string;
|
|
1915
|
+
};
|
|
1916
|
+
balance: string;
|
|
1917
|
+
}>, "many">;
|
|
1384
1918
|
}, "strip", z.ZodTypeAny, {
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1919
|
+
timestamp: number;
|
|
1920
|
+
balances: {
|
|
1921
|
+
token: {
|
|
1922
|
+
chainId: number;
|
|
1923
|
+
address: string;
|
|
1924
|
+
};
|
|
1925
|
+
balance: string;
|
|
1926
|
+
}[];
|
|
1390
1927
|
}, {
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1928
|
+
timestamp: number;
|
|
1929
|
+
balances: {
|
|
1930
|
+
token: {
|
|
1931
|
+
chainId: number;
|
|
1932
|
+
address: string;
|
|
1933
|
+
};
|
|
1934
|
+
balance: string;
|
|
1935
|
+
}[];
|
|
1936
|
+
}>;
|
|
1397
1937
|
}, "strip", z.ZodTypeAny, {
|
|
1398
1938
|
value: {
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1939
|
+
timestamp: number;
|
|
1940
|
+
balances: {
|
|
1941
|
+
token: {
|
|
1942
|
+
chainId: number;
|
|
1943
|
+
address: string;
|
|
1944
|
+
};
|
|
1945
|
+
balance: string;
|
|
1946
|
+
}[];
|
|
1947
|
+
};
|
|
1405
1948
|
}, {
|
|
1406
1949
|
value: {
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1950
|
+
timestamp: number;
|
|
1951
|
+
balances: {
|
|
1952
|
+
token: {
|
|
1953
|
+
chainId: number;
|
|
1954
|
+
address: string;
|
|
1955
|
+
};
|
|
1956
|
+
balance: string;
|
|
1957
|
+
}[];
|
|
1958
|
+
};
|
|
1413
1959
|
}>;
|
|
1414
1960
|
}, "strip", z.ZodTypeAny, {
|
|
1415
1961
|
result: {
|
|
1416
1962
|
value: {
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1963
|
+
timestamp: number;
|
|
1964
|
+
balances: {
|
|
1965
|
+
token: {
|
|
1966
|
+
chainId: number;
|
|
1967
|
+
address: string;
|
|
1968
|
+
};
|
|
1969
|
+
balance: string;
|
|
1970
|
+
}[];
|
|
1971
|
+
};
|
|
1423
1972
|
};
|
|
1424
|
-
signature: string;
|
|
1425
1973
|
query: {
|
|
1426
1974
|
params: {
|
|
1427
|
-
|
|
1975
|
+
owner: string;
|
|
1428
1976
|
tokens: {
|
|
1429
1977
|
chainId: number;
|
|
1430
1978
|
address: string;
|
|
1431
1979
|
}[];
|
|
1432
|
-
owner: string;
|
|
1433
1980
|
usdMinAmount: string;
|
|
1434
1981
|
chainIds: number[];
|
|
1435
1982
|
tokenFilter: 0 | 1;
|
|
@@ -1437,25 +1984,27 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
1437
1984
|
name: "RelevantTokensQuery";
|
|
1438
1985
|
hash: string;
|
|
1439
1986
|
};
|
|
1987
|
+
signature: string;
|
|
1440
1988
|
}, {
|
|
1441
1989
|
result: {
|
|
1442
1990
|
value: {
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1991
|
+
timestamp: number;
|
|
1992
|
+
balances: {
|
|
1993
|
+
token: {
|
|
1994
|
+
chainId: number;
|
|
1995
|
+
address: string;
|
|
1996
|
+
};
|
|
1997
|
+
balance: string;
|
|
1998
|
+
}[];
|
|
1999
|
+
};
|
|
1449
2000
|
};
|
|
1450
|
-
signature: string;
|
|
1451
2001
|
query: {
|
|
1452
2002
|
params: {
|
|
1453
|
-
|
|
2003
|
+
owner: string;
|
|
1454
2004
|
tokens: {
|
|
1455
2005
|
chainId: number;
|
|
1456
2006
|
address: string;
|
|
1457
2007
|
}[];
|
|
1458
|
-
owner: string;
|
|
1459
2008
|
usdMinAmount: string;
|
|
1460
2009
|
chainIds: number[];
|
|
1461
2010
|
tokenFilter: 0 | 1;
|
|
@@ -1463,6 +2012,243 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
1463
2012
|
name: "RelevantTokensQuery";
|
|
1464
2013
|
hash: string;
|
|
1465
2014
|
};
|
|
2015
|
+
signature: string;
|
|
2016
|
+
}>, z.ZodObject<{
|
|
2017
|
+
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2018
|
+
query: z.ZodObject<{
|
|
2019
|
+
name: z.ZodLiteral<"SubgraphQuery">;
|
|
2020
|
+
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2021
|
+
params: z.ZodObject<{
|
|
2022
|
+
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
2023
|
+
timestamp: z.ZodEffects<z.ZodNumber, number, number>;
|
|
2024
|
+
subgraphId: z.ZodString;
|
|
2025
|
+
query: z.ZodString;
|
|
2026
|
+
}, "strip", z.ZodTypeAny, {
|
|
2027
|
+
chainId: number;
|
|
2028
|
+
timestamp: number;
|
|
2029
|
+
subgraphId: string;
|
|
2030
|
+
query: string;
|
|
2031
|
+
}, {
|
|
2032
|
+
chainId: number;
|
|
2033
|
+
timestamp: number;
|
|
2034
|
+
subgraphId: string;
|
|
2035
|
+
query: string;
|
|
2036
|
+
}>;
|
|
2037
|
+
}, "strip", z.ZodTypeAny, {
|
|
2038
|
+
params: {
|
|
2039
|
+
chainId: number;
|
|
2040
|
+
timestamp: number;
|
|
2041
|
+
subgraphId: string;
|
|
2042
|
+
query: string;
|
|
2043
|
+
};
|
|
2044
|
+
name: "SubgraphQuery";
|
|
2045
|
+
hash: string;
|
|
2046
|
+
}, {
|
|
2047
|
+
params: {
|
|
2048
|
+
chainId: number;
|
|
2049
|
+
timestamp: number;
|
|
2050
|
+
subgraphId: string;
|
|
2051
|
+
query: string;
|
|
2052
|
+
};
|
|
2053
|
+
name: "SubgraphQuery";
|
|
2054
|
+
hash: string;
|
|
2055
|
+
}>;
|
|
2056
|
+
result: z.ZodObject<{
|
|
2057
|
+
value: z.ZodObject<{
|
|
2058
|
+
blockNumber: z.ZodNumber;
|
|
2059
|
+
data: z.ZodString;
|
|
2060
|
+
}, "strip", z.ZodTypeAny, {
|
|
2061
|
+
data: string;
|
|
2062
|
+
blockNumber: number;
|
|
2063
|
+
}, {
|
|
2064
|
+
data: string;
|
|
2065
|
+
blockNumber: number;
|
|
2066
|
+
}>;
|
|
2067
|
+
}, "strip", z.ZodTypeAny, {
|
|
2068
|
+
value: {
|
|
2069
|
+
data: string;
|
|
2070
|
+
blockNumber: number;
|
|
2071
|
+
};
|
|
2072
|
+
}, {
|
|
2073
|
+
value: {
|
|
2074
|
+
data: string;
|
|
2075
|
+
blockNumber: number;
|
|
2076
|
+
};
|
|
2077
|
+
}>;
|
|
2078
|
+
}, "strip", z.ZodTypeAny, {
|
|
2079
|
+
result: {
|
|
2080
|
+
value: {
|
|
2081
|
+
data: string;
|
|
2082
|
+
blockNumber: number;
|
|
2083
|
+
};
|
|
2084
|
+
};
|
|
2085
|
+
query: {
|
|
2086
|
+
params: {
|
|
2087
|
+
chainId: number;
|
|
2088
|
+
timestamp: number;
|
|
2089
|
+
subgraphId: string;
|
|
2090
|
+
query: string;
|
|
2091
|
+
};
|
|
2092
|
+
name: "SubgraphQuery";
|
|
2093
|
+
hash: string;
|
|
2094
|
+
};
|
|
2095
|
+
signature: string;
|
|
2096
|
+
}, {
|
|
2097
|
+
result: {
|
|
2098
|
+
value: {
|
|
2099
|
+
data: string;
|
|
2100
|
+
blockNumber: number;
|
|
2101
|
+
};
|
|
2102
|
+
};
|
|
2103
|
+
query: {
|
|
2104
|
+
params: {
|
|
2105
|
+
chainId: number;
|
|
2106
|
+
timestamp: number;
|
|
2107
|
+
subgraphId: string;
|
|
2108
|
+
query: string;
|
|
2109
|
+
};
|
|
2110
|
+
name: "SubgraphQuery";
|
|
2111
|
+
hash: string;
|
|
2112
|
+
};
|
|
2113
|
+
signature: string;
|
|
2114
|
+
}>, z.ZodObject<{
|
|
2115
|
+
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2116
|
+
query: z.ZodObject<{
|
|
2117
|
+
name: z.ZodLiteral<"SvmGetAccountsInfoQuery">;
|
|
2118
|
+
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2119
|
+
params: z.ZodObject<{
|
|
2120
|
+
publicKeys: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
2121
|
+
timestamp: z.ZodEffects<z.ZodNumber, number, number>;
|
|
2122
|
+
}, "strip", z.ZodTypeAny, {
|
|
2123
|
+
timestamp: number;
|
|
2124
|
+
publicKeys: string[];
|
|
2125
|
+
}, {
|
|
2126
|
+
timestamp: number;
|
|
2127
|
+
publicKeys: string[];
|
|
2128
|
+
}>;
|
|
2129
|
+
}, "strip", z.ZodTypeAny, {
|
|
2130
|
+
params: {
|
|
2131
|
+
timestamp: number;
|
|
2132
|
+
publicKeys: string[];
|
|
2133
|
+
};
|
|
2134
|
+
name: "SvmGetAccountsInfoQuery";
|
|
2135
|
+
hash: string;
|
|
2136
|
+
}, {
|
|
2137
|
+
params: {
|
|
2138
|
+
timestamp: number;
|
|
2139
|
+
publicKeys: string[];
|
|
2140
|
+
};
|
|
2141
|
+
name: "SvmGetAccountsInfoQuery";
|
|
2142
|
+
hash: string;
|
|
2143
|
+
}>;
|
|
2144
|
+
result: z.ZodObject<{
|
|
2145
|
+
value: z.ZodObject<{
|
|
2146
|
+
accountsInfo: z.ZodArray<z.ZodObject<{
|
|
2147
|
+
executable: z.ZodBoolean;
|
|
2148
|
+
owner: z.ZodEffects<z.ZodString, string, string>;
|
|
2149
|
+
lamports: z.ZodEffects<z.ZodString, string, string>;
|
|
2150
|
+
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2151
|
+
rentEpoch: z.ZodEffects<z.ZodString, string, string>;
|
|
2152
|
+
}, "strip", z.ZodTypeAny, {
|
|
2153
|
+
data: string;
|
|
2154
|
+
executable: boolean;
|
|
2155
|
+
owner: string;
|
|
2156
|
+
lamports: string;
|
|
2157
|
+
rentEpoch: string;
|
|
2158
|
+
}, {
|
|
2159
|
+
data: string;
|
|
2160
|
+
executable: boolean;
|
|
2161
|
+
owner: string;
|
|
2162
|
+
lamports: string;
|
|
2163
|
+
rentEpoch: string;
|
|
2164
|
+
}>, "many">;
|
|
2165
|
+
slot: z.ZodEffects<z.ZodString, string, string>;
|
|
2166
|
+
}, "strip", z.ZodTypeAny, {
|
|
2167
|
+
accountsInfo: {
|
|
2168
|
+
data: string;
|
|
2169
|
+
executable: boolean;
|
|
2170
|
+
owner: string;
|
|
2171
|
+
lamports: string;
|
|
2172
|
+
rentEpoch: string;
|
|
2173
|
+
}[];
|
|
2174
|
+
slot: string;
|
|
2175
|
+
}, {
|
|
2176
|
+
accountsInfo: {
|
|
2177
|
+
data: string;
|
|
2178
|
+
executable: boolean;
|
|
2179
|
+
owner: string;
|
|
2180
|
+
lamports: string;
|
|
2181
|
+
rentEpoch: string;
|
|
2182
|
+
}[];
|
|
2183
|
+
slot: string;
|
|
2184
|
+
}>;
|
|
2185
|
+
}, "strip", z.ZodTypeAny, {
|
|
2186
|
+
value: {
|
|
2187
|
+
accountsInfo: {
|
|
2188
|
+
data: string;
|
|
2189
|
+
executable: boolean;
|
|
2190
|
+
owner: string;
|
|
2191
|
+
lamports: string;
|
|
2192
|
+
rentEpoch: string;
|
|
2193
|
+
}[];
|
|
2194
|
+
slot: string;
|
|
2195
|
+
};
|
|
2196
|
+
}, {
|
|
2197
|
+
value: {
|
|
2198
|
+
accountsInfo: {
|
|
2199
|
+
data: string;
|
|
2200
|
+
executable: boolean;
|
|
2201
|
+
owner: string;
|
|
2202
|
+
lamports: string;
|
|
2203
|
+
rentEpoch: string;
|
|
2204
|
+
}[];
|
|
2205
|
+
slot: string;
|
|
2206
|
+
};
|
|
2207
|
+
}>;
|
|
2208
|
+
}, "strip", z.ZodTypeAny, {
|
|
2209
|
+
result: {
|
|
2210
|
+
value: {
|
|
2211
|
+
accountsInfo: {
|
|
2212
|
+
data: string;
|
|
2213
|
+
executable: boolean;
|
|
2214
|
+
owner: string;
|
|
2215
|
+
lamports: string;
|
|
2216
|
+
rentEpoch: string;
|
|
2217
|
+
}[];
|
|
2218
|
+
slot: string;
|
|
2219
|
+
};
|
|
2220
|
+
};
|
|
2221
|
+
query: {
|
|
2222
|
+
params: {
|
|
2223
|
+
timestamp: number;
|
|
2224
|
+
publicKeys: string[];
|
|
2225
|
+
};
|
|
2226
|
+
name: "SvmGetAccountsInfoQuery";
|
|
2227
|
+
hash: string;
|
|
2228
|
+
};
|
|
2229
|
+
signature: string;
|
|
2230
|
+
}, {
|
|
2231
|
+
result: {
|
|
2232
|
+
value: {
|
|
2233
|
+
accountsInfo: {
|
|
2234
|
+
data: string;
|
|
2235
|
+
executable: boolean;
|
|
2236
|
+
owner: string;
|
|
2237
|
+
lamports: string;
|
|
2238
|
+
rentEpoch: string;
|
|
2239
|
+
}[];
|
|
2240
|
+
slot: string;
|
|
2241
|
+
};
|
|
2242
|
+
};
|
|
2243
|
+
query: {
|
|
2244
|
+
params: {
|
|
2245
|
+
timestamp: number;
|
|
2246
|
+
publicKeys: string[];
|
|
2247
|
+
};
|
|
2248
|
+
name: "SvmGetAccountsInfoQuery";
|
|
2249
|
+
hash: string;
|
|
2250
|
+
};
|
|
2251
|
+
signature: string;
|
|
1466
2252
|
}>]>, "many">;
|
|
1467
2253
|
outputs: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
1468
2254
|
op: z.ZodNativeEnum<typeof import("../shared").OpType>;
|
|
@@ -1481,10 +2267,23 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
1481
2267
|
token: string;
|
|
1482
2268
|
amount: string;
|
|
1483
2269
|
}>, "many">;
|
|
2270
|
+
events: z.ZodArray<z.ZodObject<{
|
|
2271
|
+
topic: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2272
|
+
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2273
|
+
}, "strip", z.ZodTypeAny, {
|
|
2274
|
+
data: string;
|
|
2275
|
+
topic: string;
|
|
2276
|
+
}, {
|
|
2277
|
+
data: string;
|
|
2278
|
+
topic: string;
|
|
2279
|
+
}>, "many">;
|
|
2280
|
+
configSig: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2281
|
+
minValidations: z.ZodNumber;
|
|
1484
2282
|
}, {
|
|
1485
2283
|
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1486
2284
|
}>, "strip", z.ZodTypeAny, {
|
|
1487
2285
|
data: string;
|
|
2286
|
+
configSig: string;
|
|
1488
2287
|
op: import("../shared").OpType;
|
|
1489
2288
|
user: string;
|
|
1490
2289
|
settler: string;
|
|
@@ -1494,9 +2293,15 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
1494
2293
|
token: string;
|
|
1495
2294
|
amount: string;
|
|
1496
2295
|
}[];
|
|
2296
|
+
events: {
|
|
2297
|
+
data: string;
|
|
2298
|
+
topic: string;
|
|
2299
|
+
}[];
|
|
2300
|
+
minValidations: number;
|
|
1497
2301
|
hash: string;
|
|
1498
2302
|
}, {
|
|
1499
2303
|
data: string;
|
|
2304
|
+
configSig: string;
|
|
1500
2305
|
op: import("../shared").OpType;
|
|
1501
2306
|
user: string;
|
|
1502
2307
|
settler: string;
|
|
@@ -1506,15 +2311,22 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
1506
2311
|
token: string;
|
|
1507
2312
|
amount: string;
|
|
1508
2313
|
}[];
|
|
2314
|
+
events: {
|
|
2315
|
+
data: string;
|
|
2316
|
+
topic: string;
|
|
2317
|
+
}[];
|
|
2318
|
+
minValidations: number;
|
|
1509
2319
|
hash: string;
|
|
1510
2320
|
}>, "many">;
|
|
1511
2321
|
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2322
|
+
result: z.ZodNativeEnum<typeof ExecutionResult>;
|
|
1512
2323
|
}>, {
|
|
1513
2324
|
relayer: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2325
|
+
status: z.ZodNativeEnum<typeof ExecutionStatus>;
|
|
1514
2326
|
createdAt: z.ZodDate;
|
|
1515
2327
|
logs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1516
|
-
errorLogs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1517
2328
|
fee: z.ZodOptional<z.ZodObject<{
|
|
2329
|
+
trigger: z.ZodNumber;
|
|
1518
2330
|
relayer: z.ZodNumber;
|
|
1519
2331
|
oracles: z.ZodNumber;
|
|
1520
2332
|
validator: z.ZodNumber;
|
|
@@ -1522,6 +2334,7 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
1522
2334
|
protocol: z.ZodNumber;
|
|
1523
2335
|
total: z.ZodNumber;
|
|
1524
2336
|
}, "strip", z.ZodTypeAny, {
|
|
2337
|
+
trigger: number;
|
|
1525
2338
|
relayer: number;
|
|
1526
2339
|
oracles: number;
|
|
1527
2340
|
validator: number;
|
|
@@ -1529,6 +2342,7 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
1529
2342
|
protocol: number;
|
|
1530
2343
|
total: number;
|
|
1531
2344
|
}, {
|
|
2345
|
+
trigger: number;
|
|
1532
2346
|
relayer: number;
|
|
1533
2347
|
oracles: number;
|
|
1534
2348
|
validator: number;
|
|
@@ -1536,21 +2350,34 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
1536
2350
|
protocol: number;
|
|
1537
2351
|
total: number;
|
|
1538
2352
|
}>>;
|
|
1539
|
-
validations: z.ZodOptional<z.ZodArray<z.
|
|
2353
|
+
validations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2354
|
+
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2355
|
+
succeeded: z.ZodBoolean;
|
|
2356
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2357
|
+
}, "strip", z.ZodTypeAny, {
|
|
2358
|
+
succeeded: boolean;
|
|
2359
|
+
signature: string;
|
|
2360
|
+
description?: string | undefined;
|
|
2361
|
+
}, {
|
|
2362
|
+
succeeded: boolean;
|
|
2363
|
+
signature: string;
|
|
2364
|
+
description?: string | undefined;
|
|
2365
|
+
}>, "many">>;
|
|
1540
2366
|
}>, "strip", z.ZodTypeAny, {
|
|
2367
|
+
result: ExecutionResult;
|
|
1541
2368
|
timestamp: number;
|
|
1542
|
-
|
|
2369
|
+
status: ExecutionStatus;
|
|
1543
2370
|
configSig: string;
|
|
1544
2371
|
triggerType: import("../shared").TriggerType;
|
|
1545
2372
|
triggerData: string;
|
|
1546
2373
|
signature: string;
|
|
1547
2374
|
hash: string;
|
|
2375
|
+
createdAt: Date;
|
|
1548
2376
|
fuelUsed: number;
|
|
1549
2377
|
inputs: ({
|
|
1550
2378
|
result: {
|
|
1551
2379
|
value: string;
|
|
1552
2380
|
};
|
|
1553
|
-
signature: string;
|
|
1554
2381
|
query: {
|
|
1555
2382
|
params: {
|
|
1556
2383
|
chainId: number;
|
|
@@ -1561,11 +2388,33 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
1561
2388
|
name: "EvmCallQuery";
|
|
1562
2389
|
hash: string;
|
|
1563
2390
|
};
|
|
2391
|
+
signature: string;
|
|
1564
2392
|
} | {
|
|
1565
2393
|
result: {
|
|
1566
|
-
value:
|
|
2394
|
+
value: {
|
|
2395
|
+
accountsInfo: {
|
|
2396
|
+
data: string;
|
|
2397
|
+
executable: boolean;
|
|
2398
|
+
owner: string;
|
|
2399
|
+
lamports: string;
|
|
2400
|
+
rentEpoch: string;
|
|
2401
|
+
}[];
|
|
2402
|
+
slot: string;
|
|
2403
|
+
};
|
|
2404
|
+
};
|
|
2405
|
+
query: {
|
|
2406
|
+
params: {
|
|
2407
|
+
timestamp: number;
|
|
2408
|
+
publicKeys: string[];
|
|
2409
|
+
};
|
|
2410
|
+
name: "SvmGetAccountsInfoQuery";
|
|
2411
|
+
hash: string;
|
|
1567
2412
|
};
|
|
1568
2413
|
signature: string;
|
|
2414
|
+
} | {
|
|
2415
|
+
result: {
|
|
2416
|
+
value: string;
|
|
2417
|
+
};
|
|
1569
2418
|
query: {
|
|
1570
2419
|
params: {
|
|
1571
2420
|
timestamp: number;
|
|
@@ -1577,25 +2426,27 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
1577
2426
|
name: "TokenPriceQuery";
|
|
1578
2427
|
hash: string;
|
|
1579
2428
|
};
|
|
2429
|
+
signature: string;
|
|
1580
2430
|
} | {
|
|
1581
2431
|
result: {
|
|
1582
2432
|
value: {
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
2433
|
+
timestamp: number;
|
|
2434
|
+
balances: {
|
|
2435
|
+
token: {
|
|
2436
|
+
chainId: number;
|
|
2437
|
+
address: string;
|
|
2438
|
+
};
|
|
2439
|
+
balance: string;
|
|
2440
|
+
}[];
|
|
2441
|
+
};
|
|
1589
2442
|
};
|
|
1590
|
-
signature: string;
|
|
1591
2443
|
query: {
|
|
1592
2444
|
params: {
|
|
1593
|
-
|
|
2445
|
+
owner: string;
|
|
1594
2446
|
tokens: {
|
|
1595
2447
|
chainId: number;
|
|
1596
2448
|
address: string;
|
|
1597
2449
|
}[];
|
|
1598
|
-
owner: string;
|
|
1599
2450
|
usdMinAmount: string;
|
|
1600
2451
|
chainIds: number[];
|
|
1601
2452
|
tokenFilter: 0 | 1;
|
|
@@ -1603,9 +2454,29 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
1603
2454
|
name: "RelevantTokensQuery";
|
|
1604
2455
|
hash: string;
|
|
1605
2456
|
};
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
2457
|
+
signature: string;
|
|
2458
|
+
} | {
|
|
2459
|
+
result: {
|
|
2460
|
+
value: {
|
|
2461
|
+
data: string;
|
|
2462
|
+
blockNumber: number;
|
|
2463
|
+
};
|
|
2464
|
+
};
|
|
2465
|
+
query: {
|
|
2466
|
+
params: {
|
|
2467
|
+
chainId: number;
|
|
2468
|
+
timestamp: number;
|
|
2469
|
+
subgraphId: string;
|
|
2470
|
+
query: string;
|
|
2471
|
+
};
|
|
2472
|
+
name: "SubgraphQuery";
|
|
2473
|
+
hash: string;
|
|
2474
|
+
};
|
|
2475
|
+
signature: string;
|
|
2476
|
+
})[];
|
|
2477
|
+
outputs: {
|
|
2478
|
+
data: string;
|
|
2479
|
+
configSig: string;
|
|
1609
2480
|
op: import("../shared").OpType;
|
|
1610
2481
|
user: string;
|
|
1611
2482
|
settler: string;
|
|
@@ -1615,12 +2486,22 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
1615
2486
|
token: string;
|
|
1616
2487
|
amount: string;
|
|
1617
2488
|
}[];
|
|
2489
|
+
events: {
|
|
2490
|
+
data: string;
|
|
2491
|
+
topic: string;
|
|
2492
|
+
}[];
|
|
2493
|
+
minValidations: number;
|
|
1618
2494
|
hash: string;
|
|
1619
2495
|
}[];
|
|
1620
2496
|
relayer: string;
|
|
2497
|
+
validations?: {
|
|
2498
|
+
succeeded: boolean;
|
|
2499
|
+
signature: string;
|
|
2500
|
+
description?: string | undefined;
|
|
2501
|
+
}[] | undefined;
|
|
1621
2502
|
logs?: string[] | undefined;
|
|
1622
|
-
errorLogs?: string[] | undefined;
|
|
1623
2503
|
fee?: {
|
|
2504
|
+
trigger: number;
|
|
1624
2505
|
relayer: number;
|
|
1625
2506
|
oracles: number;
|
|
1626
2507
|
validator: number;
|
|
@@ -1628,21 +2509,21 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
1628
2509
|
protocol: number;
|
|
1629
2510
|
total: number;
|
|
1630
2511
|
} | undefined;
|
|
1631
|
-
validations?: string[] | undefined;
|
|
1632
2512
|
}, {
|
|
2513
|
+
result: ExecutionResult;
|
|
1633
2514
|
timestamp: number;
|
|
1634
|
-
|
|
2515
|
+
status: ExecutionStatus;
|
|
1635
2516
|
configSig: string;
|
|
1636
2517
|
triggerType: import("../shared").TriggerType;
|
|
1637
2518
|
triggerData: string;
|
|
1638
2519
|
signature: string;
|
|
1639
2520
|
hash: string;
|
|
2521
|
+
createdAt: Date;
|
|
1640
2522
|
fuelUsed: number;
|
|
1641
2523
|
inputs: ({
|
|
1642
2524
|
result: {
|
|
1643
2525
|
value: string;
|
|
1644
2526
|
};
|
|
1645
|
-
signature: string;
|
|
1646
2527
|
query: {
|
|
1647
2528
|
params: {
|
|
1648
2529
|
chainId: number;
|
|
@@ -1653,11 +2534,33 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
1653
2534
|
name: "EvmCallQuery";
|
|
1654
2535
|
hash: string;
|
|
1655
2536
|
};
|
|
2537
|
+
signature: string;
|
|
1656
2538
|
} | {
|
|
1657
2539
|
result: {
|
|
1658
|
-
value:
|
|
2540
|
+
value: {
|
|
2541
|
+
accountsInfo: {
|
|
2542
|
+
data: string;
|
|
2543
|
+
executable: boolean;
|
|
2544
|
+
owner: string;
|
|
2545
|
+
lamports: string;
|
|
2546
|
+
rentEpoch: string;
|
|
2547
|
+
}[];
|
|
2548
|
+
slot: string;
|
|
2549
|
+
};
|
|
2550
|
+
};
|
|
2551
|
+
query: {
|
|
2552
|
+
params: {
|
|
2553
|
+
timestamp: number;
|
|
2554
|
+
publicKeys: string[];
|
|
2555
|
+
};
|
|
2556
|
+
name: "SvmGetAccountsInfoQuery";
|
|
2557
|
+
hash: string;
|
|
1659
2558
|
};
|
|
1660
2559
|
signature: string;
|
|
2560
|
+
} | {
|
|
2561
|
+
result: {
|
|
2562
|
+
value: string;
|
|
2563
|
+
};
|
|
1661
2564
|
query: {
|
|
1662
2565
|
params: {
|
|
1663
2566
|
timestamp: number;
|
|
@@ -1669,25 +2572,27 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
1669
2572
|
name: "TokenPriceQuery";
|
|
1670
2573
|
hash: string;
|
|
1671
2574
|
};
|
|
2575
|
+
signature: string;
|
|
1672
2576
|
} | {
|
|
1673
2577
|
result: {
|
|
1674
2578
|
value: {
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
2579
|
+
timestamp: number;
|
|
2580
|
+
balances: {
|
|
2581
|
+
token: {
|
|
2582
|
+
chainId: number;
|
|
2583
|
+
address: string;
|
|
2584
|
+
};
|
|
2585
|
+
balance: string;
|
|
2586
|
+
}[];
|
|
2587
|
+
};
|
|
1681
2588
|
};
|
|
1682
|
-
signature: string;
|
|
1683
2589
|
query: {
|
|
1684
2590
|
params: {
|
|
1685
|
-
|
|
2591
|
+
owner: string;
|
|
1686
2592
|
tokens: {
|
|
1687
2593
|
chainId: number;
|
|
1688
2594
|
address: string;
|
|
1689
2595
|
}[];
|
|
1690
|
-
owner: string;
|
|
1691
2596
|
usdMinAmount: string;
|
|
1692
2597
|
chainIds: number[];
|
|
1693
2598
|
tokenFilter: 0 | 1;
|
|
@@ -1695,9 +2600,29 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
1695
2600
|
name: "RelevantTokensQuery";
|
|
1696
2601
|
hash: string;
|
|
1697
2602
|
};
|
|
2603
|
+
signature: string;
|
|
2604
|
+
} | {
|
|
2605
|
+
result: {
|
|
2606
|
+
value: {
|
|
2607
|
+
data: string;
|
|
2608
|
+
blockNumber: number;
|
|
2609
|
+
};
|
|
2610
|
+
};
|
|
2611
|
+
query: {
|
|
2612
|
+
params: {
|
|
2613
|
+
chainId: number;
|
|
2614
|
+
timestamp: number;
|
|
2615
|
+
subgraphId: string;
|
|
2616
|
+
query: string;
|
|
2617
|
+
};
|
|
2618
|
+
name: "SubgraphQuery";
|
|
2619
|
+
hash: string;
|
|
2620
|
+
};
|
|
2621
|
+
signature: string;
|
|
1698
2622
|
})[];
|
|
1699
2623
|
outputs: {
|
|
1700
2624
|
data: string;
|
|
2625
|
+
configSig: string;
|
|
1701
2626
|
op: import("../shared").OpType;
|
|
1702
2627
|
user: string;
|
|
1703
2628
|
settler: string;
|
|
@@ -1707,12 +2632,22 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
1707
2632
|
token: string;
|
|
1708
2633
|
amount: string;
|
|
1709
2634
|
}[];
|
|
2635
|
+
events: {
|
|
2636
|
+
data: string;
|
|
2637
|
+
topic: string;
|
|
2638
|
+
}[];
|
|
2639
|
+
minValidations: number;
|
|
1710
2640
|
hash: string;
|
|
1711
2641
|
}[];
|
|
1712
2642
|
relayer: string;
|
|
2643
|
+
validations?: {
|
|
2644
|
+
succeeded: boolean;
|
|
2645
|
+
signature: string;
|
|
2646
|
+
description?: string | undefined;
|
|
2647
|
+
}[] | undefined;
|
|
1713
2648
|
logs?: string[] | undefined;
|
|
1714
|
-
errorLogs?: string[] | undefined;
|
|
1715
2649
|
fee?: {
|
|
2650
|
+
trigger: number;
|
|
1716
2651
|
relayer: number;
|
|
1717
2652
|
oracles: number;
|
|
1718
2653
|
validator: number;
|
|
@@ -1720,7 +2655,6 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
1720
2655
|
protocol: number;
|
|
1721
2656
|
total: number;
|
|
1722
2657
|
} | undefined;
|
|
1723
|
-
validations?: string[] | undefined;
|
|
1724
2658
|
}>;
|
|
1725
2659
|
export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1726
2660
|
configSig: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
@@ -1730,16 +2664,7 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
1730
2664
|
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1731
2665
|
timestamp: z.ZodNumber;
|
|
1732
2666
|
fuelUsed: z.ZodNumber;
|
|
1733
|
-
logs: z.ZodArray<z.
|
|
1734
|
-
level: z.ZodNativeEnum<typeof import("../shared").LogLevel>;
|
|
1735
|
-
log: z.ZodString;
|
|
1736
|
-
}, "strip", z.ZodTypeAny, {
|
|
1737
|
-
level: import("../shared").LogLevel;
|
|
1738
|
-
log: string;
|
|
1739
|
-
}, {
|
|
1740
|
-
level: import("../shared").LogLevel;
|
|
1741
|
-
log: string;
|
|
1742
|
-
}>, "many">;
|
|
2667
|
+
logs: z.ZodArray<z.ZodString, "many">;
|
|
1743
2668
|
inputs: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
1744
2669
|
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1745
2670
|
query: z.ZodObject<{
|
|
@@ -1748,7 +2673,7 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
1748
2673
|
params: z.ZodObject<{
|
|
1749
2674
|
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
1750
2675
|
timestamp: z.ZodEffects<z.ZodNumber, number, number>;
|
|
1751
|
-
to: z.ZodEffects<z.
|
|
2676
|
+
to: z.ZodEffects<z.ZodString, string, string>;
|
|
1752
2677
|
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1753
2678
|
}, "strip", z.ZodTypeAny, {
|
|
1754
2679
|
chainId: number;
|
|
@@ -1791,7 +2716,6 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
1791
2716
|
result: {
|
|
1792
2717
|
value: string;
|
|
1793
2718
|
};
|
|
1794
|
-
signature: string;
|
|
1795
2719
|
query: {
|
|
1796
2720
|
params: {
|
|
1797
2721
|
chainId: number;
|
|
@@ -1802,11 +2726,11 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
1802
2726
|
name: "EvmCallQuery";
|
|
1803
2727
|
hash: string;
|
|
1804
2728
|
};
|
|
2729
|
+
signature: string;
|
|
1805
2730
|
}, {
|
|
1806
2731
|
result: {
|
|
1807
2732
|
value: string;
|
|
1808
2733
|
};
|
|
1809
|
-
signature: string;
|
|
1810
2734
|
query: {
|
|
1811
2735
|
params: {
|
|
1812
2736
|
chainId: number;
|
|
@@ -1817,6 +2741,7 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
1817
2741
|
name: "EvmCallQuery";
|
|
1818
2742
|
hash: string;
|
|
1819
2743
|
};
|
|
2744
|
+
signature: string;
|
|
1820
2745
|
}>, z.ZodObject<{
|
|
1821
2746
|
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1822
2747
|
query: z.ZodObject<{
|
|
@@ -1877,202 +2802,464 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
1877
2802
|
}>;
|
|
1878
2803
|
}, "strip", z.ZodTypeAny, {
|
|
1879
2804
|
result: {
|
|
1880
|
-
value: string;
|
|
2805
|
+
value: string;
|
|
2806
|
+
};
|
|
2807
|
+
query: {
|
|
2808
|
+
params: {
|
|
2809
|
+
timestamp: number;
|
|
2810
|
+
token: {
|
|
2811
|
+
chainId: number;
|
|
2812
|
+
address: string;
|
|
2813
|
+
};
|
|
2814
|
+
};
|
|
2815
|
+
name: "TokenPriceQuery";
|
|
2816
|
+
hash: string;
|
|
2817
|
+
};
|
|
2818
|
+
signature: string;
|
|
2819
|
+
}, {
|
|
2820
|
+
result: {
|
|
2821
|
+
value: string;
|
|
2822
|
+
};
|
|
2823
|
+
query: {
|
|
2824
|
+
params: {
|
|
2825
|
+
timestamp: number;
|
|
2826
|
+
token: {
|
|
2827
|
+
chainId: number;
|
|
2828
|
+
address: string;
|
|
2829
|
+
};
|
|
2830
|
+
};
|
|
2831
|
+
name: "TokenPriceQuery";
|
|
2832
|
+
hash: string;
|
|
2833
|
+
};
|
|
2834
|
+
signature: string;
|
|
2835
|
+
}>, z.ZodObject<{
|
|
2836
|
+
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2837
|
+
query: z.ZodObject<{
|
|
2838
|
+
name: z.ZodLiteral<"RelevantTokensQuery">;
|
|
2839
|
+
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2840
|
+
params: z.ZodObject<{
|
|
2841
|
+
chainIds: z.ZodArray<z.ZodEffects<z.ZodNumber, number, number>, "many">;
|
|
2842
|
+
owner: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2843
|
+
usdMinAmount: z.ZodEffects<z.ZodString, string, string>;
|
|
2844
|
+
tokens: z.ZodArray<z.ZodObject<{
|
|
2845
|
+
address: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2846
|
+
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
2847
|
+
}, "strip", z.ZodTypeAny, {
|
|
2848
|
+
chainId: number;
|
|
2849
|
+
address: string;
|
|
2850
|
+
}, {
|
|
2851
|
+
chainId: number;
|
|
2852
|
+
address: string;
|
|
2853
|
+
}>, "many">;
|
|
2854
|
+
tokenFilter: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>;
|
|
2855
|
+
}, "strip", z.ZodTypeAny, {
|
|
2856
|
+
owner: string;
|
|
2857
|
+
tokens: {
|
|
2858
|
+
chainId: number;
|
|
2859
|
+
address: string;
|
|
2860
|
+
}[];
|
|
2861
|
+
usdMinAmount: string;
|
|
2862
|
+
chainIds: number[];
|
|
2863
|
+
tokenFilter: 0 | 1;
|
|
2864
|
+
}, {
|
|
2865
|
+
owner: string;
|
|
2866
|
+
tokens: {
|
|
2867
|
+
chainId: number;
|
|
2868
|
+
address: string;
|
|
2869
|
+
}[];
|
|
2870
|
+
usdMinAmount: string;
|
|
2871
|
+
chainIds: number[];
|
|
2872
|
+
tokenFilter: 0 | 1;
|
|
2873
|
+
}>;
|
|
2874
|
+
}, "strip", z.ZodTypeAny, {
|
|
2875
|
+
params: {
|
|
2876
|
+
owner: string;
|
|
2877
|
+
tokens: {
|
|
2878
|
+
chainId: number;
|
|
2879
|
+
address: string;
|
|
2880
|
+
}[];
|
|
2881
|
+
usdMinAmount: string;
|
|
2882
|
+
chainIds: number[];
|
|
2883
|
+
tokenFilter: 0 | 1;
|
|
2884
|
+
};
|
|
2885
|
+
name: "RelevantTokensQuery";
|
|
2886
|
+
hash: string;
|
|
2887
|
+
}, {
|
|
2888
|
+
params: {
|
|
2889
|
+
owner: string;
|
|
2890
|
+
tokens: {
|
|
2891
|
+
chainId: number;
|
|
2892
|
+
address: string;
|
|
2893
|
+
}[];
|
|
2894
|
+
usdMinAmount: string;
|
|
2895
|
+
chainIds: number[];
|
|
2896
|
+
tokenFilter: 0 | 1;
|
|
2897
|
+
};
|
|
2898
|
+
name: "RelevantTokensQuery";
|
|
2899
|
+
hash: string;
|
|
2900
|
+
}>;
|
|
2901
|
+
result: z.ZodObject<{
|
|
2902
|
+
value: z.ZodObject<{
|
|
2903
|
+
timestamp: z.ZodEffects<z.ZodNumber, number, number>;
|
|
2904
|
+
balances: z.ZodArray<z.ZodObject<{
|
|
2905
|
+
token: z.ZodObject<{
|
|
2906
|
+
address: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2907
|
+
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
2908
|
+
}, "strip", z.ZodTypeAny, {
|
|
2909
|
+
chainId: number;
|
|
2910
|
+
address: string;
|
|
2911
|
+
}, {
|
|
2912
|
+
chainId: number;
|
|
2913
|
+
address: string;
|
|
2914
|
+
}>;
|
|
2915
|
+
balance: z.ZodEffects<z.ZodString, string, string>;
|
|
2916
|
+
}, "strip", z.ZodTypeAny, {
|
|
2917
|
+
token: {
|
|
2918
|
+
chainId: number;
|
|
2919
|
+
address: string;
|
|
2920
|
+
};
|
|
2921
|
+
balance: string;
|
|
2922
|
+
}, {
|
|
2923
|
+
token: {
|
|
2924
|
+
chainId: number;
|
|
2925
|
+
address: string;
|
|
2926
|
+
};
|
|
2927
|
+
balance: string;
|
|
2928
|
+
}>, "many">;
|
|
2929
|
+
}, "strip", z.ZodTypeAny, {
|
|
2930
|
+
timestamp: number;
|
|
2931
|
+
balances: {
|
|
2932
|
+
token: {
|
|
2933
|
+
chainId: number;
|
|
2934
|
+
address: string;
|
|
2935
|
+
};
|
|
2936
|
+
balance: string;
|
|
2937
|
+
}[];
|
|
2938
|
+
}, {
|
|
2939
|
+
timestamp: number;
|
|
2940
|
+
balances: {
|
|
2941
|
+
token: {
|
|
2942
|
+
chainId: number;
|
|
2943
|
+
address: string;
|
|
2944
|
+
};
|
|
2945
|
+
balance: string;
|
|
2946
|
+
}[];
|
|
2947
|
+
}>;
|
|
2948
|
+
}, "strip", z.ZodTypeAny, {
|
|
2949
|
+
value: {
|
|
2950
|
+
timestamp: number;
|
|
2951
|
+
balances: {
|
|
2952
|
+
token: {
|
|
2953
|
+
chainId: number;
|
|
2954
|
+
address: string;
|
|
2955
|
+
};
|
|
2956
|
+
balance: string;
|
|
2957
|
+
}[];
|
|
2958
|
+
};
|
|
2959
|
+
}, {
|
|
2960
|
+
value: {
|
|
2961
|
+
timestamp: number;
|
|
2962
|
+
balances: {
|
|
2963
|
+
token: {
|
|
2964
|
+
chainId: number;
|
|
2965
|
+
address: string;
|
|
2966
|
+
};
|
|
2967
|
+
balance: string;
|
|
2968
|
+
}[];
|
|
2969
|
+
};
|
|
2970
|
+
}>;
|
|
2971
|
+
}, "strip", z.ZodTypeAny, {
|
|
2972
|
+
result: {
|
|
2973
|
+
value: {
|
|
2974
|
+
timestamp: number;
|
|
2975
|
+
balances: {
|
|
2976
|
+
token: {
|
|
2977
|
+
chainId: number;
|
|
2978
|
+
address: string;
|
|
2979
|
+
};
|
|
2980
|
+
balance: string;
|
|
2981
|
+
}[];
|
|
2982
|
+
};
|
|
2983
|
+
};
|
|
2984
|
+
query: {
|
|
2985
|
+
params: {
|
|
2986
|
+
owner: string;
|
|
2987
|
+
tokens: {
|
|
2988
|
+
chainId: number;
|
|
2989
|
+
address: string;
|
|
2990
|
+
}[];
|
|
2991
|
+
usdMinAmount: string;
|
|
2992
|
+
chainIds: number[];
|
|
2993
|
+
tokenFilter: 0 | 1;
|
|
2994
|
+
};
|
|
2995
|
+
name: "RelevantTokensQuery";
|
|
2996
|
+
hash: string;
|
|
2997
|
+
};
|
|
2998
|
+
signature: string;
|
|
2999
|
+
}, {
|
|
3000
|
+
result: {
|
|
3001
|
+
value: {
|
|
3002
|
+
timestamp: number;
|
|
3003
|
+
balances: {
|
|
3004
|
+
token: {
|
|
3005
|
+
chainId: number;
|
|
3006
|
+
address: string;
|
|
3007
|
+
};
|
|
3008
|
+
balance: string;
|
|
3009
|
+
}[];
|
|
3010
|
+
};
|
|
3011
|
+
};
|
|
3012
|
+
query: {
|
|
3013
|
+
params: {
|
|
3014
|
+
owner: string;
|
|
3015
|
+
tokens: {
|
|
3016
|
+
chainId: number;
|
|
3017
|
+
address: string;
|
|
3018
|
+
}[];
|
|
3019
|
+
usdMinAmount: string;
|
|
3020
|
+
chainIds: number[];
|
|
3021
|
+
tokenFilter: 0 | 1;
|
|
3022
|
+
};
|
|
3023
|
+
name: "RelevantTokensQuery";
|
|
3024
|
+
hash: string;
|
|
3025
|
+
};
|
|
3026
|
+
signature: string;
|
|
3027
|
+
}>, z.ZodObject<{
|
|
3028
|
+
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
3029
|
+
query: z.ZodObject<{
|
|
3030
|
+
name: z.ZodLiteral<"SubgraphQuery">;
|
|
3031
|
+
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
3032
|
+
params: z.ZodObject<{
|
|
3033
|
+
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
3034
|
+
timestamp: z.ZodEffects<z.ZodNumber, number, number>;
|
|
3035
|
+
subgraphId: z.ZodString;
|
|
3036
|
+
query: z.ZodString;
|
|
3037
|
+
}, "strip", z.ZodTypeAny, {
|
|
3038
|
+
chainId: number;
|
|
3039
|
+
timestamp: number;
|
|
3040
|
+
subgraphId: string;
|
|
3041
|
+
query: string;
|
|
3042
|
+
}, {
|
|
3043
|
+
chainId: number;
|
|
3044
|
+
timestamp: number;
|
|
3045
|
+
subgraphId: string;
|
|
3046
|
+
query: string;
|
|
3047
|
+
}>;
|
|
3048
|
+
}, "strip", z.ZodTypeAny, {
|
|
3049
|
+
params: {
|
|
3050
|
+
chainId: number;
|
|
3051
|
+
timestamp: number;
|
|
3052
|
+
subgraphId: string;
|
|
3053
|
+
query: string;
|
|
3054
|
+
};
|
|
3055
|
+
name: "SubgraphQuery";
|
|
3056
|
+
hash: string;
|
|
3057
|
+
}, {
|
|
3058
|
+
params: {
|
|
3059
|
+
chainId: number;
|
|
3060
|
+
timestamp: number;
|
|
3061
|
+
subgraphId: string;
|
|
3062
|
+
query: string;
|
|
3063
|
+
};
|
|
3064
|
+
name: "SubgraphQuery";
|
|
3065
|
+
hash: string;
|
|
3066
|
+
}>;
|
|
3067
|
+
result: z.ZodObject<{
|
|
3068
|
+
value: z.ZodObject<{
|
|
3069
|
+
blockNumber: z.ZodNumber;
|
|
3070
|
+
data: z.ZodString;
|
|
3071
|
+
}, "strip", z.ZodTypeAny, {
|
|
3072
|
+
data: string;
|
|
3073
|
+
blockNumber: number;
|
|
3074
|
+
}, {
|
|
3075
|
+
data: string;
|
|
3076
|
+
blockNumber: number;
|
|
3077
|
+
}>;
|
|
3078
|
+
}, "strip", z.ZodTypeAny, {
|
|
3079
|
+
value: {
|
|
3080
|
+
data: string;
|
|
3081
|
+
blockNumber: number;
|
|
3082
|
+
};
|
|
3083
|
+
}, {
|
|
3084
|
+
value: {
|
|
3085
|
+
data: string;
|
|
3086
|
+
blockNumber: number;
|
|
3087
|
+
};
|
|
3088
|
+
}>;
|
|
3089
|
+
}, "strip", z.ZodTypeAny, {
|
|
3090
|
+
result: {
|
|
3091
|
+
value: {
|
|
3092
|
+
data: string;
|
|
3093
|
+
blockNumber: number;
|
|
3094
|
+
};
|
|
1881
3095
|
};
|
|
1882
|
-
signature: string;
|
|
1883
3096
|
query: {
|
|
1884
3097
|
params: {
|
|
3098
|
+
chainId: number;
|
|
1885
3099
|
timestamp: number;
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
address: string;
|
|
1889
|
-
};
|
|
3100
|
+
subgraphId: string;
|
|
3101
|
+
query: string;
|
|
1890
3102
|
};
|
|
1891
|
-
name: "
|
|
3103
|
+
name: "SubgraphQuery";
|
|
1892
3104
|
hash: string;
|
|
1893
3105
|
};
|
|
3106
|
+
signature: string;
|
|
1894
3107
|
}, {
|
|
1895
3108
|
result: {
|
|
1896
|
-
value:
|
|
3109
|
+
value: {
|
|
3110
|
+
data: string;
|
|
3111
|
+
blockNumber: number;
|
|
3112
|
+
};
|
|
1897
3113
|
};
|
|
1898
|
-
signature: string;
|
|
1899
3114
|
query: {
|
|
1900
3115
|
params: {
|
|
3116
|
+
chainId: number;
|
|
1901
3117
|
timestamp: number;
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
address: string;
|
|
1905
|
-
};
|
|
3118
|
+
subgraphId: string;
|
|
3119
|
+
query: string;
|
|
1906
3120
|
};
|
|
1907
|
-
name: "
|
|
3121
|
+
name: "SubgraphQuery";
|
|
1908
3122
|
hash: string;
|
|
1909
3123
|
};
|
|
3124
|
+
signature: string;
|
|
1910
3125
|
}>, z.ZodObject<{
|
|
1911
3126
|
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1912
3127
|
query: z.ZodObject<{
|
|
1913
|
-
name: z.ZodLiteral<"
|
|
3128
|
+
name: z.ZodLiteral<"SvmGetAccountsInfoQuery">;
|
|
1914
3129
|
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1915
3130
|
params: z.ZodObject<{
|
|
1916
|
-
|
|
1917
|
-
owner: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1918
|
-
usdMinAmount: z.ZodEffects<z.ZodString, string, string>;
|
|
3131
|
+
publicKeys: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
1919
3132
|
timestamp: z.ZodEffects<z.ZodNumber, number, number>;
|
|
1920
|
-
tokens: z.ZodArray<z.ZodObject<{
|
|
1921
|
-
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
1922
|
-
address: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1923
|
-
}, "strip", z.ZodTypeAny, {
|
|
1924
|
-
chainId: number;
|
|
1925
|
-
address: string;
|
|
1926
|
-
}, {
|
|
1927
|
-
chainId: number;
|
|
1928
|
-
address: string;
|
|
1929
|
-
}>, "many">;
|
|
1930
|
-
tokenFilter: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>;
|
|
1931
3133
|
}, "strip", z.ZodTypeAny, {
|
|
1932
3134
|
timestamp: number;
|
|
1933
|
-
|
|
1934
|
-
chainId: number;
|
|
1935
|
-
address: string;
|
|
1936
|
-
}[];
|
|
1937
|
-
owner: string;
|
|
1938
|
-
usdMinAmount: string;
|
|
1939
|
-
chainIds: number[];
|
|
1940
|
-
tokenFilter: 0 | 1;
|
|
3135
|
+
publicKeys: string[];
|
|
1941
3136
|
}, {
|
|
1942
3137
|
timestamp: number;
|
|
1943
|
-
|
|
1944
|
-
chainId: number;
|
|
1945
|
-
address: string;
|
|
1946
|
-
}[];
|
|
1947
|
-
owner: string;
|
|
1948
|
-
usdMinAmount: string;
|
|
1949
|
-
chainIds: number[];
|
|
1950
|
-
tokenFilter: 0 | 1;
|
|
3138
|
+
publicKeys: string[];
|
|
1951
3139
|
}>;
|
|
1952
3140
|
}, "strip", z.ZodTypeAny, {
|
|
1953
3141
|
params: {
|
|
1954
3142
|
timestamp: number;
|
|
1955
|
-
|
|
1956
|
-
chainId: number;
|
|
1957
|
-
address: string;
|
|
1958
|
-
}[];
|
|
1959
|
-
owner: string;
|
|
1960
|
-
usdMinAmount: string;
|
|
1961
|
-
chainIds: number[];
|
|
1962
|
-
tokenFilter: 0 | 1;
|
|
3143
|
+
publicKeys: string[];
|
|
1963
3144
|
};
|
|
1964
|
-
name: "
|
|
3145
|
+
name: "SvmGetAccountsInfoQuery";
|
|
1965
3146
|
hash: string;
|
|
1966
3147
|
}, {
|
|
1967
3148
|
params: {
|
|
1968
3149
|
timestamp: number;
|
|
1969
|
-
|
|
1970
|
-
chainId: number;
|
|
1971
|
-
address: string;
|
|
1972
|
-
}[];
|
|
1973
|
-
owner: string;
|
|
1974
|
-
usdMinAmount: string;
|
|
1975
|
-
chainIds: number[];
|
|
1976
|
-
tokenFilter: 0 | 1;
|
|
3150
|
+
publicKeys: string[];
|
|
1977
3151
|
};
|
|
1978
|
-
name: "
|
|
3152
|
+
name: "SvmGetAccountsInfoQuery";
|
|
1979
3153
|
hash: string;
|
|
1980
3154
|
}>;
|
|
1981
3155
|
result: z.ZodObject<{
|
|
1982
|
-
value: z.
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
3156
|
+
value: z.ZodObject<{
|
|
3157
|
+
accountsInfo: z.ZodArray<z.ZodObject<{
|
|
3158
|
+
executable: z.ZodBoolean;
|
|
3159
|
+
owner: z.ZodEffects<z.ZodString, string, string>;
|
|
3160
|
+
lamports: z.ZodEffects<z.ZodString, string, string>;
|
|
3161
|
+
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
3162
|
+
rentEpoch: z.ZodEffects<z.ZodString, string, string>;
|
|
1986
3163
|
}, "strip", z.ZodTypeAny, {
|
|
1987
|
-
|
|
1988
|
-
|
|
3164
|
+
data: string;
|
|
3165
|
+
executable: boolean;
|
|
3166
|
+
owner: string;
|
|
3167
|
+
lamports: string;
|
|
3168
|
+
rentEpoch: string;
|
|
1989
3169
|
}, {
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
3170
|
+
data: string;
|
|
3171
|
+
executable: boolean;
|
|
3172
|
+
owner: string;
|
|
3173
|
+
lamports: string;
|
|
3174
|
+
rentEpoch: string;
|
|
3175
|
+
}>, "many">;
|
|
3176
|
+
slot: z.ZodEffects<z.ZodString, string, string>;
|
|
1994
3177
|
}, "strip", z.ZodTypeAny, {
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
3178
|
+
accountsInfo: {
|
|
3179
|
+
data: string;
|
|
3180
|
+
executable: boolean;
|
|
3181
|
+
owner: string;
|
|
3182
|
+
lamports: string;
|
|
3183
|
+
rentEpoch: string;
|
|
3184
|
+
}[];
|
|
3185
|
+
slot: string;
|
|
2000
3186
|
}, {
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
3187
|
+
accountsInfo: {
|
|
3188
|
+
data: string;
|
|
3189
|
+
executable: boolean;
|
|
3190
|
+
owner: string;
|
|
3191
|
+
lamports: string;
|
|
3192
|
+
rentEpoch: string;
|
|
3193
|
+
}[];
|
|
3194
|
+
slot: string;
|
|
3195
|
+
}>;
|
|
2007
3196
|
}, "strip", z.ZodTypeAny, {
|
|
2008
3197
|
value: {
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
3198
|
+
accountsInfo: {
|
|
3199
|
+
data: string;
|
|
3200
|
+
executable: boolean;
|
|
3201
|
+
owner: string;
|
|
3202
|
+
lamports: string;
|
|
3203
|
+
rentEpoch: string;
|
|
3204
|
+
}[];
|
|
3205
|
+
slot: string;
|
|
3206
|
+
};
|
|
2015
3207
|
}, {
|
|
2016
3208
|
value: {
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
3209
|
+
accountsInfo: {
|
|
3210
|
+
data: string;
|
|
3211
|
+
executable: boolean;
|
|
3212
|
+
owner: string;
|
|
3213
|
+
lamports: string;
|
|
3214
|
+
rentEpoch: string;
|
|
3215
|
+
}[];
|
|
3216
|
+
slot: string;
|
|
3217
|
+
};
|
|
2023
3218
|
}>;
|
|
2024
3219
|
}, "strip", z.ZodTypeAny, {
|
|
2025
3220
|
result: {
|
|
2026
3221
|
value: {
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
3222
|
+
accountsInfo: {
|
|
3223
|
+
data: string;
|
|
3224
|
+
executable: boolean;
|
|
3225
|
+
owner: string;
|
|
3226
|
+
lamports: string;
|
|
3227
|
+
rentEpoch: string;
|
|
3228
|
+
}[];
|
|
3229
|
+
slot: string;
|
|
3230
|
+
};
|
|
2033
3231
|
};
|
|
2034
|
-
signature: string;
|
|
2035
3232
|
query: {
|
|
2036
3233
|
params: {
|
|
2037
3234
|
timestamp: number;
|
|
2038
|
-
|
|
2039
|
-
chainId: number;
|
|
2040
|
-
address: string;
|
|
2041
|
-
}[];
|
|
2042
|
-
owner: string;
|
|
2043
|
-
usdMinAmount: string;
|
|
2044
|
-
chainIds: number[];
|
|
2045
|
-
tokenFilter: 0 | 1;
|
|
3235
|
+
publicKeys: string[];
|
|
2046
3236
|
};
|
|
2047
|
-
name: "
|
|
3237
|
+
name: "SvmGetAccountsInfoQuery";
|
|
2048
3238
|
hash: string;
|
|
2049
3239
|
};
|
|
3240
|
+
signature: string;
|
|
2050
3241
|
}, {
|
|
2051
3242
|
result: {
|
|
2052
3243
|
value: {
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
3244
|
+
accountsInfo: {
|
|
3245
|
+
data: string;
|
|
3246
|
+
executable: boolean;
|
|
3247
|
+
owner: string;
|
|
3248
|
+
lamports: string;
|
|
3249
|
+
rentEpoch: string;
|
|
3250
|
+
}[];
|
|
3251
|
+
slot: string;
|
|
3252
|
+
};
|
|
2059
3253
|
};
|
|
2060
|
-
signature: string;
|
|
2061
3254
|
query: {
|
|
2062
3255
|
params: {
|
|
2063
3256
|
timestamp: number;
|
|
2064
|
-
|
|
2065
|
-
chainId: number;
|
|
2066
|
-
address: string;
|
|
2067
|
-
}[];
|
|
2068
|
-
owner: string;
|
|
2069
|
-
usdMinAmount: string;
|
|
2070
|
-
chainIds: number[];
|
|
2071
|
-
tokenFilter: 0 | 1;
|
|
3257
|
+
publicKeys: string[];
|
|
2072
3258
|
};
|
|
2073
|
-
name: "
|
|
3259
|
+
name: "SvmGetAccountsInfoQuery";
|
|
2074
3260
|
hash: string;
|
|
2075
3261
|
};
|
|
3262
|
+
signature: string;
|
|
2076
3263
|
}>]>, "many">;
|
|
2077
3264
|
outputs: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
2078
3265
|
op: z.ZodNativeEnum<typeof import("../shared").OpType>;
|
|
@@ -2091,10 +3278,23 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
2091
3278
|
token: string;
|
|
2092
3279
|
amount: string;
|
|
2093
3280
|
}>, "many">;
|
|
3281
|
+
events: z.ZodArray<z.ZodObject<{
|
|
3282
|
+
topic: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
3283
|
+
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
3284
|
+
}, "strip", z.ZodTypeAny, {
|
|
3285
|
+
data: string;
|
|
3286
|
+
topic: string;
|
|
3287
|
+
}, {
|
|
3288
|
+
data: string;
|
|
3289
|
+
topic: string;
|
|
3290
|
+
}>, "many">;
|
|
3291
|
+
configSig: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
3292
|
+
minValidations: z.ZodNumber;
|
|
2094
3293
|
}, {
|
|
2095
3294
|
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2096
3295
|
}>, "strip", z.ZodTypeAny, {
|
|
2097
3296
|
data: string;
|
|
3297
|
+
configSig: string;
|
|
2098
3298
|
op: import("../shared").OpType;
|
|
2099
3299
|
user: string;
|
|
2100
3300
|
settler: string;
|
|
@@ -2104,9 +3304,15 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
2104
3304
|
token: string;
|
|
2105
3305
|
amount: string;
|
|
2106
3306
|
}[];
|
|
3307
|
+
events: {
|
|
3308
|
+
data: string;
|
|
3309
|
+
topic: string;
|
|
3310
|
+
}[];
|
|
3311
|
+
minValidations: number;
|
|
2107
3312
|
hash: string;
|
|
2108
3313
|
}, {
|
|
2109
3314
|
data: string;
|
|
3315
|
+
configSig: string;
|
|
2110
3316
|
op: import("../shared").OpType;
|
|
2111
3317
|
user: string;
|
|
2112
3318
|
settler: string;
|
|
@@ -2116,15 +3322,22 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
2116
3322
|
token: string;
|
|
2117
3323
|
amount: string;
|
|
2118
3324
|
}[];
|
|
3325
|
+
events: {
|
|
3326
|
+
data: string;
|
|
3327
|
+
topic: string;
|
|
3328
|
+
}[];
|
|
3329
|
+
minValidations: number;
|
|
2119
3330
|
hash: string;
|
|
2120
3331
|
}>, "many">;
|
|
2121
3332
|
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
3333
|
+
result: z.ZodNativeEnum<typeof ExecutionResult>;
|
|
2122
3334
|
}>, {
|
|
2123
3335
|
relayer: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
3336
|
+
status: z.ZodNativeEnum<typeof ExecutionStatus>;
|
|
2124
3337
|
createdAt: z.ZodDate;
|
|
2125
3338
|
logs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2126
|
-
errorLogs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2127
3339
|
fee: z.ZodOptional<z.ZodObject<{
|
|
3340
|
+
trigger: z.ZodNumber;
|
|
2128
3341
|
relayer: z.ZodNumber;
|
|
2129
3342
|
oracles: z.ZodNumber;
|
|
2130
3343
|
validator: z.ZodNumber;
|
|
@@ -2132,6 +3345,7 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
2132
3345
|
protocol: z.ZodNumber;
|
|
2133
3346
|
total: z.ZodNumber;
|
|
2134
3347
|
}, "strip", z.ZodTypeAny, {
|
|
3348
|
+
trigger: number;
|
|
2135
3349
|
relayer: number;
|
|
2136
3350
|
oracles: number;
|
|
2137
3351
|
validator: number;
|
|
@@ -2139,6 +3353,7 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
2139
3353
|
protocol: number;
|
|
2140
3354
|
total: number;
|
|
2141
3355
|
}, {
|
|
3356
|
+
trigger: number;
|
|
2142
3357
|
relayer: number;
|
|
2143
3358
|
oracles: number;
|
|
2144
3359
|
validator: number;
|
|
@@ -2146,21 +3361,34 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
2146
3361
|
protocol: number;
|
|
2147
3362
|
total: number;
|
|
2148
3363
|
}>>;
|
|
2149
|
-
validations: z.ZodOptional<z.ZodArray<z.
|
|
3364
|
+
validations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3365
|
+
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
3366
|
+
succeeded: z.ZodBoolean;
|
|
3367
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3368
|
+
}, "strip", z.ZodTypeAny, {
|
|
3369
|
+
succeeded: boolean;
|
|
3370
|
+
signature: string;
|
|
3371
|
+
description?: string | undefined;
|
|
3372
|
+
}, {
|
|
3373
|
+
succeeded: boolean;
|
|
3374
|
+
signature: string;
|
|
3375
|
+
description?: string | undefined;
|
|
3376
|
+
}>, "many">>;
|
|
2150
3377
|
}>, "strip", z.ZodTypeAny, {
|
|
3378
|
+
result: ExecutionResult;
|
|
2151
3379
|
timestamp: number;
|
|
2152
|
-
|
|
3380
|
+
status: ExecutionStatus;
|
|
2153
3381
|
configSig: string;
|
|
2154
3382
|
triggerType: import("../shared").TriggerType;
|
|
2155
3383
|
triggerData: string;
|
|
2156
3384
|
signature: string;
|
|
2157
3385
|
hash: string;
|
|
3386
|
+
createdAt: Date;
|
|
2158
3387
|
fuelUsed: number;
|
|
2159
3388
|
inputs: ({
|
|
2160
3389
|
result: {
|
|
2161
3390
|
value: string;
|
|
2162
3391
|
};
|
|
2163
|
-
signature: string;
|
|
2164
3392
|
query: {
|
|
2165
3393
|
params: {
|
|
2166
3394
|
chainId: number;
|
|
@@ -2171,11 +3399,33 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
2171
3399
|
name: "EvmCallQuery";
|
|
2172
3400
|
hash: string;
|
|
2173
3401
|
};
|
|
3402
|
+
signature: string;
|
|
2174
3403
|
} | {
|
|
2175
3404
|
result: {
|
|
2176
|
-
value:
|
|
3405
|
+
value: {
|
|
3406
|
+
accountsInfo: {
|
|
3407
|
+
data: string;
|
|
3408
|
+
executable: boolean;
|
|
3409
|
+
owner: string;
|
|
3410
|
+
lamports: string;
|
|
3411
|
+
rentEpoch: string;
|
|
3412
|
+
}[];
|
|
3413
|
+
slot: string;
|
|
3414
|
+
};
|
|
3415
|
+
};
|
|
3416
|
+
query: {
|
|
3417
|
+
params: {
|
|
3418
|
+
timestamp: number;
|
|
3419
|
+
publicKeys: string[];
|
|
3420
|
+
};
|
|
3421
|
+
name: "SvmGetAccountsInfoQuery";
|
|
3422
|
+
hash: string;
|
|
2177
3423
|
};
|
|
2178
3424
|
signature: string;
|
|
3425
|
+
} | {
|
|
3426
|
+
result: {
|
|
3427
|
+
value: string;
|
|
3428
|
+
};
|
|
2179
3429
|
query: {
|
|
2180
3430
|
params: {
|
|
2181
3431
|
timestamp: number;
|
|
@@ -2187,25 +3437,27 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
2187
3437
|
name: "TokenPriceQuery";
|
|
2188
3438
|
hash: string;
|
|
2189
3439
|
};
|
|
3440
|
+
signature: string;
|
|
2190
3441
|
} | {
|
|
2191
3442
|
result: {
|
|
2192
3443
|
value: {
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
3444
|
+
timestamp: number;
|
|
3445
|
+
balances: {
|
|
3446
|
+
token: {
|
|
3447
|
+
chainId: number;
|
|
3448
|
+
address: string;
|
|
3449
|
+
};
|
|
3450
|
+
balance: string;
|
|
3451
|
+
}[];
|
|
3452
|
+
};
|
|
2199
3453
|
};
|
|
2200
|
-
signature: string;
|
|
2201
3454
|
query: {
|
|
2202
3455
|
params: {
|
|
2203
|
-
|
|
3456
|
+
owner: string;
|
|
2204
3457
|
tokens: {
|
|
2205
3458
|
chainId: number;
|
|
2206
3459
|
address: string;
|
|
2207
3460
|
}[];
|
|
2208
|
-
owner: string;
|
|
2209
3461
|
usdMinAmount: string;
|
|
2210
3462
|
chainIds: number[];
|
|
2211
3463
|
tokenFilter: 0 | 1;
|
|
@@ -2213,9 +3465,29 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
2213
3465
|
name: "RelevantTokensQuery";
|
|
2214
3466
|
hash: string;
|
|
2215
3467
|
};
|
|
3468
|
+
signature: string;
|
|
3469
|
+
} | {
|
|
3470
|
+
result: {
|
|
3471
|
+
value: {
|
|
3472
|
+
data: string;
|
|
3473
|
+
blockNumber: number;
|
|
3474
|
+
};
|
|
3475
|
+
};
|
|
3476
|
+
query: {
|
|
3477
|
+
params: {
|
|
3478
|
+
chainId: number;
|
|
3479
|
+
timestamp: number;
|
|
3480
|
+
subgraphId: string;
|
|
3481
|
+
query: string;
|
|
3482
|
+
};
|
|
3483
|
+
name: "SubgraphQuery";
|
|
3484
|
+
hash: string;
|
|
3485
|
+
};
|
|
3486
|
+
signature: string;
|
|
2216
3487
|
})[];
|
|
2217
3488
|
outputs: {
|
|
2218
3489
|
data: string;
|
|
3490
|
+
configSig: string;
|
|
2219
3491
|
op: import("../shared").OpType;
|
|
2220
3492
|
user: string;
|
|
2221
3493
|
settler: string;
|
|
@@ -2225,12 +3497,22 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
2225
3497
|
token: string;
|
|
2226
3498
|
amount: string;
|
|
2227
3499
|
}[];
|
|
3500
|
+
events: {
|
|
3501
|
+
data: string;
|
|
3502
|
+
topic: string;
|
|
3503
|
+
}[];
|
|
3504
|
+
minValidations: number;
|
|
2228
3505
|
hash: string;
|
|
2229
3506
|
}[];
|
|
2230
3507
|
relayer: string;
|
|
3508
|
+
validations?: {
|
|
3509
|
+
succeeded: boolean;
|
|
3510
|
+
signature: string;
|
|
3511
|
+
description?: string | undefined;
|
|
3512
|
+
}[] | undefined;
|
|
2231
3513
|
logs?: string[] | undefined;
|
|
2232
|
-
errorLogs?: string[] | undefined;
|
|
2233
3514
|
fee?: {
|
|
3515
|
+
trigger: number;
|
|
2234
3516
|
relayer: number;
|
|
2235
3517
|
oracles: number;
|
|
2236
3518
|
validator: number;
|
|
@@ -2238,21 +3520,21 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
2238
3520
|
protocol: number;
|
|
2239
3521
|
total: number;
|
|
2240
3522
|
} | undefined;
|
|
2241
|
-
validations?: string[] | undefined;
|
|
2242
3523
|
}, {
|
|
3524
|
+
result: ExecutionResult;
|
|
2243
3525
|
timestamp: number;
|
|
2244
|
-
|
|
3526
|
+
status: ExecutionStatus;
|
|
2245
3527
|
configSig: string;
|
|
2246
3528
|
triggerType: import("../shared").TriggerType;
|
|
2247
3529
|
triggerData: string;
|
|
2248
3530
|
signature: string;
|
|
2249
3531
|
hash: string;
|
|
3532
|
+
createdAt: Date;
|
|
2250
3533
|
fuelUsed: number;
|
|
2251
3534
|
inputs: ({
|
|
2252
3535
|
result: {
|
|
2253
3536
|
value: string;
|
|
2254
3537
|
};
|
|
2255
|
-
signature: string;
|
|
2256
3538
|
query: {
|
|
2257
3539
|
params: {
|
|
2258
3540
|
chainId: number;
|
|
@@ -2263,11 +3545,33 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
2263
3545
|
name: "EvmCallQuery";
|
|
2264
3546
|
hash: string;
|
|
2265
3547
|
};
|
|
3548
|
+
signature: string;
|
|
2266
3549
|
} | {
|
|
2267
3550
|
result: {
|
|
2268
|
-
value:
|
|
3551
|
+
value: {
|
|
3552
|
+
accountsInfo: {
|
|
3553
|
+
data: string;
|
|
3554
|
+
executable: boolean;
|
|
3555
|
+
owner: string;
|
|
3556
|
+
lamports: string;
|
|
3557
|
+
rentEpoch: string;
|
|
3558
|
+
}[];
|
|
3559
|
+
slot: string;
|
|
3560
|
+
};
|
|
3561
|
+
};
|
|
3562
|
+
query: {
|
|
3563
|
+
params: {
|
|
3564
|
+
timestamp: number;
|
|
3565
|
+
publicKeys: string[];
|
|
3566
|
+
};
|
|
3567
|
+
name: "SvmGetAccountsInfoQuery";
|
|
3568
|
+
hash: string;
|
|
2269
3569
|
};
|
|
2270
3570
|
signature: string;
|
|
3571
|
+
} | {
|
|
3572
|
+
result: {
|
|
3573
|
+
value: string;
|
|
3574
|
+
};
|
|
2271
3575
|
query: {
|
|
2272
3576
|
params: {
|
|
2273
3577
|
timestamp: number;
|
|
@@ -2279,25 +3583,27 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
2279
3583
|
name: "TokenPriceQuery";
|
|
2280
3584
|
hash: string;
|
|
2281
3585
|
};
|
|
3586
|
+
signature: string;
|
|
2282
3587
|
} | {
|
|
2283
3588
|
result: {
|
|
2284
3589
|
value: {
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
3590
|
+
timestamp: number;
|
|
3591
|
+
balances: {
|
|
3592
|
+
token: {
|
|
3593
|
+
chainId: number;
|
|
3594
|
+
address: string;
|
|
3595
|
+
};
|
|
3596
|
+
balance: string;
|
|
3597
|
+
}[];
|
|
3598
|
+
};
|
|
2291
3599
|
};
|
|
2292
|
-
signature: string;
|
|
2293
3600
|
query: {
|
|
2294
3601
|
params: {
|
|
2295
|
-
|
|
3602
|
+
owner: string;
|
|
2296
3603
|
tokens: {
|
|
2297
3604
|
chainId: number;
|
|
2298
3605
|
address: string;
|
|
2299
3606
|
}[];
|
|
2300
|
-
owner: string;
|
|
2301
3607
|
usdMinAmount: string;
|
|
2302
3608
|
chainIds: number[];
|
|
2303
3609
|
tokenFilter: 0 | 1;
|
|
@@ -2305,9 +3611,29 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
2305
3611
|
name: "RelevantTokensQuery";
|
|
2306
3612
|
hash: string;
|
|
2307
3613
|
};
|
|
3614
|
+
signature: string;
|
|
3615
|
+
} | {
|
|
3616
|
+
result: {
|
|
3617
|
+
value: {
|
|
3618
|
+
data: string;
|
|
3619
|
+
blockNumber: number;
|
|
3620
|
+
};
|
|
3621
|
+
};
|
|
3622
|
+
query: {
|
|
3623
|
+
params: {
|
|
3624
|
+
chainId: number;
|
|
3625
|
+
timestamp: number;
|
|
3626
|
+
subgraphId: string;
|
|
3627
|
+
query: string;
|
|
3628
|
+
};
|
|
3629
|
+
name: "SubgraphQuery";
|
|
3630
|
+
hash: string;
|
|
3631
|
+
};
|
|
3632
|
+
signature: string;
|
|
2308
3633
|
})[];
|
|
2309
3634
|
outputs: {
|
|
2310
3635
|
data: string;
|
|
3636
|
+
configSig: string;
|
|
2311
3637
|
op: import("../shared").OpType;
|
|
2312
3638
|
user: string;
|
|
2313
3639
|
settler: string;
|
|
@@ -2317,12 +3643,22 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
2317
3643
|
token: string;
|
|
2318
3644
|
amount: string;
|
|
2319
3645
|
}[];
|
|
3646
|
+
events: {
|
|
3647
|
+
data: string;
|
|
3648
|
+
topic: string;
|
|
3649
|
+
}[];
|
|
3650
|
+
minValidations: number;
|
|
2320
3651
|
hash: string;
|
|
2321
3652
|
}[];
|
|
2322
3653
|
relayer: string;
|
|
3654
|
+
validations?: {
|
|
3655
|
+
succeeded: boolean;
|
|
3656
|
+
signature: string;
|
|
3657
|
+
description?: string | undefined;
|
|
3658
|
+
}[] | undefined;
|
|
2323
3659
|
logs?: string[] | undefined;
|
|
2324
|
-
errorLogs?: string[] | undefined;
|
|
2325
3660
|
fee?: {
|
|
3661
|
+
trigger: number;
|
|
2326
3662
|
relayer: number;
|
|
2327
3663
|
oracles: number;
|
|
2328
3664
|
validator: number;
|
|
@@ -2330,32 +3666,43 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
2330
3666
|
protocol: number;
|
|
2331
3667
|
total: number;
|
|
2332
3668
|
} | undefined;
|
|
2333
|
-
validations?: string[] | undefined;
|
|
2334
3669
|
}>, "many">;
|
|
2335
|
-
export declare const ExecutionValidationRequestValidator: z.ZodObject<{
|
|
3670
|
+
export declare const ExecutionValidationRequestValidator: z.ZodObject<z.objectUtil.extendShape<{
|
|
2336
3671
|
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2337
|
-
|
|
3672
|
+
succeeded: z.ZodBoolean;
|
|
3673
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3674
|
+
}, {
|
|
3675
|
+
intentsValidations: z.ZodArray<z.ZodObject<{
|
|
3676
|
+
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
2338
3677
|
intent: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2339
3678
|
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2340
3679
|
}, "strip", z.ZodTypeAny, {
|
|
3680
|
+
chainId: number;
|
|
2341
3681
|
intent: string;
|
|
2342
3682
|
signature: string;
|
|
2343
3683
|
}, {
|
|
3684
|
+
chainId: number;
|
|
2344
3685
|
intent: string;
|
|
2345
3686
|
signature: string;
|
|
2346
3687
|
}>, "many">;
|
|
2347
|
-
}
|
|
3688
|
+
}>, "strip", z.ZodTypeAny, {
|
|
3689
|
+
succeeded: boolean;
|
|
2348
3690
|
signature: string;
|
|
2349
|
-
|
|
3691
|
+
intentsValidations: {
|
|
3692
|
+
chainId: number;
|
|
2350
3693
|
intent: string;
|
|
2351
3694
|
signature: string;
|
|
2352
3695
|
}[];
|
|
3696
|
+
description?: string | undefined;
|
|
2353
3697
|
}, {
|
|
3698
|
+
succeeded: boolean;
|
|
2354
3699
|
signature: string;
|
|
2355
|
-
|
|
3700
|
+
intentsValidations: {
|
|
3701
|
+
chainId: number;
|
|
2356
3702
|
intent: string;
|
|
2357
3703
|
signature: string;
|
|
2358
3704
|
}[];
|
|
3705
|
+
description?: string | undefined;
|
|
2359
3706
|
}>;
|
|
2360
3707
|
export declare const OracleFeeValidator: z.ZodObject<{
|
|
2361
3708
|
address: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|