@argonprotocol/mainchain 1.4.11-dev.6b43f925 → 1.4.11-dev.825bb01a
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 -3
- 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 -3
- package/lib/index.d.ts +17 -3
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/package.json +2 -2
- package/src/interfaces/augment-api-errors.ts +9 -1
- package/src/interfaces/augment-api-tx.ts +1 -1
- package/src/interfaces/lookup.ts +4 -0
- package/src/interfaces/types-lookup.ts +7 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@argonprotocol/mainchain",
|
|
3
|
-
"version": "1.4.11-dev.
|
|
3
|
+
"version": "1.4.11-dev.825bb01a",
|
|
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.4.11-dev.
|
|
71
|
+
"@argonprotocol/testing": "1.4.11-dev.825bb01a",
|
|
72
72
|
"@polkadot/typegen": "^16.5.6",
|
|
73
73
|
"@substrate/ss58-registry": "^1.51.0",
|
|
74
74
|
"@types/node": "^20",
|
|
@@ -99,7 +99,7 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
99
99
|
**/
|
|
100
100
|
ExpirationAtBlockOverflow: AugmentedError<ApiType>;
|
|
101
101
|
/**
|
|
102
|
-
* The fee coupon nonce
|
|
102
|
+
* The fee coupon nonce is not the next unconsumed nonce.
|
|
103
103
|
**/
|
|
104
104
|
FeeCouponAlreadyUsed: AugmentedError<ApiType>;
|
|
105
105
|
/**
|
|
@@ -118,6 +118,14 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
118
118
|
* The fee coupon was issued for a different chain.
|
|
119
119
|
**/
|
|
120
120
|
FeeCouponWrongChain: AugmentedError<ApiType>;
|
|
121
|
+
/**
|
|
122
|
+
* The fee coupon was issued for a different number of requested satoshis.
|
|
123
|
+
**/
|
|
124
|
+
FeeCouponWrongSatoshis: AugmentedError<ApiType>;
|
|
125
|
+
/**
|
|
126
|
+
* The fee coupon was issued for a different target price.
|
|
127
|
+
**/
|
|
128
|
+
FeeCouponWrongTargetPrice: AugmentedError<ApiType>;
|
|
121
129
|
/**
|
|
122
130
|
* The fee coupon was issued for a different vault.
|
|
123
131
|
**/
|
|
@@ -1198,7 +1198,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1198
1198
|
[PalletOperationalAccountsRegistration]
|
|
1199
1199
|
>;
|
|
1200
1200
|
/**
|
|
1201
|
-
* Update the display name on an operational account profile.
|
|
1201
|
+
* Update the display name on an operational account profile from any linked account.
|
|
1202
1202
|
**/
|
|
1203
1203
|
setName: AugmentedSubmittable<
|
|
1204
1204
|
(name: Option<Bytes> | null | Uint8Array | Bytes | string) => SubmittableExtrinsic<ApiType>,
|
package/src/interfaces/lookup.ts
CHANGED
|
@@ -2294,6 +2294,8 @@ export default {
|
|
|
2294
2294
|
vaultId: 'Compact<u32>',
|
|
2295
2295
|
genesisHash: 'H256',
|
|
2296
2296
|
beneficiary: 'AccountId32',
|
|
2297
|
+
requestedSatoshis: 'Compact<u64>',
|
|
2298
|
+
microgonsAtTargetPerBtc: 'Option<u128>',
|
|
2297
2299
|
feeDiscount: 'Compact<u128>',
|
|
2298
2300
|
securitizationSpaceToUnreserve: 'Compact<u128>',
|
|
2299
2301
|
expiresAtFrame: 'Compact<u64>',
|
|
@@ -3528,6 +3530,8 @@ export default {
|
|
|
3528
3530
|
OrphanedUtxoReleaseRequested: 'Null',
|
|
3529
3531
|
FundingUtxoCannotBeReleased: 'Null',
|
|
3530
3532
|
MaxOrphanedUtxoReleaseRequestsExceeded: 'Null',
|
|
3533
|
+
FeeCouponWrongSatoshis: 'Null',
|
|
3534
|
+
FeeCouponWrongTargetPrice: 'Null',
|
|
3531
3535
|
},
|
|
3532
3536
|
},
|
|
3533
3537
|
/**
|
|
@@ -2788,6 +2788,8 @@ declare module '@polkadot/types/lookup' {
|
|
|
2788
2788
|
readonly vaultId: Compact<u32>;
|
|
2789
2789
|
readonly genesisHash: H256;
|
|
2790
2790
|
readonly beneficiary: AccountId32;
|
|
2791
|
+
readonly requestedSatoshis: Compact<u64>;
|
|
2792
|
+
readonly microgonsAtTargetPerBtc: Option<u128>;
|
|
2791
2793
|
readonly feeDiscount: Compact<u128>;
|
|
2792
2794
|
readonly securitizationSpaceToUnreserve: Compact<u128>;
|
|
2793
2795
|
readonly expiresAtFrame: Compact<u64>;
|
|
@@ -4101,6 +4103,8 @@ declare module '@polkadot/types/lookup' {
|
|
|
4101
4103
|
readonly isOrphanedUtxoReleaseRequested: boolean;
|
|
4102
4104
|
readonly isFundingUtxoCannotBeReleased: boolean;
|
|
4103
4105
|
readonly isMaxOrphanedUtxoReleaseRequestsExceeded: boolean;
|
|
4106
|
+
readonly isFeeCouponWrongSatoshis: boolean;
|
|
4107
|
+
readonly isFeeCouponWrongTargetPrice: boolean;
|
|
4104
4108
|
readonly type:
|
|
4105
4109
|
| 'InsufficientFunds'
|
|
4106
4110
|
| 'InsufficientVaultFunds'
|
|
@@ -4143,7 +4147,9 @@ declare module '@polkadot/types/lookup' {
|
|
|
4143
4147
|
| 'OrphanedUtxoFundingConflict'
|
|
4144
4148
|
| 'OrphanedUtxoReleaseRequested'
|
|
4145
4149
|
| 'FundingUtxoCannotBeReleased'
|
|
4146
|
-
| 'MaxOrphanedUtxoReleaseRequestsExceeded'
|
|
4150
|
+
| 'MaxOrphanedUtxoReleaseRequestsExceeded'
|
|
4151
|
+
| 'FeeCouponWrongSatoshis'
|
|
4152
|
+
| 'FeeCouponWrongTargetPrice';
|
|
4147
4153
|
}
|
|
4148
4154
|
|
|
4149
4155
|
/** @name ArgonPrimitivesVaultVaultError (437) */
|