@xyo-network/xl1-rpc 1.16.21 → 1.16.23
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/neutral/engine/rpcMethodHandlersFromViewer.d.ts.map +1 -1
- package/dist/neutral/index.mjs +616 -920
- package/dist/neutral/index.mjs.map +1 -1
- package/dist/neutral/provider/viewer/JsonRpcXyoViewer.d.ts +9 -1
- package/dist/neutral/provider/viewer/JsonRpcXyoViewer.d.ts.map +1 -1
- package/dist/neutral/types/schema/AllRpcSchemas.d.ts +136 -8
- package/dist/neutral/types/schema/AllRpcSchemas.d.ts.map +1 -1
- package/dist/neutral/types/schema/DataLakeViewerRpcSchema.d.ts.map +1 -1
- package/dist/neutral/types/schema/RewardsByPositionViewerRpcSchemas.d.ts.map +1 -1
- package/dist/neutral/types/schema/RewardsByStakerViewerRpcSchemas.d.ts.map +1 -1
- package/dist/neutral/types/schema/RewardsByStepViewerRpcSchemas.d.ts.map +1 -1
- package/dist/neutral/types/schema/RewardsTotalViewerRpcSchemas.d.ts.map +1 -1
- package/dist/neutral/types/schema/StepViewerRpcSchemas.d.ts.map +1 -1
- package/dist/neutral/types/schema/TimeSyncViewerRpcSchema.d.ts.map +1 -1
- package/dist/neutral/types/schema/XyoPermissionsRpcSchemas.d.ts.map +1 -1
- package/dist/neutral/types/schema/XyoRunnerRpcSchemas.d.ts.map +1 -1
- package/dist/neutral/types/schema/XyoSignerRpcSchemas.d.ts.map +1 -1
- package/dist/neutral/types/schema/XyoViewerRpcSchemas.d.ts +136 -8
- package/dist/neutral/types/schema/XyoViewerRpcSchemas.d.ts.map +1 -1
- package/dist/neutral/types/schema/index.d.ts +0 -1
- package/dist/neutral/types/schema/index.d.ts.map +1 -1
- package/dist/node/engine/rpcMethodHandlersFromViewer.d.ts.map +1 -1
- package/dist/node/index-node.mjs +616 -920
- package/dist/node/index-node.mjs.map +1 -1
- package/dist/node/provider/viewer/JsonRpcXyoViewer.d.ts +9 -1
- package/dist/node/provider/viewer/JsonRpcXyoViewer.d.ts.map +1 -1
- package/dist/node/types/schema/AllRpcSchemas.d.ts +136 -8
- package/dist/node/types/schema/AllRpcSchemas.d.ts.map +1 -1
- package/dist/node/types/schema/DataLakeViewerRpcSchema.d.ts.map +1 -1
- package/dist/node/types/schema/RewardsByPositionViewerRpcSchemas.d.ts.map +1 -1
- package/dist/node/types/schema/RewardsByStakerViewerRpcSchemas.d.ts.map +1 -1
- package/dist/node/types/schema/RewardsByStepViewerRpcSchemas.d.ts.map +1 -1
- package/dist/node/types/schema/RewardsTotalViewerRpcSchemas.d.ts.map +1 -1
- package/dist/node/types/schema/StepViewerRpcSchemas.d.ts.map +1 -1
- package/dist/node/types/schema/TimeSyncViewerRpcSchema.d.ts.map +1 -1
- package/dist/node/types/schema/XyoPermissionsRpcSchemas.d.ts.map +1 -1
- package/dist/node/types/schema/XyoRunnerRpcSchemas.d.ts.map +1 -1
- package/dist/node/types/schema/XyoSignerRpcSchemas.d.ts.map +1 -1
- package/dist/node/types/schema/XyoViewerRpcSchemas.d.ts +136 -8
- package/dist/node/types/schema/XyoViewerRpcSchemas.d.ts.map +1 -1
- package/dist/node/types/schema/index.d.ts +0 -1
- package/dist/node/types/schema/index.d.ts.map +1 -1
- package/package.json +8 -8
- package/src/engine/rpcMethodHandlersFromViewer.ts +2 -0
- package/src/provider/viewer/JsonRpcXyoViewer.ts +27 -6
- package/src/types/schema/DataLakeViewerRpcSchema.ts +1 -1
- package/src/types/schema/RewardsByPositionViewerRpcSchemas.ts +1 -1
- package/src/types/schema/RewardsByStakerViewerRpcSchemas.ts +1 -1
- package/src/types/schema/RewardsByStepViewerRpcSchemas.ts +1 -1
- package/src/types/schema/RewardsTotalViewerRpcSchemas.ts +1 -1
- package/src/types/schema/StepViewerRpcSchemas.ts +1 -1
- package/src/types/schema/TimeSyncViewerRpcSchema.ts +1 -1
- package/src/types/schema/XyoPermissionsRpcSchemas.ts +3 -3
- package/src/types/schema/XyoRunnerRpcSchemas.ts +1 -1
- package/src/types/schema/XyoSignerRpcSchemas.ts +1 -4
- package/src/types/schema/XyoViewerRpcSchemas.ts +32 -19
- package/src/types/schema/index.ts +0 -1
- package/dist/neutral/types/schema/common/ArrayBuffer.d.ts +0 -4
- package/dist/neutral/types/schema/common/ArrayBuffer.d.ts.map +0 -1
- package/dist/neutral/types/schema/common/BlockBoundWitness.d.ts +0 -44
- package/dist/neutral/types/schema/common/BlockBoundWitness.d.ts.map +0 -1
- package/dist/neutral/types/schema/common/BoundWitness.d.ts +0 -123
- package/dist/neutral/types/schema/common/BoundWitness.d.ts.map +0 -1
- package/dist/neutral/types/schema/common/Chain.d.ts +0 -4
- package/dist/neutral/types/schema/common/Chain.d.ts.map +0 -1
- package/dist/neutral/types/schema/common/HydratedBlock.d.ts +0 -133
- package/dist/neutral/types/schema/common/HydratedBlock.d.ts.map +0 -1
- package/dist/neutral/types/schema/common/HydratedTransaction.d.ts +0 -210
- package/dist/neutral/types/schema/common/HydratedTransaction.d.ts.map +0 -1
- package/dist/neutral/types/schema/common/Json.d.ts +0 -7
- package/dist/neutral/types/schema/common/Json.d.ts.map +0 -1
- package/dist/neutral/types/schema/common/Permission.d.ts +0 -53
- package/dist/neutral/types/schema/common/Permission.d.ts.map +0 -1
- package/dist/neutral/types/schema/common/RewardsRangeOptions.d.ts +0 -11
- package/dist/neutral/types/schema/common/RewardsRangeOptions.d.ts.map +0 -1
- package/dist/neutral/types/schema/common/Sequence.d.ts +0 -9
- package/dist/neutral/types/schema/common/Sequence.d.ts.map +0 -1
- package/dist/neutral/types/schema/common/Stake.d.ts +0 -62
- package/dist/neutral/types/schema/common/Stake.d.ts.map +0 -1
- package/dist/neutral/types/schema/common/TimeDomain.d.ts +0 -3
- package/dist/neutral/types/schema/common/TimeDomain.d.ts.map +0 -1
- package/dist/neutral/types/schema/common/TransactionBoundWitness.d.ts +0 -75
- package/dist/neutral/types/schema/common/TransactionBoundWitness.d.ts.map +0 -1
- package/dist/neutral/types/schema/common/TransactionFees.d.ts +0 -53
- package/dist/neutral/types/schema/common/TransactionFees.d.ts.map +0 -1
- package/dist/neutral/types/schema/common/TransferPair.d.ts +0 -3
- package/dist/neutral/types/schema/common/TransferPair.d.ts.map +0 -1
- package/dist/neutral/types/schema/common/index.d.ts +0 -16
- package/dist/neutral/types/schema/common/index.d.ts.map +0 -1
- package/dist/node/types/schema/common/ArrayBuffer.d.ts +0 -4
- package/dist/node/types/schema/common/ArrayBuffer.d.ts.map +0 -1
- package/dist/node/types/schema/common/BlockBoundWitness.d.ts +0 -44
- package/dist/node/types/schema/common/BlockBoundWitness.d.ts.map +0 -1
- package/dist/node/types/schema/common/BoundWitness.d.ts +0 -123
- package/dist/node/types/schema/common/BoundWitness.d.ts.map +0 -1
- package/dist/node/types/schema/common/Chain.d.ts +0 -4
- package/dist/node/types/schema/common/Chain.d.ts.map +0 -1
- package/dist/node/types/schema/common/HydratedBlock.d.ts +0 -133
- package/dist/node/types/schema/common/HydratedBlock.d.ts.map +0 -1
- package/dist/node/types/schema/common/HydratedTransaction.d.ts +0 -210
- package/dist/node/types/schema/common/HydratedTransaction.d.ts.map +0 -1
- package/dist/node/types/schema/common/Json.d.ts +0 -7
- package/dist/node/types/schema/common/Json.d.ts.map +0 -1
- package/dist/node/types/schema/common/Permission.d.ts +0 -53
- package/dist/node/types/schema/common/Permission.d.ts.map +0 -1
- package/dist/node/types/schema/common/RewardsRangeOptions.d.ts +0 -11
- package/dist/node/types/schema/common/RewardsRangeOptions.d.ts.map +0 -1
- package/dist/node/types/schema/common/Sequence.d.ts +0 -9
- package/dist/node/types/schema/common/Sequence.d.ts.map +0 -1
- package/dist/node/types/schema/common/Stake.d.ts +0 -62
- package/dist/node/types/schema/common/Stake.d.ts.map +0 -1
- package/dist/node/types/schema/common/TimeDomain.d.ts +0 -3
- package/dist/node/types/schema/common/TimeDomain.d.ts.map +0 -1
- package/dist/node/types/schema/common/TransactionBoundWitness.d.ts +0 -75
- package/dist/node/types/schema/common/TransactionBoundWitness.d.ts.map +0 -1
- package/dist/node/types/schema/common/TransactionFees.d.ts +0 -53
- package/dist/node/types/schema/common/TransactionFees.d.ts.map +0 -1
- package/dist/node/types/schema/common/TransferPair.d.ts +0 -3
- package/dist/node/types/schema/common/TransferPair.d.ts.map +0 -1
- package/dist/node/types/schema/common/index.d.ts +0 -16
- package/dist/node/types/schema/common/index.d.ts.map +0 -1
- package/src/types/schema/common/ArrayBuffer.ts +0 -42
- package/src/types/schema/common/BlockBoundWitness.ts +0 -36
- package/src/types/schema/common/BoundWitness.ts +0 -56
- package/src/types/schema/common/Chain.ts +0 -5
- package/src/types/schema/common/HydratedBlock.ts +0 -32
- package/src/types/schema/common/HydratedTransaction.ts +0 -37
- package/src/types/schema/common/Json.ts +0 -19
- package/src/types/schema/common/Permission.ts +0 -23
- package/src/types/schema/common/RewardsRangeOptions.ts +0 -10
- package/src/types/schema/common/Sequence.ts +0 -15
- package/src/types/schema/common/Stake.ts +0 -43
- package/src/types/schema/common/TimeDomain.ts +0 -7
- package/src/types/schema/common/TransactionBoundWitness.ts +0 -42
- package/src/types/schema/common/TransactionFees.ts +0 -45
- package/src/types/schema/common/TransferPair.ts +0 -6
- package/src/types/schema/common/index.ts +0 -15
package/dist/neutral/index.mjs
CHANGED
|
@@ -45,6 +45,8 @@ var rpcMethodHandlersFromViewer = /* @__PURE__ */ __name((viewer) => {
|
|
|
45
45
|
xyoViewer_networkStakeStepRewardsForStepLevel: /* @__PURE__ */ __name((params) => viewer.networkStakeStepRewardsForStepLevel?.(...params ?? []), "xyoViewer_networkStakeStepRewardsForStepLevel"),
|
|
46
46
|
xyoViewer_accountBalance: /* @__PURE__ */ __name((params) => viewer.accountBalance(...params ?? []), "xyoViewer_accountBalance"),
|
|
47
47
|
xyoViewer_accountBalanceHistory: /* @__PURE__ */ __name((params) => viewer.accountBalanceHistory(...params ?? []), "xyoViewer_accountBalanceHistory"),
|
|
48
|
+
xyoViewer_accountsBalances: /* @__PURE__ */ __name((params) => viewer.accountsBalances(...params ?? []), "xyoViewer_accountsBalances"),
|
|
49
|
+
xyoViewer_accountsBalancesHistory: /* @__PURE__ */ __name((params) => viewer.accountsBalancesHistory(...params ?? []), "xyoViewer_accountsBalancesHistory"),
|
|
48
50
|
xyoViewer_blockByHash: /* @__PURE__ */ __name((params) => viewer.blockByHash(...params ?? []), "xyoViewer_blockByHash"),
|
|
49
51
|
xyoViewer_blockByNumber: /* @__PURE__ */ __name((params) => viewer.blockByNumber(...params ?? []), "xyoViewer_blockByNumber"),
|
|
50
52
|
xyoViewer_blocksByHash: /* @__PURE__ */ __name((params) => viewer.blocksByHash(...params ?? []), "xyoViewer_blocksByHash"),
|
|
@@ -195,391 +197,60 @@ var NetworkStakeViewerRpcSchemas = {
|
|
|
195
197
|
};
|
|
196
198
|
|
|
197
199
|
// src/types/schema/XyoPermissionsRpcSchemas.ts
|
|
198
|
-
import
|
|
199
|
-
|
|
200
|
-
// src/types/schema/common/ArrayBuffer.ts
|
|
200
|
+
import { InvokerPermissionZod, PermissionRequestZod, RequestedPermissionZod } from "@xyo-network/xl1-protocol-sdk";
|
|
201
201
|
import * as z2 from "zod";
|
|
202
|
-
function base64Encode(u8) {
|
|
203
|
-
if (typeof Buffer !== "undefined" && typeof Buffer.from === "function") {
|
|
204
|
-
return Buffer.from(u8).toString("base64");
|
|
205
|
-
}
|
|
206
|
-
let binary = "";
|
|
207
|
-
const chunk = 32768;
|
|
208
|
-
for (let i = 0; i < u8.length; i += chunk) {
|
|
209
|
-
binary += String.fromCharCode(...u8.subarray(i, i + chunk));
|
|
210
|
-
}
|
|
211
|
-
return btoa(binary);
|
|
212
|
-
}
|
|
213
|
-
__name(base64Encode, "base64Encode");
|
|
214
|
-
function base64Decode(b64) {
|
|
215
|
-
if (typeof Buffer !== "undefined" && typeof Buffer.from === "function") {
|
|
216
|
-
return new Uint8Array(Buffer.from(b64, "base64"));
|
|
217
|
-
}
|
|
218
|
-
const binary = atob(b64);
|
|
219
|
-
const u8 = new Uint8Array(binary.length);
|
|
220
|
-
for (let i = 0; i < binary.length; i++) u8[i] = binary.charCodeAt(i);
|
|
221
|
-
return u8;
|
|
222
|
-
}
|
|
223
|
-
__name(base64Decode, "base64Decode");
|
|
224
|
-
var ArrayBufferToJsonZod = z2.instanceof(ArrayBuffer).transform((x) => {
|
|
225
|
-
const u8 = new Uint8Array(x);
|
|
226
|
-
return base64Encode(u8);
|
|
227
|
-
});
|
|
228
|
-
var JsonToArrayBufferZod = z2.string().transform((x) => {
|
|
229
|
-
const u8 = base64Decode(x);
|
|
230
|
-
return u8.buffer;
|
|
231
|
-
});
|
|
232
|
-
|
|
233
|
-
// src/types/schema/common/BlockBoundWitness.ts
|
|
234
|
-
import { HashZod as HashZod2 } from "@xylabs/sdk-js";
|
|
235
|
-
import { StorageMetaZod as StorageMetaZod2 } from "@xyo-network/payload-model";
|
|
236
|
-
import { XL1BlockNumberZod } from "@xyo-network/xl1-protocol";
|
|
237
|
-
import * as z5 from "zod";
|
|
238
|
-
|
|
239
|
-
// src/types/schema/common/BoundWitness.ts
|
|
240
|
-
import { AddressZod, HashZod, HexZod } from "@xylabs/sdk-js";
|
|
241
|
-
import { BoundWitnessSchema } from "@xyo-network/boundwitness-model";
|
|
242
|
-
import { PayloadZod, SchemaZod, StorageMetaZod } from "@xyo-network/payload-model";
|
|
243
|
-
import * as z3 from "zod";
|
|
244
|
-
var BoundWitnessRequiredFieldsZod = z3.object({
|
|
245
|
-
addresses: z3.array(AddressZod),
|
|
246
|
-
payload_hashes: z3.array(HashZod),
|
|
247
|
-
payload_schemas: z3.array(SchemaZod),
|
|
248
|
-
previous_hashes: z3.array(HashZod.nullable())
|
|
249
|
-
});
|
|
250
|
-
var BoundWitnessMetaZod = z3.object({
|
|
251
|
-
$destination: AddressZod.optional(),
|
|
252
|
-
$sourceQuery: HashZod.optional(),
|
|
253
|
-
$signatures: z3.array(z3.union([
|
|
254
|
-
HexZod,
|
|
255
|
-
z3.null()
|
|
256
|
-
]))
|
|
257
|
-
});
|
|
258
|
-
var BoundWitnessZod = PayloadZod.extend({
|
|
259
|
-
schema: z3.literal(BoundWitnessSchema)
|
|
260
|
-
}).extend(BoundWitnessRequiredFieldsZod.shape).extend(BoundWitnessMetaZod.shape).refine((data) => data.$signatures.length === data.addresses.length, {
|
|
261
|
-
message: "$signatures length must equal addresses length"
|
|
262
|
-
});
|
|
263
|
-
var AnyBoundWitnessZod = BoundWitnessZod.catchall(z3.any());
|
|
264
|
-
var UnsignedBoundWitnessZod = BoundWitnessZod.refine((data) => data.$signatures.includes(null), {
|
|
265
|
-
message: "all $signatures must be null"
|
|
266
|
-
});
|
|
267
|
-
var AnyUnsignedBoundWitnessZod = UnsignedBoundWitnessZod.catchall(z3.any());
|
|
268
|
-
var UnsignedBoundWitnessWithStorageMetaZod = UnsignedBoundWitnessZod.safeExtend(BoundWitnessRequiredFieldsZod.shape).safeExtend(BoundWitnessMetaZod.shape).safeExtend(StorageMetaZod.shape);
|
|
269
|
-
var SignedBoundWitnessZod = BoundWitnessZod.refine((data) => !data.$signatures.includes(null), {
|
|
270
|
-
message: "all $signatures must not be null"
|
|
271
|
-
});
|
|
272
|
-
var SignedBoundWitnessWithStorageMetaZod = UnsignedBoundWitnessWithStorageMetaZod;
|
|
273
|
-
var AnySignedBoundWitnessZod = UnsignedBoundWitnessZod.catchall(z3.any());
|
|
274
|
-
var AnySignedBoundWitnessWithStorageMetaZod = UnsignedBoundWitnessWithStorageMetaZod.catchall(z3.any());
|
|
275
|
-
|
|
276
|
-
// src/types/schema/common/Chain.ts
|
|
277
|
-
import { AddressRegEx, toAddress } from "@xylabs/sdk-js";
|
|
278
|
-
import * as z4 from "zod";
|
|
279
|
-
var ChainZod = z4.string().toLowerCase().regex(AddressRegEx).transform((v) => toAddress(v));
|
|
280
|
-
|
|
281
|
-
// src/types/schema/common/BlockBoundWitness.ts
|
|
282
|
-
var BlockBoundWitnessFieldsZod = z5.object({
|
|
283
|
-
block: XL1BlockNumberZod,
|
|
284
|
-
chain: ChainZod,
|
|
285
|
-
previous: HashZod2.nullable(),
|
|
286
|
-
protocol: z5.number(),
|
|
287
|
-
step_hashes: z5.array(HashZod2).optional()
|
|
288
|
-
});
|
|
289
|
-
var BlockBoundWitnessMetaZod = z5.object({
|
|
290
|
-
$epoch: z5.number()
|
|
291
|
-
});
|
|
292
|
-
var BlockBoundWitnessZod = UnsignedBoundWitnessZod.merge(StorageMetaZod2.partial()).merge(BlockBoundWitnessFieldsZod).merge(BlockBoundWitnessMetaZod);
|
|
293
|
-
var SignedBlockBoundWitnessZod = SignedBoundWitnessZod.merge(StorageMetaZod2.partial()).merge(BlockBoundWitnessFieldsZod).merge(BlockBoundWitnessMetaZod);
|
|
294
|
-
|
|
295
|
-
// src/types/schema/common/HydratedBlock.ts
|
|
296
|
-
import { PayloadZodLoose, WithStorageMetaZod } from "@xyo-network/payload-model";
|
|
297
|
-
import * as z6 from "zod";
|
|
298
|
-
var HydratedBlockZod = z6.tuple([
|
|
299
|
-
BlockBoundWitnessZod,
|
|
300
|
-
z6.array(PayloadZodLoose)
|
|
301
|
-
]);
|
|
302
|
-
var HydratedBlockWithStorageMetaZod = z6.tuple([
|
|
303
|
-
WithStorageMetaZod(BlockBoundWitnessZod),
|
|
304
|
-
z6.array(WithStorageMetaZod(PayloadZodLoose))
|
|
305
|
-
]);
|
|
306
|
-
var SignedHydratedBlockZod = z6.tuple([
|
|
307
|
-
SignedBlockBoundWitnessZod,
|
|
308
|
-
z6.array(PayloadZodLoose)
|
|
309
|
-
]);
|
|
310
|
-
var SignedHydratedBlockToJsonZod = z6.tuple([
|
|
311
|
-
SignedBlockBoundWitnessZod,
|
|
312
|
-
z6.array(PayloadZodLoose)
|
|
313
|
-
]);
|
|
314
|
-
var SignedHydratedBlockWithStorageMetaZod = z6.tuple([
|
|
315
|
-
WithStorageMetaZod(SignedBlockBoundWitnessZod),
|
|
316
|
-
z6.array(WithStorageMetaZod(PayloadZodLoose))
|
|
317
|
-
]);
|
|
318
|
-
|
|
319
|
-
// src/types/schema/common/HydratedTransaction.ts
|
|
320
|
-
import { asAnyPayload, PayloadZodLoose as PayloadZodLoose2 } from "@xyo-network/payload-model";
|
|
321
|
-
import { asSignedHydratedTransaction } from "@xyo-network/xl1-protocol";
|
|
322
|
-
import * as z9 from "zod";
|
|
323
|
-
|
|
324
|
-
// src/types/schema/common/TransactionBoundWitness.ts
|
|
325
|
-
import { StorageMetaZod as StorageMetaZod3 } from "@xyo-network/payload-model";
|
|
326
|
-
import { BlockNumberZod as BlockNumberZod2 } from "@xyo-network/xl1-protocol";
|
|
327
|
-
import * as z8 from "zod";
|
|
328
|
-
|
|
329
|
-
// src/types/schema/common/TransactionFees.ts
|
|
330
|
-
import { BigIntToJsonZod as BigIntToJsonZod2, HexZod as HexZod2, JsonToBigIntZod as JsonToBigIntZod2 } from "@xylabs/sdk-js";
|
|
331
|
-
import { asAttoXL1 } from "@xyo-network/xl1-protocol";
|
|
332
|
-
import * as z7 from "zod";
|
|
333
|
-
var AttoZod = z7.bigint();
|
|
334
|
-
var JsonToAttoZod = JsonToBigIntZod2.transform((v) => asAttoXL1(v));
|
|
335
|
-
var AttoToJsonZod = BigIntToJsonZod2;
|
|
336
|
-
var TransactionFeesHexZod = z7.object({
|
|
337
|
-
base: HexZod2,
|
|
338
|
-
gasLimit: HexZod2,
|
|
339
|
-
gasPrice: HexZod2,
|
|
340
|
-
priority: HexZod2
|
|
341
|
-
});
|
|
342
|
-
var TransactionFeesBigIntZod = z7.object({
|
|
343
|
-
base: AttoZod,
|
|
344
|
-
gasLimit: AttoZod,
|
|
345
|
-
gasPrice: AttoZod,
|
|
346
|
-
priority: AttoZod
|
|
347
|
-
});
|
|
348
|
-
var TransactionFeesJsonToBigIntZod = TransactionFeesHexZod.transform((val) => ({
|
|
349
|
-
base: JsonToBigIntZod2.parse(val.base),
|
|
350
|
-
gasLimit: JsonToBigIntZod2.parse(val.gasLimit),
|
|
351
|
-
gasPrice: JsonToBigIntZod2.parse(val.gasPrice),
|
|
352
|
-
priority: JsonToBigIntZod2.parse(val.priority)
|
|
353
|
-
}));
|
|
354
|
-
var TransactionFeesBigIntToJsonZod = TransactionFeesBigIntZod.transform((val) => ({
|
|
355
|
-
base: BigIntToJsonZod2.parse(val.base),
|
|
356
|
-
gasLimit: BigIntToJsonZod2.parse(val.gasLimit),
|
|
357
|
-
gasPrice: BigIntToJsonZod2.parse(val.gasPrice),
|
|
358
|
-
priority: BigIntToJsonZod2.parse(val.priority)
|
|
359
|
-
}));
|
|
360
|
-
|
|
361
|
-
// src/types/schema/common/TransactionBoundWitness.ts
|
|
362
|
-
var BlockStartZod = z8.object({
|
|
363
|
-
nbf: BlockNumberZod2
|
|
364
|
-
});
|
|
365
|
-
var BlockEndZod = z8.object({
|
|
366
|
-
exp: BlockNumberZod2
|
|
367
|
-
});
|
|
368
|
-
var BlockDurationZod = z8.object({
|
|
369
|
-
nbf: BlockNumberZod2,
|
|
370
|
-
exp: BlockNumberZod2
|
|
371
|
-
});
|
|
372
|
-
var BlockScriptsZod = z8.object({
|
|
373
|
-
script: z8.array(z8.string()).optional()
|
|
374
|
-
});
|
|
375
|
-
var WithTransactionFeesZod = z8.object({
|
|
376
|
-
fees: TransactionFeesHexZod
|
|
377
|
-
});
|
|
378
|
-
var TransactionBoundWitnessFields = z8.object({
|
|
379
|
-
chain: ChainZod,
|
|
380
|
-
from: ChainZod
|
|
381
|
-
});
|
|
382
|
-
var TransactionBoundWitnessZod = UnsignedBoundWitnessZod.merge(StorageMetaZod3.partial()).merge(BlockDurationZod).merge(WithTransactionFeesZod).merge(TransactionBoundWitnessFields).merge(BlockScriptsZod);
|
|
383
|
-
var SignedTransactionBoundWitnessZod = SignedBoundWitnessZod.merge(StorageMetaZod3.partial()).merge(BlockDurationZod).merge(WithTransactionFeesZod).merge(TransactionBoundWitnessFields).merge(BlockScriptsZod.partial());
|
|
384
|
-
|
|
385
|
-
// src/types/schema/common/HydratedTransaction.ts
|
|
386
|
-
var HydratedTransactionZod = z9.tuple([
|
|
387
|
-
TransactionBoundWitnessZod,
|
|
388
|
-
z9.array(PayloadZodLoose2)
|
|
389
|
-
]);
|
|
390
|
-
var UnsignedHydratedTransactionZod = z9.tuple([
|
|
391
|
-
TransactionBoundWitnessZod,
|
|
392
|
-
z9.array(PayloadZodLoose2)
|
|
393
|
-
]);
|
|
394
|
-
var SignedHydratedTransactionZod = z9.tuple([
|
|
395
|
-
SignedTransactionBoundWitnessZod,
|
|
396
|
-
z9.array(PayloadZodLoose2)
|
|
397
|
-
]);
|
|
398
|
-
var SignedHydratedTransactionToJsonZod = SignedHydratedTransactionZod.transform(([tx, payloads]) => asSignedHydratedTransaction([
|
|
399
|
-
tx,
|
|
400
|
-
payloads.map((payload) => payload)
|
|
401
|
-
]));
|
|
402
|
-
var JsonToSignedHydratedTransactionZod = SignedHydratedTransactionZod.transform(([tx, payloads]) => [
|
|
403
|
-
asSignedHydratedTransaction(tx),
|
|
404
|
-
payloads.map((p) => asAnyPayload(p))
|
|
405
|
-
]);
|
|
406
|
-
|
|
407
|
-
// src/types/schema/common/Json.ts
|
|
408
|
-
import * as z10 from "zod";
|
|
409
|
-
var JsonValueZod = z10.lazy(() => z10.union([
|
|
410
|
-
z10.string(),
|
|
411
|
-
z10.number(),
|
|
412
|
-
z10.boolean(),
|
|
413
|
-
z10.null(),
|
|
414
|
-
z10.array(JsonValueZod),
|
|
415
|
-
z10.record(z10.string(), JsonValueZod)
|
|
416
|
-
]));
|
|
417
|
-
var JsonObjectZod = z10.record(z10.string(), JsonValueZod);
|
|
418
|
-
|
|
419
|
-
// src/types/schema/common/Permission.ts
|
|
420
|
-
import { z as z11 } from "zod";
|
|
421
|
-
var CaveatTypesZod = z11.enum([
|
|
422
|
-
"chain",
|
|
423
|
-
"expiration",
|
|
424
|
-
"filteredResponse",
|
|
425
|
-
"rateLimit",
|
|
426
|
-
"restrictReturnedAccounts"
|
|
427
|
-
]);
|
|
428
|
-
var CaveatsZod = z11.object({
|
|
429
|
-
type: CaveatTypesZod,
|
|
430
|
-
value: z11.json()
|
|
431
|
-
});
|
|
432
|
-
var PermissionZod = z11.object({
|
|
433
|
-
parentCapability: z11.string(),
|
|
434
|
-
caveats: CaveatsZod.array().optional(),
|
|
435
|
-
invoker: z11.string()
|
|
436
|
-
});
|
|
437
|
-
var InvokerPermissionZod = PermissionZod.extend({
|
|
438
|
-
date: z11.number().optional()
|
|
439
|
-
});
|
|
440
|
-
var PermissionRequestZod = z11.record(z11.string(), z11.record(z11.string(), z11.any()));
|
|
441
|
-
var RequestedPermissionZod = z11.object({
|
|
442
|
-
parentCapability: z11.string(),
|
|
443
|
-
date: z11.number().optional()
|
|
444
|
-
});
|
|
445
|
-
|
|
446
|
-
// src/types/schema/common/RewardsRangeOptions.ts
|
|
447
|
-
import { AddressZod as AddressZod2 } from "@xylabs/sdk-js";
|
|
448
|
-
import { BlockRangeZod, StepIdentityZod } from "@xyo-network/xl1-protocol";
|
|
449
|
-
import { z as z12 } from "zod";
|
|
450
|
-
var RewardsRangeOptionsZod = z12.object({
|
|
451
|
-
positions: z12.array(z12.number()).optional(),
|
|
452
|
-
range: BlockRangeZod.optional(),
|
|
453
|
-
steps: z12.array(StepIdentityZod).optional(),
|
|
454
|
-
stakers: z12.array(AddressZod2).optional()
|
|
455
|
-
});
|
|
456
|
-
|
|
457
|
-
// src/types/schema/common/Sequence.ts
|
|
458
|
-
import { HexRegExMinMax, toHex } from "@xylabs/sdk-js";
|
|
459
|
-
import { SequenceConstants } from "@xyo-network/payload-model";
|
|
460
|
-
import * as z13 from "zod";
|
|
461
|
-
var LocalSequenceRegex = new RegExp(HexRegExMinMax(SequenceConstants.localSequenceBytes, SequenceConstants.localSequenceBytes));
|
|
462
|
-
var LocalSequenceToStringZod = z13.string().regex(LocalSequenceRegex);
|
|
463
|
-
var LocalSequenceFromStringZod = z13.string().regex(LocalSequenceRegex).transform((v) => toHex(v));
|
|
464
|
-
var QualifiedSequenceRegex = new RegExp(HexRegExMinMax(SequenceConstants.qualifiedSequenceBytes, SequenceConstants.qualifiedSequenceBytes));
|
|
465
|
-
var QualifiedSequenceToStringZod = z13.string().regex(QualifiedSequenceRegex);
|
|
466
|
-
var QualifiedSequenceFromStringZod = z13.string().regex(QualifiedSequenceRegex).transform((v) => toHex(v));
|
|
467
|
-
var SequenceToStringZod = z13.union([
|
|
468
|
-
LocalSequenceToStringZod,
|
|
469
|
-
QualifiedSequenceToStringZod
|
|
470
|
-
]);
|
|
471
|
-
var SequenceFromStringZod = z13.union([
|
|
472
|
-
LocalSequenceFromStringZod,
|
|
473
|
-
QualifiedSequenceFromStringZod
|
|
474
|
-
]);
|
|
475
|
-
|
|
476
|
-
// src/types/schema/common/Stake.ts
|
|
477
|
-
import { AddressZod as AddressZod3, HexZod as HexZod3 } from "@xylabs/sdk-js";
|
|
478
|
-
import * as z14 from "zod";
|
|
479
|
-
var StakeZod = z14.object({
|
|
480
|
-
amount: AttoZod,
|
|
481
|
-
// the block number when the stake was added
|
|
482
|
-
addBlock: z14.number(),
|
|
483
|
-
// the unique id for the stake item
|
|
484
|
-
id: z14.number(),
|
|
485
|
-
// the block number when the stake was removed (set to 0 if not removed)
|
|
486
|
-
removeBlock: z14.number(),
|
|
487
|
-
// the address that is being staked
|
|
488
|
-
staked: AddressZod3,
|
|
489
|
-
// the address that owns the stake
|
|
490
|
-
staker: AddressZod3,
|
|
491
|
-
// the block number when the stake was withdrawn (set to 0 if not withdrawn)
|
|
492
|
-
withdrawBlock: z14.number()
|
|
493
|
-
});
|
|
494
|
-
var StakeToJsonZod = StakeZod.transform((val) => ({
|
|
495
|
-
addBlock: val.addBlock,
|
|
496
|
-
amount: AttoToJsonZod.parse(val.amount),
|
|
497
|
-
id: val.id,
|
|
498
|
-
removeBlock: val.removeBlock,
|
|
499
|
-
staked: AddressZod3.parse(val.staked),
|
|
500
|
-
staker: AddressZod3.parse(val.staker),
|
|
501
|
-
withdrawBlock: val.withdrawBlock
|
|
502
|
-
}));
|
|
503
|
-
var JsonToStakeZod = StakeZod.extend({
|
|
504
|
-
amount: HexZod3
|
|
505
|
-
}).transform((val) => ({
|
|
506
|
-
addBlock: val.addBlock,
|
|
507
|
-
amount: JsonToAttoZod.parse(val.amount),
|
|
508
|
-
id: val.id,
|
|
509
|
-
removeBlock: val.removeBlock,
|
|
510
|
-
staked: val.staked,
|
|
511
|
-
staker: val.staker,
|
|
512
|
-
withdrawBlock: val.withdrawBlock
|
|
513
|
-
}));
|
|
514
|
-
|
|
515
|
-
// src/types/schema/common/TimeDomain.ts
|
|
516
|
-
import * as z15 from "zod";
|
|
517
|
-
var TimeDomainZod = z15.union([
|
|
518
|
-
z15.literal("xl1"),
|
|
519
|
-
z15.literal("epoch"),
|
|
520
|
-
z15.literal("ethereum")
|
|
521
|
-
]);
|
|
522
|
-
|
|
523
|
-
// src/types/schema/common/TransferPair.ts
|
|
524
|
-
import { AddressZod as AddressZod4 } from "@xylabs/sdk-js";
|
|
525
|
-
import z16 from "zod";
|
|
526
|
-
var TransferPairZod = z16.tuple([
|
|
527
|
-
AddressZod4,
|
|
528
|
-
AddressZod4
|
|
529
|
-
]);
|
|
530
|
-
|
|
531
|
-
// src/types/schema/XyoPermissionsRpcSchemas.ts
|
|
532
202
|
var XyoPermissionsRpcSchemas = {
|
|
533
203
|
xyoPermissions_getPermissions: {
|
|
534
204
|
params: {
|
|
535
|
-
to:
|
|
536
|
-
from:
|
|
205
|
+
to: z2.array(z2.any()).length(0),
|
|
206
|
+
from: z2.array(z2.any()).length(0)
|
|
537
207
|
},
|
|
538
208
|
result: {
|
|
539
|
-
to:
|
|
540
|
-
from:
|
|
209
|
+
to: z2.array(InvokerPermissionZod),
|
|
210
|
+
from: z2.array(InvokerPermissionZod)
|
|
541
211
|
}
|
|
542
212
|
},
|
|
543
213
|
xyoPermissions_requestPermissions: {
|
|
544
214
|
params: {
|
|
545
|
-
to:
|
|
546
|
-
|
|
215
|
+
to: z2.tuple([
|
|
216
|
+
z2.array(PermissionRequestZod)
|
|
547
217
|
]),
|
|
548
|
-
from:
|
|
549
|
-
|
|
218
|
+
from: z2.tuple([
|
|
219
|
+
z2.array(PermissionRequestZod)
|
|
550
220
|
])
|
|
551
221
|
},
|
|
552
222
|
result: {
|
|
553
|
-
to:
|
|
554
|
-
from:
|
|
223
|
+
to: z2.array(RequestedPermissionZod),
|
|
224
|
+
from: z2.array(RequestedPermissionZod)
|
|
555
225
|
}
|
|
556
226
|
},
|
|
557
227
|
xyoPermissions_revokePermissions: {
|
|
558
228
|
params: {
|
|
559
|
-
to:
|
|
560
|
-
|
|
229
|
+
to: z2.tuple([
|
|
230
|
+
z2.array(PermissionRequestZod)
|
|
561
231
|
]),
|
|
562
|
-
from:
|
|
563
|
-
|
|
232
|
+
from: z2.tuple([
|
|
233
|
+
z2.array(PermissionRequestZod)
|
|
564
234
|
])
|
|
565
235
|
},
|
|
566
236
|
result: {
|
|
567
|
-
to:
|
|
568
|
-
from:
|
|
237
|
+
to: z2.array(RequestedPermissionZod),
|
|
238
|
+
from: z2.array(RequestedPermissionZod)
|
|
569
239
|
}
|
|
570
240
|
}
|
|
571
241
|
};
|
|
572
242
|
|
|
573
243
|
// src/types/schema/XyoRunnerRpcSchemas.ts
|
|
574
244
|
import { HashToJsonZod, JsonToHashZod } from "@xylabs/sdk-js";
|
|
575
|
-
import
|
|
245
|
+
import { SignedHydratedTransactionZod } from "@xyo-network/xl1-protocol-sdk";
|
|
246
|
+
import * as z3 from "zod";
|
|
576
247
|
var XyoRunnerRpcSchemas = {
|
|
577
248
|
xyoRunner_broadcastTransaction: {
|
|
578
249
|
params: {
|
|
579
|
-
to:
|
|
250
|
+
to: z3.tuple([
|
|
580
251
|
SignedHydratedTransactionZod
|
|
581
252
|
]),
|
|
582
|
-
from:
|
|
253
|
+
from: z3.tuple([
|
|
583
254
|
SignedHydratedTransactionZod
|
|
584
255
|
])
|
|
585
256
|
},
|
|
@@ -591,32 +262,33 @@ var XyoRunnerRpcSchemas = {
|
|
|
591
262
|
};
|
|
592
263
|
|
|
593
264
|
// src/types/schema/XyoSignerRpcSchemas.ts
|
|
594
|
-
import { AddressZod
|
|
265
|
+
import { AddressZod } from "@xylabs/sdk-js";
|
|
595
266
|
import { asHydratedTransactionWithStorageMeta } from "@xyo-network/xl1-protocol";
|
|
596
|
-
import {
|
|
267
|
+
import { SignedHydratedTransactionZod as SignedHydratedTransactionZod2, UnsignedHydratedTransactionZod } from "@xyo-network/xl1-protocol-sdk";
|
|
268
|
+
import { z as z4 } from "zod";
|
|
597
269
|
var XyoSignerRpcSchemas = {
|
|
598
270
|
xyoSigner_address: {
|
|
599
271
|
params: {
|
|
600
|
-
to:
|
|
601
|
-
from:
|
|
272
|
+
to: z4.array(z4.any()).length(0).optional(),
|
|
273
|
+
from: z4.array(z4.any()).length(0).optional()
|
|
602
274
|
},
|
|
603
275
|
result: {
|
|
604
|
-
to:
|
|
605
|
-
from:
|
|
276
|
+
to: AddressZod,
|
|
277
|
+
from: AddressZod
|
|
606
278
|
}
|
|
607
279
|
},
|
|
608
280
|
xyoSigner_signTransaction: {
|
|
609
281
|
params: {
|
|
610
|
-
to:
|
|
282
|
+
to: z4.tuple([
|
|
611
283
|
UnsignedHydratedTransactionZod
|
|
612
284
|
]),
|
|
613
|
-
from:
|
|
285
|
+
from: z4.tuple([
|
|
614
286
|
UnsignedHydratedTransactionZod
|
|
615
287
|
])
|
|
616
288
|
},
|
|
617
289
|
result: {
|
|
618
|
-
to:
|
|
619
|
-
from:
|
|
290
|
+
to: SignedHydratedTransactionZod2,
|
|
291
|
+
from: SignedHydratedTransactionZod2.transform((data) => asHydratedTransactionWithStorageMeta(data, {
|
|
620
292
|
required: true
|
|
621
293
|
}))
|
|
622
294
|
}
|
|
@@ -624,463 +296,521 @@ var XyoSignerRpcSchemas = {
|
|
|
624
296
|
};
|
|
625
297
|
|
|
626
298
|
// src/types/schema/XyoViewerRpcSchemas.ts
|
|
627
|
-
import { AddressZod as
|
|
628
|
-
import {
|
|
629
|
-
import {
|
|
630
|
-
import * as
|
|
299
|
+
import { AddressZod as AddressZod2, BigIntToJsonZod as BigIntToJsonZod2, HashToJsonZod as HashToJsonZod2, HashZod, JsonToBigIntZod as JsonToBigIntZod2, JsonToHashZod as JsonToHashZod2 } from "@xylabs/sdk-js";
|
|
300
|
+
import { BlockNumberZod as BlockNumberZod2, BlockRangeZod, StepIdentityZod, XL1BlockNumberZod, XL1BlockRangeZod } from "@xyo-network/xl1-protocol";
|
|
301
|
+
import { AccountBalanceHistoryItemZod, JsonToStakeZod, SignedHydratedBlockZod, SignedHydratedTransactionZod as SignedHydratedTransactionZod3, StakeToJsonZod, TransferPairZod } from "@xyo-network/xl1-protocol-sdk";
|
|
302
|
+
import * as z5 from "zod";
|
|
631
303
|
var XyoViewerRpcSchemas = {
|
|
632
304
|
xyoViewer_networkStakeStepRewardClaimedByAddress: {
|
|
633
305
|
params: {
|
|
634
|
-
to:
|
|
635
|
-
|
|
306
|
+
to: z5.tuple([
|
|
307
|
+
AddressZod2
|
|
636
308
|
]),
|
|
637
|
-
from:
|
|
638
|
-
|
|
309
|
+
from: z5.tuple([
|
|
310
|
+
AddressZod2
|
|
639
311
|
])
|
|
640
312
|
},
|
|
641
313
|
result: {
|
|
642
|
-
to:
|
|
643
|
-
from:
|
|
314
|
+
to: BigIntToJsonZod2,
|
|
315
|
+
from: JsonToBigIntZod2
|
|
644
316
|
}
|
|
645
317
|
},
|
|
646
318
|
xyoViewer_networkStakeStepRewardAddressReward: {
|
|
647
319
|
params: {
|
|
648
|
-
to:
|
|
649
|
-
|
|
650
|
-
|
|
320
|
+
to: z5.tuple([
|
|
321
|
+
StepIdentityZod,
|
|
322
|
+
AddressZod2
|
|
651
323
|
]),
|
|
652
|
-
from:
|
|
653
|
-
|
|
654
|
-
|
|
324
|
+
from: z5.tuple([
|
|
325
|
+
StepIdentityZod,
|
|
326
|
+
AddressZod2
|
|
655
327
|
])
|
|
656
328
|
},
|
|
657
329
|
result: {
|
|
658
|
-
to:
|
|
659
|
-
from:
|
|
330
|
+
to: z5.record(AddressZod2, BigIntToJsonZod2),
|
|
331
|
+
from: z5.record(AddressZod2, JsonToBigIntZod2)
|
|
660
332
|
}
|
|
661
333
|
},
|
|
662
334
|
xyoViewer_networkStakeStepRewardAddressHistory: {
|
|
663
335
|
params: {
|
|
664
|
-
to:
|
|
665
|
-
|
|
336
|
+
to: z5.tuple([
|
|
337
|
+
AddressZod2
|
|
666
338
|
]),
|
|
667
|
-
from:
|
|
668
|
-
|
|
339
|
+
from: z5.tuple([
|
|
340
|
+
AddressZod2
|
|
669
341
|
])
|
|
670
342
|
},
|
|
671
343
|
result: {
|
|
672
|
-
to:
|
|
673
|
-
from:
|
|
344
|
+
to: z5.record(AddressZod2, BigIntToJsonZod2),
|
|
345
|
+
from: z5.record(AddressZod2, JsonToBigIntZod2)
|
|
674
346
|
}
|
|
675
347
|
},
|
|
676
348
|
xyoViewer_networkStakeStepRewardAddressShare: {
|
|
677
349
|
params: {
|
|
678
|
-
to:
|
|
679
|
-
|
|
680
|
-
|
|
350
|
+
to: z5.tuple([
|
|
351
|
+
StepIdentityZod,
|
|
352
|
+
AddressZod2
|
|
681
353
|
]),
|
|
682
|
-
from:
|
|
683
|
-
|
|
684
|
-
|
|
354
|
+
from: z5.tuple([
|
|
355
|
+
StepIdentityZod,
|
|
356
|
+
AddressZod2
|
|
685
357
|
])
|
|
686
358
|
},
|
|
687
359
|
result: {
|
|
688
|
-
to:
|
|
689
|
-
|
|
690
|
-
|
|
360
|
+
to: z5.tuple([
|
|
361
|
+
BigIntToJsonZod2,
|
|
362
|
+
BigIntToJsonZod2
|
|
691
363
|
]),
|
|
692
|
-
from:
|
|
693
|
-
|
|
694
|
-
|
|
364
|
+
from: z5.tuple([
|
|
365
|
+
JsonToBigIntZod2,
|
|
366
|
+
JsonToBigIntZod2
|
|
695
367
|
])
|
|
696
368
|
}
|
|
697
369
|
},
|
|
698
370
|
xyoViewer_networkStakeStepRewardWeightForAddress: {
|
|
699
371
|
params: {
|
|
700
|
-
to:
|
|
701
|
-
|
|
702
|
-
|
|
372
|
+
to: z5.tuple([
|
|
373
|
+
StepIdentityZod,
|
|
374
|
+
AddressZod2
|
|
703
375
|
]),
|
|
704
|
-
from:
|
|
705
|
-
|
|
706
|
-
|
|
376
|
+
from: z5.tuple([
|
|
377
|
+
StepIdentityZod,
|
|
378
|
+
AddressZod2
|
|
707
379
|
])
|
|
708
380
|
},
|
|
709
381
|
result: {
|
|
710
|
-
to:
|
|
711
|
-
from:
|
|
382
|
+
to: BigIntToJsonZod2,
|
|
383
|
+
from: JsonToBigIntZod2
|
|
712
384
|
}
|
|
713
385
|
},
|
|
714
386
|
xyoViewer_networkStakeStepRewardUnclaimedByAddress: {
|
|
715
387
|
params: {
|
|
716
|
-
to:
|
|
717
|
-
|
|
388
|
+
to: z5.tuple([
|
|
389
|
+
AddressZod2
|
|
718
390
|
]),
|
|
719
|
-
from:
|
|
720
|
-
|
|
391
|
+
from: z5.tuple([
|
|
392
|
+
AddressZod2
|
|
721
393
|
])
|
|
722
394
|
},
|
|
723
395
|
result: {
|
|
724
|
-
to:
|
|
725
|
-
from:
|
|
396
|
+
to: BigIntToJsonZod2,
|
|
397
|
+
from: JsonToBigIntZod2
|
|
726
398
|
}
|
|
727
399
|
},
|
|
728
400
|
xyoViewer_networkStakeStepRewardPoolRewards: {
|
|
729
401
|
params: {
|
|
730
|
-
to:
|
|
731
|
-
|
|
402
|
+
to: z5.tuple([
|
|
403
|
+
StepIdentityZod
|
|
732
404
|
]),
|
|
733
|
-
from:
|
|
734
|
-
|
|
405
|
+
from: z5.tuple([
|
|
406
|
+
StepIdentityZod
|
|
735
407
|
])
|
|
736
408
|
},
|
|
737
409
|
result: {
|
|
738
|
-
to:
|
|
739
|
-
from:
|
|
410
|
+
to: z5.record(AddressZod2, BigIntToJsonZod2),
|
|
411
|
+
from: z5.record(AddressZod2, JsonToBigIntZod2)
|
|
740
412
|
}
|
|
741
413
|
},
|
|
742
414
|
xyoViewer_networkStakeStepRewardPositionWeight: {
|
|
743
415
|
params: {
|
|
744
|
-
to:
|
|
745
|
-
|
|
746
|
-
|
|
416
|
+
to: z5.tuple([
|
|
417
|
+
StepIdentityZod,
|
|
418
|
+
z5.number()
|
|
747
419
|
]),
|
|
748
|
-
from:
|
|
749
|
-
|
|
750
|
-
|
|
420
|
+
from: z5.tuple([
|
|
421
|
+
StepIdentityZod,
|
|
422
|
+
z5.number()
|
|
751
423
|
])
|
|
752
424
|
},
|
|
753
425
|
result: {
|
|
754
|
-
to:
|
|
755
|
-
from:
|
|
426
|
+
to: BigIntToJsonZod2,
|
|
427
|
+
from: JsonToBigIntZod2
|
|
756
428
|
}
|
|
757
429
|
},
|
|
758
430
|
xyoViewer_networkStakeStepRewardPotentialPositionLoss: {
|
|
759
431
|
params: {
|
|
760
|
-
to:
|
|
761
|
-
|
|
762
|
-
|
|
432
|
+
to: z5.tuple([
|
|
433
|
+
StepIdentityZod,
|
|
434
|
+
z5.number()
|
|
763
435
|
]),
|
|
764
|
-
from:
|
|
765
|
-
|
|
766
|
-
|
|
436
|
+
from: z5.tuple([
|
|
437
|
+
StepIdentityZod,
|
|
438
|
+
z5.number()
|
|
767
439
|
])
|
|
768
440
|
},
|
|
769
441
|
result: {
|
|
770
|
-
to:
|
|
771
|
-
from:
|
|
442
|
+
to: BigIntToJsonZod2,
|
|
443
|
+
from: JsonToBigIntZod2
|
|
772
444
|
}
|
|
773
445
|
},
|
|
774
446
|
xyoViewer_networkStakeStepRewardForStep: {
|
|
775
447
|
params: {
|
|
776
|
-
to:
|
|
777
|
-
|
|
448
|
+
to: z5.tuple([
|
|
449
|
+
StepIdentityZod
|
|
778
450
|
]),
|
|
779
|
-
from:
|
|
780
|
-
|
|
451
|
+
from: z5.tuple([
|
|
452
|
+
StepIdentityZod
|
|
781
453
|
])
|
|
782
454
|
},
|
|
783
455
|
result: {
|
|
784
|
-
to:
|
|
785
|
-
from:
|
|
456
|
+
to: BigIntToJsonZod2,
|
|
457
|
+
from: JsonToBigIntZod2
|
|
786
458
|
}
|
|
787
459
|
},
|
|
788
460
|
xyoViewer_networkStakeStepRewardRandomizer: {
|
|
789
461
|
params: {
|
|
790
|
-
to:
|
|
791
|
-
|
|
462
|
+
to: z5.tuple([
|
|
463
|
+
StepIdentityZod
|
|
792
464
|
]),
|
|
793
|
-
from:
|
|
794
|
-
|
|
465
|
+
from: z5.tuple([
|
|
466
|
+
StepIdentityZod
|
|
795
467
|
])
|
|
796
468
|
},
|
|
797
469
|
result: {
|
|
798
|
-
to:
|
|
799
|
-
from:
|
|
470
|
+
to: BigIntToJsonZod2,
|
|
471
|
+
from: JsonToBigIntZod2
|
|
800
472
|
}
|
|
801
473
|
},
|
|
802
474
|
xyoViewer_networkStakeStepRewardStakerCount: {
|
|
803
475
|
params: {
|
|
804
|
-
to:
|
|
805
|
-
|
|
476
|
+
to: z5.tuple([
|
|
477
|
+
StepIdentityZod
|
|
806
478
|
]),
|
|
807
|
-
from:
|
|
808
|
-
|
|
479
|
+
from: z5.tuple([
|
|
480
|
+
StepIdentityZod
|
|
809
481
|
])
|
|
810
482
|
},
|
|
811
483
|
result: {
|
|
812
|
-
to:
|
|
813
|
-
from:
|
|
484
|
+
to: z5.number(),
|
|
485
|
+
from: z5.number()
|
|
814
486
|
}
|
|
815
487
|
},
|
|
816
488
|
xyoViewer_networkStakeStepRewardPoolShares: {
|
|
817
489
|
params: {
|
|
818
|
-
to:
|
|
819
|
-
|
|
490
|
+
to: z5.tuple([
|
|
491
|
+
StepIdentityZod
|
|
820
492
|
]),
|
|
821
|
-
from:
|
|
822
|
-
|
|
493
|
+
from: z5.tuple([
|
|
494
|
+
StepIdentityZod
|
|
823
495
|
])
|
|
824
496
|
},
|
|
825
497
|
result: {
|
|
826
|
-
to:
|
|
827
|
-
from:
|
|
498
|
+
to: z5.record(AddressZod2, BigIntToJsonZod2),
|
|
499
|
+
from: z5.record(AddressZod2, JsonToBigIntZod2)
|
|
828
500
|
}
|
|
829
501
|
},
|
|
830
502
|
xyoViewer_networkStakeStepRewardForStepForPosition: {
|
|
831
503
|
params: {
|
|
832
|
-
to:
|
|
833
|
-
|
|
834
|
-
|
|
504
|
+
to: z5.tuple([
|
|
505
|
+
StepIdentityZod,
|
|
506
|
+
z5.number()
|
|
835
507
|
]),
|
|
836
|
-
from:
|
|
837
|
-
|
|
838
|
-
|
|
508
|
+
from: z5.tuple([
|
|
509
|
+
StepIdentityZod,
|
|
510
|
+
z5.number()
|
|
839
511
|
])
|
|
840
512
|
},
|
|
841
513
|
result: {
|
|
842
|
-
to:
|
|
843
|
-
|
|
844
|
-
|
|
514
|
+
to: z5.tuple([
|
|
515
|
+
BigIntToJsonZod2,
|
|
516
|
+
BigIntToJsonZod2
|
|
845
517
|
]),
|
|
846
|
-
from:
|
|
847
|
-
|
|
848
|
-
|
|
518
|
+
from: z5.tuple([
|
|
519
|
+
JsonToBigIntZod2,
|
|
520
|
+
JsonToBigIntZod2
|
|
849
521
|
])
|
|
850
522
|
}
|
|
851
523
|
},
|
|
852
524
|
xyoViewer_networkStakeStepRewardForPosition: {
|
|
853
525
|
params: {
|
|
854
|
-
to:
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
526
|
+
to: z5.tuple([
|
|
527
|
+
z5.number(),
|
|
528
|
+
z5.tuple([
|
|
529
|
+
z5.number(),
|
|
530
|
+
z5.number()
|
|
859
531
|
])
|
|
860
532
|
]),
|
|
861
|
-
from:
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
533
|
+
from: z5.tuple([
|
|
534
|
+
z5.number(),
|
|
535
|
+
z5.tuple([
|
|
536
|
+
z5.number(),
|
|
537
|
+
z5.number()
|
|
866
538
|
])
|
|
867
539
|
])
|
|
868
540
|
},
|
|
869
541
|
result: {
|
|
870
|
-
to:
|
|
871
|
-
|
|
872
|
-
|
|
542
|
+
to: z5.tuple([
|
|
543
|
+
BigIntToJsonZod2,
|
|
544
|
+
BigIntToJsonZod2
|
|
873
545
|
]),
|
|
874
|
-
from:
|
|
875
|
-
|
|
876
|
-
|
|
546
|
+
from: z5.tuple([
|
|
547
|
+
JsonToBigIntZod2,
|
|
548
|
+
JsonToBigIntZod2
|
|
877
549
|
])
|
|
878
550
|
}
|
|
879
551
|
},
|
|
880
552
|
xyoViewer_networkStakeStepRewardsForRange: {
|
|
881
553
|
params: {
|
|
882
|
-
to:
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
554
|
+
to: z5.tuple([
|
|
555
|
+
z5.tuple([
|
|
556
|
+
z5.number(),
|
|
557
|
+
z5.number()
|
|
886
558
|
])
|
|
887
559
|
]),
|
|
888
|
-
from:
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
560
|
+
from: z5.tuple([
|
|
561
|
+
z5.tuple([
|
|
562
|
+
z5.number(),
|
|
563
|
+
z5.number()
|
|
892
564
|
])
|
|
893
565
|
])
|
|
894
566
|
},
|
|
895
567
|
result: {
|
|
896
|
-
to:
|
|
897
|
-
from:
|
|
568
|
+
to: BigIntToJsonZod2,
|
|
569
|
+
from: JsonToBigIntZod2
|
|
898
570
|
}
|
|
899
571
|
},
|
|
900
572
|
xyoViewer_networkStakeStepRewardsForStepLevel: {
|
|
901
573
|
params: {
|
|
902
|
-
to:
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
574
|
+
to: z5.tuple([
|
|
575
|
+
z5.number(),
|
|
576
|
+
z5.tuple([
|
|
577
|
+
z5.number(),
|
|
578
|
+
z5.number()
|
|
907
579
|
])
|
|
908
580
|
]),
|
|
909
|
-
from:
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
581
|
+
from: z5.tuple([
|
|
582
|
+
z5.number(),
|
|
583
|
+
z5.tuple([
|
|
584
|
+
z5.number(),
|
|
585
|
+
z5.number()
|
|
914
586
|
])
|
|
915
587
|
])
|
|
916
588
|
},
|
|
917
589
|
result: {
|
|
918
|
-
to:
|
|
919
|
-
from:
|
|
590
|
+
to: BigIntToJsonZod2,
|
|
591
|
+
from: JsonToBigIntZod2
|
|
920
592
|
}
|
|
921
593
|
},
|
|
922
594
|
xyoViewer_networkStakeStepRewardsForPosition: {
|
|
923
595
|
params: {
|
|
924
|
-
to:
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
596
|
+
to: z5.tuple([
|
|
597
|
+
z5.number(),
|
|
598
|
+
z5.tuple([
|
|
599
|
+
z5.number(),
|
|
600
|
+
z5.number()
|
|
929
601
|
])
|
|
930
602
|
]),
|
|
931
|
-
from:
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
603
|
+
from: z5.tuple([
|
|
604
|
+
z5.number(),
|
|
605
|
+
z5.tuple([
|
|
606
|
+
z5.number(),
|
|
607
|
+
z5.number()
|
|
936
608
|
])
|
|
937
609
|
])
|
|
938
610
|
},
|
|
939
611
|
result: {
|
|
940
|
-
to:
|
|
941
|
-
|
|
942
|
-
|
|
612
|
+
to: z5.record(z5.string(), z5.tuple([
|
|
613
|
+
BigIntToJsonZod2,
|
|
614
|
+
BigIntToJsonZod2
|
|
943
615
|
])),
|
|
944
|
-
from:
|
|
945
|
-
|
|
946
|
-
|
|
616
|
+
from: z5.record(z5.string(), z5.tuple([
|
|
617
|
+
JsonToBigIntZod2,
|
|
618
|
+
JsonToBigIntZod2
|
|
947
619
|
]))
|
|
948
620
|
}
|
|
949
621
|
},
|
|
950
622
|
xyoViewer_accountBalance: {
|
|
951
623
|
params: {
|
|
952
|
-
to:
|
|
953
|
-
|
|
624
|
+
to: z5.union([
|
|
625
|
+
z5.tuple([
|
|
626
|
+
AddressZod2
|
|
627
|
+
]),
|
|
628
|
+
z5.tuple([
|
|
629
|
+
AddressZod2,
|
|
630
|
+
z5.union([
|
|
631
|
+
XL1BlockRangeZod,
|
|
632
|
+
HashZod
|
|
633
|
+
])
|
|
634
|
+
])
|
|
954
635
|
]),
|
|
955
|
-
from:
|
|
956
|
-
|
|
636
|
+
from: z5.union([
|
|
637
|
+
z5.tuple([
|
|
638
|
+
AddressZod2
|
|
639
|
+
]),
|
|
640
|
+
z5.tuple([
|
|
641
|
+
AddressZod2,
|
|
642
|
+
z5.union([
|
|
643
|
+
XL1BlockRangeZod,
|
|
644
|
+
HashZod
|
|
645
|
+
])
|
|
646
|
+
])
|
|
957
647
|
])
|
|
958
648
|
},
|
|
959
649
|
result: {
|
|
960
|
-
to:
|
|
961
|
-
from:
|
|
650
|
+
to: BigIntToJsonZod2,
|
|
651
|
+
from: JsonToBigIntZod2
|
|
962
652
|
}
|
|
963
653
|
},
|
|
964
654
|
xyoViewer_accountBalanceHistory: {
|
|
965
655
|
params: {
|
|
966
|
-
to:
|
|
967
|
-
|
|
968
|
-
|
|
656
|
+
to: z5.union([
|
|
657
|
+
z5.tuple([
|
|
658
|
+
AddressZod2
|
|
969
659
|
]),
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
660
|
+
z5.tuple([
|
|
661
|
+
AddressZod2,
|
|
662
|
+
z5.union([
|
|
973
663
|
XL1BlockRangeZod,
|
|
974
|
-
|
|
664
|
+
HashZod
|
|
975
665
|
])
|
|
976
666
|
])
|
|
977
667
|
]),
|
|
978
|
-
from:
|
|
979
|
-
|
|
980
|
-
|
|
668
|
+
from: z5.union([
|
|
669
|
+
z5.tuple([
|
|
670
|
+
AddressZod2
|
|
981
671
|
]),
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
672
|
+
z5.tuple([
|
|
673
|
+
AddressZod2,
|
|
674
|
+
z5.union([
|
|
985
675
|
XL1BlockRangeZod,
|
|
986
|
-
|
|
676
|
+
HashZod
|
|
987
677
|
])
|
|
988
678
|
])
|
|
989
679
|
])
|
|
990
680
|
},
|
|
991
681
|
result: {
|
|
992
|
-
to:
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
682
|
+
to: z5.array(AccountBalanceHistoryItemZod),
|
|
683
|
+
from: z5.array(AccountBalanceHistoryItemZod)
|
|
684
|
+
}
|
|
685
|
+
},
|
|
686
|
+
xyoViewer_accountsBalances: {
|
|
687
|
+
params: {
|
|
688
|
+
to: z5.union([
|
|
689
|
+
z5.tuple([
|
|
690
|
+
z5.array(AddressZod2)
|
|
691
|
+
]),
|
|
692
|
+
z5.tuple([
|
|
693
|
+
z5.array(AddressZod2),
|
|
694
|
+
z5.union([
|
|
695
|
+
XL1BlockRangeZod,
|
|
696
|
+
HashZod
|
|
697
|
+
])
|
|
698
|
+
])
|
|
699
|
+
]),
|
|
700
|
+
from: z5.union([
|
|
701
|
+
z5.tuple([
|
|
702
|
+
z5.array(AddressZod2)
|
|
703
|
+
]),
|
|
704
|
+
z5.tuple([
|
|
705
|
+
z5.array(AddressZod2),
|
|
706
|
+
z5.union([
|
|
707
|
+
XL1BlockRangeZod,
|
|
708
|
+
HashZod
|
|
709
|
+
])
|
|
710
|
+
])
|
|
711
|
+
])
|
|
712
|
+
},
|
|
713
|
+
result: {
|
|
714
|
+
to: z5.record(AddressZod2, BigIntToJsonZod2),
|
|
715
|
+
from: z5.record(AddressZod2, JsonToBigIntZod2)
|
|
716
|
+
}
|
|
717
|
+
},
|
|
718
|
+
xyoViewer_accountsBalancesHistory: {
|
|
719
|
+
params: {
|
|
720
|
+
to: z5.union([
|
|
721
|
+
z5.tuple([
|
|
722
|
+
z5.array(AddressZod2)
|
|
723
|
+
]),
|
|
724
|
+
z5.tuple([
|
|
725
|
+
z5.array(AddressZod2),
|
|
726
|
+
z5.union([
|
|
727
|
+
XL1BlockRangeZod,
|
|
728
|
+
HashZod
|
|
729
|
+
])
|
|
730
|
+
])
|
|
731
|
+
]),
|
|
732
|
+
from: z5.union([
|
|
733
|
+
z5.tuple([
|
|
734
|
+
z5.array(AddressZod2)
|
|
735
|
+
]),
|
|
736
|
+
z5.tuple([
|
|
737
|
+
z5.array(AddressZod2),
|
|
738
|
+
z5.union([
|
|
739
|
+
XL1BlockRangeZod,
|
|
740
|
+
HashZod
|
|
741
|
+
])
|
|
742
|
+
])
|
|
743
|
+
])
|
|
744
|
+
},
|
|
745
|
+
result: {
|
|
746
|
+
to: z5.record(AddressZod2, AccountBalanceHistoryItemZod),
|
|
747
|
+
from: z5.record(AddressZod2, AccountBalanceHistoryItemZod)
|
|
1002
748
|
}
|
|
1003
749
|
},
|
|
1004
750
|
xyoViewer_transferPairBalance: {
|
|
1005
751
|
params: {
|
|
1006
|
-
to:
|
|
752
|
+
to: z5.tuple([
|
|
1007
753
|
TransferPairZod
|
|
1008
754
|
]),
|
|
1009
|
-
from:
|
|
755
|
+
from: z5.tuple([
|
|
1010
756
|
TransferPairZod
|
|
1011
757
|
])
|
|
1012
758
|
},
|
|
1013
759
|
result: {
|
|
1014
|
-
to:
|
|
1015
|
-
from:
|
|
760
|
+
to: BigIntToJsonZod2,
|
|
761
|
+
from: JsonToBigIntZod2
|
|
1016
762
|
}
|
|
1017
763
|
},
|
|
1018
764
|
xyoViewer_transferPairBalanceHistory: {
|
|
1019
765
|
params: {
|
|
1020
|
-
to:
|
|
766
|
+
to: z5.tuple([
|
|
1021
767
|
TransferPairZod
|
|
1022
768
|
]),
|
|
1023
|
-
from:
|
|
769
|
+
from: z5.tuple([
|
|
1024
770
|
TransferPairZod
|
|
1025
771
|
])
|
|
1026
772
|
},
|
|
1027
773
|
result: {
|
|
1028
|
-
to:
|
|
1029
|
-
|
|
1030
|
-
WithHashMetaZod(TransactionBoundWitnessZod).nullable(),
|
|
1031
|
-
WithHashMetaZod(TransferZod)
|
|
1032
|
-
])),
|
|
1033
|
-
from: z20.array(z20.tuple([
|
|
1034
|
-
WithHashMetaZod(BlockBoundWitnessZod),
|
|
1035
|
-
WithHashMetaZod(TransactionBoundWitnessZod).nullable(),
|
|
1036
|
-
WithHashMetaZod(TransferZod)
|
|
1037
|
-
]))
|
|
774
|
+
to: z5.array(AccountBalanceHistoryItemZod),
|
|
775
|
+
from: z5.array(AccountBalanceHistoryItemZod)
|
|
1038
776
|
}
|
|
1039
777
|
},
|
|
1040
778
|
xyoViewer_transferBalance: {
|
|
1041
779
|
params: {
|
|
1042
|
-
to:
|
|
1043
|
-
|
|
780
|
+
to: z5.tuple([
|
|
781
|
+
AddressZod2
|
|
1044
782
|
]),
|
|
1045
|
-
from:
|
|
1046
|
-
|
|
783
|
+
from: z5.tuple([
|
|
784
|
+
AddressZod2
|
|
1047
785
|
])
|
|
1048
786
|
},
|
|
1049
787
|
result: {
|
|
1050
|
-
to:
|
|
1051
|
-
from:
|
|
788
|
+
to: BigIntToJsonZod2,
|
|
789
|
+
from: JsonToBigIntZod2
|
|
1052
790
|
}
|
|
1053
791
|
},
|
|
1054
792
|
xyoViewer_transferBalanceHistory: {
|
|
1055
793
|
params: {
|
|
1056
|
-
to:
|
|
1057
|
-
|
|
1058
|
-
|
|
794
|
+
to: z5.tuple([
|
|
795
|
+
AddressZod2,
|
|
796
|
+
BlockRangeZod.optional()
|
|
1059
797
|
]),
|
|
1060
|
-
from:
|
|
1061
|
-
|
|
1062
|
-
|
|
798
|
+
from: z5.tuple([
|
|
799
|
+
AddressZod2,
|
|
800
|
+
BlockRangeZod.optional()
|
|
1063
801
|
])
|
|
1064
802
|
},
|
|
1065
803
|
result: {
|
|
1066
|
-
to:
|
|
1067
|
-
|
|
1068
|
-
WithHashMetaZod(TransactionBoundWitnessZod).nullable(),
|
|
1069
|
-
WithHashMetaZod(TransferZod)
|
|
1070
|
-
])),
|
|
1071
|
-
from: z20.array(z20.tuple([
|
|
1072
|
-
WithHashMetaZod(BlockBoundWitnessZod),
|
|
1073
|
-
WithHashMetaZod(TransactionBoundWitnessZod).nullable(),
|
|
1074
|
-
WithHashMetaZod(TransferZod)
|
|
1075
|
-
]))
|
|
804
|
+
to: z5.array(AccountBalanceHistoryItemZod),
|
|
805
|
+
from: z5.array(AccountBalanceHistoryItemZod)
|
|
1076
806
|
}
|
|
1077
807
|
},
|
|
1078
808
|
xyoViewer_blockByHash: {
|
|
1079
809
|
params: {
|
|
1080
|
-
to:
|
|
810
|
+
to: z5.tuple([
|
|
1081
811
|
HashToJsonZod2
|
|
1082
812
|
]),
|
|
1083
|
-
from:
|
|
813
|
+
from: z5.tuple([
|
|
1084
814
|
JsonToHashZod2
|
|
1085
815
|
])
|
|
1086
816
|
},
|
|
@@ -1091,11 +821,11 @@ var XyoViewerRpcSchemas = {
|
|
|
1091
821
|
},
|
|
1092
822
|
xyoViewer_blockByNumber: {
|
|
1093
823
|
params: {
|
|
1094
|
-
to:
|
|
1095
|
-
|
|
824
|
+
to: z5.tuple([
|
|
825
|
+
z5.number()
|
|
1096
826
|
]),
|
|
1097
|
-
from:
|
|
1098
|
-
|
|
827
|
+
from: z5.tuple([
|
|
828
|
+
z5.number()
|
|
1099
829
|
])
|
|
1100
830
|
},
|
|
1101
831
|
result: {
|
|
@@ -1105,48 +835,48 @@ var XyoViewerRpcSchemas = {
|
|
|
1105
835
|
},
|
|
1106
836
|
xyoViewer_blocksByHash: {
|
|
1107
837
|
params: {
|
|
1108
|
-
to:
|
|
1109
|
-
|
|
1110
|
-
|
|
838
|
+
to: z5.tuple([
|
|
839
|
+
HashZod,
|
|
840
|
+
z5.number().optional()
|
|
1111
841
|
]),
|
|
1112
|
-
from:
|
|
1113
|
-
|
|
1114
|
-
|
|
842
|
+
from: z5.tuple([
|
|
843
|
+
HashZod,
|
|
844
|
+
z5.number().optional()
|
|
1115
845
|
])
|
|
1116
846
|
},
|
|
1117
847
|
result: {
|
|
1118
|
-
to:
|
|
1119
|
-
from:
|
|
848
|
+
to: z5.array(SignedHydratedBlockZod),
|
|
849
|
+
from: z5.array(SignedHydratedBlockZod)
|
|
1120
850
|
}
|
|
1121
851
|
},
|
|
1122
852
|
xyoViewer_chainId: {
|
|
1123
853
|
params: {
|
|
1124
|
-
to:
|
|
1125
|
-
from:
|
|
854
|
+
to: z5.array(z5.any()).length(0).optional(),
|
|
855
|
+
from: z5.array(z5.any()).length(0).optional()
|
|
1126
856
|
},
|
|
1127
857
|
result: {
|
|
1128
|
-
to:
|
|
1129
|
-
from:
|
|
858
|
+
to: AddressZod2,
|
|
859
|
+
from: AddressZod2
|
|
1130
860
|
}
|
|
1131
861
|
},
|
|
1132
862
|
xyoViewer_chainIdAtBlock: {
|
|
1133
863
|
params: {
|
|
1134
|
-
to:
|
|
1135
|
-
|
|
864
|
+
to: z5.tuple([
|
|
865
|
+
BlockNumberZod2
|
|
1136
866
|
]),
|
|
1137
|
-
from:
|
|
1138
|
-
|
|
867
|
+
from: z5.tuple([
|
|
868
|
+
BlockNumberZod2
|
|
1139
869
|
])
|
|
1140
870
|
},
|
|
1141
871
|
result: {
|
|
1142
|
-
to:
|
|
1143
|
-
from:
|
|
872
|
+
to: AddressZod2,
|
|
873
|
+
from: AddressZod2
|
|
1144
874
|
}
|
|
1145
875
|
},
|
|
1146
876
|
xyoViewer_currentBlock: {
|
|
1147
877
|
params: {
|
|
1148
|
-
to:
|
|
1149
|
-
from:
|
|
878
|
+
to: z5.array(z5.any()).length(0).optional(),
|
|
879
|
+
from: z5.array(z5.any()).length(0).optional()
|
|
1150
880
|
},
|
|
1151
881
|
result: {
|
|
1152
882
|
to: SignedHydratedBlockZod,
|
|
@@ -1155,43 +885,43 @@ var XyoViewerRpcSchemas = {
|
|
|
1155
885
|
},
|
|
1156
886
|
xyoViewer_currentBlockHash: {
|
|
1157
887
|
params: {
|
|
1158
|
-
to:
|
|
1159
|
-
from:
|
|
888
|
+
to: z5.array(z5.any()).length(0).optional(),
|
|
889
|
+
from: z5.array(z5.any()).length(0).optional()
|
|
1160
890
|
},
|
|
1161
891
|
result: {
|
|
1162
|
-
to:
|
|
1163
|
-
from:
|
|
892
|
+
to: HashZod,
|
|
893
|
+
from: HashZod
|
|
1164
894
|
}
|
|
1165
895
|
},
|
|
1166
896
|
xyoViewer_currentBlockNumber: {
|
|
1167
897
|
params: {
|
|
1168
|
-
to:
|
|
1169
|
-
from:
|
|
898
|
+
to: z5.array(z5.any()).length(0).optional(),
|
|
899
|
+
from: z5.array(z5.any()).length(0).optional()
|
|
1170
900
|
},
|
|
1171
901
|
result: {
|
|
1172
|
-
to:
|
|
1173
|
-
from:
|
|
902
|
+
to: XL1BlockNumberZod,
|
|
903
|
+
from: XL1BlockNumberZod
|
|
1174
904
|
}
|
|
1175
905
|
},
|
|
1176
906
|
xyoViewer_forkHistory: {
|
|
1177
907
|
params: {
|
|
1178
|
-
to:
|
|
1179
|
-
from:
|
|
908
|
+
to: z5.array(z5.any()).length(0).optional(),
|
|
909
|
+
from: z5.array(z5.any()).length(0).optional()
|
|
1180
910
|
},
|
|
1181
911
|
result: {
|
|
1182
|
-
to:
|
|
1183
|
-
from:
|
|
912
|
+
to: z5.record(z5.number(), AddressZod2),
|
|
913
|
+
from: z5.record(z5.number(), AddressZod2)
|
|
1184
914
|
}
|
|
1185
915
|
},
|
|
1186
916
|
xyoViewer_stakeByStaker: {
|
|
1187
917
|
params: {
|
|
1188
|
-
to:
|
|
1189
|
-
|
|
1190
|
-
|
|
918
|
+
to: z5.tuple([
|
|
919
|
+
AddressZod2,
|
|
920
|
+
z5.number()
|
|
1191
921
|
]),
|
|
1192
|
-
from:
|
|
1193
|
-
|
|
1194
|
-
|
|
922
|
+
from: z5.tuple([
|
|
923
|
+
AddressZod2,
|
|
924
|
+
z5.number()
|
|
1195
925
|
])
|
|
1196
926
|
},
|
|
1197
927
|
result: {
|
|
@@ -1201,11 +931,11 @@ var XyoViewerRpcSchemas = {
|
|
|
1201
931
|
},
|
|
1202
932
|
xyoViewer_stakeById: {
|
|
1203
933
|
params: {
|
|
1204
|
-
to:
|
|
1205
|
-
|
|
934
|
+
to: z5.tuple([
|
|
935
|
+
z5.number()
|
|
1206
936
|
]),
|
|
1207
|
-
from:
|
|
1208
|
-
|
|
937
|
+
from: z5.tuple([
|
|
938
|
+
z5.number()
|
|
1209
939
|
])
|
|
1210
940
|
},
|
|
1211
941
|
result: {
|
|
@@ -1215,76 +945,76 @@ var XyoViewerRpcSchemas = {
|
|
|
1215
945
|
},
|
|
1216
946
|
xyoViewer_stakesByStaker: {
|
|
1217
947
|
params: {
|
|
1218
|
-
to:
|
|
1219
|
-
|
|
948
|
+
to: z5.tuple([
|
|
949
|
+
AddressZod2
|
|
1220
950
|
]),
|
|
1221
|
-
from:
|
|
1222
|
-
|
|
951
|
+
from: z5.tuple([
|
|
952
|
+
AddressZod2
|
|
1223
953
|
])
|
|
1224
954
|
},
|
|
1225
955
|
result: {
|
|
1226
|
-
to:
|
|
1227
|
-
from:
|
|
956
|
+
to: z5.array(StakeToJsonZod),
|
|
957
|
+
from: z5.array(JsonToStakeZod)
|
|
1228
958
|
}
|
|
1229
959
|
},
|
|
1230
960
|
xyoViewer_stakesByStaked: {
|
|
1231
961
|
params: {
|
|
1232
|
-
to:
|
|
1233
|
-
|
|
962
|
+
to: z5.tuple([
|
|
963
|
+
AddressZod2
|
|
1234
964
|
]),
|
|
1235
|
-
from:
|
|
1236
|
-
|
|
965
|
+
from: z5.tuple([
|
|
966
|
+
AddressZod2
|
|
1237
967
|
])
|
|
1238
968
|
},
|
|
1239
969
|
result: {
|
|
1240
|
-
to:
|
|
1241
|
-
from:
|
|
970
|
+
to: z5.array(StakeToJsonZod),
|
|
971
|
+
from: z5.array(JsonToStakeZod)
|
|
1242
972
|
}
|
|
1243
973
|
},
|
|
1244
974
|
xyoViewer_transactionByBlockHashAndIndex: {
|
|
1245
975
|
params: {
|
|
1246
|
-
to:
|
|
1247
|
-
|
|
1248
|
-
|
|
976
|
+
to: z5.tuple([
|
|
977
|
+
HashZod,
|
|
978
|
+
z5.number()
|
|
1249
979
|
]),
|
|
1250
|
-
from:
|
|
1251
|
-
|
|
1252
|
-
|
|
980
|
+
from: z5.tuple([
|
|
981
|
+
HashZod,
|
|
982
|
+
z5.number()
|
|
1253
983
|
])
|
|
1254
984
|
},
|
|
1255
985
|
result: {
|
|
1256
|
-
to:
|
|
1257
|
-
from:
|
|
986
|
+
to: SignedHydratedTransactionZod3.nullable(),
|
|
987
|
+
from: SignedHydratedTransactionZod3.nullable()
|
|
1258
988
|
}
|
|
1259
989
|
},
|
|
1260
990
|
xyoViewer_transactionByBlockNumberAndIndex: {
|
|
1261
991
|
params: {
|
|
1262
|
-
to:
|
|
1263
|
-
|
|
1264
|
-
|
|
992
|
+
to: z5.tuple([
|
|
993
|
+
z5.number(),
|
|
994
|
+
z5.number()
|
|
1265
995
|
]),
|
|
1266
|
-
from:
|
|
1267
|
-
|
|
1268
|
-
|
|
996
|
+
from: z5.tuple([
|
|
997
|
+
z5.number(),
|
|
998
|
+
z5.number()
|
|
1269
999
|
])
|
|
1270
1000
|
},
|
|
1271
1001
|
result: {
|
|
1272
|
-
to:
|
|
1273
|
-
from:
|
|
1002
|
+
to: SignedHydratedTransactionZod3.nullable(),
|
|
1003
|
+
from: SignedHydratedTransactionZod3.nullable()
|
|
1274
1004
|
}
|
|
1275
1005
|
},
|
|
1276
1006
|
xyoViewer_transactionByHash: {
|
|
1277
1007
|
params: {
|
|
1278
|
-
to:
|
|
1279
|
-
|
|
1008
|
+
to: z5.tuple([
|
|
1009
|
+
HashZod
|
|
1280
1010
|
]),
|
|
1281
|
-
from:
|
|
1282
|
-
|
|
1011
|
+
from: z5.tuple([
|
|
1012
|
+
HashZod
|
|
1283
1013
|
])
|
|
1284
1014
|
},
|
|
1285
1015
|
result: {
|
|
1286
|
-
to:
|
|
1287
|
-
from:
|
|
1016
|
+
to: SignedHydratedTransactionZod3.nullable(),
|
|
1017
|
+
from: SignedHydratedTransactionZod3.nullable()
|
|
1288
1018
|
}
|
|
1289
1019
|
}
|
|
1290
1020
|
};
|
|
@@ -1299,391 +1029,396 @@ var AllRpcSchemas = {
|
|
|
1299
1029
|
};
|
|
1300
1030
|
|
|
1301
1031
|
// src/types/schema/createRequestSchema.ts
|
|
1302
|
-
import * as
|
|
1303
|
-
var createRequestSchema = /* @__PURE__ */ __name((methodName, paramsSchema =
|
|
1304
|
-
id:
|
|
1305
|
-
|
|
1306
|
-
|
|
1032
|
+
import * as z6 from "zod";
|
|
1033
|
+
var createRequestSchema = /* @__PURE__ */ __name((methodName, paramsSchema = z6.undefined()) => z6.object({
|
|
1034
|
+
id: z6.union([
|
|
1035
|
+
z6.string(),
|
|
1036
|
+
z6.number()
|
|
1307
1037
|
]),
|
|
1308
|
-
jsonrpc:
|
|
1309
|
-
method:
|
|
1038
|
+
jsonrpc: z6.literal(jsonrpc),
|
|
1039
|
+
method: z6.literal(methodName),
|
|
1310
1040
|
params: paramsSchema
|
|
1311
1041
|
}), "createRequestSchema");
|
|
1312
1042
|
|
|
1313
1043
|
// src/types/schema/createResponseSchema.ts
|
|
1314
|
-
import * as
|
|
1315
|
-
var createResponseSchema = /* @__PURE__ */ __name((resultSchema =
|
|
1316
|
-
id:
|
|
1317
|
-
|
|
1318
|
-
|
|
1044
|
+
import * as z7 from "zod";
|
|
1045
|
+
var createResponseSchema = /* @__PURE__ */ __name((resultSchema = z7.undefined()) => z7.object({
|
|
1046
|
+
id: z7.union([
|
|
1047
|
+
z7.string(),
|
|
1048
|
+
z7.number()
|
|
1319
1049
|
]),
|
|
1320
|
-
jsonrpc:
|
|
1050
|
+
jsonrpc: z7.literal(jsonrpc),
|
|
1321
1051
|
result: resultSchema
|
|
1322
1052
|
}), "createResponseSchema");
|
|
1323
1053
|
|
|
1324
1054
|
// src/types/schema/DataLakeViewerRpcSchema.ts
|
|
1325
|
-
import { HashZod as
|
|
1326
|
-
import { PayloadZod
|
|
1327
|
-
import
|
|
1055
|
+
import { HashZod as HashZod2 } from "@xylabs/sdk-js";
|
|
1056
|
+
import { PayloadZod } from "@xyo-network/payload-model";
|
|
1057
|
+
import { ArrayBufferToJsonZod, JsonToArrayBufferZod } from "@xyo-network/xl1-protocol-sdk";
|
|
1058
|
+
import * as z8 from "zod";
|
|
1328
1059
|
var DataLakeViewerRpcSchemas = {
|
|
1329
1060
|
dataLakeViewer_get: {
|
|
1330
1061
|
params: {
|
|
1331
|
-
to:
|
|
1332
|
-
|
|
1062
|
+
to: z8.tuple([
|
|
1063
|
+
HashZod2
|
|
1333
1064
|
]),
|
|
1334
|
-
from:
|
|
1335
|
-
|
|
1065
|
+
from: z8.tuple([
|
|
1066
|
+
HashZod2
|
|
1336
1067
|
])
|
|
1337
1068
|
},
|
|
1338
1069
|
result: {
|
|
1339
|
-
to:
|
|
1340
|
-
|
|
1070
|
+
to: z8.union([
|
|
1071
|
+
PayloadZod,
|
|
1341
1072
|
ArrayBufferToJsonZod
|
|
1342
1073
|
]).optional(),
|
|
1343
|
-
from:
|
|
1344
|
-
|
|
1074
|
+
from: z8.union([
|
|
1075
|
+
PayloadZod,
|
|
1345
1076
|
JsonToArrayBufferZod
|
|
1346
1077
|
]).optional()
|
|
1347
1078
|
}
|
|
1348
1079
|
},
|
|
1349
1080
|
dataLakeViewer_getMany: {
|
|
1350
1081
|
params: {
|
|
1351
|
-
to:
|
|
1352
|
-
|
|
1082
|
+
to: z8.tuple([
|
|
1083
|
+
z8.array(HashZod2)
|
|
1353
1084
|
]),
|
|
1354
|
-
from:
|
|
1355
|
-
|
|
1085
|
+
from: z8.tuple([
|
|
1086
|
+
z8.array(HashZod2)
|
|
1356
1087
|
])
|
|
1357
1088
|
},
|
|
1358
1089
|
result: {
|
|
1359
|
-
to:
|
|
1360
|
-
|
|
1090
|
+
to: z8.array(z8.union([
|
|
1091
|
+
PayloadZod,
|
|
1361
1092
|
ArrayBufferToJsonZod
|
|
1362
1093
|
])),
|
|
1363
|
-
from:
|
|
1364
|
-
|
|
1094
|
+
from: z8.array(z8.union([
|
|
1095
|
+
PayloadZod,
|
|
1365
1096
|
JsonToArrayBufferZod
|
|
1366
1097
|
]))
|
|
1367
1098
|
}
|
|
1368
1099
|
},
|
|
1369
1100
|
dataLakeViewer_has: {
|
|
1370
1101
|
params: {
|
|
1371
|
-
to:
|
|
1372
|
-
|
|
1102
|
+
to: z8.tuple([
|
|
1103
|
+
HashZod2
|
|
1373
1104
|
]),
|
|
1374
|
-
from:
|
|
1375
|
-
|
|
1105
|
+
from: z8.tuple([
|
|
1106
|
+
HashZod2
|
|
1376
1107
|
])
|
|
1377
1108
|
},
|
|
1378
1109
|
result: {
|
|
1379
|
-
to:
|
|
1380
|
-
from:
|
|
1110
|
+
to: z8.boolean(),
|
|
1111
|
+
from: z8.boolean()
|
|
1381
1112
|
}
|
|
1382
1113
|
}
|
|
1383
1114
|
};
|
|
1384
1115
|
|
|
1385
1116
|
// src/types/schema/RewardsByPositionViewerRpcSchemas.ts
|
|
1386
|
-
import { BigIntToJsonZod as
|
|
1387
|
-
import { asAttoXL1
|
|
1388
|
-
import
|
|
1117
|
+
import { BigIntToJsonZod as BigIntToJsonZod3, JsonToBigIntZod as JsonToBigIntZod3 } from "@xylabs/sdk-js";
|
|
1118
|
+
import { asAttoXL1 } from "@xyo-network/xl1-protocol";
|
|
1119
|
+
import { RewardsRangeOptionsZod } from "@xyo-network/xl1-protocol-sdk";
|
|
1120
|
+
import z9 from "zod";
|
|
1389
1121
|
var NetworkStakingStepRewardsByPositionViewerRpcSchemas = {
|
|
1390
1122
|
networkStakingStepRewardsByPositionViewer_bonus: {
|
|
1391
1123
|
params: {
|
|
1392
|
-
from:
|
|
1124
|
+
from: z9.tuple([
|
|
1393
1125
|
RewardsRangeOptionsZod.optional()
|
|
1394
1126
|
]),
|
|
1395
|
-
to:
|
|
1127
|
+
to: z9.tuple([
|
|
1396
1128
|
RewardsRangeOptionsZod.optional()
|
|
1397
1129
|
])
|
|
1398
1130
|
},
|
|
1399
1131
|
result: {
|
|
1400
|
-
from:
|
|
1401
|
-
to:
|
|
1132
|
+
from: z9.record(z9.number(), JsonToBigIntZod3.transform((val) => asAttoXL1(val))),
|
|
1133
|
+
to: z9.record(z9.number(), BigIntToJsonZod3)
|
|
1402
1134
|
}
|
|
1403
1135
|
},
|
|
1404
1136
|
networkStakingStepRewardsByPositionViewer_claimed: {
|
|
1405
1137
|
params: {
|
|
1406
|
-
from:
|
|
1138
|
+
from: z9.tuple([
|
|
1407
1139
|
RewardsRangeOptionsZod.optional()
|
|
1408
1140
|
]),
|
|
1409
|
-
to:
|
|
1141
|
+
to: z9.tuple([
|
|
1410
1142
|
RewardsRangeOptionsZod.optional()
|
|
1411
1143
|
])
|
|
1412
1144
|
},
|
|
1413
1145
|
result: {
|
|
1414
|
-
from:
|
|
1415
|
-
to:
|
|
1146
|
+
from: z9.record(z9.number(), BigIntToJsonZod3.transform((val) => asAttoXL1(val))),
|
|
1147
|
+
to: z9.record(z9.number(), JsonToBigIntZod3)
|
|
1416
1148
|
}
|
|
1417
1149
|
},
|
|
1418
1150
|
networkStakingStepRewardsByPositionViewer_earned: {
|
|
1419
1151
|
params: {
|
|
1420
|
-
from:
|
|
1152
|
+
from: z9.tuple([
|
|
1421
1153
|
RewardsRangeOptionsZod.optional()
|
|
1422
1154
|
]),
|
|
1423
|
-
to:
|
|
1155
|
+
to: z9.tuple([
|
|
1424
1156
|
RewardsRangeOptionsZod.optional()
|
|
1425
1157
|
])
|
|
1426
1158
|
},
|
|
1427
1159
|
result: {
|
|
1428
|
-
from:
|
|
1429
|
-
to:
|
|
1160
|
+
from: z9.record(z9.number(), BigIntToJsonZod3.transform((val) => asAttoXL1(val))),
|
|
1161
|
+
to: z9.record(z9.number(), JsonToBigIntZod3)
|
|
1430
1162
|
}
|
|
1431
1163
|
},
|
|
1432
1164
|
networkStakingStepRewardsByPositionViewer_total: {
|
|
1433
1165
|
params: {
|
|
1434
|
-
from:
|
|
1166
|
+
from: z9.tuple([
|
|
1435
1167
|
RewardsRangeOptionsZod.optional()
|
|
1436
1168
|
]),
|
|
1437
|
-
to:
|
|
1169
|
+
to: z9.tuple([
|
|
1438
1170
|
RewardsRangeOptionsZod.optional()
|
|
1439
1171
|
])
|
|
1440
1172
|
},
|
|
1441
1173
|
result: {
|
|
1442
|
-
from:
|
|
1443
|
-
to:
|
|
1174
|
+
from: z9.record(z9.number(), BigIntToJsonZod3.transform((val) => asAttoXL1(val))),
|
|
1175
|
+
to: z9.record(z9.number(), JsonToBigIntZod3)
|
|
1444
1176
|
}
|
|
1445
1177
|
},
|
|
1446
1178
|
networkStakingStepRewardsByPositionViewer_unclaimed: {
|
|
1447
1179
|
params: {
|
|
1448
|
-
from:
|
|
1180
|
+
from: z9.tuple([
|
|
1449
1181
|
RewardsRangeOptionsZod.optional()
|
|
1450
1182
|
]),
|
|
1451
|
-
to:
|
|
1183
|
+
to: z9.tuple([
|
|
1452
1184
|
RewardsRangeOptionsZod.optional()
|
|
1453
1185
|
])
|
|
1454
1186
|
},
|
|
1455
1187
|
result: {
|
|
1456
|
-
from:
|
|
1457
|
-
to:
|
|
1188
|
+
from: z9.record(z9.number(), BigIntToJsonZod3.transform((val) => asAttoXL1(val))),
|
|
1189
|
+
to: z9.record(z9.number(), JsonToBigIntZod3)
|
|
1458
1190
|
}
|
|
1459
1191
|
}
|
|
1460
1192
|
};
|
|
1461
1193
|
|
|
1462
1194
|
// src/types/schema/RewardsByStakerViewerRpcSchemas.ts
|
|
1463
|
-
import { AddressZod as
|
|
1464
|
-
import
|
|
1195
|
+
import { AddressZod as AddressZod3, BigIntToJsonZod as BigIntToJsonZod4, JsonToBigIntZod as JsonToBigIntZod4 } from "@xylabs/sdk-js";
|
|
1196
|
+
import { RewardsRangeOptionsZod as RewardsRangeOptionsZod2 } from "@xyo-network/xl1-protocol-sdk";
|
|
1197
|
+
import z10 from "zod";
|
|
1465
1198
|
var NetworkStakingStepRewardsByStakerViewerRpcSchemas = {
|
|
1466
1199
|
networkStakingStepRewardsByStakerViewer_bonus: {
|
|
1467
1200
|
params: {
|
|
1468
|
-
from:
|
|
1469
|
-
|
|
1201
|
+
from: z10.tuple([
|
|
1202
|
+
RewardsRangeOptionsZod2.optional()
|
|
1470
1203
|
]),
|
|
1471
|
-
to:
|
|
1472
|
-
|
|
1204
|
+
to: z10.tuple([
|
|
1205
|
+
RewardsRangeOptionsZod2.optional()
|
|
1473
1206
|
])
|
|
1474
1207
|
},
|
|
1475
1208
|
result: {
|
|
1476
|
-
from:
|
|
1477
|
-
to:
|
|
1209
|
+
from: z10.record(AddressZod3, BigIntToJsonZod4),
|
|
1210
|
+
to: z10.record(AddressZod3, JsonToBigIntZod4)
|
|
1478
1211
|
}
|
|
1479
1212
|
},
|
|
1480
1213
|
networkStakingStepRewardsByStakerViewer_claimed: {
|
|
1481
1214
|
params: {
|
|
1482
|
-
from:
|
|
1483
|
-
|
|
1215
|
+
from: z10.tuple([
|
|
1216
|
+
RewardsRangeOptionsZod2.optional()
|
|
1484
1217
|
]),
|
|
1485
|
-
to:
|
|
1486
|
-
|
|
1218
|
+
to: z10.tuple([
|
|
1219
|
+
RewardsRangeOptionsZod2.optional()
|
|
1487
1220
|
])
|
|
1488
1221
|
},
|
|
1489
1222
|
result: {
|
|
1490
|
-
from:
|
|
1491
|
-
to:
|
|
1223
|
+
from: z10.record(AddressZod3, BigIntToJsonZod4),
|
|
1224
|
+
to: z10.record(AddressZod3, JsonToBigIntZod4)
|
|
1492
1225
|
}
|
|
1493
1226
|
},
|
|
1494
1227
|
networkStakingStepRewardsByStakerViewer_earned: {
|
|
1495
1228
|
params: {
|
|
1496
|
-
from:
|
|
1497
|
-
|
|
1229
|
+
from: z10.tuple([
|
|
1230
|
+
RewardsRangeOptionsZod2.optional()
|
|
1498
1231
|
]),
|
|
1499
|
-
to:
|
|
1500
|
-
|
|
1232
|
+
to: z10.tuple([
|
|
1233
|
+
RewardsRangeOptionsZod2.optional()
|
|
1501
1234
|
])
|
|
1502
1235
|
},
|
|
1503
1236
|
result: {
|
|
1504
|
-
from:
|
|
1505
|
-
to:
|
|
1237
|
+
from: z10.record(AddressZod3, BigIntToJsonZod4),
|
|
1238
|
+
to: z10.record(AddressZod3, JsonToBigIntZod4)
|
|
1506
1239
|
}
|
|
1507
1240
|
},
|
|
1508
1241
|
networkStakingStepRewardsByStakerViewer_total: {
|
|
1509
1242
|
params: {
|
|
1510
|
-
from:
|
|
1511
|
-
|
|
1243
|
+
from: z10.tuple([
|
|
1244
|
+
RewardsRangeOptionsZod2.optional()
|
|
1512
1245
|
]),
|
|
1513
|
-
to:
|
|
1514
|
-
|
|
1246
|
+
to: z10.tuple([
|
|
1247
|
+
RewardsRangeOptionsZod2.optional()
|
|
1515
1248
|
])
|
|
1516
1249
|
},
|
|
1517
1250
|
result: {
|
|
1518
|
-
from:
|
|
1519
|
-
to:
|
|
1251
|
+
from: z10.record(AddressZod3, BigIntToJsonZod4),
|
|
1252
|
+
to: z10.record(AddressZod3, JsonToBigIntZod4)
|
|
1520
1253
|
}
|
|
1521
1254
|
},
|
|
1522
1255
|
networkStakingStepRewardsByStakerViewer_unclaimed: {
|
|
1523
1256
|
params: {
|
|
1524
|
-
from:
|
|
1525
|
-
|
|
1257
|
+
from: z10.tuple([
|
|
1258
|
+
RewardsRangeOptionsZod2.optional()
|
|
1526
1259
|
]),
|
|
1527
|
-
to:
|
|
1528
|
-
|
|
1260
|
+
to: z10.tuple([
|
|
1261
|
+
RewardsRangeOptionsZod2.optional()
|
|
1529
1262
|
])
|
|
1530
1263
|
},
|
|
1531
1264
|
result: {
|
|
1532
|
-
from:
|
|
1533
|
-
to:
|
|
1265
|
+
from: z10.record(AddressZod3, BigIntToJsonZod4),
|
|
1266
|
+
to: z10.record(AddressZod3, JsonToBigIntZod4)
|
|
1534
1267
|
}
|
|
1535
1268
|
}
|
|
1536
1269
|
};
|
|
1537
1270
|
|
|
1538
1271
|
// src/types/schema/RewardsByStepViewerRpcSchemas.ts
|
|
1539
|
-
import { AddressZod as
|
|
1540
|
-
import
|
|
1272
|
+
import { AddressZod as AddressZod4, BigIntToJsonZod as BigIntToJsonZod5, JsonToBigIntZod as JsonToBigIntZod5 } from "@xylabs/sdk-js";
|
|
1273
|
+
import { RewardsRangeOptionsZod as RewardsRangeOptionsZod3 } from "@xyo-network/xl1-protocol-sdk";
|
|
1274
|
+
import z11 from "zod";
|
|
1541
1275
|
var NetworkStakingStepRewardsByStepViewerRpcSchemas = {
|
|
1542
1276
|
networkStakingStepRewardsByStepViewer_bonus: {
|
|
1543
1277
|
params: {
|
|
1544
|
-
from:
|
|
1545
|
-
|
|
1278
|
+
from: z11.tuple([
|
|
1279
|
+
RewardsRangeOptionsZod3.optional()
|
|
1546
1280
|
]),
|
|
1547
|
-
to:
|
|
1548
|
-
|
|
1281
|
+
to: z11.tuple([
|
|
1282
|
+
RewardsRangeOptionsZod3.optional()
|
|
1549
1283
|
])
|
|
1550
1284
|
},
|
|
1551
1285
|
result: {
|
|
1552
|
-
from:
|
|
1553
|
-
to:
|
|
1286
|
+
from: z11.record(AddressZod4, BigIntToJsonZod5),
|
|
1287
|
+
to: z11.record(AddressZod4, JsonToBigIntZod5)
|
|
1554
1288
|
}
|
|
1555
1289
|
},
|
|
1556
1290
|
networkStakingStepRewardsByStepViewer_claimed: {
|
|
1557
1291
|
params: {
|
|
1558
|
-
from:
|
|
1559
|
-
|
|
1292
|
+
from: z11.tuple([
|
|
1293
|
+
RewardsRangeOptionsZod3.optional()
|
|
1560
1294
|
]),
|
|
1561
|
-
to:
|
|
1562
|
-
|
|
1295
|
+
to: z11.tuple([
|
|
1296
|
+
RewardsRangeOptionsZod3.optional()
|
|
1563
1297
|
])
|
|
1564
1298
|
},
|
|
1565
1299
|
result: {
|
|
1566
|
-
from:
|
|
1567
|
-
to:
|
|
1300
|
+
from: z11.record(AddressZod4, BigIntToJsonZod5),
|
|
1301
|
+
to: z11.record(AddressZod4, JsonToBigIntZod5)
|
|
1568
1302
|
}
|
|
1569
1303
|
},
|
|
1570
1304
|
networkStakingStepRewardsByStepViewer_earned: {
|
|
1571
1305
|
params: {
|
|
1572
|
-
from:
|
|
1573
|
-
|
|
1306
|
+
from: z11.tuple([
|
|
1307
|
+
RewardsRangeOptionsZod3.optional()
|
|
1574
1308
|
]),
|
|
1575
|
-
to:
|
|
1576
|
-
|
|
1309
|
+
to: z11.tuple([
|
|
1310
|
+
RewardsRangeOptionsZod3.optional()
|
|
1577
1311
|
])
|
|
1578
1312
|
},
|
|
1579
1313
|
result: {
|
|
1580
|
-
from:
|
|
1581
|
-
to:
|
|
1314
|
+
from: z11.record(AddressZod4, BigIntToJsonZod5),
|
|
1315
|
+
to: z11.record(AddressZod4, JsonToBigIntZod5)
|
|
1582
1316
|
}
|
|
1583
1317
|
},
|
|
1584
1318
|
networkStakingStepRewardsByStepViewer_total: {
|
|
1585
1319
|
params: {
|
|
1586
|
-
from:
|
|
1587
|
-
|
|
1320
|
+
from: z11.tuple([
|
|
1321
|
+
RewardsRangeOptionsZod3.optional()
|
|
1588
1322
|
]),
|
|
1589
|
-
to:
|
|
1590
|
-
|
|
1323
|
+
to: z11.tuple([
|
|
1324
|
+
RewardsRangeOptionsZod3.optional()
|
|
1591
1325
|
])
|
|
1592
1326
|
},
|
|
1593
1327
|
result: {
|
|
1594
|
-
from:
|
|
1595
|
-
to:
|
|
1328
|
+
from: z11.record(AddressZod4, BigIntToJsonZod5),
|
|
1329
|
+
to: z11.record(AddressZod4, JsonToBigIntZod5)
|
|
1596
1330
|
}
|
|
1597
1331
|
},
|
|
1598
1332
|
networkStakingStepRewardsByStepViewer_unclaimed: {
|
|
1599
1333
|
params: {
|
|
1600
|
-
from:
|
|
1601
|
-
|
|
1334
|
+
from: z11.tuple([
|
|
1335
|
+
RewardsRangeOptionsZod3.optional()
|
|
1602
1336
|
]),
|
|
1603
|
-
to:
|
|
1604
|
-
|
|
1337
|
+
to: z11.tuple([
|
|
1338
|
+
RewardsRangeOptionsZod3.optional()
|
|
1605
1339
|
])
|
|
1606
1340
|
},
|
|
1607
1341
|
result: {
|
|
1608
|
-
from:
|
|
1609
|
-
to:
|
|
1342
|
+
from: z11.record(AddressZod4, BigIntToJsonZod5),
|
|
1343
|
+
to: z11.record(AddressZod4, JsonToBigIntZod5)
|
|
1610
1344
|
}
|
|
1611
1345
|
}
|
|
1612
1346
|
};
|
|
1613
1347
|
|
|
1614
1348
|
// src/types/schema/RewardsTotalViewerRpcSchemas.ts
|
|
1615
|
-
import { BigIntToJsonZod as
|
|
1616
|
-
import { asAttoXL1 as
|
|
1617
|
-
import
|
|
1349
|
+
import { BigIntToJsonZod as BigIntToJsonZod6, JsonToBigIntZod as JsonToBigIntZod6 } from "@xylabs/sdk-js";
|
|
1350
|
+
import { asAttoXL1 as asAttoXL12 } from "@xyo-network/xl1-protocol";
|
|
1351
|
+
import { RewardsRangeOptionsZod as RewardsRangeOptionsZod4 } from "@xyo-network/xl1-protocol-sdk";
|
|
1352
|
+
import * as z12 from "zod";
|
|
1618
1353
|
var NetworkStakingStepRewardsTotalViewerRpcSchemas = {
|
|
1619
1354
|
networkStakingStepRewardsTotalViewer_bonus: {
|
|
1620
1355
|
params: {
|
|
1621
|
-
from:
|
|
1622
|
-
|
|
1356
|
+
from: z12.tuple([
|
|
1357
|
+
RewardsRangeOptionsZod4.optional()
|
|
1623
1358
|
]),
|
|
1624
|
-
to:
|
|
1625
|
-
|
|
1359
|
+
to: z12.tuple([
|
|
1360
|
+
RewardsRangeOptionsZod4.optional()
|
|
1626
1361
|
])
|
|
1627
1362
|
},
|
|
1628
1363
|
result: {
|
|
1629
|
-
from:
|
|
1630
|
-
to:
|
|
1364
|
+
from: JsonToBigIntZod6.transform((val) => asAttoXL12(val)),
|
|
1365
|
+
to: BigIntToJsonZod6
|
|
1631
1366
|
}
|
|
1632
1367
|
},
|
|
1633
1368
|
networkStakingStepRewardsTotalViewer_claimed: {
|
|
1634
1369
|
params: {
|
|
1635
|
-
from:
|
|
1636
|
-
|
|
1370
|
+
from: z12.tuple([
|
|
1371
|
+
RewardsRangeOptionsZod4.optional()
|
|
1637
1372
|
]),
|
|
1638
|
-
to:
|
|
1639
|
-
|
|
1373
|
+
to: z12.tuple([
|
|
1374
|
+
RewardsRangeOptionsZod4.optional()
|
|
1640
1375
|
])
|
|
1641
1376
|
},
|
|
1642
1377
|
result: {
|
|
1643
|
-
from:
|
|
1644
|
-
to:
|
|
1378
|
+
from: JsonToBigIntZod6.transform((val) => asAttoXL12(val)),
|
|
1379
|
+
to: BigIntToJsonZod6
|
|
1645
1380
|
}
|
|
1646
1381
|
},
|
|
1647
1382
|
networkStakingStepRewardsTotalViewer_earned: {
|
|
1648
1383
|
params: {
|
|
1649
|
-
from:
|
|
1650
|
-
|
|
1384
|
+
from: z12.tuple([
|
|
1385
|
+
RewardsRangeOptionsZod4.optional()
|
|
1651
1386
|
]),
|
|
1652
|
-
to:
|
|
1653
|
-
|
|
1387
|
+
to: z12.tuple([
|
|
1388
|
+
RewardsRangeOptionsZod4.optional()
|
|
1654
1389
|
])
|
|
1655
1390
|
},
|
|
1656
1391
|
result: {
|
|
1657
|
-
from:
|
|
1658
|
-
to:
|
|
1392
|
+
from: JsonToBigIntZod6.transform((val) => asAttoXL12(val)),
|
|
1393
|
+
to: BigIntToJsonZod6
|
|
1659
1394
|
}
|
|
1660
1395
|
},
|
|
1661
1396
|
networkStakingStepRewardsTotalViewer_total: {
|
|
1662
1397
|
params: {
|
|
1663
|
-
from:
|
|
1664
|
-
|
|
1398
|
+
from: z12.tuple([
|
|
1399
|
+
RewardsRangeOptionsZod4.optional()
|
|
1665
1400
|
]),
|
|
1666
|
-
to:
|
|
1667
|
-
|
|
1401
|
+
to: z12.tuple([
|
|
1402
|
+
RewardsRangeOptionsZod4.optional()
|
|
1668
1403
|
])
|
|
1669
1404
|
},
|
|
1670
1405
|
result: {
|
|
1671
|
-
from:
|
|
1672
|
-
to:
|
|
1406
|
+
from: JsonToBigIntZod6.transform((val) => asAttoXL12(val)),
|
|
1407
|
+
to: BigIntToJsonZod6
|
|
1673
1408
|
}
|
|
1674
1409
|
},
|
|
1675
1410
|
networkStakingStepRewardsTotalViewer_unclaimed: {
|
|
1676
1411
|
params: {
|
|
1677
|
-
from:
|
|
1678
|
-
|
|
1412
|
+
from: z12.tuple([
|
|
1413
|
+
RewardsRangeOptionsZod4.optional()
|
|
1679
1414
|
]),
|
|
1680
|
-
to:
|
|
1681
|
-
|
|
1415
|
+
to: z12.tuple([
|
|
1416
|
+
RewardsRangeOptionsZod4.optional()
|
|
1682
1417
|
])
|
|
1683
1418
|
},
|
|
1684
1419
|
result: {
|
|
1685
|
-
from:
|
|
1686
|
-
to:
|
|
1420
|
+
from: JsonToBigIntZod6.transform((val) => asAttoXL12(val)),
|
|
1421
|
+
to: BigIntToJsonZod6
|
|
1687
1422
|
}
|
|
1688
1423
|
}
|
|
1689
1424
|
};
|
|
@@ -1693,70 +1428,71 @@ var NetworkStakingStepRewardsViewerRpcSchemas = {};
|
|
|
1693
1428
|
|
|
1694
1429
|
// src/types/schema/TimeSyncViewerRpcSchema.ts
|
|
1695
1430
|
import { TimePayloadZod } from "@xyo-network/xl1-protocol";
|
|
1696
|
-
import
|
|
1431
|
+
import { TimeDomainZod } from "@xyo-network/xl1-protocol-sdk";
|
|
1432
|
+
import * as z13 from "zod";
|
|
1697
1433
|
var TimeSyncViewerRpcSchemas = {
|
|
1698
1434
|
timeSyncViewer_convertTime: {
|
|
1699
1435
|
params: {
|
|
1700
|
-
from:
|
|
1436
|
+
from: z13.tuple([
|
|
1701
1437
|
TimeDomainZod,
|
|
1702
1438
|
TimeDomainZod,
|
|
1703
|
-
|
|
1439
|
+
z13.number()
|
|
1704
1440
|
]),
|
|
1705
|
-
to:
|
|
1441
|
+
to: z13.tuple([
|
|
1706
1442
|
TimeDomainZod,
|
|
1707
1443
|
TimeDomainZod,
|
|
1708
|
-
|
|
1444
|
+
z13.number()
|
|
1709
1445
|
])
|
|
1710
1446
|
},
|
|
1711
1447
|
result: {
|
|
1712
|
-
from:
|
|
1713
|
-
to:
|
|
1448
|
+
from: z13.number(),
|
|
1449
|
+
to: z13.number()
|
|
1714
1450
|
}
|
|
1715
1451
|
},
|
|
1716
1452
|
timeSyncViewer_currentTime: {
|
|
1717
1453
|
params: {
|
|
1718
|
-
from:
|
|
1454
|
+
from: z13.tuple([
|
|
1719
1455
|
TimeDomainZod
|
|
1720
1456
|
]),
|
|
1721
|
-
to:
|
|
1457
|
+
to: z13.tuple([
|
|
1722
1458
|
TimeDomainZod
|
|
1723
1459
|
])
|
|
1724
1460
|
},
|
|
1725
1461
|
result: {
|
|
1726
|
-
from:
|
|
1462
|
+
from: z13.tuple([
|
|
1727
1463
|
TimeDomainZod,
|
|
1728
|
-
|
|
1464
|
+
z13.number()
|
|
1729
1465
|
]),
|
|
1730
|
-
to:
|
|
1466
|
+
to: z13.tuple([
|
|
1731
1467
|
TimeDomainZod,
|
|
1732
|
-
|
|
1468
|
+
z13.number()
|
|
1733
1469
|
])
|
|
1734
1470
|
}
|
|
1735
1471
|
},
|
|
1736
1472
|
timeSyncViewer_currentTimeAndHash: {
|
|
1737
1473
|
params: {
|
|
1738
|
-
from:
|
|
1474
|
+
from: z13.tuple([
|
|
1739
1475
|
TimeDomainZod
|
|
1740
1476
|
]),
|
|
1741
|
-
to:
|
|
1477
|
+
to: z13.tuple([
|
|
1742
1478
|
TimeDomainZod
|
|
1743
1479
|
])
|
|
1744
1480
|
},
|
|
1745
1481
|
result: {
|
|
1746
|
-
from:
|
|
1747
|
-
|
|
1748
|
-
|
|
1482
|
+
from: z13.tuple([
|
|
1483
|
+
z13.number(),
|
|
1484
|
+
z13.nullable(z13.string())
|
|
1749
1485
|
]),
|
|
1750
|
-
to:
|
|
1751
|
-
|
|
1752
|
-
|
|
1486
|
+
to: z13.tuple([
|
|
1487
|
+
z13.number(),
|
|
1488
|
+
z13.nullable(z13.string())
|
|
1753
1489
|
])
|
|
1754
1490
|
}
|
|
1755
1491
|
},
|
|
1756
1492
|
timeSyncViewer_currentTimePayload: {
|
|
1757
1493
|
params: {
|
|
1758
|
-
from:
|
|
1759
|
-
to:
|
|
1494
|
+
from: z13.tuple([]),
|
|
1495
|
+
to: z13.tuple([])
|
|
1760
1496
|
},
|
|
1761
1497
|
result: {
|
|
1762
1498
|
from: TimePayloadZod,
|
|
@@ -2018,9 +1754,8 @@ var JsonRpcTimeSyncViewer = class extends JsonRpcTimeSyncViewerMethods {
|
|
|
2018
1754
|
};
|
|
2019
1755
|
|
|
2020
1756
|
// src/provider/viewer/JsonRpcXyoViewer.ts
|
|
2021
|
-
import { isHash } from "@xylabs/sdk-js";
|
|
2022
|
-
import {
|
|
2023
|
-
import { asAttoXL1 as asAttoXL14, asHydratedBlock } from "@xyo-network/xl1-protocol";
|
|
1757
|
+
import { isDefined, isHash } from "@xylabs/sdk-js";
|
|
1758
|
+
import { asAttoXL1 as asAttoXL13, asHydratedBlock } from "@xyo-network/xl1-protocol";
|
|
2024
1759
|
var JsonRpcXyoViewer = class {
|
|
2025
1760
|
static {
|
|
2026
1761
|
__name(this, "JsonRpcXyoViewer");
|
|
@@ -2034,10 +1769,22 @@ var JsonRpcXyoViewer = class {
|
|
|
2034
1769
|
get networkStakeViewer() {
|
|
2035
1770
|
return this.providers?.networkStakeViewer;
|
|
2036
1771
|
}
|
|
2037
|
-
async accountBalance(address) {
|
|
2038
|
-
|
|
1772
|
+
async accountBalance(address, headOrRange) {
|
|
1773
|
+
if (isDefined(headOrRange)) {
|
|
1774
|
+
if (isHash(headOrRange)) {
|
|
1775
|
+
return await this.transport.sendRequest("xyoViewer_accountBalance", [
|
|
1776
|
+
address,
|
|
1777
|
+
headOrRange
|
|
1778
|
+
]);
|
|
1779
|
+
}
|
|
1780
|
+
return await this.transport.sendRequest("xyoViewer_accountBalance", [
|
|
1781
|
+
address,
|
|
1782
|
+
headOrRange
|
|
1783
|
+
]);
|
|
1784
|
+
}
|
|
1785
|
+
return await this.transport.sendRequest("xyoViewer_accountBalance", [
|
|
2039
1786
|
address
|
|
2040
|
-
])
|
|
1787
|
+
]);
|
|
2041
1788
|
}
|
|
2042
1789
|
async accountBalanceHistory(address, headOrRange) {
|
|
2043
1790
|
if (isDefined(headOrRange)) {
|
|
@@ -2056,6 +1803,12 @@ var JsonRpcXyoViewer = class {
|
|
|
2056
1803
|
address
|
|
2057
1804
|
]);
|
|
2058
1805
|
}
|
|
1806
|
+
accountsBalances(address, headOrRange) {
|
|
1807
|
+
throw new Error("Method not implemented.");
|
|
1808
|
+
}
|
|
1809
|
+
accountsBalancesHistory(address, headOrRange) {
|
|
1810
|
+
throw new Error("Method not implemented.");
|
|
1811
|
+
}
|
|
2059
1812
|
async blockByHash(hash) {
|
|
2060
1813
|
return asHydratedBlock(await this.transport.sendRequest("xyoViewer_blockByHash", [
|
|
2061
1814
|
hash
|
|
@@ -2234,7 +1987,7 @@ var JsonRpcXyoViewer = class {
|
|
|
2234
1987
|
]);
|
|
2235
1988
|
}
|
|
2236
1989
|
async transferBalance(address) {
|
|
2237
|
-
return
|
|
1990
|
+
return asAttoXL13(await this.transport.sendRequest("xyoViewer_transferBalance", [
|
|
2238
1991
|
address
|
|
2239
1992
|
]));
|
|
2240
1993
|
}
|
|
@@ -2242,7 +1995,7 @@ var JsonRpcXyoViewer = class {
|
|
|
2242
1995
|
throw new Error("Method not implemented.");
|
|
2243
1996
|
}
|
|
2244
1997
|
async transferPairBalance(pair) {
|
|
2245
|
-
return
|
|
1998
|
+
return asAttoXL13(await this.transport.sendRequest("xyoViewer_transferPairBalance", [
|
|
2246
1999
|
pair
|
|
2247
2000
|
]));
|
|
2248
2001
|
}
|
|
@@ -2376,31 +2129,10 @@ var RpcXyoSigner = class {
|
|
|
2376
2129
|
};
|
|
2377
2130
|
export {
|
|
2378
2131
|
AllRpcSchemas,
|
|
2379
|
-
AnyBoundWitnessZod,
|
|
2380
|
-
AnySignedBoundWitnessWithStorageMetaZod,
|
|
2381
|
-
AnySignedBoundWitnessZod,
|
|
2382
|
-
AnyUnsignedBoundWitnessZod,
|
|
2383
|
-
ArrayBufferToJsonZod,
|
|
2384
|
-
AttoToJsonZod,
|
|
2385
|
-
AttoZod,
|
|
2386
|
-
BlockBoundWitnessZod,
|
|
2387
|
-
BlockDurationZod,
|
|
2388
|
-
BlockEndZod,
|
|
2389
|
-
BlockScriptsZod,
|
|
2390
|
-
BlockStartZod,
|
|
2391
|
-
BoundWitnessZod,
|
|
2392
|
-
CaveatTypesZod,
|
|
2393
|
-
CaveatsZod,
|
|
2394
|
-
ChainZod,
|
|
2395
2132
|
DataLakeViewerRpcNamespace,
|
|
2396
2133
|
DataLakeViewerRpcSchemas,
|
|
2397
2134
|
HttpRpcTransport,
|
|
2398
2135
|
HttpRpcXyoConnection,
|
|
2399
|
-
HydratedBlockWithStorageMetaZod,
|
|
2400
|
-
HydratedBlockZod,
|
|
2401
|
-
HydratedTransactionZod,
|
|
2402
|
-
InvokerPermissionZod,
|
|
2403
|
-
JsonObjectZod,
|
|
2404
2136
|
JsonRpcDataLakeViewer,
|
|
2405
2137
|
JsonRpcDataLakeViewerMethods,
|
|
2406
2138
|
JsonRpcErrorCodes,
|
|
@@ -2413,12 +2145,6 @@ export {
|
|
|
2413
2145
|
JsonRpcViewer,
|
|
2414
2146
|
JsonRpcXyoRunner,
|
|
2415
2147
|
JsonRpcXyoViewer,
|
|
2416
|
-
JsonToArrayBufferZod,
|
|
2417
|
-
JsonToAttoZod,
|
|
2418
|
-
JsonToSignedHydratedTransactionZod,
|
|
2419
|
-
JsonToStakeZod,
|
|
2420
|
-
LocalSequenceFromStringZod,
|
|
2421
|
-
LocalSequenceToStringZod,
|
|
2422
2148
|
MemoryRpcTransport,
|
|
2423
2149
|
NetworkStakeViewerRpcNamespace,
|
|
2424
2150
|
NetworkStakeViewerRpcSchemas,
|
|
@@ -2433,40 +2159,10 @@ export {
|
|
|
2433
2159
|
NetworkStakingStepRewardsViewerRpcNamespace,
|
|
2434
2160
|
NetworkStakingStepRewardsViewerRpcSchemas,
|
|
2435
2161
|
NodeXyoRunner,
|
|
2436
|
-
PermissionRequestZod,
|
|
2437
|
-
PermissionZod,
|
|
2438
|
-
QualifiedSequenceFromStringZod,
|
|
2439
|
-
QualifiedSequenceToStringZod,
|
|
2440
|
-
RequestedPermissionZod,
|
|
2441
|
-
RewardsRangeOptionsZod,
|
|
2442
2162
|
RpcXyoPermissions,
|
|
2443
2163
|
RpcXyoSigner,
|
|
2444
|
-
SequenceFromStringZod,
|
|
2445
|
-
SequenceToStringZod,
|
|
2446
|
-
SignedBlockBoundWitnessZod,
|
|
2447
|
-
SignedBoundWitnessWithStorageMetaZod,
|
|
2448
|
-
SignedBoundWitnessZod,
|
|
2449
|
-
SignedHydratedBlockToJsonZod,
|
|
2450
|
-
SignedHydratedBlockWithStorageMetaZod,
|
|
2451
|
-
SignedHydratedBlockZod,
|
|
2452
|
-
SignedHydratedTransactionToJsonZod,
|
|
2453
|
-
SignedHydratedTransactionZod,
|
|
2454
|
-
SignedTransactionBoundWitnessZod,
|
|
2455
|
-
StakeToJsonZod,
|
|
2456
|
-
StakeZod,
|
|
2457
|
-
TimeDomainZod,
|
|
2458
2164
|
TimeSyncViewerRpcNamespace,
|
|
2459
2165
|
TimeSyncViewerRpcSchemas,
|
|
2460
|
-
TransactionBoundWitnessZod,
|
|
2461
|
-
TransactionFeesBigIntToJsonZod,
|
|
2462
|
-
TransactionFeesBigIntZod,
|
|
2463
|
-
TransactionFeesHexZod,
|
|
2464
|
-
TransactionFeesJsonToBigIntZod,
|
|
2465
|
-
TransferPairZod,
|
|
2466
|
-
UnsignedBoundWitnessWithStorageMetaZod,
|
|
2467
|
-
UnsignedBoundWitnessZod,
|
|
2468
|
-
UnsignedHydratedTransactionZod,
|
|
2469
|
-
WithTransactionFeesZod,
|
|
2470
2166
|
XyoBaseConnection,
|
|
2471
2167
|
XyoPermissionsRpcSchemas,
|
|
2472
2168
|
XyoRunnerRpcSchemas,
|