@taquito/local-forging 23.0.2 → 23.1.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.
@@ -1,286 +0,0 @@
1
- "use strict";
2
- /*
3
- * Some code in this file is originally from sotez
4
- * Copyright (c) 2018 Andrew Kishino
5
- */
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.entrypointMappingReverse = exports.entrypointMapping = exports.kindMappingReverse = exports.kindMapping = exports.opMappingReverse = exports.opMapping = exports.CODEC = exports.ENTRYPOINT_MAX_LENGTH = void 0;
8
- const utils_1 = require("./utils");
9
- // See: https://tezos.gitlab.io/protocols/005_babylon.html#transactions-now-have-an-entrypoint
10
- exports.ENTRYPOINT_MAX_LENGTH = 31;
11
- var CODEC;
12
- (function (CODEC) {
13
- CODEC["SECRET"] = "secret";
14
- CODEC["RAW"] = "raw";
15
- CODEC["TZ1"] = "tz1";
16
- CODEC["BRANCH"] = "branch";
17
- CODEC["ZARITH"] = "zarith";
18
- CODEC["PUBLIC_KEY"] = "public_key";
19
- CODEC["PKH"] = "pkh";
20
- CODEC["PKH_ARR"] = "pkhArr";
21
- CODEC["DELEGATE"] = "delegate";
22
- CODEC["SCRIPT"] = "script";
23
- CODEC["BALLOT_STATEMENT"] = "ballotStmt";
24
- CODEC["PROPOSAL"] = "proposal";
25
- CODEC["PROPOSAL_ARR"] = "proposalArr";
26
- CODEC["INT32"] = "int32";
27
- CODEC["INT16"] = "int16";
28
- CODEC["PARAMETERS"] = "parameters";
29
- CODEC["ADDRESS"] = "address";
30
- CODEC["SMART_CONTRACT_ADDRESS"] = "smart_contract_address";
31
- CODEC["SMART_ROLLUP_ADDRESS"] = "smart_rollup_address";
32
- CODEC["SMART_ROLLUP_COMMITMENT_HASH"] = "smart_rollup_commitment_hash";
33
- CODEC["VALUE"] = "value";
34
- CODEC["PADDED_BYTES"] = "padded_bytes";
35
- CODEC["SMART_ROLLUP_MESSAGE"] = "smart_rollup_message";
36
- CODEC["MANAGER"] = "manager";
37
- CODEC["BLOCK_PAYLOAD_HASH"] = "blockPayloadHash";
38
- CODEC["ENTRYPOINT"] = "entrypoint";
39
- CODEC["OPERATION"] = "operation";
40
- CODEC["OP_ACTIVATE_ACCOUNT"] = "activate_account";
41
- CODEC["OP_DELEGATION"] = "delegation";
42
- CODEC["OP_TRANSACTION"] = "transaction";
43
- CODEC["OP_ORIGINATION"] = "origination";
44
- CODEC["OP_BALLOT"] = "ballot";
45
- CODEC["OP_FAILING_NOOP"] = "failing_noop";
46
- CODEC["OP_ATTESTATION"] = "attestation";
47
- CODEC["OP_ATTESTATION_WITH_DAL"] = "attestation_with_dal";
48
- CODEC["OP_SEED_NONCE_REVELATION"] = "seed_nonce_revelation";
49
- CODEC["OP_REVEAL"] = "reveal";
50
- CODEC["OP_PROPOSALS"] = "proposals";
51
- CODEC["OP_REGISTER_GLOBAL_CONSTANT"] = "register_global_constant";
52
- CODEC["OP_TRANSFER_TICKET"] = "transfer_ticket";
53
- CODEC["BURN_LIMIT"] = "burn_limit";
54
- CODEC["OP_INCREASE_PAID_STORAGE"] = "increase_paid_storage";
55
- CODEC["OP_UPDATE_CONSENSUS_KEY"] = "update_consensus_key";
56
- CODEC["SIGNATURE_PROOF"] = "signature_proof";
57
- CODEC["OP_DRAIN_DELEGATE"] = "drain_delegate";
58
- CODEC["DEPOSITS_LIMIT"] = "deposits_limit";
59
- CODEC["OP_SET_DEPOSITS_LIMIT"] = "set_deposits_limit";
60
- CODEC["OP_SMART_ROLLUP_ORIGINATE"] = "smart_rollup_originate";
61
- CODEC["PVM_KIND"] = "pvm_kind";
62
- CODEC["OP_SMART_ROLLUP_ADD_MESSAGES"] = "smart_rollup_add_messages";
63
- CODEC["OP_SMART_ROLLUP_EXECUTE_OUTBOX_MESSAGE"] = "smart_rollup_execute_outbox_message";
64
- CODEC["OP_DAL_PUBLISH_COMMITMENT"] = "dal_publish_commitment";
65
- CODEC["SLOT_HEADER"] = "slot_header";
66
- })(CODEC || (exports.CODEC = CODEC = {}));
67
- // See https://tezos.gitlab.io/shell/p2p_api.html#alpha-michelson-v1-primitives-enumeration-unsigned-8-bit-integer
68
- exports.opMapping = {
69
- '00': 'parameter',
70
- '01': 'storage',
71
- '02': 'code',
72
- '03': 'False',
73
- '04': 'Elt',
74
- '05': 'Left',
75
- '06': 'None',
76
- '07': 'Pair',
77
- '08': 'Right',
78
- '09': 'Some',
79
- '0a': 'True',
80
- '0b': 'Unit',
81
- '0c': 'PACK',
82
- '0d': 'UNPACK',
83
- '0e': 'BLAKE2B',
84
- '0f': 'SHA256',
85
- '10': 'SHA512',
86
- '11': 'ABS',
87
- '12': 'ADD',
88
- '13': 'AMOUNT',
89
- '14': 'AND',
90
- '15': 'BALANCE',
91
- '16': 'CAR',
92
- '17': 'CDR',
93
- '18': 'CHECK_SIGNATURE',
94
- '19': 'COMPARE',
95
- '1a': 'CONCAT',
96
- '1b': 'CONS',
97
- '1c': 'CREATE_ACCOUNT', // Removed in Edo
98
- '1d': 'CREATE_CONTRACT', // Removed in Edo
99
- '1e': 'IMPLICIT_ACCOUNT',
100
- '1f': 'DIP',
101
- '20': 'DROP',
102
- '21': 'DUP',
103
- '22': 'EDIV',
104
- '23': 'EMPTY_MAP',
105
- '24': 'EMPTY_SET',
106
- '25': 'EQ',
107
- '26': 'EXEC',
108
- '27': 'FAILWITH',
109
- '28': 'GE',
110
- '29': 'GET',
111
- '2a': 'GT',
112
- '2b': 'HASH_KEY',
113
- '2c': 'IF',
114
- '2d': 'IF_CONS',
115
- '2e': 'IF_LEFT',
116
- '2f': 'IF_NONE',
117
- '30': 'INT',
118
- '31': 'LAMBDA',
119
- '32': 'LE',
120
- '33': 'LEFT',
121
- '34': 'LOOP',
122
- '35': 'LSL',
123
- '36': 'LSR',
124
- '37': 'LT',
125
- '38': 'MAP',
126
- '39': 'MEM',
127
- '3a': 'MUL',
128
- '3b': 'NEG',
129
- '3c': 'NEQ',
130
- '3d': 'NIL',
131
- '3e': 'NONE',
132
- '3f': 'NOT',
133
- '40': 'NOW',
134
- '41': 'OR',
135
- '42': 'PAIR',
136
- '43': 'PUSH',
137
- '44': 'RIGHT',
138
- '45': 'SIZE',
139
- '46': 'SOME',
140
- '47': 'SOURCE',
141
- '48': 'SENDER',
142
- '49': 'SELF',
143
- '4a': 'STEPS_TO_QUOTA', // Removed in Edo
144
- '4b': 'SUB',
145
- '4c': 'SWAP',
146
- '4d': 'TRANSFER_TOKENS',
147
- '4e': 'SET_DELEGATE',
148
- '4f': 'UNIT',
149
- '50': 'UPDATE',
150
- '51': 'XOR',
151
- '52': 'ITER',
152
- '53': 'LOOP_LEFT',
153
- '54': 'ADDRESS',
154
- '55': 'CONTRACT',
155
- '56': 'ISNAT',
156
- '57': 'CAST',
157
- '58': 'RENAME',
158
- '59': 'bool',
159
- '5a': 'contract',
160
- '5b': 'int',
161
- '5c': 'key',
162
- '5d': 'key_hash',
163
- '5e': 'lambda',
164
- '5f': 'list',
165
- '60': 'map',
166
- '61': 'big_map',
167
- '62': 'nat',
168
- '63': 'option',
169
- '64': 'or',
170
- '65': 'pair',
171
- '66': 'set',
172
- '67': 'signature',
173
- '68': 'string',
174
- '69': 'bytes',
175
- '6a': 'mutez',
176
- '6b': 'timestamp',
177
- '6c': 'unit',
178
- '6d': 'operation',
179
- '6e': 'address',
180
- '6f': 'SLICE',
181
- '70': 'DIG',
182
- '71': 'DUG',
183
- '72': 'EMPTY_BIG_MAP',
184
- '73': 'APPLY',
185
- '74': 'chain_id',
186
- '75': 'CHAIN_ID',
187
- '76': 'LEVEL',
188
- '77': 'SELF_ADDRESS',
189
- '78': 'never',
190
- '79': 'NEVER',
191
- '7a': 'UNPAIR',
192
- '7b': 'VOTING_POWER',
193
- '7c': 'TOTAL_VOTING_POWER',
194
- '7d': 'KECCAK',
195
- '7e': 'SHA3',
196
- '7f': 'PAIRING_CHECK',
197
- '80': 'bls12_381_g1',
198
- '81': 'bls12_381_g2',
199
- '82': 'bls12_381_fr',
200
- '83': 'sapling_state',
201
- '84': 'sapling_transaction_deprecated',
202
- '85': 'SAPLING_EMPTY_STATE',
203
- '86': 'SAPLING_VERIFY_UPDATE',
204
- '87': 'ticket',
205
- '88': 'TICKET_DEPRECATED',
206
- '89': 'READ_TICKET',
207
- '8a': 'SPLIT_TICKET',
208
- '8b': 'JOIN_TICKETS',
209
- '8c': 'GET_AND_UPDATE',
210
- '8d': 'chest',
211
- '8e': 'chest_key',
212
- '8f': 'OPEN_CHEST',
213
- '90': 'VIEW',
214
- '91': 'view',
215
- '92': 'constant',
216
- '93': 'SUB_MUTEZ',
217
- '94': 'tx_rollup_l2_address',
218
- '95': 'MIN_BLOCK_TIME',
219
- '96': 'sapling_transaction',
220
- '97': 'EMIT',
221
- '98': 'Lambda_rec',
222
- '99': 'LAMBDA_REC',
223
- '9a': 'TICKET',
224
- '9b': 'BYTES',
225
- '9c': 'NAT',
226
- '9d': 'Ticket',
227
- };
228
- exports.opMappingReverse = (() => {
229
- const result = {};
230
- Object.keys(exports.opMapping).forEach((key) => {
231
- result[exports.opMapping[key]] = key;
232
- });
233
- return result;
234
- })();
235
- // See https://tezos.gitlab.io/shell/p2p_api.html
236
- exports.kindMapping = {
237
- 0x04: 'activate_account',
238
- 0x6b: 'reveal',
239
- 0x6e: 'delegation',
240
- 0x6c: 'transaction',
241
- 0x6d: 'origination',
242
- 0x06: 'ballot',
243
- 0x15: 'attestation',
244
- 0x17: 'attestation_with_dal',
245
- 0x01: 'seed_nonce_revelation',
246
- 0x05: 'proposals',
247
- 0x6f: 'register_global_constant',
248
- 0x9e: 'transfer_ticket',
249
- 0x70: 'set_deposits_limit',
250
- 0x71: 'increase_paid_storage',
251
- 0x72: 'update_consensus_key',
252
- 0x09: 'drain_delegate',
253
- 0xc8: 'smart_rollup_originate',
254
- 0xc9: 'smart_rollup_add_messages',
255
- 0xce: 'smart_rollup_execute_outbox_message',
256
- 0xe6: 'dal_publish_commitment',
257
- 0x11: 'failing_noop',
258
- };
259
- exports.kindMappingReverse = (() => {
260
- const result = {};
261
- Object.keys(exports.kindMapping).forEach((key) => {
262
- const keyNum = typeof key === 'string' ? parseInt(key, 10) : key;
263
- result[exports.kindMapping[keyNum]] = (0, utils_1.pad)(keyNum, 2);
264
- });
265
- return result;
266
- })();
267
- // See https://tezos.gitlab.io/protocols/005_babylon.html#transactions-now-have-an-entrypoint
268
- exports.entrypointMapping = {
269
- '00': 'default',
270
- '01': 'root',
271
- '02': 'do',
272
- '03': 'set_delegate',
273
- '04': 'remove_delegate',
274
- '05': 'deposit',
275
- '06': 'stake',
276
- '07': 'unstake',
277
- '08': 'finalize_unstake',
278
- '09': 'set_delegate_parameters',
279
- };
280
- exports.entrypointMappingReverse = (() => {
281
- const result = {};
282
- Object.keys(exports.entrypointMapping).forEach((key) => {
283
- result[exports.entrypointMapping[key]] = key;
284
- });
285
- return result;
286
- })();
@@ -1,63 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.decoders = void 0;
4
- const codec_proto022_1 = require("./codec-proto022");
5
- const constants_proto022_1 = require("./constants-proto022");
6
- const codec_proto022_2 = require("./michelson/codec-proto022");
7
- const operation_proto022_1 = require("./schema/operation-proto022");
8
- const utils_1 = require("./utils");
9
- exports.decoders = {
10
- [constants_proto022_1.CODEC.SECRET]: (val) => (0, utils_1.toHexString)(val.consume(20)),
11
- [constants_proto022_1.CODEC.RAW]: (val) => (0, utils_1.toHexString)(val.consume(32)),
12
- [constants_proto022_1.CODEC.TZ1]: codec_proto022_1.tz1Decoder,
13
- [constants_proto022_1.CODEC.BRANCH]: codec_proto022_1.branchDecoder,
14
- [constants_proto022_1.CODEC.ZARITH]: codec_proto022_1.zarithDecoder,
15
- [constants_proto022_1.CODEC.PUBLIC_KEY]: codec_proto022_1.publicKeyDecoder,
16
- [constants_proto022_1.CODEC.PKH]: codec_proto022_1.publicKeyHashDecoder,
17
- [constants_proto022_1.CODEC.PKH_ARR]: codec_proto022_1.publicKeyHashesDecoder,
18
- [constants_proto022_1.CODEC.DELEGATE]: codec_proto022_1.delegateDecoder,
19
- [constants_proto022_1.CODEC.INT32]: codec_proto022_1.int32Decoder,
20
- [constants_proto022_1.CODEC.SCRIPT]: codec_proto022_2.scriptDecoder,
21
- [constants_proto022_1.CODEC.BALLOT_STATEMENT]: codec_proto022_1.ballotDecoder,
22
- [constants_proto022_1.CODEC.PROPOSAL]: codec_proto022_1.proposalDecoder,
23
- [constants_proto022_1.CODEC.PROPOSAL_ARR]: codec_proto022_1.proposalsDecoder,
24
- [constants_proto022_1.CODEC.PARAMETERS]: codec_proto022_1.parametersDecoder,
25
- [constants_proto022_1.CODEC.ADDRESS]: codec_proto022_1.addressDecoder,
26
- [constants_proto022_1.CODEC.SMART_ROLLUP_ADDRESS]: codec_proto022_1.smartRollupAddressDecoder,
27
- [constants_proto022_1.CODEC.SMART_CONTRACT_ADDRESS]: codec_proto022_1.smartContractAddressDecoder,
28
- [constants_proto022_1.CODEC.SMART_ROLLUP_COMMITMENT_HASH]: codec_proto022_1.smartRollupCommitmentHashDecoder,
29
- [constants_proto022_1.CODEC.VALUE]: codec_proto022_1.valueParameterDecoder,
30
- [constants_proto022_1.CODEC.INT16]: codec_proto022_1.int16Decoder,
31
- [constants_proto022_1.CODEC.BLOCK_PAYLOAD_HASH]: codec_proto022_1.blockPayloadHashDecoder,
32
- [constants_proto022_1.CODEC.ENTRYPOINT]: codec_proto022_1.entrypointNameDecoder,
33
- [constants_proto022_1.CODEC.BURN_LIMIT]: codec_proto022_1.burnLimitDecoder,
34
- [constants_proto022_1.CODEC.DEPOSITS_LIMIT]: codec_proto022_1.depositsLimitDecoder,
35
- [constants_proto022_1.CODEC.SIGNATURE_PROOF]: codec_proto022_1.signatureProofDecoder,
36
- [constants_proto022_1.CODEC.PVM_KIND]: codec_proto022_1.pvmKindDecoder,
37
- [constants_proto022_1.CODEC.PADDED_BYTES]: codec_proto022_1.paddedBytesDecoder,
38
- [constants_proto022_1.CODEC.SMART_ROLLUP_MESSAGE]: codec_proto022_1.smartRollupMessageDecoder,
39
- [constants_proto022_1.CODEC.SLOT_HEADER]: codec_proto022_1.slotHeaderDecoder,
40
- };
41
- exports.decoders[constants_proto022_1.CODEC.OPERATION] = (0, operation_proto022_1.operationDecoder)(exports.decoders);
42
- exports.decoders[constants_proto022_1.CODEC.OP_ACTIVATE_ACCOUNT] = (val) => (0, operation_proto022_1.schemaDecoder)(exports.decoders)(operation_proto022_1.ActivationSchema)(val);
43
- exports.decoders[constants_proto022_1.CODEC.OP_FAILING_NOOP] = (val) => (0, operation_proto022_1.schemaDecoder)(exports.decoders)(operation_proto022_1.FailingNoopSchema)(val);
44
- exports.decoders[constants_proto022_1.CODEC.OP_DELEGATION] = (val) => (0, operation_proto022_1.schemaDecoder)(exports.decoders)(operation_proto022_1.DelegationSchema)(val);
45
- exports.decoders[constants_proto022_1.CODEC.OP_TRANSACTION] = (val) => (0, operation_proto022_1.schemaDecoder)(exports.decoders)(operation_proto022_1.TransactionSchema)(val);
46
- exports.decoders[constants_proto022_1.CODEC.OP_ORIGINATION] = (val) => (0, operation_proto022_1.schemaDecoder)(exports.decoders)(operation_proto022_1.OriginationSchema)(val);
47
- exports.decoders[constants_proto022_1.CODEC.OP_BALLOT] = (val) => (0, operation_proto022_1.schemaDecoder)(exports.decoders)(operation_proto022_1.BallotSchema)(val);
48
- exports.decoders[constants_proto022_1.CODEC.OP_ATTESTATION] = (val) => (0, operation_proto022_1.schemaDecoder)(exports.decoders)(operation_proto022_1.AttestationSchema)(val);
49
- exports.decoders[constants_proto022_1.CODEC.OP_ATTESTATION_WITH_DAL] = (val) => (0, operation_proto022_1.schemaDecoder)(exports.decoders)(operation_proto022_1.AttestationWithDalSchema)(val);
50
- exports.decoders[constants_proto022_1.CODEC.OP_SEED_NONCE_REVELATION] = (val) => (0, operation_proto022_1.schemaDecoder)(exports.decoders)(operation_proto022_1.SeedNonceRevelationSchema)(val);
51
- exports.decoders[constants_proto022_1.CODEC.OP_PROPOSALS] = (val) => (0, operation_proto022_1.schemaDecoder)(exports.decoders)(operation_proto022_1.ProposalsSchema)(val);
52
- exports.decoders[constants_proto022_1.CODEC.OP_REVEAL] = (val) => (0, operation_proto022_1.schemaDecoder)(exports.decoders)(operation_proto022_1.RevealSchema)(val);
53
- exports.decoders[constants_proto022_1.CODEC.OP_REGISTER_GLOBAL_CONSTANT] = (val) => (0, operation_proto022_1.schemaDecoder)(exports.decoders)(operation_proto022_1.RegisterGlobalConstantSchema)(val);
54
- exports.decoders[constants_proto022_1.CODEC.OP_TRANSFER_TICKET] = (val) => (0, operation_proto022_1.schemaDecoder)(exports.decoders)(operation_proto022_1.TransferTicketSchema)(val);
55
- exports.decoders[constants_proto022_1.CODEC.OP_INCREASE_PAID_STORAGE] = (val) => (0, operation_proto022_1.schemaDecoder)(exports.decoders)(operation_proto022_1.IncreasePaidStorageSchema)(val);
56
- exports.decoders[constants_proto022_1.CODEC.OP_UPDATE_CONSENSUS_KEY] = (val) => (0, operation_proto022_1.schemaDecoder)(exports.decoders)(operation_proto022_1.UpdateConsensusKeySchema)(val);
57
- exports.decoders[constants_proto022_1.CODEC.OP_DRAIN_DELEGATE] = (val) => (0, operation_proto022_1.schemaDecoder)(exports.decoders)(operation_proto022_1.DrainDelegateSchema)(val);
58
- exports.decoders[constants_proto022_1.CODEC.OP_SMART_ROLLUP_ORIGINATE] = (val) => (0, operation_proto022_1.schemaDecoder)(exports.decoders)(operation_proto022_1.SmartRollupOriginateSchema)(val);
59
- exports.decoders[constants_proto022_1.CODEC.OP_SMART_ROLLUP_ADD_MESSAGES] = (val) => (0, operation_proto022_1.schemaDecoder)(exports.decoders)(operation_proto022_1.SmartRollupAddMessagesSchema)(val);
60
- exports.decoders[constants_proto022_1.CODEC.OP_SMART_ROLLUP_EXECUTE_OUTBOX_MESSAGE] = (val) => (0, operation_proto022_1.schemaDecoder)(exports.decoders)(operation_proto022_1.SmartRollupExecuteOutboxMessageSchema)(val);
61
- exports.decoders[constants_proto022_1.CODEC.OP_DAL_PUBLISH_COMMITMENT] = (val) => (0, operation_proto022_1.schemaDecoder)(exports.decoders)(operation_proto022_1.DalPublishCommitmentSchema)(val);
62
- exports.decoders[constants_proto022_1.CODEC.MANAGER] = (0, operation_proto022_1.schemaDecoder)(exports.decoders)(operation_proto022_1.ManagerOperationSchema);
63
- exports.decoders[constants_proto022_1.CODEC.OP_SET_DEPOSITS_LIMIT] = (val) => (0, operation_proto022_1.schemaDecoder)(exports.decoders)(operation_proto022_1.SetDepositsLimitSchema)(val);
@@ -1,62 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.encoders = void 0;
4
- const codec_proto022_1 = require("./codec-proto022");
5
- const constants_proto022_1 = require("./constants-proto022");
6
- const codec_proto022_2 = require("./michelson/codec-proto022");
7
- const operation_proto022_1 = require("./schema/operation-proto022");
8
- exports.encoders = {
9
- [constants_proto022_1.CODEC.SECRET]: (val) => val,
10
- [constants_proto022_1.CODEC.RAW]: (val) => val,
11
- [constants_proto022_1.CODEC.TZ1]: codec_proto022_1.tz1Encoder,
12
- [constants_proto022_1.CODEC.BRANCH]: codec_proto022_1.branchEncoder,
13
- [constants_proto022_1.CODEC.ZARITH]: codec_proto022_1.zarithEncoder,
14
- [constants_proto022_1.CODEC.PUBLIC_KEY]: codec_proto022_1.publicKeyEncoder,
15
- [constants_proto022_1.CODEC.PKH]: codec_proto022_1.publicKeyHashEncoder,
16
- [constants_proto022_1.CODEC.PKH_ARR]: codec_proto022_1.publicKeyHashesEncoder,
17
- [constants_proto022_1.CODEC.DELEGATE]: codec_proto022_1.delegateEncoder,
18
- [constants_proto022_1.CODEC.SCRIPT]: codec_proto022_2.scriptEncoder,
19
- [constants_proto022_1.CODEC.BALLOT_STATEMENT]: codec_proto022_1.ballotEncoder,
20
- [constants_proto022_1.CODEC.PROPOSAL]: codec_proto022_1.proposalEncoder,
21
- [constants_proto022_1.CODEC.PROPOSAL_ARR]: codec_proto022_1.proposalsEncoder,
22
- [constants_proto022_1.CODEC.INT32]: codec_proto022_1.int32Encoder,
23
- [constants_proto022_1.CODEC.PARAMETERS]: codec_proto022_1.parametersEncoder,
24
- [constants_proto022_1.CODEC.ADDRESS]: codec_proto022_1.addressEncoder,
25
- [constants_proto022_1.CODEC.SMART_ROLLUP_ADDRESS]: codec_proto022_1.smartRollupAddressEncoder,
26
- [constants_proto022_1.CODEC.SMART_CONTRACT_ADDRESS]: codec_proto022_1.smartContractAddressEncoder,
27
- [constants_proto022_1.CODEC.SMART_ROLLUP_COMMITMENT_HASH]: codec_proto022_1.smartRollupCommitmentHashEncoder,
28
- [constants_proto022_1.CODEC.VALUE]: codec_proto022_1.valueParameterEncoder,
29
- [constants_proto022_1.CODEC.INT16]: codec_proto022_1.int16Encoder,
30
- [constants_proto022_1.CODEC.BLOCK_PAYLOAD_HASH]: codec_proto022_1.blockPayloadHashEncoder,
31
- [constants_proto022_1.CODEC.ENTRYPOINT]: codec_proto022_1.entrypointNameEncoder,
32
- [constants_proto022_1.CODEC.BURN_LIMIT]: codec_proto022_1.burnLimitEncoder,
33
- [constants_proto022_1.CODEC.DEPOSITS_LIMIT]: codec_proto022_1.depositsLimitEncoder,
34
- [constants_proto022_1.CODEC.SIGNATURE_PROOF]: codec_proto022_1.signatureProofEncoder,
35
- [constants_proto022_1.CODEC.PVM_KIND]: codec_proto022_1.pvmKindEncoder,
36
- [constants_proto022_1.CODEC.PADDED_BYTES]: codec_proto022_1.paddedBytesEncoder,
37
- [constants_proto022_1.CODEC.SMART_ROLLUP_MESSAGE]: codec_proto022_1.smartRollupMessageEncoder,
38
- [constants_proto022_1.CODEC.SLOT_HEADER]: codec_proto022_1.slotHeaderEncoder,
39
- };
40
- exports.encoders[constants_proto022_1.CODEC.OPERATION] = (0, operation_proto022_1.operationEncoder)(exports.encoders);
41
- exports.encoders[constants_proto022_1.CODEC.OP_ACTIVATE_ACCOUNT] = (val) => (0, operation_proto022_1.schemaEncoder)(exports.encoders)(operation_proto022_1.ActivationSchema)(val);
42
- exports.encoders[constants_proto022_1.CODEC.OP_DELEGATION] = (val) => (0, operation_proto022_1.schemaEncoder)(exports.encoders)(operation_proto022_1.DelegationSchema)(val);
43
- exports.encoders[constants_proto022_1.CODEC.OP_TRANSACTION] = (val) => (0, operation_proto022_1.schemaEncoder)(exports.encoders)(operation_proto022_1.TransactionSchema)(val);
44
- exports.encoders[constants_proto022_1.CODEC.OP_ORIGINATION] = (val) => (0, operation_proto022_1.schemaEncoder)(exports.encoders)(operation_proto022_1.OriginationSchema)(val);
45
- exports.encoders[constants_proto022_1.CODEC.OP_BALLOT] = (val) => (0, operation_proto022_1.schemaEncoder)(exports.encoders)(operation_proto022_1.BallotSchema)(val);
46
- exports.encoders[constants_proto022_1.CODEC.OP_ATTESTATION] = (val) => (0, operation_proto022_1.schemaEncoder)(exports.encoders)(operation_proto022_1.AttestationSchema)(val);
47
- exports.encoders[constants_proto022_1.CODEC.OP_ATTESTATION_WITH_DAL] = (val) => (0, operation_proto022_1.schemaEncoder)(exports.encoders)(operation_proto022_1.AttestationWithDalSchema)(val);
48
- exports.encoders[constants_proto022_1.CODEC.OP_SEED_NONCE_REVELATION] = (val) => (0, operation_proto022_1.schemaEncoder)(exports.encoders)(operation_proto022_1.SeedNonceRevelationSchema)(val);
49
- exports.encoders[constants_proto022_1.CODEC.OP_PROPOSALS] = (val) => (0, operation_proto022_1.schemaEncoder)(exports.encoders)(operation_proto022_1.ProposalsSchema)(val);
50
- exports.encoders[constants_proto022_1.CODEC.OP_REVEAL] = (val) => (0, operation_proto022_1.schemaEncoder)(exports.encoders)(operation_proto022_1.RevealSchema)(val);
51
- exports.encoders[constants_proto022_1.CODEC.OP_REGISTER_GLOBAL_CONSTANT] = (val) => (0, operation_proto022_1.schemaEncoder)(exports.encoders)(operation_proto022_1.RegisterGlobalConstantSchema)(val);
52
- exports.encoders[constants_proto022_1.CODEC.OP_TRANSFER_TICKET] = (val) => (0, operation_proto022_1.schemaEncoder)(exports.encoders)(operation_proto022_1.TransferTicketSchema)(val);
53
- exports.encoders[constants_proto022_1.CODEC.OP_INCREASE_PAID_STORAGE] = (val) => (0, operation_proto022_1.schemaEncoder)(exports.encoders)(operation_proto022_1.IncreasePaidStorageSchema)(val);
54
- exports.encoders[constants_proto022_1.CODEC.OP_UPDATE_CONSENSUS_KEY] = (val) => (0, operation_proto022_1.schemaEncoder)(exports.encoders)(operation_proto022_1.UpdateConsensusKeySchema)(val);
55
- exports.encoders[constants_proto022_1.CODEC.OP_DRAIN_DELEGATE] = (val) => (0, operation_proto022_1.schemaEncoder)(exports.encoders)(operation_proto022_1.DrainDelegateSchema)(val);
56
- exports.encoders[constants_proto022_1.CODEC.OP_SMART_ROLLUP_ORIGINATE] = (val) => (0, operation_proto022_1.schemaEncoder)(exports.encoders)(operation_proto022_1.SmartRollupOriginateSchema)(val);
57
- exports.encoders[constants_proto022_1.CODEC.OP_SMART_ROLLUP_ADD_MESSAGES] = (val) => (0, operation_proto022_1.schemaEncoder)(exports.encoders)(operation_proto022_1.SmartRollupAddMessagesSchema)(val);
58
- exports.encoders[constants_proto022_1.CODEC.OP_SMART_ROLLUP_EXECUTE_OUTBOX_MESSAGE] = (val) => (0, operation_proto022_1.schemaEncoder)(exports.encoders)(operation_proto022_1.SmartRollupExecuteOutboxMessageSchema)(val);
59
- exports.encoders[constants_proto022_1.CODEC.OP_DAL_PUBLISH_COMMITMENT] = (val) => (0, operation_proto022_1.schemaEncoder)(exports.encoders)(operation_proto022_1.DalPublishCommitmentSchema)(val);
60
- exports.encoders[constants_proto022_1.CODEC.MANAGER] = (0, operation_proto022_1.schemaEncoder)(exports.encoders)(operation_proto022_1.ManagerOperationSchema);
61
- exports.encoders[constants_proto022_1.CODEC.OP_SET_DEPOSITS_LIMIT] = (val) => (0, operation_proto022_1.schemaEncoder)(exports.encoders)(operation_proto022_1.SetDepositsLimitSchema)(val);
62
- exports.encoders[constants_proto022_1.CODEC.OP_FAILING_NOOP] = (val) => (0, operation_proto022_1.schemaEncoder)(exports.encoders)(operation_proto022_1.FailingNoopSchema)(val);