@mimicprotocol/sdk 0.0.1-rc.1 → 0.0.1-rc.11
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 +16 -0
- package/dist/axia/constants.d.ts.map +1 -1
- package/dist/axia/constants.js +20 -1
- package/dist/axia/constants.js.map +1 -1
- package/dist/axia/types.d.ts +4 -1
- package/dist/axia/types.d.ts.map +1 -1
- package/dist/axia/validators.d.ts +409 -38
- package/dist/axia/validators.d.ts.map +1 -1
- package/dist/axia/validators.js +27 -5
- package/dist/axia/validators.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 +6 -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/ConfigsClient.d.ts +3 -1
- package/dist/client/domains/ConfigsClient.d.ts.map +1 -1
- package/dist/client/domains/ConfigsClient.js +31 -3
- package/dist/client/domains/ConfigsClient.js.map +1 -1
- package/dist/client/domains/IntentsClient.d.ts +10 -0
- package/dist/client/domains/IntentsClient.d.ts.map +1 -1
- package/dist/client/domains/IntentsClient.js +19 -0
- package/dist/client/domains/IntentsClient.js.map +1 -1
- package/dist/client/domains/index.d.ts +1 -0
- package/dist/client/domains/index.d.ts.map +1 -1
- package/dist/client/domains/index.js +3 -1
- package/dist/client/domains/index.js.map +1 -1
- package/dist/client/index.d.ts +4 -1
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +21 -5
- package/dist/client/index.js.map +1 -1
- package/dist/oracle/eip712Types.js +1 -1
- package/dist/oracle/eip712Types.js.map +1 -1
- package/dist/oracle/validators.js +1 -1
- package/dist/oracle/validators.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 +1 -0
- package/dist/registry/eip712Types.js.map +1 -1
- package/dist/registry/validators.d.ts +86 -56
- package/dist/registry/validators.d.ts.map +1 -1
- package/dist/registry/validators.js +9 -5
- 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 +3 -1
- package/dist/relayer/types.d.ts.map +1 -1
- package/dist/relayer/validators.d.ts +1018 -32
- package/dist/relayer/validators.d.ts.map +1 -1
- package/dist/relayer/validators.js +13 -20
- package/dist/relayer/validators.js.map +1 -1
- package/dist/runner/validators.d.ts +474 -5
- package/dist/runner/validators.d.ts.map +1 -1
- package/dist/runner/validators.js +7 -1
- package/dist/runner/validators.js.map +1 -1
- package/dist/shared/codec/chains/evm.d.ts +7 -0
- package/dist/shared/codec/chains/evm.d.ts.map +1 -0
- package/dist/shared/codec/chains/evm.js +103 -0
- package/dist/shared/codec/chains/evm.js.map +1 -0
- package/dist/shared/codec/chains/svm.d.ts +17 -0
- package/dist/shared/codec/chains/svm.d.ts.map +1 -0
- package/dist/shared/codec/chains/svm.js +177 -0
- package/dist/shared/codec/chains/svm.js.map +1 -0
- package/dist/shared/codec/decoder.d.ts.map +1 -1
- package/dist/shared/codec/decoder.js +11 -30
- package/dist/shared/codec/decoder.js.map +1 -1
- package/dist/shared/codec/encoder.d.ts +83 -1
- package/dist/shared/codec/encoder.d.ts.map +1 -1
- package/dist/shared/codec/encoder.js +58 -43
- 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 +9 -0
- package/dist/shared/codec/index.js.map +1 -1
- package/dist/shared/eip712Types/index.d.ts +5 -0
- package/dist/shared/eip712Types/index.d.ts.map +1 -1
- package/dist/shared/eip712Types/index.js +13 -5
- 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/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 +4 -1
- package/dist/shared/types/intents.d.ts.map +1 -1
- package/dist/shared/utils/addresses.d.ts +2 -3
- package/dist/shared/utils/addresses.d.ts.map +1 -1
- package/dist/shared/utils/addresses.js +9 -6
- 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 +2 -1
- package/dist/shared/utils/chains.d.ts.map +1 -1
- package/dist/shared/utils/chains.js +2 -1
- 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 +3 -1
- package/dist/shared/utils/random.d.ts.map +1 -1
- package/dist/shared/utils/random.js +12 -2
- package/dist/shared/utils/random.js.map +1 -1
- package/dist/shared/utils/tokens.d.ts +7 -0
- package/dist/shared/utils/tokens.d.ts.map +1 -0
- package/dist/shared/utils/tokens.js +16 -0
- package/dist/shared/utils/tokens.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/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 +184 -0
- package/dist/shared/validators/intents.d.ts.map +1 -1
- package/dist/shared/validators/intents.js +12 -1
- package/dist/shared/validators/intents.js.map +1 -1
- package/dist/shared/validators/primitives.d.ts +3 -0
- package/dist/shared/validators/primitives.d.ts.map +1 -1
- package/dist/shared/validators/primitives.js +7 -3
- package/dist/shared/validators/primitives.js.map +1 -1
- package/dist/validator/ValidatorSigner.d.ts +16 -0
- package/dist/validator/ValidatorSigner.d.ts.map +1 -0
- package/dist/validator/ValidatorSigner.js +33 -0
- package/dist/validator/ValidatorSigner.js.map +1 -0
- package/dist/validator/eip712Types.d.ts +17 -0
- package/dist/validator/eip712Types.d.ts.map +1 -0
- package/dist/validator/eip712Types.js +17 -0
- package/dist/validator/eip712Types.js.map +1 -0
- package/dist/validator/index.d.ts +2 -0
- package/dist/validator/index.d.ts.map +1 -1
- package/dist/validator/index.js +2 -0
- package/dist/validator/index.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>;
|
|
@@ -10,26 +23,29 @@ export declare const AxiaProposalValidator: z.ZodObject<{
|
|
|
10
23
|
description: z.ZodOptional<z.ZodString>;
|
|
11
24
|
signatures: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">;
|
|
12
25
|
transactionHash: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
26
|
+
destTransactionHash: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
13
27
|
}, "strip", z.ZodTypeAny, {
|
|
14
28
|
data: string;
|
|
29
|
+
status: ProposalStatus;
|
|
15
30
|
deadline: string;
|
|
16
31
|
solver: string;
|
|
17
32
|
fees: string[];
|
|
18
|
-
status: ProposalStatus;
|
|
19
33
|
feeUsd: number;
|
|
20
34
|
signatures: string[];
|
|
21
35
|
description?: string | undefined;
|
|
22
36
|
transactionHash?: string | undefined;
|
|
37
|
+
destTransactionHash?: string | undefined;
|
|
23
38
|
}, {
|
|
24
39
|
data: string;
|
|
40
|
+
status: ProposalStatus;
|
|
25
41
|
deadline: string;
|
|
26
42
|
solver: string;
|
|
27
43
|
fees: string[];
|
|
28
|
-
status: ProposalStatus;
|
|
29
44
|
feeUsd: number;
|
|
30
45
|
signatures: string[];
|
|
31
46
|
description?: string | undefined;
|
|
32
47
|
transactionHash?: string | undefined;
|
|
48
|
+
destTransactionHash?: string | undefined;
|
|
33
49
|
}>;
|
|
34
50
|
export declare const AxiaIntentValidator: z.ZodObject<z.objectUtil.extendShape<{
|
|
35
51
|
op: z.ZodNativeEnum<typeof import("../shared").OpType>;
|
|
@@ -48,8 +64,21 @@ export declare const AxiaIntentValidator: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
48
64
|
token: string;
|
|
49
65
|
amount: string;
|
|
50
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;
|
|
51
79
|
}, {
|
|
52
80
|
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
81
|
+
executionHash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
53
82
|
status: z.ZodNativeEnum<typeof IntentStatus>;
|
|
54
83
|
proposals: z.ZodArray<z.ZodObject<{
|
|
55
84
|
solver: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
@@ -61,42 +90,47 @@ export declare const AxiaIntentValidator: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
61
90
|
description: z.ZodOptional<z.ZodString>;
|
|
62
91
|
signatures: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">;
|
|
63
92
|
transactionHash: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
93
|
+
destTransactionHash: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
64
94
|
}, "strip", z.ZodTypeAny, {
|
|
65
95
|
data: string;
|
|
96
|
+
status: ProposalStatus;
|
|
66
97
|
deadline: string;
|
|
67
98
|
solver: string;
|
|
68
99
|
fees: string[];
|
|
69
|
-
status: ProposalStatus;
|
|
70
100
|
feeUsd: number;
|
|
71
101
|
signatures: string[];
|
|
72
102
|
description?: string | undefined;
|
|
73
103
|
transactionHash?: string | undefined;
|
|
104
|
+
destTransactionHash?: string | undefined;
|
|
74
105
|
}, {
|
|
75
106
|
data: string;
|
|
107
|
+
status: ProposalStatus;
|
|
76
108
|
deadline: string;
|
|
77
109
|
solver: string;
|
|
78
110
|
fees: string[];
|
|
79
|
-
status: ProposalStatus;
|
|
80
111
|
feeUsd: number;
|
|
81
112
|
signatures: string[];
|
|
82
113
|
description?: string | undefined;
|
|
83
114
|
transactionHash?: string | undefined;
|
|
115
|
+
destTransactionHash?: string | undefined;
|
|
84
116
|
}>, "many">;
|
|
85
|
-
|
|
86
|
-
level: z.ZodNativeEnum<typeof
|
|
117
|
+
logs: z.ZodArray<z.ZodObject<{
|
|
118
|
+
level: z.ZodNativeEnum<typeof IntentLogLevel>;
|
|
87
119
|
data: z.ZodString;
|
|
88
120
|
createdAt: z.ZodDate;
|
|
89
121
|
}, "strip", z.ZodTypeAny, {
|
|
90
122
|
data: string;
|
|
91
|
-
level:
|
|
123
|
+
level: IntentLogLevel;
|
|
92
124
|
createdAt: Date;
|
|
93
125
|
}, {
|
|
94
126
|
data: string;
|
|
95
|
-
level:
|
|
127
|
+
level: IntentLogLevel;
|
|
96
128
|
createdAt: Date;
|
|
97
129
|
}>, "many">;
|
|
98
130
|
}>, "strip", z.ZodTypeAny, {
|
|
99
131
|
data: string;
|
|
132
|
+
status: IntentStatus;
|
|
133
|
+
configSig: string;
|
|
100
134
|
op: import("../shared").OpType;
|
|
101
135
|
user: string;
|
|
102
136
|
settler: string;
|
|
@@ -106,26 +140,34 @@ export declare const AxiaIntentValidator: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
106
140
|
token: string;
|
|
107
141
|
amount: string;
|
|
108
142
|
}[];
|
|
109
|
-
|
|
143
|
+
events: {
|
|
144
|
+
data: string;
|
|
145
|
+
topic: string;
|
|
146
|
+
}[];
|
|
147
|
+
minValidations: number;
|
|
110
148
|
hash: string;
|
|
149
|
+
executionHash: string;
|
|
111
150
|
proposals: {
|
|
112
151
|
data: string;
|
|
152
|
+
status: ProposalStatus;
|
|
113
153
|
deadline: string;
|
|
114
154
|
solver: string;
|
|
115
155
|
fees: string[];
|
|
116
|
-
status: ProposalStatus;
|
|
117
156
|
feeUsd: number;
|
|
118
157
|
signatures: string[];
|
|
119
158
|
description?: string | undefined;
|
|
120
159
|
transactionHash?: string | undefined;
|
|
160
|
+
destTransactionHash?: string | undefined;
|
|
121
161
|
}[];
|
|
122
|
-
|
|
162
|
+
logs: {
|
|
123
163
|
data: string;
|
|
124
|
-
level:
|
|
164
|
+
level: IntentLogLevel;
|
|
125
165
|
createdAt: Date;
|
|
126
166
|
}[];
|
|
127
167
|
}, {
|
|
128
168
|
data: string;
|
|
169
|
+
status: IntentStatus;
|
|
170
|
+
configSig: string;
|
|
129
171
|
op: import("../shared").OpType;
|
|
130
172
|
user: string;
|
|
131
173
|
settler: string;
|
|
@@ -135,26 +177,32 @@ export declare const AxiaIntentValidator: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
135
177
|
token: string;
|
|
136
178
|
amount: string;
|
|
137
179
|
}[];
|
|
138
|
-
|
|
180
|
+
events: {
|
|
181
|
+
data: string;
|
|
182
|
+
topic: string;
|
|
183
|
+
}[];
|
|
184
|
+
minValidations: number;
|
|
139
185
|
hash: string;
|
|
186
|
+
executionHash: string;
|
|
140
187
|
proposals: {
|
|
141
188
|
data: string;
|
|
189
|
+
status: ProposalStatus;
|
|
142
190
|
deadline: string;
|
|
143
191
|
solver: string;
|
|
144
192
|
fees: string[];
|
|
145
|
-
status: ProposalStatus;
|
|
146
193
|
feeUsd: number;
|
|
147
194
|
signatures: string[];
|
|
148
195
|
description?: string | undefined;
|
|
149
196
|
transactionHash?: string | undefined;
|
|
197
|
+
destTransactionHash?: string | undefined;
|
|
150
198
|
}[];
|
|
151
|
-
|
|
199
|
+
logs: {
|
|
152
200
|
data: string;
|
|
153
|
-
level:
|
|
201
|
+
level: IntentLogLevel;
|
|
154
202
|
createdAt: Date;
|
|
155
203
|
}[];
|
|
156
204
|
}>;
|
|
157
|
-
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<{
|
|
158
206
|
op: z.ZodNativeEnum<typeof import("../shared").OpType>;
|
|
159
207
|
user: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
160
208
|
settler: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
@@ -171,10 +219,25 @@ export declare const IntentQuoteRequestValidator: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
171
219
|
token: string;
|
|
172
220
|
amount: string;
|
|
173
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;
|
|
174
234
|
}, {
|
|
235
|
+
validations: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">;
|
|
236
|
+
}>, {
|
|
175
237
|
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
176
238
|
}>, "strip", z.ZodTypeAny, {
|
|
177
239
|
data: string;
|
|
240
|
+
configSig: string;
|
|
178
241
|
op: import("../shared").OpType;
|
|
179
242
|
user: string;
|
|
180
243
|
settler: string;
|
|
@@ -184,9 +247,16 @@ export declare const IntentQuoteRequestValidator: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
184
247
|
token: string;
|
|
185
248
|
amount: string;
|
|
186
249
|
}[];
|
|
250
|
+
events: {
|
|
251
|
+
data: string;
|
|
252
|
+
topic: string;
|
|
253
|
+
}[];
|
|
254
|
+
minValidations: number;
|
|
255
|
+
validations: string[];
|
|
187
256
|
hash: string;
|
|
188
257
|
}, {
|
|
189
258
|
data: string;
|
|
259
|
+
configSig: string;
|
|
190
260
|
op: import("../shared").OpType;
|
|
191
261
|
user: string;
|
|
192
262
|
settler: string;
|
|
@@ -196,9 +266,16 @@ export declare const IntentQuoteRequestValidator: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
196
266
|
token: string;
|
|
197
267
|
amount: string;
|
|
198
268
|
}[];
|
|
269
|
+
events: {
|
|
270
|
+
data: string;
|
|
271
|
+
topic: string;
|
|
272
|
+
}[];
|
|
273
|
+
minValidations: number;
|
|
274
|
+
validations: string[];
|
|
199
275
|
hash: string;
|
|
200
276
|
}>, {
|
|
201
277
|
data: string;
|
|
278
|
+
configSig: string;
|
|
202
279
|
op: import("../shared").OpType;
|
|
203
280
|
user: string;
|
|
204
281
|
settler: string;
|
|
@@ -208,9 +285,16 @@ export declare const IntentQuoteRequestValidator: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
208
285
|
token: string;
|
|
209
286
|
amount: string;
|
|
210
287
|
}[];
|
|
288
|
+
events: {
|
|
289
|
+
data: string;
|
|
290
|
+
topic: string;
|
|
291
|
+
}[];
|
|
292
|
+
minValidations: number;
|
|
293
|
+
validations: string[];
|
|
211
294
|
hash: string;
|
|
212
295
|
}, {
|
|
213
296
|
data: string;
|
|
297
|
+
configSig: string;
|
|
214
298
|
op: import("../shared").OpType;
|
|
215
299
|
user: string;
|
|
216
300
|
settler: string;
|
|
@@ -220,9 +304,16 @@ export declare const IntentQuoteRequestValidator: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
220
304
|
token: string;
|
|
221
305
|
amount: string;
|
|
222
306
|
}[];
|
|
307
|
+
events: {
|
|
308
|
+
data: string;
|
|
309
|
+
topic: string;
|
|
310
|
+
}[];
|
|
311
|
+
minValidations: number;
|
|
312
|
+
validations: string[];
|
|
223
313
|
hash: string;
|
|
224
314
|
}>, {
|
|
225
315
|
data: string;
|
|
316
|
+
configSig: string;
|
|
226
317
|
op: import("../shared").OpType;
|
|
227
318
|
user: string;
|
|
228
319
|
settler: string;
|
|
@@ -232,9 +323,16 @@ export declare const IntentQuoteRequestValidator: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
232
323
|
token: string;
|
|
233
324
|
amount: string;
|
|
234
325
|
}[];
|
|
326
|
+
events: {
|
|
327
|
+
data: string;
|
|
328
|
+
topic: string;
|
|
329
|
+
}[];
|
|
330
|
+
minValidations: number;
|
|
331
|
+
validations: string[];
|
|
235
332
|
hash: string;
|
|
236
333
|
}, {
|
|
237
334
|
data: string;
|
|
335
|
+
configSig: string;
|
|
238
336
|
op: import("../shared").OpType;
|
|
239
337
|
user: string;
|
|
240
338
|
settler: string;
|
|
@@ -244,6 +342,12 @@ export declare const IntentQuoteRequestValidator: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
244
342
|
token: string;
|
|
245
343
|
amount: string;
|
|
246
344
|
}[];
|
|
345
|
+
events: {
|
|
346
|
+
data: string;
|
|
347
|
+
topic: string;
|
|
348
|
+
}[];
|
|
349
|
+
minValidations: number;
|
|
350
|
+
validations: string[];
|
|
247
351
|
hash: string;
|
|
248
352
|
}>;
|
|
249
353
|
export declare const IntentQuoteValidator: z.ZodObject<{
|
|
@@ -315,8 +419,21 @@ export declare const AxiaIntentsValidator: z.ZodArray<z.ZodObject<z.objectUtil.e
|
|
|
315
419
|
token: string;
|
|
316
420
|
amount: string;
|
|
317
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;
|
|
318
434
|
}, {
|
|
319
435
|
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
436
|
+
executionHash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
320
437
|
status: z.ZodNativeEnum<typeof IntentStatus>;
|
|
321
438
|
proposals: z.ZodArray<z.ZodObject<{
|
|
322
439
|
solver: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
@@ -328,42 +445,47 @@ export declare const AxiaIntentsValidator: z.ZodArray<z.ZodObject<z.objectUtil.e
|
|
|
328
445
|
description: z.ZodOptional<z.ZodString>;
|
|
329
446
|
signatures: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">;
|
|
330
447
|
transactionHash: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
448
|
+
destTransactionHash: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
331
449
|
}, "strip", z.ZodTypeAny, {
|
|
332
450
|
data: string;
|
|
451
|
+
status: ProposalStatus;
|
|
333
452
|
deadline: string;
|
|
334
453
|
solver: string;
|
|
335
454
|
fees: string[];
|
|
336
|
-
status: ProposalStatus;
|
|
337
455
|
feeUsd: number;
|
|
338
456
|
signatures: string[];
|
|
339
457
|
description?: string | undefined;
|
|
340
458
|
transactionHash?: string | undefined;
|
|
459
|
+
destTransactionHash?: string | undefined;
|
|
341
460
|
}, {
|
|
342
461
|
data: string;
|
|
462
|
+
status: ProposalStatus;
|
|
343
463
|
deadline: string;
|
|
344
464
|
solver: string;
|
|
345
465
|
fees: string[];
|
|
346
|
-
status: ProposalStatus;
|
|
347
466
|
feeUsd: number;
|
|
348
467
|
signatures: string[];
|
|
349
468
|
description?: string | undefined;
|
|
350
469
|
transactionHash?: string | undefined;
|
|
470
|
+
destTransactionHash?: string | undefined;
|
|
351
471
|
}>, "many">;
|
|
352
|
-
|
|
353
|
-
level: z.ZodNativeEnum<typeof
|
|
472
|
+
logs: z.ZodArray<z.ZodObject<{
|
|
473
|
+
level: z.ZodNativeEnum<typeof IntentLogLevel>;
|
|
354
474
|
data: z.ZodString;
|
|
355
475
|
createdAt: z.ZodDate;
|
|
356
476
|
}, "strip", z.ZodTypeAny, {
|
|
357
477
|
data: string;
|
|
358
|
-
level:
|
|
478
|
+
level: IntentLogLevel;
|
|
359
479
|
createdAt: Date;
|
|
360
480
|
}, {
|
|
361
481
|
data: string;
|
|
362
|
-
level:
|
|
482
|
+
level: IntentLogLevel;
|
|
363
483
|
createdAt: Date;
|
|
364
484
|
}>, "many">;
|
|
365
485
|
}>, "strip", z.ZodTypeAny, {
|
|
366
486
|
data: string;
|
|
487
|
+
status: IntentStatus;
|
|
488
|
+
configSig: string;
|
|
367
489
|
op: import("../shared").OpType;
|
|
368
490
|
user: string;
|
|
369
491
|
settler: string;
|
|
@@ -373,26 +495,34 @@ export declare const AxiaIntentsValidator: z.ZodArray<z.ZodObject<z.objectUtil.e
|
|
|
373
495
|
token: string;
|
|
374
496
|
amount: string;
|
|
375
497
|
}[];
|
|
376
|
-
|
|
498
|
+
events: {
|
|
499
|
+
data: string;
|
|
500
|
+
topic: string;
|
|
501
|
+
}[];
|
|
502
|
+
minValidations: number;
|
|
377
503
|
hash: string;
|
|
504
|
+
executionHash: string;
|
|
378
505
|
proposals: {
|
|
379
506
|
data: string;
|
|
507
|
+
status: ProposalStatus;
|
|
380
508
|
deadline: string;
|
|
381
509
|
solver: string;
|
|
382
510
|
fees: string[];
|
|
383
|
-
status: ProposalStatus;
|
|
384
511
|
feeUsd: number;
|
|
385
512
|
signatures: string[];
|
|
386
513
|
description?: string | undefined;
|
|
387
514
|
transactionHash?: string | undefined;
|
|
515
|
+
destTransactionHash?: string | undefined;
|
|
388
516
|
}[];
|
|
389
|
-
|
|
517
|
+
logs: {
|
|
390
518
|
data: string;
|
|
391
|
-
level:
|
|
519
|
+
level: IntentLogLevel;
|
|
392
520
|
createdAt: Date;
|
|
393
521
|
}[];
|
|
394
522
|
}, {
|
|
395
523
|
data: string;
|
|
524
|
+
status: IntentStatus;
|
|
525
|
+
configSig: string;
|
|
396
526
|
op: import("../shared").OpType;
|
|
397
527
|
user: string;
|
|
398
528
|
settler: string;
|
|
@@ -402,22 +532,28 @@ export declare const AxiaIntentsValidator: z.ZodArray<z.ZodObject<z.objectUtil.e
|
|
|
402
532
|
token: string;
|
|
403
533
|
amount: string;
|
|
404
534
|
}[];
|
|
405
|
-
|
|
535
|
+
events: {
|
|
536
|
+
data: string;
|
|
537
|
+
topic: string;
|
|
538
|
+
}[];
|
|
539
|
+
minValidations: number;
|
|
406
540
|
hash: string;
|
|
541
|
+
executionHash: string;
|
|
407
542
|
proposals: {
|
|
408
543
|
data: string;
|
|
544
|
+
status: ProposalStatus;
|
|
409
545
|
deadline: string;
|
|
410
546
|
solver: string;
|
|
411
547
|
fees: string[];
|
|
412
|
-
status: ProposalStatus;
|
|
413
548
|
feeUsd: number;
|
|
414
549
|
signatures: string[];
|
|
415
550
|
description?: string | undefined;
|
|
416
551
|
transactionHash?: string | undefined;
|
|
552
|
+
destTransactionHash?: string | undefined;
|
|
417
553
|
}[];
|
|
418
|
-
|
|
554
|
+
logs: {
|
|
419
555
|
data: string;
|
|
420
|
-
level:
|
|
556
|
+
level: IntentLogLevel;
|
|
421
557
|
createdAt: Date;
|
|
422
558
|
}[];
|
|
423
559
|
}>, "many">;
|
|
@@ -464,10 +600,23 @@ export declare const ExecutionIntentValidator: z.ZodObject<z.objectUtil.extendSh
|
|
|
464
600
|
token: string;
|
|
465
601
|
amount: string;
|
|
466
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;
|
|
467
615
|
}, {
|
|
468
616
|
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
469
617
|
}>, "strip", z.ZodTypeAny, {
|
|
470
618
|
data: string;
|
|
619
|
+
configSig: string;
|
|
471
620
|
op: import("../shared").OpType;
|
|
472
621
|
user: string;
|
|
473
622
|
settler: string;
|
|
@@ -477,9 +626,15 @@ export declare const ExecutionIntentValidator: z.ZodObject<z.objectUtil.extendSh
|
|
|
477
626
|
token: string;
|
|
478
627
|
amount: string;
|
|
479
628
|
}[];
|
|
629
|
+
events: {
|
|
630
|
+
data: string;
|
|
631
|
+
topic: string;
|
|
632
|
+
}[];
|
|
633
|
+
minValidations: number;
|
|
480
634
|
hash: string;
|
|
481
635
|
}, {
|
|
482
636
|
data: string;
|
|
637
|
+
configSig: string;
|
|
483
638
|
op: import("../shared").OpType;
|
|
484
639
|
user: string;
|
|
485
640
|
settler: string;
|
|
@@ -489,6 +644,11 @@ export declare const ExecutionIntentValidator: z.ZodObject<z.objectUtil.extendSh
|
|
|
489
644
|
token: string;
|
|
490
645
|
amount: string;
|
|
491
646
|
}[];
|
|
647
|
+
events: {
|
|
648
|
+
data: string;
|
|
649
|
+
topic: string;
|
|
650
|
+
}[];
|
|
651
|
+
minValidations: number;
|
|
492
652
|
hash: string;
|
|
493
653
|
}>;
|
|
494
654
|
export declare const ExecutionsGetRequestValidator: z.ZodObject<{
|
|
@@ -882,10 +1042,23 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
|
|
|
882
1042
|
token: string;
|
|
883
1043
|
amount: string;
|
|
884
1044
|
}>, "many">;
|
|
1045
|
+
events: z.ZodArray<z.ZodObject<{
|
|
1046
|
+
topic: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1047
|
+
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1048
|
+
}, "strip", z.ZodTypeAny, {
|
|
1049
|
+
data: string;
|
|
1050
|
+
topic: string;
|
|
1051
|
+
}, {
|
|
1052
|
+
data: string;
|
|
1053
|
+
topic: string;
|
|
1054
|
+
}>, "many">;
|
|
1055
|
+
configSig: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1056
|
+
minValidations: z.ZodNumber;
|
|
885
1057
|
}, {
|
|
886
1058
|
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
887
1059
|
}>, "strip", z.ZodTypeAny, {
|
|
888
1060
|
data: string;
|
|
1061
|
+
configSig: string;
|
|
889
1062
|
op: import("../shared").OpType;
|
|
890
1063
|
user: string;
|
|
891
1064
|
settler: string;
|
|
@@ -895,9 +1068,15 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
|
|
|
895
1068
|
token: string;
|
|
896
1069
|
amount: string;
|
|
897
1070
|
}[];
|
|
1071
|
+
events: {
|
|
1072
|
+
data: string;
|
|
1073
|
+
topic: string;
|
|
1074
|
+
}[];
|
|
1075
|
+
minValidations: number;
|
|
898
1076
|
hash: string;
|
|
899
1077
|
}, {
|
|
900
1078
|
data: string;
|
|
1079
|
+
configSig: string;
|
|
901
1080
|
op: import("../shared").OpType;
|
|
902
1081
|
user: string;
|
|
903
1082
|
settler: string;
|
|
@@ -907,21 +1086,28 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
|
|
|
907
1086
|
token: string;
|
|
908
1087
|
amount: string;
|
|
909
1088
|
}[];
|
|
1089
|
+
events: {
|
|
1090
|
+
data: string;
|
|
1091
|
+
topic: string;
|
|
1092
|
+
}[];
|
|
1093
|
+
minValidations: number;
|
|
910
1094
|
hash: string;
|
|
911
1095
|
}>, "many">;
|
|
912
1096
|
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1097
|
+
result: z.ZodNativeEnum<typeof ExecutionResult>;
|
|
913
1098
|
}>, "strip", z.ZodTypeAny, {
|
|
1099
|
+
result: ExecutionResult;
|
|
914
1100
|
timestamp: number;
|
|
915
1101
|
configSig: string;
|
|
916
1102
|
triggerType: import("../shared").TriggerType;
|
|
917
1103
|
triggerData: string;
|
|
918
1104
|
signature: string;
|
|
919
1105
|
hash: string;
|
|
920
|
-
fuelUsed: number;
|
|
921
1106
|
logs: {
|
|
922
1107
|
level: import("../shared").LogLevel;
|
|
923
1108
|
log: string;
|
|
924
1109
|
}[];
|
|
1110
|
+
fuelUsed: number;
|
|
925
1111
|
inputs: ({
|
|
926
1112
|
result: {
|
|
927
1113
|
value: string;
|
|
@@ -982,6 +1168,7 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
|
|
|
982
1168
|
})[];
|
|
983
1169
|
outputs: {
|
|
984
1170
|
data: string;
|
|
1171
|
+
configSig: string;
|
|
985
1172
|
op: import("../shared").OpType;
|
|
986
1173
|
user: string;
|
|
987
1174
|
settler: string;
|
|
@@ -991,20 +1178,26 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
|
|
|
991
1178
|
token: string;
|
|
992
1179
|
amount: string;
|
|
993
1180
|
}[];
|
|
1181
|
+
events: {
|
|
1182
|
+
data: string;
|
|
1183
|
+
topic: string;
|
|
1184
|
+
}[];
|
|
1185
|
+
minValidations: number;
|
|
994
1186
|
hash: string;
|
|
995
1187
|
}[];
|
|
996
1188
|
}, {
|
|
1189
|
+
result: ExecutionResult;
|
|
997
1190
|
timestamp: number;
|
|
998
1191
|
configSig: string;
|
|
999
1192
|
triggerType: import("../shared").TriggerType;
|
|
1000
1193
|
triggerData: string;
|
|
1001
1194
|
signature: string;
|
|
1002
1195
|
hash: string;
|
|
1003
|
-
fuelUsed: number;
|
|
1004
1196
|
logs: {
|
|
1005
1197
|
level: import("../shared").LogLevel;
|
|
1006
1198
|
log: string;
|
|
1007
1199
|
}[];
|
|
1200
|
+
fuelUsed: number;
|
|
1008
1201
|
inputs: ({
|
|
1009
1202
|
result: {
|
|
1010
1203
|
value: string;
|
|
@@ -1065,6 +1258,7 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
|
|
|
1065
1258
|
})[];
|
|
1066
1259
|
outputs: {
|
|
1067
1260
|
data: string;
|
|
1261
|
+
configSig: string;
|
|
1068
1262
|
op: import("../shared").OpType;
|
|
1069
1263
|
user: string;
|
|
1070
1264
|
settler: string;
|
|
@@ -1074,10 +1268,16 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
|
|
|
1074
1268
|
token: string;
|
|
1075
1269
|
amount: string;
|
|
1076
1270
|
}[];
|
|
1271
|
+
events: {
|
|
1272
|
+
data: string;
|
|
1273
|
+
topic: string;
|
|
1274
|
+
}[];
|
|
1275
|
+
minValidations: number;
|
|
1077
1276
|
hash: string;
|
|
1078
1277
|
}[];
|
|
1079
1278
|
}>;
|
|
1080
1279
|
export declare const ExecutionFeeValidator: z.ZodObject<{
|
|
1280
|
+
trigger: z.ZodNumber;
|
|
1081
1281
|
relayer: z.ZodNumber;
|
|
1082
1282
|
oracles: z.ZodNumber;
|
|
1083
1283
|
validator: z.ZodNumber;
|
|
@@ -1085,6 +1285,7 @@ export declare const ExecutionFeeValidator: z.ZodObject<{
|
|
|
1085
1285
|
protocol: z.ZodNumber;
|
|
1086
1286
|
total: z.ZodNumber;
|
|
1087
1287
|
}, "strip", z.ZodTypeAny, {
|
|
1288
|
+
trigger: number;
|
|
1088
1289
|
relayer: number;
|
|
1089
1290
|
oracles: number;
|
|
1090
1291
|
validator: number;
|
|
@@ -1092,6 +1293,7 @@ export declare const ExecutionFeeValidator: z.ZodObject<{
|
|
|
1092
1293
|
protocol: number;
|
|
1093
1294
|
total: number;
|
|
1094
1295
|
}, {
|
|
1296
|
+
trigger: number;
|
|
1095
1297
|
relayer: number;
|
|
1096
1298
|
oracles: number;
|
|
1097
1299
|
validator: number;
|
|
@@ -1099,6 +1301,16 @@ export declare const ExecutionFeeValidator: z.ZodObject<{
|
|
|
1099
1301
|
protocol: number;
|
|
1100
1302
|
total: number;
|
|
1101
1303
|
}>;
|
|
1304
|
+
export declare const ExecutionValidationValidator: z.ZodObject<{
|
|
1305
|
+
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1306
|
+
succeeded: z.ZodBoolean;
|
|
1307
|
+
}, "strip", z.ZodTypeAny, {
|
|
1308
|
+
succeeded: boolean;
|
|
1309
|
+
signature: string;
|
|
1310
|
+
}, {
|
|
1311
|
+
succeeded: boolean;
|
|
1312
|
+
signature: string;
|
|
1313
|
+
}>;
|
|
1102
1314
|
export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1103
1315
|
configSig: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1104
1316
|
triggerType: z.ZodNativeEnum<typeof import("../shared").TriggerType>;
|
|
@@ -1468,10 +1680,23 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
1468
1680
|
token: string;
|
|
1469
1681
|
amount: string;
|
|
1470
1682
|
}>, "many">;
|
|
1683
|
+
events: z.ZodArray<z.ZodObject<{
|
|
1684
|
+
topic: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1685
|
+
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1686
|
+
}, "strip", z.ZodTypeAny, {
|
|
1687
|
+
data: string;
|
|
1688
|
+
topic: string;
|
|
1689
|
+
}, {
|
|
1690
|
+
data: string;
|
|
1691
|
+
topic: string;
|
|
1692
|
+
}>, "many">;
|
|
1693
|
+
configSig: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1694
|
+
minValidations: z.ZodNumber;
|
|
1471
1695
|
}, {
|
|
1472
1696
|
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1473
1697
|
}>, "strip", z.ZodTypeAny, {
|
|
1474
1698
|
data: string;
|
|
1699
|
+
configSig: string;
|
|
1475
1700
|
op: import("../shared").OpType;
|
|
1476
1701
|
user: string;
|
|
1477
1702
|
settler: string;
|
|
@@ -1481,9 +1706,15 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
1481
1706
|
token: string;
|
|
1482
1707
|
amount: string;
|
|
1483
1708
|
}[];
|
|
1709
|
+
events: {
|
|
1710
|
+
data: string;
|
|
1711
|
+
topic: string;
|
|
1712
|
+
}[];
|
|
1713
|
+
minValidations: number;
|
|
1484
1714
|
hash: string;
|
|
1485
1715
|
}, {
|
|
1486
1716
|
data: string;
|
|
1717
|
+
configSig: string;
|
|
1487
1718
|
op: import("../shared").OpType;
|
|
1488
1719
|
user: string;
|
|
1489
1720
|
settler: string;
|
|
@@ -1493,15 +1724,23 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
1493
1724
|
token: string;
|
|
1494
1725
|
amount: string;
|
|
1495
1726
|
}[];
|
|
1727
|
+
events: {
|
|
1728
|
+
data: string;
|
|
1729
|
+
topic: string;
|
|
1730
|
+
}[];
|
|
1731
|
+
minValidations: number;
|
|
1496
1732
|
hash: string;
|
|
1497
1733
|
}>, "many">;
|
|
1498
1734
|
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1735
|
+
result: z.ZodNativeEnum<typeof ExecutionResult>;
|
|
1499
1736
|
}>, {
|
|
1500
1737
|
relayer: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1738
|
+
status: z.ZodNativeEnum<typeof ExecutionStatus>;
|
|
1501
1739
|
createdAt: z.ZodDate;
|
|
1502
1740
|
logs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1503
1741
|
errorLogs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1504
1742
|
fee: z.ZodOptional<z.ZodObject<{
|
|
1743
|
+
trigger: z.ZodNumber;
|
|
1505
1744
|
relayer: z.ZodNumber;
|
|
1506
1745
|
oracles: z.ZodNumber;
|
|
1507
1746
|
validator: z.ZodNumber;
|
|
@@ -1509,6 +1748,7 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
1509
1748
|
protocol: z.ZodNumber;
|
|
1510
1749
|
total: z.ZodNumber;
|
|
1511
1750
|
}, "strip", z.ZodTypeAny, {
|
|
1751
|
+
trigger: number;
|
|
1512
1752
|
relayer: number;
|
|
1513
1753
|
oracles: number;
|
|
1514
1754
|
validator: number;
|
|
@@ -1516,6 +1756,7 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
1516
1756
|
protocol: number;
|
|
1517
1757
|
total: number;
|
|
1518
1758
|
}, {
|
|
1759
|
+
trigger: number;
|
|
1519
1760
|
relayer: number;
|
|
1520
1761
|
oracles: number;
|
|
1521
1762
|
validator: number;
|
|
@@ -1523,14 +1764,26 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
1523
1764
|
protocol: number;
|
|
1524
1765
|
total: number;
|
|
1525
1766
|
}>>;
|
|
1767
|
+
validations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1768
|
+
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1769
|
+
succeeded: z.ZodBoolean;
|
|
1770
|
+
}, "strip", z.ZodTypeAny, {
|
|
1771
|
+
succeeded: boolean;
|
|
1772
|
+
signature: string;
|
|
1773
|
+
}, {
|
|
1774
|
+
succeeded: boolean;
|
|
1775
|
+
signature: string;
|
|
1776
|
+
}>, "many">>;
|
|
1526
1777
|
}>, "strip", z.ZodTypeAny, {
|
|
1778
|
+
result: ExecutionResult;
|
|
1527
1779
|
timestamp: number;
|
|
1528
|
-
|
|
1780
|
+
status: ExecutionStatus;
|
|
1529
1781
|
configSig: string;
|
|
1530
1782
|
triggerType: import("../shared").TriggerType;
|
|
1531
1783
|
triggerData: string;
|
|
1532
1784
|
signature: string;
|
|
1533
1785
|
hash: string;
|
|
1786
|
+
createdAt: Date;
|
|
1534
1787
|
fuelUsed: number;
|
|
1535
1788
|
inputs: ({
|
|
1536
1789
|
result: {
|
|
@@ -1592,6 +1845,7 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
1592
1845
|
})[];
|
|
1593
1846
|
outputs: {
|
|
1594
1847
|
data: string;
|
|
1848
|
+
configSig: string;
|
|
1595
1849
|
op: import("../shared").OpType;
|
|
1596
1850
|
user: string;
|
|
1597
1851
|
settler: string;
|
|
@@ -1601,12 +1855,22 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
1601
1855
|
token: string;
|
|
1602
1856
|
amount: string;
|
|
1603
1857
|
}[];
|
|
1858
|
+
events: {
|
|
1859
|
+
data: string;
|
|
1860
|
+
topic: string;
|
|
1861
|
+
}[];
|
|
1862
|
+
minValidations: number;
|
|
1604
1863
|
hash: string;
|
|
1605
1864
|
}[];
|
|
1606
1865
|
relayer: string;
|
|
1866
|
+
validations?: {
|
|
1867
|
+
succeeded: boolean;
|
|
1868
|
+
signature: string;
|
|
1869
|
+
}[] | undefined;
|
|
1607
1870
|
logs?: string[] | undefined;
|
|
1608
1871
|
errorLogs?: string[] | undefined;
|
|
1609
1872
|
fee?: {
|
|
1873
|
+
trigger: number;
|
|
1610
1874
|
relayer: number;
|
|
1611
1875
|
oracles: number;
|
|
1612
1876
|
validator: number;
|
|
@@ -1615,13 +1879,15 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
1615
1879
|
total: number;
|
|
1616
1880
|
} | undefined;
|
|
1617
1881
|
}, {
|
|
1882
|
+
result: ExecutionResult;
|
|
1618
1883
|
timestamp: number;
|
|
1619
|
-
|
|
1884
|
+
status: ExecutionStatus;
|
|
1620
1885
|
configSig: string;
|
|
1621
1886
|
triggerType: import("../shared").TriggerType;
|
|
1622
1887
|
triggerData: string;
|
|
1623
1888
|
signature: string;
|
|
1624
1889
|
hash: string;
|
|
1890
|
+
createdAt: Date;
|
|
1625
1891
|
fuelUsed: number;
|
|
1626
1892
|
inputs: ({
|
|
1627
1893
|
result: {
|
|
@@ -1683,6 +1949,7 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
1683
1949
|
})[];
|
|
1684
1950
|
outputs: {
|
|
1685
1951
|
data: string;
|
|
1952
|
+
configSig: string;
|
|
1686
1953
|
op: import("../shared").OpType;
|
|
1687
1954
|
user: string;
|
|
1688
1955
|
settler: string;
|
|
@@ -1692,12 +1959,22 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
1692
1959
|
token: string;
|
|
1693
1960
|
amount: string;
|
|
1694
1961
|
}[];
|
|
1962
|
+
events: {
|
|
1963
|
+
data: string;
|
|
1964
|
+
topic: string;
|
|
1965
|
+
}[];
|
|
1966
|
+
minValidations: number;
|
|
1695
1967
|
hash: string;
|
|
1696
1968
|
}[];
|
|
1697
1969
|
relayer: string;
|
|
1970
|
+
validations?: {
|
|
1971
|
+
succeeded: boolean;
|
|
1972
|
+
signature: string;
|
|
1973
|
+
}[] | undefined;
|
|
1698
1974
|
logs?: string[] | undefined;
|
|
1699
1975
|
errorLogs?: string[] | undefined;
|
|
1700
1976
|
fee?: {
|
|
1977
|
+
trigger: number;
|
|
1701
1978
|
relayer: number;
|
|
1702
1979
|
oracles: number;
|
|
1703
1980
|
validator: number;
|
|
@@ -2075,10 +2352,23 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
2075
2352
|
token: string;
|
|
2076
2353
|
amount: string;
|
|
2077
2354
|
}>, "many">;
|
|
2355
|
+
events: z.ZodArray<z.ZodObject<{
|
|
2356
|
+
topic: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2357
|
+
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2358
|
+
}, "strip", z.ZodTypeAny, {
|
|
2359
|
+
data: string;
|
|
2360
|
+
topic: string;
|
|
2361
|
+
}, {
|
|
2362
|
+
data: string;
|
|
2363
|
+
topic: string;
|
|
2364
|
+
}>, "many">;
|
|
2365
|
+
configSig: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2366
|
+
minValidations: z.ZodNumber;
|
|
2078
2367
|
}, {
|
|
2079
2368
|
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2080
2369
|
}>, "strip", z.ZodTypeAny, {
|
|
2081
2370
|
data: string;
|
|
2371
|
+
configSig: string;
|
|
2082
2372
|
op: import("../shared").OpType;
|
|
2083
2373
|
user: string;
|
|
2084
2374
|
settler: string;
|
|
@@ -2088,9 +2378,15 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
2088
2378
|
token: string;
|
|
2089
2379
|
amount: string;
|
|
2090
2380
|
}[];
|
|
2381
|
+
events: {
|
|
2382
|
+
data: string;
|
|
2383
|
+
topic: string;
|
|
2384
|
+
}[];
|
|
2385
|
+
minValidations: number;
|
|
2091
2386
|
hash: string;
|
|
2092
2387
|
}, {
|
|
2093
2388
|
data: string;
|
|
2389
|
+
configSig: string;
|
|
2094
2390
|
op: import("../shared").OpType;
|
|
2095
2391
|
user: string;
|
|
2096
2392
|
settler: string;
|
|
@@ -2100,15 +2396,23 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
2100
2396
|
token: string;
|
|
2101
2397
|
amount: string;
|
|
2102
2398
|
}[];
|
|
2399
|
+
events: {
|
|
2400
|
+
data: string;
|
|
2401
|
+
topic: string;
|
|
2402
|
+
}[];
|
|
2403
|
+
minValidations: number;
|
|
2103
2404
|
hash: string;
|
|
2104
2405
|
}>, "many">;
|
|
2105
2406
|
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2407
|
+
result: z.ZodNativeEnum<typeof ExecutionResult>;
|
|
2106
2408
|
}>, {
|
|
2107
2409
|
relayer: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2410
|
+
status: z.ZodNativeEnum<typeof ExecutionStatus>;
|
|
2108
2411
|
createdAt: z.ZodDate;
|
|
2109
2412
|
logs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2110
2413
|
errorLogs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2111
2414
|
fee: z.ZodOptional<z.ZodObject<{
|
|
2415
|
+
trigger: z.ZodNumber;
|
|
2112
2416
|
relayer: z.ZodNumber;
|
|
2113
2417
|
oracles: z.ZodNumber;
|
|
2114
2418
|
validator: z.ZodNumber;
|
|
@@ -2116,6 +2420,7 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
2116
2420
|
protocol: z.ZodNumber;
|
|
2117
2421
|
total: z.ZodNumber;
|
|
2118
2422
|
}, "strip", z.ZodTypeAny, {
|
|
2423
|
+
trigger: number;
|
|
2119
2424
|
relayer: number;
|
|
2120
2425
|
oracles: number;
|
|
2121
2426
|
validator: number;
|
|
@@ -2123,6 +2428,7 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
2123
2428
|
protocol: number;
|
|
2124
2429
|
total: number;
|
|
2125
2430
|
}, {
|
|
2431
|
+
trigger: number;
|
|
2126
2432
|
relayer: number;
|
|
2127
2433
|
oracles: number;
|
|
2128
2434
|
validator: number;
|
|
@@ -2130,14 +2436,26 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
2130
2436
|
protocol: number;
|
|
2131
2437
|
total: number;
|
|
2132
2438
|
}>>;
|
|
2439
|
+
validations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2440
|
+
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2441
|
+
succeeded: z.ZodBoolean;
|
|
2442
|
+
}, "strip", z.ZodTypeAny, {
|
|
2443
|
+
succeeded: boolean;
|
|
2444
|
+
signature: string;
|
|
2445
|
+
}, {
|
|
2446
|
+
succeeded: boolean;
|
|
2447
|
+
signature: string;
|
|
2448
|
+
}>, "many">>;
|
|
2133
2449
|
}>, "strip", z.ZodTypeAny, {
|
|
2450
|
+
result: ExecutionResult;
|
|
2134
2451
|
timestamp: number;
|
|
2135
|
-
|
|
2452
|
+
status: ExecutionStatus;
|
|
2136
2453
|
configSig: string;
|
|
2137
2454
|
triggerType: import("../shared").TriggerType;
|
|
2138
2455
|
triggerData: string;
|
|
2139
2456
|
signature: string;
|
|
2140
2457
|
hash: string;
|
|
2458
|
+
createdAt: Date;
|
|
2141
2459
|
fuelUsed: number;
|
|
2142
2460
|
inputs: ({
|
|
2143
2461
|
result: {
|
|
@@ -2199,6 +2517,7 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
2199
2517
|
})[];
|
|
2200
2518
|
outputs: {
|
|
2201
2519
|
data: string;
|
|
2520
|
+
configSig: string;
|
|
2202
2521
|
op: import("../shared").OpType;
|
|
2203
2522
|
user: string;
|
|
2204
2523
|
settler: string;
|
|
@@ -2208,12 +2527,22 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
2208
2527
|
token: string;
|
|
2209
2528
|
amount: string;
|
|
2210
2529
|
}[];
|
|
2530
|
+
events: {
|
|
2531
|
+
data: string;
|
|
2532
|
+
topic: string;
|
|
2533
|
+
}[];
|
|
2534
|
+
minValidations: number;
|
|
2211
2535
|
hash: string;
|
|
2212
2536
|
}[];
|
|
2213
2537
|
relayer: string;
|
|
2538
|
+
validations?: {
|
|
2539
|
+
succeeded: boolean;
|
|
2540
|
+
signature: string;
|
|
2541
|
+
}[] | undefined;
|
|
2214
2542
|
logs?: string[] | undefined;
|
|
2215
2543
|
errorLogs?: string[] | undefined;
|
|
2216
2544
|
fee?: {
|
|
2545
|
+
trigger: number;
|
|
2217
2546
|
relayer: number;
|
|
2218
2547
|
oracles: number;
|
|
2219
2548
|
validator: number;
|
|
@@ -2222,13 +2551,15 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
2222
2551
|
total: number;
|
|
2223
2552
|
} | undefined;
|
|
2224
2553
|
}, {
|
|
2554
|
+
result: ExecutionResult;
|
|
2225
2555
|
timestamp: number;
|
|
2226
|
-
|
|
2556
|
+
status: ExecutionStatus;
|
|
2227
2557
|
configSig: string;
|
|
2228
2558
|
triggerType: import("../shared").TriggerType;
|
|
2229
2559
|
triggerData: string;
|
|
2230
2560
|
signature: string;
|
|
2231
2561
|
hash: string;
|
|
2562
|
+
createdAt: Date;
|
|
2232
2563
|
fuelUsed: number;
|
|
2233
2564
|
inputs: ({
|
|
2234
2565
|
result: {
|
|
@@ -2290,6 +2621,7 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
2290
2621
|
})[];
|
|
2291
2622
|
outputs: {
|
|
2292
2623
|
data: string;
|
|
2624
|
+
configSig: string;
|
|
2293
2625
|
op: import("../shared").OpType;
|
|
2294
2626
|
user: string;
|
|
2295
2627
|
settler: string;
|
|
@@ -2299,12 +2631,22 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
2299
2631
|
token: string;
|
|
2300
2632
|
amount: string;
|
|
2301
2633
|
}[];
|
|
2634
|
+
events: {
|
|
2635
|
+
data: string;
|
|
2636
|
+
topic: string;
|
|
2637
|
+
}[];
|
|
2638
|
+
minValidations: number;
|
|
2302
2639
|
hash: string;
|
|
2303
2640
|
}[];
|
|
2304
2641
|
relayer: string;
|
|
2642
|
+
validations?: {
|
|
2643
|
+
succeeded: boolean;
|
|
2644
|
+
signature: string;
|
|
2645
|
+
}[] | undefined;
|
|
2305
2646
|
logs?: string[] | undefined;
|
|
2306
2647
|
errorLogs?: string[] | undefined;
|
|
2307
2648
|
fee?: {
|
|
2649
|
+
trigger: number;
|
|
2308
2650
|
relayer: number;
|
|
2309
2651
|
oracles: number;
|
|
2310
2652
|
validator: number;
|
|
@@ -2313,6 +2655,35 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
2313
2655
|
total: number;
|
|
2314
2656
|
} | undefined;
|
|
2315
2657
|
}>, "many">;
|
|
2658
|
+
export declare const ExecutionValidationRequestValidator: z.ZodObject<z.objectUtil.extendShape<{
|
|
2659
|
+
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2660
|
+
succeeded: z.ZodBoolean;
|
|
2661
|
+
}, {
|
|
2662
|
+
intents: z.ZodArray<z.ZodObject<{
|
|
2663
|
+
intent: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2664
|
+
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2665
|
+
}, "strip", z.ZodTypeAny, {
|
|
2666
|
+
intent: string;
|
|
2667
|
+
signature: string;
|
|
2668
|
+
}, {
|
|
2669
|
+
intent: string;
|
|
2670
|
+
signature: string;
|
|
2671
|
+
}>, "many">;
|
|
2672
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2673
|
+
succeeded: boolean;
|
|
2674
|
+
signature: string;
|
|
2675
|
+
intents: {
|
|
2676
|
+
intent: string;
|
|
2677
|
+
signature: string;
|
|
2678
|
+
}[];
|
|
2679
|
+
}, {
|
|
2680
|
+
succeeded: boolean;
|
|
2681
|
+
signature: string;
|
|
2682
|
+
intents: {
|
|
2683
|
+
intent: string;
|
|
2684
|
+
signature: string;
|
|
2685
|
+
}[];
|
|
2686
|
+
}>;
|
|
2316
2687
|
export declare const OracleFeeValidator: z.ZodObject<{
|
|
2317
2688
|
address: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2318
2689
|
fee: z.ZodNumber;
|