@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/browser/index.d.ts
CHANGED
|
@@ -851,7 +851,7 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
851
851
|
**/
|
|
852
852
|
ExpirationAtBlockOverflow: AugmentedError<ApiType>;
|
|
853
853
|
/**
|
|
854
|
-
* The fee coupon nonce
|
|
854
|
+
* The fee coupon nonce is not the next unconsumed nonce.
|
|
855
855
|
**/
|
|
856
856
|
FeeCouponAlreadyUsed: AugmentedError<ApiType>;
|
|
857
857
|
/**
|
|
@@ -870,6 +870,14 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
870
870
|
* The fee coupon was issued for a different chain.
|
|
871
871
|
**/
|
|
872
872
|
FeeCouponWrongChain: AugmentedError<ApiType>;
|
|
873
|
+
/**
|
|
874
|
+
* The fee coupon was issued for a different number of requested satoshis.
|
|
875
|
+
**/
|
|
876
|
+
FeeCouponWrongSatoshis: AugmentedError<ApiType>;
|
|
877
|
+
/**
|
|
878
|
+
* The fee coupon was issued for a different target price.
|
|
879
|
+
**/
|
|
880
|
+
FeeCouponWrongTargetPrice: AugmentedError<ApiType>;
|
|
873
881
|
/**
|
|
874
882
|
* The fee coupon was issued for a different vault.
|
|
875
883
|
**/
|
|
@@ -6830,7 +6838,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
6830
6838
|
PalletOperationalAccountsRegistration
|
|
6831
6839
|
]>;
|
|
6832
6840
|
/**
|
|
6833
|
-
* Update the display name on an operational account profile.
|
|
6841
|
+
* Update the display name on an operational account profile from any linked account.
|
|
6834
6842
|
**/
|
|
6835
6843
|
setName: AugmentedSubmittable<(name: Option<Bytes> | null | Uint8Array | Bytes | string) => SubmittableExtrinsic<ApiType>, [
|
|
6836
6844
|
Option<Bytes>
|
|
@@ -12191,6 +12199,8 @@ declare module '@polkadot/types/lookup' {
|
|
|
12191
12199
|
readonly vaultId: Compact<u32>;
|
|
12192
12200
|
readonly genesisHash: H256;
|
|
12193
12201
|
readonly beneficiary: AccountId32;
|
|
12202
|
+
readonly requestedSatoshis: Compact<u64>;
|
|
12203
|
+
readonly microgonsAtTargetPerBtc: Option<u128>;
|
|
12194
12204
|
readonly feeDiscount: Compact<u128>;
|
|
12195
12205
|
readonly securitizationSpaceToUnreserve: Compact<u128>;
|
|
12196
12206
|
readonly expiresAtFrame: Compact<u64>;
|
|
@@ -13288,7 +13298,9 @@ declare module '@polkadot/types/lookup' {
|
|
|
13288
13298
|
readonly isOrphanedUtxoReleaseRequested: boolean;
|
|
13289
13299
|
readonly isFundingUtxoCannotBeReleased: boolean;
|
|
13290
13300
|
readonly isMaxOrphanedUtxoReleaseRequestsExceeded: boolean;
|
|
13291
|
-
readonly
|
|
13301
|
+
readonly isFeeCouponWrongSatoshis: boolean;
|
|
13302
|
+
readonly isFeeCouponWrongTargetPrice: boolean;
|
|
13303
|
+
readonly type: 'InsufficientFunds' | 'InsufficientVaultFunds' | 'AccountWouldGoBelowMinimumBalance' | 'VaultClosed' | 'InvalidVaultAmount' | 'RedemptionNotLocked' | 'BitcoinReleaseInitiationDeadlinePassed' | 'BitcoinFeeTooHigh' | 'BitcoinUtxoNotFound' | 'BitcoinUnableToBeDecodedForRelease' | 'BitcoinSignatureUnableToBeDecoded' | 'BitcoinPubkeyUnableToBeDecoded' | 'BitcoinInvalidCosignature' | 'InsufficientSatoshisLocked' | 'NoBitcoinPricesAvailable' | 'InvalidBitcoinScript' | 'NoPermissions' | 'HoldUnexpectedlyModified' | 'UnrecoverableHold' | 'VaultNotFound' | 'GenericVaultError' | 'LockNotFound' | 'NoVaultBitcoinPubkeysAvailable' | 'UnableToGenerateVaultBitcoinPubkey' | 'VaultNotYetActive' | 'ExpirationAtBlockOverflow' | 'NoRatchetingAvailable' | 'LockInProcessOfRelease' | 'LockPendingFunding' | 'OverflowError' | 'IneligibleMicrogonRateRequested' | 'FeeCouponWrongVault' | 'FeeCouponWrongChain' | 'FeeCouponWrongAccount' | 'FeeCouponExpired' | 'InvalidFeeCouponSignature' | 'FeeCouponAlreadyUsed' | 'FeeCouponOnlyForInitialization' | 'OrphanedUtxoFundingConflict' | 'OrphanedUtxoReleaseRequested' | 'FundingUtxoCannotBeReleased' | 'MaxOrphanedUtxoReleaseRequestsExceeded' | 'FeeCouponWrongSatoshis' | 'FeeCouponWrongTargetPrice';
|
|
13292
13304
|
}
|
|
13293
13305
|
/** @name ArgonPrimitivesVaultVaultError (437) */
|
|
13294
13306
|
interface ArgonPrimitivesVaultVaultError extends Enum {
|
|
@@ -14332,6 +14344,8 @@ type BitcoinLockFeeCoupon = {
|
|
|
14332
14344
|
vaultId: number;
|
|
14333
14345
|
genesisHash: string;
|
|
14334
14346
|
beneficiary: string;
|
|
14347
|
+
requestedSatoshis: bigint;
|
|
14348
|
+
microgonsAtTargetPerBtc: bigint | null;
|
|
14335
14349
|
feeDiscount: bigint;
|
|
14336
14350
|
securitizationSpaceToUnreserve: bigint;
|
|
14337
14351
|
expiresAtFrame: bigint;
|