@verana-labs/verana-types 0.10.1-dev.11 → 0.10.1-dev.13

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.
Files changed (82) hide show
  1. package/dist/amino-converter/co.d.ts +3 -0
  2. package/dist/amino-converter/co.js +164 -0
  3. package/dist/amino-converter/cs.js +2 -2
  4. package/dist/amino-converter/ec.d.ts +4 -0
  5. package/dist/amino-converter/ec.js +63 -0
  6. package/dist/amino-converter/{tr.d.ts → gf.d.ts} +0 -3
  7. package/dist/amino-converter/gf.js +48 -0
  8. package/dist/amino-converter/group.d.ts +3 -0
  9. package/dist/amino-converter/group.js +91 -0
  10. package/dist/amino-converter/pp.d.ts +12 -0
  11. package/dist/amino-converter/{perm.js → pp.js} +56 -56
  12. package/dist/codec/google/protobuf/any.d.ts +143 -0
  13. package/dist/codec/google/protobuf/any.js +139 -0
  14. package/dist/codec/verana/co/module/v1/module.d.ts +29 -0
  15. package/dist/codec/verana/co/module/v1/module.js +98 -0
  16. package/dist/codec/verana/co/v1/genesis.d.ts +28 -0
  17. package/dist/codec/verana/co/v1/genesis.js +121 -0
  18. package/dist/codec/verana/co/v1/params.d.ts +29 -0
  19. package/dist/codec/verana/co/v1/params.js +81 -0
  20. package/dist/codec/verana/co/v1/query.d.ts +111 -0
  21. package/dist/codec/verana/co/v1/query.js +484 -0
  22. package/dist/codec/verana/co/v1/tx.d.ts +172 -0
  23. package/dist/codec/verana/co/v1/tx.js +639 -0
  24. package/dist/codec/verana/co/v1/types.d.ts +60 -0
  25. package/dist/codec/verana/co/v1/types.js +384 -0
  26. package/dist/codec/verana/cs/v1/query.d.ts +2 -2
  27. package/dist/codec/verana/cs/v1/query.js +21 -21
  28. package/dist/codec/verana/cs/v1/tx.d.ts +1 -1
  29. package/dist/codec/verana/cs/v1/tx.js +22 -22
  30. package/dist/codec/verana/cs/v1/types.d.ts +6 -2
  31. package/dist/codec/verana/cs/v1/types.js +30 -30
  32. package/dist/codec/verana/{tr → ec}/module/module.d.ts +1 -1
  33. package/dist/codec/verana/{tr → ec}/module/module.js +2 -2
  34. package/dist/codec/verana/{tr → ec}/v1/genesis.d.ts +10 -12
  35. package/dist/codec/verana/{tr → ec}/v1/genesis.js +16 -56
  36. package/dist/codec/verana/{tr → ec}/v1/params.d.ts +1 -1
  37. package/dist/codec/verana/{tr → ec}/v1/params.js +2 -2
  38. package/dist/codec/verana/ec/v1/query.d.ts +109 -0
  39. package/dist/codec/verana/{tr → ec}/v1/query.js +69 -71
  40. package/dist/codec/verana/ec/v1/tx.d.ts +152 -0
  41. package/dist/codec/verana/{tr → ec}/v1/tx.js +85 -403
  42. package/dist/codec/verana/ec/v1/types.d.ts +67 -0
  43. package/dist/codec/verana/ec/v1/types.js +422 -0
  44. package/dist/codec/verana/gf/module/v1/module.d.ts +29 -0
  45. package/dist/codec/verana/gf/module/v1/module.js +98 -0
  46. package/dist/codec/verana/gf/v1/genesis.d.ts +29 -0
  47. package/dist/codec/verana/gf/v1/genesis.js +137 -0
  48. package/dist/codec/verana/gf/v1/params.d.ts +28 -0
  49. package/dist/codec/verana/gf/v1/params.js +81 -0
  50. package/dist/codec/verana/gf/v1/query.d.ts +108 -0
  51. package/dist/codec/verana/gf/v1/query.js +462 -0
  52. package/dist/codec/verana/gf/v1/tx.d.ts +142 -0
  53. package/dist/codec/verana/gf/v1/tx.js +486 -0
  54. package/dist/codec/verana/{tr → gf}/v1/types.d.ts +18 -48
  55. package/dist/codec/verana/gf/v1/types.js +477 -0
  56. package/dist/codec/verana/{perm → pp}/module/module.d.ts +1 -1
  57. package/dist/codec/verana/{perm → pp}/module/module.js +2 -2
  58. package/dist/codec/verana/{perm → pp}/v1/genesis.d.ts +9 -9
  59. package/dist/codec/verana/{perm → pp}/v1/genesis.js +26 -26
  60. package/dist/codec/verana/{perm → pp}/v1/params.d.ts +1 -1
  61. package/dist/codec/verana/{perm → pp}/v1/params.js +2 -2
  62. package/dist/codec/verana/pp/v1/query.d.ts +208 -0
  63. package/dist/codec/verana/{perm → pp}/v1/query.js +148 -148
  64. package/dist/codec/verana/pp/v1/tx.d.ts +437 -0
  65. package/dist/codec/verana/{perm → pp}/v1/tx.js +255 -249
  66. package/dist/codec/verana/pp/v1/types.d.ts +140 -0
  67. package/dist/codec/verana/{perm → pp}/v1/types.js +278 -262
  68. package/dist/helpers/aminoConverters.d.ts +6 -4
  69. package/dist/helpers/aminoConverters.js +6 -4
  70. package/dist/index.d.ts +4 -2
  71. package/dist/index.js +4 -2
  72. package/dist/signing.d.ts +36 -32
  73. package/dist/signing.js +85 -68
  74. package/package.json +1 -1
  75. package/dist/amino-converter/perm.d.ts +0 -12
  76. package/dist/amino-converter/tr.js +0 -107
  77. package/dist/codec/verana/perm/v1/query.d.ts +0 -208
  78. package/dist/codec/verana/perm/v1/tx.d.ts +0 -441
  79. package/dist/codec/verana/perm/v1/types.d.ts +0 -134
  80. package/dist/codec/verana/tr/v1/query.d.ts +0 -117
  81. package/dist/codec/verana/tr/v1/tx.d.ts +0 -255
  82. package/dist/codec/verana/tr/v1/types.js +0 -809
@@ -3,7 +3,7 @@
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.2
5
5
  // protoc unknown
6
- // source: verana/perm/v1/tx.proto
6
+ // source: verana/pp/v1/tx.proto
7
7
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
8
8
  if (k2 === undefined) k2 = k;
9
9
  var desc = Object.getOwnPropertyDescriptor(m, k);
@@ -38,7 +38,7 @@ var __importStar = (this && this.__importStar) || (function () {
38
38
  };
39
39
  })();
40
40
  Object.defineProperty(exports, "__esModule", { value: true });
41
- exports.MsgClientImpl = exports.MsgServiceName = exports.MsgSelfCreatePermissionResponse = exports.MsgSelfCreatePermission = exports.MsgRepayPermissionSlashedTrustDepositResponse = exports.MsgRepayPermissionSlashedTrustDeposit = exports.MsgSlashPermissionTrustDepositResponse = exports.MsgSlashPermissionTrustDeposit = exports.MsgCreateOrUpdatePermissionSessionResponse = exports.MsgCreateOrUpdatePermissionSession = exports.MsgRevokePermissionResponse = exports.MsgRevokePermission = exports.MsgAdjustPermissionResponse = exports.MsgAdjustPermission = exports.MsgCreateRootPermissionResponse = exports.MsgCreateRootPermission = exports.MsgCancelPermissionVPLastRequestResponse = exports.MsgCancelPermissionVPLastRequest = exports.MsgSetPermissionVPToValidatedResponse = exports.MsgSetPermissionVPToValidated = exports.MsgRenewPermissionVPResponse = exports.MsgRenewPermissionVP = exports.MsgStartPermissionVPResponse = exports.MsgStartPermissionVP = exports.MsgUpdateParamsResponse = exports.MsgUpdateParams = exports.protobufPackage = void 0;
41
+ exports.MsgClientImpl = exports.MsgServiceName = exports.MsgSelfCreateParticipantResponse = exports.MsgSelfCreateParticipant = exports.MsgRepayParticipantSlashedTrustDepositResponse = exports.MsgRepayParticipantSlashedTrustDeposit = exports.MsgSlashParticipantTrustDepositResponse = exports.MsgSlashParticipantTrustDeposit = exports.MsgCreateOrUpdateParticipantSessionResponse = exports.MsgCreateOrUpdateParticipantSession = exports.MsgRevokeParticipantResponse = exports.MsgRevokeParticipant = exports.MsgSetParticipantEffectiveUntilResponse = exports.MsgSetParticipantEffectiveUntil = exports.MsgCreateRootParticipantResponse = exports.MsgCreateRootParticipant = exports.MsgCancelParticipantOPLastRequestResponse = exports.MsgCancelParticipantOPLastRequest = exports.MsgSetParticipantOPToValidatedResponse = exports.MsgSetParticipantOPToValidated = exports.MsgRenewParticipantOPResponse = exports.MsgRenewParticipantOP = exports.MsgStartParticipantOPResponse = exports.MsgStartParticipantOP = exports.MsgUpdateParamsResponse = exports.MsgUpdateParams = exports.protobufPackage = void 0;
42
42
  /* eslint-disable */
43
43
  const _m0 = __importStar(require("protobufjs/minimal"));
44
44
  const coin_1 = require("../../../cosmos/base/v1beta1/coin");
@@ -47,7 +47,7 @@ const timestamp_1 = require("../../../google/protobuf/timestamp");
47
47
  const params_1 = require("./params");
48
48
  const types_1 = require("./types");
49
49
  const Long = require("long");
50
- exports.protobufPackage = "verana.perm.v1";
50
+ exports.protobufPackage = "verana.pp.v1";
51
51
  function createBaseMsgUpdateParams() {
52
52
  return { authority: "", params: undefined };
53
53
  }
@@ -154,12 +154,12 @@ exports.MsgUpdateParamsResponse = {
154
154
  return message;
155
155
  },
156
156
  };
157
- function createBaseMsgStartPermissionVP() {
157
+ function createBaseMsgStartParticipantOP() {
158
158
  return {
159
159
  corporation: "",
160
160
  operator: "",
161
- type: 0,
162
- validatorPermId: 0,
161
+ role: 0,
162
+ validatorParticipantId: 0,
163
163
  did: "",
164
164
  validationFees: undefined,
165
165
  issuanceFees: undefined,
@@ -172,7 +172,7 @@ function createBaseMsgStartPermissionVP() {
172
172
  vsOperatorAuthzSpendPeriod: undefined,
173
173
  };
174
174
  }
175
- exports.MsgStartPermissionVP = {
175
+ exports.MsgStartParticipantOP = {
176
176
  encode(message, writer = _m0.Writer.create()) {
177
177
  if (message.corporation !== "") {
178
178
  writer.uint32(10).string(message.corporation);
@@ -180,11 +180,11 @@ exports.MsgStartPermissionVP = {
180
180
  if (message.operator !== "") {
181
181
  writer.uint32(18).string(message.operator);
182
182
  }
183
- if (message.type !== 0) {
184
- writer.uint32(24).int32(message.type);
183
+ if (message.role !== 0) {
184
+ writer.uint32(24).int32(message.role);
185
185
  }
186
- if (message.validatorPermId !== 0) {
187
- writer.uint32(32).uint64(message.validatorPermId);
186
+ if (message.validatorParticipantId !== 0) {
187
+ writer.uint32(32).uint64(message.validatorParticipantId);
188
188
  }
189
189
  if (message.did !== "") {
190
190
  writer.uint32(42).string(message.did);
@@ -221,7 +221,7 @@ exports.MsgStartPermissionVP = {
221
221
  decode(input, length) {
222
222
  const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
223
223
  let end = length === undefined ? reader.len : reader.pos + length;
224
- const message = createBaseMsgStartPermissionVP();
224
+ const message = createBaseMsgStartParticipantOP();
225
225
  while (reader.pos < end) {
226
226
  const tag = reader.uint32();
227
227
  switch (tag >>> 3) {
@@ -241,13 +241,13 @@ exports.MsgStartPermissionVP = {
241
241
  if (tag !== 24) {
242
242
  break;
243
243
  }
244
- message.type = reader.int32();
244
+ message.role = reader.int32();
245
245
  continue;
246
246
  case 4:
247
247
  if (tag !== 32) {
248
248
  break;
249
249
  }
250
- message.validatorPermId = longToNumber(reader.uint64());
250
+ message.validatorParticipantId = longToNumber(reader.uint64());
251
251
  continue;
252
252
  case 5:
253
253
  if (tag !== 42) {
@@ -321,8 +321,10 @@ exports.MsgStartPermissionVP = {
321
321
  return {
322
322
  corporation: isSet(object.corporation) ? globalThis.String(object.corporation) : "",
323
323
  operator: isSet(object.operator) ? globalThis.String(object.operator) : "",
324
- type: isSet(object.type) ? (0, types_1.permissionTypeFromJSON)(object.type) : 0,
325
- validatorPermId: isSet(object.validatorPermId) ? globalThis.Number(object.validatorPermId) : 0,
324
+ role: isSet(object.role) ? (0, types_1.participantRoleFromJSON)(object.role) : 0,
325
+ validatorParticipantId: isSet(object.validatorParticipantId)
326
+ ? globalThis.Number(object.validatorParticipantId)
327
+ : 0,
326
328
  did: isSet(object.did) ? globalThis.String(object.did) : "",
327
329
  validationFees: isSet(object.validationFees) ? types_1.OptionalUInt64.fromJSON(object.validationFees) : undefined,
328
330
  issuanceFees: isSet(object.issuanceFees) ? types_1.OptionalUInt64.fromJSON(object.issuanceFees) : undefined,
@@ -354,11 +356,11 @@ exports.MsgStartPermissionVP = {
354
356
  if (message.operator !== "") {
355
357
  obj.operator = message.operator;
356
358
  }
357
- if (message.type !== 0) {
358
- obj.type = (0, types_1.permissionTypeToJSON)(message.type);
359
+ if (message.role !== 0) {
360
+ obj.role = (0, types_1.participantRoleToJSON)(message.role);
359
361
  }
360
- if (message.validatorPermId !== 0) {
361
- obj.validatorPermId = Math.round(message.validatorPermId);
362
+ if (message.validatorParticipantId !== 0) {
363
+ obj.validatorParticipantId = Math.round(message.validatorParticipantId);
362
364
  }
363
365
  if (message.did !== "") {
364
366
  obj.did = message.did;
@@ -393,15 +395,15 @@ exports.MsgStartPermissionVP = {
393
395
  return obj;
394
396
  },
395
397
  create(base) {
396
- return exports.MsgStartPermissionVP.fromPartial(base !== null && base !== void 0 ? base : {});
398
+ return exports.MsgStartParticipantOP.fromPartial(base !== null && base !== void 0 ? base : {});
397
399
  },
398
400
  fromPartial(object) {
399
401
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
400
- const message = createBaseMsgStartPermissionVP();
402
+ const message = createBaseMsgStartParticipantOP();
401
403
  message.corporation = (_a = object.corporation) !== null && _a !== void 0 ? _a : "";
402
404
  message.operator = (_b = object.operator) !== null && _b !== void 0 ? _b : "";
403
- message.type = (_c = object.type) !== null && _c !== void 0 ? _c : 0;
404
- message.validatorPermId = (_d = object.validatorPermId) !== null && _d !== void 0 ? _d : 0;
405
+ message.role = (_c = object.role) !== null && _c !== void 0 ? _c : 0;
406
+ message.validatorParticipantId = (_d = object.validatorParticipantId) !== null && _d !== void 0 ? _d : 0;
405
407
  message.did = (_e = object.did) !== null && _e !== void 0 ? _e : "";
406
408
  message.validationFees = (object.validationFees !== undefined && object.validationFees !== null)
407
409
  ? types_1.OptionalUInt64.fromPartial(object.validationFees)
@@ -424,20 +426,20 @@ exports.MsgStartPermissionVP = {
424
426
  return message;
425
427
  },
426
428
  };
427
- function createBaseMsgStartPermissionVPResponse() {
428
- return { permissionId: 0 };
429
+ function createBaseMsgStartParticipantOPResponse() {
430
+ return { participantId: 0 };
429
431
  }
430
- exports.MsgStartPermissionVPResponse = {
432
+ exports.MsgStartParticipantOPResponse = {
431
433
  encode(message, writer = _m0.Writer.create()) {
432
- if (message.permissionId !== 0) {
433
- writer.uint32(8).uint64(message.permissionId);
434
+ if (message.participantId !== 0) {
435
+ writer.uint32(8).uint64(message.participantId);
434
436
  }
435
437
  return writer;
436
438
  },
437
439
  decode(input, length) {
438
440
  const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
439
441
  let end = length === undefined ? reader.len : reader.pos + length;
440
- const message = createBaseMsgStartPermissionVPResponse();
442
+ const message = createBaseMsgStartParticipantOPResponse();
441
443
  while (reader.pos < end) {
442
444
  const tag = reader.uint32();
443
445
  switch (tag >>> 3) {
@@ -445,7 +447,7 @@ exports.MsgStartPermissionVPResponse = {
445
447
  if (tag !== 8) {
446
448
  break;
447
449
  }
448
- message.permissionId = longToNumber(reader.uint64());
450
+ message.participantId = longToNumber(reader.uint64());
449
451
  continue;
450
452
  }
451
453
  if ((tag & 7) === 4 || tag === 0) {
@@ -456,29 +458,29 @@ exports.MsgStartPermissionVPResponse = {
456
458
  return message;
457
459
  },
458
460
  fromJSON(object) {
459
- return { permissionId: isSet(object.permissionId) ? globalThis.Number(object.permissionId) : 0 };
461
+ return { participantId: isSet(object.participantId) ? globalThis.Number(object.participantId) : 0 };
460
462
  },
461
463
  toJSON(message) {
462
464
  const obj = {};
463
- if (message.permissionId !== 0) {
464
- obj.permissionId = Math.round(message.permissionId);
465
+ if (message.participantId !== 0) {
466
+ obj.participantId = Math.round(message.participantId);
465
467
  }
466
468
  return obj;
467
469
  },
468
470
  create(base) {
469
- return exports.MsgStartPermissionVPResponse.fromPartial(base !== null && base !== void 0 ? base : {});
471
+ return exports.MsgStartParticipantOPResponse.fromPartial(base !== null && base !== void 0 ? base : {});
470
472
  },
471
473
  fromPartial(object) {
472
474
  var _a;
473
- const message = createBaseMsgStartPermissionVPResponse();
474
- message.permissionId = (_a = object.permissionId) !== null && _a !== void 0 ? _a : 0;
475
+ const message = createBaseMsgStartParticipantOPResponse();
476
+ message.participantId = (_a = object.participantId) !== null && _a !== void 0 ? _a : 0;
475
477
  return message;
476
478
  },
477
479
  };
478
- function createBaseMsgRenewPermissionVP() {
480
+ function createBaseMsgRenewParticipantOP() {
479
481
  return { corporation: "", operator: "", id: 0 };
480
482
  }
481
- exports.MsgRenewPermissionVP = {
483
+ exports.MsgRenewParticipantOP = {
482
484
  encode(message, writer = _m0.Writer.create()) {
483
485
  if (message.corporation !== "") {
484
486
  writer.uint32(10).string(message.corporation);
@@ -494,7 +496,7 @@ exports.MsgRenewPermissionVP = {
494
496
  decode(input, length) {
495
497
  const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
496
498
  let end = length === undefined ? reader.len : reader.pos + length;
497
- const message = createBaseMsgRenewPermissionVP();
499
+ const message = createBaseMsgRenewParticipantOP();
498
500
  while (reader.pos < end) {
499
501
  const tag = reader.uint32();
500
502
  switch (tag >>> 3) {
@@ -545,28 +547,28 @@ exports.MsgRenewPermissionVP = {
545
547
  return obj;
546
548
  },
547
549
  create(base) {
548
- return exports.MsgRenewPermissionVP.fromPartial(base !== null && base !== void 0 ? base : {});
550
+ return exports.MsgRenewParticipantOP.fromPartial(base !== null && base !== void 0 ? base : {});
549
551
  },
550
552
  fromPartial(object) {
551
553
  var _a, _b, _c;
552
- const message = createBaseMsgRenewPermissionVP();
554
+ const message = createBaseMsgRenewParticipantOP();
553
555
  message.corporation = (_a = object.corporation) !== null && _a !== void 0 ? _a : "";
554
556
  message.operator = (_b = object.operator) !== null && _b !== void 0 ? _b : "";
555
557
  message.id = (_c = object.id) !== null && _c !== void 0 ? _c : 0;
556
558
  return message;
557
559
  },
558
560
  };
559
- function createBaseMsgRenewPermissionVPResponse() {
561
+ function createBaseMsgRenewParticipantOPResponse() {
560
562
  return {};
561
563
  }
562
- exports.MsgRenewPermissionVPResponse = {
564
+ exports.MsgRenewParticipantOPResponse = {
563
565
  encode(_, writer = _m0.Writer.create()) {
564
566
  return writer;
565
567
  },
566
568
  decode(input, length) {
567
569
  const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
568
570
  let end = length === undefined ? reader.len : reader.pos + length;
569
- const message = createBaseMsgRenewPermissionVPResponse();
571
+ const message = createBaseMsgRenewParticipantOPResponse();
570
572
  while (reader.pos < end) {
571
573
  const tag = reader.uint32();
572
574
  switch (tag >>> 3) {
@@ -586,14 +588,14 @@ exports.MsgRenewPermissionVPResponse = {
586
588
  return obj;
587
589
  },
588
590
  create(base) {
589
- return exports.MsgRenewPermissionVPResponse.fromPartial(base !== null && base !== void 0 ? base : {});
591
+ return exports.MsgRenewParticipantOPResponse.fromPartial(base !== null && base !== void 0 ? base : {});
590
592
  },
591
593
  fromPartial(_) {
592
- const message = createBaseMsgRenewPermissionVPResponse();
594
+ const message = createBaseMsgRenewParticipantOPResponse();
593
595
  return message;
594
596
  },
595
597
  };
596
- function createBaseMsgSetPermissionVPToValidated() {
598
+ function createBaseMsgSetParticipantOPToValidated() {
597
599
  return {
598
600
  corporation: "",
599
601
  operator: "",
@@ -602,12 +604,12 @@ function createBaseMsgSetPermissionVPToValidated() {
602
604
  validationFees: 0,
603
605
  issuanceFees: 0,
604
606
  verificationFees: 0,
605
- vpSummaryDigest: "",
607
+ opSummaryDigest: "",
606
608
  issuanceFeeDiscount: 0,
607
609
  verificationFeeDiscount: 0,
608
610
  };
609
611
  }
610
- exports.MsgSetPermissionVPToValidated = {
612
+ exports.MsgSetParticipantOPToValidated = {
611
613
  encode(message, writer = _m0.Writer.create()) {
612
614
  if (message.corporation !== "") {
613
615
  writer.uint32(10).string(message.corporation);
@@ -630,8 +632,8 @@ exports.MsgSetPermissionVPToValidated = {
630
632
  if (message.verificationFees !== 0) {
631
633
  writer.uint32(56).uint64(message.verificationFees);
632
634
  }
633
- if (message.vpSummaryDigest !== "") {
634
- writer.uint32(66).string(message.vpSummaryDigest);
635
+ if (message.opSummaryDigest !== "") {
636
+ writer.uint32(66).string(message.opSummaryDigest);
635
637
  }
636
638
  if (message.issuanceFeeDiscount !== 0) {
637
639
  writer.uint32(72).uint64(message.issuanceFeeDiscount);
@@ -644,7 +646,7 @@ exports.MsgSetPermissionVPToValidated = {
644
646
  decode(input, length) {
645
647
  const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
646
648
  let end = length === undefined ? reader.len : reader.pos + length;
647
- const message = createBaseMsgSetPermissionVPToValidated();
649
+ const message = createBaseMsgSetParticipantOPToValidated();
648
650
  while (reader.pos < end) {
649
651
  const tag = reader.uint32();
650
652
  switch (tag >>> 3) {
@@ -694,7 +696,7 @@ exports.MsgSetPermissionVPToValidated = {
694
696
  if (tag !== 66) {
695
697
  break;
696
698
  }
697
- message.vpSummaryDigest = reader.string();
699
+ message.opSummaryDigest = reader.string();
698
700
  continue;
699
701
  case 9:
700
702
  if (tag !== 72) {
@@ -725,7 +727,7 @@ exports.MsgSetPermissionVPToValidated = {
725
727
  validationFees: isSet(object.validationFees) ? globalThis.Number(object.validationFees) : 0,
726
728
  issuanceFees: isSet(object.issuanceFees) ? globalThis.Number(object.issuanceFees) : 0,
727
729
  verificationFees: isSet(object.verificationFees) ? globalThis.Number(object.verificationFees) : 0,
728
- vpSummaryDigest: isSet(object.vpSummaryDigest) ? globalThis.String(object.vpSummaryDigest) : "",
730
+ opSummaryDigest: isSet(object.opSummaryDigest) ? globalThis.String(object.opSummaryDigest) : "",
729
731
  issuanceFeeDiscount: isSet(object.issuanceFeeDiscount) ? globalThis.Number(object.issuanceFeeDiscount) : 0,
730
732
  verificationFeeDiscount: isSet(object.verificationFeeDiscount)
731
733
  ? globalThis.Number(object.verificationFeeDiscount)
@@ -755,8 +757,8 @@ exports.MsgSetPermissionVPToValidated = {
755
757
  if (message.verificationFees !== 0) {
756
758
  obj.verificationFees = Math.round(message.verificationFees);
757
759
  }
758
- if (message.vpSummaryDigest !== "") {
759
- obj.vpSummaryDigest = message.vpSummaryDigest;
760
+ if (message.opSummaryDigest !== "") {
761
+ obj.opSummaryDigest = message.opSummaryDigest;
760
762
  }
761
763
  if (message.issuanceFeeDiscount !== 0) {
762
764
  obj.issuanceFeeDiscount = Math.round(message.issuanceFeeDiscount);
@@ -767,11 +769,11 @@ exports.MsgSetPermissionVPToValidated = {
767
769
  return obj;
768
770
  },
769
771
  create(base) {
770
- return exports.MsgSetPermissionVPToValidated.fromPartial(base !== null && base !== void 0 ? base : {});
772
+ return exports.MsgSetParticipantOPToValidated.fromPartial(base !== null && base !== void 0 ? base : {});
771
773
  },
772
774
  fromPartial(object) {
773
775
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
774
- const message = createBaseMsgSetPermissionVPToValidated();
776
+ const message = createBaseMsgSetParticipantOPToValidated();
775
777
  message.corporation = (_a = object.corporation) !== null && _a !== void 0 ? _a : "";
776
778
  message.operator = (_b = object.operator) !== null && _b !== void 0 ? _b : "";
777
779
  message.id = (_c = object.id) !== null && _c !== void 0 ? _c : 0;
@@ -779,23 +781,23 @@ exports.MsgSetPermissionVPToValidated = {
779
781
  message.validationFees = (_e = object.validationFees) !== null && _e !== void 0 ? _e : 0;
780
782
  message.issuanceFees = (_f = object.issuanceFees) !== null && _f !== void 0 ? _f : 0;
781
783
  message.verificationFees = (_g = object.verificationFees) !== null && _g !== void 0 ? _g : 0;
782
- message.vpSummaryDigest = (_h = object.vpSummaryDigest) !== null && _h !== void 0 ? _h : "";
784
+ message.opSummaryDigest = (_h = object.opSummaryDigest) !== null && _h !== void 0 ? _h : "";
783
785
  message.issuanceFeeDiscount = (_j = object.issuanceFeeDiscount) !== null && _j !== void 0 ? _j : 0;
784
786
  message.verificationFeeDiscount = (_k = object.verificationFeeDiscount) !== null && _k !== void 0 ? _k : 0;
785
787
  return message;
786
788
  },
787
789
  };
788
- function createBaseMsgSetPermissionVPToValidatedResponse() {
790
+ function createBaseMsgSetParticipantOPToValidatedResponse() {
789
791
  return {};
790
792
  }
791
- exports.MsgSetPermissionVPToValidatedResponse = {
793
+ exports.MsgSetParticipantOPToValidatedResponse = {
792
794
  encode(_, writer = _m0.Writer.create()) {
793
795
  return writer;
794
796
  },
795
797
  decode(input, length) {
796
798
  const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
797
799
  let end = length === undefined ? reader.len : reader.pos + length;
798
- const message = createBaseMsgSetPermissionVPToValidatedResponse();
800
+ const message = createBaseMsgSetParticipantOPToValidatedResponse();
799
801
  while (reader.pos < end) {
800
802
  const tag = reader.uint32();
801
803
  switch (tag >>> 3) {
@@ -815,17 +817,17 @@ exports.MsgSetPermissionVPToValidatedResponse = {
815
817
  return obj;
816
818
  },
817
819
  create(base) {
818
- return exports.MsgSetPermissionVPToValidatedResponse.fromPartial(base !== null && base !== void 0 ? base : {});
820
+ return exports.MsgSetParticipantOPToValidatedResponse.fromPartial(base !== null && base !== void 0 ? base : {});
819
821
  },
820
822
  fromPartial(_) {
821
- const message = createBaseMsgSetPermissionVPToValidatedResponse();
823
+ const message = createBaseMsgSetParticipantOPToValidatedResponse();
822
824
  return message;
823
825
  },
824
826
  };
825
- function createBaseMsgCancelPermissionVPLastRequest() {
827
+ function createBaseMsgCancelParticipantOPLastRequest() {
826
828
  return { corporation: "", operator: "", id: 0 };
827
829
  }
828
- exports.MsgCancelPermissionVPLastRequest = {
830
+ exports.MsgCancelParticipantOPLastRequest = {
829
831
  encode(message, writer = _m0.Writer.create()) {
830
832
  if (message.corporation !== "") {
831
833
  writer.uint32(10).string(message.corporation);
@@ -841,7 +843,7 @@ exports.MsgCancelPermissionVPLastRequest = {
841
843
  decode(input, length) {
842
844
  const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
843
845
  let end = length === undefined ? reader.len : reader.pos + length;
844
- const message = createBaseMsgCancelPermissionVPLastRequest();
846
+ const message = createBaseMsgCancelParticipantOPLastRequest();
845
847
  while (reader.pos < end) {
846
848
  const tag = reader.uint32();
847
849
  switch (tag >>> 3) {
@@ -892,28 +894,28 @@ exports.MsgCancelPermissionVPLastRequest = {
892
894
  return obj;
893
895
  },
894
896
  create(base) {
895
- return exports.MsgCancelPermissionVPLastRequest.fromPartial(base !== null && base !== void 0 ? base : {});
897
+ return exports.MsgCancelParticipantOPLastRequest.fromPartial(base !== null && base !== void 0 ? base : {});
896
898
  },
897
899
  fromPartial(object) {
898
900
  var _a, _b, _c;
899
- const message = createBaseMsgCancelPermissionVPLastRequest();
901
+ const message = createBaseMsgCancelParticipantOPLastRequest();
900
902
  message.corporation = (_a = object.corporation) !== null && _a !== void 0 ? _a : "";
901
903
  message.operator = (_b = object.operator) !== null && _b !== void 0 ? _b : "";
902
904
  message.id = (_c = object.id) !== null && _c !== void 0 ? _c : 0;
903
905
  return message;
904
906
  },
905
907
  };
906
- function createBaseMsgCancelPermissionVPLastRequestResponse() {
908
+ function createBaseMsgCancelParticipantOPLastRequestResponse() {
907
909
  return {};
908
910
  }
909
- exports.MsgCancelPermissionVPLastRequestResponse = {
911
+ exports.MsgCancelParticipantOPLastRequestResponse = {
910
912
  encode(_, writer = _m0.Writer.create()) {
911
913
  return writer;
912
914
  },
913
915
  decode(input, length) {
914
916
  const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
915
917
  let end = length === undefined ? reader.len : reader.pos + length;
916
- const message = createBaseMsgCancelPermissionVPLastRequestResponse();
918
+ const message = createBaseMsgCancelParticipantOPLastRequestResponse();
917
919
  while (reader.pos < end) {
918
920
  const tag = reader.uint32();
919
921
  switch (tag >>> 3) {
@@ -933,14 +935,14 @@ exports.MsgCancelPermissionVPLastRequestResponse = {
933
935
  return obj;
934
936
  },
935
937
  create(base) {
936
- return exports.MsgCancelPermissionVPLastRequestResponse.fromPartial(base !== null && base !== void 0 ? base : {});
938
+ return exports.MsgCancelParticipantOPLastRequestResponse.fromPartial(base !== null && base !== void 0 ? base : {});
937
939
  },
938
940
  fromPartial(_) {
939
- const message = createBaseMsgCancelPermissionVPLastRequestResponse();
941
+ const message = createBaseMsgCancelParticipantOPLastRequestResponse();
940
942
  return message;
941
943
  },
942
944
  };
943
- function createBaseMsgCreateRootPermission() {
945
+ function createBaseMsgCreateRootParticipant() {
944
946
  return {
945
947
  corporation: "",
946
948
  operator: "",
@@ -953,7 +955,7 @@ function createBaseMsgCreateRootPermission() {
953
955
  verificationFees: 0,
954
956
  };
955
957
  }
956
- exports.MsgCreateRootPermission = {
958
+ exports.MsgCreateRootParticipant = {
957
959
  encode(message, writer = _m0.Writer.create()) {
958
960
  if (message.corporation !== "") {
959
961
  writer.uint32(10).string(message.corporation);
@@ -987,7 +989,7 @@ exports.MsgCreateRootPermission = {
987
989
  decode(input, length) {
988
990
  const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
989
991
  let end = length === undefined ? reader.len : reader.pos + length;
990
- const message = createBaseMsgCreateRootPermission();
992
+ const message = createBaseMsgCreateRootParticipant();
991
993
  while (reader.pos < end) {
992
994
  const tag = reader.uint32();
993
995
  switch (tag >>> 3) {
@@ -1098,11 +1100,11 @@ exports.MsgCreateRootPermission = {
1098
1100
  return obj;
1099
1101
  },
1100
1102
  create(base) {
1101
- return exports.MsgCreateRootPermission.fromPartial(base !== null && base !== void 0 ? base : {});
1103
+ return exports.MsgCreateRootParticipant.fromPartial(base !== null && base !== void 0 ? base : {});
1102
1104
  },
1103
1105
  fromPartial(object) {
1104
1106
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
1105
- const message = createBaseMsgCreateRootPermission();
1107
+ const message = createBaseMsgCreateRootParticipant();
1106
1108
  message.corporation = (_a = object.corporation) !== null && _a !== void 0 ? _a : "";
1107
1109
  message.operator = (_b = object.operator) !== null && _b !== void 0 ? _b : "";
1108
1110
  message.schemaId = (_c = object.schemaId) !== null && _c !== void 0 ? _c : 0;
@@ -1115,10 +1117,10 @@ exports.MsgCreateRootPermission = {
1115
1117
  return message;
1116
1118
  },
1117
1119
  };
1118
- function createBaseMsgCreateRootPermissionResponse() {
1120
+ function createBaseMsgCreateRootParticipantResponse() {
1119
1121
  return { id: 0 };
1120
1122
  }
1121
- exports.MsgCreateRootPermissionResponse = {
1123
+ exports.MsgCreateRootParticipantResponse = {
1122
1124
  encode(message, writer = _m0.Writer.create()) {
1123
1125
  if (message.id !== 0) {
1124
1126
  writer.uint32(8).uint64(message.id);
@@ -1128,7 +1130,7 @@ exports.MsgCreateRootPermissionResponse = {
1128
1130
  decode(input, length) {
1129
1131
  const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
1130
1132
  let end = length === undefined ? reader.len : reader.pos + length;
1131
- const message = createBaseMsgCreateRootPermissionResponse();
1133
+ const message = createBaseMsgCreateRootParticipantResponse();
1132
1134
  while (reader.pos < end) {
1133
1135
  const tag = reader.uint32();
1134
1136
  switch (tag >>> 3) {
@@ -1157,19 +1159,19 @@ exports.MsgCreateRootPermissionResponse = {
1157
1159
  return obj;
1158
1160
  },
1159
1161
  create(base) {
1160
- return exports.MsgCreateRootPermissionResponse.fromPartial(base !== null && base !== void 0 ? base : {});
1162
+ return exports.MsgCreateRootParticipantResponse.fromPartial(base !== null && base !== void 0 ? base : {});
1161
1163
  },
1162
1164
  fromPartial(object) {
1163
1165
  var _a;
1164
- const message = createBaseMsgCreateRootPermissionResponse();
1166
+ const message = createBaseMsgCreateRootParticipantResponse();
1165
1167
  message.id = (_a = object.id) !== null && _a !== void 0 ? _a : 0;
1166
1168
  return message;
1167
1169
  },
1168
1170
  };
1169
- function createBaseMsgAdjustPermission() {
1171
+ function createBaseMsgSetParticipantEffectiveUntil() {
1170
1172
  return { corporation: "", operator: "", id: 0, effectiveUntil: undefined };
1171
1173
  }
1172
- exports.MsgAdjustPermission = {
1174
+ exports.MsgSetParticipantEffectiveUntil = {
1173
1175
  encode(message, writer = _m0.Writer.create()) {
1174
1176
  if (message.corporation !== "") {
1175
1177
  writer.uint32(10).string(message.corporation);
@@ -1188,7 +1190,7 @@ exports.MsgAdjustPermission = {
1188
1190
  decode(input, length) {
1189
1191
  const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
1190
1192
  let end = length === undefined ? reader.len : reader.pos + length;
1191
- const message = createBaseMsgAdjustPermission();
1193
+ const message = createBaseMsgSetParticipantEffectiveUntil();
1192
1194
  while (reader.pos < end) {
1193
1195
  const tag = reader.uint32();
1194
1196
  switch (tag >>> 3) {
@@ -1249,11 +1251,11 @@ exports.MsgAdjustPermission = {
1249
1251
  return obj;
1250
1252
  },
1251
1253
  create(base) {
1252
- return exports.MsgAdjustPermission.fromPartial(base !== null && base !== void 0 ? base : {});
1254
+ return exports.MsgSetParticipantEffectiveUntil.fromPartial(base !== null && base !== void 0 ? base : {});
1253
1255
  },
1254
1256
  fromPartial(object) {
1255
1257
  var _a, _b, _c, _d;
1256
- const message = createBaseMsgAdjustPermission();
1258
+ const message = createBaseMsgSetParticipantEffectiveUntil();
1257
1259
  message.corporation = (_a = object.corporation) !== null && _a !== void 0 ? _a : "";
1258
1260
  message.operator = (_b = object.operator) !== null && _b !== void 0 ? _b : "";
1259
1261
  message.id = (_c = object.id) !== null && _c !== void 0 ? _c : 0;
@@ -1261,17 +1263,17 @@ exports.MsgAdjustPermission = {
1261
1263
  return message;
1262
1264
  },
1263
1265
  };
1264
- function createBaseMsgAdjustPermissionResponse() {
1266
+ function createBaseMsgSetParticipantEffectiveUntilResponse() {
1265
1267
  return {};
1266
1268
  }
1267
- exports.MsgAdjustPermissionResponse = {
1269
+ exports.MsgSetParticipantEffectiveUntilResponse = {
1268
1270
  encode(_, writer = _m0.Writer.create()) {
1269
1271
  return writer;
1270
1272
  },
1271
1273
  decode(input, length) {
1272
1274
  const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
1273
1275
  let end = length === undefined ? reader.len : reader.pos + length;
1274
- const message = createBaseMsgAdjustPermissionResponse();
1276
+ const message = createBaseMsgSetParticipantEffectiveUntilResponse();
1275
1277
  while (reader.pos < end) {
1276
1278
  const tag = reader.uint32();
1277
1279
  switch (tag >>> 3) {
@@ -1291,17 +1293,17 @@ exports.MsgAdjustPermissionResponse = {
1291
1293
  return obj;
1292
1294
  },
1293
1295
  create(base) {
1294
- return exports.MsgAdjustPermissionResponse.fromPartial(base !== null && base !== void 0 ? base : {});
1296
+ return exports.MsgSetParticipantEffectiveUntilResponse.fromPartial(base !== null && base !== void 0 ? base : {});
1295
1297
  },
1296
1298
  fromPartial(_) {
1297
- const message = createBaseMsgAdjustPermissionResponse();
1299
+ const message = createBaseMsgSetParticipantEffectiveUntilResponse();
1298
1300
  return message;
1299
1301
  },
1300
1302
  };
1301
- function createBaseMsgRevokePermission() {
1303
+ function createBaseMsgRevokeParticipant() {
1302
1304
  return { corporation: "", operator: "", id: 0 };
1303
1305
  }
1304
- exports.MsgRevokePermission = {
1306
+ exports.MsgRevokeParticipant = {
1305
1307
  encode(message, writer = _m0.Writer.create()) {
1306
1308
  if (message.corporation !== "") {
1307
1309
  writer.uint32(10).string(message.corporation);
@@ -1317,7 +1319,7 @@ exports.MsgRevokePermission = {
1317
1319
  decode(input, length) {
1318
1320
  const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
1319
1321
  let end = length === undefined ? reader.len : reader.pos + length;
1320
- const message = createBaseMsgRevokePermission();
1322
+ const message = createBaseMsgRevokeParticipant();
1321
1323
  while (reader.pos < end) {
1322
1324
  const tag = reader.uint32();
1323
1325
  switch (tag >>> 3) {
@@ -1368,28 +1370,28 @@ exports.MsgRevokePermission = {
1368
1370
  return obj;
1369
1371
  },
1370
1372
  create(base) {
1371
- return exports.MsgRevokePermission.fromPartial(base !== null && base !== void 0 ? base : {});
1373
+ return exports.MsgRevokeParticipant.fromPartial(base !== null && base !== void 0 ? base : {});
1372
1374
  },
1373
1375
  fromPartial(object) {
1374
1376
  var _a, _b, _c;
1375
- const message = createBaseMsgRevokePermission();
1377
+ const message = createBaseMsgRevokeParticipant();
1376
1378
  message.corporation = (_a = object.corporation) !== null && _a !== void 0 ? _a : "";
1377
1379
  message.operator = (_b = object.operator) !== null && _b !== void 0 ? _b : "";
1378
1380
  message.id = (_c = object.id) !== null && _c !== void 0 ? _c : 0;
1379
1381
  return message;
1380
1382
  },
1381
1383
  };
1382
- function createBaseMsgRevokePermissionResponse() {
1384
+ function createBaseMsgRevokeParticipantResponse() {
1383
1385
  return {};
1384
1386
  }
1385
- exports.MsgRevokePermissionResponse = {
1387
+ exports.MsgRevokeParticipantResponse = {
1386
1388
  encode(_, writer = _m0.Writer.create()) {
1387
1389
  return writer;
1388
1390
  },
1389
1391
  decode(input, length) {
1390
1392
  const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
1391
1393
  let end = length === undefined ? reader.len : reader.pos + length;
1392
- const message = createBaseMsgRevokePermissionResponse();
1394
+ const message = createBaseMsgRevokeParticipantResponse();
1393
1395
  while (reader.pos < end) {
1394
1396
  const tag = reader.uint32();
1395
1397
  switch (tag >>> 3) {
@@ -1409,26 +1411,26 @@ exports.MsgRevokePermissionResponse = {
1409
1411
  return obj;
1410
1412
  },
1411
1413
  create(base) {
1412
- return exports.MsgRevokePermissionResponse.fromPartial(base !== null && base !== void 0 ? base : {});
1414
+ return exports.MsgRevokeParticipantResponse.fromPartial(base !== null && base !== void 0 ? base : {});
1413
1415
  },
1414
1416
  fromPartial(_) {
1415
- const message = createBaseMsgRevokePermissionResponse();
1417
+ const message = createBaseMsgRevokeParticipantResponse();
1416
1418
  return message;
1417
1419
  },
1418
1420
  };
1419
- function createBaseMsgCreateOrUpdatePermissionSession() {
1421
+ function createBaseMsgCreateOrUpdateParticipantSession() {
1420
1422
  return {
1421
1423
  corporation: "",
1422
1424
  operator: "",
1423
1425
  id: "",
1424
- issuerPermId: 0,
1425
- verifierPermId: 0,
1426
- agentPermId: 0,
1427
- walletAgentPermId: 0,
1426
+ issuerParticipantId: 0,
1427
+ verifierParticipantId: 0,
1428
+ agentParticipantId: 0,
1429
+ walletAgentParticipantId: 0,
1428
1430
  digest: "",
1429
1431
  };
1430
1432
  }
1431
- exports.MsgCreateOrUpdatePermissionSession = {
1433
+ exports.MsgCreateOrUpdateParticipantSession = {
1432
1434
  encode(message, writer = _m0.Writer.create()) {
1433
1435
  if (message.corporation !== "") {
1434
1436
  writer.uint32(10).string(message.corporation);
@@ -1439,17 +1441,17 @@ exports.MsgCreateOrUpdatePermissionSession = {
1439
1441
  if (message.id !== "") {
1440
1442
  writer.uint32(26).string(message.id);
1441
1443
  }
1442
- if (message.issuerPermId !== 0) {
1443
- writer.uint32(32).uint64(message.issuerPermId);
1444
+ if (message.issuerParticipantId !== 0) {
1445
+ writer.uint32(32).uint64(message.issuerParticipantId);
1444
1446
  }
1445
- if (message.verifierPermId !== 0) {
1446
- writer.uint32(40).uint64(message.verifierPermId);
1447
+ if (message.verifierParticipantId !== 0) {
1448
+ writer.uint32(40).uint64(message.verifierParticipantId);
1447
1449
  }
1448
- if (message.agentPermId !== 0) {
1449
- writer.uint32(48).uint64(message.agentPermId);
1450
+ if (message.agentParticipantId !== 0) {
1451
+ writer.uint32(48).uint64(message.agentParticipantId);
1450
1452
  }
1451
- if (message.walletAgentPermId !== 0) {
1452
- writer.uint32(56).uint64(message.walletAgentPermId);
1453
+ if (message.walletAgentParticipantId !== 0) {
1454
+ writer.uint32(56).uint64(message.walletAgentParticipantId);
1453
1455
  }
1454
1456
  if (message.digest !== "") {
1455
1457
  writer.uint32(66).string(message.digest);
@@ -1459,7 +1461,7 @@ exports.MsgCreateOrUpdatePermissionSession = {
1459
1461
  decode(input, length) {
1460
1462
  const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
1461
1463
  let end = length === undefined ? reader.len : reader.pos + length;
1462
- const message = createBaseMsgCreateOrUpdatePermissionSession();
1464
+ const message = createBaseMsgCreateOrUpdateParticipantSession();
1463
1465
  while (reader.pos < end) {
1464
1466
  const tag = reader.uint32();
1465
1467
  switch (tag >>> 3) {
@@ -1485,25 +1487,25 @@ exports.MsgCreateOrUpdatePermissionSession = {
1485
1487
  if (tag !== 32) {
1486
1488
  break;
1487
1489
  }
1488
- message.issuerPermId = longToNumber(reader.uint64());
1490
+ message.issuerParticipantId = longToNumber(reader.uint64());
1489
1491
  continue;
1490
1492
  case 5:
1491
1493
  if (tag !== 40) {
1492
1494
  break;
1493
1495
  }
1494
- message.verifierPermId = longToNumber(reader.uint64());
1496
+ message.verifierParticipantId = longToNumber(reader.uint64());
1495
1497
  continue;
1496
1498
  case 6:
1497
1499
  if (tag !== 48) {
1498
1500
  break;
1499
1501
  }
1500
- message.agentPermId = longToNumber(reader.uint64());
1502
+ message.agentParticipantId = longToNumber(reader.uint64());
1501
1503
  continue;
1502
1504
  case 7:
1503
1505
  if (tag !== 56) {
1504
1506
  break;
1505
1507
  }
1506
- message.walletAgentPermId = longToNumber(reader.uint64());
1508
+ message.walletAgentParticipantId = longToNumber(reader.uint64());
1507
1509
  continue;
1508
1510
  case 8:
1509
1511
  if (tag !== 66) {
@@ -1524,10 +1526,12 @@ exports.MsgCreateOrUpdatePermissionSession = {
1524
1526
  corporation: isSet(object.corporation) ? globalThis.String(object.corporation) : "",
1525
1527
  operator: isSet(object.operator) ? globalThis.String(object.operator) : "",
1526
1528
  id: isSet(object.id) ? globalThis.String(object.id) : "",
1527
- issuerPermId: isSet(object.issuerPermId) ? globalThis.Number(object.issuerPermId) : 0,
1528
- verifierPermId: isSet(object.verifierPermId) ? globalThis.Number(object.verifierPermId) : 0,
1529
- agentPermId: isSet(object.agentPermId) ? globalThis.Number(object.agentPermId) : 0,
1530
- walletAgentPermId: isSet(object.walletAgentPermId) ? globalThis.Number(object.walletAgentPermId) : 0,
1529
+ issuerParticipantId: isSet(object.issuerParticipantId) ? globalThis.Number(object.issuerParticipantId) : 0,
1530
+ verifierParticipantId: isSet(object.verifierParticipantId) ? globalThis.Number(object.verifierParticipantId) : 0,
1531
+ agentParticipantId: isSet(object.agentParticipantId) ? globalThis.Number(object.agentParticipantId) : 0,
1532
+ walletAgentParticipantId: isSet(object.walletAgentParticipantId)
1533
+ ? globalThis.Number(object.walletAgentParticipantId)
1534
+ : 0,
1531
1535
  digest: isSet(object.digest) ? globalThis.String(object.digest) : "",
1532
1536
  };
1533
1537
  },
@@ -1542,17 +1546,17 @@ exports.MsgCreateOrUpdatePermissionSession = {
1542
1546
  if (message.id !== "") {
1543
1547
  obj.id = message.id;
1544
1548
  }
1545
- if (message.issuerPermId !== 0) {
1546
- obj.issuerPermId = Math.round(message.issuerPermId);
1549
+ if (message.issuerParticipantId !== 0) {
1550
+ obj.issuerParticipantId = Math.round(message.issuerParticipantId);
1547
1551
  }
1548
- if (message.verifierPermId !== 0) {
1549
- obj.verifierPermId = Math.round(message.verifierPermId);
1552
+ if (message.verifierParticipantId !== 0) {
1553
+ obj.verifierParticipantId = Math.round(message.verifierParticipantId);
1550
1554
  }
1551
- if (message.agentPermId !== 0) {
1552
- obj.agentPermId = Math.round(message.agentPermId);
1555
+ if (message.agentParticipantId !== 0) {
1556
+ obj.agentParticipantId = Math.round(message.agentParticipantId);
1553
1557
  }
1554
- if (message.walletAgentPermId !== 0) {
1555
- obj.walletAgentPermId = Math.round(message.walletAgentPermId);
1558
+ if (message.walletAgentParticipantId !== 0) {
1559
+ obj.walletAgentParticipantId = Math.round(message.walletAgentParticipantId);
1556
1560
  }
1557
1561
  if (message.digest !== "") {
1558
1562
  obj.digest = message.digest;
@@ -1560,26 +1564,26 @@ exports.MsgCreateOrUpdatePermissionSession = {
1560
1564
  return obj;
1561
1565
  },
1562
1566
  create(base) {
1563
- return exports.MsgCreateOrUpdatePermissionSession.fromPartial(base !== null && base !== void 0 ? base : {});
1567
+ return exports.MsgCreateOrUpdateParticipantSession.fromPartial(base !== null && base !== void 0 ? base : {});
1564
1568
  },
1565
1569
  fromPartial(object) {
1566
1570
  var _a, _b, _c, _d, _e, _f, _g, _h;
1567
- const message = createBaseMsgCreateOrUpdatePermissionSession();
1571
+ const message = createBaseMsgCreateOrUpdateParticipantSession();
1568
1572
  message.corporation = (_a = object.corporation) !== null && _a !== void 0 ? _a : "";
1569
1573
  message.operator = (_b = object.operator) !== null && _b !== void 0 ? _b : "";
1570
1574
  message.id = (_c = object.id) !== null && _c !== void 0 ? _c : "";
1571
- message.issuerPermId = (_d = object.issuerPermId) !== null && _d !== void 0 ? _d : 0;
1572
- message.verifierPermId = (_e = object.verifierPermId) !== null && _e !== void 0 ? _e : 0;
1573
- message.agentPermId = (_f = object.agentPermId) !== null && _f !== void 0 ? _f : 0;
1574
- message.walletAgentPermId = (_g = object.walletAgentPermId) !== null && _g !== void 0 ? _g : 0;
1575
+ message.issuerParticipantId = (_d = object.issuerParticipantId) !== null && _d !== void 0 ? _d : 0;
1576
+ message.verifierParticipantId = (_e = object.verifierParticipantId) !== null && _e !== void 0 ? _e : 0;
1577
+ message.agentParticipantId = (_f = object.agentParticipantId) !== null && _f !== void 0 ? _f : 0;
1578
+ message.walletAgentParticipantId = (_g = object.walletAgentParticipantId) !== null && _g !== void 0 ? _g : 0;
1575
1579
  message.digest = (_h = object.digest) !== null && _h !== void 0 ? _h : "";
1576
1580
  return message;
1577
1581
  },
1578
1582
  };
1579
- function createBaseMsgCreateOrUpdatePermissionSessionResponse() {
1583
+ function createBaseMsgCreateOrUpdateParticipantSessionResponse() {
1580
1584
  return { id: "" };
1581
1585
  }
1582
- exports.MsgCreateOrUpdatePermissionSessionResponse = {
1586
+ exports.MsgCreateOrUpdateParticipantSessionResponse = {
1583
1587
  encode(message, writer = _m0.Writer.create()) {
1584
1588
  if (message.id !== "") {
1585
1589
  writer.uint32(10).string(message.id);
@@ -1589,7 +1593,7 @@ exports.MsgCreateOrUpdatePermissionSessionResponse = {
1589
1593
  decode(input, length) {
1590
1594
  const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
1591
1595
  let end = length === undefined ? reader.len : reader.pos + length;
1592
- const message = createBaseMsgCreateOrUpdatePermissionSessionResponse();
1596
+ const message = createBaseMsgCreateOrUpdateParticipantSessionResponse();
1593
1597
  while (reader.pos < end) {
1594
1598
  const tag = reader.uint32();
1595
1599
  switch (tag >>> 3) {
@@ -1618,19 +1622,19 @@ exports.MsgCreateOrUpdatePermissionSessionResponse = {
1618
1622
  return obj;
1619
1623
  },
1620
1624
  create(base) {
1621
- return exports.MsgCreateOrUpdatePermissionSessionResponse.fromPartial(base !== null && base !== void 0 ? base : {});
1625
+ return exports.MsgCreateOrUpdateParticipantSessionResponse.fromPartial(base !== null && base !== void 0 ? base : {});
1622
1626
  },
1623
1627
  fromPartial(object) {
1624
1628
  var _a;
1625
- const message = createBaseMsgCreateOrUpdatePermissionSessionResponse();
1629
+ const message = createBaseMsgCreateOrUpdateParticipantSessionResponse();
1626
1630
  message.id = (_a = object.id) !== null && _a !== void 0 ? _a : "";
1627
1631
  return message;
1628
1632
  },
1629
1633
  };
1630
- function createBaseMsgSlashPermissionTrustDeposit() {
1634
+ function createBaseMsgSlashParticipantTrustDeposit() {
1631
1635
  return { corporation: "", operator: "", id: 0, amount: 0, reason: "" };
1632
1636
  }
1633
- exports.MsgSlashPermissionTrustDeposit = {
1637
+ exports.MsgSlashParticipantTrustDeposit = {
1634
1638
  encode(message, writer = _m0.Writer.create()) {
1635
1639
  if (message.corporation !== "") {
1636
1640
  writer.uint32(10).string(message.corporation);
@@ -1652,7 +1656,7 @@ exports.MsgSlashPermissionTrustDeposit = {
1652
1656
  decode(input, length) {
1653
1657
  const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
1654
1658
  let end = length === undefined ? reader.len : reader.pos + length;
1655
- const message = createBaseMsgSlashPermissionTrustDeposit();
1659
+ const message = createBaseMsgSlashParticipantTrustDeposit();
1656
1660
  while (reader.pos < end) {
1657
1661
  const tag = reader.uint32();
1658
1662
  switch (tag >>> 3) {
@@ -1723,11 +1727,11 @@ exports.MsgSlashPermissionTrustDeposit = {
1723
1727
  return obj;
1724
1728
  },
1725
1729
  create(base) {
1726
- return exports.MsgSlashPermissionTrustDeposit.fromPartial(base !== null && base !== void 0 ? base : {});
1730
+ return exports.MsgSlashParticipantTrustDeposit.fromPartial(base !== null && base !== void 0 ? base : {});
1727
1731
  },
1728
1732
  fromPartial(object) {
1729
1733
  var _a, _b, _c, _d, _e;
1730
- const message = createBaseMsgSlashPermissionTrustDeposit();
1734
+ const message = createBaseMsgSlashParticipantTrustDeposit();
1731
1735
  message.corporation = (_a = object.corporation) !== null && _a !== void 0 ? _a : "";
1732
1736
  message.operator = (_b = object.operator) !== null && _b !== void 0 ? _b : "";
1733
1737
  message.id = (_c = object.id) !== null && _c !== void 0 ? _c : 0;
@@ -1736,17 +1740,17 @@ exports.MsgSlashPermissionTrustDeposit = {
1736
1740
  return message;
1737
1741
  },
1738
1742
  };
1739
- function createBaseMsgSlashPermissionTrustDepositResponse() {
1743
+ function createBaseMsgSlashParticipantTrustDepositResponse() {
1740
1744
  return {};
1741
1745
  }
1742
- exports.MsgSlashPermissionTrustDepositResponse = {
1746
+ exports.MsgSlashParticipantTrustDepositResponse = {
1743
1747
  encode(_, writer = _m0.Writer.create()) {
1744
1748
  return writer;
1745
1749
  },
1746
1750
  decode(input, length) {
1747
1751
  const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
1748
1752
  let end = length === undefined ? reader.len : reader.pos + length;
1749
- const message = createBaseMsgSlashPermissionTrustDepositResponse();
1753
+ const message = createBaseMsgSlashParticipantTrustDepositResponse();
1750
1754
  while (reader.pos < end) {
1751
1755
  const tag = reader.uint32();
1752
1756
  switch (tag >>> 3) {
@@ -1766,17 +1770,17 @@ exports.MsgSlashPermissionTrustDepositResponse = {
1766
1770
  return obj;
1767
1771
  },
1768
1772
  create(base) {
1769
- return exports.MsgSlashPermissionTrustDepositResponse.fromPartial(base !== null && base !== void 0 ? base : {});
1773
+ return exports.MsgSlashParticipantTrustDepositResponse.fromPartial(base !== null && base !== void 0 ? base : {});
1770
1774
  },
1771
1775
  fromPartial(_) {
1772
- const message = createBaseMsgSlashPermissionTrustDepositResponse();
1776
+ const message = createBaseMsgSlashParticipantTrustDepositResponse();
1773
1777
  return message;
1774
1778
  },
1775
1779
  };
1776
- function createBaseMsgRepayPermissionSlashedTrustDeposit() {
1780
+ function createBaseMsgRepayParticipantSlashedTrustDeposit() {
1777
1781
  return { corporation: "", operator: "", id: 0, amount: 0 };
1778
1782
  }
1779
- exports.MsgRepayPermissionSlashedTrustDeposit = {
1783
+ exports.MsgRepayParticipantSlashedTrustDeposit = {
1780
1784
  encode(message, writer = _m0.Writer.create()) {
1781
1785
  if (message.corporation !== "") {
1782
1786
  writer.uint32(10).string(message.corporation);
@@ -1795,7 +1799,7 @@ exports.MsgRepayPermissionSlashedTrustDeposit = {
1795
1799
  decode(input, length) {
1796
1800
  const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
1797
1801
  let end = length === undefined ? reader.len : reader.pos + length;
1798
- const message = createBaseMsgRepayPermissionSlashedTrustDeposit();
1802
+ const message = createBaseMsgRepayParticipantSlashedTrustDeposit();
1799
1803
  while (reader.pos < end) {
1800
1804
  const tag = reader.uint32();
1801
1805
  switch (tag >>> 3) {
@@ -1856,11 +1860,11 @@ exports.MsgRepayPermissionSlashedTrustDeposit = {
1856
1860
  return obj;
1857
1861
  },
1858
1862
  create(base) {
1859
- return exports.MsgRepayPermissionSlashedTrustDeposit.fromPartial(base !== null && base !== void 0 ? base : {});
1863
+ return exports.MsgRepayParticipantSlashedTrustDeposit.fromPartial(base !== null && base !== void 0 ? base : {});
1860
1864
  },
1861
1865
  fromPartial(object) {
1862
1866
  var _a, _b, _c, _d;
1863
- const message = createBaseMsgRepayPermissionSlashedTrustDeposit();
1867
+ const message = createBaseMsgRepayParticipantSlashedTrustDeposit();
1864
1868
  message.corporation = (_a = object.corporation) !== null && _a !== void 0 ? _a : "";
1865
1869
  message.operator = (_b = object.operator) !== null && _b !== void 0 ? _b : "";
1866
1870
  message.id = (_c = object.id) !== null && _c !== void 0 ? _c : 0;
@@ -1868,17 +1872,17 @@ exports.MsgRepayPermissionSlashedTrustDeposit = {
1868
1872
  return message;
1869
1873
  },
1870
1874
  };
1871
- function createBaseMsgRepayPermissionSlashedTrustDepositResponse() {
1875
+ function createBaseMsgRepayParticipantSlashedTrustDepositResponse() {
1872
1876
  return {};
1873
1877
  }
1874
- exports.MsgRepayPermissionSlashedTrustDepositResponse = {
1878
+ exports.MsgRepayParticipantSlashedTrustDepositResponse = {
1875
1879
  encode(_, writer = _m0.Writer.create()) {
1876
1880
  return writer;
1877
1881
  },
1878
1882
  decode(input, length) {
1879
1883
  const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
1880
1884
  let end = length === undefined ? reader.len : reader.pos + length;
1881
- const message = createBaseMsgRepayPermissionSlashedTrustDepositResponse();
1885
+ const message = createBaseMsgRepayParticipantSlashedTrustDepositResponse();
1882
1886
  while (reader.pos < end) {
1883
1887
  const tag = reader.uint32();
1884
1888
  switch (tag >>> 3) {
@@ -1898,19 +1902,19 @@ exports.MsgRepayPermissionSlashedTrustDepositResponse = {
1898
1902
  return obj;
1899
1903
  },
1900
1904
  create(base) {
1901
- return exports.MsgRepayPermissionSlashedTrustDepositResponse.fromPartial(base !== null && base !== void 0 ? base : {});
1905
+ return exports.MsgRepayParticipantSlashedTrustDepositResponse.fromPartial(base !== null && base !== void 0 ? base : {});
1902
1906
  },
1903
1907
  fromPartial(_) {
1904
- const message = createBaseMsgRepayPermissionSlashedTrustDepositResponse();
1908
+ const message = createBaseMsgRepayParticipantSlashedTrustDepositResponse();
1905
1909
  return message;
1906
1910
  },
1907
1911
  };
1908
- function createBaseMsgSelfCreatePermission() {
1912
+ function createBaseMsgSelfCreateParticipant() {
1909
1913
  return {
1910
1914
  corporation: "",
1911
1915
  operator: "",
1912
- type: 0,
1913
- validatorPermId: 0,
1916
+ role: 0,
1917
+ validatorParticipantId: 0,
1914
1918
  did: "",
1915
1919
  effectiveFrom: undefined,
1916
1920
  effectiveUntil: undefined,
@@ -1924,7 +1928,7 @@ function createBaseMsgSelfCreatePermission() {
1924
1928
  vsOperatorAuthzSpendPeriod: undefined,
1925
1929
  };
1926
1930
  }
1927
- exports.MsgSelfCreatePermission = {
1931
+ exports.MsgSelfCreateParticipant = {
1928
1932
  encode(message, writer = _m0.Writer.create()) {
1929
1933
  if (message.corporation !== "") {
1930
1934
  writer.uint32(10).string(message.corporation);
@@ -1932,11 +1936,11 @@ exports.MsgSelfCreatePermission = {
1932
1936
  if (message.operator !== "") {
1933
1937
  writer.uint32(18).string(message.operator);
1934
1938
  }
1935
- if (message.type !== 0) {
1936
- writer.uint32(24).int32(message.type);
1939
+ if (message.role !== 0) {
1940
+ writer.uint32(24).int32(message.role);
1937
1941
  }
1938
- if (message.validatorPermId !== 0) {
1939
- writer.uint32(32).uint64(message.validatorPermId);
1942
+ if (message.validatorParticipantId !== 0) {
1943
+ writer.uint32(32).uint64(message.validatorParticipantId);
1940
1944
  }
1941
1945
  if (message.did !== "") {
1942
1946
  writer.uint32(42).string(message.did);
@@ -1976,7 +1980,7 @@ exports.MsgSelfCreatePermission = {
1976
1980
  decode(input, length) {
1977
1981
  const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
1978
1982
  let end = length === undefined ? reader.len : reader.pos + length;
1979
- const message = createBaseMsgSelfCreatePermission();
1983
+ const message = createBaseMsgSelfCreateParticipant();
1980
1984
  while (reader.pos < end) {
1981
1985
  const tag = reader.uint32();
1982
1986
  switch (tag >>> 3) {
@@ -1996,13 +2000,13 @@ exports.MsgSelfCreatePermission = {
1996
2000
  if (tag !== 24) {
1997
2001
  break;
1998
2002
  }
1999
- message.type = reader.int32();
2003
+ message.role = reader.int32();
2000
2004
  continue;
2001
2005
  case 4:
2002
2006
  if (tag !== 32) {
2003
2007
  break;
2004
2008
  }
2005
- message.validatorPermId = longToNumber(reader.uint64());
2009
+ message.validatorParticipantId = longToNumber(reader.uint64());
2006
2010
  continue;
2007
2011
  case 5:
2008
2012
  if (tag !== 42) {
@@ -2082,8 +2086,10 @@ exports.MsgSelfCreatePermission = {
2082
2086
  return {
2083
2087
  corporation: isSet(object.corporation) ? globalThis.String(object.corporation) : "",
2084
2088
  operator: isSet(object.operator) ? globalThis.String(object.operator) : "",
2085
- type: isSet(object.type) ? (0, types_1.permissionTypeFromJSON)(object.type) : 0,
2086
- validatorPermId: isSet(object.validatorPermId) ? globalThis.Number(object.validatorPermId) : 0,
2089
+ role: isSet(object.role) ? (0, types_1.participantRoleFromJSON)(object.role) : 0,
2090
+ validatorParticipantId: isSet(object.validatorParticipantId)
2091
+ ? globalThis.Number(object.validatorParticipantId)
2092
+ : 0,
2087
2093
  did: isSet(object.did) ? globalThis.String(object.did) : "",
2088
2094
  effectiveFrom: isSet(object.effectiveFrom) ? fromJsonTimestamp(object.effectiveFrom) : undefined,
2089
2095
  effectiveUntil: isSet(object.effectiveUntil) ? fromJsonTimestamp(object.effectiveUntil) : undefined,
@@ -2116,11 +2122,11 @@ exports.MsgSelfCreatePermission = {
2116
2122
  if (message.operator !== "") {
2117
2123
  obj.operator = message.operator;
2118
2124
  }
2119
- if (message.type !== 0) {
2120
- obj.type = (0, types_1.permissionTypeToJSON)(message.type);
2125
+ if (message.role !== 0) {
2126
+ obj.role = (0, types_1.participantRoleToJSON)(message.role);
2121
2127
  }
2122
- if (message.validatorPermId !== 0) {
2123
- obj.validatorPermId = Math.round(message.validatorPermId);
2128
+ if (message.validatorParticipantId !== 0) {
2129
+ obj.validatorParticipantId = Math.round(message.validatorParticipantId);
2124
2130
  }
2125
2131
  if (message.did !== "") {
2126
2132
  obj.did = message.did;
@@ -2158,15 +2164,15 @@ exports.MsgSelfCreatePermission = {
2158
2164
  return obj;
2159
2165
  },
2160
2166
  create(base) {
2161
- return exports.MsgSelfCreatePermission.fromPartial(base !== null && base !== void 0 ? base : {});
2167
+ return exports.MsgSelfCreateParticipant.fromPartial(base !== null && base !== void 0 ? base : {});
2162
2168
  },
2163
2169
  fromPartial(object) {
2164
2170
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
2165
- const message = createBaseMsgSelfCreatePermission();
2171
+ const message = createBaseMsgSelfCreateParticipant();
2166
2172
  message.corporation = (_a = object.corporation) !== null && _a !== void 0 ? _a : "";
2167
2173
  message.operator = (_b = object.operator) !== null && _b !== void 0 ? _b : "";
2168
- message.type = (_c = object.type) !== null && _c !== void 0 ? _c : 0;
2169
- message.validatorPermId = (_d = object.validatorPermId) !== null && _d !== void 0 ? _d : 0;
2174
+ message.role = (_c = object.role) !== null && _c !== void 0 ? _c : 0;
2175
+ message.validatorParticipantId = (_d = object.validatorParticipantId) !== null && _d !== void 0 ? _d : 0;
2170
2176
  message.did = (_e = object.did) !== null && _e !== void 0 ? _e : "";
2171
2177
  message.effectiveFrom = (_f = object.effectiveFrom) !== null && _f !== void 0 ? _f : undefined;
2172
2178
  message.effectiveUntil = (_g = object.effectiveUntil) !== null && _g !== void 0 ? _g : undefined;
@@ -2184,10 +2190,10 @@ exports.MsgSelfCreatePermission = {
2184
2190
  return message;
2185
2191
  },
2186
2192
  };
2187
- function createBaseMsgSelfCreatePermissionResponse() {
2193
+ function createBaseMsgSelfCreateParticipantResponse() {
2188
2194
  return { id: 0 };
2189
2195
  }
2190
- exports.MsgSelfCreatePermissionResponse = {
2196
+ exports.MsgSelfCreateParticipantResponse = {
2191
2197
  encode(message, writer = _m0.Writer.create()) {
2192
2198
  if (message.id !== 0) {
2193
2199
  writer.uint32(8).uint64(message.id);
@@ -2197,7 +2203,7 @@ exports.MsgSelfCreatePermissionResponse = {
2197
2203
  decode(input, length) {
2198
2204
  const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
2199
2205
  let end = length === undefined ? reader.len : reader.pos + length;
2200
- const message = createBaseMsgSelfCreatePermissionResponse();
2206
+ const message = createBaseMsgSelfCreateParticipantResponse();
2201
2207
  while (reader.pos < end) {
2202
2208
  const tag = reader.uint32();
2203
2209
  switch (tag >>> 3) {
@@ -2226,92 +2232,92 @@ exports.MsgSelfCreatePermissionResponse = {
2226
2232
  return obj;
2227
2233
  },
2228
2234
  create(base) {
2229
- return exports.MsgSelfCreatePermissionResponse.fromPartial(base !== null && base !== void 0 ? base : {});
2235
+ return exports.MsgSelfCreateParticipantResponse.fromPartial(base !== null && base !== void 0 ? base : {});
2230
2236
  },
2231
2237
  fromPartial(object) {
2232
2238
  var _a;
2233
- const message = createBaseMsgSelfCreatePermissionResponse();
2239
+ const message = createBaseMsgSelfCreateParticipantResponse();
2234
2240
  message.id = (_a = object.id) !== null && _a !== void 0 ? _a : 0;
2235
2241
  return message;
2236
2242
  },
2237
2243
  };
2238
- exports.MsgServiceName = "verana.perm.v1.Msg";
2244
+ exports.MsgServiceName = "verana.pp.v1.Msg";
2239
2245
  class MsgClientImpl {
2240
2246
  constructor(rpc, opts) {
2241
2247
  this.service = (opts === null || opts === void 0 ? void 0 : opts.service) || exports.MsgServiceName;
2242
2248
  this.rpc = rpc;
2243
2249
  this.UpdateParams = this.UpdateParams.bind(this);
2244
- this.StartPermissionVP = this.StartPermissionVP.bind(this);
2245
- this.RenewPermissionVP = this.RenewPermissionVP.bind(this);
2246
- this.SetPermissionVPToValidated = this.SetPermissionVPToValidated.bind(this);
2247
- this.CancelPermissionVPLastRequest = this.CancelPermissionVPLastRequest.bind(this);
2248
- this.CreateRootPermission = this.CreateRootPermission.bind(this);
2249
- this.AdjustPermission = this.AdjustPermission.bind(this);
2250
- this.RevokePermission = this.RevokePermission.bind(this);
2251
- this.CreateOrUpdatePermissionSession = this.CreateOrUpdatePermissionSession.bind(this);
2252
- this.SlashPermissionTrustDeposit = this.SlashPermissionTrustDeposit.bind(this);
2253
- this.RepayPermissionSlashedTrustDeposit = this.RepayPermissionSlashedTrustDeposit.bind(this);
2254
- this.SelfCreatePermission = this.SelfCreatePermission.bind(this);
2250
+ this.StartParticipantOP = this.StartParticipantOP.bind(this);
2251
+ this.RenewParticipantOP = this.RenewParticipantOP.bind(this);
2252
+ this.SetParticipantOPToValidated = this.SetParticipantOPToValidated.bind(this);
2253
+ this.CancelParticipantOPLastRequest = this.CancelParticipantOPLastRequest.bind(this);
2254
+ this.CreateRootParticipant = this.CreateRootParticipant.bind(this);
2255
+ this.SetParticipantEffectiveUntil = this.SetParticipantEffectiveUntil.bind(this);
2256
+ this.RevokeParticipant = this.RevokeParticipant.bind(this);
2257
+ this.CreateOrUpdateParticipantSession = this.CreateOrUpdateParticipantSession.bind(this);
2258
+ this.SlashParticipantTrustDeposit = this.SlashParticipantTrustDeposit.bind(this);
2259
+ this.RepayParticipantSlashedTrustDeposit = this.RepayParticipantSlashedTrustDeposit.bind(this);
2260
+ this.SelfCreateParticipant = this.SelfCreateParticipant.bind(this);
2255
2261
  }
2256
2262
  UpdateParams(request) {
2257
2263
  const data = exports.MsgUpdateParams.encode(request).finish();
2258
2264
  const promise = this.rpc.request(this.service, "UpdateParams", data);
2259
2265
  return promise.then((data) => exports.MsgUpdateParamsResponse.decode(_m0.Reader.create(data)));
2260
2266
  }
2261
- StartPermissionVP(request) {
2262
- const data = exports.MsgStartPermissionVP.encode(request).finish();
2263
- const promise = this.rpc.request(this.service, "StartPermissionVP", data);
2264
- return promise.then((data) => exports.MsgStartPermissionVPResponse.decode(_m0.Reader.create(data)));
2267
+ StartParticipantOP(request) {
2268
+ const data = exports.MsgStartParticipantOP.encode(request).finish();
2269
+ const promise = this.rpc.request(this.service, "StartParticipantOP", data);
2270
+ return promise.then((data) => exports.MsgStartParticipantOPResponse.decode(_m0.Reader.create(data)));
2265
2271
  }
2266
- RenewPermissionVP(request) {
2267
- const data = exports.MsgRenewPermissionVP.encode(request).finish();
2268
- const promise = this.rpc.request(this.service, "RenewPermissionVP", data);
2269
- return promise.then((data) => exports.MsgRenewPermissionVPResponse.decode(_m0.Reader.create(data)));
2272
+ RenewParticipantOP(request) {
2273
+ const data = exports.MsgRenewParticipantOP.encode(request).finish();
2274
+ const promise = this.rpc.request(this.service, "RenewParticipantOP", data);
2275
+ return promise.then((data) => exports.MsgRenewParticipantOPResponse.decode(_m0.Reader.create(data)));
2270
2276
  }
2271
- SetPermissionVPToValidated(request) {
2272
- const data = exports.MsgSetPermissionVPToValidated.encode(request).finish();
2273
- const promise = this.rpc.request(this.service, "SetPermissionVPToValidated", data);
2274
- return promise.then((data) => exports.MsgSetPermissionVPToValidatedResponse.decode(_m0.Reader.create(data)));
2277
+ SetParticipantOPToValidated(request) {
2278
+ const data = exports.MsgSetParticipantOPToValidated.encode(request).finish();
2279
+ const promise = this.rpc.request(this.service, "SetParticipantOPToValidated", data);
2280
+ return promise.then((data) => exports.MsgSetParticipantOPToValidatedResponse.decode(_m0.Reader.create(data)));
2275
2281
  }
2276
- CancelPermissionVPLastRequest(request) {
2277
- const data = exports.MsgCancelPermissionVPLastRequest.encode(request).finish();
2278
- const promise = this.rpc.request(this.service, "CancelPermissionVPLastRequest", data);
2279
- return promise.then((data) => exports.MsgCancelPermissionVPLastRequestResponse.decode(_m0.Reader.create(data)));
2282
+ CancelParticipantOPLastRequest(request) {
2283
+ const data = exports.MsgCancelParticipantOPLastRequest.encode(request).finish();
2284
+ const promise = this.rpc.request(this.service, "CancelParticipantOPLastRequest", data);
2285
+ return promise.then((data) => exports.MsgCancelParticipantOPLastRequestResponse.decode(_m0.Reader.create(data)));
2280
2286
  }
2281
- CreateRootPermission(request) {
2282
- const data = exports.MsgCreateRootPermission.encode(request).finish();
2283
- const promise = this.rpc.request(this.service, "CreateRootPermission", data);
2284
- return promise.then((data) => exports.MsgCreateRootPermissionResponse.decode(_m0.Reader.create(data)));
2287
+ CreateRootParticipant(request) {
2288
+ const data = exports.MsgCreateRootParticipant.encode(request).finish();
2289
+ const promise = this.rpc.request(this.service, "CreateRootParticipant", data);
2290
+ return promise.then((data) => exports.MsgCreateRootParticipantResponse.decode(_m0.Reader.create(data)));
2285
2291
  }
2286
- AdjustPermission(request) {
2287
- const data = exports.MsgAdjustPermission.encode(request).finish();
2288
- const promise = this.rpc.request(this.service, "AdjustPermission", data);
2289
- return promise.then((data) => exports.MsgAdjustPermissionResponse.decode(_m0.Reader.create(data)));
2292
+ SetParticipantEffectiveUntil(request) {
2293
+ const data = exports.MsgSetParticipantEffectiveUntil.encode(request).finish();
2294
+ const promise = this.rpc.request(this.service, "SetParticipantEffectiveUntil", data);
2295
+ return promise.then((data) => exports.MsgSetParticipantEffectiveUntilResponse.decode(_m0.Reader.create(data)));
2290
2296
  }
2291
- RevokePermission(request) {
2292
- const data = exports.MsgRevokePermission.encode(request).finish();
2293
- const promise = this.rpc.request(this.service, "RevokePermission", data);
2294
- return promise.then((data) => exports.MsgRevokePermissionResponse.decode(_m0.Reader.create(data)));
2297
+ RevokeParticipant(request) {
2298
+ const data = exports.MsgRevokeParticipant.encode(request).finish();
2299
+ const promise = this.rpc.request(this.service, "RevokeParticipant", data);
2300
+ return promise.then((data) => exports.MsgRevokeParticipantResponse.decode(_m0.Reader.create(data)));
2295
2301
  }
2296
- CreateOrUpdatePermissionSession(request) {
2297
- const data = exports.MsgCreateOrUpdatePermissionSession.encode(request).finish();
2298
- const promise = this.rpc.request(this.service, "CreateOrUpdatePermissionSession", data);
2299
- return promise.then((data) => exports.MsgCreateOrUpdatePermissionSessionResponse.decode(_m0.Reader.create(data)));
2302
+ CreateOrUpdateParticipantSession(request) {
2303
+ const data = exports.MsgCreateOrUpdateParticipantSession.encode(request).finish();
2304
+ const promise = this.rpc.request(this.service, "CreateOrUpdateParticipantSession", data);
2305
+ return promise.then((data) => exports.MsgCreateOrUpdateParticipantSessionResponse.decode(_m0.Reader.create(data)));
2300
2306
  }
2301
- SlashPermissionTrustDeposit(request) {
2302
- const data = exports.MsgSlashPermissionTrustDeposit.encode(request).finish();
2303
- const promise = this.rpc.request(this.service, "SlashPermissionTrustDeposit", data);
2304
- return promise.then((data) => exports.MsgSlashPermissionTrustDepositResponse.decode(_m0.Reader.create(data)));
2307
+ SlashParticipantTrustDeposit(request) {
2308
+ const data = exports.MsgSlashParticipantTrustDeposit.encode(request).finish();
2309
+ const promise = this.rpc.request(this.service, "SlashParticipantTrustDeposit", data);
2310
+ return promise.then((data) => exports.MsgSlashParticipantTrustDepositResponse.decode(_m0.Reader.create(data)));
2305
2311
  }
2306
- RepayPermissionSlashedTrustDeposit(request) {
2307
- const data = exports.MsgRepayPermissionSlashedTrustDeposit.encode(request).finish();
2308
- const promise = this.rpc.request(this.service, "RepayPermissionSlashedTrustDeposit", data);
2309
- return promise.then((data) => exports.MsgRepayPermissionSlashedTrustDepositResponse.decode(_m0.Reader.create(data)));
2312
+ RepayParticipantSlashedTrustDeposit(request) {
2313
+ const data = exports.MsgRepayParticipantSlashedTrustDeposit.encode(request).finish();
2314
+ const promise = this.rpc.request(this.service, "RepayParticipantSlashedTrustDeposit", data);
2315
+ return promise.then((data) => exports.MsgRepayParticipantSlashedTrustDepositResponse.decode(_m0.Reader.create(data)));
2310
2316
  }
2311
- SelfCreatePermission(request) {
2312
- const data = exports.MsgSelfCreatePermission.encode(request).finish();
2313
- const promise = this.rpc.request(this.service, "SelfCreatePermission", data);
2314
- return promise.then((data) => exports.MsgSelfCreatePermissionResponse.decode(_m0.Reader.create(data)));
2317
+ SelfCreateParticipant(request) {
2318
+ const data = exports.MsgSelfCreateParticipant.encode(request).finish();
2319
+ const promise = this.rpc.request(this.service, "SelfCreateParticipant", data);
2320
+ return promise.then((data) => exports.MsgSelfCreateParticipantResponse.decode(_m0.Reader.create(data)));
2315
2321
  }
2316
2322
  }
2317
2323
  exports.MsgClientImpl = MsgClientImpl;