@cmts-dev/carmentis-sdk-core 1.2.32 → 1.2.34

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.
@@ -9303,156 +9303,107 @@ var Qv = class e extends Yg {
9303
9303
  async encodePublicEncryptionKey(t) {
9304
9304
  return Eg.encode(e.PKE_KEY, "MLKEM768AES256GCM", e.PK_PKE_KEY, this.stringEncoder.encode(await t.getRawPublicKey()));
9305
9305
  }
9306
- }, ty = "SIG", ny = "SK", ry = "PK", iy = class {
9307
- bytesEncoder = Sg.bytesToHexEncoder();
9308
- constructor(e) {
9309
- this.labels = e;
9310
- }
9311
- async encodePublicKey(e) {
9312
- return Eg.encode(...this.getHCVPublicKeyEncodingPrefix(), this.bytesEncoder.encode(await e.getPublicKeyAsBytes()));
9313
- }
9314
- getHCVPrivateKeyEncodingPrefix() {
9315
- return [
9316
- ty,
9317
- ...this.labels,
9318
- ny
9319
- ];
9320
- }
9321
- getHCVPublicKeyEncodingPrefix() {
9322
- return [
9323
- ty,
9324
- ...this.labels,
9325
- ry
9326
- ];
9327
- }
9328
- }, ay = class extends iy {
9329
- constructor(e) {
9330
- super(e);
9331
- }
9332
- async encodePrivateKey(e) {
9333
- return Eg.encode(...this.getHCVPrivateKeyEncodingPrefix(), this.bytesEncoder.encode(e.getPrivateKeyAsBytes()));
9334
- }
9335
- }, oy = class extends ay {
9336
- constructor() {
9337
- super(["SECP256K1"]);
9338
- }
9339
- async isAcceptingPrivateKeyEncodingRequest(e) {
9340
- return e instanceof Yv;
9341
- }
9342
- async isAcceptingPublicKeyEncodingRequest(e) {
9343
- return e instanceof Jv;
9344
- }
9345
- }, sy = class extends ay {
9346
- constructor() {
9347
- super(["MLDSA65"]);
9348
- }
9349
- async isAcceptingPrivateKeyEncodingRequest(e) {
9350
- return e instanceof $g;
9351
- }
9352
- async isAcceptingPublicKeyEncodingRequest(e) {
9353
- return e instanceof Qg;
9354
- }
9355
9306
  };
9356
9307
  //#endregion
9357
9308
  //#region node_modules/.pnpm/vite-plugin-node-polyfills@0.26.0_vite@8.0.7_@types+node@25.5.2_/node_modules/vite-plugin-node-polyfills/shims/process/dist/index.js
9358
- function cy(e) {
9309
+ function ty(e) {
9359
9310
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
9360
9311
  }
9361
- var ly = { exports: {} }, uy = ly.exports = {}, dy, fy;
9362
- function py() {
9312
+ var ny = { exports: {} }, ry = ny.exports = {}, iy, ay;
9313
+ function oy() {
9363
9314
  throw Error("setTimeout has not been defined");
9364
9315
  }
9365
- function my() {
9316
+ function sy() {
9366
9317
  throw Error("clearTimeout has not been defined");
9367
9318
  }
9368
9319
  (function() {
9369
9320
  try {
9370
- dy = typeof setTimeout == "function" ? setTimeout : py;
9321
+ iy = typeof setTimeout == "function" ? setTimeout : oy;
9371
9322
  } catch {
9372
- dy = py;
9323
+ iy = oy;
9373
9324
  }
9374
9325
  try {
9375
- fy = typeof clearTimeout == "function" ? clearTimeout : my;
9326
+ ay = typeof clearTimeout == "function" ? clearTimeout : sy;
9376
9327
  } catch {
9377
- fy = my;
9328
+ ay = sy;
9378
9329
  }
9379
9330
  })();
9380
- function hy(e) {
9381
- if (dy === setTimeout) return setTimeout(e, 0);
9382
- if ((dy === py || !dy) && setTimeout) return dy = setTimeout, setTimeout(e, 0);
9331
+ function cy(e) {
9332
+ if (iy === setTimeout) return setTimeout(e, 0);
9333
+ if ((iy === oy || !iy) && setTimeout) return iy = setTimeout, setTimeout(e, 0);
9383
9334
  try {
9384
- return dy(e, 0);
9335
+ return iy(e, 0);
9385
9336
  } catch {
9386
9337
  try {
9387
- return dy.call(null, e, 0);
9338
+ return iy.call(null, e, 0);
9388
9339
  } catch {
9389
- return dy.call(this, e, 0);
9340
+ return iy.call(this, e, 0);
9390
9341
  }
9391
9342
  }
9392
9343
  }
9393
- function gy(e) {
9394
- if (fy === clearTimeout) return clearTimeout(e);
9395
- if ((fy === my || !fy) && clearTimeout) return fy = clearTimeout, clearTimeout(e);
9344
+ function ly(e) {
9345
+ if (ay === clearTimeout) return clearTimeout(e);
9346
+ if ((ay === sy || !ay) && clearTimeout) return ay = clearTimeout, clearTimeout(e);
9396
9347
  try {
9397
- return fy(e);
9348
+ return ay(e);
9398
9349
  } catch {
9399
9350
  try {
9400
- return fy.call(null, e);
9351
+ return ay.call(null, e);
9401
9352
  } catch {
9402
- return fy.call(this, e);
9353
+ return ay.call(this, e);
9403
9354
  }
9404
9355
  }
9405
9356
  }
9406
- var _y = [], vy = !1, yy, by = -1;
9407
- function xy() {
9408
- !vy || !yy || (vy = !1, yy.length ? _y = yy.concat(_y) : by = -1, _y.length && Sy());
9357
+ var uy = [], dy = !1, fy, py = -1;
9358
+ function my() {
9359
+ !dy || !fy || (dy = !1, fy.length ? uy = fy.concat(uy) : py = -1, uy.length && hy());
9409
9360
  }
9410
- function Sy() {
9411
- if (!vy) {
9412
- var e = hy(xy);
9413
- vy = !0;
9414
- for (var t = _y.length; t;) {
9415
- for (yy = _y, _y = []; ++by < t;) yy && yy[by].run();
9416
- by = -1, t = _y.length;
9361
+ function hy() {
9362
+ if (!dy) {
9363
+ var e = cy(my);
9364
+ dy = !0;
9365
+ for (var t = uy.length; t;) {
9366
+ for (fy = uy, uy = []; ++py < t;) fy && fy[py].run();
9367
+ py = -1, t = uy.length;
9417
9368
  }
9418
- yy = null, vy = !1, gy(e);
9369
+ fy = null, dy = !1, ly(e);
9419
9370
  }
9420
9371
  }
9421
- uy.nextTick = function(e) {
9372
+ ry.nextTick = function(e) {
9422
9373
  var t = Array(arguments.length - 1);
9423
9374
  if (arguments.length > 1) for (var n = 1; n < arguments.length; n++) t[n - 1] = arguments[n];
9424
- _y.push(new Cy(e, t)), _y.length === 1 && !vy && hy(Sy);
9375
+ uy.push(new gy(e, t)), uy.length === 1 && !dy && cy(hy);
9425
9376
  };
9426
- function Cy(e, t) {
9377
+ function gy(e, t) {
9427
9378
  this.fun = e, this.array = t;
9428
9379
  }
9429
- Cy.prototype.run = function() {
9380
+ gy.prototype.run = function() {
9430
9381
  this.fun.apply(null, this.array);
9431
- }, uy.title = "browser", uy.browser = !0, uy.env = {}, uy.argv = [], uy.version = "", uy.versions = {};
9432
- function wy() {}
9433
- uy.on = wy, uy.addListener = wy, uy.once = wy, uy.off = wy, uy.removeListener = wy, uy.removeAllListeners = wy, uy.emit = wy, uy.prependListener = wy, uy.prependOnceListener = wy, uy.listeners = function(e) {
9382
+ }, ry.title = "browser", ry.browser = !0, ry.env = {}, ry.argv = [], ry.version = "", ry.versions = {};
9383
+ function _y() {}
9384
+ ry.on = _y, ry.addListener = _y, ry.once = _y, ry.off = _y, ry.removeListener = _y, ry.removeAllListeners = _y, ry.emit = _y, ry.prependListener = _y, ry.prependOnceListener = _y, ry.listeners = function(e) {
9434
9385
  return [];
9435
- }, uy.binding = function(e) {
9386
+ }, ry.binding = function(e) {
9436
9387
  throw Error("process.binding is not supported");
9437
- }, uy.cwd = function() {
9388
+ }, ry.cwd = function() {
9438
9389
  return "/";
9439
- }, uy.chdir = function(e) {
9390
+ }, ry.chdir = function(e) {
9440
9391
  throw Error("process.chdir is not supported");
9441
- }, uy.umask = function() {
9392
+ }, ry.umask = function() {
9442
9393
  return 0;
9443
9394
  };
9444
- var Ty = ly.exports, Ey = /* @__PURE__ */ cy(Ty), Dy = class {
9395
+ var vy = ny.exports, yy = /* @__PURE__ */ ty(vy), by = class {
9445
9396
  async getPkmsCredential() {
9446
- let e = Ey.env.PKMS_API_KEY;
9397
+ let e = yy.env.PKMS_API_KEY;
9447
9398
  if (e === void 0) throw Error("PKMS_API_KEY environment variable is not set.");
9448
9399
  return e;
9449
9400
  }
9450
- }, Oy = "https://pkms.admin.carmentis.io", ky = class e {
9401
+ }, xy = "https://pkms.admin.carmentis.io", Sy = class e {
9451
9402
  static createFromKeyId(t) {
9452
9403
  return new e(t);
9453
9404
  }
9454
- credentialProvider = new Dy();
9455
- constructor(e, t = { host: Oy }) {
9405
+ credentialProvider = new by();
9406
+ constructor(e, t = { host: xy }) {
9456
9407
  this.keyId = e, this.options = t;
9457
9408
  }
9458
9409
  getKeyId() {
@@ -9505,26 +9456,51 @@ var Ty = ly.exports, Ey = /* @__PURE__ */ cy(Ty), Dy = class {
9505
9456
  throw e;
9506
9457
  }
9507
9458
  }
9508
- }, Ay = class extends Jv {
9459
+ }, Cy = class extends Jv {
9509
9460
  getSignatureSchemeId() {
9510
9461
  return Ja.PKMS_SECP256K1;
9511
9462
  }
9512
- }, jy = class extends iy {
9513
- constructor() {
9514
- super(["PKMS", "SECP256K1"]);
9463
+ }, wy = "sig", Ty = "secp256k1", Ey = "mldsa65", Dy = "pkms", Oy = "pk", ky = "sk", Ay = class {
9464
+ bytesEncoder = Sg.bytesToHexEncoder();
9465
+ async isAcceptingPublicKeyEncodingRequest(e) {
9466
+ return this.getPublicKeySchemeTags(e).length > 0;
9515
9467
  }
9516
9468
  async isAcceptingPrivateKeyEncodingRequest(e) {
9517
- return e instanceof ky;
9469
+ return this.getPrivateKeySchemeTags(e).length > 0;
9518
9470
  }
9519
- async isAcceptingPublicKeyEncodingRequest(e) {
9520
- return e instanceof Ay;
9471
+ async encodePublicKey(e) {
9472
+ if (!this.isAcceptingPublicKeyEncodingRequest(e)) throw Error("unexpected public key type");
9473
+ let t = this.getPublicKeySchemeTags(e), n = await this.getPublicKeyPayload(e);
9474
+ return [
9475
+ "sig",
9476
+ ...t,
9477
+ "pk",
9478
+ n
9479
+ ].join(":");
9521
9480
  }
9522
9481
  async encodePrivateKey(e) {
9523
- if (!(e instanceof ky)) throw Error("Invalid private key type: " + e.constructor.name);
9524
- let t = e.getKeyId();
9525
- return Eg.encode(...this.getHCVPrivateKeyEncodingPrefix(), t);
9482
+ if (!this.isAcceptingPrivateKeyEncodingRequest(e)) throw Error("unexpected private key type");
9483
+ let t = this.getPrivateKeySchemeTags(e), n = await this.getPrivateKeyPayload(e);
9484
+ return [
9485
+ "sig",
9486
+ ...t,
9487
+ "sk",
9488
+ n
9489
+ ].join(":");
9490
+ }
9491
+ async getPublicKeyPayload(e) {
9492
+ return this.bytesEncoder.encode(await e.getPublicKeyAsBytes());
9526
9493
  }
9527
- }, My = "SIG", Ny = "SK", Py = "PK", Fy = class e {
9494
+ async getPrivateKeyPayload(e) {
9495
+ return e instanceof Sy ? e.getKeyId() : this.bytesEncoder.encode(e.getPrivateKeyAsBytes());
9496
+ }
9497
+ getPublicKeySchemeTags(e) {
9498
+ return e instanceof Jv ? [Ty] : e instanceof Qg ? [Ey] : e instanceof Cy ? [Dy, Ty] : [];
9499
+ }
9500
+ getPrivateKeySchemeTags(e) {
9501
+ return e instanceof Yv ? [Ty] : e instanceof $g ? [Ey] : e instanceof Sy ? [Dy, Ty] : [];
9502
+ }
9503
+ }, jy = "SIG", My = "SK", Ny = "PK", Py = class e {
9528
9504
  static logger = k.getLogger(["HCVSignatureDecoder"]);
9529
9505
  bytesEncoder = Sg.bytesToHexEncoder();
9530
9506
  constructor(e) {
@@ -9533,28 +9509,28 @@ var Ty = ly.exports, Ey = /* @__PURE__ */ cy(Ty), Dy = class {
9533
9509
  async isAcceptingPrivateKeyDecodingRequest(t) {
9534
9510
  try {
9535
9511
  let n = Eg.decode(t);
9536
- return e.logger.debug(`Attempt to decode private key for ${this.labels}: found ${n.getKeys()}`), n.matchesKeys(My, ...this.labels, Ny);
9512
+ return e.logger.debug(`Attempt to decode private key for ${this.labels}: found ${n.getKeys()}`), n.matchesKeys(jy, ...this.labels, My);
9537
9513
  } catch (t) {
9538
9514
  return e.logger.debug(`Fail to decode private key for ${this.labels}: ${t}`), !1;
9539
9515
  }
9540
9516
  }
9541
9517
  async isAcceptingPublicKeyDecodingRequest(e) {
9542
9518
  try {
9543
- return Eg.decode(e).matchesKeys(My, ...this.labels, Py);
9519
+ return Eg.decode(e).matchesKeys(jy, ...this.labels, Ny);
9544
9520
  } catch {
9545
9521
  return !1;
9546
9522
  }
9547
9523
  }
9548
9524
  static getSignatureKey() {
9549
- return My;
9525
+ return jy;
9550
9526
  }
9551
9527
  static getSkSignatureKey() {
9552
- return Ny;
9528
+ return My;
9553
9529
  }
9554
9530
  static getPkSignatureKey() {
9555
- return Py;
9531
+ return Ny;
9556
9532
  }
9557
- }, Iy = class extends Fy {
9533
+ }, Fy = class extends Py {
9558
9534
  async decodePrivateKey(e) {
9559
9535
  let t = Eg.decode(e), n = this.bytesEncoder.decode(t.getValue());
9560
9536
  return this.bootstrapPrivateKey(n);
@@ -9563,7 +9539,7 @@ var Ty = ly.exports, Ey = /* @__PURE__ */ cy(Ty), Dy = class {
9563
9539
  let t = Eg.decode(e), n = this.bytesEncoder.decode(t.getValue());
9564
9540
  return this.bootstrapPublicKey(n);
9565
9541
  }
9566
- }, Ly = class e extends Iy {
9542
+ }, Iy = class e extends Fy {
9567
9543
  static label = "SECP256K1";
9568
9544
  constructor() {
9569
9545
  super([e.label]);
@@ -9574,7 +9550,7 @@ var Ty = ly.exports, Ey = /* @__PURE__ */ cy(Ty), Dy = class {
9574
9550
  bootstrapPublicKey(e) {
9575
9551
  return new Jv(e);
9576
9552
  }
9577
- }, Ry = class e extends Iy {
9553
+ }, Ly = class e extends Fy {
9578
9554
  static ML_DSA65_SIGNATURE_KEY = "MLDSA65";
9579
9555
  constructor() {
9580
9556
  super([e.ML_DSA65_SIGNATURE_KEY]);
@@ -9585,28 +9561,85 @@ var Ty = ly.exports, Ey = /* @__PURE__ */ cy(Ty), Dy = class {
9585
9561
  bootstrapPublicKey(e) {
9586
9562
  return new Qg(e);
9587
9563
  }
9588
- }, zy = class e extends Fy {
9564
+ }, Ry = class e extends Py {
9589
9565
  static label = ["PKMS", "SECP256K1"];
9590
9566
  constructor() {
9591
9567
  super(e.label);
9592
9568
  }
9593
9569
  async decodePrivateKey(e) {
9594
- return new ky(Eg.decode(e).getValue());
9570
+ return new Sy(Eg.decode(e).getValue());
9595
9571
  }
9596
9572
  async decodePublicKey(e) {
9597
9573
  let t = Eg.decode(e);
9598
- return new Ay(this.bytesEncoder.decode(t.getValue()));
9574
+ return new Cy(this.bytesEncoder.decode(t.getValue()));
9575
+ }
9576
+ }, zy = class e {
9577
+ bytesEncoder = Sg.bytesToHexEncoder();
9578
+ static getAcceptedSchemeTags() {
9579
+ return [
9580
+ [Ty],
9581
+ [Ey],
9582
+ [Dy, Ty]
9583
+ ];
9584
+ }
9585
+ async isAcceptingPublicKeyDecodingRequest(e) {
9586
+ let t = this.getKeyParts(e);
9587
+ return t !== null && t.typeTag === "pk";
9588
+ }
9589
+ async isAcceptingPrivateKeyDecodingRequest(e) {
9590
+ let t = this.getKeyParts(e);
9591
+ return t !== null && t.typeTag === "sk";
9592
+ }
9593
+ async decodePublicKey(e) {
9594
+ let t = this.getKeyParts(e);
9595
+ if (t === null) throw Error("invalid key format");
9596
+ if (t.typeTag !== "pk") throw Error("not a public key format");
9597
+ switch (t.schemeTags[0]) {
9598
+ case Ty: return new Jv(this.bytesEncoder.decode(t.payload));
9599
+ case Ey: return new Qg(this.bytesEncoder.decode(t.payload));
9600
+ case Dy:
9601
+ if (t.schemeTags[1] === "secp256k1") return new Cy(this.bytesEncoder.decode(t.payload));
9602
+ break;
9603
+ }
9604
+ throw Error("unsupported key format");
9605
+ }
9606
+ async decodePrivateKey(e) {
9607
+ let t = this.getKeyParts(e);
9608
+ if (t === null) throw Error("invalid key format");
9609
+ if (t.typeTag !== "sk") throw Error("not a private key format");
9610
+ switch (t.schemeTags[0]) {
9611
+ case Ty: return new Yv(this.bytesEncoder.decode(t.payload));
9612
+ case Ey: return new $g(this.bytesEncoder.decode(t.payload));
9613
+ case Dy:
9614
+ if (t.schemeTags[1] === "secp256k1") {
9615
+ let e = t.payload;
9616
+ return new Sy(e);
9617
+ }
9618
+ break;
9619
+ }
9620
+ throw Error("unsupported key format");
9621
+ }
9622
+ getKeyParts(t) {
9623
+ let n = t.split(":"), r = 0;
9624
+ if (n[r++] !== "sig") return null;
9625
+ let i = [], a = n[r++];
9626
+ if (i.push(a), a === "pkms" && i.push(n[r++]), !e.getAcceptedSchemeTags().some((e) => i.length === e.length && i.every((t, n) => e[n] === t))) return null;
9627
+ let o = n[r++];
9628
+ if (o !== "pk" && o !== "sk") return null;
9629
+ let s = n[r++];
9630
+ return s === void 0 || n[r] !== void 0 ? null : {
9631
+ schemeTags: i,
9632
+ typeTag: o,
9633
+ payload: s
9634
+ };
9599
9635
  }
9600
9636
  }, By = class {
9601
- encoders = [
9602
- new oy(),
9603
- new sy(),
9604
- new jy()
9605
- ];
9637
+ encoders = [new Ay()];
9606
9638
  decoders = [
9639
+ new zy(),
9640
+ new Iy(),
9607
9641
  new Ly(),
9608
- new Ry(),
9609
- new zy()
9642
+ new Ry()
9610
9643
  ];
9611
9644
  constructor(e = Sg.bytesToHexEncoder()) {
9612
9645
  this.bytesEncoder = e;
@@ -14828,11 +14861,75 @@ var nw = class {
14828
14861
  }
14829
14862
  throw Error("Unsupported key type");
14830
14863
  }
14831
- }, rw = class {
14864
+ }, rw = "SIG", iw = "SK", aw = "PK", ow = class {
14865
+ bytesEncoder = Sg.bytesToHexEncoder();
14866
+ constructor(e) {
14867
+ this.labels = e;
14868
+ }
14869
+ async encodePublicKey(e) {
14870
+ return Eg.encode(...this.getHCVPublicKeyEncodingPrefix(), this.bytesEncoder.encode(await e.getPublicKeyAsBytes()));
14871
+ }
14872
+ getHCVPrivateKeyEncodingPrefix() {
14873
+ return [
14874
+ rw,
14875
+ ...this.labels,
14876
+ iw
14877
+ ];
14878
+ }
14879
+ getHCVPublicKeyEncodingPrefix() {
14880
+ return [
14881
+ rw,
14882
+ ...this.labels,
14883
+ aw
14884
+ ];
14885
+ }
14886
+ }, sw = class extends ow {
14887
+ constructor(e) {
14888
+ super(e);
14889
+ }
14890
+ async encodePrivateKey(e) {
14891
+ return Eg.encode(...this.getHCVPrivateKeyEncodingPrefix(), this.bytesEncoder.encode(e.getPrivateKeyAsBytes()));
14892
+ }
14893
+ }, cw = class extends sw {
14894
+ constructor() {
14895
+ super(["MLDSA65"]);
14896
+ }
14897
+ async isAcceptingPrivateKeyEncodingRequest(e) {
14898
+ return e instanceof $g;
14899
+ }
14900
+ async isAcceptingPublicKeyEncodingRequest(e) {
14901
+ return e instanceof Qg;
14902
+ }
14903
+ }, lw = class extends ow {
14904
+ constructor() {
14905
+ super(["PKMS", "SECP256K1"]);
14906
+ }
14907
+ async isAcceptingPrivateKeyEncodingRequest(e) {
14908
+ return e instanceof Sy;
14909
+ }
14910
+ async isAcceptingPublicKeyEncodingRequest(e) {
14911
+ return e instanceof Cy;
14912
+ }
14913
+ async encodePrivateKey(e) {
14914
+ if (!(e instanceof Sy)) throw Error("Invalid private key type: " + e.constructor.name);
14915
+ let t = e.getKeyId();
14916
+ return Eg.encode(...this.getHCVPrivateKeyEncodingPrefix(), t);
14917
+ }
14918
+ }, uw = class extends sw {
14919
+ constructor() {
14920
+ super(["SECP256K1"]);
14921
+ }
14922
+ async isAcceptingPrivateKeyEncodingRequest(e) {
14923
+ return e instanceof Yv;
14924
+ }
14925
+ async isAcceptingPublicKeyEncodingRequest(e) {
14926
+ return e instanceof Jv;
14927
+ }
14928
+ }, dw = class {
14832
14929
  static defaultEncoder() {
14833
14930
  return ey.createBase64HCVPkeEncoder();
14834
14931
  }
14835
- }, iw = class {
14932
+ }, fw = class {
14836
14933
  encodeAsUint8Array(e) {
14837
14934
  return Vs(JSON.stringify({
14838
14935
  symmetricEncryptionSchemeId: e.getSymmetricEncryptionSchemeId(),
@@ -14849,17 +14946,17 @@ var nw = class {
14849
14946
  };
14850
14947
  //#endregion
14851
14948
  //#region node_modules/.pnpm/@noble+hashes@1.8.0/node_modules/@noble/hashes/esm/scrypt.js
14852
- function aw(e, t, n, r, i, a) {
14949
+ function pw(e, t, n, r, i, a) {
14853
14950
  let o = e[t++] ^ n[r++], s = e[t++] ^ n[r++], c = e[t++] ^ n[r++], l = e[t++] ^ n[r++], u = e[t++] ^ n[r++], d = e[t++] ^ n[r++], f = e[t++] ^ n[r++], p = e[t++] ^ n[r++], m = e[t++] ^ n[r++], h = e[t++] ^ n[r++], g = e[t++] ^ n[r++], _ = e[t++] ^ n[r++], v = e[t++] ^ n[r++], y = e[t++] ^ n[r++], b = e[t++] ^ n[r++], ee = e[t++] ^ n[r++], x = o, te = s, ne = c, re = l, ie = u, ae = d, oe = f, se = p, ce = m, le = h, S = g, ue = _, de = v, fe = y, pe = b, me = ee;
14854
14951
  for (let e = 0; e < 8; e += 2) ie ^= j(x + de | 0, 7), ce ^= j(ie + x | 0, 9), de ^= j(ce + ie | 0, 13), x ^= j(de + ce | 0, 18), le ^= j(ae + te | 0, 7), fe ^= j(le + ae | 0, 9), te ^= j(fe + le | 0, 13), ae ^= j(te + fe | 0, 18), pe ^= j(S + oe | 0, 7), ne ^= j(pe + S | 0, 9), oe ^= j(ne + pe | 0, 13), S ^= j(oe + ne | 0, 18), re ^= j(me + ue | 0, 7), se ^= j(re + me | 0, 9), ue ^= j(se + re | 0, 13), me ^= j(ue + se | 0, 18), te ^= j(x + re | 0, 7), ne ^= j(te + x | 0, 9), re ^= j(ne + te | 0, 13), x ^= j(re + ne | 0, 18), oe ^= j(ae + ie | 0, 7), se ^= j(oe + ae | 0, 9), ie ^= j(se + oe | 0, 13), ae ^= j(ie + se | 0, 18), ue ^= j(S + le | 0, 7), ce ^= j(ue + S | 0, 9), le ^= j(ce + ue | 0, 13), S ^= j(le + ce | 0, 18), de ^= j(me + pe | 0, 7), fe ^= j(de + me | 0, 9), pe ^= j(fe + de | 0, 13), me ^= j(pe + fe | 0, 18);
14855
14952
  i[a++] = o + x | 0, i[a++] = s + te | 0, i[a++] = c + ne | 0, i[a++] = l + re | 0, i[a++] = u + ie | 0, i[a++] = d + ae | 0, i[a++] = f + oe | 0, i[a++] = p + se | 0, i[a++] = m + ce | 0, i[a++] = h + le | 0, i[a++] = g + S | 0, i[a++] = _ + ue | 0, i[a++] = v + de | 0, i[a++] = y + fe | 0, i[a++] = b + pe | 0, i[a++] = ee + me | 0;
14856
14953
  }
14857
- function ow(e, t, n, r, i) {
14954
+ function mw(e, t, n, r, i) {
14858
14955
  let a = r + 0, o = r + 16 * i;
14859
14956
  for (let r = 0; r < 16; r++) n[o + r] = e[t + (2 * i - 1) * 16 + r];
14860
- for (let r = 0; r < i; r++, a += 16, t += 16) aw(n, o, e, t, n, a), r > 0 && (o += 16), aw(n, a, e, t += 16, n, o);
14957
+ for (let r = 0; r < i; r++, a += 16, t += 16) pw(n, o, e, t, n, a), r > 0 && (o += 16), pw(n, a, e, t += 16, n, o);
14861
14958
  }
14862
- function sw(e, t, n) {
14959
+ function hw(e, t, n) {
14863
14960
  let { N: r, r: i, p: a, dkLen: o, asyncTick: s, maxmem: c, onProgress: l } = Gs({
14864
14961
  dkLen: 32,
14865
14962
  asyncTick: 10,
@@ -14895,53 +14992,53 @@ function sw(e, t, n) {
14895
14992
  asyncTick: s
14896
14993
  };
14897
14994
  }
14898
- function cw(e, t, n, r, i) {
14995
+ function gw(e, t, n, r, i) {
14899
14996
  let a = gv(Wc, e, n, {
14900
14997
  c: 1,
14901
14998
  dkLen: t
14902
14999
  });
14903
15000
  return As(n, r, i), a;
14904
15001
  }
14905
- function lw(e, t, n) {
14906
- let { N: r, r: i, p: a, dkLen: o, blockSize32: s, V: c, B32: l, B: u, tmp: d, blockMixCb: f } = sw(e, t, n);
15002
+ function _w(e, t, n) {
15003
+ let { N: r, r: i, p: a, dkLen: o, blockSize32: s, V: c, B32: l, B: u, tmp: d, blockMixCb: f } = hw(e, t, n);
14907
15004
  Is(l);
14908
15005
  for (let e = 0; e < a; e++) {
14909
15006
  let t = s * e;
14910
15007
  for (let e = 0; e < s; e++) c[e] = l[t + e];
14911
- for (let e = 0, t = 0; e < r - 1; e++) ow(c, t, c, t += s, i), f();
14912
- ow(c, (r - 1) * s, l, t, i), f();
15008
+ for (let e = 0, t = 0; e < r - 1; e++) mw(c, t, c, t += s, i), f();
15009
+ mw(c, (r - 1) * s, l, t, i), f();
14913
15010
  for (let e = 0; e < r; e++) {
14914
15011
  let e = l[t + s - 16] % r;
14915
15012
  for (let n = 0; n < s; n++) d[n] = l[t + n] ^ c[e * s + n];
14916
- ow(d, 0, l, t, i), f();
15013
+ mw(d, 0, l, t, i), f();
14917
15014
  }
14918
15015
  }
14919
- return Is(l), cw(e, o, u, c, d);
15016
+ return Is(l), gw(e, o, u, c, d);
14920
15017
  }
14921
15018
  //#endregion
14922
15019
  //#region src/crypto/kdf/Scrypt.ts
14923
- var uw = class extends vv {
15020
+ var vw = class extends vv {
14924
15021
  getKeyDerivationFunctionSchemeId() {
14925
15022
  return _v.SCRYPT;
14926
15023
  }
14927
15024
  deriveKey(e, t, n) {
14928
- return lw(e, t, {
15025
+ return _w(e, t, {
14929
15026
  N: 2 ** 16,
14930
15027
  r: 8,
14931
15028
  p: 1,
14932
15029
  dkLen: n
14933
15030
  });
14934
15031
  }
14935
- }, dw = /* @__PURE__ */ function(e) {
15032
+ }, yw = /* @__PURE__ */ function(e) {
14936
15033
  return e[e.SECP256K1 = Ja.SECP256K1] = "SECP256K1", e[e.ML_DSA_65 = Ja.ML_DSA_65] = "ML_DSA_65", e;
14937
- }({}), fw = class {
15034
+ }({}), bw = class {
14938
15035
  constructor(e) {
14939
15036
  this.apiKey = e;
14940
15037
  }
14941
15038
  async getPkmsCredential() {
14942
15039
  return this.apiKey;
14943
15040
  }
14944
- }, pw = class {
15041
+ }, xw = class {
14945
15042
  constructor() {}
14946
15043
  async has(e) {
14947
15044
  return !1;
@@ -14950,7 +15047,7 @@ var uw = class extends vv {
14950
15047
  return !1;
14951
15048
  }
14952
15049
  async set(e, t) {}
14953
- }, mw = class {
15050
+ }, Sw = class {
14954
15051
  key;
14955
15052
  constructor(e, t, n) {
14956
15053
  this.key = `${e}|${t}|${n}`;
@@ -14958,7 +15055,7 @@ var uw = class extends vv {
14958
15055
  getKey() {
14959
15056
  return this.key;
14960
15057
  }
14961
- }, hw = class {
15058
+ }, Cw = class {
14962
15059
  map;
14963
15060
  constructor() {
14964
15061
  this.map = /* @__PURE__ */ new Map();
@@ -14976,43 +15073,43 @@ var uw = class extends vv {
14976
15073
  //#endregion
14977
15074
  //#region src/crypto/signatureCache/test.ts
14978
15075
  (async function() {
14979
- new hw();
15076
+ new Cw();
14980
15077
  })();
14981
15078
  //#endregion
14982
15079
  //#region src/data/base32.ts
14983
- var gw = "0123456789ABCDEFGHJKMNPQRSTVWXYZ", _w = {
14984
- verifyFormat: vw,
14985
- encodeNumber: yw,
14986
- decodeNumber: bw,
14987
- encodeToChar: xw,
14988
- decodeFromChar: Sw,
14989
- CROCKFORD_CHARS: gw
15080
+ var ww = "0123456789ABCDEFGHJKMNPQRSTVWXYZ", Tw = {
15081
+ verifyFormat: Ew,
15082
+ encodeNumber: Dw,
15083
+ decodeNumber: Ow,
15084
+ encodeToChar: kw,
15085
+ decodeFromChar: Aw,
15086
+ CROCKFORD_CHARS: ww
14990
15087
  };
14991
- function vw(e, t = e.length) {
14992
- return RegExp(`^(${[...gw].join("|")}){${t}}$`).test(e);
15088
+ function Ew(e, t = e.length) {
15089
+ return RegExp(`^(${[...ww].join("|")}){${t}}$`).test(e);
14993
15090
  }
14994
- function yw(e, t) {
15091
+ function Dw(e, t) {
14995
15092
  if (!Number.isInteger(t) || t < 1 || t > 10) throw Error("Invalid or unsafe size for base32 encoding");
14996
15093
  if (!Number.isInteger(e) || e < 0 || e >= 32 ** t) throw Error(`Invalid number for base32 encoding of size ${t}`);
14997
- return [...Array(t).keys()].map((t) => xw(e >> t * 5 & 31)).join("");
15094
+ return [...Array(t).keys()].map((t) => kw(e >> t * 5 & 31)).join("");
14998
15095
  }
14999
- function bw(e) {
15096
+ function Ow(e) {
15000
15097
  if (e.length == 0 || e.length > 10) throw Error("Invalid base32 string length");
15001
- return [...e].reduceRight((e, t) => e << 5 | Sw(t), 0);
15098
+ return [...e].reduceRight((e, t) => e << 5 | Aw(t), 0);
15002
15099
  }
15003
- function xw(e) {
15004
- let t = gw[e];
15100
+ function kw(e) {
15101
+ let t = ww[e];
15005
15102
  if (t === void 0) throw Error("Invalid base32 value");
15006
15103
  return t;
15007
15104
  }
15008
- function Sw(e) {
15009
- let t = gw.indexOf(e);
15105
+ function Aw(e) {
15106
+ let t = ww.indexOf(e);
15010
15107
  if (e.length != 1 || t == -1) throw Error("Invalid base32 character");
15011
15108
  return t;
15012
15109
  }
15013
15110
  //#endregion
15014
15111
  //#region src/data/messageSerializer.ts
15015
- var Cw = class {
15112
+ var jw = class {
15016
15113
  collection;
15017
15114
  constructor(e) {
15018
15115
  this.collection = e;
@@ -15021,7 +15118,7 @@ var Cw = class {
15021
15118
  let n = this.collection[e], r = new Hv(n).serialize(t);
15022
15119
  return new Uint8Array([e, ...r]);
15023
15120
  }
15024
- }, ww = class {
15121
+ }, Mw = class {
15025
15122
  collection;
15026
15123
  constructor(e) {
15027
15124
  this.collection = e;
@@ -15034,7 +15131,7 @@ var Cw = class {
15034
15131
  object: new Uv(n).unserialize(e.slice(1))
15035
15132
  };
15036
15133
  }
15037
- }, Tw = class {
15134
+ }, Nw = class {
15038
15135
  schema;
15039
15136
  constructor(e) {
15040
15137
  this.schema = e;
@@ -15072,12 +15169,12 @@ var Cw = class {
15072
15169
  }
15073
15170
  }
15074
15171
  }
15075
- }, Ew = {
15076
- getAccountTypeFromIdentifier: Dw,
15077
- getSpecialAccountTypeIdentifier: Ow,
15078
- isAllowedTransfer: kw
15172
+ }, Pw = {
15173
+ getAccountTypeFromIdentifier: Fw,
15174
+ getSpecialAccountTypeIdentifier: Iw,
15175
+ isAllowedTransfer: Lw
15079
15176
  };
15080
- function Dw(e) {
15177
+ function Fw(e) {
15081
15178
  if (e.length != 32) throw Error("invalid account identifier");
15082
15179
  if (e.slice(0, -1).every((e) => e == 0)) {
15083
15180
  let t = e[31];
@@ -15086,17 +15183,17 @@ function Dw(e) {
15086
15183
  }
15087
15184
  return 1;
15088
15185
  }
15089
- function Ow(e) {
15186
+ function Iw(e) {
15090
15187
  if (e == 1 || !Ur[e]) throw Error(`${e} is not a valid special account type`);
15091
15188
  let t = new Uint8Array(32);
15092
15189
  return t[31] = e, t;
15093
15190
  }
15094
- function kw(e, t) {
15191
+ function Lw(e, t) {
15095
15192
  return Wr[e] >> t & 1;
15096
15193
  }
15097
15194
  //#endregion
15098
15195
  //#region src/economics/currencies/euros.ts
15099
- var Aw = class e {
15196
+ var Rw = class e {
15100
15197
  constructor(e) {
15101
15198
  this.amount = e;
15102
15199
  }
@@ -15109,19 +15206,19 @@ var Aw = class e {
15109
15206
  toString() {
15110
15207
  return `${this.amount} €`;
15111
15208
  }
15112
- }, jw = class {
15209
+ }, zw = class {
15113
15210
  static defaultEurosToCMTSTokenConverter() {
15114
- return new Mw();
15211
+ return new Bw();
15115
15212
  }
15116
- }, Mw = class e {
15213
+ }, Bw = class e {
15117
15214
  static TOKENS_FOR_ONE_EUROS = 100;
15118
15215
  convert(t) {
15119
15216
  return hn.create(t.getAmount() * e.TOKENS_FOR_ONE_EUROS);
15120
15217
  }
15121
15218
  invert(t) {
15122
- return Aw.create(t.getAmount() / e.TOKENS_FOR_ONE_EUROS);
15219
+ return Rw.create(t.getAmount() / e.TOKENS_FOR_ONE_EUROS);
15123
15220
  }
15124
- }, Nw = class e {
15221
+ }, Vw = class e {
15125
15222
  constructor(e, t, n) {
15126
15223
  this.verified = e, this.appLedger = t, this.importedProofs = n;
15127
15224
  }
@@ -15143,45 +15240,57 @@ var Aw = class e {
15143
15240
  async getRecordContainedInBlockAtHeight(e, t) {
15144
15241
  throw Error("Not implemented");
15145
15242
  }
15146
- }, Pw = /* @__PURE__ */ function(e) {
15243
+ }, Hw = /* @__PURE__ */ function(e) {
15147
15244
  return e[e.PARSE_ERROR = -32700] = "PARSE_ERROR", e[e.INVALID_REQUEST = -32600] = "INVALID_REQUEST", e[e.METHOD_NOT_FOUND = -32601] = "METHOD_NOT_FOUND", e[e.INVALID_PARAMS = -32602] = "INVALID_PARAMS", e[e.INTERNAL_ERROR = -32603] = "INTERNAL_ERROR", e[e.ENDPOINT_CLOSED_WHILE_NODE_IS_CATCHING_UP = -32603] = "ENDPOINT_CLOSED_WHILE_NODE_IS_CATCHING_UP", e[e.TX_ALREADY_EXISTS = -32003] = "TX_ALREADY_EXISTS", e[e.TX_OUT_OF_GAS = -32002] = "TX_OUT_OF_GAS", e[e.TX_CHECK_FAILED = -32001] = "TX_CHECK_FAILED", e[e.TX_DELIVER_FAILED = -32e3] = "TX_DELIVER_FAILED", e;
15148
- }({}), Fw = 1, Iw = class e extends iC {
15245
+ }({}), Uw = 1, Ww = class e extends iC {
15149
15246
  constructor(e) {
15150
15247
  super(e);
15151
15248
  }
15152
15249
  static createEmptyProof() {
15153
15250
  return new e({
15154
15251
  type: "accountProof",
15155
- info: iC.getDefaultInfo(Fw),
15252
+ info: iC.getDefaultInfo(Uw),
15156
15253
  proof: { accounts: [] }
15157
15254
  });
15158
15255
  }
15159
15256
  static fromObject(t) {
15160
15257
  return new e(R(tC, t));
15161
15258
  }
15162
- }, Lw = 1, Rw = class e extends iC {
15259
+ addAccount(e) {
15260
+ this.wrapper.proof.accounts.push(e);
15261
+ }
15262
+ getAccounts() {
15263
+ return this.wrapper.proof.accounts;
15264
+ }
15265
+ }, Gw = 1, Kw = class e extends iC {
15163
15266
  constructor(e) {
15164
15267
  super(e);
15165
15268
  }
15166
15269
  static createEmptyProof() {
15167
15270
  return new e({
15168
15271
  type: "microblockProof",
15169
- info: iC.getDefaultInfo(Lw),
15272
+ info: iC.getDefaultInfo(Gw),
15170
15273
  proof: { microblocks: [] }
15171
15274
  });
15172
15275
  }
15173
15276
  static fromObject(t) {
15174
15277
  return new e(R(rC, t));
15175
15278
  }
15176
- }, zw = class {
15279
+ addMicroblock(e) {
15280
+ this.wrapper.proof.microblocks.push(e);
15281
+ }
15282
+ getMicroblocks() {
15283
+ return this.wrapper.proof.microblocks;
15284
+ }
15285
+ }, qw = class {
15177
15286
  static importProof(e) {
15178
15287
  switch (R(ZS, e), e.type) {
15179
- case "accountProof": return new Iw(e);
15288
+ case "accountProof": return new Ww(e);
15180
15289
  case "appLedgerProof": return new oC(e);
15181
- case "microblockProof": return new Rw(e);
15290
+ case "microblockProof": return new Kw(e);
15182
15291
  }
15183
15292
  }
15184
- }, Bw = class e {
15293
+ }, Jw = class e {
15185
15294
  log = k.getAbstractProviderLogger(e.name);
15186
15295
  async loadValidatorNodeVirtualBlockchain(e) {
15187
15296
  let t = new pS(this);
@@ -15250,7 +15359,7 @@ var Aw = class e {
15250
15359
  if (r.type !== e.getType()) throw Error("Invalid blockchain type loaded");
15251
15360
  e.setIdentifier(n), e.setHeight(r.height), e.setExpirationDay(r.expirationDay), e.setInternalState(Ux.createInternalStateFromObject(e.getType(), r.internalState));
15252
15361
  }
15253
- }, Vw = class e {
15362
+ }, Yw = class e {
15254
15363
  expirationDate;
15255
15364
  endless;
15256
15365
  constructor(e, t) {
@@ -15272,7 +15381,7 @@ var Aw = class e {
15272
15381
  getExpirationDate() {
15273
15382
  return this.expirationDate.unwrap();
15274
15383
  }
15275
- }, Hw = class e {
15384
+ }, Xw = class e {
15276
15385
  static logger = k.getMemoryProviderLogger();
15277
15386
  static instance = new e();
15278
15387
  static getInstance() {
@@ -15360,7 +15469,7 @@ var Aw = class e {
15360
15469
  let i = A.binaryToHexa(n), a = A.binaryToHexa(r), o = t.get(i);
15361
15470
  o === void 0 ? e.logger.info(`Storing new entry for key ${i}`) : o === a ? e.logger.info(`Storing the same data for the same key ${i}`) : e.logger.info(`Storing new data for key ${i}`), t.set(i, a);
15362
15471
  }
15363
- }, Uw = /* @__PURE__ */ I({
15472
+ }, Zw = /* @__PURE__ */ I({
15364
15473
  jsonrpc: /* @__PURE__ */ P("2.0"),
15365
15474
  id: /* @__PURE__ */ F(),
15366
15475
  result: /* @__PURE__ */ I({
@@ -15403,75 +15512,67 @@ var Aw = class e {
15403
15512
  })
15404
15513
  }), $ = /* @__PURE__ */ function(e) {
15405
15514
  return e[e.GET_CHAIN_INFORMATION = 1] = "GET_CHAIN_INFORMATION", e[e.GET_BLOCK_INFORMATION = 3] = "GET_BLOCK_INFORMATION", e[e.GET_BLOCK_CONTENT = 5] = "GET_BLOCK_CONTENT", e[e.GET_VIRTUAL_BLOCKCHAIN_STATE = 7] = "GET_VIRTUAL_BLOCKCHAIN_STATE", e[e.GET_VIRTUAL_BLOCKCHAIN_UPDATE = 9] = "GET_VIRTUAL_BLOCKCHAIN_UPDATE", e[e.GET_MICROBLOCK_INFORMATION = 11] = "GET_MICROBLOCK_INFORMATION", e[e.AWAIT_MICROBLOCK_ANCHORING = 13] = "AWAIT_MICROBLOCK_ANCHORING", e[e.GET_MICROBLOCK_BODYS = 15] = "GET_MICROBLOCK_BODYS", e[e.GET_ACCOUNT_STATE = 17] = "GET_ACCOUNT_STATE", e[e.GET_ACCOUNT_HISTORY = 19] = "GET_ACCOUNT_HISTORY", e[e.GET_ACCOUNT_BY_PUBLIC_KEY_HASH = 21] = "GET_ACCOUNT_BY_PUBLIC_KEY_HASH", e[e.GET_VALIDATOR_NODE_BY_ADDRESS = 23] = "GET_VALIDATOR_NODE_BY_ADDRESS", e[e.GET_OBJECT_LIST = 25] = "GET_OBJECT_LIST", e[e.GET_GENESIS_SNAPSHOT = 27] = "GET_GENESIS_SNAPSHOT", e[e.GET_RAW_BLOCK_CONTENT = 29] = "GET_RAW_BLOCK_CONTENT", e[e.GET_BLOCK_MODIFIED_ACCOUNTS = 31] = "GET_BLOCK_MODIFIED_ACCOUNTS", e[e.GET_ACCOUNT_UPDATES = 33] = "GET_ACCOUNT_UPDATES", e[e.GET_MICROBLOCK_INFORMATION_BY_HEIGHT = 35] = "GET_MICROBLOCK_INFORMATION_BY_HEIGHT", e[e.GET_SERIALIZED_MICROBLOCK_BY_HEIGHT = 37] = "GET_SERIALIZED_MICROBLOCK_BY_HEIGHT", e[e.GET_MICROBLOCK_PROOF = 39] = "GET_MICROBLOCK_PROOF", e[e.GET_ACCOUNT_PROOF = 41] = "GET_ACCOUNT_PROOF", e;
15406
- }({}), Ww = /* @__PURE__ */ I({ requestType: /* @__PURE__ */ P($.GET_CHAIN_INFORMATION) }), Gw = /* @__PURE__ */ I({
15515
+ }({}), Qw = /* @__PURE__ */ I({ requestType: /* @__PURE__ */ P($.GET_CHAIN_INFORMATION) }), $w = /* @__PURE__ */ I({
15407
15516
  requestType: /* @__PURE__ */ P($.GET_BLOCK_INFORMATION),
15408
15517
  height: /* @__PURE__ */ z(/* @__PURE__ */ F(), /* @__PURE__ */ Ip(), /* @__PURE__ */ Bp(0))
15409
- }), Kw = /* @__PURE__ */ I({
15518
+ }), eT = /* @__PURE__ */ I({
15410
15519
  requestType: /* @__PURE__ */ P($.GET_BLOCK_CONTENT),
15411
15520
  height: /* @__PURE__ */ z(/* @__PURE__ */ F(), /* @__PURE__ */ Ip(), /* @__PURE__ */ Bp(0))
15412
- }), qw = /* @__PURE__ */ I({
15521
+ }), tT = /* @__PURE__ */ I({
15413
15522
  requestType: /* @__PURE__ */ P($.GET_VIRTUAL_BLOCKCHAIN_STATE),
15414
15523
  virtualBlockchainId: Mm()
15415
- }), Jw = /* @__PURE__ */ I({
15524
+ }), nT = /* @__PURE__ */ I({
15416
15525
  requestType: /* @__PURE__ */ P($.GET_VIRTUAL_BLOCKCHAIN_UPDATE),
15417
15526
  virtualBlockchainId: Mm(),
15418
15527
  knownStateHash: Mm()
15419
- }), Yw = /* @__PURE__ */ I({
15528
+ }), rT = /* @__PURE__ */ I({
15420
15529
  requestType: /* @__PURE__ */ P($.GET_MICROBLOCK_INFORMATION),
15421
15530
  hash: Mm()
15422
- }), Xw = /* @__PURE__ */ I({
15531
+ }), iT = /* @__PURE__ */ I({
15423
15532
  requestType: /* @__PURE__ */ P($.AWAIT_MICROBLOCK_ANCHORING),
15424
15533
  hash: Mm()
15425
- }), Zw = /* @__PURE__ */ I({
15534
+ }), aT = /* @__PURE__ */ I({
15426
15535
  requestType: /* @__PURE__ */ P($.GET_MICROBLOCK_BODYS),
15427
15536
  hashes: /* @__PURE__ */ N(Mm())
15428
- }), Qw = /* @__PURE__ */ I({
15537
+ }), oT = /* @__PURE__ */ I({
15429
15538
  requestType: /* @__PURE__ */ P($.GET_ACCOUNT_STATE),
15430
15539
  accountHash: Mm()
15431
- }), $w = /* @__PURE__ */ I({
15540
+ }), sT = /* @__PURE__ */ I({
15432
15541
  requestType: /* @__PURE__ */ P($.GET_ACCOUNT_HISTORY),
15433
15542
  accountHash: Mm(),
15434
15543
  lastHistoryHash: Mm(),
15435
15544
  maxRecords: /* @__PURE__ */ z(/* @__PURE__ */ F(), /* @__PURE__ */ Ip(), /* @__PURE__ */ Bp(1))
15436
- }), eT = /* @__PURE__ */ I({
15545
+ }), cT = /* @__PURE__ */ I({
15437
15546
  requestType: /* @__PURE__ */ P($.GET_ACCOUNT_BY_PUBLIC_KEY_HASH),
15438
15547
  publicKeyHash: Mm()
15439
- }), tT = /* @__PURE__ */ I({
15548
+ }), lT = /* @__PURE__ */ I({
15440
15549
  requestType: /* @__PURE__ */ P($.GET_VALIDATOR_NODE_BY_ADDRESS),
15441
15550
  address: B()
15442
- }), nT = /* @__PURE__ */ I({ requestType: /* @__PURE__ */ P($.GET_GENESIS_SNAPSHOT) }), rT = /* @__PURE__ */ I({
15551
+ }), uT = /* @__PURE__ */ I({ requestType: /* @__PURE__ */ P($.GET_GENESIS_SNAPSHOT) }), dT = /* @__PURE__ */ I({
15443
15552
  requestType: /* @__PURE__ */ P($.GET_RAW_BLOCK_CONTENT),
15444
15553
  height: /* @__PURE__ */ z(/* @__PURE__ */ F(), /* @__PURE__ */ Ip(), /* @__PURE__ */ Bp(0)),
15445
15554
  partIndex: /* @__PURE__ */ z(/* @__PURE__ */ F(), /* @__PURE__ */ Ip(), /* @__PURE__ */ Bp(0))
15446
- }), iT = /* @__PURE__ */ I({
15555
+ }), fT = /* @__PURE__ */ I({
15447
15556
  requestType: /* @__PURE__ */ P($.GET_BLOCK_MODIFIED_ACCOUNTS),
15448
15557
  height: /* @__PURE__ */ z(/* @__PURE__ */ F(), /* @__PURE__ */ Ip(), /* @__PURE__ */ Bp(0))
15449
- }), aT = /* @__PURE__ */ I({
15558
+ }), pT = /* @__PURE__ */ I({
15450
15559
  requestType: /* @__PURE__ */ P($.GET_ACCOUNT_UPDATES),
15451
15560
  list: /* @__PURE__ */ N(pg)
15452
- }), oT = /* @__PURE__ */ I({
15561
+ }), mT = /* @__PURE__ */ I({
15453
15562
  requestType: /* @__PURE__ */ P($.GET_MICROBLOCK_INFORMATION_BY_HEIGHT),
15454
15563
  virtualBlockchainId: Mm(),
15455
15564
  height: /* @__PURE__ */ F()
15456
- }), sT = /* @__PURE__ */ I({
15565
+ }), hT = /* @__PURE__ */ I({
15457
15566
  requestType: /* @__PURE__ */ P($.GET_SERIALIZED_MICROBLOCK_BY_HEIGHT),
15458
15567
  virtualBlockchainId: Mm(),
15459
15568
  height: /* @__PURE__ */ F()
15460
- }), cT = /* @__PURE__ */ I({
15569
+ }), gT = /* @__PURE__ */ I({
15461
15570
  requestType: /* @__PURE__ */ P($.GET_MICROBLOCK_PROOF),
15462
15571
  hash: Mm()
15463
- }), lT = /* @__PURE__ */ I({
15572
+ }), _T = /* @__PURE__ */ I({
15464
15573
  requestType: /* @__PURE__ */ P($.GET_ACCOUNT_PROOF),
15465
15574
  accountId: Mm()
15466
- }), uT = /* @__PURE__ */ am("requestType", [
15467
- Ww,
15468
- Gw,
15469
- Kw,
15470
- qw,
15471
- Jw,
15472
- Yw,
15473
- Xw,
15474
- Zw,
15575
+ }), vT = /* @__PURE__ */ am("requestType", [
15475
15576
  Qw,
15476
15577
  $w,
15477
15578
  eT,
@@ -15483,21 +15584,29 @@ var Aw = class e {
15483
15584
  oT,
15484
15585
  sT,
15485
15586
  cT,
15486
- lT
15487
- ]), dT = /* @__PURE__ */ function(e) {
15587
+ lT,
15588
+ uT,
15589
+ dT,
15590
+ fT,
15591
+ pT,
15592
+ mT,
15593
+ hT,
15594
+ gT,
15595
+ _T
15596
+ ]), yT = /* @__PURE__ */ function(e) {
15488
15597
  return e[e.ERROR = 0] = "ERROR", e[e.CHAIN_INFORMATION = 2] = "CHAIN_INFORMATION", e[e.BLOCK_INFORMATION = 4] = "BLOCK_INFORMATION", e[e.BLOCK_CONTENT = 6] = "BLOCK_CONTENT", e[e.VIRTUAL_BLOCKCHAIN_STATE = 8] = "VIRTUAL_BLOCKCHAIN_STATE", e[e.VIRTUAL_BLOCKCHAIN_UPDATE = 10] = "VIRTUAL_BLOCKCHAIN_UPDATE", e[e.MICROBLOCK_INFORMATION = 12] = "MICROBLOCK_INFORMATION", e[e.MICROBLOCK_ANCHORING = 14] = "MICROBLOCK_ANCHORING", e[e.MICROBLOCK_BODYS = 16] = "MICROBLOCK_BODYS", e[e.ACCOUNT_STATE = 18] = "ACCOUNT_STATE", e[e.ACCOUNT_HISTORY = 20] = "ACCOUNT_HISTORY", e[e.ACCOUNT_BY_PUBLIC_KEY_HASH = 22] = "ACCOUNT_BY_PUBLIC_KEY_HASH", e[e.VALIDATOR_NODE_BY_ADDRESS = 24] = "VALIDATOR_NODE_BY_ADDRESS", e[e.OBJECT_LIST = 26] = "OBJECT_LIST", e[e.GENESIS_SNAPSHOT = 28] = "GENESIS_SNAPSHOT", e[e.RAW_BLOCK_CONTENT = 30] = "RAW_BLOCK_CONTENT", e[e.BLOCK_MODIFIED_ACCOUNTS = 32] = "BLOCK_MODIFIED_ACCOUNTS", e[e.ACCOUNT_UPDATES = 34] = "ACCOUNT_UPDATES", e[e.SERIALIAZED_MICROBLOCK_BY_HEIGHT = 38] = "SERIALIAZED_MICROBLOCK_BY_HEIGHT", e[e.MICROBLOCK_PROOF = 40] = "MICROBLOCK_PROOF", e[e.ACCOUNT_PROOF = 42] = "ACCOUNT_PROOF", e;
15489
- }({}), fT = /* @__PURE__ */ I({
15490
- responseType: /* @__PURE__ */ P(dT.ERROR),
15598
+ }({}), bT = /* @__PURE__ */ I({
15599
+ responseType: /* @__PURE__ */ P(yT.ERROR),
15491
15600
  error: /* @__PURE__ */ L()
15492
- }), pT = /* @__PURE__ */ I({
15493
- responseType: /* @__PURE__ */ P(dT.CHAIN_INFORMATION),
15601
+ }), xT = /* @__PURE__ */ I({
15602
+ responseType: /* @__PURE__ */ P(yT.CHAIN_INFORMATION),
15494
15603
  height: /* @__PURE__ */ z(/* @__PURE__ */ F(), /* @__PURE__ */ Ip(), /* @__PURE__ */ Bp(0)),
15495
15604
  lastBlockTimestamp: /* @__PURE__ */ z(/* @__PURE__ */ F(), /* @__PURE__ */ Ip(), /* @__PURE__ */ Bp(0)),
15496
15605
  microblockCount: /* @__PURE__ */ z(/* @__PURE__ */ F(), /* @__PURE__ */ Ip(), /* @__PURE__ */ Bp(0)),
15497
15606
  objectCounts: /* @__PURE__ */ N(/* @__PURE__ */ z(/* @__PURE__ */ F(), /* @__PURE__ */ Ip(), /* @__PURE__ */ Bp(0))),
15498
15607
  protocolVirtualBlockchainId: B()
15499
- }), mT = /* @__PURE__ */ I({
15500
- responseType: /* @__PURE__ */ P(dT.BLOCK_INFORMATION),
15608
+ }), ST = /* @__PURE__ */ I({
15609
+ responseType: /* @__PURE__ */ P(yT.BLOCK_INFORMATION),
15501
15610
  hash: Mm(),
15502
15611
  timestamp: /* @__PURE__ */ z(/* @__PURE__ */ F(), /* @__PURE__ */ Ip(), /* @__PURE__ */ Bp(0)),
15503
15612
  proposerAddress: B(),
@@ -15510,109 +15619,109 @@ var Aw = class e {
15510
15619
  }),
15511
15620
  size: /* @__PURE__ */ z(/* @__PURE__ */ F(), /* @__PURE__ */ Ip(), /* @__PURE__ */ Bp(0)),
15512
15621
  microblockCount: /* @__PURE__ */ z(/* @__PURE__ */ F(), /* @__PURE__ */ Ip(), /* @__PURE__ */ Bp(0))
15513
- }), hT = /* @__PURE__ */ I({
15622
+ }), CT = /* @__PURE__ */ I({
15514
15623
  hash: Mm(),
15515
15624
  vbId: Mm(),
15516
15625
  vbType: /* @__PURE__ */ z(/* @__PURE__ */ F(), /* @__PURE__ */ Ip(), /* @__PURE__ */ Bp(0), /* @__PURE__ */ Rp(255)),
15517
15626
  height: /* @__PURE__ */ z(/* @__PURE__ */ F(), /* @__PURE__ */ Ip(), /* @__PURE__ */ Bp(0)),
15518
15627
  size: /* @__PURE__ */ z(/* @__PURE__ */ F(), /* @__PURE__ */ Ip(), /* @__PURE__ */ Bp(0)),
15519
15628
  sectionCount: /* @__PURE__ */ z(/* @__PURE__ */ F(), /* @__PURE__ */ Ip(), /* @__PURE__ */ Bp(0))
15520
- }), gT = /* @__PURE__ */ I({
15521
- responseType: /* @__PURE__ */ P(dT.BLOCK_CONTENT),
15522
- microblocks: /* @__PURE__ */ N(hT)
15523
- }), _T = /* @__PURE__ */ I({
15524
- responseType: /* @__PURE__ */ P(dT.VIRTUAL_BLOCKCHAIN_STATE),
15629
+ }), wT = /* @__PURE__ */ I({
15630
+ responseType: /* @__PURE__ */ P(yT.BLOCK_CONTENT),
15631
+ microblocks: /* @__PURE__ */ N(CT)
15632
+ }), TT = /* @__PURE__ */ I({
15633
+ responseType: /* @__PURE__ */ P(yT.VIRTUAL_BLOCKCHAIN_STATE),
15525
15634
  serializedVirtualBlockchainState: B()
15526
- }), vT = /* @__PURE__ */ I({
15527
- responseType: /* @__PURE__ */ P(dT.VIRTUAL_BLOCKCHAIN_UPDATE),
15635
+ }), ET = /* @__PURE__ */ I({
15636
+ responseType: /* @__PURE__ */ P(yT.VIRTUAL_BLOCKCHAIN_UPDATE),
15528
15637
  exists: /* @__PURE__ */ Gp(),
15529
15638
  changed: /* @__PURE__ */ Gp(),
15530
15639
  serializedVirtualBlockchainState: B()
15531
- }), yT = /* @__PURE__ */ I({
15532
- responseType: /* @__PURE__ */ P(dT.MICROBLOCK_INFORMATION),
15640
+ }), DT = /* @__PURE__ */ I({
15641
+ responseType: /* @__PURE__ */ P(yT.MICROBLOCK_INFORMATION),
15533
15642
  ...qh.entries
15534
- }), bT = /* @__PURE__ */ I({
15535
- responseType: /* @__PURE__ */ P(dT.MICROBLOCK_ANCHORING),
15643
+ }), OT = /* @__PURE__ */ I({
15644
+ responseType: /* @__PURE__ */ P(yT.MICROBLOCK_ANCHORING),
15536
15645
  ...qh.entries
15537
- }), xT = /* @__PURE__ */ I({
15646
+ }), kT = /* @__PURE__ */ I({
15538
15647
  microblockHash: Mm(),
15539
15648
  microblockBody: Dh
15540
- }), ST = /* @__PURE__ */ I({
15541
- responseType: /* @__PURE__ */ P(dT.MICROBLOCK_BODYS),
15542
- list: /* @__PURE__ */ N(xT)
15543
- }), CT = /* @__PURE__ */ I({
15544
- responseType: /* @__PURE__ */ P(dT.ACCOUNT_STATE),
15649
+ }), AT = /* @__PURE__ */ I({
15650
+ responseType: /* @__PURE__ */ P(yT.MICROBLOCK_BODYS),
15651
+ list: /* @__PURE__ */ N(kT)
15652
+ }), jT = /* @__PURE__ */ I({
15653
+ responseType: /* @__PURE__ */ P(yT.ACCOUNT_STATE),
15545
15654
  height: /* @__PURE__ */ z(/* @__PURE__ */ F(), /* @__PURE__ */ Ip(), /* @__PURE__ */ Bp(0)),
15546
15655
  balance: /* @__PURE__ */ z(/* @__PURE__ */ F(), /* @__PURE__ */ Ip(), /* @__PURE__ */ Bp(0)),
15547
15656
  lastHistoryHash: Mm(),
15548
15657
  locks: /* @__PURE__ */ N(sg)
15549
- }), wT = /* @__PURE__ */ I({
15550
- responseType: /* @__PURE__ */ P(dT.ACCOUNT_HISTORY),
15658
+ }), MT = /* @__PURE__ */ I({
15659
+ responseType: /* @__PURE__ */ P(yT.ACCOUNT_HISTORY),
15551
15660
  list: fg
15552
- }), TT = /* @__PURE__ */ I({
15553
- responseType: /* @__PURE__ */ P(dT.ACCOUNT_BY_PUBLIC_KEY_HASH),
15661
+ }), NT = /* @__PURE__ */ I({
15662
+ responseType: /* @__PURE__ */ P(yT.ACCOUNT_BY_PUBLIC_KEY_HASH),
15554
15663
  accountHash: Mm()
15555
- }), ET = /* @__PURE__ */ I({
15556
- responseType: /* @__PURE__ */ P(dT.VALIDATOR_NODE_BY_ADDRESS),
15664
+ }), PT = /* @__PURE__ */ I({
15665
+ responseType: /* @__PURE__ */ P(yT.VALIDATOR_NODE_BY_ADDRESS),
15557
15666
  validatorNodeHash: Mm()
15558
- }), DT = /* @__PURE__ */ I({
15559
- responseType: /* @__PURE__ */ P(dT.GENESIS_SNAPSHOT),
15667
+ }), FT = /* @__PURE__ */ I({
15668
+ responseType: /* @__PURE__ */ P(yT.GENESIS_SNAPSHOT),
15560
15669
  base64EncodedChunks: /* @__PURE__ */ N(/* @__PURE__ */ L())
15561
- }), OT = /* @__PURE__ */ I({
15562
- responseType: /* @__PURE__ */ P(dT.RAW_BLOCK_CONTENT),
15670
+ }), IT = /* @__PURE__ */ I({
15671
+ responseType: /* @__PURE__ */ P(yT.RAW_BLOCK_CONTENT),
15563
15672
  partIndex: /* @__PURE__ */ F(),
15564
15673
  numberOfParts: /* @__PURE__ */ F(),
15565
15674
  serializedMicroblocks: /* @__PURE__ */ N(B())
15566
- }), kT = /* @__PURE__ */ I({
15567
- responseType: /* @__PURE__ */ P(dT.BLOCK_MODIFIED_ACCOUNTS),
15675
+ }), LT = /* @__PURE__ */ I({
15676
+ responseType: /* @__PURE__ */ P(yT.BLOCK_MODIFIED_ACCOUNTS),
15568
15677
  modifiedAccounts: /* @__PURE__ */ N(B())
15569
- }), AT = /* @__PURE__ */ I({
15570
- responseType: /* @__PURE__ */ P(dT.ACCOUNT_UPDATES),
15678
+ }), RT = /* @__PURE__ */ I({
15679
+ responseType: /* @__PURE__ */ P(yT.ACCOUNT_UPDATES),
15571
15680
  list: /* @__PURE__ */ N(mg)
15572
- }), jT = /* @__PURE__ */ I({
15573
- responseType: /* @__PURE__ */ P(dT.SERIALIAZED_MICROBLOCK_BY_HEIGHT),
15681
+ }), zT = /* @__PURE__ */ I({
15682
+ responseType: /* @__PURE__ */ P(yT.SERIALIAZED_MICROBLOCK_BY_HEIGHT),
15574
15683
  serializedContent: B()
15575
- }), MT = /* @__PURE__ */ I({
15576
- responseType: /* @__PURE__ */ P(dT.MICROBLOCK_PROOF),
15577
- proof: BS
15578
- }), NT = /* @__PURE__ */ I({
15579
- responseType: /* @__PURE__ */ P(dT.ACCOUNT_PROOF),
15580
- proof: RS
15581
- }), PT = /* @__PURE__ */ am("responseType", [
15582
- fT,
15583
- pT,
15584
- mT,
15585
- gT,
15586
- OT,
15587
- _T,
15588
- vT,
15589
- yT,
15684
+ }), BT = /* @__PURE__ */ I({
15685
+ responseType: /* @__PURE__ */ P(yT.MICROBLOCK_PROOF),
15686
+ proof: zS
15687
+ }), VT = /* @__PURE__ */ I({
15688
+ responseType: /* @__PURE__ */ P(yT.ACCOUNT_PROOF),
15689
+ proof: IS
15690
+ }), HT = /* @__PURE__ */ am("responseType", [
15590
15691
  bT,
15692
+ xT,
15591
15693
  ST,
15592
- CT,
15593
15694
  wT,
15695
+ IT,
15594
15696
  TT,
15595
15697
  ET,
15596
15698
  DT,
15597
- kT,
15699
+ OT,
15598
15700
  AT,
15599
15701
  jT,
15600
15702
  MT,
15601
- NT
15602
- ]), FT = class {
15703
+ NT,
15704
+ PT,
15705
+ FT,
15706
+ LT,
15707
+ RT,
15708
+ zT,
15709
+ BT,
15710
+ VT
15711
+ ]), UT = class {
15603
15712
  static encodeAbciRequest(e) {
15604
- return Cx(R(uT, e));
15713
+ return Cx(R(vT, e));
15605
15714
  }
15606
15715
  static decodeAbciRequest(e) {
15607
- return R(uT, Kb(e));
15716
+ return R(vT, Kb(e));
15608
15717
  }
15609
15718
  static encodeAbciResponse(e) {
15610
- return Cx(R(PT, e));
15719
+ return Cx(R(HT, e));
15611
15720
  }
15612
15721
  static decodeAbciResponse(e) {
15613
- return R(PT, Kb(e));
15722
+ return R(HT, Kb(e));
15614
15723
  }
15615
- }, IT = class e {
15724
+ }, WT = class e {
15616
15725
  static staticLogger = k.getNetworkProviderLogger();
15617
15726
  logger = e.staticLogger;
15618
15727
  requestLogger = e.staticLogger.getChild("request");
@@ -15649,7 +15758,7 @@ var Aw = class e {
15649
15758
  }));
15650
15759
  }
15651
15760
  async getChainInformation() {
15652
- return this.requestLogger.info("Requesting chain information"), R(pT, await this.abciQuery({ requestType: $.GET_CHAIN_INFORMATION }));
15761
+ return this.requestLogger.info("Requesting chain information"), R(xT, await this.abciQuery({ requestType: $.GET_CHAIN_INFORMATION }));
15653
15762
  }
15654
15763
  async getBlockInformation(e) {
15655
15764
  this.requestLogger.info(`Requesting block information at height: ${e}`);
@@ -15657,11 +15766,11 @@ var Aw = class e {
15657
15766
  requestType: $.GET_BLOCK_INFORMATION,
15658
15767
  height: e
15659
15768
  });
15660
- return this.responseLogger.info(`Received block information at height ${e}`), R(mT, t);
15769
+ return this.responseLogger.info(`Received block information at height ${e}`), R(ST, t);
15661
15770
  }
15662
15771
  async getBlockContent(e) {
15663
15772
  this.requestLogger.info(`Requesting block content for height ${e}`);
15664
- let t = R(gT, await this.abciQuery({
15773
+ let t = R(wT, await this.abciQuery({
15665
15774
  requestType: $.GET_BLOCK_CONTENT,
15666
15775
  height: e
15667
15776
  }));
@@ -15673,11 +15782,11 @@ var Aw = class e {
15673
15782
  requestType: $.GET_VALIDATOR_NODE_BY_ADDRESS,
15674
15783
  address: e
15675
15784
  });
15676
- return this.responseLogger.info("Receiving validator node id {id}", () => ({ id: A.binaryToHexa(e) })), R(ET, t);
15785
+ return this.responseLogger.info("Receiving validator node id {id}", () => ({ id: A.binaryToHexa(e) })), R(PT, t);
15677
15786
  }
15678
15787
  async getAccountState(e) {
15679
15788
  this.requestLogger.info("Requesting account state for account hash {accountHash}", () => ({ accountHash: A.binaryToHexa(e) }));
15680
- let t = R(CT, await this.abciQuery({
15789
+ let t = R(jT, await this.abciQuery({
15681
15790
  requestType: $.GET_ACCOUNT_STATE,
15682
15791
  accountHash: e
15683
15792
  }));
@@ -15688,7 +15797,7 @@ var Aw = class e {
15688
15797
  }
15689
15798
  async getAccountHistory(e, t, n) {
15690
15799
  this.requestLogger.info(`Requesting account history for account hash: ${A.binaryToHexa(e)}, lastHistoryHash: ${A.binaryToHexa(t)}, maxRecords: ${n}`);
15691
- let r = R(wT, await this.abciQuery({
15800
+ let r = R(MT, await this.abciQuery({
15692
15801
  requestType: $.GET_ACCOUNT_HISTORY,
15693
15802
  accountHash: e,
15694
15803
  lastHistoryHash: t,
@@ -15698,7 +15807,7 @@ var Aw = class e {
15698
15807
  }
15699
15808
  async getAccountByPublicKeyHash(e) {
15700
15809
  this.requestLogger.info(`Requesting account hash by public key hash: ${A.binaryToHexa(e)}`);
15701
- let t = R(TT, await this.abciQuery({
15810
+ let t = R(NT, await this.abciQuery({
15702
15811
  requestType: $.GET_ACCOUNT_BY_PUBLIC_KEY_HASH,
15703
15812
  publicKeyHash: e
15704
15813
  }));
@@ -15706,7 +15815,7 @@ var Aw = class e {
15706
15815
  }
15707
15816
  async getMicroblockInformation(e) {
15708
15817
  this.requestLogger.info(`Requesting microblock information for hash ${A.binaryToHexa(e)}`);
15709
- let t = R(yT, await this.abciQuery({
15818
+ let t = R(DT, await this.abciQuery({
15710
15819
  requestType: $.GET_MICROBLOCK_INFORMATION,
15711
15820
  hash: e
15712
15821
  }));
@@ -15717,7 +15826,7 @@ var Aw = class e {
15717
15826
  }
15718
15827
  async getSerializedMicroblockByHeight(e, t) {
15719
15828
  this.requestLogger.info(`Requesting microblock for VB ${A.binaryToHexa(e)} at height ${t}`);
15720
- let n = R(jT, await this.abciQuery({
15829
+ let n = R(zT, await this.abciQuery({
15721
15830
  requestType: $.GET_SERIALIZED_MICROBLOCK_BY_HEIGHT,
15722
15831
  virtualBlockchainId: e,
15723
15832
  height: t
@@ -15726,7 +15835,7 @@ var Aw = class e {
15726
15835
  }
15727
15836
  async getMicroblockBodys(e) {
15728
15837
  this.requestLogger.info(`Requesting microblock bodys for microblock hashes ${e.length}`), this.requestLogger.info("Lisf of requested hashes: {hashes}", () => ({ hashes: e.map((e) => A.binaryToHexa(e)).join(", ") }));
15729
- let t = R(ST, await this.abciQuery({
15838
+ let t = R(AT, await this.abciQuery({
15730
15839
  requestType: $.GET_MICROBLOCK_BODYS,
15731
15840
  hashes: e
15732
15841
  }));
@@ -15739,11 +15848,11 @@ var Aw = class e {
15739
15848
  virtualBlockchainId: e,
15740
15849
  knownStateHash: t
15741
15850
  });
15742
- return this.responseLogger.info("Receiving virtual blockchain update"), R(vT, n);
15851
+ return this.responseLogger.info("Receiving virtual blockchain update"), R(ET, n);
15743
15852
  }
15744
15853
  async getSerializedVirtualBlockchainState(e) {
15745
15854
  this.requestLogger.info("Requesting virtual blockchain state for vb id {vbId}", () => ({ vbId: A.binaryToHexa(e) }));
15746
- let t = R(_T, await this.abciQuery({
15855
+ let t = R(TT, await this.abciQuery({
15747
15856
  requestType: $.GET_VIRTUAL_BLOCKCHAIN_STATE,
15748
15857
  virtualBlockchainId: e
15749
15858
  }));
@@ -15784,7 +15893,7 @@ var Aw = class e {
15784
15893
  async abciQuery(t) {
15785
15894
  if (t === void 0) throw new i("Cannot send an undefined request");
15786
15895
  this.logger.debug("Sending ABCI request:", t);
15787
- let n = FT.encodeAbciRequest(t);
15896
+ let n = UT.encodeAbciRequest(t);
15788
15897
  return await e.sendABCIQueryToNodeServer(this.nodeUrl, n);
15789
15898
  }
15790
15899
  static async sendABCIQueryToNodeServer(t, n) {
@@ -15793,8 +15902,8 @@ var Aw = class e {
15793
15902
  r.pathname = "abci_query", r.searchParams.append("path", "\"/carmentis\""), r.searchParams.append("data", "0x" + A.binaryToHexa(n));
15794
15903
  let i = await e.query(r), a = i?.result?.response?.value;
15795
15904
  if (typeof a != "string") throw this.staticLogger.error("Invalid response type detected:", i), this.staticLogger.error("rawBase64EncodedResponse: ", a), new h("Invalid response detected");
15796
- let o = _g.decodeBinary(a), s = FT.decodeAbciResponse(o);
15797
- if (s.responseType == dT.ERROR) {
15905
+ let o = _g.decodeBinary(a), s = UT.decodeAbciResponse(o);
15906
+ if (s.responseType == yT.ERROR) {
15798
15907
  let t = s.error;
15799
15908
  throw e.staticLogger.error("sendABCIQueryToNodeServer <- {*}", () => ({ error: t })), new h(`Remote error: ${t}`);
15800
15909
  }
@@ -15804,16 +15913,16 @@ var Aw = class e {
15804
15913
  e.staticLogger.debug(`sendStatusQueryToNodeServer -> nodeUrl: ${t}`);
15805
15914
  let n = new URL(t);
15806
15915
  n.pathname = "status";
15807
- let r = /* @__PURE__ */ om(Uw, await e.query(n));
15916
+ let r = /* @__PURE__ */ om(Zw, await e.query(n));
15808
15917
  if (r.success) return e.staticLogger.debug("sendStatusQueryToNodeServer <- received valid status response"), r.output;
15809
15918
  throw e.staticLogger.debug(`sendStatusQueryToNodeServer <- parsing error: ${r.issues}`), new h(r.issues.map((e) => e.message).join(", "));
15810
15919
  }
15811
15920
  async getGenesisSnapshot() {
15812
15921
  this.requestLogger.info("Requesting genesis snapshot");
15813
- let e = R(DT, await this.abciQuery({ requestType: $.GET_GENESIS_SNAPSHOT }));
15922
+ let e = R(FT, await this.abciQuery({ requestType: $.GET_GENESIS_SNAPSHOT }));
15814
15923
  return this.responseLogger.info("Received genesis snapshots containing {chunksNumber} chunks", () => ({ chunksNumber: e.base64EncodedChunks.length })), e;
15815
15924
  }
15816
- }, LT = class e {
15925
+ }, GT = class e {
15817
15926
  static logger = k.getMemoryProviderLogger();
15818
15927
  static instance = new e();
15819
15928
  static getInstance() {
@@ -15853,7 +15962,7 @@ var Aw = class e {
15853
15962
  async setMicroblockHeader(e, t) {}
15854
15963
  async setMicroblockBody(e, t) {}
15855
15964
  async setSerializedVirtualBlockchainState(e, t) {}
15856
- }, RT = class {
15965
+ }, KT = class {
15857
15966
  constructor() {}
15858
15967
  getChainId() {
15859
15968
  throw Error("Method not implemented.");
@@ -15909,11 +16018,11 @@ var Aw = class e {
15909
16018
  getGenesisSnapshot() {
15910
16019
  throw Error("Method not implemented.");
15911
16020
  }
15912
- }, zT = class {
16021
+ }, qT = class {
15913
16022
  static convertRawPublicKeyIntoAddress(e) {
15914
16023
  return Zc.sha256AsBinary(e).slice(0, 20);
15915
16024
  }
15916
- }, BT = class e extends Bw {
16025
+ }, JT = class e extends Jw {
15917
16026
  logger = k.getProviderLogger();
15918
16027
  externalProvider;
15919
16028
  internalProvider;
@@ -16068,30 +16177,30 @@ var Aw = class e {
16068
16177
  return await this.externalProvider.sendSerializedMicroblock(t), e.getHash();
16069
16178
  }
16070
16179
  async getNodeStatus(e) {
16071
- return IT.sendStatusQueryToNodeServer(e);
16180
+ return WT.sendStatusQueryToNodeServer(e);
16072
16181
  }
16073
16182
  async getValidatorNodeIdByAddress(e) {
16074
16183
  return (await this.externalProvider.getValidatorNodeByAddress(e.toBytes())).validatorNodeHash;
16075
16184
  }
16076
16185
  async getValidatorNodeIdByCometbftPublicKey(e) {
16077
- let t = Sg.bytesToBase64Encoder(), n = zT.convertRawPublicKeyIntoAddress(t.decode(e));
16186
+ let t = Sg.bytesToBase64Encoder(), n = qT.convertRawPublicKeyIntoAddress(t.decode(e));
16078
16187
  return this.getValidatorNodeIdByAddress(Ix.from(n));
16079
16188
  }
16080
- }, VT = class {
16189
+ }, YT = class {
16081
16190
  static createInMemoryProvider() {
16082
- return new BT(new Hw(), new RT());
16191
+ return new JT(new Xw(), new KT());
16083
16192
  }
16084
16193
  static createInMemoryProviderWithExternalProvider(e) {
16085
- return new BT(new Hw(), IT.createFromUrl(e));
16194
+ return new JT(new Xw(), WT.createFromUrl(e));
16086
16195
  }
16087
16196
  static createNullInMemoryProviderWithExternalProvider(e) {
16088
- return new BT(new LT(), IT.createFromUrl(e));
16197
+ return new JT(new GT(), WT.createFromUrl(e));
16089
16198
  }
16090
- }, HT = class extends IT {
16199
+ }, XT = class extends WT {
16091
16200
  constructor(e) {
16092
16201
  super(e);
16093
16202
  }
16094
- }, UT = /* @__PURE__ */ I({
16203
+ }, ZT = /* @__PURE__ */ I({
16095
16204
  jsonrpc: /* @__PURE__ */ P("2.0"),
16096
16205
  id: /* @__PURE__ */ F(),
16097
16206
  result: /* @__PURE__ */ I({
@@ -16160,7 +16269,7 @@ var Aw = class e {
16160
16269
  }),
16161
16270
  events: /* @__PURE__ */ I({ "tm.event": /* @__PURE__ */ N(/* @__PURE__ */ L()) })
16162
16271
  })
16163
- }), WT = class e {
16272
+ }), QT = class e {
16164
16273
  callbacks = [];
16165
16274
  constructor(e) {
16166
16275
  this.ws = e, e.onmessage = this.onMessage.bind(this), e.onopen = this.onConnect.bind(this), e.onclose = this.onDisconnect.bind(this);
@@ -16180,7 +16289,7 @@ var Aw = class e {
16180
16289
  }));
16181
16290
  }
16182
16291
  onMessage(e) {
16183
- let t = /* @__PURE__ */ om(UT, JSON.parse(e.data));
16292
+ let t = /* @__PURE__ */ om(ZT, JSON.parse(e.data));
16184
16293
  if (t.success) {
16185
16294
  let e = t.output;
16186
16295
  this.onNewBlock(e);
@@ -16190,7 +16299,7 @@ var Aw = class e {
16190
16299
  for (let t of this.callbacks) t.onNewBlock && t.onNewBlock(e);
16191
16300
  }
16192
16301
  onDisconnect(e) {}
16193
- }, GT = class {
16302
+ }, $T = class {
16194
16303
  constructor(e) {
16195
16304
  this.transaction = e;
16196
16305
  }
@@ -16258,7 +16367,7 @@ var Aw = class e {
16258
16367
  isReceivedPayment() {
16259
16368
  return this.transaction.type == 9;
16260
16369
  }
16261
- }, KT = class {
16370
+ }, eE = class {
16262
16371
  transactionByHeight;
16263
16372
  constructor() {
16264
16373
  this.transactionByHeight = /* @__PURE__ */ new Map();
@@ -16273,7 +16382,7 @@ var Aw = class e {
16273
16382
  return Array.from(this.transactionByHeight.keys());
16274
16383
  }
16275
16384
  getAllTransactions() {
16276
- return Array.from(this.transactionByHeight.values()).map((e) => new GT(e));
16385
+ return Array.from(this.transactionByHeight.values()).map((e) => new $T(e));
16277
16386
  }
16278
16387
  getNumberOfTransactions() {
16279
16388
  return this.transactionByHeight.size;
@@ -16284,105 +16393,105 @@ var Aw = class e {
16284
16393
  getTransactionAtHeight(e) {
16285
16394
  let t = this.transactionByHeight.get(e);
16286
16395
  if (t === void 0) throw new i(`No transaction found at height ${e}`);
16287
- return new GT(t);
16396
+ return new $T(t);
16288
16397
  }
16289
- }, qT = {
16398
+ }, tE = {
16290
16399
  [H.PROTOCOL_VIRTUAL_BLOCKCHAIN]: "PROTOCOL_VIRTUAL_BLOCKCHAIN",
16291
16400
  [H.NODE_VIRTUAL_BLOCKCHAIN]: "NODE_VIRTUAL_BLOCKCHAIN",
16292
16401
  [H.APPLICATION_VIRTUAL_BLOCKCHAIN]: "APPLICATION_VIRTUAL_BLOCKCHAIN",
16293
16402
  [H.ORGANIZATION_VIRTUAL_BLOCKCHAIN]: "ORGANIZATION_VIRTUAL_BLOCKCHAIN",
16294
16403
  [H.APP_LEDGER_VIRTUAL_BLOCKCHAIN]: "APP_LEDGER_VIRTUAL_BLOCKCHAIN",
16295
16404
  [H.ACCOUNT_VIRTUAL_BLOCKCHAIN]: "ACCOUNT_VIRTUAL_BLOCKCHAIN"
16296
- }, JT = class {
16405
+ }, nE = class {
16297
16406
  static getVirtualBlockchainLabelFromVirtualBlockchainType(e) {
16298
- return qT[e];
16407
+ return tE[e];
16299
16408
  }
16300
- }, YT = /* @__PURE__ */ function(e) {
16409
+ }, rE = /* @__PURE__ */ function(e) {
16301
16410
  return e.AUTH_BY_PUBLIC_KEY = "WALLET_REQUEST_AUTH_BY_PUBLIC_KEY", e.DATA_APPROVAL = "WALLET_REQUEST_DATA_APPROVAL", e;
16302
- }({}), XT = /* @__PURE__ */ function(e) {
16411
+ }({}), iE = /* @__PURE__ */ function(e) {
16303
16412
  return e.AUTH_BY_PUBLIC_KEY = "WALLET_RESPONSE_AUTH_BY_PUBLIC_KEY", e.DATA_APPROVAL = "WALLET_RESPONSE_DATA_APPROVAL", e;
16304
- }({}), ZT = /* @__PURE__ */ I({
16305
- type: /* @__PURE__ */ P(YT.AUTH_BY_PUBLIC_KEY),
16413
+ }({}), aE = /* @__PURE__ */ I({
16414
+ type: /* @__PURE__ */ P(rE.AUTH_BY_PUBLIC_KEY),
16306
16415
  base64EncodedChallenge: /* @__PURE__ */ L()
16307
- }), QT = /* @__PURE__ */ I({
16308
- type: /* @__PURE__ */ P(YT.DATA_APPROVAL),
16416
+ }), oE = /* @__PURE__ */ I({
16417
+ type: /* @__PURE__ */ P(rE.DATA_APPROVAL),
16309
16418
  anchorRequestId: /* @__PURE__ */ L(),
16310
16419
  serverUrl: /* @__PURE__ */ L()
16311
- }), $T = /* @__PURE__ */ am("type", [ZT, QT]), eE = /* @__PURE__ */ I({
16312
- type: /* @__PURE__ */ P(XT.AUTH_BY_PUBLIC_KEY),
16420
+ }), sE = /* @__PURE__ */ am("type", [aE, oE]), cE = /* @__PURE__ */ I({
16421
+ type: /* @__PURE__ */ P(iE.AUTH_BY_PUBLIC_KEY),
16313
16422
  publicKey: /* @__PURE__ */ L(),
16314
16423
  signature: /* @__PURE__ */ L()
16315
- }), tE = /* @__PURE__ */ I({
16316
- type: /* @__PURE__ */ P(XT.DATA_APPROVAL),
16424
+ }), lE = /* @__PURE__ */ I({
16425
+ type: /* @__PURE__ */ P(iE.DATA_APPROVAL),
16317
16426
  b64VbHash: /* @__PURE__ */ L(),
16318
16427
  b64MbHash: /* @__PURE__ */ L(),
16319
16428
  height: /* @__PURE__ */ F()
16320
- }), nE = /* @__PURE__ */ am("type", [eE, tE]), rE = 100, iE = /* @__PURE__ */ function(e) {
16429
+ }), uE = /* @__PURE__ */ am("type", [cE, lE]), dE = 100, fE = /* @__PURE__ */ function(e) {
16321
16430
  return e.REQUEST = "CLIENT_BRIDGE_REQUEST", e.UPDATE_QR = "CLIENT_BRIDGE_UPDATE_QR", e.CONNECTION_TOKEN = "CLIENT_BRIDGE_CONNECTION_TOKEN", e.FORWARDED_ANSWER = "CLIENT_BRIDGE_FORWARDED_ANSWER", e.GET_CONNECTION_INFO = "CLIENT_BRIDGE_GET_CONNECTION_INFO", e.ANSWER = "CLIENT_BRIDGE_ANSWER", e.CONNECTION_INFO = "CLIENT_BRIDGE_CONNECTION_INFO", e.CONNECTION_ACCEPTED = "CLIENT_BRIDGE_CONNECTION_ACCEPTED", e.FORWARDED_REQUEST = "CLIENT_BRIDGE_FORWARDED_REQUEST", e.ERROR = "CLIENT_BRIDGE_ERROR", e;
16322
- }({}), aE = /* @__PURE__ */ I({
16431
+ }({}), pE = /* @__PURE__ */ I({
16323
16432
  base64EncodedQrId: /* @__PURE__ */ L(),
16324
16433
  timestamp: /* @__PURE__ */ F(),
16325
16434
  serverUrl: /* @__PURE__ */ z(/* @__PURE__ */ L(), /* @__PURE__ */ Lp(100))
16326
- }), oE = /* @__PURE__ */ I({
16327
- type: /* @__PURE__ */ P(iE.REQUEST),
16328
- walletRequest: $T,
16435
+ }), mE = /* @__PURE__ */ I({
16436
+ type: /* @__PURE__ */ P(fE.REQUEST),
16437
+ walletRequest: sE,
16329
16438
  deviceId: Mm(),
16330
16439
  withToken: /* @__PURE__ */ F()
16331
- }), sE = /* @__PURE__ */ I({
16332
- type: /* @__PURE__ */ P(iE.UPDATE_QR),
16440
+ }), hE = /* @__PURE__ */ I({
16441
+ type: /* @__PURE__ */ P(fE.UPDATE_QR),
16333
16442
  base64EncodedQrId: /* @__PURE__ */ L(),
16334
16443
  timestamp: /* @__PURE__ */ F()
16335
- }), cE = /* @__PURE__ */ I({
16336
- type: /* @__PURE__ */ P(iE.CONNECTION_TOKEN),
16444
+ }), gE = /* @__PURE__ */ I({
16445
+ type: /* @__PURE__ */ P(fE.CONNECTION_TOKEN),
16337
16446
  token: Mm()
16338
- }), lE = /* @__PURE__ */ I({
16339
- type: /* @__PURE__ */ P(iE.FORWARDED_ANSWER),
16340
- walletResponse: nE
16341
- }), uE = /* @__PURE__ */ I({
16342
- type: /* @__PURE__ */ P(iE.GET_CONNECTION_INFO),
16447
+ }), _E = /* @__PURE__ */ I({
16448
+ type: /* @__PURE__ */ P(fE.FORWARDED_ANSWER),
16449
+ walletResponse: uE
16450
+ }), vE = /* @__PURE__ */ I({
16451
+ type: /* @__PURE__ */ P(fE.GET_CONNECTION_INFO),
16343
16452
  base64EncodedQrId: /* @__PURE__ */ L()
16344
- }), dE = /* @__PURE__ */ I({
16345
- type: /* @__PURE__ */ P(iE.ANSWER),
16346
- walletResponse: nE
16347
- }), fE = /* @__PURE__ */ I({ type: /* @__PURE__ */ P(iE.CONNECTION_INFO) }), pE = /* @__PURE__ */ I({
16348
- type: /* @__PURE__ */ P(iE.CONNECTION_ACCEPTED),
16453
+ }), yE = /* @__PURE__ */ I({
16454
+ type: /* @__PURE__ */ P(fE.ANSWER),
16455
+ walletResponse: uE
16456
+ }), bE = /* @__PURE__ */ I({ type: /* @__PURE__ */ P(fE.CONNECTION_INFO) }), xE = /* @__PURE__ */ I({
16457
+ type: /* @__PURE__ */ P(fE.CONNECTION_ACCEPTED),
16349
16458
  base64EncodedQrId: /* @__PURE__ */ L()
16350
- }), mE = /* @__PURE__ */ I({
16351
- type: /* @__PURE__ */ P(iE.FORWARDED_REQUEST),
16352
- walletRequest: $T
16353
- }), hE = /* @__PURE__ */ I({
16354
- type: /* @__PURE__ */ P(iE.ERROR),
16459
+ }), SE = /* @__PURE__ */ I({
16460
+ type: /* @__PURE__ */ P(fE.FORWARDED_REQUEST),
16461
+ walletRequest: sE
16462
+ }), CE = /* @__PURE__ */ I({
16463
+ type: /* @__PURE__ */ P(fE.ERROR),
16355
16464
  errorMessage: /* @__PURE__ */ L()
16356
- }), gE = /* @__PURE__ */ am("type", [
16357
- oE,
16358
- sE,
16359
- cE,
16360
- lE,
16361
- uE,
16362
- dE,
16363
- fE,
16364
- pE,
16465
+ }), wE = /* @__PURE__ */ am("type", [
16365
16466
  mE,
16366
- hE
16367
- ]), _E = class {
16467
+ hE,
16468
+ gE,
16469
+ _E,
16470
+ vE,
16471
+ yE,
16472
+ bE,
16473
+ xE,
16474
+ SE,
16475
+ CE
16476
+ ]), TE = class {
16368
16477
  static encode(e) {
16369
- return Cx(R(gE, e));
16478
+ return Cx(R(wE, e));
16370
16479
  }
16371
16480
  static decode(e) {
16372
- return R(gE, Kb(e));
16481
+ return R(wE, Kb(e));
16373
16482
  }
16374
- }, vE = class {
16483
+ }, EE = class {
16375
16484
  static validateClientBridgeMessage(e) {
16376
- return R(gE, e);
16485
+ return R(wE, e);
16377
16486
  }
16378
- }, yE = class {
16487
+ }, DE = class {
16379
16488
  static encode(e) {
16380
- return Cx(R(aE, e));
16489
+ return Cx(R(pE, e));
16381
16490
  }
16382
16491
  static decode(e) {
16383
- return R(aE, Kb(e));
16492
+ return R(pE, Kb(e));
16384
16493
  }
16385
- }, bE = /* @__PURE__ */ tm(/* @__PURE__ */ L(), /* @__PURE__ */ I({
16494
+ }, OE = /* @__PURE__ */ tm(/* @__PURE__ */ L(), /* @__PURE__ */ I({
16386
16495
  networkName: /* @__PURE__ */ $p(/* @__PURE__ */ L()),
16387
16496
  nodes: /* @__PURE__ */ tm(/* @__PURE__ */ L(), /* @__PURE__ */ I({
16388
16497
  nodeName: /* @__PURE__ */ $p(/* @__PURE__ */ L()),
@@ -16392,69 +16501,69 @@ var Aw = class e {
16392
16501
  trusted: /* @__PURE__ */ $p(/* @__PURE__ */ Gp(), !1),
16393
16502
  nodeId: /* @__PURE__ */ L()
16394
16503
  }))
16395
- })), xE = /* @__PURE__ */ I({
16504
+ })), kE = /* @__PURE__ */ I({
16396
16505
  state: Gh,
16397
16506
  microblockHashes: /* @__PURE__ */ N(B())
16398
- }), SE = /* @__PURE__ */ function(e) {
16507
+ }), AE = /* @__PURE__ */ function(e) {
16399
16508
  return e.APPROVAL_HANDSHAKE = "WALLET_OPERATOR_REQUEST_APPROVAL_HANDSHAKE", e.ACTOR_KEY = "WALLET_OPERATOR_REQUEST_ACTOR_KEY", e.APPROVAL_SIGNATURE = "WALLET_OPERATOR_REQUEST_APPROVAL_SIGNATURE", e;
16400
- }({}), CE = /* @__PURE__ */ function(e) {
16509
+ }({}), jE = /* @__PURE__ */ function(e) {
16401
16510
  return e.ERROR = "WALLET_OPERATOR_RESPONSE_ERROR", e.ACTOR_KEY_REQUIRED = "WALLET_OPERATOR_RESPONSE_ACTOR_KEY_REQUIRED", e.APPROVAL_DATA = "WALLET_OPERATOR_RESPONSE_APPROVAL_DATA", e.APPROVAL_SIGNATURE = "WALLET_OPERATOR_RESPONSE_APPROVAL_SIGNATURE", e;
16402
- }({}), wE = /* @__PURE__ */ I({
16403
- type: /* @__PURE__ */ P(SE.APPROVAL_HANDSHAKE),
16511
+ }({}), ME = /* @__PURE__ */ I({
16512
+ type: /* @__PURE__ */ P(AE.APPROVAL_HANDSHAKE),
16404
16513
  anchorRequestId: /* @__PURE__ */ L()
16405
- }), TE = /* @__PURE__ */ I({
16406
- type: /* @__PURE__ */ P(SE.ACTOR_KEY),
16514
+ }), NE = /* @__PURE__ */ I({
16515
+ type: /* @__PURE__ */ P(AE.ACTOR_KEY),
16407
16516
  anchorRequestId: /* @__PURE__ */ L(),
16408
16517
  actorSignaturePublicKey: /* @__PURE__ */ L(),
16409
16518
  actorPkePublicKey: /* @__PURE__ */ L()
16410
- }), EE = /* @__PURE__ */ I({
16411
- type: /* @__PURE__ */ P(SE.APPROVAL_SIGNATURE),
16519
+ }), PE = /* @__PURE__ */ I({
16520
+ type: /* @__PURE__ */ P(AE.APPROVAL_SIGNATURE),
16412
16521
  anchorRequestId: /* @__PURE__ */ L(),
16413
16522
  b64Signature: /* @__PURE__ */ L()
16414
- }), DE = /* @__PURE__ */ am("type", [
16415
- wE,
16416
- TE,
16417
- EE
16418
- ]), OE = /* @__PURE__ */ I({
16419
- type: /* @__PURE__ */ P(CE.ERROR),
16523
+ }), FE = /* @__PURE__ */ am("type", [
16524
+ ME,
16525
+ NE,
16526
+ PE
16527
+ ]), IE = /* @__PURE__ */ I({
16528
+ type: /* @__PURE__ */ P(jE.ERROR),
16420
16529
  errorMessage: /* @__PURE__ */ $p(/* @__PURE__ */ L(), "")
16421
- }), kE = /* @__PURE__ */ I({
16422
- type: /* @__PURE__ */ P(CE.ACTOR_KEY_REQUIRED),
16530
+ }), LE = /* @__PURE__ */ I({
16531
+ type: /* @__PURE__ */ P(jE.ACTOR_KEY_REQUIRED),
16423
16532
  b64GenesisSeed: /* @__PURE__ */ L()
16424
- }), AE = /* @__PURE__ */ I({
16425
- type: /* @__PURE__ */ P(CE.APPROVAL_DATA),
16533
+ }), RE = /* @__PURE__ */ I({
16534
+ type: /* @__PURE__ */ P(jE.APPROVAL_DATA),
16426
16535
  b64SerializedMicroblock: /* @__PURE__ */ L()
16427
- }), jE = /* @__PURE__ */ I({
16428
- type: /* @__PURE__ */ P(CE.APPROVAL_SIGNATURE),
16536
+ }), zE = /* @__PURE__ */ I({
16537
+ type: /* @__PURE__ */ P(jE.APPROVAL_SIGNATURE),
16429
16538
  b64VbHash: /* @__PURE__ */ L(),
16430
16539
  b64MbHash: /* @__PURE__ */ L(),
16431
16540
  height: /* @__PURE__ */ F()
16432
- }), ME = /* @__PURE__ */ am("type", [
16433
- OE,
16434
- kE,
16435
- AE,
16436
- jE
16437
- ]), NE = class {
16541
+ }), BE = /* @__PURE__ */ am("type", [
16542
+ IE,
16543
+ LE,
16544
+ RE,
16545
+ zE
16546
+ ]), VE = class {
16438
16547
  static encodeRequest(e) {
16439
- return Cx(R($T, e));
16548
+ return Cx(R(sE, e));
16440
16549
  }
16441
16550
  static decodeRequest(e) {
16442
- return R($T, Kb(e));
16551
+ return R(sE, Kb(e));
16443
16552
  }
16444
16553
  static encodeResponse(e) {
16445
- return Cx(R(nE, e));
16554
+ return Cx(R(uE, e));
16446
16555
  }
16447
16556
  static decodeResponse(e) {
16448
- return R(nE, Kb(e));
16557
+ return R(uE, Kb(e));
16449
16558
  }
16450
- }, PE = class {
16559
+ }, HE = class {
16451
16560
  static validateWalletRequest(e) {
16452
- return R($T, e);
16561
+ return R(sE, e);
16453
16562
  }
16454
16563
  static validateWalletResponse(e) {
16455
- return R(nE, e);
16564
+ return R(uE, e);
16456
16565
  }
16457
- }, FE = class {
16566
+ }, UE = class {
16458
16567
  constructor(e = new Cg()) {
16459
16568
  this.stringEncoder = e;
16460
16569
  }
@@ -16470,11 +16579,11 @@ var Aw = class e {
16470
16579
  getPrefix() {
16471
16580
  return ["SEED"];
16472
16581
  }
16473
- }, IE = class extends FE {
16582
+ }, WE = class extends UE {
16474
16583
  getPrefix() {
16475
16584
  return ["ACCOUNT", "SEED"];
16476
16585
  }
16477
- }, LE = class e {
16586
+ }, GE = class e {
16478
16587
  static createFromAbciResponse(t) {
16479
16588
  return new e(t.list);
16480
16589
  }
@@ -16485,9 +16594,9 @@ var Aw = class e {
16485
16594
  return this.transactions.length > 0;
16486
16595
  }
16487
16596
  getTransactions() {
16488
- return this.transactions.map((e) => new RE(e));
16597
+ return this.transactions.map((e) => new KE(e));
16489
16598
  }
16490
- }, RE = class {
16599
+ }, KE = class {
16491
16600
  constructor(e) {
16492
16601
  this.transaction = e;
16493
16602
  }
@@ -16558,11 +16667,11 @@ var Aw = class e {
16558
16667
  isReceivedPayment() {
16559
16668
  return this.transaction.type == 9;
16560
16669
  }
16561
- }, zE = class extends FE {
16670
+ }, qE = class extends UE {
16562
16671
  getPrefix() {
16563
16672
  return ["ACTOR", "SEED"];
16564
16673
  }
16565
- }, BE = class e {
16674
+ }, JE = class e {
16566
16675
  static createFromAccountStateAbciResponse(t) {
16567
16676
  return new e(t.balance, t.locks);
16568
16677
  }
@@ -16775,45 +16884,45 @@ var Aw = class e {
16775
16884
  getEscrowed() {
16776
16885
  return hn.createAtomic(this.getBreakdown().escrowed);
16777
16886
  }
16778
- }, VE = class {
16887
+ }, YE = class {
16779
16888
  static encoder = new ux({
16780
16889
  tagUint8Array: !0,
16781
16890
  mapsAsObjects: !0
16782
16891
  });
16783
16892
  static encodeRequest(e) {
16784
- return this.encoder.encode(R(DE, e));
16893
+ return this.encoder.encode(R(FE, e));
16785
16894
  }
16786
16895
  static decodeRequest(e) {
16787
- return R(DE, this.encoder.decode(e));
16896
+ return R(FE, this.encoder.decode(e));
16788
16897
  }
16789
16898
  static encodeResponse(e) {
16790
- return this.encoder.encode(R(ME, e));
16899
+ return this.encoder.encode(R(BE, e));
16791
16900
  }
16792
16901
  static decodeResponse(e) {
16793
- return R(ME, this.encoder.decode(e));
16902
+ return R(BE, this.encoder.decode(e));
16794
16903
  }
16795
- }, HE = class {
16904
+ }, XE = class {
16796
16905
  static validateRequest(e) {
16797
- return R(DE, e);
16906
+ return R(FE, e);
16798
16907
  }
16799
16908
  static validateResponse(e) {
16800
- return R(ME, e);
16909
+ return R(BE, e);
16801
16910
  }
16802
- }, UE = class extends FE {
16911
+ }, ZE = class extends UE {
16803
16912
  getPrefix() {
16804
16913
  return ["WALLET", "SEED"];
16805
16914
  }
16806
- }, WE = class e {
16915
+ }, QE = class e {
16807
16916
  constructor(e) {
16808
16917
  this.actorSeed = e;
16809
16918
  }
16810
16919
  static createFromAccountSeedAndVbSeed(t, n) {
16811
16920
  return new e(A.binaryFrom(t, n));
16812
16921
  }
16813
- static parseFromString(t, n = new FE()) {
16922
+ static parseFromString(t, n = new UE()) {
16814
16923
  return new e(n.decode(t));
16815
16924
  }
16816
- encode(e = new FE()) {
16925
+ encode(e = new UE()) {
16817
16926
  return e.encode(this.actorSeed);
16818
16927
  }
16819
16928
  getSeedAsBytes() {
@@ -16836,22 +16945,22 @@ var Aw = class e {
16836
16945
  encoderStringAsBytes(e) {
16837
16946
  return new TextEncoder().encode(e);
16838
16947
  }
16839
- }, GE = class e {
16948
+ }, $E = class e {
16840
16949
  static createFromWalletSeedAndNonce(t, n) {
16841
16950
  let r = A.binaryFrom(t, n), i = $v.createDefaultKDF(), a = this.encoderStringAsBytes("ACCOUNT_SEED");
16842
16951
  return new e(i.deriveKeyNoSalt(r, a, 32));
16843
16952
  }
16844
- static parseFromString(t, n = new FE()) {
16953
+ static parseFromString(t, n = new UE()) {
16845
16954
  return new e(n.decode(t));
16846
16955
  }
16847
- encode(e = new FE()) {
16956
+ encode(e = new UE()) {
16848
16957
  return e.encode(this.accountSeed);
16849
16958
  }
16850
16959
  constructor(e) {
16851
16960
  this.accountSeed = e;
16852
16961
  }
16853
16962
  deriveActorFromVbSeed(e) {
16854
- return WE.createFromAccountSeedAndVbSeed(this.accountSeed, e);
16963
+ return QE.createFromAccountSeedAndVbSeed(this.accountSeed, e);
16855
16964
  }
16856
16965
  async getPrivateSignatureKey(t) {
16857
16966
  let n = $v.createDefaultKDF();
@@ -16886,9 +16995,9 @@ var Aw = class e {
16886
16995
  return t === 1 ? r.setUint8(0, e) : t === 2 ? r.setUint16(0, e, !1) : t === 4 ? r.setUint32(0, e, !1) : t === 8 && r.setBigUint64(0, BigInt(e), !1), new Uint8Array(n);
16887
16996
  }
16888
16997
  getActor(e) {
16889
- return WE.createFromAccountSeedAndVbSeed(this.accountSeed, e);
16998
+ return QE.createFromAccountSeedAndVbSeed(this.accountSeed, e);
16890
16999
  }
16891
- }, KE = class e {
17000
+ }, eD = class e {
16892
17001
  static generateWallet() {
16893
17002
  return new e(Pu(64));
16894
17003
  }
@@ -16896,18 +17005,18 @@ var Aw = class e {
16896
17005
  if (!(t instanceof Uint8Array)) throw new i(`Seed must be a Uint8Array, got ${typeof t}`);
16897
17006
  return new e(t);
16898
17007
  }
16899
- static parseFromString(t, n = new FE()) {
17008
+ static parseFromString(t, n = new UE()) {
16900
17009
  if (typeof t != "string") throw new i(`Seed must be a string, got ${typeof t}`);
16901
17010
  return new e(n.decode(t));
16902
17011
  }
16903
- encode(e = new FE()) {
17012
+ encode(e = new UE()) {
16904
17013
  return e.encode(this.walletSeed);
16905
17014
  }
16906
17015
  constructor(e) {
16907
17016
  this.walletSeed = e;
16908
17017
  }
16909
17018
  getDefaultAccountCrypto() {
16910
- return GE.createFromWalletSeedAndNonce(this.walletSeed, 0);
17019
+ return $E.createFromWalletSeedAndNonce(this.walletSeed, 0);
16911
17020
  }
16912
17021
  async generateActorPrivateSignatureKey(e, t) {
16913
17022
  let n = $v.createDefaultKDF(), r = new Uint8Array([...this.walletSeed, ...t]), i = new TextEncoder(), a = n.deriveKeyNoSalt(r, i.encode("SIG"), 32);
@@ -16918,7 +17027,7 @@ var Aw = class e {
16918
17027
  return $v.createPrivateDecryptionKey(e, a);
16919
17028
  }
16920
17029
  getPrivateSignatureKey(e = Ja.SECP256K1) {
16921
- let t = $v.createDefaultKDF(), n = $v.createSignatureScheme(e).expectedSeedSize(), r = GE.encoderStringAsBytes(`SIG_${e}`), i = t.deriveKeyNoSalt(this.walletSeed, r, n);
17030
+ let t = $v.createDefaultKDF(), n = $v.createSignatureScheme(e).expectedSeedSize(), r = $E.encoderStringAsBytes(`SIG_${e}`), i = t.deriveKeyNoSalt(this.walletSeed, r, n);
16922
17031
  return $v.createPrivateSignatureKey(e, i);
16923
17032
  }
16924
17033
  getDecapsulationKey(e) {
@@ -16928,13 +17037,13 @@ var Aw = class e {
16928
17037
  return this.getAccount(e).getAccountSeed();
16929
17038
  }
16930
17039
  getAccount(e) {
16931
- return GE.createFromWalletSeedAndNonce(this.walletSeed, e);
17040
+ return $E.createFromWalletSeedAndNonce(this.walletSeed, e);
16932
17041
  }
16933
17042
  getAccountPrivateSignatureKey(e, t) {
16934
- return GE.createFromWalletSeedAndNonce(this.walletSeed, t).getPrivateSignatureKey(e);
17043
+ return $E.createFromWalletSeedAndNonce(this.walletSeed, t).getPrivateSignatureKey(e);
16935
17044
  }
16936
17045
  getActorPrivateSignatureKey(e, t, n) {
16937
- return GE.createFromWalletSeedAndNonce(this.walletSeed, n).deriveActorFromVbSeed(t).getPrivateSignatureKey(e);
17046
+ return $E.createFromWalletSeedAndNonce(this.walletSeed, n).deriveActorFromVbSeed(t).getPrivateSignatureKey(e);
16938
17047
  }
16939
17048
  getVirtualBlockchainDecapsulationKey(e, t) {
16940
17049
  return new $v().createVirtualBlockchainDecapsulationKey(e, this.walletSeed, t);
@@ -16944,4 +17053,4 @@ var Aw = class e {
16944
17053
  }
16945
17054
  };
16946
17055
  //#endregion
16947
- export { Wr as ACCOUNT_ALLOWED_TRANSFERS, Hr as ACCOUNT_BLOCK_FEES, Br as ACCOUNT_BURNT_TOKENS, pa as ACCOUNT_CREATION, _a as ACCOUNT_ESCROW_SETTLEMENT, ga as ACCOUNT_ESCROW_TRANSFER, ii as ACCOUNT_HISTORY, Ur as ACCOUNT_NAMES, da as ACCOUNT_PUBLIC_KEY, va as ACCOUNT_STAKE, Vr as ACCOUNT_STANDARD, ri as ACCOUNT_STATE, fa as ACCOUNT_TOKEN_ISSUANCE, ma as ACCOUNT_TRANSFER, ha as ACCOUNT_VESTING_TRANSFER, Kg as AES256GCMSymmetricEncryptionKey, Gg as AES256GCMSymmetricEncryptionScheme, ia as ALL_SCHEMAS, Wa as ALL_SECTIONS_SCHEMAS, Oa as APP_CREATION, ka as APP_DESCRIPTION, Pa as APP_LEDGER_ACTOR_CREATION, Ra as APP_LEDGER_ACTOR_SUBSCRIPTION, Ma as APP_LEDGER_ALLOWED_PKE_SCHEMES, ja as APP_LEDGER_ALLOWED_SIG_SCHEMES, Va as APP_LEDGER_AUTHOR, Fa as APP_LEDGER_CHANNEL_CREATION, La as APP_LEDGER_CHANNEL_INVITATION, Na as APP_LEDGER_CREATION, Ha as APP_LEDGER_ENDORSEMENT_REQUEST, Ba as APP_LEDGER_PRIVATE_CHANNEL_DATA, za as APP_LEDGER_PUBLIC_CHANNEL_DATA, Ia as APP_LEDGER_SHARED_SECRET, sm as ARRAY, FT as AbciQueryEncoder, uT as AbciRequestSchema, $ as AbciRequestType, PT as AbciResponseSchema, dT as AbciResponseType, Mv as AbstractPrivateDecryptionKey, Bw as AbstractProvider, jv as AbstractPublicEncryptionKey, Av as AbstractPublicKeyEncryptionScheme, cg as AccountBreakdownSchema, TT as AccountByPublicKeyHashAbciResponseSchema, Qm as AccountCreationSectionSchema, GE as AccountCrypto, nh as AccountEscrowSettlementSectionSchema, th as AccountEscrowTransferSectionSchema, wT as AccountHistoryAbciResponseSchema, dg as AccountHistoryEntrySchema, fg as AccountHistorySchema, KT as AccountHistoryView, ug as AccountInformationSchema, Fx as AccountInternalState, Wx as AccountInternalStateUpdater, cS as AccountMicroblockStructureChecker, _e as AccountNotFoundForAccountHashError, ge as AccountNotFoundForPublicKeyError, xe as AccountNotFoundForPublicKeyHashError, NT as AccountProofAbciResponseSchema, LS as AccountProofEntrySchema, IS as AccountProofObjectSchema, RS as AccountProofSchema, Iw as AccountProofWrapper, Xm as AccountPublicKeySectionSchema, IE as AccountSeedEncoder, rh as AccountStakeSectionSchema, CT as AccountStateAbciResponseSchema, lg as AccountStateSchema, Zm as AccountTokenIssuanceSectionSchema, RE as AccountTransaction, LE as AccountTransactions, $m as AccountTransferSectionSchema, ih as AccountUnstakeSectionSchema, mg as AccountUpdateSchema, AT as AccountUpdatesAbciResponseSchema, lS as AccountVb, eh as AccountVestingTransferSectionSchema, kh as AccountVirtualBlockchainInternalStateSchema, zh as AccountVirtualBlockchainStateSchema, re as ActorAlreadyDefinedError, WE as ActorCrypto, oe as ActorNotDefinedError, he as ActorNotInvitedError, Te as ActorNotSubscribedError, zE as ActorSeedEncoder, kC as ActorType, ou as Aes, Km as AllowedAdditionalWriterSectionSchema, S as AlreadySubscribedError, Jx as AppLedgerLocalStateUpdaterV1, LC as AppLedgerMicroblockBuildRequestSchema, RC as AppLedgerMicroblockBuildRequestValidation, NS as AppLedgerProofSchema, vS as AppLedgerProofVB, oC as AppLedgerProofWrapper, fh as ApplicationCreationSectionSchema, ph as ApplicationDescriptionSectionSchema, Lx as ApplicationInternalState, Gx as ApplicationInternalStateUpdater, _h as ApplicationLedgerActorCreationSectionSchema, Ph as ApplicationLedgerActorInvitationStateSchema, Ih as ApplicationLedgerActorSchema, xh as ApplicationLedgerActorSubscriptionSectionSchema, hh as ApplicationLedgerAllowedPkeSchemesSectionSchema, mh as ApplicationLedgerAllowedSigSchemesSectionSchema, wh as ApplicationLedgerAuthorSectionSchema, vh as ApplicationLedgerChannelCreationSectionSchema, bh as ApplicationLedgerChannelInvitationSectionSchema, Nh as ApplicationLedgerChannelSchema, gh as ApplicationLedgerCreationSectionSchema, Th as ApplicationLedgerEndorsementRequestSectionSchema, Rx as ApplicationLedgerInternalState, Lh as ApplicationLedgerInternalStateObjectSchema, OC as ApplicationLedgerMicroblockBuilder, _S as ApplicationLedgerMicroblockStructureChecker, Ce as ApplicationLedgerNotFoundError, Ch as ApplicationLedgerPrivateChannelDataSectionSchema, Sh as ApplicationLedgerPublicChannelDataSectionSchema, yh as ApplicationLedgerSharedSecretSectionSchema, Fh as ApplicationLedgerSharedSecretStateSchema, gC as ApplicationLedgerVb, Uh as ApplicationLedgerVirtualBlockchainStateSchema, uS as ApplicationMicroblockStructureChecker, ye as ApplicationNotFoundError, Mh as ApplicationVBInternalStateObjectSchema, dS as ApplicationVb, Hh as ApplicationVirtualBlockchainStateSchema, gS as Assertion, Gm as AuxiliarySignatureSectionSchema, Xw as AwaitMicroblockAnchoringAbciRequestSchema, ym as BIN256, vm as BINARY, Er as BK_EARNED_BLOCK_FEES, Tr as BK_EARNED_TX_FEES, zr as BK_NAMES, gr as BK_PAID_BLOCK_FEES, hr as BK_PAID_TX_FEES, mr as BK_PLUS, Or as BK_PURCHASE, jr as BK_RECEIVED_ESCROW, Mr as BK_RECEIVED_ESCROW_REFUND, Nr as BK_RECEIVED_EXPIRED_ESCROW, Dr as BK_RECEIVED_ISSUANCE, kr as BK_RECEIVED_PAYMENT, Pr as BK_RECEIVED_SLASHED_TOKENS, Ar as BK_RECEIVED_VESTING, Rr as BK_REFERENCES, Fr as BK_REF_BLOCK, Ir as BK_REF_MICROBLOCK, Lr as BK_REF_SECTION, vr as BK_SALE, xr as BK_SENT_ESCROW, Sr as BK_SENT_ESCROW_REFUND, Cr as BK_SENT_EXPIRED_ESCROW, _r as BK_SENT_ISSUANCE, yr as BK_SENT_PAYMENT, wr as BK_SENT_SLASHED_TOKENS, br as BK_SENT_VESTING, ui as BLOCK_CONTENT, li as BLOCK_INFORMATION, dm as BOOLEAN, BE as BalanceAvailability, _w as Base32, _g as Base64, Fy as BaseHCVSignatureDecoder, iy as BaseHCVSignatureEncoder, Yg as BasePrivateSignatureKey, Xg as BasePublicSignatureKey, gT as BlockContentAbciResponseSchema, mT as BlockInformationAbciResponseSchema, kT as BlockModifiedAccountsAbciResponseSchema, Yh as BlockReferenceSchema, b as BlockchainError, X as BlockchainUtils, VC as BytesSignatureEncoder, Cg as BytesToBase64Encoder, wg as BytesToHexEncoder, kx as CBORCryptoBinaryEncoder, sr as CENTITOKEN, Hn as CHAIN, hn as CMTSToken, qr as CONTRACT_PARAMETER_SCHEMA, Jr as CONTRACT_SCHEMA, le as CannotSubscribeError, o as CarmentisError, n as CarmentisErrorCode, pT as ChainInformationAbciResponseSchema, Qh as ChainReferenceSchema, Jh as ChainReferenceType, ae as ChannelAlreadyDefinedError, se as ChannelNotDefinedError, _E as ClientBridgeEncoder, gE as ClientBridgeMessageSchema, dE as ClientBridgeMessageSchema_Answer, pE as ClientBridgeMessageSchema_ConnectionAccepted, fE as ClientBridgeMessageSchema_ConnectionInfo, cE as ClientBridgeMessageSchema_ConnectionToken, hE as ClientBridgeMessageSchema_Error, lE as ClientBridgeMessageSchema_ForwardedAnswer, mE as ClientBridgeMessageSchema_ForwardedRequest, uE as ClientBridgeMessageSchema_GetConnectionInfo, oE as ClientBridgeMessageSchema_Request, sE as ClientBridgeMessageSchema_UpdateQr, iE as ClientBridgeMessageType, vE as ClientBridgeValidation, Pw as CometBFTErrorCode, WT as CometBFTNodeWebSocket, BC as CometBFTPublicKey, zT as CometBFTPublicKeyConverter, iS as ConstraintNameByConstraint, xp as Crypto, Ax as CryptoEncoderFactory, d as CryptoError, $v as CryptoSchemeFactory, fv as CryptographicHashSchemeId, jw as CurrencyConverterFactory, pe as CurrentActorNotFoundError, Um as CustomSectionSchema, gn as DATA, Ga as DEF, f as DecryptionError, ir as ECO, Kr as ERROR, Ka as ERRORS, Ew as Economics, v as EconomicsError, Qv as Ed25519PrivateSignatureKey, Zv as Ed25519PublicSignatureKey, Xv as Ed25519SignatureScheme, u as EmptyBlockError, Sg as EncoderFactory, Dy as EnvApiKeyPkmsCredentialProvider, fT as ErrorAbciResponseSchema, ng as EscrowLockSchema, tg as EscrowParametersSchema, Aw as Euros, Mw as EurosToCMTSConverter, Vw as ExpirationDate, qg as ExtendedSymmetricEncryptionKey, Vn as FORMAT, Px as FeesCalculationFormulaFactory, Nx as FirstFeesFormula, pr as GAS_ATOMS_PER_GAS, fr as GAS_PER_BYTE, iw as GenericSymmetricKeyEncoder, DT as GenesisSnapshotAbciResponseSchema, eT as GetAccountByPublicKeyHashAbciRequestSchema, $w as GetAccountHistoryAbciRequestSchema, lT as GetAccountProofAbciRequestSchema, Qw as GetAccountStateAbciRequestSchema, aT as GetAccountUpdatesAbciRequestSchema, Kw as GetBlockContentAbciRequestSchema, Gw as GetBlockInformationAbciRequestSchema, iT as GetBlockModifiedAccountsAbciRequestSchema, Ww as GetChainInformationAbciRequestSchema, nT as GetGenesisSnapshotAbciRequestSchema, Zw as GetMicroblockBodysAbciRequestSchema, Yw as GetMicroblockInformationAbciRequestSchema, oT as GetMicroblockInformationByHeightAbciRequestSchema, cT as GetMicroblockProofAbciRequestSchema, rT as GetRawBlockContentAbciRequestSchema, sT as GetSerializedMicroblockByHeightAbciRequestSchema, tT as GetValidatorNodeByAddressAbciRequestSchema, qw as GetVirtualBlockchainStateAbciRequestSchema, Jw as GetVirtualBlockchainUpdateAbciRequestSchema, Fn as HASHABLE, zn as HASHED, bm as HASH_STR, Eg as HCVCodec, Tg as HCVDecoded, ey as HCVPkeEncoder, Dv as HKDF, By as HandlerBasedSignatureEncoder, Ix as Hash, Zc as Hashes, lr as INITIAL_OFFER, i as IllegalParameterError, a as IllegalStateError, r as IllegalUsageError, m as InternalError, Ux as InternalStateFactory, Qx as InternalStateUpdaterFactory, ie as InvalidActorError, fe as InvalidChannelError, y as InvalidTokenUnitError, pC as JsonSchema, nw as JwkSignatureEncoder, Tv as KeyDerivationFunction, Ev as KeyDerivationFunctionSchemeId, Jg as KeyExchangeSchemeId, $h as LOCK_TYPE_COUNT, sg as LockSchema, eg as LockType, k as Logger, Un as MAGIC_STRING, In as MASKABLE, Bn as MASKED, dr as MAXIMUM_GAS_PRICE, er as MAX_MICROBLOCK_FUTURE_DELAY, $n as MAX_MICROBLOCK_PAST_DELAY, rr as MB_STATUS_PREVIOUS_HASH_ERROR, nr as MB_STATUS_TIMESTAMP_ERROR, tr as MB_STATUS_UNRECOVERABLE_ERROR, gi as MICROBLOCK_BODY, mi as MICROBLOCK_HEADER, fi as MICROBLOCK_HEADER_BODY_HASH_OFFSET, di as MICROBLOCK_HEADER_PREVIOUS_HASH_OFFSET, pi as MICROBLOCK_HEADER_SIZE, hi as MICROBLOCK_SECTION, _i as MICROBLOCK_VB_INFORMATION, cr as MILLITOKEN, ur as MINIMUM_GAS_PRICE, Ry as MLDSA65HCVSignatureDecoder, sy as MLDSA65HCVSignatureEncoder, $g as MLDSA65PrivateSignatureKey, Qg as MLDSA65PublicSignatureKey, Zg as MLDSA65SignatureScheme, vd as MLDsa, Hd as MLKem, Bi as MSG_ACCOUNT_BY_PUBLIC_KEY_HASH, Ri as MSG_ACCOUNT_HISTORY, Ii as MSG_ACCOUNT_STATE, ji as MSG_AWAIT_MICROBLOCK_ANCHORING, wi as MSG_BLOCK_CONTENT, Si as MSG_BLOCK_INFORMATION, bi as MSG_CHAIN_INFORMATION, vi as MSG_ERROR, Ki as MSG_GENESIS_SNAPSHOT, zi as MSG_GET_ACCOUNT_BY_PUBLIC_KEY_HASH, Li as MSG_GET_ACCOUNT_HISTORY, Fi as MSG_GET_ACCOUNT_STATE, Ci as MSG_GET_BLOCK_CONTENT, xi as MSG_GET_BLOCK_INFORMATION, yi as MSG_GET_CHAIN_INFORMATION, Gi as MSG_GET_GENESIS_SNAPSHOT, Ni as MSG_GET_MICROBLOCK_BODYS, ki as MSG_GET_MICROBLOCK_INFORMATION, Ui as MSG_GET_OBJECT_LIST, Vi as MSG_GET_VALIDATOR_NODE_BY_ADDRESS, Ti as MSG_GET_VIRTUAL_BLOCKCHAIN_STATE, Di as MSG_GET_VIRTUAL_BLOCKCHAIN_UPDATE, Mi as MSG_MICROBLOCK_ANCHORING, Pi as MSG_MICROBLOCK_BODYS, Ai as MSG_MICROBLOCK_INFORMATION, Wi as MSG_OBJECT_LIST, Hi as MSG_VALIDATOR_NODE_BY_ADDRESS, Ei as MSG_VIRTUAL_BLOCKCHAIN_STATE, Oi as MSG_VIRTUAL_BLOCKCHAIN_UPDATE, Hw as MemoryProvider, cC as MerkleLeaf, Q as MerkleLeafTypeEnum, fC as MerkleRecord, sC as MerkleTree, Cw as MessageSerializer, ww as MessageUnserializer, te as MicroBlockNotFoundError, ne as MicroBlockNotFoundInBlockError, x as MicroBlockNotFoundInVirtualBlockchainAtHeightError, tS as Microblock, bT as MicroblockAnchoringAbciResponseSchema, xT as MicroblockBodyItemSchema, Dh as MicroblockBodySchema, ST as MicroblockBodysAbciResponseSchema, vC as MicroblockConsistencyChecker, Lm as MicroblockHeaderSchema, yT as MicroblockInformationAbciResponseSchema, qh as MicroblockInformationSchema, MT as MicroblockProofAbciResponseSchema, BS as MicroblockProofEntrySchema, zS as MicroblockProofObjectSchema, VS as MicroblockProofSchema, Rw as MicroblockProofWrapper, Xh as MicroblockReferenceSchema, eS as MicroblockStructSchema, s as MicroblockStructureCheckingError, Wv as MlKemCiphertextEncoder, Kv as MlKemPrivateDecryptionKey, Gv as MlKemPublicEncryptionKey, Nv as MlKemPublicKeyEncryptionScheme, D as NODE_MESSAGES, fm as NULL, um as NUMBER, Zn as N_VIRTUAL_BLOCKCHAINS, Iy as NativeHCVSignatureDecoder, ay as NativeHCVSignatureEncoder, IT as NetworkProvider, bE as NetworksFileSchema, UT as NewBlockEventSchema, De as NoSharedSecretError, g as NodeConnectionRefusedError, _ as NodeEndpointClosedWhileCatchingUpError, h as NodeError, og as NodeStakingLockSchema, ag as NodeStakingParametersSchema, de as NotAllowedPkeSchemeError, ue as NotAllowedSignatureSchemeError, c as NotAuthenticatedError, ee as NotImplementedError, LT as NullMemoryProvider, RT as NullNetworkProvider, cm as OBJECT, Ta as ORG_CREATION, Ea as ORG_DESCRIPTION, ES as OnChainChannelSchema, OS as OnChainItemListSchema, DS as OnChainItemSchema, hC as OnChainRecord, _C as Optional, uh as OrganizationCreationSectionSchema, dh as OrganizationDescriptionSectionSchema, Vx as OrganizationInternalState, Zx as OrganizationInternalStateUpdater, oS as OrganizationMicroblockStructureChecker, ve as OrganizationNotFoundError, Ah as OrganizationVBInternalStateObjectSchema, sS as OrganizationVb, Bh as OrganizationVirtualBlockchainStateSchema, yv as PBKDF2, Ln as PROPERTIES, ca as PROTOCOL_CREATION, la as PROTOCOL_UPDATE, oi as PROTOCOL_VARIABLES, si as PROTOCOL_VB_STATE, Wn as PROTOCOL_VERSION, l as ParsingError, vv as PasswordBasedKeyDerivationFunction, _v as PasswordBasedKeyDerivationFunctionSchemeId, rw as PkeEncoderFactory, ky as PkmsSecp256k1PrivateSignatureKey, Ay as PkmsSecp256k1PublicSignatureKey, zy as PkmsSecp256k1SignatureDecoder, jy as PkmsSecp256k1SignatureEncoder, PS as ProofBlockObjectSchema, FS as ProofBlockSchema, zw as ProofFactory, kS as ProofFieldTypeEnum, HS as ProofInfoSchema, lC as ProofRecord, ce as ProofVerificationFailedError, Nw as ProofVerificationResult, iC as ProofWrapper, qm as ProtocolCreationSectionSchema, we as ProtocolError, Bx as ProtocolInternalState, Xx as ProtocolInternalStateUpdater, mS as ProtocolMicroblockStructureChecker, Hm as ProtocolUpdateSchema, Jm as ProtocolUpdateSectionSchema, Oh as ProtocolVBInternalStateObjectSchema, Vm as ProtocolVariablesSchema, Ym as ProtocolVariablesSectionSchema, hS as ProtocolVb, Wh as ProtocolVirtualBlockchainStateSchema, BT as Provider, VT as ProviderFactory, kv as PublicKeyEncryptionAlgorithmId, Ov as PublicKeyEncryptionSchemeId, xC as RADIX_CST, ni as RECORD_DESCRIPTION, Rn as REDACTED, Uw as RPCNodeStatusResponseSchema, SC as RadixUtils, Xs as Random, OT as RawBlockContentAbciResponseSchema, Vv as ReadStream, mC as Record, NC as RecordActorAssignationSchema, AC as RecordActorSchema, uC as RecordByChannels, MC as RecordChannelAssignationSchema, jC as RecordChannelSchema, IC as RecordHashableFieldSchema, FC as RecordMaskableFieldSchema, PC as RecordMaskedPartSchema, pg as RequestedAccountUpdateSchema, Bm as RetentionCostBreakdownSchema, Mx as RetentionCostCalculator, zm as RetentionPolicySchema, Rm as RetentionTierSchema, Gr as SCHEMAS, aa as SECTIONS, oa as SIGNATURE, sa as SIGNATURE_SCHEMA, lm as STRING, dC as SaltShaker, Hv as SchemaSerializer, Uv as SchemaUnserializer, Tw as SchemaValidator, uw as Scrypt, pp as Secp256k1, Ly as Secp256k1HCVSignatureDecoder, oy as Secp256k1HCVSignatureEncoder, Yv as Secp256k1PrivateSignatureKey, Jv as Secp256k1PublicSignatureKey, qv as Secp256k1SignatureScheme, Z as SectionConstraint, me as SectionError, qx as SectionLabel, Ee as SectionNotFoundError, Zh as SectionReferenceSchema, Eh as SectionSchema, O as SectionType, FE as SeedEncoder, fw as SelfProvidedApiKeyPkmsCredentialProvider, Oe as SerializationError, jT as SerializedMicroblockByHeightAbciResponseSchema, HT as ServerNetworkProvider, pv as Sha256CryptographicHash, p as SharedKeyDecryptionError, dw as SignatureAlgorithmId, pw as SignatureCacheDisabled, mw as SignatureCacheEntry, hw as SignatureCacheMonothread, Ja as SignatureSchemeId, Wm as SignatureSectionSchema, eC as SignedAccountPayloadSchema, QS as SignedAppLedgerPayloadSchema, nC as SignedMicroblockPayloadSchema, XS as SignedProofPayloadSchema, DC as StateChecker, aS as StructureChecker, Wg as SymmetricEncryptionSchemeId, or as TOKEN, ar as TOKEN_NAME, vn as TYPE_ARRAY, Nn as TYPE_ARRAY_OF, An as TYPE_BIN256, kn as TYPE_BINARY, Sn as TYPE_BOOLEAN, jn as TYPE_HASH_STR, Mn as TYPE_MAIN, Pn as TYPE_NAMES, Cn as TYPE_NULL, xn as TYPE_NUMBER, yn as TYPE_OBJECT, bn as TYPE_STRING, Tn as TYPE_UINT16, En as TYPE_UINT24, Dn as TYPE_UINT32, On as TYPE_UINT48, wn as TYPE_UINT8, _n as TYPE_UNKNOWN, nS as ThrownErrorMicroblockSearchFailureFallback, $x as TimestampValidationResult, pn as TokenUnit, mn as TokenUnitLabel, GT as Transaction, bS as TransformationTypeEnum, ro as TypeChecker, eo as TypeCheckingFailureError, SS as TypeEnum, no as TypeManager, mm as UINT16, hm as UINT24, gm as UINT32, _m as UINT48, pm as UINT8, Za as Utf8Encoder, A as Utils, Kn as VB_ACCOUNT, Yn as VB_APPLICATION, Xn as VB_APP_LEDGER, Qn as VB_NAME, Jn as VB_ORGANIZATION, Gn as VB_PROTOCOL, ci as VB_STATES, qn as VB_VALIDATOR_NODE, ai as VIRTUAL_BLOCKCHAIN_STATE, Ca as VN_APPROVAL, xa as VN_COMETBFT_PUBLIC_KEY_DECLARATION, ba as VN_CREATION, Sa as VN_RPC_ENDPOINT, ch as ValidatorNodeApprovalSectionSchema, ET as ValidatorNodeByAddressAbciResponseSchema, oh as ValidatorNodeCometbftPublicKeyDeclarationSectionSchema, ah as ValidatorNodeCreationSectionSchema, Hx as ValidatorNodeInternalState, Yx as ValidatorNodeInternalStateUpdater, fS as ValidatorNodeMicroblockStructureChecker, be as ValidatorNodeNotFoundError, sh as ValidatorNodeRpcEndpointSectionSchema, lh as ValidatorNodeSlashingCancellationSectionSchema, jh as ValidatorNodeVBInternalStateObjectSchema, pS as ValidatorNodeVb, Vh as ValidatorNodeVirtualBlockchainStateSchema, ig as VestingLockSchema, rg as VestingParametersSchema, rS as VirtualBlockchain, Kh as VirtualBlockchainInfoSchema, JT as VirtualBlockchainLabel, Se as VirtualBlockchainNotFoundError, Rh as VirtualBlockchainSharedPropertiesSchema, _T as VirtualBlockchainStateAbciResponseSchema, Gh as VirtualBlockchainStateSchema, xE as VirtualBlockchainStatusSchema, H as VirtualBlockchainType, vT as VirtualBlockchainUpdateAbciResponseSchema, $i as WIMSG_ANSWER, ta as WIMSG_CONNECTION_ACCEPTED, ea as WIMSG_CONNECTION_INFO, Xi as WIMSG_CONNECTION_TOKEN, Zi as WIMSG_FORWARDED_ANSWER, na as WIMSG_FORWARDED_REQUEST, Qi as WIMSG_GET_CONNECTION_INFO, Ji as WIMSG_REQUEST, Yi as WIMSG_UPDATE_QR, qa as WI_INVALID_SIGNATURE, rE as WI_MAX_SERVER_URL_LENGTH, ra as WI_MESSAGES, qi as WI_QR_CODE, KE as WalletCrypto, VE as WalletInteractiveAnchoringEncoder, TE as WalletInteractiveAnchoringRequestActorKeySchema, wE as WalletInteractiveAnchoringRequestApprovalHandshakeSchema, EE as WalletInteractiveAnchoringRequestApprovalSignatureSchema, DE as WalletInteractiveAnchoringRequestSchema, SE as WalletInteractiveAnchoringRequestType, kE as WalletInteractiveAnchoringResponseActorKeyRequiredSchema, AE as WalletInteractiveAnchoringResponseApprovalDataSchema, jE as WalletInteractiveAnchoringResponseApprovalSignatureSchema, OE as WalletInteractiveAnchoringResponseErrorSchema, ME as WalletInteractiveAnchoringResponseSchema, CE as WalletInteractiveAnchoringResponseType, HE as WalletInteractiveAnchoringValidation, ZT as WalletRequestAuthByPublicKeySchema, zC as WalletRequestBasedApplicationLedgerMicroblockBuilder, QT as WalletRequestDataApprovalSchema, NE as WalletRequestEncoder, $T as WalletRequestSchema, YT as WalletRequestType, PE as WalletRequestValidation, eE as WalletResponseAuthByPublicKeySchema, tE as WalletResponseDataApprovalSchema, nE as WalletResponseSchema, XT as WalletResponseType, UE as WalletSeedEncoder, yE as WiQrCodeEncoder, aE as WiQrCodeSchema, tC as WrappedAccountProofSchema, $S as WrappedAppLedgerProofSchema, rC as WrappedMicroblockProofSchema, ZS as WrappedProofSchema, Bv as WriteStream, Nm as accountId, xm as array, Mm as bin256, jm as binary, wm as boolean, Pm as height, V as naturalInt, Im as nonNegativeInt, Cm as number, Fm as positiveInt, Sm as string, Dm as uint16, Om as uint24, km as uint32, Am as uint48, Em as uint8, B as uint8array, TC as verifyRadixProof };
17056
+ export { Wr as ACCOUNT_ALLOWED_TRANSFERS, Hr as ACCOUNT_BLOCK_FEES, Br as ACCOUNT_BURNT_TOKENS, pa as ACCOUNT_CREATION, _a as ACCOUNT_ESCROW_SETTLEMENT, ga as ACCOUNT_ESCROW_TRANSFER, ii as ACCOUNT_HISTORY, Ur as ACCOUNT_NAMES, da as ACCOUNT_PUBLIC_KEY, va as ACCOUNT_STAKE, Vr as ACCOUNT_STANDARD, ri as ACCOUNT_STATE, fa as ACCOUNT_TOKEN_ISSUANCE, ma as ACCOUNT_TRANSFER, ha as ACCOUNT_VESTING_TRANSFER, Kg as AES256GCMSymmetricEncryptionKey, Gg as AES256GCMSymmetricEncryptionScheme, ia as ALL_SCHEMAS, Wa as ALL_SECTIONS_SCHEMAS, Oa as APP_CREATION, ka as APP_DESCRIPTION, Pa as APP_LEDGER_ACTOR_CREATION, Ra as APP_LEDGER_ACTOR_SUBSCRIPTION, Ma as APP_LEDGER_ALLOWED_PKE_SCHEMES, ja as APP_LEDGER_ALLOWED_SIG_SCHEMES, Va as APP_LEDGER_AUTHOR, Fa as APP_LEDGER_CHANNEL_CREATION, La as APP_LEDGER_CHANNEL_INVITATION, Na as APP_LEDGER_CREATION, Ha as APP_LEDGER_ENDORSEMENT_REQUEST, Ba as APP_LEDGER_PRIVATE_CHANNEL_DATA, za as APP_LEDGER_PUBLIC_CHANNEL_DATA, Ia as APP_LEDGER_SHARED_SECRET, sm as ARRAY, UT as AbciQueryEncoder, vT as AbciRequestSchema, $ as AbciRequestType, HT as AbciResponseSchema, yT as AbciResponseType, Mv as AbstractPrivateDecryptionKey, Jw as AbstractProvider, jv as AbstractPublicEncryptionKey, Av as AbstractPublicKeyEncryptionScheme, cg as AccountBreakdownSchema, NT as AccountByPublicKeyHashAbciResponseSchema, Qm as AccountCreationSectionSchema, $E as AccountCrypto, nh as AccountEscrowSettlementSectionSchema, th as AccountEscrowTransferSectionSchema, MT as AccountHistoryAbciResponseSchema, dg as AccountHistoryEntrySchema, fg as AccountHistorySchema, eE as AccountHistoryView, ug as AccountInformationSchema, Fx as AccountInternalState, Wx as AccountInternalStateUpdater, cS as AccountMicroblockStructureChecker, _e as AccountNotFoundForAccountHashError, ge as AccountNotFoundForPublicKeyError, xe as AccountNotFoundForPublicKeyHashError, VT as AccountProofAbciResponseSchema, LS as AccountProofEntrySchema, IS as AccountProofObjectSchema, RS as AccountProofSchema, Ww as AccountProofWrapper, Xm as AccountPublicKeySectionSchema, WE as AccountSeedEncoder, rh as AccountStakeSectionSchema, jT as AccountStateAbciResponseSchema, lg as AccountStateSchema, Zm as AccountTokenIssuanceSectionSchema, KE as AccountTransaction, GE as AccountTransactions, $m as AccountTransferSectionSchema, ih as AccountUnstakeSectionSchema, mg as AccountUpdateSchema, RT as AccountUpdatesAbciResponseSchema, lS as AccountVb, eh as AccountVestingTransferSectionSchema, kh as AccountVirtualBlockchainInternalStateSchema, zh as AccountVirtualBlockchainStateSchema, re as ActorAlreadyDefinedError, QE as ActorCrypto, oe as ActorNotDefinedError, he as ActorNotInvitedError, Te as ActorNotSubscribedError, qE as ActorSeedEncoder, kC as ActorType, ou as Aes, Km as AllowedAdditionalWriterSectionSchema, S as AlreadySubscribedError, Jx as AppLedgerLocalStateUpdaterV1, LC as AppLedgerMicroblockBuildRequestSchema, RC as AppLedgerMicroblockBuildRequestValidation, NS as AppLedgerProofSchema, vS as AppLedgerProofVB, oC as AppLedgerProofWrapper, fh as ApplicationCreationSectionSchema, ph as ApplicationDescriptionSectionSchema, Lx as ApplicationInternalState, Gx as ApplicationInternalStateUpdater, _h as ApplicationLedgerActorCreationSectionSchema, Ph as ApplicationLedgerActorInvitationStateSchema, Ih as ApplicationLedgerActorSchema, xh as ApplicationLedgerActorSubscriptionSectionSchema, hh as ApplicationLedgerAllowedPkeSchemesSectionSchema, mh as ApplicationLedgerAllowedSigSchemesSectionSchema, wh as ApplicationLedgerAuthorSectionSchema, vh as ApplicationLedgerChannelCreationSectionSchema, bh as ApplicationLedgerChannelInvitationSectionSchema, Nh as ApplicationLedgerChannelSchema, gh as ApplicationLedgerCreationSectionSchema, Th as ApplicationLedgerEndorsementRequestSectionSchema, Rx as ApplicationLedgerInternalState, Lh as ApplicationLedgerInternalStateObjectSchema, OC as ApplicationLedgerMicroblockBuilder, _S as ApplicationLedgerMicroblockStructureChecker, Ce as ApplicationLedgerNotFoundError, Ch as ApplicationLedgerPrivateChannelDataSectionSchema, Sh as ApplicationLedgerPublicChannelDataSectionSchema, yh as ApplicationLedgerSharedSecretSectionSchema, Fh as ApplicationLedgerSharedSecretStateSchema, gC as ApplicationLedgerVb, Uh as ApplicationLedgerVirtualBlockchainStateSchema, uS as ApplicationMicroblockStructureChecker, ye as ApplicationNotFoundError, Mh as ApplicationVBInternalStateObjectSchema, dS as ApplicationVb, Hh as ApplicationVirtualBlockchainStateSchema, gS as Assertion, Gm as AuxiliarySignatureSectionSchema, iT as AwaitMicroblockAnchoringAbciRequestSchema, ym as BIN256, vm as BINARY, Er as BK_EARNED_BLOCK_FEES, Tr as BK_EARNED_TX_FEES, zr as BK_NAMES, gr as BK_PAID_BLOCK_FEES, hr as BK_PAID_TX_FEES, mr as BK_PLUS, Or as BK_PURCHASE, jr as BK_RECEIVED_ESCROW, Mr as BK_RECEIVED_ESCROW_REFUND, Nr as BK_RECEIVED_EXPIRED_ESCROW, Dr as BK_RECEIVED_ISSUANCE, kr as BK_RECEIVED_PAYMENT, Pr as BK_RECEIVED_SLASHED_TOKENS, Ar as BK_RECEIVED_VESTING, Rr as BK_REFERENCES, Fr as BK_REF_BLOCK, Ir as BK_REF_MICROBLOCK, Lr as BK_REF_SECTION, vr as BK_SALE, xr as BK_SENT_ESCROW, Sr as BK_SENT_ESCROW_REFUND, Cr as BK_SENT_EXPIRED_ESCROW, _r as BK_SENT_ISSUANCE, yr as BK_SENT_PAYMENT, wr as BK_SENT_SLASHED_TOKENS, br as BK_SENT_VESTING, ui as BLOCK_CONTENT, li as BLOCK_INFORMATION, dm as BOOLEAN, JE as BalanceAvailability, Tw as Base32, _g as Base64, Py as BaseHCVSignatureDecoder, ow as BaseHCVSignatureEncoder, Yg as BasePrivateSignatureKey, Xg as BasePublicSignatureKey, wT as BlockContentAbciResponseSchema, ST as BlockInformationAbciResponseSchema, LT as BlockModifiedAccountsAbciResponseSchema, Yh as BlockReferenceSchema, b as BlockchainError, X as BlockchainUtils, VC as BytesSignatureEncoder, Cg as BytesToBase64Encoder, wg as BytesToHexEncoder, kx as CBORCryptoBinaryEncoder, sr as CENTITOKEN, Hn as CHAIN, hn as CMTSToken, qr as CONTRACT_PARAMETER_SCHEMA, Jr as CONTRACT_SCHEMA, le as CannotSubscribeError, o as CarmentisError, n as CarmentisErrorCode, xT as ChainInformationAbciResponseSchema, Qh as ChainReferenceSchema, Jh as ChainReferenceType, ae as ChannelAlreadyDefinedError, se as ChannelNotDefinedError, TE as ClientBridgeEncoder, wE as ClientBridgeMessageSchema, yE as ClientBridgeMessageSchema_Answer, xE as ClientBridgeMessageSchema_ConnectionAccepted, bE as ClientBridgeMessageSchema_ConnectionInfo, gE as ClientBridgeMessageSchema_ConnectionToken, CE as ClientBridgeMessageSchema_Error, _E as ClientBridgeMessageSchema_ForwardedAnswer, SE as ClientBridgeMessageSchema_ForwardedRequest, vE as ClientBridgeMessageSchema_GetConnectionInfo, mE as ClientBridgeMessageSchema_Request, hE as ClientBridgeMessageSchema_UpdateQr, fE as ClientBridgeMessageType, EE as ClientBridgeValidation, Hw as CometBFTErrorCode, QT as CometBFTNodeWebSocket, BC as CometBFTPublicKey, qT as CometBFTPublicKeyConverter, iS as ConstraintNameByConstraint, xp as Crypto, Ax as CryptoEncoderFactory, d as CryptoError, $v as CryptoSchemeFactory, fv as CryptographicHashSchemeId, zw as CurrencyConverterFactory, pe as CurrentActorNotFoundError, Um as CustomSectionSchema, gn as DATA, Ga as DEF, zy as DckfSignatureDecoder, Ay as DckfSignatureEncoder, f as DecryptionError, ir as ECO, Kr as ERROR, Ka as ERRORS, Pw as Economics, v as EconomicsError, Qv as Ed25519PrivateSignatureKey, Zv as Ed25519PublicSignatureKey, Xv as Ed25519SignatureScheme, u as EmptyBlockError, Sg as EncoderFactory, by as EnvApiKeyPkmsCredentialProvider, bT as ErrorAbciResponseSchema, ng as EscrowLockSchema, tg as EscrowParametersSchema, Rw as Euros, Bw as EurosToCMTSConverter, Yw as ExpirationDate, qg as ExtendedSymmetricEncryptionKey, Vn as FORMAT, Px as FeesCalculationFormulaFactory, Nx as FirstFeesFormula, pr as GAS_ATOMS_PER_GAS, fr as GAS_PER_BYTE, fw as GenericSymmetricKeyEncoder, FT as GenesisSnapshotAbciResponseSchema, cT as GetAccountByPublicKeyHashAbciRequestSchema, sT as GetAccountHistoryAbciRequestSchema, _T as GetAccountProofAbciRequestSchema, oT as GetAccountStateAbciRequestSchema, pT as GetAccountUpdatesAbciRequestSchema, eT as GetBlockContentAbciRequestSchema, $w as GetBlockInformationAbciRequestSchema, fT as GetBlockModifiedAccountsAbciRequestSchema, Qw as GetChainInformationAbciRequestSchema, uT as GetGenesisSnapshotAbciRequestSchema, aT as GetMicroblockBodysAbciRequestSchema, rT as GetMicroblockInformationAbciRequestSchema, mT as GetMicroblockInformationByHeightAbciRequestSchema, gT as GetMicroblockProofAbciRequestSchema, dT as GetRawBlockContentAbciRequestSchema, hT as GetSerializedMicroblockByHeightAbciRequestSchema, lT as GetValidatorNodeByAddressAbciRequestSchema, tT as GetVirtualBlockchainStateAbciRequestSchema, nT as GetVirtualBlockchainUpdateAbciRequestSchema, Fn as HASHABLE, zn as HASHED, bm as HASH_STR, Eg as HCVCodec, Tg as HCVDecoded, ey as HCVPkeEncoder, Dv as HKDF, By as HandlerBasedSignatureEncoder, Ix as Hash, Zc as Hashes, lr as INITIAL_OFFER, i as IllegalParameterError, a as IllegalStateError, r as IllegalUsageError, m as InternalError, Ux as InternalStateFactory, Qx as InternalStateUpdaterFactory, ie as InvalidActorError, fe as InvalidChannelError, y as InvalidTokenUnitError, pC as JsonSchema, nw as JwkSignatureEncoder, Tv as KeyDerivationFunction, Ev as KeyDerivationFunctionSchemeId, Jg as KeyExchangeSchemeId, $h as LOCK_TYPE_COUNT, sg as LockSchema, eg as LockType, k as Logger, Un as MAGIC_STRING, In as MASKABLE, Bn as MASKED, dr as MAXIMUM_GAS_PRICE, er as MAX_MICROBLOCK_FUTURE_DELAY, $n as MAX_MICROBLOCK_PAST_DELAY, rr as MB_STATUS_PREVIOUS_HASH_ERROR, nr as MB_STATUS_TIMESTAMP_ERROR, tr as MB_STATUS_UNRECOVERABLE_ERROR, gi as MICROBLOCK_BODY, mi as MICROBLOCK_HEADER, fi as MICROBLOCK_HEADER_BODY_HASH_OFFSET, di as MICROBLOCK_HEADER_PREVIOUS_HASH_OFFSET, pi as MICROBLOCK_HEADER_SIZE, hi as MICROBLOCK_SECTION, _i as MICROBLOCK_VB_INFORMATION, cr as MILLITOKEN, ur as MINIMUM_GAS_PRICE, Ly as MLDSA65HCVSignatureDecoder, cw as MLDSA65HCVSignatureEncoder, $g as MLDSA65PrivateSignatureKey, Qg as MLDSA65PublicSignatureKey, Zg as MLDSA65SignatureScheme, Ey as MLDSA65_TAG, vd as MLDsa, Hd as MLKem, Bi as MSG_ACCOUNT_BY_PUBLIC_KEY_HASH, Ri as MSG_ACCOUNT_HISTORY, Ii as MSG_ACCOUNT_STATE, ji as MSG_AWAIT_MICROBLOCK_ANCHORING, wi as MSG_BLOCK_CONTENT, Si as MSG_BLOCK_INFORMATION, bi as MSG_CHAIN_INFORMATION, vi as MSG_ERROR, Ki as MSG_GENESIS_SNAPSHOT, zi as MSG_GET_ACCOUNT_BY_PUBLIC_KEY_HASH, Li as MSG_GET_ACCOUNT_HISTORY, Fi as MSG_GET_ACCOUNT_STATE, Ci as MSG_GET_BLOCK_CONTENT, xi as MSG_GET_BLOCK_INFORMATION, yi as MSG_GET_CHAIN_INFORMATION, Gi as MSG_GET_GENESIS_SNAPSHOT, Ni as MSG_GET_MICROBLOCK_BODYS, ki as MSG_GET_MICROBLOCK_INFORMATION, Ui as MSG_GET_OBJECT_LIST, Vi as MSG_GET_VALIDATOR_NODE_BY_ADDRESS, Ti as MSG_GET_VIRTUAL_BLOCKCHAIN_STATE, Di as MSG_GET_VIRTUAL_BLOCKCHAIN_UPDATE, Mi as MSG_MICROBLOCK_ANCHORING, Pi as MSG_MICROBLOCK_BODYS, Ai as MSG_MICROBLOCK_INFORMATION, Wi as MSG_OBJECT_LIST, Hi as MSG_VALIDATOR_NODE_BY_ADDRESS, Ei as MSG_VIRTUAL_BLOCKCHAIN_STATE, Oi as MSG_VIRTUAL_BLOCKCHAIN_UPDATE, Xw as MemoryProvider, cC as MerkleLeaf, Q as MerkleLeafTypeEnum, fC as MerkleRecord, sC as MerkleTree, jw as MessageSerializer, Mw as MessageUnserializer, te as MicroBlockNotFoundError, ne as MicroBlockNotFoundInBlockError, x as MicroBlockNotFoundInVirtualBlockchainAtHeightError, tS as Microblock, OT as MicroblockAnchoringAbciResponseSchema, kT as MicroblockBodyItemSchema, Dh as MicroblockBodySchema, AT as MicroblockBodysAbciResponseSchema, vC as MicroblockConsistencyChecker, Lm as MicroblockHeaderSchema, DT as MicroblockInformationAbciResponseSchema, qh as MicroblockInformationSchema, BT as MicroblockProofAbciResponseSchema, BS as MicroblockProofEntrySchema, zS as MicroblockProofObjectSchema, VS as MicroblockProofSchema, Kw as MicroblockProofWrapper, Xh as MicroblockReferenceSchema, eS as MicroblockStructSchema, s as MicroblockStructureCheckingError, Wv as MlKemCiphertextEncoder, Kv as MlKemPrivateDecryptionKey, Gv as MlKemPublicEncryptionKey, Nv as MlKemPublicKeyEncryptionScheme, D as NODE_MESSAGES, fm as NULL, um as NUMBER, Zn as N_VIRTUAL_BLOCKCHAINS, Fy as NativeHCVSignatureDecoder, sw as NativeHCVSignatureEncoder, WT as NetworkProvider, OE as NetworksFileSchema, ZT as NewBlockEventSchema, De as NoSharedSecretError, g as NodeConnectionRefusedError, _ as NodeEndpointClosedWhileCatchingUpError, h as NodeError, og as NodeStakingLockSchema, ag as NodeStakingParametersSchema, de as NotAllowedPkeSchemeError, ue as NotAllowedSignatureSchemeError, c as NotAuthenticatedError, ee as NotImplementedError, GT as NullMemoryProvider, KT as NullNetworkProvider, cm as OBJECT, Ta as ORG_CREATION, Ea as ORG_DESCRIPTION, ES as OnChainChannelSchema, OS as OnChainItemListSchema, DS as OnChainItemSchema, hC as OnChainRecord, _C as Optional, uh as OrganizationCreationSectionSchema, dh as OrganizationDescriptionSectionSchema, Vx as OrganizationInternalState, Zx as OrganizationInternalStateUpdater, oS as OrganizationMicroblockStructureChecker, ve as OrganizationNotFoundError, Ah as OrganizationVBInternalStateObjectSchema, sS as OrganizationVb, Bh as OrganizationVirtualBlockchainStateSchema, yv as PBKDF2, Dy as PKMS_TAG, Ln as PROPERTIES, ca as PROTOCOL_CREATION, la as PROTOCOL_UPDATE, oi as PROTOCOL_VARIABLES, si as PROTOCOL_VB_STATE, Wn as PROTOCOL_VERSION, Oy as PUBLIC_KEY_TAG, l as ParsingError, vv as PasswordBasedKeyDerivationFunction, _v as PasswordBasedKeyDerivationFunctionSchemeId, dw as PkeEncoderFactory, Sy as PkmsSecp256k1PrivateSignatureKey, Cy as PkmsSecp256k1PublicSignatureKey, Ry as PkmsSecp256k1SignatureDecoder, lw as PkmsSecp256k1SignatureEncoder, PS as ProofBlockObjectSchema, FS as ProofBlockSchema, qw as ProofFactory, kS as ProofFieldTypeEnum, HS as ProofInfoSchema, lC as ProofRecord, ce as ProofVerificationFailedError, Vw as ProofVerificationResult, iC as ProofWrapper, qm as ProtocolCreationSectionSchema, we as ProtocolError, Bx as ProtocolInternalState, Xx as ProtocolInternalStateUpdater, mS as ProtocolMicroblockStructureChecker, Hm as ProtocolUpdateSchema, Jm as ProtocolUpdateSectionSchema, Oh as ProtocolVBInternalStateObjectSchema, Vm as ProtocolVariablesSchema, Ym as ProtocolVariablesSectionSchema, hS as ProtocolVb, Wh as ProtocolVirtualBlockchainStateSchema, JT as Provider, YT as ProviderFactory, kv as PublicKeyEncryptionAlgorithmId, Ov as PublicKeyEncryptionSchemeId, xC as RADIX_CST, ni as RECORD_DESCRIPTION, Rn as REDACTED, Zw as RPCNodeStatusResponseSchema, SC as RadixUtils, Xs as Random, IT as RawBlockContentAbciResponseSchema, Vv as ReadStream, mC as Record, NC as RecordActorAssignationSchema, AC as RecordActorSchema, uC as RecordByChannels, MC as RecordChannelAssignationSchema, jC as RecordChannelSchema, IC as RecordHashableFieldSchema, FC as RecordMaskableFieldSchema, PC as RecordMaskedPartSchema, pg as RequestedAccountUpdateSchema, Bm as RetentionCostBreakdownSchema, Mx as RetentionCostCalculator, zm as RetentionPolicySchema, Rm as RetentionTierSchema, Gr as SCHEMAS, Ty as SECP256K1_TAG, ky as SECRET_KEY_TAG, aa as SECTIONS, oa as SIGNATURE, sa as SIGNATURE_SCHEMA, wy as SIGNATURE_TAG, lm as STRING, dC as SaltShaker, Hv as SchemaSerializer, Uv as SchemaUnserializer, Nw as SchemaValidator, vw as Scrypt, pp as Secp256k1, Iy as Secp256k1HCVSignatureDecoder, uw as Secp256k1HCVSignatureEncoder, Yv as Secp256k1PrivateSignatureKey, Jv as Secp256k1PublicSignatureKey, qv as Secp256k1SignatureScheme, Z as SectionConstraint, me as SectionError, qx as SectionLabel, Ee as SectionNotFoundError, Zh as SectionReferenceSchema, Eh as SectionSchema, O as SectionType, UE as SeedEncoder, bw as SelfProvidedApiKeyPkmsCredentialProvider, Oe as SerializationError, zT as SerializedMicroblockByHeightAbciResponseSchema, XT as ServerNetworkProvider, pv as Sha256CryptographicHash, p as SharedKeyDecryptionError, yw as SignatureAlgorithmId, xw as SignatureCacheDisabled, Sw as SignatureCacheEntry, Cw as SignatureCacheMonothread, Ja as SignatureSchemeId, Wm as SignatureSectionSchema, eC as SignedAccountPayloadSchema, QS as SignedAppLedgerPayloadSchema, nC as SignedMicroblockPayloadSchema, XS as SignedProofPayloadSchema, DC as StateChecker, aS as StructureChecker, Wg as SymmetricEncryptionSchemeId, or as TOKEN, ar as TOKEN_NAME, vn as TYPE_ARRAY, Nn as TYPE_ARRAY_OF, An as TYPE_BIN256, kn as TYPE_BINARY, Sn as TYPE_BOOLEAN, jn as TYPE_HASH_STR, Mn as TYPE_MAIN, Pn as TYPE_NAMES, Cn as TYPE_NULL, xn as TYPE_NUMBER, yn as TYPE_OBJECT, bn as TYPE_STRING, Tn as TYPE_UINT16, En as TYPE_UINT24, Dn as TYPE_UINT32, On as TYPE_UINT48, wn as TYPE_UINT8, _n as TYPE_UNKNOWN, nS as ThrownErrorMicroblockSearchFailureFallback, $x as TimestampValidationResult, pn as TokenUnit, mn as TokenUnitLabel, $T as Transaction, bS as TransformationTypeEnum, ro as TypeChecker, eo as TypeCheckingFailureError, SS as TypeEnum, no as TypeManager, mm as UINT16, hm as UINT24, gm as UINT32, _m as UINT48, pm as UINT8, Za as Utf8Encoder, A as Utils, Kn as VB_ACCOUNT, Yn as VB_APPLICATION, Xn as VB_APP_LEDGER, Qn as VB_NAME, Jn as VB_ORGANIZATION, Gn as VB_PROTOCOL, ci as VB_STATES, qn as VB_VALIDATOR_NODE, ai as VIRTUAL_BLOCKCHAIN_STATE, Ca as VN_APPROVAL, xa as VN_COMETBFT_PUBLIC_KEY_DECLARATION, ba as VN_CREATION, Sa as VN_RPC_ENDPOINT, ch as ValidatorNodeApprovalSectionSchema, PT as ValidatorNodeByAddressAbciResponseSchema, oh as ValidatorNodeCometbftPublicKeyDeclarationSectionSchema, ah as ValidatorNodeCreationSectionSchema, Hx as ValidatorNodeInternalState, Yx as ValidatorNodeInternalStateUpdater, fS as ValidatorNodeMicroblockStructureChecker, be as ValidatorNodeNotFoundError, sh as ValidatorNodeRpcEndpointSectionSchema, lh as ValidatorNodeSlashingCancellationSectionSchema, jh as ValidatorNodeVBInternalStateObjectSchema, pS as ValidatorNodeVb, Vh as ValidatorNodeVirtualBlockchainStateSchema, ig as VestingLockSchema, rg as VestingParametersSchema, rS as VirtualBlockchain, Kh as VirtualBlockchainInfoSchema, nE as VirtualBlockchainLabel, Se as VirtualBlockchainNotFoundError, Rh as VirtualBlockchainSharedPropertiesSchema, TT as VirtualBlockchainStateAbciResponseSchema, Gh as VirtualBlockchainStateSchema, kE as VirtualBlockchainStatusSchema, H as VirtualBlockchainType, ET as VirtualBlockchainUpdateAbciResponseSchema, $i as WIMSG_ANSWER, ta as WIMSG_CONNECTION_ACCEPTED, ea as WIMSG_CONNECTION_INFO, Xi as WIMSG_CONNECTION_TOKEN, Zi as WIMSG_FORWARDED_ANSWER, na as WIMSG_FORWARDED_REQUEST, Qi as WIMSG_GET_CONNECTION_INFO, Ji as WIMSG_REQUEST, Yi as WIMSG_UPDATE_QR, qa as WI_INVALID_SIGNATURE, dE as WI_MAX_SERVER_URL_LENGTH, ra as WI_MESSAGES, qi as WI_QR_CODE, eD as WalletCrypto, YE as WalletInteractiveAnchoringEncoder, NE as WalletInteractiveAnchoringRequestActorKeySchema, ME as WalletInteractiveAnchoringRequestApprovalHandshakeSchema, PE as WalletInteractiveAnchoringRequestApprovalSignatureSchema, FE as WalletInteractiveAnchoringRequestSchema, AE as WalletInteractiveAnchoringRequestType, LE as WalletInteractiveAnchoringResponseActorKeyRequiredSchema, RE as WalletInteractiveAnchoringResponseApprovalDataSchema, zE as WalletInteractiveAnchoringResponseApprovalSignatureSchema, IE as WalletInteractiveAnchoringResponseErrorSchema, BE as WalletInteractiveAnchoringResponseSchema, jE as WalletInteractiveAnchoringResponseType, XE as WalletInteractiveAnchoringValidation, aE as WalletRequestAuthByPublicKeySchema, zC as WalletRequestBasedApplicationLedgerMicroblockBuilder, oE as WalletRequestDataApprovalSchema, VE as WalletRequestEncoder, sE as WalletRequestSchema, rE as WalletRequestType, HE as WalletRequestValidation, cE as WalletResponseAuthByPublicKeySchema, lE as WalletResponseDataApprovalSchema, uE as WalletResponseSchema, iE as WalletResponseType, ZE as WalletSeedEncoder, DE as WiQrCodeEncoder, pE as WiQrCodeSchema, tC as WrappedAccountProofSchema, $S as WrappedAppLedgerProofSchema, rC as WrappedMicroblockProofSchema, ZS as WrappedProofSchema, Bv as WriteStream, Nm as accountId, xm as array, Mm as bin256, jm as binary, wm as boolean, Pm as height, V as naturalInt, Im as nonNegativeInt, Cm as number, Fm as positiveInt, Sm as string, Dm as uint16, Om as uint24, km as uint32, Am as uint48, Em as uint8, B as uint8array, TC as verifyRadixProof };