@argonprotocol/mainchain 1.5.0 → 1.5.1-dev.70a57c26
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 +17 -2
- package/browser/index.js +1 -1
- package/browser/index.js.map +1 -1
- package/lib/index.cjs +1 -1
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +17 -2
- package/lib/index.d.ts +17 -2
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/package.json +2 -2
- package/src/interfaces/augment-api-consts.ts +5 -0
- package/src/interfaces/augment-api-events.ts +2 -2
- package/src/interfaces/augment-api-query.ts +5 -0
- package/src/interfaces/augment-api-tx.ts +2 -1
- package/src/interfaces/lookup.ts +2 -0
- package/src/interfaces/types-lookup.ts +2 -0
package/lib/index.d.cts
CHANGED
|
@@ -675,6 +675,11 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
675
675
|
operationalFeeMultiplier: u8 & AugmentedConst<ApiType>;
|
|
676
676
|
};
|
|
677
677
|
treasury: {
|
|
678
|
+
/**
|
|
679
|
+
* Maximum rewarded Argonot value as a multiple of the vault's Argon securitization.
|
|
680
|
+
* Zero disables Argonot backing requirements and bonuses.
|
|
681
|
+
**/
|
|
682
|
+
argonotSecuritizationMultiplier: u32 & AugmentedConst<ApiType>;
|
|
678
683
|
/**
|
|
679
684
|
* Default percent of maximum Bitcoin-mintable Argons targeted by the network.
|
|
680
685
|
**/
|
|
@@ -4581,9 +4586,11 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
4581
4586
|
reservedBondSpace: u32;
|
|
4582
4587
|
}>;
|
|
4583
4588
|
RewardEconomicsConfigured: AugmentedEvent<ApiType, [
|
|
4584
|
-
targetBitcoinPercent: Percent
|
|
4589
|
+
targetBitcoinPercent: Percent,
|
|
4590
|
+
upstreamParticipationFactor: Percent
|
|
4585
4591
|
], {
|
|
4586
4592
|
targetBitcoinPercent: Percent;
|
|
4593
|
+
upstreamParticipationFactor: Percent;
|
|
4587
4594
|
}>;
|
|
4588
4595
|
};
|
|
4589
4596
|
txPause: {
|
|
@@ -6149,6 +6156,11 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
6149
6156
|
* limit.
|
|
6150
6157
|
**/
|
|
6151
6158
|
totalArgonBondLots: AugmentedQuery<ApiType, () => Observable<u32>, []>;
|
|
6159
|
+
/**
|
|
6160
|
+
* Share of reward uplift controlled by upstream participation, frozen at frame start.
|
|
6161
|
+
* Zero disables the requirement; 100% applies the full participation score.
|
|
6162
|
+
**/
|
|
6163
|
+
upstreamParticipationFactor: AugmentedQuery<ApiType, () => Observable<Percent>, []>;
|
|
6152
6164
|
};
|
|
6153
6165
|
treasuryPositions: {
|
|
6154
6166
|
/**
|
|
@@ -7866,7 +7878,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
7866
7878
|
/**
|
|
7867
7879
|
* Update reward economics without resetting fields omitted by the caller.
|
|
7868
7880
|
**/
|
|
7869
|
-
configureRewardEconomics: AugmentedSubmittable<(targetBitcoinPercent: Option<Percent> | null | Uint8Array | Percent | AnyNumber) => SubmittableExtrinsic<ApiType>, [
|
|
7881
|
+
configureRewardEconomics: AugmentedSubmittable<(targetBitcoinPercent: Option<Percent> | null | Uint8Array | Percent | AnyNumber, upstreamParticipationFactor: Option<Percent> | null | Uint8Array | Percent | AnyNumber) => SubmittableExtrinsic<ApiType>, [
|
|
7882
|
+
Option<Percent>,
|
|
7870
7883
|
Option<Percent>
|
|
7871
7884
|
]>;
|
|
7872
7885
|
/**
|
|
@@ -11676,6 +11689,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
11676
11689
|
readonly isRewardEconomicsConfigured: boolean;
|
|
11677
11690
|
readonly asRewardEconomicsConfigured: {
|
|
11678
11691
|
readonly targetBitcoinPercent: Percent;
|
|
11692
|
+
readonly upstreamParticipationFactor: Percent;
|
|
11679
11693
|
} & Struct;
|
|
11680
11694
|
readonly isFrameVaultCapitalLocked: boolean;
|
|
11681
11695
|
readonly asFrameVaultCapitalLocked: {
|
|
@@ -13003,6 +13017,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
13003
13017
|
readonly isConfigureRewardEconomics: boolean;
|
|
13004
13018
|
readonly asConfigureRewardEconomics: {
|
|
13005
13019
|
readonly targetBitcoinPercent: Option<Percent>;
|
|
13020
|
+
readonly upstreamParticipationFactor: Option<Percent>;
|
|
13006
13021
|
} & Struct;
|
|
13007
13022
|
readonly isBackfillBondLotEarnings: boolean;
|
|
13008
13023
|
readonly asBackfillBondLotEarnings: {
|
package/lib/index.d.ts
CHANGED
|
@@ -675,6 +675,11 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
675
675
|
operationalFeeMultiplier: u8 & AugmentedConst<ApiType>;
|
|
676
676
|
};
|
|
677
677
|
treasury: {
|
|
678
|
+
/**
|
|
679
|
+
* Maximum rewarded Argonot value as a multiple of the vault's Argon securitization.
|
|
680
|
+
* Zero disables Argonot backing requirements and bonuses.
|
|
681
|
+
**/
|
|
682
|
+
argonotSecuritizationMultiplier: u32 & AugmentedConst<ApiType>;
|
|
678
683
|
/**
|
|
679
684
|
* Default percent of maximum Bitcoin-mintable Argons targeted by the network.
|
|
680
685
|
**/
|
|
@@ -4581,9 +4586,11 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
4581
4586
|
reservedBondSpace: u32;
|
|
4582
4587
|
}>;
|
|
4583
4588
|
RewardEconomicsConfigured: AugmentedEvent<ApiType, [
|
|
4584
|
-
targetBitcoinPercent: Percent
|
|
4589
|
+
targetBitcoinPercent: Percent,
|
|
4590
|
+
upstreamParticipationFactor: Percent
|
|
4585
4591
|
], {
|
|
4586
4592
|
targetBitcoinPercent: Percent;
|
|
4593
|
+
upstreamParticipationFactor: Percent;
|
|
4587
4594
|
}>;
|
|
4588
4595
|
};
|
|
4589
4596
|
txPause: {
|
|
@@ -6149,6 +6156,11 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
6149
6156
|
* limit.
|
|
6150
6157
|
**/
|
|
6151
6158
|
totalArgonBondLots: AugmentedQuery<ApiType, () => Observable<u32>, []>;
|
|
6159
|
+
/**
|
|
6160
|
+
* Share of reward uplift controlled by upstream participation, frozen at frame start.
|
|
6161
|
+
* Zero disables the requirement; 100% applies the full participation score.
|
|
6162
|
+
**/
|
|
6163
|
+
upstreamParticipationFactor: AugmentedQuery<ApiType, () => Observable<Percent>, []>;
|
|
6152
6164
|
};
|
|
6153
6165
|
treasuryPositions: {
|
|
6154
6166
|
/**
|
|
@@ -7866,7 +7878,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
7866
7878
|
/**
|
|
7867
7879
|
* Update reward economics without resetting fields omitted by the caller.
|
|
7868
7880
|
**/
|
|
7869
|
-
configureRewardEconomics: AugmentedSubmittable<(targetBitcoinPercent: Option<Percent> | null | Uint8Array | Percent | AnyNumber) => SubmittableExtrinsic<ApiType>, [
|
|
7881
|
+
configureRewardEconomics: AugmentedSubmittable<(targetBitcoinPercent: Option<Percent> | null | Uint8Array | Percent | AnyNumber, upstreamParticipationFactor: Option<Percent> | null | Uint8Array | Percent | AnyNumber) => SubmittableExtrinsic<ApiType>, [
|
|
7882
|
+
Option<Percent>,
|
|
7870
7883
|
Option<Percent>
|
|
7871
7884
|
]>;
|
|
7872
7885
|
/**
|
|
@@ -11676,6 +11689,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
11676
11689
|
readonly isRewardEconomicsConfigured: boolean;
|
|
11677
11690
|
readonly asRewardEconomicsConfigured: {
|
|
11678
11691
|
readonly targetBitcoinPercent: Percent;
|
|
11692
|
+
readonly upstreamParticipationFactor: Percent;
|
|
11679
11693
|
} & Struct;
|
|
11680
11694
|
readonly isFrameVaultCapitalLocked: boolean;
|
|
11681
11695
|
readonly asFrameVaultCapitalLocked: {
|
|
@@ -13003,6 +13017,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
13003
13017
|
readonly isConfigureRewardEconomics: boolean;
|
|
13004
13018
|
readonly asConfigureRewardEconomics: {
|
|
13005
13019
|
readonly targetBitcoinPercent: Option<Percent>;
|
|
13020
|
+
readonly upstreamParticipationFactor: Option<Percent>;
|
|
13006
13021
|
} & Struct;
|
|
13007
13022
|
readonly isBackfillBondLotEarnings: boolean;
|
|
13008
13023
|
readonly asBackfillBondLotEarnings: {
|