@mimicprotocol/sdk 0.0.1-rc.25 → 0.0.1-rc.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/axia/constants.d.ts +36 -31
- package/dist/axia/constants.d.ts.map +1 -1
- package/dist/axia/constants.js +31 -36
- package/dist/axia/constants.js.map +1 -1
- package/dist/axia/validators.d.ts +223 -111
- package/dist/axia/validators.d.ts.map +1 -1
- package/dist/client/domains/ConfigsClient.js +2 -2
- package/dist/client/domains/ConfigsClient.js.map +1 -1
- package/dist/client/domains/IntentsClient.d.ts +9 -9
- package/dist/client/domains/IntentsClient.d.ts.map +1 -1
- package/dist/client/domains/IntentsClient.js +5 -5
- package/dist/client/domains/IntentsClient.js.map +1 -1
- package/dist/oracle/eip712Types.d.ts +5 -5
- package/dist/oracle/eip712Types.d.ts.map +1 -1
- package/dist/oracle/eip712Types.js +10 -9
- package/dist/oracle/eip712Types.js.map +1 -1
- package/dist/oracle/types.d.ts +7 -7
- package/dist/oracle/types.d.ts.map +1 -1
- package/dist/oracle/validators.d.ts +14 -14
- package/dist/oracle/validators.d.ts.map +1 -1
- package/dist/oracle/validators.js +7 -8
- package/dist/oracle/validators.js.map +1 -1
- package/dist/registry/validators.d.ts +85 -71
- package/dist/registry/validators.d.ts.map +1 -1
- package/dist/registry/validators.js +2 -1
- package/dist/registry/validators.js.map +1 -1
- package/dist/relayer/validators.d.ts +114 -69
- package/dist/relayer/validators.d.ts.map +1 -1
- package/dist/runner/validators.d.ts +19 -17
- package/dist/runner/validators.d.ts.map +1 -1
- package/dist/shared/codec/encoder.d.ts +4 -5
- package/dist/shared/codec/encoder.d.ts.map +1 -1
- package/dist/shared/codec/encoder.js +2 -3
- package/dist/shared/codec/encoder.js.map +1 -1
- package/dist/shared/utils/numbers.d.ts +5 -4
- package/dist/shared/utils/numbers.d.ts.map +1 -1
- package/dist/shared/utils/numbers.js +7 -9
- package/dist/shared/utils/numbers.js.map +1 -1
- package/dist/shared/validators/executions.d.ts +23 -13
- package/dist/shared/validators/executions.d.ts.map +1 -1
- package/dist/shared/validators/executions.js +5 -6
- package/dist/shared/validators/executions.js.map +1 -1
- package/dist/shared/validators/intents.d.ts +55 -24
- package/dist/shared/validators/intents.d.ts.map +1 -1
- package/dist/shared/validators/intents.js +7 -8
- package/dist/shared/validators/intents.js.map +1 -1
- package/dist/shared/validators/primitives.d.ts +9 -5
- package/dist/shared/validators/primitives.d.ts.map +1 -1
- package/dist/shared/validators/primitives.js +5 -6
- package/dist/shared/validators/primitives.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { TriggerType } from '../shared';
|
|
3
2
|
export declare const RunExecutionRequestValidator: z.ZodEffects<z.ZodObject<{
|
|
4
3
|
input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
5
4
|
callbackUrl: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -468,7 +467,7 @@ export declare const RunExecutionRequestValidator: z.ZodEffects<z.ZodObject<{
|
|
|
468
467
|
}>, z.ZodObject<{
|
|
469
468
|
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
470
469
|
query: z.ZodObject<{
|
|
471
|
-
name: z.ZodLiteral<"
|
|
470
|
+
name: z.ZodLiteral<"SvmAccountsInfoQuery">;
|
|
472
471
|
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
473
472
|
params: z.ZodObject<{
|
|
474
473
|
publicKeys: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
@@ -485,14 +484,14 @@ export declare const RunExecutionRequestValidator: z.ZodEffects<z.ZodObject<{
|
|
|
485
484
|
timestamp: number;
|
|
486
485
|
publicKeys: string[];
|
|
487
486
|
};
|
|
488
|
-
name: "
|
|
487
|
+
name: "SvmAccountsInfoQuery";
|
|
489
488
|
hash: string;
|
|
490
489
|
}, {
|
|
491
490
|
params: {
|
|
492
491
|
timestamp: number;
|
|
493
492
|
publicKeys: string[];
|
|
494
493
|
};
|
|
495
|
-
name: "
|
|
494
|
+
name: "SvmAccountsInfoQuery";
|
|
496
495
|
hash: string;
|
|
497
496
|
}>;
|
|
498
497
|
result: z.ZodObject<{
|
|
@@ -577,7 +576,7 @@ export declare const RunExecutionRequestValidator: z.ZodEffects<z.ZodObject<{
|
|
|
577
576
|
timestamp: number;
|
|
578
577
|
publicKeys: string[];
|
|
579
578
|
};
|
|
580
|
-
name: "
|
|
579
|
+
name: "SvmAccountsInfoQuery";
|
|
581
580
|
hash: string;
|
|
582
581
|
};
|
|
583
582
|
signature: string;
|
|
@@ -599,7 +598,7 @@ export declare const RunExecutionRequestValidator: z.ZodEffects<z.ZodObject<{
|
|
|
599
598
|
timestamp: number;
|
|
600
599
|
publicKeys: string[];
|
|
601
600
|
};
|
|
602
|
-
name: "
|
|
601
|
+
name: "SvmAccountsInfoQuery";
|
|
603
602
|
hash: string;
|
|
604
603
|
};
|
|
605
604
|
signature: string;
|
|
@@ -607,13 +606,16 @@ export declare const RunExecutionRequestValidator: z.ZodEffects<z.ZodObject<{
|
|
|
607
606
|
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
608
607
|
trigger: z.ZodObject<{
|
|
609
608
|
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
610
|
-
type: z.ZodNativeEnum<
|
|
609
|
+
type: z.ZodNativeEnum<{
|
|
610
|
+
readonly Cron: 0;
|
|
611
|
+
readonly Event: 1;
|
|
612
|
+
}>;
|
|
611
613
|
}, "strip", z.ZodTypeAny, {
|
|
612
614
|
data: string;
|
|
613
|
-
type:
|
|
615
|
+
type: 0 | 1;
|
|
614
616
|
}, {
|
|
615
617
|
data: string;
|
|
616
|
-
type:
|
|
618
|
+
type: 0 | 1;
|
|
617
619
|
}>;
|
|
618
620
|
}, "strip", z.ZodTypeAny, {
|
|
619
621
|
user: string;
|
|
@@ -622,7 +624,7 @@ export declare const RunExecutionRequestValidator: z.ZodEffects<z.ZodObject<{
|
|
|
622
624
|
hash: string;
|
|
623
625
|
trigger: {
|
|
624
626
|
data: string;
|
|
625
|
-
type:
|
|
627
|
+
type: 0 | 1;
|
|
626
628
|
};
|
|
627
629
|
input: Record<string, unknown>;
|
|
628
630
|
callbackUrl: string;
|
|
@@ -661,7 +663,7 @@ export declare const RunExecutionRequestValidator: z.ZodEffects<z.ZodObject<{
|
|
|
661
663
|
timestamp: number;
|
|
662
664
|
publicKeys: string[];
|
|
663
665
|
};
|
|
664
|
-
name: "
|
|
666
|
+
name: "SvmAccountsInfoQuery";
|
|
665
667
|
hash: string;
|
|
666
668
|
};
|
|
667
669
|
signature: string;
|
|
@@ -735,7 +737,7 @@ export declare const RunExecutionRequestValidator: z.ZodEffects<z.ZodObject<{
|
|
|
735
737
|
hash: string;
|
|
736
738
|
trigger: {
|
|
737
739
|
data: string;
|
|
738
|
-
type:
|
|
740
|
+
type: 0 | 1;
|
|
739
741
|
};
|
|
740
742
|
input: Record<string, unknown>;
|
|
741
743
|
callbackUrl: string;
|
|
@@ -774,7 +776,7 @@ export declare const RunExecutionRequestValidator: z.ZodEffects<z.ZodObject<{
|
|
|
774
776
|
timestamp: number;
|
|
775
777
|
publicKeys: string[];
|
|
776
778
|
};
|
|
777
|
-
name: "
|
|
779
|
+
name: "SvmAccountsInfoQuery";
|
|
778
780
|
hash: string;
|
|
779
781
|
};
|
|
780
782
|
signature: string;
|
|
@@ -848,7 +850,7 @@ export declare const RunExecutionRequestValidator: z.ZodEffects<z.ZodObject<{
|
|
|
848
850
|
hash: string;
|
|
849
851
|
trigger: {
|
|
850
852
|
data: string;
|
|
851
|
-
type:
|
|
853
|
+
type: 0 | 1;
|
|
852
854
|
};
|
|
853
855
|
input: Record<string, unknown>;
|
|
854
856
|
callbackUrl: string;
|
|
@@ -887,7 +889,7 @@ export declare const RunExecutionRequestValidator: z.ZodEffects<z.ZodObject<{
|
|
|
887
889
|
timestamp: number;
|
|
888
890
|
publicKeys: string[];
|
|
889
891
|
};
|
|
890
|
-
name: "
|
|
892
|
+
name: "SvmAccountsInfoQuery";
|
|
891
893
|
hash: string;
|
|
892
894
|
};
|
|
893
895
|
signature: string;
|
|
@@ -961,7 +963,7 @@ export declare const RunExecutionRequestValidator: z.ZodEffects<z.ZodObject<{
|
|
|
961
963
|
hash: string;
|
|
962
964
|
trigger: {
|
|
963
965
|
data: string;
|
|
964
|
-
type:
|
|
966
|
+
type: 0 | 1;
|
|
965
967
|
};
|
|
966
968
|
input: Record<string, unknown>;
|
|
967
969
|
callbackUrl: string;
|
|
@@ -1000,7 +1002,7 @@ export declare const RunExecutionRequestValidator: z.ZodEffects<z.ZodObject<{
|
|
|
1000
1002
|
timestamp: number;
|
|
1001
1003
|
publicKeys: string[];
|
|
1002
1004
|
};
|
|
1003
|
-
name: "
|
|
1005
|
+
name: "SvmAccountsInfoQuery";
|
|
1004
1006
|
hash: string;
|
|
1005
1007
|
};
|
|
1006
1008
|
signature: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validators.d.ts","sourceRoot":"","sources":["../../src/runner/validators.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"validators.d.ts","sourceRoot":"","sources":["../../src/runner/validators.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAavB,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkBrC,CAAA;AAEJ,eAAO,MAAM,2BAA2B;;;;;;;;;EAGtC,CAAA"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { CronExecutionData, EventExecutionData, EvmCallIntent, EvmCallIntentData, Execution, Intent, Proposal, SvmCallIntent, SvmCallIntentData, SwapIntent, SwapIntentData, SwapProposalData, TransferIntent, TransferIntentData } from '../types';
|
|
2
|
-
import { OpType } from '../validators';
|
|
3
2
|
export declare function hashIntent(intent: Intent): string;
|
|
4
3
|
export declare function encodeIntent(intent: Intent): string;
|
|
5
4
|
export declare function hashProposal(proposal: Proposal, intentOrHash: string | Intent): string;
|
|
@@ -16,7 +15,7 @@ export declare function encodeEventExecution(execution: EventExecutionData): str
|
|
|
16
15
|
export declare function toRawIntent(output: Omit<SwapIntent, 'data'> | Omit<TransferIntent, 'data'> | Omit<EvmCallIntent, 'data'> | Omit<SvmCallIntent, 'data'>): {
|
|
17
16
|
data: string;
|
|
18
17
|
hash: string;
|
|
19
|
-
op:
|
|
18
|
+
op: 0 | 1 | 2 | 3;
|
|
20
19
|
user: string;
|
|
21
20
|
settler: string;
|
|
22
21
|
nonce: string;
|
|
@@ -45,7 +44,7 @@ export declare function toRawIntent(output: Omit<SwapIntent, 'data'> | Omit<Tran
|
|
|
45
44
|
} | {
|
|
46
45
|
data: string;
|
|
47
46
|
hash: string;
|
|
48
|
-
op:
|
|
47
|
+
op: 0 | 1 | 2 | 3;
|
|
49
48
|
user: string;
|
|
50
49
|
settler: string;
|
|
51
50
|
nonce: string;
|
|
@@ -69,7 +68,7 @@ export declare function toRawIntent(output: Omit<SwapIntent, 'data'> | Omit<Tran
|
|
|
69
68
|
} | {
|
|
70
69
|
data: string;
|
|
71
70
|
hash: string;
|
|
72
|
-
op:
|
|
71
|
+
op: 0 | 1 | 2 | 3;
|
|
73
72
|
user: string;
|
|
74
73
|
settler: string;
|
|
75
74
|
nonce: string;
|
|
@@ -93,7 +92,7 @@ export declare function toRawIntent(output: Omit<SwapIntent, 'data'> | Omit<Tran
|
|
|
93
92
|
} | {
|
|
94
93
|
data: string;
|
|
95
94
|
hash: string;
|
|
96
|
-
op:
|
|
95
|
+
op: 0 | 1 | 2 | 3;
|
|
97
96
|
user: string;
|
|
98
97
|
settler: string;
|
|
99
98
|
nonce: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"encoder.d.ts","sourceRoot":"","sources":["../../../src/shared/codec/encoder.ts"],"names":[],"mappings":"AASA,OAAO,EACL,iBAAiB,EACjB,kBAAkB,EAClB,aAAa,EACb,iBAAiB,EACjB,SAAS,EACT,MAAM,EACN,QAAQ,EACR,aAAa,EACb,iBAAiB,EACjB,UAAU,EACV,cAAc,EACd,gBAAgB,EAChB,cAAc,EACd,kBAAkB,EACnB,MAAM,UAAU,CAAA;
|
|
1
|
+
{"version":3,"file":"encoder.d.ts","sourceRoot":"","sources":["../../../src/shared/codec/encoder.ts"],"names":[],"mappings":"AASA,OAAO,EACL,iBAAiB,EACjB,kBAAkB,EAClB,aAAa,EACb,iBAAiB,EACjB,SAAS,EACT,MAAM,EACN,QAAQ,EACR,aAAa,EACb,iBAAiB,EACjB,UAAU,EACV,cAAc,EACd,gBAAgB,EAChB,cAAc,EACd,kBAAkB,EACnB,MAAM,UAAU,CAAA;AAOjB,wBAAgB,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAEjD;AAED,wBAAgB,YAAY,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAGnD;AAED,wBAAgB,YAAY,CAAC,QAAQ,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAEtF;AAED,wBAAgB,cAAc,CAAC,QAAQ,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAoBxF;AAMD,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,cAAc,GAAG,MAAM,CAM/D;AAED,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,gBAAgB,GAAG,MAAM,CAKrE;AAED,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,kBAAkB,GAAG,MAAM,CAOvE;AAED,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,iBAAiB,GAAG,MAAM,CAErE;AAED,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,iBAAiB,GAAG,MAAM,CAErE;AAED,wBAAgB,aAAa,CAAC,SAAS,EAAE,SAAS,GAAG,MAAM,CAE1D;AAED,wBAAgB,eAAe,CAAC,SAAS,EAAE,SAAS,GAAG,MAAM,CAU5D;AAED,wBAAgB,mBAAmB,CAAC,SAAS,EAAE,iBAAiB,GAAG,MAAM,CAExE;AAED,wBAAgB,oBAAoB,CAAC,SAAS,EAAE,kBAAkB,GAAG,MAAM,CAM1E;AAED,wBAAgB,WAAW,CACzB,MAAM,EACF,IAAI,CAAC,UAAU,EAAE,MAAM,CAAC,GACxB,IAAI,CAAC,cAAc,EAAE,MAAM,CAAC,GAC5B,IAAI,CAAC,aAAa,EAAE,MAAM,CAAC,GAC3B,IAAI,CAAC,aAAa,EAAE,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwBhC"}
|
|
@@ -54,10 +54,9 @@ function encodeFees(fees) {
|
|
|
54
54
|
function encodeSwapIntent(intent) {
|
|
55
55
|
if (intent.sourceChain === utils_1.Chains.Solana && intent.destinationChain === utils_1.Chains.Solana)
|
|
56
56
|
return (0, svm_1.svmEncodeSwapIntent)(intent);
|
|
57
|
-
|
|
57
|
+
if (intent.sourceChain !== utils_1.Chains.Solana && intent.destinationChain !== utils_1.Chains.Solana)
|
|
58
58
|
return (0, evm_1.evmEncodeSwapIntent)(intent);
|
|
59
|
-
|
|
60
|
-
throw new Error('Unsupported combination of sourceChain and destinationChain for Swap Intent');
|
|
59
|
+
throw new Error('Unsupported combination of sourceChain and destinationChain for Swap Intent');
|
|
61
60
|
}
|
|
62
61
|
function encodeSwapProposal(proposal) {
|
|
63
62
|
return ethers_1.AbiCoder.defaultAbiCoder().encode([eip712Types_1.SWAP_PROPOSAL_ABI_TYPE], [[proposal.executor, proposal.executorData, proposal.amountsOut]]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,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AmB,CAAC,MAA2B,CAAC,CAAA;YACvD,MAAK;IACT,CAAC;IAED,OAAO;QACL,GAAG,MAAM;QACT,IAAI;QACJ,IAAI,EAAE,UAAU,CAAC,EAAE,GAAG,MAAM,EAAE,IAAI,EAAE,CAAC;KACtC,CAAA;AACH,CAAC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
export type BigNumberish = number | string | bigint;
|
|
2
|
-
export declare
|
|
3
|
-
THROW
|
|
4
|
-
FLOOR
|
|
5
|
-
}
|
|
2
|
+
export declare const OverflowMode: {
|
|
3
|
+
readonly THROW: 0;
|
|
4
|
+
readonly FLOOR: 1;
|
|
5
|
+
};
|
|
6
|
+
export type OverflowMode = (typeof OverflowMode)[keyof typeof OverflowMode];
|
|
6
7
|
export declare const MAX_UINT256: bigint;
|
|
7
8
|
export declare function maxUint(e: number): bigint;
|
|
8
9
|
export declare function fp(x: BigNumberish, precision?: number, mode?: OverflowMode): bigint;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"numbers.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/numbers.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,CAAA;AAEnD,
|
|
1
|
+
{"version":3,"file":"numbers.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/numbers.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,CAAA;AAEnD,eAAO,MAAM,YAAY;;;CAGf,CAAA;AAEV,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,OAAO,YAAY,CAAC,CAAA;AAE3E,eAAO,MAAM,WAAW,EAAE,MAAqB,CAAA;AAE/C,wBAAgB,OAAO,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAEzC;AAED,wBAAgB,EAAE,CAAC,CAAC,EAAE,YAAY,EAAE,SAAS,SAAK,EAAE,IAAI,GAAE,YAAiC,GAAG,MAAM,CAmBnG;AAED,wBAAgB,IAAI,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,cAAc,SAAK,GAAG,MAAM,CAK/E"}
|
|
@@ -4,16 +4,15 @@ exports.MAX_UINT256 = exports.OverflowMode = void 0;
|
|
|
4
4
|
exports.maxUint = maxUint;
|
|
5
5
|
exports.fp = fp;
|
|
6
6
|
exports.toFp = toFp;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
})(OverflowMode || (exports.OverflowMode = OverflowMode = {}));
|
|
7
|
+
exports.OverflowMode = {
|
|
8
|
+
THROW: 0,
|
|
9
|
+
FLOOR: 1,
|
|
10
|
+
};
|
|
12
11
|
exports.MAX_UINT256 = maxUint(256);
|
|
13
12
|
function maxUint(e) {
|
|
14
13
|
return BigInt(BigInt(2) ** BigInt(e)) - 1n;
|
|
15
14
|
}
|
|
16
|
-
function fp(x, precision = 18, mode = OverflowMode.THROW) {
|
|
15
|
+
function fp(x, precision = 18, mode = exports.OverflowMode.THROW) {
|
|
17
16
|
if (!Number.isInteger(precision) || precision < 0)
|
|
18
17
|
throw new Error('Precision must be a non-negative integer');
|
|
19
18
|
if (typeof x === 'bigint')
|
|
@@ -24,10 +23,9 @@ function fp(x, precision = 18, mode = OverflowMode.THROW) {
|
|
|
24
23
|
throw new Error(`Invalid format: must be a non-negative number with up to ${precision} decimals`);
|
|
25
24
|
let [, intPart, decimalPartRaw = ''] = match;
|
|
26
25
|
if (decimalPartRaw.length > precision) {
|
|
27
|
-
if (mode == OverflowMode.THROW)
|
|
26
|
+
if (mode == exports.OverflowMode.THROW)
|
|
28
27
|
throw new Error(`Too many decimal places maximum allowed is ${precision}`);
|
|
29
|
-
|
|
30
|
-
decimalPartRaw = decimalPartRaw.slice(0, precision);
|
|
28
|
+
decimalPartRaw = decimalPartRaw.slice(0, precision);
|
|
31
29
|
}
|
|
32
30
|
const scale = 10n ** BigInt(precision);
|
|
33
31
|
const intScaled = BigInt(intPart) * scale;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"numbers.js","sourceRoot":"","sources":["../../../src/shared/utils/numbers.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"numbers.js","sourceRoot":"","sources":["../../../src/shared/utils/numbers.ts"],"names":[],"mappings":";;;AAWA,0BAEC;AAED,gBAmBC;AAED,oBAKC;AAvCY,QAAA,YAAY,GAAG;IAC1B,KAAK,EAAE,CAAC;IACR,KAAK,EAAE,CAAC;CACA,CAAA;AAIG,QAAA,WAAW,GAAW,OAAO,CAAC,GAAG,CAAC,CAAA;AAE/C,SAAgB,OAAO,CAAC,CAAS;IAC/B,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,CAAC,GAAG,EAAE,CAAA;AAC5C,CAAC;AAED,SAAgB,EAAE,CAAC,CAAe,EAAE,SAAS,GAAG,EAAE,EAAE,OAAqB,oBAAY,CAAC,KAAK;IACzF,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,SAAS,CAAC,IAAI,SAAS,GAAG,CAAC;QAAE,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAA;IAC9G,IAAI,OAAO,CAAC,KAAK,QAAQ;QAAE,OAAO,CAAC,GAAG,GAAG,IAAI,MAAM,CAAC,SAAS,CAAC,CAAA;IAE9D,MAAM,KAAK,GAAG,eAAe,CAAC,OAAO,CAAC,KAAK,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;IACvE,MAAM,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAA;IAChD,IAAI,CAAC,KAAK;QAAE,MAAM,IAAI,KAAK,CAAC,4DAA4D,SAAS,WAAW,CAAC,CAAA;IAE7G,IAAI,CAAC,EAAE,OAAO,EAAE,cAAc,G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+1,23 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare
|
|
3
|
-
Cron
|
|
4
|
-
Event
|
|
5
|
-
}
|
|
2
|
+
export declare const TriggerType: {
|
|
3
|
+
readonly Cron: 0;
|
|
4
|
+
readonly Event: 1;
|
|
5
|
+
};
|
|
6
|
+
export type TriggerType = (typeof TriggerType)[keyof typeof TriggerType];
|
|
6
7
|
export declare const ExecutionValidator: z.ZodObject<{
|
|
7
8
|
configSig: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
8
|
-
triggerType: z.ZodNativeEnum<
|
|
9
|
+
triggerType: z.ZodNativeEnum<{
|
|
10
|
+
readonly Cron: 0;
|
|
11
|
+
readonly Event: 1;
|
|
12
|
+
}>;
|
|
9
13
|
triggerData: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
10
14
|
}, "strip", z.ZodTypeAny, {
|
|
11
15
|
configSig: string;
|
|
12
|
-
triggerType:
|
|
16
|
+
triggerType: 0 | 1;
|
|
13
17
|
triggerData: string;
|
|
14
18
|
}, {
|
|
15
19
|
configSig: string;
|
|
16
|
-
triggerType:
|
|
20
|
+
triggerType: 0 | 1;
|
|
17
21
|
triggerData: string;
|
|
18
22
|
}>;
|
|
19
23
|
export declare const CronExecutionDataValidator: z.ZodObject<{
|
|
@@ -25,19 +29,22 @@ export declare const CronExecutionDataValidator: z.ZodObject<{
|
|
|
25
29
|
}>;
|
|
26
30
|
export declare const CronExecutionValidator: z.ZodObject<z.objectUtil.extendShape<{
|
|
27
31
|
configSig: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
28
|
-
triggerType: z.ZodNativeEnum<
|
|
32
|
+
triggerType: z.ZodNativeEnum<{
|
|
33
|
+
readonly Cron: 0;
|
|
34
|
+
readonly Event: 1;
|
|
35
|
+
}>;
|
|
29
36
|
triggerData: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
30
37
|
}, {
|
|
31
38
|
timestamp: z.ZodNumber;
|
|
32
39
|
}>, "strip", z.ZodTypeAny, {
|
|
33
40
|
configSig: string;
|
|
34
41
|
timestamp: number;
|
|
35
|
-
triggerType:
|
|
42
|
+
triggerType: 0 | 1;
|
|
36
43
|
triggerData: string;
|
|
37
44
|
}, {
|
|
38
45
|
configSig: string;
|
|
39
46
|
timestamp: number;
|
|
40
|
-
triggerType:
|
|
47
|
+
triggerType: 0 | 1;
|
|
41
48
|
triggerData: string;
|
|
42
49
|
}>;
|
|
43
50
|
export declare const EventExecutionDataValidator: z.ZodObject<{
|
|
@@ -64,7 +71,10 @@ export declare const EventExecutionDataValidator: z.ZodObject<{
|
|
|
64
71
|
}>;
|
|
65
72
|
export declare const EventExecutionValidator: z.ZodObject<z.objectUtil.extendShape<{
|
|
66
73
|
configSig: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
67
|
-
triggerType: z.ZodNativeEnum<
|
|
74
|
+
triggerType: z.ZodNativeEnum<{
|
|
75
|
+
readonly Cron: 0;
|
|
76
|
+
readonly Event: 1;
|
|
77
|
+
}>;
|
|
68
78
|
triggerData: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
69
79
|
}, {
|
|
70
80
|
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
@@ -77,7 +87,7 @@ export declare const EventExecutionValidator: z.ZodObject<z.objectUtil.extendSha
|
|
|
77
87
|
configSig: string;
|
|
78
88
|
address: string;
|
|
79
89
|
chainId: number;
|
|
80
|
-
triggerType:
|
|
90
|
+
triggerType: 0 | 1;
|
|
81
91
|
triggerData: string;
|
|
82
92
|
blockHash: string;
|
|
83
93
|
index: number;
|
|
@@ -87,7 +97,7 @@ export declare const EventExecutionValidator: z.ZodObject<z.objectUtil.extendSha
|
|
|
87
97
|
configSig: string;
|
|
88
98
|
address: string;
|
|
89
99
|
chainId: number;
|
|
90
|
-
triggerType:
|
|
100
|
+
triggerType: 0 | 1;
|
|
91
101
|
triggerData: string;
|
|
92
102
|
blockHash: string;
|
|
93
103
|
index: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executions.d.ts","sourceRoot":"","sources":["../../../src/shared/validators/executions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAWvB,
|
|
1
|
+
{"version":3,"file":"executions.d.ts","sourceRoot":"","sources":["../../../src/shared/validators/executions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAWvB,eAAO,MAAM,WAAW;;;CAGd,CAAA;AACV,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,OAAO,WAAW,CAAC,CAAA;AAExE,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;EAI7B,CAAA;AAIF,eAAO,MAAM,0BAA0B;;;;;;EAErC,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;EAAuD,CAAA;AAI1F,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;EAOtC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAwD,CAAA"}
|
|
@@ -3,14 +3,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.EventExecutionValidator = exports.EventExecutionDataValidator = exports.CronExecutionValidator = exports.CronExecutionDataValidator = exports.ExecutionValidator = exports.TriggerType = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const primitives_1 = require("./primitives");
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
})(TriggerType || (exports.TriggerType = TriggerType = {}));
|
|
6
|
+
exports.TriggerType = {
|
|
7
|
+
Cron: 0,
|
|
8
|
+
Event: 1,
|
|
9
|
+
};
|
|
11
10
|
exports.ExecutionValidator = zod_1.z.object({
|
|
12
11
|
configSig: primitives_1.SignatureValidator,
|
|
13
|
-
triggerType: zod_1.z.nativeEnum(TriggerType),
|
|
12
|
+
triggerType: zod_1.z.nativeEnum(exports.TriggerType),
|
|
14
13
|
triggerData: primitives_1.HexValidator,
|
|
15
14
|
});
|
|
16
15
|
// === CRON ===
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executions.js","sourceRoot":"","sources":["../../../src/shared/validators/executions.ts"],"names":[],"mappings":";;;AAAA,6BAAuB;AAEvB,6CAOqB;
|
|
1
|
+
{"version":3,"file":"executions.js","sourceRoot":"","sources":["../../../src/shared/validators/executions.ts"],"names":[],"mappings":";;;AAAA,6BAAuB;AAEvB,6CAOqB;AAER,QAAA,WAAW,GAAG;IACzB,IAAI,EAAE,CAAC;IACP,KAAK,EAAE,CAAC;CACA,CAAA;AAGG,QAAA,kBAAkB,GAAG,OAAC,CAAC,MAAM,CAAC;IACzC,SAAS,EAAE,+BAAkB;IAC7B,WAAW,EAAE,OAAC,CAAC,UAAU,CAAC,mBAAW,CAAC;IACtC,WAAW,EAAE,yBAAY;CAC1B,CAAC,CAAA;AAEF,eAAe;AAEF,QAAA,0BAA0B,GAAG,OAAC,CAAC,MAAM,CAAC;IACjD,SAAS,EAAE,+BAAkB;CAC9B,CAAC,CAAA;AAEW,QAAA,sBAAsB,GAAG,0BAAkB,CAAC,KAAK,CAAC,kCAA0B,CAAC,CAAA;AAE1F,gBAAgB;AAEH,QAAA,2BAA2B,GAAG,OAAC,CAAC,MAAM,CAAC;IAClD,OAAO,EAAE,6BAAgB;IACzB,SAAS,EAAE,yBAAY;IACvB,KAAK,EAAE,qCAAwB;IAC/B,OAAO,EAAE,6BAAgB;IACzB,MAAM,EAAE,OAAC,CAAC,KAAK,CAAC,yBAAY,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;IACpC,SAAS,EAAE,yBAAY;CACxB,CAAC,CAAA;AAEW,QAAA,uBAAuB,GAAG,0BAAkB,CAAC,KAAK,CAAC,mCAA2B,CAAC,CAAA"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare
|
|
3
|
-
Swap
|
|
4
|
-
Transfer
|
|
5
|
-
EvmCall
|
|
6
|
-
SvmCall
|
|
7
|
-
}
|
|
2
|
+
export declare const OpType: {
|
|
3
|
+
readonly Swap: 0;
|
|
4
|
+
readonly Transfer: 1;
|
|
5
|
+
readonly EvmCall: 2;
|
|
6
|
+
readonly SvmCall: 3;
|
|
7
|
+
};
|
|
8
|
+
export type OpType = (typeof OpType)[keyof typeof OpType];
|
|
8
9
|
export declare const MaxFeeValidator: z.ZodObject<{
|
|
9
10
|
token: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
10
11
|
amount: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -46,7 +47,12 @@ export declare const IntentEventsValidator: z.ZodArray<z.ZodObject<{
|
|
|
46
47
|
topic: string;
|
|
47
48
|
}>, "many">;
|
|
48
49
|
export declare const IntentValidator: z.ZodObject<{
|
|
49
|
-
op: z.ZodNativeEnum<
|
|
50
|
+
op: z.ZodNativeEnum<{
|
|
51
|
+
readonly Swap: 0;
|
|
52
|
+
readonly Transfer: 1;
|
|
53
|
+
readonly EvmCall: 2;
|
|
54
|
+
readonly SvmCall: 3;
|
|
55
|
+
}>;
|
|
50
56
|
user: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
51
57
|
settler: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
52
58
|
nonce: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
@@ -75,7 +81,7 @@ export declare const IntentValidator: z.ZodObject<{
|
|
|
75
81
|
configSig: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
76
82
|
minValidations: z.ZodNumber;
|
|
77
83
|
}, "strip", z.ZodTypeAny, {
|
|
78
|
-
op:
|
|
84
|
+
op: 0 | 1 | 2 | 3;
|
|
79
85
|
user: string;
|
|
80
86
|
settler: string;
|
|
81
87
|
nonce: string;
|
|
@@ -92,7 +98,7 @@ export declare const IntentValidator: z.ZodObject<{
|
|
|
92
98
|
configSig: string;
|
|
93
99
|
minValidations: number;
|
|
94
100
|
}, {
|
|
95
|
-
op:
|
|
101
|
+
op: 0 | 1 | 2 | 3;
|
|
96
102
|
user: string;
|
|
97
103
|
settler: string;
|
|
98
104
|
nonce: string;
|
|
@@ -110,7 +116,12 @@ export declare const IntentValidator: z.ZodObject<{
|
|
|
110
116
|
minValidations: number;
|
|
111
117
|
}>;
|
|
112
118
|
export declare const ValidatedIntentValidator: z.ZodObject<z.objectUtil.extendShape<{
|
|
113
|
-
op: z.ZodNativeEnum<
|
|
119
|
+
op: z.ZodNativeEnum<{
|
|
120
|
+
readonly Swap: 0;
|
|
121
|
+
readonly Transfer: 1;
|
|
122
|
+
readonly EvmCall: 2;
|
|
123
|
+
readonly SvmCall: 3;
|
|
124
|
+
}>;
|
|
114
125
|
user: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
115
126
|
settler: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
116
127
|
nonce: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
@@ -141,7 +152,7 @@ export declare const ValidatedIntentValidator: z.ZodObject<z.objectUtil.extendSh
|
|
|
141
152
|
}, {
|
|
142
153
|
validations: z.ZodArray<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">, "many">;
|
|
143
154
|
}>, "strip", z.ZodTypeAny, {
|
|
144
|
-
op:
|
|
155
|
+
op: 0 | 1 | 2 | 3;
|
|
145
156
|
user: string;
|
|
146
157
|
settler: string;
|
|
147
158
|
nonce: string;
|
|
@@ -159,7 +170,7 @@ export declare const ValidatedIntentValidator: z.ZodObject<z.objectUtil.extendSh
|
|
|
159
170
|
minValidations: number;
|
|
160
171
|
validations: string[][];
|
|
161
172
|
}, {
|
|
162
|
-
op:
|
|
173
|
+
op: 0 | 1 | 2 | 3;
|
|
163
174
|
user: string;
|
|
164
175
|
settler: string;
|
|
165
176
|
nonce: string;
|
|
@@ -268,7 +279,12 @@ export declare const SwapIntentDataValidator: z.ZodObject<{
|
|
|
268
279
|
}[];
|
|
269
280
|
}>;
|
|
270
281
|
export declare const SwapIntentValidator: z.ZodObject<z.objectUtil.extendShape<{
|
|
271
|
-
op: z.ZodNativeEnum<
|
|
282
|
+
op: z.ZodNativeEnum<{
|
|
283
|
+
readonly Swap: 0;
|
|
284
|
+
readonly Transfer: 1;
|
|
285
|
+
readonly EvmCall: 2;
|
|
286
|
+
readonly SvmCall: 3;
|
|
287
|
+
}>;
|
|
272
288
|
user: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
273
289
|
settler: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
274
290
|
nonce: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
@@ -323,7 +339,7 @@ export declare const SwapIntentValidator: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
323
339
|
recipient: string;
|
|
324
340
|
}>, "many">;
|
|
325
341
|
}>, "strip", z.ZodTypeAny, {
|
|
326
|
-
op:
|
|
342
|
+
op: 0 | 1 | 2 | 3;
|
|
327
343
|
user: string;
|
|
328
344
|
settler: string;
|
|
329
345
|
nonce: string;
|
|
@@ -351,7 +367,7 @@ export declare const SwapIntentValidator: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
351
367
|
recipient: string;
|
|
352
368
|
}[];
|
|
353
369
|
}, {
|
|
354
|
-
op:
|
|
370
|
+
op: 0 | 1 | 2 | 3;
|
|
355
371
|
user: string;
|
|
356
372
|
settler: string;
|
|
357
373
|
nonce: string;
|
|
@@ -462,7 +478,12 @@ export declare const TransferIntentDataValidator: z.ZodObject<{
|
|
|
462
478
|
}[];
|
|
463
479
|
}>;
|
|
464
480
|
export declare const TransferIntentValidator: z.ZodObject<z.objectUtil.extendShape<{
|
|
465
|
-
op: z.ZodNativeEnum<
|
|
481
|
+
op: z.ZodNativeEnum<{
|
|
482
|
+
readonly Swap: 0;
|
|
483
|
+
readonly Transfer: 1;
|
|
484
|
+
readonly EvmCall: 2;
|
|
485
|
+
readonly SvmCall: 3;
|
|
486
|
+
}>;
|
|
466
487
|
user: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
467
488
|
settler: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
468
489
|
nonce: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
@@ -506,7 +527,7 @@ export declare const TransferIntentValidator: z.ZodObject<z.objectUtil.extendSha
|
|
|
506
527
|
recipient: string;
|
|
507
528
|
}>, "many">;
|
|
508
529
|
}>, "strip", z.ZodTypeAny, {
|
|
509
|
-
op:
|
|
530
|
+
op: 0 | 1 | 2 | 3;
|
|
510
531
|
user: string;
|
|
511
532
|
settler: string;
|
|
512
533
|
nonce: string;
|
|
@@ -529,7 +550,7 @@ export declare const TransferIntentValidator: z.ZodObject<z.objectUtil.extendSha
|
|
|
529
550
|
recipient: string;
|
|
530
551
|
}[];
|
|
531
552
|
}, {
|
|
532
|
-
op:
|
|
553
|
+
op: 0 | 1 | 2 | 3;
|
|
533
554
|
user: string;
|
|
534
555
|
settler: string;
|
|
535
556
|
nonce: string;
|
|
@@ -596,7 +617,12 @@ export declare const EvmCallIntentDataValidator: z.ZodObject<{
|
|
|
596
617
|
}[];
|
|
597
618
|
}>;
|
|
598
619
|
export declare const EvmCallIntentValidator: z.ZodObject<z.objectUtil.extendShape<{
|
|
599
|
-
op: z.ZodNativeEnum<
|
|
620
|
+
op: z.ZodNativeEnum<{
|
|
621
|
+
readonly Swap: 0;
|
|
622
|
+
readonly Transfer: 1;
|
|
623
|
+
readonly EvmCall: 2;
|
|
624
|
+
readonly SvmCall: 3;
|
|
625
|
+
}>;
|
|
600
626
|
user: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
601
627
|
settler: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
602
628
|
nonce: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
@@ -640,7 +666,7 @@ export declare const EvmCallIntentValidator: z.ZodObject<z.objectUtil.extendShap
|
|
|
640
666
|
target: string;
|
|
641
667
|
}>, "many">;
|
|
642
668
|
}>, "strip", z.ZodTypeAny, {
|
|
643
|
-
op:
|
|
669
|
+
op: 0 | 1 | 2 | 3;
|
|
644
670
|
user: string;
|
|
645
671
|
settler: string;
|
|
646
672
|
nonce: string;
|
|
@@ -663,7 +689,7 @@ export declare const EvmCallIntentValidator: z.ZodObject<z.objectUtil.extendShap
|
|
|
663
689
|
target: string;
|
|
664
690
|
}[];
|
|
665
691
|
}, {
|
|
666
|
-
op:
|
|
692
|
+
op: 0 | 1 | 2 | 3;
|
|
667
693
|
user: string;
|
|
668
694
|
settler: string;
|
|
669
695
|
nonce: string;
|
|
@@ -788,7 +814,12 @@ export declare const SvmCallIntentDataValidator: z.ZodObject<{
|
|
|
788
814
|
}[];
|
|
789
815
|
}>;
|
|
790
816
|
export declare const SvmCallIntentValidator: z.ZodObject<z.objectUtil.extendShape<{
|
|
791
|
-
op: z.ZodNativeEnum<
|
|
817
|
+
op: z.ZodNativeEnum<{
|
|
818
|
+
readonly Swap: 0;
|
|
819
|
+
readonly Transfer: 1;
|
|
820
|
+
readonly EvmCall: 2;
|
|
821
|
+
readonly SvmCall: 3;
|
|
822
|
+
}>;
|
|
792
823
|
user: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
793
824
|
settler: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
794
825
|
nonce: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
@@ -851,7 +882,7 @@ export declare const SvmCallIntentValidator: z.ZodObject<z.objectUtil.extendShap
|
|
|
851
882
|
}[];
|
|
852
883
|
}>, "many">;
|
|
853
884
|
}>, "strip", z.ZodTypeAny, {
|
|
854
|
-
op:
|
|
885
|
+
op: 0 | 1 | 2 | 3;
|
|
855
886
|
user: string;
|
|
856
887
|
settler: string;
|
|
857
888
|
nonce: string;
|
|
@@ -877,7 +908,7 @@ export declare const SvmCallIntentValidator: z.ZodObject<z.objectUtil.extendShap
|
|
|
877
908
|
}[];
|
|
878
909
|
}[];
|
|
879
910
|
}, {
|
|
880
|
-
op:
|
|
911
|
+
op: 0 | 1 | 2 | 3;
|
|
881
912
|
user: string;
|
|
882
913
|
settler: string;
|
|
883
914
|
nonce: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"intents.d.ts","sourceRoot":"","sources":["../../../src/shared/validators/intents.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAavB,
|
|
1
|
+
{"version":3,"file":"intents.d.ts","sourceRoot":"","sources":["../../../src/shared/validators/intents.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAavB,eAAO,MAAM,MAAM;;;;;CAKT,CAAA;AACV,MAAM,MAAM,MAAM,GAAG,CAAC,OAAO,MAAM,CAAC,CAAC,MAAM,OAAO,MAAM,CAAC,CAAA;AAEzD,eAAO,MAAM,eAAe;;;;;;;;;EAG1B,CAAA;AAEF,eAAO,MAAM,gBAAgB;;;;;;;;;WAA2B,CAAA;AAExD,eAAO,MAAM,oBAAoB;;;;;;;;;EAG/B,CAAA;AAEF,eAAO,MAAM,qBAAqB;;;;;;;;;WAAgC,CAAA;AAElE,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAW1B,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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