@polkadot/api-augment 15.9.2 → 15.10.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/kusama/consts.d.ts +5 -2
- package/cjs/kusama/errors.d.ts +3 -27
- package/cjs/kusama/events.d.ts +63 -61
- package/cjs/kusama/query.d.ts +48 -26
- package/cjs/kusama/runtime.d.ts +34 -26
- package/cjs/kusama/tx.d.ts +110 -83
- package/cjs/packageInfo.js +1 -1
- package/cjs/polkadot/consts.d.ts +5 -2
- package/cjs/polkadot/errors.d.ts +3 -27
- package/cjs/polkadot/events.d.ts +63 -61
- package/cjs/polkadot/query.d.ts +48 -26
- package/cjs/polkadot/runtime.d.ts +34 -26
- package/cjs/polkadot/tx.d.ts +110 -81
- package/cjs/substrate/consts.d.ts +57 -11
- package/cjs/substrate/errors.d.ts +218 -2
- package/cjs/substrate/events.d.ts +275 -91
- package/cjs/substrate/query.d.ts +92 -20
- package/cjs/substrate/runtime.d.ts +95 -9
- package/cjs/substrate/tx.d.ts +345 -31
- package/kusama/consts.d.ts +5 -2
- package/kusama/errors.d.ts +3 -27
- package/kusama/events.d.ts +63 -61
- package/kusama/query.d.ts +48 -26
- package/kusama/runtime.d.ts +34 -26
- package/kusama/tx.d.ts +110 -83
- package/package.json +6 -6
- package/packageInfo.js +1 -1
- package/polkadot/consts.d.ts +5 -2
- package/polkadot/errors.d.ts +3 -27
- package/polkadot/events.d.ts +63 -61
- package/polkadot/query.d.ts +48 -26
- package/polkadot/runtime.d.ts +34 -26
- package/polkadot/tx.d.ts +110 -81
- package/substrate/consts.d.ts +57 -11
- package/substrate/errors.d.ts +218 -2
- package/substrate/events.d.ts +275 -91
- package/substrate/query.d.ts +92 -20
- package/substrate/runtime.d.ts +95 -9
- package/substrate/tx.d.ts +345 -31
package/substrate/events.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ 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
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,
|
|
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, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletProxyDepositKind, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletSafeModeExitReason, PalletSocietyGroupParams, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, 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> {
|
|
@@ -299,6 +299,77 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
299
299
|
**/
|
|
300
300
|
[key: string]: AugmentedEvent<ApiType>;
|
|
301
301
|
};
|
|
302
|
+
assetRewards: {
|
|
303
|
+
/**
|
|
304
|
+
* A pool admin was modified.
|
|
305
|
+
**/
|
|
306
|
+
PoolAdminModified: AugmentedEvent<ApiType, [poolId: u32, newAdmin: AccountId32], {
|
|
307
|
+
poolId: u32;
|
|
308
|
+
newAdmin: AccountId32;
|
|
309
|
+
}>;
|
|
310
|
+
/**
|
|
311
|
+
* A pool information was cleared after it's completion.
|
|
312
|
+
**/
|
|
313
|
+
PoolCleanedUp: AugmentedEvent<ApiType, [poolId: u32], {
|
|
314
|
+
poolId: u32;
|
|
315
|
+
}>;
|
|
316
|
+
/**
|
|
317
|
+
* A new reward pool was created.
|
|
318
|
+
**/
|
|
319
|
+
PoolCreated: AugmentedEvent<ApiType, [creator: AccountId32, poolId: u32, stakedAssetId: FrameSupportTokensFungibleUnionOfNativeOrWithId, rewardAssetId: FrameSupportTokensFungibleUnionOfNativeOrWithId, rewardRatePerBlock: u128, expiryBlock: u32, admin: AccountId32], {
|
|
320
|
+
creator: AccountId32;
|
|
321
|
+
poolId: u32;
|
|
322
|
+
stakedAssetId: FrameSupportTokensFungibleUnionOfNativeOrWithId;
|
|
323
|
+
rewardAssetId: FrameSupportTokensFungibleUnionOfNativeOrWithId;
|
|
324
|
+
rewardRatePerBlock: u128;
|
|
325
|
+
expiryBlock: u32;
|
|
326
|
+
admin: AccountId32;
|
|
327
|
+
}>;
|
|
328
|
+
/**
|
|
329
|
+
* A pool expiry block was modified by the admin.
|
|
330
|
+
**/
|
|
331
|
+
PoolExpiryBlockModified: AugmentedEvent<ApiType, [poolId: u32, newExpiryBlock: u32], {
|
|
332
|
+
poolId: u32;
|
|
333
|
+
newExpiryBlock: u32;
|
|
334
|
+
}>;
|
|
335
|
+
/**
|
|
336
|
+
* A pool reward rate was modified by the admin.
|
|
337
|
+
**/
|
|
338
|
+
PoolRewardRateModified: AugmentedEvent<ApiType, [poolId: u32, newRewardRatePerBlock: u128], {
|
|
339
|
+
poolId: u32;
|
|
340
|
+
newRewardRatePerBlock: u128;
|
|
341
|
+
}>;
|
|
342
|
+
/**
|
|
343
|
+
* An account harvested some rewards.
|
|
344
|
+
**/
|
|
345
|
+
RewardsHarvested: AugmentedEvent<ApiType, [caller: AccountId32, staker: AccountId32, poolId: u32, amount: u128], {
|
|
346
|
+
caller: AccountId32;
|
|
347
|
+
staker: AccountId32;
|
|
348
|
+
poolId: u32;
|
|
349
|
+
amount: u128;
|
|
350
|
+
}>;
|
|
351
|
+
/**
|
|
352
|
+
* An account staked some tokens in a pool.
|
|
353
|
+
**/
|
|
354
|
+
Staked: AugmentedEvent<ApiType, [staker: AccountId32, poolId: u32, amount: u128], {
|
|
355
|
+
staker: AccountId32;
|
|
356
|
+
poolId: u32;
|
|
357
|
+
amount: u128;
|
|
358
|
+
}>;
|
|
359
|
+
/**
|
|
360
|
+
* An account unstaked some tokens from a pool.
|
|
361
|
+
**/
|
|
362
|
+
Unstaked: AugmentedEvent<ApiType, [caller: AccountId32, staker: AccountId32, poolId: u32, amount: u128], {
|
|
363
|
+
caller: AccountId32;
|
|
364
|
+
staker: AccountId32;
|
|
365
|
+
poolId: u32;
|
|
366
|
+
amount: u128;
|
|
367
|
+
}>;
|
|
368
|
+
/**
|
|
369
|
+
* Generic event
|
|
370
|
+
**/
|
|
371
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
372
|
+
};
|
|
302
373
|
assets: {
|
|
303
374
|
/**
|
|
304
375
|
* Accounts were destroyed for given asset.
|
|
@@ -503,6 +574,22 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
503
574
|
**/
|
|
504
575
|
[key: string]: AugmentedEvent<ApiType>;
|
|
505
576
|
};
|
|
577
|
+
assetsFreezer: {
|
|
578
|
+
Frozen: AugmentedEvent<ApiType, [who: AccountId32, assetId: u32, amount: u128], {
|
|
579
|
+
who: AccountId32;
|
|
580
|
+
assetId: u32;
|
|
581
|
+
amount: u128;
|
|
582
|
+
}>;
|
|
583
|
+
Thawed: AugmentedEvent<ApiType, [who: AccountId32, assetId: u32, amount: u128], {
|
|
584
|
+
who: AccountId32;
|
|
585
|
+
assetId: u32;
|
|
586
|
+
amount: u128;
|
|
587
|
+
}>;
|
|
588
|
+
/**
|
|
589
|
+
* Generic event
|
|
590
|
+
**/
|
|
591
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
592
|
+
};
|
|
506
593
|
balances: {
|
|
507
594
|
/**
|
|
508
595
|
* A balance was set by root.
|
|
@@ -752,6 +839,12 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
752
839
|
duration: u32;
|
|
753
840
|
task: u32;
|
|
754
841
|
}>;
|
|
842
|
+
/**
|
|
843
|
+
* An assignment has been removed from the workplan.
|
|
844
|
+
**/
|
|
845
|
+
AssignmentRemoved: AugmentedEvent<ApiType, [regionId: PalletBrokerRegionId], {
|
|
846
|
+
regionId: PalletBrokerRegionId;
|
|
847
|
+
}>;
|
|
755
848
|
AutoRenewalDisabled: AugmentedEvent<ApiType, [core: u16, task: u32], {
|
|
756
849
|
core: u16;
|
|
757
850
|
task: u32;
|
|
@@ -861,6 +954,12 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
861
954
|
task: u32;
|
|
862
955
|
when: u32;
|
|
863
956
|
}>;
|
|
957
|
+
/**
|
|
958
|
+
* A lease has been removed.
|
|
959
|
+
**/
|
|
960
|
+
LeaseRemoved: AugmentedEvent<ApiType, [task: u32], {
|
|
961
|
+
task: u32;
|
|
962
|
+
}>;
|
|
864
963
|
/**
|
|
865
964
|
* A Region has been split into two non-overlapping Regions.
|
|
866
965
|
**/
|
|
@@ -1134,19 +1233,26 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1134
1233
|
**/
|
|
1135
1234
|
Undelegated: AugmentedEvent<ApiType, [AccountId32]>;
|
|
1136
1235
|
/**
|
|
1137
|
-
* An account
|
|
1236
|
+
* An account has voted
|
|
1138
1237
|
**/
|
|
1139
1238
|
Voted: AugmentedEvent<ApiType, [who: AccountId32, vote: PalletConvictionVotingVoteAccountVote], {
|
|
1140
1239
|
who: AccountId32;
|
|
1141
1240
|
vote: PalletConvictionVotingVoteAccountVote;
|
|
1142
1241
|
}>;
|
|
1143
1242
|
/**
|
|
1144
|
-
* A vote
|
|
1243
|
+
* A vote has been removed
|
|
1145
1244
|
**/
|
|
1146
1245
|
VoteRemoved: AugmentedEvent<ApiType, [who: AccountId32, vote: PalletConvictionVotingVoteAccountVote], {
|
|
1147
1246
|
who: AccountId32;
|
|
1148
1247
|
vote: PalletConvictionVotingVoteAccountVote;
|
|
1149
1248
|
}>;
|
|
1249
|
+
/**
|
|
1250
|
+
* The lockup period of a conviction vote expired, and the funds have been unlocked.
|
|
1251
|
+
**/
|
|
1252
|
+
VoteUnlocked: AugmentedEvent<ApiType, [who: AccountId32, class_: u16], {
|
|
1253
|
+
who: AccountId32;
|
|
1254
|
+
class: u16;
|
|
1255
|
+
}>;
|
|
1150
1256
|
/**
|
|
1151
1257
|
* Generic event
|
|
1152
1258
|
**/
|
|
@@ -1318,6 +1424,44 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1318
1424
|
**/
|
|
1319
1425
|
[key: string]: AugmentedEvent<ApiType>;
|
|
1320
1426
|
};
|
|
1427
|
+
delegatedStaking: {
|
|
1428
|
+
/**
|
|
1429
|
+
* Funds delegated by a delegator.
|
|
1430
|
+
**/
|
|
1431
|
+
Delegated: AugmentedEvent<ApiType, [agent: AccountId32, delegator: AccountId32, amount: u128], {
|
|
1432
|
+
agent: AccountId32;
|
|
1433
|
+
delegator: AccountId32;
|
|
1434
|
+
amount: u128;
|
|
1435
|
+
}>;
|
|
1436
|
+
/**
|
|
1437
|
+
* Unclaimed delegation funds migrated to delegator.
|
|
1438
|
+
**/
|
|
1439
|
+
MigratedDelegation: AugmentedEvent<ApiType, [agent: AccountId32, delegator: AccountId32, amount: u128], {
|
|
1440
|
+
agent: AccountId32;
|
|
1441
|
+
delegator: AccountId32;
|
|
1442
|
+
amount: u128;
|
|
1443
|
+
}>;
|
|
1444
|
+
/**
|
|
1445
|
+
* Funds released to a delegator.
|
|
1446
|
+
**/
|
|
1447
|
+
Released: AugmentedEvent<ApiType, [agent: AccountId32, delegator: AccountId32, amount: u128], {
|
|
1448
|
+
agent: AccountId32;
|
|
1449
|
+
delegator: AccountId32;
|
|
1450
|
+
amount: u128;
|
|
1451
|
+
}>;
|
|
1452
|
+
/**
|
|
1453
|
+
* Funds slashed from a delegator.
|
|
1454
|
+
**/
|
|
1455
|
+
Slashed: AugmentedEvent<ApiType, [agent: AccountId32, delegator: AccountId32, amount: u128], {
|
|
1456
|
+
agent: AccountId32;
|
|
1457
|
+
delegator: AccountId32;
|
|
1458
|
+
amount: u128;
|
|
1459
|
+
}>;
|
|
1460
|
+
/**
|
|
1461
|
+
* Generic event
|
|
1462
|
+
**/
|
|
1463
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
1464
|
+
};
|
|
1321
1465
|
democracy: {
|
|
1322
1466
|
/**
|
|
1323
1467
|
* A proposal_hash has been blacklisted permanently.
|
|
@@ -1521,7 +1665,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1521
1665
|
}>;
|
|
1522
1666
|
/**
|
|
1523
1667
|
* A new term with new_members. This indicates that enough candidates existed to run
|
|
1524
|
-
* the election, not that enough have
|
|
1668
|
+
* the election, not that enough have been elected. The inner value must be examined
|
|
1525
1669
|
* for this purpose. A `NewTerm(\[\])` indicates that some candidates got their bond
|
|
1526
1670
|
* slashed and none were elected, whilst `EmptyTerm` means that no candidates existed to
|
|
1527
1671
|
* begin with.
|
|
@@ -1809,8 +1953,8 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1809
1953
|
/**
|
|
1810
1954
|
* At the end of the session, at least one validator was found to be offline.
|
|
1811
1955
|
**/
|
|
1812
|
-
SomeOffline: AugmentedEvent<ApiType, [offline: Vec<ITuple<[AccountId32,
|
|
1813
|
-
offline: Vec<ITuple<[AccountId32,
|
|
1956
|
+
SomeOffline: AugmentedEvent<ApiType, [offline: Vec<ITuple<[AccountId32, Null]>>], {
|
|
1957
|
+
offline: Vec<ITuple<[AccountId32, Null]>>;
|
|
1814
1958
|
}>;
|
|
1815
1959
|
/**
|
|
1816
1960
|
* Generic event
|
|
@@ -1818,6 +1962,15 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1818
1962
|
[key: string]: AugmentedEvent<ApiType>;
|
|
1819
1963
|
};
|
|
1820
1964
|
indices: {
|
|
1965
|
+
/**
|
|
1966
|
+
* A deposit to reserve an index has been poked/reconsidered.
|
|
1967
|
+
**/
|
|
1968
|
+
DepositPoked: AugmentedEvent<ApiType, [who: AccountId32, index: u32, oldDeposit: u128, newDeposit: u128], {
|
|
1969
|
+
who: AccountId32;
|
|
1970
|
+
index: u32;
|
|
1971
|
+
oldDeposit: u128;
|
|
1972
|
+
newDeposit: u128;
|
|
1973
|
+
}>;
|
|
1821
1974
|
/**
|
|
1822
1975
|
* A account index was assigned.
|
|
1823
1976
|
**/
|
|
@@ -1910,6 +2063,21 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1910
2063
|
**/
|
|
1911
2064
|
[key: string]: AugmentedEvent<ApiType>;
|
|
1912
2065
|
};
|
|
2066
|
+
metaTx: {
|
|
2067
|
+
/**
|
|
2068
|
+
* A meta transaction has been dispatched.
|
|
2069
|
+
*
|
|
2070
|
+
* Contains the dispatch result of the meta transaction along with post-dispatch
|
|
2071
|
+
* information.
|
|
2072
|
+
**/
|
|
2073
|
+
Dispatched: AugmentedEvent<ApiType, [result: Result<FrameSupportDispatchPostDispatchInfo, SpRuntimeDispatchErrorWithPostInfo>], {
|
|
2074
|
+
result: Result<FrameSupportDispatchPostDispatchInfo, SpRuntimeDispatchErrorWithPostInfo>;
|
|
2075
|
+
}>;
|
|
2076
|
+
/**
|
|
2077
|
+
* Generic event
|
|
2078
|
+
**/
|
|
2079
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
2080
|
+
};
|
|
1913
2081
|
multiBlockMigrations: {
|
|
1914
2082
|
/**
|
|
1915
2083
|
* The set of historical migrations has been cleared.
|
|
@@ -1972,6 +2140,15 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1972
2140
|
[key: string]: AugmentedEvent<ApiType>;
|
|
1973
2141
|
};
|
|
1974
2142
|
multisig: {
|
|
2143
|
+
/**
|
|
2144
|
+
* The deposit for a multisig operation has been updated/poked.
|
|
2145
|
+
**/
|
|
2146
|
+
DepositPoked: AugmentedEvent<ApiType, [who: AccountId32, callHash: U8aFixed, oldDeposit: u128, newDeposit: u128], {
|
|
2147
|
+
who: AccountId32;
|
|
2148
|
+
callHash: U8aFixed;
|
|
2149
|
+
oldDeposit: u128;
|
|
2150
|
+
newDeposit: u128;
|
|
2151
|
+
}>;
|
|
1975
2152
|
/**
|
|
1976
2153
|
* A multisig operation has been approved by someone.
|
|
1977
2154
|
**/
|
|
@@ -2442,6 +2619,24 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2442
2619
|
Destroyed: AugmentedEvent<ApiType, [poolId: u32], {
|
|
2443
2620
|
poolId: u32;
|
|
2444
2621
|
}>;
|
|
2622
|
+
/**
|
|
2623
|
+
* Global parameters regulating nomination pools have been updated.
|
|
2624
|
+
**/
|
|
2625
|
+
GlobalParamsUpdated: AugmentedEvent<ApiType, [minJoinBond: u128, minCreateBond: u128, maxPools: Option<u32>, maxMembers: Option<u32>, maxMembersPerPool: Option<u32>, globalMaxCommission: Option<Perbill>], {
|
|
2626
|
+
minJoinBond: u128;
|
|
2627
|
+
minCreateBond: u128;
|
|
2628
|
+
maxPools: Option<u32>;
|
|
2629
|
+
maxMembers: Option<u32>;
|
|
2630
|
+
maxMembersPerPool: Option<u32>;
|
|
2631
|
+
globalMaxCommission: Option<Perbill>;
|
|
2632
|
+
}>;
|
|
2633
|
+
/**
|
|
2634
|
+
* A pool member's claim permission has been updated.
|
|
2635
|
+
**/
|
|
2636
|
+
MemberClaimPermissionUpdated: AugmentedEvent<ApiType, [member: AccountId32, permission: PalletNominationPoolsClaimPermission], {
|
|
2637
|
+
member: AccountId32;
|
|
2638
|
+
permission: PalletNominationPoolsClaimPermission;
|
|
2639
|
+
}>;
|
|
2445
2640
|
/**
|
|
2446
2641
|
* A member has been removed from a pool.
|
|
2447
2642
|
*
|
|
@@ -2454,6 +2649,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2454
2649
|
member: AccountId32;
|
|
2455
2650
|
releasedBalance: u128;
|
|
2456
2651
|
}>;
|
|
2652
|
+
/**
|
|
2653
|
+
* A pool's metadata was updated.
|
|
2654
|
+
**/
|
|
2655
|
+
MetadataUpdated: AugmentedEvent<ApiType, [poolId: u32, caller: AccountId32], {
|
|
2656
|
+
poolId: u32;
|
|
2657
|
+
caller: AccountId32;
|
|
2658
|
+
}>;
|
|
2457
2659
|
/**
|
|
2458
2660
|
* Topped up deficit in frozen ED of the reward pool.
|
|
2459
2661
|
**/
|
|
@@ -2511,6 +2713,21 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2511
2713
|
poolId: u32;
|
|
2512
2714
|
maxCommission: Perbill;
|
|
2513
2715
|
}>;
|
|
2716
|
+
/**
|
|
2717
|
+
* A pool's nominating account (or the pool's root account) has nominated a validator set
|
|
2718
|
+
* on behalf of the pool.
|
|
2719
|
+
**/
|
|
2720
|
+
PoolNominationMade: AugmentedEvent<ApiType, [poolId: u32, caller: AccountId32], {
|
|
2721
|
+
poolId: u32;
|
|
2722
|
+
caller: AccountId32;
|
|
2723
|
+
}>;
|
|
2724
|
+
/**
|
|
2725
|
+
* The pool is chilled i.e. no longer nominating.
|
|
2726
|
+
**/
|
|
2727
|
+
PoolNominatorChilled: AugmentedEvent<ApiType, [poolId: u32, caller: AccountId32], {
|
|
2728
|
+
poolId: u32;
|
|
2729
|
+
caller: AccountId32;
|
|
2730
|
+
}>;
|
|
2514
2731
|
/**
|
|
2515
2732
|
* The active balance of pool `pool_id` has been slashed to `balance`.
|
|
2516
2733
|
**/
|
|
@@ -2856,6 +3073,15 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2856
3073
|
proxy: AccountId32;
|
|
2857
3074
|
callHash: H256;
|
|
2858
3075
|
}>;
|
|
3076
|
+
/**
|
|
3077
|
+
* A deposit stored for proxies or announcements was poked / updated.
|
|
3078
|
+
**/
|
|
3079
|
+
DepositPoked: AugmentedEvent<ApiType, [who: AccountId32, kind: PalletProxyDepositKind, oldDeposit: u128, newDeposit: u128], {
|
|
3080
|
+
who: AccountId32;
|
|
3081
|
+
kind: PalletProxyDepositKind;
|
|
3082
|
+
oldDeposit: u128;
|
|
3083
|
+
newDeposit: u128;
|
|
3084
|
+
}>;
|
|
2859
3085
|
/**
|
|
2860
3086
|
* A proxy was added.
|
|
2861
3087
|
**/
|
|
@@ -3229,43 +3455,6 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
3229
3455
|
[key: string]: AugmentedEvent<ApiType>;
|
|
3230
3456
|
};
|
|
3231
3457
|
revive: {
|
|
3232
|
-
/**
|
|
3233
|
-
* A contract was called either by a plain account or another contract.
|
|
3234
|
-
*
|
|
3235
|
-
* # Note
|
|
3236
|
-
*
|
|
3237
|
-
* Please keep in mind that like all events this is only emitted for successful
|
|
3238
|
-
* calls. This is because on failure all storage changes including events are
|
|
3239
|
-
* rolled back.
|
|
3240
|
-
**/
|
|
3241
|
-
Called: AugmentedEvent<ApiType, [caller: PalletReviveExecOrigin, contract: H160], {
|
|
3242
|
-
caller: PalletReviveExecOrigin;
|
|
3243
|
-
contract: H160;
|
|
3244
|
-
}>;
|
|
3245
|
-
/**
|
|
3246
|
-
* A code with the specified hash was removed.
|
|
3247
|
-
**/
|
|
3248
|
-
CodeRemoved: AugmentedEvent<ApiType, [codeHash: H256, depositReleased: u128, remover: H160], {
|
|
3249
|
-
codeHash: H256;
|
|
3250
|
-
depositReleased: u128;
|
|
3251
|
-
remover: H160;
|
|
3252
|
-
}>;
|
|
3253
|
-
/**
|
|
3254
|
-
* Code with the specified hash has been stored.
|
|
3255
|
-
**/
|
|
3256
|
-
CodeStored: AugmentedEvent<ApiType, [codeHash: H256, depositHeld: u128, uploader: H160], {
|
|
3257
|
-
codeHash: H256;
|
|
3258
|
-
depositHeld: u128;
|
|
3259
|
-
uploader: H160;
|
|
3260
|
-
}>;
|
|
3261
|
-
/**
|
|
3262
|
-
* A contract's code was updated.
|
|
3263
|
-
**/
|
|
3264
|
-
ContractCodeUpdated: AugmentedEvent<ApiType, [contract: H160, newCodeHash: H256, oldCodeHash: H256], {
|
|
3265
|
-
contract: H160;
|
|
3266
|
-
newCodeHash: H256;
|
|
3267
|
-
oldCodeHash: H256;
|
|
3268
|
-
}>;
|
|
3269
3458
|
/**
|
|
3270
3459
|
* A custom event emitted by the contract.
|
|
3271
3460
|
**/
|
|
@@ -3274,54 +3463,6 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
3274
3463
|
data: Bytes;
|
|
3275
3464
|
topics: Vec<H256>;
|
|
3276
3465
|
}>;
|
|
3277
|
-
/**
|
|
3278
|
-
* A contract delegate called a code hash.
|
|
3279
|
-
*
|
|
3280
|
-
* # Note
|
|
3281
|
-
*
|
|
3282
|
-
* Please keep in mind that like all events this is only emitted for successful
|
|
3283
|
-
* calls. This is because on failure all storage changes including events are
|
|
3284
|
-
* rolled back.
|
|
3285
|
-
**/
|
|
3286
|
-
DelegateCalled: AugmentedEvent<ApiType, [contract: H160, codeHash: H256], {
|
|
3287
|
-
contract: H160;
|
|
3288
|
-
codeHash: H256;
|
|
3289
|
-
}>;
|
|
3290
|
-
/**
|
|
3291
|
-
* Contract deployed by address at the specified address.
|
|
3292
|
-
**/
|
|
3293
|
-
Instantiated: AugmentedEvent<ApiType, [deployer: H160, contract: H160], {
|
|
3294
|
-
deployer: H160;
|
|
3295
|
-
contract: H160;
|
|
3296
|
-
}>;
|
|
3297
|
-
/**
|
|
3298
|
-
* Some funds have been transferred and held as storage deposit.
|
|
3299
|
-
**/
|
|
3300
|
-
StorageDepositTransferredAndHeld: AugmentedEvent<ApiType, [from: H160, to: H160, amount: u128], {
|
|
3301
|
-
from: H160;
|
|
3302
|
-
to: H160;
|
|
3303
|
-
amount: u128;
|
|
3304
|
-
}>;
|
|
3305
|
-
/**
|
|
3306
|
-
* Some storage deposit funds have been transferred and released.
|
|
3307
|
-
**/
|
|
3308
|
-
StorageDepositTransferredAndReleased: AugmentedEvent<ApiType, [from: H160, to: H160, amount: u128], {
|
|
3309
|
-
from: H160;
|
|
3310
|
-
to: H160;
|
|
3311
|
-
amount: u128;
|
|
3312
|
-
}>;
|
|
3313
|
-
/**
|
|
3314
|
-
* Contract has been removed.
|
|
3315
|
-
*
|
|
3316
|
-
* # Note
|
|
3317
|
-
*
|
|
3318
|
-
* The only way for a contract to be removed and emitting this event is by calling
|
|
3319
|
-
* `seal_terminate`.
|
|
3320
|
-
**/
|
|
3321
|
-
Terminated: AugmentedEvent<ApiType, [contract: H160, beneficiary: H160], {
|
|
3322
|
-
contract: H160;
|
|
3323
|
-
beneficiary: H160;
|
|
3324
|
-
}>;
|
|
3325
3466
|
/**
|
|
3326
3467
|
* Generic event
|
|
3327
3468
|
**/
|
|
@@ -3436,6 +3577,12 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
3436
3577
|
[key: string]: AugmentedEvent<ApiType>;
|
|
3437
3578
|
};
|
|
3438
3579
|
scheduler: {
|
|
3580
|
+
/**
|
|
3581
|
+
* Agenda is incomplete from `when`.
|
|
3582
|
+
**/
|
|
3583
|
+
AgendaIncomplete: AugmentedEvent<ApiType, [when: u32], {
|
|
3584
|
+
when: u32;
|
|
3585
|
+
}>;
|
|
3439
3586
|
/**
|
|
3440
3587
|
* The call for the provided hash was not found so the task has been aborted.
|
|
3441
3588
|
**/
|
|
@@ -3516,6 +3663,18 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
3516
3663
|
NewSession: AugmentedEvent<ApiType, [sessionIndex: u32], {
|
|
3517
3664
|
sessionIndex: u32;
|
|
3518
3665
|
}>;
|
|
3666
|
+
/**
|
|
3667
|
+
* Validator has been disabled.
|
|
3668
|
+
**/
|
|
3669
|
+
ValidatorDisabled: AugmentedEvent<ApiType, [validator: AccountId32], {
|
|
3670
|
+
validator: AccountId32;
|
|
3671
|
+
}>;
|
|
3672
|
+
/**
|
|
3673
|
+
* Validator has been re-enabled.
|
|
3674
|
+
**/
|
|
3675
|
+
ValidatorReenabled: AugmentedEvent<ApiType, [validator: AccountId32], {
|
|
3676
|
+
validator: AccountId32;
|
|
3677
|
+
}>;
|
|
3519
3678
|
/**
|
|
3520
3679
|
* Generic event
|
|
3521
3680
|
**/
|
|
@@ -3676,6 +3835,14 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
3676
3835
|
ControllerBatchDeprecated: AugmentedEvent<ApiType, [failures: u32], {
|
|
3677
3836
|
failures: u32;
|
|
3678
3837
|
}>;
|
|
3838
|
+
/**
|
|
3839
|
+
* Staking balance migrated from locks to holds, with any balance that could not be held
|
|
3840
|
+
* is force withdrawn.
|
|
3841
|
+
**/
|
|
3842
|
+
CurrencyMigrated: AugmentedEvent<ApiType, [stash: AccountId32, forceWithdraw: u128], {
|
|
3843
|
+
stash: AccountId32;
|
|
3844
|
+
forceWithdraw: u128;
|
|
3845
|
+
}>;
|
|
3679
3846
|
/**
|
|
3680
3847
|
* The era payout has been set; the first balance is the validator-payout; the second is
|
|
3681
3848
|
* the remainder from the maximum amount of reward.
|
|
@@ -3889,6 +4056,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
3889
4056
|
NewAccount: AugmentedEvent<ApiType, [account: AccountId32], {
|
|
3890
4057
|
account: AccountId32;
|
|
3891
4058
|
}>;
|
|
4059
|
+
/**
|
|
4060
|
+
* An invalid authorized upgrade was rejected while trying to apply it.
|
|
4061
|
+
**/
|
|
4062
|
+
RejectedInvalidAuthorizedUpgrade: AugmentedEvent<ApiType, [codeHash: H256, error: SpRuntimeDispatchError], {
|
|
4063
|
+
codeHash: H256;
|
|
4064
|
+
error: SpRuntimeDispatchError;
|
|
4065
|
+
}>;
|
|
3892
4066
|
/**
|
|
3893
4067
|
* On on-chain remark happened.
|
|
3894
4068
|
**/
|
|
@@ -4442,6 +4616,16 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
4442
4616
|
DispatchedAs: AugmentedEvent<ApiType, [result: Result<Null, SpRuntimeDispatchError>], {
|
|
4443
4617
|
result: Result<Null, SpRuntimeDispatchError>;
|
|
4444
4618
|
}>;
|
|
4619
|
+
/**
|
|
4620
|
+
* The fallback call was dispatched.
|
|
4621
|
+
**/
|
|
4622
|
+
IfElseFallbackCalled: AugmentedEvent<ApiType, [mainError: SpRuntimeDispatchError], {
|
|
4623
|
+
mainError: SpRuntimeDispatchError;
|
|
4624
|
+
}>;
|
|
4625
|
+
/**
|
|
4626
|
+
* Main call was dispatched.
|
|
4627
|
+
**/
|
|
4628
|
+
IfElseMainSuccess: AugmentedEvent<ApiType, []>;
|
|
4445
4629
|
/**
|
|
4446
4630
|
* A single item within a Batch of dispatches has completed with no error.
|
|
4447
4631
|
**/
|