@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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@argonprotocol/mainchain",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.1-dev.70a57c26",
|
|
4
4
|
"description": "A client for accessing the Argon mainchain apis.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
70
|
"@argonprotocol/ethereum-contracts": "workspace:*",
|
|
71
|
-
"@argonprotocol/testing": "1.5.
|
|
71
|
+
"@argonprotocol/testing": "1.5.1-dev.70a57c26",
|
|
72
72
|
"@polkadot/typegen": "^17.0.1",
|
|
73
73
|
"@substrate/ss58-registry": "^1.51.0",
|
|
74
74
|
"@types/node": "^20",
|
|
@@ -594,6 +594,11 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
594
594
|
operationalFeeMultiplier: u8 & AugmentedConst<ApiType>;
|
|
595
595
|
};
|
|
596
596
|
treasury: {
|
|
597
|
+
/**
|
|
598
|
+
* Maximum rewarded Argonot value as a multiple of the vault's Argon securitization.
|
|
599
|
+
* Zero disables Argonot backing requirements and bonuses.
|
|
600
|
+
**/
|
|
601
|
+
argonotSecuritizationMultiplier: u32 & AugmentedConst<ApiType>;
|
|
597
602
|
/**
|
|
598
603
|
* Default percent of maximum Bitcoin-mintable Argons targeted by the network.
|
|
599
604
|
**/
|
|
@@ -2120,8 +2120,8 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2120
2120
|
>;
|
|
2121
2121
|
RewardEconomicsConfigured: AugmentedEvent<
|
|
2122
2122
|
ApiType,
|
|
2123
|
-
[targetBitcoinPercent: Percent],
|
|
2124
|
-
{ targetBitcoinPercent: Percent }
|
|
2123
|
+
[targetBitcoinPercent: Percent, upstreamParticipationFactor: Percent],
|
|
2124
|
+
{ targetBitcoinPercent: Percent; upstreamParticipationFactor: Percent }
|
|
2125
2125
|
>;
|
|
2126
2126
|
};
|
|
2127
2127
|
txPause: {
|
|
@@ -1887,6 +1887,11 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1887
1887
|
* limit.
|
|
1888
1888
|
**/
|
|
1889
1889
|
totalArgonBondLots: AugmentedQuery<ApiType, () => Observable<u32>, []>;
|
|
1890
|
+
/**
|
|
1891
|
+
* Share of reward uplift controlled by upstream participation, frozen at frame start.
|
|
1892
|
+
* Zero disables the requirement; 100% applies the full participation score.
|
|
1893
|
+
**/
|
|
1894
|
+
upstreamParticipationFactor: AugmentedQuery<ApiType, () => Observable<Percent>, []>;
|
|
1890
1895
|
};
|
|
1891
1896
|
treasuryPositions: {
|
|
1892
1897
|
/**
|
|
@@ -2077,8 +2077,9 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2077
2077
|
configureRewardEconomics: AugmentedSubmittable<
|
|
2078
2078
|
(
|
|
2079
2079
|
targetBitcoinPercent: Option<Percent> | null | Uint8Array | Percent | AnyNumber,
|
|
2080
|
+
upstreamParticipationFactor: Option<Percent> | null | Uint8Array | Percent | AnyNumber,
|
|
2080
2081
|
) => SubmittableExtrinsic<ApiType>,
|
|
2081
|
-
[Option<Percent>]
|
|
2082
|
+
[Option<Percent>, Option<Percent>]
|
|
2082
2083
|
>;
|
|
2083
2084
|
/**
|
|
2084
2085
|
* Liquidate one full bond lot. It keeps the locked frame's payout terms and is
|
package/src/interfaces/lookup.ts
CHANGED
|
@@ -1411,6 +1411,7 @@ export default {
|
|
|
1411
1411
|
},
|
|
1412
1412
|
RewardEconomicsConfigured: {
|
|
1413
1413
|
targetBitcoinPercent: 'Percent',
|
|
1414
|
+
upstreamParticipationFactor: 'Percent',
|
|
1414
1415
|
},
|
|
1415
1416
|
FrameVaultCapitalLocked: {
|
|
1416
1417
|
frameId: 'u64',
|
|
@@ -2809,6 +2810,7 @@ export default {
|
|
|
2809
2810
|
},
|
|
2810
2811
|
configure_reward_economics: {
|
|
2811
2812
|
targetBitcoinPercent: 'Option<Percent>',
|
|
2813
|
+
upstreamParticipationFactor: 'Option<Percent>',
|
|
2812
2814
|
},
|
|
2813
2815
|
backfill_bond_lot_earnings: {
|
|
2814
2816
|
bondLotId: 'u64',
|
|
@@ -1751,6 +1751,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
1751
1751
|
readonly isRewardEconomicsConfigured: boolean;
|
|
1752
1752
|
readonly asRewardEconomicsConfigured: {
|
|
1753
1753
|
readonly targetBitcoinPercent: Percent;
|
|
1754
|
+
readonly upstreamParticipationFactor: Percent;
|
|
1754
1755
|
} & Struct;
|
|
1755
1756
|
readonly isFrameVaultCapitalLocked: boolean;
|
|
1756
1757
|
readonly asFrameVaultCapitalLocked: {
|
|
@@ -3313,6 +3314,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
3313
3314
|
readonly isConfigureRewardEconomics: boolean;
|
|
3314
3315
|
readonly asConfigureRewardEconomics: {
|
|
3315
3316
|
readonly targetBitcoinPercent: Option<Percent>;
|
|
3317
|
+
readonly upstreamParticipationFactor: Option<Percent>;
|
|
3316
3318
|
} & Struct;
|
|
3317
3319
|
readonly isBackfillBondLotEarnings: boolean;
|
|
3318
3320
|
readonly asBackfillBondLotEarnings: {
|