@airgap/coinlib-core 0.13.8-beta.8 → 0.13.8
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/dependencies/src/@stablelib/binary-1.0.1/packages/binary/binary.d.ts +230 -0
- package/dependencies/src/@stablelib/binary-1.0.1/packages/binary/binary.js +471 -0
- package/dependencies/src/@stablelib/binary-1.0.1/packages/binary/binary.js.map +1 -0
- package/dependencies/src/@stablelib/blake2b-1.0.1/packages/blake2b/blake2b.d.ts +76 -0
- package/dependencies/src/@stablelib/blake2b-1.0.1/packages/blake2b/blake2b.js +455 -0
- package/dependencies/src/@stablelib/blake2b-1.0.1/packages/blake2b/blake2b.js.map +1 -0
- package/dependencies/src/@stablelib/ed25519-1.0.3/packages/ed25519/ed25519.d.ts +27 -0
- package/dependencies/src/@stablelib/ed25519-1.0.3/packages/ed25519/ed25519.js +848 -0
- package/dependencies/src/@stablelib/ed25519-1.0.3/packages/ed25519/ed25519.js.map +1 -0
- package/dependencies/src/@stablelib/hash-1.0.1/packages/hash/hash.d.ts +22 -0
- package/dependencies/src/@stablelib/hash-1.0.1/packages/hash/hash.js +14 -0
- package/dependencies/src/@stablelib/hash-1.0.1/packages/hash/hash.js.map +1 -0
- package/dependencies/src/@stablelib/int-1.0.1/packages/int/int.d.ts +29 -0
- package/dependencies/src/@stablelib/int-1.0.1/packages/int/int.js +63 -0
- package/dependencies/src/@stablelib/int-1.0.1/packages/int/int.js.map +1 -0
- package/dependencies/src/@stablelib/random-1.0.2/packages/random/random.d.ts +36 -0
- package/dependencies/src/@stablelib/random-1.0.2/packages/random/random.js +87 -0
- package/dependencies/src/@stablelib/random-1.0.2/packages/random/random.js.map +1 -0
- package/dependencies/src/@stablelib/random-1.0.2/packages/random/source/browser.d.ts +8 -0
- package/dependencies/src/@stablelib/random-1.0.2/packages/random/source/browser.js +33 -0
- package/dependencies/src/@stablelib/random-1.0.2/packages/random/source/browser.js.map +1 -0
- package/dependencies/src/@stablelib/random-1.0.2/packages/random/source/index.d.ts +11 -0
- package/dependencies/src/@stablelib/random-1.0.2/packages/random/source/index.js +5 -0
- package/dependencies/src/@stablelib/random-1.0.2/packages/random/source/index.js.map +1 -0
- package/dependencies/src/@stablelib/random-1.0.2/packages/random/source/node.d.ts +8 -0
- package/dependencies/src/@stablelib/random-1.0.2/packages/random/source/node.js +43 -0
- package/dependencies/src/@stablelib/random-1.0.2/packages/random/source/node.js.map +1 -0
- package/dependencies/src/@stablelib/random-1.0.2/packages/random/source/system.d.ts +8 -0
- package/dependencies/src/@stablelib/random-1.0.2/packages/random/source/system.js +37 -0
- package/dependencies/src/@stablelib/random-1.0.2/packages/random/source/system.js.map +1 -0
- package/dependencies/src/@stablelib/sha512/packages/sha512/sha512.d.ts +73 -0
- package/dependencies/src/@stablelib/sha512/packages/sha512/sha512.js +552 -0
- package/dependencies/src/@stablelib/sha512/packages/sha512/sha512.js.map +1 -0
- package/dependencies/src/@stablelib/sha512-1.0.1/packages/sha512/sha512.d.ts +73 -0
- package/dependencies/src/@stablelib/sha512-1.0.1/packages/sha512/sha512.js +552 -0
- package/dependencies/src/@stablelib/sha512-1.0.1/packages/sha512/sha512.js.map +1 -0
- package/dependencies/src/@stablelib/wipe-1.0.1/packages/wipe/wipe.d.ts +18 -0
- package/dependencies/src/@stablelib/wipe-1.0.1/packages/wipe/wipe.js +29 -0
- package/dependencies/src/@stablelib/wipe-1.0.1/packages/wipe/wipe.js.map +1 -0
- package/dependencies/src/@taquito/{local-forging-8.0.1-beta.1 → local-forging-15.0.1}/packages/taquito-local-forging/src/codec.d.ts +22 -4
- package/dependencies/src/@taquito/{local-forging-8.0.1-beta.1 → local-forging-15.0.1}/packages/taquito-local-forging/src/codec.js +104 -13
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/codec.js.map +1 -0
- package/dependencies/src/@taquito/{local-forging-8.0.1-beta.1 → local-forging-15.0.1}/packages/taquito-local-forging/src/constants.d.ts +17 -1
- package/dependencies/src/@taquito/{local-forging-8.0.1-beta.1 → local-forging-15.0.1}/packages/taquito-local-forging/src/constants.js +44 -6
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/constants.js.map +1 -0
- package/dependencies/src/@taquito/{local-forging-8.0.1-beta.1 → local-forging-15.0.1}/packages/taquito-local-forging/src/decoder.d.ts +1 -1
- package/dependencies/src/@taquito/{local-forging-8.0.1-beta.1 → local-forging-15.0.1}/packages/taquito-local-forging/src/decoder.js +30 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/decoder.js.map +1 -0
- package/dependencies/src/@taquito/{local-forging-8.0.1-beta.1 → local-forging-15.0.1}/packages/taquito-local-forging/src/encoder.d.ts +0 -0
- package/dependencies/src/@taquito/{local-forging-8.0.1-beta.1 → local-forging-15.0.1}/packages/taquito-local-forging/src/encoder.js +28 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/encoder.js.map +1 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/error.d.ts +89 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/error.js +169 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/error.js.map +1 -0
- package/dependencies/src/@taquito/{local-forging-8.0.1-beta.1/packages/taquito/src/forger → local-forging-15.0.1/packages/taquito-local-forging/src}/interface.d.ts +1 -1
- package/dependencies/src/@taquito/{local-forging-8.0.1-beta.1/packages/taquito/src/forger → local-forging-15.0.1/packages/taquito-local-forging/src}/interface.js +0 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/interface.js.map +1 -0
- package/dependencies/src/@taquito/{local-forging-8.0.1-beta.1 → local-forging-15.0.1}/packages/taquito-local-forging/src/michelson/codec.d.ts +6 -5
- package/dependencies/src/@taquito/{local-forging-8.0.1-beta.1 → local-forging-15.0.1}/packages/taquito-local-forging/src/michelson/codec.js +62 -19
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/michelson/codec.js.map +1 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/proto14-kathmandu/codec-proto14.d.ts +15 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/proto14-kathmandu/codec-proto14.js +80 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/proto14-kathmandu/codec-proto14.js.map +1 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/proto14-kathmandu/constants-proto14.d.ts +12 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/proto14-kathmandu/constants-proto14.js +184 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/proto14-kathmandu/constants-proto14.js.map +1 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/proto14-kathmandu/decoder-proto14.d.ts +5 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/proto14-kathmandu/decoder-proto14.js +81 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/proto14-kathmandu/decoder-proto14.js.map +1 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/proto14-kathmandu/encoder-proto14.d.ts +4 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/proto14-kathmandu/encoder-proto14.js +76 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/proto14-kathmandu/encoder-proto14.js.map +1 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/proto14-kathmandu/michelson/codec-proto14.d.ts +14 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/proto14-kathmandu/michelson/codec-proto14.js +150 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/proto14-kathmandu/michelson/codec-proto14.js.map +1 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/protocols.d.ts +17 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/protocols.js +41 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/protocols.js.map +1 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/schema/operation.d.ts +150 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/schema/operation.js +217 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/schema/operation.js.map +1 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/taquito-local-forging.d.ts +26 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/taquito-local-forging.js +115 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/taquito-local-forging.js.map +1 -0
- package/dependencies/src/@taquito/{local-forging-8.0.1-beta.1 → local-forging-15.0.1}/packages/taquito-local-forging/src/uint8array-consumer.d.ts +0 -0
- package/dependencies/src/@taquito/{local-forging-8.0.1-beta.1 → local-forging-15.0.1}/packages/taquito-local-forging/src/uint8array-consumer.js +2 -1
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/uint8array-consumer.js.map +1 -0
- package/dependencies/src/@taquito/{local-forging-8.0.1-beta.1 → local-forging-15.0.1}/packages/taquito-local-forging/src/utils.d.ts +0 -0
- package/dependencies/src/@taquito/{local-forging-8.0.1-beta.1 → local-forging-15.0.1}/packages/taquito-local-forging/src/utils.js +0 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/utils.js.map +1 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/validator.d.ts +13 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/validator.js +52 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/validator.js.map +1 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/version.d.ts +4 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/version.js +9 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-local-forging/src/version.js.map +1 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-rpc/src/opkind.d.ts +34 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-rpc/src/opkind.js +39 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-rpc/src/opkind.js.map +1 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-rpc/src/types.d.ts +1590 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-rpc/src/types.js +35 -0
- package/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-rpc/src/types.js.map +1 -0
- package/dependencies/src/@taquito/{utils-8.0.1-beta.1 → utils-15.0.1}/packages/taquito-utils/src/constants.d.ts +27 -3
- package/dependencies/src/@taquito/{utils-8.0.1-beta.1 → utils-15.0.1}/packages/taquito-utils/src/constants.js +40 -1
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/constants.js.map +1 -0
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/errors.d.ts +145 -0
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/errors.js +270 -0
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/errors.js.map +1 -0
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/format.d.ts +4 -0
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/format.js +33 -0
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/format.js.map +1 -0
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/taquito-utils.d.ts +163 -0
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/taquito-utils.js +438 -0
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/taquito-utils.js.map +1 -0
- package/dependencies/src/@taquito/{utils-8.0.1-beta.1 → utils-15.0.1}/packages/taquito-utils/src/validators.d.ts +63 -9
- package/dependencies/src/@taquito/{utils-8.0.1-beta.1 → utils-15.0.1}/packages/taquito-utils/src/validators.js +85 -8
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/validators.js.map +1 -0
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/verify-signature.d.ts +24 -0
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/verify-signature.js +126 -0
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/verify-signature.js.map +1 -0
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/version.d.ts +4 -0
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/version.js +9 -0
- package/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/version.js.map +1 -0
- package/dependencies/src/typedarray-to-buffer-4.0.0/index.js +17 -0
- package/package.json +2 -1
- package/dependencies/src/@taquito/local-forging-8.0.1-beta.1/packages/taquito/src/forger/interface.js.map +0 -1
- package/dependencies/src/@taquito/local-forging-8.0.1-beta.1/packages/taquito-local-forging/src/codec.js.map +0 -1
- package/dependencies/src/@taquito/local-forging-8.0.1-beta.1/packages/taquito-local-forging/src/constants.js.map +0 -1
- package/dependencies/src/@taquito/local-forging-8.0.1-beta.1/packages/taquito-local-forging/src/decoder.js.map +0 -1
- package/dependencies/src/@taquito/local-forging-8.0.1-beta.1/packages/taquito-local-forging/src/encoder.js.map +0 -1
- package/dependencies/src/@taquito/local-forging-8.0.1-beta.1/packages/taquito-local-forging/src/michelson/codec.js.map +0 -1
- package/dependencies/src/@taquito/local-forging-8.0.1-beta.1/packages/taquito-local-forging/src/schema/operation.d.ts +0 -86
- package/dependencies/src/@taquito/local-forging-8.0.1-beta.1/packages/taquito-local-forging/src/schema/operation.js +0 -149
- package/dependencies/src/@taquito/local-forging-8.0.1-beta.1/packages/taquito-local-forging/src/schema/operation.js.map +0 -1
- package/dependencies/src/@taquito/local-forging-8.0.1-beta.1/packages/taquito-local-forging/src/taquito-local-forging.d.ts +0 -16
- package/dependencies/src/@taquito/local-forging-8.0.1-beta.1/packages/taquito-local-forging/src/taquito-local-forging.js +0 -51
- package/dependencies/src/@taquito/local-forging-8.0.1-beta.1/packages/taquito-local-forging/src/taquito-local-forging.js.map +0 -1
- package/dependencies/src/@taquito/local-forging-8.0.1-beta.1/packages/taquito-local-forging/src/uint8array-consumer.js.map +0 -1
- package/dependencies/src/@taquito/local-forging-8.0.1-beta.1/packages/taquito-local-forging/src/utils.js.map +0 -1
- package/dependencies/src/@taquito/local-forging-8.0.1-beta.1/packages/taquito-rpc/src/opkind.d.ts +0 -13
- package/dependencies/src/@taquito/local-forging-8.0.1-beta.1/packages/taquito-rpc/src/opkind.js +0 -18
- package/dependencies/src/@taquito/local-forging-8.0.1-beta.1/packages/taquito-rpc/src/opkind.js.map +0 -1
- package/dependencies/src/@taquito/local-forging-8.0.1-beta.1/packages/taquito-rpc/src/types.d.ts +0 -598
- package/dependencies/src/@taquito/local-forging-8.0.1-beta.1/packages/taquito-rpc/src/types.js +0 -3
- package/dependencies/src/@taquito/local-forging-8.0.1-beta.1/packages/taquito-rpc/src/types.js.map +0 -1
- package/dependencies/src/@taquito/utils-8.0.1-beta.1/packages/taquito-utils/src/constants.js.map +0 -1
- package/dependencies/src/@taquito/utils-8.0.1-beta.1/packages/taquito-utils/src/taquito-utils.d.ts +0 -83
- package/dependencies/src/@taquito/utils-8.0.1-beta.1/packages/taquito-utils/src/taquito-utils.js +0 -245
- package/dependencies/src/@taquito/utils-8.0.1-beta.1/packages/taquito-utils/src/taquito-utils.js.map +0 -1
- package/dependencies/src/@taquito/utils-8.0.1-beta.1/packages/taquito-utils/src/validators.js.map +0 -1
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.METADATA_BALANCE_UPDATES_CATEGORY = exports.OPERATION_METADATA = void 0;
|
|
4
|
+
var OPERATION_METADATA;
|
|
5
|
+
(function (OPERATION_METADATA) {
|
|
6
|
+
OPERATION_METADATA["TOO_LARGE"] = "too large";
|
|
7
|
+
})(OPERATION_METADATA = exports.OPERATION_METADATA || (exports.OPERATION_METADATA = {}));
|
|
8
|
+
var METADATA_BALANCE_UPDATES_CATEGORY;
|
|
9
|
+
(function (METADATA_BALANCE_UPDATES_CATEGORY) {
|
|
10
|
+
METADATA_BALANCE_UPDATES_CATEGORY["BAKING_REWARDS"] = "baking rewards";
|
|
11
|
+
METADATA_BALANCE_UPDATES_CATEGORY["REWARDS"] = "rewards";
|
|
12
|
+
METADATA_BALANCE_UPDATES_CATEGORY["FEES"] = "fees";
|
|
13
|
+
METADATA_BALANCE_UPDATES_CATEGORY["DEPOSITS"] = "deposits";
|
|
14
|
+
METADATA_BALANCE_UPDATES_CATEGORY["LEGACY_REWARDS"] = "legacy_rewards";
|
|
15
|
+
METADATA_BALANCE_UPDATES_CATEGORY["LEGACY_FEES"] = "legacy_fees";
|
|
16
|
+
METADATA_BALANCE_UPDATES_CATEGORY["LEGACY_DEPOSITS"] = "legacy_deposits";
|
|
17
|
+
METADATA_BALANCE_UPDATES_CATEGORY["BLOCK_FEES"] = "block fees";
|
|
18
|
+
METADATA_BALANCE_UPDATES_CATEGORY["NONCE_REVELATION_REWARDS"] = "nonce revelation rewards";
|
|
19
|
+
METADATA_BALANCE_UPDATES_CATEGORY["DOUBLE_SIGNING_EVIDENCE_REWARDS"] = "double signing evidence rewards";
|
|
20
|
+
METADATA_BALANCE_UPDATES_CATEGORY["ENDORSING_REWARDS"] = "endorsing rewards";
|
|
21
|
+
METADATA_BALANCE_UPDATES_CATEGORY["BAKING_BONUSES"] = "baking bonuses";
|
|
22
|
+
METADATA_BALANCE_UPDATES_CATEGORY["STORAGE_FEES"] = "storage fees";
|
|
23
|
+
METADATA_BALANCE_UPDATES_CATEGORY["PUNISHMENTS"] = "punishments";
|
|
24
|
+
METADATA_BALANCE_UPDATES_CATEGORY["LOST_ENDORSING_REWARDS"] = "lost endorsing rewards";
|
|
25
|
+
METADATA_BALANCE_UPDATES_CATEGORY["SUBSIDY"] = "subsidy";
|
|
26
|
+
METADATA_BALANCE_UPDATES_CATEGORY["BURNED"] = "burned";
|
|
27
|
+
METADATA_BALANCE_UPDATES_CATEGORY["COMMITMENT"] = "commitment";
|
|
28
|
+
METADATA_BALANCE_UPDATES_CATEGORY["BOOTSTRAP"] = "bootstrap";
|
|
29
|
+
METADATA_BALANCE_UPDATES_CATEGORY["INVOICE"] = "invoice";
|
|
30
|
+
METADATA_BALANCE_UPDATES_CATEGORY["MINTED"] = "minted";
|
|
31
|
+
METADATA_BALANCE_UPDATES_CATEGORY["TX_ROLLUP_REJECTION_REWARDS"] = "tx_rollup_rejection_rewards";
|
|
32
|
+
METADATA_BALANCE_UPDATES_CATEGORY["TX_ROLLUP_REJECTION_PUNISHMENTS"] = "tx_rollup_rejection_punishments";
|
|
33
|
+
METADATA_BALANCE_UPDATES_CATEGORY["BONDS"] = "bonds";
|
|
34
|
+
})(METADATA_BALANCE_UPDATES_CATEGORY = exports.METADATA_BALANCE_UPDATES_CATEGORY || (exports.METADATA_BALANCE_UPDATES_CATEGORY = {}));
|
|
35
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../../../../src/dependencies/src/@taquito/local-forging-15.0.1/packages/taquito-rpc/src/types.ts"],"names":[],"mappings":";;;AAm7BA,IAAY,kBAEX;AAFD,WAAY,kBAAkB;IAC5B,6CAAuB,CAAA;AACzB,CAAC,EAFW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAE7B;AAidD,IAAY,iCAyBX;AAzBD,WAAY,iCAAiC;IAC3C,sEAAiC,CAAA;IACjC,wDAAmB,CAAA;IACnB,kDAAa,CAAA;IACb,0DAAqB,CAAA;IACrB,sEAAiC,CAAA;IACjC,gEAA2B,CAAA;IAC3B,wEAAmC,CAAA;IACnC,8DAAyB,CAAA;IACzB,0FAAqD,CAAA;IACrD,wGAAmE,CAAA;IACnE,4EAAuC,CAAA;IACvC,sEAAiC,CAAA;IACjC,kEAA6B,CAAA;IAC7B,gEAA2B,CAAA;IAC3B,sFAAiD,CAAA;IACjD,wDAAmB,CAAA;IACnB,sDAAiB,CAAA;IACjB,8DAAyB,CAAA;IACzB,4DAAuB,CAAA;IACvB,wDAAmB,CAAA;IACnB,sDAAiB,CAAA;IACjB,gGAA2D,CAAA;IAC3D,wGAAmE,CAAA;IACnE,oDAAe,CAAA;AACjB,CAAC,EAzBW,iCAAiC,GAAjC,yCAAiC,KAAjC,yCAAiC,QAyB5C"}
|
|
@@ -2,6 +2,7 @@ export declare enum Prefix {
|
|
|
2
2
|
TZ1 = "tz1",
|
|
3
3
|
TZ2 = "tz2",
|
|
4
4
|
TZ3 = "tz3",
|
|
5
|
+
TZ4 = "tz4",
|
|
5
6
|
KT = "KT",
|
|
6
7
|
KT1 = "KT1",
|
|
7
8
|
EDSK2 = "edsk2",
|
|
@@ -10,6 +11,7 @@ export declare enum Prefix {
|
|
|
10
11
|
EDPK = "edpk",
|
|
11
12
|
SPPK = "sppk",
|
|
12
13
|
P2PK = "p2pk",
|
|
14
|
+
BLPK = "BLpk",
|
|
13
15
|
EDESK = "edesk",
|
|
14
16
|
SPESK = "spesk",
|
|
15
17
|
P2ESK = "p2esk",
|
|
@@ -20,7 +22,7 @@ export declare enum Prefix {
|
|
|
20
22
|
SIG = "sig",
|
|
21
23
|
NET = "Net",
|
|
22
24
|
NCE = "nce",
|
|
23
|
-
B = "
|
|
25
|
+
B = "B",
|
|
24
26
|
O = "o",
|
|
25
27
|
LO = "Lo",
|
|
26
28
|
LLO = "LLo",
|
|
@@ -28,12 +30,23 @@ export declare enum Prefix {
|
|
|
28
30
|
CO = "Co",
|
|
29
31
|
ID = "id",
|
|
30
32
|
EXPR = "expr",
|
|
31
|
-
TZ = "TZ"
|
|
33
|
+
TZ = "TZ",
|
|
34
|
+
VH = "vh",
|
|
35
|
+
SASK = "sask",
|
|
36
|
+
ZET1 = "zet1",
|
|
37
|
+
TXR1 = "txr1",
|
|
38
|
+
TXI = "txi",
|
|
39
|
+
TXM = "txm",
|
|
40
|
+
TXC = "txc",
|
|
41
|
+
TXMR = "txmr",
|
|
42
|
+
TXRL = "txM",
|
|
43
|
+
TXW = "txw"
|
|
32
44
|
}
|
|
33
45
|
export declare const prefix: {
|
|
34
46
|
tz1: Uint8Array;
|
|
35
47
|
tz2: Uint8Array;
|
|
36
48
|
tz3: Uint8Array;
|
|
49
|
+
tz4: Uint8Array;
|
|
37
50
|
KT: Uint8Array;
|
|
38
51
|
KT1: Uint8Array;
|
|
39
52
|
edsk: Uint8Array;
|
|
@@ -43,6 +56,7 @@ export declare const prefix: {
|
|
|
43
56
|
edpk: Uint8Array;
|
|
44
57
|
sppk: Uint8Array;
|
|
45
58
|
p2pk: Uint8Array;
|
|
59
|
+
BLpk: Uint8Array;
|
|
46
60
|
edesk: Uint8Array;
|
|
47
61
|
spesk: Uint8Array;
|
|
48
62
|
p2esk: Uint8Array;
|
|
@@ -52,7 +66,7 @@ export declare const prefix: {
|
|
|
52
66
|
sig: Uint8Array;
|
|
53
67
|
Net: Uint8Array;
|
|
54
68
|
nce: Uint8Array;
|
|
55
|
-
|
|
69
|
+
B: Uint8Array;
|
|
56
70
|
o: Uint8Array;
|
|
57
71
|
Lo: Uint8Array;
|
|
58
72
|
LLo: Uint8Array;
|
|
@@ -61,6 +75,16 @@ export declare const prefix: {
|
|
|
61
75
|
id: Uint8Array;
|
|
62
76
|
expr: Uint8Array;
|
|
63
77
|
TZ: Uint8Array;
|
|
78
|
+
vh: Uint8Array;
|
|
79
|
+
sask: Uint8Array;
|
|
80
|
+
zet1: Uint8Array;
|
|
81
|
+
txr1: Uint8Array;
|
|
82
|
+
txi: Uint8Array;
|
|
83
|
+
txm: Uint8Array;
|
|
84
|
+
txc: Uint8Array;
|
|
85
|
+
txmr: Uint8Array;
|
|
86
|
+
txM: Uint8Array;
|
|
87
|
+
txw: Uint8Array;
|
|
64
88
|
};
|
|
65
89
|
export declare const prefixLength: {
|
|
66
90
|
[key: string]: number;
|
|
@@ -7,6 +7,7 @@ var Prefix;
|
|
|
7
7
|
Prefix["TZ1"] = "tz1";
|
|
8
8
|
Prefix["TZ2"] = "tz2";
|
|
9
9
|
Prefix["TZ3"] = "tz3";
|
|
10
|
+
Prefix["TZ4"] = "tz4";
|
|
10
11
|
Prefix["KT"] = "KT";
|
|
11
12
|
Prefix["KT1"] = "KT1";
|
|
12
13
|
Prefix["EDSK2"] = "edsk2";
|
|
@@ -15,6 +16,7 @@ var Prefix;
|
|
|
15
16
|
Prefix["EDPK"] = "edpk";
|
|
16
17
|
Prefix["SPPK"] = "sppk";
|
|
17
18
|
Prefix["P2PK"] = "p2pk";
|
|
19
|
+
Prefix["BLPK"] = "BLpk";
|
|
18
20
|
Prefix["EDESK"] = "edesk";
|
|
19
21
|
Prefix["SPESK"] = "spesk";
|
|
20
22
|
Prefix["P2ESK"] = "p2esk";
|
|
@@ -25,7 +27,7 @@ var Prefix;
|
|
|
25
27
|
Prefix["SIG"] = "sig";
|
|
26
28
|
Prefix["NET"] = "Net";
|
|
27
29
|
Prefix["NCE"] = "nce";
|
|
28
|
-
Prefix["B"] = "
|
|
30
|
+
Prefix["B"] = "B";
|
|
29
31
|
Prefix["O"] = "o";
|
|
30
32
|
Prefix["LO"] = "Lo";
|
|
31
33
|
Prefix["LLO"] = "LLo";
|
|
@@ -34,11 +36,23 @@ var Prefix;
|
|
|
34
36
|
Prefix["ID"] = "id";
|
|
35
37
|
Prefix["EXPR"] = "expr";
|
|
36
38
|
Prefix["TZ"] = "TZ";
|
|
39
|
+
Prefix["VH"] = "vh";
|
|
40
|
+
Prefix["SASK"] = "sask";
|
|
41
|
+
Prefix["ZET1"] = "zet1";
|
|
42
|
+
//rollups
|
|
43
|
+
Prefix["TXR1"] = "txr1";
|
|
44
|
+
Prefix["TXI"] = "txi";
|
|
45
|
+
Prefix["TXM"] = "txm";
|
|
46
|
+
Prefix["TXC"] = "txc";
|
|
47
|
+
Prefix["TXMR"] = "txmr";
|
|
48
|
+
Prefix["TXRL"] = "txM";
|
|
49
|
+
Prefix["TXW"] = "txw";
|
|
37
50
|
})(Prefix = exports.Prefix || (exports.Prefix = {}));
|
|
38
51
|
exports.prefix = (_a = {},
|
|
39
52
|
_a[Prefix.TZ1] = new Uint8Array([6, 161, 159]),
|
|
40
53
|
_a[Prefix.TZ2] = new Uint8Array([6, 161, 161]),
|
|
41
54
|
_a[Prefix.TZ3] = new Uint8Array([6, 161, 164]),
|
|
55
|
+
_a[Prefix.TZ4] = new Uint8Array([6, 161, 166]),
|
|
42
56
|
_a[Prefix.KT] = new Uint8Array([2, 90, 121]),
|
|
43
57
|
_a[Prefix.KT1] = new Uint8Array([2, 90, 121]),
|
|
44
58
|
_a[Prefix.EDSK] = new Uint8Array([43, 246, 78, 7]),
|
|
@@ -48,6 +62,7 @@ exports.prefix = (_a = {},
|
|
|
48
62
|
_a[Prefix.EDPK] = new Uint8Array([13, 15, 37, 217]),
|
|
49
63
|
_a[Prefix.SPPK] = new Uint8Array([3, 254, 226, 86]),
|
|
50
64
|
_a[Prefix.P2PK] = new Uint8Array([3, 178, 139, 127]),
|
|
65
|
+
_a[Prefix.BLPK] = new Uint8Array([6, 149, 135, 204]),
|
|
51
66
|
_a[Prefix.EDESK] = new Uint8Array([7, 90, 60, 179, 41]),
|
|
52
67
|
_a[Prefix.SPESK] = new Uint8Array([0x09, 0xed, 0xf1, 0xae, 0x96]),
|
|
53
68
|
_a[Prefix.P2ESK] = new Uint8Array([0x09, 0x30, 0x39, 0x73, 0xab]),
|
|
@@ -67,16 +82,29 @@ exports.prefix = (_a = {},
|
|
|
67
82
|
_a[Prefix.EXPR] = new Uint8Array([13, 44, 64, 27]),
|
|
68
83
|
// Legacy prefix
|
|
69
84
|
_a[Prefix.TZ] = new Uint8Array([2, 90, 121]),
|
|
85
|
+
_a[Prefix.VH] = new Uint8Array([1, 106, 242]),
|
|
86
|
+
_a[Prefix.SASK] = new Uint8Array([11, 237, 20, 92]),
|
|
87
|
+
_a[Prefix.ZET1] = new Uint8Array([18, 71, 40, 223]),
|
|
88
|
+
_a[Prefix.TXR1] = new Uint8Array([1, 128, 120, 31]),
|
|
89
|
+
_a[Prefix.TXI] = new Uint8Array([79, 148, 196]),
|
|
90
|
+
_a[Prefix.TXM] = new Uint8Array([79, 149, 30]),
|
|
91
|
+
_a[Prefix.TXC] = new Uint8Array([79, 148, 17]),
|
|
92
|
+
_a[Prefix.TXMR] = new Uint8Array([18, 7, 206, 87]),
|
|
93
|
+
_a[Prefix.TXRL] = new Uint8Array([79, 146, 82]),
|
|
94
|
+
_a[Prefix.TXW] = new Uint8Array([79, 150, 72]),
|
|
70
95
|
_a);
|
|
71
96
|
exports.prefixLength = (_b = {},
|
|
72
97
|
_b[Prefix.TZ1] = 20,
|
|
73
98
|
_b[Prefix.TZ2] = 20,
|
|
74
99
|
_b[Prefix.TZ3] = 20,
|
|
100
|
+
_b[Prefix.TZ4] = 20,
|
|
75
101
|
_b[Prefix.KT] = 20,
|
|
76
102
|
_b[Prefix.KT1] = 20,
|
|
77
103
|
_b[Prefix.EDPK] = 32,
|
|
78
104
|
_b[Prefix.SPPK] = 33,
|
|
79
105
|
_b[Prefix.P2PK] = 33,
|
|
106
|
+
//working with value in comment for base58.ml line 445 but not consistent with the three above
|
|
107
|
+
_b[Prefix.BLPK] = 48,
|
|
80
108
|
_b[Prefix.EDSIG] = 64,
|
|
81
109
|
_b[Prefix.SPSIG] = 64,
|
|
82
110
|
_b[Prefix.P2SIG] = 64,
|
|
@@ -84,5 +112,16 @@ exports.prefixLength = (_b = {},
|
|
|
84
112
|
_b[Prefix.NET] = 4,
|
|
85
113
|
_b[Prefix.B] = 32,
|
|
86
114
|
_b[Prefix.P] = 32,
|
|
115
|
+
_b[Prefix.O] = 32,
|
|
116
|
+
_b[Prefix.VH] = 32,
|
|
117
|
+
_b[Prefix.SASK] = 169,
|
|
118
|
+
_b[Prefix.ZET1] = 43,
|
|
119
|
+
_b[Prefix.TXR1] = 20,
|
|
120
|
+
_b[Prefix.TXI] = 32,
|
|
121
|
+
_b[Prefix.TXM] = 32,
|
|
122
|
+
_b[Prefix.TXC] = 32,
|
|
123
|
+
_b[Prefix.TXMR] = 32,
|
|
124
|
+
_b[Prefix.TXRL] = 32,
|
|
125
|
+
_b[Prefix.TXW] = 32,
|
|
87
126
|
_b);
|
|
88
127
|
//# sourceMappingURL=constants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../../../src/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/constants.ts"],"names":[],"mappings":";;;;AAAA,IAAY,MAqDX;AArDD,WAAY,MAAM;IAChB,qBAAW,CAAA;IACX,qBAAW,CAAA;IACX,qBAAW,CAAA;IACX,qBAAW,CAAA;IACX,mBAAS,CAAA;IACT,qBAAW,CAAA;IAEX,yBAAe,CAAA;IACf,uBAAa,CAAA;IACb,uBAAa,CAAA;IAEb,uBAAa,CAAA;IACb,uBAAa,CAAA;IACb,uBAAa,CAAA;IACb,uBAAa,CAAA;IAEb,yBAAe,CAAA;IACf,yBAAe,CAAA;IACf,yBAAe,CAAA;IAEf,uBAAa,CAAA;IACb,yBAAe,CAAA;IACf,yBAAe,CAAA;IACf,yBAAe,CAAA;IACf,qBAAW,CAAA;IAEX,qBAAW,CAAA;IACX,qBAAW,CAAA;IACX,iBAAO,CAAA;IACP,iBAAO,CAAA;IACP,mBAAS,CAAA;IACT,qBAAW,CAAA;I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
|
|
1
|
+
/**
|
|
2
|
+
* @category Error
|
|
3
|
+
* @description Error that indicates an invalid key being passed or used
|
|
4
|
+
*/
|
|
5
|
+
export declare class InvalidKeyError extends Error {
|
|
6
|
+
key: string;
|
|
7
|
+
errorDetail?: string | undefined;
|
|
8
|
+
name: string;
|
|
9
|
+
constructor(key: string, errorDetail?: string | undefined);
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* @category Error
|
|
13
|
+
* @description Error that indicates an Invalid Public Key being passed or used
|
|
14
|
+
*/
|
|
15
|
+
export declare class InvalidPublicKeyError extends Error {
|
|
16
|
+
publicKey: string;
|
|
17
|
+
name: string;
|
|
18
|
+
constructor(publicKey: string, errorDetail?: string);
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @category Error
|
|
22
|
+
* @description Error that indicates an invalid signature being passed or used
|
|
23
|
+
*/
|
|
24
|
+
export declare class InvalidSignatureError extends Error {
|
|
25
|
+
signature: string;
|
|
26
|
+
name: string;
|
|
27
|
+
constructor(signature: string, errorDetail?: string);
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* @category Error
|
|
31
|
+
* @description Error that indicates an invalid message being passed or used
|
|
32
|
+
*/
|
|
33
|
+
export declare class InvalidMessageError extends Error {
|
|
34
|
+
msg: string;
|
|
35
|
+
errorDetail?: string | undefined;
|
|
36
|
+
name: string;
|
|
37
|
+
constructor(msg: string, errorDetail?: string | undefined);
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* @category Error
|
|
41
|
+
* @description Error that indicates an invalid contract address being passed or used
|
|
42
|
+
*/
|
|
43
|
+
export declare class InvalidContractAddressError extends Error {
|
|
44
|
+
contractAddress: string;
|
|
45
|
+
name: string;
|
|
46
|
+
constructor(contractAddress: string);
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* @category Error
|
|
50
|
+
* @description Error that indicates an invalid address being passed or used (both contract and implicit)
|
|
51
|
+
*/
|
|
52
|
+
export declare class InvalidAddressError extends Error {
|
|
53
|
+
address: string;
|
|
54
|
+
name: string;
|
|
55
|
+
constructor(address: string, errorDetail?: string);
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* @category Error
|
|
59
|
+
* @description Error that indicates an invalid chain id being passed or used
|
|
60
|
+
*/
|
|
61
|
+
export declare class InvalidChainIdError extends Error {
|
|
62
|
+
chainId: string;
|
|
63
|
+
name: string;
|
|
64
|
+
constructor(chainId: string);
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* @category Error
|
|
68
|
+
* @description Error that indicates an invalid key hash being passed or used
|
|
69
|
+
*/
|
|
70
|
+
export declare class InvalidKeyHashError extends Error {
|
|
71
|
+
keyHash: string;
|
|
72
|
+
name: string;
|
|
73
|
+
constructor(keyHash: string);
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* @category Error
|
|
77
|
+
* @description Error that indicates an invalid block hash being passed or used
|
|
78
|
+
*/ export declare class InvalidBlockHashError extends Error {
|
|
79
|
+
blockHash: string;
|
|
80
|
+
name: string;
|
|
81
|
+
constructor(blockHash: string);
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* @category Error
|
|
85
|
+
* @description Error that indicates invalid protocol hash being passed or used
|
|
86
|
+
*/
|
|
87
|
+
export declare class InvalidProtocolHashError extends Error {
|
|
88
|
+
protocolHash: string;
|
|
89
|
+
name: string;
|
|
90
|
+
constructor(protocolHash: string);
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* @category Error
|
|
94
|
+
* @description Error that indicates an invalid operation hash being passed or used
|
|
95
|
+
*/ export declare class InvalidOperationHashError extends Error {
|
|
96
|
+
operationHash: string;
|
|
97
|
+
name: string;
|
|
98
|
+
constructor(operationHash: string);
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* @category Error
|
|
102
|
+
* @description Error that indicates an invalid operation kind being passed or used
|
|
103
|
+
*/
|
|
104
|
+
export declare class InvalidOperationKindError extends Error {
|
|
105
|
+
operationKind: string;
|
|
106
|
+
name: string;
|
|
107
|
+
constructor(operationKind: string);
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* @category Error
|
|
111
|
+
* @description General error that indicates something is no longer supported and/or deprecated
|
|
112
|
+
*/
|
|
113
|
+
export declare class DeprecationError extends Error {
|
|
114
|
+
message: string;
|
|
115
|
+
name: string;
|
|
116
|
+
constructor(message: string);
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* @category Error
|
|
120
|
+
* @description General error that indicates an action is prohibited or not allowed
|
|
121
|
+
*/
|
|
122
|
+
export declare class ProhibitedActionError extends Error {
|
|
123
|
+
message: string;
|
|
124
|
+
name: string;
|
|
125
|
+
constructor(message: string);
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* @category Error
|
|
129
|
+
* @description General error that indicates a failure when trying to convert data from one type to another
|
|
130
|
+
*/
|
|
131
|
+
export declare class ValueConversionError extends Error {
|
|
132
|
+
value: string;
|
|
133
|
+
desiredType: string;
|
|
134
|
+
name: string;
|
|
135
|
+
constructor(value: string, desiredType: string);
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* @category Error
|
|
139
|
+
* @description Error that indicates an invalid hex string being passed or used
|
|
140
|
+
*/
|
|
141
|
+
export declare class InvalidHexStringError extends Error {
|
|
142
|
+
message: string;
|
|
143
|
+
name: string;
|
|
144
|
+
constructor(message: string);
|
|
145
|
+
}
|
|
@@ -0,0 +1,270 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.InvalidHexStringError = exports.ValueConversionError = exports.ProhibitedActionError = exports.DeprecationError = exports.InvalidOperationKindError = exports.InvalidOperationHashError = exports.InvalidProtocolHashError = exports.InvalidBlockHashError = exports.InvalidKeyHashError = exports.InvalidChainIdError = exports.InvalidAddressError = exports.InvalidContractAddressError = exports.InvalidMessageError = exports.InvalidSignatureError = exports.InvalidPublicKeyError = exports.InvalidKeyError = void 0;
|
|
19
|
+
/**
|
|
20
|
+
* @category Error
|
|
21
|
+
* @description Error that indicates an invalid key being passed or used
|
|
22
|
+
*/
|
|
23
|
+
var InvalidKeyError = /** @class */ (function (_super) {
|
|
24
|
+
__extends(InvalidKeyError, _super);
|
|
25
|
+
function InvalidKeyError(key, errorDetail) {
|
|
26
|
+
var _this = _super.call(this) || this;
|
|
27
|
+
_this.key = key;
|
|
28
|
+
_this.errorDetail = errorDetail;
|
|
29
|
+
_this.name = 'InvalidKeyError';
|
|
30
|
+
var baseMessage = "The key ".concat(key, " is invalid.");
|
|
31
|
+
_this.message = errorDetail ? "".concat(baseMessage, " ").concat(errorDetail) : baseMessage;
|
|
32
|
+
return _this;
|
|
33
|
+
}
|
|
34
|
+
return InvalidKeyError;
|
|
35
|
+
}(Error));
|
|
36
|
+
exports.InvalidKeyError = InvalidKeyError;
|
|
37
|
+
/**
|
|
38
|
+
* @category Error
|
|
39
|
+
* @description Error that indicates an Invalid Public Key being passed or used
|
|
40
|
+
*/
|
|
41
|
+
var InvalidPublicKeyError = /** @class */ (function (_super) {
|
|
42
|
+
__extends(InvalidPublicKeyError, _super);
|
|
43
|
+
function InvalidPublicKeyError(publicKey, errorDetail) {
|
|
44
|
+
var _this = _super.call(this) || this;
|
|
45
|
+
_this.publicKey = publicKey;
|
|
46
|
+
_this.name = 'InvalidPublicKeyError';
|
|
47
|
+
var baseMessage = "The public key '".concat(publicKey, "' is invalid.");
|
|
48
|
+
_this.message = errorDetail ? "".concat(baseMessage, " ").concat(errorDetail) : baseMessage;
|
|
49
|
+
return _this;
|
|
50
|
+
}
|
|
51
|
+
return InvalidPublicKeyError;
|
|
52
|
+
}(Error));
|
|
53
|
+
exports.InvalidPublicKeyError = InvalidPublicKeyError;
|
|
54
|
+
/**
|
|
55
|
+
* @category Error
|
|
56
|
+
* @description Error that indicates an invalid signature being passed or used
|
|
57
|
+
*/
|
|
58
|
+
var InvalidSignatureError = /** @class */ (function (_super) {
|
|
59
|
+
__extends(InvalidSignatureError, _super);
|
|
60
|
+
function InvalidSignatureError(signature, errorDetail) {
|
|
61
|
+
var _this = _super.call(this) || this;
|
|
62
|
+
_this.signature = signature;
|
|
63
|
+
_this.name = 'InvalidSignatureError';
|
|
64
|
+
var baseMessage = "The signature '".concat(signature, "' is invalid.");
|
|
65
|
+
_this.message = errorDetail ? "".concat(baseMessage, " ").concat(errorDetail) : baseMessage;
|
|
66
|
+
return _this;
|
|
67
|
+
}
|
|
68
|
+
return InvalidSignatureError;
|
|
69
|
+
}(Error));
|
|
70
|
+
exports.InvalidSignatureError = InvalidSignatureError;
|
|
71
|
+
/**
|
|
72
|
+
* @category Error
|
|
73
|
+
* @description Error that indicates an invalid message being passed or used
|
|
74
|
+
*/
|
|
75
|
+
var InvalidMessageError = /** @class */ (function (_super) {
|
|
76
|
+
__extends(InvalidMessageError, _super);
|
|
77
|
+
function InvalidMessageError(msg, errorDetail) {
|
|
78
|
+
var _this = _super.call(this) || this;
|
|
79
|
+
_this.msg = msg;
|
|
80
|
+
_this.errorDetail = errorDetail;
|
|
81
|
+
_this.name = 'InvalidMessageError';
|
|
82
|
+
var baseMessage = "The message '".concat(msg, "' is invalid.");
|
|
83
|
+
_this.message = errorDetail ? "".concat(baseMessage, " ").concat(errorDetail) : baseMessage;
|
|
84
|
+
return _this;
|
|
85
|
+
}
|
|
86
|
+
return InvalidMessageError;
|
|
87
|
+
}(Error));
|
|
88
|
+
exports.InvalidMessageError = InvalidMessageError;
|
|
89
|
+
/**
|
|
90
|
+
* @category Error
|
|
91
|
+
* @description Error that indicates an invalid contract address being passed or used
|
|
92
|
+
*/
|
|
93
|
+
var InvalidContractAddressError = /** @class */ (function (_super) {
|
|
94
|
+
__extends(InvalidContractAddressError, _super);
|
|
95
|
+
function InvalidContractAddressError(contractAddress) {
|
|
96
|
+
var _this = _super.call(this, "The contract address '".concat(contractAddress, "' is invalid")) || this;
|
|
97
|
+
_this.contractAddress = contractAddress;
|
|
98
|
+
_this.name = 'InvalidContractAddressError';
|
|
99
|
+
return _this;
|
|
100
|
+
}
|
|
101
|
+
return InvalidContractAddressError;
|
|
102
|
+
}(Error));
|
|
103
|
+
exports.InvalidContractAddressError = InvalidContractAddressError;
|
|
104
|
+
/**
|
|
105
|
+
* @category Error
|
|
106
|
+
* @description Error that indicates an invalid address being passed or used (both contract and implicit)
|
|
107
|
+
*/
|
|
108
|
+
var InvalidAddressError = /** @class */ (function (_super) {
|
|
109
|
+
__extends(InvalidAddressError, _super);
|
|
110
|
+
function InvalidAddressError(address, errorDetail) {
|
|
111
|
+
var _this = _super.call(this) || this;
|
|
112
|
+
_this.address = address;
|
|
113
|
+
_this.name = 'InvalidAddressError';
|
|
114
|
+
var baseMessage = "The address '".concat(address, "' is invalid.");
|
|
115
|
+
_this.message = errorDetail ? "".concat(baseMessage, " ").concat(errorDetail) : baseMessage;
|
|
116
|
+
return _this;
|
|
117
|
+
}
|
|
118
|
+
return InvalidAddressError;
|
|
119
|
+
}(Error));
|
|
120
|
+
exports.InvalidAddressError = InvalidAddressError;
|
|
121
|
+
/**
|
|
122
|
+
* @category Error
|
|
123
|
+
* @description Error that indicates an invalid chain id being passed or used
|
|
124
|
+
*/
|
|
125
|
+
var InvalidChainIdError = /** @class */ (function (_super) {
|
|
126
|
+
__extends(InvalidChainIdError, _super);
|
|
127
|
+
function InvalidChainIdError(chainId) {
|
|
128
|
+
var _this = _super.call(this, "The chain id '".concat(chainId, "' is invalid")) || this;
|
|
129
|
+
_this.chainId = chainId;
|
|
130
|
+
_this.name = 'InvalidChainIdError';
|
|
131
|
+
return _this;
|
|
132
|
+
}
|
|
133
|
+
return InvalidChainIdError;
|
|
134
|
+
}(Error));
|
|
135
|
+
exports.InvalidChainIdError = InvalidChainIdError;
|
|
136
|
+
/**
|
|
137
|
+
* @category Error
|
|
138
|
+
* @description Error that indicates an invalid key hash being passed or used
|
|
139
|
+
*/
|
|
140
|
+
var InvalidKeyHashError = /** @class */ (function (_super) {
|
|
141
|
+
__extends(InvalidKeyHashError, _super);
|
|
142
|
+
function InvalidKeyHashError(keyHash) {
|
|
143
|
+
var _this = _super.call(this, "The public key hash '".concat(keyHash, "' is invalid")) || this;
|
|
144
|
+
_this.keyHash = keyHash;
|
|
145
|
+
_this.name = 'InvalidKeyHashError';
|
|
146
|
+
return _this;
|
|
147
|
+
}
|
|
148
|
+
return InvalidKeyHashError;
|
|
149
|
+
}(Error));
|
|
150
|
+
exports.InvalidKeyHashError = InvalidKeyHashError;
|
|
151
|
+
/**
|
|
152
|
+
* @category Error
|
|
153
|
+
* @description Error that indicates an invalid block hash being passed or used
|
|
154
|
+
*/ var InvalidBlockHashError = /** @class */ (function (_super) {
|
|
155
|
+
__extends(InvalidBlockHashError, _super);
|
|
156
|
+
function InvalidBlockHashError(blockHash) {
|
|
157
|
+
var _this = _super.call(this, "The block hash '".concat(blockHash, "' is invalid")) || this;
|
|
158
|
+
_this.blockHash = blockHash;
|
|
159
|
+
_this.name = 'InvalidBlockHashError';
|
|
160
|
+
return _this;
|
|
161
|
+
}
|
|
162
|
+
return InvalidBlockHashError;
|
|
163
|
+
}(Error));
|
|
164
|
+
exports.InvalidBlockHashError = InvalidBlockHashError;
|
|
165
|
+
/**
|
|
166
|
+
* @category Error
|
|
167
|
+
* @description Error that indicates invalid protocol hash being passed or used
|
|
168
|
+
*/
|
|
169
|
+
var InvalidProtocolHashError = /** @class */ (function (_super) {
|
|
170
|
+
__extends(InvalidProtocolHashError, _super);
|
|
171
|
+
function InvalidProtocolHashError(protocolHash) {
|
|
172
|
+
var _this = _super.call(this, "The protocol hash '".concat(protocolHash, "' is invalid")) || this;
|
|
173
|
+
_this.protocolHash = protocolHash;
|
|
174
|
+
_this.name = 'InvalidProtocolHashError';
|
|
175
|
+
return _this;
|
|
176
|
+
}
|
|
177
|
+
return InvalidProtocolHashError;
|
|
178
|
+
}(Error));
|
|
179
|
+
exports.InvalidProtocolHashError = InvalidProtocolHashError;
|
|
180
|
+
/**
|
|
181
|
+
* @category Error
|
|
182
|
+
* @description Error that indicates an invalid operation hash being passed or used
|
|
183
|
+
*/ var InvalidOperationHashError = /** @class */ (function (_super) {
|
|
184
|
+
__extends(InvalidOperationHashError, _super);
|
|
185
|
+
function InvalidOperationHashError(operationHash) {
|
|
186
|
+
var _this = _super.call(this, "The operation hash '".concat(operationHash, "' is invalid")) || this;
|
|
187
|
+
_this.operationHash = operationHash;
|
|
188
|
+
_this.name = 'InvalidOperationHashError';
|
|
189
|
+
return _this;
|
|
190
|
+
}
|
|
191
|
+
return InvalidOperationHashError;
|
|
192
|
+
}(Error));
|
|
193
|
+
exports.InvalidOperationHashError = InvalidOperationHashError;
|
|
194
|
+
/**
|
|
195
|
+
* @category Error
|
|
196
|
+
* @description Error that indicates an invalid operation kind being passed or used
|
|
197
|
+
*/
|
|
198
|
+
var InvalidOperationKindError = /** @class */ (function (_super) {
|
|
199
|
+
__extends(InvalidOperationKindError, _super);
|
|
200
|
+
function InvalidOperationKindError(operationKind) {
|
|
201
|
+
var _this = _super.call(this, "The operation kind '".concat(operationKind, "' is unsupported")) || this;
|
|
202
|
+
_this.operationKind = operationKind;
|
|
203
|
+
_this.name = 'InvalidOperationKindError';
|
|
204
|
+
return _this;
|
|
205
|
+
}
|
|
206
|
+
return InvalidOperationKindError;
|
|
207
|
+
}(Error));
|
|
208
|
+
exports.InvalidOperationKindError = InvalidOperationKindError;
|
|
209
|
+
/**
|
|
210
|
+
* @category Error
|
|
211
|
+
* @description General error that indicates something is no longer supported and/or deprecated
|
|
212
|
+
*/
|
|
213
|
+
var DeprecationError = /** @class */ (function (_super) {
|
|
214
|
+
__extends(DeprecationError, _super);
|
|
215
|
+
function DeprecationError(message) {
|
|
216
|
+
var _this = _super.call(this, message) || this;
|
|
217
|
+
_this.message = message;
|
|
218
|
+
_this.name = 'DeprecationError';
|
|
219
|
+
return _this;
|
|
220
|
+
}
|
|
221
|
+
return DeprecationError;
|
|
222
|
+
}(Error));
|
|
223
|
+
exports.DeprecationError = DeprecationError;
|
|
224
|
+
/**
|
|
225
|
+
* @category Error
|
|
226
|
+
* @description General error that indicates an action is prohibited or not allowed
|
|
227
|
+
*/
|
|
228
|
+
var ProhibitedActionError = /** @class */ (function (_super) {
|
|
229
|
+
__extends(ProhibitedActionError, _super);
|
|
230
|
+
function ProhibitedActionError(message) {
|
|
231
|
+
var _this = _super.call(this, message) || this;
|
|
232
|
+
_this.message = message;
|
|
233
|
+
_this.name = 'ProhibitedActionError';
|
|
234
|
+
return _this;
|
|
235
|
+
}
|
|
236
|
+
return ProhibitedActionError;
|
|
237
|
+
}(Error));
|
|
238
|
+
exports.ProhibitedActionError = ProhibitedActionError;
|
|
239
|
+
/**
|
|
240
|
+
* @category Error
|
|
241
|
+
* @description General error that indicates a failure when trying to convert data from one type to another
|
|
242
|
+
*/
|
|
243
|
+
var ValueConversionError = /** @class */ (function (_super) {
|
|
244
|
+
__extends(ValueConversionError, _super);
|
|
245
|
+
function ValueConversionError(value, desiredType) {
|
|
246
|
+
var _this = _super.call(this, "Unable to convert ".concat(value, " to a ").concat(desiredType)) || this;
|
|
247
|
+
_this.value = value;
|
|
248
|
+
_this.desiredType = desiredType;
|
|
249
|
+
_this.name = 'ValueConversionError';
|
|
250
|
+
return _this;
|
|
251
|
+
}
|
|
252
|
+
return ValueConversionError;
|
|
253
|
+
}(Error));
|
|
254
|
+
exports.ValueConversionError = ValueConversionError;
|
|
255
|
+
/**
|
|
256
|
+
* @category Error
|
|
257
|
+
* @description Error that indicates an invalid hex string being passed or used
|
|
258
|
+
*/
|
|
259
|
+
var InvalidHexStringError = /** @class */ (function (_super) {
|
|
260
|
+
__extends(InvalidHexStringError, _super);
|
|
261
|
+
function InvalidHexStringError(message) {
|
|
262
|
+
var _this = _super.call(this, message) || this;
|
|
263
|
+
_this.message = message;
|
|
264
|
+
_this.name = 'InvalidHexStringError';
|
|
265
|
+
return _this;
|
|
266
|
+
}
|
|
267
|
+
return InvalidHexStringError;
|
|
268
|
+
}(Error));
|
|
269
|
+
exports.InvalidHexStringError = InvalidHexStringError;
|
|
270
|
+
//# sourceMappingURL=errors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../../../../../../../../src/dependencies/src/@taquito/utils-15.0.1/packages/taquito-utils/src/errors.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA;;;GAGG;AACH;IAAqC,mCAAK;IAExC,yBAAmB,GAAW,EAAS,WAAoB;QAA3D,YACE,iBAAO,SAGR;QAJkB,SAAG,GAAH,GAAG,CAAQ;QAAS,iBAAW,GAAX,WAAW,CAAS;QADpD,UAAI,GAAG,iBAAiB,CAAC;QAG9B,IAAM,WAAW,GAAG,kBAAW,GAAG,iBAAc,CAAC;QACjD,KAAI,CAAC,OAAO,GAAG,WAAW,CAAC,CAAC,CAAC,UAAG,WAAW,cAAI,WAAW,CAAE,CAAC,CAAC,CAAC,WAAW,CAAC;;IAC7E,CAAC;IACH,sBAAC;AAAD,CAAC,AAPD,CAAqC,KAAK,GAOzC;AAPY,0CAAe;AAS5B;;;GAGG;AACH;IAA2C,yCAAK;IAE9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;QAAlC,YACE,kBAAM,OAAO,CAAC,SACf;QAFkB,aAAO,GAAP,OAAO,CAAQ;QAD3B,UAAI,GAAG,uBAAuB,CAAC;;IAGtC,CAAC;IACH,4BAAC;AAAD,CAAC,AALD,CAA2C,KAAK,GAK/C;AALY,sDAAqB;AAOlC;;;GAGG;AACH;IAA0C,wCAAK;IAE7C,8BAAmB,KAAa,EAAS,WAAmB;QAA5D,YACE,kBAAM,4BAAqB,KAAK,mBAAS,WAAW,CAAE,CAAC,SACxD;QAFkB,WAAK,GAAL,KAAK,CAAQ;QAAS,iBAAW,GAAX,WAAW,CAAQ;QADrD,UAAI,GAAG,sBAAsB,CAAC;;IAGrC,CAAC;IACH,2BAAC;AAAD,CAAC,AALD,CAA0C,KAAK,GAK9C;AALY,oDAAoB;AAOjC;;;GAGG;AACH;IAA2C,yCAAK;IAE9C,+BAAmB,OAAe;QAAlC,YACE,kBAAM,OAAO,CAAC,SACf;QAFkB,aAAO,GAAP,OAAO,CAAQ;QAD3B,UAAI,GAAG,uBAAuB,CAAC;;IAGtC,CAAC;IACH,4BAAC;AAAD,CAAC,AALD,CAA2C,KAAK,GAK/C;AALY,sDAAqB"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import BigNumber from '../../../../../bignumber.js-9.0.0/bignumber';
|
|
2
|
+
declare type Format = 'tz' | 'mtz' | 'mutez';
|
|
3
|
+
export declare function format(from: Format | undefined, to: Format | undefined, amount: number | string | BigNumber): string | number | BigNumber;
|
|
4
|
+
export {};
|