@mimicprotocol/sdk 0.0.1-rc.16 → 0.0.1-rc.18
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/validators.d.ts +546 -0
- package/dist/axia/validators.d.ts.map +1 -1
- package/dist/client/domains/IntentsClient.d.ts +14 -7
- package/dist/client/domains/IntentsClient.d.ts.map +1 -1
- package/dist/client/domains/IntentsClient.js +15 -6
- package/dist/client/domains/IntentsClient.js.map +1 -1
- package/dist/oracle/validators.d.ts +146 -8
- package/dist/oracle/validators.d.ts.map +1 -1
- package/dist/oracle/validators.js +1 -0
- package/dist/oracle/validators.js.map +1 -1
- package/dist/relayer/validators.d.ts +766 -2
- package/dist/relayer/validators.d.ts.map +1 -1
- package/dist/relayer/validators.js +2 -1
- package/dist/relayer/validators.js.map +1 -1
- package/dist/runner/validators.d.ts +226 -0
- package/dist/runner/validators.d.ts.map +1 -1
- package/dist/shared/codec/chains/evm.d.ts +3 -1
- package/dist/shared/codec/chains/evm.d.ts.map +1 -1
- package/dist/shared/codec/chains/evm.js +19 -0
- package/dist/shared/codec/chains/evm.js.map +1 -1
- package/dist/shared/codec/chains/svm.d.ts +15 -10
- package/dist/shared/codec/chains/svm.d.ts.map +1 -1
- package/dist/shared/codec/chains/svm.js +91 -35
- package/dist/shared/codec/chains/svm.js.map +1 -1
- package/dist/shared/codec/decoder.d.ts +3 -2
- package/dist/shared/codec/decoder.d.ts.map +1 -1
- package/dist/shared/codec/decoder.js +11 -16
- package/dist/shared/codec/decoder.js.map +1 -1
- package/dist/shared/codec/encoder.d.ts +31 -3
- package/dist/shared/codec/encoder.d.ts.map +1 -1
- package/dist/shared/codec/encoder.js +12 -5
- package/dist/shared/codec/encoder.js.map +1 -1
- package/dist/shared/codec/index.d.ts +1 -1
- package/dist/shared/codec/index.d.ts.map +1 -1
- package/dist/shared/codec/index.js +13 -8
- package/dist/shared/codec/index.js.map +1 -1
- package/dist/shared/types/intents.d.ts +8 -4
- package/dist/shared/types/intents.d.ts.map +1 -1
- package/dist/shared/validators/intents.d.ts +225 -7
- package/dist/shared/validators/intents.d.ts.map +1 -1
- package/dist/shared/validators/intents.js +24 -8
- package/dist/shared/validators/intents.js.map +1 -1
- package/dist/shared/validators/primitives.d.ts +2 -2
- package/dist/shared/validators/primitives.js +1 -1
- package/dist/shared/validators/primitives.js.map +1 -1
- package/package.json +1 -1
|
@@ -469,6 +469,144 @@ export declare const RunnerExecutionResultDataValidator: z.ZodObject<{
|
|
|
469
469
|
hash: string;
|
|
470
470
|
};
|
|
471
471
|
signature: string;
|
|
472
|
+
}>, z.ZodObject<{
|
|
473
|
+
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
474
|
+
query: z.ZodObject<{
|
|
475
|
+
name: z.ZodLiteral<"SvmGetAccountsInfoQuery">;
|
|
476
|
+
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
477
|
+
params: z.ZodObject<{
|
|
478
|
+
publicKeys: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
479
|
+
timestamp: z.ZodEffects<z.ZodNumber, number, number>;
|
|
480
|
+
}, "strip", z.ZodTypeAny, {
|
|
481
|
+
timestamp: number;
|
|
482
|
+
publicKeys: string[];
|
|
483
|
+
}, {
|
|
484
|
+
timestamp: number;
|
|
485
|
+
publicKeys: string[];
|
|
486
|
+
}>;
|
|
487
|
+
}, "strip", z.ZodTypeAny, {
|
|
488
|
+
params: {
|
|
489
|
+
timestamp: number;
|
|
490
|
+
publicKeys: string[];
|
|
491
|
+
};
|
|
492
|
+
name: "SvmGetAccountsInfoQuery";
|
|
493
|
+
hash: string;
|
|
494
|
+
}, {
|
|
495
|
+
params: {
|
|
496
|
+
timestamp: number;
|
|
497
|
+
publicKeys: string[];
|
|
498
|
+
};
|
|
499
|
+
name: "SvmGetAccountsInfoQuery";
|
|
500
|
+
hash: string;
|
|
501
|
+
}>;
|
|
502
|
+
result: z.ZodObject<{
|
|
503
|
+
value: z.ZodObject<{
|
|
504
|
+
accountsInfo: z.ZodArray<z.ZodObject<{
|
|
505
|
+
executable: z.ZodBoolean;
|
|
506
|
+
owner: z.ZodEffects<z.ZodString, string, string>;
|
|
507
|
+
lamports: z.ZodEffects<z.ZodString, string, string>;
|
|
508
|
+
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
509
|
+
rentEpoch: z.ZodEffects<z.ZodString, string, string>;
|
|
510
|
+
}, "strip", z.ZodTypeAny, {
|
|
511
|
+
data: string;
|
|
512
|
+
executable: boolean;
|
|
513
|
+
owner: string;
|
|
514
|
+
lamports: string;
|
|
515
|
+
rentEpoch: string;
|
|
516
|
+
}, {
|
|
517
|
+
data: string;
|
|
518
|
+
executable: boolean;
|
|
519
|
+
owner: string;
|
|
520
|
+
lamports: string;
|
|
521
|
+
rentEpoch: string;
|
|
522
|
+
}>, "many">;
|
|
523
|
+
slot: z.ZodEffects<z.ZodString, string, string>;
|
|
524
|
+
}, "strip", z.ZodTypeAny, {
|
|
525
|
+
accountsInfo: {
|
|
526
|
+
data: string;
|
|
527
|
+
executable: boolean;
|
|
528
|
+
owner: string;
|
|
529
|
+
lamports: string;
|
|
530
|
+
rentEpoch: string;
|
|
531
|
+
}[];
|
|
532
|
+
slot: string;
|
|
533
|
+
}, {
|
|
534
|
+
accountsInfo: {
|
|
535
|
+
data: string;
|
|
536
|
+
executable: boolean;
|
|
537
|
+
owner: string;
|
|
538
|
+
lamports: string;
|
|
539
|
+
rentEpoch: string;
|
|
540
|
+
}[];
|
|
541
|
+
slot: string;
|
|
542
|
+
}>;
|
|
543
|
+
}, "strip", z.ZodTypeAny, {
|
|
544
|
+
value: {
|
|
545
|
+
accountsInfo: {
|
|
546
|
+
data: string;
|
|
547
|
+
executable: boolean;
|
|
548
|
+
owner: string;
|
|
549
|
+
lamports: string;
|
|
550
|
+
rentEpoch: string;
|
|
551
|
+
}[];
|
|
552
|
+
slot: string;
|
|
553
|
+
};
|
|
554
|
+
}, {
|
|
555
|
+
value: {
|
|
556
|
+
accountsInfo: {
|
|
557
|
+
data: string;
|
|
558
|
+
executable: boolean;
|
|
559
|
+
owner: string;
|
|
560
|
+
lamports: string;
|
|
561
|
+
rentEpoch: string;
|
|
562
|
+
}[];
|
|
563
|
+
slot: string;
|
|
564
|
+
};
|
|
565
|
+
}>;
|
|
566
|
+
}, "strip", z.ZodTypeAny, {
|
|
567
|
+
result: {
|
|
568
|
+
value: {
|
|
569
|
+
accountsInfo: {
|
|
570
|
+
data: string;
|
|
571
|
+
executable: boolean;
|
|
572
|
+
owner: string;
|
|
573
|
+
lamports: string;
|
|
574
|
+
rentEpoch: string;
|
|
575
|
+
}[];
|
|
576
|
+
slot: string;
|
|
577
|
+
};
|
|
578
|
+
};
|
|
579
|
+
query: {
|
|
580
|
+
params: {
|
|
581
|
+
timestamp: number;
|
|
582
|
+
publicKeys: string[];
|
|
583
|
+
};
|
|
584
|
+
name: "SvmGetAccountsInfoQuery";
|
|
585
|
+
hash: string;
|
|
586
|
+
};
|
|
587
|
+
signature: string;
|
|
588
|
+
}, {
|
|
589
|
+
result: {
|
|
590
|
+
value: {
|
|
591
|
+
accountsInfo: {
|
|
592
|
+
data: string;
|
|
593
|
+
executable: boolean;
|
|
594
|
+
owner: string;
|
|
595
|
+
lamports: string;
|
|
596
|
+
rentEpoch: string;
|
|
597
|
+
}[];
|
|
598
|
+
slot: string;
|
|
599
|
+
};
|
|
600
|
+
};
|
|
601
|
+
query: {
|
|
602
|
+
params: {
|
|
603
|
+
timestamp: number;
|
|
604
|
+
publicKeys: string[];
|
|
605
|
+
};
|
|
606
|
+
name: "SvmGetAccountsInfoQuery";
|
|
607
|
+
hash: string;
|
|
608
|
+
};
|
|
609
|
+
signature: string;
|
|
472
610
|
}>]>, "many">;
|
|
473
611
|
outputs: z.ZodArray<z.ZodUnion<[z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
474
612
|
op: z.ZodNativeEnum<typeof import("../shared").OpType>;
|
|
@@ -691,7 +829,7 @@ export declare const RunnerExecutionResultDataValidator: z.ZodObject<{
|
|
|
691
829
|
}, {
|
|
692
830
|
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
693
831
|
calls: z.ZodArray<z.ZodObject<{
|
|
694
|
-
target: z.ZodEffects<z.
|
|
832
|
+
target: z.ZodEffects<z.ZodString, string, string>;
|
|
695
833
|
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
696
834
|
value: z.ZodEffects<z.ZodString, string, string>;
|
|
697
835
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -743,6 +881,115 @@ export declare const RunnerExecutionResultDataValidator: z.ZodObject<{
|
|
|
743
881
|
value: string;
|
|
744
882
|
target: string;
|
|
745
883
|
}[];
|
|
884
|
+
}>, z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
885
|
+
op: z.ZodNativeEnum<typeof import("../shared").OpType>;
|
|
886
|
+
user: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
887
|
+
settler: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
888
|
+
nonce: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
889
|
+
deadline: z.ZodEffects<z.ZodString, string, string>;
|
|
890
|
+
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
891
|
+
maxFees: z.ZodArray<z.ZodObject<{
|
|
892
|
+
token: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
893
|
+
amount: z.ZodEffects<z.ZodString, string, string>;
|
|
894
|
+
}, "strip", z.ZodTypeAny, {
|
|
895
|
+
token: string;
|
|
896
|
+
amount: string;
|
|
897
|
+
}, {
|
|
898
|
+
token: string;
|
|
899
|
+
amount: string;
|
|
900
|
+
}>, "many">;
|
|
901
|
+
events: z.ZodArray<z.ZodObject<{
|
|
902
|
+
topic: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
903
|
+
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
904
|
+
}, "strip", z.ZodTypeAny, {
|
|
905
|
+
data: string;
|
|
906
|
+
topic: string;
|
|
907
|
+
}, {
|
|
908
|
+
data: string;
|
|
909
|
+
topic: string;
|
|
910
|
+
}>, "many">;
|
|
911
|
+
configSig: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
912
|
+
minValidations: z.ZodNumber;
|
|
913
|
+
}, {
|
|
914
|
+
instructions: z.ZodArray<z.ZodObject<{
|
|
915
|
+
programId: z.ZodEffects<z.ZodString, string, string>;
|
|
916
|
+
accountsMeta: z.ZodArray<z.ZodObject<{
|
|
917
|
+
pubkey: z.ZodEffects<z.ZodString, string, string>;
|
|
918
|
+
isSigner: z.ZodBoolean;
|
|
919
|
+
isWritable: z.ZodBoolean;
|
|
920
|
+
}, "strip", z.ZodTypeAny, {
|
|
921
|
+
pubkey: string;
|
|
922
|
+
isSigner: boolean;
|
|
923
|
+
isWritable: boolean;
|
|
924
|
+
}, {
|
|
925
|
+
pubkey: string;
|
|
926
|
+
isSigner: boolean;
|
|
927
|
+
isWritable: boolean;
|
|
928
|
+
}>, "many">;
|
|
929
|
+
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
930
|
+
}, "strip", z.ZodTypeAny, {
|
|
931
|
+
data: string;
|
|
932
|
+
programId: string;
|
|
933
|
+
accountsMeta: {
|
|
934
|
+
pubkey: string;
|
|
935
|
+
isSigner: boolean;
|
|
936
|
+
isWritable: boolean;
|
|
937
|
+
}[];
|
|
938
|
+
}, {
|
|
939
|
+
data: string;
|
|
940
|
+
programId: string;
|
|
941
|
+
accountsMeta: {
|
|
942
|
+
pubkey: string;
|
|
943
|
+
isSigner: boolean;
|
|
944
|
+
isWritable: boolean;
|
|
945
|
+
}[];
|
|
946
|
+
}>, "many">;
|
|
947
|
+
}>, "data" | "configSig" | "minValidations">, "strip", z.ZodTypeAny, {
|
|
948
|
+
op: import("../shared").OpType;
|
|
949
|
+
user: string;
|
|
950
|
+
settler: string;
|
|
951
|
+
nonce: string;
|
|
952
|
+
deadline: string;
|
|
953
|
+
maxFees: {
|
|
954
|
+
token: string;
|
|
955
|
+
amount: string;
|
|
956
|
+
}[];
|
|
957
|
+
events: {
|
|
958
|
+
data: string;
|
|
959
|
+
topic: string;
|
|
960
|
+
}[];
|
|
961
|
+
instructions: {
|
|
962
|
+
data: string;
|
|
963
|
+
programId: string;
|
|
964
|
+
accountsMeta: {
|
|
965
|
+
pubkey: string;
|
|
966
|
+
isSigner: boolean;
|
|
967
|
+
isWritable: boolean;
|
|
968
|
+
}[];
|
|
969
|
+
}[];
|
|
970
|
+
}, {
|
|
971
|
+
op: import("../shared").OpType;
|
|
972
|
+
user: string;
|
|
973
|
+
settler: string;
|
|
974
|
+
nonce: string;
|
|
975
|
+
deadline: string;
|
|
976
|
+
maxFees: {
|
|
977
|
+
token: string;
|
|
978
|
+
amount: string;
|
|
979
|
+
}[];
|
|
980
|
+
events: {
|
|
981
|
+
data: string;
|
|
982
|
+
topic: string;
|
|
983
|
+
}[];
|
|
984
|
+
instructions: {
|
|
985
|
+
data: string;
|
|
986
|
+
programId: string;
|
|
987
|
+
accountsMeta: {
|
|
988
|
+
pubkey: string;
|
|
989
|
+
isSigner: boolean;
|
|
990
|
+
isWritable: boolean;
|
|
991
|
+
}[];
|
|
992
|
+
}[];
|
|
746
993
|
}>]>, "many">;
|
|
747
994
|
}, "strip", z.ZodTypeAny, {
|
|
748
995
|
timestamp: number;
|
|
@@ -762,6 +1009,28 @@ export declare const RunnerExecutionResultDataValidator: z.ZodObject<{
|
|
|
762
1009
|
hash: string;
|
|
763
1010
|
};
|
|
764
1011
|
signature: string;
|
|
1012
|
+
} | {
|
|
1013
|
+
result: {
|
|
1014
|
+
value: {
|
|
1015
|
+
accountsInfo: {
|
|
1016
|
+
data: string;
|
|
1017
|
+
executable: boolean;
|
|
1018
|
+
owner: string;
|
|
1019
|
+
lamports: string;
|
|
1020
|
+
rentEpoch: string;
|
|
1021
|
+
}[];
|
|
1022
|
+
slot: string;
|
|
1023
|
+
};
|
|
1024
|
+
};
|
|
1025
|
+
query: {
|
|
1026
|
+
params: {
|
|
1027
|
+
timestamp: number;
|
|
1028
|
+
publicKeys: string[];
|
|
1029
|
+
};
|
|
1030
|
+
name: "SvmGetAccountsInfoQuery";
|
|
1031
|
+
hash: string;
|
|
1032
|
+
};
|
|
1033
|
+
signature: string;
|
|
765
1034
|
} | {
|
|
766
1035
|
result: {
|
|
767
1036
|
value: string;
|
|
@@ -890,6 +1159,29 @@ export declare const RunnerExecutionResultDataValidator: z.ZodObject<{
|
|
|
890
1159
|
value: string;
|
|
891
1160
|
target: string;
|
|
892
1161
|
}[];
|
|
1162
|
+
} | {
|
|
1163
|
+
op: import("../shared").OpType;
|
|
1164
|
+
user: string;
|
|
1165
|
+
settler: string;
|
|
1166
|
+
nonce: string;
|
|
1167
|
+
deadline: string;
|
|
1168
|
+
maxFees: {
|
|
1169
|
+
token: string;
|
|
1170
|
+
amount: string;
|
|
1171
|
+
}[];
|
|
1172
|
+
events: {
|
|
1173
|
+
data: string;
|
|
1174
|
+
topic: string;
|
|
1175
|
+
}[];
|
|
1176
|
+
instructions: {
|
|
1177
|
+
data: string;
|
|
1178
|
+
programId: string;
|
|
1179
|
+
accountsMeta: {
|
|
1180
|
+
pubkey: string;
|
|
1181
|
+
isSigner: boolean;
|
|
1182
|
+
isWritable: boolean;
|
|
1183
|
+
}[];
|
|
1184
|
+
}[];
|
|
893
1185
|
})[];
|
|
894
1186
|
}, {
|
|
895
1187
|
timestamp: number;
|
|
@@ -909,6 +1201,28 @@ export declare const RunnerExecutionResultDataValidator: z.ZodObject<{
|
|
|
909
1201
|
hash: string;
|
|
910
1202
|
};
|
|
911
1203
|
signature: string;
|
|
1204
|
+
} | {
|
|
1205
|
+
result: {
|
|
1206
|
+
value: {
|
|
1207
|
+
accountsInfo: {
|
|
1208
|
+
data: string;
|
|
1209
|
+
executable: boolean;
|
|
1210
|
+
owner: string;
|
|
1211
|
+
lamports: string;
|
|
1212
|
+
rentEpoch: string;
|
|
1213
|
+
}[];
|
|
1214
|
+
slot: string;
|
|
1215
|
+
};
|
|
1216
|
+
};
|
|
1217
|
+
query: {
|
|
1218
|
+
params: {
|
|
1219
|
+
timestamp: number;
|
|
1220
|
+
publicKeys: string[];
|
|
1221
|
+
};
|
|
1222
|
+
name: "SvmGetAccountsInfoQuery";
|
|
1223
|
+
hash: string;
|
|
1224
|
+
};
|
|
1225
|
+
signature: string;
|
|
912
1226
|
} | {
|
|
913
1227
|
result: {
|
|
914
1228
|
value: string;
|
|
@@ -1037,6 +1351,29 @@ export declare const RunnerExecutionResultDataValidator: z.ZodObject<{
|
|
|
1037
1351
|
value: string;
|
|
1038
1352
|
target: string;
|
|
1039
1353
|
}[];
|
|
1354
|
+
} | {
|
|
1355
|
+
op: import("../shared").OpType;
|
|
1356
|
+
user: string;
|
|
1357
|
+
settler: string;
|
|
1358
|
+
nonce: string;
|
|
1359
|
+
deadline: string;
|
|
1360
|
+
maxFees: {
|
|
1361
|
+
token: string;
|
|
1362
|
+
amount: string;
|
|
1363
|
+
}[];
|
|
1364
|
+
events: {
|
|
1365
|
+
data: string;
|
|
1366
|
+
topic: string;
|
|
1367
|
+
}[];
|
|
1368
|
+
instructions: {
|
|
1369
|
+
data: string;
|
|
1370
|
+
programId: string;
|
|
1371
|
+
accountsMeta: {
|
|
1372
|
+
pubkey: string;
|
|
1373
|
+
isSigner: boolean;
|
|
1374
|
+
isWritable: boolean;
|
|
1375
|
+
}[];
|
|
1376
|
+
}[];
|
|
1040
1377
|
})[];
|
|
1041
1378
|
}>;
|
|
1042
1379
|
export declare const RunnerExecutionResultValidator: z.ZodObject<{
|
|
@@ -1502,6 +1839,144 @@ export declare const RunnerExecutionResultValidator: z.ZodObject<{
|
|
|
1502
1839
|
hash: string;
|
|
1503
1840
|
};
|
|
1504
1841
|
signature: string;
|
|
1842
|
+
}>, z.ZodObject<{
|
|
1843
|
+
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1844
|
+
query: z.ZodObject<{
|
|
1845
|
+
name: z.ZodLiteral<"SvmGetAccountsInfoQuery">;
|
|
1846
|
+
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1847
|
+
params: z.ZodObject<{
|
|
1848
|
+
publicKeys: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
1849
|
+
timestamp: z.ZodEffects<z.ZodNumber, number, number>;
|
|
1850
|
+
}, "strip", z.ZodTypeAny, {
|
|
1851
|
+
timestamp: number;
|
|
1852
|
+
publicKeys: string[];
|
|
1853
|
+
}, {
|
|
1854
|
+
timestamp: number;
|
|
1855
|
+
publicKeys: string[];
|
|
1856
|
+
}>;
|
|
1857
|
+
}, "strip", z.ZodTypeAny, {
|
|
1858
|
+
params: {
|
|
1859
|
+
timestamp: number;
|
|
1860
|
+
publicKeys: string[];
|
|
1861
|
+
};
|
|
1862
|
+
name: "SvmGetAccountsInfoQuery";
|
|
1863
|
+
hash: string;
|
|
1864
|
+
}, {
|
|
1865
|
+
params: {
|
|
1866
|
+
timestamp: number;
|
|
1867
|
+
publicKeys: string[];
|
|
1868
|
+
};
|
|
1869
|
+
name: "SvmGetAccountsInfoQuery";
|
|
1870
|
+
hash: string;
|
|
1871
|
+
}>;
|
|
1872
|
+
result: z.ZodObject<{
|
|
1873
|
+
value: z.ZodObject<{
|
|
1874
|
+
accountsInfo: z.ZodArray<z.ZodObject<{
|
|
1875
|
+
executable: z.ZodBoolean;
|
|
1876
|
+
owner: z.ZodEffects<z.ZodString, string, string>;
|
|
1877
|
+
lamports: z.ZodEffects<z.ZodString, string, string>;
|
|
1878
|
+
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1879
|
+
rentEpoch: z.ZodEffects<z.ZodString, string, string>;
|
|
1880
|
+
}, "strip", z.ZodTypeAny, {
|
|
1881
|
+
data: string;
|
|
1882
|
+
executable: boolean;
|
|
1883
|
+
owner: string;
|
|
1884
|
+
lamports: string;
|
|
1885
|
+
rentEpoch: string;
|
|
1886
|
+
}, {
|
|
1887
|
+
data: string;
|
|
1888
|
+
executable: boolean;
|
|
1889
|
+
owner: string;
|
|
1890
|
+
lamports: string;
|
|
1891
|
+
rentEpoch: string;
|
|
1892
|
+
}>, "many">;
|
|
1893
|
+
slot: z.ZodEffects<z.ZodString, string, string>;
|
|
1894
|
+
}, "strip", z.ZodTypeAny, {
|
|
1895
|
+
accountsInfo: {
|
|
1896
|
+
data: string;
|
|
1897
|
+
executable: boolean;
|
|
1898
|
+
owner: string;
|
|
1899
|
+
lamports: string;
|
|
1900
|
+
rentEpoch: string;
|
|
1901
|
+
}[];
|
|
1902
|
+
slot: string;
|
|
1903
|
+
}, {
|
|
1904
|
+
accountsInfo: {
|
|
1905
|
+
data: string;
|
|
1906
|
+
executable: boolean;
|
|
1907
|
+
owner: string;
|
|
1908
|
+
lamports: string;
|
|
1909
|
+
rentEpoch: string;
|
|
1910
|
+
}[];
|
|
1911
|
+
slot: string;
|
|
1912
|
+
}>;
|
|
1913
|
+
}, "strip", z.ZodTypeAny, {
|
|
1914
|
+
value: {
|
|
1915
|
+
accountsInfo: {
|
|
1916
|
+
data: string;
|
|
1917
|
+
executable: boolean;
|
|
1918
|
+
owner: string;
|
|
1919
|
+
lamports: string;
|
|
1920
|
+
rentEpoch: string;
|
|
1921
|
+
}[];
|
|
1922
|
+
slot: string;
|
|
1923
|
+
};
|
|
1924
|
+
}, {
|
|
1925
|
+
value: {
|
|
1926
|
+
accountsInfo: {
|
|
1927
|
+
data: string;
|
|
1928
|
+
executable: boolean;
|
|
1929
|
+
owner: string;
|
|
1930
|
+
lamports: string;
|
|
1931
|
+
rentEpoch: string;
|
|
1932
|
+
}[];
|
|
1933
|
+
slot: string;
|
|
1934
|
+
};
|
|
1935
|
+
}>;
|
|
1936
|
+
}, "strip", z.ZodTypeAny, {
|
|
1937
|
+
result: {
|
|
1938
|
+
value: {
|
|
1939
|
+
accountsInfo: {
|
|
1940
|
+
data: string;
|
|
1941
|
+
executable: boolean;
|
|
1942
|
+
owner: string;
|
|
1943
|
+
lamports: string;
|
|
1944
|
+
rentEpoch: string;
|
|
1945
|
+
}[];
|
|
1946
|
+
slot: string;
|
|
1947
|
+
};
|
|
1948
|
+
};
|
|
1949
|
+
query: {
|
|
1950
|
+
params: {
|
|
1951
|
+
timestamp: number;
|
|
1952
|
+
publicKeys: string[];
|
|
1953
|
+
};
|
|
1954
|
+
name: "SvmGetAccountsInfoQuery";
|
|
1955
|
+
hash: string;
|
|
1956
|
+
};
|
|
1957
|
+
signature: string;
|
|
1958
|
+
}, {
|
|
1959
|
+
result: {
|
|
1960
|
+
value: {
|
|
1961
|
+
accountsInfo: {
|
|
1962
|
+
data: string;
|
|
1963
|
+
executable: boolean;
|
|
1964
|
+
owner: string;
|
|
1965
|
+
lamports: string;
|
|
1966
|
+
rentEpoch: string;
|
|
1967
|
+
}[];
|
|
1968
|
+
slot: string;
|
|
1969
|
+
};
|
|
1970
|
+
};
|
|
1971
|
+
query: {
|
|
1972
|
+
params: {
|
|
1973
|
+
timestamp: number;
|
|
1974
|
+
publicKeys: string[];
|
|
1975
|
+
};
|
|
1976
|
+
name: "SvmGetAccountsInfoQuery";
|
|
1977
|
+
hash: string;
|
|
1978
|
+
};
|
|
1979
|
+
signature: string;
|
|
1505
1980
|
}>]>, "many">;
|
|
1506
1981
|
outputs: z.ZodArray<z.ZodUnion<[z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
1507
1982
|
op: z.ZodNativeEnum<typeof import("../shared").OpType>;
|
|
@@ -1724,7 +2199,7 @@ export declare const RunnerExecutionResultValidator: z.ZodObject<{
|
|
|
1724
2199
|
}, {
|
|
1725
2200
|
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
1726
2201
|
calls: z.ZodArray<z.ZodObject<{
|
|
1727
|
-
target: z.ZodEffects<z.
|
|
2202
|
+
target: z.ZodEffects<z.ZodString, string, string>;
|
|
1728
2203
|
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1729
2204
|
value: z.ZodEffects<z.ZodString, string, string>;
|
|
1730
2205
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1776,6 +2251,115 @@ export declare const RunnerExecutionResultValidator: z.ZodObject<{
|
|
|
1776
2251
|
value: string;
|
|
1777
2252
|
target: string;
|
|
1778
2253
|
}[];
|
|
2254
|
+
}>, z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
2255
|
+
op: z.ZodNativeEnum<typeof import("../shared").OpType>;
|
|
2256
|
+
user: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2257
|
+
settler: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2258
|
+
nonce: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2259
|
+
deadline: z.ZodEffects<z.ZodString, string, string>;
|
|
2260
|
+
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2261
|
+
maxFees: z.ZodArray<z.ZodObject<{
|
|
2262
|
+
token: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2263
|
+
amount: z.ZodEffects<z.ZodString, string, string>;
|
|
2264
|
+
}, "strip", z.ZodTypeAny, {
|
|
2265
|
+
token: string;
|
|
2266
|
+
amount: string;
|
|
2267
|
+
}, {
|
|
2268
|
+
token: string;
|
|
2269
|
+
amount: string;
|
|
2270
|
+
}>, "many">;
|
|
2271
|
+
events: z.ZodArray<z.ZodObject<{
|
|
2272
|
+
topic: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2273
|
+
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2274
|
+
}, "strip", z.ZodTypeAny, {
|
|
2275
|
+
data: string;
|
|
2276
|
+
topic: string;
|
|
2277
|
+
}, {
|
|
2278
|
+
data: string;
|
|
2279
|
+
topic: string;
|
|
2280
|
+
}>, "many">;
|
|
2281
|
+
configSig: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2282
|
+
minValidations: z.ZodNumber;
|
|
2283
|
+
}, {
|
|
2284
|
+
instructions: z.ZodArray<z.ZodObject<{
|
|
2285
|
+
programId: z.ZodEffects<z.ZodString, string, string>;
|
|
2286
|
+
accountsMeta: z.ZodArray<z.ZodObject<{
|
|
2287
|
+
pubkey: z.ZodEffects<z.ZodString, string, string>;
|
|
2288
|
+
isSigner: z.ZodBoolean;
|
|
2289
|
+
isWritable: z.ZodBoolean;
|
|
2290
|
+
}, "strip", z.ZodTypeAny, {
|
|
2291
|
+
pubkey: string;
|
|
2292
|
+
isSigner: boolean;
|
|
2293
|
+
isWritable: boolean;
|
|
2294
|
+
}, {
|
|
2295
|
+
pubkey: string;
|
|
2296
|
+
isSigner: boolean;
|
|
2297
|
+
isWritable: boolean;
|
|
2298
|
+
}>, "many">;
|
|
2299
|
+
data: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2300
|
+
}, "strip", z.ZodTypeAny, {
|
|
2301
|
+
data: string;
|
|
2302
|
+
programId: string;
|
|
2303
|
+
accountsMeta: {
|
|
2304
|
+
pubkey: string;
|
|
2305
|
+
isSigner: boolean;
|
|
2306
|
+
isWritable: boolean;
|
|
2307
|
+
}[];
|
|
2308
|
+
}, {
|
|
2309
|
+
data: string;
|
|
2310
|
+
programId: string;
|
|
2311
|
+
accountsMeta: {
|
|
2312
|
+
pubkey: string;
|
|
2313
|
+
isSigner: boolean;
|
|
2314
|
+
isWritable: boolean;
|
|
2315
|
+
}[];
|
|
2316
|
+
}>, "many">;
|
|
2317
|
+
}>, "data" | "configSig" | "minValidations">, "strip", z.ZodTypeAny, {
|
|
2318
|
+
op: import("../shared").OpType;
|
|
2319
|
+
user: string;
|
|
2320
|
+
settler: string;
|
|
2321
|
+
nonce: string;
|
|
2322
|
+
deadline: string;
|
|
2323
|
+
maxFees: {
|
|
2324
|
+
token: string;
|
|
2325
|
+
amount: string;
|
|
2326
|
+
}[];
|
|
2327
|
+
events: {
|
|
2328
|
+
data: string;
|
|
2329
|
+
topic: string;
|
|
2330
|
+
}[];
|
|
2331
|
+
instructions: {
|
|
2332
|
+
data: string;
|
|
2333
|
+
programId: string;
|
|
2334
|
+
accountsMeta: {
|
|
2335
|
+
pubkey: string;
|
|
2336
|
+
isSigner: boolean;
|
|
2337
|
+
isWritable: boolean;
|
|
2338
|
+
}[];
|
|
2339
|
+
}[];
|
|
2340
|
+
}, {
|
|
2341
|
+
op: import("../shared").OpType;
|
|
2342
|
+
user: string;
|
|
2343
|
+
settler: string;
|
|
2344
|
+
nonce: string;
|
|
2345
|
+
deadline: string;
|
|
2346
|
+
maxFees: {
|
|
2347
|
+
token: string;
|
|
2348
|
+
amount: string;
|
|
2349
|
+
}[];
|
|
2350
|
+
events: {
|
|
2351
|
+
data: string;
|
|
2352
|
+
topic: string;
|
|
2353
|
+
}[];
|
|
2354
|
+
instructions: {
|
|
2355
|
+
data: string;
|
|
2356
|
+
programId: string;
|
|
2357
|
+
accountsMeta: {
|
|
2358
|
+
pubkey: string;
|
|
2359
|
+
isSigner: boolean;
|
|
2360
|
+
isWritable: boolean;
|
|
2361
|
+
}[];
|
|
2362
|
+
}[];
|
|
1779
2363
|
}>]>, "many">;
|
|
1780
2364
|
}, "strip", z.ZodTypeAny, {
|
|
1781
2365
|
timestamp: number;
|
|
@@ -1795,6 +2379,28 @@ export declare const RunnerExecutionResultValidator: z.ZodObject<{
|
|
|
1795
2379
|
hash: string;
|
|
1796
2380
|
};
|
|
1797
2381
|
signature: string;
|
|
2382
|
+
} | {
|
|
2383
|
+
result: {
|
|
2384
|
+
value: {
|
|
2385
|
+
accountsInfo: {
|
|
2386
|
+
data: string;
|
|
2387
|
+
executable: boolean;
|
|
2388
|
+
owner: string;
|
|
2389
|
+
lamports: string;
|
|
2390
|
+
rentEpoch: string;
|
|
2391
|
+
}[];
|
|
2392
|
+
slot: string;
|
|
2393
|
+
};
|
|
2394
|
+
};
|
|
2395
|
+
query: {
|
|
2396
|
+
params: {
|
|
2397
|
+
timestamp: number;
|
|
2398
|
+
publicKeys: string[];
|
|
2399
|
+
};
|
|
2400
|
+
name: "SvmGetAccountsInfoQuery";
|
|
2401
|
+
hash: string;
|
|
2402
|
+
};
|
|
2403
|
+
signature: string;
|
|
1798
2404
|
} | {
|
|
1799
2405
|
result: {
|
|
1800
2406
|
value: string;
|
|
@@ -1923,6 +2529,29 @@ export declare const RunnerExecutionResultValidator: z.ZodObject<{
|
|
|
1923
2529
|
value: string;
|
|
1924
2530
|
target: string;
|
|
1925
2531
|
}[];
|
|
2532
|
+
} | {
|
|
2533
|
+
op: import("../shared").OpType;
|
|
2534
|
+
user: string;
|
|
2535
|
+
settler: string;
|
|
2536
|
+
nonce: string;
|
|
2537
|
+
deadline: string;
|
|
2538
|
+
maxFees: {
|
|
2539
|
+
token: string;
|
|
2540
|
+
amount: string;
|
|
2541
|
+
}[];
|
|
2542
|
+
events: {
|
|
2543
|
+
data: string;
|
|
2544
|
+
topic: string;
|
|
2545
|
+
}[];
|
|
2546
|
+
instructions: {
|
|
2547
|
+
data: string;
|
|
2548
|
+
programId: string;
|
|
2549
|
+
accountsMeta: {
|
|
2550
|
+
pubkey: string;
|
|
2551
|
+
isSigner: boolean;
|
|
2552
|
+
isWritable: boolean;
|
|
2553
|
+
}[];
|
|
2554
|
+
}[];
|
|
1926
2555
|
})[];
|
|
1927
2556
|
}, {
|
|
1928
2557
|
timestamp: number;
|
|
@@ -1942,6 +2571,28 @@ export declare const RunnerExecutionResultValidator: z.ZodObject<{
|
|
|
1942
2571
|
hash: string;
|
|
1943
2572
|
};
|
|
1944
2573
|
signature: string;
|
|
2574
|
+
} | {
|
|
2575
|
+
result: {
|
|
2576
|
+
value: {
|
|
2577
|
+
accountsInfo: {
|
|
2578
|
+
data: string;
|
|
2579
|
+
executable: boolean;
|
|
2580
|
+
owner: string;
|
|
2581
|
+
lamports: string;
|
|
2582
|
+
rentEpoch: string;
|
|
2583
|
+
}[];
|
|
2584
|
+
slot: string;
|
|
2585
|
+
};
|
|
2586
|
+
};
|
|
2587
|
+
query: {
|
|
2588
|
+
params: {
|
|
2589
|
+
timestamp: number;
|
|
2590
|
+
publicKeys: string[];
|
|
2591
|
+
};
|
|
2592
|
+
name: "SvmGetAccountsInfoQuery";
|
|
2593
|
+
hash: string;
|
|
2594
|
+
};
|
|
2595
|
+
signature: string;
|
|
1945
2596
|
} | {
|
|
1946
2597
|
result: {
|
|
1947
2598
|
value: string;
|
|
@@ -2070,6 +2721,29 @@ export declare const RunnerExecutionResultValidator: z.ZodObject<{
|
|
|
2070
2721
|
value: string;
|
|
2071
2722
|
target: string;
|
|
2072
2723
|
}[];
|
|
2724
|
+
} | {
|
|
2725
|
+
op: import("../shared").OpType;
|
|
2726
|
+
user: string;
|
|
2727
|
+
settler: string;
|
|
2728
|
+
nonce: string;
|
|
2729
|
+
deadline: string;
|
|
2730
|
+
maxFees: {
|
|
2731
|
+
token: string;
|
|
2732
|
+
amount: string;
|
|
2733
|
+
}[];
|
|
2734
|
+
events: {
|
|
2735
|
+
data: string;
|
|
2736
|
+
topic: string;
|
|
2737
|
+
}[];
|
|
2738
|
+
instructions: {
|
|
2739
|
+
data: string;
|
|
2740
|
+
programId: string;
|
|
2741
|
+
accountsMeta: {
|
|
2742
|
+
pubkey: string;
|
|
2743
|
+
isSigner: boolean;
|
|
2744
|
+
isWritable: boolean;
|
|
2745
|
+
}[];
|
|
2746
|
+
}[];
|
|
2073
2747
|
})[];
|
|
2074
2748
|
}>;
|
|
2075
2749
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2091,6 +2765,28 @@ export declare const RunnerExecutionResultValidator: z.ZodObject<{
|
|
|
2091
2765
|
hash: string;
|
|
2092
2766
|
};
|
|
2093
2767
|
signature: string;
|
|
2768
|
+
} | {
|
|
2769
|
+
result: {
|
|
2770
|
+
value: {
|
|
2771
|
+
accountsInfo: {
|
|
2772
|
+
data: string;
|
|
2773
|
+
executable: boolean;
|
|
2774
|
+
owner: string;
|
|
2775
|
+
lamports: string;
|
|
2776
|
+
rentEpoch: string;
|
|
2777
|
+
}[];
|
|
2778
|
+
slot: string;
|
|
2779
|
+
};
|
|
2780
|
+
};
|
|
2781
|
+
query: {
|
|
2782
|
+
params: {
|
|
2783
|
+
timestamp: number;
|
|
2784
|
+
publicKeys: string[];
|
|
2785
|
+
};
|
|
2786
|
+
name: "SvmGetAccountsInfoQuery";
|
|
2787
|
+
hash: string;
|
|
2788
|
+
};
|
|
2789
|
+
signature: string;
|
|
2094
2790
|
} | {
|
|
2095
2791
|
result: {
|
|
2096
2792
|
value: string;
|
|
@@ -2219,6 +2915,29 @@ export declare const RunnerExecutionResultValidator: z.ZodObject<{
|
|
|
2219
2915
|
value: string;
|
|
2220
2916
|
target: string;
|
|
2221
2917
|
}[];
|
|
2918
|
+
} | {
|
|
2919
|
+
op: import("../shared").OpType;
|
|
2920
|
+
user: string;
|
|
2921
|
+
settler: string;
|
|
2922
|
+
nonce: string;
|
|
2923
|
+
deadline: string;
|
|
2924
|
+
maxFees: {
|
|
2925
|
+
token: string;
|
|
2926
|
+
amount: string;
|
|
2927
|
+
}[];
|
|
2928
|
+
events: {
|
|
2929
|
+
data: string;
|
|
2930
|
+
topic: string;
|
|
2931
|
+
}[];
|
|
2932
|
+
instructions: {
|
|
2933
|
+
data: string;
|
|
2934
|
+
programId: string;
|
|
2935
|
+
accountsMeta: {
|
|
2936
|
+
pubkey: string;
|
|
2937
|
+
isSigner: boolean;
|
|
2938
|
+
isWritable: boolean;
|
|
2939
|
+
}[];
|
|
2940
|
+
}[];
|
|
2222
2941
|
})[];
|
|
2223
2942
|
};
|
|
2224
2943
|
status: "success" | "error";
|
|
@@ -2242,6 +2961,28 @@ export declare const RunnerExecutionResultValidator: z.ZodObject<{
|
|
|
2242
2961
|
hash: string;
|
|
2243
2962
|
};
|
|
2244
2963
|
signature: string;
|
|
2964
|
+
} | {
|
|
2965
|
+
result: {
|
|
2966
|
+
value: {
|
|
2967
|
+
accountsInfo: {
|
|
2968
|
+
data: string;
|
|
2969
|
+
executable: boolean;
|
|
2970
|
+
owner: string;
|
|
2971
|
+
lamports: string;
|
|
2972
|
+
rentEpoch: string;
|
|
2973
|
+
}[];
|
|
2974
|
+
slot: string;
|
|
2975
|
+
};
|
|
2976
|
+
};
|
|
2977
|
+
query: {
|
|
2978
|
+
params: {
|
|
2979
|
+
timestamp: number;
|
|
2980
|
+
publicKeys: string[];
|
|
2981
|
+
};
|
|
2982
|
+
name: "SvmGetAccountsInfoQuery";
|
|
2983
|
+
hash: string;
|
|
2984
|
+
};
|
|
2985
|
+
signature: string;
|
|
2245
2986
|
} | {
|
|
2246
2987
|
result: {
|
|
2247
2988
|
value: string;
|
|
@@ -2370,6 +3111,29 @@ export declare const RunnerExecutionResultValidator: z.ZodObject<{
|
|
|
2370
3111
|
value: string;
|
|
2371
3112
|
target: string;
|
|
2372
3113
|
}[];
|
|
3114
|
+
} | {
|
|
3115
|
+
op: import("../shared").OpType;
|
|
3116
|
+
user: string;
|
|
3117
|
+
settler: string;
|
|
3118
|
+
nonce: string;
|
|
3119
|
+
deadline: string;
|
|
3120
|
+
maxFees: {
|
|
3121
|
+
token: string;
|
|
3122
|
+
amount: string;
|
|
3123
|
+
}[];
|
|
3124
|
+
events: {
|
|
3125
|
+
data: string;
|
|
3126
|
+
topic: string;
|
|
3127
|
+
}[];
|
|
3128
|
+
instructions: {
|
|
3129
|
+
data: string;
|
|
3130
|
+
programId: string;
|
|
3131
|
+
accountsMeta: {
|
|
3132
|
+
pubkey: string;
|
|
3133
|
+
isSigner: boolean;
|
|
3134
|
+
isWritable: boolean;
|
|
3135
|
+
}[];
|
|
3136
|
+
}[];
|
|
2373
3137
|
})[];
|
|
2374
3138
|
};
|
|
2375
3139
|
status: "success" | "error";
|