@taquito/michelson-encoder 24.2.0 → 24.3.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/michelson-map.js +5 -5
- package/dist/lib/schema/errors.js +8 -8
- package/dist/lib/schema/event-schema.js +1 -2
- package/dist/lib/schema/parameter.js +12 -12
- package/dist/lib/schema/storage.js +15 -13
- package/dist/lib/schema/view-schema.js +5 -5
- package/dist/lib/tokens/bigmap.js +1 -1
- package/dist/lib/tokens/bls12-381-fr.js +1 -1
- package/dist/lib/tokens/bls12-381-g1.js +1 -1
- package/dist/lib/tokens/bls12-381-g2.js +1 -1
- package/dist/lib/tokens/chain-id.js +1 -1
- package/dist/lib/tokens/chest-key.js +1 -1
- package/dist/lib/tokens/chest.js +1 -1
- package/dist/lib/tokens/comparable/address.js +1 -1
- package/dist/lib/tokens/comparable/bytes.js +1 -1
- package/dist/lib/tokens/comparable/int.js +1 -1
- package/dist/lib/tokens/comparable/key_hash.js +1 -1
- package/dist/lib/tokens/comparable/mutez.js +1 -1
- package/dist/lib/tokens/comparable/nat.js +1 -1
- package/dist/lib/tokens/constant.js +2 -2
- package/dist/lib/tokens/contract.js +1 -1
- package/dist/lib/tokens/createToken.js +2 -2
- package/dist/lib/tokens/key.js +1 -1
- package/dist/lib/tokens/list.js +1 -1
- package/dist/lib/tokens/map.js +1 -1
- package/dist/lib/tokens/never.js +1 -1
- package/dist/lib/tokens/or.js +9 -3
- package/dist/lib/tokens/pair.js +6 -3
- package/dist/lib/tokens/sapling-state.js +1 -1
- package/dist/lib/tokens/sapling-transaction-deprecated.js +1 -1
- package/dist/lib/tokens/sapling-transaction.js +1 -1
- package/dist/lib/tokens/set.js +1 -1
- package/dist/lib/tokens/signature.js +1 -1
- package/dist/lib/tokens/ticket-deprecated.js +1 -1
- package/dist/lib/tokens/ticket.js +1 -1
- package/dist/lib/tokens/token.js +3 -3
- package/dist/lib/version.js +2 -2
- package/dist/taquito-michelson-encoder.es6.js +95 -85
- package/dist/taquito-michelson-encoder.es6.js.map +1 -1
- package/dist/taquito-michelson-encoder.umd.js +95 -85
- package/dist/taquito-michelson-encoder.umd.js.map +1 -1
- package/dist/types/michelson-map.d.ts +5 -5
- package/dist/types/schema/errors.d.ts +12 -12
- package/dist/types/schema/parameter.d.ts +12 -12
- package/dist/types/schema/storage.d.ts +6 -6
- package/dist/types/schema/view-schema.d.ts +5 -5
- package/dist/types/tokens/bigmap.d.ts +1 -1
- package/dist/types/tokens/bls12-381-fr.d.ts +2 -2
- package/dist/types/tokens/bls12-381-g1.d.ts +2 -2
- package/dist/types/tokens/bls12-381-g2.d.ts +2 -2
- package/dist/types/tokens/chain-id.d.ts +1 -1
- package/dist/types/tokens/chest-key.d.ts +2 -2
- package/dist/types/tokens/chest.d.ts +2 -2
- package/dist/types/tokens/comparable/address.d.ts +1 -1
- package/dist/types/tokens/comparable/bytes.d.ts +1 -1
- package/dist/types/tokens/comparable/int.d.ts +1 -1
- package/dist/types/tokens/comparable/key_hash.d.ts +1 -1
- package/dist/types/tokens/comparable/mutez.d.ts +1 -1
- package/dist/types/tokens/comparable/nat.d.ts +1 -1
- package/dist/types/tokens/constant.d.ts +2 -2
- package/dist/types/tokens/contract.d.ts +1 -1
- package/dist/types/tokens/createToken.d.ts +2 -2
- package/dist/types/tokens/key.d.ts +1 -1
- package/dist/types/tokens/list.d.ts +1 -1
- package/dist/types/tokens/map.d.ts +1 -1
- package/dist/types/tokens/never.d.ts +1 -1
- package/dist/types/tokens/or.d.ts +1 -1
- package/dist/types/tokens/pair.d.ts +2 -2
- package/dist/types/tokens/sapling-state.d.ts +1 -1
- package/dist/types/tokens/sapling-transaction-deprecated.d.ts +1 -1
- package/dist/types/tokens/sapling-transaction.d.ts +1 -1
- package/dist/types/tokens/set.d.ts +1 -1
- package/dist/types/tokens/signature.d.ts +1 -1
- package/dist/types/tokens/ticket-deprecated.d.ts +1 -1
- package/dist/types/tokens/ticket.d.ts +1 -1
- package/dist/types/tokens/token.d.ts +6 -6
- package/package.json +24 -12
- package/LICENSE +0 -202
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taquito-michelson-encoder.umd.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"taquito-michelson-encoder.umd.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -2,7 +2,7 @@ import { MichelsonV1Expression } from '@taquito/rpc';
|
|
|
2
2
|
import { TaquitoError } from '@taquito/core';
|
|
3
3
|
/**
|
|
4
4
|
* @category Error
|
|
5
|
-
*
|
|
5
|
+
* Error that indicates an invalid map type being passed or used
|
|
6
6
|
*/
|
|
7
7
|
export declare class InvalidMapTypeError extends TaquitoError {
|
|
8
8
|
readonly mapType: any;
|
|
@@ -13,7 +13,7 @@ declare const michelsonMapTypeSymbol: unique symbol;
|
|
|
13
13
|
export type MichelsonMapKey = Array<any> | object | string | boolean | number | null;
|
|
14
14
|
/**
|
|
15
15
|
* @category Error
|
|
16
|
-
*
|
|
16
|
+
* Error that indicates a map type mismatch, where an attempt to set a key or value in a Map doesn't match the defined type of the Map
|
|
17
17
|
*/
|
|
18
18
|
export declare class MapTypecheckError extends TaquitoError {
|
|
19
19
|
readonly value: any;
|
|
@@ -23,7 +23,7 @@ export declare class MapTypecheckError extends TaquitoError {
|
|
|
23
23
|
constructor(value: any, type: any, objectType: 'key' | 'value', reason: any);
|
|
24
24
|
}
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* Michelson Map is an abstraction over the michelson native map. It supports complex Pair as key
|
|
27
27
|
*/
|
|
28
28
|
export declare class MichelsonMap<K extends MichelsonMapKey, T> {
|
|
29
29
|
private valueMap;
|
|
@@ -60,13 +60,13 @@ export declare class MichelsonMap<K extends MichelsonMapKey, T> {
|
|
|
60
60
|
get(key: K): T | undefined;
|
|
61
61
|
/**
|
|
62
62
|
*
|
|
63
|
-
*
|
|
63
|
+
* Set a key and a value in the MichelsonMap. If the key already exists, override the current value.
|
|
64
64
|
*
|
|
65
65
|
* @example map.set("myKey", "myValue") // Using a string as key
|
|
66
66
|
*
|
|
67
67
|
* @example map.set({0: "test", 1: "test1"}, "myValue") // Using a pair as key
|
|
68
68
|
*
|
|
69
|
-
* @
|
|
69
|
+
* @remarks The same key can be represented in multiple ways, depending on the type of the key. This duplicate key situation will cause a runtime error (duplicate key) when sending the map data to the Tezos RPC node.
|
|
70
70
|
*
|
|
71
71
|
* For example, consider a contract with a map whose key is of type boolean. If you set the following values in MichelsonMap: map.set(false, "myValue") and map.set(null, "myValue").
|
|
72
72
|
*
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { InvalidViewParameterError, TaquitoError } from '@taquito/core';
|
|
2
2
|
/**
|
|
3
3
|
* @category Error
|
|
4
|
-
*
|
|
4
|
+
* Error that indicates a failure when encoding (transforming JS parameter into JSON Michelson) the parameter of the view
|
|
5
5
|
*/
|
|
6
6
|
export declare class ParameterEncodingError extends InvalidViewParameterError {
|
|
7
7
|
readonly viewName: string;
|
|
8
8
|
readonly sigs: any;
|
|
9
9
|
readonly args: any;
|
|
10
|
-
readonly cause?: any;
|
|
11
|
-
constructor(viewName: string, sigs: any, args: any, cause?: any);
|
|
10
|
+
readonly cause?: any | undefined;
|
|
11
|
+
constructor(viewName: string, sigs: any, args: any, cause?: any | undefined);
|
|
12
12
|
}
|
|
13
13
|
/**
|
|
14
14
|
* @category Error
|
|
15
|
-
*
|
|
15
|
+
* Error that indicates an invalid on-chain view found on the script
|
|
16
16
|
*/
|
|
17
17
|
export declare class InvalidScriptError extends TaquitoError {
|
|
18
18
|
readonly script: any;
|
|
@@ -22,7 +22,7 @@ export declare class InvalidScriptError extends TaquitoError {
|
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
24
24
|
* @category Error
|
|
25
|
-
*
|
|
25
|
+
* Error that indicates an invalid RPC response being passed or used
|
|
26
26
|
*/
|
|
27
27
|
export declare class InvalidRpcResponseError extends TaquitoError {
|
|
28
28
|
readonly script: any;
|
|
@@ -32,7 +32,7 @@ export declare class InvalidRpcResponseError extends TaquitoError {
|
|
|
32
32
|
}
|
|
33
33
|
/**
|
|
34
34
|
* @category Error
|
|
35
|
-
*
|
|
35
|
+
* Error that indicates an invalid big map schema being passed or used
|
|
36
36
|
*/
|
|
37
37
|
export declare class InvalidBigMapSchemaError extends TaquitoError {
|
|
38
38
|
message: string;
|
|
@@ -41,7 +41,7 @@ export declare class InvalidBigMapSchemaError extends TaquitoError {
|
|
|
41
41
|
}
|
|
42
42
|
/**
|
|
43
43
|
* @category Error
|
|
44
|
-
*
|
|
44
|
+
* Error that indicates an invalid big map diff being passed or used
|
|
45
45
|
*/
|
|
46
46
|
export declare class InvalidBigMapDiffError extends TaquitoError {
|
|
47
47
|
message: string;
|
|
@@ -51,7 +51,7 @@ export declare class InvalidBigMapDiffError extends TaquitoError {
|
|
|
51
51
|
}
|
|
52
52
|
/**
|
|
53
53
|
* @category Error
|
|
54
|
-
*
|
|
54
|
+
* Error that indicates a failure when trying to encode big maps
|
|
55
55
|
*/
|
|
56
56
|
export declare class BigMapEncodingError extends TaquitoError {
|
|
57
57
|
readonly details: any;
|
|
@@ -62,19 +62,19 @@ export declare class BigMapEncodingError extends TaquitoError {
|
|
|
62
62
|
}
|
|
63
63
|
/**
|
|
64
64
|
* @category Error
|
|
65
|
-
*
|
|
65
|
+
* Error that indicates a failure when trying to encode storage
|
|
66
66
|
*/
|
|
67
67
|
export declare class StorageEncodingError extends TaquitoError {
|
|
68
68
|
details: any;
|
|
69
69
|
readonly schema: any;
|
|
70
70
|
readonly value: any;
|
|
71
|
-
readonly semantics?: any;
|
|
71
|
+
readonly semantics?: any | undefined;
|
|
72
72
|
name: string;
|
|
73
|
-
constructor(obj: string, details: any, schema: any, value: any, semantics?: any);
|
|
73
|
+
constructor(obj: string, details: any, schema: any, value: any, semantics?: any | undefined);
|
|
74
74
|
}
|
|
75
75
|
/**
|
|
76
76
|
* @category Error
|
|
77
|
-
*
|
|
77
|
+
* General error that indicates a function not being passed a necessary argument
|
|
78
78
|
*/
|
|
79
79
|
export declare class MissingArgumentError extends TaquitoError {
|
|
80
80
|
message: string;
|
|
@@ -2,13 +2,13 @@ import { Semantic, SemanticEncoding } from '../tokens/token';
|
|
|
2
2
|
import { ScriptResponse, MichelsonV1Expression } from '@taquito/rpc';
|
|
3
3
|
import { TokenSchema } from './types';
|
|
4
4
|
/**
|
|
5
|
-
* @
|
|
5
|
+
* @remarks Our current smart contract abstraction feature is currently in preview. It's API is not final, and it may not cover every use case (yet). We will greatly appreciate any feedback on this feature.
|
|
6
6
|
*/
|
|
7
7
|
export declare class ParameterSchema {
|
|
8
8
|
private root;
|
|
9
9
|
/**
|
|
10
10
|
*
|
|
11
|
-
*
|
|
11
|
+
* Create an instance of ParameterSchema from a contract script
|
|
12
12
|
*
|
|
13
13
|
* @param val contract script obtained from the RPC
|
|
14
14
|
* @returns ParameterSchema
|
|
@@ -18,36 +18,36 @@ export declare class ParameterSchema {
|
|
|
18
18
|
script: ScriptResponse;
|
|
19
19
|
}): ParameterSchema;
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* Check if the Contract parameter is multiple entry point or not
|
|
22
22
|
*/
|
|
23
23
|
get isMultipleEntryPoint(): boolean;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Check if the Contract parameter has an annotation or not
|
|
26
26
|
*/
|
|
27
27
|
get hasAnnotation(): boolean;
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
30
|
-
* @throws
|
|
29
|
+
* Return the schema of the parameter of a specific entry point
|
|
30
|
+
* @throws InvalidTokenError
|
|
31
31
|
*/
|
|
32
32
|
constructor(val: MichelsonV1Expression);
|
|
33
33
|
/**
|
|
34
|
-
*
|
|
34
|
+
* Returns the javascript object equivalent of the Micheline value provided
|
|
35
35
|
*/
|
|
36
36
|
Execute(val: any, semantics?: Semantic): any;
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
39
|
-
* @throws
|
|
38
|
+
* Returns a micheline formatted object for the values provided
|
|
39
|
+
* @throws TokenValidationError
|
|
40
40
|
* @throws {@link ParameterEncodingError}
|
|
41
41
|
*/
|
|
42
42
|
Encode(...args: any[]): any;
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
45
|
-
* @throws
|
|
44
|
+
* Returns a micheline formatted object for the javascript object provided
|
|
45
|
+
* @throws TokenValidationError
|
|
46
46
|
* @throws {@link ParameterEncodingError}
|
|
47
47
|
*/
|
|
48
48
|
EncodeObject(value?: any, semantics?: SemanticEncoding): any;
|
|
49
49
|
/**
|
|
50
|
-
*
|
|
50
|
+
* Produce a schema grouping together all the entry points of a contract.
|
|
51
51
|
*/
|
|
52
52
|
generateSchema(): TokenSchema;
|
|
53
53
|
ExtractSignatures(): TokenSchema[][];
|
|
@@ -4,7 +4,7 @@ import { TokenSchema } from './types';
|
|
|
4
4
|
declare const schemaTypeSymbol: unique symbol;
|
|
5
5
|
export declare function deepEqual(a: MichelsonV1Expression | undefined, b: MichelsonV1Expression | undefined): boolean;
|
|
6
6
|
/**
|
|
7
|
-
* @
|
|
7
|
+
* @remarks Our current smart contract abstraction feature is currently in preview. Its API is not final, and it may not cover every use case (yet). We will greatly appreciate any feedback on this feature.
|
|
8
8
|
*/
|
|
9
9
|
export declare class Schema {
|
|
10
10
|
readonly val: MichelsonV1Expression;
|
|
@@ -23,7 +23,7 @@ export declare class Schema {
|
|
|
23
23
|
private removeTopLevelAnnotation;
|
|
24
24
|
Execute(val: any, semantics?: Semantic): any;
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* Validates that a value matches the schema type.
|
|
27
27
|
* Performs type checking with special handling for BigMap, Ticket, and nested Map tokens.
|
|
28
28
|
*
|
|
29
29
|
* @param val - The value to validate against the schema
|
|
@@ -53,17 +53,17 @@ export declare class Schema {
|
|
|
53
53
|
};
|
|
54
54
|
};
|
|
55
55
|
/**
|
|
56
|
-
* @throws
|
|
56
|
+
* @throws TokenValidationError
|
|
57
57
|
* @throws {@link StorageEncodingError}
|
|
58
58
|
*/
|
|
59
59
|
Encode(value?: any, semantics?: SemanticEncoding): any;
|
|
60
60
|
/**
|
|
61
|
-
*
|
|
61
|
+
* Produce a representation of the storage schema.
|
|
62
62
|
* Note: Provide guidance on how to write the storage object for the origination operation with Taquito.
|
|
63
63
|
*/
|
|
64
64
|
generateSchema(): TokenSchema;
|
|
65
65
|
/**
|
|
66
|
-
*
|
|
66
|
+
* Look up in top-level pairs of the storage to find a value matching the specified type
|
|
67
67
|
*
|
|
68
68
|
* @returns The first value found that match the type or `undefined` if no value is found
|
|
69
69
|
*
|
|
@@ -77,7 +77,7 @@ export declare class Schema {
|
|
|
77
77
|
*/
|
|
78
78
|
private findValue;
|
|
79
79
|
/**
|
|
80
|
-
*
|
|
80
|
+
* Look up the schema to find any occurrence of a particular token.
|
|
81
81
|
*
|
|
82
82
|
* @returns an array of tokens of the specified kind or an empty array if no token was found
|
|
83
83
|
*
|
|
@@ -9,7 +9,7 @@ export declare class ViewSchema {
|
|
|
9
9
|
private rootReturnType;
|
|
10
10
|
/**
|
|
11
11
|
*
|
|
12
|
-
*
|
|
12
|
+
* Create an instance of ViewSchema for each view in a script
|
|
13
13
|
*
|
|
14
14
|
* @param val contract script obtained from the RPC
|
|
15
15
|
* @returns array of ViewSchema or empty array if there is no view in the contract
|
|
@@ -24,7 +24,7 @@ export declare class ViewSchema {
|
|
|
24
24
|
constructor(viewArgs: MichelsonV1Expression[] | undefined);
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
|
-
*
|
|
27
|
+
* Transform the view parameter into Michelson
|
|
28
28
|
*
|
|
29
29
|
* @param args parameter of the view in js format
|
|
30
30
|
* @returns parameter of the view in Michelson
|
|
@@ -33,7 +33,7 @@ export declare class ViewSchema {
|
|
|
33
33
|
encodeViewArgs(args: any): any;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
|
-
*
|
|
36
|
+
* Transform the view result from Michelson to readable data
|
|
37
37
|
*
|
|
38
38
|
* @param val result of the view in JSON Michelson
|
|
39
39
|
* @param semantics optional semantics to override the default decoding behavior
|
|
@@ -42,12 +42,12 @@ export declare class ViewSchema {
|
|
|
42
42
|
decodeViewResult(val: any, semantics?: Semantic): any;
|
|
43
43
|
/**
|
|
44
44
|
*
|
|
45
|
-
*
|
|
45
|
+
* Return the signature of the view parameter
|
|
46
46
|
*/
|
|
47
47
|
extractArgsSchema(): import("./types").TokenSchema;
|
|
48
48
|
/**
|
|
49
49
|
*
|
|
50
|
-
*
|
|
50
|
+
* Return the format of the view result
|
|
51
51
|
*/
|
|
52
52
|
extractResultSchema(): import("./types").TokenSchema;
|
|
53
53
|
}
|
|
@@ -2,7 +2,7 @@ import { BigMapTokenSchema } from '../schema/types';
|
|
|
2
2
|
import { ComparableToken, Semantic, SemanticEncoding, Token, TokenFactory, TokenValidationError } from './token';
|
|
3
3
|
/**
|
|
4
4
|
* @category Error
|
|
5
|
-
*
|
|
5
|
+
* Error that indicates a failure happening when parsing encoding/executing Big Map types
|
|
6
6
|
*/
|
|
7
7
|
export declare class BigMapValidationError extends TokenValidationError {
|
|
8
8
|
value: any;
|
|
@@ -2,7 +2,7 @@ import { BaseTokenSchema } from '../schema/types';
|
|
|
2
2
|
import { SemanticEncoding, Token, TokenFactory, TokenValidationError } from './token';
|
|
3
3
|
/**
|
|
4
4
|
* @category Error
|
|
5
|
-
*
|
|
5
|
+
* Error that indicates a failure happening when parsing encoding/executing a BLS12-381 scalar field Fr
|
|
6
6
|
*/
|
|
7
7
|
export declare class Bls12381frValidationError extends TokenValidationError {
|
|
8
8
|
value: any;
|
|
@@ -43,7 +43,7 @@ export declare class Bls12381frToken extends Token {
|
|
|
43
43
|
* @throws {@link Bls12381frValidationError}
|
|
44
44
|
*/
|
|
45
45
|
EncodeObject(val: string | Uint8Array | number, semantic?: SemanticEncoding): import("@taquito/rpc").MichelsonV1ExpressionExtended | import("@taquito/rpc").MichelsonV1ExpressionBase | import("@taquito/rpc").MichelsonV1Expression[] | {
|
|
46
|
-
bytes: string | number | Uint8Array
|
|
46
|
+
bytes: string | number | Uint8Array<ArrayBufferLike>;
|
|
47
47
|
};
|
|
48
48
|
Execute(val: any): string;
|
|
49
49
|
generateSchema(): BaseTokenSchema;
|
|
@@ -2,7 +2,7 @@ import { BaseTokenSchema } from '../schema/types';
|
|
|
2
2
|
import { SemanticEncoding, Token, TokenFactory, TokenValidationError } from './token';
|
|
3
3
|
/**
|
|
4
4
|
* @category Error
|
|
5
|
-
*
|
|
5
|
+
* Error that indicates a failure happening when parsing encoding/executing a BLS12-381 curve G1
|
|
6
6
|
*/
|
|
7
7
|
export declare class Bls12381g1ValidationError extends TokenValidationError {
|
|
8
8
|
value: any;
|
|
@@ -39,7 +39,7 @@ export declare class Bls12381g1Token extends Token {
|
|
|
39
39
|
* @throws {@link Bls12381g1ValidationError}
|
|
40
40
|
*/
|
|
41
41
|
EncodeObject(val: string | Uint8Array, semantic?: SemanticEncoding): import("@taquito/rpc").MichelsonV1ExpressionExtended | import("@taquito/rpc").MichelsonV1ExpressionBase | import("@taquito/rpc").MichelsonV1Expression[] | {
|
|
42
|
-
bytes: string | Uint8Array
|
|
42
|
+
bytes: string | Uint8Array<ArrayBufferLike>;
|
|
43
43
|
};
|
|
44
44
|
Execute(val: any): string;
|
|
45
45
|
generateSchema(): BaseTokenSchema;
|
|
@@ -2,7 +2,7 @@ import { BaseTokenSchema } from '../schema/types';
|
|
|
2
2
|
import { SemanticEncoding, Token, TokenFactory, TokenValidationError } from './token';
|
|
3
3
|
/**
|
|
4
4
|
* @category Error
|
|
5
|
-
*
|
|
5
|
+
* Error that indicates a failure happening when parsing encoding/executing a BLS12-381 curve G2
|
|
6
6
|
*/
|
|
7
7
|
export declare class Bls12381g2ValidationError extends TokenValidationError {
|
|
8
8
|
value: any;
|
|
@@ -39,7 +39,7 @@ export declare class Bls12381g2Token extends Token {
|
|
|
39
39
|
* @throws {@link Bls12381g2ValidationError}
|
|
40
40
|
*/
|
|
41
41
|
EncodeObject(val: string | Uint8Array, semantic?: SemanticEncoding): import("@taquito/rpc").MichelsonV1ExpressionExtended | import("@taquito/rpc").MichelsonV1ExpressionBase | import("@taquito/rpc").MichelsonV1Expression[] | {
|
|
42
|
-
bytes: string | Uint8Array
|
|
42
|
+
bytes: string | Uint8Array<ArrayBufferLike>;
|
|
43
43
|
};
|
|
44
44
|
Execute(val: any): string;
|
|
45
45
|
generateSchema(): BaseTokenSchema;
|
|
@@ -2,7 +2,7 @@ import { Token, TokenFactory, ComparableToken, TokenValidationError, SemanticEnc
|
|
|
2
2
|
import { BaseTokenSchema } from '../schema/types';
|
|
3
3
|
/**
|
|
4
4
|
* @category Error
|
|
5
|
-
*
|
|
5
|
+
* Error that indicates a failure happening when parsing encoding/executing a ChainID
|
|
6
6
|
*/
|
|
7
7
|
export declare class ChainIDValidationError extends TokenValidationError {
|
|
8
8
|
value: any;
|
|
@@ -2,7 +2,7 @@ import { BaseTokenSchema } from '../schema/types';
|
|
|
2
2
|
import { SemanticEncoding, Token, TokenFactory, TokenValidationError } from './token';
|
|
3
3
|
/**
|
|
4
4
|
* @category Error
|
|
5
|
-
*
|
|
5
|
+
* Error that indicates a failure happening when parsing encoding/executing a Chest Key
|
|
6
6
|
*/
|
|
7
7
|
export declare class ChestKeyValidationError extends TokenValidationError {
|
|
8
8
|
value: any;
|
|
@@ -39,7 +39,7 @@ export declare class ChestKeyToken extends Token {
|
|
|
39
39
|
* @throws {@link ChestKeyValidationError}
|
|
40
40
|
*/
|
|
41
41
|
EncodeObject(val: string | Uint8Array, semantic?: SemanticEncoding): import("@taquito/rpc").MichelsonV1ExpressionExtended | import("@taquito/rpc").MichelsonV1ExpressionBase | import("@taquito/rpc").MichelsonV1Expression[] | {
|
|
42
|
-
bytes: string | Uint8Array
|
|
42
|
+
bytes: string | Uint8Array<ArrayBufferLike>;
|
|
43
43
|
};
|
|
44
44
|
Execute(val: any): string;
|
|
45
45
|
generateSchema(): BaseTokenSchema;
|
|
@@ -2,7 +2,7 @@ import { BaseTokenSchema } from '../schema/types';
|
|
|
2
2
|
import { SemanticEncoding, Token, TokenFactory, TokenValidationError } from './token';
|
|
3
3
|
/**
|
|
4
4
|
* @category Error
|
|
5
|
-
*
|
|
5
|
+
* Error that indicates a failure happening when parsing encoding/executing a Chest
|
|
6
6
|
*/
|
|
7
7
|
export declare class ChestValidationError extends TokenValidationError {
|
|
8
8
|
value: any;
|
|
@@ -39,7 +39,7 @@ export declare class ChestToken extends Token {
|
|
|
39
39
|
* @throws {@link ChestKeyValidationError}
|
|
40
40
|
*/
|
|
41
41
|
EncodeObject(val: string | Uint8Array, semantic?: SemanticEncoding): import("@taquito/rpc").MichelsonV1ExpressionExtended | import("@taquito/rpc").MichelsonV1ExpressionBase | import("@taquito/rpc").MichelsonV1Expression[] | {
|
|
42
|
-
bytes: string | Uint8Array
|
|
42
|
+
bytes: string | Uint8Array<ArrayBufferLike>;
|
|
43
43
|
};
|
|
44
44
|
Execute(val: any): string;
|
|
45
45
|
generateSchema(): BaseTokenSchema;
|
|
@@ -2,7 +2,7 @@ import { Token, TokenFactory, ComparableToken, TokenValidationError, SemanticEnc
|
|
|
2
2
|
import { BaseTokenSchema } from '../../schema/types';
|
|
3
3
|
/**
|
|
4
4
|
* @category Error
|
|
5
|
-
*
|
|
5
|
+
* Error that indicates a failure happening when parsing encoding/executing an Address
|
|
6
6
|
*/
|
|
7
7
|
export declare class AddressValidationError extends TokenValidationError {
|
|
8
8
|
value: any;
|
|
@@ -2,7 +2,7 @@ import { BaseTokenSchema } from '../../schema/types';
|
|
|
2
2
|
import { TokenFactory, ComparableToken, TokenValidationError, Token, SemanticEncoding } from '../token';
|
|
3
3
|
/**
|
|
4
4
|
* @category Error
|
|
5
|
-
*
|
|
5
|
+
* Error that indicates a failure happening when parsing encoding/executing Bytes
|
|
6
6
|
*/
|
|
7
7
|
export declare class BytesValidationError extends TokenValidationError {
|
|
8
8
|
value: any;
|
|
@@ -2,7 +2,7 @@ import { Token, TokenFactory, ComparableToken, TokenValidationError, SemanticEnc
|
|
|
2
2
|
import { BaseTokenSchema } from '../../schema/types';
|
|
3
3
|
/**
|
|
4
4
|
* @category Error
|
|
5
|
-
*
|
|
5
|
+
* Error that indicates a failure happening when parsing encoding/executing Int
|
|
6
6
|
*/
|
|
7
7
|
export declare class IntValidationError extends TokenValidationError {
|
|
8
8
|
value: any;
|
|
@@ -2,7 +2,7 @@ import { Token, TokenFactory, ComparableToken, TokenValidationError, SemanticEnc
|
|
|
2
2
|
import { BaseTokenSchema } from '../../schema/types';
|
|
3
3
|
/**
|
|
4
4
|
* @category Error
|
|
5
|
-
*
|
|
5
|
+
* Error that indicates a failure happening when parsing encoding/executing Key Hash
|
|
6
6
|
*/
|
|
7
7
|
export declare class KeyHashValidationError extends TokenValidationError {
|
|
8
8
|
value: any;
|
|
@@ -3,7 +3,7 @@ import BigNumber from 'bignumber.js';
|
|
|
3
3
|
import { BaseTokenSchema } from '../../schema/types';
|
|
4
4
|
/**
|
|
5
5
|
* @category Error
|
|
6
|
-
*
|
|
6
|
+
* Error that indicates a failure happening when parsing encoding/executing Mutez
|
|
7
7
|
*/
|
|
8
8
|
export declare class MutezValidationError extends TokenValidationError {
|
|
9
9
|
value: any;
|
|
@@ -3,7 +3,7 @@ import BigNumber from 'bignumber.js';
|
|
|
3
3
|
import { BaseTokenSchema } from '../../schema/types';
|
|
4
4
|
/**
|
|
5
5
|
* @category Error
|
|
6
|
-
*
|
|
6
|
+
* Error that indicates a failure happening when parsing encoding/executing Nat
|
|
7
7
|
*/
|
|
8
8
|
export declare class NatValidationError extends TokenValidationError {
|
|
9
9
|
value: any;
|
|
@@ -2,7 +2,7 @@ import { ConstantTokenSchema } from '../schema/types';
|
|
|
2
2
|
import { Semantic, SemanticEncoding, Token, TokenFactory, TokenValidationError } from './token';
|
|
3
3
|
/**
|
|
4
4
|
* @category Error
|
|
5
|
-
*
|
|
5
|
+
* Error that indicates a failure happening when parsing encoding a Global Constant
|
|
6
6
|
*/
|
|
7
7
|
export declare class GlobalConstantEncodingError extends TokenValidationError {
|
|
8
8
|
value: any;
|
|
@@ -12,7 +12,7 @@ export declare class GlobalConstantEncodingError extends TokenValidationError {
|
|
|
12
12
|
}
|
|
13
13
|
/**
|
|
14
14
|
* @category Error
|
|
15
|
-
*
|
|
15
|
+
* Error that indicates a failure happening when parsing executing a Global Constant
|
|
16
16
|
*/
|
|
17
17
|
export declare class GlobalConstantDecodingError extends TokenValidationError {
|
|
18
18
|
value: any;
|
|
@@ -2,7 +2,7 @@ import { ContractTokenSchema } from '../schema/types';
|
|
|
2
2
|
import { SemanticEncoding, Token, TokenFactory, TokenValidationError } from './token';
|
|
3
3
|
/**
|
|
4
4
|
* @category Error
|
|
5
|
-
*
|
|
5
|
+
* Error that indicates a failure happening when parsing encoding/executing a Contract
|
|
6
6
|
*/
|
|
7
7
|
export declare class ContractValidationError extends TokenValidationError {
|
|
8
8
|
value: any;
|
|
@@ -2,7 +2,7 @@ import { Token } from './token';
|
|
|
2
2
|
import { TaquitoError } from '@taquito/core';
|
|
3
3
|
/**
|
|
4
4
|
* @category Error
|
|
5
|
-
*
|
|
5
|
+
* Error that indicates a script having an invalid type or it being unsupported by the Michelson Encoder. Note some protocol changes might affect this, we encourage users to open an issue so we can look into implementing support for said types.
|
|
6
6
|
*/
|
|
7
7
|
export declare class InvalidTokenError extends TaquitoError {
|
|
8
8
|
message: string;
|
|
@@ -12,7 +12,7 @@ export declare class InvalidTokenError extends TaquitoError {
|
|
|
12
12
|
}
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
|
-
*
|
|
15
|
+
* Create a token from a value
|
|
16
16
|
* @throws {@link InvalidTokenError} If the value passed is not supported by the Michelson Encoder
|
|
17
17
|
*/
|
|
18
18
|
export declare function createToken(val: any, idx: number, parentTokenType?: 'Or' | 'Pair' | 'Other' | undefined): Token;
|
|
@@ -2,7 +2,7 @@ import { ComparableToken, SemanticEncoding, Token, TokenFactory, TokenValidation
|
|
|
2
2
|
import { BaseTokenSchema } from '../schema/types';
|
|
3
3
|
/**
|
|
4
4
|
* @category Error
|
|
5
|
-
*
|
|
5
|
+
* Error that indicates a failure happening when parsing encoding/executing a Key
|
|
6
6
|
*/
|
|
7
7
|
export declare class KeyValidationError extends TokenValidationError {
|
|
8
8
|
value: any;
|
|
@@ -2,7 +2,7 @@ import { ListTokenSchema } from '../schema/types';
|
|
|
2
2
|
import { Token, TokenFactory, Semantic, TokenValidationError, SemanticEncoding } from './token';
|
|
3
3
|
/**
|
|
4
4
|
* @category Error
|
|
5
|
-
*
|
|
5
|
+
* Error that indicates a failure happening when parsing encoding/executing a List
|
|
6
6
|
*/
|
|
7
7
|
export declare class ListValidationError extends TokenValidationError {
|
|
8
8
|
value: any;
|
|
@@ -2,7 +2,7 @@ import { MapTokenSchema } from '../schema/types';
|
|
|
2
2
|
import { ComparableToken, Semantic, SemanticEncoding, Token, TokenFactory, TokenValidationError } from './token';
|
|
3
3
|
/**
|
|
4
4
|
* @category Error
|
|
5
|
-
*
|
|
5
|
+
* Error that indicates a failure happening when parsing encoding/executing a Map
|
|
6
6
|
*/
|
|
7
7
|
export declare class MapValidationError extends TokenValidationError {
|
|
8
8
|
value: any;
|
|
@@ -2,7 +2,7 @@ import { BaseTokenSchema } from '../schema/types';
|
|
|
2
2
|
import { SemanticEncoding, Token, TokenFactory, TokenValidationError } from './token';
|
|
3
3
|
/**
|
|
4
4
|
* @category Error
|
|
5
|
-
*
|
|
5
|
+
* Error that indicates a failure happening when parsing encoding/executing a Never Token
|
|
6
6
|
*/
|
|
7
7
|
export declare class NeverTokenError extends TokenValidationError {
|
|
8
8
|
value: any;
|
|
@@ -2,7 +2,7 @@ import { OrTokenSchema } from '../schema/types';
|
|
|
2
2
|
import { Token, TokenFactory, Semantic, ComparableToken, SemanticEncoding, TokenValidationError } from './token';
|
|
3
3
|
/**
|
|
4
4
|
* @category Error
|
|
5
|
-
*
|
|
5
|
+
* Error that indicates a failure happening when parsing encoding/executing an OrToken
|
|
6
6
|
*/
|
|
7
7
|
export declare class OrValidationError extends TokenValidationError {
|
|
8
8
|
value: any;
|
|
@@ -4,7 +4,7 @@ import { MichelsonV1Expression, MichelsonV1ExpressionExtended } from '@taquito/r
|
|
|
4
4
|
import { TaquitoError } from '@taquito/core';
|
|
5
5
|
/**
|
|
6
6
|
* @category Error
|
|
7
|
-
*
|
|
7
|
+
* Error that indicates in invalid token argument being passed
|
|
8
8
|
*/
|
|
9
9
|
export declare class TokenArgumentValidationError extends TaquitoError {
|
|
10
10
|
message: string;
|
|
@@ -13,7 +13,7 @@ export declare class TokenArgumentValidationError extends TaquitoError {
|
|
|
13
13
|
}
|
|
14
14
|
/**
|
|
15
15
|
* @category Error
|
|
16
|
-
*
|
|
16
|
+
* Error that indicates a failure occurring when doing a comparison of tokens
|
|
17
17
|
*/
|
|
18
18
|
export declare class TokenComparisonError extends TaquitoError {
|
|
19
19
|
val1: string;
|
|
@@ -2,7 +2,7 @@ import { SaplingStateTokenSchema } from '../schema/types';
|
|
|
2
2
|
import { Semantic, SemanticEncoding, Token, TokenFactory, TokenValidationError } from './token';
|
|
3
3
|
/**
|
|
4
4
|
* @category Error
|
|
5
|
-
*
|
|
5
|
+
* Error that indicates a failure happening when parsing encoding/executing a Sapling State
|
|
6
6
|
*/
|
|
7
7
|
export declare class SaplingStateValidationError extends TokenValidationError {
|
|
8
8
|
value: any;
|
|
@@ -2,7 +2,7 @@ import { SaplingTransactionDeprecatedTokenSchema } from '../schema/types';
|
|
|
2
2
|
import { SemanticEncoding, Token, TokenFactory, TokenValidationError } from './token';
|
|
3
3
|
/**
|
|
4
4
|
* @category Error
|
|
5
|
-
*
|
|
5
|
+
* Error that indicates a failure happening when parsing encoding/executing a Sapling Transaction Deprecated
|
|
6
6
|
*/
|
|
7
7
|
export declare class SaplingTransactionDeprecatedValidationError extends TokenValidationError {
|
|
8
8
|
value: any;
|
|
@@ -2,7 +2,7 @@ import { SaplingTransactionTokenSchema } from '../schema/types';
|
|
|
2
2
|
import { SemanticEncoding, Token, TokenFactory, TokenValidationError } from './token';
|
|
3
3
|
/**
|
|
4
4
|
* @category Error
|
|
5
|
-
*
|
|
5
|
+
* Error that indicates a failure happening when parsing encoding/executing a Sapling Transaction
|
|
6
6
|
*/
|
|
7
7
|
export declare class SaplingTransactionValidationError extends TokenValidationError {
|
|
8
8
|
value: any;
|
|
@@ -2,7 +2,7 @@ import { SetTokenSchema } from '../schema/types';
|
|
|
2
2
|
import { Token, TokenFactory, Semantic, TokenValidationError, ComparableToken, SemanticEncoding } from './token';
|
|
3
3
|
/**
|
|
4
4
|
* @category Error
|
|
5
|
-
*
|
|
5
|
+
* Error that indicates a failure happening when parsing encoding/executing a Set
|
|
6
6
|
*/
|
|
7
7
|
export declare class SetValidationError extends TokenValidationError {
|
|
8
8
|
value: any;
|