@argonprotocol/mainchain 1.4.8-dev.446c6ac4 → 1.4.8-dev.fe6d442d
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/browser/index.d.ts +14 -3
- package/browser/index.js +10 -7
- package/browser/index.js.map +1 -1
- package/lib/index.cjs +10 -7
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +14 -3
- package/lib/index.d.ts +14 -3
- package/lib/index.js +10 -7
- package/lib/index.js.map +1 -1
- package/package.json +2 -2
- package/src/interfaces/augment-api-query.ts +4 -0
- package/src/interfaces/augment-api-tx.ts +4 -0
- package/src/interfaces/lookup.ts +3 -0
- package/src/interfaces/types-lookup.ts +5 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@argonprotocol/mainchain",
|
|
3
|
-
"version": "1.4.8-dev.
|
|
3
|
+
"version": "1.4.8-dev.fe6d442d",
|
|
4
4
|
"description": "A client for accessing the Argon mainchain apis.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
67
|
"@argonprotocol/ethereum-contracts": "workspace:*",
|
|
68
|
-
"@argonprotocol/testing": "1.4.8-dev.
|
|
68
|
+
"@argonprotocol/testing": "1.4.8-dev.fe6d442d",
|
|
69
69
|
"@polkadot/typegen": "^16.5.6",
|
|
70
70
|
"@substrate/ss58-registry": "^1.51.0",
|
|
71
71
|
"@types/node": "^20",
|
|
@@ -403,6 +403,10 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
403
403
|
* Bool if block rewards are paused
|
|
404
404
|
**/
|
|
405
405
|
blockRewardsPaused: AugmentedQuery<ApiType, () => Observable<bool>, []>;
|
|
406
|
+
/**
|
|
407
|
+
* Bool if block voter rewards are enabled
|
|
408
|
+
**/
|
|
409
|
+
blockVoterRewardsEnabled: AugmentedQuery<ApiType, () => Observable<bool>, []>;
|
|
406
410
|
/**
|
|
407
411
|
* Historical payouts by block number
|
|
408
412
|
**/
|
|
@@ -508,6 +508,10 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
508
508
|
(paused: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>,
|
|
509
509
|
[bool]
|
|
510
510
|
>;
|
|
511
|
+
setBlockVoterRewardsEnabled: AugmentedSubmittable<
|
|
512
|
+
(enabled: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>,
|
|
513
|
+
[bool]
|
|
514
|
+
>;
|
|
511
515
|
};
|
|
512
516
|
blockSeal: {
|
|
513
517
|
apply: AugmentedSubmittable<
|
package/src/interfaces/lookup.ts
CHANGED
|
@@ -2967,7 +2967,11 @@ declare module '@polkadot/types/lookup' {
|
|
|
2967
2967
|
readonly asSetBlockRewardsPaused: {
|
|
2968
2968
|
readonly paused: bool;
|
|
2969
2969
|
} & Struct;
|
|
2970
|
-
readonly
|
|
2970
|
+
readonly isSetBlockVoterRewardsEnabled: boolean;
|
|
2971
|
+
readonly asSetBlockVoterRewardsEnabled: {
|
|
2972
|
+
readonly enabled: bool;
|
|
2973
|
+
} & Struct;
|
|
2974
|
+
readonly type: 'SetBlockRewardsPaused' | 'SetBlockVoterRewardsEnabled';
|
|
2971
2975
|
}
|
|
2972
2976
|
|
|
2973
2977
|
/** @name PalletMintCall (262) */
|