@taquito/michel-codec 23.0.3 → 24.0.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/binary.js +2 -0
- package/dist/lib/michelson-typecheck.js +6 -0
- package/dist/lib/michelson-types.js +4 -2
- package/dist/lib/michelson-validator.js +2 -0
- package/dist/lib/version.js +2 -2
- package/dist/taquito-michel-codec.es6.js +18 -6
- package/dist/taquito-michel-codec.es6.js.map +1 -1
- package/dist/taquito-michel-codec.umd.js +18 -6
- package/dist/taquito-michel-codec.umd.js.map +1 -1
- package/dist/types/michelson-types.d.ts +3 -2
- package/package.json +5 -5
package/dist/lib/binary.js
CHANGED
|
@@ -1558,6 +1558,12 @@ function functionTypeInternal(inst, stack, ctx) {
|
|
|
1558
1558
|
case 'IS_IMPLICIT_ACCOUNT':
|
|
1559
1559
|
args(0, ['address']);
|
|
1560
1560
|
return [annotateVar({ prim: 'option', args: [{ prim: 'key_hash' }] }), ...stack.slice(1)];
|
|
1561
|
+
case 'INDEX_ADDRESS':
|
|
1562
|
+
args(0, ['address']);
|
|
1563
|
+
return [annotateVar({ prim: 'nat' }), ...stack.slice(1)];
|
|
1564
|
+
case 'GET_ADDRESS_INDEX':
|
|
1565
|
+
args(0, ['address']);
|
|
1566
|
+
return [annotateVar({ prim: 'option', args: [{ prim: 'nat' }] }), ...stack.slice(1)];
|
|
1561
1567
|
default:
|
|
1562
1568
|
throw new utils_1.MichelsonError(instruction, `unexpected instruction: ${instruction.prim}`);
|
|
1563
1569
|
}
|
|
@@ -37,9 +37,10 @@ var Protocol;
|
|
|
37
37
|
Protocol["PsQuebecn"] = "PsQuebecnLByd3JwTiGadoG4nGWi3HYiLXUjkibeFV8dCFeVMUg";
|
|
38
38
|
Protocol["PsRiotuma"] = "PsRiotumaAMotcRoDWW1bysEhQy2n1M5fy8JgRp8jjRfHGmfeA7";
|
|
39
39
|
Protocol["PtSeouLou"] = "PtSeouLouXkxhg39oWzjxDWaCydNfR3RxCUrNe4Q9Ro8BTehcbh";
|
|
40
|
+
Protocol["PtTALLiNt"] = "PtTALLiNtPec7mE7yY4m3k26J8Qukef3E3ehzhfXgFZKGtDdAXu";
|
|
40
41
|
Protocol["ProtoALpha"] = "ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK";
|
|
41
42
|
})(Protocol || (exports.Protocol = Protocol = {}));
|
|
42
|
-
exports.DefaultProtocol = Protocol.
|
|
43
|
+
exports.DefaultProtocol = Protocol.PtTALLiNt;
|
|
43
44
|
const protoLevel = {
|
|
44
45
|
Ps9mPmXaRzmzk35gbAYNCAw6UXdE2qoABTHbN2oEEc1qM7CwT9P: 0,
|
|
45
46
|
PtCJ7pwoxe8JasnHY8YonnLYjcVHmhiARPJvqcC6VfHT5s8k8sY: 1,
|
|
@@ -71,7 +72,8 @@ const protoLevel = {
|
|
|
71
72
|
PsQuebecnLByd3JwTiGadoG4nGWi3HYiLXUjkibeFV8dCFeVMUg: 21,
|
|
72
73
|
PsRiotumaAMotcRoDWW1bysEhQy2n1M5fy8JgRp8jjRfHGmfeA7: 22,
|
|
73
74
|
PtSeouLouXkxhg39oWzjxDWaCydNfR3RxCUrNe4Q9Ro8BTehcbh: 23,
|
|
74
|
-
|
|
75
|
+
PtTALLiNtPec7mE7yY4m3k26J8Qukef3E3ehzhfXgFZKGtDdAXu: 24,
|
|
76
|
+
ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK: 25,
|
|
75
77
|
};
|
|
76
78
|
function ProtoGreaterOrEqual(a, b) {
|
|
77
79
|
return protoLevel[a] >= protoLevel[b];
|
package/dist/lib/version.js
CHANGED
|
@@ -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": "
|
|
7
|
-
"version": "
|
|
6
|
+
"commitHash": "7912b77f57f943dff619383900bd46a7a593a244",
|
|
7
|
+
"version": "24.0.0-beta.0"
|
|
8
8
|
};
|
|
@@ -160,9 +160,10 @@ var Protocol;
|
|
|
160
160
|
Protocol["PsQuebecn"] = "PsQuebecnLByd3JwTiGadoG4nGWi3HYiLXUjkibeFV8dCFeVMUg";
|
|
161
161
|
Protocol["PsRiotuma"] = "PsRiotumaAMotcRoDWW1bysEhQy2n1M5fy8JgRp8jjRfHGmfeA7";
|
|
162
162
|
Protocol["PtSeouLou"] = "PtSeouLouXkxhg39oWzjxDWaCydNfR3RxCUrNe4Q9Ro8BTehcbh";
|
|
163
|
+
Protocol["PtTALLiNt"] = "PtTALLiNtPec7mE7yY4m3k26J8Qukef3E3ehzhfXgFZKGtDdAXu";
|
|
163
164
|
Protocol["ProtoALpha"] = "ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK";
|
|
164
165
|
})(Protocol || (Protocol = {}));
|
|
165
|
-
const DefaultProtocol = Protocol.
|
|
166
|
+
const DefaultProtocol = Protocol.PtTALLiNt;
|
|
166
167
|
const protoLevel = {
|
|
167
168
|
Ps9mPmXaRzmzk35gbAYNCAw6UXdE2qoABTHbN2oEEc1qM7CwT9P: 0,
|
|
168
169
|
PtCJ7pwoxe8JasnHY8YonnLYjcVHmhiARPJvqcC6VfHT5s8k8sY: 1,
|
|
@@ -194,7 +195,8 @@ const protoLevel = {
|
|
|
194
195
|
PsQuebecnLByd3JwTiGadoG4nGWi3HYiLXUjkibeFV8dCFeVMUg: 21,
|
|
195
196
|
PsRiotumaAMotcRoDWW1bysEhQy2n1M5fy8JgRp8jjRfHGmfeA7: 22,
|
|
196
197
|
PtSeouLouXkxhg39oWzjxDWaCydNfR3RxCUrNe4Q9Ro8BTehcbh: 23,
|
|
197
|
-
|
|
198
|
+
PtTALLiNtPec7mE7yY4m3k26J8Qukef3E3ehzhfXgFZKGtDdAXu: 24,
|
|
199
|
+
ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK: 25,
|
|
198
200
|
};
|
|
199
201
|
function ProtoGreaterOrEqual(a, b) {
|
|
200
202
|
return protoLevel[a] >= protoLevel[b];
|
|
@@ -1964,6 +1966,8 @@ const noArgInstructionIDs = {
|
|
|
1964
1966
|
BYTES: true,
|
|
1965
1967
|
NAT: true,
|
|
1966
1968
|
IS_IMPLICIT_ACCOUNT: true,
|
|
1969
|
+
INDEX_ADDRESS: true,
|
|
1970
|
+
GET_ADDRESS_INDEX: true,
|
|
1967
1971
|
};
|
|
1968
1972
|
const instructionIDs = Object.assign({}, noArgInstructionIDs, {
|
|
1969
1973
|
CONTRACT: true,
|
|
@@ -2714,7 +2718,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
2714
2718
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
2715
2719
|
PERFORMANCE OF THIS SOFTWARE.
|
|
2716
2720
|
***************************************************************************** */
|
|
2717
|
-
/* global Reflect, Promise, SuppressedError, Symbol */
|
|
2721
|
+
/* global Reflect, Promise, SuppressedError, Symbol, Iterator */
|
|
2718
2722
|
|
|
2719
2723
|
|
|
2720
2724
|
function __rest(s, e) {
|
|
@@ -2896,6 +2900,8 @@ const primitives = [
|
|
|
2896
2900
|
'NAT',
|
|
2897
2901
|
'Ticket',
|
|
2898
2902
|
'IS_IMPLICIT_ACCOUNT',
|
|
2903
|
+
'INDEX_ADDRESS',
|
|
2904
|
+
'GET_ADDRESS_INDEX',
|
|
2899
2905
|
];
|
|
2900
2906
|
const primTags = Object.assign({}, ...primitives.map((v, i) => ({ [v]: i })));
|
|
2901
2907
|
var Tag;
|
|
@@ -4452,7 +4458,7 @@ function functionTypeInternal(inst, stack, ctx) {
|
|
|
4452
4458
|
...((a.f === null ? src.f : a.f) || []),
|
|
4453
4459
|
]
|
|
4454
4460
|
: undefined;
|
|
4455
|
-
const rest = __rest(t, ["annots"]);
|
|
4461
|
+
const { annots: _annots } = t, rest = __rest(t, ["annots"]);
|
|
4456
4462
|
return Object.assign(Object.assign({}, rest), (ann && ann.length !== 0 && { annots: ann }));
|
|
4457
4463
|
}
|
|
4458
4464
|
// shortcut to copy at most one variable annotation from the instruction to the type
|
|
@@ -5445,6 +5451,12 @@ function functionTypeInternal(inst, stack, ctx) {
|
|
|
5445
5451
|
case 'IS_IMPLICIT_ACCOUNT':
|
|
5446
5452
|
args(0, ['address']);
|
|
5447
5453
|
return [annotateVar({ prim: 'option', args: [{ prim: 'key_hash' }] }), ...stack.slice(1)];
|
|
5454
|
+
case 'INDEX_ADDRESS':
|
|
5455
|
+
args(0, ['address']);
|
|
5456
|
+
return [annotateVar({ prim: 'nat' }), ...stack.slice(1)];
|
|
5457
|
+
case 'GET_ADDRESS_INDEX':
|
|
5458
|
+
args(0, ['address']);
|
|
5459
|
+
return [annotateVar({ prim: 'option', args: [{ prim: 'nat' }] }), ...stack.slice(1)];
|
|
5448
5460
|
default:
|
|
5449
5461
|
throw new MichelsonError(instruction, `unexpected instruction: ${instruction.prim}`);
|
|
5450
5462
|
}
|
|
@@ -5770,8 +5782,8 @@ ${err.data
|
|
|
5770
5782
|
|
|
5771
5783
|
// IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN!
|
|
5772
5784
|
const VERSION = {
|
|
5773
|
-
"commitHash": "
|
|
5774
|
-
"version": "
|
|
5785
|
+
"commitHash": "7912b77f57f943dff619383900bd46a7a593a244",
|
|
5786
|
+
"version": "24.0.0-beta.0"
|
|
5775
5787
|
};
|
|
5776
5788
|
|
|
5777
5789
|
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":"
|
|
1
|
+
{"version":3,"file":"taquito-michel-codec.es6.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -164,9 +164,10 @@
|
|
|
164
164
|
Protocol["PsQuebecn"] = "PsQuebecnLByd3JwTiGadoG4nGWi3HYiLXUjkibeFV8dCFeVMUg";
|
|
165
165
|
Protocol["PsRiotuma"] = "PsRiotumaAMotcRoDWW1bysEhQy2n1M5fy8JgRp8jjRfHGmfeA7";
|
|
166
166
|
Protocol["PtSeouLou"] = "PtSeouLouXkxhg39oWzjxDWaCydNfR3RxCUrNe4Q9Ro8BTehcbh";
|
|
167
|
+
Protocol["PtTALLiNt"] = "PtTALLiNtPec7mE7yY4m3k26J8Qukef3E3ehzhfXgFZKGtDdAXu";
|
|
167
168
|
Protocol["ProtoALpha"] = "ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK";
|
|
168
169
|
})(exports.Protocol || (exports.Protocol = {}));
|
|
169
|
-
const DefaultProtocol = exports.Protocol.
|
|
170
|
+
const DefaultProtocol = exports.Protocol.PtTALLiNt;
|
|
170
171
|
const protoLevel = {
|
|
171
172
|
Ps9mPmXaRzmzk35gbAYNCAw6UXdE2qoABTHbN2oEEc1qM7CwT9P: 0,
|
|
172
173
|
PtCJ7pwoxe8JasnHY8YonnLYjcVHmhiARPJvqcC6VfHT5s8k8sY: 1,
|
|
@@ -198,7 +199,8 @@
|
|
|
198
199
|
PsQuebecnLByd3JwTiGadoG4nGWi3HYiLXUjkibeFV8dCFeVMUg: 21,
|
|
199
200
|
PsRiotumaAMotcRoDWW1bysEhQy2n1M5fy8JgRp8jjRfHGmfeA7: 22,
|
|
200
201
|
PtSeouLouXkxhg39oWzjxDWaCydNfR3RxCUrNe4Q9Ro8BTehcbh: 23,
|
|
201
|
-
|
|
202
|
+
PtTALLiNtPec7mE7yY4m3k26J8Qukef3E3ehzhfXgFZKGtDdAXu: 24,
|
|
203
|
+
ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK: 25,
|
|
202
204
|
};
|
|
203
205
|
function ProtoGreaterOrEqual(a, b) {
|
|
204
206
|
return protoLevel[a] >= protoLevel[b];
|
|
@@ -1968,6 +1970,8 @@
|
|
|
1968
1970
|
BYTES: true,
|
|
1969
1971
|
NAT: true,
|
|
1970
1972
|
IS_IMPLICIT_ACCOUNT: true,
|
|
1973
|
+
INDEX_ADDRESS: true,
|
|
1974
|
+
GET_ADDRESS_INDEX: true,
|
|
1971
1975
|
};
|
|
1972
1976
|
const instructionIDs = Object.assign({}, noArgInstructionIDs, {
|
|
1973
1977
|
CONTRACT: true,
|
|
@@ -2718,7 +2722,7 @@
|
|
|
2718
2722
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
2719
2723
|
PERFORMANCE OF THIS SOFTWARE.
|
|
2720
2724
|
***************************************************************************** */
|
|
2721
|
-
/* global Reflect, Promise, SuppressedError, Symbol */
|
|
2725
|
+
/* global Reflect, Promise, SuppressedError, Symbol, Iterator */
|
|
2722
2726
|
|
|
2723
2727
|
|
|
2724
2728
|
function __rest(s, e) {
|
|
@@ -2900,6 +2904,8 @@
|
|
|
2900
2904
|
'NAT',
|
|
2901
2905
|
'Ticket',
|
|
2902
2906
|
'IS_IMPLICIT_ACCOUNT',
|
|
2907
|
+
'INDEX_ADDRESS',
|
|
2908
|
+
'GET_ADDRESS_INDEX',
|
|
2903
2909
|
];
|
|
2904
2910
|
const primTags = Object.assign({}, ...primitives.map((v, i) => ({ [v]: i })));
|
|
2905
2911
|
var Tag;
|
|
@@ -4456,7 +4462,7 @@
|
|
|
4456
4462
|
...((a.f === null ? src.f : a.f) || []),
|
|
4457
4463
|
]
|
|
4458
4464
|
: undefined;
|
|
4459
|
-
const rest = __rest(t, ["annots"]);
|
|
4465
|
+
const { annots: _annots } = t, rest = __rest(t, ["annots"]);
|
|
4460
4466
|
return Object.assign(Object.assign({}, rest), (ann && ann.length !== 0 && { annots: ann }));
|
|
4461
4467
|
}
|
|
4462
4468
|
// shortcut to copy at most one variable annotation from the instruction to the type
|
|
@@ -5449,6 +5455,12 @@
|
|
|
5449
5455
|
case 'IS_IMPLICIT_ACCOUNT':
|
|
5450
5456
|
args(0, ['address']);
|
|
5451
5457
|
return [annotateVar({ prim: 'option', args: [{ prim: 'key_hash' }] }), ...stack.slice(1)];
|
|
5458
|
+
case 'INDEX_ADDRESS':
|
|
5459
|
+
args(0, ['address']);
|
|
5460
|
+
return [annotateVar({ prim: 'nat' }), ...stack.slice(1)];
|
|
5461
|
+
case 'GET_ADDRESS_INDEX':
|
|
5462
|
+
args(0, ['address']);
|
|
5463
|
+
return [annotateVar({ prim: 'option', args: [{ prim: 'nat' }] }), ...stack.slice(1)];
|
|
5452
5464
|
default:
|
|
5453
5465
|
throw new MichelsonError(instruction, `unexpected instruction: ${instruction.prim}`);
|
|
5454
5466
|
}
|
|
@@ -5774,8 +5786,8 @@ ${err.data
|
|
|
5774
5786
|
|
|
5775
5787
|
// IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN!
|
|
5776
5788
|
const VERSION = {
|
|
5777
|
-
"commitHash": "
|
|
5778
|
-
"version": "
|
|
5789
|
+
"commitHash": "7912b77f57f943dff619383900bd46a7a593a244",
|
|
5790
|
+
"version": "24.0.0-beta.0"
|
|
5779
5791
|
};
|
|
5780
5792
|
|
|
5781
5793
|
exports.Contract = Contract;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taquito-michel-codec.umd.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"taquito-michel-codec.umd.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -5,7 +5,7 @@ interface Prim0<PT extends string = string> extends Prim<PT> {
|
|
|
5
5
|
interface PrimX<PT extends string = string, AT extends Expr[] = Expr[]> extends Prim<PT, AT> {
|
|
6
6
|
args: AT;
|
|
7
7
|
}
|
|
8
|
-
type MichelsonNoArgInstructionID = 'ABS' | 'ADD' | 'ADDRESS' | 'AMOUNT' | 'AND' | 'APPLY' | 'BALANCE' | 'BLAKE2B' | 'CAR' | 'CDR' | 'CHAIN_ID' | 'CHECK_SIGNATURE' | 'COMPARE' | 'CONCAT' | 'CONS' | 'EDIV' | 'EQ' | 'EXEC' | 'FAILWITH' | 'GE' | 'GET_AND_UPDATE' | 'GT' | 'HASH_KEY' | 'IMPLICIT_ACCOUNT' | 'INT' | 'ISNAT' | 'JOIN_TICKETS' | 'KECCAK' | 'LE' | 'LEVEL' | 'LSL' | 'LSR' | 'LT' | 'MEM' | 'MUL' | 'NEG' | 'NEQ' | 'NEVER' | 'NOT' | 'NOW' | 'OR' | 'PACK' | 'PAIRING_CHECK' | 'READ_TICKET' | 'SAPLING_VERIFY_UPDATE' | 'SELF' | 'SELF_ADDRESS' | 'SENDER' | 'SET_DELEGATE' | 'SHA256' | 'SHA3' | 'SHA512' | 'SIZE' | 'SLICE' | 'SOME' | 'SOURCE' | 'SPLIT_TICKET' | 'SUB' | 'SUB_MUTEZ' | 'SWAP' | 'TICKET' | 'TICKET_DEPRECATED' | 'TOTAL_VOTING_POWER' | 'TRANSFER_TOKENS' | 'UNIT' | 'VOTING_POWER' | 'XOR' | 'RENAME' | 'OPEN_CHEST' | 'MIN_BLOCK_TIME' | 'BYTES' | 'NAT' | 'IS_IMPLICIT_ACCOUNT';
|
|
8
|
+
type MichelsonNoArgInstructionID = 'ABS' | 'ADD' | 'ADDRESS' | 'AMOUNT' | 'AND' | 'APPLY' | 'BALANCE' | 'BLAKE2B' | 'CAR' | 'CDR' | 'CHAIN_ID' | 'CHECK_SIGNATURE' | 'COMPARE' | 'CONCAT' | 'CONS' | 'EDIV' | 'EQ' | 'EXEC' | 'FAILWITH' | 'GE' | 'GET_AND_UPDATE' | 'GT' | 'HASH_KEY' | 'IMPLICIT_ACCOUNT' | 'INT' | 'ISNAT' | 'JOIN_TICKETS' | 'KECCAK' | 'LE' | 'LEVEL' | 'LSL' | 'LSR' | 'LT' | 'MEM' | 'MUL' | 'NEG' | 'NEQ' | 'NEVER' | 'NOT' | 'NOW' | 'OR' | 'PACK' | 'PAIRING_CHECK' | 'READ_TICKET' | 'SAPLING_VERIFY_UPDATE' | 'SELF' | 'SELF_ADDRESS' | 'SENDER' | 'SET_DELEGATE' | 'SHA256' | 'SHA3' | 'SHA512' | 'SIZE' | 'SLICE' | 'SOME' | 'SOURCE' | 'SPLIT_TICKET' | 'SUB' | 'SUB_MUTEZ' | 'SWAP' | 'TICKET' | 'TICKET_DEPRECATED' | 'TOTAL_VOTING_POWER' | 'TRANSFER_TOKENS' | 'UNIT' | 'VOTING_POWER' | 'XOR' | 'RENAME' | 'OPEN_CHEST' | 'MIN_BLOCK_TIME' | 'BYTES' | 'NAT' | 'IS_IMPLICIT_ACCOUNT' | 'INDEX_ADDRESS' | 'GET_ADDRESS_INDEX';
|
|
9
9
|
type MichelsonRegularInstructionID = 'CONTRACT' | 'CREATE_CONTRACT' | 'DIG' | 'DIP' | 'DROP' | 'DUG' | 'DUP' | 'EMPTY_BIG_MAP' | 'EMPTY_MAP' | 'EMPTY_SET' | 'GET' | 'IF' | 'IF_CONS' | 'IF_LEFT' | 'IF_NONE' | 'ITER' | 'LAMBDA' | 'LAMBDA_REC' | 'LEFT' | 'LOOP' | 'LOOP_LEFT' | 'MAP' | 'NIL' | 'NONE' | 'PAIR' | 'PUSH' | 'RIGHT' | 'SAPLING_EMPTY_STATE' | 'UNPACK' | 'UNPAIR' | 'UPDATE' | 'CAST' | 'VIEW' | 'EMIT' | 'CREATE_ACCOUNT' | 'STEPS_TO_QUOTA';
|
|
10
10
|
export type MichelsonInstructionID = MichelsonNoArgInstructionID | MichelsonRegularInstructionID;
|
|
11
11
|
type InstrPrim<PT extends MichelsonInstructionID, AT extends Expr[]> = Prim<PT, AT>;
|
|
@@ -134,9 +134,10 @@ export declare enum Protocol {
|
|
|
134
134
|
PsQuebecn = "PsQuebecnLByd3JwTiGadoG4nGWi3HYiLXUjkibeFV8dCFeVMUg",
|
|
135
135
|
PsRiotuma = "PsRiotumaAMotcRoDWW1bysEhQy2n1M5fy8JgRp8jjRfHGmfeA7",
|
|
136
136
|
PtSeouLou = "PtSeouLouXkxhg39oWzjxDWaCydNfR3RxCUrNe4Q9Ro8BTehcbh",
|
|
137
|
+
PtTALLiNt = "PtTALLiNtPec7mE7yY4m3k26J8Qukef3E3ehzhfXgFZKGtDdAXu",
|
|
137
138
|
ProtoALpha = "ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK"
|
|
138
139
|
}
|
|
139
|
-
export declare const DefaultProtocol = Protocol.
|
|
140
|
+
export declare const DefaultProtocol = Protocol.PtTALLiNt;
|
|
140
141
|
export type ProtocolID = `${Protocol}`;
|
|
141
142
|
export declare function ProtoGreaterOrEqual(a: ProtocolID, b: ProtocolID): boolean;
|
|
142
143
|
export declare function ProtoInferiorTo(a: ProtocolID, b: ProtocolID): boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taquito/michel-codec",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "24.0.0-beta.0",
|
|
4
4
|
"description": "Michelson parser/validator/formatter",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"tezos",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"engines": {
|
|
27
|
-
"node": ">=
|
|
27
|
+
"node": ">=20"
|
|
28
28
|
},
|
|
29
29
|
"scripts": {
|
|
30
30
|
"test": "jest --coverage",
|
|
@@ -66,12 +66,12 @@
|
|
|
66
66
|
]
|
|
67
67
|
},
|
|
68
68
|
"dependencies": {
|
|
69
|
-
"@taquito/core": "^
|
|
69
|
+
"@taquito/core": "^24.0.0-beta.0"
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
72
|
"@types/bluebird": "^3.5.42",
|
|
73
73
|
"@types/jest": "^29.5.12",
|
|
74
|
-
"@types/node": "^
|
|
74
|
+
"@types/node": "^20",
|
|
75
75
|
"@typescript-eslint/eslint-plugin": "^6.21.0",
|
|
76
76
|
"@typescript-eslint/parser": "^6.21.0",
|
|
77
77
|
"eslint": "^8.57.0",
|
|
@@ -90,5 +90,5 @@
|
|
|
90
90
|
"ts-toolbelt": "^9.6.0",
|
|
91
91
|
"typescript": "~5.5.4"
|
|
92
92
|
},
|
|
93
|
-
"gitHead": "
|
|
93
|
+
"gitHead": "f212ea3edaf1fac34d738b5d00a9892ab7a3b721"
|
|
94
94
|
}
|