@argonprotocol/mainchain 1.4.12-dev.ece9349b → 1.4.13-dev.b31b2822

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@argonprotocol/mainchain",
3
- "version": "1.4.12-dev.ece9349b",
3
+ "version": "1.4.13-dev.b31b2822",
4
4
  "description": "A client for accessing the Argon mainchain apis.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -67,7 +67,7 @@
67
67
  },
68
68
  "devDependencies": {
69
69
  "@argonprotocol/ethereum-contracts": "workspace:*",
70
- "@argonprotocol/testing": "1.4.12-dev.ece9349b",
70
+ "@argonprotocol/testing": "1.4.13-dev.b31b2822",
71
71
  "@polkadot/typegen": "^16.5.6",
72
72
  "@substrate/ss58-registry": "^1.51.0",
73
73
  "@types/node": "^20",
@@ -161,7 +161,7 @@ declare module '@polkadot/api-base/types/errors' {
161
161
  **/
162
162
  BitcoinPubkeyUnableToBeDecoded: AugmentedError<ApiType>;
163
163
  /**
164
- * A partial release would leave less than the minimum watched Lock amount.
164
+ * A configured or requested Lock amount is below the required minimum.
165
165
  **/
166
166
  BitcoinReleaseChangeBelowMinimum: AugmentedError<ApiType>;
167
167
  /**
@@ -395,11 +395,6 @@ declare module '@polkadot/api-base/types/events' {
395
395
  compensatedAccountId: AccountId32;
396
396
  }
397
397
  >;
398
- BitcoinLockBurned: AugmentedEvent<
399
- ApiType,
400
- [lockId: u64, vaultId: u32, wasUtxoSpent: bool],
401
- { lockId: u64; vaultId: u32; wasUtxoSpent: bool }
402
- >;
403
398
  BitcoinLockCreated: AugmentedEvent<
404
399
  ApiType,
405
400
  [
@@ -439,6 +434,11 @@ declare module '@polkadot/api-base/types/events' {
439
434
  accountId: AccountId32;
440
435
  }
441
436
  >;
437
+ BitcoinLockTerminated: AugmentedEvent<
438
+ ApiType,
439
+ [lockId: u64, vaultId: u32, wasUtxoSpent: bool, burnedArgons: u128],
440
+ { lockId: u64; vaultId: u32; wasUtxoSpent: bool; burnedArgons: u128 }
441
+ >;
442
442
  BitcoinSpentAfterRelease: AugmentedEvent<
443
443
  ApiType,
444
444
  [lockId: u64, vaultId: u32, releaseNumber: u32, bitcoinHeight: u64],
@@ -2192,8 +2192,20 @@ declare module '@polkadot/api-base/types/events' {
2192
2192
  >;
2193
2193
  LostBitcoinCompensated: AugmentedEvent<
2194
2194
  ApiType,
2195
- [vaultId: u32, beneficiary: AccountId32, toBeneficiary: u128, burned: u128],
2196
- { vaultId: u32; beneficiary: AccountId32; toBeneficiary: u128; burned: u128 }
2195
+ [
2196
+ vaultId: u32,
2197
+ beneficiary: AccountId32,
2198
+ toBeneficiary: u128,
2199
+ shortfall: u128,
2200
+ burned: u128,
2201
+ ],
2202
+ {
2203
+ vaultId: u32;
2204
+ beneficiary: AccountId32;
2205
+ toBeneficiary: u128;
2206
+ shortfall: u128;
2207
+ burned: u128;
2208
+ }
2197
2209
  >;
2198
2210
  ReservedSecuritizationSpaceChanged: AugmentedEvent<
2199
2211
  ApiType,