@polkadot/api-augment 8.4.3-3 → 8.4.3-6

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.
@@ -74,6 +74,10 @@ declare module '@polkadot/api-base/types/errors' {
74
74
  * A given equivocation report is valid but already previously reported.
75
75
  **/
76
76
  DuplicateOffenceReport: AugmentedError<ApiType>;
77
+ /**
78
+ * Submitted configuration is invalid.
79
+ **/
80
+ InvalidConfiguration: AugmentedError<ApiType>;
77
81
  /**
78
82
  * An equivocation proof provided as part of an equivocation report is invalid.
79
83
  **/
@@ -87,16 +91,6 @@ declare module '@polkadot/api-base/types/errors' {
87
91
  **/
88
92
  [key: string]: AugmentedError<ApiType>;
89
93
  };
90
- bagsList: {
91
- /**
92
- * A error in the list interface implementation.
93
- **/
94
- List: AugmentedError<ApiType>;
95
- /**
96
- * Generic error
97
- **/
98
- [key: string]: AugmentedError<ApiType>;
99
- };
100
94
  balances: {
101
95
  /**
102
96
  * Beneficiary account must pre-exist
@@ -1667,6 +1661,16 @@ declare module '@polkadot/api-base/types/errors' {
1667
1661
  **/
1668
1662
  [key: string]: AugmentedError<ApiType>;
1669
1663
  };
1664
+ voterList: {
1665
+ /**
1666
+ * A error in the list interface implementation.
1667
+ **/
1668
+ List: AugmentedError<ApiType>;
1669
+ /**
1670
+ * Generic error
1671
+ **/
1672
+ [key: string]: AugmentedError<ApiType>;
1673
+ };
1670
1674
  xcmPallet: {
1671
1675
  /**
1672
1676
  * The location is invalid since it already has a subscription from us.
@@ -8,29 +8,26 @@ declare module '@polkadot/api-base/types/events' {
8
8
  interface AugmentedEvents<ApiType extends ApiTypes> {
9
9
  auctions: {
10
10
  /**
11
- * An auction ended. All funds become unreserved. `[auction_index]`
11
+ * An auction ended. All funds become unreserved.
12
12
  **/
13
13
  AuctionClosed: AugmentedEvent<ApiType, [u32]>;
14
14
  /**
15
15
  * An auction started. Provides its index and the block number where it will begin to
16
16
  * close and the first lease period of the quadruplet that is auctioned.
17
- * `[auction_index, lease_period, ending]`
18
17
  **/
19
18
  AuctionStarted: AugmentedEvent<ApiType, [u32, u32, u32]>;
20
19
  /**
21
20
  * A new bid has been accepted as the current winner.
22
- * `[who, para_id, amount, first_slot, last_slot]`
23
21
  **/
24
22
  BidAccepted: AugmentedEvent<ApiType, [AccountId32, u32, u128, u32, u32]>;
25
23
  /**
26
24
  * Someone attempted to lease the same slot twice for a parachain. The amount is held in reserve
27
25
  * but no parachain slot has been leased.
28
- * `[parachain_id, leaser, amount]`
29
26
  **/
30
27
  ReserveConfiscated: AugmentedEvent<ApiType, [u32, AccountId32, u128]>;
31
28
  /**
32
29
  * Funds were reserved for a winning bid. First balance is the extra amount reserved.
33
- * Second is the total. `[bidder, extra_reserved, total_amount]`
30
+ * Second is the total.
34
31
  **/
35
32
  Reserved: AugmentedEvent<ApiType, [AccountId32, u128, u128]>;
36
33
  /**
@@ -39,7 +36,6 @@ declare module '@polkadot/api-base/types/events' {
39
36
  Unreserved: AugmentedEvent<ApiType, [AccountId32, u128]>;
40
37
  /**
41
38
  * The winning offset was chosen for an auction. This will map into the `Winning` storage map.
42
- * `[auction_index, block_number]`
43
39
  **/
44
40
  WinningOffset: AugmentedEvent<ApiType, [u32, u32]>;
45
41
  /**
@@ -47,16 +43,6 @@ declare module '@polkadot/api-base/types/events' {
47
43
  **/
48
44
  [key: string]: AugmentedEvent<ApiType>;
49
45
  };
50
- bagsList: {
51
- /**
52
- * Moved an account from one bag to another.
53
- **/
54
- Rebagged: AugmentedEvent<ApiType, [AccountId32, u64, u64]>;
55
- /**
56
- * Generic event
57
- **/
58
- [key: string]: AugmentedEvent<ApiType>;
59
- };
60
46
  balances: {
61
47
  /**
62
48
  * A balance was set by root.
@@ -163,7 +149,7 @@ declare module '@polkadot/api-base/types/events' {
163
149
  };
164
150
  claims: {
165
151
  /**
166
- * Someone claimed some DOTs. `[who, ethereum_address, amount]`
152
+ * Someone claimed some DOTs.
167
153
  **/
168
154
  Claimed: AugmentedEvent<ApiType, [AccountId32, EthereumAddress, u128]>;
169
155
  /**
@@ -213,23 +199,23 @@ declare module '@polkadot/api-base/types/events' {
213
199
  **/
214
200
  AddedToNewRaise: AugmentedEvent<ApiType, [u32]>;
215
201
  /**
216
- * All loans in a fund have been refunded. `[fund_index]`
202
+ * All loans in a fund have been refunded.
217
203
  **/
218
204
  AllRefunded: AugmentedEvent<ApiType, [u32]>;
219
205
  /**
220
- * Contributed to a crowd sale. `[who, fund_index, amount]`
206
+ * Contributed to a crowd sale.
221
207
  **/
222
208
  Contributed: AugmentedEvent<ApiType, [AccountId32, u32, u128]>;
223
209
  /**
224
- * Create a new crowdloaning campaign. `[fund_index]`
210
+ * Create a new crowdloaning campaign.
225
211
  **/
226
212
  Created: AugmentedEvent<ApiType, [u32]>;
227
213
  /**
228
- * Fund is dissolved. `[fund_index]`
214
+ * Fund is dissolved.
229
215
  **/
230
216
  Dissolved: AugmentedEvent<ApiType, [u32]>;
231
217
  /**
232
- * The configuration to a crowdloan has been edited. `[fund_index]`
218
+ * The configuration to a crowdloan has been edited.
233
219
  **/
234
220
  Edited: AugmentedEvent<ApiType, [u32]>;
235
221
  /**
@@ -237,16 +223,16 @@ declare module '@polkadot/api-base/types/events' {
237
223
  **/
238
224
  HandleBidResult: AugmentedEvent<ApiType, [u32, Result<Null, SpRuntimeDispatchError>]>;
239
225
  /**
240
- * A memo has been updated. `[who, fund_index, memo]`
226
+ * A memo has been updated.
241
227
  **/
242
228
  MemoUpdated: AugmentedEvent<ApiType, [AccountId32, u32, Bytes]>;
243
229
  /**
244
230
  * The loans in a fund have been partially dissolved, i.e. there are some left
245
- * over child keys that still need to be killed. `[fund_index]`
231
+ * over child keys that still need to be killed.
246
232
  **/
247
233
  PartiallyRefunded: AugmentedEvent<ApiType, [u32]>;
248
234
  /**
249
- * Withdrew full balance of a contributor. `[who, fund_index, amount]`
235
+ * Withdrew full balance of a contributor.
250
236
  **/
251
237
  Withdrew: AugmentedEvent<ApiType, [AccountId32, u32, u128]>;
252
238
  /**
@@ -752,7 +738,6 @@ declare module '@polkadot/api-base/types/events' {
752
738
  * A para has won the right to a continuous set of lease periods as a parachain.
753
739
  * First balance is any extra amount reserved on top of the para's existing deposit.
754
740
  * Second balance is the total amount reserved.
755
- * `[parachain_id, leaser, period_begin, period_count, extra_reserved, total_amount]`
756
741
  **/
757
742
  Leased: AugmentedEvent<ApiType, [u32, AccountId32, u32, u32, u128, u128]>;
758
743
  /**
@@ -1080,6 +1065,20 @@ declare module '@polkadot/api-base/types/events' {
1080
1065
  **/
1081
1066
  [key: string]: AugmentedEvent<ApiType>;
1082
1067
  };
1068
+ voterList: {
1069
+ /**
1070
+ * Moved an account from one bag to another.
1071
+ **/
1072
+ Rebagged: AugmentedEvent<ApiType, [AccountId32, u64, u64]>;
1073
+ /**
1074
+ * Updated the score of some account to the given amount.
1075
+ **/
1076
+ ScoreUpdated: AugmentedEvent<ApiType, [AccountId32, u64]>;
1077
+ /**
1078
+ * Generic event
1079
+ **/
1080
+ [key: string]: AugmentedEvent<ApiType>;
1081
+ };
1083
1082
  xcmPallet: {
1084
1083
  /**
1085
1084
  * Some assets have been placed in an asset trap.
@@ -157,28 +157,6 @@ declare module '@polkadot/api-base/types/storage' {
157
157
  **/
158
158
  [key: string]: QueryableStorageEntry<ApiType>;
159
159
  };
160
- bagsList: {
161
- /**
162
- * Counter for the related counted storage map
163
- **/
164
- counterForListNodes: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
165
- /**
166
- * A bag stored in storage.
167
- *
168
- * Stores a `Bag` struct, which stores head and tail pointers to itself.
169
- **/
170
- listBags: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletBagsListListBag>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;
171
- /**
172
- * A single node, within some bag.
173
- *
174
- * Nodes store links forward and back within their respective bags.
175
- **/
176
- listNodes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletBagsListListNode>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
177
- /**
178
- * Generic query
179
- **/
180
- [key: string]: QueryableStorageEntry<ApiType>;
181
- };
182
160
  balances: {
183
161
  /**
184
162
  * The Balances pallet example of storing the balance of an account.
@@ -1080,6 +1058,10 @@ declare module '@polkadot/api-base/types/storage' {
1080
1058
  [key: string]: QueryableStorageEntry<ApiType>;
1081
1059
  };
1082
1060
  paraSessionInfo: {
1061
+ /**
1062
+ * The validator account keys of the validators actively participating in parachain consensus.
1063
+ **/
1064
+ accountKeys: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Vec<AccountId32>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1083
1065
  /**
1084
1066
  * Assignment keys for the current session.
1085
1067
  * Note that this API is private due to it being prone to 'off-by-one' at session boundaries.
@@ -1793,6 +1775,28 @@ declare module '@polkadot/api-base/types/storage' {
1793
1775
  **/
1794
1776
  [key: string]: QueryableStorageEntry<ApiType>;
1795
1777
  };
1778
+ voterList: {
1779
+ /**
1780
+ * Counter for the related counted storage map
1781
+ **/
1782
+ counterForListNodes: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
1783
+ /**
1784
+ * A bag stored in storage.
1785
+ *
1786
+ * Stores a `Bag` struct, which stores head and tail pointers to itself.
1787
+ **/
1788
+ listBags: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletBagsListListBag>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;
1789
+ /**
1790
+ * A single node, within some bag.
1791
+ *
1792
+ * Nodes store links forward and back within their respective bags.
1793
+ **/
1794
+ listNodes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletBagsListListNode>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
1795
+ /**
1796
+ * Generic query
1797
+ **/
1798
+ [key: string]: QueryableStorageEntry<ApiType>;
1799
+ };
1796
1800
  xcmPallet: {
1797
1801
  /**
1798
1802
  * The existing asset traps.
package/polkadot/tx.d.ts CHANGED
@@ -113,34 +113,6 @@ declare module '@polkadot/api-base/types/submittable' {
113
113
  **/
114
114
  [key: string]: SubmittableExtrinsicFunction<ApiType>;
115
115
  };
116
- bagsList: {
117
- /**
118
- * Move the caller's Id directly in front of `lighter`.
119
- *
120
- * The dispatch origin for this call must be _Signed_ and can only be called by the Id of
121
- * the account going in front of `lighter`.
122
- *
123
- * Only works if
124
- * - both nodes are within the same bag,
125
- * - and `origin` has a greater `Score` than `lighter`.
126
- **/
127
- putInFrontOf: AugmentedSubmittable<(lighter: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
128
- /**
129
- * Declare that some `dislocated` account has, through rewards or penalties, sufficiently
130
- * changed its score that it should properly fall into a different bag than its current
131
- * one.
132
- *
133
- * Anyone can call this function about any potentially dislocated account.
134
- *
135
- * Will never return an error; if `dislocated` does not exist or doesn't need a rebag, then
136
- * it is a noop and fees are still collected from `origin`.
137
- **/
138
- rebag: AugmentedSubmittable<(dislocated: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
139
- /**
140
- * Generic tx
141
- **/
142
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
143
- };
144
116
  balances: {
145
117
  /**
146
118
  * Exactly as `transfer`, except the origin must be root and the source account may be
@@ -4319,6 +4291,36 @@ declare module '@polkadot/api-base/types/submittable' {
4319
4291
  **/
4320
4292
  [key: string]: SubmittableExtrinsicFunction<ApiType>;
4321
4293
  };
4294
+ voterList: {
4295
+ /**
4296
+ * Move the caller's Id directly in front of `lighter`.
4297
+ *
4298
+ * The dispatch origin for this call must be _Signed_ and can only be called by the Id of
4299
+ * the account going in front of `lighter`.
4300
+ *
4301
+ * Only works if
4302
+ * - both nodes are within the same bag,
4303
+ * - and `origin` has a greater `Score` than `lighter`.
4304
+ **/
4305
+ putInFrontOf: AugmentedSubmittable<(lighter: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
4306
+ /**
4307
+ * Declare that some `dislocated` account has, through rewards or penalties, sufficiently
4308
+ * changed its score that it should properly fall into a different bag than its current
4309
+ * one.
4310
+ *
4311
+ * Anyone can call this function about any potentially dislocated account.
4312
+ *
4313
+ * Will always update the stored score of `dislocated` to the correct score, based on
4314
+ * `ScoreProvider`.
4315
+ *
4316
+ * If `dislocated` does not exists, it returns an error.
4317
+ **/
4318
+ rebag: AugmentedSubmittable<(dislocated: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
4319
+ /**
4320
+ * Generic tx
4321
+ **/
4322
+ [key: string]: SubmittableExtrinsicFunction<ApiType>;
4323
+ };
4322
4324
  xcmPallet: {
4323
4325
  /**
4324
4326
  * Execute an XCM message from a local, signed, origin.
@@ -206,6 +206,27 @@ declare module '@polkadot/api-base/types/consts' {
206
206
  [key: string]: Codec;
207
207
  };
208
208
  contracts: {
209
+ /**
210
+ * The weight per byte of code that is charged when loading a contract from storage.
211
+ *
212
+ * Currently, FRAME only charges fees for computation incurred but not for PoV
213
+ * consumption caused for storage access. This is usually not exploitable because
214
+ * accessing storage carries some substantial weight costs, too. However in case
215
+ * of contract code very much PoV consumption can be caused while consuming very little
216
+ * computation. This could be used to keep the chain busy without paying the
217
+ * proper fee for it. Until this is resolved we charge from the weight meter for
218
+ * contract access.
219
+ *
220
+ * For more information check out: <https://github.com/paritytech/substrate/issues/10301>
221
+ *
222
+ * [`DefaultContractAccessWeight`] is a safe default to be used for polkadot or kusama
223
+ * parachains.
224
+ *
225
+ * # Note
226
+ *
227
+ * This is only relevant for parachains. Set to zero in case of a standalone chain.
228
+ **/
229
+ contractAccessWeight: u64 & AugmentedConst<ApiType>;
209
230
  /**
210
231
  * The maximum number of contracts that can be pending for deletion.
211
232
  *
@@ -361,20 +382,6 @@ declare module '@polkadot/api-base/types/consts' {
361
382
  * take place over multiple blocks.
362
383
  **/
363
384
  maxElectingVoters: u32 & AugmentedConst<ApiType>;
364
- /**
365
- * Maximum length (bytes) that the mined solution should consume.
366
- *
367
- * The miner will ensure that the total length of the unsigned solution will not exceed
368
- * this value.
369
- **/
370
- minerMaxLength: u32 & AugmentedConst<ApiType>;
371
- /**
372
- * Maximum weight that the miner should consume.
373
- *
374
- * The miner will ensure that the total weight of the unsigned solution will not exceed
375
- * this value, based on [`WeightInfo::submit_unsigned`].
376
- **/
377
- minerMaxWeight: u64 & AugmentedConst<ApiType>;
378
385
  /**
379
386
  * The priority of the unsigned transaction submitted in the unsigned-phase
380
387
  **/
@@ -415,7 +422,9 @@ declare module '@polkadot/api-base/types/consts' {
415
422
  /**
416
423
  * Maximum weight of a signed solution.
417
424
  *
418
- * This should probably be similar to [`Config::MinerMaxWeight`].
425
+ * If [`Config::MinerConfig`] is being implemented to submit signed solutions (outside of
426
+ * this pallet), then [`MinerConfig::solution_weight`] is used to compare against
427
+ * this value.
419
428
  **/
420
429
  signedMaxWeight: u64 & AugmentedConst<ApiType>;
421
430
  /**
@@ -636,6 +645,14 @@ declare module '@polkadot/api-base/types/consts' {
636
645
  [key: string]: Codec;
637
646
  };
638
647
  nominationPools: {
648
+ /**
649
+ * The minimum pool points-to-balance ratio that must be maintained for it to be `open`.
650
+ * This is important in the event slashing takes place and the pool's points-to-balance
651
+ * ratio becomes disproportional.
652
+ * For a value of 10, the threshold would be a pool points-to-balance ratio of 10:1.
653
+ * Such a scenario would also be the equivalent of the pool being 90% slashed.
654
+ **/
655
+ minPointsToBalance: u32 & AugmentedConst<ApiType>;
639
656
  /**
640
657
  * The nomination pool's pallet id.
641
658
  **/
@@ -1002,28 +1019,28 @@ declare module '@polkadot/api-base/types/consts' {
1002
1019
  };
1003
1020
  uniques: {
1004
1021
  /**
1005
- * The basic amount of funds that must be reserved when adding an attribute to an asset.
1022
+ * The basic amount of funds that must be reserved when adding an attribute to an item.
1006
1023
  **/
1007
1024
  attributeDepositBase: u128 & AugmentedConst<ApiType>;
1008
1025
  /**
1009
- * The basic amount of funds that must be reserved for an asset class.
1026
+ * The basic amount of funds that must be reserved for collection.
1010
1027
  **/
1011
- classDeposit: u128 & AugmentedConst<ApiType>;
1028
+ collectionDeposit: u128 & AugmentedConst<ApiType>;
1012
1029
  /**
1013
1030
  * The additional funds that must be reserved for the number of bytes store in metadata,
1014
1031
  * either "normal" metadata or attribute metadata.
1015
1032
  **/
1016
1033
  depositPerByte: u128 & AugmentedConst<ApiType>;
1017
1034
  /**
1018
- * The basic amount of funds that must be reserved for an asset instance.
1035
+ * The basic amount of funds that must be reserved for an item.
1019
1036
  **/
1020
- instanceDeposit: u128 & AugmentedConst<ApiType>;
1037
+ itemDeposit: u128 & AugmentedConst<ApiType>;
1021
1038
  /**
1022
1039
  * The maximum length of an attribute key.
1023
1040
  **/
1024
1041
  keyLimit: u32 & AugmentedConst<ApiType>;
1025
1042
  /**
1026
- * The basic amount of funds that must be reserved when adding metadata to your asset.
1043
+ * The basic amount of funds that must be reserved when adding metadata to your item.
1027
1044
  **/
1028
1045
  metadataDepositBase: u128 & AugmentedConst<ApiType>;
1029
1046
  /**
@@ -108,6 +108,10 @@ declare module '@polkadot/api-base/types/errors' {
108
108
  * A given equivocation report is valid but already previously reported.
109
109
  **/
110
110
  DuplicateOffenceReport: AugmentedError<ApiType>;
111
+ /**
112
+ * Submitted configuration is invalid.
113
+ **/
114
+ InvalidConfiguration: AugmentedError<ApiType>;
111
115
  /**
112
116
  * An equivocation proof provided as part of an equivocation report is invalid.
113
117
  **/
@@ -1793,7 +1797,7 @@ declare module '@polkadot/api-base/types/errors' {
1793
1797
  };
1794
1798
  uniques: {
1795
1799
  /**
1796
- * The asset instance ID has already been used for an asset.
1800
+ * The item ID has already been used for an item.
1797
1801
  **/
1798
1802
  AlreadyExists: AugmentedError<ApiType>;
1799
1803
  /**
@@ -1801,17 +1805,29 @@ declare module '@polkadot/api-base/types/errors' {
1801
1805
  **/
1802
1806
  BadWitness: AugmentedError<ApiType>;
1803
1807
  /**
1804
- * The asset instance or class is frozen.
1808
+ * The item or collection is frozen.
1805
1809
  **/
1806
1810
  Frozen: AugmentedError<ApiType>;
1807
1811
  /**
1808
- * The asset ID is already taken.
1812
+ * The item ID is already taken.
1809
1813
  **/
1810
1814
  InUse: AugmentedError<ApiType>;
1811
1815
  /**
1812
- * The asset instance is locked.
1816
+ * The item is locked.
1813
1817
  **/
1814
1818
  Locked: AugmentedError<ApiType>;
1819
+ /**
1820
+ * The max supply has already been set.
1821
+ **/
1822
+ MaxSupplyAlreadySet: AugmentedError<ApiType>;
1823
+ /**
1824
+ * All items have been minted.
1825
+ **/
1826
+ MaxSupplyReached: AugmentedError<ApiType>;
1827
+ /**
1828
+ * The provided max supply is less to the amount of items a collection already has.
1829
+ **/
1830
+ MaxSupplyTooSmall: AugmentedError<ApiType>;
1815
1831
  /**
1816
1832
  * There is no delegate approved.
1817
1833
  **/
@@ -1821,7 +1837,7 @@ declare module '@polkadot/api-base/types/errors' {
1821
1837
  **/
1822
1838
  NoPermission: AugmentedError<ApiType>;
1823
1839
  /**
1824
- * The named owner has not signed ownership of the class is acceptable.
1840
+ * The named owner has not signed ownership of the collection is acceptable.
1825
1841
  **/
1826
1842
  Unaccepted: AugmentedError<ApiType>;
1827
1843
  /**
@@ -1829,9 +1845,9 @@ declare module '@polkadot/api-base/types/errors' {
1829
1845
  **/
1830
1846
  Unapproved: AugmentedError<ApiType>;
1831
1847
  /**
1832
- * The given asset ID is unknown.
1848
+ * The given item ID is unknown.
1833
1849
  **/
1834
- UnknownClass: AugmentedError<ApiType>;
1850
+ UnknownCollection: AugmentedError<ApiType>;
1835
1851
  /**
1836
1852
  * The delegate turned out to be different to what was expected.
1837
1853
  **/
@@ -89,6 +89,10 @@ declare module '@polkadot/api-base/types/events' {
89
89
  * Moved an account from one bag to another.
90
90
  **/
91
91
  Rebagged: AugmentedEvent<ApiType, [AccountId32, u64, u64]>;
92
+ /**
93
+ * Updated the score of some account to the given amount.
94
+ **/
95
+ ScoreUpdated: AugmentedEvent<ApiType, [AccountId32, u64]>;
92
96
  /**
93
97
  * Generic event
94
98
  **/
@@ -634,6 +638,11 @@ declare module '@polkadot/api-base/types/events' {
634
638
  * A payout has been made to a member.
635
639
  **/
636
640
  PaidOut: AugmentedEvent<ApiType, [AccountId32, u32, u128]>;
641
+ /**
642
+ * The roles of a pool have been updated to the given new roles. Note that the depositor
643
+ * can never change.
644
+ **/
645
+ RolesUpdated: AugmentedEvent<ApiType, [Option<AccountId32>, Option<AccountId32>, Option<AccountId32>]>;
637
646
  /**
638
647
  * The state of a pool has changed
639
648
  **/
@@ -1190,73 +1199,77 @@ declare module '@polkadot/api-base/types/events' {
1190
1199
  };
1191
1200
  uniques: {
1192
1201
  /**
1193
- * An approval for a `delegate` account to transfer the `instance` of an asset `class` was
1194
- * cancelled by its `owner`.
1202
+ * An approval for a `delegate` account to transfer the `item` of an item
1203
+ * `collection` was cancelled by its `owner`.
1195
1204
  **/
1196
1205
  ApprovalCancelled: AugmentedEvent<ApiType, [u32, u32, AccountId32, AccountId32]>;
1197
1206
  /**
1198
- * An `instance` of an asset `class` has been approved by the `owner` for transfer by a
1199
- * `delegate`.
1207
+ * An `item` of a `collection` has been approved by the `owner` for transfer by
1208
+ * a `delegate`.
1200
1209
  **/
1201
1210
  ApprovedTransfer: AugmentedEvent<ApiType, [u32, u32, AccountId32, AccountId32]>;
1202
1211
  /**
1203
- * An asset `class` has had its attributes changed by the `Force` origin.
1204
- **/
1205
- AssetStatusChanged: AugmentedEvent<ApiType, [u32]>;
1206
- /**
1207
- * Attribute metadata has been cleared for an asset class or instance.
1212
+ * Attribute metadata has been cleared for a `collection` or `item`.
1208
1213
  **/
1209
1214
  AttributeCleared: AugmentedEvent<ApiType, [u32, Option<u32>, Bytes]>;
1210
1215
  /**
1211
- * New attribute metadata has been set for an asset class or instance.
1216
+ * New attribute metadata has been set for a `collection` or `item`.
1212
1217
  **/
1213
1218
  AttributeSet: AugmentedEvent<ApiType, [u32, Option<u32>, Bytes, Bytes]>;
1214
1219
  /**
1215
- * An asset `instance` was destroyed.
1220
+ * An `item` was destroyed.
1216
1221
  **/
1217
1222
  Burned: AugmentedEvent<ApiType, [u32, u32, AccountId32]>;
1218
1223
  /**
1219
- * Some asset `class` was frozen.
1224
+ * Some `collection` was frozen.
1225
+ **/
1226
+ CollectionFrozen: AugmentedEvent<ApiType, [u32]>;
1227
+ /**
1228
+ * Max supply has been set for a collection.
1220
1229
  **/
1221
- ClassFrozen: AugmentedEvent<ApiType, [u32]>;
1230
+ CollectionMaxSupplySet: AugmentedEvent<ApiType, [u32, u32]>;
1222
1231
  /**
1223
- * Metadata has been cleared for an asset class.
1232
+ * Metadata has been cleared for a `collection`.
1224
1233
  **/
1225
- ClassMetadataCleared: AugmentedEvent<ApiType, [u32]>;
1234
+ CollectionMetadataCleared: AugmentedEvent<ApiType, [u32]>;
1226
1235
  /**
1227
- * New metadata has been set for an asset class.
1236
+ * New metadata has been set for a `collection`.
1228
1237
  **/
1229
- ClassMetadataSet: AugmentedEvent<ApiType, [u32, Bytes, bool]>;
1238
+ CollectionMetadataSet: AugmentedEvent<ApiType, [u32, Bytes, bool]>;
1230
1239
  /**
1231
- * Some asset `class` was thawed.
1240
+ * Some `collection` was thawed.
1232
1241
  **/
1233
- ClassThawed: AugmentedEvent<ApiType, [u32]>;
1242
+ CollectionThawed: AugmentedEvent<ApiType, [u32]>;
1234
1243
  /**
1235
- * An asset class was created.
1244
+ * A `collection` was created.
1236
1245
  **/
1237
1246
  Created: AugmentedEvent<ApiType, [u32, AccountId32, AccountId32]>;
1238
1247
  /**
1239
- * An asset `class` was destroyed.
1248
+ * A `collection` was destroyed.
1240
1249
  **/
1241
1250
  Destroyed: AugmentedEvent<ApiType, [u32]>;
1242
1251
  /**
1243
- * An asset class was force-created.
1252
+ * A `collection` was force-created.
1244
1253
  **/
1245
1254
  ForceCreated: AugmentedEvent<ApiType, [u32, AccountId32]>;
1246
1255
  /**
1247
- * Some asset `instance` was frozen.
1256
+ * Some `item` was frozen.
1248
1257
  **/
1249
1258
  Frozen: AugmentedEvent<ApiType, [u32, u32]>;
1250
1259
  /**
1251
- * An asset `instance` was issued.
1260
+ * An `item` was issued.
1252
1261
  **/
1253
1262
  Issued: AugmentedEvent<ApiType, [u32, u32, AccountId32]>;
1254
1263
  /**
1255
- * Metadata has been cleared for an asset instance.
1264
+ * A `collection` has had its attributes changed by the `Force` origin.
1265
+ **/
1266
+ ItemStatusChanged: AugmentedEvent<ApiType, [u32]>;
1267
+ /**
1268
+ * Metadata has been cleared for an item.
1256
1269
  **/
1257
1270
  MetadataCleared: AugmentedEvent<ApiType, [u32, u32]>;
1258
1271
  /**
1259
- * New metadata has been set for an asset instance.
1272
+ * New metadata has been set for an item.
1260
1273
  **/
1261
1274
  MetadataSet: AugmentedEvent<ApiType, [u32, u32, Bytes, bool]>;
1262
1275
  /**
@@ -1268,7 +1281,7 @@ declare module '@polkadot/api-base/types/events' {
1268
1281
  **/
1269
1282
  OwnershipAcceptanceChanged: AugmentedEvent<ApiType, [AccountId32, Option<u32>]>;
1270
1283
  /**
1271
- * Metadata has been cleared for an asset instance.
1284
+ * Metadata has been cleared for an item.
1272
1285
  **/
1273
1286
  Redeposited: AugmentedEvent<ApiType, [u32, Vec<u32>]>;
1274
1287
  /**
@@ -1276,11 +1289,11 @@ declare module '@polkadot/api-base/types/events' {
1276
1289
  **/
1277
1290
  TeamChanged: AugmentedEvent<ApiType, [u32, AccountId32, AccountId32, AccountId32]>;
1278
1291
  /**
1279
- * Some asset `instance` was thawed.
1292
+ * Some `item` was thawed.
1280
1293
  **/
1281
1294
  Thawed: AugmentedEvent<ApiType, [u32, u32]>;
1282
1295
  /**
1283
- * An asset `instance` was transferred.
1296
+ * An `item` was transferred.
1284
1297
  **/
1285
1298
  Transferred: AugmentedEvent<ApiType, [u32, u32, AccountId32, AccountId32]>;
1286
1299
  /**