@taquito/taquito 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/README.md +1 -1
- package/dist/lib/batch/rpc-batch-provider.js +91 -83
- package/dist/lib/context.js +22 -26
- package/dist/lib/contract/big-map.js +16 -29
- package/dist/lib/contract/contract-methods/contract-method-object-param.js +7 -7
- package/dist/lib/contract/contract-methods/contract-on-chain-view.js +31 -44
- package/dist/lib/contract/contract.js +21 -32
- package/dist/lib/contract/errors.js +9 -9
- package/dist/lib/contract/prepare.js +36 -45
- package/dist/lib/contract/rpc-contract-provider.js +426 -475
- package/dist/lib/contract/sapling-state-abstraction.js +3 -14
- package/dist/lib/contract/semantic.js +2 -2
- package/dist/lib/errors.js +3 -3
- package/dist/lib/estimate/errors.js +1 -1
- package/dist/lib/estimate/estimate.js +66 -20
- package/dist/lib/estimate/rpc-estimate-provider.js +427 -460
- package/dist/lib/forger/composite-forger.js +16 -27
- package/dist/lib/forger/errors.js +2 -2
- package/dist/lib/forger/taquito-local-forger.js +9 -22
- package/dist/lib/global-constants/default-global-constants-provider.js +8 -19
- package/dist/lib/global-constants/errors.js +2 -2
- package/dist/lib/global-constants/noop-global-constants-provider.js +2 -13
- package/dist/lib/import-key.js +23 -34
- package/dist/lib/injector/rpc-injector.js +13 -24
- package/dist/lib/operations/ballot-operation.js +2 -3
- package/dist/lib/operations/delegate-operation.js +5 -8
- package/dist/lib/operations/drain-delegate-operation.js +1 -1
- package/dist/lib/operations/errors.js +9 -6
- package/dist/lib/operations/increase-paid-storage-operation.js +4 -7
- package/dist/lib/operations/operations.js +100 -30
- package/dist/lib/operations/origination-operation.js +16 -27
- package/dist/lib/operations/proposals-operation.js +2 -3
- package/dist/lib/operations/register-global-constant-operation.js +4 -7
- package/dist/lib/operations/reveal-operation.js +1 -1
- package/dist/lib/operations/smart-rollup-add-messages-operation.js +4 -7
- package/dist/lib/operations/smart-rollup-execute-outbox-message-operation.js +4 -7
- package/dist/lib/operations/smart-rollup-originate-operation.js +4 -7
- package/dist/lib/operations/transaction-operation.js +2 -2
- package/dist/lib/operations/transfer-ticket-operation.js +4 -6
- package/dist/lib/operations/types.js +17 -19
- package/dist/lib/operations/update-companion-key-operation.js +4 -7
- package/dist/lib/operations/update-consensus-key-operation.js +4 -7
- package/dist/lib/packer/michel-codec-packer.js +3 -14
- package/dist/lib/packer/rpc-packer.js +2 -13
- package/dist/lib/parser/michel-codec-parser.js +82 -107
- package/dist/lib/parser/noop-parser.js +2 -13
- package/dist/lib/prepare/prepare-provider.js +780 -744
- package/dist/lib/provider.js +322 -128
- package/dist/lib/read-provider/rpc-read-adapter.js +76 -121
- package/dist/lib/signer/errors.js +1 -1
- package/dist/lib/signer/noop.js +9 -26
- package/dist/lib/subscribe/errors.js +2 -2
- package/dist/lib/subscribe/polling-subcribe-provider.js +35 -38
- package/dist/lib/taquito.js +33 -33
- package/dist/lib/tz/rpc-tz-provider.js +27 -44
- package/dist/lib/version.js +2 -2
- package/dist/lib/wallet/batch-operation.js +32 -45
- package/dist/lib/wallet/delegation-operation.js +25 -40
- package/dist/lib/wallet/errors.js +15 -3
- package/dist/lib/wallet/increase-paid-storage-operation.js +25 -40
- package/dist/lib/wallet/legacy.js +28 -63
- package/dist/lib/wallet/operation-factory.js +27 -56
- package/dist/lib/wallet/operation.js +123 -59
- package/dist/lib/wallet/origination-operation.js +34 -46
- package/dist/lib/wallet/register-global-constant-operation.js +26 -43
- package/dist/lib/wallet/transaction-operation.js +21 -36
- package/dist/lib/wallet/transfer-ticket-operation.js +21 -36
- package/dist/lib/wallet/wallet.js +187 -184
- package/dist/taquito.es6.js +3424 -3197
- package/dist/taquito.es6.js.map +1 -1
- package/dist/taquito.min.js +1 -1
- package/dist/taquito.umd.js +7930 -7701
- package/dist/taquito.umd.js.map +1 -1
- package/dist/types/batch/rpc-batch-provider.d.ts +18 -18
- package/dist/types/context.d.ts +4 -4
- package/dist/types/contract/big-map.d.ts +3 -3
- package/dist/types/contract/contract-methods/contract-method-interface.d.ts +4 -4
- package/dist/types/contract/contract-methods/contract-method-object-param.d.ts +6 -6
- package/dist/types/contract/contract-methods/contract-on-chain-view.d.ts +3 -3
- package/dist/types/contract/contract.d.ts +6 -6
- package/dist/types/contract/errors.d.ts +11 -11
- package/dist/types/contract/interface.d.ts +42 -42
- package/dist/types/contract/rpc-contract-provider.d.ts +44 -43
- package/dist/types/contract/sapling-state-abstraction.d.ts +1 -1
- package/dist/types/contract/semantic.d.ts +2 -2
- package/dist/types/errors.d.ts +5 -5
- package/dist/types/estimate/errors.d.ts +1 -1
- package/dist/types/estimate/estimate-provider-interface.d.ts +81 -84
- package/dist/types/estimate/estimate.d.ts +28 -11
- package/dist/types/estimate/rpc-estimate-provider.d.ts +34 -30
- package/dist/types/forger/errors.d.ts +2 -2
- package/dist/types/global-constants/default-global-constants-provider.d.ts +2 -2
- package/dist/types/global-constants/errors.d.ts +2 -2
- package/dist/types/global-constants/interface-global-constants-provider.d.ts +1 -1
- package/dist/types/import-key.d.ts +2 -2
- package/dist/types/operations/ballot-operation.d.ts +1 -1
- package/dist/types/operations/delegate-operation.d.ts +2 -2
- package/dist/types/operations/drain-delegate-operation.d.ts +1 -1
- package/dist/types/operations/errors.d.ts +5 -5
- package/dist/types/operations/failing-noop-operation.d.ts +1 -1
- package/dist/types/operations/increase-paid-storage-operation.d.ts +1 -1
- package/dist/types/operations/operations.d.ts +2 -2
- package/dist/types/operations/origination-operation.d.ts +5 -5
- package/dist/types/operations/proposals-operation.d.ts +1 -1
- package/dist/types/operations/register-global-constant-operation.d.ts +2 -2
- package/dist/types/operations/reveal-operation.d.ts +1 -1
- package/dist/types/operations/smart-rollup-add-messages-operation.d.ts +1 -1
- package/dist/types/operations/smart-rollup-execute-outbox-message-operation.d.ts +1 -1
- package/dist/types/operations/smart-rollup-originate-operation.d.ts +1 -1
- package/dist/types/operations/transaction-operation.d.ts +2 -2
- package/dist/types/operations/transfer-ticket-operation.d.ts +2 -2
- package/dist/types/operations/types.d.ts +387 -25
- package/dist/types/operations/update-companion-key-operation.d.ts +1 -1
- package/dist/types/operations/update-consensus-key-operation.d.ts +1 -1
- package/dist/types/prepare/interface.d.ts +32 -33
- package/dist/types/prepare/prepare-provider.d.ts +34 -60
- package/dist/types/provider.d.ts +7 -1
- package/dist/types/read-provider/interface.d.ts +21 -21
- package/dist/types/read-provider/rpc-read-adapter.d.ts +22 -22
- package/dist/types/signer/errors.d.ts +1 -1
- package/dist/types/signer/noop.d.ts +1 -1
- package/dist/types/subscribe/errors.d.ts +2 -2
- package/dist/types/taquito.d.ts +33 -33
- package/dist/types/wallet/errors.d.ts +10 -2
- package/dist/types/wallet/interface.d.ts +13 -13
- package/dist/types/wallet/operation.d.ts +4 -3
- package/dist/types/wallet/wallet.d.ts +36 -35
- package/package.json +27 -15
- package/LICENSE +0 -202
package/dist/taquito.umd.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taquito.umd.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"taquito.umd.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -15,21 +15,21 @@ export declare class OperationBatch extends Provider {
|
|
|
15
15
|
private prepare;
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
|
-
*
|
|
18
|
+
* Add a transaction operation to the batch
|
|
19
19
|
*
|
|
20
20
|
* @param params Transfer operation parameter
|
|
21
21
|
*/
|
|
22
22
|
withTransfer(params: TransferParams): this;
|
|
23
23
|
/**
|
|
24
24
|
*
|
|
25
|
-
*
|
|
25
|
+
* Transfer tickets from a Tezos address (tz1,tz2 or tz3) to a smart contract address( KT1)
|
|
26
26
|
*
|
|
27
27
|
* @param params Transfer operation parameter
|
|
28
28
|
*/
|
|
29
29
|
withTransferTicket(params: TransferTicketParams): this;
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
|
-
*
|
|
32
|
+
* Add a contract call to the batch
|
|
33
33
|
*
|
|
34
34
|
* @param params Call a contract method
|
|
35
35
|
* @param options Generic operation parameters
|
|
@@ -37,71 +37,71 @@ export declare class OperationBatch extends Provider {
|
|
|
37
37
|
withContractCall(params: ContractMethodObject<ContractProvider>, options?: Partial<SendParams>): this;
|
|
38
38
|
/**
|
|
39
39
|
*
|
|
40
|
-
*
|
|
40
|
+
* Add a delegation operation to the batch
|
|
41
41
|
*
|
|
42
42
|
* @param params Delegation operation parameter
|
|
43
43
|
*/
|
|
44
44
|
withDelegation(params: DelegateParams): this;
|
|
45
45
|
/**
|
|
46
46
|
*
|
|
47
|
-
*
|
|
47
|
+
* Add an activation operation to the batch
|
|
48
48
|
*
|
|
49
49
|
* @param params Activation operation parameter
|
|
50
|
-
* @throws
|
|
50
|
+
* @throws InvalidKeyHashError
|
|
51
51
|
*/
|
|
52
52
|
withActivation({ pkh, secret }: ActivationParams): this;
|
|
53
53
|
/**
|
|
54
54
|
*
|
|
55
|
-
*
|
|
55
|
+
* Add an origination operation to the batch
|
|
56
56
|
*
|
|
57
57
|
* @param params Origination operation parameter
|
|
58
58
|
*/
|
|
59
59
|
withOrigination<TContract extends DefaultContractType = DefaultContractType>(params: OriginateParams<ContractStorageType<TContract>>): this;
|
|
60
60
|
/**
|
|
61
61
|
*
|
|
62
|
-
*
|
|
62
|
+
* Add a register a global constant operation to the batch
|
|
63
63
|
*
|
|
64
64
|
* @param params RegisterGlobalConstant operation parameter
|
|
65
65
|
*/
|
|
66
66
|
withRegisterGlobalConstant(params: RegisterGlobalConstantParams): this;
|
|
67
67
|
/**
|
|
68
68
|
*
|
|
69
|
-
*
|
|
69
|
+
* Add an increase paid storage operation to the batch
|
|
70
70
|
*
|
|
71
71
|
* @param params IncreasePaidStorage operation parameter
|
|
72
72
|
*/
|
|
73
73
|
withIncreasePaidStorage(params: IncreasePaidStorageParams): this;
|
|
74
74
|
/**
|
|
75
75
|
*
|
|
76
|
-
*
|
|
76
|
+
* Add a update consensus key operation to the batch
|
|
77
77
|
*
|
|
78
78
|
* @param params UpdateConsensusKey operation parameter
|
|
79
79
|
*/
|
|
80
80
|
withUpdateConsensusKey(params: UpdateConsensusKeyParams): this;
|
|
81
81
|
/**
|
|
82
82
|
*
|
|
83
|
-
*
|
|
83
|
+
* Add a update companion key operation to the batch
|
|
84
84
|
*
|
|
85
85
|
* @param params UpdateCompanionKey operation parameter
|
|
86
86
|
*/
|
|
87
87
|
withUpdateCompanionKey(params: UpdateCompanionKeyParams): this;
|
|
88
88
|
/**
|
|
89
89
|
*
|
|
90
|
-
*
|
|
90
|
+
* Add a smart rollup add messages operation to the batch
|
|
91
91
|
*
|
|
92
92
|
* @param params Rollup origination operation parameter
|
|
93
93
|
*/
|
|
94
94
|
withSmartRollupAddMessages(params: SmartRollupAddMessagesParams): this;
|
|
95
95
|
/**
|
|
96
96
|
*
|
|
97
|
-
*
|
|
97
|
+
* Add a smart rollup originate operation to the batch
|
|
98
98
|
*
|
|
99
99
|
* @param params Smart Rollup Originate operation parameter
|
|
100
100
|
*/
|
|
101
101
|
withSmartRollupOriginate(params: SmartRollupOriginateParams): this;
|
|
102
102
|
/**
|
|
103
103
|
*
|
|
104
|
-
*
|
|
104
|
+
* Add a smart rollup execute outbox message to the batch
|
|
105
105
|
*
|
|
106
106
|
* @param params Smart Rollup Execute Outbox Message operation parameter
|
|
107
107
|
*/
|
|
@@ -109,15 +109,15 @@ export declare class OperationBatch extends Provider {
|
|
|
109
109
|
getRPCOp(param: ParamsWithKind): Promise<import("../operations/types").RPCTransferOperation | import("../operations/types").RPCOriginationOperation | import("../operations/types").RPCDelegateOperation | import("../operations/types").RPCRegisterGlobalConstantOperation | import("../operations/types").RPCIncreasePaidStorageOperation | import("../operations/types").RPCUpdateConsensusKeyOperation | import("../operations/types").RPCUpdateCompanionKeyOperation | import("../operations/types").RPCTransferTicketOperation | import("../operations/types").RPCSmartRollupAddMessagesOperation | import("../operations/types").RPCSmartRollupOriginateOperation | import("../operations/types").RPCSmartRollupOutboxMessageOperation>;
|
|
110
110
|
/**
|
|
111
111
|
*
|
|
112
|
-
*
|
|
112
|
+
* Add a group operation to the batch. Operation will be applied in the order they are in the params array
|
|
113
113
|
*
|
|
114
114
|
* @param params Operations parameter
|
|
115
|
-
* @throws
|
|
115
|
+
* @throws InvalidOperationKindError
|
|
116
116
|
*/
|
|
117
117
|
with(params: ParamsWithKind[]): this;
|
|
118
118
|
/**
|
|
119
119
|
*
|
|
120
|
-
*
|
|
120
|
+
* Forge and Inject the operation batch
|
|
121
121
|
*
|
|
122
122
|
* @param params Optionally specify the source of the operation
|
|
123
123
|
*/
|
|
@@ -131,7 +131,7 @@ export declare class RPCBatchProvider {
|
|
|
131
131
|
constructor(context: Context, estimator: EstimationProvider);
|
|
132
132
|
/***
|
|
133
133
|
*
|
|
134
|
-
*
|
|
134
|
+
* Batch a group of operation together. Operations will be applied in the order in which they are added to the batch
|
|
135
135
|
*
|
|
136
136
|
* @param params List of operation to batch together
|
|
137
137
|
*/
|
package/dist/types/context.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ export interface ConfigConfirmation {
|
|
|
25
25
|
}
|
|
26
26
|
export declare const defaultConfigConfirmation: ConfigConfirmation;
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
28
|
+
* Encapsulate common service used throughout different part of the library
|
|
29
29
|
*/
|
|
30
30
|
export declare class Context {
|
|
31
31
|
private _rpc;
|
|
@@ -84,15 +84,15 @@ export declare class Context {
|
|
|
84
84
|
isAnyProtocolActive(protocol?: string[]): Promise<boolean>;
|
|
85
85
|
isAnySignerConfigured(): boolean;
|
|
86
86
|
/**
|
|
87
|
-
*
|
|
87
|
+
* Create a copy of the current context. Useful when you have long running operation and you do not want a context change to affect the operation
|
|
88
88
|
*/
|
|
89
89
|
clone(): Context;
|
|
90
90
|
/**
|
|
91
|
-
*
|
|
91
|
+
* Allows extensions set on the TezosToolkit to inject logic into the context
|
|
92
92
|
*/
|
|
93
93
|
registerProviderDecorator(fx: (context: Context) => Context): void;
|
|
94
94
|
/**
|
|
95
|
-
*
|
|
95
|
+
* Applies the decorators on a cloned instance of the context and returned this cloned instance.
|
|
96
96
|
* The decorators are functions that inject logic into the context.
|
|
97
97
|
* They are provided by the extensions set on the TezosToolkit by calling the registerProviderDecorator method.
|
|
98
98
|
*/
|
|
@@ -8,9 +8,9 @@ export declare class BigMapAbstraction {
|
|
|
8
8
|
constructor(id: BigNumber, schema: Schema, provider: ContractProvider);
|
|
9
9
|
/**
|
|
10
10
|
*
|
|
11
|
-
*
|
|
11
|
+
* Fetch one value in a big map
|
|
12
12
|
*
|
|
13
|
-
* @param
|
|
13
|
+
* @param keyToEncode Key to query (will be encoded properly according to the schema)
|
|
14
14
|
* @param block optional block level to fetch the values from (head will be use by default)
|
|
15
15
|
* @returns Return a well formatted json object of a big map value or undefined if the key is not found in the big map
|
|
16
16
|
*
|
|
@@ -18,7 +18,7 @@ export declare class BigMapAbstraction {
|
|
|
18
18
|
get<T>(keyToEncode: BigMapKeyType, block?: number): Promise<T | undefined>;
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
|
-
*
|
|
21
|
+
* Fetch multiple values in a big map
|
|
22
22
|
* All values will be fetched on the same block level. If a block is specified in the request, the values will be fetched at it.
|
|
23
23
|
* Otherwise, a first request will be done to the node to fetch the level of the head and all values will be fetched at this level.
|
|
24
24
|
* If one of the keys does not exist in the big map, its value will be set to undefined.
|
|
@@ -13,16 +13,16 @@ export type ExplicitTransferParams = Required<Omit<TransferParams, keyof SendPar
|
|
|
13
13
|
export interface ContractMethodInterface {
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
|
-
*
|
|
16
|
+
* Send the smart contract operation
|
|
17
17
|
*
|
|
18
|
-
* @param
|
|
18
|
+
* @param params generic operation parameter
|
|
19
19
|
*/
|
|
20
20
|
send(params: Partial<SendParams>): Promise<TransactionWalletOperation | TransactionOperation>;
|
|
21
21
|
/**
|
|
22
22
|
*
|
|
23
|
-
*
|
|
23
|
+
* Create transfer params to be used with TezosToolkit.contract.transfer methods
|
|
24
24
|
*
|
|
25
|
-
* @param
|
|
25
|
+
* @param params generic transfer operation parameters
|
|
26
26
|
*/
|
|
27
27
|
toTransferParams(params: Partial<SendParams>): TransferParams;
|
|
28
28
|
}
|
|
@@ -6,7 +6,7 @@ import { TransactionWalletOperation } from '../../wallet/transaction-operation';
|
|
|
6
6
|
import { ParameterSchema } from '@taquito/michelson-encoder';
|
|
7
7
|
import { ContractMethodInterface, SendParams } from './contract-method-interface';
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Utility class to send smart contract operation
|
|
10
10
|
* The format for the arguments is the object representation
|
|
11
11
|
*/
|
|
12
12
|
export declare class ContractMethodObject<T extends ContractProvider | Wallet> implements ContractMethodInterface {
|
|
@@ -19,21 +19,21 @@ export declare class ContractMethodObject<T extends ContractProvider | Wallet> i
|
|
|
19
19
|
private isAnonymous;
|
|
20
20
|
constructor(provider: T, address: string, parameterSchema: ParameterSchema, name: string, args?: any, isMultipleEntrypoint?: boolean, isAnonymous?: boolean);
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Get the signature of the smart contract method
|
|
23
23
|
*/
|
|
24
24
|
getSignature(): unknown;
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
|
-
*
|
|
27
|
+
* Send the smart contract operation
|
|
28
28
|
*
|
|
29
|
-
* @param
|
|
29
|
+
* @param params generic operation parameter
|
|
30
30
|
*/
|
|
31
31
|
send(params?: Partial<SendParams>): Promise<T extends Wallet ? TransactionWalletOperation : TransactionOperation>;
|
|
32
32
|
/**
|
|
33
33
|
*
|
|
34
|
-
*
|
|
34
|
+
* Create transfer params to be used with TezosToolkit.contract.transfer methods
|
|
35
35
|
*
|
|
36
|
-
* @param
|
|
36
|
+
* @param params generic transfer operation parameters
|
|
37
37
|
*/
|
|
38
38
|
toTransferParams({ fee, gasLimit, storageLimit, source, amount, mutez, }?: Partial<SendParams>): TransferParams;
|
|
39
39
|
}
|
|
@@ -14,14 +14,14 @@ export declare class OnChainView {
|
|
|
14
14
|
private _args;
|
|
15
15
|
constructor(_rpc: RpcClientInterface, _readProvider: TzReadProvider, _contractAddress: string, _smartContractViewSchema: ViewSchema, _contractStorageType: MichelsonV1Expression, _args?: any);
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* Get the signature of the smart contract view
|
|
18
18
|
*/
|
|
19
19
|
getSignature(): {
|
|
20
20
|
parameter: import("@taquito/michelson-encoder").TokenSchema;
|
|
21
21
|
result: import("@taquito/michelson-encoder").TokenSchema;
|
|
22
22
|
};
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
24
|
+
* Get the result of the view simulation
|
|
25
25
|
* @param executionContext.source the public key hash of the account who initialized this view execution.
|
|
26
26
|
* @param executionContext.viewCaller the contract address which is the caller of view.
|
|
27
27
|
*/
|
|
@@ -29,7 +29,7 @@ export declare class OnChainView {
|
|
|
29
29
|
private verifyContextExecution;
|
|
30
30
|
private transformArgsToMichelson;
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* Loops through the view's instructions and replace BALANCE, SENDER, SELF_ADDRESS and AMOUNT with Michelson expressions that match the current context, if applicable.
|
|
33
33
|
*
|
|
34
34
|
* Certain specific instructions have different semantics in view:
|
|
35
35
|
* BALANCE represents the current amount of mutez held by the contract where view is;
|
|
@@ -9,7 +9,7 @@ import { ContractProvider, StorageProvider } from './interface';
|
|
|
9
9
|
import { DEFAULT_SMART_CONTRACT_METHOD_NAME } from './constants';
|
|
10
10
|
export { DEFAULT_SMART_CONTRACT_METHOD_NAME };
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Utility class to retrieve data from a smart contract's storage without incurring fees via a contract's view method
|
|
13
13
|
*/
|
|
14
14
|
export declare class ContractView {
|
|
15
15
|
private currentContract;
|
|
@@ -33,7 +33,7 @@ export type ContractStorageType<T extends ContractAbstraction<ContractProvider |
|
|
|
33
33
|
export type DefaultContractType = ContractAbstraction<ContractProvider>;
|
|
34
34
|
export type DefaultWalletType = ContractAbstraction<Wallet>;
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
36
|
+
* Smart contract abstraction
|
|
37
37
|
*/
|
|
38
38
|
export declare class ContractAbstraction<T extends ContractProvider | Wallet, TMethodsObject extends DefaultMethodsObject<T> = DefaultMethodsObject<T>, TViews extends DefaultViews = DefaultViews, TContractViews extends DefaultContractViews = DefaultContractViews, TStorage extends DefaultStorage = DefaultStorage> {
|
|
39
39
|
readonly address: string;
|
|
@@ -44,19 +44,19 @@ export declare class ContractAbstraction<T extends ContractProvider | Wallet, TM
|
|
|
44
44
|
private readProvider;
|
|
45
45
|
private contractMethodFactory;
|
|
46
46
|
/**
|
|
47
|
-
*
|
|
47
|
+
* Contains methods that are implemented by the target Tezos Smart Contract, and offers the user to call the Smart Contract methods as if they were native TS/JS methods.
|
|
48
48
|
* `methodsObject` serves the exact same purpose as the `methods` member. The difference is that it allows passing the parameter in an object format when calling the smart contract method (instead of the flattened representation)
|
|
49
49
|
* NB: if the contract contains annotation it will include named properties; if not it will be indexed by a number.
|
|
50
50
|
*
|
|
51
51
|
*/
|
|
52
52
|
methodsObject: TMethodsObject;
|
|
53
53
|
/**
|
|
54
|
-
*
|
|
54
|
+
* Contains lamda views (tzip4) that are implemented by the target Tezos Smart Contract, and offers the user to call the lambda views as if they were native TS/JS methods.
|
|
55
55
|
* NB: These are the view defined in the tzip4 standard, not the views introduced by the Hangzhou protocol.
|
|
56
56
|
*/
|
|
57
57
|
views: TViews;
|
|
58
58
|
/**
|
|
59
|
-
*
|
|
59
|
+
* Contains on-chain views that are defined by the target Tezos Smart Contract, and offers the user to simulate the views execution as if they were native TS/JS methods.
|
|
60
60
|
* NB: the expected format for the parameter when calling a smart contract view is the object format (same format as for the storage) and not the flattened representation.
|
|
61
61
|
*
|
|
62
62
|
*/
|
|
@@ -69,7 +69,7 @@ export declare class ContractAbstraction<T extends ContractProvider | Wallet, TM
|
|
|
69
69
|
private _initializeMethods;
|
|
70
70
|
private _initializeOnChainViews;
|
|
71
71
|
/**
|
|
72
|
-
*
|
|
72
|
+
* Return a friendly representation of the smart contract storage
|
|
73
73
|
*/
|
|
74
74
|
storage<T extends TStorage = TStorage>(): Promise<T>;
|
|
75
75
|
}
|
|
@@ -3,7 +3,7 @@ import { HttpResponseError } from '@taquito/http-utils';
|
|
|
3
3
|
import { MichelsonV1Expression } from '@taquito/rpc';
|
|
4
4
|
/**
|
|
5
5
|
* @category Error
|
|
6
|
-
*
|
|
6
|
+
* Error that indicates invalid smart contract parameters being passed or used
|
|
7
7
|
*/
|
|
8
8
|
export declare class InvalidParameterError extends ParameterValidationError {
|
|
9
9
|
readonly smartContractMethodName: string;
|
|
@@ -13,7 +13,7 @@ export declare class InvalidParameterError extends ParameterValidationError {
|
|
|
13
13
|
}
|
|
14
14
|
/**
|
|
15
15
|
* @category Error
|
|
16
|
-
*
|
|
16
|
+
* Error that indicates an invalid delegation source contract address being passed or used
|
|
17
17
|
*/
|
|
18
18
|
export declare class InvalidDelegationSource extends ParameterValidationError {
|
|
19
19
|
readonly source: string;
|
|
@@ -21,7 +21,7 @@ export declare class InvalidDelegationSource extends ParameterValidationError {
|
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
23
|
* @category Error
|
|
24
|
-
*
|
|
24
|
+
* Error that indicates an invalid smart contract code parameter being passed or used
|
|
25
25
|
*/
|
|
26
26
|
export declare class InvalidCodeParameter extends ParameterValidationError {
|
|
27
27
|
readonly message: string;
|
|
@@ -30,7 +30,7 @@ export declare class InvalidCodeParameter extends ParameterValidationError {
|
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
32
|
* @category Error
|
|
33
|
-
*
|
|
33
|
+
* Error that indicates invalid smart contract init parameter being passed or used
|
|
34
34
|
*/
|
|
35
35
|
export declare class InvalidInitParameter extends ParameterValidationError {
|
|
36
36
|
readonly message: string;
|
|
@@ -39,19 +39,19 @@ export declare class InvalidInitParameter extends ParameterValidationError {
|
|
|
39
39
|
}
|
|
40
40
|
/**
|
|
41
41
|
* @category Error
|
|
42
|
-
*
|
|
42
|
+
* Error that indicates a failure when conducting a view simulation
|
|
43
43
|
*/
|
|
44
44
|
export declare class ViewSimulationError extends RpcError {
|
|
45
45
|
readonly message: string;
|
|
46
46
|
readonly viewName: string;
|
|
47
47
|
readonly failWith?: MichelsonV1Expression | undefined;
|
|
48
|
-
readonly cause?: any;
|
|
49
|
-
constructor(message: string, viewName: string, failWith?: MichelsonV1Expression | undefined, cause?: any);
|
|
48
|
+
readonly cause?: any | undefined;
|
|
49
|
+
constructor(message: string, viewName: string, failWith?: MichelsonV1Expression | undefined, cause?: any | undefined);
|
|
50
50
|
}
|
|
51
51
|
export declare const validateAndExtractFailwith: (error: HttpResponseError) => MichelsonV1Expression | undefined;
|
|
52
52
|
/**
|
|
53
53
|
* @category Error
|
|
54
|
-
*
|
|
54
|
+
* Error that indicates invalid or unconfigured context when executing a view
|
|
55
55
|
*/
|
|
56
56
|
export declare class InvalidViewSimulationContext extends ParameterValidationError {
|
|
57
57
|
readonly info: string;
|
|
@@ -59,7 +59,7 @@ export declare class InvalidViewSimulationContext extends ParameterValidationErr
|
|
|
59
59
|
}
|
|
60
60
|
/**
|
|
61
61
|
* @category Error
|
|
62
|
-
*
|
|
62
|
+
* Error that indicates a mistake happening during the reveal operation
|
|
63
63
|
*/
|
|
64
64
|
export declare class RevealOperationError extends RpcError {
|
|
65
65
|
readonly message: string;
|
|
@@ -67,7 +67,7 @@ export declare class RevealOperationError extends RpcError {
|
|
|
67
67
|
}
|
|
68
68
|
/**
|
|
69
69
|
* @category Error
|
|
70
|
-
*
|
|
70
|
+
* Error that indicates a mistake in the parameters in the preparation of an Origination operation
|
|
71
71
|
*/
|
|
72
72
|
export declare class OriginationParameterError extends ParameterValidationError {
|
|
73
73
|
readonly message: string;
|
|
@@ -75,7 +75,7 @@ export declare class OriginationParameterError extends ParameterValidationError
|
|
|
75
75
|
}
|
|
76
76
|
/**
|
|
77
77
|
* @category Error
|
|
78
|
-
*
|
|
78
|
+
* Error that indicates an invalid balance being passed or used
|
|
79
79
|
*/
|
|
80
80
|
export declare class InvalidBalanceError extends ParameterValidationError {
|
|
81
81
|
readonly message: string;
|