@mimicprotocol/sdk 0.0.1-rc.8 → 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/axia/ProposalSigner.d.ts +24 -0
- package/dist/axia/ProposalSigner.d.ts.map +1 -0
- package/dist/axia/ProposalSigner.js +39 -0
- package/dist/axia/ProposalSigner.js.map +1 -0
- package/dist/axia/constants.d.ts +36 -17
- package/dist/axia/constants.d.ts.map +1 -1
- package/dist/axia/constants.js +32 -20
- package/dist/axia/constants.js.map +1 -1
- package/dist/axia/index.d.ts +1 -0
- package/dist/axia/index.d.ts.map +1 -1
- package/dist/axia/index.js +1 -0
- package/dist/axia/index.js.map +1 -1
- package/dist/axia/types.d.ts +3 -2
- package/dist/axia/types.d.ts.map +1 -1
- package/dist/axia/validators.d.ts +2265 -786
- package/dist/axia/validators.d.ts.map +1 -1
- package/dist/axia/validators.js +37 -26
- package/dist/axia/validators.js.map +1 -1
- package/dist/client/core/auth.d.ts +2 -1
- package/dist/client/core/auth.d.ts.map +1 -1
- package/dist/client/core/auth.js +3 -2
- package/dist/client/core/auth.js.map +1 -1
- package/dist/client/core/config.d.ts +1 -1
- package/dist/client/core/config.d.ts.map +1 -1
- package/dist/client/core/config.js +3 -2
- package/dist/client/core/config.js.map +1 -1
- package/dist/client/domains/Client.d.ts.map +1 -1
- package/dist/client/domains/Client.js +4 -2
- package/dist/client/domains/Client.js.map +1 -1
- package/dist/client/domains/FunctionsClient.d.ts +11 -0
- package/dist/client/domains/FunctionsClient.d.ts.map +1 -0
- package/dist/client/domains/FunctionsClient.js +30 -0
- package/dist/client/domains/FunctionsClient.js.map +1 -0
- package/dist/client/domains/IntentsClient.d.ts +25 -8
- 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/TriggersClient.d.ts +19 -0
- package/dist/client/domains/TriggersClient.d.ts.map +1 -0
- package/dist/client/domains/TriggersClient.js +89 -0
- package/dist/client/domains/TriggersClient.js.map +1 -0
- package/dist/client/domains/UsersClient.d.ts +16 -0
- package/dist/client/domains/UsersClient.d.ts.map +1 -0
- package/dist/client/domains/UsersClient.js +45 -0
- package/dist/client/domains/UsersClient.js.map +1 -0
- package/dist/client/domains/index.d.ts +3 -2
- package/dist/client/domains/index.d.ts.map +1 -1
- package/dist/client/domains/index.js +7 -5
- package/dist/client/domains/index.js.map +1 -1
- package/dist/client/index.d.ts +6 -4
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +6 -3
- package/dist/client/index.js.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/oracle/eip712Types.d.ts +45 -5
- package/dist/oracle/eip712Types.d.ts.map +1 -1
- package/dist/oracle/eip712Types.js +50 -10
- package/dist/oracle/eip712Types.js.map +1 -1
- package/dist/oracle/types.d.ts +15 -1
- package/dist/oracle/types.d.ts.map +1 -1
- package/dist/oracle/validators.d.ts +878 -256
- package/dist/oracle/validators.d.ts.map +1 -1
- package/dist/oracle/validators.js +35 -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/TriggerSigner.d.ts +26 -0
- package/dist/registry/TriggerSigner.d.ts.map +1 -0
- package/dist/registry/{ConfigSigner.js → TriggerSigner.js} +47 -25
- package/dist/registry/TriggerSigner.js.map +1 -0
- package/dist/registry/constants.d.ts +2 -0
- package/dist/registry/constants.d.ts.map +1 -0
- package/dist/registry/constants.js +5 -0
- package/dist/registry/constants.js.map +1 -0
- package/dist/registry/eip712Types.d.ts +31 -5
- package/dist/registry/eip712Types.d.ts.map +1 -1
- package/dist/registry/eip712Types.js +39 -11
- package/dist/registry/eip712Types.js.map +1 -1
- package/dist/registry/index.d.ts +2 -1
- package/dist/registry/index.d.ts.map +1 -1
- package/dist/registry/index.js +2 -1
- package/dist/registry/index.js.map +1 -1
- package/dist/registry/types.d.ts +34 -25
- package/dist/registry/types.d.ts.map +1 -1
- package/dist/registry/types.js +5 -1
- package/dist/registry/types.js.map +1 -1
- package/dist/registry/validations.d.ts +2 -4
- package/dist/registry/validations.d.ts.map +1 -1
- package/dist/registry/validations.js +5 -13
- package/dist/registry/validations.js.map +1 -1
- package/dist/registry/validators.d.ts +1769 -419
- package/dist/registry/validators.d.ts.map +1 -1
- package/dist/registry/validators.js +144 -81
- package/dist/registry/validators.js.map +1 -1
- package/dist/relayer/eip712Types.d.ts +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 +1887 -524
- 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 +770 -168
- package/dist/runner/validators.d.ts.map +1 -1
- package/dist/runner/validators.js +12 -2
- package/dist/runner/validators.js.map +1 -1
- package/dist/settler/index.d.ts +2 -0
- package/dist/settler/index.d.ts.map +1 -0
- package/dist/settler/index.js +18 -0
- package/dist/settler/index.js.map +1 -0
- package/dist/settler/svm/Controller.d.ts +24 -0
- package/dist/settler/svm/Controller.d.ts.map +1 -0
- package/dist/settler/svm/Controller.js +136 -0
- package/dist/settler/svm/Controller.js.map +1 -0
- package/dist/settler/svm/Settler.d.ts +46 -0
- package/dist/settler/svm/Settler.d.ts.map +1 -0
- package/dist/settler/svm/Settler.js +305 -0
- package/dist/settler/svm/Settler.js.map +1 -0
- package/dist/settler/svm/idls/controller.json +621 -0
- package/dist/settler/svm/idls/settler.json +1707 -0
- package/dist/settler/svm/idls/types/controller.d.ts +401 -0
- package/dist/settler/svm/idls/types/controller.d.ts.map +1 -0
- package/dist/settler/svm/idls/types/controller.js +3 -0
- package/dist/settler/svm/idls/types/controller.js.map +1 -0
- package/dist/settler/svm/idls/types/settler.d.ts +1299 -0
- package/dist/settler/svm/idls/types/settler.d.ts.map +1 -0
- package/dist/settler/svm/idls/types/settler.js +3 -0
- package/dist/settler/svm/idls/types/settler.js.map +1 -0
- package/dist/settler/svm/index.d.ts +4 -0
- package/dist/settler/svm/index.d.ts.map +1 -0
- package/dist/settler/svm/index.js +27 -0
- package/dist/settler/svm/index.js.map +1 -0
- package/dist/settler/svm/types.d.ts +44 -0
- package/dist/settler/svm/types.d.ts.map +1 -0
- package/dist/{shared/types/events.js → settler/svm/types.js} +1 -1
- package/dist/settler/svm/types.js.map +1 -0
- package/dist/shared/codec/chains/evm.d.ts +5 -1
- package/dist/shared/codec/chains/evm.d.ts.map +1 -1
- package/dist/shared/codec/chains/evm.js +64 -0
- package/dist/shared/codec/chains/evm.js.map +1 -1
- package/dist/shared/codec/chains/svm.d.ts +17 -5
- package/dist/shared/codec/chains/svm.d.ts.map +1 -1
- package/dist/shared/codec/chains/svm.js +188 -20
- package/dist/shared/codec/chains/svm.js.map +1 -1
- package/dist/shared/codec/decoder.d.ts +7 -2
- package/dist/shared/codec/decoder.d.ts.map +1 -1
- package/dist/shared/codec/decoder.js +43 -29
- package/dist/shared/codec/decoder.js.map +1 -1
- package/dist/shared/codec/encoder.d.ts +98 -5
- package/dist/shared/codec/encoder.d.ts.map +1 -1
- package/dist/shared/codec/encoder.js +27 -24
- package/dist/shared/codec/encoder.js.map +1 -1
- package/dist/shared/codec/index.d.ts +1 -1
- package/dist/shared/codec/index.d.ts.map +1 -1
- package/dist/shared/codec/index.js +13 -5
- package/dist/shared/codec/index.js.map +1 -1
- package/dist/shared/eip712Types/index.d.ts +17 -1
- package/dist/shared/eip712Types/index.d.ts.map +1 -1
- package/dist/shared/eip712Types/index.js +25 -3
- package/dist/shared/eip712Types/index.js.map +1 -1
- package/dist/shared/signer/EthersSigner.d.ts +2 -1
- package/dist/shared/signer/EthersSigner.d.ts.map +1 -1
- package/dist/shared/signer/EthersSigner.js +3 -0
- package/dist/shared/signer/EthersSigner.js.map +1 -1
- package/dist/shared/signer/Signer.d.ts +1 -0
- package/dist/shared/signer/Signer.d.ts.map +1 -1
- package/dist/shared/signer/WindowEthereumSigner.d.ts +2 -1
- package/dist/shared/signer/WindowEthereumSigner.d.ts.map +1 -1
- package/dist/shared/signer/WindowEthereumSigner.js +3 -0
- package/dist/shared/signer/WindowEthereumSigner.js.map +1 -1
- package/dist/shared/types/executions.d.ts +3 -2
- package/dist/shared/types/executions.d.ts.map +1 -1
- package/dist/shared/types/index.d.ts +0 -1
- package/dist/shared/types/index.d.ts.map +1 -1
- package/dist/shared/types/index.js +0 -1
- package/dist/shared/types/index.js.map +1 -1
- package/dist/shared/types/intents.d.ts +11 -4
- package/dist/shared/types/intents.d.ts.map +1 -1
- package/dist/shared/types/primitives.d.ts +4 -1
- package/dist/shared/types/primitives.d.ts.map +1 -1
- package/dist/shared/utils/addresses.d.ts +5 -2
- package/dist/shared/utils/addresses.d.ts.map +1 -1
- package/dist/shared/utils/addresses.js +11 -1
- package/dist/shared/utils/addresses.js.map +1 -1
- package/dist/shared/utils/bytes.d.ts +2 -0
- package/dist/shared/utils/bytes.d.ts.map +1 -1
- package/dist/shared/utils/bytes.js +10 -0
- package/dist/shared/utils/bytes.js.map +1 -1
- package/dist/shared/utils/chains.d.ts +4 -0
- package/dist/shared/utils/chains.d.ts.map +1 -1
- package/dist/shared/utils/chains.js +4 -0
- package/dist/shared/utils/chains.js.map +1 -1
- package/dist/shared/utils/constants.d.ts +2 -0
- package/dist/shared/utils/constants.d.ts.map +1 -0
- package/dist/shared/utils/constants.js +5 -0
- package/dist/shared/utils/constants.js.map +1 -0
- package/dist/shared/utils/index.d.ts +2 -0
- package/dist/shared/utils/index.d.ts.map +1 -1
- package/dist/shared/utils/index.js +2 -0
- package/dist/shared/utils/index.js.map +1 -1
- package/dist/shared/utils/numbers.d.ts +20 -6
- package/dist/shared/utils/numbers.d.ts.map +1 -1
- package/dist/shared/utils/numbers.js +85 -22
- package/dist/shared/utils/numbers.js.map +1 -1
- package/dist/shared/utils/random.d.ts +1 -3
- package/dist/shared/utils/random.d.ts.map +1 -1
- package/dist/shared/utils/random.js +13 -6
- package/dist/shared/utils/random.js.map +1 -1
- package/dist/shared/utils/time.d.ts +14 -0
- package/dist/shared/utils/time.d.ts.map +1 -0
- package/dist/shared/utils/time.js +59 -0
- package/dist/shared/utils/time.js.map +1 -0
- package/dist/shared/utils/tokens.d.ts +1 -2
- package/dist/shared/utils/tokens.d.ts.map +1 -1
- package/dist/shared/utils/tokens.js +4 -4
- package/dist/shared/utils/tokens.js.map +1 -1
- package/dist/shared/utils/validations.d.ts +5 -0
- package/dist/shared/utils/validations.d.ts.map +1 -1
- package/dist/shared/utils/validations.js +28 -1
- package/dist/shared/utils/validations.js.map +1 -1
- package/dist/shared/validators/executions.d.ts +85 -48
- package/dist/shared/validators/executions.d.ts.map +1 -1
- package/dist/shared/validators/executions.js +16 -22
- package/dist/shared/validators/executions.js.map +1 -1
- package/dist/shared/validators/index.d.ts +0 -1
- package/dist/shared/validators/index.d.ts.map +1 -1
- package/dist/shared/validators/index.js +0 -1
- package/dist/shared/validators/index.js.map +1 -1
- package/dist/shared/validators/intents.d.ts +480 -47
- package/dist/shared/validators/intents.d.ts.map +1 -1
- package/dist/shared/validators/intents.js +40 -14
- package/dist/shared/validators/intents.js.map +1 -1
- package/dist/shared/validators/primitives.d.ts +46 -6
- package/dist/shared/validators/primitives.d.ts.map +1 -1
- package/dist/shared/validators/primitives.js +29 -9
- package/dist/shared/validators/primitives.js.map +1 -1
- package/dist/validator/ValidatorSigner.d.ts +15 -6
- package/dist/validator/ValidatorSigner.d.ts.map +1 -1
- package/dist/validator/ValidatorSigner.js +31 -10
- 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 +8 -2
- package/dist/client/domains/ConfigsClient.d.ts +0 -18
- package/dist/client/domains/ConfigsClient.d.ts.map +0 -1
- package/dist/client/domains/ConfigsClient.js +0 -81
- package/dist/client/domains/ConfigsClient.js.map +0 -1
- package/dist/client/domains/TasksClient.d.ts +0 -11
- package/dist/client/domains/TasksClient.d.ts.map +0 -1
- package/dist/client/domains/TasksClient.js +0 -33
- package/dist/client/domains/TasksClient.js.map +0 -1
- package/dist/registry/ConfigSigner.d.ts +0 -25
- package/dist/registry/ConfigSigner.d.ts.map +0 -1
- package/dist/registry/ConfigSigner.js.map +0 -1
- package/dist/shared/types/events.d.ts +0 -4
- package/dist/shared/types/events.d.ts.map +0 -1
- package/dist/shared/types/events.js.map +0 -1
- package/dist/shared/validators/events.d.ts +0 -20
- package/dist/shared/validators/events.d.ts.map +0 -1
- package/dist/shared/validators/events.js +0 -17
- package/dist/shared/validators/events.js.map +0 -1
|
@@ -1,79 +1,185 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { TriggerType } from '../shared';
|
|
3
|
-
export declare const SemVerValidator: z.ZodEffects<z.ZodString, string, string>;
|
|
4
2
|
export declare const DeltaValidator: z.ZodEffects<z.ZodString, string, string>;
|
|
5
3
|
export declare const CronValidator: z.ZodEffects<z.ZodString, string, string>;
|
|
6
4
|
export declare const SolidityTypeValidator: z.ZodEffects<z.ZodString, string, string>;
|
|
7
|
-
export declare const
|
|
8
|
-
export declare const
|
|
9
|
-
|
|
5
|
+
export declare const ManifestInputTypeValidator: z.ZodEffects<z.ZodString, string, string>;
|
|
6
|
+
export declare const TokenValidator: z.ZodObject<{
|
|
7
|
+
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
8
|
+
address: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
9
|
+
}, "strip", z.ZodTypeAny, {
|
|
10
|
+
address: string;
|
|
11
|
+
chainId: number;
|
|
12
|
+
}, {
|
|
13
|
+
address: string;
|
|
14
|
+
chainId: number;
|
|
15
|
+
}>;
|
|
16
|
+
export declare const TokenAmountValidator: z.ZodObject<{
|
|
17
|
+
token: z.ZodObject<{
|
|
18
|
+
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
19
|
+
address: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
20
|
+
}, "strip", z.ZodTypeAny, {
|
|
21
|
+
address: string;
|
|
22
|
+
chainId: number;
|
|
23
|
+
}, {
|
|
24
|
+
address: string;
|
|
25
|
+
chainId: number;
|
|
26
|
+
}>;
|
|
27
|
+
amount: z.ZodEffects<z.ZodString, string, string>;
|
|
28
|
+
}, "strip", z.ZodTypeAny, {
|
|
29
|
+
token: {
|
|
30
|
+
address: string;
|
|
31
|
+
chainId: number;
|
|
32
|
+
};
|
|
33
|
+
amount: string;
|
|
34
|
+
}, {
|
|
35
|
+
token: {
|
|
36
|
+
address: string;
|
|
37
|
+
chainId: number;
|
|
38
|
+
};
|
|
39
|
+
amount: string;
|
|
40
|
+
}>;
|
|
41
|
+
export declare const EventTopicValidator: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">;
|
|
42
|
+
export declare const EventTopicsValidator: z.ZodArray<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">, "many">;
|
|
43
|
+
export declare const CronTriggerConfigValidator: z.ZodObject<{
|
|
44
|
+
type: z.ZodLiteral<0>;
|
|
10
45
|
schedule: z.ZodEffects<z.ZodString, string, string>;
|
|
11
46
|
delta: z.ZodEffects<z.ZodString, string, string>;
|
|
12
47
|
endDate: z.ZodNumber;
|
|
13
48
|
}, "strict", z.ZodTypeAny, {
|
|
14
|
-
type:
|
|
49
|
+
type: 0;
|
|
15
50
|
schedule: string;
|
|
16
51
|
delta: string;
|
|
17
52
|
endDate: number;
|
|
18
53
|
}, {
|
|
19
|
-
type:
|
|
54
|
+
type: 0;
|
|
20
55
|
schedule: string;
|
|
21
56
|
delta: string;
|
|
22
57
|
endDate: number;
|
|
23
58
|
}>;
|
|
24
|
-
export declare const
|
|
25
|
-
type: z.ZodLiteral<
|
|
59
|
+
export declare const EventTriggerConfigValidator: z.ZodObject<{
|
|
60
|
+
type: z.ZodLiteral<1>;
|
|
26
61
|
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
27
|
-
contract: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
28
|
-
|
|
62
|
+
contract: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodLiteral<"any">]>;
|
|
63
|
+
topics: z.ZodArray<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">, "many">;
|
|
29
64
|
delta: z.ZodEffects<z.ZodString, string, string>;
|
|
65
|
+
endDate: z.ZodNumber;
|
|
30
66
|
}, "strict", z.ZodTypeAny, {
|
|
67
|
+
type: 1;
|
|
31
68
|
chainId: number;
|
|
32
|
-
type: TriggerType.Event;
|
|
33
|
-
contract: string;
|
|
34
69
|
delta: string;
|
|
35
|
-
|
|
70
|
+
endDate: number;
|
|
71
|
+
contract: string;
|
|
72
|
+
topics: string[][];
|
|
36
73
|
}, {
|
|
74
|
+
type: 1;
|
|
37
75
|
chainId: number;
|
|
38
|
-
|
|
76
|
+
delta: string;
|
|
77
|
+
endDate: number;
|
|
39
78
|
contract: string;
|
|
79
|
+
topics: string[][];
|
|
80
|
+
}>;
|
|
81
|
+
export declare const OnceTriggerConfigValidator: z.ZodObject<{
|
|
82
|
+
type: z.ZodLiteral<2>;
|
|
83
|
+
startDate: z.ZodNumber;
|
|
84
|
+
delta: z.ZodEffects<z.ZodString, string, string>;
|
|
85
|
+
endDate: z.ZodNumber;
|
|
86
|
+
}, "strip", z.ZodTypeAny, {
|
|
87
|
+
type: 2;
|
|
88
|
+
delta: string;
|
|
89
|
+
endDate: number;
|
|
90
|
+
startDate: number;
|
|
91
|
+
}, {
|
|
92
|
+
type: 2;
|
|
40
93
|
delta: string;
|
|
41
|
-
|
|
94
|
+
endDate: number;
|
|
95
|
+
startDate: number;
|
|
42
96
|
}>;
|
|
43
|
-
export declare const
|
|
44
|
-
type: z.ZodLiteral<
|
|
97
|
+
export declare const TriggerConfigValidator: z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
98
|
+
type: z.ZodLiteral<1>;
|
|
45
99
|
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
46
|
-
contract: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
47
|
-
|
|
100
|
+
contract: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodLiteral<"any">]>;
|
|
101
|
+
topics: z.ZodArray<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">, "many">;
|
|
48
102
|
delta: z.ZodEffects<z.ZodString, string, string>;
|
|
103
|
+
endDate: z.ZodNumber;
|
|
49
104
|
}, "strict", z.ZodTypeAny, {
|
|
105
|
+
type: 1;
|
|
50
106
|
chainId: number;
|
|
51
|
-
type: TriggerType.Event;
|
|
52
|
-
contract: string;
|
|
53
107
|
delta: string;
|
|
54
|
-
|
|
108
|
+
endDate: number;
|
|
109
|
+
contract: string;
|
|
110
|
+
topics: string[][];
|
|
55
111
|
}, {
|
|
112
|
+
type: 1;
|
|
56
113
|
chainId: number;
|
|
57
|
-
type: TriggerType.Event;
|
|
58
|
-
contract: string;
|
|
59
114
|
delta: string;
|
|
60
|
-
|
|
115
|
+
endDate: number;
|
|
116
|
+
contract: string;
|
|
117
|
+
topics: string[][];
|
|
61
118
|
}>, z.ZodObject<{
|
|
62
|
-
type: z.ZodLiteral<
|
|
119
|
+
type: z.ZodLiteral<0>;
|
|
63
120
|
schedule: z.ZodEffects<z.ZodString, string, string>;
|
|
64
121
|
delta: z.ZodEffects<z.ZodString, string, string>;
|
|
65
122
|
endDate: z.ZodNumber;
|
|
66
123
|
}, "strict", z.ZodTypeAny, {
|
|
67
|
-
type:
|
|
124
|
+
type: 0;
|
|
125
|
+
schedule: string;
|
|
126
|
+
delta: string;
|
|
127
|
+
endDate: number;
|
|
128
|
+
}, {
|
|
129
|
+
type: 0;
|
|
130
|
+
schedule: string;
|
|
131
|
+
delta: string;
|
|
132
|
+
endDate: number;
|
|
133
|
+
}>, z.ZodObject<{
|
|
134
|
+
type: z.ZodLiteral<2>;
|
|
135
|
+
startDate: z.ZodNumber;
|
|
136
|
+
delta: z.ZodEffects<z.ZodString, string, string>;
|
|
137
|
+
endDate: z.ZodNumber;
|
|
138
|
+
}, "strip", z.ZodTypeAny, {
|
|
139
|
+
type: 2;
|
|
140
|
+
delta: string;
|
|
141
|
+
endDate: number;
|
|
142
|
+
startDate: number;
|
|
143
|
+
}, {
|
|
144
|
+
type: 2;
|
|
145
|
+
delta: string;
|
|
146
|
+
endDate: number;
|
|
147
|
+
startDate: number;
|
|
148
|
+
}>]>, {
|
|
149
|
+
type: 0;
|
|
68
150
|
schedule: string;
|
|
69
151
|
delta: string;
|
|
70
152
|
endDate: number;
|
|
153
|
+
} | {
|
|
154
|
+
type: 1;
|
|
155
|
+
chainId: number;
|
|
156
|
+
delta: string;
|
|
157
|
+
endDate: number;
|
|
158
|
+
contract: string;
|
|
159
|
+
topics: string[][];
|
|
160
|
+
} | {
|
|
161
|
+
type: 2;
|
|
162
|
+
delta: string;
|
|
163
|
+
endDate: number;
|
|
164
|
+
startDate: number;
|
|
71
165
|
}, {
|
|
72
|
-
type:
|
|
166
|
+
type: 0;
|
|
73
167
|
schedule: string;
|
|
74
168
|
delta: string;
|
|
75
169
|
endDate: number;
|
|
76
|
-
}
|
|
170
|
+
} | {
|
|
171
|
+
type: 1;
|
|
172
|
+
chainId: number;
|
|
173
|
+
delta: string;
|
|
174
|
+
endDate: number;
|
|
175
|
+
contract: string;
|
|
176
|
+
topics: string[][];
|
|
177
|
+
} | {
|
|
178
|
+
type: 2;
|
|
179
|
+
delta: string;
|
|
180
|
+
endDate: number;
|
|
181
|
+
startDate: number;
|
|
182
|
+
}>;
|
|
77
183
|
export declare const ManifestInputsValidator: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
78
184
|
type: z.ZodEffects<z.ZodString, string, string>;
|
|
79
185
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -100,11 +206,14 @@ export declare const ManifestValidator: z.ZodObject<{
|
|
|
100
206
|
}>]>>;
|
|
101
207
|
abis: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
102
208
|
metadata: z.ZodObject<{
|
|
103
|
-
|
|
209
|
+
runnerTarget: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
210
|
+
libVersion: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
104
211
|
}, "strip", z.ZodTypeAny, {
|
|
105
|
-
|
|
212
|
+
runnerTarget?: string | undefined;
|
|
213
|
+
libVersion?: string | undefined;
|
|
106
214
|
}, {
|
|
107
|
-
|
|
215
|
+
runnerTarget?: string | undefined;
|
|
216
|
+
libVersion?: string | undefined;
|
|
108
217
|
}>;
|
|
109
218
|
}, "strip", z.ZodTypeAny, {
|
|
110
219
|
name: string;
|
|
@@ -116,7 +225,8 @@ export declare const ManifestValidator: z.ZodObject<{
|
|
|
116
225
|
}>;
|
|
117
226
|
abis: Record<string, string>;
|
|
118
227
|
metadata: {
|
|
119
|
-
|
|
228
|
+
runnerTarget?: string | undefined;
|
|
229
|
+
libVersion?: string | undefined;
|
|
120
230
|
};
|
|
121
231
|
}, {
|
|
122
232
|
name: string;
|
|
@@ -128,7 +238,8 @@ export declare const ManifestValidator: z.ZodObject<{
|
|
|
128
238
|
}>;
|
|
129
239
|
abis: Record<string, string>;
|
|
130
240
|
metadata: {
|
|
131
|
-
|
|
241
|
+
runnerTarget?: string | undefined;
|
|
242
|
+
libVersion?: string | undefined;
|
|
132
243
|
};
|
|
133
244
|
}>;
|
|
134
245
|
export declare const UserAuthenticationRequestValidator: z.ZodObject<{
|
|
@@ -144,12 +255,15 @@ export declare const UserAuthenticationRequestValidator: z.ZodObject<{
|
|
|
144
255
|
export declare const UserAuthenticationValidator: z.ZodObject<{
|
|
145
256
|
address: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
146
257
|
token: z.ZodString;
|
|
258
|
+
email: z.ZodOptional<z.ZodString>;
|
|
147
259
|
}, "strip", z.ZodTypeAny, {
|
|
148
|
-
address: string;
|
|
149
260
|
token: string;
|
|
150
|
-
}, {
|
|
151
261
|
address: string;
|
|
262
|
+
email?: string | undefined;
|
|
263
|
+
}, {
|
|
152
264
|
token: string;
|
|
265
|
+
address: string;
|
|
266
|
+
email?: string | undefined;
|
|
153
267
|
}>;
|
|
154
268
|
export declare const UserNonceRequestValidator: z.ZodObject<{
|
|
155
269
|
address: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
@@ -162,11 +276,11 @@ export declare const UserNonceValidator: z.ZodObject<{
|
|
|
162
276
|
address: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
163
277
|
nonce: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
164
278
|
}, "strip", z.ZodTypeAny, {
|
|
165
|
-
address: string;
|
|
166
279
|
nonce: string;
|
|
167
|
-
}, {
|
|
168
280
|
address: string;
|
|
281
|
+
}, {
|
|
169
282
|
nonce: string;
|
|
283
|
+
address: string;
|
|
170
284
|
}>;
|
|
171
285
|
export declare const UserApiKeyValidator: z.ZodObject<{
|
|
172
286
|
address: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
@@ -189,19 +303,19 @@ export declare const UserTokenValidator: z.ZodObject<{
|
|
|
189
303
|
logo: z.ZodString;
|
|
190
304
|
}, "strip", z.ZodTypeAny, {
|
|
191
305
|
symbol: string;
|
|
192
|
-
|
|
306
|
+
decimals: number;
|
|
193
307
|
address: string;
|
|
308
|
+
chainId: number;
|
|
194
309
|
balance: string;
|
|
195
|
-
decimals: number;
|
|
196
310
|
allowance: string;
|
|
197
311
|
price: number;
|
|
198
312
|
logo: string;
|
|
199
313
|
}, {
|
|
200
314
|
symbol: string;
|
|
201
|
-
|
|
315
|
+
decimals: number;
|
|
202
316
|
address: string;
|
|
317
|
+
chainId: number;
|
|
203
318
|
balance: string;
|
|
204
|
-
decimals: number;
|
|
205
319
|
allowance: string;
|
|
206
320
|
price: number;
|
|
207
321
|
logo: string;
|
|
@@ -217,101 +331,1009 @@ export declare const UserTokensValidator: z.ZodArray<z.ZodObject<{
|
|
|
217
331
|
logo: z.ZodString;
|
|
218
332
|
}, "strip", z.ZodTypeAny, {
|
|
219
333
|
symbol: string;
|
|
220
|
-
|
|
334
|
+
decimals: number;
|
|
221
335
|
address: string;
|
|
336
|
+
chainId: number;
|
|
222
337
|
balance: string;
|
|
223
|
-
decimals: number;
|
|
224
338
|
allowance: string;
|
|
225
339
|
price: number;
|
|
226
340
|
logo: string;
|
|
227
341
|
}, {
|
|
228
342
|
symbol: string;
|
|
229
|
-
|
|
343
|
+
decimals: number;
|
|
230
344
|
address: string;
|
|
345
|
+
chainId: number;
|
|
231
346
|
balance: string;
|
|
232
|
-
decimals: number;
|
|
233
347
|
allowance: string;
|
|
234
348
|
price: number;
|
|
235
349
|
logo: string;
|
|
236
350
|
}>, "many">;
|
|
237
351
|
export declare const BalancesGetRequestValidator: z.ZodObject<{
|
|
238
352
|
address: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
239
|
-
sort: z.ZodOptional<z.ZodEffects<z.ZodNativeEnum<
|
|
353
|
+
sort: z.ZodOptional<z.ZodEffects<z.ZodNativeEnum<{
|
|
354
|
+
readonly asc: 1;
|
|
355
|
+
readonly desc: -1;
|
|
356
|
+
}>, 1 | -1, unknown>>;
|
|
240
357
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
241
358
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
242
359
|
}, "strip", z.ZodTypeAny, {
|
|
360
|
+
sort?: 1 | -1 | undefined;
|
|
243
361
|
address?: string | undefined;
|
|
244
|
-
sort?: import("../shared").Sort | undefined;
|
|
245
362
|
offset?: number | undefined;
|
|
246
363
|
limit?: number | undefined;
|
|
247
364
|
}, {
|
|
248
|
-
address?: string | undefined;
|
|
249
365
|
sort?: unknown;
|
|
366
|
+
address?: string | undefined;
|
|
250
367
|
offset?: number | undefined;
|
|
251
368
|
limit?: number | undefined;
|
|
252
369
|
}>;
|
|
253
370
|
export declare const BalanceValidator: z.ZodObject<{
|
|
254
371
|
address: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
255
|
-
amount: z.
|
|
372
|
+
amount: z.ZodEffects<z.ZodString, string, string>;
|
|
256
373
|
expiresAt: z.ZodOptional<z.ZodDate>;
|
|
257
374
|
description: z.ZodString;
|
|
258
375
|
createdAt: z.ZodDate;
|
|
259
376
|
}, "strip", z.ZodTypeAny, {
|
|
377
|
+
amount: string;
|
|
260
378
|
address: string;
|
|
261
|
-
createdAt: Date;
|
|
262
|
-
amount: number;
|
|
263
379
|
description: string;
|
|
380
|
+
createdAt: Date;
|
|
264
381
|
expiresAt?: Date | undefined;
|
|
265
382
|
}, {
|
|
383
|
+
amount: string;
|
|
266
384
|
address: string;
|
|
267
|
-
createdAt: Date;
|
|
268
|
-
amount: number;
|
|
269
385
|
description: string;
|
|
386
|
+
createdAt: Date;
|
|
270
387
|
expiresAt?: Date | undefined;
|
|
271
388
|
}>;
|
|
272
389
|
export declare const BalancesValidator: z.ZodArray<z.ZodObject<{
|
|
273
390
|
address: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
274
|
-
amount: z.
|
|
391
|
+
amount: z.ZodEffects<z.ZodString, string, string>;
|
|
275
392
|
expiresAt: z.ZodOptional<z.ZodDate>;
|
|
276
393
|
description: z.ZodString;
|
|
277
394
|
createdAt: z.ZodDate;
|
|
278
395
|
}, "strip", z.ZodTypeAny, {
|
|
396
|
+
amount: string;
|
|
279
397
|
address: string;
|
|
280
|
-
createdAt: Date;
|
|
281
|
-
amount: number;
|
|
282
398
|
description: string;
|
|
399
|
+
createdAt: Date;
|
|
283
400
|
expiresAt?: Date | undefined;
|
|
284
401
|
}, {
|
|
402
|
+
amount: string;
|
|
285
403
|
address: string;
|
|
286
|
-
createdAt: Date;
|
|
287
|
-
amount: number;
|
|
288
404
|
description: string;
|
|
405
|
+
createdAt: Date;
|
|
289
406
|
expiresAt?: Date | undefined;
|
|
290
407
|
}>, "many">;
|
|
291
408
|
export declare const BalanceTotalValidator: z.ZodObject<{
|
|
292
409
|
address: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
293
|
-
balance: z.
|
|
410
|
+
balance: z.ZodEffects<z.ZodString, string, string>;
|
|
294
411
|
}, "strip", z.ZodTypeAny, {
|
|
295
412
|
address: string;
|
|
296
|
-
balance:
|
|
413
|
+
balance: string;
|
|
297
414
|
}, {
|
|
298
415
|
address: string;
|
|
299
|
-
balance:
|
|
416
|
+
balance: string;
|
|
300
417
|
}>;
|
|
301
|
-
export declare const
|
|
418
|
+
export declare const BalancesCreateFromDepositRequestValidator: z.ZodObject<{
|
|
302
419
|
address: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
303
|
-
amount: z.
|
|
304
|
-
|
|
420
|
+
amount: z.ZodEffects<z.ZodString, string, string>;
|
|
421
|
+
decimals: z.ZodNumber;
|
|
422
|
+
transactionHash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
423
|
+
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
305
424
|
}, "strip", z.ZodTypeAny, {
|
|
425
|
+
decimals: number;
|
|
426
|
+
amount: string;
|
|
306
427
|
address: string;
|
|
307
|
-
|
|
308
|
-
|
|
428
|
+
chainId: number;
|
|
429
|
+
transactionHash: string;
|
|
309
430
|
}, {
|
|
431
|
+
decimals: number;
|
|
432
|
+
amount: string;
|
|
310
433
|
address: string;
|
|
311
|
-
|
|
312
|
-
|
|
434
|
+
chainId: number;
|
|
435
|
+
transactionHash: string;
|
|
436
|
+
}>;
|
|
437
|
+
export declare const ExecutionFeeChargeRequestValidator: z.ZodObject<{
|
|
438
|
+
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
439
|
+
timestamp: z.ZodNumber;
|
|
440
|
+
relayer: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
441
|
+
triggerSig: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
442
|
+
triggerType: z.ZodNativeEnum<{
|
|
443
|
+
readonly Cron: 0;
|
|
444
|
+
readonly Event: 1;
|
|
445
|
+
readonly Once: 2;
|
|
446
|
+
}>;
|
|
447
|
+
fuelUsed: z.ZodNumber;
|
|
448
|
+
inputs: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
449
|
+
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
450
|
+
query: z.ZodObject<{
|
|
451
|
+
name: z.ZodLiteral<"EvmCallQuery">;
|
|
452
|
+
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
453
|
+
params: z.ZodObject<{
|
|
454
|
+
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
455
|
+
timestamp: z.ZodEffects<z.ZodNumber, number, number>;
|
|
456
|
+
to: z.ZodEffects<z.ZodString, string, string>;
|
|
457
|
+
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
458
|
+
}, "strip", z.ZodTypeAny, {
|
|
459
|
+
data: string;
|
|
460
|
+
chainId: number;
|
|
461
|
+
to: string;
|
|
462
|
+
timestamp: number;
|
|
463
|
+
}, {
|
|
464
|
+
data: string;
|
|
465
|
+
chainId: number;
|
|
466
|
+
to: string;
|
|
467
|
+
timestamp: number;
|
|
468
|
+
}>;
|
|
469
|
+
}, "strip", z.ZodTypeAny, {
|
|
470
|
+
name: "EvmCallQuery";
|
|
471
|
+
params: {
|
|
472
|
+
data: string;
|
|
473
|
+
chainId: number;
|
|
474
|
+
to: string;
|
|
475
|
+
timestamp: number;
|
|
476
|
+
};
|
|
477
|
+
hash: string;
|
|
478
|
+
}, {
|
|
479
|
+
name: "EvmCallQuery";
|
|
480
|
+
params: {
|
|
481
|
+
data: string;
|
|
482
|
+
chainId: number;
|
|
483
|
+
to: string;
|
|
484
|
+
timestamp: number;
|
|
485
|
+
};
|
|
486
|
+
hash: string;
|
|
487
|
+
}>;
|
|
488
|
+
result: z.ZodObject<{
|
|
489
|
+
value: z.ZodString;
|
|
490
|
+
}, "strip", z.ZodTypeAny, {
|
|
491
|
+
value: string;
|
|
492
|
+
}, {
|
|
493
|
+
value: string;
|
|
494
|
+
}>;
|
|
495
|
+
}, "strip", z.ZodTypeAny, {
|
|
496
|
+
result: {
|
|
497
|
+
value: string;
|
|
498
|
+
};
|
|
499
|
+
query: {
|
|
500
|
+
name: "EvmCallQuery";
|
|
501
|
+
params: {
|
|
502
|
+
data: string;
|
|
503
|
+
chainId: number;
|
|
504
|
+
to: string;
|
|
505
|
+
timestamp: number;
|
|
506
|
+
};
|
|
507
|
+
hash: string;
|
|
508
|
+
};
|
|
509
|
+
signature: string;
|
|
510
|
+
}, {
|
|
511
|
+
result: {
|
|
512
|
+
value: string;
|
|
513
|
+
};
|
|
514
|
+
query: {
|
|
515
|
+
name: "EvmCallQuery";
|
|
516
|
+
params: {
|
|
517
|
+
data: string;
|
|
518
|
+
chainId: number;
|
|
519
|
+
to: string;
|
|
520
|
+
timestamp: number;
|
|
521
|
+
};
|
|
522
|
+
hash: string;
|
|
523
|
+
};
|
|
524
|
+
signature: string;
|
|
525
|
+
}>, z.ZodObject<{
|
|
526
|
+
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
527
|
+
query: z.ZodObject<{
|
|
528
|
+
name: z.ZodLiteral<"TokenPriceQuery">;
|
|
529
|
+
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
530
|
+
params: z.ZodObject<{
|
|
531
|
+
timestamp: z.ZodEffects<z.ZodNumber, number, number>;
|
|
532
|
+
token: z.ZodObject<{
|
|
533
|
+
address: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
534
|
+
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
535
|
+
}, "strip", z.ZodTypeAny, {
|
|
536
|
+
address: string;
|
|
537
|
+
chainId: number;
|
|
538
|
+
}, {
|
|
539
|
+
address: string;
|
|
540
|
+
chainId: number;
|
|
541
|
+
}>;
|
|
542
|
+
}, "strip", z.ZodTypeAny, {
|
|
543
|
+
token: {
|
|
544
|
+
address: string;
|
|
545
|
+
chainId: number;
|
|
546
|
+
};
|
|
547
|
+
timestamp: number;
|
|
548
|
+
}, {
|
|
549
|
+
token: {
|
|
550
|
+
address: string;
|
|
551
|
+
chainId: number;
|
|
552
|
+
};
|
|
553
|
+
timestamp: number;
|
|
554
|
+
}>;
|
|
555
|
+
}, "strip", z.ZodTypeAny, {
|
|
556
|
+
name: "TokenPriceQuery";
|
|
557
|
+
params: {
|
|
558
|
+
token: {
|
|
559
|
+
address: string;
|
|
560
|
+
chainId: number;
|
|
561
|
+
};
|
|
562
|
+
timestamp: number;
|
|
563
|
+
};
|
|
564
|
+
hash: string;
|
|
565
|
+
}, {
|
|
566
|
+
name: "TokenPriceQuery";
|
|
567
|
+
params: {
|
|
568
|
+
token: {
|
|
569
|
+
address: string;
|
|
570
|
+
chainId: number;
|
|
571
|
+
};
|
|
572
|
+
timestamp: number;
|
|
573
|
+
};
|
|
574
|
+
hash: string;
|
|
575
|
+
}>;
|
|
576
|
+
result: z.ZodObject<{
|
|
577
|
+
value: z.ZodString;
|
|
578
|
+
}, "strip", z.ZodTypeAny, {
|
|
579
|
+
value: string;
|
|
580
|
+
}, {
|
|
581
|
+
value: string;
|
|
582
|
+
}>;
|
|
583
|
+
}, "strip", z.ZodTypeAny, {
|
|
584
|
+
result: {
|
|
585
|
+
value: string;
|
|
586
|
+
};
|
|
587
|
+
query: {
|
|
588
|
+
name: "TokenPriceQuery";
|
|
589
|
+
params: {
|
|
590
|
+
token: {
|
|
591
|
+
address: string;
|
|
592
|
+
chainId: number;
|
|
593
|
+
};
|
|
594
|
+
timestamp: number;
|
|
595
|
+
};
|
|
596
|
+
hash: string;
|
|
597
|
+
};
|
|
598
|
+
signature: string;
|
|
599
|
+
}, {
|
|
600
|
+
result: {
|
|
601
|
+
value: string;
|
|
602
|
+
};
|
|
603
|
+
query: {
|
|
604
|
+
name: "TokenPriceQuery";
|
|
605
|
+
params: {
|
|
606
|
+
token: {
|
|
607
|
+
address: string;
|
|
608
|
+
chainId: number;
|
|
609
|
+
};
|
|
610
|
+
timestamp: number;
|
|
611
|
+
};
|
|
612
|
+
hash: string;
|
|
613
|
+
};
|
|
614
|
+
signature: string;
|
|
615
|
+
}>, z.ZodObject<{
|
|
616
|
+
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
617
|
+
query: z.ZodObject<{
|
|
618
|
+
name: z.ZodLiteral<"RelevantTokensQuery">;
|
|
619
|
+
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
620
|
+
params: z.ZodObject<{
|
|
621
|
+
chainIds: z.ZodArray<z.ZodEffects<z.ZodNumber, number, number>, "many">;
|
|
622
|
+
owner: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
623
|
+
usdMinAmount: z.ZodEffects<z.ZodString, string, string>;
|
|
624
|
+
tokens: z.ZodArray<z.ZodObject<{
|
|
625
|
+
address: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
626
|
+
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
627
|
+
}, "strip", z.ZodTypeAny, {
|
|
628
|
+
address: string;
|
|
629
|
+
chainId: number;
|
|
630
|
+
}, {
|
|
631
|
+
address: string;
|
|
632
|
+
chainId: number;
|
|
633
|
+
}>, "many">;
|
|
634
|
+
tokenFilter: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>;
|
|
635
|
+
}, "strip", z.ZodTypeAny, {
|
|
636
|
+
owner: string;
|
|
637
|
+
tokens: {
|
|
638
|
+
address: string;
|
|
639
|
+
chainId: number;
|
|
640
|
+
}[];
|
|
641
|
+
usdMinAmount: string;
|
|
642
|
+
chainIds: number[];
|
|
643
|
+
tokenFilter: 0 | 1;
|
|
644
|
+
}, {
|
|
645
|
+
owner: string;
|
|
646
|
+
tokens: {
|
|
647
|
+
address: string;
|
|
648
|
+
chainId: number;
|
|
649
|
+
}[];
|
|
650
|
+
usdMinAmount: string;
|
|
651
|
+
chainIds: number[];
|
|
652
|
+
tokenFilter: 0 | 1;
|
|
653
|
+
}>;
|
|
654
|
+
}, "strip", z.ZodTypeAny, {
|
|
655
|
+
name: "RelevantTokensQuery";
|
|
656
|
+
params: {
|
|
657
|
+
owner: string;
|
|
658
|
+
tokens: {
|
|
659
|
+
address: string;
|
|
660
|
+
chainId: number;
|
|
661
|
+
}[];
|
|
662
|
+
usdMinAmount: string;
|
|
663
|
+
chainIds: number[];
|
|
664
|
+
tokenFilter: 0 | 1;
|
|
665
|
+
};
|
|
666
|
+
hash: string;
|
|
667
|
+
}, {
|
|
668
|
+
name: "RelevantTokensQuery";
|
|
669
|
+
params: {
|
|
670
|
+
owner: string;
|
|
671
|
+
tokens: {
|
|
672
|
+
address: string;
|
|
673
|
+
chainId: number;
|
|
674
|
+
}[];
|
|
675
|
+
usdMinAmount: string;
|
|
676
|
+
chainIds: number[];
|
|
677
|
+
tokenFilter: 0 | 1;
|
|
678
|
+
};
|
|
679
|
+
hash: string;
|
|
680
|
+
}>;
|
|
681
|
+
result: z.ZodObject<{
|
|
682
|
+
value: z.ZodObject<{
|
|
683
|
+
timestamp: z.ZodEffects<z.ZodNumber, number, number>;
|
|
684
|
+
balances: z.ZodArray<z.ZodObject<{
|
|
685
|
+
token: z.ZodObject<{
|
|
686
|
+
address: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
687
|
+
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
688
|
+
}, "strip", z.ZodTypeAny, {
|
|
689
|
+
address: string;
|
|
690
|
+
chainId: number;
|
|
691
|
+
}, {
|
|
692
|
+
address: string;
|
|
693
|
+
chainId: number;
|
|
694
|
+
}>;
|
|
695
|
+
balance: z.ZodEffects<z.ZodString, string, string>;
|
|
696
|
+
}, "strip", z.ZodTypeAny, {
|
|
697
|
+
token: {
|
|
698
|
+
address: string;
|
|
699
|
+
chainId: number;
|
|
700
|
+
};
|
|
701
|
+
balance: string;
|
|
702
|
+
}, {
|
|
703
|
+
token: {
|
|
704
|
+
address: string;
|
|
705
|
+
chainId: number;
|
|
706
|
+
};
|
|
707
|
+
balance: string;
|
|
708
|
+
}>, "many">;
|
|
709
|
+
}, "strip", z.ZodTypeAny, {
|
|
710
|
+
timestamp: number;
|
|
711
|
+
balances: {
|
|
712
|
+
token: {
|
|
713
|
+
address: string;
|
|
714
|
+
chainId: number;
|
|
715
|
+
};
|
|
716
|
+
balance: string;
|
|
717
|
+
}[];
|
|
718
|
+
}, {
|
|
719
|
+
timestamp: number;
|
|
720
|
+
balances: {
|
|
721
|
+
token: {
|
|
722
|
+
address: string;
|
|
723
|
+
chainId: number;
|
|
724
|
+
};
|
|
725
|
+
balance: string;
|
|
726
|
+
}[];
|
|
727
|
+
}>;
|
|
728
|
+
}, "strip", z.ZodTypeAny, {
|
|
729
|
+
value: {
|
|
730
|
+
timestamp: number;
|
|
731
|
+
balances: {
|
|
732
|
+
token: {
|
|
733
|
+
address: string;
|
|
734
|
+
chainId: number;
|
|
735
|
+
};
|
|
736
|
+
balance: string;
|
|
737
|
+
}[];
|
|
738
|
+
};
|
|
739
|
+
}, {
|
|
740
|
+
value: {
|
|
741
|
+
timestamp: number;
|
|
742
|
+
balances: {
|
|
743
|
+
token: {
|
|
744
|
+
address: string;
|
|
745
|
+
chainId: number;
|
|
746
|
+
};
|
|
747
|
+
balance: string;
|
|
748
|
+
}[];
|
|
749
|
+
};
|
|
750
|
+
}>;
|
|
751
|
+
}, "strip", z.ZodTypeAny, {
|
|
752
|
+
result: {
|
|
753
|
+
value: {
|
|
754
|
+
timestamp: number;
|
|
755
|
+
balances: {
|
|
756
|
+
token: {
|
|
757
|
+
address: string;
|
|
758
|
+
chainId: number;
|
|
759
|
+
};
|
|
760
|
+
balance: string;
|
|
761
|
+
}[];
|
|
762
|
+
};
|
|
763
|
+
};
|
|
764
|
+
query: {
|
|
765
|
+
name: "RelevantTokensQuery";
|
|
766
|
+
params: {
|
|
767
|
+
owner: string;
|
|
768
|
+
tokens: {
|
|
769
|
+
address: string;
|
|
770
|
+
chainId: number;
|
|
771
|
+
}[];
|
|
772
|
+
usdMinAmount: string;
|
|
773
|
+
chainIds: number[];
|
|
774
|
+
tokenFilter: 0 | 1;
|
|
775
|
+
};
|
|
776
|
+
hash: string;
|
|
777
|
+
};
|
|
778
|
+
signature: string;
|
|
779
|
+
}, {
|
|
780
|
+
result: {
|
|
781
|
+
value: {
|
|
782
|
+
timestamp: number;
|
|
783
|
+
balances: {
|
|
784
|
+
token: {
|
|
785
|
+
address: string;
|
|
786
|
+
chainId: number;
|
|
787
|
+
};
|
|
788
|
+
balance: string;
|
|
789
|
+
}[];
|
|
790
|
+
};
|
|
791
|
+
};
|
|
792
|
+
query: {
|
|
793
|
+
name: "RelevantTokensQuery";
|
|
794
|
+
params: {
|
|
795
|
+
owner: string;
|
|
796
|
+
tokens: {
|
|
797
|
+
address: string;
|
|
798
|
+
chainId: number;
|
|
799
|
+
}[];
|
|
800
|
+
usdMinAmount: string;
|
|
801
|
+
chainIds: number[];
|
|
802
|
+
tokenFilter: 0 | 1;
|
|
803
|
+
};
|
|
804
|
+
hash: string;
|
|
805
|
+
};
|
|
806
|
+
signature: string;
|
|
807
|
+
}>, z.ZodObject<{
|
|
808
|
+
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
809
|
+
query: z.ZodObject<{
|
|
810
|
+
name: z.ZodLiteral<"SubgraphQuery">;
|
|
811
|
+
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
812
|
+
params: z.ZodObject<{
|
|
813
|
+
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
814
|
+
timestamp: z.ZodEffects<z.ZodNumber, number, number>;
|
|
815
|
+
subgraphId: z.ZodString;
|
|
816
|
+
query: z.ZodString;
|
|
817
|
+
}, "strip", z.ZodTypeAny, {
|
|
818
|
+
chainId: number;
|
|
819
|
+
timestamp: number;
|
|
820
|
+
subgraphId: string;
|
|
821
|
+
query: string;
|
|
822
|
+
}, {
|
|
823
|
+
chainId: number;
|
|
824
|
+
timestamp: number;
|
|
825
|
+
subgraphId: string;
|
|
826
|
+
query: string;
|
|
827
|
+
}>;
|
|
828
|
+
}, "strip", z.ZodTypeAny, {
|
|
829
|
+
name: "SubgraphQuery";
|
|
830
|
+
params: {
|
|
831
|
+
chainId: number;
|
|
832
|
+
timestamp: number;
|
|
833
|
+
subgraphId: string;
|
|
834
|
+
query: string;
|
|
835
|
+
};
|
|
836
|
+
hash: string;
|
|
837
|
+
}, {
|
|
838
|
+
name: "SubgraphQuery";
|
|
839
|
+
params: {
|
|
840
|
+
chainId: number;
|
|
841
|
+
timestamp: number;
|
|
842
|
+
subgraphId: string;
|
|
843
|
+
query: string;
|
|
844
|
+
};
|
|
845
|
+
hash: string;
|
|
846
|
+
}>;
|
|
847
|
+
result: z.ZodObject<{
|
|
848
|
+
value: z.ZodObject<{
|
|
849
|
+
blockNumber: z.ZodNumber;
|
|
850
|
+
data: z.ZodString;
|
|
851
|
+
}, "strip", z.ZodTypeAny, {
|
|
852
|
+
data: string;
|
|
853
|
+
blockNumber: number;
|
|
854
|
+
}, {
|
|
855
|
+
data: string;
|
|
856
|
+
blockNumber: number;
|
|
857
|
+
}>;
|
|
858
|
+
}, "strip", z.ZodTypeAny, {
|
|
859
|
+
value: {
|
|
860
|
+
data: string;
|
|
861
|
+
blockNumber: number;
|
|
862
|
+
};
|
|
863
|
+
}, {
|
|
864
|
+
value: {
|
|
865
|
+
data: string;
|
|
866
|
+
blockNumber: number;
|
|
867
|
+
};
|
|
868
|
+
}>;
|
|
869
|
+
}, "strip", z.ZodTypeAny, {
|
|
870
|
+
result: {
|
|
871
|
+
value: {
|
|
872
|
+
data: string;
|
|
873
|
+
blockNumber: number;
|
|
874
|
+
};
|
|
875
|
+
};
|
|
876
|
+
query: {
|
|
877
|
+
name: "SubgraphQuery";
|
|
878
|
+
params: {
|
|
879
|
+
chainId: number;
|
|
880
|
+
timestamp: number;
|
|
881
|
+
subgraphId: string;
|
|
882
|
+
query: string;
|
|
883
|
+
};
|
|
884
|
+
hash: string;
|
|
885
|
+
};
|
|
886
|
+
signature: string;
|
|
887
|
+
}, {
|
|
888
|
+
result: {
|
|
889
|
+
value: {
|
|
890
|
+
data: string;
|
|
891
|
+
blockNumber: number;
|
|
892
|
+
};
|
|
893
|
+
};
|
|
894
|
+
query: {
|
|
895
|
+
name: "SubgraphQuery";
|
|
896
|
+
params: {
|
|
897
|
+
chainId: number;
|
|
898
|
+
timestamp: number;
|
|
899
|
+
subgraphId: string;
|
|
900
|
+
query: string;
|
|
901
|
+
};
|
|
902
|
+
hash: string;
|
|
903
|
+
};
|
|
904
|
+
signature: string;
|
|
905
|
+
}>, z.ZodObject<{
|
|
906
|
+
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
907
|
+
query: z.ZodObject<{
|
|
908
|
+
name: z.ZodLiteral<"SvmAccountsInfoQuery">;
|
|
909
|
+
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
910
|
+
params: z.ZodObject<{
|
|
911
|
+
publicKeys: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
912
|
+
timestamp: z.ZodEffects<z.ZodNumber, number, number>;
|
|
913
|
+
}, "strip", z.ZodTypeAny, {
|
|
914
|
+
timestamp: number;
|
|
915
|
+
publicKeys: string[];
|
|
916
|
+
}, {
|
|
917
|
+
timestamp: number;
|
|
918
|
+
publicKeys: string[];
|
|
919
|
+
}>;
|
|
920
|
+
}, "strip", z.ZodTypeAny, {
|
|
921
|
+
name: "SvmAccountsInfoQuery";
|
|
922
|
+
params: {
|
|
923
|
+
timestamp: number;
|
|
924
|
+
publicKeys: string[];
|
|
925
|
+
};
|
|
926
|
+
hash: string;
|
|
927
|
+
}, {
|
|
928
|
+
name: "SvmAccountsInfoQuery";
|
|
929
|
+
params: {
|
|
930
|
+
timestamp: number;
|
|
931
|
+
publicKeys: string[];
|
|
932
|
+
};
|
|
933
|
+
hash: string;
|
|
934
|
+
}>;
|
|
935
|
+
result: z.ZodObject<{
|
|
936
|
+
value: z.ZodObject<{
|
|
937
|
+
accountsInfo: z.ZodArray<z.ZodObject<{
|
|
938
|
+
executable: z.ZodBoolean;
|
|
939
|
+
owner: z.ZodEffects<z.ZodString, string, string>;
|
|
940
|
+
lamports: z.ZodEffects<z.ZodString, string, string>;
|
|
941
|
+
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
942
|
+
rentEpoch: z.ZodEffects<z.ZodString, string, string>;
|
|
943
|
+
}, "strip", z.ZodTypeAny, {
|
|
944
|
+
data: string;
|
|
945
|
+
executable: boolean;
|
|
946
|
+
owner: string;
|
|
947
|
+
lamports: string;
|
|
948
|
+
rentEpoch: string;
|
|
949
|
+
}, {
|
|
950
|
+
data: string;
|
|
951
|
+
executable: boolean;
|
|
952
|
+
owner: string;
|
|
953
|
+
lamports: string;
|
|
954
|
+
rentEpoch: string;
|
|
955
|
+
}>, "many">;
|
|
956
|
+
slot: z.ZodEffects<z.ZodString, string, string>;
|
|
957
|
+
}, "strip", z.ZodTypeAny, {
|
|
958
|
+
accountsInfo: {
|
|
959
|
+
data: string;
|
|
960
|
+
executable: boolean;
|
|
961
|
+
owner: string;
|
|
962
|
+
lamports: string;
|
|
963
|
+
rentEpoch: string;
|
|
964
|
+
}[];
|
|
965
|
+
slot: string;
|
|
966
|
+
}, {
|
|
967
|
+
accountsInfo: {
|
|
968
|
+
data: string;
|
|
969
|
+
executable: boolean;
|
|
970
|
+
owner: string;
|
|
971
|
+
lamports: string;
|
|
972
|
+
rentEpoch: string;
|
|
973
|
+
}[];
|
|
974
|
+
slot: string;
|
|
975
|
+
}>;
|
|
976
|
+
}, "strip", z.ZodTypeAny, {
|
|
977
|
+
value: {
|
|
978
|
+
accountsInfo: {
|
|
979
|
+
data: string;
|
|
980
|
+
executable: boolean;
|
|
981
|
+
owner: string;
|
|
982
|
+
lamports: string;
|
|
983
|
+
rentEpoch: string;
|
|
984
|
+
}[];
|
|
985
|
+
slot: string;
|
|
986
|
+
};
|
|
987
|
+
}, {
|
|
988
|
+
value: {
|
|
989
|
+
accountsInfo: {
|
|
990
|
+
data: string;
|
|
991
|
+
executable: boolean;
|
|
992
|
+
owner: string;
|
|
993
|
+
lamports: string;
|
|
994
|
+
rentEpoch: string;
|
|
995
|
+
}[];
|
|
996
|
+
slot: string;
|
|
997
|
+
};
|
|
998
|
+
}>;
|
|
999
|
+
}, "strip", z.ZodTypeAny, {
|
|
1000
|
+
result: {
|
|
1001
|
+
value: {
|
|
1002
|
+
accountsInfo: {
|
|
1003
|
+
data: string;
|
|
1004
|
+
executable: boolean;
|
|
1005
|
+
owner: string;
|
|
1006
|
+
lamports: string;
|
|
1007
|
+
rentEpoch: string;
|
|
1008
|
+
}[];
|
|
1009
|
+
slot: string;
|
|
1010
|
+
};
|
|
1011
|
+
};
|
|
1012
|
+
query: {
|
|
1013
|
+
name: "SvmAccountsInfoQuery";
|
|
1014
|
+
params: {
|
|
1015
|
+
timestamp: number;
|
|
1016
|
+
publicKeys: string[];
|
|
1017
|
+
};
|
|
1018
|
+
hash: string;
|
|
1019
|
+
};
|
|
1020
|
+
signature: string;
|
|
1021
|
+
}, {
|
|
1022
|
+
result: {
|
|
1023
|
+
value: {
|
|
1024
|
+
accountsInfo: {
|
|
1025
|
+
data: string;
|
|
1026
|
+
executable: boolean;
|
|
1027
|
+
owner: string;
|
|
1028
|
+
lamports: string;
|
|
1029
|
+
rentEpoch: string;
|
|
1030
|
+
}[];
|
|
1031
|
+
slot: string;
|
|
1032
|
+
};
|
|
1033
|
+
};
|
|
1034
|
+
query: {
|
|
1035
|
+
name: "SvmAccountsInfoQuery";
|
|
1036
|
+
params: {
|
|
1037
|
+
timestamp: number;
|
|
1038
|
+
publicKeys: string[];
|
|
1039
|
+
};
|
|
1040
|
+
hash: string;
|
|
1041
|
+
};
|
|
1042
|
+
signature: string;
|
|
1043
|
+
}>]>, "many">;
|
|
1044
|
+
outputsLength: z.ZodNumber;
|
|
1045
|
+
validatorAddresses: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">;
|
|
1046
|
+
}, "strip", z.ZodTypeAny, {
|
|
1047
|
+
timestamp: number;
|
|
1048
|
+
hash: string;
|
|
1049
|
+
inputs: ({
|
|
1050
|
+
result: {
|
|
1051
|
+
value: string;
|
|
1052
|
+
};
|
|
1053
|
+
query: {
|
|
1054
|
+
name: "EvmCallQuery";
|
|
1055
|
+
params: {
|
|
1056
|
+
data: string;
|
|
1057
|
+
chainId: number;
|
|
1058
|
+
to: string;
|
|
1059
|
+
timestamp: number;
|
|
1060
|
+
};
|
|
1061
|
+
hash: string;
|
|
1062
|
+
};
|
|
1063
|
+
signature: string;
|
|
1064
|
+
} | {
|
|
1065
|
+
result: {
|
|
1066
|
+
value: {
|
|
1067
|
+
accountsInfo: {
|
|
1068
|
+
data: string;
|
|
1069
|
+
executable: boolean;
|
|
1070
|
+
owner: string;
|
|
1071
|
+
lamports: string;
|
|
1072
|
+
rentEpoch: string;
|
|
1073
|
+
}[];
|
|
1074
|
+
slot: string;
|
|
1075
|
+
};
|
|
1076
|
+
};
|
|
1077
|
+
query: {
|
|
1078
|
+
name: "SvmAccountsInfoQuery";
|
|
1079
|
+
params: {
|
|
1080
|
+
timestamp: number;
|
|
1081
|
+
publicKeys: string[];
|
|
1082
|
+
};
|
|
1083
|
+
hash: string;
|
|
1084
|
+
};
|
|
1085
|
+
signature: string;
|
|
1086
|
+
} | {
|
|
1087
|
+
result: {
|
|
1088
|
+
value: string;
|
|
1089
|
+
};
|
|
1090
|
+
query: {
|
|
1091
|
+
name: "TokenPriceQuery";
|
|
1092
|
+
params: {
|
|
1093
|
+
token: {
|
|
1094
|
+
address: string;
|
|
1095
|
+
chainId: number;
|
|
1096
|
+
};
|
|
1097
|
+
timestamp: number;
|
|
1098
|
+
};
|
|
1099
|
+
hash: string;
|
|
1100
|
+
};
|
|
1101
|
+
signature: string;
|
|
1102
|
+
} | {
|
|
1103
|
+
result: {
|
|
1104
|
+
value: {
|
|
1105
|
+
timestamp: number;
|
|
1106
|
+
balances: {
|
|
1107
|
+
token: {
|
|
1108
|
+
address: string;
|
|
1109
|
+
chainId: number;
|
|
1110
|
+
};
|
|
1111
|
+
balance: string;
|
|
1112
|
+
}[];
|
|
1113
|
+
};
|
|
1114
|
+
};
|
|
1115
|
+
query: {
|
|
1116
|
+
name: "RelevantTokensQuery";
|
|
1117
|
+
params: {
|
|
1118
|
+
owner: string;
|
|
1119
|
+
tokens: {
|
|
1120
|
+
address: string;
|
|
1121
|
+
chainId: number;
|
|
1122
|
+
}[];
|
|
1123
|
+
usdMinAmount: string;
|
|
1124
|
+
chainIds: number[];
|
|
1125
|
+
tokenFilter: 0 | 1;
|
|
1126
|
+
};
|
|
1127
|
+
hash: string;
|
|
1128
|
+
};
|
|
1129
|
+
signature: string;
|
|
1130
|
+
} | {
|
|
1131
|
+
result: {
|
|
1132
|
+
value: {
|
|
1133
|
+
data: string;
|
|
1134
|
+
blockNumber: number;
|
|
1135
|
+
};
|
|
1136
|
+
};
|
|
1137
|
+
query: {
|
|
1138
|
+
name: "SubgraphQuery";
|
|
1139
|
+
params: {
|
|
1140
|
+
chainId: number;
|
|
1141
|
+
timestamp: number;
|
|
1142
|
+
subgraphId: string;
|
|
1143
|
+
query: string;
|
|
1144
|
+
};
|
|
1145
|
+
hash: string;
|
|
1146
|
+
};
|
|
1147
|
+
signature: string;
|
|
1148
|
+
})[];
|
|
1149
|
+
relayer: string;
|
|
1150
|
+
triggerSig: string;
|
|
1151
|
+
triggerType: 0 | 1 | 2;
|
|
1152
|
+
fuelUsed: number;
|
|
1153
|
+
outputsLength: number;
|
|
1154
|
+
validatorAddresses: string[];
|
|
1155
|
+
}, {
|
|
1156
|
+
timestamp: number;
|
|
1157
|
+
hash: string;
|
|
1158
|
+
inputs: ({
|
|
1159
|
+
result: {
|
|
1160
|
+
value: string;
|
|
1161
|
+
};
|
|
1162
|
+
query: {
|
|
1163
|
+
name: "EvmCallQuery";
|
|
1164
|
+
params: {
|
|
1165
|
+
data: string;
|
|
1166
|
+
chainId: number;
|
|
1167
|
+
to: string;
|
|
1168
|
+
timestamp: number;
|
|
1169
|
+
};
|
|
1170
|
+
hash: string;
|
|
1171
|
+
};
|
|
1172
|
+
signature: string;
|
|
1173
|
+
} | {
|
|
1174
|
+
result: {
|
|
1175
|
+
value: {
|
|
1176
|
+
accountsInfo: {
|
|
1177
|
+
data: string;
|
|
1178
|
+
executable: boolean;
|
|
1179
|
+
owner: string;
|
|
1180
|
+
lamports: string;
|
|
1181
|
+
rentEpoch: string;
|
|
1182
|
+
}[];
|
|
1183
|
+
slot: string;
|
|
1184
|
+
};
|
|
1185
|
+
};
|
|
1186
|
+
query: {
|
|
1187
|
+
name: "SvmAccountsInfoQuery";
|
|
1188
|
+
params: {
|
|
1189
|
+
timestamp: number;
|
|
1190
|
+
publicKeys: string[];
|
|
1191
|
+
};
|
|
1192
|
+
hash: string;
|
|
1193
|
+
};
|
|
1194
|
+
signature: string;
|
|
1195
|
+
} | {
|
|
1196
|
+
result: {
|
|
1197
|
+
value: string;
|
|
1198
|
+
};
|
|
1199
|
+
query: {
|
|
1200
|
+
name: "TokenPriceQuery";
|
|
1201
|
+
params: {
|
|
1202
|
+
token: {
|
|
1203
|
+
address: string;
|
|
1204
|
+
chainId: number;
|
|
1205
|
+
};
|
|
1206
|
+
timestamp: number;
|
|
1207
|
+
};
|
|
1208
|
+
hash: string;
|
|
1209
|
+
};
|
|
1210
|
+
signature: string;
|
|
1211
|
+
} | {
|
|
1212
|
+
result: {
|
|
1213
|
+
value: {
|
|
1214
|
+
timestamp: number;
|
|
1215
|
+
balances: {
|
|
1216
|
+
token: {
|
|
1217
|
+
address: string;
|
|
1218
|
+
chainId: number;
|
|
1219
|
+
};
|
|
1220
|
+
balance: string;
|
|
1221
|
+
}[];
|
|
1222
|
+
};
|
|
1223
|
+
};
|
|
1224
|
+
query: {
|
|
1225
|
+
name: "RelevantTokensQuery";
|
|
1226
|
+
params: {
|
|
1227
|
+
owner: string;
|
|
1228
|
+
tokens: {
|
|
1229
|
+
address: string;
|
|
1230
|
+
chainId: number;
|
|
1231
|
+
}[];
|
|
1232
|
+
usdMinAmount: string;
|
|
1233
|
+
chainIds: number[];
|
|
1234
|
+
tokenFilter: 0 | 1;
|
|
1235
|
+
};
|
|
1236
|
+
hash: string;
|
|
1237
|
+
};
|
|
1238
|
+
signature: string;
|
|
1239
|
+
} | {
|
|
1240
|
+
result: {
|
|
1241
|
+
value: {
|
|
1242
|
+
data: string;
|
|
1243
|
+
blockNumber: number;
|
|
1244
|
+
};
|
|
1245
|
+
};
|
|
1246
|
+
query: {
|
|
1247
|
+
name: "SubgraphQuery";
|
|
1248
|
+
params: {
|
|
1249
|
+
chainId: number;
|
|
1250
|
+
timestamp: number;
|
|
1251
|
+
subgraphId: string;
|
|
1252
|
+
query: string;
|
|
1253
|
+
};
|
|
1254
|
+
hash: string;
|
|
1255
|
+
};
|
|
1256
|
+
signature: string;
|
|
1257
|
+
})[];
|
|
1258
|
+
relayer: string;
|
|
1259
|
+
triggerSig: string;
|
|
1260
|
+
triggerType: 0 | 1 | 2;
|
|
1261
|
+
fuelUsed: number;
|
|
1262
|
+
outputsLength: number;
|
|
1263
|
+
validatorAddresses: string[];
|
|
1264
|
+
}>;
|
|
1265
|
+
export declare const ExecutionFeeChargeResponseValidator: z.ZodObject<{
|
|
1266
|
+
trigger: z.ZodEffects<z.ZodString, string, string>;
|
|
1267
|
+
relayer: z.ZodEffects<z.ZodString, string, string>;
|
|
1268
|
+
oracles: z.ZodArray<z.ZodObject<{
|
|
1269
|
+
address: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1270
|
+
fee: z.ZodEffects<z.ZodString, string, string>;
|
|
1271
|
+
}, "strip", z.ZodTypeAny, {
|
|
1272
|
+
address: string;
|
|
1273
|
+
fee: string;
|
|
1274
|
+
}, {
|
|
1275
|
+
address: string;
|
|
1276
|
+
fee: string;
|
|
1277
|
+
}>, "many">;
|
|
1278
|
+
validators: z.ZodArray<z.ZodObject<{
|
|
1279
|
+
address: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1280
|
+
fee: z.ZodEffects<z.ZodString, string, string>;
|
|
1281
|
+
}, "strip", z.ZodTypeAny, {
|
|
1282
|
+
address: string;
|
|
1283
|
+
fee: string;
|
|
1284
|
+
}, {
|
|
1285
|
+
address: string;
|
|
1286
|
+
fee: string;
|
|
1287
|
+
}>, "many">;
|
|
1288
|
+
intents: z.ZodEffects<z.ZodString, string, string>;
|
|
1289
|
+
protocol: z.ZodEffects<z.ZodString, string, string>;
|
|
1290
|
+
total: z.ZodEffects<z.ZodString, string, string>;
|
|
1291
|
+
}, "strip", z.ZodTypeAny, {
|
|
1292
|
+
relayer: string;
|
|
1293
|
+
trigger: string;
|
|
1294
|
+
oracles: {
|
|
1295
|
+
address: string;
|
|
1296
|
+
fee: string;
|
|
1297
|
+
}[];
|
|
1298
|
+
validators: {
|
|
1299
|
+
address: string;
|
|
1300
|
+
fee: string;
|
|
1301
|
+
}[];
|
|
1302
|
+
intents: string;
|
|
1303
|
+
protocol: string;
|
|
1304
|
+
total: string;
|
|
1305
|
+
}, {
|
|
1306
|
+
relayer: string;
|
|
1307
|
+
trigger: string;
|
|
1308
|
+
oracles: {
|
|
1309
|
+
address: string;
|
|
1310
|
+
fee: string;
|
|
1311
|
+
}[];
|
|
1312
|
+
validators: {
|
|
1313
|
+
address: string;
|
|
1314
|
+
fee: string;
|
|
1315
|
+
}[];
|
|
1316
|
+
intents: string;
|
|
1317
|
+
protocol: string;
|
|
1318
|
+
total: string;
|
|
1319
|
+
}>;
|
|
1320
|
+
export declare const SolverFeeChargeRequestValidator: z.ZodObject<{
|
|
1321
|
+
triggerSig: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1322
|
+
solver: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1323
|
+
amount: z.ZodEffects<z.ZodString, string, string>;
|
|
1324
|
+
intentHash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1325
|
+
}, "strip", z.ZodTypeAny, {
|
|
1326
|
+
amount: string;
|
|
1327
|
+
solver: string;
|
|
1328
|
+
triggerSig: string;
|
|
1329
|
+
intentHash: string;
|
|
1330
|
+
}, {
|
|
1331
|
+
amount: string;
|
|
1332
|
+
solver: string;
|
|
1333
|
+
triggerSig: string;
|
|
1334
|
+
intentHash: string;
|
|
313
1335
|
}>;
|
|
314
|
-
export declare const
|
|
1336
|
+
export declare const FunctionsGetRequestValidator: z.ZodObject<{
|
|
315
1337
|
cids: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], unknown>>;
|
|
316
1338
|
creator: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
317
1339
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
@@ -327,51 +1349,45 @@ export declare const TasksGetRequestValidator: z.ZodObject<{
|
|
|
327
1349
|
cids?: unknown;
|
|
328
1350
|
creator?: string | undefined;
|
|
329
1351
|
}>;
|
|
330
|
-
export declare const
|
|
1352
|
+
export declare const FunctionValidator: z.ZodObject<{
|
|
331
1353
|
CID: z.ZodEffects<z.ZodString, string, string>;
|
|
332
1354
|
name: z.ZodString;
|
|
333
1355
|
version: z.ZodString;
|
|
334
1356
|
description: z.ZodString;
|
|
335
|
-
creator: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
336
1357
|
createdAt: z.ZodDate;
|
|
337
1358
|
}, "strip", z.ZodTypeAny, {
|
|
338
1359
|
name: string;
|
|
339
|
-
createdAt: Date;
|
|
340
1360
|
version: string;
|
|
341
1361
|
description: string;
|
|
342
|
-
|
|
1362
|
+
createdAt: Date;
|
|
343
1363
|
CID: string;
|
|
344
1364
|
}, {
|
|
345
1365
|
name: string;
|
|
346
|
-
createdAt: Date;
|
|
347
1366
|
version: string;
|
|
348
1367
|
description: string;
|
|
349
|
-
|
|
1368
|
+
createdAt: Date;
|
|
350
1369
|
CID: string;
|
|
351
1370
|
}>;
|
|
352
|
-
export declare const
|
|
1371
|
+
export declare const FunctionsValidator: z.ZodArray<z.ZodObject<{
|
|
353
1372
|
CID: z.ZodEffects<z.ZodString, string, string>;
|
|
354
1373
|
name: z.ZodString;
|
|
355
1374
|
version: z.ZodString;
|
|
356
1375
|
description: z.ZodString;
|
|
357
|
-
creator: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
358
1376
|
createdAt: z.ZodDate;
|
|
359
1377
|
}, "strip", z.ZodTypeAny, {
|
|
360
1378
|
name: string;
|
|
361
|
-
createdAt: Date;
|
|
362
1379
|
version: string;
|
|
363
1380
|
description: string;
|
|
364
|
-
|
|
1381
|
+
createdAt: Date;
|
|
365
1382
|
CID: string;
|
|
366
1383
|
}, {
|
|
367
1384
|
name: string;
|
|
368
|
-
createdAt: Date;
|
|
369
1385
|
version: string;
|
|
370
1386
|
description: string;
|
|
371
|
-
|
|
1387
|
+
createdAt: Date;
|
|
372
1388
|
CID: string;
|
|
373
1389
|
}>, "many">;
|
|
374
|
-
export declare const
|
|
1390
|
+
export declare const FunctionCreateRequestValidator: z.ZodObject<{
|
|
375
1391
|
manifestFile: z.ZodEffects<z.ZodType<File, z.ZodTypeDef, File>, File, File>;
|
|
376
1392
|
wasmFile: z.ZodEffects<z.ZodType<File, z.ZodTypeDef, File>, File, File>;
|
|
377
1393
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -381,10 +1397,11 @@ export declare const TaskCreateRequestValidator: z.ZodObject<{
|
|
|
381
1397
|
manifestFile: File;
|
|
382
1398
|
wasmFile: File;
|
|
383
1399
|
}>;
|
|
384
|
-
export declare const
|
|
385
|
-
export declare const
|
|
386
|
-
export declare const
|
|
387
|
-
export declare const
|
|
1400
|
+
export declare const CronTriggerConfigTypeValidator: z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>;
|
|
1401
|
+
export declare const EventTriggerConfigTypeValidator: z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>;
|
|
1402
|
+
export declare const OnceTriggerConfigTypeValidator: z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>;
|
|
1403
|
+
export declare const TriggerConfigTypeValidator: z.ZodUnion<[z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>, z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>, z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>]>;
|
|
1404
|
+
export declare const TriggerTypedDataFieldValidator: z.ZodObject<{
|
|
388
1405
|
name: z.ZodString;
|
|
389
1406
|
type: z.ZodEffects<z.ZodString, string, string>;
|
|
390
1407
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -394,7 +1411,7 @@ export declare const ConfigTypedDataFieldValidator: z.ZodObject<{
|
|
|
394
1411
|
name: string;
|
|
395
1412
|
type: string;
|
|
396
1413
|
}>;
|
|
397
|
-
export declare const
|
|
1414
|
+
export declare const TriggerTypesValidator: z.ZodIntersection<z.ZodObject<{
|
|
398
1415
|
Input: z.ZodArray<z.ZodObject<{
|
|
399
1416
|
name: z.ZodString;
|
|
400
1417
|
type: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -405,25 +1422,34 @@ export declare const ConfigTypesValidator: z.ZodObject<{
|
|
|
405
1422
|
name: string;
|
|
406
1423
|
type: string;
|
|
407
1424
|
}>, "many">;
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
}, "
|
|
1425
|
+
Config: z.ZodUnion<[z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>, z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>, z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>]>;
|
|
1426
|
+
Trigger: z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>;
|
|
1427
|
+
}, "strip", z.ZodTypeAny, {
|
|
411
1428
|
Input: {
|
|
412
1429
|
name: string;
|
|
413
1430
|
type: string;
|
|
414
1431
|
}[];
|
|
415
|
-
Trigger: [any, ...any[]];
|
|
416
1432
|
Config: [any, ...any[]];
|
|
1433
|
+
Trigger: [any, ...any[]];
|
|
417
1434
|
}, {
|
|
418
1435
|
Input: {
|
|
419
1436
|
name: string;
|
|
420
1437
|
type: string;
|
|
421
1438
|
}[];
|
|
422
|
-
Trigger: [any, ...any[]];
|
|
423
1439
|
Config: [any, ...any[]];
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
1440
|
+
Trigger: [any, ...any[]];
|
|
1441
|
+
}>, z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
1442
|
+
name: z.ZodString;
|
|
1443
|
+
type: z.ZodString;
|
|
1444
|
+
}, "strip", z.ZodTypeAny, {
|
|
1445
|
+
name: string;
|
|
1446
|
+
type: string;
|
|
1447
|
+
}, {
|
|
1448
|
+
name: string;
|
|
1449
|
+
type: string;
|
|
1450
|
+
}>, "many">>>;
|
|
1451
|
+
export declare const TriggerTypedDataValidator: z.ZodObject<{
|
|
1452
|
+
types: z.ZodIntersection<z.ZodObject<{
|
|
427
1453
|
Input: z.ZodArray<z.ZodObject<{
|
|
428
1454
|
name: z.ZodString;
|
|
429
1455
|
type: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -434,161 +1460,252 @@ export declare const ConfigTypedDataValidator: z.ZodObject<{
|
|
|
434
1460
|
name: string;
|
|
435
1461
|
type: string;
|
|
436
1462
|
}>, "many">;
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
}, "
|
|
1463
|
+
Config: z.ZodUnion<[z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>, z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>, z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>]>;
|
|
1464
|
+
Trigger: z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>;
|
|
1465
|
+
}, "strip", z.ZodTypeAny, {
|
|
440
1466
|
Input: {
|
|
441
1467
|
name: string;
|
|
442
1468
|
type: string;
|
|
443
1469
|
}[];
|
|
444
|
-
Trigger: [any, ...any[]];
|
|
445
1470
|
Config: [any, ...any[]];
|
|
1471
|
+
Trigger: [any, ...any[]];
|
|
446
1472
|
}, {
|
|
447
1473
|
Input: {
|
|
448
1474
|
name: string;
|
|
449
1475
|
type: string;
|
|
450
1476
|
}[];
|
|
451
|
-
Trigger: [any, ...any[]];
|
|
452
1477
|
Config: [any, ...any[]];
|
|
453
|
-
|
|
1478
|
+
Trigger: [any, ...any[]];
|
|
1479
|
+
}>, z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
1480
|
+
name: z.ZodString;
|
|
1481
|
+
type: z.ZodString;
|
|
1482
|
+
}, "strip", z.ZodTypeAny, {
|
|
1483
|
+
name: string;
|
|
1484
|
+
type: string;
|
|
1485
|
+
}, {
|
|
1486
|
+
name: string;
|
|
1487
|
+
type: string;
|
|
1488
|
+
}>, "many">>>;
|
|
454
1489
|
values: z.ZodObject<{
|
|
455
|
-
|
|
1490
|
+
functionCid: z.ZodEffects<z.ZodString, string, string>;
|
|
456
1491
|
version: z.ZodEffects<z.ZodString, string, string>;
|
|
457
1492
|
input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
458
|
-
|
|
459
|
-
type: z.ZodLiteral<
|
|
1493
|
+
config: z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1494
|
+
type: z.ZodLiteral<1>;
|
|
460
1495
|
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
461
|
-
contract: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
462
|
-
|
|
1496
|
+
contract: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodLiteral<"any">]>;
|
|
1497
|
+
topics: z.ZodArray<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">, "many">;
|
|
463
1498
|
delta: z.ZodEffects<z.ZodString, string, string>;
|
|
1499
|
+
endDate: z.ZodNumber;
|
|
464
1500
|
}, "strict", z.ZodTypeAny, {
|
|
1501
|
+
type: 1;
|
|
465
1502
|
chainId: number;
|
|
466
|
-
type: TriggerType.Event;
|
|
467
|
-
contract: string;
|
|
468
1503
|
delta: string;
|
|
469
|
-
|
|
1504
|
+
endDate: number;
|
|
1505
|
+
contract: string;
|
|
1506
|
+
topics: string[][];
|
|
470
1507
|
}, {
|
|
1508
|
+
type: 1;
|
|
471
1509
|
chainId: number;
|
|
472
|
-
type: TriggerType.Event;
|
|
473
|
-
contract: string;
|
|
474
1510
|
delta: string;
|
|
475
|
-
|
|
1511
|
+
endDate: number;
|
|
1512
|
+
contract: string;
|
|
1513
|
+
topics: string[][];
|
|
476
1514
|
}>, z.ZodObject<{
|
|
477
|
-
type: z.ZodLiteral<
|
|
1515
|
+
type: z.ZodLiteral<0>;
|
|
478
1516
|
schedule: z.ZodEffects<z.ZodString, string, string>;
|
|
479
1517
|
delta: z.ZodEffects<z.ZodString, string, string>;
|
|
480
1518
|
endDate: z.ZodNumber;
|
|
481
1519
|
}, "strict", z.ZodTypeAny, {
|
|
482
|
-
type:
|
|
1520
|
+
type: 0;
|
|
1521
|
+
schedule: string;
|
|
1522
|
+
delta: string;
|
|
1523
|
+
endDate: number;
|
|
1524
|
+
}, {
|
|
1525
|
+
type: 0;
|
|
1526
|
+
schedule: string;
|
|
1527
|
+
delta: string;
|
|
1528
|
+
endDate: number;
|
|
1529
|
+
}>, z.ZodObject<{
|
|
1530
|
+
type: z.ZodLiteral<2>;
|
|
1531
|
+
startDate: z.ZodNumber;
|
|
1532
|
+
delta: z.ZodEffects<z.ZodString, string, string>;
|
|
1533
|
+
endDate: z.ZodNumber;
|
|
1534
|
+
}, "strip", z.ZodTypeAny, {
|
|
1535
|
+
type: 2;
|
|
1536
|
+
delta: string;
|
|
1537
|
+
endDate: number;
|
|
1538
|
+
startDate: number;
|
|
1539
|
+
}, {
|
|
1540
|
+
type: 2;
|
|
1541
|
+
delta: string;
|
|
1542
|
+
endDate: number;
|
|
1543
|
+
startDate: number;
|
|
1544
|
+
}>]>, {
|
|
1545
|
+
type: 0;
|
|
483
1546
|
schedule: string;
|
|
484
1547
|
delta: string;
|
|
485
1548
|
endDate: number;
|
|
1549
|
+
} | {
|
|
1550
|
+
type: 1;
|
|
1551
|
+
chainId: number;
|
|
1552
|
+
delta: string;
|
|
1553
|
+
endDate: number;
|
|
1554
|
+
contract: string;
|
|
1555
|
+
topics: string[][];
|
|
1556
|
+
} | {
|
|
1557
|
+
type: 2;
|
|
1558
|
+
delta: string;
|
|
1559
|
+
endDate: number;
|
|
1560
|
+
startDate: number;
|
|
486
1561
|
}, {
|
|
487
|
-
type:
|
|
1562
|
+
type: 0;
|
|
488
1563
|
schedule: string;
|
|
489
1564
|
delta: string;
|
|
490
1565
|
endDate: number;
|
|
491
|
-
}
|
|
1566
|
+
} | {
|
|
1567
|
+
type: 1;
|
|
1568
|
+
chainId: number;
|
|
1569
|
+
delta: string;
|
|
1570
|
+
endDate: number;
|
|
1571
|
+
contract: string;
|
|
1572
|
+
topics: string[][];
|
|
1573
|
+
} | {
|
|
1574
|
+
type: 2;
|
|
1575
|
+
delta: string;
|
|
1576
|
+
endDate: number;
|
|
1577
|
+
startDate: number;
|
|
1578
|
+
}>;
|
|
492
1579
|
executionFeeLimit: z.ZodEffects<z.ZodString, string, string>;
|
|
493
|
-
minValidations: z.
|
|
1580
|
+
minValidations: z.ZodNumber;
|
|
494
1581
|
}, "strict", z.ZodTypeAny, {
|
|
1582
|
+
minValidations: number;
|
|
495
1583
|
version: string;
|
|
496
|
-
|
|
497
|
-
|
|
1584
|
+
functionCid: string;
|
|
1585
|
+
input: Record<string, unknown>;
|
|
1586
|
+
config: {
|
|
1587
|
+
type: 0;
|
|
498
1588
|
schedule: string;
|
|
499
1589
|
delta: string;
|
|
500
1590
|
endDate: number;
|
|
501
1591
|
} | {
|
|
1592
|
+
type: 1;
|
|
502
1593
|
chainId: number;
|
|
503
|
-
|
|
1594
|
+
delta: string;
|
|
1595
|
+
endDate: number;
|
|
504
1596
|
contract: string;
|
|
1597
|
+
topics: string[][];
|
|
1598
|
+
} | {
|
|
1599
|
+
type: 2;
|
|
505
1600
|
delta: string;
|
|
506
|
-
|
|
1601
|
+
endDate: number;
|
|
1602
|
+
startDate: number;
|
|
507
1603
|
};
|
|
508
|
-
taskCid: string;
|
|
509
|
-
input: Record<string, unknown>;
|
|
510
1604
|
executionFeeLimit: string;
|
|
511
|
-
minValidations: string;
|
|
512
1605
|
}, {
|
|
1606
|
+
minValidations: number;
|
|
513
1607
|
version: string;
|
|
514
|
-
|
|
515
|
-
|
|
1608
|
+
functionCid: string;
|
|
1609
|
+
input: Record<string, unknown>;
|
|
1610
|
+
config: {
|
|
1611
|
+
type: 0;
|
|
516
1612
|
schedule: string;
|
|
517
1613
|
delta: string;
|
|
518
1614
|
endDate: number;
|
|
519
1615
|
} | {
|
|
1616
|
+
type: 1;
|
|
520
1617
|
chainId: number;
|
|
521
|
-
|
|
1618
|
+
delta: string;
|
|
1619
|
+
endDate: number;
|
|
522
1620
|
contract: string;
|
|
1621
|
+
topics: string[][];
|
|
1622
|
+
} | {
|
|
1623
|
+
type: 2;
|
|
523
1624
|
delta: string;
|
|
524
|
-
|
|
1625
|
+
endDate: number;
|
|
1626
|
+
startDate: number;
|
|
525
1627
|
};
|
|
526
|
-
taskCid: string;
|
|
527
|
-
input: Record<string, unknown>;
|
|
528
1628
|
executionFeeLimit: string;
|
|
529
|
-
minValidations: string;
|
|
530
1629
|
}>;
|
|
531
1630
|
}, "strip", z.ZodTypeAny, {
|
|
532
1631
|
values: {
|
|
1632
|
+
minValidations: number;
|
|
533
1633
|
version: string;
|
|
534
|
-
|
|
535
|
-
|
|
1634
|
+
functionCid: string;
|
|
1635
|
+
input: Record<string, unknown>;
|
|
1636
|
+
config: {
|
|
1637
|
+
type: 0;
|
|
536
1638
|
schedule: string;
|
|
537
1639
|
delta: string;
|
|
538
1640
|
endDate: number;
|
|
539
1641
|
} | {
|
|
1642
|
+
type: 1;
|
|
540
1643
|
chainId: number;
|
|
541
|
-
|
|
1644
|
+
delta: string;
|
|
1645
|
+
endDate: number;
|
|
542
1646
|
contract: string;
|
|
1647
|
+
topics: string[][];
|
|
1648
|
+
} | {
|
|
1649
|
+
type: 2;
|
|
543
1650
|
delta: string;
|
|
544
|
-
|
|
1651
|
+
endDate: number;
|
|
1652
|
+
startDate: number;
|
|
545
1653
|
};
|
|
546
|
-
taskCid: string;
|
|
547
|
-
input: Record<string, unknown>;
|
|
548
1654
|
executionFeeLimit: string;
|
|
549
|
-
minValidations: string;
|
|
550
1655
|
};
|
|
551
1656
|
types: {
|
|
552
1657
|
Input: {
|
|
553
1658
|
name: string;
|
|
554
1659
|
type: string;
|
|
555
1660
|
}[];
|
|
556
|
-
Trigger: [any, ...any[]];
|
|
557
1661
|
Config: [any, ...any[]];
|
|
558
|
-
|
|
1662
|
+
Trigger: [any, ...any[]];
|
|
1663
|
+
} & Record<string, {
|
|
1664
|
+
name: string;
|
|
1665
|
+
type: string;
|
|
1666
|
+
}[]>;
|
|
559
1667
|
}, {
|
|
560
1668
|
values: {
|
|
1669
|
+
minValidations: number;
|
|
561
1670
|
version: string;
|
|
562
|
-
|
|
563
|
-
|
|
1671
|
+
functionCid: string;
|
|
1672
|
+
input: Record<string, unknown>;
|
|
1673
|
+
config: {
|
|
1674
|
+
type: 0;
|
|
564
1675
|
schedule: string;
|
|
565
1676
|
delta: string;
|
|
566
1677
|
endDate: number;
|
|
567
1678
|
} | {
|
|
1679
|
+
type: 1;
|
|
568
1680
|
chainId: number;
|
|
569
|
-
|
|
1681
|
+
delta: string;
|
|
1682
|
+
endDate: number;
|
|
570
1683
|
contract: string;
|
|
1684
|
+
topics: string[][];
|
|
1685
|
+
} | {
|
|
1686
|
+
type: 2;
|
|
571
1687
|
delta: string;
|
|
572
|
-
|
|
1688
|
+
endDate: number;
|
|
1689
|
+
startDate: number;
|
|
573
1690
|
};
|
|
574
|
-
taskCid: string;
|
|
575
|
-
input: Record<string, unknown>;
|
|
576
1691
|
executionFeeLimit: string;
|
|
577
|
-
minValidations: string;
|
|
578
1692
|
};
|
|
579
1693
|
types: {
|
|
580
1694
|
Input: {
|
|
581
1695
|
name: string;
|
|
582
1696
|
type: string;
|
|
583
1697
|
}[];
|
|
584
|
-
Trigger: [any, ...any[]];
|
|
585
1698
|
Config: [any, ...any[]];
|
|
586
|
-
|
|
1699
|
+
Trigger: [any, ...any[]];
|
|
1700
|
+
} & Record<string, {
|
|
1701
|
+
name: string;
|
|
1702
|
+
type: string;
|
|
1703
|
+
}[]>;
|
|
587
1704
|
}>;
|
|
588
|
-
export declare const
|
|
1705
|
+
export declare const TriggerCreateRequestValidator: z.ZodObject<{
|
|
589
1706
|
description: z.ZodString;
|
|
590
1707
|
typedData: z.ZodObject<{
|
|
591
|
-
types: z.ZodObject<{
|
|
1708
|
+
types: z.ZodIntersection<z.ZodObject<{
|
|
592
1709
|
Input: z.ZodArray<z.ZodObject<{
|
|
593
1710
|
name: z.ZodString;
|
|
594
1711
|
type: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -599,189 +1716,289 @@ export declare const ConfigCreateRequestValidator: z.ZodObject<{
|
|
|
599
1716
|
name: string;
|
|
600
1717
|
type: string;
|
|
601
1718
|
}>, "many">;
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
}, "
|
|
1719
|
+
Config: z.ZodUnion<[z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>, z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>, z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>]>;
|
|
1720
|
+
Trigger: z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>;
|
|
1721
|
+
}, "strip", z.ZodTypeAny, {
|
|
605
1722
|
Input: {
|
|
606
1723
|
name: string;
|
|
607
1724
|
type: string;
|
|
608
1725
|
}[];
|
|
609
|
-
Trigger: [any, ...any[]];
|
|
610
1726
|
Config: [any, ...any[]];
|
|
1727
|
+
Trigger: [any, ...any[]];
|
|
611
1728
|
}, {
|
|
612
1729
|
Input: {
|
|
613
1730
|
name: string;
|
|
614
1731
|
type: string;
|
|
615
1732
|
}[];
|
|
616
|
-
Trigger: [any, ...any[]];
|
|
617
1733
|
Config: [any, ...any[]];
|
|
618
|
-
|
|
1734
|
+
Trigger: [any, ...any[]];
|
|
1735
|
+
}>, z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
1736
|
+
name: z.ZodString;
|
|
1737
|
+
type: z.ZodString;
|
|
1738
|
+
}, "strip", z.ZodTypeAny, {
|
|
1739
|
+
name: string;
|
|
1740
|
+
type: string;
|
|
1741
|
+
}, {
|
|
1742
|
+
name: string;
|
|
1743
|
+
type: string;
|
|
1744
|
+
}>, "many">>>;
|
|
619
1745
|
values: z.ZodObject<{
|
|
620
|
-
|
|
1746
|
+
functionCid: z.ZodEffects<z.ZodString, string, string>;
|
|
621
1747
|
version: z.ZodEffects<z.ZodString, string, string>;
|
|
622
1748
|
input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
623
|
-
|
|
624
|
-
type: z.ZodLiteral<
|
|
1749
|
+
config: z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1750
|
+
type: z.ZodLiteral<1>;
|
|
625
1751
|
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
626
|
-
contract: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
627
|
-
|
|
1752
|
+
contract: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodLiteral<"any">]>;
|
|
1753
|
+
topics: z.ZodArray<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">, "many">;
|
|
628
1754
|
delta: z.ZodEffects<z.ZodString, string, string>;
|
|
1755
|
+
endDate: z.ZodNumber;
|
|
629
1756
|
}, "strict", z.ZodTypeAny, {
|
|
1757
|
+
type: 1;
|
|
630
1758
|
chainId: number;
|
|
631
|
-
type: TriggerType.Event;
|
|
632
|
-
contract: string;
|
|
633
1759
|
delta: string;
|
|
634
|
-
|
|
1760
|
+
endDate: number;
|
|
1761
|
+
contract: string;
|
|
1762
|
+
topics: string[][];
|
|
635
1763
|
}, {
|
|
1764
|
+
type: 1;
|
|
636
1765
|
chainId: number;
|
|
637
|
-
type: TriggerType.Event;
|
|
638
|
-
contract: string;
|
|
639
1766
|
delta: string;
|
|
640
|
-
|
|
1767
|
+
endDate: number;
|
|
1768
|
+
contract: string;
|
|
1769
|
+
topics: string[][];
|
|
641
1770
|
}>, z.ZodObject<{
|
|
642
|
-
type: z.ZodLiteral<
|
|
1771
|
+
type: z.ZodLiteral<0>;
|
|
643
1772
|
schedule: z.ZodEffects<z.ZodString, string, string>;
|
|
644
1773
|
delta: z.ZodEffects<z.ZodString, string, string>;
|
|
645
1774
|
endDate: z.ZodNumber;
|
|
646
1775
|
}, "strict", z.ZodTypeAny, {
|
|
647
|
-
type:
|
|
1776
|
+
type: 0;
|
|
1777
|
+
schedule: string;
|
|
1778
|
+
delta: string;
|
|
1779
|
+
endDate: number;
|
|
1780
|
+
}, {
|
|
1781
|
+
type: 0;
|
|
1782
|
+
schedule: string;
|
|
1783
|
+
delta: string;
|
|
1784
|
+
endDate: number;
|
|
1785
|
+
}>, z.ZodObject<{
|
|
1786
|
+
type: z.ZodLiteral<2>;
|
|
1787
|
+
startDate: z.ZodNumber;
|
|
1788
|
+
delta: z.ZodEffects<z.ZodString, string, string>;
|
|
1789
|
+
endDate: z.ZodNumber;
|
|
1790
|
+
}, "strip", z.ZodTypeAny, {
|
|
1791
|
+
type: 2;
|
|
1792
|
+
delta: string;
|
|
1793
|
+
endDate: number;
|
|
1794
|
+
startDate: number;
|
|
1795
|
+
}, {
|
|
1796
|
+
type: 2;
|
|
1797
|
+
delta: string;
|
|
1798
|
+
endDate: number;
|
|
1799
|
+
startDate: number;
|
|
1800
|
+
}>]>, {
|
|
1801
|
+
type: 0;
|
|
648
1802
|
schedule: string;
|
|
649
1803
|
delta: string;
|
|
650
1804
|
endDate: number;
|
|
1805
|
+
} | {
|
|
1806
|
+
type: 1;
|
|
1807
|
+
chainId: number;
|
|
1808
|
+
delta: string;
|
|
1809
|
+
endDate: number;
|
|
1810
|
+
contract: string;
|
|
1811
|
+
topics: string[][];
|
|
1812
|
+
} | {
|
|
1813
|
+
type: 2;
|
|
1814
|
+
delta: string;
|
|
1815
|
+
endDate: number;
|
|
1816
|
+
startDate: number;
|
|
651
1817
|
}, {
|
|
652
|
-
type:
|
|
1818
|
+
type: 0;
|
|
653
1819
|
schedule: string;
|
|
654
1820
|
delta: string;
|
|
655
1821
|
endDate: number;
|
|
656
|
-
}
|
|
1822
|
+
} | {
|
|
1823
|
+
type: 1;
|
|
1824
|
+
chainId: number;
|
|
1825
|
+
delta: string;
|
|
1826
|
+
endDate: number;
|
|
1827
|
+
contract: string;
|
|
1828
|
+
topics: string[][];
|
|
1829
|
+
} | {
|
|
1830
|
+
type: 2;
|
|
1831
|
+
delta: string;
|
|
1832
|
+
endDate: number;
|
|
1833
|
+
startDate: number;
|
|
1834
|
+
}>;
|
|
657
1835
|
executionFeeLimit: z.ZodEffects<z.ZodString, string, string>;
|
|
658
|
-
minValidations: z.
|
|
1836
|
+
minValidations: z.ZodNumber;
|
|
659
1837
|
}, "strict", z.ZodTypeAny, {
|
|
1838
|
+
minValidations: number;
|
|
660
1839
|
version: string;
|
|
661
|
-
|
|
662
|
-
|
|
1840
|
+
functionCid: string;
|
|
1841
|
+
input: Record<string, unknown>;
|
|
1842
|
+
config: {
|
|
1843
|
+
type: 0;
|
|
663
1844
|
schedule: string;
|
|
664
1845
|
delta: string;
|
|
665
1846
|
endDate: number;
|
|
666
1847
|
} | {
|
|
1848
|
+
type: 1;
|
|
667
1849
|
chainId: number;
|
|
668
|
-
|
|
1850
|
+
delta: string;
|
|
1851
|
+
endDate: number;
|
|
669
1852
|
contract: string;
|
|
1853
|
+
topics: string[][];
|
|
1854
|
+
} | {
|
|
1855
|
+
type: 2;
|
|
670
1856
|
delta: string;
|
|
671
|
-
|
|
1857
|
+
endDate: number;
|
|
1858
|
+
startDate: number;
|
|
672
1859
|
};
|
|
673
|
-
taskCid: string;
|
|
674
|
-
input: Record<string, unknown>;
|
|
675
1860
|
executionFeeLimit: string;
|
|
676
|
-
minValidations: string;
|
|
677
1861
|
}, {
|
|
1862
|
+
minValidations: number;
|
|
678
1863
|
version: string;
|
|
679
|
-
|
|
680
|
-
|
|
1864
|
+
functionCid: string;
|
|
1865
|
+
input: Record<string, unknown>;
|
|
1866
|
+
config: {
|
|
1867
|
+
type: 0;
|
|
681
1868
|
schedule: string;
|
|
682
1869
|
delta: string;
|
|
683
1870
|
endDate: number;
|
|
684
1871
|
} | {
|
|
1872
|
+
type: 1;
|
|
685
1873
|
chainId: number;
|
|
686
|
-
|
|
1874
|
+
delta: string;
|
|
1875
|
+
endDate: number;
|
|
687
1876
|
contract: string;
|
|
1877
|
+
topics: string[][];
|
|
1878
|
+
} | {
|
|
1879
|
+
type: 2;
|
|
688
1880
|
delta: string;
|
|
689
|
-
|
|
1881
|
+
endDate: number;
|
|
1882
|
+
startDate: number;
|
|
690
1883
|
};
|
|
691
|
-
taskCid: string;
|
|
692
|
-
input: Record<string, unknown>;
|
|
693
1884
|
executionFeeLimit: string;
|
|
694
|
-
minValidations: string;
|
|
695
1885
|
}>;
|
|
696
1886
|
}, "strip", z.ZodTypeAny, {
|
|
697
1887
|
values: {
|
|
1888
|
+
minValidations: number;
|
|
698
1889
|
version: string;
|
|
699
|
-
|
|
700
|
-
|
|
1890
|
+
functionCid: string;
|
|
1891
|
+
input: Record<string, unknown>;
|
|
1892
|
+
config: {
|
|
1893
|
+
type: 0;
|
|
701
1894
|
schedule: string;
|
|
702
1895
|
delta: string;
|
|
703
1896
|
endDate: number;
|
|
704
1897
|
} | {
|
|
1898
|
+
type: 1;
|
|
705
1899
|
chainId: number;
|
|
706
|
-
|
|
1900
|
+
delta: string;
|
|
1901
|
+
endDate: number;
|
|
707
1902
|
contract: string;
|
|
1903
|
+
topics: string[][];
|
|
1904
|
+
} | {
|
|
1905
|
+
type: 2;
|
|
708
1906
|
delta: string;
|
|
709
|
-
|
|
1907
|
+
endDate: number;
|
|
1908
|
+
startDate: number;
|
|
710
1909
|
};
|
|
711
|
-
taskCid: string;
|
|
712
|
-
input: Record<string, unknown>;
|
|
713
1910
|
executionFeeLimit: string;
|
|
714
|
-
minValidations: string;
|
|
715
1911
|
};
|
|
716
1912
|
types: {
|
|
717
1913
|
Input: {
|
|
718
1914
|
name: string;
|
|
719
1915
|
type: string;
|
|
720
1916
|
}[];
|
|
721
|
-
Trigger: [any, ...any[]];
|
|
722
1917
|
Config: [any, ...any[]];
|
|
723
|
-
|
|
1918
|
+
Trigger: [any, ...any[]];
|
|
1919
|
+
} & Record<string, {
|
|
1920
|
+
name: string;
|
|
1921
|
+
type: string;
|
|
1922
|
+
}[]>;
|
|
724
1923
|
}, {
|
|
725
1924
|
values: {
|
|
1925
|
+
minValidations: number;
|
|
726
1926
|
version: string;
|
|
727
|
-
|
|
728
|
-
|
|
1927
|
+
functionCid: string;
|
|
1928
|
+
input: Record<string, unknown>;
|
|
1929
|
+
config: {
|
|
1930
|
+
type: 0;
|
|
729
1931
|
schedule: string;
|
|
730
1932
|
delta: string;
|
|
731
1933
|
endDate: number;
|
|
732
1934
|
} | {
|
|
1935
|
+
type: 1;
|
|
733
1936
|
chainId: number;
|
|
734
|
-
|
|
1937
|
+
delta: string;
|
|
1938
|
+
endDate: number;
|
|
735
1939
|
contract: string;
|
|
1940
|
+
topics: string[][];
|
|
1941
|
+
} | {
|
|
1942
|
+
type: 2;
|
|
736
1943
|
delta: string;
|
|
737
|
-
|
|
1944
|
+
endDate: number;
|
|
1945
|
+
startDate: number;
|
|
738
1946
|
};
|
|
739
|
-
taskCid: string;
|
|
740
|
-
input: Record<string, unknown>;
|
|
741
1947
|
executionFeeLimit: string;
|
|
742
|
-
minValidations: string;
|
|
743
1948
|
};
|
|
744
1949
|
types: {
|
|
745
1950
|
Input: {
|
|
746
1951
|
name: string;
|
|
747
1952
|
type: string;
|
|
748
1953
|
}[];
|
|
749
|
-
Trigger: [any, ...any[]];
|
|
750
1954
|
Config: [any, ...any[]];
|
|
751
|
-
|
|
1955
|
+
Trigger: [any, ...any[]];
|
|
1956
|
+
} & Record<string, {
|
|
1957
|
+
name: string;
|
|
1958
|
+
type: string;
|
|
1959
|
+
}[]>;
|
|
752
1960
|
}>;
|
|
753
1961
|
sig: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
754
|
-
signer: z.ZodEffects<z.
|
|
1962
|
+
signer: z.ZodEffects<z.ZodString, string, string>;
|
|
755
1963
|
}, "strip", z.ZodTypeAny, {
|
|
756
1964
|
description: string;
|
|
757
1965
|
typedData: {
|
|
758
1966
|
values: {
|
|
1967
|
+
minValidations: number;
|
|
759
1968
|
version: string;
|
|
760
|
-
|
|
761
|
-
|
|
1969
|
+
functionCid: string;
|
|
1970
|
+
input: Record<string, unknown>;
|
|
1971
|
+
config: {
|
|
1972
|
+
type: 0;
|
|
762
1973
|
schedule: string;
|
|
763
1974
|
delta: string;
|
|
764
1975
|
endDate: number;
|
|
765
1976
|
} | {
|
|
1977
|
+
type: 1;
|
|
766
1978
|
chainId: number;
|
|
767
|
-
|
|
1979
|
+
delta: string;
|
|
1980
|
+
endDate: number;
|
|
768
1981
|
contract: string;
|
|
1982
|
+
topics: string[][];
|
|
1983
|
+
} | {
|
|
1984
|
+
type: 2;
|
|
769
1985
|
delta: string;
|
|
770
|
-
|
|
1986
|
+
endDate: number;
|
|
1987
|
+
startDate: number;
|
|
771
1988
|
};
|
|
772
|
-
taskCid: string;
|
|
773
|
-
input: Record<string, unknown>;
|
|
774
1989
|
executionFeeLimit: string;
|
|
775
|
-
minValidations: string;
|
|
776
1990
|
};
|
|
777
1991
|
types: {
|
|
778
1992
|
Input: {
|
|
779
1993
|
name: string;
|
|
780
1994
|
type: string;
|
|
781
1995
|
}[];
|
|
782
|
-
Trigger: [any, ...any[]];
|
|
783
1996
|
Config: [any, ...any[]];
|
|
784
|
-
|
|
1997
|
+
Trigger: [any, ...any[]];
|
|
1998
|
+
} & Record<string, {
|
|
1999
|
+
name: string;
|
|
2000
|
+
type: string;
|
|
2001
|
+
}[]>;
|
|
785
2002
|
};
|
|
786
2003
|
sig: string;
|
|
787
2004
|
signer: string;
|
|
@@ -789,113 +2006,177 @@ export declare const ConfigCreateRequestValidator: z.ZodObject<{
|
|
|
789
2006
|
description: string;
|
|
790
2007
|
typedData: {
|
|
791
2008
|
values: {
|
|
2009
|
+
minValidations: number;
|
|
792
2010
|
version: string;
|
|
793
|
-
|
|
794
|
-
|
|
2011
|
+
functionCid: string;
|
|
2012
|
+
input: Record<string, unknown>;
|
|
2013
|
+
config: {
|
|
2014
|
+
type: 0;
|
|
795
2015
|
schedule: string;
|
|
796
2016
|
delta: string;
|
|
797
2017
|
endDate: number;
|
|
798
2018
|
} | {
|
|
2019
|
+
type: 1;
|
|
799
2020
|
chainId: number;
|
|
800
|
-
|
|
2021
|
+
delta: string;
|
|
2022
|
+
endDate: number;
|
|
801
2023
|
contract: string;
|
|
2024
|
+
topics: string[][];
|
|
2025
|
+
} | {
|
|
2026
|
+
type: 2;
|
|
802
2027
|
delta: string;
|
|
803
|
-
|
|
2028
|
+
endDate: number;
|
|
2029
|
+
startDate: number;
|
|
804
2030
|
};
|
|
805
|
-
taskCid: string;
|
|
806
|
-
input: Record<string, unknown>;
|
|
807
2031
|
executionFeeLimit: string;
|
|
808
|
-
minValidations: string;
|
|
809
2032
|
};
|
|
810
2033
|
types: {
|
|
811
2034
|
Input: {
|
|
812
2035
|
name: string;
|
|
813
2036
|
type: string;
|
|
814
2037
|
}[];
|
|
815
|
-
Trigger: [any, ...any[]];
|
|
816
2038
|
Config: [any, ...any[]];
|
|
817
|
-
|
|
2039
|
+
Trigger: [any, ...any[]];
|
|
2040
|
+
} & Record<string, {
|
|
2041
|
+
name: string;
|
|
2042
|
+
type: string;
|
|
2043
|
+
}[]>;
|
|
818
2044
|
};
|
|
819
2045
|
sig: string;
|
|
820
2046
|
signer: string;
|
|
821
2047
|
}>;
|
|
822
|
-
export declare const
|
|
2048
|
+
export declare const TriggersGetRequestValidator: z.ZodObject<{
|
|
823
2049
|
sigs: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], unknown>>;
|
|
824
|
-
|
|
2050
|
+
functionCid: z.ZodOptional<z.ZodString>;
|
|
825
2051
|
signer: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
826
2052
|
active: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
|
|
827
2053
|
createdAfter: z.ZodOptional<z.ZodNumber>;
|
|
828
2054
|
createdBefore: z.ZodOptional<z.ZodNumber>;
|
|
829
2055
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
830
2056
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
831
|
-
sort: z.ZodOptional<z.ZodEffects<z.ZodNativeEnum<
|
|
2057
|
+
sort: z.ZodOptional<z.ZodEffects<z.ZodNativeEnum<{
|
|
2058
|
+
readonly asc: 1;
|
|
2059
|
+
readonly desc: -1;
|
|
2060
|
+
}>, 1 | -1, unknown>>;
|
|
832
2061
|
}, "strip", z.ZodTypeAny, {
|
|
833
|
-
sort?:
|
|
2062
|
+
sort?: 1 | -1 | undefined;
|
|
834
2063
|
offset?: number | undefined;
|
|
835
2064
|
limit?: number | undefined;
|
|
836
|
-
|
|
837
|
-
createdBefore?: number | undefined;
|
|
838
|
-
taskCid?: string | undefined;
|
|
2065
|
+
functionCid?: string | undefined;
|
|
839
2066
|
signer?: string | undefined;
|
|
840
2067
|
sigs?: string[] | undefined;
|
|
841
2068
|
active?: boolean | undefined;
|
|
2069
|
+
createdAfter?: number | undefined;
|
|
2070
|
+
createdBefore?: number | undefined;
|
|
842
2071
|
}, {
|
|
843
2072
|
sort?: unknown;
|
|
844
2073
|
offset?: number | undefined;
|
|
845
2074
|
limit?: number | undefined;
|
|
846
|
-
|
|
847
|
-
createdBefore?: number | undefined;
|
|
848
|
-
taskCid?: string | undefined;
|
|
2075
|
+
functionCid?: string | undefined;
|
|
849
2076
|
signer?: string | undefined;
|
|
850
2077
|
sigs?: unknown;
|
|
851
2078
|
active?: unknown;
|
|
2079
|
+
createdAfter?: number | undefined;
|
|
2080
|
+
createdBefore?: number | undefined;
|
|
852
2081
|
}>;
|
|
853
|
-
export declare const
|
|
2082
|
+
export declare const TriggerValidator: z.ZodObject<{
|
|
854
2083
|
sig: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
855
|
-
|
|
2084
|
+
functionCid: z.ZodEffects<z.ZodString, string, string>;
|
|
856
2085
|
signer: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
857
2086
|
version: z.ZodEffects<z.ZodString, string, string>;
|
|
858
|
-
active: z.ZodBoolean;
|
|
859
2087
|
description: z.ZodString;
|
|
2088
|
+
deactivateSig: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
860
2089
|
createdAt: z.ZodDate;
|
|
861
2090
|
input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
862
|
-
|
|
863
|
-
type: z.ZodLiteral<
|
|
2091
|
+
config: z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
2092
|
+
type: z.ZodLiteral<1>;
|
|
864
2093
|
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
865
|
-
contract: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
866
|
-
|
|
2094
|
+
contract: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodLiteral<"any">]>;
|
|
2095
|
+
topics: z.ZodArray<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">, "many">;
|
|
867
2096
|
delta: z.ZodEffects<z.ZodString, string, string>;
|
|
2097
|
+
endDate: z.ZodNumber;
|
|
868
2098
|
}, "strict", z.ZodTypeAny, {
|
|
2099
|
+
type: 1;
|
|
869
2100
|
chainId: number;
|
|
870
|
-
type: TriggerType.Event;
|
|
871
|
-
contract: string;
|
|
872
2101
|
delta: string;
|
|
873
|
-
|
|
2102
|
+
endDate: number;
|
|
2103
|
+
contract: string;
|
|
2104
|
+
topics: string[][];
|
|
874
2105
|
}, {
|
|
2106
|
+
type: 1;
|
|
875
2107
|
chainId: number;
|
|
876
|
-
type: TriggerType.Event;
|
|
877
|
-
contract: string;
|
|
878
2108
|
delta: string;
|
|
879
|
-
|
|
2109
|
+
endDate: number;
|
|
2110
|
+
contract: string;
|
|
2111
|
+
topics: string[][];
|
|
880
2112
|
}>, z.ZodObject<{
|
|
881
|
-
type: z.ZodLiteral<
|
|
2113
|
+
type: z.ZodLiteral<0>;
|
|
882
2114
|
schedule: z.ZodEffects<z.ZodString, string, string>;
|
|
883
2115
|
delta: z.ZodEffects<z.ZodString, string, string>;
|
|
884
2116
|
endDate: z.ZodNumber;
|
|
885
2117
|
}, "strict", z.ZodTypeAny, {
|
|
886
|
-
type:
|
|
2118
|
+
type: 0;
|
|
2119
|
+
schedule: string;
|
|
2120
|
+
delta: string;
|
|
2121
|
+
endDate: number;
|
|
2122
|
+
}, {
|
|
2123
|
+
type: 0;
|
|
2124
|
+
schedule: string;
|
|
2125
|
+
delta: string;
|
|
2126
|
+
endDate: number;
|
|
2127
|
+
}>, z.ZodObject<{
|
|
2128
|
+
type: z.ZodLiteral<2>;
|
|
2129
|
+
startDate: z.ZodNumber;
|
|
2130
|
+
delta: z.ZodEffects<z.ZodString, string, string>;
|
|
2131
|
+
endDate: z.ZodNumber;
|
|
2132
|
+
}, "strip", z.ZodTypeAny, {
|
|
2133
|
+
type: 2;
|
|
2134
|
+
delta: string;
|
|
2135
|
+
endDate: number;
|
|
2136
|
+
startDate: number;
|
|
2137
|
+
}, {
|
|
2138
|
+
type: 2;
|
|
2139
|
+
delta: string;
|
|
2140
|
+
endDate: number;
|
|
2141
|
+
startDate: number;
|
|
2142
|
+
}>]>, {
|
|
2143
|
+
type: 0;
|
|
887
2144
|
schedule: string;
|
|
888
2145
|
delta: string;
|
|
889
2146
|
endDate: number;
|
|
2147
|
+
} | {
|
|
2148
|
+
type: 1;
|
|
2149
|
+
chainId: number;
|
|
2150
|
+
delta: string;
|
|
2151
|
+
endDate: number;
|
|
2152
|
+
contract: string;
|
|
2153
|
+
topics: string[][];
|
|
2154
|
+
} | {
|
|
2155
|
+
type: 2;
|
|
2156
|
+
delta: string;
|
|
2157
|
+
endDate: number;
|
|
2158
|
+
startDate: number;
|
|
890
2159
|
}, {
|
|
891
|
-
type:
|
|
2160
|
+
type: 0;
|
|
892
2161
|
schedule: string;
|
|
893
2162
|
delta: string;
|
|
894
2163
|
endDate: number;
|
|
895
|
-
}
|
|
2164
|
+
} | {
|
|
2165
|
+
type: 1;
|
|
2166
|
+
chainId: number;
|
|
2167
|
+
delta: string;
|
|
2168
|
+
endDate: number;
|
|
2169
|
+
contract: string;
|
|
2170
|
+
topics: string[][];
|
|
2171
|
+
} | {
|
|
2172
|
+
type: 2;
|
|
2173
|
+
delta: string;
|
|
2174
|
+
endDate: number;
|
|
2175
|
+
startDate: number;
|
|
2176
|
+
}>;
|
|
896
2177
|
executionFeeLimit: z.ZodEffects<z.ZodString, string, string>;
|
|
897
|
-
minValidations: z.
|
|
898
|
-
types: z.ZodObject<{
|
|
2178
|
+
minValidations: z.ZodNumber;
|
|
2179
|
+
types: z.ZodIntersection<z.ZodObject<{
|
|
899
2180
|
Input: z.ZodArray<z.ZodObject<{
|
|
900
2181
|
name: z.ZodString;
|
|
901
2182
|
type: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -906,132 +2187,214 @@ export declare const ConfigValidator: z.ZodObject<{
|
|
|
906
2187
|
name: string;
|
|
907
2188
|
type: string;
|
|
908
2189
|
}>, "many">;
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
}, "
|
|
2190
|
+
Config: z.ZodUnion<[z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>, z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>, z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>]>;
|
|
2191
|
+
Trigger: z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>;
|
|
2192
|
+
}, "strip", z.ZodTypeAny, {
|
|
912
2193
|
Input: {
|
|
913
2194
|
name: string;
|
|
914
2195
|
type: string;
|
|
915
2196
|
}[];
|
|
916
|
-
Trigger: [any, ...any[]];
|
|
917
2197
|
Config: [any, ...any[]];
|
|
2198
|
+
Trigger: [any, ...any[]];
|
|
918
2199
|
}, {
|
|
919
2200
|
Input: {
|
|
920
2201
|
name: string;
|
|
921
2202
|
type: string;
|
|
922
2203
|
}[];
|
|
923
|
-
Trigger: [any, ...any[]];
|
|
924
2204
|
Config: [any, ...any[]];
|
|
925
|
-
|
|
2205
|
+
Trigger: [any, ...any[]];
|
|
2206
|
+
}>, z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
2207
|
+
name: z.ZodString;
|
|
2208
|
+
type: z.ZodString;
|
|
2209
|
+
}, "strip", z.ZodTypeAny, {
|
|
2210
|
+
name: string;
|
|
2211
|
+
type: string;
|
|
2212
|
+
}, {
|
|
2213
|
+
name: string;
|
|
2214
|
+
type: string;
|
|
2215
|
+
}>, "many">>>;
|
|
2216
|
+
endDate: z.ZodNumber;
|
|
926
2217
|
}, "strip", z.ZodTypeAny, {
|
|
927
|
-
|
|
2218
|
+
minValidations: number;
|
|
928
2219
|
version: string;
|
|
2220
|
+
endDate: number;
|
|
929
2221
|
description: string;
|
|
930
|
-
|
|
931
|
-
|
|
2222
|
+
createdAt: Date;
|
|
2223
|
+
functionCid: string;
|
|
2224
|
+
input: Record<string, unknown>;
|
|
2225
|
+
config: {
|
|
2226
|
+
type: 0;
|
|
932
2227
|
schedule: string;
|
|
933
2228
|
delta: string;
|
|
934
2229
|
endDate: number;
|
|
935
2230
|
} | {
|
|
2231
|
+
type: 1;
|
|
936
2232
|
chainId: number;
|
|
937
|
-
|
|
2233
|
+
delta: string;
|
|
2234
|
+
endDate: number;
|
|
938
2235
|
contract: string;
|
|
2236
|
+
topics: string[][];
|
|
2237
|
+
} | {
|
|
2238
|
+
type: 2;
|
|
939
2239
|
delta: string;
|
|
940
|
-
|
|
2240
|
+
endDate: number;
|
|
2241
|
+
startDate: number;
|
|
941
2242
|
};
|
|
942
|
-
taskCid: string;
|
|
943
|
-
input: Record<string, unknown>;
|
|
944
2243
|
executionFeeLimit: string;
|
|
945
|
-
minValidations: string;
|
|
946
2244
|
types: {
|
|
947
2245
|
Input: {
|
|
948
2246
|
name: string;
|
|
949
2247
|
type: string;
|
|
950
2248
|
}[];
|
|
951
|
-
Trigger: [any, ...any[]];
|
|
952
2249
|
Config: [any, ...any[]];
|
|
953
|
-
|
|
2250
|
+
Trigger: [any, ...any[]];
|
|
2251
|
+
} & Record<string, {
|
|
2252
|
+
name: string;
|
|
2253
|
+
type: string;
|
|
2254
|
+
}[]>;
|
|
954
2255
|
sig: string;
|
|
955
2256
|
signer: string;
|
|
956
|
-
|
|
2257
|
+
deactivateSig?: string | undefined;
|
|
957
2258
|
}, {
|
|
958
|
-
|
|
2259
|
+
minValidations: number;
|
|
959
2260
|
version: string;
|
|
2261
|
+
endDate: number;
|
|
960
2262
|
description: string;
|
|
961
|
-
|
|
962
|
-
|
|
2263
|
+
createdAt: Date;
|
|
2264
|
+
functionCid: string;
|
|
2265
|
+
input: Record<string, unknown>;
|
|
2266
|
+
config: {
|
|
2267
|
+
type: 0;
|
|
963
2268
|
schedule: string;
|
|
964
2269
|
delta: string;
|
|
965
2270
|
endDate: number;
|
|
966
2271
|
} | {
|
|
2272
|
+
type: 1;
|
|
967
2273
|
chainId: number;
|
|
968
|
-
|
|
2274
|
+
delta: string;
|
|
2275
|
+
endDate: number;
|
|
969
2276
|
contract: string;
|
|
2277
|
+
topics: string[][];
|
|
2278
|
+
} | {
|
|
2279
|
+
type: 2;
|
|
970
2280
|
delta: string;
|
|
971
|
-
|
|
2281
|
+
endDate: number;
|
|
2282
|
+
startDate: number;
|
|
972
2283
|
};
|
|
973
|
-
taskCid: string;
|
|
974
|
-
input: Record<string, unknown>;
|
|
975
2284
|
executionFeeLimit: string;
|
|
976
|
-
minValidations: string;
|
|
977
2285
|
types: {
|
|
978
2286
|
Input: {
|
|
979
2287
|
name: string;
|
|
980
2288
|
type: string;
|
|
981
2289
|
}[];
|
|
982
|
-
Trigger: [any, ...any[]];
|
|
983
2290
|
Config: [any, ...any[]];
|
|
984
|
-
|
|
2291
|
+
Trigger: [any, ...any[]];
|
|
2292
|
+
} & Record<string, {
|
|
2293
|
+
name: string;
|
|
2294
|
+
type: string;
|
|
2295
|
+
}[]>;
|
|
985
2296
|
sig: string;
|
|
986
2297
|
signer: string;
|
|
987
|
-
|
|
2298
|
+
deactivateSig?: string | undefined;
|
|
988
2299
|
}>;
|
|
989
|
-
export declare const
|
|
2300
|
+
export declare const TriggersValidator: z.ZodArray<z.ZodObject<{
|
|
990
2301
|
sig: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
991
|
-
|
|
2302
|
+
functionCid: z.ZodEffects<z.ZodString, string, string>;
|
|
992
2303
|
signer: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
993
2304
|
version: z.ZodEffects<z.ZodString, string, string>;
|
|
994
|
-
active: z.ZodBoolean;
|
|
995
2305
|
description: z.ZodString;
|
|
2306
|
+
deactivateSig: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
996
2307
|
createdAt: z.ZodDate;
|
|
997
2308
|
input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
998
|
-
|
|
999
|
-
type: z.ZodLiteral<
|
|
2309
|
+
config: z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
2310
|
+
type: z.ZodLiteral<1>;
|
|
1000
2311
|
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
1001
|
-
contract: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1002
|
-
|
|
2312
|
+
contract: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodLiteral<"any">]>;
|
|
2313
|
+
topics: z.ZodArray<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">, "many">;
|
|
1003
2314
|
delta: z.ZodEffects<z.ZodString, string, string>;
|
|
2315
|
+
endDate: z.ZodNumber;
|
|
1004
2316
|
}, "strict", z.ZodTypeAny, {
|
|
2317
|
+
type: 1;
|
|
1005
2318
|
chainId: number;
|
|
1006
|
-
type: TriggerType.Event;
|
|
1007
|
-
contract: string;
|
|
1008
2319
|
delta: string;
|
|
1009
|
-
|
|
2320
|
+
endDate: number;
|
|
2321
|
+
contract: string;
|
|
2322
|
+
topics: string[][];
|
|
1010
2323
|
}, {
|
|
2324
|
+
type: 1;
|
|
1011
2325
|
chainId: number;
|
|
1012
|
-
type: TriggerType.Event;
|
|
1013
|
-
contract: string;
|
|
1014
2326
|
delta: string;
|
|
1015
|
-
|
|
2327
|
+
endDate: number;
|
|
2328
|
+
contract: string;
|
|
2329
|
+
topics: string[][];
|
|
1016
2330
|
}>, z.ZodObject<{
|
|
1017
|
-
type: z.ZodLiteral<
|
|
2331
|
+
type: z.ZodLiteral<0>;
|
|
1018
2332
|
schedule: z.ZodEffects<z.ZodString, string, string>;
|
|
1019
2333
|
delta: z.ZodEffects<z.ZodString, string, string>;
|
|
1020
2334
|
endDate: z.ZodNumber;
|
|
1021
2335
|
}, "strict", z.ZodTypeAny, {
|
|
1022
|
-
type:
|
|
2336
|
+
type: 0;
|
|
2337
|
+
schedule: string;
|
|
2338
|
+
delta: string;
|
|
2339
|
+
endDate: number;
|
|
2340
|
+
}, {
|
|
2341
|
+
type: 0;
|
|
2342
|
+
schedule: string;
|
|
2343
|
+
delta: string;
|
|
2344
|
+
endDate: number;
|
|
2345
|
+
}>, z.ZodObject<{
|
|
2346
|
+
type: z.ZodLiteral<2>;
|
|
2347
|
+
startDate: z.ZodNumber;
|
|
2348
|
+
delta: z.ZodEffects<z.ZodString, string, string>;
|
|
2349
|
+
endDate: z.ZodNumber;
|
|
2350
|
+
}, "strip", z.ZodTypeAny, {
|
|
2351
|
+
type: 2;
|
|
2352
|
+
delta: string;
|
|
2353
|
+
endDate: number;
|
|
2354
|
+
startDate: number;
|
|
2355
|
+
}, {
|
|
2356
|
+
type: 2;
|
|
2357
|
+
delta: string;
|
|
2358
|
+
endDate: number;
|
|
2359
|
+
startDate: number;
|
|
2360
|
+
}>]>, {
|
|
2361
|
+
type: 0;
|
|
1023
2362
|
schedule: string;
|
|
1024
2363
|
delta: string;
|
|
1025
2364
|
endDate: number;
|
|
2365
|
+
} | {
|
|
2366
|
+
type: 1;
|
|
2367
|
+
chainId: number;
|
|
2368
|
+
delta: string;
|
|
2369
|
+
endDate: number;
|
|
2370
|
+
contract: string;
|
|
2371
|
+
topics: string[][];
|
|
2372
|
+
} | {
|
|
2373
|
+
type: 2;
|
|
2374
|
+
delta: string;
|
|
2375
|
+
endDate: number;
|
|
2376
|
+
startDate: number;
|
|
1026
2377
|
}, {
|
|
1027
|
-
type:
|
|
2378
|
+
type: 0;
|
|
1028
2379
|
schedule: string;
|
|
1029
2380
|
delta: string;
|
|
1030
2381
|
endDate: number;
|
|
1031
|
-
}
|
|
2382
|
+
} | {
|
|
2383
|
+
type: 1;
|
|
2384
|
+
chainId: number;
|
|
2385
|
+
delta: string;
|
|
2386
|
+
endDate: number;
|
|
2387
|
+
contract: string;
|
|
2388
|
+
topics: string[][];
|
|
2389
|
+
} | {
|
|
2390
|
+
type: 2;
|
|
2391
|
+
delta: string;
|
|
2392
|
+
endDate: number;
|
|
2393
|
+
startDate: number;
|
|
2394
|
+
}>;
|
|
1032
2395
|
executionFeeLimit: z.ZodEffects<z.ZodString, string, string>;
|
|
1033
|
-
minValidations: z.
|
|
1034
|
-
types: z.ZodObject<{
|
|
2396
|
+
minValidations: z.ZodNumber;
|
|
2397
|
+
types: z.ZodIntersection<z.ZodObject<{
|
|
1035
2398
|
Input: z.ZodArray<z.ZodObject<{
|
|
1036
2399
|
name: z.ZodString;
|
|
1037
2400
|
type: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -1042,87 +2405,117 @@ export declare const ConfigsValidator: z.ZodArray<z.ZodObject<{
|
|
|
1042
2405
|
name: string;
|
|
1043
2406
|
type: string;
|
|
1044
2407
|
}>, "many">;
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
}, "
|
|
2408
|
+
Config: z.ZodUnion<[z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>, z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>, z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>]>;
|
|
2409
|
+
Trigger: z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>;
|
|
2410
|
+
}, "strip", z.ZodTypeAny, {
|
|
1048
2411
|
Input: {
|
|
1049
2412
|
name: string;
|
|
1050
2413
|
type: string;
|
|
1051
2414
|
}[];
|
|
1052
|
-
Trigger: [any, ...any[]];
|
|
1053
2415
|
Config: [any, ...any[]];
|
|
2416
|
+
Trigger: [any, ...any[]];
|
|
1054
2417
|
}, {
|
|
1055
2418
|
Input: {
|
|
1056
2419
|
name: string;
|
|
1057
2420
|
type: string;
|
|
1058
2421
|
}[];
|
|
1059
|
-
Trigger: [any, ...any[]];
|
|
1060
2422
|
Config: [any, ...any[]];
|
|
1061
|
-
|
|
2423
|
+
Trigger: [any, ...any[]];
|
|
2424
|
+
}>, z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
2425
|
+
name: z.ZodString;
|
|
2426
|
+
type: z.ZodString;
|
|
2427
|
+
}, "strip", z.ZodTypeAny, {
|
|
2428
|
+
name: string;
|
|
2429
|
+
type: string;
|
|
2430
|
+
}, {
|
|
2431
|
+
name: string;
|
|
2432
|
+
type: string;
|
|
2433
|
+
}>, "many">>>;
|
|
2434
|
+
endDate: z.ZodNumber;
|
|
1062
2435
|
}, "strip", z.ZodTypeAny, {
|
|
1063
|
-
|
|
2436
|
+
minValidations: number;
|
|
1064
2437
|
version: string;
|
|
2438
|
+
endDate: number;
|
|
1065
2439
|
description: string;
|
|
1066
|
-
|
|
1067
|
-
|
|
2440
|
+
createdAt: Date;
|
|
2441
|
+
functionCid: string;
|
|
2442
|
+
input: Record<string, unknown>;
|
|
2443
|
+
config: {
|
|
2444
|
+
type: 0;
|
|
1068
2445
|
schedule: string;
|
|
1069
2446
|
delta: string;
|
|
1070
2447
|
endDate: number;
|
|
1071
2448
|
} | {
|
|
2449
|
+
type: 1;
|
|
1072
2450
|
chainId: number;
|
|
1073
|
-
|
|
2451
|
+
delta: string;
|
|
2452
|
+
endDate: number;
|
|
1074
2453
|
contract: string;
|
|
2454
|
+
topics: string[][];
|
|
2455
|
+
} | {
|
|
2456
|
+
type: 2;
|
|
1075
2457
|
delta: string;
|
|
1076
|
-
|
|
2458
|
+
endDate: number;
|
|
2459
|
+
startDate: number;
|
|
1077
2460
|
};
|
|
1078
|
-
taskCid: string;
|
|
1079
|
-
input: Record<string, unknown>;
|
|
1080
2461
|
executionFeeLimit: string;
|
|
1081
|
-
minValidations: string;
|
|
1082
2462
|
types: {
|
|
1083
2463
|
Input: {
|
|
1084
2464
|
name: string;
|
|
1085
2465
|
type: string;
|
|
1086
2466
|
}[];
|
|
1087
|
-
Trigger: [any, ...any[]];
|
|
1088
2467
|
Config: [any, ...any[]];
|
|
1089
|
-
|
|
2468
|
+
Trigger: [any, ...any[]];
|
|
2469
|
+
} & Record<string, {
|
|
2470
|
+
name: string;
|
|
2471
|
+
type: string;
|
|
2472
|
+
}[]>;
|
|
1090
2473
|
sig: string;
|
|
1091
2474
|
signer: string;
|
|
1092
|
-
|
|
2475
|
+
deactivateSig?: string | undefined;
|
|
1093
2476
|
}, {
|
|
1094
|
-
|
|
2477
|
+
minValidations: number;
|
|
1095
2478
|
version: string;
|
|
2479
|
+
endDate: number;
|
|
1096
2480
|
description: string;
|
|
1097
|
-
|
|
1098
|
-
|
|
2481
|
+
createdAt: Date;
|
|
2482
|
+
functionCid: string;
|
|
2483
|
+
input: Record<string, unknown>;
|
|
2484
|
+
config: {
|
|
2485
|
+
type: 0;
|
|
1099
2486
|
schedule: string;
|
|
1100
2487
|
delta: string;
|
|
1101
2488
|
endDate: number;
|
|
1102
2489
|
} | {
|
|
2490
|
+
type: 1;
|
|
1103
2491
|
chainId: number;
|
|
1104
|
-
|
|
2492
|
+
delta: string;
|
|
2493
|
+
endDate: number;
|
|
1105
2494
|
contract: string;
|
|
2495
|
+
topics: string[][];
|
|
2496
|
+
} | {
|
|
2497
|
+
type: 2;
|
|
1106
2498
|
delta: string;
|
|
1107
|
-
|
|
2499
|
+
endDate: number;
|
|
2500
|
+
startDate: number;
|
|
1108
2501
|
};
|
|
1109
|
-
taskCid: string;
|
|
1110
|
-
input: Record<string, unknown>;
|
|
1111
2502
|
executionFeeLimit: string;
|
|
1112
|
-
minValidations: string;
|
|
1113
2503
|
types: {
|
|
1114
2504
|
Input: {
|
|
1115
2505
|
name: string;
|
|
1116
2506
|
type: string;
|
|
1117
2507
|
}[];
|
|
1118
|
-
Trigger: [any, ...any[]];
|
|
1119
2508
|
Config: [any, ...any[]];
|
|
1120
|
-
|
|
2509
|
+
Trigger: [any, ...any[]];
|
|
2510
|
+
} & Record<string, {
|
|
2511
|
+
name: string;
|
|
2512
|
+
type: string;
|
|
2513
|
+
}[]>;
|
|
1121
2514
|
sig: string;
|
|
1122
2515
|
signer: string;
|
|
1123
|
-
|
|
2516
|
+
deactivateSig?: string | undefined;
|
|
1124
2517
|
}>, "many">;
|
|
1125
|
-
export declare const
|
|
2518
|
+
export declare const TriggerDeactivateRequestValidator: z.ZodObject<{
|
|
1126
2519
|
deactivateSig: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1127
2520
|
}, "strip", z.ZodTypeAny, {
|
|
1128
2521
|
deactivateSig: string;
|
|
@@ -1133,113 +2526,70 @@ export declare const OracleValidator: z.ZodObject<{
|
|
|
1133
2526
|
name: z.ZodString;
|
|
1134
2527
|
address: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1135
2528
|
}, "strip", z.ZodTypeAny, {
|
|
1136
|
-
address: string;
|
|
1137
2529
|
name: string;
|
|
1138
|
-
}, {
|
|
1139
2530
|
address: string;
|
|
2531
|
+
}, {
|
|
1140
2532
|
name: string;
|
|
2533
|
+
address: string;
|
|
1141
2534
|
}>;
|
|
1142
2535
|
export declare const RelayerValidator: z.ZodObject<{
|
|
1143
2536
|
name: z.ZodString;
|
|
1144
2537
|
address: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1145
2538
|
}, "strip", z.ZodTypeAny, {
|
|
1146
|
-
address: string;
|
|
1147
2539
|
name: string;
|
|
2540
|
+
address: string;
|
|
1148
2541
|
}, {
|
|
2542
|
+
name: string;
|
|
1149
2543
|
address: string;
|
|
2544
|
+
}>;
|
|
2545
|
+
export declare const UserDataValidator: z.ZodObject<{
|
|
2546
|
+
userAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
2547
|
+
name: z.ZodString;
|
|
2548
|
+
intendedUse: z.ZodString;
|
|
2549
|
+
email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2550
|
+
}, "strip", z.ZodTypeAny, {
|
|
2551
|
+
name: string;
|
|
2552
|
+
userAddress: string;
|
|
2553
|
+
intendedUse: string;
|
|
2554
|
+
email?: string | null | undefined;
|
|
2555
|
+
}, {
|
|
1150
2556
|
name: string;
|
|
2557
|
+
userAddress: string;
|
|
2558
|
+
intendedUse: string;
|
|
2559
|
+
email?: string | null | undefined;
|
|
1151
2560
|
}>;
|
|
1152
|
-
export declare const
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
sort: z.ZodOptional<z.ZodEffects<z.ZodNativeEnum<typeof import("../shared").Sort>, import("../shared").Sort, unknown>>;
|
|
1156
|
-
offset: z.ZodOptional<z.ZodNumber>;
|
|
1157
|
-
limit: z.ZodOptional<z.ZodNumber>;
|
|
2561
|
+
export declare const UserDataUpdateRequestValidator: z.ZodObject<{
|
|
2562
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2563
|
+
intendedUse: z.ZodOptional<z.ZodString>;
|
|
1158
2564
|
}, "strip", z.ZodTypeAny, {
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
limit?: number | undefined;
|
|
1162
|
-
createdAfter?: number | undefined;
|
|
1163
|
-
createdBefore?: number | undefined;
|
|
2565
|
+
name?: string | undefined;
|
|
2566
|
+
intendedUse?: string | undefined;
|
|
1164
2567
|
}, {
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
limit?: number | undefined;
|
|
1168
|
-
createdAfter?: number | undefined;
|
|
1169
|
-
createdBefore?: number | undefined;
|
|
2568
|
+
name?: string | undefined;
|
|
2569
|
+
intendedUse?: string | undefined;
|
|
1170
2570
|
}>;
|
|
1171
|
-
export declare const
|
|
1172
|
-
|
|
1173
|
-
intent: z.ZodNumber;
|
|
1174
|
-
relayerBase: z.ZodNumber;
|
|
1175
|
-
validatorBase: z.ZodNumber;
|
|
1176
|
-
rpcCall: z.ZodNumber;
|
|
1177
|
-
priceQuery: z.ZodNumber;
|
|
1178
|
-
relevantTokensQuery: z.ZodNumber;
|
|
1179
|
-
cronTrigger: z.ZodNumber;
|
|
1180
|
-
eventTrigger: z.ZodNumber;
|
|
1181
|
-
protocolFeePct: z.ZodNumber;
|
|
1182
|
-
createdAt: z.ZodDate;
|
|
2571
|
+
export declare const EmailVerificationCreateRequestValidator: z.ZodObject<{
|
|
2572
|
+
email: z.ZodString;
|
|
1183
2573
|
}, "strip", z.ZodTypeAny, {
|
|
1184
|
-
|
|
1185
|
-
intent: number;
|
|
1186
|
-
fuel: number;
|
|
1187
|
-
relayerBase: number;
|
|
1188
|
-
validatorBase: number;
|
|
1189
|
-
rpcCall: number;
|
|
1190
|
-
priceQuery: number;
|
|
1191
|
-
relevantTokensQuery: number;
|
|
1192
|
-
cronTrigger: number;
|
|
1193
|
-
eventTrigger: number;
|
|
1194
|
-
protocolFeePct: number;
|
|
2574
|
+
email: string;
|
|
1195
2575
|
}, {
|
|
1196
|
-
|
|
1197
|
-
intent: number;
|
|
1198
|
-
fuel: number;
|
|
1199
|
-
relayerBase: number;
|
|
1200
|
-
validatorBase: number;
|
|
1201
|
-
rpcCall: number;
|
|
1202
|
-
priceQuery: number;
|
|
1203
|
-
relevantTokensQuery: number;
|
|
1204
|
-
cronTrigger: number;
|
|
1205
|
-
eventTrigger: number;
|
|
1206
|
-
protocolFeePct: number;
|
|
2576
|
+
email: string;
|
|
1207
2577
|
}>;
|
|
1208
|
-
export declare const
|
|
1209
|
-
|
|
1210
|
-
intent: z.ZodNumber;
|
|
1211
|
-
relayerBase: z.ZodNumber;
|
|
1212
|
-
validatorBase: z.ZodNumber;
|
|
1213
|
-
rpcCall: z.ZodNumber;
|
|
1214
|
-
priceQuery: z.ZodNumber;
|
|
1215
|
-
relevantTokensQuery: z.ZodNumber;
|
|
1216
|
-
cronTrigger: z.ZodNumber;
|
|
1217
|
-
eventTrigger: z.ZodNumber;
|
|
1218
|
-
protocolFeePct: z.ZodNumber;
|
|
1219
|
-
createdAt: z.ZodDate;
|
|
2578
|
+
export declare const EmailVerificationVerifyRequestValidator: z.ZodObject<{
|
|
2579
|
+
otp: z.ZodNumber;
|
|
1220
2580
|
}, "strip", z.ZodTypeAny, {
|
|
1221
|
-
|
|
1222
|
-
intent: number;
|
|
1223
|
-
fuel: number;
|
|
1224
|
-
relayerBase: number;
|
|
1225
|
-
validatorBase: number;
|
|
1226
|
-
rpcCall: number;
|
|
1227
|
-
priceQuery: number;
|
|
1228
|
-
relevantTokensQuery: number;
|
|
1229
|
-
cronTrigger: number;
|
|
1230
|
-
eventTrigger: number;
|
|
1231
|
-
protocolFeePct: number;
|
|
2581
|
+
otp: number;
|
|
1232
2582
|
}, {
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
}
|
|
2583
|
+
otp: number;
|
|
2584
|
+
}>;
|
|
2585
|
+
export declare const EmailVerificationValidator: z.ZodObject<{
|
|
2586
|
+
email: z.ZodString;
|
|
2587
|
+
expiresAt: z.ZodDate;
|
|
2588
|
+
}, "strip", z.ZodTypeAny, {
|
|
2589
|
+
email: string;
|
|
2590
|
+
expiresAt: Date;
|
|
2591
|
+
}, {
|
|
2592
|
+
email: string;
|
|
2593
|
+
expiresAt: Date;
|
|
2594
|
+
}>;
|
|
1245
2595
|
//# sourceMappingURL=validators.d.ts.map
|