@argonprotocol/mainchain 1.4.11-dev.7b637899 → 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 +132 -104
- package/browser/index.js +62 -39
- package/browser/index.js.map +1 -1
- package/lib/index.cjs +69 -46
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +132 -104
- package/lib/index.d.ts +132 -104
- package/lib/index.js +62 -39
- package/lib/index.js.map +1 -1
- package/package.json +2 -2
- package/src/interfaces/augment-api-errors.ts +15 -7
- package/src/interfaces/augment-api-events.ts +18 -18
- package/src/interfaces/augment-api-query.ts +1 -1
- package/src/interfaces/augment-api-tx.ts +24 -19
- package/src/interfaces/lookup.ts +35 -32
- package/src/interfaces/types-lookup.ts +56 -51
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
|
**/
|
|
@@ -1272,17 +1280,13 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1272
1280
|
**/
|
|
1273
1281
|
BondLotAlreadyReleasing: AugmentedError<ApiType>;
|
|
1274
1282
|
/**
|
|
1275
|
-
* Only an active vault bond owned by its operator can be used as
|
|
1283
|
+
* Only an active vault bond owned by its operator can be used as flexible.
|
|
1276
1284
|
**/
|
|
1277
|
-
|
|
1285
|
+
BondLotCannotBeFlexible: AugmentedError<ApiType>;
|
|
1278
1286
|
/**
|
|
1279
1287
|
* The bond lot could not be found.
|
|
1280
1288
|
**/
|
|
1281
1289
|
BondLotNotFound: AugmentedError<ApiType>;
|
|
1282
|
-
/**
|
|
1283
|
-
* The vault doesn't have enough bitcoin security to support this bond purchase
|
|
1284
|
-
**/
|
|
1285
|
-
BondPurchaseAboveSecurity: AugmentedError<ApiType>;
|
|
1286
1290
|
/**
|
|
1287
1291
|
* The purchase is below the minimum amount.
|
|
1288
1292
|
**/
|
|
@@ -1311,6 +1315,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1311
1315
|
* The bonus approval was signed for a different vault.
|
|
1312
1316
|
**/
|
|
1313
1317
|
BonusApprovalWrongVault: AugmentedError<ApiType>;
|
|
1318
|
+
/**
|
|
1319
|
+
* The vault doesn't have enough bitcoin security to support this bond purchase
|
|
1320
|
+
**/
|
|
1321
|
+
InsufficientBondSpace: AugmentedError<ApiType>;
|
|
1314
1322
|
/**
|
|
1315
1323
|
* An internal error occurred.
|
|
1316
1324
|
**/
|
|
@@ -317,11 +317,6 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
317
317
|
[utxoId: u64, vaultId: u32, compensationAmount: u128, compensatedAccountId: AccountId32],
|
|
318
318
|
{ utxoId: u64; vaultId: u32; compensationAmount: u128; compensatedAccountId: AccountId32 }
|
|
319
319
|
>;
|
|
320
|
-
BitcoinLockBackfillChanged: AugmentedEvent<
|
|
321
|
-
ApiType,
|
|
322
|
-
[utxoId: u64, vaultId: u32, isBackfill: bool],
|
|
323
|
-
{ utxoId: u64; vaultId: u32; isBackfill: bool }
|
|
324
|
-
>;
|
|
325
320
|
BitcoinLockBurned: AugmentedEvent<
|
|
326
321
|
ApiType,
|
|
327
322
|
[utxoId: u64, vaultId: u32, wasUtxoSpent: bool],
|
|
@@ -348,6 +343,11 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
348
343
|
securityFee: u128;
|
|
349
344
|
}
|
|
350
345
|
>;
|
|
346
|
+
BitcoinLockFlexibleChanged: AugmentedEvent<
|
|
347
|
+
ApiType,
|
|
348
|
+
[utxoId: u64, vaultId: u32, isFlexible: bool],
|
|
349
|
+
{ utxoId: u64; vaultId: u32; isFlexible: bool }
|
|
350
|
+
>;
|
|
351
351
|
BitcoinLockRatcheted: AugmentedEvent<
|
|
352
352
|
ApiType,
|
|
353
353
|
[
|
|
@@ -1847,15 +1847,10 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1847
1847
|
>;
|
|
1848
1848
|
};
|
|
1849
1849
|
treasury: {
|
|
1850
|
-
|
|
1851
|
-
ApiType,
|
|
1852
|
-
[vaultId: u32, backfillBondsReserved: u32],
|
|
1853
|
-
{ vaultId: u32; backfillBondsReserved: u32 }
|
|
1854
|
-
>;
|
|
1855
|
-
BondLotBackfillChanged: AugmentedEvent<
|
|
1850
|
+
BondLotFlexibilityChanged: AugmentedEvent<
|
|
1856
1851
|
ApiType,
|
|
1857
|
-
[vaultId: u32, bondLotId: u64,
|
|
1858
|
-
{ vaultId: u32; bondLotId: u64;
|
|
1852
|
+
[vaultId: u32, bondLotId: u64, isFlexible: bool],
|
|
1853
|
+
{ vaultId: u32; bondLotId: u64; isFlexible: bool }
|
|
1859
1854
|
>;
|
|
1860
1855
|
/**
|
|
1861
1856
|
* A bond purchase entered its active program set.
|
|
@@ -2030,6 +2025,11 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2030
2025
|
[frameId: u64, totalEligibleBonds: u128, participatingVaults: u32],
|
|
2031
2026
|
{ frameId: u64; totalEligibleBonds: u128; participatingVaults: u32 }
|
|
2032
2027
|
>;
|
|
2028
|
+
ReservedBondSpaceChanged: AugmentedEvent<
|
|
2029
|
+
ApiType,
|
|
2030
|
+
[vaultId: u32, reservedBondSpace: u32],
|
|
2031
|
+
{ vaultId: u32; reservedBondSpace: u32 }
|
|
2032
|
+
>;
|
|
2033
2033
|
};
|
|
2034
2034
|
txPause: {
|
|
2035
2035
|
/**
|
|
@@ -2101,11 +2101,6 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2101
2101
|
>;
|
|
2102
2102
|
};
|
|
2103
2103
|
vaults: {
|
|
2104
|
-
BackfillSecuritizationReservedChanged: AugmentedEvent<
|
|
2105
|
-
ApiType,
|
|
2106
|
-
[vaultId: u32, backfillSecuritizationReserved: u128],
|
|
2107
|
-
{ vaultId: u32; backfillSecuritizationReserved: u128 }
|
|
2108
|
-
>;
|
|
2109
2104
|
CommittedArgonotsSet: AugmentedEvent<
|
|
2110
2105
|
ApiType,
|
|
2111
2106
|
[vaultId: u32, operatorAccountId: AccountId32, amount: u128],
|
|
@@ -2155,6 +2150,11 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2155
2150
|
[vaultId: u32, beneficiary: AccountId32, toBeneficiary: u128, burned: u128],
|
|
2156
2151
|
{ vaultId: u32; beneficiary: AccountId32; toBeneficiary: u128; burned: u128 }
|
|
2157
2152
|
>;
|
|
2153
|
+
ReservedSecuritizationSpaceChanged: AugmentedEvent<
|
|
2154
|
+
ApiType,
|
|
2155
|
+
[vaultId: u32, reservedSecuritizationSpace: u128],
|
|
2156
|
+
{ vaultId: u32; reservedSecuritizationSpace: u128 }
|
|
2157
|
+
>;
|
|
2158
2158
|
TreasuryRecordingError: AugmentedEvent<
|
|
2159
2159
|
ApiType,
|
|
2160
2160
|
[vaultId: u32, frameId: u64, vaultEarnings: u128, error: SpRuntimeDispatchError],
|
|
@@ -1758,7 +1758,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1758
1758
|
* The active bond state for a vault.
|
|
1759
1759
|
*
|
|
1760
1760
|
* The bounded payout set keeps the largest bond amount first, then lower `bond_lot_id` first
|
|
1761
|
-
* when amounts tie.
|
|
1761
|
+
* when amounts tie. Flexible lots remain in `BondLotById` and are represented here by their
|
|
1762
1762
|
* aggregate.
|
|
1763
1763
|
**/
|
|
1764
1764
|
bondLotsByVault: AugmentedQuery<
|
|
@@ -416,10 +416,10 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
416
416
|
) => SubmittableExtrinsic<ApiType>,
|
|
417
417
|
[u64, Bytes, u64]
|
|
418
418
|
>;
|
|
419
|
-
|
|
419
|
+
setFlexible: AugmentedSubmittable<
|
|
420
420
|
(
|
|
421
421
|
utxoId: u64 | AnyNumber | Uint8Array,
|
|
422
|
-
|
|
422
|
+
isFlexible: bool | boolean | Uint8Array,
|
|
423
423
|
) => SubmittableExtrinsic<ApiType>,
|
|
424
424
|
[u64, bool]
|
|
425
425
|
>;
|
|
@@ -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>,
|
|
@@ -2052,7 +2052,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2052
2052
|
beneficiary?: any;
|
|
2053
2053
|
bonusPercent?: any;
|
|
2054
2054
|
expiresAtFrame?: any;
|
|
2055
|
-
|
|
2055
|
+
bondSpaceToUnreserve?: any;
|
|
2056
2056
|
nonce?: any;
|
|
2057
2057
|
signature?: any;
|
|
2058
2058
|
}
|
|
@@ -2069,19 +2069,22 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2069
2069
|
(bondLotId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>,
|
|
2070
2070
|
[u64]
|
|
2071
2071
|
>;
|
|
2072
|
-
|
|
2072
|
+
setBondLotFlexible: AugmentedSubmittable<
|
|
2073
2073
|
(
|
|
2074
|
-
|
|
2075
|
-
|
|
2074
|
+
bondLotId: u64 | AnyNumber | Uint8Array,
|
|
2075
|
+
isFlexible: bool | boolean | Uint8Array,
|
|
2076
2076
|
) => SubmittableExtrinsic<ApiType>,
|
|
2077
|
-
[
|
|
2077
|
+
[u64, bool]
|
|
2078
2078
|
>;
|
|
2079
|
-
|
|
2079
|
+
/**
|
|
2080
|
+
* Reserve vault bond space for future bond purchases.
|
|
2081
|
+
**/
|
|
2082
|
+
setReservedBondSpace: AugmentedSubmittable<
|
|
2080
2083
|
(
|
|
2081
|
-
|
|
2082
|
-
|
|
2084
|
+
vaultId: u32 | AnyNumber | Uint8Array,
|
|
2085
|
+
reservedBondSpace: u32 | AnyNumber | Uint8Array,
|
|
2083
2086
|
) => SubmittableExtrinsic<ApiType>,
|
|
2084
|
-
[
|
|
2087
|
+
[u32, u32]
|
|
2085
2088
|
>;
|
|
2086
2089
|
};
|
|
2087
2090
|
txPause: {
|
|
@@ -2360,13 +2363,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2360
2363
|
) => SubmittableExtrinsic<ApiType>,
|
|
2361
2364
|
[u32, ArgonPrimitivesBitcoinOpaqueBitcoinXpub]
|
|
2362
2365
|
>;
|
|
2363
|
-
setBackfillSecuritizationReserved: AugmentedSubmittable<
|
|
2364
|
-
(
|
|
2365
|
-
vaultId: u32 | AnyNumber | Uint8Array,
|
|
2366
|
-
backfillSecuritizationReserved: u128 | AnyNumber | Uint8Array,
|
|
2367
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
2368
|
-
[u32, u128]
|
|
2369
|
-
>;
|
|
2370
2366
|
setCommittedArgonots: AugmentedSubmittable<
|
|
2371
2367
|
(amount: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>,
|
|
2372
2368
|
[Compact<u128>]
|
|
@@ -2377,6 +2373,15 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2377
2373
|
) => SubmittableExtrinsic<ApiType>,
|
|
2378
2374
|
[Option<AccountId32>]
|
|
2379
2375
|
>;
|
|
2376
|
+
/**
|
|
2377
|
+
* Reserve vault securitization space for future Bitcoin locks.
|
|
2378
|
+
**/
|
|
2379
|
+
setReservedSecuritizationSpace: AugmentedSubmittable<
|
|
2380
|
+
(
|
|
2381
|
+
reservedSecuritizationSpace: u128 | AnyNumber | Uint8Array,
|
|
2382
|
+
) => SubmittableExtrinsic<ApiType>,
|
|
2383
|
+
[u128]
|
|
2384
|
+
>;
|
|
2380
2385
|
};
|
|
2381
2386
|
} // AugmentedSubmittables
|
|
2382
2387
|
} // declare module
|
package/src/interfaces/lookup.ts
CHANGED
|
@@ -469,9 +469,9 @@ export default {
|
|
|
469
469
|
VaultBitcoinXpubChange: {
|
|
470
470
|
vaultId: 'u32',
|
|
471
471
|
},
|
|
472
|
-
|
|
472
|
+
ReservedSecuritizationSpaceChanged: {
|
|
473
473
|
vaultId: 'u32',
|
|
474
|
-
|
|
474
|
+
reservedSecuritizationSpace: 'u128',
|
|
475
475
|
},
|
|
476
476
|
VaultRevenueUncollected: {
|
|
477
477
|
vaultId: 'u32',
|
|
@@ -613,10 +613,10 @@ export default {
|
|
|
613
613
|
newSatoshis: 'u64',
|
|
614
614
|
accountId: 'AccountId32',
|
|
615
615
|
},
|
|
616
|
-
|
|
616
|
+
BitcoinLockFlexibleChanged: {
|
|
617
617
|
utxoId: 'u64',
|
|
618
618
|
vaultId: 'u32',
|
|
619
|
-
|
|
619
|
+
isFlexible: 'bool',
|
|
620
620
|
},
|
|
621
621
|
},
|
|
622
622
|
},
|
|
@@ -1392,14 +1392,14 @@ export default {
|
|
|
1392
1392
|
accountId: 'AccountId32',
|
|
1393
1393
|
bonds: 'u32',
|
|
1394
1394
|
},
|
|
1395
|
-
|
|
1395
|
+
BondLotFlexibilityChanged: {
|
|
1396
1396
|
vaultId: 'u32',
|
|
1397
1397
|
bondLotId: 'u64',
|
|
1398
|
-
|
|
1398
|
+
isFlexible: 'bool',
|
|
1399
1399
|
},
|
|
1400
|
-
|
|
1400
|
+
ReservedBondSpaceChanged: {
|
|
1401
1401
|
vaultId: 'u32',
|
|
1402
|
-
|
|
1402
|
+
reservedBondSpace: 'u32',
|
|
1403
1403
|
},
|
|
1404
1404
|
EncumberedBondMicrogonsBurned: {
|
|
1405
1405
|
accountId: 'AccountId32',
|
|
@@ -2193,9 +2193,8 @@ export default {
|
|
|
2193
2193
|
set_committed_argonots: {
|
|
2194
2194
|
amount: 'Compact<u128>',
|
|
2195
2195
|
},
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
backfillSecuritizationReserved: 'u128',
|
|
2196
|
+
set_reserved_securitization_space: {
|
|
2197
|
+
reservedSecuritizationSpace: 'u128',
|
|
2199
2198
|
},
|
|
2200
2199
|
},
|
|
2201
2200
|
},
|
|
@@ -2264,9 +2263,9 @@ export default {
|
|
|
2264
2263
|
utxoId: 'u64',
|
|
2265
2264
|
newSatoshis: 'Compact<u64>',
|
|
2266
2265
|
},
|
|
2267
|
-
|
|
2266
|
+
set_flexible: {
|
|
2268
2267
|
utxoId: 'u64',
|
|
2269
|
-
|
|
2268
|
+
isFlexible: 'bool',
|
|
2270
2269
|
},
|
|
2271
2270
|
},
|
|
2272
2271
|
},
|
|
@@ -2295,8 +2294,10 @@ export default {
|
|
|
2295
2294
|
vaultId: 'Compact<u32>',
|
|
2296
2295
|
genesisHash: 'H256',
|
|
2297
2296
|
beneficiary: 'AccountId32',
|
|
2297
|
+
requestedSatoshis: 'Compact<u64>',
|
|
2298
|
+
microgonsAtTargetPerBtc: 'Option<u128>',
|
|
2298
2299
|
feeDiscount: 'Compact<u128>',
|
|
2299
|
-
|
|
2300
|
+
securitizationSpaceToUnreserve: 'Compact<u128>',
|
|
2300
2301
|
expiresAtFrame: 'Compact<u64>',
|
|
2301
2302
|
nonce: 'Compact<u64>',
|
|
2302
2303
|
signature: 'SpRuntimeMultiSignature',
|
|
@@ -2740,13 +2741,13 @@ export default {
|
|
|
2740
2741
|
buy_argonot_bonds: {
|
|
2741
2742
|
bonds: 'u32',
|
|
2742
2743
|
},
|
|
2743
|
-
|
|
2744
|
+
set_bond_lot_flexible: {
|
|
2744
2745
|
bondLotId: 'u64',
|
|
2745
|
-
|
|
2746
|
+
isFlexible: 'bool',
|
|
2746
2747
|
},
|
|
2747
|
-
|
|
2748
|
+
set_reserved_bond_space: {
|
|
2748
2749
|
vaultId: 'u32',
|
|
2749
|
-
|
|
2750
|
+
reservedBondSpace: 'u32',
|
|
2750
2751
|
},
|
|
2751
2752
|
},
|
|
2752
2753
|
},
|
|
@@ -2758,7 +2759,7 @@ export default {
|
|
|
2758
2759
|
beneficiary: 'AccountId32',
|
|
2759
2760
|
bonusPercent: 'Compact<Permill>',
|
|
2760
2761
|
expiresAtFrame: 'Compact<u64>',
|
|
2761
|
-
|
|
2762
|
+
bondSpaceToUnreserve: 'Compact<u32>',
|
|
2762
2763
|
nonce: 'Compact<u64>',
|
|
2763
2764
|
signature: 'SpRuntimeMultiSignature',
|
|
2764
2765
|
},
|
|
@@ -3329,12 +3330,12 @@ export default {
|
|
|
3329
3330
|
securitization: 'Compact<u128>',
|
|
3330
3331
|
securitizationTarget: 'Compact<u128>',
|
|
3331
3332
|
securitizationLocked: 'Compact<u128>',
|
|
3332
|
-
|
|
3333
|
-
|
|
3333
|
+
flexibleSecuritizationLocked: 'Compact<u128>',
|
|
3334
|
+
reservedSecuritizationSpace: 'Compact<u128>',
|
|
3334
3335
|
securitizationPendingActivation: 'Compact<u128>',
|
|
3335
3336
|
lockedSatoshis: 'Compact<u64>',
|
|
3336
3337
|
securitizedSatoshis: 'Compact<u64>',
|
|
3337
|
-
|
|
3338
|
+
flexibleSecuritizedSatoshis: 'Compact<u64>',
|
|
3338
3339
|
securitizationReleaseSchedule: 'BTreeMap<u64, u128>',
|
|
3339
3340
|
securitizationRatio: 'Compact<u128>',
|
|
3340
3341
|
isClosed: 'bool',
|
|
@@ -3449,7 +3450,7 @@ export default {
|
|
|
3449
3450
|
createdAtHeight: 'Compact<u64>',
|
|
3450
3451
|
utxoScriptPubkey: 'ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey',
|
|
3451
3452
|
isFunded: 'bool',
|
|
3452
|
-
|
|
3453
|
+
isFlexible: 'bool',
|
|
3453
3454
|
fundHoldExtensions: 'BTreeMap<u64, u128>',
|
|
3454
3455
|
createdAtArgonBlock: 'Compact<u32>',
|
|
3455
3456
|
},
|
|
@@ -3529,6 +3530,8 @@ export default {
|
|
|
3529
3530
|
OrphanedUtxoReleaseRequested: 'Null',
|
|
3530
3531
|
FundingUtxoCannotBeReleased: 'Null',
|
|
3531
3532
|
MaxOrphanedUtxoReleaseRequestsExceeded: 'Null',
|
|
3533
|
+
FeeCouponWrongSatoshis: 'Null',
|
|
3534
|
+
FeeCouponWrongTargetPrice: 'Null',
|
|
3532
3535
|
},
|
|
3533
3536
|
},
|
|
3534
3537
|
/**
|
|
@@ -3934,9 +3937,9 @@ export default {
|
|
|
3934
3937
|
* Lookup528: pallet_treasury::pallet::VaultCapital<T>
|
|
3935
3938
|
**/
|
|
3936
3939
|
PalletTreasuryVaultCapital: {
|
|
3937
|
-
|
|
3938
|
-
|
|
3939
|
-
|
|
3940
|
+
regularBondAllocations: 'Vec<PalletTreasuryBondLotAllocation>',
|
|
3941
|
+
flexibleBondsEligible: 'Compact<u32>',
|
|
3942
|
+
flexibleProrata: 'u128',
|
|
3940
3943
|
eligibleBonds: 'Compact<u32>',
|
|
3941
3944
|
},
|
|
3942
3945
|
/**
|
|
@@ -3968,7 +3971,7 @@ export default {
|
|
|
3968
3971
|
owner: 'AccountId32',
|
|
3969
3972
|
program: 'PalletTreasuryBondProgram',
|
|
3970
3973
|
bonds: 'Compact<u32>',
|
|
3971
|
-
|
|
3974
|
+
isFlexible: 'bool',
|
|
3972
3975
|
createdFrameId: 'Compact<u64>',
|
|
3973
3976
|
participatedFrames: 'Compact<u32>',
|
|
3974
3977
|
lastFrameEarningsFrameId: 'Option<u64>',
|
|
@@ -3994,9 +3997,9 @@ export default {
|
|
|
3994
3997
|
* Lookup543: pallet_treasury::pallet::VaultBondState<T>
|
|
3995
3998
|
**/
|
|
3996
3999
|
PalletTreasuryVaultBondState: {
|
|
3997
|
-
|
|
3998
|
-
|
|
3999
|
-
|
|
4000
|
+
regularBondLots: 'Vec<PalletTreasuryBondLotSummary>',
|
|
4001
|
+
flexibleBonds: 'Compact<u32>',
|
|
4002
|
+
reservedBondSpace: 'Compact<u32>',
|
|
4000
4003
|
},
|
|
4001
4004
|
/**
|
|
4002
4005
|
* Lookup545: pallet_treasury::pallet::Error<T>
|
|
@@ -4012,7 +4015,7 @@ export default {
|
|
|
4012
4015
|
'BondLotNotFound',
|
|
4013
4016
|
'NotBondLotOwner',
|
|
4014
4017
|
'BondLotAlreadyReleasing',
|
|
4015
|
-
'
|
|
4018
|
+
'InsufficientBondSpace',
|
|
4016
4019
|
'ActiveBondAmountBelowEncumberedBacking',
|
|
4017
4020
|
'BonusApprovalWrongVault',
|
|
4018
4021
|
'BonusApprovalWrongAccount',
|
|
@@ -4022,7 +4025,7 @@ export default {
|
|
|
4022
4025
|
'BonusApprovalExceedsProfitSharing',
|
|
4023
4026
|
'ArgonotBondPurchaseBelowCutoff',
|
|
4024
4027
|
'ArgonotBondPurchaseAboveCap',
|
|
4025
|
-
'
|
|
4028
|
+
'BondLotCannotBeFlexible',
|
|
4026
4029
|
'NoPermissions',
|
|
4027
4030
|
],
|
|
4028
4031
|
},
|