@argonprotocol/mainchain 1.4.8-dev.446c6ac4 → 1.4.8-dev.9f278b47
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/browser/index.d.ts
CHANGED
|
@@ -4608,6 +4608,10 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
4608
4608
|
* Bool if block rewards are paused
|
|
4609
4609
|
**/
|
|
4610
4610
|
blockRewardsPaused: AugmentedQuery<ApiType, () => Observable<bool>, []>;
|
|
4611
|
+
/**
|
|
4612
|
+
* Bool if block voter rewards are enabled
|
|
4613
|
+
**/
|
|
4614
|
+
blockVoterRewardsEnabled: AugmentedQuery<ApiType, () => Observable<bool>, []>;
|
|
4611
4615
|
/**
|
|
4612
4616
|
* Historical payouts by block number
|
|
4613
4617
|
**/
|
|
@@ -6015,6 +6019,9 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
6015
6019
|
setBlockRewardsPaused: AugmentedSubmittable<(paused: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
6016
6020
|
bool
|
|
6017
6021
|
]>;
|
|
6022
|
+
setBlockVoterRewardsEnabled: AugmentedSubmittable<(enabled: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
6023
|
+
bool
|
|
6024
|
+
]>;
|
|
6018
6025
|
};
|
|
6019
6026
|
blockSeal: {
|
|
6020
6027
|
apply: AugmentedSubmittable<(seal: ArgonPrimitivesInherentsBlockSealInherent | {
|
|
@@ -12024,7 +12031,11 @@ declare module '@polkadot/types/lookup' {
|
|
|
12024
12031
|
readonly asSetBlockRewardsPaused: {
|
|
12025
12032
|
readonly paused: bool;
|
|
12026
12033
|
} & Struct;
|
|
12027
|
-
readonly
|
|
12034
|
+
readonly isSetBlockVoterRewardsEnabled: boolean;
|
|
12035
|
+
readonly asSetBlockVoterRewardsEnabled: {
|
|
12036
|
+
readonly enabled: bool;
|
|
12037
|
+
} & Struct;
|
|
12038
|
+
readonly type: 'SetBlockRewardsPaused' | 'SetBlockVoterRewardsEnabled';
|
|
12028
12039
|
}
|
|
12029
12040
|
/** @name PalletMintCall (262) */
|
|
12030
12041
|
type PalletMintCall = Null;
|
|
@@ -13749,7 +13760,7 @@ declare class Vault {
|
|
|
13749
13760
|
delegateAccountId?: string;
|
|
13750
13761
|
name?: string;
|
|
13751
13762
|
treasuryProfitSharing: number;
|
|
13752
|
-
|
|
13763
|
+
treasuryBonusProfitSharing: number;
|
|
13753
13764
|
doNotExceedBalance?: bigint;
|
|
13754
13765
|
} & ISubmittableOptions, config?: {
|
|
13755
13766
|
tickDurationMillis?: number;
|
|
@@ -13765,7 +13776,7 @@ interface ITerms {
|
|
|
13765
13776
|
readonly bitcoinAnnualPercentRate: BigNumber;
|
|
13766
13777
|
readonly bitcoinBaseFee: bigint;
|
|
13767
13778
|
readonly treasuryProfitSharing: BigNumber;
|
|
13768
|
-
readonly
|
|
13779
|
+
readonly treasuryBonusProfitSharing: BigNumber;
|
|
13769
13780
|
}
|
|
13770
13781
|
|
|
13771
13782
|
declare function toFixedNumber(value: string | number | BigNumber, // accept string to avoid early precision loss
|