@taquito/michel-codec 19.2.1 → 20.0.0-RC.1

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.
@@ -163,6 +163,7 @@ const primitives = [
163
163
  'TICKET',
164
164
  'BYTES',
165
165
  'NAT',
166
+ 'Ticket',
166
167
  ];
167
168
  const primTags = Object.assign({}, ...primitives.map((v, i) => ({ [v]: i })));
168
169
  var Tag;
@@ -415,11 +415,22 @@ function assertDataValidInternal(d, t, ctx) {
415
415
  }
416
416
  throw new utils_1.MichelsonTypeError(t, `sapling state expected: ${JSON.stringify(d)}`, d);
417
417
  case 'ticket':
418
- assertDataValidInternal(d, {
419
- prim: 'pair',
420
- args: [{ prim: 'address' }, t.args[0], { prim: 'nat' }],
421
- }, ctx);
422
- return;
418
+ if ('prim' in d && d.prim === 'Ticket') {
419
+ assertDataValidInternal(d.args[0], { prim: 'address' }, ctx);
420
+ assertTypesEqual(d.args[1], t.args[0]);
421
+ assertDataValidInternal(d.args[2], t.args[0], ctx);
422
+ assertDataValidInternal(d.args[3], { prim: 'nat' }, ctx);
423
+ return;
424
+ }
425
+ else if ((0, utils_1.isPairData)(d)) {
426
+ // backward compatibility
427
+ assertDataValidInternal(d, {
428
+ prim: 'pair',
429
+ args: [{ prim: 'address' }, t.args[0], { prim: 'nat' }],
430
+ }, ctx);
431
+ return;
432
+ }
433
+ throw new utils_1.MichelsonTypeError(t, `ticket expected: ${JSON.stringify(d)}`, d);
423
434
  default:
424
435
  throw new utils_1.MichelsonTypeError(t, `type ${typeID(t)} don't have Michelson literal representation`, d);
425
436
  }
@@ -30,6 +30,8 @@ var Protocol;
30
30
  Protocol["PtMumbai2"] = "PtMumbai2TmsJHNGRkD8v8YDbtao7BLUC3wjASn1inAKLFCjaH1";
31
31
  Protocol["PtNairobi"] = "PtNairobiyssHuh87hEhfVBGCVrK3WnS8Z2FT4ymB5tAa4r1nQf";
32
32
  Protocol["ProxfordY"] = "ProxfordYmVfjWnRcgjWH36fW6PArwqykTFzotUxRs6gmTcZDuH";
33
+ Protocol["PtParisBQ"] = "PtParisBQscdCm6Cfow6ndeU6wKJyA3aV1j4D3gQBQMsTQyJCrz";
34
+ Protocol["PtParisBx"] = "PtParisBxoLz5gzMmn3d9WBQNoPSZakgnkMC2VNuQ3KXfUtUQeZ";
33
35
  Protocol["ProtoALpha"] = "ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK";
34
36
  })(Protocol || (exports.Protocol = Protocol = {}));
35
37
  exports.DefaultProtocol = Protocol.Psithaca2;
@@ -59,7 +61,9 @@ const protoLevel = {
59
61
  PtMumbai2TmsJHNGRkD8v8YDbtao7BLUC3wjASn1inAKLFCjaH1: 16,
60
62
  PtNairobiyssHuh87hEhfVBGCVrK3WnS8Z2FT4ymB5tAa4r1nQf: 17,
61
63
  ProxfordYmVfjWnRcgjWH36fW6PArwqykTFzotUxRs6gmTcZDuH: 19,
62
- ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK: 20,
64
+ PtParisBQscdCm6Cfow6ndeU6wKJyA3aV1j4D3gQBQMsTQyJCrz: 20,
65
+ PtParisBxoLz5gzMmn3d9WBQNoPSZakgnkMC2VNuQ3KXfUtUQeZ: 20,
66
+ ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK: 21,
63
67
  };
64
68
  function ProtoGreaterOrEqual(a, b) {
65
69
  return protoLevel[a] >= protoLevel[b];
@@ -206,6 +206,13 @@ function assertStringLiteral(ex) {
206
206
  }
207
207
  throw new MichelsonValidationError(ex, 'string literal expected');
208
208
  }
209
+ // usually an address
210
+ function assertStringOrBytes(ex) {
211
+ if ('string' in ex || 'bytes' in ex) {
212
+ return true;
213
+ }
214
+ throw new MichelsonValidationError(ex, 'string or bytes literal expected');
215
+ }
209
216
  function assertArgs(ex, n) {
210
217
  var _a;
211
218
  if ((n === 0 && ex.args === undefined) || ((_a = ex.args) === null || _a === void 0 ? void 0 : _a.length) === n) {
@@ -656,6 +663,14 @@ function assertMichelsonData(ex) {
656
663
  assertMichelsonInstruction(ex.args);
657
664
  }
658
665
  break;
666
+ case 'Ticket':
667
+ if (assertArgs(ex, 4)) {
668
+ assertStringOrBytes(ex.args[0]);
669
+ assertMichelsonType(ex.args[1]);
670
+ assertMichelsonData(ex.args[2]);
671
+ assertIntLiteral(ex.args[3]);
672
+ }
673
+ break;
659
674
  default:
660
675
  if (Object.prototype.hasOwnProperty.call(exports.instructionIDs, ex.prim)) {
661
676
  assertMichelsonInstruction(ex);
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
4
  // IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN!
5
5
  exports.VERSION = {
6
- "commitHash": "2e05f6f865be17a1b367b284542b24ffa9823271",
7
- "version": "19.2.1"
6
+ "commitHash": "3374a558006fdf94f6a51f86c64c2bfd970d619d",
7
+ "version": "20.0.0-RC.1"
8
8
  };
@@ -155,6 +155,8 @@ var Protocol;
155
155
  Protocol["PtMumbai2"] = "PtMumbai2TmsJHNGRkD8v8YDbtao7BLUC3wjASn1inAKLFCjaH1";
156
156
  Protocol["PtNairobi"] = "PtNairobiyssHuh87hEhfVBGCVrK3WnS8Z2FT4ymB5tAa4r1nQf";
157
157
  Protocol["ProxfordY"] = "ProxfordYmVfjWnRcgjWH36fW6PArwqykTFzotUxRs6gmTcZDuH";
158
+ Protocol["PtParisBQ"] = "PtParisBQscdCm6Cfow6ndeU6wKJyA3aV1j4D3gQBQMsTQyJCrz";
159
+ Protocol["PtParisBx"] = "PtParisBxoLz5gzMmn3d9WBQNoPSZakgnkMC2VNuQ3KXfUtUQeZ";
158
160
  Protocol["ProtoALpha"] = "ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK";
159
161
  })(Protocol || (Protocol = {}));
160
162
  const DefaultProtocol = Protocol.Psithaca2;
@@ -184,7 +186,9 @@ const protoLevel = {
184
186
  PtMumbai2TmsJHNGRkD8v8YDbtao7BLUC3wjASn1inAKLFCjaH1: 16,
185
187
  PtNairobiyssHuh87hEhfVBGCVrK3WnS8Z2FT4ymB5tAa4r1nQf: 17,
186
188
  ProxfordYmVfjWnRcgjWH36fW6PArwqykTFzotUxRs6gmTcZDuH: 19,
187
- ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK: 20,
189
+ PtParisBQscdCm6Cfow6ndeU6wKJyA3aV1j4D3gQBQMsTQyJCrz: 20,
190
+ PtParisBxoLz5gzMmn3d9WBQNoPSZakgnkMC2VNuQ3KXfUtUQeZ: 20,
191
+ ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK: 21,
188
192
  };
189
193
  function ProtoGreaterOrEqual(a, b) {
190
194
  return protoLevel[a] >= protoLevel[b];
@@ -2081,6 +2085,13 @@ function assertStringLiteral(ex) {
2081
2085
  }
2082
2086
  throw new MichelsonValidationError(ex, 'string literal expected');
2083
2087
  }
2088
+ // usually an address
2089
+ function assertStringOrBytes(ex) {
2090
+ if ('string' in ex || 'bytes' in ex) {
2091
+ return true;
2092
+ }
2093
+ throw new MichelsonValidationError(ex, 'string or bytes literal expected');
2094
+ }
2084
2095
  function assertArgs(ex, n) {
2085
2096
  var _a;
2086
2097
  if ((n === 0 && ex.args === undefined) || ((_a = ex.args) === null || _a === void 0 ? void 0 : _a.length) === n) {
@@ -2522,6 +2533,14 @@ function assertMichelsonData(ex) {
2522
2533
  assertMichelsonInstruction(ex.args);
2523
2534
  }
2524
2535
  break;
2536
+ case 'Ticket':
2537
+ if (assertArgs(ex, 4)) {
2538
+ assertStringOrBytes(ex.args[0]);
2539
+ assertMichelsonType(ex.args[1]);
2540
+ assertMichelsonData(ex.args[2]);
2541
+ assertIntLiteral(ex.args[3]);
2542
+ }
2543
+ break;
2525
2544
  default:
2526
2545
  if (Object.prototype.hasOwnProperty.call(instructionIDs, ex.prim)) {
2527
2546
  assertMichelsonInstruction(ex);
@@ -2868,6 +2887,7 @@ const primitives = [
2868
2887
  'TICKET',
2869
2888
  'BYTES',
2870
2889
  'NAT',
2890
+ 'Ticket',
2871
2891
  ];
2872
2892
  const primTags = Object.assign({}, ...primitives.map((v, i) => ({ [v]: i })));
2873
2893
  var Tag;
@@ -4286,11 +4306,22 @@ function assertDataValidInternal(d, t, ctx) {
4286
4306
  }
4287
4307
  throw new MichelsonTypeError(t, `sapling state expected: ${JSON.stringify(d)}`, d);
4288
4308
  case 'ticket':
4289
- assertDataValidInternal(d, {
4290
- prim: 'pair',
4291
- args: [{ prim: 'address' }, t.args[0], { prim: 'nat' }],
4292
- }, ctx);
4293
- return;
4309
+ if ('prim' in d && d.prim === 'Ticket') {
4310
+ assertDataValidInternal(d.args[0], { prim: 'address' }, ctx);
4311
+ assertTypesEqual(d.args[1], t.args[0]);
4312
+ assertDataValidInternal(d.args[2], t.args[0], ctx);
4313
+ assertDataValidInternal(d.args[3], { prim: 'nat' }, ctx);
4314
+ return;
4315
+ }
4316
+ else if (isPairData(d)) {
4317
+ // backward compatibility
4318
+ assertDataValidInternal(d, {
4319
+ prim: 'pair',
4320
+ args: [{ prim: 'address' }, t.args[0], { prim: 'nat' }],
4321
+ }, ctx);
4322
+ return;
4323
+ }
4324
+ throw new MichelsonTypeError(t, `ticket expected: ${JSON.stringify(d)}`, d);
4294
4325
  default:
4295
4326
  throw new MichelsonTypeError(t, `type ${typeID(t)} don't have Michelson literal representation`, d);
4296
4327
  }
@@ -5728,8 +5759,8 @@ ${err.data
5728
5759
 
5729
5760
  // IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN!
5730
5761
  const VERSION = {
5731
- "commitHash": "2e05f6f865be17a1b367b284542b24ffa9823271",
5732
- "version": "19.2.1"
5762
+ "commitHash": "3374a558006fdf94f6a51f86c64c2bfd970d619d",
5763
+ "version": "20.0.0-RC.1"
5733
5764
  };
5734
5765
 
5735
5766
  export { Contract, DefaultProtocol, JSONParseError, MacroError, MichelineParseError, MichelsonError, MichelsonInstructionError, MichelsonTypeError, MichelsonValidationError, Parser, ProtoGreaterOrEqual, ProtoInferiorTo, Protocol, VERSION, assertContractValid, assertDataListIfAny, assertDataValid, assertMichelsonBigMapStorableType, assertMichelsonComparableType, assertMichelsonContract, assertMichelsonData, assertMichelsonInstruction, assertMichelsonPackableType, assertMichelsonPassableType, assertMichelsonPushableType, assertMichelsonStorableType, assertMichelsonType, assertTypeAnnotationsValid, assertTypesEqual, assertViewNameValid, contractEntryPoint, contractEntryPoints, contractSection, contractViews, decodeAddressBytes, decodePublicKeyBytes, decodePublicKeyHashBytes, dummyContract, emitMicheline, formatError, formatStack, functionType, instructionIDs, isContractValid, isDataValid, isInstruction, isMichelsonCode, isMichelsonData, isMichelsonError, isMichelsonScript, isMichelsonType, isTypeAnnotationsValid, isTypeEqual, packData, packDataBytes, refContract, sourceReference, traceDumpFunc, unpackData, unpackDataBytes };
@@ -1 +1 @@
1
- {"version":3,"file":"taquito-michel-codec.es6.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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wqykTFzotUxRs6gmTcZDuH";
162
+ Protocol["PtParisBQ"] = "PtParisBQscdCm6Cfow6ndeU6wKJyA3aV1j4D3gQBQMsTQyJCrz";
163
+ Protocol["PtParisBx"] = "PtParisBxoLz5gzMmn3d9WBQNoPSZakgnkMC2VNuQ3KXfUtUQeZ";
162
164
  Protocol["ProtoALpha"] = "ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK";
163
165
  })(exports.Protocol || (exports.Protocol = {}));
164
166
  const DefaultProtocol = exports.Protocol.Psithaca2;
@@ -188,7 +190,9 @@
188
190
  PtMumbai2TmsJHNGRkD8v8YDbtao7BLUC3wjASn1inAKLFCjaH1: 16,
189
191
  PtNairobiyssHuh87hEhfVBGCVrK3WnS8Z2FT4ymB5tAa4r1nQf: 17,
190
192
  ProxfordYmVfjWnRcgjWH36fW6PArwqykTFzotUxRs6gmTcZDuH: 19,
191
- ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK: 20,
193
+ PtParisBQscdCm6Cfow6ndeU6wKJyA3aV1j4D3gQBQMsTQyJCrz: 20,
194
+ PtParisBxoLz5gzMmn3d9WBQNoPSZakgnkMC2VNuQ3KXfUtUQeZ: 20,
195
+ ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK: 21,
192
196
  };
193
197
  function ProtoGreaterOrEqual(a, b) {
194
198
  return protoLevel[a] >= protoLevel[b];
@@ -2085,6 +2089,13 @@
2085
2089
  }
2086
2090
  throw new MichelsonValidationError(ex, 'string literal expected');
2087
2091
  }
2092
+ // usually an address
2093
+ function assertStringOrBytes(ex) {
2094
+ if ('string' in ex || 'bytes' in ex) {
2095
+ return true;
2096
+ }
2097
+ throw new MichelsonValidationError(ex, 'string or bytes literal expected');
2098
+ }
2088
2099
  function assertArgs(ex, n) {
2089
2100
  var _a;
2090
2101
  if ((n === 0 && ex.args === undefined) || ((_a = ex.args) === null || _a === void 0 ? void 0 : _a.length) === n) {
@@ -2526,6 +2537,14 @@
2526
2537
  assertMichelsonInstruction(ex.args);
2527
2538
  }
2528
2539
  break;
2540
+ case 'Ticket':
2541
+ if (assertArgs(ex, 4)) {
2542
+ assertStringOrBytes(ex.args[0]);
2543
+ assertMichelsonType(ex.args[1]);
2544
+ assertMichelsonData(ex.args[2]);
2545
+ assertIntLiteral(ex.args[3]);
2546
+ }
2547
+ break;
2529
2548
  default:
2530
2549
  if (Object.prototype.hasOwnProperty.call(instructionIDs, ex.prim)) {
2531
2550
  assertMichelsonInstruction(ex);
@@ -2872,6 +2891,7 @@
2872
2891
  'TICKET',
2873
2892
  'BYTES',
2874
2893
  'NAT',
2894
+ 'Ticket',
2875
2895
  ];
2876
2896
  const primTags = Object.assign({}, ...primitives.map((v, i) => ({ [v]: i })));
2877
2897
  var Tag;
@@ -4290,11 +4310,22 @@
4290
4310
  }
4291
4311
  throw new MichelsonTypeError(t, `sapling state expected: ${JSON.stringify(d)}`, d);
4292
4312
  case 'ticket':
4293
- assertDataValidInternal(d, {
4294
- prim: 'pair',
4295
- args: [{ prim: 'address' }, t.args[0], { prim: 'nat' }],
4296
- }, ctx);
4297
- return;
4313
+ if ('prim' in d && d.prim === 'Ticket') {
4314
+ assertDataValidInternal(d.args[0], { prim: 'address' }, ctx);
4315
+ assertTypesEqual(d.args[1], t.args[0]);
4316
+ assertDataValidInternal(d.args[2], t.args[0], ctx);
4317
+ assertDataValidInternal(d.args[3], { prim: 'nat' }, ctx);
4318
+ return;
4319
+ }
4320
+ else if (isPairData(d)) {
4321
+ // backward compatibility
4322
+ assertDataValidInternal(d, {
4323
+ prim: 'pair',
4324
+ args: [{ prim: 'address' }, t.args[0], { prim: 'nat' }],
4325
+ }, ctx);
4326
+ return;
4327
+ }
4328
+ throw new MichelsonTypeError(t, `ticket expected: ${JSON.stringify(d)}`, d);
4298
4329
  default:
4299
4330
  throw new MichelsonTypeError(t, `type ${typeID(t)} don't have Michelson literal representation`, d);
4300
4331
  }
@@ -5732,8 +5763,8 @@ ${err.data
5732
5763
 
5733
5764
  // IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN!
5734
5765
  const VERSION = {
5735
- "commitHash": "2e05f6f865be17a1b367b284542b24ffa9823271",
5736
- "version": "19.2.1"
5766
+ "commitHash": "3374a558006fdf94f6a51f86c64c2bfd970d619d",
5767
+ "version": "20.0.0-RC.1"
5737
5768
  };
5738
5769
 
5739
5770
  exports.Contract = Contract;
@@ -1 +1 @@
1
- {"version":3,"file":"taquito-michel-codec.umd.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -68,7 +68,7 @@ export interface MichelsonTypeSaplingTransaction<S extends string = string> exte
68
68
  export interface MichelsonTypeTicket<T extends MichelsonType> extends TypeX<'ticket', [T]> {
69
69
  }
70
70
  export type MichelsonType<T extends MichelsonTypeID = MichelsonTypeID> = T extends 'int' ? MichelsonTypeInt : T extends 'nat' ? MichelsonTypeNat : T extends 'string' ? MichelsonTypeString : T extends 'bytes' ? MichelsonTypeBytes : T extends 'mutez' ? MichelsonTypeMutez : T extends 'bool' ? MichelsonTypeBool : T extends 'key_hash' ? MichelsonTypeKeyHash : T extends 'timestamp' ? MichelsonTypeTimestamp : T extends 'address' ? MichelsonTypeAddress : T extends 'key' ? MichelsonTypeKey : T extends 'unit' ? MichelsonTypeUnit : T extends 'signature' ? MichelsonTypeSignature : T extends 'operation' ? MichelsonTypeOperation : T extends 'chain_id' ? MichelsonTypeChainID : T extends 'option' ? MichelsonTypeOption<MichelsonType> : T extends 'list' ? MichelsonTypeList<MichelsonType> : T extends 'contract' ? MichelsonTypeContract<MichelsonType> : T extends 'ticket' ? MichelsonTypeTicket<MichelsonType> : T extends 'pair' ? MichelsonTypePair<MichelsonType[]> : T extends 'or' ? MichelsonTypeOr<[MichelsonType, MichelsonType]> : T extends 'lambda' ? MichelsonTypeLambda<MichelsonType, MichelsonType> : T extends 'set' ? MichelsonTypeSet<MichelsonType> : T extends 'map' ? MichelsonTypeMap<MichelsonType, MichelsonType> : T extends 'big_map' ? MichelsonTypeBigMap<MichelsonType, MichelsonType> : T extends 'never' ? MichelsonTypeNever : T extends 'bls12_381_g1' ? MichelsonTypeBLS12_381_G1 : T extends 'bls12_381_g2' ? MichelsonTypeBLS12_381_G2 : T extends 'bls12_381_fr' ? MichelsonTypeBLS12_381_FR : T extends 'sapling_transaction' ? MichelsonTypeSaplingTransaction : T extends 'sapling_state' ? MichelsonTypeSaplingState : T extends 'chest_key' ? MichelsonTypeChestKey : MichelsonTypeChest;
71
- export type MichelsonDataID = 'Unit' | 'True' | 'False' | 'None' | 'Pair' | 'Left' | 'Right' | 'Some' | 'Lambda_rec';
71
+ export type MichelsonDataID = 'Unit' | 'True' | 'False' | 'None' | 'Pair' | 'Left' | 'Right' | 'Some' | 'Lambda_rec' | 'Ticket';
72
72
  type Data0<PT extends MichelsonDataID> = Prim0<PT>;
73
73
  type DataX<PT extends MichelsonDataID, AT extends MichelsonData[]> = PrimX<PT, AT>;
74
74
  export type MichelsonDataOption = DataX<'Some', [MichelsonData]> | Data0<'None'>;
@@ -78,7 +78,8 @@ export type MichelsonDataPair<T extends MichelsonData[]> = DataX<'Pair', T> | Da
78
78
  export type MichelsonMapElt = PrimX<'Elt', [MichelsonData, MichelsonData]>;
79
79
  export type MichelsonMapEltList = List<MichelsonMapElt>;
80
80
  export type MichelsonLambdaRec = DataX<'Lambda_rec', [InstructionList]>;
81
- export type MichelsonData = IntLiteral | StringLiteral | BytesLiteral | Data0<'Unit' | 'True' | 'False'> | MichelsonDataOption | MichelsonDataOr | DataList<MichelsonData[]> | MichelsonDataPair<MichelsonData[]> | InstructionList | MichelsonMapEltList | MichelsonLambdaRec;
81
+ export type MichelsonTicket = PrimX<'Ticket', [StringLiteral | BytesLiteral, MichelsonType, MichelsonData, IntLiteral]>;
82
+ export type MichelsonData = IntLiteral | StringLiteral | BytesLiteral | Data0<'Unit' | 'True' | 'False'> | MichelsonDataOption | MichelsonDataOr | DataList<MichelsonData[]> | MichelsonDataPair<MichelsonData[]> | InstructionList | MichelsonMapEltList | MichelsonLambdaRec | MichelsonTicket;
82
83
  export type MichelsonSectionID = 'parameter' | 'storage' | 'code' | 'view';
83
84
  type SectionPrim<PT extends MichelsonSectionID, AT extends Expr[]> = PrimX<PT, AT>;
84
85
  export type MichelsonContractParameter = SectionPrim<'parameter', [MichelsonType]>;
@@ -123,6 +124,8 @@ export declare enum Protocol {
123
124
  PtMumbai2 = "PtMumbai2TmsJHNGRkD8v8YDbtao7BLUC3wjASn1inAKLFCjaH1",
124
125
  PtNairobi = "PtNairobiyssHuh87hEhfVBGCVrK3WnS8Z2FT4ymB5tAa4r1nQf",
125
126
  ProxfordY = "ProxfordYmVfjWnRcgjWH36fW6PArwqykTFzotUxRs6gmTcZDuH",
127
+ PtParisBQ = "PtParisBQscdCm6Cfow6ndeU6wKJyA3aV1j4D3gQBQMsTQyJCrz",
128
+ PtParisBx = "PtParisBxoLz5gzMmn3d9WBQNoPSZakgnkMC2VNuQ3KXfUtUQeZ",
126
129
  ProtoALpha = "ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK"
127
130
  }
128
131
  export declare const DefaultProtocol = Protocol.Psithaca2;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taquito/michel-codec",
3
- "version": "19.2.1",
3
+ "version": "20.0.0-RC.1",
4
4
  "description": "Michelson parser/validator/formatter",
5
5
  "keywords": [
6
6
  "tezos",
@@ -66,7 +66,7 @@
66
66
  ]
67
67
  },
68
68
  "dependencies": {
69
- "@taquito/core": "^19.2.1"
69
+ "@taquito/core": "^20.0.0-RC.1"
70
70
  },
71
71
  "devDependencies": {
72
72
  "@types/bluebird": "^3.5.40",
@@ -90,5 +90,5 @@
90
90
  "ts-toolbelt": "^9.6.0",
91
91
  "typescript": "~5.2.2"
92
92
  },
93
- "gitHead": "3b9dbecb374ffd8136f494ae0817b2d1d530f8d9"
93
+ "gitHead": "410beab39d1745d4d8c00e92cddf3d1f143ee4bd"
94
94
  }