@xyo-network/xl1-rpc 2.0.8 → 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/node/index-node.mjs
CHANGED
|
@@ -259,11 +259,8 @@ var NetworkStakingStepRewardsTotalViewerRpcNamespace = "networkStakingStepReward
|
|
|
259
259
|
var NetworkStakingStepRewardsViewerRpcNamespace = "networkStakingStepRewardsViewer";
|
|
260
260
|
|
|
261
261
|
// src/types/schema/AccountBalanceViewerRpcSchemas.ts
|
|
262
|
-
import {
|
|
263
|
-
|
|
264
|
-
BigIntToJsonZod,
|
|
265
|
-
JsonToBigIntZod
|
|
266
|
-
} from "@xylabs/sdk-js";
|
|
262
|
+
import { BigIntToJsonZod, JsonToBigIntZod } from "@xylabs/sdk-js";
|
|
263
|
+
import { XyoAddressZod } from "@xyo-network/address";
|
|
267
264
|
import {
|
|
268
265
|
AccountBalanceHistoryItemZod,
|
|
269
266
|
ChainQualifiedConfigZod,
|
|
@@ -273,22 +270,22 @@ import { z } from "zod";
|
|
|
273
270
|
var AccountBalanceViewerRpcSchemas = {
|
|
274
271
|
accountBalanceViewer_qualifiedAccountBalances: {
|
|
275
272
|
params: {
|
|
276
|
-
to: z.tuple([z.array(
|
|
277
|
-
from: z.tuple([z.array(
|
|
273
|
+
to: z.tuple([z.array(XyoAddressZod), ChainQualifiedConfigZod]),
|
|
274
|
+
from: z.tuple([z.array(XyoAddressZod), ChainQualifiedConfigZod])
|
|
278
275
|
},
|
|
279
276
|
result: {
|
|
280
|
-
to: ChainQualifiedZod(z.record(
|
|
281
|
-
from: ChainQualifiedZod(z.record(
|
|
277
|
+
to: ChainQualifiedZod(z.record(XyoAddressZod, BigIntToJsonZod)),
|
|
278
|
+
from: ChainQualifiedZod(z.record(XyoAddressZod, JsonToBigIntZod))
|
|
282
279
|
}
|
|
283
280
|
},
|
|
284
281
|
accountBalanceViewer_qualifiedAccountBalanceHistories: {
|
|
285
282
|
params: {
|
|
286
|
-
to: z.tuple([z.array(
|
|
287
|
-
from: z.tuple([z.array(
|
|
283
|
+
to: z.tuple([z.array(XyoAddressZod), ChainQualifiedConfigZod]),
|
|
284
|
+
from: z.tuple([z.array(XyoAddressZod), ChainQualifiedConfigZod])
|
|
288
285
|
},
|
|
289
286
|
result: {
|
|
290
|
-
to: ChainQualifiedZod(z.record(
|
|
291
|
-
from: ChainQualifiedZod(z.record(
|
|
287
|
+
to: ChainQualifiedZod(z.record(XyoAddressZod, z.array(AccountBalanceHistoryItemZod))),
|
|
288
|
+
from: ChainQualifiedZod(z.record(XyoAddressZod, z.array(AccountBalanceHistoryItemZod)))
|
|
292
289
|
}
|
|
293
290
|
}
|
|
294
291
|
};
|
|
@@ -518,11 +515,8 @@ var NetworkStakingStepRewardsByPositionViewerRpcSchemas = {
|
|
|
518
515
|
};
|
|
519
516
|
|
|
520
517
|
// src/types/schema/RewardsByStakerViewerRpcSchemas.ts
|
|
521
|
-
import {
|
|
522
|
-
|
|
523
|
-
BigIntToJsonZod as BigIntToJsonZod4,
|
|
524
|
-
JsonToBigIntZod as JsonToBigIntZod4
|
|
525
|
-
} from "@xylabs/sdk-js";
|
|
518
|
+
import { BigIntToJsonZod as BigIntToJsonZod4, JsonToBigIntZod as JsonToBigIntZod4 } from "@xylabs/sdk-js";
|
|
519
|
+
import { XyoAddressZod as XyoAddressZod2 } from "@xyo-network/address";
|
|
526
520
|
import { asAttoXL1 as asAttoXL12, RewardsRangeOptionsZod as RewardsRangeOptionsZod2 } from "@xyo-network/xl1-protocol-lib";
|
|
527
521
|
import { z as z9 } from "zod/mini";
|
|
528
522
|
var NetworkStakingStepRewardsByStakerViewerRpcSchemas = {
|
|
@@ -532,8 +526,8 @@ var NetworkStakingStepRewardsByStakerViewerRpcSchemas = {
|
|
|
532
526
|
from: z9.tuple([z9.optional(RewardsRangeOptionsZod2)])
|
|
533
527
|
},
|
|
534
528
|
result: {
|
|
535
|
-
to: z9.record(
|
|
536
|
-
from: z9.record(
|
|
529
|
+
to: z9.record(XyoAddressZod2, BigIntToJsonZod4),
|
|
530
|
+
from: z9.record(XyoAddressZod2, z9.pipe(JsonToBigIntZod4, z9.transform((val) => asAttoXL12(val))))
|
|
537
531
|
}
|
|
538
532
|
},
|
|
539
533
|
networkStakingStepRewardsByStakerViewer_claimed: {
|
|
@@ -542,8 +536,8 @@ var NetworkStakingStepRewardsByStakerViewerRpcSchemas = {
|
|
|
542
536
|
from: z9.tuple([z9.optional(RewardsRangeOptionsZod2)])
|
|
543
537
|
},
|
|
544
538
|
result: {
|
|
545
|
-
to: z9.record(
|
|
546
|
-
from: z9.record(
|
|
539
|
+
to: z9.record(XyoAddressZod2, BigIntToJsonZod4),
|
|
540
|
+
from: z9.record(XyoAddressZod2, z9.pipe(JsonToBigIntZod4, z9.transform((val) => asAttoXL12(val))))
|
|
547
541
|
}
|
|
548
542
|
},
|
|
549
543
|
networkStakingStepRewardsByStakerViewer_earned: {
|
|
@@ -552,8 +546,8 @@ var NetworkStakingStepRewardsByStakerViewerRpcSchemas = {
|
|
|
552
546
|
from: z9.tuple([z9.optional(RewardsRangeOptionsZod2)])
|
|
553
547
|
},
|
|
554
548
|
result: {
|
|
555
|
-
to: z9.record(
|
|
556
|
-
from: z9.record(
|
|
549
|
+
to: z9.record(XyoAddressZod2, BigIntToJsonZod4),
|
|
550
|
+
from: z9.record(XyoAddressZod2, z9.pipe(JsonToBigIntZod4, z9.transform((val) => asAttoXL12(val))))
|
|
557
551
|
}
|
|
558
552
|
},
|
|
559
553
|
networkStakingStepRewardsByStakerViewer_total: {
|
|
@@ -562,8 +556,8 @@ var NetworkStakingStepRewardsByStakerViewerRpcSchemas = {
|
|
|
562
556
|
from: z9.tuple([z9.optional(RewardsRangeOptionsZod2)])
|
|
563
557
|
},
|
|
564
558
|
result: {
|
|
565
|
-
to: z9.record(
|
|
566
|
-
from: z9.record(
|
|
559
|
+
to: z9.record(XyoAddressZod2, BigIntToJsonZod4),
|
|
560
|
+
from: z9.record(XyoAddressZod2, z9.pipe(JsonToBigIntZod4, z9.transform((val) => asAttoXL12(val))))
|
|
567
561
|
}
|
|
568
562
|
},
|
|
569
563
|
networkStakingStepRewardsByStakerViewer_unclaimed: {
|
|
@@ -572,18 +566,15 @@ var NetworkStakingStepRewardsByStakerViewerRpcSchemas = {
|
|
|
572
566
|
from: z9.tuple([z9.optional(RewardsRangeOptionsZod2)])
|
|
573
567
|
},
|
|
574
568
|
result: {
|
|
575
|
-
to: z9.record(
|
|
576
|
-
from: z9.record(
|
|
569
|
+
to: z9.record(XyoAddressZod2, BigIntToJsonZod4),
|
|
570
|
+
from: z9.record(XyoAddressZod2, z9.pipe(JsonToBigIntZod4, z9.transform((val) => asAttoXL12(val))))
|
|
577
571
|
}
|
|
578
572
|
}
|
|
579
573
|
};
|
|
580
574
|
|
|
581
575
|
// src/types/schema/RewardsByStepViewerRpcSchemas.ts
|
|
582
|
-
import {
|
|
583
|
-
|
|
584
|
-
BigIntToJsonZod as BigIntToJsonZod5,
|
|
585
|
-
JsonToBigIntZod as JsonToBigIntZod5
|
|
586
|
-
} from "@xylabs/sdk-js";
|
|
576
|
+
import { BigIntToJsonZod as BigIntToJsonZod5, JsonToBigIntZod as JsonToBigIntZod5 } from "@xylabs/sdk-js";
|
|
577
|
+
import { XyoAddressZod as XyoAddressZod3 } from "@xyo-network/address";
|
|
587
578
|
import { asAttoXL1 as asAttoXL13, RewardsRangeOptionsZod as RewardsRangeOptionsZod3 } from "@xyo-network/xl1-protocol-lib";
|
|
588
579
|
import { z as z10 } from "zod/mini";
|
|
589
580
|
var NetworkStakingStepRewardsByStepViewerRpcSchemas = {
|
|
@@ -593,8 +584,8 @@ var NetworkStakingStepRewardsByStepViewerRpcSchemas = {
|
|
|
593
584
|
from: z10.tuple([z10.optional(RewardsRangeOptionsZod3)])
|
|
594
585
|
},
|
|
595
586
|
result: {
|
|
596
|
-
to: z10.record(
|
|
597
|
-
from: z10.record(
|
|
587
|
+
to: z10.record(XyoAddressZod3, BigIntToJsonZod5),
|
|
588
|
+
from: z10.record(XyoAddressZod3, z10.pipe(JsonToBigIntZod5, z10.transform((val) => asAttoXL13(val))))
|
|
598
589
|
}
|
|
599
590
|
},
|
|
600
591
|
networkStakingStepRewardsByStepViewer_claimed: {
|
|
@@ -603,8 +594,8 @@ var NetworkStakingStepRewardsByStepViewerRpcSchemas = {
|
|
|
603
594
|
from: z10.tuple([z10.optional(RewardsRangeOptionsZod3)])
|
|
604
595
|
},
|
|
605
596
|
result: {
|
|
606
|
-
to: z10.record(
|
|
607
|
-
from: z10.record(
|
|
597
|
+
to: z10.record(XyoAddressZod3, BigIntToJsonZod5),
|
|
598
|
+
from: z10.record(XyoAddressZod3, z10.pipe(JsonToBigIntZod5, z10.transform((val) => asAttoXL13(val))))
|
|
608
599
|
}
|
|
609
600
|
},
|
|
610
601
|
networkStakingStepRewardsByStepViewer_earned: {
|
|
@@ -613,8 +604,8 @@ var NetworkStakingStepRewardsByStepViewerRpcSchemas = {
|
|
|
613
604
|
from: z10.tuple([z10.optional(RewardsRangeOptionsZod3)])
|
|
614
605
|
},
|
|
615
606
|
result: {
|
|
616
|
-
to: z10.record(
|
|
617
|
-
from: z10.record(
|
|
607
|
+
to: z10.record(XyoAddressZod3, BigIntToJsonZod5),
|
|
608
|
+
from: z10.record(XyoAddressZod3, z10.pipe(JsonToBigIntZod5, z10.transform((val) => asAttoXL13(val))))
|
|
618
609
|
}
|
|
619
610
|
},
|
|
620
611
|
networkStakingStepRewardsByStepViewer_total: {
|
|
@@ -623,8 +614,8 @@ var NetworkStakingStepRewardsByStepViewerRpcSchemas = {
|
|
|
623
614
|
from: z10.tuple([z10.optional(RewardsRangeOptionsZod3)])
|
|
624
615
|
},
|
|
625
616
|
result: {
|
|
626
|
-
to: z10.record(
|
|
627
|
-
from: z10.record(
|
|
617
|
+
to: z10.record(XyoAddressZod3, BigIntToJsonZod5),
|
|
618
|
+
from: z10.record(XyoAddressZod3, z10.pipe(JsonToBigIntZod5, z10.transform((val) => asAttoXL13(val))))
|
|
628
619
|
}
|
|
629
620
|
},
|
|
630
621
|
networkStakingStepRewardsByStepViewer_unclaimed: {
|
|
@@ -633,8 +624,8 @@ var NetworkStakingStepRewardsByStepViewerRpcSchemas = {
|
|
|
633
624
|
from: z10.tuple([z10.optional(RewardsRangeOptionsZod3)])
|
|
634
625
|
},
|
|
635
626
|
result: {
|
|
636
|
-
to: z10.record(
|
|
637
|
-
from: z10.record(
|
|
627
|
+
to: z10.record(XyoAddressZod3, BigIntToJsonZod5),
|
|
628
|
+
from: z10.record(XyoAddressZod3, z10.pipe(JsonToBigIntZod5, z10.transform((val) => asAttoXL13(val))))
|
|
638
629
|
}
|
|
639
630
|
}
|
|
640
631
|
};
|
|
@@ -697,11 +688,8 @@ var NetworkStakingStepRewardsTotalViewerRpcSchemas = {
|
|
|
697
688
|
};
|
|
698
689
|
|
|
699
690
|
// src/types/schema/StakeTotalsViewerRpcSchemas.ts
|
|
700
|
-
import {
|
|
701
|
-
|
|
702
|
-
BigIntToJsonZod as BigIntToJsonZod7,
|
|
703
|
-
JsonToBigIntZod as JsonToBigIntZod7
|
|
704
|
-
} from "@xylabs/sdk-js";
|
|
691
|
+
import { BigIntToJsonZod as BigIntToJsonZod7, JsonToBigIntZod as JsonToBigIntZod7 } from "@xylabs/sdk-js";
|
|
692
|
+
import { XyoAddressZod as XyoAddressZod4 } from "@xyo-network/address";
|
|
705
693
|
import { asAttoXL1 as asAttoXL15 } from "@xyo-network/xl1-protocol-lib";
|
|
706
694
|
import { z as z12 } from "zod/mini";
|
|
707
695
|
var StakeTotalsViewerRpcSchemas = {
|
|
@@ -717,8 +705,8 @@ var StakeTotalsViewerRpcSchemas = {
|
|
|
717
705
|
},
|
|
718
706
|
stakeTotalsViewer_activeByStaked: {
|
|
719
707
|
params: {
|
|
720
|
-
to: z12.tuple([
|
|
721
|
-
from: z12.tuple([
|
|
708
|
+
to: z12.tuple([XyoAddressZod4, z12.optional(z12.number())]),
|
|
709
|
+
from: z12.tuple([XyoAddressZod4, z12.optional(z12.number())])
|
|
722
710
|
},
|
|
723
711
|
result: {
|
|
724
712
|
to: BigIntToJsonZod7,
|
|
@@ -727,8 +715,8 @@ var StakeTotalsViewerRpcSchemas = {
|
|
|
727
715
|
},
|
|
728
716
|
stakeTotalsViewer_activeByStaker: {
|
|
729
717
|
params: {
|
|
730
|
-
to: z12.tuple([
|
|
731
|
-
from: z12.tuple([
|
|
718
|
+
to: z12.tuple([XyoAddressZod4, z12.optional(z12.number())]),
|
|
719
|
+
from: z12.tuple([XyoAddressZod4, z12.optional(z12.number())])
|
|
732
720
|
},
|
|
733
721
|
result: {
|
|
734
722
|
to: BigIntToJsonZod7,
|
|
@@ -747,8 +735,8 @@ var StakeTotalsViewerRpcSchemas = {
|
|
|
747
735
|
},
|
|
748
736
|
stakeTotalsViewer_pendingByStaker: {
|
|
749
737
|
params: {
|
|
750
|
-
to: z12.tuple([
|
|
751
|
-
from: z12.tuple([
|
|
738
|
+
to: z12.tuple([XyoAddressZod4, z12.optional(z12.number())]),
|
|
739
|
+
from: z12.tuple([XyoAddressZod4, z12.optional(z12.number())])
|
|
752
740
|
},
|
|
753
741
|
result: {
|
|
754
742
|
to: BigIntToJsonZod7,
|
|
@@ -767,8 +755,8 @@ var StakeTotalsViewerRpcSchemas = {
|
|
|
767
755
|
},
|
|
768
756
|
stakeTotalsViewer_withdrawnByStaker: {
|
|
769
757
|
params: {
|
|
770
|
-
to: z12.tuple([
|
|
771
|
-
from: z12.tuple([
|
|
758
|
+
to: z12.tuple([XyoAddressZod4, z12.optional(z12.number())]),
|
|
759
|
+
from: z12.tuple([XyoAddressZod4, z12.optional(z12.number())])
|
|
772
760
|
},
|
|
773
761
|
result: {
|
|
774
762
|
to: BigIntToJsonZod7,
|
|
@@ -778,7 +766,7 @@ var StakeTotalsViewerRpcSchemas = {
|
|
|
778
766
|
};
|
|
779
767
|
|
|
780
768
|
// src/types/schema/StakeViewerRpcSchemas.ts
|
|
781
|
-
import {
|
|
769
|
+
import { XyoAddressZod as XyoAddressZod5 } from "@xyo-network/address";
|
|
782
770
|
import { JsonToStakeZod, StakeToJsonZod } from "@xyo-network/xl1-protocol-lib";
|
|
783
771
|
import { z as z14 } from "zod";
|
|
784
772
|
|
|
@@ -804,8 +792,8 @@ var StakeViewerRpcSchemas = {
|
|
|
804
792
|
from: NoArgsZod
|
|
805
793
|
},
|
|
806
794
|
result: {
|
|
807
|
-
to:
|
|
808
|
-
from:
|
|
795
|
+
to: XyoAddressZod5,
|
|
796
|
+
from: XyoAddressZod5
|
|
809
797
|
}
|
|
810
798
|
},
|
|
811
799
|
stakeViewer_stakeById: {
|
|
@@ -820,8 +808,8 @@ var StakeViewerRpcSchemas = {
|
|
|
820
808
|
},
|
|
821
809
|
stakeViewer_stakeByStaker: {
|
|
822
810
|
params: {
|
|
823
|
-
to: z14.tuple([
|
|
824
|
-
from: z14.tuple([
|
|
811
|
+
to: z14.tuple([XyoAddressZod5, z14.number()]),
|
|
812
|
+
from: z14.tuple([XyoAddressZod5, z14.number()])
|
|
825
813
|
},
|
|
826
814
|
result: {
|
|
827
815
|
to: StakeToJsonZod,
|
|
@@ -830,8 +818,8 @@ var StakeViewerRpcSchemas = {
|
|
|
830
818
|
},
|
|
831
819
|
stakeViewer_stakesByStaker: {
|
|
832
820
|
params: {
|
|
833
|
-
to: z14.tuple([
|
|
834
|
-
from: z14.tuple([
|
|
821
|
+
to: z14.tuple([XyoAddressZod5]),
|
|
822
|
+
from: z14.tuple([XyoAddressZod5])
|
|
835
823
|
},
|
|
836
824
|
result: {
|
|
837
825
|
to: z14.array(StakeToJsonZod),
|
|
@@ -840,8 +828,8 @@ var StakeViewerRpcSchemas = {
|
|
|
840
828
|
},
|
|
841
829
|
stakeViewer_stakesByStaked: {
|
|
842
830
|
params: {
|
|
843
|
-
to: z14.tuple([
|
|
844
|
-
from: z14.tuple([
|
|
831
|
+
to: z14.tuple([XyoAddressZod5]),
|
|
832
|
+
from: z14.tuple([XyoAddressZod5])
|
|
845
833
|
},
|
|
846
834
|
result: {
|
|
847
835
|
to: z14.array(StakeToJsonZod),
|
|
@@ -854,8 +842,8 @@ var StakeViewerRpcSchemas = {
|
|
|
854
842
|
from: NoArgsZod
|
|
855
843
|
},
|
|
856
844
|
result: {
|
|
857
|
-
to:
|
|
858
|
-
from:
|
|
845
|
+
to: XyoAddressZod5,
|
|
846
|
+
from: XyoAddressZod5
|
|
859
847
|
}
|
|
860
848
|
}
|
|
861
849
|
};
|
|
@@ -1098,7 +1086,7 @@ var XyoRunnerRpcSchemas = {
|
|
|
1098
1086
|
};
|
|
1099
1087
|
|
|
1100
1088
|
// src/types/schema/XyoSignerRpcSchemas.ts
|
|
1101
|
-
import {
|
|
1089
|
+
import { XyoAddressZod as XyoAddressZod6 } from "@xyo-network/address";
|
|
1102
1090
|
import { SignedHydratedTransactionWithHashMetaZod as SignedHydratedTransactionWithHashMetaZod3, UnsignedHydratedTransactionZod } from "@xyo-network/xl1-protocol-lib";
|
|
1103
1091
|
import { z as z20 } from "zod";
|
|
1104
1092
|
var XyoSignerRpcSchemas = {
|
|
@@ -1108,8 +1096,8 @@ var XyoSignerRpcSchemas = {
|
|
|
1108
1096
|
from: z20.tuple([]).default([])
|
|
1109
1097
|
},
|
|
1110
1098
|
result: {
|
|
1111
|
-
to:
|
|
1112
|
-
from:
|
|
1099
|
+
to: XyoAddressZod6,
|
|
1100
|
+
from: XyoAddressZod6
|
|
1113
1101
|
}
|
|
1114
1102
|
},
|
|
1115
1103
|
xyoSigner_signTransaction: {
|
|
@@ -1126,12 +1114,12 @@ var XyoSignerRpcSchemas = {
|
|
|
1126
1114
|
|
|
1127
1115
|
// src/types/schema/XyoViewerRpcSchemas.ts
|
|
1128
1116
|
import {
|
|
1129
|
-
AddressZod as AddressZod7,
|
|
1130
1117
|
BigIntToJsonZod as BigIntToJsonZod9,
|
|
1131
1118
|
HashZod as HashZod5,
|
|
1132
1119
|
HexZod,
|
|
1133
1120
|
JsonToBigIntZod as JsonToBigIntZod9
|
|
1134
1121
|
} from "@xylabs/sdk-js";
|
|
1122
|
+
import { XyoAddressZod as XyoAddressZod7 } from "@xyo-network/address";
|
|
1135
1123
|
import { PayloadZodLoose } from "@xyo-network/sdk-js";
|
|
1136
1124
|
import {
|
|
1137
1125
|
AccountBalanceHistoryItemZod as AccountBalanceHistoryItemZod2,
|
|
@@ -1148,8 +1136,8 @@ import { z as z21 } from "zod/mini";
|
|
|
1148
1136
|
var XyoViewerRpcSchemas = {
|
|
1149
1137
|
xyoViewer_networkStakeStepRewardClaimedByAddress: {
|
|
1150
1138
|
params: {
|
|
1151
|
-
to: z21.tuple([
|
|
1152
|
-
from: z21.tuple([
|
|
1139
|
+
to: z21.tuple([XyoAddressZod7]),
|
|
1140
|
+
from: z21.tuple([XyoAddressZod7])
|
|
1153
1141
|
},
|
|
1154
1142
|
result: {
|
|
1155
1143
|
to: BigIntToJsonZod9,
|
|
@@ -1158,28 +1146,28 @@ var XyoViewerRpcSchemas = {
|
|
|
1158
1146
|
},
|
|
1159
1147
|
xyoViewer_networkStakeStepRewardAddressReward: {
|
|
1160
1148
|
params: {
|
|
1161
|
-
to: z21.tuple([StepIdentityZod2,
|
|
1162
|
-
from: z21.tuple([StepIdentityZod2,
|
|
1149
|
+
to: z21.tuple([StepIdentityZod2, XyoAddressZod7]),
|
|
1150
|
+
from: z21.tuple([StepIdentityZod2, XyoAddressZod7])
|
|
1163
1151
|
},
|
|
1164
1152
|
result: {
|
|
1165
|
-
to: z21.record(
|
|
1166
|
-
from: z21.record(
|
|
1153
|
+
to: z21.record(XyoAddressZod7, BigIntToJsonZod9),
|
|
1154
|
+
from: z21.record(XyoAddressZod7, z21.pipe(JsonToBigIntZod9, z21.transform((val) => asAttoXL16(val))))
|
|
1167
1155
|
}
|
|
1168
1156
|
},
|
|
1169
1157
|
xyoViewer_networkStakeStepRewardAddressHistory: {
|
|
1170
1158
|
params: {
|
|
1171
|
-
to: z21.tuple([
|
|
1172
|
-
from: z21.tuple([
|
|
1159
|
+
to: z21.tuple([XyoAddressZod7]),
|
|
1160
|
+
from: z21.tuple([XyoAddressZod7])
|
|
1173
1161
|
},
|
|
1174
1162
|
result: {
|
|
1175
|
-
to: z21.record(
|
|
1176
|
-
from: z21.record(
|
|
1163
|
+
to: z21.record(XyoAddressZod7, BigIntToJsonZod9),
|
|
1164
|
+
from: z21.record(XyoAddressZod7, z21.pipe(JsonToBigIntZod9, z21.transform((val) => asAttoXL16(val))))
|
|
1177
1165
|
}
|
|
1178
1166
|
},
|
|
1179
1167
|
xyoViewer_networkStakeStepRewardAddressShare: {
|
|
1180
1168
|
params: {
|
|
1181
|
-
to: z21.tuple([StepIdentityZod2,
|
|
1182
|
-
from: z21.tuple([StepIdentityZod2,
|
|
1169
|
+
to: z21.tuple([StepIdentityZod2, XyoAddressZod7]),
|
|
1170
|
+
from: z21.tuple([StepIdentityZod2, XyoAddressZod7])
|
|
1183
1171
|
},
|
|
1184
1172
|
result: {
|
|
1185
1173
|
to: z21.tuple([BigIntToJsonZod9, BigIntToJsonZod9]),
|
|
@@ -1188,8 +1176,8 @@ var XyoViewerRpcSchemas = {
|
|
|
1188
1176
|
},
|
|
1189
1177
|
xyoViewer_networkStakeStepRewardWeightForAddress: {
|
|
1190
1178
|
params: {
|
|
1191
|
-
to: z21.tuple([StepIdentityZod2,
|
|
1192
|
-
from: z21.tuple([StepIdentityZod2,
|
|
1179
|
+
to: z21.tuple([StepIdentityZod2, XyoAddressZod7]),
|
|
1180
|
+
from: z21.tuple([StepIdentityZod2, XyoAddressZod7])
|
|
1193
1181
|
},
|
|
1194
1182
|
result: {
|
|
1195
1183
|
to: BigIntToJsonZod9,
|
|
@@ -1198,8 +1186,8 @@ var XyoViewerRpcSchemas = {
|
|
|
1198
1186
|
},
|
|
1199
1187
|
xyoViewer_networkStakeStepRewardUnclaimedByAddress: {
|
|
1200
1188
|
params: {
|
|
1201
|
-
to: z21.tuple([
|
|
1202
|
-
from: z21.tuple([
|
|
1189
|
+
to: z21.tuple([XyoAddressZod7]),
|
|
1190
|
+
from: z21.tuple([XyoAddressZod7])
|
|
1203
1191
|
},
|
|
1204
1192
|
result: {
|
|
1205
1193
|
to: BigIntToJsonZod9,
|
|
@@ -1212,8 +1200,8 @@ var XyoViewerRpcSchemas = {
|
|
|
1212
1200
|
from: z21.tuple([StepIdentityZod2])
|
|
1213
1201
|
},
|
|
1214
1202
|
result: {
|
|
1215
|
-
to: z21.record(
|
|
1216
|
-
from: z21.record(
|
|
1203
|
+
to: z21.record(XyoAddressZod7, BigIntToJsonZod9),
|
|
1204
|
+
from: z21.record(XyoAddressZod7, z21.pipe(JsonToBigIntZod9, z21.transform((val) => asAttoXL16(val))))
|
|
1217
1205
|
}
|
|
1218
1206
|
},
|
|
1219
1207
|
xyoViewer_networkStakeStepRewardPositionWeight: {
|
|
@@ -1272,8 +1260,8 @@ var XyoViewerRpcSchemas = {
|
|
|
1272
1260
|
from: z21.tuple([StepIdentityZod2])
|
|
1273
1261
|
},
|
|
1274
1262
|
result: {
|
|
1275
|
-
to: z21.record(
|
|
1276
|
-
from: z21.record(
|
|
1263
|
+
to: z21.record(XyoAddressZod7, BigIntToJsonZod9),
|
|
1264
|
+
from: z21.record(XyoAddressZod7, JsonToBigIntZod9)
|
|
1277
1265
|
}
|
|
1278
1266
|
},
|
|
1279
1267
|
xyoViewer_networkStakeStepRewardForStepForPosition: {
|
|
@@ -1328,8 +1316,8 @@ var XyoViewerRpcSchemas = {
|
|
|
1328
1316
|
},
|
|
1329
1317
|
xyoViewer_accountBalance: {
|
|
1330
1318
|
params: {
|
|
1331
|
-
to: z21.union([z21.tuple([
|
|
1332
|
-
from: z21.union([z21.tuple([
|
|
1319
|
+
to: z21.union([z21.tuple([XyoAddressZod7]), z21.tuple([XyoAddressZod7, z21.union([XL1BlockRangeZod, HashZod5])])]),
|
|
1320
|
+
from: z21.union([z21.tuple([XyoAddressZod7]), z21.tuple([XyoAddressZod7, z21.union([XL1BlockRangeZod, HashZod5])])])
|
|
1333
1321
|
},
|
|
1334
1322
|
result: {
|
|
1335
1323
|
to: BigIntToJsonZod9,
|
|
@@ -1338,8 +1326,8 @@ var XyoViewerRpcSchemas = {
|
|
|
1338
1326
|
},
|
|
1339
1327
|
xyoViewer_accountBalanceHistory: {
|
|
1340
1328
|
params: {
|
|
1341
|
-
to: z21.union([z21.tuple([
|
|
1342
|
-
from: z21.union([z21.tuple([
|
|
1329
|
+
to: z21.union([z21.tuple([XyoAddressZod7]), z21.tuple([XyoAddressZod7, z21.union([XL1BlockRangeZod, HashZod5])])]),
|
|
1330
|
+
from: z21.union([z21.tuple([XyoAddressZod7]), z21.tuple([XyoAddressZod7, z21.union([XL1BlockRangeZod, HashZod5])])])
|
|
1343
1331
|
},
|
|
1344
1332
|
result: {
|
|
1345
1333
|
to: z21.array(AccountBalanceHistoryItemZod2),
|
|
@@ -1388,8 +1376,8 @@ var XyoViewerRpcSchemas = {
|
|
|
1388
1376
|
},
|
|
1389
1377
|
xyoViewer_stakeByStaker: {
|
|
1390
1378
|
params: {
|
|
1391
|
-
to: z21.tuple([
|
|
1392
|
-
from: z21.tuple([
|
|
1379
|
+
to: z21.tuple([XyoAddressZod7, z21.number()]),
|
|
1380
|
+
from: z21.tuple([XyoAddressZod7, z21.number()])
|
|
1393
1381
|
},
|
|
1394
1382
|
result: {
|
|
1395
1383
|
to: StakeToJsonZod3,
|
|
@@ -1408,8 +1396,8 @@ var XyoViewerRpcSchemas = {
|
|
|
1408
1396
|
},
|
|
1409
1397
|
xyoViewer_stakesByStaker: {
|
|
1410
1398
|
params: {
|
|
1411
|
-
to: z21.tuple([
|
|
1412
|
-
from: z21.tuple([
|
|
1399
|
+
to: z21.tuple([XyoAddressZod7]),
|
|
1400
|
+
from: z21.tuple([XyoAddressZod7])
|
|
1413
1401
|
},
|
|
1414
1402
|
result: {
|
|
1415
1403
|
to: z21.array(StakeToJsonZod3),
|
|
@@ -1418,8 +1406,8 @@ var XyoViewerRpcSchemas = {
|
|
|
1418
1406
|
},
|
|
1419
1407
|
xyoViewer_stakesByStaked: {
|
|
1420
1408
|
params: {
|
|
1421
|
-
to: z21.tuple([
|
|
1422
|
-
from: z21.tuple([
|
|
1409
|
+
to: z21.tuple([XyoAddressZod7]),
|
|
1410
|
+
from: z21.tuple([XyoAddressZod7])
|
|
1423
1411
|
},
|
|
1424
1412
|
result: {
|
|
1425
1413
|
to: z21.array(StakeToJsonZod3),
|