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