@argonprotocol/mainchain 1.4.10-dev.f355ccc1 → 1.4.11-dev.3dea4c32
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 +136 -116
- package/browser/index.js +63 -53
- package/browser/index.js.map +1 -1
- package/lib/index.cjs +84 -74
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +136 -116
- package/lib/index.d.ts +136 -116
- package/lib/index.js +63 -53
- package/lib/index.js.map +1 -1
- package/package.json +2 -2
- package/src/interfaces/augment-api-consts.ts +2 -1
- package/src/interfaces/augment-api-errors.ts +12 -12
- package/src/interfaces/augment-api-events.ts +18 -18
- package/src/interfaces/augment-api-query.ts +11 -2
- package/src/interfaces/augment-api-tx.ts +26 -24
- package/src/interfaces/lookup.ts +35 -35
- package/src/interfaces/types-lookup.ts +55 -55
package/browser/index.d.ts
CHANGED
|
@@ -185,7 +185,8 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
185
185
|
**/
|
|
186
186
|
maximumSatoshiThresholdFromExpected: u64 & AugmentedConst<ApiType>;
|
|
187
187
|
/**
|
|
188
|
-
* Maximum bitcoin blocks to
|
|
188
|
+
* Maximum bitcoin blocks to accept a UTXO for confirmation. Expired locks remain watched
|
|
189
|
+
* for this many additional blocks so late funding can be detected as orphaned.
|
|
189
190
|
**/
|
|
190
191
|
maxPendingConfirmationBlocks: u64 & AugmentedConst<ApiType>;
|
|
191
192
|
/**
|
|
@@ -2023,17 +2024,13 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
2023
2024
|
**/
|
|
2024
2025
|
BondLotAlreadyReleasing: AugmentedError<ApiType>;
|
|
2025
2026
|
/**
|
|
2026
|
-
* Only an active vault bond owned by its operator can be used as
|
|
2027
|
+
* Only an active vault bond owned by its operator can be used as flexible.
|
|
2027
2028
|
**/
|
|
2028
|
-
|
|
2029
|
+
BondLotCannotBeFlexible: AugmentedError<ApiType>;
|
|
2029
2030
|
/**
|
|
2030
2031
|
* The bond lot could not be found.
|
|
2031
2032
|
**/
|
|
2032
2033
|
BondLotNotFound: AugmentedError<ApiType>;
|
|
2033
|
-
/**
|
|
2034
|
-
* The vault doesn't have enough bitcoin security to support this bond purchase
|
|
2035
|
-
**/
|
|
2036
|
-
BondPurchaseAboveSecurity: AugmentedError<ApiType>;
|
|
2037
2034
|
/**
|
|
2038
2035
|
* The purchase is below the minimum amount.
|
|
2039
2036
|
**/
|
|
@@ -2043,9 +2040,13 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
2043
2040
|
**/
|
|
2044
2041
|
BondPurchaseRejected: AugmentedError<ApiType>;
|
|
2045
2042
|
/**
|
|
2046
|
-
* The
|
|
2043
|
+
* The bonus approval nonce has already been consumed or superseded.
|
|
2044
|
+
**/
|
|
2045
|
+
BonusApprovalAlreadyUsed: AugmentedError<ApiType>;
|
|
2046
|
+
/**
|
|
2047
|
+
* The approved bonus plus the vault's profit sharing exceeds 100%.
|
|
2047
2048
|
**/
|
|
2048
|
-
|
|
2049
|
+
BonusApprovalExceedsProfitSharing: AugmentedError<ApiType>;
|
|
2049
2050
|
/**
|
|
2050
2051
|
* The bonus approval already expired.
|
|
2051
2052
|
**/
|
|
@@ -2058,6 +2059,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
2058
2059
|
* The bonus approval was signed for a different vault.
|
|
2059
2060
|
**/
|
|
2060
2061
|
BonusApprovalWrongVault: AugmentedError<ApiType>;
|
|
2062
|
+
/**
|
|
2063
|
+
* The vault doesn't have enough bitcoin security to support this bond purchase
|
|
2064
|
+
**/
|
|
2065
|
+
InsufficientBondSpace: AugmentedError<ApiType>;
|
|
2061
2066
|
/**
|
|
2062
2067
|
* An internal error occurred.
|
|
2063
2068
|
**/
|
|
@@ -2146,10 +2151,6 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
2146
2151
|
* The bitcoin script to lock this bitcoin has errors
|
|
2147
2152
|
**/
|
|
2148
2153
|
InvalidBitcoinScript: AugmentedError<ApiType>;
|
|
2149
|
-
/**
|
|
2150
|
-
* Treasury bond sharing plus bonus cannot exceed 100%.
|
|
2151
|
-
**/
|
|
2152
|
-
InvalidBondSharingTerms: AugmentedError<ApiType>;
|
|
2153
2154
|
/**
|
|
2154
2155
|
* An invalid securitization percent was provided for the vault. NOTE: it cannot be
|
|
2155
2156
|
* decreased (or negative)
|
|
@@ -2546,15 +2547,6 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2546
2547
|
compensationAmount: u128;
|
|
2547
2548
|
compensatedAccountId: AccountId32;
|
|
2548
2549
|
}>;
|
|
2549
|
-
BitcoinLockBackfillChanged: AugmentedEvent<ApiType, [
|
|
2550
|
-
utxoId: u64,
|
|
2551
|
-
vaultId: u32,
|
|
2552
|
-
isBackfill: bool
|
|
2553
|
-
], {
|
|
2554
|
-
utxoId: u64;
|
|
2555
|
-
vaultId: u32;
|
|
2556
|
-
isBackfill: bool;
|
|
2557
|
-
}>;
|
|
2558
2550
|
BitcoinLockBurned: AugmentedEvent<ApiType, [
|
|
2559
2551
|
utxoId: u64,
|
|
2560
2552
|
vaultId: u32,
|
|
@@ -2581,6 +2573,15 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2581
2573
|
accountId: AccountId32;
|
|
2582
2574
|
securityFee: u128;
|
|
2583
2575
|
}>;
|
|
2576
|
+
BitcoinLockFlexibleChanged: AugmentedEvent<ApiType, [
|
|
2577
|
+
utxoId: u64,
|
|
2578
|
+
vaultId: u32,
|
|
2579
|
+
isFlexible: bool
|
|
2580
|
+
], {
|
|
2581
|
+
utxoId: u64;
|
|
2582
|
+
vaultId: u32;
|
|
2583
|
+
isFlexible: bool;
|
|
2584
|
+
}>;
|
|
2584
2585
|
BitcoinLockRatcheted: AugmentedEvent<ApiType, [
|
|
2585
2586
|
utxoId: u64,
|
|
2586
2587
|
vaultId: u32,
|
|
@@ -4182,21 +4183,14 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
4182
4183
|
}>;
|
|
4183
4184
|
};
|
|
4184
4185
|
treasury: {
|
|
4185
|
-
|
|
4186
|
-
vaultId: u32,
|
|
4187
|
-
backfillBondsReserved: u32
|
|
4188
|
-
], {
|
|
4189
|
-
vaultId: u32;
|
|
4190
|
-
backfillBondsReserved: u32;
|
|
4191
|
-
}>;
|
|
4192
|
-
BondLotBackfillChanged: AugmentedEvent<ApiType, [
|
|
4186
|
+
BondLotFlexibilityChanged: AugmentedEvent<ApiType, [
|
|
4193
4187
|
vaultId: u32,
|
|
4194
4188
|
bondLotId: u64,
|
|
4195
|
-
|
|
4189
|
+
isFlexible: bool
|
|
4196
4190
|
], {
|
|
4197
4191
|
vaultId: u32;
|
|
4198
4192
|
bondLotId: u64;
|
|
4199
|
-
|
|
4193
|
+
isFlexible: bool;
|
|
4200
4194
|
}>;
|
|
4201
4195
|
/**
|
|
4202
4196
|
* A bond purchase entered its active program set.
|
|
@@ -4355,6 +4349,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
4355
4349
|
totalEligibleBonds: u128;
|
|
4356
4350
|
participatingVaults: u32;
|
|
4357
4351
|
}>;
|
|
4352
|
+
ReservedBondSpaceChanged: AugmentedEvent<ApiType, [
|
|
4353
|
+
vaultId: u32,
|
|
4354
|
+
reservedBondSpace: u32
|
|
4355
|
+
], {
|
|
4356
|
+
vaultId: u32;
|
|
4357
|
+
reservedBondSpace: u32;
|
|
4358
|
+
}>;
|
|
4358
4359
|
};
|
|
4359
4360
|
txPause: {
|
|
4360
4361
|
/**
|
|
@@ -4428,13 +4429,6 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
4428
4429
|
}>;
|
|
4429
4430
|
};
|
|
4430
4431
|
vaults: {
|
|
4431
|
-
BackfillSecuritizationReservedChanged: AugmentedEvent<ApiType, [
|
|
4432
|
-
vaultId: u32,
|
|
4433
|
-
backfillSecuritizationReserved: u128
|
|
4434
|
-
], {
|
|
4435
|
-
vaultId: u32;
|
|
4436
|
-
backfillSecuritizationReserved: u128;
|
|
4437
|
-
}>;
|
|
4438
4432
|
CommittedArgonotsSet: AugmentedEvent<ApiType, [
|
|
4439
4433
|
vaultId: u32,
|
|
4440
4434
|
operatorAccountId: AccountId32,
|
|
@@ -4500,6 +4494,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
4500
4494
|
toBeneficiary: u128;
|
|
4501
4495
|
burned: u128;
|
|
4502
4496
|
}>;
|
|
4497
|
+
ReservedSecuritizationSpaceChanged: AugmentedEvent<ApiType, [
|
|
4498
|
+
vaultId: u32,
|
|
4499
|
+
reservedSecuritizationSpace: u128
|
|
4500
|
+
], {
|
|
4501
|
+
vaultId: u32;
|
|
4502
|
+
reservedSecuritizationSpace: u128;
|
|
4503
|
+
}>;
|
|
4503
4504
|
TreasuryRecordingError: AugmentedEvent<ApiType, [
|
|
4504
4505
|
vaultId: u32,
|
|
4505
4506
|
frameId: u64,
|
|
@@ -4754,7 +4755,8 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
4754
4755
|
confirmedBitcoinBlockTip: AugmentedQuery<ApiType, () => Observable<Option<ArgonPrimitivesBitcoinBitcoinBlock>>, [
|
|
4755
4756
|
]>;
|
|
4756
4757
|
/**
|
|
4757
|
-
* Pending funding entries that have expired
|
|
4758
|
+
* Pending funding entries that have expired. These remain watched until their additional
|
|
4759
|
+
* orphan-detection window ends, then await bounded cleanup.
|
|
4758
4760
|
**/
|
|
4759
4761
|
expiredPendingFunding: AugmentedQuery<ApiType, () => Observable<BTreeMap<u64, ArgonPrimitivesBitcoinUtxoValue>>, [
|
|
4760
4762
|
]>;
|
|
@@ -5801,7 +5803,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
5801
5803
|
* The active bond state for a vault.
|
|
5802
5804
|
*
|
|
5803
5805
|
* The bounded payout set keeps the largest bond amount first, then lower `bond_lot_id` first
|
|
5804
|
-
* when amounts tie.
|
|
5806
|
+
* when amounts tie. Flexible lots remain in `BondLotById` and are represented here by their
|
|
5805
5807
|
* aggregate.
|
|
5806
5808
|
**/
|
|
5807
5809
|
bondLotsByVault: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<PalletTreasuryVaultBondState>, [
|
|
@@ -5832,6 +5834,10 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
5832
5834
|
encumberedBondMicrogonsByAccount: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u128>, [
|
|
5833
5835
|
AccountId32
|
|
5834
5836
|
]>;
|
|
5837
|
+
lastBonusApprovalNonceByVaultAndAccount: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u64>>, [
|
|
5838
|
+
u32,
|
|
5839
|
+
AccountId32
|
|
5840
|
+
]>;
|
|
5835
5841
|
/**
|
|
5836
5842
|
* The next bond lot id.
|
|
5837
5843
|
**/
|
|
@@ -6221,7 +6227,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
6221
6227
|
Bytes,
|
|
6222
6228
|
u64
|
|
6223
6229
|
]>;
|
|
6224
|
-
|
|
6230
|
+
setFlexible: AugmentedSubmittable<(utxoId: u64 | AnyNumber | Uint8Array, isFlexible: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
6225
6231
|
u64,
|
|
6226
6232
|
bool
|
|
6227
6233
|
]>;
|
|
@@ -7530,8 +7536,10 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
7530
7536
|
buyBonds: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array, bonds: u32 | AnyNumber | Uint8Array, bonusApproval: Option<ArgonPrimitivesVaultTreasuryBonusApprovalProof> | null | Uint8Array | ArgonPrimitivesVaultTreasuryBonusApprovalProof | {
|
|
7531
7537
|
vaultId?: any;
|
|
7532
7538
|
beneficiary?: any;
|
|
7539
|
+
bonusPercent?: any;
|
|
7533
7540
|
expiresAtFrame?: any;
|
|
7534
|
-
|
|
7541
|
+
bondSpaceToUnreserve?: any;
|
|
7542
|
+
nonce?: any;
|
|
7535
7543
|
signature?: any;
|
|
7536
7544
|
} | string) => SubmittableExtrinsic<ApiType>, [
|
|
7537
7545
|
u32,
|
|
@@ -7546,14 +7554,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
7546
7554
|
liquidateBondLot: AugmentedSubmittable<(bondLotId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
7547
7555
|
u64
|
|
7548
7556
|
]>;
|
|
7549
|
-
|
|
7550
|
-
u32,
|
|
7551
|
-
u32
|
|
7552
|
-
]>;
|
|
7553
|
-
setBondLotAsBackfill: AugmentedSubmittable<(bondLotId: u64 | AnyNumber | Uint8Array, isBackfill: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
7557
|
+
setBondLotFlexible: AugmentedSubmittable<(bondLotId: u64 | AnyNumber | Uint8Array, isFlexible: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
7554
7558
|
u64,
|
|
7555
7559
|
bool
|
|
7556
7560
|
]>;
|
|
7561
|
+
/**
|
|
7562
|
+
* Reserve vault bond space for future bond purchases.
|
|
7563
|
+
**/
|
|
7564
|
+
setReservedBondSpace: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array, reservedBondSpace: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
7565
|
+
u32,
|
|
7566
|
+
u32
|
|
7567
|
+
]>;
|
|
7557
7568
|
};
|
|
7558
7569
|
txPause: {
|
|
7559
7570
|
/**
|
|
@@ -7769,7 +7780,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
7769
7780
|
bitcoinAnnualPercentRate?: any;
|
|
7770
7781
|
bitcoinBaseFee?: any;
|
|
7771
7782
|
treasuryProfitSharing?: any;
|
|
7772
|
-
treasuryBonusProfitSharing?: any;
|
|
7773
7783
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
7774
7784
|
u32,
|
|
7775
7785
|
ArgonPrimitivesVaultVaultTerms
|
|
@@ -7783,16 +7793,18 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
7783
7793
|
u32,
|
|
7784
7794
|
ArgonPrimitivesBitcoinOpaqueBitcoinXpub
|
|
7785
7795
|
]>;
|
|
7786
|
-
setBackfillSecuritizationReserved: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array, backfillSecuritizationReserved: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
7787
|
-
u32,
|
|
7788
|
-
u128
|
|
7789
|
-
]>;
|
|
7790
7796
|
setCommittedArgonots: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
7791
7797
|
Compact<u128>
|
|
7792
7798
|
]>;
|
|
7793
7799
|
setDelegateAccount: AugmentedSubmittable<(delegateAccountId: Option<AccountId32> | null | Uint8Array | AccountId32 | string) => SubmittableExtrinsic<ApiType>, [
|
|
7794
7800
|
Option<AccountId32>
|
|
7795
7801
|
]>;
|
|
7802
|
+
/**
|
|
7803
|
+
* Reserve vault securitization space for future Bitcoin locks.
|
|
7804
|
+
**/
|
|
7805
|
+
setReservedSecuritizationSpace: AugmentedSubmittable<(reservedSecuritizationSpace: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [
|
|
7806
|
+
u128
|
|
7807
|
+
]>;
|
|
7796
7808
|
};
|
|
7797
7809
|
}
|
|
7798
7810
|
}
|
|
@@ -10374,10 +10386,10 @@ declare module '@polkadot/types/lookup' {
|
|
|
10374
10386
|
readonly asVaultBitcoinXpubChange: {
|
|
10375
10387
|
readonly vaultId: u32;
|
|
10376
10388
|
} & Struct;
|
|
10377
|
-
readonly
|
|
10378
|
-
readonly
|
|
10389
|
+
readonly isReservedSecuritizationSpaceChanged: boolean;
|
|
10390
|
+
readonly asReservedSecuritizationSpaceChanged: {
|
|
10379
10391
|
readonly vaultId: u32;
|
|
10380
|
-
readonly
|
|
10392
|
+
readonly reservedSecuritizationSpace: u128;
|
|
10381
10393
|
} & Struct;
|
|
10382
10394
|
readonly isVaultRevenueUncollected: boolean;
|
|
10383
10395
|
readonly asVaultRevenueUncollected: {
|
|
@@ -10440,7 +10452,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
10440
10452
|
readonly operatorAccountId: AccountId32;
|
|
10441
10453
|
readonly amount: u128;
|
|
10442
10454
|
} & Struct;
|
|
10443
|
-
readonly type: 'VaultCreated' | 'VaultModified' | 'VaultTermsChangeScheduled' | 'VaultTermsChanged' | 'VaultClosed' | 'VaultBitcoinXpubChange' | '
|
|
10455
|
+
readonly type: 'VaultCreated' | 'VaultModified' | 'VaultTermsChangeScheduled' | 'VaultTermsChanged' | 'VaultClosed' | 'VaultBitcoinXpubChange' | 'ReservedSecuritizationSpaceChanged' | 'VaultRevenueUncollected' | 'VaultCollected' | 'FundsLocked' | 'FundLockCanceled' | 'FundsScheduledForRelease' | 'LostBitcoinCompensated' | 'FundsReleased' | 'FundsReleasedError' | 'TreasuryRecordingError' | 'CommittedArgonotsSet';
|
|
10444
10456
|
}
|
|
10445
10457
|
/** @name PalletBitcoinLocksEvent (57) */
|
|
10446
10458
|
interface PalletBitcoinLocksEvent extends Enum {
|
|
@@ -10540,13 +10552,13 @@ declare module '@polkadot/types/lookup' {
|
|
|
10540
10552
|
readonly newSatoshis: u64;
|
|
10541
10553
|
readonly accountId: AccountId32;
|
|
10542
10554
|
} & Struct;
|
|
10543
|
-
readonly
|
|
10544
|
-
readonly
|
|
10555
|
+
readonly isBitcoinLockFlexibleChanged: boolean;
|
|
10556
|
+
readonly asBitcoinLockFlexibleChanged: {
|
|
10545
10557
|
readonly utxoId: u64;
|
|
10546
10558
|
readonly vaultId: u32;
|
|
10547
|
-
readonly
|
|
10559
|
+
readonly isFlexible: bool;
|
|
10548
10560
|
} & Struct;
|
|
10549
|
-
readonly type: 'BitcoinLockCreated' | 'BitcoinLockRatcheted' | 'BitcoinLockBurned' | 'BitcoinUtxoCosignRequested' | 'BitcoinUtxoCosigned' | 'BitcoinSpentAfterRelease' | 'BitcoinCosignPastDue' | 'CosignOverdueError' | 'LockExpirationError' | 'OrphanedUtxoReceived' | 'OrphanedUtxoReleaseRequested' | 'OrphanedUtxoCosigned' | 'UtxoFundedFromCandidate' | 'SecuritizationIncreased' | '
|
|
10561
|
+
readonly type: 'BitcoinLockCreated' | 'BitcoinLockRatcheted' | 'BitcoinLockBurned' | 'BitcoinUtxoCosignRequested' | 'BitcoinUtxoCosigned' | 'BitcoinSpentAfterRelease' | 'BitcoinCosignPastDue' | 'CosignOverdueError' | 'LockExpirationError' | 'OrphanedUtxoReceived' | 'OrphanedUtxoReleaseRequested' | 'OrphanedUtxoCosigned' | 'UtxoFundedFromCandidate' | 'SecuritizationIncreased' | 'BitcoinLockFlexibleChanged';
|
|
10550
10562
|
}
|
|
10551
10563
|
/** @name PalletNotariesEvent (60) */
|
|
10552
10564
|
interface PalletNotariesEvent extends Enum {
|
|
@@ -11311,16 +11323,16 @@ declare module '@polkadot/types/lookup' {
|
|
|
11311
11323
|
readonly accountId: AccountId32;
|
|
11312
11324
|
readonly bonds: u32;
|
|
11313
11325
|
} & Struct;
|
|
11314
|
-
readonly
|
|
11315
|
-
readonly
|
|
11326
|
+
readonly isBondLotFlexibilityChanged: boolean;
|
|
11327
|
+
readonly asBondLotFlexibilityChanged: {
|
|
11316
11328
|
readonly vaultId: u32;
|
|
11317
11329
|
readonly bondLotId: u64;
|
|
11318
|
-
readonly
|
|
11330
|
+
readonly isFlexible: bool;
|
|
11319
11331
|
} & Struct;
|
|
11320
|
-
readonly
|
|
11321
|
-
readonly
|
|
11332
|
+
readonly isReservedBondSpaceChanged: boolean;
|
|
11333
|
+
readonly asReservedBondSpaceChanged: {
|
|
11322
11334
|
readonly vaultId: u32;
|
|
11323
|
-
readonly
|
|
11335
|
+
readonly reservedBondSpace: u32;
|
|
11324
11336
|
} & Struct;
|
|
11325
11337
|
readonly isEncumberedBondMicrogonsBurned: boolean;
|
|
11326
11338
|
readonly asEncumberedBondMicrogonsBurned: {
|
|
@@ -11328,7 +11340,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
11328
11340
|
readonly burnedAmount: u128;
|
|
11329
11341
|
readonly releasedAmount: u128;
|
|
11330
11342
|
} & Struct;
|
|
11331
|
-
readonly type: 'CouldNotDistributeEarningsToBondLot' | 'CouldNotDistributeEarningsToArgonotBondLot' | 'CouldNotTransferToTreasuryReserves' | 'FrameEarningsDistributed' | 'FrameVaultCapitalLocked' | 'CouldNotReleaseBondLot' | 'BondLotPurchased' | 'BondLotReleaseScheduled' | 'BondLotReleased' | '
|
|
11343
|
+
readonly type: 'CouldNotDistributeEarningsToBondLot' | 'CouldNotDistributeEarningsToArgonotBondLot' | 'CouldNotTransferToTreasuryReserves' | 'FrameEarningsDistributed' | 'FrameVaultCapitalLocked' | 'CouldNotReleaseBondLot' | 'BondLotPurchased' | 'BondLotReleaseScheduled' | 'BondLotReleased' | 'BondLotFlexibilityChanged' | 'ReservedBondSpaceChanged' | 'EncumberedBondMicrogonsBurned';
|
|
11332
11344
|
}
|
|
11333
11345
|
/** @name PalletTreasuryBondProgramId (120) */
|
|
11334
11346
|
interface PalletTreasuryBondProgramId extends Enum {
|
|
@@ -12082,12 +12094,11 @@ declare module '@polkadot/types/lookup' {
|
|
|
12082
12094
|
readonly asSetCommittedArgonots: {
|
|
12083
12095
|
readonly amount: Compact<u128>;
|
|
12084
12096
|
} & Struct;
|
|
12085
|
-
readonly
|
|
12086
|
-
readonly
|
|
12087
|
-
readonly
|
|
12088
|
-
readonly backfillSecuritizationReserved: u128;
|
|
12097
|
+
readonly isSetReservedSecuritizationSpace: boolean;
|
|
12098
|
+
readonly asSetReservedSecuritizationSpace: {
|
|
12099
|
+
readonly reservedSecuritizationSpace: u128;
|
|
12089
12100
|
} & Struct;
|
|
12090
|
-
readonly type: 'Create' | 'ModifyFunding' | 'ModifyTerms' | 'Close' | 'ReplaceBitcoinXpub' | 'Collect' | 'SetDelegateAccount' | 'SetCommittedArgonots' | '
|
|
12101
|
+
readonly type: 'Create' | 'ModifyFunding' | 'ModifyTerms' | 'Close' | 'ReplaceBitcoinXpub' | 'Collect' | 'SetDelegateAccount' | 'SetCommittedArgonots' | 'SetReservedSecuritizationSpace';
|
|
12091
12102
|
}
|
|
12092
12103
|
/** @name PalletVaultsVaultConfig (209) */
|
|
12093
12104
|
interface PalletVaultsVaultConfig extends Struct {
|
|
@@ -12102,7 +12113,6 @@ declare module '@polkadot/types/lookup' {
|
|
|
12102
12113
|
readonly bitcoinAnnualPercentRate: Compact<u128>;
|
|
12103
12114
|
readonly bitcoinBaseFee: Compact<u128>;
|
|
12104
12115
|
readonly treasuryProfitSharing: Compact<Permill>;
|
|
12105
|
-
readonly treasuryBonusProfitSharing: Compact<Permill>;
|
|
12106
12116
|
}
|
|
12107
12117
|
/** @name ArgonPrimitivesBitcoinOpaqueBitcoinXpub (214) */
|
|
12108
12118
|
interface ArgonPrimitivesBitcoinOpaqueBitcoinXpub extends U8aFixed {
|
|
@@ -12153,12 +12163,12 @@ declare module '@polkadot/types/lookup' {
|
|
|
12153
12163
|
readonly utxoId: u64;
|
|
12154
12164
|
readonly newSatoshis: Compact<u64>;
|
|
12155
12165
|
} & Struct;
|
|
12156
|
-
readonly
|
|
12157
|
-
readonly
|
|
12166
|
+
readonly isSetFlexible: boolean;
|
|
12167
|
+
readonly asSetFlexible: {
|
|
12158
12168
|
readonly utxoId: u64;
|
|
12159
|
-
readonly
|
|
12169
|
+
readonly isFlexible: bool;
|
|
12160
12170
|
} & Struct;
|
|
12161
|
-
readonly type: 'Initialize' | 'RequestRelease' | 'CosignRelease' | 'Ratchet' | 'AdminModifyMinimumLockedSats' | 'RequestOrphanedUtxoRelease' | 'CosignOrphanedUtxoRelease' | 'IncreaseSecuritization' | '
|
|
12171
|
+
readonly type: 'Initialize' | 'RequestRelease' | 'CosignRelease' | 'Ratchet' | 'AdminModifyMinimumLockedSats' | 'RequestOrphanedUtxoRelease' | 'CosignOrphanedUtxoRelease' | 'IncreaseSecuritization' | 'SetFlexible';
|
|
12162
12172
|
}
|
|
12163
12173
|
/** @name ArgonPrimitivesBitcoinCompressedBitcoinPubkey (217) */
|
|
12164
12174
|
interface ArgonPrimitivesBitcoinCompressedBitcoinPubkey extends U8aFixed {
|
|
@@ -12182,7 +12192,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
12182
12192
|
readonly genesisHash: H256;
|
|
12183
12193
|
readonly beneficiary: AccountId32;
|
|
12184
12194
|
readonly feeDiscount: Compact<u128>;
|
|
12185
|
-
readonly
|
|
12195
|
+
readonly securitizationSpaceToUnreserve: Compact<u128>;
|
|
12186
12196
|
readonly expiresAtFrame: Compact<u64>;
|
|
12187
12197
|
readonly nonce: Compact<u64>;
|
|
12188
12198
|
readonly signature: SpRuntimeMultiSignature;
|
|
@@ -12585,24 +12595,26 @@ declare module '@polkadot/types/lookup' {
|
|
|
12585
12595
|
readonly asBuyArgonotBonds: {
|
|
12586
12596
|
readonly bonds: u32;
|
|
12587
12597
|
} & Struct;
|
|
12588
|
-
readonly
|
|
12589
|
-
readonly
|
|
12598
|
+
readonly isSetBondLotFlexible: boolean;
|
|
12599
|
+
readonly asSetBondLotFlexible: {
|
|
12590
12600
|
readonly bondLotId: u64;
|
|
12591
|
-
readonly
|
|
12601
|
+
readonly isFlexible: bool;
|
|
12592
12602
|
} & Struct;
|
|
12593
|
-
readonly
|
|
12594
|
-
readonly
|
|
12603
|
+
readonly isSetReservedBondSpace: boolean;
|
|
12604
|
+
readonly asSetReservedBondSpace: {
|
|
12595
12605
|
readonly vaultId: u32;
|
|
12596
|
-
readonly
|
|
12606
|
+
readonly reservedBondSpace: u32;
|
|
12597
12607
|
} & Struct;
|
|
12598
|
-
readonly type: 'BuyBonds' | 'LiquidateBondLot' | 'BuyArgonotBonds' | '
|
|
12608
|
+
readonly type: 'BuyBonds' | 'LiquidateBondLot' | 'BuyArgonotBonds' | 'SetBondLotFlexible' | 'SetReservedBondSpace';
|
|
12599
12609
|
}
|
|
12600
12610
|
/** @name ArgonPrimitivesVaultTreasuryBonusApprovalProof (278) */
|
|
12601
12611
|
interface ArgonPrimitivesVaultTreasuryBonusApprovalProof extends Struct {
|
|
12602
12612
|
readonly vaultId: Compact<u32>;
|
|
12603
12613
|
readonly beneficiary: AccountId32;
|
|
12614
|
+
readonly bonusPercent: Compact<Permill>;
|
|
12604
12615
|
readonly expiresAtFrame: Compact<u64>;
|
|
12605
|
-
readonly
|
|
12616
|
+
readonly bondSpaceToUnreserve: Compact<u32>;
|
|
12617
|
+
readonly nonce: Compact<u64>;
|
|
12606
12618
|
readonly signature: SpRuntimeMultiSignature;
|
|
12607
12619
|
}
|
|
12608
12620
|
/** @name PalletOperationalAccountsCall (279) */
|
|
@@ -13095,12 +13107,12 @@ declare module '@polkadot/types/lookup' {
|
|
|
13095
13107
|
readonly securitization: Compact<u128>;
|
|
13096
13108
|
readonly securitizationTarget: Compact<u128>;
|
|
13097
13109
|
readonly securitizationLocked: Compact<u128>;
|
|
13098
|
-
readonly
|
|
13099
|
-
readonly
|
|
13110
|
+
readonly flexibleSecuritizationLocked: Compact<u128>;
|
|
13111
|
+
readonly reservedSecuritizationSpace: Compact<u128>;
|
|
13100
13112
|
readonly securitizationPendingActivation: Compact<u128>;
|
|
13101
13113
|
readonly lockedSatoshis: Compact<u64>;
|
|
13102
13114
|
readonly securitizedSatoshis: Compact<u64>;
|
|
13103
|
-
readonly
|
|
13115
|
+
readonly flexibleSecuritizedSatoshis: Compact<u64>;
|
|
13104
13116
|
readonly securitizationReleaseSchedule: BTreeMap<u64, u128>;
|
|
13105
13117
|
readonly securitizationRatio: Compact<u128>;
|
|
13106
13118
|
readonly isClosed: bool;
|
|
@@ -13176,14 +13188,13 @@ declare module '@polkadot/types/lookup' {
|
|
|
13176
13188
|
readonly isInternalError: boolean;
|
|
13177
13189
|
readonly isUnableToGenerateVaultBitcoinPubkey: boolean;
|
|
13178
13190
|
readonly isFundingChangeAlreadyScheduled: boolean;
|
|
13179
|
-
readonly isInvalidBondSharingTerms: boolean;
|
|
13180
13191
|
readonly isPendingCosignsBeforeCollect: boolean;
|
|
13181
13192
|
readonly isPendingOrphanedUtxoCosignsBeforeCollect: boolean;
|
|
13182
13193
|
readonly isOverdueCollectBlockersBeforeCollect: boolean;
|
|
13183
13194
|
readonly isAccountAlreadyHasVault: boolean;
|
|
13184
13195
|
readonly isOperationalAccountRegistrationRequired: boolean;
|
|
13185
13196
|
readonly isCommittedArgonotsBelowEncumberedBacking: boolean;
|
|
13186
|
-
readonly type: 'NoMoreVaultIds' | 'InsufficientFunds' | 'InsufficientVaultFunds' | 'AccountBelowMinimumBalance' | 'VaultClosed' | 'InvalidVaultAmount' | 'VaultReductionBelowSecuritization' | 'InvalidSecuritization' | 'ReusedVaultBitcoinXpub' | 'InvalidBitcoinScript' | 'InvalidXpubkey' | 'WrongXpubNetwork' | 'UnsafeXpubkey' | 'UnableToDeriveVaultXpubChild' | 'BitcoinConversionFailed' | 'NoPermissions' | 'HoldUnexpectedlyModified' | 'UnrecoverableHold' | 'VaultNotFound' | 'VaultNotYetActive' | 'NoVaultBitcoinPubkeysAvailable' | 'TermsModificationOverflow' | 'TermsChangeAlreadyScheduled' | 'InternalError' | 'UnableToGenerateVaultBitcoinPubkey' | 'FundingChangeAlreadyScheduled' | '
|
|
13197
|
+
readonly type: 'NoMoreVaultIds' | 'InsufficientFunds' | 'InsufficientVaultFunds' | 'AccountBelowMinimumBalance' | 'VaultClosed' | 'InvalidVaultAmount' | 'VaultReductionBelowSecuritization' | 'InvalidSecuritization' | 'ReusedVaultBitcoinXpub' | 'InvalidBitcoinScript' | 'InvalidXpubkey' | 'WrongXpubNetwork' | 'UnsafeXpubkey' | 'UnableToDeriveVaultXpubChild' | 'BitcoinConversionFailed' | 'NoPermissions' | 'HoldUnexpectedlyModified' | 'UnrecoverableHold' | 'VaultNotFound' | 'VaultNotYetActive' | 'NoVaultBitcoinPubkeysAvailable' | 'TermsModificationOverflow' | 'TermsChangeAlreadyScheduled' | 'InternalError' | 'UnableToGenerateVaultBitcoinPubkey' | 'FundingChangeAlreadyScheduled' | 'PendingCosignsBeforeCollect' | 'PendingOrphanedUtxoCosignsBeforeCollect' | 'OverdueCollectBlockersBeforeCollect' | 'AccountAlreadyHasVault' | 'OperationalAccountRegistrationRequired' | 'CommittedArgonotsBelowEncumberedBacking';
|
|
13187
13198
|
}
|
|
13188
13199
|
/** @name PalletBitcoinLocksLockedBitcoin (421) */
|
|
13189
13200
|
interface PalletBitcoinLocksLockedBitcoin extends Struct {
|
|
@@ -13205,7 +13216,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
13205
13216
|
readonly createdAtHeight: Compact<u64>;
|
|
13206
13217
|
readonly utxoScriptPubkey: ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey;
|
|
13207
13218
|
readonly isFunded: bool;
|
|
13208
|
-
readonly
|
|
13219
|
+
readonly isFlexible: bool;
|
|
13209
13220
|
readonly fundHoldExtensions: BTreeMap<u64, u128>;
|
|
13210
13221
|
readonly createdAtArgonBlock: Compact<u32>;
|
|
13211
13222
|
}
|
|
@@ -13591,9 +13602,9 @@ declare module '@polkadot/types/lookup' {
|
|
|
13591
13602
|
}
|
|
13592
13603
|
/** @name PalletTreasuryVaultCapital (528) */
|
|
13593
13604
|
interface PalletTreasuryVaultCapital extends Struct {
|
|
13594
|
-
readonly
|
|
13595
|
-
readonly
|
|
13596
|
-
readonly
|
|
13605
|
+
readonly regularBondAllocations: Vec<PalletTreasuryBondLotAllocation>;
|
|
13606
|
+
readonly flexibleBondsEligible: Compact<u32>;
|
|
13607
|
+
readonly flexibleProrata: u128;
|
|
13597
13608
|
readonly eligibleBonds: Compact<u32>;
|
|
13598
13609
|
}
|
|
13599
13610
|
/** @name PalletTreasuryBondLotAllocation (530) */
|
|
@@ -13617,7 +13628,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
13617
13628
|
readonly owner: AccountId32;
|
|
13618
13629
|
readonly program: PalletTreasuryBondProgram;
|
|
13619
13630
|
readonly bonds: Compact<u32>;
|
|
13620
|
-
readonly
|
|
13631
|
+
readonly isFlexible: bool;
|
|
13621
13632
|
readonly createdFrameId: Compact<u64>;
|
|
13622
13633
|
readonly participatedFrames: Compact<u32>;
|
|
13623
13634
|
readonly lastFrameEarningsFrameId: Option<u64>;
|
|
@@ -13639,9 +13650,9 @@ declare module '@polkadot/types/lookup' {
|
|
|
13639
13650
|
}
|
|
13640
13651
|
/** @name PalletTreasuryVaultBondState (543) */
|
|
13641
13652
|
interface PalletTreasuryVaultBondState extends Struct {
|
|
13642
|
-
readonly
|
|
13643
|
-
readonly
|
|
13644
|
-
readonly
|
|
13653
|
+
readonly regularBondLots: Vec<PalletTreasuryBondLotSummary>;
|
|
13654
|
+
readonly flexibleBonds: Compact<u32>;
|
|
13655
|
+
readonly reservedBondSpace: Compact<u32>;
|
|
13645
13656
|
}
|
|
13646
13657
|
/** @name PalletTreasuryError (545) */
|
|
13647
13658
|
interface PalletTreasuryError extends Enum {
|
|
@@ -13654,18 +13665,19 @@ declare module '@polkadot/types/lookup' {
|
|
|
13654
13665
|
readonly isBondLotNotFound: boolean;
|
|
13655
13666
|
readonly isNotBondLotOwner: boolean;
|
|
13656
13667
|
readonly isBondLotAlreadyReleasing: boolean;
|
|
13657
|
-
readonly
|
|
13668
|
+
readonly isInsufficientBondSpace: boolean;
|
|
13658
13669
|
readonly isActiveBondAmountBelowEncumberedBacking: boolean;
|
|
13659
13670
|
readonly isBonusApprovalWrongVault: boolean;
|
|
13660
13671
|
readonly isBonusApprovalWrongAccount: boolean;
|
|
13661
13672
|
readonly isBonusApprovalExpired: boolean;
|
|
13662
|
-
readonly
|
|
13673
|
+
readonly isBonusApprovalAlreadyUsed: boolean;
|
|
13663
13674
|
readonly isInvalidBonusApprovalSignature: boolean;
|
|
13675
|
+
readonly isBonusApprovalExceedsProfitSharing: boolean;
|
|
13664
13676
|
readonly isArgonotBondPurchaseBelowCutoff: boolean;
|
|
13665
13677
|
readonly isArgonotBondPurchaseAboveCap: boolean;
|
|
13666
|
-
readonly
|
|
13678
|
+
readonly isBondLotCannotBeFlexible: boolean;
|
|
13667
13679
|
readonly isNoPermissions: boolean;
|
|
13668
|
-
readonly type: 'BondPurchaseRejected' | 'VaultNotAcceptingBondPurchases' | 'BondPurchaseBelowMinimum' | 'InternalError' | 'MaxAcceptedBondLotsExceeded' | 'MaxPendingBondReleasesExceeded' | 'BondLotNotFound' | 'NotBondLotOwner' | 'BondLotAlreadyReleasing' | '
|
|
13680
|
+
readonly type: 'BondPurchaseRejected' | 'VaultNotAcceptingBondPurchases' | 'BondPurchaseBelowMinimum' | 'InternalError' | 'MaxAcceptedBondLotsExceeded' | 'MaxPendingBondReleasesExceeded' | 'BondLotNotFound' | 'NotBondLotOwner' | 'BondLotAlreadyReleasing' | 'InsufficientBondSpace' | 'ActiveBondAmountBelowEncumberedBacking' | 'BonusApprovalWrongVault' | 'BonusApprovalWrongAccount' | 'BonusApprovalExpired' | 'BonusApprovalAlreadyUsed' | 'InvalidBonusApprovalSignature' | 'BonusApprovalExceedsProfitSharing' | 'ArgonotBondPurchaseBelowCutoff' | 'ArgonotBondPurchaseAboveCap' | 'BondLotCannotBeFlexible' | 'NoPermissions';
|
|
13669
13681
|
}
|
|
13670
13682
|
/** @name PalletFeeControlError (546) */
|
|
13671
13683
|
interface PalletFeeControlError extends Enum {
|
|
@@ -14218,6 +14230,16 @@ interface ArgonPrimitivesVaultV144 extends Struct {
|
|
|
14218
14230
|
readonly pendingTerms: Option<ITuple<[u64, ArgonPrimitivesVaultVaultTerms]>>;
|
|
14219
14231
|
readonly openedTick: Compact<u64>;
|
|
14220
14232
|
}
|
|
14233
|
+
type PreviousArgonPrimitivesVault = Omit<ArgonPrimitivesVault, 'flexibleSecuritizationLocked' | 'reservedSecuritizationSpace' | 'flexibleSecuritizedSatoshis'> & {
|
|
14234
|
+
readonly backfillSecuritizationLocked: ArgonPrimitivesVault['flexibleSecuritizationLocked'];
|
|
14235
|
+
readonly backfillSecuritizationReserved: ArgonPrimitivesVault['reservedSecuritizationSpace'];
|
|
14236
|
+
readonly backfillSecuritizedSatoshis: ArgonPrimitivesVault['flexibleSecuritizedSatoshis'];
|
|
14237
|
+
};
|
|
14238
|
+
type PreviousPalletTreasuryVaultBondState = Omit<PalletTreasuryVaultBondState, 'regularBondLots' | 'flexibleBonds' | 'reservedBondSpace'> & {
|
|
14239
|
+
readonly bondLots: PalletTreasuryVaultBondState['regularBondLots'];
|
|
14240
|
+
readonly backfillBonds: PalletTreasuryVaultBondState['flexibleBonds'];
|
|
14241
|
+
readonly backfillBondsReserved: PalletTreasuryVaultBondState['reservedBondSpace'];
|
|
14242
|
+
};
|
|
14221
14243
|
declare class Vault {
|
|
14222
14244
|
tickDuration: number;
|
|
14223
14245
|
securitization: bigint;
|
|
@@ -14238,19 +14260,19 @@ declare class Vault {
|
|
|
14238
14260
|
securitizationRatio: number;
|
|
14239
14261
|
lockedSatoshis: number;
|
|
14240
14262
|
securitizedSatoshis: number;
|
|
14241
|
-
|
|
14242
|
-
|
|
14243
|
-
|
|
14263
|
+
flexibleSecuritizationLocked: bigint;
|
|
14264
|
+
reservedSecuritizationSpace: bigint;
|
|
14265
|
+
flexibleSecuritizedSatoshis: number;
|
|
14244
14266
|
name?: string;
|
|
14245
14267
|
lastNameChangeTick?: number;
|
|
14246
14268
|
delegateAccountId?: string;
|
|
14247
14269
|
constructor(id: number, vault: ArgonPrimitivesVault, tickDuration: number);
|
|
14248
|
-
load(vault: ArgonPrimitivesVault | ArgonPrimitivesVaultV144): void;
|
|
14270
|
+
load(vault: ArgonPrimitivesVault | PreviousArgonPrimitivesVault | ArgonPrimitivesVaultV144): void;
|
|
14249
14271
|
availableBitcoinSpace(lockOwner?: string): bigint;
|
|
14250
|
-
|
|
14272
|
+
availableSecuritizationSpace(lockOwner?: string): bigint;
|
|
14251
14273
|
availableBondSpace(priceIndex: PriceIndex, bondState?: Iterable<{
|
|
14252
14274
|
activeBonds: number;
|
|
14253
|
-
}> | PalletTreasuryVaultBondState, bondFullCapacityPerFrame?: boolean): bigint;
|
|
14275
|
+
}> | PalletTreasuryVaultBondState | PreviousPalletTreasuryVaultBondState, bondFullCapacityPerFrame?: boolean): bigint;
|
|
14254
14276
|
getRelockCapacity(): bigint;
|
|
14255
14277
|
securitizationRatioBN(): BigNumber;
|
|
14256
14278
|
activatedSecuritization(): bigint;
|
|
@@ -14269,7 +14291,6 @@ declare class Vault {
|
|
|
14269
14291
|
bitcoinXpub: string;
|
|
14270
14292
|
delegateAccountId?: string;
|
|
14271
14293
|
treasuryProfitSharing: number;
|
|
14272
|
-
treasuryBonusProfitSharing: number;
|
|
14273
14294
|
doNotExceedBalance?: bigint;
|
|
14274
14295
|
} & ISubmittableOptions, config?: {
|
|
14275
14296
|
tickDurationMillis?: number;
|
|
@@ -14285,7 +14306,6 @@ interface ITerms {
|
|
|
14285
14306
|
readonly bitcoinAnnualPercentRate: BigNumber;
|
|
14286
14307
|
readonly bitcoinBaseFee: bigint;
|
|
14287
14308
|
readonly treasuryProfitSharing: BigNumber;
|
|
14288
|
-
readonly treasuryBonusProfitSharing: BigNumber;
|
|
14289
14309
|
}
|
|
14290
14310
|
|
|
14291
14311
|
declare function toFixedNumber(value: string | number | BigNumber, // accept string to avoid early precision loss
|
|
@@ -14313,7 +14333,7 @@ type BitcoinLockFeeCoupon = {
|
|
|
14313
14333
|
genesisHash: string;
|
|
14314
14334
|
beneficiary: string;
|
|
14315
14335
|
feeDiscount: bigint;
|
|
14316
|
-
|
|
14336
|
+
securitizationSpaceToUnreserve: bigint;
|
|
14317
14337
|
expiresAtFrame: bigint;
|
|
14318
14338
|
nonce: bigint;
|
|
14319
14339
|
signature: AnyJson;
|
|
@@ -14341,7 +14361,7 @@ declare class BitcoinLock implements IBitcoinLock {
|
|
|
14341
14361
|
openClaimHeight: number;
|
|
14342
14362
|
createdAtHeight: number;
|
|
14343
14363
|
isFunded: boolean;
|
|
14344
|
-
|
|
14364
|
+
isFlexible: boolean;
|
|
14345
14365
|
createdAtArgonBlock: number;
|
|
14346
14366
|
fundHoldExtensionsByBitcoinExpirationHeight: Record<number, bigint>;
|
|
14347
14367
|
couponFeesPaid: bigint;
|
|
@@ -14449,7 +14469,7 @@ declare class BitcoinLock implements IBitcoinLock {
|
|
|
14449
14469
|
tip?: bigint;
|
|
14450
14470
|
feeCoupon?: BitcoinLockFeeCoupon;
|
|
14451
14471
|
initializeForAccountId?: string;
|
|
14452
|
-
|
|
14472
|
+
securitizationSpaceToUnreserve?: bigint;
|
|
14453
14473
|
}): Promise<{
|
|
14454
14474
|
tx: SubmittableExtrinsic$1;
|
|
14455
14475
|
securityFee: bigint;
|
|
@@ -14522,7 +14542,7 @@ interface IBitcoinLock {
|
|
|
14522
14542
|
openClaimHeight: number;
|
|
14523
14543
|
createdAtHeight: number;
|
|
14524
14544
|
isFunded: boolean;
|
|
14525
|
-
|
|
14545
|
+
isFlexible: boolean;
|
|
14526
14546
|
createdAtArgonBlock: number;
|
|
14527
14547
|
fundHoldExtensionsByBitcoinExpirationHeight: Record<number, bigint>;
|
|
14528
14548
|
}
|