@mimicprotocol/sdk 0.0.1-rc.25 → 0.0.1-rc.26
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 +21 -21
- 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/relayer/validators.d.ts +16 -16
- package/dist/runner/validators.d.ts +9 -9
- package/package.json +1 -1
|
@@ -1152,7 +1152,7 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
|
|
|
1152
1152
|
}>, z.ZodObject<{
|
|
1153
1153
|
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1154
1154
|
query: z.ZodObject<{
|
|
1155
|
-
name: z.ZodLiteral<"
|
|
1155
|
+
name: z.ZodLiteral<"SvmAccountsInfoQuery">;
|
|
1156
1156
|
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1157
1157
|
params: z.ZodObject<{
|
|
1158
1158
|
publicKeys: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
@@ -1169,14 +1169,14 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
|
|
|
1169
1169
|
timestamp: number;
|
|
1170
1170
|
publicKeys: string[];
|
|
1171
1171
|
};
|
|
1172
|
-
name: "
|
|
1172
|
+
name: "SvmAccountsInfoQuery";
|
|
1173
1173
|
hash: string;
|
|
1174
1174
|
}, {
|
|
1175
1175
|
params: {
|
|
1176
1176
|
timestamp: number;
|
|
1177
1177
|
publicKeys: string[];
|
|
1178
1178
|
};
|
|
1179
|
-
name: "
|
|
1179
|
+
name: "SvmAccountsInfoQuery";
|
|
1180
1180
|
hash: string;
|
|
1181
1181
|
}>;
|
|
1182
1182
|
result: z.ZodObject<{
|
|
@@ -1261,7 +1261,7 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
|
|
|
1261
1261
|
timestamp: number;
|
|
1262
1262
|
publicKeys: string[];
|
|
1263
1263
|
};
|
|
1264
|
-
name: "
|
|
1264
|
+
name: "SvmAccountsInfoQuery";
|
|
1265
1265
|
hash: string;
|
|
1266
1266
|
};
|
|
1267
1267
|
signature: string;
|
|
@@ -1283,7 +1283,7 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
|
|
|
1283
1283
|
timestamp: number;
|
|
1284
1284
|
publicKeys: string[];
|
|
1285
1285
|
};
|
|
1286
|
-
name: "
|
|
1286
|
+
name: "SvmAccountsInfoQuery";
|
|
1287
1287
|
hash: string;
|
|
1288
1288
|
};
|
|
1289
1289
|
signature: string;
|
|
@@ -1401,7 +1401,7 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
|
|
|
1401
1401
|
timestamp: number;
|
|
1402
1402
|
publicKeys: string[];
|
|
1403
1403
|
};
|
|
1404
|
-
name: "
|
|
1404
|
+
name: "SvmAccountsInfoQuery";
|
|
1405
1405
|
hash: string;
|
|
1406
1406
|
};
|
|
1407
1407
|
signature: string;
|
|
@@ -1530,7 +1530,7 @@ export declare const ExecutionCreateRequestValidator: z.ZodObject<z.objectUtil.e
|
|
|
1530
1530
|
timestamp: number;
|
|
1531
1531
|
publicKeys: string[];
|
|
1532
1532
|
};
|
|
1533
|
-
name: "
|
|
1533
|
+
name: "SvmAccountsInfoQuery";
|
|
1534
1534
|
hash: string;
|
|
1535
1535
|
};
|
|
1536
1536
|
signature: string;
|
|
@@ -2124,7 +2124,7 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
2124
2124
|
}>, z.ZodObject<{
|
|
2125
2125
|
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2126
2126
|
query: z.ZodObject<{
|
|
2127
|
-
name: z.ZodLiteral<"
|
|
2127
|
+
name: z.ZodLiteral<"SvmAccountsInfoQuery">;
|
|
2128
2128
|
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2129
2129
|
params: z.ZodObject<{
|
|
2130
2130
|
publicKeys: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
@@ -2141,14 +2141,14 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
2141
2141
|
timestamp: number;
|
|
2142
2142
|
publicKeys: string[];
|
|
2143
2143
|
};
|
|
2144
|
-
name: "
|
|
2144
|
+
name: "SvmAccountsInfoQuery";
|
|
2145
2145
|
hash: string;
|
|
2146
2146
|
}, {
|
|
2147
2147
|
params: {
|
|
2148
2148
|
timestamp: number;
|
|
2149
2149
|
publicKeys: string[];
|
|
2150
2150
|
};
|
|
2151
|
-
name: "
|
|
2151
|
+
name: "SvmAccountsInfoQuery";
|
|
2152
2152
|
hash: string;
|
|
2153
2153
|
}>;
|
|
2154
2154
|
result: z.ZodObject<{
|
|
@@ -2233,7 +2233,7 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
2233
2233
|
timestamp: number;
|
|
2234
2234
|
publicKeys: string[];
|
|
2235
2235
|
};
|
|
2236
|
-
name: "
|
|
2236
|
+
name: "SvmAccountsInfoQuery";
|
|
2237
2237
|
hash: string;
|
|
2238
2238
|
};
|
|
2239
2239
|
signature: string;
|
|
@@ -2255,7 +2255,7 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
2255
2255
|
timestamp: number;
|
|
2256
2256
|
publicKeys: string[];
|
|
2257
2257
|
};
|
|
2258
|
-
name: "
|
|
2258
|
+
name: "SvmAccountsInfoQuery";
|
|
2259
2259
|
hash: string;
|
|
2260
2260
|
};
|
|
2261
2261
|
signature: string;
|
|
@@ -2427,7 +2427,7 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
2427
2427
|
timestamp: number;
|
|
2428
2428
|
publicKeys: string[];
|
|
2429
2429
|
};
|
|
2430
|
-
name: "
|
|
2430
|
+
name: "SvmAccountsInfoQuery";
|
|
2431
2431
|
hash: string;
|
|
2432
2432
|
};
|
|
2433
2433
|
signature: string;
|
|
@@ -2577,7 +2577,7 @@ export declare const ExecutionResponseValidator: z.ZodObject<z.objectUtil.extend
|
|
|
2577
2577
|
timestamp: number;
|
|
2578
2578
|
publicKeys: string[];
|
|
2579
2579
|
};
|
|
2580
|
-
name: "
|
|
2580
|
+
name: "SvmAccountsInfoQuery";
|
|
2581
2581
|
hash: string;
|
|
2582
2582
|
};
|
|
2583
2583
|
signature: string;
|
|
@@ -3153,7 +3153,7 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
3153
3153
|
}>, z.ZodObject<{
|
|
3154
3154
|
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
3155
3155
|
query: z.ZodObject<{
|
|
3156
|
-
name: z.ZodLiteral<"
|
|
3156
|
+
name: z.ZodLiteral<"SvmAccountsInfoQuery">;
|
|
3157
3157
|
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
3158
3158
|
params: z.ZodObject<{
|
|
3159
3159
|
publicKeys: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
@@ -3170,14 +3170,14 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
3170
3170
|
timestamp: number;
|
|
3171
3171
|
publicKeys: string[];
|
|
3172
3172
|
};
|
|
3173
|
-
name: "
|
|
3173
|
+
name: "SvmAccountsInfoQuery";
|
|
3174
3174
|
hash: string;
|
|
3175
3175
|
}, {
|
|
3176
3176
|
params: {
|
|
3177
3177
|
timestamp: number;
|
|
3178
3178
|
publicKeys: string[];
|
|
3179
3179
|
};
|
|
3180
|
-
name: "
|
|
3180
|
+
name: "SvmAccountsInfoQuery";
|
|
3181
3181
|
hash: string;
|
|
3182
3182
|
}>;
|
|
3183
3183
|
result: z.ZodObject<{
|
|
@@ -3262,7 +3262,7 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
3262
3262
|
timestamp: number;
|
|
3263
3263
|
publicKeys: string[];
|
|
3264
3264
|
};
|
|
3265
|
-
name: "
|
|
3265
|
+
name: "SvmAccountsInfoQuery";
|
|
3266
3266
|
hash: string;
|
|
3267
3267
|
};
|
|
3268
3268
|
signature: string;
|
|
@@ -3284,7 +3284,7 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
3284
3284
|
timestamp: number;
|
|
3285
3285
|
publicKeys: string[];
|
|
3286
3286
|
};
|
|
3287
|
-
name: "
|
|
3287
|
+
name: "SvmAccountsInfoQuery";
|
|
3288
3288
|
hash: string;
|
|
3289
3289
|
};
|
|
3290
3290
|
signature: string;
|
|
@@ -3456,7 +3456,7 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
3456
3456
|
timestamp: number;
|
|
3457
3457
|
publicKeys: string[];
|
|
3458
3458
|
};
|
|
3459
|
-
name: "
|
|
3459
|
+
name: "SvmAccountsInfoQuery";
|
|
3460
3460
|
hash: string;
|
|
3461
3461
|
};
|
|
3462
3462
|
signature: string;
|
|
@@ -3606,7 +3606,7 @@ export declare const ExecutionsResponseValidator: z.ZodArray<z.ZodObject<z.objec
|
|
|
3606
3606
|
timestamp: number;
|
|
3607
3607
|
publicKeys: string[];
|
|
3608
3608
|
};
|
|
3609
|
-
name: "
|
|
3609
|
+
name: "SvmAccountsInfoQuery";
|
|
3610
3610
|
hash: string;
|
|
3611
3611
|
};
|
|
3612
3612
|
signature: string;
|
|
@@ -21,7 +21,7 @@ export declare const ORACLE_QUERY_712_TYPES: {
|
|
|
21
21
|
}[];
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
|
-
|
|
24
|
+
SvmAccountsInfoQuery: {
|
|
25
25
|
params: {
|
|
26
26
|
Params: {
|
|
27
27
|
name: string;
|
|
@@ -33,11 +33,11 @@ export declare const ORACLE_QUERY_712_TYPES: {
|
|
|
33
33
|
name: string;
|
|
34
34
|
type: string;
|
|
35
35
|
}[];
|
|
36
|
-
|
|
36
|
+
SvmAccountsInfoQueryResult: {
|
|
37
37
|
name: string;
|
|
38
38
|
type: string;
|
|
39
39
|
}[];
|
|
40
|
-
|
|
40
|
+
SvmAccountInfo: {
|
|
41
41
|
name: string;
|
|
42
42
|
type: string;
|
|
43
43
|
}[];
|
|
@@ -77,11 +77,11 @@ export declare const ORACLE_QUERY_712_TYPES: {
|
|
|
77
77
|
name: string;
|
|
78
78
|
type: string;
|
|
79
79
|
}[];
|
|
80
|
-
|
|
80
|
+
RelevantTokensQueryResult: {
|
|
81
81
|
name: string;
|
|
82
82
|
type: string;
|
|
83
83
|
}[];
|
|
84
|
-
|
|
84
|
+
TokenBalance: {
|
|
85
85
|
name: string;
|
|
86
86
|
type: string;
|
|
87
87
|
}[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eip712Types.d.ts","sourceRoot":"","sources":["../../src/oracle/eip712Types.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB;;;CAG7B,CAAA;AAED,eAAO,MAAM,wBAAwB;;;GAGpC,CAAA;AAED,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"eip712Types.d.ts","sourceRoot":"","sources":["../../src/oracle/eip712Types.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB;;;CAG7B,CAAA;AAED,eAAO,MAAM,wBAAwB;;;GAGpC,CAAA;AAED,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqFlC,CAAA"}
|
|
@@ -22,7 +22,7 @@ exports.ORACLE_QUERY_712_TYPES = {
|
|
|
22
22
|
},
|
|
23
23
|
result: { Result: [{ name: 'value', type: 'string' }] },
|
|
24
24
|
},
|
|
25
|
-
|
|
25
|
+
SvmAccountsInfoQuery: {
|
|
26
26
|
params: {
|
|
27
27
|
Params: [
|
|
28
28
|
{ name: 'publicKeys', type: 'string[]' },
|
|
@@ -30,12 +30,13 @@ exports.ORACLE_QUERY_712_TYPES = {
|
|
|
30
30
|
],
|
|
31
31
|
},
|
|
32
32
|
result: {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
// eslint-disable-next-line no-secrets/no-secrets
|
|
34
|
+
Result: [{ name: 'value', type: 'SvmAccountsInfoQueryResult' }],
|
|
35
|
+
SvmAccountsInfoQueryResult: [
|
|
36
|
+
{ name: 'accountsInfo', type: 'SvmAccountInfo[]' },
|
|
36
37
|
{ name: 'slot', type: 'uint256' },
|
|
37
38
|
],
|
|
38
|
-
|
|
39
|
+
SvmAccountInfo: [
|
|
39
40
|
{ name: 'executable', type: 'bool' },
|
|
40
41
|
{ name: 'owner', type: 'string' },
|
|
41
42
|
{ name: 'lamports', type: 'uint256' },
|
|
@@ -66,12 +67,12 @@ exports.ORACLE_QUERY_712_TYPES = {
|
|
|
66
67
|
Token: eip712Types_1.TOKEN_712_TYPE,
|
|
67
68
|
},
|
|
68
69
|
result: {
|
|
69
|
-
Result: [{ name: 'value', type: '
|
|
70
|
-
|
|
70
|
+
Result: [{ name: 'value', type: 'RelevantTokensQueryResult' }],
|
|
71
|
+
RelevantTokensQueryResult: [
|
|
71
72
|
{ name: 'timestamp', type: 'uint256' },
|
|
72
|
-
{ name: 'balances', type: '
|
|
73
|
+
{ name: 'balances', type: 'TokenBalance[]' },
|
|
73
74
|
],
|
|
74
|
-
|
|
75
|
+
TokenBalance: [
|
|
75
76
|
{ name: 'token', type: 'Token' },
|
|
76
77
|
{ name: 'balance', type: 'uint256' },
|
|
77
78
|
],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eip712Types.js","sourceRoot":"","sources":["../../src/oracle/eip712Types.ts"],"names":[],"mappings":";;;AAAA,uDAAsD;AAEzC,QAAA,iBAAiB,GAAG;IAC/B,IAAI,EAAE,yBAAyB;IAC/B,OAAO,EAAE,GAAG;CACb,CAAA;AAEY,QAAA,wBAAwB,GAAG;IACtC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE;IAClC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE;CACnC,CAAA;AAEY,QAAA,sBAAsB,GAAG;IACpC,YAAY,EAAE;QACZ,MAAM,EAAE;YACN,MAAM,EAAE;gBACN,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE;gBACpC,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE;gBAC/B,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE;gBAC/B,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,SAAS,EAAE;aACvC;SACF;QACD,MAAM,EAAE,EAAE,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,EAAE;KACxD;IACD,
|
|
1
|
+
{"version":3,"file":"eip712Types.js","sourceRoot":"","sources":["../../src/oracle/eip712Types.ts"],"names":[],"mappings":";;;AAAA,uDAAsD;AAEzC,QAAA,iBAAiB,GAAG;IAC/B,IAAI,EAAE,yBAAyB;IAC/B,OAAO,EAAE,GAAG;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OAAO,EAAE;gBAChC,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE;aACrC;SACF;KACF;IACD,aAAa,EAAE;QACb,MAAM,EAAE;YACN,MAAM,EAAE;gBACN,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE;gBACpC,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,SAAS,EAAE;gBACtC,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,QAAQ,EAAE;gBACtC,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE;aAClC;SACF;QACD,MAAM,EAAE;YACN,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,qBAAqB,EAAE,CAAC;YACxD,mBAAmB,EAAE;gBACnB,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,SAAS,EAAE;gBACxC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE;aACjC;SACF;KACF;CACF,CAAA"}
|
package/dist/oracle/types.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { Hash, Signature } from '../shared';
|
|
3
|
-
import { OracleEvmCallRequestValidator, OracleEvmCallResultValidator, OracleEvmCallValidator, OracleQueryNames, OracleRelevantTokenResultValidator, OracleRelevantTokensFilter, OracleRelevantTokensRequestValidator, OracleRelevantTokensResultValidator, OracleRelevantTokensValidator, OracleResponseValidator, OracleSubgraphQueryRequestValidator, OracleSubgraphQueryResultValidator, OracleSubgraphQueryValidator,
|
|
3
|
+
import { OracleEvmCallRequestValidator, OracleEvmCallResultValidator, OracleEvmCallValidator, OracleQueryNames, OracleRelevantTokenResultValidator, OracleRelevantTokensFilter, OracleRelevantTokensRequestValidator, OracleRelevantTokensResultValidator, OracleRelevantTokensValidator, OracleResponseValidator, OracleSubgraphQueryRequestValidator, OracleSubgraphQueryResultValidator, OracleSubgraphQueryValidator, OracleSvmAccountsInfoRequestValidator, OracleSvmAccountsInfoResultValidator, OracleSvmAccountsInfoValidator, OracleTokenPriceRequestValidator, OracleTokenPriceResultValidator, OracleTokenPriceValidator } from './validators';
|
|
4
4
|
export type OracleEvmCallRequest = z.infer<typeof OracleEvmCallRequestValidator>;
|
|
5
5
|
export type OracleEvmCallResult = z.infer<typeof OracleEvmCallResultValidator>;
|
|
6
6
|
export type OracleEvmCall = z.infer<typeof OracleEvmCallValidator>;
|
|
7
|
-
export type
|
|
8
|
-
export type
|
|
9
|
-
export type
|
|
7
|
+
export type OracleSvmAccountsInfoRequest = z.infer<typeof OracleSvmAccountsInfoRequestValidator>;
|
|
8
|
+
export type OracleSvmAccountsInfoResult = z.infer<typeof OracleSvmAccountsInfoResultValidator>;
|
|
9
|
+
export type OracleSvmAccountsInfo = z.infer<typeof OracleSvmAccountsInfoValidator>;
|
|
10
10
|
export type OracleTokenPriceRequest = z.infer<typeof OracleTokenPriceRequestValidator>;
|
|
11
11
|
export type OracleTokenPriceResult = z.infer<typeof OracleTokenPriceResultValidator>;
|
|
12
12
|
export type OracleTokenPrice = z.infer<typeof OracleTokenPriceValidator>;
|
|
@@ -24,9 +24,9 @@ type OracleTypesMap = {
|
|
|
24
24
|
params: OracleEvmCallRequest;
|
|
25
25
|
result: OracleEvmCallResult;
|
|
26
26
|
};
|
|
27
|
-
|
|
28
|
-
params:
|
|
29
|
-
result:
|
|
27
|
+
SvmAccountsInfoQuery: {
|
|
28
|
+
params: OracleSvmAccountsInfoRequest;
|
|
29
|
+
result: OracleSvmAccountsInfoResult;
|
|
30
30
|
};
|
|
31
31
|
TokenPriceQuery: {
|
|
32
32
|
params: OracleTokenPriceRequest;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/oracle/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;A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Number, number, number>;
|
|
|
3
3
|
export declare const OracleQueryNames: {
|
|
4
4
|
readonly TokenPriceQuery: "TokenPriceQuery";
|
|
5
5
|
readonly EvmCallQuery: "EvmCallQuery";
|
|
6
|
-
readonly
|
|
6
|
+
readonly SvmAccountsInfoQuery: "SvmAccountsInfoQuery";
|
|
7
7
|
readonly RelevantTokensQuery: "RelevantTokensQuery";
|
|
8
8
|
readonly SubgraphQuery: "SubgraphQuery";
|
|
9
9
|
};
|
|
@@ -102,7 +102,7 @@ export declare const OracleEvmCallValidator: z.ZodObject<{
|
|
|
102
102
|
};
|
|
103
103
|
signature: string;
|
|
104
104
|
}>;
|
|
105
|
-
export declare const
|
|
105
|
+
export declare const OracleSvmAccountsInfoRequestValidator: z.ZodObject<{
|
|
106
106
|
publicKeys: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
107
107
|
timestamp: z.ZodEffects<z.ZodNumber, number, number>;
|
|
108
108
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -112,7 +112,7 @@ export declare const OracleSvmGetAccountsInfoRequestValidator: z.ZodObject<{
|
|
|
112
112
|
timestamp: number;
|
|
113
113
|
publicKeys: string[];
|
|
114
114
|
}>;
|
|
115
|
-
export declare const
|
|
115
|
+
export declare const OracleSvmAccountsInfoResultValidator: z.ZodObject<{
|
|
116
116
|
accountsInfo: z.ZodArray<z.ZodObject<{
|
|
117
117
|
executable: z.ZodBoolean;
|
|
118
118
|
owner: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -152,10 +152,10 @@ export declare const OracleSvmGetAccountsInfoResultValidator: z.ZodObject<{
|
|
|
152
152
|
}[];
|
|
153
153
|
slot: string;
|
|
154
154
|
}>;
|
|
155
|
-
export declare const
|
|
155
|
+
export declare const OracleSvmAccountsInfoValidator: z.ZodObject<{
|
|
156
156
|
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
157
157
|
query: z.ZodObject<{
|
|
158
|
-
name: z.ZodLiteral<"
|
|
158
|
+
name: z.ZodLiteral<"SvmAccountsInfoQuery">;
|
|
159
159
|
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
160
160
|
params: z.ZodObject<{
|
|
161
161
|
publicKeys: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
@@ -172,14 +172,14 @@ export declare const OracleSvmGetAccountsInfoValidator: z.ZodObject<{
|
|
|
172
172
|
timestamp: number;
|
|
173
173
|
publicKeys: string[];
|
|
174
174
|
};
|
|
175
|
-
name: "
|
|
175
|
+
name: "SvmAccountsInfoQuery";
|
|
176
176
|
hash: string;
|
|
177
177
|
}, {
|
|
178
178
|
params: {
|
|
179
179
|
timestamp: number;
|
|
180
180
|
publicKeys: string[];
|
|
181
181
|
};
|
|
182
|
-
name: "
|
|
182
|
+
name: "SvmAccountsInfoQuery";
|
|
183
183
|
hash: string;
|
|
184
184
|
}>;
|
|
185
185
|
result: z.ZodObject<{
|
|
@@ -264,7 +264,7 @@ export declare const OracleSvmGetAccountsInfoValidator: z.ZodObject<{
|
|
|
264
264
|
timestamp: number;
|
|
265
265
|
publicKeys: string[];
|
|
266
266
|
};
|
|
267
|
-
name: "
|
|
267
|
+
name: "SvmAccountsInfoQuery";
|
|
268
268
|
hash: string;
|
|
269
269
|
};
|
|
270
270
|
signature: string;
|
|
@@ -286,7 +286,7 @@ export declare const OracleSvmGetAccountsInfoValidator: z.ZodObject<{
|
|
|
286
286
|
timestamp: number;
|
|
287
287
|
publicKeys: string[];
|
|
288
288
|
};
|
|
289
|
-
name: "
|
|
289
|
+
name: "SvmAccountsInfoQuery";
|
|
290
290
|
hash: string;
|
|
291
291
|
};
|
|
292
292
|
signature: string;
|
|
@@ -1296,7 +1296,7 @@ export declare const OracleResponseValidator: z.ZodUnion<[z.ZodObject<{
|
|
|
1296
1296
|
}>, z.ZodObject<{
|
|
1297
1297
|
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1298
1298
|
query: z.ZodObject<{
|
|
1299
|
-
name: z.ZodLiteral<"
|
|
1299
|
+
name: z.ZodLiteral<"SvmAccountsInfoQuery">;
|
|
1300
1300
|
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1301
1301
|
params: z.ZodObject<{
|
|
1302
1302
|
publicKeys: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
@@ -1313,14 +1313,14 @@ export declare const OracleResponseValidator: z.ZodUnion<[z.ZodObject<{
|
|
|
1313
1313
|
timestamp: number;
|
|
1314
1314
|
publicKeys: string[];
|
|
1315
1315
|
};
|
|
1316
|
-
name: "
|
|
1316
|
+
name: "SvmAccountsInfoQuery";
|
|
1317
1317
|
hash: string;
|
|
1318
1318
|
}, {
|
|
1319
1319
|
params: {
|
|
1320
1320
|
timestamp: number;
|
|
1321
1321
|
publicKeys: string[];
|
|
1322
1322
|
};
|
|
1323
|
-
name: "
|
|
1323
|
+
name: "SvmAccountsInfoQuery";
|
|
1324
1324
|
hash: string;
|
|
1325
1325
|
}>;
|
|
1326
1326
|
result: z.ZodObject<{
|
|
@@ -1405,7 +1405,7 @@ export declare const OracleResponseValidator: z.ZodUnion<[z.ZodObject<{
|
|
|
1405
1405
|
timestamp: number;
|
|
1406
1406
|
publicKeys: string[];
|
|
1407
1407
|
};
|
|
1408
|
-
name: "
|
|
1408
|
+
name: "SvmAccountsInfoQuery";
|
|
1409
1409
|
hash: string;
|
|
1410
1410
|
};
|
|
1411
1411
|
signature: string;
|
|
@@ -1427,7 +1427,7 @@ export declare const OracleResponseValidator: z.ZodUnion<[z.ZodObject<{
|
|
|
1427
1427
|
timestamp: number;
|
|
1428
1428
|
publicKeys: string[];
|
|
1429
1429
|
};
|
|
1430
|
-
name: "
|
|
1430
|
+
name: "SvmAccountsInfoQuery";
|
|
1431
1431
|
hash: string;
|
|
1432
1432
|
};
|
|
1433
1433
|
signature: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validators.d.ts","sourceRoot":"","sources":["../../src/oracle/validators.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAmBvB,eAAO,MAAM,aAAa,2CAA6F,CAAA;AAEvH,eAAO,MAAM,gBAAgB;;;;;;
|
|
1
|
+
{"version":3,"file":"validators.d.ts","sourceRoot":"","sources":["../../src/oracle/validators.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAmBvB,eAAO,MAAM,aAAa,2CAA6F,CAAA;AAEvH,eAAO,MAAM,gBAAgB;;;;;;CAMnB,CAAA;AAsBV,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;EAKxC,CAAA;AAEF,eAAO,MAAM,4BAA4B,aAAkB,CAAA;AAE3D,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIlC,CAAA;AAID,eAAO,MAAM,qCAAqC;;;;;;;;;EAGhD,CAAA;AAEF,eAAO,MAAM,oCAAoC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAG/C,CAAA;AAEF,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAI1C,CAAA;AAID,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;EAG3C,CAAA;AAEF,eAAO,MAAM,+BAA+B,aAAkB,CAAA;AAE9D,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIrC,CAAA;AAID,eAAO,MA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAMlC,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.OracleResponseValidator = exports.OracleSubgraphQueryValidator = exports.OracleSubgraphQueryResultValidator = exports.OracleSubgraphQueryRequestValidator = exports.OracleRelevantTokensValidator = exports.OracleRelevantTokensResultValidator = exports.OracleRelevantTokenResultValidator = exports.OracleRelevantTokensRequestValidator = exports.OracleRelevantTokenFilterValidator = exports.OracleRelevantTokensFilter = exports.OracleTokenPriceValidator = exports.OracleTokenPriceResultValidator = exports.OracleTokenPriceRequestValidator = exports.
|
|
3
|
+
exports.OracleResponseValidator = exports.OracleSubgraphQueryValidator = exports.OracleSubgraphQueryResultValidator = exports.OracleSubgraphQueryRequestValidator = exports.OracleRelevantTokensValidator = exports.OracleRelevantTokensResultValidator = exports.OracleRelevantTokenResultValidator = exports.OracleRelevantTokensRequestValidator = exports.OracleRelevantTokenFilterValidator = exports.OracleRelevantTokensFilter = exports.OracleTokenPriceValidator = exports.OracleTokenPriceResultValidator = exports.OracleTokenPriceRequestValidator = exports.OracleSvmAccountsInfoValidator = exports.OracleSvmAccountsInfoResultValidator = exports.OracleSvmAccountsInfoRequestValidator = exports.OracleEvmCallValidator = exports.OracleEvmCallResultValidator = exports.OracleEvmCallRequestValidator = exports.OracleQueryNames = exports.PastTimestamp = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const shared_1 = require("../shared");
|
|
6
6
|
const validators_1 = require("../shared/validators");
|
|
@@ -9,8 +9,7 @@ exports.PastTimestamp = shared_1.TimestampValidator.refine((val) => val <= Date.
|
|
|
9
9
|
exports.OracleQueryNames = {
|
|
10
10
|
TokenPriceQuery: 'TokenPriceQuery',
|
|
11
11
|
EvmCallQuery: 'EvmCallQuery',
|
|
12
|
-
|
|
13
|
-
SvmGetAccountsInfoQuery: 'SvmGetAccountsInfoQuery',
|
|
12
|
+
SvmAccountsInfoQuery: 'SvmAccountsInfoQuery',
|
|
14
13
|
RelevantTokensQuery: 'RelevantTokensQuery',
|
|
15
14
|
SubgraphQuery: 'SubgraphQuery',
|
|
16
15
|
};
|
|
@@ -36,16 +35,16 @@ exports.OracleEvmCallRequestValidator = zod_1.z.object({
|
|
|
36
35
|
});
|
|
37
36
|
exports.OracleEvmCallResultValidator = shared_1.StringValidator;
|
|
38
37
|
exports.OracleEvmCallValidator = buildOracleResponseValidator(exports.OracleQueryNames.EvmCallQuery, exports.OracleEvmCallRequestValidator, exports.OracleEvmCallResultValidator);
|
|
39
|
-
// =========
|
|
40
|
-
exports.
|
|
38
|
+
// ========= SvmAccountsInfoQuery =========
|
|
39
|
+
exports.OracleSvmAccountsInfoRequestValidator = zod_1.z.object({
|
|
41
40
|
publicKeys: zod_1.z.array(shared_1.SvmAddressValidator),
|
|
42
41
|
timestamp: exports.PastTimestamp,
|
|
43
42
|
});
|
|
44
|
-
exports.
|
|
43
|
+
exports.OracleSvmAccountsInfoResultValidator = zod_1.z.object({
|
|
45
44
|
accountsInfo: zod_1.z.array(shared_1.SvmAccountInfoValidator),
|
|
46
45
|
slot: shared_1.BigIntegerValidator,
|
|
47
46
|
});
|
|
48
|
-
exports.
|
|
47
|
+
exports.OracleSvmAccountsInfoValidator = buildOracleResponseValidator(exports.OracleQueryNames.SvmAccountsInfoQuery, exports.OracleSvmAccountsInfoRequestValidator, exports.OracleSvmAccountsInfoResultValidator);
|
|
49
48
|
// ========= Token Price =========
|
|
50
49
|
exports.OracleTokenPriceRequestValidator = zod_1.z.object({
|
|
51
50
|
timestamp: exports.PastTimestamp,
|
|
@@ -96,6 +95,6 @@ exports.OracleResponseValidator = zod_1.z.union([
|
|
|
96
95
|
exports.OracleTokenPriceValidator,
|
|
97
96
|
exports.OracleRelevantTokensValidator,
|
|
98
97
|
exports.OracleSubgraphQueryValidator,
|
|
99
|
-
exports.
|
|
98
|
+
exports.OracleSvmAccountsInfoValidator,
|
|
100
99
|
]);
|
|
101
100
|
//# sourceMappingURL=validators.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validators.js","sourceRoot":"","sources":["../../src/oracle/validators.ts"],"names":[],"mappings":";;;AAAA,6BAAuB;AAEvB,sCAYkB;AAClB,qDAA+D;AAE/D,6BAA6B;AAEhB,QAAA,aAAa,GAAG,2BAAkB,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,IAAI,IAAI,CAAC,GAAG,EAAE,EAAE,mCAAmC,CAAC,CAAA;AAE1G,QAAA,gBAAgB,GAAG;IAC9B,eAAe,EAAE,iBAAiB;IAClC,YAAY,EAAE,cAAc;IAC5B,
|
|
1
|
+
{"version":3,"file":"validators.js","sourceRoot":"","sources":["../../src/oracle/validators.ts"],"names":[],"mappings":";;;AAAA,6BAAuB;AAEvB,sCAYkB;AAClB,qDAA+D;AAE/D,6BAA6B;AAEhB,QAAA,aAAa,GAAG,2BAAkB,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,IAAI,IAAI,CAAC,GAAG,EAAE,EAAE,mCAAmC,CAAC,CAAA;AAE1G,QAAA,gBAAgB,GAAG;IAC9B,eAAe,EAAE,iBAAiB;IAClC,YAAY,EAAE,cAAc;IAC5B,oBAAoB,EAAE,sBAAsB;IAC5C,mBAAmB,EAAE,qBAAqB;IAC1C,aAAa,EAAE,eAAe;CACtB,CAAA;AAEV,S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AU,EAAE,wBAAe;IAC3B,KAAK,EAAE,wBAAe;CACvB,CAAC,CAAA;AAEW,QAAA,kCAAkC,GAAG,OAAC,CAAC,MAAM,CAAC;IACzD,WAAW,EAAE,qCAAwB;IACrC,IAAI,EAAE,wBAAe;CACtB,CAAC,CAAA;AAEW,QAAA,4BAA4B,GAAG,4BAA4B,CACtE,wBAAgB,CAAC,aAAa,EAC9B,2CAAmC,EACnC,0CAAkC,CACnC,CAAA;AAED,8BAA8B;AAEjB,QAAA,uBAAuB,GAAG,OAAC,CAAC,KAAK,CAAC;IAC7C,8BAAsB;IACtB,iCAAyB;IACzB,qCAA6B;IAC7B,oCAA4B;IAC5B,sCAA8B;CAC/B,CAAC,CAAA"}
|
|
@@ -472,7 +472,7 @@ export declare const RunnerExecutionResultDataValidator: z.ZodObject<{
|
|
|
472
472
|
}>, z.ZodObject<{
|
|
473
473
|
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
474
474
|
query: z.ZodObject<{
|
|
475
|
-
name: z.ZodLiteral<"
|
|
475
|
+
name: z.ZodLiteral<"SvmAccountsInfoQuery">;
|
|
476
476
|
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
477
477
|
params: z.ZodObject<{
|
|
478
478
|
publicKeys: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
@@ -489,14 +489,14 @@ export declare const RunnerExecutionResultDataValidator: z.ZodObject<{
|
|
|
489
489
|
timestamp: number;
|
|
490
490
|
publicKeys: string[];
|
|
491
491
|
};
|
|
492
|
-
name: "
|
|
492
|
+
name: "SvmAccountsInfoQuery";
|
|
493
493
|
hash: string;
|
|
494
494
|
}, {
|
|
495
495
|
params: {
|
|
496
496
|
timestamp: number;
|
|
497
497
|
publicKeys: string[];
|
|
498
498
|
};
|
|
499
|
-
name: "
|
|
499
|
+
name: "SvmAccountsInfoQuery";
|
|
500
500
|
hash: string;
|
|
501
501
|
}>;
|
|
502
502
|
result: z.ZodObject<{
|
|
@@ -581,7 +581,7 @@ export declare const RunnerExecutionResultDataValidator: z.ZodObject<{
|
|
|
581
581
|
timestamp: number;
|
|
582
582
|
publicKeys: string[];
|
|
583
583
|
};
|
|
584
|
-
name: "
|
|
584
|
+
name: "SvmAccountsInfoQuery";
|
|
585
585
|
hash: string;
|
|
586
586
|
};
|
|
587
587
|
signature: string;
|
|
@@ -603,7 +603,7 @@ export declare const RunnerExecutionResultDataValidator: z.ZodObject<{
|
|
|
603
603
|
timestamp: number;
|
|
604
604
|
publicKeys: string[];
|
|
605
605
|
};
|
|
606
|
-
name: "
|
|
606
|
+
name: "SvmAccountsInfoQuery";
|
|
607
607
|
hash: string;
|
|
608
608
|
};
|
|
609
609
|
signature: string;
|
|
@@ -1027,7 +1027,7 @@ export declare const RunnerExecutionResultDataValidator: z.ZodObject<{
|
|
|
1027
1027
|
timestamp: number;
|
|
1028
1028
|
publicKeys: string[];
|
|
1029
1029
|
};
|
|
1030
|
-
name: "
|
|
1030
|
+
name: "SvmAccountsInfoQuery";
|
|
1031
1031
|
hash: string;
|
|
1032
1032
|
};
|
|
1033
1033
|
signature: string;
|
|
@@ -1219,7 +1219,7 @@ export declare const RunnerExecutionResultDataValidator: z.ZodObject<{
|
|
|
1219
1219
|
timestamp: number;
|
|
1220
1220
|
publicKeys: string[];
|
|
1221
1221
|
};
|
|
1222
|
-
name: "
|
|
1222
|
+
name: "SvmAccountsInfoQuery";
|
|
1223
1223
|
hash: string;
|
|
1224
1224
|
};
|
|
1225
1225
|
signature: string;
|
|
@@ -1842,7 +1842,7 @@ export declare const RunnerExecutionResultValidator: z.ZodObject<{
|
|
|
1842
1842
|
}>, z.ZodObject<{
|
|
1843
1843
|
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1844
1844
|
query: z.ZodObject<{
|
|
1845
|
-
name: z.ZodLiteral<"
|
|
1845
|
+
name: z.ZodLiteral<"SvmAccountsInfoQuery">;
|
|
1846
1846
|
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1847
1847
|
params: z.ZodObject<{
|
|
1848
1848
|
publicKeys: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
@@ -1859,14 +1859,14 @@ export declare const RunnerExecutionResultValidator: z.ZodObject<{
|
|
|
1859
1859
|
timestamp: number;
|
|
1860
1860
|
publicKeys: string[];
|
|
1861
1861
|
};
|
|
1862
|
-
name: "
|
|
1862
|
+
name: "SvmAccountsInfoQuery";
|
|
1863
1863
|
hash: string;
|
|
1864
1864
|
}, {
|
|
1865
1865
|
params: {
|
|
1866
1866
|
timestamp: number;
|
|
1867
1867
|
publicKeys: string[];
|
|
1868
1868
|
};
|
|
1869
|
-
name: "
|
|
1869
|
+
name: "SvmAccountsInfoQuery";
|
|
1870
1870
|
hash: string;
|
|
1871
1871
|
}>;
|
|
1872
1872
|
result: z.ZodObject<{
|
|
@@ -1951,7 +1951,7 @@ export declare const RunnerExecutionResultValidator: z.ZodObject<{
|
|
|
1951
1951
|
timestamp: number;
|
|
1952
1952
|
publicKeys: string[];
|
|
1953
1953
|
};
|
|
1954
|
-
name: "
|
|
1954
|
+
name: "SvmAccountsInfoQuery";
|
|
1955
1955
|
hash: string;
|
|
1956
1956
|
};
|
|
1957
1957
|
signature: string;
|
|
@@ -1973,7 +1973,7 @@ export declare const RunnerExecutionResultValidator: z.ZodObject<{
|
|
|
1973
1973
|
timestamp: number;
|
|
1974
1974
|
publicKeys: string[];
|
|
1975
1975
|
};
|
|
1976
|
-
name: "
|
|
1976
|
+
name: "SvmAccountsInfoQuery";
|
|
1977
1977
|
hash: string;
|
|
1978
1978
|
};
|
|
1979
1979
|
signature: string;
|
|
@@ -2397,7 +2397,7 @@ export declare const RunnerExecutionResultValidator: z.ZodObject<{
|
|
|
2397
2397
|
timestamp: number;
|
|
2398
2398
|
publicKeys: string[];
|
|
2399
2399
|
};
|
|
2400
|
-
name: "
|
|
2400
|
+
name: "SvmAccountsInfoQuery";
|
|
2401
2401
|
hash: string;
|
|
2402
2402
|
};
|
|
2403
2403
|
signature: string;
|
|
@@ -2589,7 +2589,7 @@ export declare const RunnerExecutionResultValidator: z.ZodObject<{
|
|
|
2589
2589
|
timestamp: number;
|
|
2590
2590
|
publicKeys: string[];
|
|
2591
2591
|
};
|
|
2592
|
-
name: "
|
|
2592
|
+
name: "SvmAccountsInfoQuery";
|
|
2593
2593
|
hash: string;
|
|
2594
2594
|
};
|
|
2595
2595
|
signature: string;
|
|
@@ -2783,7 +2783,7 @@ export declare const RunnerExecutionResultValidator: z.ZodObject<{
|
|
|
2783
2783
|
timestamp: number;
|
|
2784
2784
|
publicKeys: string[];
|
|
2785
2785
|
};
|
|
2786
|
-
name: "
|
|
2786
|
+
name: "SvmAccountsInfoQuery";
|
|
2787
2787
|
hash: string;
|
|
2788
2788
|
};
|
|
2789
2789
|
signature: string;
|
|
@@ -2979,7 +2979,7 @@ export declare const RunnerExecutionResultValidator: z.ZodObject<{
|
|
|
2979
2979
|
timestamp: number;
|
|
2980
2980
|
publicKeys: string[];
|
|
2981
2981
|
};
|
|
2982
|
-
name: "
|
|
2982
|
+
name: "SvmAccountsInfoQuery";
|
|
2983
2983
|
hash: string;
|
|
2984
2984
|
};
|
|
2985
2985
|
signature: string;
|
|
@@ -468,7 +468,7 @@ export declare const RunExecutionRequestValidator: z.ZodEffects<z.ZodObject<{
|
|
|
468
468
|
}>, z.ZodObject<{
|
|
469
469
|
signature: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
470
470
|
query: z.ZodObject<{
|
|
471
|
-
name: z.ZodLiteral<"
|
|
471
|
+
name: z.ZodLiteral<"SvmAccountsInfoQuery">;
|
|
472
472
|
hash: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
473
473
|
params: z.ZodObject<{
|
|
474
474
|
publicKeys: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
@@ -485,14 +485,14 @@ export declare const RunExecutionRequestValidator: z.ZodEffects<z.ZodObject<{
|
|
|
485
485
|
timestamp: number;
|
|
486
486
|
publicKeys: string[];
|
|
487
487
|
};
|
|
488
|
-
name: "
|
|
488
|
+
name: "SvmAccountsInfoQuery";
|
|
489
489
|
hash: string;
|
|
490
490
|
}, {
|
|
491
491
|
params: {
|
|
492
492
|
timestamp: number;
|
|
493
493
|
publicKeys: string[];
|
|
494
494
|
};
|
|
495
|
-
name: "
|
|
495
|
+
name: "SvmAccountsInfoQuery";
|
|
496
496
|
hash: string;
|
|
497
497
|
}>;
|
|
498
498
|
result: z.ZodObject<{
|
|
@@ -577,7 +577,7 @@ export declare const RunExecutionRequestValidator: z.ZodEffects<z.ZodObject<{
|
|
|
577
577
|
timestamp: number;
|
|
578
578
|
publicKeys: string[];
|
|
579
579
|
};
|
|
580
|
-
name: "
|
|
580
|
+
name: "SvmAccountsInfoQuery";
|
|
581
581
|
hash: string;
|
|
582
582
|
};
|
|
583
583
|
signature: string;
|
|
@@ -599,7 +599,7 @@ export declare const RunExecutionRequestValidator: z.ZodEffects<z.ZodObject<{
|
|
|
599
599
|
timestamp: number;
|
|
600
600
|
publicKeys: string[];
|
|
601
601
|
};
|
|
602
|
-
name: "
|
|
602
|
+
name: "SvmAccountsInfoQuery";
|
|
603
603
|
hash: string;
|
|
604
604
|
};
|
|
605
605
|
signature: string;
|
|
@@ -661,7 +661,7 @@ export declare const RunExecutionRequestValidator: z.ZodEffects<z.ZodObject<{
|
|
|
661
661
|
timestamp: number;
|
|
662
662
|
publicKeys: string[];
|
|
663
663
|
};
|
|
664
|
-
name: "
|
|
664
|
+
name: "SvmAccountsInfoQuery";
|
|
665
665
|
hash: string;
|
|
666
666
|
};
|
|
667
667
|
signature: string;
|
|
@@ -774,7 +774,7 @@ export declare const RunExecutionRequestValidator: z.ZodEffects<z.ZodObject<{
|
|
|
774
774
|
timestamp: number;
|
|
775
775
|
publicKeys: string[];
|
|
776
776
|
};
|
|
777
|
-
name: "
|
|
777
|
+
name: "SvmAccountsInfoQuery";
|
|
778
778
|
hash: string;
|
|
779
779
|
};
|
|
780
780
|
signature: string;
|
|
@@ -887,7 +887,7 @@ export declare const RunExecutionRequestValidator: z.ZodEffects<z.ZodObject<{
|
|
|
887
887
|
timestamp: number;
|
|
888
888
|
publicKeys: string[];
|
|
889
889
|
};
|
|
890
|
-
name: "
|
|
890
|
+
name: "SvmAccountsInfoQuery";
|
|
891
891
|
hash: string;
|
|
892
892
|
};
|
|
893
893
|
signature: string;
|
|
@@ -1000,7 +1000,7 @@ export declare const RunExecutionRequestValidator: z.ZodEffects<z.ZodObject<{
|
|
|
1000
1000
|
timestamp: number;
|
|
1001
1001
|
publicKeys: string[];
|
|
1002
1002
|
};
|
|
1003
|
-
name: "
|
|
1003
|
+
name: "SvmAccountsInfoQuery";
|
|
1004
1004
|
hash: string;
|
|
1005
1005
|
};
|
|
1006
1006
|
signature: string;
|