@xyo-network/xl1-rpc 1.15.3 → 1.15.5
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 +64 -25
- package/dist/neutral/index.mjs.map +1 -1
- package/dist/neutral/provider/viewer/JsonRpcXyoViewer.d.ts +13 -12
- package/dist/neutral/provider/viewer/JsonRpcXyoViewer.d.ts.map +1 -1
- package/dist/neutral/types/schema/AllRpcSchemas.d.ts +22 -0
- package/dist/neutral/types/schema/AllRpcSchemas.d.ts.map +1 -1
- package/dist/neutral/types/schema/XyoViewerRpcSchemas.d.ts +22 -0
- package/dist/neutral/types/schema/XyoViewerRpcSchemas.d.ts.map +1 -1
- package/dist/neutral/types/schema/common/StepIdentity.d.ts +6 -0
- package/dist/neutral/types/schema/common/StepIdentity.d.ts.map +1 -0
- package/dist/neutral/types/schema/common/index.d.ts +1 -1
- package/dist/neutral/types/schema/common/index.d.ts.map +1 -1
- package/dist/node/engine/rpcMethodHandlersFromViewer.d.ts.map +1 -1
- package/dist/node/index-node.mjs +64 -25
- package/dist/node/index-node.mjs.map +1 -1
- package/dist/node/provider/viewer/JsonRpcXyoViewer.d.ts +13 -12
- package/dist/node/provider/viewer/JsonRpcXyoViewer.d.ts.map +1 -1
- package/dist/node/types/schema/AllRpcSchemas.d.ts +22 -0
- package/dist/node/types/schema/AllRpcSchemas.d.ts.map +1 -1
- package/dist/node/types/schema/XyoViewerRpcSchemas.d.ts +22 -0
- package/dist/node/types/schema/XyoViewerRpcSchemas.d.ts.map +1 -1
- package/dist/node/types/schema/common/StepIdentity.d.ts +6 -0
- package/dist/node/types/schema/common/StepIdentity.d.ts.map +1 -0
- package/dist/node/types/schema/common/index.d.ts +1 -1
- package/dist/node/types/schema/common/index.d.ts.map +1 -1
- package/package.json +5 -5
- package/src/engine/rpcMethodHandlersFromViewer.ts +1 -0
- package/src/provider/viewer/JsonRpcXyoViewer.ts +16 -12
- package/src/types/schema/XyoViewerRpcSchemas.ts +37 -23
- package/src/types/schema/common/{StepContext.ts → StepIdentity.ts} +1 -1
- package/src/types/schema/common/index.ts +1 -1
- package/dist/neutral/types/schema/common/StepContext.d.ts +0 -6
- package/dist/neutral/types/schema/common/StepContext.d.ts.map +0 -1
- package/dist/node/types/schema/common/StepContext.d.ts +0 -6
- package/dist/node/types/schema/common/StepContext.d.ts.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Address, Hash } from '@xylabs/hex';
|
|
2
|
-
import type { AttoXL1, ChainId, ForkHistory, HydratedBlock, SignedHydratedTransaction, Stake,
|
|
2
|
+
import type { AttoXL1, ChainId, ForkHistory, HydratedBlock, SignedHydratedTransaction, Stake, StepIdentity, Transfer, TransferBalanceHistoryItem, TransferPair, XyoViewer } from '@xyo-network/xl1-protocol';
|
|
3
3
|
import type { RpcTransport } from '../../transport/index.ts';
|
|
4
4
|
import type { XyoViewerRpcSchemas } from '../../types/index.ts';
|
|
5
5
|
export declare class JsonRpcXyoViewer implements XyoViewer {
|
|
@@ -17,19 +17,20 @@ export declare class JsonRpcXyoViewer implements XyoViewer {
|
|
|
17
17
|
currentBlockNumber(): Promise<number>;
|
|
18
18
|
forkHistory(): Promise<ForkHistory>;
|
|
19
19
|
networkStakeStepRewardAddressHistory(address: Address): Promise<Record<Address, bigint>>;
|
|
20
|
-
networkStakeStepRewardAddressReward(context:
|
|
21
|
-
networkStakeStepRewardAddressShare(context:
|
|
20
|
+
networkStakeStepRewardAddressReward(context: StepIdentity, address: Address): Promise<Record<Address, bigint>>;
|
|
21
|
+
networkStakeStepRewardAddressShare(context: StepIdentity, address: Address): Promise<[bigint, bigint]>;
|
|
22
22
|
networkStakeStepRewardClaimedByAddress(address: Address): Promise<bigint>;
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
23
|
+
networkStakeStepRewardForPosition(position: number, range: [number, number]): Promise<[bigint, bigint]>;
|
|
24
|
+
networkStakeStepRewardForStep(context: StepIdentity): Promise<bigint>;
|
|
25
|
+
networkStakeStepRewardForStepForPosition(context: StepIdentity, position: number): Promise<[bigint, bigint]>;
|
|
26
|
+
networkStakeStepRewardPoolRewards(context: StepIdentity): Promise<Record<Address, bigint>>;
|
|
27
|
+
networkStakeStepRewardPoolShares(context: StepIdentity): Promise<Record<Address, bigint>>;
|
|
28
|
+
networkStakeStepRewardPositionWeight(context: StepIdentity, position: number): Promise<bigint>;
|
|
29
|
+
networkStakeStepRewardPotentialPositionLoss(context: StepIdentity, position: number): Promise<bigint>;
|
|
30
|
+
networkStakeStepRewardRandomizer(context: StepIdentity): Promise<bigint>;
|
|
31
|
+
networkStakeStepRewardStakerCount(context: StepIdentity): Promise<number>;
|
|
31
32
|
networkStakeStepRewardUnclaimedByAddress(address: Address): Promise<bigint>;
|
|
32
|
-
networkStakeStepRewardWeightForAddress(context:
|
|
33
|
+
networkStakeStepRewardWeightForAddress(context: StepIdentity, address: Address): Promise<bigint>;
|
|
33
34
|
stakeById(id: number): Promise<Stake>;
|
|
34
35
|
stakeByStaker(staker: Address, slot: number): Promise<Stake>;
|
|
35
36
|
stakedByStaker(staker: Address): Promise<Address[]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"JsonRpcXyoViewer.d.ts","sourceRoot":"","sources":["../../../../src/provider/viewer/JsonRpcXyoViewer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAChD,OAAO,KAAK,EACV,OAAO,EACP,OAAO,EACP,WAAW,EACX,aAAa,EAAE,yBAAyB,EACxC,KAAK,EACL,
|
|
1
|
+
{"version":3,"file":"JsonRpcXyoViewer.d.ts","sourceRoot":"","sources":["../../../../src/provider/viewer/JsonRpcXyoViewer.ts"],"names":[],"mappings":"AAAA,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 +445,28 @@ export declare const AllRpcSchemas: {
|
|
|
445
445
|
}>>>], null>;
|
|
446
446
|
};
|
|
447
447
|
};
|
|
448
|
+
xyoViewer_networkStakeStepRewardForPosition: {
|
|
449
|
+
params: {
|
|
450
|
+
to: import("zod").ZodUnion<readonly [import("zod").ZodTuple<[import("zod").ZodNumber, import("zod").ZodTuple<[import("zod").ZodNumber, import("zod").ZodNumber], null>], null>]>;
|
|
451
|
+
from: import("zod").ZodUnion<readonly [import("zod").ZodTuple<[import("zod").ZodNumber, import("zod").ZodTuple<[import("zod").ZodNumber, import("zod").ZodNumber], null>], null>]>;
|
|
452
|
+
};
|
|
453
|
+
result: {
|
|
454
|
+
to: import("zod").ZodTuple<[import("zod").ZodPipe<import("zod").ZodBigInt, import("zod").ZodTransform<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
455
|
+
readonly __hex: true;
|
|
456
|
+
}>, bigint>>, import("zod").ZodPipe<import("zod").ZodBigInt, import("zod").ZodTransform<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
457
|
+
readonly __hex: true;
|
|
458
|
+
}>, bigint>>], null>;
|
|
459
|
+
from: import("zod").ZodTuple<[import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
460
|
+
readonly __hex: true;
|
|
461
|
+
}>, string>>, import("zod").ZodTransform<bigint, import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
462
|
+
readonly __hex: true;
|
|
463
|
+
}>>>, import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
464
|
+
readonly __hex: true;
|
|
465
|
+
}>, string>>, import("zod").ZodTransform<bigint, import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
466
|
+
readonly __hex: true;
|
|
467
|
+
}>>>], null>;
|
|
468
|
+
};
|
|
469
|
+
};
|
|
448
470
|
xyoViewer_accountBalance: {
|
|
449
471
|
params: {
|
|
450
472
|
to: import("zod").ZodUnion<readonly [import("zod").ZodTuple<[import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AllRpcSchemas.d.ts","sourceRoot":"","sources":["../../../../src/types/schema/AllRpcSchemas.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"AllRpcSchemas.d.ts","sourceRoot":"","sources":["../../../../src/types/schema/AllRpcSchemas.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMF,CAAA"}
|
|
@@ -376,6 +376,28 @@ export declare const XyoViewerRpcSchemas: {
|
|
|
376
376
|
}>>>], null>;
|
|
377
377
|
};
|
|
378
378
|
};
|
|
379
|
+
xyoViewer_networkStakeStepRewardForPosition: {
|
|
380
|
+
params: {
|
|
381
|
+
to: z.ZodUnion<readonly [z.ZodTuple<[z.ZodNumber, z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>], null>]>;
|
|
382
|
+
from: z.ZodUnion<readonly [z.ZodTuple<[z.ZodNumber, z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>], null>]>;
|
|
383
|
+
};
|
|
384
|
+
result: {
|
|
385
|
+
to: z.ZodTuple<[z.ZodPipe<z.ZodBigInt, z.ZodTransform<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
386
|
+
readonly __hex: true;
|
|
387
|
+
}>, bigint>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
388
|
+
readonly __hex: true;
|
|
389
|
+
}>, bigint>>], null>;
|
|
390
|
+
from: z.ZodTuple<[z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
391
|
+
readonly __hex: true;
|
|
392
|
+
}>, string>>, z.ZodTransform<bigint, import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
393
|
+
readonly __hex: true;
|
|
394
|
+
}>>>, z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
395
|
+
readonly __hex: true;
|
|
396
|
+
}>, string>>, z.ZodTransform<bigint, import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
397
|
+
readonly __hex: true;
|
|
398
|
+
}>>>], null>;
|
|
399
|
+
};
|
|
400
|
+
};
|
|
379
401
|
xyoViewer_accountBalance: {
|
|
380
402
|
params: {
|
|
381
403
|
to: z.ZodUnion<readonly [z.ZodTuple<[z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"XyoViewerRpcSchemas.d.ts","sourceRoot":"","sources":["../../../../src/types/schema/XyoViewerRpcSchemas.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AAgBxB,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"XyoViewerRpcSchemas.d.ts","sourceRoot":"","sources":["../../../../src/types/schema/XyoViewerRpcSchemas.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AAgBxB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAidgB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StepIdentity.d.ts","sourceRoot":"","sources":["../../../../../src/types/schema/common/StepIdentity.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AAExB,eAAO,MAAM,eAAe;;;iBAG1B,CAAA"}
|
|
@@ -9,7 +9,7 @@ export * from './Payload.ts';
|
|
|
9
9
|
export * from './Permission.ts';
|
|
10
10
|
export * from './Sequence.ts';
|
|
11
11
|
export * from './Stake.ts';
|
|
12
|
-
export * from './
|
|
12
|
+
export * from './StepIdentity.ts';
|
|
13
13
|
export * from './TransactionBoundWitness.ts';
|
|
14
14
|
export * from './TransactionFees.ts';
|
|
15
15
|
export * from './Transfer.ts';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/types/schema/common/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,wBAAwB,CAAA;AACtC,cAAc,mBAAmB,CAAA;AACjC,cAAc,YAAY,CAAA;AAC1B,cAAc,oBAAoB,CAAA;AAClC,cAAc,0BAA0B,CAAA;AACxC,cAAc,WAAW,CAAA;AACzB,cAAc,cAAc,CAAA;AAC5B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,eAAe,CAAA;AAC7B,cAAc,YAAY,CAAA;AAC1B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/types/schema/common/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,wBAAwB,CAAA;AACtC,cAAc,mBAAmB,CAAA;AACjC,cAAc,YAAY,CAAA;AAC1B,cAAc,oBAAoB,CAAA;AAClC,cAAc,0BAA0B,CAAA;AACxC,cAAc,WAAW,CAAA;AACzB,cAAc,cAAc,CAAA;AAC5B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,eAAe,CAAA;AAC7B,cAAc,YAAY,CAAA;AAC1B,cAAc,mBAAmB,CAAA;AACjC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,sBAAsB,CAAA;AACpC,cAAc,eAAe,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rpcMethodHandlersFromViewer.d.ts","sourceRoot":"","sources":["../../../src/engine/rpcMethodHandlersFromViewer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAA;AAE1D,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAA;AAEnE,eAAO,MAAM,2BAA2B,GAAI,QAAQ,SAAS,KAAG,
|
|
1
|
+
{"version":3,"file":"rpcMethodHandlersFromViewer.d.ts","sourceRoot":"","sources":["../../../src/engine/rpcMethodHandlersFromViewer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAA;AAE1D,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAA;AAEnE,eAAO,MAAM,2BAA2B,GAAI,QAAQ,SAAS,KAAG,0BAyC/D,CAAA"}
|
package/dist/node/index-node.mjs
CHANGED
|
@@ -37,6 +37,7 @@ var rpcMethodHandlersFromViewer = /* @__PURE__ */ __name((viewer) => {
|
|
|
37
37
|
xyoViewer_networkStakeStepRewardRandomizer: /* @__PURE__ */ __name((params) => viewer.networkStakeStepRewardRandomizer?.(...params ?? []), "xyoViewer_networkStakeStepRewardRandomizer"),
|
|
38
38
|
xyoViewer_networkStakeStepRewardStakerCount: /* @__PURE__ */ __name((params) => viewer.networkStakeStepRewardStakerCount?.(...params ?? []), "xyoViewer_networkStakeStepRewardStakerCount"),
|
|
39
39
|
xyoViewer_networkStakeStepRewardForStepForPosition: /* @__PURE__ */ __name((params) => viewer.networkStakeStepRewardForStepForPosition?.(...params ?? []), "xyoViewer_networkStakeStepRewardForStepForPosition"),
|
|
40
|
+
xyoViewer_networkStakeStepRewardForPosition: /* @__PURE__ */ __name((params) => viewer.networkStakeStepRewardForPosition?.(...params ?? []), "xyoViewer_networkStakeStepRewardForPosition"),
|
|
40
41
|
xyoViewer_accountBalance: /* @__PURE__ */ __name((params) => viewer.accountBalance(...params ?? []), "xyoViewer_accountBalance"),
|
|
41
42
|
xyoViewer_accountBalanceHistory: /* @__PURE__ */ __name((params) => viewer.accountBalanceHistory(...params ?? []), "xyoViewer_accountBalanceHistory"),
|
|
42
43
|
xyoViewer_blockByHash: /* @__PURE__ */ __name((params) => viewer.blockByHash(...params ?? []), "xyoViewer_blockByHash"),
|
|
@@ -423,9 +424,9 @@ var JsonToStakeZod = StakeZod.extend({
|
|
|
423
424
|
withdrawBlock: val.withdrawBlock
|
|
424
425
|
}));
|
|
425
426
|
|
|
426
|
-
// src/types/schema/common/
|
|
427
|
+
// src/types/schema/common/StepIdentity.ts
|
|
427
428
|
import * as z14 from "zod";
|
|
428
|
-
var
|
|
429
|
+
var StepIdentityZod = z14.object({
|
|
429
430
|
block: z14.number(),
|
|
430
431
|
step: z14.number()
|
|
431
432
|
});
|
|
@@ -620,13 +621,13 @@ var XyoViewerRpcSchemas = {
|
|
|
620
621
|
params: {
|
|
621
622
|
to: z20.union([
|
|
622
623
|
z20.tuple([
|
|
623
|
-
|
|
624
|
+
StepIdentityZod,
|
|
624
625
|
AddressZod
|
|
625
626
|
])
|
|
626
627
|
]),
|
|
627
628
|
from: z20.union([
|
|
628
629
|
z20.tuple([
|
|
629
|
-
|
|
630
|
+
StepIdentityZod,
|
|
630
631
|
AddressZod
|
|
631
632
|
])
|
|
632
633
|
])
|
|
@@ -658,13 +659,13 @@ var XyoViewerRpcSchemas = {
|
|
|
658
659
|
params: {
|
|
659
660
|
to: z20.union([
|
|
660
661
|
z20.tuple([
|
|
661
|
-
|
|
662
|
+
StepIdentityZod,
|
|
662
663
|
AddressZod
|
|
663
664
|
])
|
|
664
665
|
]),
|
|
665
666
|
from: z20.union([
|
|
666
667
|
z20.tuple([
|
|
667
|
-
|
|
668
|
+
StepIdentityZod,
|
|
668
669
|
AddressZod
|
|
669
670
|
])
|
|
670
671
|
])
|
|
@@ -684,13 +685,13 @@ var XyoViewerRpcSchemas = {
|
|
|
684
685
|
params: {
|
|
685
686
|
to: z20.union([
|
|
686
687
|
z20.tuple([
|
|
687
|
-
|
|
688
|
+
StepIdentityZod,
|
|
688
689
|
AddressZod
|
|
689
690
|
])
|
|
690
691
|
]),
|
|
691
692
|
from: z20.union([
|
|
692
693
|
z20.tuple([
|
|
693
|
-
|
|
694
|
+
StepIdentityZod,
|
|
694
695
|
AddressZod
|
|
695
696
|
])
|
|
696
697
|
])
|
|
@@ -722,12 +723,12 @@ var XyoViewerRpcSchemas = {
|
|
|
722
723
|
params: {
|
|
723
724
|
to: z20.union([
|
|
724
725
|
z20.tuple([
|
|
725
|
-
|
|
726
|
+
StepIdentityZod
|
|
726
727
|
])
|
|
727
728
|
]),
|
|
728
729
|
from: z20.union([
|
|
729
730
|
z20.tuple([
|
|
730
|
-
|
|
731
|
+
StepIdentityZod
|
|
731
732
|
])
|
|
732
733
|
])
|
|
733
734
|
},
|
|
@@ -740,13 +741,13 @@ var XyoViewerRpcSchemas = {
|
|
|
740
741
|
params: {
|
|
741
742
|
to: z20.union([
|
|
742
743
|
z20.tuple([
|
|
743
|
-
|
|
744
|
+
StepIdentityZod,
|
|
744
745
|
z20.number()
|
|
745
746
|
])
|
|
746
747
|
]),
|
|
747
748
|
from: z20.union([
|
|
748
749
|
z20.tuple([
|
|
749
|
-
|
|
750
|
+
StepIdentityZod,
|
|
750
751
|
z20.number()
|
|
751
752
|
])
|
|
752
753
|
])
|
|
@@ -760,13 +761,13 @@ var XyoViewerRpcSchemas = {
|
|
|
760
761
|
params: {
|
|
761
762
|
to: z20.union([
|
|
762
763
|
z20.tuple([
|
|
763
|
-
|
|
764
|
+
StepIdentityZod,
|
|
764
765
|
z20.number()
|
|
765
766
|
])
|
|
766
767
|
]),
|
|
767
768
|
from: z20.union([
|
|
768
769
|
z20.tuple([
|
|
769
|
-
|
|
770
|
+
StepIdentityZod,
|
|
770
771
|
z20.number()
|
|
771
772
|
])
|
|
772
773
|
])
|
|
@@ -780,12 +781,12 @@ var XyoViewerRpcSchemas = {
|
|
|
780
781
|
params: {
|
|
781
782
|
to: z20.union([
|
|
782
783
|
z20.tuple([
|
|
783
|
-
|
|
784
|
+
StepIdentityZod
|
|
784
785
|
])
|
|
785
786
|
]),
|
|
786
787
|
from: z20.union([
|
|
787
788
|
z20.tuple([
|
|
788
|
-
|
|
789
|
+
StepIdentityZod
|
|
789
790
|
])
|
|
790
791
|
])
|
|
791
792
|
},
|
|
@@ -798,12 +799,12 @@ var XyoViewerRpcSchemas = {
|
|
|
798
799
|
params: {
|
|
799
800
|
to: z20.union([
|
|
800
801
|
z20.tuple([
|
|
801
|
-
|
|
802
|
+
StepIdentityZod
|
|
802
803
|
])
|
|
803
804
|
]),
|
|
804
805
|
from: z20.union([
|
|
805
806
|
z20.tuple([
|
|
806
|
-
|
|
807
|
+
StepIdentityZod
|
|
807
808
|
])
|
|
808
809
|
])
|
|
809
810
|
},
|
|
@@ -816,12 +817,12 @@ var XyoViewerRpcSchemas = {
|
|
|
816
817
|
params: {
|
|
817
818
|
to: z20.union([
|
|
818
819
|
z20.tuple([
|
|
819
|
-
|
|
820
|
+
StepIdentityZod
|
|
820
821
|
])
|
|
821
822
|
]),
|
|
822
823
|
from: z20.union([
|
|
823
824
|
z20.tuple([
|
|
824
|
-
|
|
825
|
+
StepIdentityZod
|
|
825
826
|
])
|
|
826
827
|
])
|
|
827
828
|
},
|
|
@@ -834,12 +835,12 @@ var XyoViewerRpcSchemas = {
|
|
|
834
835
|
params: {
|
|
835
836
|
to: z20.union([
|
|
836
837
|
z20.tuple([
|
|
837
|
-
|
|
838
|
+
StepIdentityZod
|
|
838
839
|
])
|
|
839
840
|
]),
|
|
840
841
|
from: z20.union([
|
|
841
842
|
z20.tuple([
|
|
842
|
-
|
|
843
|
+
StepIdentityZod
|
|
843
844
|
])
|
|
844
845
|
])
|
|
845
846
|
},
|
|
@@ -852,13 +853,13 @@ var XyoViewerRpcSchemas = {
|
|
|
852
853
|
params: {
|
|
853
854
|
to: z20.union([
|
|
854
855
|
z20.tuple([
|
|
855
|
-
|
|
856
|
+
StepIdentityZod,
|
|
856
857
|
z20.number()
|
|
857
858
|
])
|
|
858
859
|
]),
|
|
859
860
|
from: z20.union([
|
|
860
861
|
z20.tuple([
|
|
861
|
-
|
|
862
|
+
StepIdentityZod,
|
|
862
863
|
z20.number()
|
|
863
864
|
])
|
|
864
865
|
])
|
|
@@ -874,6 +875,38 @@ var XyoViewerRpcSchemas = {
|
|
|
874
875
|
])
|
|
875
876
|
}
|
|
876
877
|
},
|
|
878
|
+
xyoViewer_networkStakeStepRewardForPosition: {
|
|
879
|
+
params: {
|
|
880
|
+
to: z20.union([
|
|
881
|
+
z20.tuple([
|
|
882
|
+
z20.number(),
|
|
883
|
+
z20.tuple([
|
|
884
|
+
z20.number(),
|
|
885
|
+
z20.number()
|
|
886
|
+
])
|
|
887
|
+
])
|
|
888
|
+
]),
|
|
889
|
+
from: z20.union([
|
|
890
|
+
z20.tuple([
|
|
891
|
+
z20.number(),
|
|
892
|
+
z20.tuple([
|
|
893
|
+
z20.number(),
|
|
894
|
+
z20.number()
|
|
895
|
+
])
|
|
896
|
+
])
|
|
897
|
+
])
|
|
898
|
+
},
|
|
899
|
+
result: {
|
|
900
|
+
to: z20.tuple([
|
|
901
|
+
BigIntToJsonZod3,
|
|
902
|
+
BigIntToJsonZod3
|
|
903
|
+
]),
|
|
904
|
+
from: z20.tuple([
|
|
905
|
+
JsonToBigIntZod2,
|
|
906
|
+
JsonToBigIntZod2
|
|
907
|
+
])
|
|
908
|
+
}
|
|
909
|
+
},
|
|
877
910
|
xyoViewer_accountBalance: {
|
|
878
911
|
params: {
|
|
879
912
|
to: z20.union([
|
|
@@ -1842,6 +1875,12 @@ var JsonRpcXyoViewer = class {
|
|
|
1842
1875
|
address
|
|
1843
1876
|
]);
|
|
1844
1877
|
}
|
|
1878
|
+
async networkStakeStepRewardForPosition(position, range) {
|
|
1879
|
+
return await this.transport.sendRequest("xyoViewer_networkStakeStepRewardForPosition", [
|
|
1880
|
+
position,
|
|
1881
|
+
range
|
|
1882
|
+
]);
|
|
1883
|
+
}
|
|
1845
1884
|
async networkStakeStepRewardForStep(context) {
|
|
1846
1885
|
return await this.transport.sendRequest("xyoViewer_networkStakeStepRewardForStep", [
|
|
1847
1886
|
context
|
|
@@ -2389,7 +2428,7 @@ export {
|
|
|
2389
2428
|
SignedTransactionBoundWitnessZod,
|
|
2390
2429
|
StakeToJsonZod,
|
|
2391
2430
|
StakeZod,
|
|
2392
|
-
|
|
2431
|
+
StepIdentityZod,
|
|
2393
2432
|
StorageMetaZod,
|
|
2394
2433
|
TransactionBoundWitnessZod,
|
|
2395
2434
|
TransactionFeesBigIntToJsonZod,
|