@taquito/taquito 22.0.0-beta.0 → 23.0.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/400.taquito.min.js +1 -0
- package/dist/993.taquito.min.js +1 -0
- package/dist/lib/constants.js +50 -17
- package/dist/lib/contract/rpc-contract-provider.js +4 -7
- package/dist/lib/estimate/rpc-estimate-provider.js +2 -6
- package/dist/lib/prepare/prepare-provider.js +4 -2
- package/dist/lib/subscribe/polling-subcribe-provider.js +7 -3
- package/dist/lib/version.js +2 -2
- package/dist/lib/wallet/operation-factory.js +1 -1
- package/dist/lib/wallet/operation.js +2 -2
- package/dist/lib/wallet/wallet.js +0 -3
- package/dist/taquito.es6.js +73 -44
- package/dist/taquito.es6.js.map +1 -1
- package/dist/taquito.min.js +1 -1
- package/dist/taquito.umd.js +74 -42
- package/dist/taquito.umd.js.map +1 -1
- package/dist/types/constants.d.ts +35 -2
- package/dist/types/contract/interface.d.ts +2 -2
- package/dist/types/contract/rpc-contract-provider.d.ts +3 -3
- package/dist/types/estimate/estimate-provider-interface.d.ts +2 -2
- package/dist/types/estimate/rpc-estimate-provider.d.ts +2 -3
- package/dist/types/prepare/interface.d.ts +2 -0
- package/dist/types/prepare/prepare-provider.d.ts +3 -1
- package/package.json +10 -10
package/dist/taquito.umd.js
CHANGED
|
@@ -157,25 +157,55 @@
|
|
|
157
157
|
});
|
|
158
158
|
}
|
|
159
159
|
|
|
160
|
-
|
|
160
|
+
/**
|
|
161
|
+
* @deprecated default reveal gasLimit please use getRevealGasLimit(address) instead, removing hardcoded gasLimit of delegation, origination and transfer
|
|
162
|
+
*/
|
|
163
|
+
const DEFAULT_GAS_LIMIT = {
|
|
164
|
+
DELEGATION: 10600,
|
|
165
|
+
ORIGINATION: 10600,
|
|
166
|
+
TRANSFER: 10600,
|
|
167
|
+
REVEAL_TZ1: 1000,
|
|
168
|
+
REVEAL_TZ2: 1000,
|
|
169
|
+
REVEAL_TZ3: 2000,
|
|
170
|
+
REVEAL_TZ4: 2000,
|
|
171
|
+
};
|
|
172
|
+
/**
|
|
173
|
+
* @deprecated default reveal fee please use getRevealFee(address) instead, removing hardcoded fee of delegation, origination and transfer
|
|
174
|
+
*/
|
|
175
|
+
const DEFAULT_FEE = {
|
|
176
|
+
DELEGATION: 1257,
|
|
177
|
+
ORIGINATION: 10000,
|
|
178
|
+
TRANSFER: 10000,
|
|
179
|
+
REVEAL: 374,
|
|
180
|
+
};
|
|
181
|
+
/**
|
|
182
|
+
* @deprecated default reveal storageLimit please use REVEAL_STORAGE_LIMIT instead, removing hardcoded storageLimit of delegation, origination and transfer
|
|
183
|
+
*/
|
|
184
|
+
const DEFAULT_STORAGE_LIMIT = {
|
|
185
|
+
DELEGATION: 0,
|
|
186
|
+
ORIGINATION: 257,
|
|
187
|
+
TRANSFER: 257,
|
|
188
|
+
REVEAL: 0,
|
|
189
|
+
};
|
|
190
|
+
// value is based on octez-client reveal operation gasLimit of each address type in Seoul Protocol
|
|
161
191
|
const REVEAL_GAS_LIMIT = {
|
|
162
|
-
TZ1:
|
|
163
|
-
TZ2:
|
|
164
|
-
TZ3:
|
|
165
|
-
TZ4:
|
|
192
|
+
TZ1: 171,
|
|
193
|
+
TZ2: 157,
|
|
194
|
+
TZ3: 447,
|
|
195
|
+
TZ4: 3252,
|
|
166
196
|
};
|
|
167
|
-
// value is based on octez-client reveal operation fee of each address type in
|
|
197
|
+
// value is based on octez-client reveal operation fee of each address type in Seoul Protocol
|
|
168
198
|
const REVEAL_FEE = {
|
|
169
|
-
TZ1:
|
|
170
|
-
TZ2:
|
|
171
|
-
TZ3:
|
|
172
|
-
TZ4:
|
|
199
|
+
TZ1: 278,
|
|
200
|
+
TZ2: 277,
|
|
201
|
+
TZ3: 306,
|
|
202
|
+
TZ4: 736,
|
|
173
203
|
};
|
|
174
|
-
// value is based on octez-client reveal operation storageLimit of all address type in
|
|
204
|
+
// value is based on octez-client reveal operation storageLimit of all address type in Seoul Protocol
|
|
175
205
|
const REVEAL_STORAGE_LIMIT = 0;
|
|
176
|
-
// protocol constants in
|
|
206
|
+
// protocol constants in Seoul Protocol
|
|
177
207
|
const ORIGINATION_SIZE = 257;
|
|
178
|
-
// protocol constants in
|
|
208
|
+
// protocol constants in Seoul Protocol
|
|
179
209
|
const COST_PER_BYTE = 250;
|
|
180
210
|
exports.Protocols = void 0;
|
|
181
211
|
(function (Protocols) {
|
|
@@ -201,6 +231,7 @@
|
|
|
201
231
|
Protocols["PsParisCZ"] = "PsParisCZo7KAh1Z1smVd9ZMZ1HHn5gkzbM94V3PLCpknFWhUAi";
|
|
202
232
|
Protocols["PsQuebecn"] = "PsQuebecnLByd3JwTiGadoG4nGWi3HYiLXUjkibeFV8dCFeVMUg";
|
|
203
233
|
Protocols["PsRiotuma"] = "PsRiotumaAMotcRoDWW1bysEhQy2n1M5fy8JgRp8jjRfHGmfeA7";
|
|
234
|
+
Protocols["PtSeouLou"] = "PtSeouLouXkxhg39oWzjxDWaCydNfR3RxCUrNe4Q9Ro8BTehcbh";
|
|
204
235
|
Protocols["ProtoALpha"] = "ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK";
|
|
205
236
|
})(exports.Protocols || (exports.Protocols = {}));
|
|
206
237
|
const protocols = {
|
|
@@ -222,7 +253,8 @@
|
|
|
222
253
|
'020': [exports.Protocols.PtParisBx, exports.Protocols.PsParisCZ],
|
|
223
254
|
'021': [exports.Protocols.PsQuebecn],
|
|
224
255
|
'022': [exports.Protocols.PsRiotuma],
|
|
225
|
-
'023': [exports.Protocols.
|
|
256
|
+
'023': [exports.Protocols.PtSeouLou],
|
|
257
|
+
'024': [exports.Protocols.ProtoALpha],
|
|
226
258
|
};
|
|
227
259
|
exports.ChainIds = void 0;
|
|
228
260
|
(function (ChainIds) {
|
|
@@ -244,8 +276,9 @@
|
|
|
244
276
|
ChainIds["OXFORDNET2"] = "NetXxWsskGahzQB";
|
|
245
277
|
ChainIds["PARISBNET"] = "NetXo8SqH1c38SS";
|
|
246
278
|
ChainIds["PARISCNET"] = "NetXXWAHLEvre9b";
|
|
247
|
-
ChainIds["
|
|
248
|
-
ChainIds["
|
|
279
|
+
ChainIds["QUEBECNET"] = "NetXuTeGinLEqxp";
|
|
280
|
+
ChainIds["RIONET"] = "NetXPdgaoabtBth";
|
|
281
|
+
ChainIds["SEOULNET"] = "NetXd56aBs1aeW3";
|
|
249
282
|
})(exports.ChainIds || (exports.ChainIds = {}));
|
|
250
283
|
// A fixed fee reveal operation gasLimit accepted by both simulate and injection endpoint is between 1.2-5 times of actual gas consumption (3.5 fails occasionally with gas exhausted; 4 fails occasionally with fee too low)
|
|
251
284
|
const getRevealGasLimit = (address) => Math.round((getRevealGasLimitInternal(address) * 37) / 10);
|
|
@@ -1467,9 +1500,6 @@
|
|
|
1467
1500
|
if (!params.to) {
|
|
1468
1501
|
params.to = source;
|
|
1469
1502
|
}
|
|
1470
|
-
if (params.to !== source) {
|
|
1471
|
-
throw new core.InvalidStakingAddressError(params.to);
|
|
1472
|
-
}
|
|
1473
1503
|
if (!params.amount) {
|
|
1474
1504
|
params.amount = 0;
|
|
1475
1505
|
}
|
|
@@ -1647,7 +1677,7 @@
|
|
|
1647
1677
|
connector: () => new rxjs.ReplaySubject(1),
|
|
1648
1678
|
resetOnError: false,
|
|
1649
1679
|
resetOnComplete: false,
|
|
1650
|
-
resetOnRefCountZero:
|
|
1680
|
+
resetOnRefCountZero: true,
|
|
1651
1681
|
}));
|
|
1652
1682
|
// Observable that emit once operation is seen in a block
|
|
1653
1683
|
this.confirmed$ = this.newHead$.pipe(operators.map((head) => {
|
|
@@ -1668,7 +1698,7 @@
|
|
|
1668
1698
|
connector: () => new rxjs.ReplaySubject(1),
|
|
1669
1699
|
resetOnError: false,
|
|
1670
1700
|
resetOnComplete: false,
|
|
1671
|
-
resetOnRefCountZero:
|
|
1701
|
+
resetOnRefCountZero: true,
|
|
1672
1702
|
}));
|
|
1673
1703
|
if (utils.validateOperation(this.opHash) !== utils.ValidationResult.VALID) {
|
|
1674
1704
|
throw new core.InvalidOperationHashError(this.opHash);
|
|
@@ -2811,6 +2841,7 @@
|
|
|
2811
2841
|
/**
|
|
2812
2842
|
*
|
|
2813
2843
|
* @description Method to prepare a reveal operation
|
|
2844
|
+
* @remarks Reveal tz4 address is not included in the current beta release for protocol Seoul (still a work in progress)
|
|
2814
2845
|
* @param operation RPCOperation object or RPCOperation array
|
|
2815
2846
|
* @param source string or undefined source pkh
|
|
2816
2847
|
* @returns a PreparedOperation object
|
|
@@ -2986,11 +3017,11 @@
|
|
|
2986
3017
|
*/
|
|
2987
3018
|
finalizeUnstake(_a) {
|
|
2988
3019
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2989
|
-
var { fee, storageLimit, gasLimit } = _a, rest = __rest(_a, ["fee", "storageLimit", "gasLimit"]);
|
|
3020
|
+
var { fee, storageLimit, gasLimit, to } = _a, rest = __rest(_a, ["fee", "storageLimit", "gasLimit", "to"]);
|
|
2990
3021
|
const { pkh } = yield this.getKeys();
|
|
2991
3022
|
const protocolConstants = yield this.context.readProvider.getProtocolConstants('head');
|
|
2992
3023
|
const DEFAULT_PARAMS = yield this.getOperationLimits(protocolConstants);
|
|
2993
|
-
const op = yield createTransferOperation(Object.assign(Object.assign(Object.assign(Object.assign({}, rest), { to: pkh, amount: 0 }), mergeLimits({ fee, storageLimit, gasLimit }, DEFAULT_PARAMS)), { parameter: {
|
|
3024
|
+
const op = yield createTransferOperation(Object.assign(Object.assign(Object.assign(Object.assign({}, rest), { to: to ? to : pkh, amount: 0 }), mergeLimits({ fee, storageLimit, gasLimit }, DEFAULT_PARAMS)), { parameter: {
|
|
2994
3025
|
entrypoint: 'finalize_unstake',
|
|
2995
3026
|
value: { prim: 'Unit' },
|
|
2996
3027
|
} }));
|
|
@@ -3111,6 +3142,7 @@
|
|
|
3111
3142
|
/**
|
|
3112
3143
|
*
|
|
3113
3144
|
* @description Method to prepare an update_consensus_key operation
|
|
3145
|
+
* @remarks updateConsensusKey to a tz4 address is not included in the current beta release for protocol Seoul (still a work in progress)
|
|
3114
3146
|
* @param operation RPCOperation object or RPCOperation array
|
|
3115
3147
|
* @param source string or undefined source pkh
|
|
3116
3148
|
* @returns a PreparedOperation object
|
|
@@ -3899,7 +3931,7 @@
|
|
|
3899
3931
|
connector: () => new rxjs.ReplaySubject(1),
|
|
3900
3932
|
resetOnError: false,
|
|
3901
3933
|
resetOnComplete: false,
|
|
3902
|
-
resetOnRefCountZero:
|
|
3934
|
+
resetOnRefCountZero: true,
|
|
3903
3935
|
}));
|
|
3904
3936
|
};
|
|
3905
3937
|
class OperationFactory {
|
|
@@ -4399,9 +4431,6 @@
|
|
|
4399
4431
|
if (!rest.to) {
|
|
4400
4432
|
rest.to = rest.source;
|
|
4401
4433
|
}
|
|
4402
|
-
if (rest.to && rest.to !== rest.source) {
|
|
4403
|
-
throw new core.InvalidStakingAddressError(rest.to);
|
|
4404
|
-
}
|
|
4405
4434
|
if (!rest.amount) {
|
|
4406
4435
|
rest.amount = 0;
|
|
4407
4436
|
}
|
|
@@ -4524,7 +4553,7 @@
|
|
|
4524
4553
|
/**
|
|
4525
4554
|
*
|
|
4526
4555
|
* @description Estimate gasLimit, storageLimit and fees to reveal the current account
|
|
4527
|
-
*
|
|
4556
|
+
* @remarks Reveal tz4 address is not included in the current beta release for protocol Seoul (still a work in progress)
|
|
4528
4557
|
* @returns An estimation of gasLimit, storageLimit and fees for the operation or undefined if the account is already revealed
|
|
4529
4558
|
*
|
|
4530
4559
|
* @param Estimate
|
|
@@ -4597,9 +4626,8 @@
|
|
|
4597
4626
|
/**
|
|
4598
4627
|
*
|
|
4599
4628
|
* @description Estimate gasLimit, storageLimit and fees for an Update Consensus Key operation
|
|
4600
|
-
*
|
|
4629
|
+
* @remarks updateConsensusKey to a tz4 address is not included in the current beta release for protocol Seoul (still a work in progress)
|
|
4601
4630
|
* @returns An estimation of gasLimit, storageLimit and fees for the operation
|
|
4602
|
-
*
|
|
4603
4631
|
* @param Estimate
|
|
4604
4632
|
*/
|
|
4605
4633
|
updateConsensusKey(params) {
|
|
@@ -5556,7 +5584,7 @@
|
|
|
5556
5584
|
throw new core.InvalidAddressError(params.delegate, utils.invalidDetail(delegateValidation));
|
|
5557
5585
|
}
|
|
5558
5586
|
// Since babylon delegation source cannot smart contract
|
|
5559
|
-
if (
|
|
5587
|
+
if (/^kt1/i.test(params.source)) {
|
|
5560
5588
|
throw new InvalidDelegationSource(params.source);
|
|
5561
5589
|
}
|
|
5562
5590
|
const publicKeyHash = yield this.signer.publicKeyHash();
|
|
@@ -5707,9 +5735,6 @@
|
|
|
5707
5735
|
if (!params.to) {
|
|
5708
5736
|
params.to = params.source;
|
|
5709
5737
|
}
|
|
5710
|
-
if (params.to && params.to !== params.source) {
|
|
5711
|
-
throw new core.InvalidStakingAddressError(params.to);
|
|
5712
|
-
}
|
|
5713
5738
|
if (!params.amount) {
|
|
5714
5739
|
params.amount = 0;
|
|
5715
5740
|
}
|
|
@@ -5757,8 +5782,8 @@
|
|
|
5757
5782
|
}
|
|
5758
5783
|
/**
|
|
5759
5784
|
*
|
|
5760
|
-
* @description Reveal the current address. Will throw an error if the address is already revealed.
|
|
5761
|
-
*
|
|
5785
|
+
* @description Reveal the public key of the current address. Will throw an error if the address is already revealed.
|
|
5786
|
+
* @remarks Reveal tz4 address is not included in the current beta release for protocol Seoul (still a work in progress)
|
|
5762
5787
|
* @returns An operation handle with the result from the rpc node
|
|
5763
5788
|
*
|
|
5764
5789
|
* @param RevealParams operation parameter
|
|
@@ -5889,7 +5914,7 @@
|
|
|
5889
5914
|
/**
|
|
5890
5915
|
*
|
|
5891
5916
|
* @description Updates the consensus key of the baker to public_key starting from the current cycle plus PRESERVED_CYCLES + 1
|
|
5892
|
-
*
|
|
5917
|
+
* @remarks updateConsensusKey to a tz4 address is not included in the current beta release for protocol Seoul (still a work in progress)
|
|
5893
5918
|
* @returns An operation handle with the result from the rpc node
|
|
5894
5919
|
*
|
|
5895
5920
|
* @param UpdateConsensusKeyParams
|
|
@@ -6636,7 +6661,7 @@
|
|
|
6636
6661
|
constructor(context, config = {}) {
|
|
6637
6662
|
this.context = context;
|
|
6638
6663
|
this._config$ = new rxjs.BehaviorSubject(Object.assign(Object.assign({}, defaultConfigStreamer), config));
|
|
6639
|
-
this.timer$ = this._config$.pipe(operators.
|
|
6664
|
+
this.timer$ = this._config$.pipe(operators.map((x) => x === null || x === void 0 ? void 0 : x.pollingIntervalMilliseconds), operators.switchMap((pollingIntervalMilliseconds) => {
|
|
6640
6665
|
if (!pollingIntervalMilliseconds) {
|
|
6641
6666
|
return rxjs.from(this.getConfirmationPollingInterval()).pipe(operators.switchMap((interval) => {
|
|
6642
6667
|
return rxjs.timer(0, interval);
|
|
@@ -6646,7 +6671,11 @@
|
|
|
6646
6671
|
return rxjs.timer(0, pollingIntervalMilliseconds);
|
|
6647
6672
|
}
|
|
6648
6673
|
}));
|
|
6649
|
-
this.newBlock$ = this.timer$.pipe(operators.switchMap(() => getLastBlock(this.context)), operators.distinctUntilKeyChanged('hash'), operators.
|
|
6674
|
+
this.newBlock$ = this.timer$.pipe(operators.switchMap(() => getLastBlock(this.context)), operators.distinctUntilKeyChanged('hash'), operators.share({
|
|
6675
|
+
resetOnError: false,
|
|
6676
|
+
resetOnComplete: false,
|
|
6677
|
+
resetOnRefCountZero: true,
|
|
6678
|
+
}));
|
|
6650
6679
|
}
|
|
6651
6680
|
get config() {
|
|
6652
6681
|
return this._config$.getValue();
|
|
@@ -6678,7 +6707,7 @@
|
|
|
6678
6707
|
return new ObservableSubscription(this.newBlock$, this.config.shouldObservableSubscriptionRetry, this.config.observableSubscriptionRetryFunction);
|
|
6679
6708
|
}
|
|
6680
6709
|
subscribe(_filter) {
|
|
6681
|
-
return new ObservableSubscription(this.newBlock$.pipe(operators.
|
|
6710
|
+
return new ObservableSubscription(this.newBlock$.pipe(operators.map((x) => x === null || x === void 0 ? void 0 : x.hash)), this.config.shouldObservableSubscriptionRetry, this.config.observableSubscriptionRetryFunction);
|
|
6682
6711
|
}
|
|
6683
6712
|
subscribeOperation(filter) {
|
|
6684
6713
|
return new ObservableSubscription(this.newBlock$.pipe(applyFilter(filter)), this.config.shouldObservableSubscriptionRetry, this.config.observableSubscriptionRetryFunction);
|
|
@@ -6864,8 +6893,8 @@
|
|
|
6864
6893
|
|
|
6865
6894
|
// IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN!
|
|
6866
6895
|
const VERSION = {
|
|
6867
|
-
"commitHash": "
|
|
6868
|
-
"version": "
|
|
6896
|
+
"commitHash": "7af2138a9e5c5b230c4b4c726f35c2f2e67b721c",
|
|
6897
|
+
"version": "23.0.0-beta.0"
|
|
6869
6898
|
};
|
|
6870
6899
|
|
|
6871
6900
|
/**
|
|
@@ -7339,7 +7368,10 @@
|
|
|
7339
7368
|
exports.ContractMethod = ContractMethod;
|
|
7340
7369
|
exports.ContractMethodObject = ContractMethodObject;
|
|
7341
7370
|
exports.ContractView = ContractView;
|
|
7371
|
+
exports.DEFAULT_FEE = DEFAULT_FEE;
|
|
7372
|
+
exports.DEFAULT_GAS_LIMIT = DEFAULT_GAS_LIMIT;
|
|
7342
7373
|
exports.DEFAULT_SMART_CONTRACT_METHOD_NAME = DEFAULT_SMART_CONTRACT_METHOD_NAME;
|
|
7374
|
+
exports.DEFAULT_STORAGE_LIMIT = DEFAULT_STORAGE_LIMIT;
|
|
7343
7375
|
exports.DefaultGlobalConstantsProvider = DefaultGlobalConstantsProvider;
|
|
7344
7376
|
exports.DelegateOperation = DelegateOperation;
|
|
7345
7377
|
exports.DelegationWalletOperation = DelegationWalletOperation;
|
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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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,3 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @deprecated default reveal gasLimit please use getRevealGasLimit(address) instead, removing hardcoded gasLimit of delegation, origination and transfer
|
|
3
|
+
*/
|
|
4
|
+
export declare const DEFAULT_GAS_LIMIT: {
|
|
5
|
+
DELEGATION: number;
|
|
6
|
+
ORIGINATION: number;
|
|
7
|
+
TRANSFER: number;
|
|
8
|
+
REVEAL_TZ1: number;
|
|
9
|
+
REVEAL_TZ2: number;
|
|
10
|
+
REVEAL_TZ3: number;
|
|
11
|
+
REVEAL_TZ4: number;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* @deprecated default reveal fee please use getRevealFee(address) instead, removing hardcoded fee of delegation, origination and transfer
|
|
15
|
+
*/
|
|
16
|
+
export declare const DEFAULT_FEE: {
|
|
17
|
+
DELEGATION: number;
|
|
18
|
+
ORIGINATION: number;
|
|
19
|
+
TRANSFER: number;
|
|
20
|
+
REVEAL: number;
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* @deprecated default reveal storageLimit please use REVEAL_STORAGE_LIMIT instead, removing hardcoded storageLimit of delegation, origination and transfer
|
|
24
|
+
*/
|
|
25
|
+
export declare const DEFAULT_STORAGE_LIMIT: {
|
|
26
|
+
DELEGATION: number;
|
|
27
|
+
ORIGINATION: number;
|
|
28
|
+
TRANSFER: number;
|
|
29
|
+
REVEAL: number;
|
|
30
|
+
};
|
|
1
31
|
export declare const REVEAL_STORAGE_LIMIT = 0;
|
|
2
32
|
export declare const ORIGINATION_SIZE = 257;
|
|
3
33
|
export declare const COST_PER_BYTE = 250;
|
|
@@ -24,6 +54,7 @@ export declare enum Protocols {
|
|
|
24
54
|
PsParisCZ = "PsParisCZo7KAh1Z1smVd9ZMZ1HHn5gkzbM94V3PLCpknFWhUAi",
|
|
25
55
|
PsQuebecn = "PsQuebecnLByd3JwTiGadoG4nGWi3HYiLXUjkibeFV8dCFeVMUg",
|
|
26
56
|
PsRiotuma = "PsRiotumaAMotcRoDWW1bysEhQy2n1M5fy8JgRp8jjRfHGmfeA7",
|
|
57
|
+
PtSeouLou = "PtSeouLouXkxhg39oWzjxDWaCydNfR3RxCUrNe4Q9Ro8BTehcbh",
|
|
27
58
|
ProtoALpha = "ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK"
|
|
28
59
|
}
|
|
29
60
|
export declare const protocols: {
|
|
@@ -46,6 +77,7 @@ export declare const protocols: {
|
|
|
46
77
|
'021': Protocols[];
|
|
47
78
|
'022': Protocols[];
|
|
48
79
|
'023': Protocols[];
|
|
80
|
+
'024': Protocols[];
|
|
49
81
|
};
|
|
50
82
|
export declare enum ChainIds {
|
|
51
83
|
MAINNET = "NetXdQprcVkpaWU",
|
|
@@ -66,8 +98,9 @@ export declare enum ChainIds {
|
|
|
66
98
|
OXFORDNET2 = "NetXxWsskGahzQB",
|
|
67
99
|
PARISBNET = "NetXo8SqH1c38SS",
|
|
68
100
|
PARISCNET = "NetXXWAHLEvre9b",
|
|
69
|
-
|
|
70
|
-
|
|
101
|
+
QUEBECNET = "NetXuTeGinLEqxp",
|
|
102
|
+
RIONET = "NetXPdgaoabtBth",
|
|
103
|
+
SEOULNET = "NetXd56aBs1aeW3"
|
|
71
104
|
}
|
|
72
105
|
export declare const getRevealGasLimit: (address: string) => number;
|
|
73
106
|
export declare const getRevealFee: (address: string) => number;
|
|
@@ -155,7 +155,7 @@ export interface ContractProvider extends StorageProvider {
|
|
|
155
155
|
/**
|
|
156
156
|
*
|
|
157
157
|
* @description Reveal the current address. Will throw an error if the address is already revealed.
|
|
158
|
-
*
|
|
158
|
+
* @remarks Reveal tz4 address is not included in the current beta release for protocol Seoul (still a work in progress)
|
|
159
159
|
* @returns An operation handle with the result from the rpc node
|
|
160
160
|
*
|
|
161
161
|
* @param Reveal operation parameter
|
|
@@ -217,7 +217,7 @@ export interface ContractProvider extends StorageProvider {
|
|
|
217
217
|
/**
|
|
218
218
|
*
|
|
219
219
|
* @description Update consensus key
|
|
220
|
-
*
|
|
220
|
+
* @remarks updateConsensusKey to a tz4 address is not included in the current beta release for protocol Seoul (still a work in progress)
|
|
221
221
|
* @returns An operation handle with the result from the RPC node
|
|
222
222
|
*
|
|
223
223
|
* @param UpdateConsensusKeyParams UpdateConsensusKey operation parameter
|
|
@@ -165,8 +165,8 @@ export declare class RpcContractProvider extends Provider implements ContractPro
|
|
|
165
165
|
transferTicket(params: TransferTicketParams): Promise<TransferTicketOperation>;
|
|
166
166
|
/**
|
|
167
167
|
*
|
|
168
|
-
* @description Reveal the current address. Will throw an error if the address is already revealed.
|
|
169
|
-
*
|
|
168
|
+
* @description Reveal the public key of the current address. Will throw an error if the address is already revealed.
|
|
169
|
+
* @remarks Reveal tz4 address is not included in the current beta release for protocol Seoul (still a work in progress)
|
|
170
170
|
* @returns An operation handle with the result from the rpc node
|
|
171
171
|
*
|
|
172
172
|
* @param RevealParams operation parameter
|
|
@@ -220,7 +220,7 @@ export declare class RpcContractProvider extends Provider implements ContractPro
|
|
|
220
220
|
/**
|
|
221
221
|
*
|
|
222
222
|
* @description Updates the consensus key of the baker to public_key starting from the current cycle plus PRESERVED_CYCLES + 1
|
|
223
|
-
*
|
|
223
|
+
* @remarks updateConsensusKey to a tz4 address is not included in the current beta release for protocol Seoul (still a work in progress)
|
|
224
224
|
* @returns An operation handle with the result from the rpc node
|
|
225
225
|
*
|
|
226
226
|
* @param UpdateConsensusKeyParams
|
|
@@ -78,7 +78,7 @@ export interface EstimationProvider {
|
|
|
78
78
|
/**
|
|
79
79
|
*
|
|
80
80
|
* @description Estimate gasLimit, storageLimit and fees for a reveal operation
|
|
81
|
-
*
|
|
81
|
+
* @remarks Reveal tz4 address is not included in the current beta release for protocol Seoul (still a work in progress)
|
|
82
82
|
* @returns An estimation of gasLimit, storageLimit and fees for the operation or undefined if the account is already revealed
|
|
83
83
|
*
|
|
84
84
|
* @param Estimate
|
|
@@ -106,7 +106,7 @@ export interface EstimationProvider {
|
|
|
106
106
|
/**
|
|
107
107
|
*
|
|
108
108
|
* @description Estimate gasLimit, storageLimit and fees for an Update Consensus Key operation
|
|
109
|
-
*
|
|
109
|
+
* @remarks updateConsensusKey to a tz4 address is not included in the current beta release for protocol Seoul (still a work in progress)
|
|
110
110
|
* @returns An estimation of gasLimit, storageLimit and fees for the operation
|
|
111
111
|
*
|
|
112
112
|
* @param Estimate
|
|
@@ -93,7 +93,7 @@ export declare class RPCEstimateProvider extends Provider implements EstimationP
|
|
|
93
93
|
/**
|
|
94
94
|
*
|
|
95
95
|
* @description Estimate gasLimit, storageLimit and fees to reveal the current account
|
|
96
|
-
*
|
|
96
|
+
* @remarks Reveal tz4 address is not included in the current beta release for protocol Seoul (still a work in progress)
|
|
97
97
|
* @returns An estimation of gasLimit, storageLimit and fees for the operation or undefined if the account is already revealed
|
|
98
98
|
*
|
|
99
99
|
* @param Estimate
|
|
@@ -120,9 +120,8 @@ export declare class RPCEstimateProvider extends Provider implements EstimationP
|
|
|
120
120
|
/**
|
|
121
121
|
*
|
|
122
122
|
* @description Estimate gasLimit, storageLimit and fees for an Update Consensus Key operation
|
|
123
|
-
*
|
|
123
|
+
* @remarks updateConsensusKey to a tz4 address is not included in the current beta release for protocol Seoul (still a work in progress)
|
|
124
124
|
* @returns An estimation of gasLimit, storageLimit and fees for the operation
|
|
125
|
-
*
|
|
126
125
|
* @param Estimate
|
|
127
126
|
*/
|
|
128
127
|
updateConsensusKey(params: UpdateConsensusKeyParams): Promise<Estimate>;
|
|
@@ -19,6 +19,7 @@ export interface PreparationProvider {
|
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
21
|
* @description Method to prepare a reveal operation
|
|
22
|
+
* @remarks Reveal tz4 address is not included in the current beta release for protocol Seoul (still a work in progress)
|
|
22
23
|
* @param params reveal operation parameters
|
|
23
24
|
* @param source string or undefined source pkh
|
|
24
25
|
* @returns a PreparedOperation object
|
|
@@ -58,6 +59,7 @@ export interface PreparationProvider {
|
|
|
58
59
|
registerGlobalConstant(params: RegisterGlobalConstantParams): Promise<PreparedOperation>;
|
|
59
60
|
/**
|
|
60
61
|
* @description Method to prepare an update_consensus_key operation
|
|
62
|
+
* @remarks updateConsensusKey to a tz4 address is not included in the current beta release for protocol Seoul (still a work in progress)
|
|
61
63
|
* @param params updateConsensusKey operation parameters
|
|
62
64
|
* @param source string or undefined source pkh
|
|
63
65
|
* @returns a PreparedOperation object
|
|
@@ -38,6 +38,7 @@ export declare class PrepareProvider extends Provider implements PreparationProv
|
|
|
38
38
|
/**
|
|
39
39
|
*
|
|
40
40
|
* @description Method to prepare a reveal operation
|
|
41
|
+
* @remarks Reveal tz4 address is not included in the current beta release for protocol Seoul (still a work in progress)
|
|
41
42
|
* @param operation RPCOperation object or RPCOperation array
|
|
42
43
|
* @param source string or undefined source pkh
|
|
43
44
|
* @returns a PreparedOperation object
|
|
@@ -82,7 +83,7 @@ export declare class PrepareProvider extends Provider implements PreparationProv
|
|
|
82
83
|
* @param source string or undefined source pkh
|
|
83
84
|
* @returns a PreparedOperation object
|
|
84
85
|
*/
|
|
85
|
-
finalizeUnstake({ fee, storageLimit, gasLimit, ...rest }: FinalizeUnstakeParams): Promise<PreparedOperation>;
|
|
86
|
+
finalizeUnstake({ fee, storageLimit, gasLimit, to, ...rest }: FinalizeUnstakeParams): Promise<PreparedOperation>;
|
|
86
87
|
/**
|
|
87
88
|
*
|
|
88
89
|
* @description Method to prepare a delegation operation
|
|
@@ -110,6 +111,7 @@ export declare class PrepareProvider extends Provider implements PreparationProv
|
|
|
110
111
|
/**
|
|
111
112
|
*
|
|
112
113
|
* @description Method to prepare an update_consensus_key operation
|
|
114
|
+
* @remarks updateConsensusKey to a tz4 address is not included in the current beta release for protocol Seoul (still a work in progress)
|
|
113
115
|
* @param operation RPCOperation object or RPCOperation array
|
|
114
116
|
* @param source string or undefined source pkh
|
|
115
117
|
* @returns a PreparedOperation object
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taquito/taquito",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "23.0.0-beta.0",
|
|
4
4
|
"description": "High level functionality that builds upon the other packages in the Tezos Typescript Library Suite.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"tezos",
|
|
@@ -77,15 +77,15 @@
|
|
|
77
77
|
]
|
|
78
78
|
},
|
|
79
79
|
"dependencies": {
|
|
80
|
-
"@taquito/core": "^
|
|
81
|
-
"@taquito/http-utils": "^
|
|
82
|
-
"@taquito/local-forging": "^
|
|
83
|
-
"@taquito/michel-codec": "^
|
|
84
|
-
"@taquito/michelson-encoder": "^
|
|
85
|
-
"@taquito/rpc": "^
|
|
86
|
-
"@taquito/utils": "^
|
|
80
|
+
"@taquito/core": "^23.0.0-beta.0",
|
|
81
|
+
"@taquito/http-utils": "^23.0.0-beta.0",
|
|
82
|
+
"@taquito/local-forging": "^23.0.0-beta.0",
|
|
83
|
+
"@taquito/michel-codec": "^23.0.0-beta.0",
|
|
84
|
+
"@taquito/michelson-encoder": "^23.0.0-beta.0",
|
|
85
|
+
"@taquito/rpc": "^23.0.0-beta.0",
|
|
86
|
+
"@taquito/utils": "^23.0.0-beta.0",
|
|
87
87
|
"bignumber.js": "^9.1.2",
|
|
88
|
-
"rxjs": "^7.8.
|
|
88
|
+
"rxjs": "^7.8.2"
|
|
89
89
|
},
|
|
90
90
|
"devDependencies": {
|
|
91
91
|
"@babel/types": "7.25.2",
|
|
@@ -125,5 +125,5 @@
|
|
|
125
125
|
"webpack-cli": "^5.1.4",
|
|
126
126
|
"webpack-subresource-integrity": "^5.1.0"
|
|
127
127
|
},
|
|
128
|
-
"gitHead": "
|
|
128
|
+
"gitHead": "37cc766d60407d7909fbd2d841d9dd946243d04a"
|
|
129
129
|
}
|