@xyo-network/xl1-rpc 2.0.7 → 2.0.9
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/index.mjs +89 -101
- package/dist/neutral/index.mjs.map +3 -3
- package/dist/neutral/provider/runner/JsonRpcMempoolRunner/JsonRpcMempoolRunnerMethods.d.ts +12 -12
- package/dist/neutral/provider/runner/JsonRpcXyoRunner.d.ts +8 -8
- package/dist/neutral/provider/signer/JsonRpcXyoSignerMethods.d.ts +22 -22
- package/dist/neutral/provider/signer/JsonRpcXyoSignerMethods.d.ts.map +1 -1
- package/dist/neutral/provider/viewer/JsonRpcAccountBalanceViewer/JsonRpcAccountBalanceViewer.d.ts +5 -5
- package/dist/neutral/provider/viewer/JsonRpcAccountBalanceViewer/JsonRpcAccountBalanceViewer.d.ts.map +1 -1
- package/dist/neutral/provider/viewer/JsonRpcAccountBalanceViewer/JsonRpcAccountBalanceViewerMethods.d.ts +70 -70
- package/dist/neutral/provider/viewer/JsonRpcAccountBalanceViewer/JsonRpcAccountBalanceViewerMethods.d.ts.map +1 -1
- package/dist/neutral/provider/viewer/JsonRpcFinalizationViewer/JsonRpcFinalizationViewerMethods.d.ts +4 -4
- package/dist/neutral/provider/viewer/JsonRpcMempoolViewer/JsonRpcMempoolViewerMethods.d.ts +12 -12
- package/dist/neutral/provider/viewer/JsonRpcNetworkStakeStepRewardsByPositionViewer/JsonRpcNetworkStakeStepRewardsByPositionViewerMethods.d.ts +20 -20
- package/dist/neutral/provider/viewer/JsonRpcNetworkStakeStepRewardsByStakerViewer/JsonRpcNetworkStakeStepRewardsByStakerViewerMethods.d.ts +40 -40
- package/dist/neutral/provider/viewer/JsonRpcNetworkStakeStepRewardsByStepViewer/JsonRpcNetworkStakeStepRewardsByStepViewerMethods.d.ts +40 -40
- package/dist/neutral/provider/viewer/JsonRpcNetworkStakeStepRewardsTotalViewer/JsonRpcNetworkStakeStepRewardsTotalViewerMethods.d.ts +20 -20
- package/dist/neutral/provider/viewer/JsonRpcStakeTotalsViewer/JsonRpcStakeTotalsViewerMethods.d.ts +21 -21
- package/dist/neutral/provider/viewer/JsonRpcStakeTotalsViewer/JsonRpcStakeTotalsViewerMethods.d.ts.map +1 -1
- package/dist/neutral/provider/viewer/JsonRpcStakeViewer/JsonRpcStakeViewerMethods.d.ts +140 -140
- package/dist/neutral/provider/viewer/JsonRpcStakeViewer/JsonRpcStakeViewerMethods.d.ts.map +1 -1
- package/dist/neutral/provider/viewer/JsonRpcTransactionViewer/JsonRpcTransactionViewer.d.ts +28 -28
- package/dist/neutral/provider/viewer/JsonRpcXyoViewer.d.ts +234 -233
- package/dist/neutral/provider/viewer/JsonRpcXyoViewer.d.ts.map +1 -1
- package/dist/neutral/types/schema/AccountBalanceViewerRpcSchemas.d.ts +66 -66
- package/dist/neutral/types/schema/AccountBalanceViewerRpcSchemas.d.ts.map +1 -1
- package/dist/neutral/types/schema/AllRpcSchemas.d.ts +658 -658
- package/dist/neutral/types/schema/FinalizationViewerRpcSchemas.d.ts +4 -4
- package/dist/neutral/types/schema/MempoolRunnerRpcSchemas.d.ts +12 -12
- package/dist/neutral/types/schema/MempoolViewerRpcSchemas.d.ts +12 -12
- package/dist/neutral/types/schema/RewardsByPositionViewerRpcSchemas.d.ts +20 -20
- package/dist/neutral/types/schema/RewardsByStakerViewerRpcSchemas.d.ts +40 -40
- package/dist/neutral/types/schema/RewardsByStakerViewerRpcSchemas.d.ts.map +1 -1
- package/dist/neutral/types/schema/RewardsByStepViewerRpcSchemas.d.ts +40 -40
- package/dist/neutral/types/schema/RewardsByStepViewerRpcSchemas.d.ts.map +1 -1
- package/dist/neutral/types/schema/RewardsTotalViewerRpcSchemas.d.ts +20 -20
- package/dist/neutral/types/schema/StakeTotalsViewerRpcSchemas.d.ts +16 -16
- package/dist/neutral/types/schema/StakeTotalsViewerRpcSchemas.d.ts.map +1 -1
- package/dist/neutral/types/schema/StakeViewerRpcSchemas.d.ts +116 -116
- package/dist/neutral/types/schema/StepViewerRpcSchemas.d.ts +24 -24
- package/dist/neutral/types/schema/TransactionViewerRpcSchema.d.ts +32 -32
- package/dist/neutral/types/schema/XyoRunnerRpcSchemas.d.ts +8 -8
- package/dist/neutral/types/schema/XyoSignerRpcSchemas.d.ts +20 -20
- package/dist/neutral/types/schema/XyoViewerRpcSchemas.d.ts +216 -216
- package/dist/node/index-node.mjs +89 -101
- package/dist/node/index-node.mjs.map +3 -3
- package/dist/node/provider/runner/JsonRpcMempoolRunner/JsonRpcMempoolRunnerMethods.d.ts +12 -12
- package/dist/node/provider/runner/JsonRpcXyoRunner.d.ts +8 -8
- package/dist/node/provider/signer/JsonRpcXyoSignerMethods.d.ts +22 -22
- package/dist/node/provider/signer/JsonRpcXyoSignerMethods.d.ts.map +1 -1
- package/dist/node/provider/viewer/JsonRpcAccountBalanceViewer/JsonRpcAccountBalanceViewer.d.ts +5 -5
- package/dist/node/provider/viewer/JsonRpcAccountBalanceViewer/JsonRpcAccountBalanceViewer.d.ts.map +1 -1
- package/dist/node/provider/viewer/JsonRpcAccountBalanceViewer/JsonRpcAccountBalanceViewerMethods.d.ts +70 -70
- package/dist/node/provider/viewer/JsonRpcAccountBalanceViewer/JsonRpcAccountBalanceViewerMethods.d.ts.map +1 -1
- package/dist/node/provider/viewer/JsonRpcFinalizationViewer/JsonRpcFinalizationViewerMethods.d.ts +4 -4
- package/dist/node/provider/viewer/JsonRpcMempoolViewer/JsonRpcMempoolViewerMethods.d.ts +12 -12
- package/dist/node/provider/viewer/JsonRpcNetworkStakeStepRewardsByPositionViewer/JsonRpcNetworkStakeStepRewardsByPositionViewerMethods.d.ts +20 -20
- package/dist/node/provider/viewer/JsonRpcNetworkStakeStepRewardsByStakerViewer/JsonRpcNetworkStakeStepRewardsByStakerViewerMethods.d.ts +40 -40
- package/dist/node/provider/viewer/JsonRpcNetworkStakeStepRewardsByStepViewer/JsonRpcNetworkStakeStepRewardsByStepViewerMethods.d.ts +40 -40
- package/dist/node/provider/viewer/JsonRpcNetworkStakeStepRewardsTotalViewer/JsonRpcNetworkStakeStepRewardsTotalViewerMethods.d.ts +20 -20
- package/dist/node/provider/viewer/JsonRpcStakeTotalsViewer/JsonRpcStakeTotalsViewerMethods.d.ts +21 -21
- package/dist/node/provider/viewer/JsonRpcStakeTotalsViewer/JsonRpcStakeTotalsViewerMethods.d.ts.map +1 -1
- package/dist/node/provider/viewer/JsonRpcStakeViewer/JsonRpcStakeViewerMethods.d.ts +140 -140
- package/dist/node/provider/viewer/JsonRpcStakeViewer/JsonRpcStakeViewerMethods.d.ts.map +1 -1
- package/dist/node/provider/viewer/JsonRpcTransactionViewer/JsonRpcTransactionViewer.d.ts +28 -28
- package/dist/node/provider/viewer/JsonRpcXyoViewer.d.ts +234 -233
- package/dist/node/provider/viewer/JsonRpcXyoViewer.d.ts.map +1 -1
- package/dist/node/types/schema/AccountBalanceViewerRpcSchemas.d.ts +66 -66
- package/dist/node/types/schema/AccountBalanceViewerRpcSchemas.d.ts.map +1 -1
- package/dist/node/types/schema/AllRpcSchemas.d.ts +658 -658
- package/dist/node/types/schema/FinalizationViewerRpcSchemas.d.ts +4 -4
- package/dist/node/types/schema/MempoolRunnerRpcSchemas.d.ts +12 -12
- package/dist/node/types/schema/MempoolViewerRpcSchemas.d.ts +12 -12
- package/dist/node/types/schema/RewardsByPositionViewerRpcSchemas.d.ts +20 -20
- package/dist/node/types/schema/RewardsByStakerViewerRpcSchemas.d.ts +40 -40
- package/dist/node/types/schema/RewardsByStakerViewerRpcSchemas.d.ts.map +1 -1
- package/dist/node/types/schema/RewardsByStepViewerRpcSchemas.d.ts +40 -40
- package/dist/node/types/schema/RewardsByStepViewerRpcSchemas.d.ts.map +1 -1
- package/dist/node/types/schema/RewardsTotalViewerRpcSchemas.d.ts +20 -20
- package/dist/node/types/schema/StakeTotalsViewerRpcSchemas.d.ts +16 -16
- package/dist/node/types/schema/StakeTotalsViewerRpcSchemas.d.ts.map +1 -1
- package/dist/node/types/schema/StakeViewerRpcSchemas.d.ts +116 -116
- package/dist/node/types/schema/StepViewerRpcSchemas.d.ts +24 -24
- package/dist/node/types/schema/TransactionViewerRpcSchema.d.ts +32 -32
- package/dist/node/types/schema/XyoRunnerRpcSchemas.d.ts +8 -8
- package/dist/node/types/schema/XyoSignerRpcSchemas.d.ts +20 -20
- package/dist/node/types/schema/XyoViewerRpcSchemas.d.ts +216 -216
- package/package.json +11 -9
package/dist/neutral/index.mjs
CHANGED
|
@@ -263,11 +263,8 @@ var NetworkStakingStepRewardsTotalViewerRpcNamespace = "networkStakingStepReward
|
|
|
263
263
|
var NetworkStakingStepRewardsViewerRpcNamespace = "networkStakingStepRewardsViewer";
|
|
264
264
|
|
|
265
265
|
// src/types/schema/AccountBalanceViewerRpcSchemas.ts
|
|
266
|
-
import {
|
|
267
|
-
|
|
268
|
-
BigIntToJsonZod,
|
|
269
|
-
JsonToBigIntZod
|
|
270
|
-
} from "@xylabs/sdk-js";
|
|
266
|
+
import { BigIntToJsonZod, JsonToBigIntZod } from "@xylabs/sdk-js";
|
|
267
|
+
import { XyoAddressZod } from "@xyo-network/address";
|
|
271
268
|
import {
|
|
272
269
|
AccountBalanceHistoryItemZod,
|
|
273
270
|
ChainQualifiedConfigZod,
|
|
@@ -277,22 +274,22 @@ import { z } from "zod";
|
|
|
277
274
|
var AccountBalanceViewerRpcSchemas = {
|
|
278
275
|
accountBalanceViewer_qualifiedAccountBalances: {
|
|
279
276
|
params: {
|
|
280
|
-
to: z.tuple([z.array(
|
|
281
|
-
from: z.tuple([z.array(
|
|
277
|
+
to: z.tuple([z.array(XyoAddressZod), ChainQualifiedConfigZod]),
|
|
278
|
+
from: z.tuple([z.array(XyoAddressZod), ChainQualifiedConfigZod])
|
|
282
279
|
},
|
|
283
280
|
result: {
|
|
284
|
-
to: ChainQualifiedZod(z.record(
|
|
285
|
-
from: ChainQualifiedZod(z.record(
|
|
281
|
+
to: ChainQualifiedZod(z.record(XyoAddressZod, BigIntToJsonZod)),
|
|
282
|
+
from: ChainQualifiedZod(z.record(XyoAddressZod, JsonToBigIntZod))
|
|
286
283
|
}
|
|
287
284
|
},
|
|
288
285
|
accountBalanceViewer_qualifiedAccountBalanceHistories: {
|
|
289
286
|
params: {
|
|
290
|
-
to: z.tuple([z.array(
|
|
291
|
-
from: z.tuple([z.array(
|
|
287
|
+
to: z.tuple([z.array(XyoAddressZod), ChainQualifiedConfigZod]),
|
|
288
|
+
from: z.tuple([z.array(XyoAddressZod), ChainQualifiedConfigZod])
|
|
292
289
|
},
|
|
293
290
|
result: {
|
|
294
|
-
to: ChainQualifiedZod(z.record(
|
|
295
|
-
from: ChainQualifiedZod(z.record(
|
|
291
|
+
to: ChainQualifiedZod(z.record(XyoAddressZod, z.array(AccountBalanceHistoryItemZod))),
|
|
292
|
+
from: ChainQualifiedZod(z.record(XyoAddressZod, z.array(AccountBalanceHistoryItemZod)))
|
|
296
293
|
}
|
|
297
294
|
}
|
|
298
295
|
};
|
|
@@ -522,11 +519,8 @@ var NetworkStakingStepRewardsByPositionViewerRpcSchemas = {
|
|
|
522
519
|
};
|
|
523
520
|
|
|
524
521
|
// src/types/schema/RewardsByStakerViewerRpcSchemas.ts
|
|
525
|
-
import {
|
|
526
|
-
|
|
527
|
-
BigIntToJsonZod as BigIntToJsonZod4,
|
|
528
|
-
JsonToBigIntZod as JsonToBigIntZod4
|
|
529
|
-
} from "@xylabs/sdk-js";
|
|
522
|
+
import { BigIntToJsonZod as BigIntToJsonZod4, JsonToBigIntZod as JsonToBigIntZod4 } from "@xylabs/sdk-js";
|
|
523
|
+
import { XyoAddressZod as XyoAddressZod2 } from "@xyo-network/address";
|
|
530
524
|
import { asAttoXL1 as asAttoXL12, RewardsRangeOptionsZod as RewardsRangeOptionsZod2 } from "@xyo-network/xl1-protocol-lib";
|
|
531
525
|
import { z as z9 } from "zod/mini";
|
|
532
526
|
var NetworkStakingStepRewardsByStakerViewerRpcSchemas = {
|
|
@@ -536,8 +530,8 @@ var NetworkStakingStepRewardsByStakerViewerRpcSchemas = {
|
|
|
536
530
|
from: z9.tuple([z9.optional(RewardsRangeOptionsZod2)])
|
|
537
531
|
},
|
|
538
532
|
result: {
|
|
539
|
-
to: z9.record(
|
|
540
|
-
from: z9.record(
|
|
533
|
+
to: z9.record(XyoAddressZod2, BigIntToJsonZod4),
|
|
534
|
+
from: z9.record(XyoAddressZod2, z9.pipe(JsonToBigIntZod4, z9.transform((val) => asAttoXL12(val))))
|
|
541
535
|
}
|
|
542
536
|
},
|
|
543
537
|
networkStakingStepRewardsByStakerViewer_claimed: {
|
|
@@ -546,8 +540,8 @@ var NetworkStakingStepRewardsByStakerViewerRpcSchemas = {
|
|
|
546
540
|
from: z9.tuple([z9.optional(RewardsRangeOptionsZod2)])
|
|
547
541
|
},
|
|
548
542
|
result: {
|
|
549
|
-
to: z9.record(
|
|
550
|
-
from: z9.record(
|
|
543
|
+
to: z9.record(XyoAddressZod2, BigIntToJsonZod4),
|
|
544
|
+
from: z9.record(XyoAddressZod2, z9.pipe(JsonToBigIntZod4, z9.transform((val) => asAttoXL12(val))))
|
|
551
545
|
}
|
|
552
546
|
},
|
|
553
547
|
networkStakingStepRewardsByStakerViewer_earned: {
|
|
@@ -556,8 +550,8 @@ var NetworkStakingStepRewardsByStakerViewerRpcSchemas = {
|
|
|
556
550
|
from: z9.tuple([z9.optional(RewardsRangeOptionsZod2)])
|
|
557
551
|
},
|
|
558
552
|
result: {
|
|
559
|
-
to: z9.record(
|
|
560
|
-
from: z9.record(
|
|
553
|
+
to: z9.record(XyoAddressZod2, BigIntToJsonZod4),
|
|
554
|
+
from: z9.record(XyoAddressZod2, z9.pipe(JsonToBigIntZod4, z9.transform((val) => asAttoXL12(val))))
|
|
561
555
|
}
|
|
562
556
|
},
|
|
563
557
|
networkStakingStepRewardsByStakerViewer_total: {
|
|
@@ -566,8 +560,8 @@ var NetworkStakingStepRewardsByStakerViewerRpcSchemas = {
|
|
|
566
560
|
from: z9.tuple([z9.optional(RewardsRangeOptionsZod2)])
|
|
567
561
|
},
|
|
568
562
|
result: {
|
|
569
|
-
to: z9.record(
|
|
570
|
-
from: z9.record(
|
|
563
|
+
to: z9.record(XyoAddressZod2, BigIntToJsonZod4),
|
|
564
|
+
from: z9.record(XyoAddressZod2, z9.pipe(JsonToBigIntZod4, z9.transform((val) => asAttoXL12(val))))
|
|
571
565
|
}
|
|
572
566
|
},
|
|
573
567
|
networkStakingStepRewardsByStakerViewer_unclaimed: {
|
|
@@ -576,18 +570,15 @@ var NetworkStakingStepRewardsByStakerViewerRpcSchemas = {
|
|
|
576
570
|
from: z9.tuple([z9.optional(RewardsRangeOptionsZod2)])
|
|
577
571
|
},
|
|
578
572
|
result: {
|
|
579
|
-
to: z9.record(
|
|
580
|
-
from: z9.record(
|
|
573
|
+
to: z9.record(XyoAddressZod2, BigIntToJsonZod4),
|
|
574
|
+
from: z9.record(XyoAddressZod2, z9.pipe(JsonToBigIntZod4, z9.transform((val) => asAttoXL12(val))))
|
|
581
575
|
}
|
|
582
576
|
}
|
|
583
577
|
};
|
|
584
578
|
|
|
585
579
|
// src/types/schema/RewardsByStepViewerRpcSchemas.ts
|
|
586
|
-
import {
|
|
587
|
-
|
|
588
|
-
BigIntToJsonZod as BigIntToJsonZod5,
|
|
589
|
-
JsonToBigIntZod as JsonToBigIntZod5
|
|
590
|
-
} from "@xylabs/sdk-js";
|
|
580
|
+
import { BigIntToJsonZod as BigIntToJsonZod5, JsonToBigIntZod as JsonToBigIntZod5 } from "@xylabs/sdk-js";
|
|
581
|
+
import { XyoAddressZod as XyoAddressZod3 } from "@xyo-network/address";
|
|
591
582
|
import { asAttoXL1 as asAttoXL13, RewardsRangeOptionsZod as RewardsRangeOptionsZod3 } from "@xyo-network/xl1-protocol-lib";
|
|
592
583
|
import { z as z10 } from "zod/mini";
|
|
593
584
|
var NetworkStakingStepRewardsByStepViewerRpcSchemas = {
|
|
@@ -597,8 +588,8 @@ var NetworkStakingStepRewardsByStepViewerRpcSchemas = {
|
|
|
597
588
|
from: z10.tuple([z10.optional(RewardsRangeOptionsZod3)])
|
|
598
589
|
},
|
|
599
590
|
result: {
|
|
600
|
-
to: z10.record(
|
|
601
|
-
from: z10.record(
|
|
591
|
+
to: z10.record(XyoAddressZod3, BigIntToJsonZod5),
|
|
592
|
+
from: z10.record(XyoAddressZod3, z10.pipe(JsonToBigIntZod5, z10.transform((val) => asAttoXL13(val))))
|
|
602
593
|
}
|
|
603
594
|
},
|
|
604
595
|
networkStakingStepRewardsByStepViewer_claimed: {
|
|
@@ -607,8 +598,8 @@ var NetworkStakingStepRewardsByStepViewerRpcSchemas = {
|
|
|
607
598
|
from: z10.tuple([z10.optional(RewardsRangeOptionsZod3)])
|
|
608
599
|
},
|
|
609
600
|
result: {
|
|
610
|
-
to: z10.record(
|
|
611
|
-
from: z10.record(
|
|
601
|
+
to: z10.record(XyoAddressZod3, BigIntToJsonZod5),
|
|
602
|
+
from: z10.record(XyoAddressZod3, z10.pipe(JsonToBigIntZod5, z10.transform((val) => asAttoXL13(val))))
|
|
612
603
|
}
|
|
613
604
|
},
|
|
614
605
|
networkStakingStepRewardsByStepViewer_earned: {
|
|
@@ -617,8 +608,8 @@ var NetworkStakingStepRewardsByStepViewerRpcSchemas = {
|
|
|
617
608
|
from: z10.tuple([z10.optional(RewardsRangeOptionsZod3)])
|
|
618
609
|
},
|
|
619
610
|
result: {
|
|
620
|
-
to: z10.record(
|
|
621
|
-
from: z10.record(
|
|
611
|
+
to: z10.record(XyoAddressZod3, BigIntToJsonZod5),
|
|
612
|
+
from: z10.record(XyoAddressZod3, z10.pipe(JsonToBigIntZod5, z10.transform((val) => asAttoXL13(val))))
|
|
622
613
|
}
|
|
623
614
|
},
|
|
624
615
|
networkStakingStepRewardsByStepViewer_total: {
|
|
@@ -627,8 +618,8 @@ var NetworkStakingStepRewardsByStepViewerRpcSchemas = {
|
|
|
627
618
|
from: z10.tuple([z10.optional(RewardsRangeOptionsZod3)])
|
|
628
619
|
},
|
|
629
620
|
result: {
|
|
630
|
-
to: z10.record(
|
|
631
|
-
from: z10.record(
|
|
621
|
+
to: z10.record(XyoAddressZod3, BigIntToJsonZod5),
|
|
622
|
+
from: z10.record(XyoAddressZod3, z10.pipe(JsonToBigIntZod5, z10.transform((val) => asAttoXL13(val))))
|
|
632
623
|
}
|
|
633
624
|
},
|
|
634
625
|
networkStakingStepRewardsByStepViewer_unclaimed: {
|
|
@@ -637,8 +628,8 @@ var NetworkStakingStepRewardsByStepViewerRpcSchemas = {
|
|
|
637
628
|
from: z10.tuple([z10.optional(RewardsRangeOptionsZod3)])
|
|
638
629
|
},
|
|
639
630
|
result: {
|
|
640
|
-
to: z10.record(
|
|
641
|
-
from: z10.record(
|
|
631
|
+
to: z10.record(XyoAddressZod3, BigIntToJsonZod5),
|
|
632
|
+
from: z10.record(XyoAddressZod3, z10.pipe(JsonToBigIntZod5, z10.transform((val) => asAttoXL13(val))))
|
|
642
633
|
}
|
|
643
634
|
}
|
|
644
635
|
};
|
|
@@ -701,11 +692,8 @@ var NetworkStakingStepRewardsTotalViewerRpcSchemas = {
|
|
|
701
692
|
};
|
|
702
693
|
|
|
703
694
|
// src/types/schema/StakeTotalsViewerRpcSchemas.ts
|
|
704
|
-
import {
|
|
705
|
-
|
|
706
|
-
BigIntToJsonZod as BigIntToJsonZod7,
|
|
707
|
-
JsonToBigIntZod as JsonToBigIntZod7
|
|
708
|
-
} from "@xylabs/sdk-js";
|
|
695
|
+
import { BigIntToJsonZod as BigIntToJsonZod7, JsonToBigIntZod as JsonToBigIntZod7 } from "@xylabs/sdk-js";
|
|
696
|
+
import { XyoAddressZod as XyoAddressZod4 } from "@xyo-network/address";
|
|
709
697
|
import { asAttoXL1 as asAttoXL15 } from "@xyo-network/xl1-protocol-lib";
|
|
710
698
|
import { z as z12 } from "zod/mini";
|
|
711
699
|
var StakeTotalsViewerRpcSchemas = {
|
|
@@ -721,8 +709,8 @@ var StakeTotalsViewerRpcSchemas = {
|
|
|
721
709
|
},
|
|
722
710
|
stakeTotalsViewer_activeByStaked: {
|
|
723
711
|
params: {
|
|
724
|
-
to: z12.tuple([
|
|
725
|
-
from: z12.tuple([
|
|
712
|
+
to: z12.tuple([XyoAddressZod4, z12.optional(z12.number())]),
|
|
713
|
+
from: z12.tuple([XyoAddressZod4, z12.optional(z12.number())])
|
|
726
714
|
},
|
|
727
715
|
result: {
|
|
728
716
|
to: BigIntToJsonZod7,
|
|
@@ -731,8 +719,8 @@ var StakeTotalsViewerRpcSchemas = {
|
|
|
731
719
|
},
|
|
732
720
|
stakeTotalsViewer_activeByStaker: {
|
|
733
721
|
params: {
|
|
734
|
-
to: z12.tuple([
|
|
735
|
-
from: z12.tuple([
|
|
722
|
+
to: z12.tuple([XyoAddressZod4, z12.optional(z12.number())]),
|
|
723
|
+
from: z12.tuple([XyoAddressZod4, z12.optional(z12.number())])
|
|
736
724
|
},
|
|
737
725
|
result: {
|
|
738
726
|
to: BigIntToJsonZod7,
|
|
@@ -751,8 +739,8 @@ var StakeTotalsViewerRpcSchemas = {
|
|
|
751
739
|
},
|
|
752
740
|
stakeTotalsViewer_pendingByStaker: {
|
|
753
741
|
params: {
|
|
754
|
-
to: z12.tuple([
|
|
755
|
-
from: z12.tuple([
|
|
742
|
+
to: z12.tuple([XyoAddressZod4, z12.optional(z12.number())]),
|
|
743
|
+
from: z12.tuple([XyoAddressZod4, z12.optional(z12.number())])
|
|
756
744
|
},
|
|
757
745
|
result: {
|
|
758
746
|
to: BigIntToJsonZod7,
|
|
@@ -771,8 +759,8 @@ var StakeTotalsViewerRpcSchemas = {
|
|
|
771
759
|
},
|
|
772
760
|
stakeTotalsViewer_withdrawnByStaker: {
|
|
773
761
|
params: {
|
|
774
|
-
to: z12.tuple([
|
|
775
|
-
from: z12.tuple([
|
|
762
|
+
to: z12.tuple([XyoAddressZod4, z12.optional(z12.number())]),
|
|
763
|
+
from: z12.tuple([XyoAddressZod4, z12.optional(z12.number())])
|
|
776
764
|
},
|
|
777
765
|
result: {
|
|
778
766
|
to: BigIntToJsonZod7,
|
|
@@ -782,7 +770,7 @@ var StakeTotalsViewerRpcSchemas = {
|
|
|
782
770
|
};
|
|
783
771
|
|
|
784
772
|
// src/types/schema/StakeViewerRpcSchemas.ts
|
|
785
|
-
import {
|
|
773
|
+
import { XyoAddressZod as XyoAddressZod5 } from "@xyo-network/address";
|
|
786
774
|
import { JsonToStakeZod, StakeToJsonZod } from "@xyo-network/xl1-protocol-lib";
|
|
787
775
|
import { z as z14 } from "zod";
|
|
788
776
|
|
|
@@ -808,8 +796,8 @@ var StakeViewerRpcSchemas = {
|
|
|
808
796
|
from: NoArgsZod
|
|
809
797
|
},
|
|
810
798
|
result: {
|
|
811
|
-
to:
|
|
812
|
-
from:
|
|
799
|
+
to: XyoAddressZod5,
|
|
800
|
+
from: XyoAddressZod5
|
|
813
801
|
}
|
|
814
802
|
},
|
|
815
803
|
stakeViewer_stakeById: {
|
|
@@ -824,8 +812,8 @@ var StakeViewerRpcSchemas = {
|
|
|
824
812
|
},
|
|
825
813
|
stakeViewer_stakeByStaker: {
|
|
826
814
|
params: {
|
|
827
|
-
to: z14.tuple([
|
|
828
|
-
from: z14.tuple([
|
|
815
|
+
to: z14.tuple([XyoAddressZod5, z14.number()]),
|
|
816
|
+
from: z14.tuple([XyoAddressZod5, z14.number()])
|
|
829
817
|
},
|
|
830
818
|
result: {
|
|
831
819
|
to: StakeToJsonZod,
|
|
@@ -834,8 +822,8 @@ var StakeViewerRpcSchemas = {
|
|
|
834
822
|
},
|
|
835
823
|
stakeViewer_stakesByStaker: {
|
|
836
824
|
params: {
|
|
837
|
-
to: z14.tuple([
|
|
838
|
-
from: z14.tuple([
|
|
825
|
+
to: z14.tuple([XyoAddressZod5]),
|
|
826
|
+
from: z14.tuple([XyoAddressZod5])
|
|
839
827
|
},
|
|
840
828
|
result: {
|
|
841
829
|
to: z14.array(StakeToJsonZod),
|
|
@@ -844,8 +832,8 @@ var StakeViewerRpcSchemas = {
|
|
|
844
832
|
},
|
|
845
833
|
stakeViewer_stakesByStaked: {
|
|
846
834
|
params: {
|
|
847
|
-
to: z14.tuple([
|
|
848
|
-
from: z14.tuple([
|
|
835
|
+
to: z14.tuple([XyoAddressZod5]),
|
|
836
|
+
from: z14.tuple([XyoAddressZod5])
|
|
849
837
|
},
|
|
850
838
|
result: {
|
|
851
839
|
to: z14.array(StakeToJsonZod),
|
|
@@ -858,8 +846,8 @@ var StakeViewerRpcSchemas = {
|
|
|
858
846
|
from: NoArgsZod
|
|
859
847
|
},
|
|
860
848
|
result: {
|
|
861
|
-
to:
|
|
862
|
-
from:
|
|
849
|
+
to: XyoAddressZod5,
|
|
850
|
+
from: XyoAddressZod5
|
|
863
851
|
}
|
|
864
852
|
}
|
|
865
853
|
};
|
|
@@ -1102,7 +1090,7 @@ var XyoRunnerRpcSchemas = {
|
|
|
1102
1090
|
};
|
|
1103
1091
|
|
|
1104
1092
|
// src/types/schema/XyoSignerRpcSchemas.ts
|
|
1105
|
-
import {
|
|
1093
|
+
import { XyoAddressZod as XyoAddressZod6 } from "@xyo-network/address";
|
|
1106
1094
|
import { SignedHydratedTransactionWithHashMetaZod as SignedHydratedTransactionWithHashMetaZod3, UnsignedHydratedTransactionZod } from "@xyo-network/xl1-protocol-lib";
|
|
1107
1095
|
import { z as z20 } from "zod";
|
|
1108
1096
|
var XyoSignerRpcSchemas = {
|
|
@@ -1112,8 +1100,8 @@ var XyoSignerRpcSchemas = {
|
|
|
1112
1100
|
from: z20.tuple([]).default([])
|
|
1113
1101
|
},
|
|
1114
1102
|
result: {
|
|
1115
|
-
to:
|
|
1116
|
-
from:
|
|
1103
|
+
to: XyoAddressZod6,
|
|
1104
|
+
from: XyoAddressZod6
|
|
1117
1105
|
}
|
|
1118
1106
|
},
|
|
1119
1107
|
xyoSigner_signTransaction: {
|
|
@@ -1130,12 +1118,12 @@ var XyoSignerRpcSchemas = {
|
|
|
1130
1118
|
|
|
1131
1119
|
// src/types/schema/XyoViewerRpcSchemas.ts
|
|
1132
1120
|
import {
|
|
1133
|
-
AddressZod as AddressZod7,
|
|
1134
1121
|
BigIntToJsonZod as BigIntToJsonZod9,
|
|
1135
1122
|
HashZod as HashZod5,
|
|
1136
1123
|
HexZod,
|
|
1137
1124
|
JsonToBigIntZod as JsonToBigIntZod9
|
|
1138
1125
|
} from "@xylabs/sdk-js";
|
|
1126
|
+
import { XyoAddressZod as XyoAddressZod7 } from "@xyo-network/address";
|
|
1139
1127
|
import { PayloadZodLoose } from "@xyo-network/sdk-js";
|
|
1140
1128
|
import {
|
|
1141
1129
|
AccountBalanceHistoryItemZod as AccountBalanceHistoryItemZod2,
|
|
@@ -1152,8 +1140,8 @@ import { z as z21 } from "zod/mini";
|
|
|
1152
1140
|
var XyoViewerRpcSchemas = {
|
|
1153
1141
|
xyoViewer_networkStakeStepRewardClaimedByAddress: {
|
|
1154
1142
|
params: {
|
|
1155
|
-
to: z21.tuple([
|
|
1156
|
-
from: z21.tuple([
|
|
1143
|
+
to: z21.tuple([XyoAddressZod7]),
|
|
1144
|
+
from: z21.tuple([XyoAddressZod7])
|
|
1157
1145
|
},
|
|
1158
1146
|
result: {
|
|
1159
1147
|
to: BigIntToJsonZod9,
|
|
@@ -1162,28 +1150,28 @@ var XyoViewerRpcSchemas = {
|
|
|
1162
1150
|
},
|
|
1163
1151
|
xyoViewer_networkStakeStepRewardAddressReward: {
|
|
1164
1152
|
params: {
|
|
1165
|
-
to: z21.tuple([StepIdentityZod2,
|
|
1166
|
-
from: z21.tuple([StepIdentityZod2,
|
|
1153
|
+
to: z21.tuple([StepIdentityZod2, XyoAddressZod7]),
|
|
1154
|
+
from: z21.tuple([StepIdentityZod2, XyoAddressZod7])
|
|
1167
1155
|
},
|
|
1168
1156
|
result: {
|
|
1169
|
-
to: z21.record(
|
|
1170
|
-
from: z21.record(
|
|
1157
|
+
to: z21.record(XyoAddressZod7, BigIntToJsonZod9),
|
|
1158
|
+
from: z21.record(XyoAddressZod7, z21.pipe(JsonToBigIntZod9, z21.transform((val) => asAttoXL16(val))))
|
|
1171
1159
|
}
|
|
1172
1160
|
},
|
|
1173
1161
|
xyoViewer_networkStakeStepRewardAddressHistory: {
|
|
1174
1162
|
params: {
|
|
1175
|
-
to: z21.tuple([
|
|
1176
|
-
from: z21.tuple([
|
|
1163
|
+
to: z21.tuple([XyoAddressZod7]),
|
|
1164
|
+
from: z21.tuple([XyoAddressZod7])
|
|
1177
1165
|
},
|
|
1178
1166
|
result: {
|
|
1179
|
-
to: z21.record(
|
|
1180
|
-
from: z21.record(
|
|
1167
|
+
to: z21.record(XyoAddressZod7, BigIntToJsonZod9),
|
|
1168
|
+
from: z21.record(XyoAddressZod7, z21.pipe(JsonToBigIntZod9, z21.transform((val) => asAttoXL16(val))))
|
|
1181
1169
|
}
|
|
1182
1170
|
},
|
|
1183
1171
|
xyoViewer_networkStakeStepRewardAddressShare: {
|
|
1184
1172
|
params: {
|
|
1185
|
-
to: z21.tuple([StepIdentityZod2,
|
|
1186
|
-
from: z21.tuple([StepIdentityZod2,
|
|
1173
|
+
to: z21.tuple([StepIdentityZod2, XyoAddressZod7]),
|
|
1174
|
+
from: z21.tuple([StepIdentityZod2, XyoAddressZod7])
|
|
1187
1175
|
},
|
|
1188
1176
|
result: {
|
|
1189
1177
|
to: z21.tuple([BigIntToJsonZod9, BigIntToJsonZod9]),
|
|
@@ -1192,8 +1180,8 @@ var XyoViewerRpcSchemas = {
|
|
|
1192
1180
|
},
|
|
1193
1181
|
xyoViewer_networkStakeStepRewardWeightForAddress: {
|
|
1194
1182
|
params: {
|
|
1195
|
-
to: z21.tuple([StepIdentityZod2,
|
|
1196
|
-
from: z21.tuple([StepIdentityZod2,
|
|
1183
|
+
to: z21.tuple([StepIdentityZod2, XyoAddressZod7]),
|
|
1184
|
+
from: z21.tuple([StepIdentityZod2, XyoAddressZod7])
|
|
1197
1185
|
},
|
|
1198
1186
|
result: {
|
|
1199
1187
|
to: BigIntToJsonZod9,
|
|
@@ -1202,8 +1190,8 @@ var XyoViewerRpcSchemas = {
|
|
|
1202
1190
|
},
|
|
1203
1191
|
xyoViewer_networkStakeStepRewardUnclaimedByAddress: {
|
|
1204
1192
|
params: {
|
|
1205
|
-
to: z21.tuple([
|
|
1206
|
-
from: z21.tuple([
|
|
1193
|
+
to: z21.tuple([XyoAddressZod7]),
|
|
1194
|
+
from: z21.tuple([XyoAddressZod7])
|
|
1207
1195
|
},
|
|
1208
1196
|
result: {
|
|
1209
1197
|
to: BigIntToJsonZod9,
|
|
@@ -1216,8 +1204,8 @@ var XyoViewerRpcSchemas = {
|
|
|
1216
1204
|
from: z21.tuple([StepIdentityZod2])
|
|
1217
1205
|
},
|
|
1218
1206
|
result: {
|
|
1219
|
-
to: z21.record(
|
|
1220
|
-
from: z21.record(
|
|
1207
|
+
to: z21.record(XyoAddressZod7, BigIntToJsonZod9),
|
|
1208
|
+
from: z21.record(XyoAddressZod7, z21.pipe(JsonToBigIntZod9, z21.transform((val) => asAttoXL16(val))))
|
|
1221
1209
|
}
|
|
1222
1210
|
},
|
|
1223
1211
|
xyoViewer_networkStakeStepRewardPositionWeight: {
|
|
@@ -1276,8 +1264,8 @@ var XyoViewerRpcSchemas = {
|
|
|
1276
1264
|
from: z21.tuple([StepIdentityZod2])
|
|
1277
1265
|
},
|
|
1278
1266
|
result: {
|
|
1279
|
-
to: z21.record(
|
|
1280
|
-
from: z21.record(
|
|
1267
|
+
to: z21.record(XyoAddressZod7, BigIntToJsonZod9),
|
|
1268
|
+
from: z21.record(XyoAddressZod7, JsonToBigIntZod9)
|
|
1281
1269
|
}
|
|
1282
1270
|
},
|
|
1283
1271
|
xyoViewer_networkStakeStepRewardForStepForPosition: {
|
|
@@ -1332,8 +1320,8 @@ var XyoViewerRpcSchemas = {
|
|
|
1332
1320
|
},
|
|
1333
1321
|
xyoViewer_accountBalance: {
|
|
1334
1322
|
params: {
|
|
1335
|
-
to: z21.union([z21.tuple([
|
|
1336
|
-
from: z21.union([z21.tuple([
|
|
1323
|
+
to: z21.union([z21.tuple([XyoAddressZod7]), z21.tuple([XyoAddressZod7, z21.union([XL1BlockRangeZod, HashZod5])])]),
|
|
1324
|
+
from: z21.union([z21.tuple([XyoAddressZod7]), z21.tuple([XyoAddressZod7, z21.union([XL1BlockRangeZod, HashZod5])])])
|
|
1337
1325
|
},
|
|
1338
1326
|
result: {
|
|
1339
1327
|
to: BigIntToJsonZod9,
|
|
@@ -1342,8 +1330,8 @@ var XyoViewerRpcSchemas = {
|
|
|
1342
1330
|
},
|
|
1343
1331
|
xyoViewer_accountBalanceHistory: {
|
|
1344
1332
|
params: {
|
|
1345
|
-
to: z21.union([z21.tuple([
|
|
1346
|
-
from: z21.union([z21.tuple([
|
|
1333
|
+
to: z21.union([z21.tuple([XyoAddressZod7]), z21.tuple([XyoAddressZod7, z21.union([XL1BlockRangeZod, HashZod5])])]),
|
|
1334
|
+
from: z21.union([z21.tuple([XyoAddressZod7]), z21.tuple([XyoAddressZod7, z21.union([XL1BlockRangeZod, HashZod5])])])
|
|
1347
1335
|
},
|
|
1348
1336
|
result: {
|
|
1349
1337
|
to: z21.array(AccountBalanceHistoryItemZod2),
|
|
@@ -1392,8 +1380,8 @@ var XyoViewerRpcSchemas = {
|
|
|
1392
1380
|
},
|
|
1393
1381
|
xyoViewer_stakeByStaker: {
|
|
1394
1382
|
params: {
|
|
1395
|
-
to: z21.tuple([
|
|
1396
|
-
from: z21.tuple([
|
|
1383
|
+
to: z21.tuple([XyoAddressZod7, z21.number()]),
|
|
1384
|
+
from: z21.tuple([XyoAddressZod7, z21.number()])
|
|
1397
1385
|
},
|
|
1398
1386
|
result: {
|
|
1399
1387
|
to: StakeToJsonZod3,
|
|
@@ -1412,8 +1400,8 @@ var XyoViewerRpcSchemas = {
|
|
|
1412
1400
|
},
|
|
1413
1401
|
xyoViewer_stakesByStaker: {
|
|
1414
1402
|
params: {
|
|
1415
|
-
to: z21.tuple([
|
|
1416
|
-
from: z21.tuple([
|
|
1403
|
+
to: z21.tuple([XyoAddressZod7]),
|
|
1404
|
+
from: z21.tuple([XyoAddressZod7])
|
|
1417
1405
|
},
|
|
1418
1406
|
result: {
|
|
1419
1407
|
to: z21.array(StakeToJsonZod3),
|
|
@@ -1422,8 +1410,8 @@ var XyoViewerRpcSchemas = {
|
|
|
1422
1410
|
},
|
|
1423
1411
|
xyoViewer_stakesByStaked: {
|
|
1424
1412
|
params: {
|
|
1425
|
-
to: z21.tuple([
|
|
1426
|
-
from: z21.tuple([
|
|
1413
|
+
to: z21.tuple([XyoAddressZod7]),
|
|
1414
|
+
from: z21.tuple([XyoAddressZod7])
|
|
1427
1415
|
},
|
|
1428
1416
|
result: {
|
|
1429
1417
|
to: z21.array(StakeToJsonZod3),
|