@taquito/rpc 20.0.0-beta.1 → 20.0.1
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/rpc-client-interface.js +1 -0
- package/dist/lib/rpc-client-modules/rpc-cache.js +22 -0
- package/dist/lib/taquito-rpc.js +15 -0
- package/dist/lib/types.js +7 -0
- package/dist/lib/version.js +2 -2
- package/dist/taquito-rpc.es6.js +47 -2
- package/dist/taquito-rpc.es6.js.map +1 -1
- package/dist/taquito-rpc.umd.js +47 -2
- package/dist/taquito-rpc.umd.js.map +1 -1
- package/dist/types/rpc-client-interface.d.ts +3 -1
- package/dist/types/rpc-client-modules/rpc-cache.d.ts +10 -1
- package/dist/types/taquito-rpc.d.ts +10 -1
- package/dist/types/types.d.ts +19 -2
- package/package.json +5 -5
|
@@ -27,6 +27,7 @@ var RPCMethodName;
|
|
|
27
27
|
RPCMethodName["GET_CURRENT_PROPOSAL"] = "getCurrentProposal";
|
|
28
28
|
RPCMethodName["GET_CURRENT_QUORUM"] = "getCurrentQuorum";
|
|
29
29
|
RPCMethodName["GET_DELEGATE"] = "getDelegate";
|
|
30
|
+
RPCMethodName["GET_ALL_DELEGATES"] = "getAllDelegates";
|
|
30
31
|
RPCMethodName["GET_DELEGATES"] = "getDelegates";
|
|
31
32
|
RPCMethodName["GET_VOTING_INFO"] = "getVotingInfo";
|
|
32
33
|
RPCMethodName["GET_ATTESTATION_RIGHTS"] = "getAttestationRights";
|
|
@@ -444,6 +444,28 @@ class RpcClientCache {
|
|
|
444
444
|
}
|
|
445
445
|
});
|
|
446
446
|
}
|
|
447
|
+
/**
|
|
448
|
+
* @param args contains optional query arguments (active, inactive, with_minimal_stake, without_minimal_stake)
|
|
449
|
+
* @param options contains generic configuration for rpc calls to specified block (default to head)
|
|
450
|
+
* @description Lists all registered delegates by default with query arguments to filter unneeded values.
|
|
451
|
+
* @see https://tezos.gitlab.io/active/rpc.html#get-block-id-context-delegates-pkh
|
|
452
|
+
*/
|
|
453
|
+
getAllDelegates(args = {}, { block } = rpc_client_interface_2.defaultRPCOptions) {
|
|
454
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
455
|
+
const key = this.formatCacheKey(this.rpcClient.getRpcUrl(), rpc_client_interface_1.RPCMethodName.GET_ALL_DELEGATES, [
|
|
456
|
+
block,
|
|
457
|
+
args,
|
|
458
|
+
]);
|
|
459
|
+
if (this.has(key)) {
|
|
460
|
+
return this.get(key);
|
|
461
|
+
}
|
|
462
|
+
else {
|
|
463
|
+
const response = this.rpcClient.getAllDelegates(args, { block });
|
|
464
|
+
this.put(key, response);
|
|
465
|
+
return response;
|
|
466
|
+
}
|
|
467
|
+
});
|
|
468
|
+
}
|
|
447
469
|
/**
|
|
448
470
|
* @param address delegate address which we want to retrieve
|
|
449
471
|
* @param options contains generic configuration for rpc calls to specified block (default to head)
|
package/dist/lib/taquito-rpc.js
CHANGED
|
@@ -373,6 +373,21 @@ class RpcClient {
|
|
|
373
373
|
});
|
|
374
374
|
});
|
|
375
375
|
}
|
|
376
|
+
/**
|
|
377
|
+
* @param args contains optional query arguments (active, inactive, with_minimal_stake, without_minimal_stake)
|
|
378
|
+
* @param options contains generic configuration for rpc calls to specified block (default to head)
|
|
379
|
+
* @description Lists all registered delegates by default with query arguments to filter unneeded values.
|
|
380
|
+
* @see https://tezos.gitlab.io/active/rpc.html#get-block-id-context-delegates-pkh
|
|
381
|
+
*/
|
|
382
|
+
getAllDelegates(args = {}, { block } = rpc_client_interface_1.defaultRPCOptions) {
|
|
383
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
384
|
+
return yield this.httpBackend.createRequest({
|
|
385
|
+
url: this.createURL(`/chains/${this.chain}/blocks/${block}/context/delegates`),
|
|
386
|
+
method: 'GET',
|
|
387
|
+
query: args,
|
|
388
|
+
});
|
|
389
|
+
});
|
|
390
|
+
}
|
|
376
391
|
/**
|
|
377
392
|
* @param address delegate address which we want to retrieve
|
|
378
393
|
* @param options contains generic configuration for rpc calls to specified block (default to head)
|
package/dist/lib/types.js
CHANGED
|
@@ -20,6 +20,7 @@ var METADATA_BALANCE_UPDATES_CATEGORY;
|
|
|
20
20
|
METADATA_BALANCE_UPDATES_CATEGORY["ENDORSING_REWARDS"] = "endorsing rewards";
|
|
21
21
|
METADATA_BALANCE_UPDATES_CATEGORY["INVOICE"] = "invoice";
|
|
22
22
|
METADATA_BALANCE_UPDATES_CATEGORY["LOST_ENDORSING_REWARDS"] = "lost endorsing rewards";
|
|
23
|
+
METADATA_BALANCE_UPDATES_CATEGORY["LOST_ATTESTING_REWARDS"] = "lost attesting rewards";
|
|
23
24
|
METADATA_BALANCE_UPDATES_CATEGORY["MINTED"] = "minted";
|
|
24
25
|
METADATA_BALANCE_UPDATES_CATEGORY["NONCE_REVELATION_REWARDS"] = "nonce revelation rewards";
|
|
25
26
|
METADATA_BALANCE_UPDATES_CATEGORY["PUNISHMENTS"] = "punishments";
|
|
@@ -28,6 +29,12 @@ var METADATA_BALANCE_UPDATES_CATEGORY;
|
|
|
28
29
|
METADATA_BALANCE_UPDATES_CATEGORY["STORAGE_FEES"] = "storage fees";
|
|
29
30
|
METADATA_BALANCE_UPDATES_CATEGORY["SUBSIDY"] = "subsidy";
|
|
30
31
|
METADATA_BALANCE_UPDATES_CATEGORY["UNSTAKED_DEPOSITS"] = "unstaked_deposits";
|
|
32
|
+
METADATA_BALANCE_UPDATES_CATEGORY["DOUBLE_SIGNING_EVIDENCE_REWARDS"] = "double signing evidence rewards";
|
|
33
|
+
METADATA_BALANCE_UPDATES_CATEGORY["FEES"] = "fees";
|
|
34
|
+
METADATA_BALANCE_UPDATES_CATEGORY["LEGACY_DEPOSITS"] = "legacy_deposits";
|
|
35
|
+
METADATA_BALANCE_UPDATES_CATEGORY["LEGACY_FEES"] = "legacy_fees";
|
|
36
|
+
METADATA_BALANCE_UPDATES_CATEGORY["LEGACY_REWARDS"] = "legacy_rewards";
|
|
37
|
+
METADATA_BALANCE_UPDATES_CATEGORY["REWARDS"] = "rewards";
|
|
31
38
|
})(METADATA_BALANCE_UPDATES_CATEGORY || (exports.METADATA_BALANCE_UPDATES_CATEGORY = METADATA_BALANCE_UPDATES_CATEGORY = {}));
|
|
32
39
|
var PvmKind;
|
|
33
40
|
(function (PvmKind) {
|
package/dist/lib/version.js
CHANGED
|
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.VERSION = void 0;
|
|
4
4
|
// IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN!
|
|
5
5
|
exports.VERSION = {
|
|
6
|
-
"commitHash": "
|
|
7
|
-
"version": "20.0.
|
|
6
|
+
"commitHash": "d44ee8a26e6924e12a8cae2f9c5b717fc65af72c",
|
|
7
|
+
"version": "20.0.1"
|
|
8
8
|
};
|
package/dist/taquito-rpc.es6.js
CHANGED
|
@@ -73,6 +73,7 @@ var RPCMethodName;
|
|
|
73
73
|
RPCMethodName["GET_CURRENT_PROPOSAL"] = "getCurrentProposal";
|
|
74
74
|
RPCMethodName["GET_CURRENT_QUORUM"] = "getCurrentQuorum";
|
|
75
75
|
RPCMethodName["GET_DELEGATE"] = "getDelegate";
|
|
76
|
+
RPCMethodName["GET_ALL_DELEGATES"] = "getAllDelegates";
|
|
76
77
|
RPCMethodName["GET_DELEGATES"] = "getDelegates";
|
|
77
78
|
RPCMethodName["GET_VOTING_INFO"] = "getVotingInfo";
|
|
78
79
|
RPCMethodName["GET_ATTESTATION_RIGHTS"] = "getAttestationRights";
|
|
@@ -545,6 +546,28 @@ class RpcClientCache {
|
|
|
545
546
|
}
|
|
546
547
|
});
|
|
547
548
|
}
|
|
549
|
+
/**
|
|
550
|
+
* @param args contains optional query arguments (active, inactive, with_minimal_stake, without_minimal_stake)
|
|
551
|
+
* @param options contains generic configuration for rpc calls to specified block (default to head)
|
|
552
|
+
* @description Lists all registered delegates by default with query arguments to filter unneeded values.
|
|
553
|
+
* @see https://tezos.gitlab.io/active/rpc.html#get-block-id-context-delegates-pkh
|
|
554
|
+
*/
|
|
555
|
+
getAllDelegates(args = {}, { block } = defaultRPCOptions) {
|
|
556
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
557
|
+
const key = this.formatCacheKey(this.rpcClient.getRpcUrl(), RPCMethodName.GET_ALL_DELEGATES, [
|
|
558
|
+
block,
|
|
559
|
+
args,
|
|
560
|
+
]);
|
|
561
|
+
if (this.has(key)) {
|
|
562
|
+
return this.get(key);
|
|
563
|
+
}
|
|
564
|
+
else {
|
|
565
|
+
const response = this.rpcClient.getAllDelegates(args, { block });
|
|
566
|
+
this.put(key, response);
|
|
567
|
+
return response;
|
|
568
|
+
}
|
|
569
|
+
});
|
|
570
|
+
}
|
|
548
571
|
/**
|
|
549
572
|
* @param address delegate address which we want to retrieve
|
|
550
573
|
* @param options contains generic configuration for rpc calls to specified block (default to head)
|
|
@@ -1221,6 +1244,7 @@ var METADATA_BALANCE_UPDATES_CATEGORY;
|
|
|
1221
1244
|
METADATA_BALANCE_UPDATES_CATEGORY["ENDORSING_REWARDS"] = "endorsing rewards";
|
|
1222
1245
|
METADATA_BALANCE_UPDATES_CATEGORY["INVOICE"] = "invoice";
|
|
1223
1246
|
METADATA_BALANCE_UPDATES_CATEGORY["LOST_ENDORSING_REWARDS"] = "lost endorsing rewards";
|
|
1247
|
+
METADATA_BALANCE_UPDATES_CATEGORY["LOST_ATTESTING_REWARDS"] = "lost attesting rewards";
|
|
1224
1248
|
METADATA_BALANCE_UPDATES_CATEGORY["MINTED"] = "minted";
|
|
1225
1249
|
METADATA_BALANCE_UPDATES_CATEGORY["NONCE_REVELATION_REWARDS"] = "nonce revelation rewards";
|
|
1226
1250
|
METADATA_BALANCE_UPDATES_CATEGORY["PUNISHMENTS"] = "punishments";
|
|
@@ -1229,6 +1253,12 @@ var METADATA_BALANCE_UPDATES_CATEGORY;
|
|
|
1229
1253
|
METADATA_BALANCE_UPDATES_CATEGORY["STORAGE_FEES"] = "storage fees";
|
|
1230
1254
|
METADATA_BALANCE_UPDATES_CATEGORY["SUBSIDY"] = "subsidy";
|
|
1231
1255
|
METADATA_BALANCE_UPDATES_CATEGORY["UNSTAKED_DEPOSITS"] = "unstaked_deposits";
|
|
1256
|
+
METADATA_BALANCE_UPDATES_CATEGORY["DOUBLE_SIGNING_EVIDENCE_REWARDS"] = "double signing evidence rewards";
|
|
1257
|
+
METADATA_BALANCE_UPDATES_CATEGORY["FEES"] = "fees";
|
|
1258
|
+
METADATA_BALANCE_UPDATES_CATEGORY["LEGACY_DEPOSITS"] = "legacy_deposits";
|
|
1259
|
+
METADATA_BALANCE_UPDATES_CATEGORY["LEGACY_FEES"] = "legacy_fees";
|
|
1260
|
+
METADATA_BALANCE_UPDATES_CATEGORY["LEGACY_REWARDS"] = "legacy_rewards";
|
|
1261
|
+
METADATA_BALANCE_UPDATES_CATEGORY["REWARDS"] = "rewards";
|
|
1232
1262
|
})(METADATA_BALANCE_UPDATES_CATEGORY || (METADATA_BALANCE_UPDATES_CATEGORY = {}));
|
|
1233
1263
|
var PvmKind;
|
|
1234
1264
|
(function (PvmKind) {
|
|
@@ -1314,8 +1344,8 @@ var OpKind;
|
|
|
1314
1344
|
|
|
1315
1345
|
// IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN!
|
|
1316
1346
|
const VERSION = {
|
|
1317
|
-
"commitHash": "
|
|
1318
|
-
"version": "20.0.
|
|
1347
|
+
"commitHash": "d44ee8a26e6924e12a8cae2f9c5b717fc65af72c",
|
|
1348
|
+
"version": "20.0.1"
|
|
1319
1349
|
};
|
|
1320
1350
|
|
|
1321
1351
|
/***
|
|
@@ -1634,6 +1664,21 @@ class RpcClient {
|
|
|
1634
1664
|
});
|
|
1635
1665
|
});
|
|
1636
1666
|
}
|
|
1667
|
+
/**
|
|
1668
|
+
* @param args contains optional query arguments (active, inactive, with_minimal_stake, without_minimal_stake)
|
|
1669
|
+
* @param options contains generic configuration for rpc calls to specified block (default to head)
|
|
1670
|
+
* @description Lists all registered delegates by default with query arguments to filter unneeded values.
|
|
1671
|
+
* @see https://tezos.gitlab.io/active/rpc.html#get-block-id-context-delegates-pkh
|
|
1672
|
+
*/
|
|
1673
|
+
getAllDelegates(args = {}, { block } = defaultRPCOptions) {
|
|
1674
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1675
|
+
return yield this.httpBackend.createRequest({
|
|
1676
|
+
url: this.createURL(`/chains/${this.chain}/blocks/${block}/context/delegates`),
|
|
1677
|
+
method: 'GET',
|
|
1678
|
+
query: args,
|
|
1679
|
+
});
|
|
1680
|
+
});
|
|
1681
|
+
}
|
|
1637
1682
|
/**
|
|
1638
1683
|
* @param address delegate address which we want to retrieve
|
|
1639
1684
|
* @param options contains generic configuration for rpc calls to specified block (default to head)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taquito-rpc.es6.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"taquito-rpc.es6.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/taquito-rpc.umd.js
CHANGED
|
@@ -74,6 +74,7 @@
|
|
|
74
74
|
RPCMethodName["GET_CURRENT_PROPOSAL"] = "getCurrentProposal";
|
|
75
75
|
RPCMethodName["GET_CURRENT_QUORUM"] = "getCurrentQuorum";
|
|
76
76
|
RPCMethodName["GET_DELEGATE"] = "getDelegate";
|
|
77
|
+
RPCMethodName["GET_ALL_DELEGATES"] = "getAllDelegates";
|
|
77
78
|
RPCMethodName["GET_DELEGATES"] = "getDelegates";
|
|
78
79
|
RPCMethodName["GET_VOTING_INFO"] = "getVotingInfo";
|
|
79
80
|
RPCMethodName["GET_ATTESTATION_RIGHTS"] = "getAttestationRights";
|
|
@@ -546,6 +547,28 @@
|
|
|
546
547
|
}
|
|
547
548
|
});
|
|
548
549
|
}
|
|
550
|
+
/**
|
|
551
|
+
* @param args contains optional query arguments (active, inactive, with_minimal_stake, without_minimal_stake)
|
|
552
|
+
* @param options contains generic configuration for rpc calls to specified block (default to head)
|
|
553
|
+
* @description Lists all registered delegates by default with query arguments to filter unneeded values.
|
|
554
|
+
* @see https://tezos.gitlab.io/active/rpc.html#get-block-id-context-delegates-pkh
|
|
555
|
+
*/
|
|
556
|
+
getAllDelegates(args = {}, { block } = defaultRPCOptions) {
|
|
557
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
558
|
+
const key = this.formatCacheKey(this.rpcClient.getRpcUrl(), RPCMethodName.GET_ALL_DELEGATES, [
|
|
559
|
+
block,
|
|
560
|
+
args,
|
|
561
|
+
]);
|
|
562
|
+
if (this.has(key)) {
|
|
563
|
+
return this.get(key);
|
|
564
|
+
}
|
|
565
|
+
else {
|
|
566
|
+
const response = this.rpcClient.getAllDelegates(args, { block });
|
|
567
|
+
this.put(key, response);
|
|
568
|
+
return response;
|
|
569
|
+
}
|
|
570
|
+
});
|
|
571
|
+
}
|
|
549
572
|
/**
|
|
550
573
|
* @param address delegate address which we want to retrieve
|
|
551
574
|
* @param options contains generic configuration for rpc calls to specified block (default to head)
|
|
@@ -1222,6 +1245,7 @@
|
|
|
1222
1245
|
METADATA_BALANCE_UPDATES_CATEGORY["ENDORSING_REWARDS"] = "endorsing rewards";
|
|
1223
1246
|
METADATA_BALANCE_UPDATES_CATEGORY["INVOICE"] = "invoice";
|
|
1224
1247
|
METADATA_BALANCE_UPDATES_CATEGORY["LOST_ENDORSING_REWARDS"] = "lost endorsing rewards";
|
|
1248
|
+
METADATA_BALANCE_UPDATES_CATEGORY["LOST_ATTESTING_REWARDS"] = "lost attesting rewards";
|
|
1225
1249
|
METADATA_BALANCE_UPDATES_CATEGORY["MINTED"] = "minted";
|
|
1226
1250
|
METADATA_BALANCE_UPDATES_CATEGORY["NONCE_REVELATION_REWARDS"] = "nonce revelation rewards";
|
|
1227
1251
|
METADATA_BALANCE_UPDATES_CATEGORY["PUNISHMENTS"] = "punishments";
|
|
@@ -1230,6 +1254,12 @@
|
|
|
1230
1254
|
METADATA_BALANCE_UPDATES_CATEGORY["STORAGE_FEES"] = "storage fees";
|
|
1231
1255
|
METADATA_BALANCE_UPDATES_CATEGORY["SUBSIDY"] = "subsidy";
|
|
1232
1256
|
METADATA_BALANCE_UPDATES_CATEGORY["UNSTAKED_DEPOSITS"] = "unstaked_deposits";
|
|
1257
|
+
METADATA_BALANCE_UPDATES_CATEGORY["DOUBLE_SIGNING_EVIDENCE_REWARDS"] = "double signing evidence rewards";
|
|
1258
|
+
METADATA_BALANCE_UPDATES_CATEGORY["FEES"] = "fees";
|
|
1259
|
+
METADATA_BALANCE_UPDATES_CATEGORY["LEGACY_DEPOSITS"] = "legacy_deposits";
|
|
1260
|
+
METADATA_BALANCE_UPDATES_CATEGORY["LEGACY_FEES"] = "legacy_fees";
|
|
1261
|
+
METADATA_BALANCE_UPDATES_CATEGORY["LEGACY_REWARDS"] = "legacy_rewards";
|
|
1262
|
+
METADATA_BALANCE_UPDATES_CATEGORY["REWARDS"] = "rewards";
|
|
1233
1263
|
})(exports.METADATA_BALANCE_UPDATES_CATEGORY || (exports.METADATA_BALANCE_UPDATES_CATEGORY = {}));
|
|
1234
1264
|
exports.PvmKind = void 0;
|
|
1235
1265
|
(function (PvmKind) {
|
|
@@ -1315,8 +1345,8 @@
|
|
|
1315
1345
|
|
|
1316
1346
|
// IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN!
|
|
1317
1347
|
const VERSION = {
|
|
1318
|
-
"commitHash": "
|
|
1319
|
-
"version": "20.0.
|
|
1348
|
+
"commitHash": "d44ee8a26e6924e12a8cae2f9c5b717fc65af72c",
|
|
1349
|
+
"version": "20.0.1"
|
|
1320
1350
|
};
|
|
1321
1351
|
|
|
1322
1352
|
/***
|
|
@@ -1635,6 +1665,21 @@
|
|
|
1635
1665
|
});
|
|
1636
1666
|
});
|
|
1637
1667
|
}
|
|
1668
|
+
/**
|
|
1669
|
+
* @param args contains optional query arguments (active, inactive, with_minimal_stake, without_minimal_stake)
|
|
1670
|
+
* @param options contains generic configuration for rpc calls to specified block (default to head)
|
|
1671
|
+
* @description Lists all registered delegates by default with query arguments to filter unneeded values.
|
|
1672
|
+
* @see https://tezos.gitlab.io/active/rpc.html#get-block-id-context-delegates-pkh
|
|
1673
|
+
*/
|
|
1674
|
+
getAllDelegates(args = {}, { block } = defaultRPCOptions) {
|
|
1675
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1676
|
+
return yield this.httpBackend.createRequest({
|
|
1677
|
+
url: this.createURL(`/chains/${this.chain}/blocks/${block}/context/delegates`),
|
|
1678
|
+
method: 'GET',
|
|
1679
|
+
query: args,
|
|
1680
|
+
});
|
|
1681
|
+
});
|
|
1682
|
+
}
|
|
1638
1683
|
/**
|
|
1639
1684
|
* @param address delegate address which we want to retrieve
|
|
1640
1685
|
* @param options contains generic configuration for rpc calls to specified block (default to head)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taquito-rpc.umd.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"taquito-rpc.umd.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BigNumber } from 'bignumber.js';
|
|
2
|
-
import { BakingRightsQueryArguments, BakingRightsResponse, BalanceResponse, UnstakeRequestsResponse, BallotListResponse, BallotsResponse, BigMapGetResponse, BigMapKey, BigMapResponse, BlockHeaderResponse, BlockMetadata, BlockResponse, ConstantsResponse, ContractResponse, CurrentProposalResponse, CurrentQuorumResponse, DelegateResponse, DelegatesResponse, AttestationRightsQueryArguments, AttestationRightsResponse, EntrypointsResponse, ForgeOperationsParams, ManagerKeyResponse, OperationHash, PackDataParams, PreapplyParams, PreapplyResponse, ProposalsResponse, ProtocolsResponse, RPCRunCodeParam, RPCRunOperationParam, RPCRunScriptViewParam, RPCRunViewParam, RunCodeResult, RunScriptViewResult, RunViewResult, SaplingDiffResponse, ScriptResponse, StorageResponse, UnparsingMode, VotesListingsResponse, VotingInfoResponse, VotingPeriodBlockResult, TicketTokenParams, AllTicketBalances, PendingOperationsV1, PendingOperationsV2, PendingOperationsQueryArguments, RPCSimulateOperationParam, AILaunchCycleResponse } from './types';
|
|
2
|
+
import { BakingRightsQueryArguments, BakingRightsResponse, BalanceResponse, UnstakeRequestsResponse, BallotListResponse, BallotsResponse, BigMapGetResponse, BigMapKey, BigMapResponse, BlockHeaderResponse, BlockMetadata, BlockResponse, ConstantsResponse, ContractResponse, CurrentProposalResponse, CurrentQuorumResponse, DelegateResponse, DelegatesResponse, AttestationRightsQueryArguments, AttestationRightsResponse, EntrypointsResponse, ForgeOperationsParams, ManagerKeyResponse, OperationHash, PackDataParams, PreapplyParams, PreapplyResponse, ProposalsResponse, ProtocolsResponse, RPCRunCodeParam, RPCRunOperationParam, RPCRunScriptViewParam, RPCRunViewParam, RunCodeResult, RunScriptViewResult, RunViewResult, SaplingDiffResponse, ScriptResponse, StorageResponse, UnparsingMode, VotesListingsResponse, VotingInfoResponse, VotingPeriodBlockResult, TicketTokenParams, AllTicketBalances, PendingOperationsV1, PendingOperationsV2, PendingOperationsQueryArguments, RPCSimulateOperationParam, AILaunchCycleResponse, AllDelegatesQueryArguments } from './types';
|
|
3
3
|
export interface RPCOptions {
|
|
4
4
|
block: string;
|
|
5
5
|
version?: 0 | 1 | '0' | '1';
|
|
@@ -23,6 +23,7 @@ export interface RpcClientInterface {
|
|
|
23
23
|
getDelegate(address: string, options?: RPCOptions): Promise<DelegateResponse>;
|
|
24
24
|
getBigMapKey(address: string, key: BigMapKey, options?: RPCOptions): Promise<BigMapGetResponse>;
|
|
25
25
|
getBigMapExpr(id: string, expr: string, options?: RPCOptions): Promise<BigMapResponse>;
|
|
26
|
+
getAllDelegates(args: AllDelegatesQueryArguments, options?: RPCOptions): Promise<string[]>;
|
|
26
27
|
getDelegates(address: string, options?: RPCOptions): Promise<DelegatesResponse>;
|
|
27
28
|
getVotingInfo(address: string, options?: RPCOptions): Promise<VotingInfoResponse>;
|
|
28
29
|
getConstants(options?: RPCOptions): Promise<ConstantsResponse>;
|
|
@@ -87,6 +88,7 @@ export declare enum RPCMethodName {
|
|
|
87
88
|
GET_CURRENT_PROPOSAL = "getCurrentProposal",
|
|
88
89
|
GET_CURRENT_QUORUM = "getCurrentQuorum",
|
|
89
90
|
GET_DELEGATE = "getDelegate",
|
|
91
|
+
GET_ALL_DELEGATES = "getAllDelegates",
|
|
90
92
|
GET_DELEGATES = "getDelegates",
|
|
91
93
|
GET_VOTING_INFO = "getVotingInfo",
|
|
92
94
|
GET_ATTESTATION_RIGHTS = "getAttestationRights",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import BigNumber from 'bignumber.js';
|
|
2
2
|
import { RpcClientInterface, RPCOptions } from '../rpc-client-interface';
|
|
3
|
-
import { BakingRightsQueryArguments, BakingRightsResponse, BalanceResponse, UnstakeRequestsResponse, BallotListResponse, BallotsResponse, BigMapGetResponse, BigMapKey, BigMapResponse, BlockHeaderResponse, BlockMetadata, BlockResponse, ConstantsResponse, ContractResponse, CurrentProposalResponse, CurrentQuorumResponse, DelegateResponse, DelegatesResponse, VotingInfoResponse, AttestationRightsQueryArguments, AttestationRightsResponse, EntrypointsResponse, ForgeOperationsParams, ManagerKeyResponse, OperationHash, PackDataParams, PreapplyParams, PreapplyResponse, ProposalsResponse, ProtocolsResponse, RPCRunCodeParam, RPCRunOperationParam, RPCRunScriptViewParam, RPCRunViewParam, RunCodeResult, RunScriptViewResult, RunViewResult, SaplingDiffResponse, ScriptResponse, StorageResponse, UnparsingMode, VotesListingsResponse, VotingPeriodBlockResult, TicketTokenParams, AllTicketBalances, PendingOperationsQueryArguments, PendingOperationsV1, PendingOperationsV2, RPCSimulateOperationParam, AILaunchCycleResponse } from '../types';
|
|
3
|
+
import { BakingRightsQueryArguments, BakingRightsResponse, BalanceResponse, UnstakeRequestsResponse, BallotListResponse, BallotsResponse, BigMapGetResponse, BigMapKey, BigMapResponse, BlockHeaderResponse, BlockMetadata, BlockResponse, ConstantsResponse, ContractResponse, CurrentProposalResponse, CurrentQuorumResponse, DelegateResponse, DelegatesResponse, VotingInfoResponse, AttestationRightsQueryArguments, AttestationRightsResponse, EntrypointsResponse, ForgeOperationsParams, ManagerKeyResponse, OperationHash, PackDataParams, PreapplyParams, PreapplyResponse, ProposalsResponse, ProtocolsResponse, RPCRunCodeParam, RPCRunOperationParam, RPCRunScriptViewParam, RPCRunViewParam, RunCodeResult, RunScriptViewResult, RunViewResult, SaplingDiffResponse, ScriptResponse, StorageResponse, UnparsingMode, VotesListingsResponse, VotingPeriodBlockResult, TicketTokenParams, AllTicketBalances, PendingOperationsQueryArguments, PendingOperationsV1, PendingOperationsV2, RPCSimulateOperationParam, AILaunchCycleResponse, AllDelegatesQueryArguments } from '../types';
|
|
4
4
|
interface CachedDataInterface {
|
|
5
5
|
[key: string]: {
|
|
6
6
|
handle: () => void;
|
|
@@ -163,6 +163,15 @@ export declare class RpcClientCache implements RpcClientInterface {
|
|
|
163
163
|
getBigMapExpr(id: string, expr: string, { block }?: {
|
|
164
164
|
block: string;
|
|
165
165
|
}): Promise<BigMapResponse>;
|
|
166
|
+
/**
|
|
167
|
+
* @param args contains optional query arguments (active, inactive, with_minimal_stake, without_minimal_stake)
|
|
168
|
+
* @param options contains generic configuration for rpc calls to specified block (default to head)
|
|
169
|
+
* @description Lists all registered delegates by default with query arguments to filter unneeded values.
|
|
170
|
+
* @see https://tezos.gitlab.io/active/rpc.html#get-block-id-context-delegates-pkh
|
|
171
|
+
*/
|
|
172
|
+
getAllDelegates(args?: AllDelegatesQueryArguments, { block }?: {
|
|
173
|
+
block: string;
|
|
174
|
+
}): Promise<string[]>;
|
|
166
175
|
/**
|
|
167
176
|
* @param address delegate address which we want to retrieve
|
|
168
177
|
* @param options contains generic configuration for rpc calls to specified block (default to head)
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { HttpBackend } from '@taquito/http-utils';
|
|
6
6
|
import BigNumber from 'bignumber.js';
|
|
7
7
|
import { RpcClientInterface, RPCOptions } from './rpc-client-interface';
|
|
8
|
-
import { BakingRightsQueryArguments, BakingRightsResponse, BalanceResponse, UnstakeRequestsResponse, BallotListResponse, BallotsResponse, BigMapGetResponse, BigMapKey, BigMapResponse, BlockHeaderResponse, BlockMetadata, BlockResponse, ConstantsResponse, ContractResponse, CurrentProposalResponse, CurrentQuorumResponse, DelegateResponse, DelegatesResponse, VotingInfoResponse, AttestationRightsQueryArguments, AttestationRightsResponse, EntrypointsResponse, ForgeOperationsParams, ManagerKeyResponse, OperationHash, PackDataParams, PreapplyParams, PreapplyResponse, ProposalsResponse, ProtocolsResponse, RPCRunCodeParam, RPCRunOperationParam, RPCRunViewParam, RPCRunScriptViewParam, RunCodeResult, RunViewResult, RunScriptViewResult, SaplingDiffResponse, ScriptResponse, StorageResponse, UnparsingMode, VotesListingsResponse, VotingPeriodBlockResult, TicketTokenParams, AllTicketBalances, PendingOperationsQueryArguments, PendingOperationsV1, PendingOperationsV2, RPCSimulateOperationParam, AILaunchCycleResponse } from './types';
|
|
8
|
+
import { BakingRightsQueryArguments, BakingRightsResponse, BalanceResponse, UnstakeRequestsResponse, BallotListResponse, BallotsResponse, BigMapGetResponse, BigMapKey, BigMapResponse, BlockHeaderResponse, BlockMetadata, BlockResponse, ConstantsResponse, ContractResponse, CurrentProposalResponse, CurrentQuorumResponse, DelegateResponse, DelegatesResponse, VotingInfoResponse, AttestationRightsQueryArguments, AttestationRightsResponse, EntrypointsResponse, ForgeOperationsParams, ManagerKeyResponse, OperationHash, PackDataParams, PreapplyParams, PreapplyResponse, ProposalsResponse, ProtocolsResponse, RPCRunCodeParam, RPCRunOperationParam, RPCRunViewParam, RPCRunScriptViewParam, RunCodeResult, RunViewResult, RunScriptViewResult, SaplingDiffResponse, ScriptResponse, StorageResponse, UnparsingMode, VotesListingsResponse, VotingPeriodBlockResult, TicketTokenParams, AllTicketBalances, PendingOperationsQueryArguments, PendingOperationsV1, PendingOperationsV2, RPCSimulateOperationParam, AILaunchCycleResponse, AllDelegatesQueryArguments } from './types';
|
|
9
9
|
export { castToBigNumber } from './utils/utils';
|
|
10
10
|
export { RPCOptions, defaultChain, defaultRPCOptions, RpcClientInterface, } from './rpc-client-interface';
|
|
11
11
|
export { RpcClientCache } from './rpc-client-modules/rpc-cache';
|
|
@@ -160,6 +160,15 @@ export declare class RpcClient implements RpcClientInterface {
|
|
|
160
160
|
getBigMapExpr(id: string, expr: string, { block }?: {
|
|
161
161
|
block: string;
|
|
162
162
|
}): Promise<BigMapResponse>;
|
|
163
|
+
/**
|
|
164
|
+
* @param args contains optional query arguments (active, inactive, with_minimal_stake, without_minimal_stake)
|
|
165
|
+
* @param options contains generic configuration for rpc calls to specified block (default to head)
|
|
166
|
+
* @description Lists all registered delegates by default with query arguments to filter unneeded values.
|
|
167
|
+
* @see https://tezos.gitlab.io/active/rpc.html#get-block-id-context-delegates-pkh
|
|
168
|
+
*/
|
|
169
|
+
getAllDelegates(args?: AllDelegatesQueryArguments, { block }?: {
|
|
170
|
+
block: string;
|
|
171
|
+
}): Promise<string[]>;
|
|
163
172
|
/**
|
|
164
173
|
* @param address delegate address which we want to retrieve
|
|
165
174
|
* @param options contains generic configuration for rpc calls to specified block (default to head)
|
package/dist/types/types.d.ts
CHANGED
|
@@ -923,6 +923,12 @@ export interface BlockResponse {
|
|
|
923
923
|
export type BakingRightsArgumentsDelegate = string | string[];
|
|
924
924
|
export type BakingRightsArgumentsCycle = number | number[];
|
|
925
925
|
export type BakingRightsArgumentsLevel = number | number[];
|
|
926
|
+
export type AllDelegatesQueryArguments = {
|
|
927
|
+
active?: boolean;
|
|
928
|
+
inactive?: boolean;
|
|
929
|
+
with_minimal_stake?: boolean;
|
|
930
|
+
without_minimal_stake?: boolean;
|
|
931
|
+
};
|
|
926
932
|
export type BakingRightsQueryArguments = BakingRightsQueryArgumentsBase;
|
|
927
933
|
export interface BakingRightsQueryArgumentsBase {
|
|
928
934
|
level?: BakingRightsArgumentsLevel;
|
|
@@ -1291,6 +1297,7 @@ export declare enum METADATA_BALANCE_UPDATES_CATEGORY {
|
|
|
1291
1297
|
ENDORSING_REWARDS = "endorsing rewards",
|
|
1292
1298
|
INVOICE = "invoice",
|
|
1293
1299
|
LOST_ENDORSING_REWARDS = "lost endorsing rewards",
|
|
1300
|
+
LOST_ATTESTING_REWARDS = "lost attesting rewards",
|
|
1294
1301
|
MINTED = "minted",
|
|
1295
1302
|
NONCE_REVELATION_REWARDS = "nonce revelation rewards",
|
|
1296
1303
|
PUNISHMENTS = "punishments",
|
|
@@ -1298,11 +1305,17 @@ export declare enum METADATA_BALANCE_UPDATES_CATEGORY {
|
|
|
1298
1305
|
SMART_ROLLUP_REFUTATION_REWARDS = "smart_rollup_refutation_rewards",
|
|
1299
1306
|
STORAGE_FEES = "storage fees",
|
|
1300
1307
|
SUBSIDY = "subsidy",
|
|
1301
|
-
UNSTAKED_DEPOSITS = "unstaked_deposits"
|
|
1308
|
+
UNSTAKED_DEPOSITS = "unstaked_deposits",
|
|
1309
|
+
DOUBLE_SIGNING_EVIDENCE_REWARDS = "double signing evidence rewards",
|
|
1310
|
+
FEES = "fees",
|
|
1311
|
+
LEGACY_DEPOSITS = "legacy_deposits",
|
|
1312
|
+
LEGACY_FEES = "legacy_fees",
|
|
1313
|
+
LEGACY_REWARDS = "legacy_rewards",
|
|
1314
|
+
REWARDS = "rewards"
|
|
1302
1315
|
}
|
|
1303
1316
|
export type MetadataBalanceUpdatesCategoryEnum = METADATA_BALANCE_UPDATES_CATEGORY;
|
|
1304
1317
|
export type MetadataBalanceUpdatesOriginEnum = 'block' | 'migration' | 'subsidy' | 'simulation' | 'delayed_operation';
|
|
1305
|
-
export type FrozenStaker = SingleStaker | SharedStaker | Baker;
|
|
1318
|
+
export type FrozenStaker = SingleStaker | SharedStaker | Baker | Baker_edge;
|
|
1306
1319
|
export type Staker = SingleStaker | SharedStaker;
|
|
1307
1320
|
export interface SingleStaker {
|
|
1308
1321
|
contract: string;
|
|
@@ -1314,6 +1327,9 @@ export interface SharedStaker {
|
|
|
1314
1327
|
export interface Baker {
|
|
1315
1328
|
baker: string;
|
|
1316
1329
|
}
|
|
1330
|
+
export interface Baker_edge {
|
|
1331
|
+
baker_edge: string;
|
|
1332
|
+
}
|
|
1317
1333
|
export interface OperationMetadataBalanceUpdates {
|
|
1318
1334
|
kind: MetadataBalanceUpdatesKindEnum;
|
|
1319
1335
|
contract?: string;
|
|
@@ -1328,6 +1344,7 @@ export interface OperationMetadataBalanceUpdates {
|
|
|
1328
1344
|
bond_id?: BondId;
|
|
1329
1345
|
cycle?: number;
|
|
1330
1346
|
delegator?: string;
|
|
1347
|
+
delayed_operation_hash?: string;
|
|
1331
1348
|
}
|
|
1332
1349
|
export type OperationResultStatusEnum = 'applied' | 'failed' | 'skipped' | 'backtracked';
|
|
1333
1350
|
export type DiffActionEnum = 'update' | 'remove' | 'copy' | 'alloc';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taquito/rpc",
|
|
3
|
-
"version": "20.0.
|
|
3
|
+
"version": "20.0.1",
|
|
4
4
|
"description": "Provides low level methods, and types to invoke RPC calls from a Nomadic Tezos RPC node",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"tezos",
|
|
@@ -66,9 +66,9 @@
|
|
|
66
66
|
]
|
|
67
67
|
},
|
|
68
68
|
"dependencies": {
|
|
69
|
-
"@taquito/core": "^20.0.
|
|
70
|
-
"@taquito/http-utils": "^20.0.
|
|
71
|
-
"@taquito/utils": "^20.0.
|
|
69
|
+
"@taquito/core": "^20.0.1",
|
|
70
|
+
"@taquito/http-utils": "^20.0.1",
|
|
71
|
+
"@taquito/utils": "^20.0.1",
|
|
72
72
|
"bignumber.js": "^9.1.2"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
@@ -98,5 +98,5 @@
|
|
|
98
98
|
"ts-toolbelt": "^9.6.0",
|
|
99
99
|
"typescript": "~5.2.2"
|
|
100
100
|
},
|
|
101
|
-
"gitHead": "
|
|
101
|
+
"gitHead": "beb89a31b425f016d09f53f034fb8ed40f56a3b2"
|
|
102
102
|
}
|