@argonprotocol/mainchain 1.5.2-dev.75aac80b → 1.5.2-dev.87829152
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 +102 -118
- package/browser/index.js +2 -2
- package/browser/index.js.map +1 -1
- package/lib/index.cjs +2 -2
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +102 -118
- package/lib/index.d.ts +102 -118
- package/lib/index.js +2 -2
- package/lib/index.js.map +1 -1
- package/package.json +2 -2
- package/src/interfaces/augment-api-events.ts +8 -25
- package/src/interfaces/augment-api-tx.ts +2 -11
- package/src/interfaces/lookup.ts +96 -104
- package/src/interfaces/types-lookup.ts +96 -104
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@argonprotocol/mainchain",
|
|
3
|
-
"version": "1.5.2-dev.
|
|
3
|
+
"version": "1.5.2-dev.87829152",
|
|
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.2-dev.
|
|
71
|
+
"@argonprotocol/testing": "1.5.2-dev.87829152",
|
|
72
72
|
"@polkadot/typegen": "^17.0.1",
|
|
73
73
|
"@substrate/ss58-registry": "^1.51.0",
|
|
74
74
|
"@types/node": "^20",
|
|
@@ -401,7 +401,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
401
401
|
lockId: u64,
|
|
402
402
|
vaultId: u32,
|
|
403
403
|
securitizationBasis: ArgonPrimitivesVaultBitcoinSecuritizationBasis,
|
|
404
|
-
|
|
404
|
+
securitizationMicrogons: u128,
|
|
405
405
|
accountId: AccountId32,
|
|
406
406
|
securityFee: u128,
|
|
407
407
|
],
|
|
@@ -409,7 +409,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
409
409
|
lockId: u64;
|
|
410
410
|
vaultId: u32;
|
|
411
411
|
securitizationBasis: ArgonPrimitivesVaultBitcoinSecuritizationBasis;
|
|
412
|
-
|
|
412
|
+
securitizationMicrogons: u128;
|
|
413
413
|
accountId: AccountId32;
|
|
414
414
|
securityFee: u128;
|
|
415
415
|
}
|
|
@@ -2261,14 +2261,14 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2261
2261
|
[
|
|
2262
2262
|
vaultId: u32,
|
|
2263
2263
|
locker: AccountId32,
|
|
2264
|
-
|
|
2264
|
+
securitizationMicrogons: u128,
|
|
2265
2265
|
feeRevenue: u128,
|
|
2266
2266
|
didUseFeeCoupon: bool,
|
|
2267
2267
|
],
|
|
2268
2268
|
{
|
|
2269
2269
|
vaultId: u32;
|
|
2270
2270
|
locker: AccountId32;
|
|
2271
|
-
|
|
2271
|
+
securitizationMicrogons: u128;
|
|
2272
2272
|
feeRevenue: u128;
|
|
2273
2273
|
didUseFeeCoupon: bool;
|
|
2274
2274
|
}
|
|
@@ -2299,30 +2299,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2299
2299
|
>;
|
|
2300
2300
|
VaultCreated: AugmentedEvent<
|
|
2301
2301
|
ApiType,
|
|
2302
|
-
[
|
|
2303
|
-
|
|
2304
|
-
securitization: u128,
|
|
2305
|
-
securitizationRatio: u128,
|
|
2306
|
-
operatorAccountId: AccountId32,
|
|
2307
|
-
openedTick: u64,
|
|
2308
|
-
],
|
|
2309
|
-
{
|
|
2310
|
-
vaultId: u32;
|
|
2311
|
-
securitization: u128;
|
|
2312
|
-
securitizationRatio: u128;
|
|
2313
|
-
operatorAccountId: AccountId32;
|
|
2314
|
-
openedTick: u64;
|
|
2315
|
-
}
|
|
2302
|
+
[vaultId: u32, securitization: u128, operatorAccountId: AccountId32, openedTick: u64],
|
|
2303
|
+
{ vaultId: u32; securitization: u128; operatorAccountId: AccountId32; openedTick: u64 }
|
|
2316
2304
|
>;
|
|
2317
2305
|
VaultModified: AugmentedEvent<
|
|
2318
2306
|
ApiType,
|
|
2319
|
-
[vaultId: u32, securitization: u128, securitizationTarget: u128
|
|
2320
|
-
{
|
|
2321
|
-
vaultId: u32;
|
|
2322
|
-
securitization: u128;
|
|
2323
|
-
securitizationTarget: u128;
|
|
2324
|
-
securitizationRatio: u128;
|
|
2325
|
-
}
|
|
2307
|
+
[vaultId: u32, securitization: u128, securitizationTarget: u128],
|
|
2308
|
+
{ vaultId: u32; securitization: u128; securitizationTarget: u128 }
|
|
2326
2309
|
>;
|
|
2327
2310
|
/**
|
|
2328
2311
|
* Vault revenue was not collected within the required window, so has been burned
|
|
@@ -2326,13 +2326,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2326
2326
|
(
|
|
2327
2327
|
vaultConfig:
|
|
2328
2328
|
| PalletVaultsVaultConfig
|
|
2329
|
-
| {
|
|
2330
|
-
terms?: any;
|
|
2331
|
-
delegateAccountId?: any;
|
|
2332
|
-
securitization?: any;
|
|
2333
|
-
bitcoinXpubkey?: any;
|
|
2334
|
-
securitizationRatio?: any;
|
|
2335
|
-
}
|
|
2329
|
+
| { terms?: any; delegateAccountId?: any; securitization?: any; bitcoinXpubkey?: any }
|
|
2336
2330
|
| string
|
|
2337
2331
|
| Uint8Array,
|
|
2338
2332
|
) => SubmittableExtrinsic<ApiType>,
|
|
@@ -2341,8 +2335,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2341
2335
|
/**
|
|
2342
2336
|
* Modify funds allocated by the vault without changing existing Bitcoin locks.
|
|
2343
2337
|
*
|
|
2344
|
-
* The securitization percent must be maintained or increased.
|
|
2345
|
-
*
|
|
2346
2338
|
* Funds not yet used in a reward snapshot may leave without notice if not needed for
|
|
2347
2339
|
* Bitcoin commitments. Reward-committed funds require a one-year Bitcoin-height exit
|
|
2348
2340
|
* notice and remain held until both the notice and any Bitcoin commitment have ended.
|
|
@@ -2352,9 +2344,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2352
2344
|
(
|
|
2353
2345
|
vaultId: u32 | AnyNumber | Uint8Array,
|
|
2354
2346
|
securitization: u128 | AnyNumber | Uint8Array,
|
|
2355
|
-
securitizationRatio: u128 | AnyNumber | Uint8Array,
|
|
2356
2347
|
) => SubmittableExtrinsic<ApiType>,
|
|
2357
|
-
[u32, u128
|
|
2348
|
+
[u32, u128]
|
|
2358
2349
|
>;
|
|
2359
2350
|
/**
|
|
2360
2351
|
* Change the terms of this vault. The change will be applied at the next mining frame
|