@polkadot/api-augment 10.9.1 → 10.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/packageInfo.js +1 -1
- package/kusama/consts.d.ts +82 -34
- package/kusama/errors.d.ts +150 -26
- package/kusama/events.d.ts +66 -19
- package/kusama/query.d.ts +206 -87
- package/kusama/runtime.d.ts +36 -4
- package/kusama/tx.d.ts +192 -53
- package/package.json +8 -8
- package/packageInfo.js +1 -1
- package/polkadot/consts.d.ts +15 -198
- package/polkadot/errors.d.ts +37 -340
- package/polkadot/events.d.ts +24 -376
- package/polkadot/query.d.ts +63 -272
- package/polkadot/runtime.d.ts +20 -3
- package/polkadot/tx.d.ts +62 -441
- package/substrate/consts.d.ts +118 -34
- package/substrate/errors.d.ts +303 -8
- package/substrate/events.d.ts +379 -25
- package/substrate/query.d.ts +160 -44
- package/substrate/runtime.d.ts +21 -1
- package/substrate/tx.d.ts +252 -29
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, H256, Perbill, Permill, Perquintill } from '@polkadot/types/interfaces/runtime';
|
|
6
|
-
import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, KitchensinkRuntimeProxyType, PalletAllianceCid, PalletAllianceUnscrupulousItem, PalletAssetConversionNativeOrAssetId, PalletContractsOrigin, PalletConvictionVotingTally, PalletCoreFellowshipParamsType, PalletCoreFellowshipWish, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsPalletAttributes, PalletNftsPriceWithDirection, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletStakingExposure, PalletStakingForcing, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpStatementStoreStatement, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
|
|
6
|
+
import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, KitchensinkRuntimeProxyType, PalletAllianceCid, PalletAllianceUnscrupulousItem, PalletAssetConversionNativeOrAssetId, PalletBrokerCoretimeInterfaceCoreAssignment, PalletBrokerRegionId, PalletBrokerScheduleItem, PalletContractsOrigin, PalletConvictionVotingTally, PalletCoreFellowshipParamsType, PalletCoreFellowshipWish, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsPalletAttributes, PalletNftsPriceWithDirection, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletSafeModeExitReason, PalletSocietyGroupParams, PalletStakingExposure, PalletStakingForcing, 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> {
|
|
@@ -188,9 +188,10 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
188
188
|
/**
|
|
189
189
|
* A successful call of the `CretaPool` extrinsic will create this event.
|
|
190
190
|
**/
|
|
191
|
-
PoolCreated: AugmentedEvent<ApiType, [creator: AccountId32, poolId: ITuple<[PalletAssetConversionNativeOrAssetId, PalletAssetConversionNativeOrAssetId]>, lpToken: u32], {
|
|
191
|
+
PoolCreated: AugmentedEvent<ApiType, [creator: AccountId32, poolId: ITuple<[PalletAssetConversionNativeOrAssetId, PalletAssetConversionNativeOrAssetId]>, poolAccount: AccountId32, lpToken: u32], {
|
|
192
192
|
creator: AccountId32;
|
|
193
193
|
poolId: ITuple<[PalletAssetConversionNativeOrAssetId, PalletAssetConversionNativeOrAssetId]>;
|
|
194
|
+
poolAccount: AccountId32;
|
|
194
195
|
lpToken: u32;
|
|
195
196
|
}>;
|
|
196
197
|
/**
|
|
@@ -218,16 +219,38 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
218
219
|
**/
|
|
219
220
|
[key: string]: AugmentedEvent<ApiType>;
|
|
220
221
|
};
|
|
221
|
-
|
|
222
|
-
|
|
222
|
+
assetConversionTxPayment: {
|
|
223
|
+
/**
|
|
224
|
+
* A swap of the refund in native currency back to asset failed.
|
|
225
|
+
**/
|
|
226
|
+
AssetRefundFailed: AugmentedEvent<ApiType, [nativeAmountKept: u128], {
|
|
227
|
+
nativeAmountKept: u128;
|
|
228
|
+
}>;
|
|
229
|
+
/**
|
|
230
|
+
* A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee,
|
|
231
|
+
* has been paid by `who` in an asset `asset_id`.
|
|
232
|
+
**/
|
|
233
|
+
AssetTxFeePaid: AugmentedEvent<ApiType, [who: AccountId32, actualFee: u128, tip: u128, assetId: u32], {
|
|
234
|
+
who: AccountId32;
|
|
235
|
+
actualFee: u128;
|
|
236
|
+
tip: u128;
|
|
223
237
|
assetId: u32;
|
|
238
|
+
}>;
|
|
239
|
+
/**
|
|
240
|
+
* Generic event
|
|
241
|
+
**/
|
|
242
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
243
|
+
};
|
|
244
|
+
assetRate: {
|
|
245
|
+
AssetRateCreated: AugmentedEvent<ApiType, [assetKind: u32, rate: u128], {
|
|
246
|
+
assetKind: u32;
|
|
224
247
|
rate: u128;
|
|
225
248
|
}>;
|
|
226
|
-
AssetRateRemoved: AugmentedEvent<ApiType, [
|
|
227
|
-
|
|
249
|
+
AssetRateRemoved: AugmentedEvent<ApiType, [assetKind: u32], {
|
|
250
|
+
assetKind: u32;
|
|
228
251
|
}>;
|
|
229
|
-
AssetRateUpdated: AugmentedEvent<ApiType, [
|
|
230
|
-
|
|
252
|
+
AssetRateUpdated: AugmentedEvent<ApiType, [assetKind: u32, old: u128, new_: u128], {
|
|
253
|
+
assetKind: u32;
|
|
231
254
|
old: u128;
|
|
232
255
|
new_: u128;
|
|
233
256
|
}>;
|
|
@@ -647,6 +670,229 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
647
670
|
**/
|
|
648
671
|
[key: string]: AugmentedEvent<ApiType>;
|
|
649
672
|
};
|
|
673
|
+
broker: {
|
|
674
|
+
/**
|
|
675
|
+
* Some historical Instantaneous Core Pool payment record has been dropped.
|
|
676
|
+
**/
|
|
677
|
+
AllowedRenewalDropped: AugmentedEvent<ApiType, [when: u32, core: u16], {
|
|
678
|
+
when: u32;
|
|
679
|
+
core: u16;
|
|
680
|
+
}>;
|
|
681
|
+
/**
|
|
682
|
+
* A Region has been assigned to a particular task.
|
|
683
|
+
**/
|
|
684
|
+
Assigned: AugmentedEvent<ApiType, [regionId: PalletBrokerRegionId, duration: u32, task: u32], {
|
|
685
|
+
regionId: PalletBrokerRegionId;
|
|
686
|
+
duration: u32;
|
|
687
|
+
task: u32;
|
|
688
|
+
}>;
|
|
689
|
+
/**
|
|
690
|
+
* Some historical Instantaneous Core Pool Revenue is ready for payout claims.
|
|
691
|
+
**/
|
|
692
|
+
ClaimsReady: AugmentedEvent<ApiType, [when: u32, systemPayout: u128, privatePayout: u128], {
|
|
693
|
+
when: u32;
|
|
694
|
+
systemPayout: u128;
|
|
695
|
+
privatePayout: u128;
|
|
696
|
+
}>;
|
|
697
|
+
/**
|
|
698
|
+
* Some historical Instantaneous Core Pool contribution record has been dropped.
|
|
699
|
+
**/
|
|
700
|
+
ContributionDropped: AugmentedEvent<ApiType, [regionId: PalletBrokerRegionId], {
|
|
701
|
+
regionId: PalletBrokerRegionId;
|
|
702
|
+
}>;
|
|
703
|
+
/**
|
|
704
|
+
* A Core has been assigned to one or more tasks and/or the Pool on the Relay-chain.
|
|
705
|
+
**/
|
|
706
|
+
CoreAssigned: AugmentedEvent<ApiType, [core: u16, when: u32, assignment: Vec<ITuple<[PalletBrokerCoretimeInterfaceCoreAssignment, u16]>>], {
|
|
707
|
+
core: u16;
|
|
708
|
+
when: u32;
|
|
709
|
+
assignment: Vec<ITuple<[PalletBrokerCoretimeInterfaceCoreAssignment, u16]>>;
|
|
710
|
+
}>;
|
|
711
|
+
/**
|
|
712
|
+
* The number of cores available for scheduling has changed.
|
|
713
|
+
**/
|
|
714
|
+
CoreCountChanged: AugmentedEvent<ApiType, [coreCount: u16], {
|
|
715
|
+
coreCount: u16;
|
|
716
|
+
}>;
|
|
717
|
+
/**
|
|
718
|
+
* A new number of cores has been requested.
|
|
719
|
+
**/
|
|
720
|
+
CoreCountRequested: AugmentedEvent<ApiType, [coreCount: u16], {
|
|
721
|
+
coreCount: u16;
|
|
722
|
+
}>;
|
|
723
|
+
/**
|
|
724
|
+
* Some Instantaneous Coretime Pool credit has been purchased.
|
|
725
|
+
**/
|
|
726
|
+
CreditPurchased: AugmentedEvent<ApiType, [who: AccountId32, beneficiary: AccountId32, amount: u128], {
|
|
727
|
+
who: AccountId32;
|
|
728
|
+
beneficiary: AccountId32;
|
|
729
|
+
amount: u128;
|
|
730
|
+
}>;
|
|
731
|
+
/**
|
|
732
|
+
* Some historical Instantaneous Core Pool payment record has been dropped.
|
|
733
|
+
**/
|
|
734
|
+
HistoryDropped: AugmentedEvent<ApiType, [when: u32, revenue: u128], {
|
|
735
|
+
when: u32;
|
|
736
|
+
revenue: u128;
|
|
737
|
+
}>;
|
|
738
|
+
/**
|
|
739
|
+
* Some historical Instantaneous Core Pool payment record has been ignored because the
|
|
740
|
+
* timeslice was already known. Governance may need to intervene.
|
|
741
|
+
**/
|
|
742
|
+
HistoryIgnored: AugmentedEvent<ApiType, [when: u32, revenue: u128], {
|
|
743
|
+
when: u32;
|
|
744
|
+
revenue: u128;
|
|
745
|
+
}>;
|
|
746
|
+
/**
|
|
747
|
+
* Some historical Instantaneous Core Pool payment record has been initialized.
|
|
748
|
+
**/
|
|
749
|
+
HistoryInitialized: AugmentedEvent<ApiType, [when: u32, privatePoolSize: u32, systemPoolSize: u32], {
|
|
750
|
+
when: u32;
|
|
751
|
+
privatePoolSize: u32;
|
|
752
|
+
systemPoolSize: u32;
|
|
753
|
+
}>;
|
|
754
|
+
/**
|
|
755
|
+
* A Region has been converted into two overlapping Regions each of lesser regularity.
|
|
756
|
+
**/
|
|
757
|
+
Interlaced: AugmentedEvent<ApiType, [oldRegionId: PalletBrokerRegionId, newRegionIds: ITuple<[PalletBrokerRegionId, PalletBrokerRegionId]>], {
|
|
758
|
+
oldRegionId: PalletBrokerRegionId;
|
|
759
|
+
newRegionIds: ITuple<[PalletBrokerRegionId, PalletBrokerRegionId]>;
|
|
760
|
+
}>;
|
|
761
|
+
/**
|
|
762
|
+
* A new lease has been created.
|
|
763
|
+
**/
|
|
764
|
+
Leased: AugmentedEvent<ApiType, [task: u32, until: u32], {
|
|
765
|
+
task: u32;
|
|
766
|
+
until: u32;
|
|
767
|
+
}>;
|
|
768
|
+
/**
|
|
769
|
+
* A lease is about to end.
|
|
770
|
+
**/
|
|
771
|
+
LeaseEnding: AugmentedEvent<ApiType, [task: u32, when: u32], {
|
|
772
|
+
task: u32;
|
|
773
|
+
when: u32;
|
|
774
|
+
}>;
|
|
775
|
+
/**
|
|
776
|
+
* A Region has been split into two non-overlapping Regions.
|
|
777
|
+
**/
|
|
778
|
+
Partitioned: AugmentedEvent<ApiType, [oldRegionId: PalletBrokerRegionId, newRegionIds: ITuple<[PalletBrokerRegionId, PalletBrokerRegionId]>], {
|
|
779
|
+
oldRegionId: PalletBrokerRegionId;
|
|
780
|
+
newRegionIds: ITuple<[PalletBrokerRegionId, PalletBrokerRegionId]>;
|
|
781
|
+
}>;
|
|
782
|
+
/**
|
|
783
|
+
* A Region has been added to the Instantaneous Coretime Pool.
|
|
784
|
+
**/
|
|
785
|
+
Pooled: AugmentedEvent<ApiType, [regionId: PalletBrokerRegionId, duration: u32], {
|
|
786
|
+
regionId: PalletBrokerRegionId;
|
|
787
|
+
duration: u32;
|
|
788
|
+
}>;
|
|
789
|
+
/**
|
|
790
|
+
* A Region of Bulk Coretime has been purchased.
|
|
791
|
+
**/
|
|
792
|
+
Purchased: AugmentedEvent<ApiType, [who: AccountId32, regionId: PalletBrokerRegionId, price: u128, duration: u32], {
|
|
793
|
+
who: AccountId32;
|
|
794
|
+
regionId: PalletBrokerRegionId;
|
|
795
|
+
price: u128;
|
|
796
|
+
duration: u32;
|
|
797
|
+
}>;
|
|
798
|
+
/**
|
|
799
|
+
* A Region has been dropped due to being out of date.
|
|
800
|
+
**/
|
|
801
|
+
RegionDropped: AugmentedEvent<ApiType, [regionId: PalletBrokerRegionId, duration: u32], {
|
|
802
|
+
regionId: PalletBrokerRegionId;
|
|
803
|
+
duration: u32;
|
|
804
|
+
}>;
|
|
805
|
+
/**
|
|
806
|
+
* The workload of a core has become renewable.
|
|
807
|
+
**/
|
|
808
|
+
Renewable: AugmentedEvent<ApiType, [core: u16, price: u128, begin: u32, workload: Vec<PalletBrokerScheduleItem>], {
|
|
809
|
+
core: u16;
|
|
810
|
+
price: u128;
|
|
811
|
+
begin: u32;
|
|
812
|
+
workload: Vec<PalletBrokerScheduleItem>;
|
|
813
|
+
}>;
|
|
814
|
+
/**
|
|
815
|
+
* A workload has been renewed.
|
|
816
|
+
**/
|
|
817
|
+
Renewed: AugmentedEvent<ApiType, [who: AccountId32, price: u128, oldCore: u16, core: u16, begin: u32, duration: u32, workload: Vec<PalletBrokerScheduleItem>], {
|
|
818
|
+
who: AccountId32;
|
|
819
|
+
price: u128;
|
|
820
|
+
oldCore: u16;
|
|
821
|
+
core: u16;
|
|
822
|
+
begin: u32;
|
|
823
|
+
duration: u32;
|
|
824
|
+
workload: Vec<PalletBrokerScheduleItem>;
|
|
825
|
+
}>;
|
|
826
|
+
/**
|
|
827
|
+
* A reservation for a workload has been cancelled.
|
|
828
|
+
**/
|
|
829
|
+
ReservationCancelled: AugmentedEvent<ApiType, [index: u32, workload: Vec<PalletBrokerScheduleItem>], {
|
|
830
|
+
index: u32;
|
|
831
|
+
workload: Vec<PalletBrokerScheduleItem>;
|
|
832
|
+
}>;
|
|
833
|
+
/**
|
|
834
|
+
* There is a new reservation for a workload.
|
|
835
|
+
**/
|
|
836
|
+
ReservationMade: AugmentedEvent<ApiType, [index: u32, workload: Vec<PalletBrokerScheduleItem>], {
|
|
837
|
+
index: u32;
|
|
838
|
+
workload: Vec<PalletBrokerScheduleItem>;
|
|
839
|
+
}>;
|
|
840
|
+
/**
|
|
841
|
+
* The act of claiming revenue has begun.
|
|
842
|
+
**/
|
|
843
|
+
RevenueClaimBegun: AugmentedEvent<ApiType, [region: PalletBrokerRegionId, maxTimeslices: u32], {
|
|
844
|
+
region: PalletBrokerRegionId;
|
|
845
|
+
maxTimeslices: u32;
|
|
846
|
+
}>;
|
|
847
|
+
/**
|
|
848
|
+
* A particular timeslice has a non-zero claim.
|
|
849
|
+
**/
|
|
850
|
+
RevenueClaimItem: AugmentedEvent<ApiType, [when: u32, amount: u128], {
|
|
851
|
+
when: u32;
|
|
852
|
+
amount: u128;
|
|
853
|
+
}>;
|
|
854
|
+
/**
|
|
855
|
+
* A revenue claim has (possibly only in part) been paid.
|
|
856
|
+
**/
|
|
857
|
+
RevenueClaimPaid: AugmentedEvent<ApiType, [who: AccountId32, amount: u128, next: Option<PalletBrokerRegionId>], {
|
|
858
|
+
who: AccountId32;
|
|
859
|
+
amount: u128;
|
|
860
|
+
next: Option<PalletBrokerRegionId>;
|
|
861
|
+
}>;
|
|
862
|
+
/**
|
|
863
|
+
* A new sale has been initialized.
|
|
864
|
+
**/
|
|
865
|
+
SaleInitialized: AugmentedEvent<ApiType, [saleStart: u32, leadinLength: u32, startPrice: u128, regularPrice: u128, regionBegin: u32, regionEnd: u32, idealCoresSold: u16, coresOffered: u16], {
|
|
866
|
+
saleStart: u32;
|
|
867
|
+
leadinLength: u32;
|
|
868
|
+
startPrice: u128;
|
|
869
|
+
regularPrice: u128;
|
|
870
|
+
regionBegin: u32;
|
|
871
|
+
regionEnd: u32;
|
|
872
|
+
idealCoresSold: u16;
|
|
873
|
+
coresOffered: u16;
|
|
874
|
+
}>;
|
|
875
|
+
/**
|
|
876
|
+
* The sale rotation has been started and a new sale is imminent.
|
|
877
|
+
**/
|
|
878
|
+
SalesStarted: AugmentedEvent<ApiType, [price: u128, coreCount: u16], {
|
|
879
|
+
price: u128;
|
|
880
|
+
coreCount: u16;
|
|
881
|
+
}>;
|
|
882
|
+
/**
|
|
883
|
+
* Ownership of a Region has been transferred.
|
|
884
|
+
**/
|
|
885
|
+
Transferred: AugmentedEvent<ApiType, [regionId: PalletBrokerRegionId, duration: u32, oldOwner: AccountId32, owner: AccountId32], {
|
|
886
|
+
regionId: PalletBrokerRegionId;
|
|
887
|
+
duration: u32;
|
|
888
|
+
oldOwner: AccountId32;
|
|
889
|
+
owner: AccountId32;
|
|
890
|
+
}>;
|
|
891
|
+
/**
|
|
892
|
+
* Generic event
|
|
893
|
+
**/
|
|
894
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
895
|
+
};
|
|
650
896
|
childBounties: {
|
|
651
897
|
/**
|
|
652
898
|
* A child-bounty is added.
|
|
@@ -701,14 +947,18 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
701
947
|
/**
|
|
702
948
|
* A code with the specified hash was removed.
|
|
703
949
|
**/
|
|
704
|
-
CodeRemoved: AugmentedEvent<ApiType, [codeHash: H256], {
|
|
950
|
+
CodeRemoved: AugmentedEvent<ApiType, [codeHash: H256, depositReleased: u128, remover: AccountId32], {
|
|
705
951
|
codeHash: H256;
|
|
952
|
+
depositReleased: u128;
|
|
953
|
+
remover: AccountId32;
|
|
706
954
|
}>;
|
|
707
955
|
/**
|
|
708
956
|
* Code with the specified hash has been stored.
|
|
709
957
|
**/
|
|
710
|
-
CodeStored: AugmentedEvent<ApiType, [codeHash: H256], {
|
|
958
|
+
CodeStored: AugmentedEvent<ApiType, [codeHash: H256, depositHeld: u128, uploader: AccountId32], {
|
|
711
959
|
codeHash: H256;
|
|
960
|
+
depositHeld: u128;
|
|
961
|
+
uploader: AccountId32;
|
|
712
962
|
}>;
|
|
713
963
|
/**
|
|
714
964
|
* A contract's code was updated.
|
|
@@ -745,6 +995,22 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
745
995
|
deployer: AccountId32;
|
|
746
996
|
contract: AccountId32;
|
|
747
997
|
}>;
|
|
998
|
+
/**
|
|
999
|
+
* Some funds have been transferred and held as storage deposit.
|
|
1000
|
+
**/
|
|
1001
|
+
StorageDepositTransferredAndHeld: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32, amount: u128], {
|
|
1002
|
+
from: AccountId32;
|
|
1003
|
+
to: AccountId32;
|
|
1004
|
+
amount: u128;
|
|
1005
|
+
}>;
|
|
1006
|
+
/**
|
|
1007
|
+
* Some storage deposit funds have been transferred and released.
|
|
1008
|
+
**/
|
|
1009
|
+
StorageDepositTransferredAndReleased: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32, amount: u128], {
|
|
1010
|
+
from: AccountId32;
|
|
1011
|
+
to: AccountId32;
|
|
1012
|
+
amount: u128;
|
|
1013
|
+
}>;
|
|
748
1014
|
/**
|
|
749
1015
|
* Contract has been removed.
|
|
750
1016
|
*
|
|
@@ -1187,8 +1453,8 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1187
1453
|
/**
|
|
1188
1454
|
* The computation limit has been updated.
|
|
1189
1455
|
**/
|
|
1190
|
-
ComputationLimitSet: AugmentedEvent<ApiType, [compute:
|
|
1191
|
-
compute:
|
|
1456
|
+
ComputationLimitSet: AugmentedEvent<ApiType, [compute: u64], {
|
|
1457
|
+
compute: u64;
|
|
1192
1458
|
}>;
|
|
1193
1459
|
/**
|
|
1194
1460
|
* The pallet has been (re)initialized.
|
|
@@ -1199,8 +1465,8 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1199
1465
|
/**
|
|
1200
1466
|
* The storage limit has been updated.
|
|
1201
1467
|
**/
|
|
1202
|
-
StorageLimitSet: AugmentedEvent<ApiType, [storage:
|
|
1203
|
-
storage:
|
|
1468
|
+
StorageLimitSet: AugmentedEvent<ApiType, [storage: u64], {
|
|
1469
|
+
storage: u64;
|
|
1204
1470
|
}>;
|
|
1205
1471
|
/**
|
|
1206
1472
|
* Generic event
|
|
@@ -1683,8 +1949,8 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1683
1949
|
/**
|
|
1684
1950
|
* Event gets emitted when the `NextCollectionId` gets incremented.
|
|
1685
1951
|
**/
|
|
1686
|
-
NextCollectionIdIncremented: AugmentedEvent<ApiType, [nextId: u32], {
|
|
1687
|
-
nextId: u32
|
|
1952
|
+
NextCollectionIdIncremented: AugmentedEvent<ApiType, [nextId: Option<u32>], {
|
|
1953
|
+
nextId: Option<u32>;
|
|
1688
1954
|
}>;
|
|
1689
1955
|
/**
|
|
1690
1956
|
* The owner changed.
|
|
@@ -2614,6 +2880,63 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2614
2880
|
**/
|
|
2615
2881
|
[key: string]: AugmentedEvent<ApiType>;
|
|
2616
2882
|
};
|
|
2883
|
+
safeMode: {
|
|
2884
|
+
/**
|
|
2885
|
+
* Could not hold funds for entering or extending the safe-mode.
|
|
2886
|
+
*
|
|
2887
|
+
* This error comes from the underlying `Currency`.
|
|
2888
|
+
**/
|
|
2889
|
+
CannotDeposit: AugmentedEvent<ApiType, []>;
|
|
2890
|
+
/**
|
|
2891
|
+
* Could not release funds for entering or extending the safe-mode.
|
|
2892
|
+
*
|
|
2893
|
+
* This error comes from the underlying `Currency`.
|
|
2894
|
+
**/
|
|
2895
|
+
CannotRelease: AugmentedEvent<ApiType, []>;
|
|
2896
|
+
/**
|
|
2897
|
+
* An account reserved funds for either entering or extending the safe-mode.
|
|
2898
|
+
**/
|
|
2899
|
+
DepositPlaced: AugmentedEvent<ApiType, [account: AccountId32, amount: u128], {
|
|
2900
|
+
account: AccountId32;
|
|
2901
|
+
amount: u128;
|
|
2902
|
+
}>;
|
|
2903
|
+
/**
|
|
2904
|
+
* An account had a reserve released that was reserved.
|
|
2905
|
+
**/
|
|
2906
|
+
DepositReleased: AugmentedEvent<ApiType, [account: AccountId32, amount: u128], {
|
|
2907
|
+
account: AccountId32;
|
|
2908
|
+
amount: u128;
|
|
2909
|
+
}>;
|
|
2910
|
+
/**
|
|
2911
|
+
* An account had reserve slashed that was reserved.
|
|
2912
|
+
**/
|
|
2913
|
+
DepositSlashed: AugmentedEvent<ApiType, [account: AccountId32, amount: u128], {
|
|
2914
|
+
account: AccountId32;
|
|
2915
|
+
amount: u128;
|
|
2916
|
+
}>;
|
|
2917
|
+
/**
|
|
2918
|
+
* The safe-mode was entered until inclusively this block.
|
|
2919
|
+
**/
|
|
2920
|
+
Entered: AugmentedEvent<ApiType, [until: u32], {
|
|
2921
|
+
until: u32;
|
|
2922
|
+
}>;
|
|
2923
|
+
/**
|
|
2924
|
+
* Exited the safe-mode for a specific reason.
|
|
2925
|
+
**/
|
|
2926
|
+
Exited: AugmentedEvent<ApiType, [reason: PalletSafeModeExitReason], {
|
|
2927
|
+
reason: PalletSafeModeExitReason;
|
|
2928
|
+
}>;
|
|
2929
|
+
/**
|
|
2930
|
+
* The safe-mode was extended until inclusively this block.
|
|
2931
|
+
**/
|
|
2932
|
+
Extended: AugmentedEvent<ApiType, [until: u32], {
|
|
2933
|
+
until: u32;
|
|
2934
|
+
}>;
|
|
2935
|
+
/**
|
|
2936
|
+
* Generic event
|
|
2937
|
+
**/
|
|
2938
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
2939
|
+
};
|
|
2617
2940
|
salary: {
|
|
2618
2941
|
/**
|
|
2619
2942
|
* The next cycle begins.
|
|
@@ -2750,6 +3073,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2750
3073
|
Deposit: AugmentedEvent<ApiType, [value: u128], {
|
|
2751
3074
|
value: u128;
|
|
2752
3075
|
}>;
|
|
3076
|
+
/**
|
|
3077
|
+
* A \[member\] got elevated to \[rank\].
|
|
3078
|
+
**/
|
|
3079
|
+
Elevated: AugmentedEvent<ApiType, [member: AccountId32, rank: u32], {
|
|
3080
|
+
member: AccountId32;
|
|
3081
|
+
rank: u32;
|
|
3082
|
+
}>;
|
|
2753
3083
|
/**
|
|
2754
3084
|
* The society is founded by the given identity.
|
|
2755
3085
|
**/
|
|
@@ -2771,16 +3101,10 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2771
3101
|
member: AccountId32;
|
|
2772
3102
|
}>;
|
|
2773
3103
|
/**
|
|
2774
|
-
* A new \[
|
|
2775
|
-
**/
|
|
2776
|
-
NewMaxMembers: AugmentedEvent<ApiType, [max: u32], {
|
|
2777
|
-
max: u32;
|
|
2778
|
-
}>;
|
|
2779
|
-
/**
|
|
2780
|
-
* A group of members has been choosen as Skeptics
|
|
3104
|
+
* A new set of \[params\] has been set for the group.
|
|
2781
3105
|
**/
|
|
2782
|
-
|
|
2783
|
-
|
|
3106
|
+
NewParams: AugmentedEvent<ApiType, [params: PalletSocietyGroupParams], {
|
|
3107
|
+
params: PalletSocietyGroupParams;
|
|
2784
3108
|
}>;
|
|
2785
3109
|
/**
|
|
2786
3110
|
* A suspended member has been judged.
|
|
@@ -2905,6 +3229,18 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2905
3229
|
fraction: Perbill;
|
|
2906
3230
|
slashEra: u32;
|
|
2907
3231
|
}>;
|
|
3232
|
+
/**
|
|
3233
|
+
* Targets size limit reached.
|
|
3234
|
+
**/
|
|
3235
|
+
SnapshotTargetsSizeExceeded: AugmentedEvent<ApiType, [size_: u32], {
|
|
3236
|
+
size_: u32;
|
|
3237
|
+
}>;
|
|
3238
|
+
/**
|
|
3239
|
+
* Voters size limit reached.
|
|
3240
|
+
**/
|
|
3241
|
+
SnapshotVotersSizeExceeded: AugmentedEvent<ApiType, [size_: u32], {
|
|
3242
|
+
size_: u32;
|
|
3243
|
+
}>;
|
|
2908
3244
|
/**
|
|
2909
3245
|
* A new set of stakers was elected.
|
|
2910
3246
|
**/
|
|
@@ -3285,6 +3621,24 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
3285
3621
|
**/
|
|
3286
3622
|
[key: string]: AugmentedEvent<ApiType>;
|
|
3287
3623
|
};
|
|
3624
|
+
txPause: {
|
|
3625
|
+
/**
|
|
3626
|
+
* This pallet, or a specific call is now paused.
|
|
3627
|
+
**/
|
|
3628
|
+
CallPaused: AugmentedEvent<ApiType, [fullName: ITuple<[Bytes, Bytes]>], {
|
|
3629
|
+
fullName: ITuple<[Bytes, Bytes]>;
|
|
3630
|
+
}>;
|
|
3631
|
+
/**
|
|
3632
|
+
* This pallet, or a specific call is now unpaused.
|
|
3633
|
+
**/
|
|
3634
|
+
CallUnpaused: AugmentedEvent<ApiType, [fullName: ITuple<[Bytes, Bytes]>], {
|
|
3635
|
+
fullName: ITuple<[Bytes, Bytes]>;
|
|
3636
|
+
}>;
|
|
3637
|
+
/**
|
|
3638
|
+
* Generic event
|
|
3639
|
+
**/
|
|
3640
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
3641
|
+
};
|
|
3288
3642
|
uniques: {
|
|
3289
3643
|
/**
|
|
3290
3644
|
* An approval for a `delegate` account to transfer the `item` of an item
|