@polkadot/api-augment 15.0.1 → 15.1.1
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/cjs/packageInfo.js +1 -1
- package/cjs/substrate/consts.d.ts +24 -8
- package/cjs/substrate/errors.d.ts +65 -17
- package/cjs/substrate/events.d.ts +138 -42
- package/cjs/substrate/query.d.ts +94 -22
- package/cjs/substrate/runtime.d.ts +28 -16
- package/cjs/substrate/tx.d.ts +189 -52
- package/package.json +6 -6
- package/packageInfo.js +1 -1
- package/substrate/consts.d.ts +24 -8
- package/substrate/errors.d.ts +65 -17
- package/substrate/events.d.ts +138 -42
- package/substrate/query.d.ts +94 -22
- package/substrate/runtime.d.ts +28 -16
- package/substrate/tx.d.ts +189 -52
package/substrate/errors.d.ts
CHANGED
|
@@ -127,6 +127,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
127
127
|
* Prime account is not a member
|
|
128
128
|
**/
|
|
129
129
|
PrimeAccountNotMember: AugmentedError<ApiType>;
|
|
130
|
+
/**
|
|
131
|
+
* Proposal is still active.
|
|
132
|
+
**/
|
|
133
|
+
ProposalActive: AugmentedError<ApiType>;
|
|
130
134
|
/**
|
|
131
135
|
* Proposal must exist
|
|
132
136
|
**/
|
|
@@ -1009,6 +1013,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1009
1013
|
* Prime account is not a member
|
|
1010
1014
|
**/
|
|
1011
1015
|
PrimeAccountNotMember: AugmentedError<ApiType>;
|
|
1016
|
+
/**
|
|
1017
|
+
* Proposal is still active.
|
|
1018
|
+
**/
|
|
1019
|
+
ProposalActive: AugmentedError<ApiType>;
|
|
1012
1020
|
/**
|
|
1013
1021
|
* Proposal must exist
|
|
1014
1022
|
**/
|
|
@@ -1370,6 +1378,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1370
1378
|
* Account ID is already named.
|
|
1371
1379
|
**/
|
|
1372
1380
|
AlreadyClaimed: AugmentedError<ApiType>;
|
|
1381
|
+
/**
|
|
1382
|
+
* The username cannot be unbound because it is already unbinding.
|
|
1383
|
+
**/
|
|
1384
|
+
AlreadyUnbinding: AugmentedError<ApiType>;
|
|
1373
1385
|
/**
|
|
1374
1386
|
* Empty index.
|
|
1375
1387
|
**/
|
|
@@ -1378,6 +1390,11 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1378
1390
|
* Fee is changed.
|
|
1379
1391
|
**/
|
|
1380
1392
|
FeeChanged: AugmentedError<ApiType>;
|
|
1393
|
+
/**
|
|
1394
|
+
* The action cannot be performed because of insufficient privileges (e.g. authority
|
|
1395
|
+
* trying to unbind a username provided by the system).
|
|
1396
|
+
**/
|
|
1397
|
+
InsufficientPrivileges: AugmentedError<ApiType>;
|
|
1381
1398
|
/**
|
|
1382
1399
|
* The index is invalid.
|
|
1383
1400
|
**/
|
|
@@ -1442,6 +1459,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1442
1459
|
* Sender is not a sub-account.
|
|
1443
1460
|
**/
|
|
1444
1461
|
NotSub: AugmentedError<ApiType>;
|
|
1462
|
+
/**
|
|
1463
|
+
* The username cannot be removed because it is not unbinding.
|
|
1464
|
+
**/
|
|
1465
|
+
NotUnbinding: AugmentedError<ApiType>;
|
|
1445
1466
|
/**
|
|
1446
1467
|
* The sender does not have permission to issue a username.
|
|
1447
1468
|
**/
|
|
@@ -1458,6 +1479,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1458
1479
|
* Sticky judgement.
|
|
1459
1480
|
**/
|
|
1460
1481
|
StickyJudgement: AugmentedError<ApiType>;
|
|
1482
|
+
/**
|
|
1483
|
+
* The username cannot be removed because it's still in the grace period.
|
|
1484
|
+
**/
|
|
1485
|
+
TooEarly: AugmentedError<ApiType>;
|
|
1461
1486
|
/**
|
|
1462
1487
|
* Maximum amount of registrars reached. Cannot add any more.
|
|
1463
1488
|
**/
|
|
@@ -2530,6 +2555,28 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
2530
2555
|
[key: string]: AugmentedError<ApiType>;
|
|
2531
2556
|
};
|
|
2532
2557
|
revive: {
|
|
2558
|
+
/**
|
|
2559
|
+
* Tried to map an account that is already mapped.
|
|
2560
|
+
**/
|
|
2561
|
+
AccountAlreadyMapped: AugmentedError<ApiType>;
|
|
2562
|
+
/**
|
|
2563
|
+
* An `AccountID32` account tried to interact with the pallet without having a mapping.
|
|
2564
|
+
*
|
|
2565
|
+
* Call [`Pallet::map_account`] in order to create a mapping for the account.
|
|
2566
|
+
**/
|
|
2567
|
+
AccountUnmapped: AugmentedError<ApiType>;
|
|
2568
|
+
/**
|
|
2569
|
+
* Failed to convert a U256 to a Balance.
|
|
2570
|
+
**/
|
|
2571
|
+
BalanceConversionFailed: AugmentedError<ApiType>;
|
|
2572
|
+
/**
|
|
2573
|
+
* The program contains a basic block that is larger than allowed.
|
|
2574
|
+
**/
|
|
2575
|
+
BasicBlockTooLarge: AugmentedError<ApiType>;
|
|
2576
|
+
/**
|
|
2577
|
+
* The code blob supplied is larger than [`limits::code::BLOB_BYTES`].
|
|
2578
|
+
**/
|
|
2579
|
+
BlobTooLarge: AugmentedError<ApiType>;
|
|
2533
2580
|
/**
|
|
2534
2581
|
* Can not add a delegate dependency to the code hash of the contract itself.
|
|
2535
2582
|
**/
|
|
@@ -2553,11 +2600,6 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
2553
2600
|
* by supplying `-lruntime::revive=debug`.
|
|
2554
2601
|
**/
|
|
2555
2602
|
CodeRejected: AugmentedError<ApiType>;
|
|
2556
|
-
/**
|
|
2557
|
-
* The code supplied to `instantiate_with_code` exceeds the limit specified in the
|
|
2558
|
-
* current schedule.
|
|
2559
|
-
**/
|
|
2560
|
-
CodeTooLarge: AugmentedError<ApiType>;
|
|
2561
2603
|
/**
|
|
2562
2604
|
* No contract was found at the specified address.
|
|
2563
2605
|
**/
|
|
@@ -2601,6 +2643,15 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
2601
2643
|
* Invalid combination of flags supplied to `seal_call` or `seal_delegate_call`.
|
|
2602
2644
|
**/
|
|
2603
2645
|
InvalidCallFlags: AugmentedError<ApiType>;
|
|
2646
|
+
/**
|
|
2647
|
+
* Immutable data can only be set during deploys and only be read during calls.
|
|
2648
|
+
* Additionally, it is only valid to set the data once and it must not be empty.
|
|
2649
|
+
**/
|
|
2650
|
+
InvalidImmutableAccess: AugmentedError<ApiType>;
|
|
2651
|
+
/**
|
|
2652
|
+
* The program contains an invalid instruction.
|
|
2653
|
+
**/
|
|
2654
|
+
InvalidInstruction: AugmentedError<ApiType>;
|
|
2604
2655
|
/**
|
|
2605
2656
|
* Invalid schedule supplied, e.g. with zero weight of a basic operation.
|
|
2606
2657
|
**/
|
|
@@ -2622,20 +2673,12 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
2622
2673
|
* The contract has reached its maximum number of delegate dependencies.
|
|
2623
2674
|
**/
|
|
2624
2675
|
MaxDelegateDependenciesReached: AugmentedError<ApiType>;
|
|
2625
|
-
/**
|
|
2626
|
-
* A pending migration needs to complete before the extrinsic can be called.
|
|
2627
|
-
**/
|
|
2628
|
-
MigrationInProgress: AugmentedError<ApiType>;
|
|
2629
2676
|
/**
|
|
2630
2677
|
* The chain does not provide a chain extension. Calling the chain extension results
|
|
2631
2678
|
* in this error. Note that this usually shouldn't happen as deploying such contracts
|
|
2632
2679
|
* is rejected.
|
|
2633
2680
|
**/
|
|
2634
2681
|
NoChainExtension: AugmentedError<ApiType>;
|
|
2635
|
-
/**
|
|
2636
|
-
* Migrate dispatch call was attempted but no migration was performed.
|
|
2637
|
-
**/
|
|
2638
|
-
NoMigrationPerformed: AugmentedError<ApiType>;
|
|
2639
2682
|
/**
|
|
2640
2683
|
* A buffer outside of sandbox memory was passed to a contract API function.
|
|
2641
2684
|
**/
|
|
@@ -2648,10 +2691,6 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
2648
2691
|
* Can not add more data to transient storage.
|
|
2649
2692
|
**/
|
|
2650
2693
|
OutOfTransientStorage: AugmentedError<ApiType>;
|
|
2651
|
-
/**
|
|
2652
|
-
* The output buffer supplied to a contract API call was too small.
|
|
2653
|
-
**/
|
|
2654
|
-
OutputBufferTooSmall: AugmentedError<ApiType>;
|
|
2655
2694
|
/**
|
|
2656
2695
|
* A contract called into the runtime which then called back into this pallet.
|
|
2657
2696
|
**/
|
|
@@ -2664,6 +2703,11 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
2664
2703
|
* A contract attempted to invoke a state modifying API while being in read-only mode.
|
|
2665
2704
|
**/
|
|
2666
2705
|
StateChangeDenied: AugmentedError<ApiType>;
|
|
2706
|
+
/**
|
|
2707
|
+
* The static memory consumption of the blob will be larger than
|
|
2708
|
+
* [`limits::code::STATIC_MEMORY_BYTES`].
|
|
2709
|
+
**/
|
|
2710
|
+
StaticMemoryTooLarge: AugmentedError<ApiType>;
|
|
2667
2711
|
/**
|
|
2668
2712
|
* More storage was created than allowed by the storage deposit limit.
|
|
2669
2713
|
**/
|
|
@@ -3241,6 +3285,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
3241
3285
|
* Prime account is not a member
|
|
3242
3286
|
**/
|
|
3243
3287
|
PrimeAccountNotMember: AugmentedError<ApiType>;
|
|
3288
|
+
/**
|
|
3289
|
+
* Proposal is still active.
|
|
3290
|
+
**/
|
|
3291
|
+
ProposalActive: AugmentedError<ApiType>;
|
|
3244
3292
|
/**
|
|
3245
3293
|
* Proposal must exist
|
|
3246
3294
|
**/
|
package/substrate/events.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ import '@polkadot/api-base/types/events';
|
|
|
2
2
|
import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types';
|
|
3
3
|
import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
4
4
|
import type { ITuple } from '@polkadot/types-codec/types';
|
|
5
|
-
import type { AccountId32, H256, Perbill, Permill, Perquintill } from '@polkadot/types/interfaces/runtime';
|
|
6
|
-
import type {
|
|
5
|
+
import type { AccountId32, H160, H256, Perbill, Permill, Perquintill } from '@polkadot/types/interfaces/runtime';
|
|
6
|
+
import type { FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, KitchensinkRuntimeOriginCaller, KitchensinkRuntimeProxyType, KitchensinkRuntimeRuntimeParametersKey, KitchensinkRuntimeRuntimeParametersValue, PalletAllianceCid, PalletAllianceUnscrupulousItem, PalletBrokerCoretimeInterfaceCoreAssignment, PalletBrokerRegionId, PalletBrokerScheduleItem, PalletContractsOrigin, PalletConvictionVotingTally, PalletConvictionVotingVoteAccountVote, PalletCoreFellowshipParamsTypeU128, PalletCoreFellowshipWish, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsPalletAttributes, PalletNftsPriceWithDirection, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletReviveExecOrigin, PalletSafeModeExitReason, PalletSocietyGroupParams, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpStakingExposure, SpStatementStoreStatement, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
|
|
7
7
|
export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
|
|
8
8
|
declare module '@polkadot/api-base/types/events' {
|
|
9
9
|
interface AugmentedEvents<ApiType extends ApiTypes> {
|
|
@@ -126,6 +126,12 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
126
126
|
proposalHash: H256;
|
|
127
127
|
result: Result<Null, SpRuntimeDispatchError>;
|
|
128
128
|
}>;
|
|
129
|
+
/**
|
|
130
|
+
* A proposal was killed.
|
|
131
|
+
**/
|
|
132
|
+
Killed: AugmentedEvent<ApiType, [proposalHash: H256], {
|
|
133
|
+
proposalHash: H256;
|
|
134
|
+
}>;
|
|
129
135
|
/**
|
|
130
136
|
* A single member did some action; result will be `Ok` if it returned without error.
|
|
131
137
|
**/
|
|
@@ -133,6 +139,20 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
133
139
|
proposalHash: H256;
|
|
134
140
|
result: Result<Null, SpRuntimeDispatchError>;
|
|
135
141
|
}>;
|
|
142
|
+
/**
|
|
143
|
+
* Some cost for storing a proposal was burned.
|
|
144
|
+
**/
|
|
145
|
+
ProposalCostBurned: AugmentedEvent<ApiType, [proposalHash: H256, who: AccountId32], {
|
|
146
|
+
proposalHash: H256;
|
|
147
|
+
who: AccountId32;
|
|
148
|
+
}>;
|
|
149
|
+
/**
|
|
150
|
+
* Some cost for storing a proposal was released.
|
|
151
|
+
**/
|
|
152
|
+
ProposalCostReleased: AugmentedEvent<ApiType, [proposalHash: H256, who: AccountId32], {
|
|
153
|
+
proposalHash: H256;
|
|
154
|
+
who: AccountId32;
|
|
155
|
+
}>;
|
|
136
156
|
/**
|
|
137
157
|
* A motion (given hash) has been proposed (by given account) with a threshold (given
|
|
138
158
|
* `MemberCount`).
|
|
@@ -262,15 +282,15 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
262
282
|
[key: string]: AugmentedEvent<ApiType>;
|
|
263
283
|
};
|
|
264
284
|
assetRate: {
|
|
265
|
-
AssetRateCreated: AugmentedEvent<ApiType, [assetKind:
|
|
266
|
-
assetKind:
|
|
285
|
+
AssetRateCreated: AugmentedEvent<ApiType, [assetKind: FrameSupportTokensFungibleUnionOfNativeOrWithId, rate: u128], {
|
|
286
|
+
assetKind: FrameSupportTokensFungibleUnionOfNativeOrWithId;
|
|
267
287
|
rate: u128;
|
|
268
288
|
}>;
|
|
269
|
-
AssetRateRemoved: AugmentedEvent<ApiType, [assetKind:
|
|
270
|
-
assetKind:
|
|
289
|
+
AssetRateRemoved: AugmentedEvent<ApiType, [assetKind: FrameSupportTokensFungibleUnionOfNativeOrWithId], {
|
|
290
|
+
assetKind: FrameSupportTokensFungibleUnionOfNativeOrWithId;
|
|
271
291
|
}>;
|
|
272
|
-
AssetRateUpdated: AugmentedEvent<ApiType, [assetKind:
|
|
273
|
-
assetKind:
|
|
292
|
+
AssetRateUpdated: AugmentedEvent<ApiType, [assetKind: FrameSupportTokensFungibleUnionOfNativeOrWithId, old: u128, new_: u128], {
|
|
293
|
+
assetKind: FrameSupportTokensFungibleUnionOfNativeOrWithId;
|
|
274
294
|
old: u128;
|
|
275
295
|
new_: u128;
|
|
276
296
|
}>;
|
|
@@ -1245,6 +1265,12 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1245
1265
|
proposalHash: H256;
|
|
1246
1266
|
result: Result<Null, SpRuntimeDispatchError>;
|
|
1247
1267
|
}>;
|
|
1268
|
+
/**
|
|
1269
|
+
* A proposal was killed.
|
|
1270
|
+
**/
|
|
1271
|
+
Killed: AugmentedEvent<ApiType, [proposalHash: H256], {
|
|
1272
|
+
proposalHash: H256;
|
|
1273
|
+
}>;
|
|
1248
1274
|
/**
|
|
1249
1275
|
* A single member did some action; result will be `Ok` if it returned without error.
|
|
1250
1276
|
**/
|
|
@@ -1252,6 +1278,20 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1252
1278
|
proposalHash: H256;
|
|
1253
1279
|
result: Result<Null, SpRuntimeDispatchError>;
|
|
1254
1280
|
}>;
|
|
1281
|
+
/**
|
|
1282
|
+
* Some cost for storing a proposal was burned.
|
|
1283
|
+
**/
|
|
1284
|
+
ProposalCostBurned: AugmentedEvent<ApiType, [proposalHash: H256, who: AccountId32], {
|
|
1285
|
+
proposalHash: H256;
|
|
1286
|
+
who: AccountId32;
|
|
1287
|
+
}>;
|
|
1288
|
+
/**
|
|
1289
|
+
* Some cost for storing a proposal was released.
|
|
1290
|
+
**/
|
|
1291
|
+
ProposalCostReleased: AugmentedEvent<ApiType, [proposalHash: H256, who: AccountId32], {
|
|
1292
|
+
proposalHash: H256;
|
|
1293
|
+
who: AccountId32;
|
|
1294
|
+
}>;
|
|
1255
1295
|
/**
|
|
1256
1296
|
* A motion (given hash) has been proposed (by given account) with a threshold (given
|
|
1257
1297
|
* `MemberCount`).
|
|
@@ -1677,6 +1717,14 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1677
1717
|
RegistrarAdded: AugmentedEvent<ApiType, [registrarIndex: u32], {
|
|
1678
1718
|
registrarIndex: u32;
|
|
1679
1719
|
}>;
|
|
1720
|
+
/**
|
|
1721
|
+
* An account's sub-identities were set (in bulk).
|
|
1722
|
+
**/
|
|
1723
|
+
SubIdentitiesSet: AugmentedEvent<ApiType, [main: AccountId32, numberOfSubs: u32, newDeposit: u128], {
|
|
1724
|
+
main: AccountId32;
|
|
1725
|
+
numberOfSubs: u32;
|
|
1726
|
+
newDeposit: u128;
|
|
1727
|
+
}>;
|
|
1680
1728
|
/**
|
|
1681
1729
|
* A sub-identity was added to an identity and the deposit paid.
|
|
1682
1730
|
**/
|
|
@@ -1693,6 +1741,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1693
1741
|
main: AccountId32;
|
|
1694
1742
|
deposit: u128;
|
|
1695
1743
|
}>;
|
|
1744
|
+
/**
|
|
1745
|
+
* A given sub-account's associated name was changed by its super-identity.
|
|
1746
|
+
**/
|
|
1747
|
+
SubIdentityRenamed: AugmentedEvent<ApiType, [sub: AccountId32, main: AccountId32], {
|
|
1748
|
+
sub: AccountId32;
|
|
1749
|
+
main: AccountId32;
|
|
1750
|
+
}>;
|
|
1696
1751
|
/**
|
|
1697
1752
|
* A sub-identity was cleared, and the given deposit repatriated from the
|
|
1698
1753
|
* main identity account to the sub-identity account.
|
|
@@ -1702,6 +1757,12 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1702
1757
|
main: AccountId32;
|
|
1703
1758
|
deposit: u128;
|
|
1704
1759
|
}>;
|
|
1760
|
+
/**
|
|
1761
|
+
* A username has been killed.
|
|
1762
|
+
**/
|
|
1763
|
+
UsernameKilled: AugmentedEvent<ApiType, [username: Bytes], {
|
|
1764
|
+
username: Bytes;
|
|
1765
|
+
}>;
|
|
1705
1766
|
/**
|
|
1706
1767
|
* A username was queued, but `who` must accept it prior to `expiration`.
|
|
1707
1768
|
**/
|
|
@@ -1710,6 +1771,12 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1710
1771
|
username: Bytes;
|
|
1711
1772
|
expiration: u32;
|
|
1712
1773
|
}>;
|
|
1774
|
+
/**
|
|
1775
|
+
* A username has been removed.
|
|
1776
|
+
**/
|
|
1777
|
+
UsernameRemoved: AugmentedEvent<ApiType, [username: Bytes], {
|
|
1778
|
+
username: Bytes;
|
|
1779
|
+
}>;
|
|
1713
1780
|
/**
|
|
1714
1781
|
* A username was set for `who`.
|
|
1715
1782
|
**/
|
|
@@ -1717,6 +1784,12 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1717
1784
|
who: AccountId32;
|
|
1718
1785
|
username: Bytes;
|
|
1719
1786
|
}>;
|
|
1787
|
+
/**
|
|
1788
|
+
* A username has been unbound.
|
|
1789
|
+
**/
|
|
1790
|
+
UsernameUnbound: AugmentedEvent<ApiType, [username: Bytes], {
|
|
1791
|
+
username: Bytes;
|
|
1792
|
+
}>;
|
|
1720
1793
|
/**
|
|
1721
1794
|
* Generic event
|
|
1722
1795
|
**/
|
|
@@ -3165,40 +3238,41 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
3165
3238
|
* calls. This is because on failure all storage changes including events are
|
|
3166
3239
|
* rolled back.
|
|
3167
3240
|
**/
|
|
3168
|
-
Called: AugmentedEvent<ApiType, [caller: PalletReviveExecOrigin, contract:
|
|
3241
|
+
Called: AugmentedEvent<ApiType, [caller: PalletReviveExecOrigin, contract: H160], {
|
|
3169
3242
|
caller: PalletReviveExecOrigin;
|
|
3170
|
-
contract:
|
|
3243
|
+
contract: H160;
|
|
3171
3244
|
}>;
|
|
3172
3245
|
/**
|
|
3173
3246
|
* A code with the specified hash was removed.
|
|
3174
3247
|
**/
|
|
3175
|
-
CodeRemoved: AugmentedEvent<ApiType, [codeHash: H256, depositReleased: u128, remover:
|
|
3248
|
+
CodeRemoved: AugmentedEvent<ApiType, [codeHash: H256, depositReleased: u128, remover: H160], {
|
|
3176
3249
|
codeHash: H256;
|
|
3177
3250
|
depositReleased: u128;
|
|
3178
|
-
remover:
|
|
3251
|
+
remover: H160;
|
|
3179
3252
|
}>;
|
|
3180
3253
|
/**
|
|
3181
3254
|
* Code with the specified hash has been stored.
|
|
3182
3255
|
**/
|
|
3183
|
-
CodeStored: AugmentedEvent<ApiType, [codeHash: H256, depositHeld: u128, uploader:
|
|
3256
|
+
CodeStored: AugmentedEvent<ApiType, [codeHash: H256, depositHeld: u128, uploader: H160], {
|
|
3184
3257
|
codeHash: H256;
|
|
3185
3258
|
depositHeld: u128;
|
|
3186
|
-
uploader:
|
|
3259
|
+
uploader: H160;
|
|
3187
3260
|
}>;
|
|
3188
3261
|
/**
|
|
3189
3262
|
* A contract's code was updated.
|
|
3190
3263
|
**/
|
|
3191
|
-
ContractCodeUpdated: AugmentedEvent<ApiType, [contract:
|
|
3192
|
-
contract:
|
|
3264
|
+
ContractCodeUpdated: AugmentedEvent<ApiType, [contract: H160, newCodeHash: H256, oldCodeHash: H256], {
|
|
3265
|
+
contract: H160;
|
|
3193
3266
|
newCodeHash: H256;
|
|
3194
3267
|
oldCodeHash: H256;
|
|
3195
3268
|
}>;
|
|
3196
3269
|
/**
|
|
3197
3270
|
* A custom event emitted by the contract.
|
|
3198
3271
|
**/
|
|
3199
|
-
ContractEmitted: AugmentedEvent<ApiType, [contract:
|
|
3200
|
-
contract:
|
|
3272
|
+
ContractEmitted: AugmentedEvent<ApiType, [contract: H160, data: Bytes, topics: Vec<H256>], {
|
|
3273
|
+
contract: H160;
|
|
3201
3274
|
data: Bytes;
|
|
3275
|
+
topics: Vec<H256>;
|
|
3202
3276
|
}>;
|
|
3203
3277
|
/**
|
|
3204
3278
|
* A contract delegate called a code hash.
|
|
@@ -3209,31 +3283,31 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
3209
3283
|
* calls. This is because on failure all storage changes including events are
|
|
3210
3284
|
* rolled back.
|
|
3211
3285
|
**/
|
|
3212
|
-
DelegateCalled: AugmentedEvent<ApiType, [contract:
|
|
3213
|
-
contract:
|
|
3286
|
+
DelegateCalled: AugmentedEvent<ApiType, [contract: H160, codeHash: H256], {
|
|
3287
|
+
contract: H160;
|
|
3214
3288
|
codeHash: H256;
|
|
3215
3289
|
}>;
|
|
3216
3290
|
/**
|
|
3217
3291
|
* Contract deployed by address at the specified address.
|
|
3218
3292
|
**/
|
|
3219
|
-
Instantiated: AugmentedEvent<ApiType, [deployer:
|
|
3220
|
-
deployer:
|
|
3221
|
-
contract:
|
|
3293
|
+
Instantiated: AugmentedEvent<ApiType, [deployer: H160, contract: H160], {
|
|
3294
|
+
deployer: H160;
|
|
3295
|
+
contract: H160;
|
|
3222
3296
|
}>;
|
|
3223
3297
|
/**
|
|
3224
3298
|
* Some funds have been transferred and held as storage deposit.
|
|
3225
3299
|
**/
|
|
3226
|
-
StorageDepositTransferredAndHeld: AugmentedEvent<ApiType, [from:
|
|
3227
|
-
from:
|
|
3228
|
-
to:
|
|
3300
|
+
StorageDepositTransferredAndHeld: AugmentedEvent<ApiType, [from: H160, to: H160, amount: u128], {
|
|
3301
|
+
from: H160;
|
|
3302
|
+
to: H160;
|
|
3229
3303
|
amount: u128;
|
|
3230
3304
|
}>;
|
|
3231
3305
|
/**
|
|
3232
3306
|
* Some storage deposit funds have been transferred and released.
|
|
3233
3307
|
**/
|
|
3234
|
-
StorageDepositTransferredAndReleased: AugmentedEvent<ApiType, [from:
|
|
3235
|
-
from:
|
|
3236
|
-
to:
|
|
3308
|
+
StorageDepositTransferredAndReleased: AugmentedEvent<ApiType, [from: H160, to: H160, amount: u128], {
|
|
3309
|
+
from: H160;
|
|
3310
|
+
to: H160;
|
|
3237
3311
|
amount: u128;
|
|
3238
3312
|
}>;
|
|
3239
3313
|
/**
|
|
@@ -3244,9 +3318,9 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
3244
3318
|
* The only way for a contract to be removed and emitting this event is by calling
|
|
3245
3319
|
* `seal_terminate`.
|
|
3246
3320
|
**/
|
|
3247
|
-
Terminated: AugmentedEvent<ApiType, [contract:
|
|
3248
|
-
contract:
|
|
3249
|
-
beneficiary:
|
|
3321
|
+
Terminated: AugmentedEvent<ApiType, [contract: H160, beneficiary: H160], {
|
|
3322
|
+
contract: H160;
|
|
3323
|
+
beneficiary: H160;
|
|
3250
3324
|
}>;
|
|
3251
3325
|
/**
|
|
3252
3326
|
* Generic event
|
|
@@ -3451,8 +3525,8 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
3451
3525
|
/**
|
|
3452
3526
|
* A transaction fee was skipped.
|
|
3453
3527
|
**/
|
|
3454
|
-
FeeSkipped: AugmentedEvent<ApiType, [
|
|
3455
|
-
|
|
3528
|
+
FeeSkipped: AugmentedEvent<ApiType, [origin: KitchensinkRuntimeOriginCaller], {
|
|
3529
|
+
origin: KitchensinkRuntimeOriginCaller;
|
|
3456
3530
|
}>;
|
|
3457
3531
|
/**
|
|
3458
3532
|
* Generic event
|
|
@@ -3632,11 +3706,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
3632
3706
|
sessionIndex: u32;
|
|
3633
3707
|
}>;
|
|
3634
3708
|
/**
|
|
3635
|
-
*
|
|
3709
|
+
* A Page of stakers rewards are getting paid. `next` is `None` if all pages are claimed.
|
|
3636
3710
|
**/
|
|
3637
|
-
PayoutStarted: AugmentedEvent<ApiType, [eraIndex: u32, validatorStash: AccountId32], {
|
|
3711
|
+
PayoutStarted: AugmentedEvent<ApiType, [eraIndex: u32, validatorStash: AccountId32, page: u32, next: Option<u32>], {
|
|
3638
3712
|
eraIndex: u32;
|
|
3639
3713
|
validatorStash: AccountId32;
|
|
3714
|
+
page: u32;
|
|
3715
|
+
next: Option<u32>;
|
|
3640
3716
|
}>;
|
|
3641
3717
|
/**
|
|
3642
3718
|
* The nominator has been rewarded by this amount to this destination.
|
|
@@ -3791,15 +3867,15 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
3791
3867
|
/**
|
|
3792
3868
|
* An extrinsic failed.
|
|
3793
3869
|
**/
|
|
3794
|
-
ExtrinsicFailed: AugmentedEvent<ApiType, [dispatchError: SpRuntimeDispatchError, dispatchInfo:
|
|
3870
|
+
ExtrinsicFailed: AugmentedEvent<ApiType, [dispatchError: SpRuntimeDispatchError, dispatchInfo: FrameSystemDispatchEventInfo], {
|
|
3795
3871
|
dispatchError: SpRuntimeDispatchError;
|
|
3796
|
-
dispatchInfo:
|
|
3872
|
+
dispatchInfo: FrameSystemDispatchEventInfo;
|
|
3797
3873
|
}>;
|
|
3798
3874
|
/**
|
|
3799
3875
|
* An extrinsic completed successfully.
|
|
3800
3876
|
**/
|
|
3801
|
-
ExtrinsicSuccess: AugmentedEvent<ApiType, [dispatchInfo:
|
|
3802
|
-
dispatchInfo:
|
|
3877
|
+
ExtrinsicSuccess: AugmentedEvent<ApiType, [dispatchInfo: FrameSystemDispatchEventInfo], {
|
|
3878
|
+
dispatchInfo: FrameSystemDispatchEventInfo;
|
|
3803
3879
|
}>;
|
|
3804
3880
|
/**
|
|
3805
3881
|
* An account was reaped.
|
|
@@ -3860,6 +3936,12 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
3860
3936
|
proposalHash: H256;
|
|
3861
3937
|
result: Result<Null, SpRuntimeDispatchError>;
|
|
3862
3938
|
}>;
|
|
3939
|
+
/**
|
|
3940
|
+
* A proposal was killed.
|
|
3941
|
+
**/
|
|
3942
|
+
Killed: AugmentedEvent<ApiType, [proposalHash: H256], {
|
|
3943
|
+
proposalHash: H256;
|
|
3944
|
+
}>;
|
|
3863
3945
|
/**
|
|
3864
3946
|
* A single member did some action; result will be `Ok` if it returned without error.
|
|
3865
3947
|
**/
|
|
@@ -3867,6 +3949,20 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
3867
3949
|
proposalHash: H256;
|
|
3868
3950
|
result: Result<Null, SpRuntimeDispatchError>;
|
|
3869
3951
|
}>;
|
|
3952
|
+
/**
|
|
3953
|
+
* Some cost for storing a proposal was burned.
|
|
3954
|
+
**/
|
|
3955
|
+
ProposalCostBurned: AugmentedEvent<ApiType, [proposalHash: H256, who: AccountId32], {
|
|
3956
|
+
proposalHash: H256;
|
|
3957
|
+
who: AccountId32;
|
|
3958
|
+
}>;
|
|
3959
|
+
/**
|
|
3960
|
+
* Some cost for storing a proposal was released.
|
|
3961
|
+
**/
|
|
3962
|
+
ProposalCostReleased: AugmentedEvent<ApiType, [proposalHash: H256, who: AccountId32], {
|
|
3963
|
+
proposalHash: H256;
|
|
3964
|
+
who: AccountId32;
|
|
3965
|
+
}>;
|
|
3870
3966
|
/**
|
|
3871
3967
|
* A motion (given hash) has been proposed (by given account) with a threshold (given
|
|
3872
3968
|
* `MemberCount`).
|
|
@@ -4004,9 +4100,9 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
4004
4100
|
/**
|
|
4005
4101
|
* A new asset spend proposal has been approved.
|
|
4006
4102
|
**/
|
|
4007
|
-
AssetSpendApproved: AugmentedEvent<ApiType, [index: u32, assetKind:
|
|
4103
|
+
AssetSpendApproved: AugmentedEvent<ApiType, [index: u32, assetKind: FrameSupportTokensFungibleUnionOfNativeOrWithId, amount: u128, beneficiary: AccountId32, validFrom: u32, expireAt: u32], {
|
|
4008
4104
|
index: u32;
|
|
4009
|
-
assetKind:
|
|
4105
|
+
assetKind: FrameSupportTokensFungibleUnionOfNativeOrWithId;
|
|
4010
4106
|
amount: u128;
|
|
4011
4107
|
beneficiary: AccountId32;
|
|
4012
4108
|
validFrom: u32;
|