@xyo-network/xl1-rpc 1.14.2 → 1.14.3

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.
@@ -19,6 +19,9 @@ export declare class JsonRpcXyoViewer implements XyoViewer {
19
19
  forkHistory(): Promisable<ForkHistory>;
20
20
  stakeByAddress(address: Address, slot: number): Promise<Stake>;
21
21
  stakeById(_id: number): Promisable<Stake>;
22
+ stakedByStaker(_staker: Address): Promisable<Address[]>;
23
+ stakesByStaked(_staked: Address): Promisable<Stake[]>;
24
+ stakesByStaker(_staker: Address): Promisable<Stake[]>;
22
25
  transactionByBlockHashAndIndex(blockHash: Hash, transactionIndex: number): Promise<SignedHydratedTransaction | null>;
23
26
  transactionByBlockNumberAndIndex(blockNumber: number, transactionIndex: number): Promise<SignedHydratedTransaction | null>;
24
27
  transactionByHash(transactionHash: Hash): Promise<SignedHydratedTransaction | null>;
@@ -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,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACjD,OAAO,EAEL,KAAK,OAAO,EACZ,KAAK,WAAW,EAChB,KAAK,aAAa,EAAE,KAAK,yBAAyB,EAClD,KAAK,KAAK,EACV,KAAK,QAAQ,EACb,KAAK,SAAS,EACf,MAAM,2BAA2B,CAAA;AAElC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAC5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AAC/D,qBAAa,gBAAiB,YAAW,SAAS;IAChD,SAAS,CAAC,QAAQ,CAAC,SAAS,EAAE,YAAY,CAAC,OAAO,mBAAmB,CAAC,CAAA;gBAE1D,SAAS,EAAE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;IAIrD,YAAY,IAAI,OAAO,CAAC,aAAa,CAAC;IAItC,gBAAgB,IAAI,OAAO,CAAC,IAAI,CAAC;IAIjC,kBAAkB,IAAI,OAAO,CAAC,MAAM,CAAC;IAI3C,WAAW,IAAI,UAAU,CAAC,WAAW,CAAC;IAIhC,cAAc,CAAC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC;IAIpE,SAAS,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,CAAC,KAAK,CAAC;IAIzC,cAAc,CAAC,OAAO,EAAE,OAAO,GAAG,UAAU,CAAC,OAAO,EAAE,CAAC;IAIvD,cAAc,CAAC,OAAO,EAAE,OAAO,GAAG,UAAU,CAAC,KAAK,EAAE,CAAC;IAIrD,cAAc,CAAC,OAAO,EAAE,OAAO,GAAG,UAAU,CAAC,KAAK,EAAE,CAAC;IAI/C,8BAA8B,CAAC,SAAS,EAAE,IAAI,EAAE,gBAAgB,EAAE,MAAM,GAAG,OAAO,CAAC,yBAAyB,GAAG,IAAI,CAAC;IAIpH,gCAAgC,CAAC,WAAW,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,GAAG,OAAO,CAAC,yBAAyB,GAAG,IAAI,CAAC;IAI1H,iBAAiB,CAAC,eAAe,EAAE,IAAI,GAAG,OAAO,CAAC,yBAAyB,GAAG,IAAI,CAAC;CAG1F"}
@@ -1199,6 +1199,66 @@ export declare const AllRpcSchemas: {
1199
1199
  }>>;
1200
1200
  };
1201
1201
  };
1202
+ xyoViewer_stakedByStaker: {
1203
+ params: {
1204
+ to: import("zod").ZodTuple<[import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
1205
+ readonly __hex: true;
1206
+ }>, {
1207
+ readonly __address: true;
1208
+ }>, string>>], null>;
1209
+ from: import("zod").ZodTuple<[import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
1210
+ readonly __hex: true;
1211
+ }>, {
1212
+ readonly __address: true;
1213
+ }>, string>>], null>;
1214
+ };
1215
+ result: {
1216
+ to: import("zod").ZodPipe<import("zod").ZodBigInt, import("zod").ZodTransform<import("@xylabs/typeof").Brand<Lowercase<string>, {
1217
+ readonly __hex: true;
1218
+ }>, bigint>>;
1219
+ from: import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<import("@xylabs/typeof").Brand<Lowercase<string>, {
1220
+ readonly __hex: true;
1221
+ }>, string>>, import("zod").ZodTransform<bigint, import("@xylabs/typeof").Brand<Lowercase<string>, {
1222
+ readonly __hex: true;
1223
+ }>>>;
1224
+ };
1225
+ };
1226
+ xyoViewer_stakesByStaker: {
1227
+ params: {
1228
+ to: import("zod").ZodTuple<[import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
1229
+ readonly __hex: true;
1230
+ }>, {
1231
+ readonly __address: true;
1232
+ }>, string>>], null>;
1233
+ from: import("zod").ZodTuple<[import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
1234
+ readonly __hex: true;
1235
+ }>, {
1236
+ readonly __address: true;
1237
+ }>, string>>], null>;
1238
+ };
1239
+ result: {
1240
+ to: import("zod").ZodNumber;
1241
+ from: import("zod").ZodNumber;
1242
+ };
1243
+ };
1244
+ xyoViewer_stakesByStaked: {
1245
+ params: {
1246
+ to: import("zod").ZodTuple<[import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
1247
+ readonly __hex: true;
1248
+ }>, {
1249
+ readonly __address: true;
1250
+ }>, string>>], null>;
1251
+ from: import("zod").ZodTuple<[import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
1252
+ readonly __hex: true;
1253
+ }>, {
1254
+ readonly __address: true;
1255
+ }>, string>>], null>;
1256
+ };
1257
+ result: {
1258
+ to: import("zod").ZodNumber;
1259
+ from: import("zod").ZodNumber;
1260
+ };
1261
+ };
1202
1262
  xyoViewer_transactionByBlockHashAndIndex: {
1203
1263
  params: {
1204
1264
  to: import("zod").ZodTuple<[import("zod").ZodType<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":"AAMA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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odString, z.ZodTransform<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
1206
+ readonly __hex: true;
1207
+ }>, {
1208
+ readonly __address: true;
1209
+ }>, string>>], null>;
1210
+ from: z.ZodTuple<[z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
1211
+ readonly __hex: true;
1212
+ }>, {
1213
+ readonly __address: true;
1214
+ }>, string>>], null>;
1215
+ };
1216
+ result: {
1217
+ to: z.ZodPipe<z.ZodBigInt, z.ZodTransform<import("@xylabs/typeof").Brand<Lowercase<string>, {
1218
+ readonly __hex: true;
1219
+ }>, bigint>>;
1220
+ from: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/typeof").Brand<Lowercase<string>, {
1221
+ readonly __hex: true;
1222
+ }>, string>>, z.ZodTransform<bigint, import("@xylabs/typeof").Brand<Lowercase<string>, {
1223
+ readonly __hex: true;
1224
+ }>>>;
1225
+ };
1226
+ };
1227
+ xyoViewer_stakesByStaker: {
1228
+ params: {
1229
+ to: z.ZodTuple<[z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
1230
+ readonly __hex: true;
1231
+ }>, {
1232
+ readonly __address: true;
1233
+ }>, string>>], null>;
1234
+ from: z.ZodTuple<[z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
1235
+ readonly __hex: true;
1236
+ }>, {
1237
+ readonly __address: true;
1238
+ }>, string>>], null>;
1239
+ };
1240
+ result: {
1241
+ to: z.ZodNumber;
1242
+ from: z.ZodNumber;
1243
+ };
1244
+ };
1245
+ xyoViewer_stakesByStaked: {
1246
+ params: {
1247
+ to: z.ZodTuple<[z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
1248
+ readonly __hex: true;
1249
+ }>, {
1250
+ readonly __address: true;
1251
+ }>, string>>], null>;
1252
+ from: z.ZodTuple<[z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
1253
+ readonly __hex: true;
1254
+ }>, {
1255
+ readonly __address: true;
1256
+ }>, string>>], null>;
1257
+ };
1258
+ result: {
1259
+ to: z.ZodNumber;
1260
+ from: z.ZodNumber;
1261
+ };
1262
+ };
1203
1263
  xyoViewer_transactionByBlockHashAndIndex: {
1204
1264
  params: {
1205
1265
  to: z.ZodTuple<[z.ZodType<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;AAcxB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+MgB,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,0BAmB/D,CAAA"}
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,0BAsB/D,CAAA"}
@@ -36,6 +36,9 @@ var rpcMethodHandlersFromViewer = /* @__PURE__ */ __name((viewer) => {
36
36
  xyoViewer_forkHistory: /* @__PURE__ */ __name((params) => viewer.forkHistory(...params ?? []), "xyoViewer_forkHistory"),
37
37
  xyoViewer_stakeById: /* @__PURE__ */ __name((params) => viewer.stakeById(...params ?? []), "xyoViewer_stakeById"),
38
38
  xyoViewer_stakeByAddress: /* @__PURE__ */ __name((params) => viewer.stakeByAddress(...params ?? []), "xyoViewer_stakeByAddress"),
39
+ xyoViewer_stakesByStaked: /* @__PURE__ */ __name((params) => viewer.stakesByStaked(...params ?? []), "xyoViewer_stakesByStaked"),
40
+ xyoViewer_stakesByStaker: /* @__PURE__ */ __name((params) => viewer.stakesByStaker(...params ?? []), "xyoViewer_stakesByStaker"),
41
+ xyoViewer_stakedByStaker: /* @__PURE__ */ __name((params) => viewer.stakedByStaker(...params ?? []), "xyoViewer_stakedByStaker"),
39
42
  xyoViewer_transactionByBlockHashAndIndex: /* @__PURE__ */ __name((params) => viewer.transactionByBlockHashAndIndex(...params ?? []), "xyoViewer_transactionByBlockHashAndIndex"),
40
43
  xyoViewer_transactionByBlockNumberAndIndex: /* @__PURE__ */ __name((params) => viewer.transactionByBlockNumberAndIndex(...params ?? []), "xyoViewer_transactionByBlockNumberAndIndex"),
41
44
  xyoViewer_transactionByHash: /* @__PURE__ */ __name((params) => viewer.transactionByHash(...params ?? []), "xyoViewer_transactionByHash")
@@ -691,6 +694,48 @@ var XyoViewerRpcSchemas = {
691
694
  from: JsonToStakeZod
692
695
  }
693
696
  },
697
+ xyoViewer_stakedByStaker: {
698
+ params: {
699
+ to: z16.tuple([
700
+ AddressZod
701
+ ]),
702
+ from: z16.tuple([
703
+ AddressZod
704
+ ])
705
+ },
706
+ result: {
707
+ to: BigIntToJsonZod2,
708
+ from: JsonToBigIntZod2
709
+ }
710
+ },
711
+ xyoViewer_stakesByStaker: {
712
+ params: {
713
+ to: z16.tuple([
714
+ AddressZod
715
+ ]),
716
+ from: z16.tuple([
717
+ AddressZod
718
+ ])
719
+ },
720
+ result: {
721
+ to: z16.number(),
722
+ from: z16.number()
723
+ }
724
+ },
725
+ xyoViewer_stakesByStaked: {
726
+ params: {
727
+ to: z16.tuple([
728
+ AddressZod
729
+ ]),
730
+ from: z16.tuple([
731
+ AddressZod
732
+ ])
733
+ },
734
+ result: {
735
+ to: z16.number(),
736
+ from: z16.number()
737
+ }
738
+ },
694
739
  xyoViewer_transactionByBlockHashAndIndex: {
695
740
  params: {
696
741
  to: z16.tuple([
@@ -1552,6 +1597,15 @@ var JsonRpcXyoViewer = class {
1552
1597
  stakeById(_id) {
1553
1598
  throw new Error("Method not implemented.");
1554
1599
  }
1600
+ stakedByStaker(_staker) {
1601
+ throw new Error("Method not implemented.");
1602
+ }
1603
+ stakesByStaked(_staked) {
1604
+ throw new Error("Method not implemented.");
1605
+ }
1606
+ stakesByStaker(_staker) {
1607
+ throw new Error("Method not implemented.");
1608
+ }
1555
1609
  async transactionByBlockHashAndIndex(blockHash, transactionIndex) {
1556
1610
  return await this.transport.sendRequest("xyoViewer_transactionByBlockHashAndIndex", [
1557
1611
  blockHash,