git.delta.rocks / unique-network / refs/commits / 611e7535f9cc

difftreelog

chore regenerate types

Farhad Hakimov2022-07-15parent: #e4d5f14.patch.diff
in: master

8 files changed

modifiedtests/src/interfaces/augment-api-errors.tsdiffbeforeafterboth
56 * Address is not in allow list.56 * Address is not in allow list.
57 **/57 **/
58 AddressNotInAllowlist: AugmentedError<ApiType>;58 AddressNotInAllowlist: AugmentedError<ApiType>;
59 /**59 /**
60 * Requested value more than approved.60 * Requested value is more than the approved
61 **/61 **/
62 ApprovedValueTooLow: AugmentedError<ApiType>;62 ApprovedValueTooLow: AugmentedError<ApiType>;
63 /**63 /**
64 * Tried to approve more than owned64 * Tried to approve more than owned
112 * Empty property keys are forbidden112 * Empty property keys are forbidden
113 **/113 **/
114 EmptyPropertyKey: AugmentedError<ApiType>;114 EmptyPropertyKey: AugmentedError<ApiType>;
115 /**115 /**
116 * Only ASCII letters, digits, and '_', '-' are allowed116 * Only ASCII letters, digits, and symbols `_`, `-`, and `.` are allowed
117 **/117 **/
118 InvalidCharacterInPropertyKey: AugmentedError<ApiType>;118 InvalidCharacterInPropertyKey: AugmentedError<ApiType>;
119 /**119 /**
120 * Metadata flag frozen120 * Metadata flag frozen
132 * Tried to store more property data than allowed132 * Tried to store more property data than allowed
133 **/133 **/
134 NoSpaceForProperty: AugmentedError<ApiType>;134 NoSpaceForProperty: AugmentedError<ApiType>;
135 /**135 /**
136 * Not sufficient funds to perform action136 * Insufficient funds to perform an action
137 **/137 **/
138 NotSufficientFounds: AugmentedError<ApiType>;138 NotSufficientFounds: AugmentedError<ApiType>;
139 /**139 /**
140 * Tried to enable permissions which are only permitted to be disabled140 * Tried to enable permissions which are only permitted to be disabled
152 * Collection is not in mint mode.152 * Collection is not in mint mode.
153 **/153 **/
154 PublicMintingNotAllowed: AugmentedError<ApiType>;154 PublicMintingNotAllowed: AugmentedError<ApiType>;
155 /**155 /**
156 * Only tokens from specific collections may nest tokens under this156 * Only tokens from specific collections may nest tokens under this one
157 **/157 **/
158 SourceCollectionIsNotAllowedToNest: AugmentedError<ApiType>;158 SourceCollectionIsNotAllowedToNest: AugmentedError<ApiType>;
159 /**159 /**
160 * Item not exists.160 * Item does not exist
161 **/161 **/
162 TokenNotFound: AugmentedError<ApiType>;162 TokenNotFound: AugmentedError<ApiType>;
163 /**163 /**
164 * Item balance not enough.164 * Item is balance not enough
165 **/165 **/
166 TokenValueTooLow: AugmentedError<ApiType>;166 TokenValueTooLow: AugmentedError<ApiType>;
167 /**167 /**
168 * Total collections bound exceeded.168 * Total collections bound exceeded.
172 * Collection settings not allowing items transferring172 * Collection settings not allowing items transferring
173 **/173 **/
174 TransferNotAllowed: AugmentedError<ApiType>;174 TransferNotAllowed: AugmentedError<ApiType>;
175 /**175 /**
176 * Target collection doesn't supports this operation176 * Target collection doesn't support this operation
177 **/177 **/
178 UnsupportedOperation: AugmentedError<ApiType>;178 UnsupportedOperation: AugmentedError<ApiType>;
179 /**179 /**
180 * User not passed nesting rule180 * User does not satisfy the nesting rule
181 **/181 **/
182 UserIsNotAllowedToNest: AugmentedError<ApiType>;182 UserIsNotAllowedToNest: AugmentedError<ApiType>;
183 /**183 /**
184 * Generic error184 * Generic error
276 [key: string]: AugmentedError<ApiType>;276 [key: string]: AugmentedError<ApiType>;
277 };277 };
278 fungible: {278 fungible: {
279 /**279 /**
280 * Fungible token does not support nested280 * Fungible token does not support nesting.
281 **/281 **/
282 FungibleDisallowsNesting: AugmentedError<ApiType>;282 FungibleDisallowsNesting: AugmentedError<ApiType>;
283 /**283 /**
284 * Tried to set data for fungible item284 * Tried to set data for fungible item.
285 **/285 **/
286 FungibleItemsDontHaveData: AugmentedError<ApiType>;286 FungibleItemsDontHaveData: AugmentedError<ApiType>;
287 /**287 /**
288 * Not default id passed as TokenId argument288 * Not default id passed as TokenId argument.
289 **/289 **/
290 FungibleItemsHaveNoId: AugmentedError<ApiType>;290 FungibleItemsHaveNoId: AugmentedError<ApiType>;
291 /**291 /**
292 * Not Fungible item data used to mint in Fungible collection.292 * Not Fungible item data used to mint in Fungible collection.
293 **/293 **/
294 NotFungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;294 NotFungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;
295 /**295 /**
296 * Setting item properties is not allowed296 * Setting item properties is not allowed.
297 **/297 **/
298 SettingPropertiesNotAllowed: AugmentedError<ApiType>;298 SettingPropertiesNotAllowed: AugmentedError<ApiType>;
299 /**299 /**
300 * Generic error300 * Generic error
424 * Not Refungible item data used to mint in Refungible collection.424 * Not Refungible item data used to mint in Refungible collection.
425 **/425 **/
426 NotRefungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;426 NotRefungibleDataUsedToMintFungibleCollectionToken: AugmentedError<ApiType>;
427 /**427 /**
428 * Refungible token can't nest other tokens428 * Refungible token can't nest other tokens.
429 **/429 **/
430 RefungibleDisallowsNesting: AugmentedError<ApiType>;430 RefungibleDisallowsNesting: AugmentedError<ApiType>;
431 /**431 /**
432 * Refungible token can't be repartitioned by user who isn't owns all pieces432 * Refungible token can't be repartitioned by user who isn't owns all pieces.
433 **/433 **/
434 RepartitionWhileNotOwningAllPieces: AugmentedError<ApiType>;434 RepartitionWhileNotOwningAllPieces: AugmentedError<ApiType>;
435 /**435 /**
436 * Setting item properties is not allowed436 * Setting item properties is not allowed.
437 **/437 **/
438 SettingPropertiesNotAllowed: AugmentedError<ApiType>;438 SettingPropertiesNotAllowed: AugmentedError<ApiType>;
439 /**439 /**
440 * Maximum refungibility exceeded440 * Maximum refungibility exceeded.
441 **/441 **/
442 WrongRefungiblePieces: AugmentedError<ApiType>;442 WrongRefungiblePieces: AugmentedError<ApiType>;
443 /**443 /**
444 * Generic error444 * Generic error
507 [key: string]: AugmentedError<ApiType>;507 [key: string]: AugmentedError<ApiType>;
508 };508 };
509 structure: {509 structure: {
510 /**510 /**
511 * While iterating over children, encountered breadth limit511 * While iterating over children, reached the breadth limit.
512 **/512 **/
513 BreadthLimit: AugmentedError<ApiType>;513 BreadthLimit: AugmentedError<ApiType>;
514 /**514 /**
515 * While searched for owner, encountered depth limit515 * While searching for the owner, reached the depth limit.
516 **/516 **/
517 DepthLimit: AugmentedError<ApiType>;517 DepthLimit: AugmentedError<ApiType>;
518 /**518 /**
519 * While searched for owner, got already checked account519 * While searching for the owner, encountered an already checked account, detecting a loop.
520 **/520 **/
521 OuroborosDetected: AugmentedError<ApiType>;521 OuroborosDetected: AugmentedError<ApiType>;
522 /**522 /**
523 * While searched for owner, found token owner by not-yet-existing token523 * Couldn't find the token owner that is itself a token.
524 **/524 **/
525 TokenNotFound: AugmentedError<ApiType>;525 TokenNotFound: AugmentedError<ApiType>;
526 /**526 /**
527 * Generic error527 * Generic error
modifiedtests/src/interfaces/augment-api-events.tsdiffbeforeafterboth
58 [key: string]: AugmentedEvent<ApiType>;58 [key: string]: AugmentedEvent<ApiType>;
59 };59 };
60 common: {60 common: {
61 /**61 /**
62 * * collection_id62 * Sponsoring allowance was approved.
63 * 63 *
64 * * item_id64 * # Arguments
65 * 65 *
66 * * sender66 * * collection_id - todo:doc flesh out
67 * 67 * * item_id
68 * * spender68 * * sender
69 * 69 * * spender
70 * * amount70 * * amount
71 **/71 **/
72 Approved: AugmentedEvent<ApiType, [u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;72 Approved: AugmentedEvent<ApiType, [u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;
73 /**73 /**
74 * New collection was created74 * New collection was created
75 * 75 *
76 * # Arguments76 * # Arguments
77 * 77 *
78 * * collection_id: Globally unique identifier of newly created collection.78 * * collection_id - Globally unique identifier of newly created collection.
79 * 79 * * mode - [CollectionMode] converted into u8.
80 * * mode: [CollectionMode] converted into u8.80 * * account_id - Collection owner.
81 *
82 * * account_id: Collection owner.81 **/
83 **/
84 CollectionCreated: AugmentedEvent<ApiType, [u32, u8, AccountId32]>;82 CollectionCreated: AugmentedEvent<ApiType, [u32, u8, AccountId32]>;
85 /**83 /**
86 * New collection was destroyed84 * New collection was destroyed
87 * 85 *
88 * # Arguments86 * # Arguments
89 * 87 *
90 * * collection_id: Globally unique identifier of collection.88 * * collection_id - Globally unique identifier of collection that has been destroyed.
91 **/89 **/
92 CollectionDestroyed: AugmentedEvent<ApiType, [u32]>;90 CollectionDestroyed: AugmentedEvent<ApiType, [u32]>;
91 /**
92 * Collection property was deleted.
93 *
94 * # Arguments
95 *
96 * * collection_id - ID of the collection, whose property was just deleted.
97 * * property_key - Key of the property that was just deleted.
98 **/
93 CollectionPropertyDeleted: AugmentedEvent<ApiType, [u32, Bytes]>;99 CollectionPropertyDeleted: AugmentedEvent<ApiType, [u32, Bytes]>;
100 /**
101 * Collection property was added or edited.
102 *
103 * # Arguments
104 *
105 * * collection_id - ID of the collection, whose property was just set.
106 * * property_key - Key of the property that was just set.
107 **/
94 CollectionPropertySet: AugmentedEvent<ApiType, [u32, Bytes]>;108 CollectionPropertySet: AugmentedEvent<ApiType, [u32, Bytes]>;
95 /**109 /**
96 * New item was created.110 * New item was created.
97 * 111 *
98 * # Arguments112 * # Arguments
99 * 113 *
100 * * collection_id: Id of the collection where item was created.114 * * collection_id - ID of the collection where the item was created.
101 * 115 * * item_id - ID of the item. Unique within the collection.
102 * * item_id: Id of an item. Unique within the collection.116 * * recipient - Owner of the newly created item.
103 *
104 * * recipient: Owner of newly created item117 * * amount - The amount of tokens that were created (always 1 for NFT).
105 *
106 * * amount: Always 1 for NFT118 **/
107 **/
108 ItemCreated: AugmentedEvent<ApiType, [u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;119 ItemCreated: AugmentedEvent<ApiType, [u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;
109 /**120 /**
110 * Collection item was burned.121 * Collection item was burned.
111 * 122 *
112 * # Arguments123 * # Arguments
113 * 124 *
114 * * collection_id.125 * * collection_id - Identifier of the collection to which the burned NFT belonged.
115 * 126 * * item_id - Identifier of burned NFT.
116 * * item_id: Identifier of burned NFT.127 * * owner - Which user has destroyed their tokens.
117 *
118 * * owner: which user has destroyed its tokens128 * * amount - Amount of tokens that were destroyed (always 1 for NFT).
119 *
120 * * amount: Always 1 for NFT129 **/
121 **/
122 ItemDestroyed: AugmentedEvent<ApiType, [u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;130 ItemDestroyed: AugmentedEvent<ApiType, [u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;
131 /**
132 * Token property permission was added or updated for a collection.
133 *
134 * # Arguments
135 *
136 * * collection_id - ID of the collection, whose permissions were just set/updated.
137 * * property_key - Key of the property of the set/updated permission.
138 **/
123 PropertyPermissionSet: AugmentedEvent<ApiType, [u32, Bytes]>;139 PropertyPermissionSet: AugmentedEvent<ApiType, [u32, Bytes]>;
140 /**
141 * Item property was deleted.
142 *
143 * # Arguments
144 *
145 * * collection_id - ID of the collection, whose token's property was just deleted.
146 * * item_id - ID of the item, whose property was just deleted.
147 * * property_key - Key of the property that was just deleted.
148 **/
124 TokenPropertyDeleted: AugmentedEvent<ApiType, [u32, u32, Bytes]>;149 TokenPropertyDeleted: AugmentedEvent<ApiType, [u32, u32, Bytes]>;
150 /**
151 * Item property was added or edited.
152 *
153 * # Arguments
154 *
155 * * collection_id - ID of the collection, whose token's property was just set.
156 * * item_id - ID of the item, whose property was just set.
157 * * property_key - Key of the property that was just set.
158 **/
125 TokenPropertySet: AugmentedEvent<ApiType, [u32, u32, Bytes]>;159 TokenPropertySet: AugmentedEvent<ApiType, [u32, u32, Bytes]>;
126 /**160 /**
127 * Item was transferred161 * Item was transferred.
128 * 162 *
129 * * collection_id: Id of collection to which item is belong163 * # Arguments
130 * 164 *
131 * * item_id: Id of an item165 * * collection_id - ID of the collection to which the item belongs.
132 * 166 * * item_id - ID of the item transferred.
133 * * sender: Original owner of item167 * * sender - Original owner of the item.
134 * 168 * * recipient - New owner of the item.
135 * * recipient: New owner of item169 * * amount - Amount of tokens that were transferred (always 1 for NFT).
136 * 170 **/
137 * * amount: Always 1 for NFT
138 **/
139 Transfer: AugmentedEvent<ApiType, [u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;171 Transfer: AugmentedEvent<ApiType, [u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;
140 /**172 /**
141 * Generic event173 * Generic event
441 [key: string]: AugmentedEvent<ApiType>;473 [key: string]: AugmentedEvent<ApiType>;
442 };474 };
443 structure: {475 structure: {
444 /**476 /**
445 * Executed call on behalf of token477 * Executed call on behalf of the token.
446 **/478 **/
447 Executed: AugmentedEvent<ApiType, [Result<Null, SpRuntimeDispatchError>]>;479 Executed: AugmentedEvent<ApiType, [Result<Null, SpRuntimeDispatchError>]>;
448 /**480 /**
449 * Generic event481 * Generic event
533 [key: string]: AugmentedEvent<ApiType>;565 [key: string]: AugmentedEvent<ApiType>;
534 };566 };
535 unique: {567 unique: {
536 /**568 /**
537 * Address was add to allow list569 * Address was added to the allow list
538 * 570 *
539 * # Arguments571 * # Arguments
540 * 572 *
541 * * collection_id: Globally unique collection identifier.573 * * collection_id: Globally unique collection identifier.
542 * 574 *
543 * * user: Address.575 * * user: Address.
544 **/576 **/
545 AllowListAddressAdded: AugmentedEvent<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;577 AllowListAddressAdded: AugmentedEvent<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;
546 /**578 /**
547 * Address was remove from allow list579 * Address was removed from the allow list
548 * 580 *
549 * # Arguments581 * # Arguments
550 * 582 *
551 * * collection_id: Globally unique collection identifier.583 * * collection_id: Globally unique collection identifier.
552 * 584 *
553 * * user: Address.585 * * user: Address.
554 **/586 **/
555 AllowListAddressRemoved: AugmentedEvent<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;587 AllowListAddressRemoved: AugmentedEvent<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;
556 /**588 /**
557 * Collection admin was added589 * Collection admin was added
573 * * admin: Admin address.605 * * admin: Admin address.
574 **/606 **/
575 CollectionAdminRemoved: AugmentedEvent<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;607 CollectionAdminRemoved: AugmentedEvent<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;
576 /**608 /**
577 * Collection limits was set609 * Collection limits were set
578 * 610 *
579 * # Arguments611 * # Arguments
580 * 612 *
581 * * collection_id: Globally unique collection identifier.613 * * collection_id: Globally unique collection identifier.
582 **/614 **/
583 CollectionLimitSet: AugmentedEvent<ApiType, [u32]>;615 CollectionLimitSet: AugmentedEvent<ApiType, [u32]>;
584 /**616 /**
585 * Collection owned was change617 * Collection owned was changed
586 * 618 *
587 * # Arguments619 * # Arguments
588 * 620 *
589 * * collection_id: Globally unique collection identifier.621 * * collection_id: Globally unique collection identifier.
590 * 622 *
591 * * owner: New owner address.623 * * owner: New owner address.
592 **/624 **/
593 CollectionOwnedChanged: AugmentedEvent<ApiType, [u32, AccountId32]>;625 CollectionOwnedChanged: AugmentedEvent<ApiType, [u32, AccountId32]>;
626 /**
627 * Collection permissions were set
628 *
629 * # Arguments
630 *
631 * * collection_id: Globally unique collection identifier.
632 **/
594 CollectionPermissionSet: AugmentedEvent<ApiType, [u32]>;633 CollectionPermissionSet: AugmentedEvent<ApiType, [u32]>;
595 /**634 /**
596 * Collection sponsor was removed635 * Collection sponsor was removed
modifiedtests/src/interfaces/augment-api-query.tsdiffbeforeafterboth
69 [key: string]: QueryableStorageEntry<ApiType>;69 [key: string]: QueryableStorageEntry<ApiType>;
70 };70 };
71 common: {71 common: {
72 /**
73 * Amount of collection admins
74 **/
72 adminAmount: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;75 adminAmount: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
73 /**76 /**
74 * Allowlisted collection users77 * Allowlisted collection users
82 * Collection properties85 * Collection properties
83 **/86 **/
84 collectionProperties: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<UpDataStructsProperties>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;87 collectionProperties: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<UpDataStructsProperties>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
88 /**
89 * Token permissions of a collection
90 **/
85 collectionPropertyPermissions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<BTreeMap<Bytes, UpDataStructsPropertyPermission>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;91 collectionPropertyPermissions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<BTreeMap<Bytes, UpDataStructsPropertyPermission>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
92 /**
93 * The number of created collections. Essentially contains the last collection ID.
94 **/
86 createdCollectionCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;95 createdCollectionCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
96 /**
97 * The number of destroyed collections
98 **/
87 destroyedCollectionCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;99 destroyedCollectionCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
88 /**100 /**
89 * Not used by code, exists only to provide some types to metadata101 * Not used by code, exists only to provide some types to metadata
187 [key: string]: QueryableStorageEntry<ApiType>;199 [key: string]: QueryableStorageEntry<ApiType>;
188 };200 };
189 fungible: {201 fungible: {
202 /**
203 * todo:doc
204 **/
190 allowance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, arg3: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u128>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr]>;205 allowance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, arg3: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u128>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr]>;
206 /**
207 * Amount of tokens owned by an account inside a collection.
208 **/
191 balance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u128>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;209 balance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u128>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;
210 /**
211 * Total amount of fungible tokens inside a collection.
212 **/
192 totalSupply: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;213 totalSupply: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
193 /**214 /**
194 * Generic query215 * Generic query
222 [key: string]: QueryableStorageEntry<ApiType>;243 [key: string]: QueryableStorageEntry<ApiType>;
223 };244 };
224 nonfungible: {245 nonfungible: {
246 /**
247 * Amount of tokens owned in a collection.
248 **/
225 accountBalance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u32>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;249 accountBalance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u32>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;
250 /**
251 * todo:doc
252 **/
226 allowance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletEvmAccountBasicCrossAccountIdRepr>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;253 allowance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletEvmAccountBasicCrossAccountIdRepr>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
227 /**254 /**
228 * Used to enumerate tokens owned by account255 * Used to enumerate tokens owned by account.
229 **/256 **/
230 owned: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, arg3: u32 | AnyNumber | Uint8Array) => Observable<bool>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, u32]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr, u32]>;257 owned: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, arg3: u32 | AnyNumber | Uint8Array) => Observable<bool>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, u32]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr, u32]>;
258 /**
259 * Scoped, auxiliary properties of a token, primarily used for on-chain operations.
260 **/
231 tokenAuxProperties: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: UpDataStructsPropertyScope | 'None' | 'Rmrk' | number | Uint8Array, arg4: Bytes | string | Uint8Array) => Observable<Option<Bytes>>, [u32, u32, UpDataStructsPropertyScope, Bytes]> & QueryableStorageEntry<ApiType, [u32, u32, UpDataStructsPropertyScope, Bytes]>;261 tokenAuxProperties: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: UpDataStructsPropertyScope | 'None' | 'Rmrk' | number | Uint8Array, arg4: Bytes | string | Uint8Array) => Observable<Option<Bytes>>, [u32, u32, UpDataStructsPropertyScope, Bytes]> & QueryableStorageEntry<ApiType, [u32, u32, UpDataStructsPropertyScope, Bytes]>;
232 /**262 /**
233 * Used to enumerate token's children263 * Used to enumerate token's children.
234 **/264 **/
235 tokenChildren: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable<bool>, [u32, u32, ITuple<[u32, u32]>]> & QueryableStorageEntry<ApiType, [u32, u32, ITuple<[u32, u32]>]>;265 tokenChildren: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable<bool>, [u32, u32, ITuple<[u32, u32]>]> & QueryableStorageEntry<ApiType, [u32, u32, ITuple<[u32, u32]>]>;
266 /**
267 * Token data, used to partially describe a token.
268 **/
236 tokenData: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNonfungibleItemData>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;269 tokenData: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNonfungibleItemData>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
270 /**
271 * Key-value pairs, describing the metadata of a token.
272 **/
237 tokenProperties: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<UpDataStructsProperties>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;273 tokenProperties: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<UpDataStructsProperties>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
274 /**
275 * Amount of burnt tokens in a collection.
276 **/
238 tokensBurnt: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;277 tokensBurnt: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
278 /**
279 * Total amount of minted tokens in a collection.
280 **/
239 tokensMinted: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;281 tokensMinted: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
240 /**282 /**
241 * Generic query283 * Generic query
400 [key: string]: QueryableStorageEntry<ApiType>;442 [key: string]: QueryableStorageEntry<ApiType>;
401 };443 };
402 refungible: {444 refungible: {
445 /**
446 * Amount of tokens (not pieces) partially owned by an account within a collection.
447 **/
403 accountBalance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u32>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;448 accountBalance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u32>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;
449 /**
450 * todo:doc
451 **/
404 allowance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, arg4: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u128>, [u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr]>;452 allowance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, arg4: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u128>, [u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr]>;
453 /**
454 * Amount of pieces of a token owned by an account.
455 **/
405 balance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u128>, [u32, u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, u32, PalletEvmAccountBasicCrossAccountIdRepr]>;456 balance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u128>, [u32, u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, u32, PalletEvmAccountBasicCrossAccountIdRepr]>;
406 /**457 /**
407 * Used to enumerate tokens owned by account458 * Used to enumerate tokens owned by account.
408 **/459 **/
409 owned: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, arg3: u32 | AnyNumber | Uint8Array) => Observable<bool>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, u32]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr, u32]>;460 owned: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, arg3: u32 | AnyNumber | Uint8Array) => Observable<bool>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, u32]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr, u32]>;
461 /**
462 * Token data, used to partially describe a token.
463 **/
410 tokenData: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<PalletRefungibleItemData>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;464 tokenData: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<PalletRefungibleItemData>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
465 /**
466 * Amount of tokens burnt in a collection.
467 **/
411 tokensBurnt: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;468 tokensBurnt: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
469 /**
470 * Total amount of minted tokens in a collection.
471 **/
412 tokensMinted: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;472 tokensMinted: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
473 /**
474 * Amount of pieces a refungible token is split into.
475 **/
413 totalSupply: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;476 totalSupply: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
414 /**477 /**
415 * Generic query478 * Generic query
598 * TODO: Off chain worker should remove from this map when collection gets removed661 * TODO: Off chain worker should remove from this map when collection gets removed
599 **/662 **/
600 createItemBasket: AugmentedQuery<ApiType, (arg: ITuple<[u32, AccountId32]> | [u32 | AnyNumber | Uint8Array, AccountId32 | string | Uint8Array]) => Observable<Option<u32>>, [ITuple<[u32, AccountId32]>]> & QueryableStorageEntry<ApiType, [ITuple<[u32, AccountId32]>]>;663 createItemBasket: AugmentedQuery<ApiType, (arg: ITuple<[u32, AccountId32]> | [u32 | AnyNumber | Uint8Array, AccountId32 | string | Uint8Array]) => Observable<Option<u32>>, [ITuple<[u32, AccountId32]>]> & QueryableStorageEntry<ApiType, [ITuple<[u32, AccountId32]>]>;
664 /**
665 * Last sponsoring of fungible tokens approval in a collection
666 **/
601 fungibleApproveBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;667 fungibleApproveBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
602 /**668 /**
603 * Collection id (controlled?2), owning user (real)669 * Collection id (controlled?2), owning user (real)
604 **/670 **/
605 fungibleTransferBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;671 fungibleTransferBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
606 /**672 /**
607 * Approval sponsoring673 * Last sponsoring of NFT approval in a collection
608 **/674 **/
609 nftApproveBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;675 nftApproveBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
610 /**676 /**
611 * Collection id (controlled?2), token id (controlled?2)677 * Collection id (controlled?2), token id (controlled?2)
612 **/678 **/
613 nftTransferBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;679 nftTransferBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
680 /**
681 * Last sponsoring of RFT approval in a collection
682 **/
614 refungibleApproveBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [u32, u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, u32, AccountId32]>;683 refungibleApproveBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [u32, u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, u32, AccountId32]>;
615 /**684 /**
616 * Collection id (controlled?2), token id (controlled?2)685 * Collection id (controlled?2), token id (controlled?2)
617 **/686 **/
618 reFungibleTransferBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [u32, u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, u32, AccountId32]>;687 reFungibleTransferBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [u32, u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, u32, AccountId32]>;
688 /**
689 * Last sponsoring of token property setting // todo:doc rephrase this and the following
690 **/
619 tokenPropertyBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;691 tokenPropertyBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
620 /**692 /**
621 * Variable metadata sponsoring693 * Variable metadata sponsoring
modifiedtests/src/interfaces/augment-api-rpc.tsdiffbeforeafterboth
628 version: AugmentedRpc<() => Observable<Text>>;628 version: AugmentedRpc<() => Observable<Text>>;
629 };629 };
630 unique: {630 unique: {
631 /**631 /**
632 * Get amount of different user tokens632 * Get the amount of any user tokens owned by an account
633 **/633 **/
634 accountBalance: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, account: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, at?: Hash | string | Uint8Array) => Observable<u32>>;634 accountBalance: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, account: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, at?: Hash | string | Uint8Array) => Observable<u32>>;
635 /**635 /**
636 * Get tokens owned by account636 * Get tokens owned by an account in a collection
637 **/637 **/
638 accountTokens: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, account: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<u32>>>;638 accountTokens: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, account: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<u32>>>;
639 /**639 /**
640 * Get admin list640 * Get the list of admin accounts of a collection
641 **/641 **/
642 adminlist: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<PalletEvmAccountBasicCrossAccountIdRepr>>>;642 adminlist: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<PalletEvmAccountBasicCrossAccountIdRepr>>>;
643 /**643 /**
644 * Get allowed amount644 * Get the amount of currently possible sponsored transactions on a token for the fee to be taken off a sponsor
645 **/645 **/
646 allowance: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, sender: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, spender: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<u128>>;646 allowance: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, sender: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, spender: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<u128>>;
647 /**647 /**
648 * Check if user is allowed to use collection648 * Check if a user is allowed to operate within a collection
649 **/649 **/
650 allowed: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, account: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, at?: Hash | string | Uint8Array) => Observable<bool>>;650 allowed: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, account: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, at?: Hash | string | Uint8Array) => Observable<bool>>;
651 /**651 /**
652 * Get allowlist652 * Get the list of accounts allowed to operate within a collection
653 **/653 **/
654 allowlist: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<PalletEvmAccountBasicCrossAccountIdRepr>>>;654 allowlist: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<PalletEvmAccountBasicCrossAccountIdRepr>>>;
655 /**655 /**
656 * Get amount of specific account token656 * Get the amount of a specific token owned by an account
657 **/657 **/
658 balance: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, account: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<u128>>;658 balance: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, account: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<u128>>;
659 /**659 /**
660 * Get collection by specified id660 * Get a collection by the specified ID
661 **/661 **/
662 collectionById: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<UpDataStructsRpcCollection>>>;662 collectionById: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<UpDataStructsRpcCollection>>>;
663 /**663 /**
664 * Get collection properties664 * Get collection properties, optionally limited to the provided keys
665 **/665 **/
666 collectionProperties: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, propertyKeys?: Vec<Text> | (Text | string)[], at?: Hash | string | Uint8Array) => Observable<Vec<UpDataStructsProperty>>>;666 collectionProperties: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, propertyKeys?: Vec<Text> | (Text | string)[], at?: Hash | string | Uint8Array) => Observable<Vec<UpDataStructsProperty>>>;
667 /**667 /**
668 * Get collection stats668 * Get chain stats about collections
669 **/669 **/
670 collectionStats: AugmentedRpc<(at?: Hash | string | Uint8Array) => Observable<UpDataStructsCollectionStats>>;670 collectionStats: AugmentedRpc<(at?: Hash | string | Uint8Array) => Observable<UpDataStructsCollectionStats>>;
671 /**671 /**
672 * Get tokens contained in collection672 * Get tokens contained within a collection
673 **/673 **/
674 collectionTokens: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<u32>>>;674 collectionTokens: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<u32>>>;
675 /**
676 * Get token constant metadata
677 **/
678 constMetadata: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Bytes>>;
679 /**675 /**
680 * Get effective collection limits676 * Get effective collection limits
681 **/677 **/
682 effectiveCollectionLimits: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<UpDataStructsCollectionLimits>>>;678 effectiveCollectionLimits: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<UpDataStructsCollectionLimits>>>;
683 /**679 /**
684 * Get last token id680 * Get the last token ID created in a collection
685 **/681 **/
686 lastTokenId: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<u32>>;682 lastTokenId: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<u32>>;
687 /**683 /**
688 * Get number of blocks when sponsored transaction is available684 * Get the number of blocks until sponsoring a transaction is available
689 **/685 **/
690 nextSponsored: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, account: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<u64>>>;686 nextSponsored: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, account: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<u64>>>;
691 /**687 /**
692 * Get property permissions688 * Get property permissions, optionally limited to the provided keys
693 **/689 **/
694 propertyPermissions: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, propertyKeys?: Vec<Text> | (Text | string)[], at?: Hash | string | Uint8Array) => Observable<Vec<UpDataStructsPropertyKeyPermission>>>;690 propertyPermissions: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, propertyKeys?: Vec<Text> | (Text | string)[], at?: Hash | string | Uint8Array) => Observable<Vec<UpDataStructsPropertyKeyPermission>>>;
695 /**691 /**
696 * Get tokens nested directly into the token692 * Get tokens nested directly into the token
697 **/693 **/
698 tokenChildren: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<UpDataStructsTokenChild>>>;694 tokenChildren: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<UpDataStructsTokenChild>>>;
699 /**695 /**
700 * Get token data696 * Get token data, including properties, optionally limited to the provided keys, and total pieces for an RFT
701 **/697 **/
702 tokenData: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, propertyKeys?: Vec<Text> | (Text | string)[], at?: Hash | string | Uint8Array) => Observable<UpDataStructsTokenData>>;698 tokenData: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, propertyKeys?: Vec<Text> | (Text | string)[], at?: Hash | string | Uint8Array) => Observable<UpDataStructsTokenData>>;
703 /**699 /**
704 * Check if token exists700 * Check if the token exists
705 **/701 **/
706 tokenExists: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<bool>>;702 tokenExists: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<bool>>;
707 /**703 /**
708 * Get token owner704 * Get the token owner
709 **/705 **/
710 tokenOwner: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<PalletEvmAccountBasicCrossAccountIdRepr>>>;706 tokenOwner: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<PalletEvmAccountBasicCrossAccountIdRepr>>>;
711 /**707 /**
712 * Get token properties708 * Get token properties, optionally limited to the provided keys
713 **/709 **/
714 tokenProperties: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, propertyKeys?: Vec<Text> | (Text | string)[], at?: Hash | string | Uint8Array) => Observable<Vec<UpDataStructsProperty>>>;710 tokenProperties: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, propertyKeys?: Vec<Text> | (Text | string)[], at?: Hash | string | Uint8Array) => Observable<Vec<UpDataStructsProperty>>>;
715 /**711 /**
716 * Get token owner, in case of nested token - find parent recursive712 * Get the topmost token owner in the hierarchy of a possibly nested token
717 **/713 **/
718 topmostTokenOwner: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<PalletEvmAccountBasicCrossAccountIdRepr>>>;714 topmostTokenOwner: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<PalletEvmAccountBasicCrossAccountIdRepr>>>;
719 /**715 /**
720 * Get total pieces of token716 * Get the total amount of pieces of an RFT
721 **/717 **/
722 totalPieces: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<u128>>>;718 totalPieces: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<u128>>>;
723 /**719 /**
724 * Get amount of unique collection tokens720 * Get the amount of distinctive tokens present in a collection
725 **/721 **/
726 totalSupply: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<u32>>;722 totalSupply: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<u32>>;
727 /**
728 * Get token variable metadata
729 **/
730 variableMetadata: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Bytes>>;
731 };723 };
732 web3: {724 web3: {
733 /**725 /**
modifiedtests/src/interfaces/augment-api-tx.tsdiffbeforeafterboth
729 [key: string]: SubmittableExtrinsicFunction<ApiType>;729 [key: string]: SubmittableExtrinsicFunction<ApiType>;
730 };730 };
731 unique: {731 unique: {
732 /**732 /**
733 * Adds an admin of the Collection.733 * Adds an admin of the collection.
734 * NFT Collection can be controlled by multiple admin addresses (some which can also be servers, for example). Admins can issue and burn NFTs, as well as add and remove other admins, but cannot change NFT or Collection ownership.734 * NFT Collection can be controlled by multiple admin addresses (some which can also be servers, for example). Admins can issue and burn NFTs, as well as add and remove other admins, but cannot change NFT or Collection ownership.
735 * 735 *
736 * # Permissions736 * # Permissions
737 * 737 *
738 * * Collection Owner.738 * * Collection Owner
739 * * Collection Admin.739 * * Collection Admin
740 * 740 *
741 * # Arguments741 * # Arguments
742 * 742 *
743 * * collection_id: ID of the Collection to add admin for.743 * * collection_id - ID of the Collection to add admin for.
744 * 744 * * new_admin - Address of new admin to add.
745 * * new_admin_id: Address of new admin to add.745 **/
746 **/
747 addCollectionAdmin: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newAdminId: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;746 addCollectionAdmin: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newAdmin: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;
748 /**747 /**
749 * Add an address to allow list.748 * Add an address to allow list.
750 * 749 *
751 * # Permissions750 * # Permissions
752 * 751 *
753 * * Collection Owner752 * * Collection Owner
754 * * Collection Admin753 * * Collection Admin
755 * 754 *
756 * # Arguments755 * # Arguments
757 * 756 *
758 * * collection_id.757 * * collection_id.
759 * 758 * * address.
760 * * address.759 **/
761 **/
762 addToAllowList: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, address: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;760 addToAllowList: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, address: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;
763 /**761 /**
764 * Set, change, or remove approved address to transfer the ownership of the NFT.762 * Set, change, or remove approved address to transfer the ownership of the NFT.
765 * 763 *
766 * # Permissions764 * # Permissions
767 * 765 *
768 * * Collection Owner766 * * Collection Owner
769 * * Collection Admin767 * * Collection Admin
770 * * Current NFT owner768 * * Current NFT owner
771 * 769 *
772 * # Arguments770 * # Arguments
773 * 771 *
774 * * approved: Address that is approved to transfer this NFT or zero (if needed to remove approval).772 * * approved - Address that is approved to transfer this NFT or zero (if needed to remove approval).
775 * 773 * * collection_id.
776 * * collection_id.774 * * item_id - ID of the item.
777 *
778 * * item_id: ID of the item.775 **/
779 **/
780 approve: AugmentedSubmittable<(spender: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletEvmAccountBasicCrossAccountIdRepr, u32, u32, u128]>;776 approve: AugmentedSubmittable<(spender: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletEvmAccountBasicCrossAccountIdRepr, u32, u32, u128]>;
781 /**777 /**
782 * Destroys a concrete instance of NFT on behalf of the owner778 * Destroy a concrete instance of NFT on behalf of the owner.
783 * See also: [`approve`]779 * See also: [`approve`]
784 * 780 *
785 * # Permissions781 * # Permissions
786 * 782 *
787 * * Collection Owner.783 * * Collection Owner.
788 * * Collection Admin.784 * * Collection Admin.
789 * * Current NFT Owner.785 * * Current NFT Owner.
790 * 786 *
791 * # Arguments787 * # Arguments
792 * 788 *
793 * * collection_id: ID of the collection.789 * * collection_id - ID of the collection.
794 * 790 * * item_id - ID of NFT to burn.
795 * * item_id: ID of NFT to burn.791 * * from - The owner of the item from whom it is taken away.
796 *
797 * * from: owner of item792 **/
798 **/
799 burnFrom: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, from: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, u32, u128]>;793 burnFrom: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, from: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, u32, u128]>;
800 /**794 /**
801 * Destroys a concrete instance of NFT.795 * Destroy a concrete instance of NFT.
802 * 796 *
803 * # Permissions797 * # Permissions
804 * 798 *
805 * * Collection Owner.799 * * Collection Owner
806 * * Collection Admin.800 * * Collection Admin
807 * * Current NFT Owner.801 * * Current NFT Owner
808 * 802 *
809 * # Arguments803 * # Arguments
810 * 804 *
811 * * collection_id: ID of the collection.805 * * collection_id - ID of the collection.
812 * 806 * * item_id - ID of NFT to burn.
813 * * item_id: ID of NFT to burn.807 **/
814 **/
815 burnItem: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u128]>;808 burnItem: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u128]>;
816 /**809 /**
817 * Change the owner of the collection.810 * Change the owner of the collection.
818 * 811 *
819 * # Permissions812 * # Permissions
820 * 813 *
821 * * Collection Owner.814 * * Collection Owner
822 * 815 *
823 * # Arguments816 * # Arguments
824 * 817 *
825 * * collection_id.818 * * collection_id.
826 * 819 * * new_owner.
827 * * new_owner.820 **/
828 **/
829 changeCollectionOwner: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newOwner: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, AccountId32]>;821 changeCollectionOwner: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newOwner: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, AccountId32]>;
830 /**822 /**
831 * # Permissions823 * Confirm own sponsorship of a collection.
824 *
825 * # Permissions
832 * 826 *
833 * * Sponsor.827 * * Sponsor-to-be
834 * 828 *
835 * # Arguments829 * # Arguments
836 * 830 *
837 * * collection_id.831 * * collection_id.
838 **/832 **/
839 confirmSponsorship: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;833 confirmSponsorship: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
840 /**834 /**
841 * This method creates a Collection of NFTs. Each Token may have multiple properties encoded as an array of bytes of certain length. The initial owner of the collection is set to the address that signed the transaction and can be changed later.835 * This method creates a Collection of NFTs. Each Token may have multiple properties encoded as an array of bytes of certain length. The initial owner of the collection is set to the address that signed the transaction and can be changed later.
842 * 836 *
843 * # Permissions837 * # Permissions
844 * 838 *
845 * * Anyone.839 * * Anyone.
846 * 840 *
847 * # Arguments841 * # Arguments
848 * 842 *
849 * * collection_name: UTF-16 string with collection name (limit 64 characters), will be stored as zero-terminated.843 * * collection_name: UTF-16 string with collection name (limit 64 characters), will be stored as zero-terminated.
850 * 844 * * collection_description - UTF-16 string with collection description (limit 256 characters), will be stored as zero-terminated.
851 * * collection_description: UTF-16 string with collection description (limit 256 characters), will be stored as zero-terminated.845 * * token_prefix - UTF-8 string with token prefix.
852 *
853 * * token_prefix: UTF-8 string with token prefix.846 * * mode - [CollectionMode] collection type and type dependent data.
854 *
855 * * mode: [CollectionMode] collection type and type dependent data.847 **/
856 **/
857 createCollection: AugmentedSubmittable<(collectionName: Vec<u16> | (u16 | AnyNumber | Uint8Array)[], collectionDescription: Vec<u16> | (u16 | AnyNumber | Uint8Array)[], tokenPrefix: Bytes | string | Uint8Array, mode: UpDataStructsCollectionMode | { NFT: any } | { Fungible: any } | { ReFungible: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<u16>, Vec<u16>, Bytes, UpDataStructsCollectionMode]>;848 createCollection: AugmentedSubmittable<(collectionName: Vec<u16> | (u16 | AnyNumber | Uint8Array)[], collectionDescription: Vec<u16> | (u16 | AnyNumber | Uint8Array)[], tokenPrefix: Bytes | string | Uint8Array, mode: UpDataStructsCollectionMode | { NFT: any } | { Fungible: any } | { ReFungible: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<u16>, Vec<u16>, Bytes, UpDataStructsCollectionMode]>;
858 /**849 /**
859 * This method creates a collection850 * Create a collection with explicit parameters.
860 * 851 * Prefer it to the deprecated [`created_collection`] method.
861 * Prefer it to deprecated [`created_collection`] method852 *
862 **/853 * # Permissions
854 *
855 * * Anyone.
856 *
857 * # Arguments
858 *
859 * * data: explicit create-collection data.
860 **/
863 createCollectionEx: AugmentedSubmittable<(data: UpDataStructsCreateCollectionData | { mode?: any; access?: any; name?: any; description?: any; tokenPrefix?: any; pendingSponsor?: any; limits?: any; permissions?: any; tokenPropertyPermissions?: any; properties?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [UpDataStructsCreateCollectionData]>;861 createCollectionEx: AugmentedSubmittable<(data: UpDataStructsCreateCollectionData | { mode?: any; access?: any; name?: any; description?: any; tokenPrefix?: any; pendingSponsor?: any; limits?: any; permissions?: any; tokenPropertyPermissions?: any; properties?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [UpDataStructsCreateCollectionData]>;
864 /**862 /**
865 * This method creates a concrete instance of NFT Collection created with CreateCollection method.863 * Create a concrete instance of NFT Collection created with CreateCollection method.
866 * 864 *
867 * # Permissions865 * # Permissions
868 * 866 *
869 * * Collection Owner.867 * * Collection Owner
870 * * Collection Admin.868 * * Collection Admin
871 * * Anyone if869 * * Anyone if
872 * * Allow List is enabled, and870 * * Allow List is enabled, and
873 * * Address is added to allow list, and871 * * Address is added to allow list, and
874 * * MintPermission is enabled (see SetMintPermission method)872 * * MintPermission is enabled (see SetMintPermission method)
875 * 873 *
876 * # Arguments874 * # Arguments
877 * 875 *
878 * * collection_id: ID of the collection.876 * * collection_id - ID of the collection.
879 * 877 * * owner - Address, initial owner of the NFT.
880 * * owner: Address, initial owner of the NFT.878 * * data - Token data to store on chain.
881 *
882 * * data: Token data to store on chain.879 **/
883 **/
884 createItem: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, owner: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, data: UpDataStructsCreateItemData | { NFT: any } | { Fungible: any } | { ReFungible: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, UpDataStructsCreateItemData]>;880 createItem: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, owner: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, data: UpDataStructsCreateItemData | { NFT: any } | { Fungible: any } | { ReFungible: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, UpDataStructsCreateItemData]>;
885 /**881 /**
886 * This method creates multiple items in a collection created with CreateCollection method.882 * Create multiple items in a collection created with CreateCollection method.
887 * 883 *
888 * # Permissions884 * # Permissions
889 * 885 *
890 * * Collection Owner.886 * * Collection Owner
891 * * Collection Admin.887 * * Collection Admin
892 * * Anyone if888 * * Anyone if
893 * * Allow List is enabled, and889 * * Allow List is enabled, and
894 * * Address is added to allow list, and890 * * Address is added to allow list, and
895 * * MintPermission is enabled (see SetMintPermission method)891 * * MintPermission is enabled (see SetMintPermission method)
896 * 892 *
897 * # Arguments893 * # Arguments
898 * 894 *
899 * * collection_id: ID of the collection.895 * * collection_id - ID of the collection.
900 * 896 * * owner - Address, initial owner of the NFT.
901 * * itemsData: Array items properties. Each property is an array of bytes itself, see [create_item].897 * * items_data - Array items properties. Each property is an array of bytes itself, see [`create_item`].
902 *
903 * * owner: Address, initial owner of the NFT.898 **/
904 **/
905 createMultipleItems: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, owner: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, itemsData: Vec<UpDataStructsCreateItemData> | (UpDataStructsCreateItemData | { NFT: any } | { Fungible: any } | { ReFungible: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, Vec<UpDataStructsCreateItemData>]>;899 createMultipleItems: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, owner: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, itemsData: Vec<UpDataStructsCreateItemData> | (UpDataStructsCreateItemData | { NFT: any } | { Fungible: any } | { ReFungible: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, Vec<UpDataStructsCreateItemData>]>;
900 /**
901 * Create multiple items inside a collection with explicitly specified initial parameters.
902 *
903 * # Permissions
904 *
905 * * Collection Owner
906 * * Collection Admin
907 * * Anyone if
908 * * Allow List is enabled, and
909 * * Address is added to allow list, and
910 * * MintPermission is enabled (see SetMintPermission method)
911 *
912 * # Arguments
913 *
914 * * collection_id - ID of the collection.
915 * * data - Explicit item creation data.
916 **/
906 createMultipleItemsEx: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, data: UpDataStructsCreateItemExData | { NFT: any } | { Fungible: any } | { RefungibleMultipleItems: any } | { RefungibleMultipleOwners: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsCreateItemExData]>;917 createMultipleItemsEx: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, data: UpDataStructsCreateItemExData | { NFT: any } | { Fungible: any } | { RefungibleMultipleItems: any } | { RefungibleMultipleOwners: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsCreateItemExData]>;
918 /**
919 * Delete specified collection properties.
920 *
921 * # Permissions
922 *
923 * * Collection Owner
924 * * Collection Admin
925 *
926 * # Arguments
927 *
928 * * collection_id.
929 * * property_keys - Vector of keys of the properties to be deleted.
930 **/
907 deleteCollectionProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, propertyKeys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<Bytes>]>;931 deleteCollectionProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, propertyKeys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<Bytes>]>;
932 /**
933 * Delete specified token properties.
934 *
935 * # Permissions
936 *
937 * * Depends on collection's token property permissions and specified property mutability:
938 * * Collection Owner
939 * * Collection Admin
940 * * Token Owner
941 *
942 * # Arguments
943 *
944 * * collection_id.
945 * * token_id.
946 * * property_keys - Vector of keys of the properties to be deleted.
947 **/
908 deleteTokenProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, propertyKeys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, u32, Vec<Bytes>]>;948 deleteTokenProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, propertyKeys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, u32, Vec<Bytes>]>;
909 /**949 /**
910 * Destroys collection if no tokens within this collection950 * Destroy the collection if no tokens exist within.
911 * 951 *
912 * # Permissions952 * # Permissions
913 * 953 *
914 * * Collection Owner.954 * * Collection Owner
915 * 955 *
916 * # Arguments956 * # Arguments
917 * 957 *
918 * * collection_id: collection to destroy.958 * * collection_id - collection to destroy.
919 **/959 **/
920 destroyCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;960 destroyCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
921 /**961 /**
922 * Remove admin address of the Collection. An admin address can remove itself. List of admins may become empty, in which case only Collection Owner will be able to add an Admin.962 * Remove admin address of the Collection. An admin address can remove itself. List of admins may become empty, in which case only Collection Owner will be able to add an Admin.
923 * 963 *
924 * # Permissions964 * # Permissions
925 * 965 *
926 * * Collection Owner.966 * * Collection Owner
927 * * Collection Admin.967 * * Collection Admin
928 * 968 *
929 * # Arguments969 * # Arguments
930 * 970 *
931 * * collection_id: ID of the Collection to remove admin for.971 * * collection_id - ID of the Collection to remove admin for.
932 * 972 * * account_id - Address of admin to remove.
933 * * account_id: Address of admin to remove.973 **/
934 **/
935 removeCollectionAdmin: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, accountId: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;974 removeCollectionAdmin: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, accountId: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;
936 /**975 /**
937 * Switch back to pay-per-own-transaction model.976 * Switch back to pay-per-own-transaction model.
938 * 977 *
939 * # Permissions978 * # Permissions
940 * 979 *
941 * * Collection owner.980 * * Collection Owner
942 * 981 *
943 * # Arguments982 * # Arguments
944 * 983 *
945 * * collection_id.984 * * collection_id.
946 **/985 **/
947 removeCollectionSponsor: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;986 removeCollectionSponsor: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
948 /**987 /**
949 * Remove an address from allow list.988 * Remove an address from allow list.
950 * 989 *
951 * # Permissions990 * # Permissions
952 * 991 *
953 * * Collection Owner992 * * Collection Owner
954 * * Collection Admin993 * * Collection Admin
955 * 994 *
956 * # Arguments995 * # Arguments
957 * 996 *
958 * * collection_id.997 * * collection_id.
959 * 998 * * address.
960 * * address.999 **/
961 **/
962 removeFromAllowList: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, address: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1000 removeFromAllowList: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, address: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;
1001 /**
1002 * Re-partition a refungible token, while owning all of its parts.
1003 *
1004 * # Permissions
1005 *
1006 * * Token Owner (must own every part)
1007 *
1008 * # Arguments
1009 *
1010 * * collection_id.
1011 * * token_id - ID of the RFT.
1012 * * amount - New number of parts into which the token shall be partitioned.
1013 **/
963 repartition: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, token: u32 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u128]>;1014 repartition: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u128]>;
1015 /**
1016 * Set specific limits of a collection. Empty, or None fields mean chain default.
1017 *
1018 * # Permissions
1019 *
1020 * * Collection Owner
1021 * * Collection Admin
1022 *
1023 * # Arguments
1024 *
1025 * * collection_id.
1026 * * new_limit - New limits of the collection. They will overwrite the current ones.
1027 **/
964 setCollectionLimits: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newLimit: UpDataStructsCollectionLimits | { accountTokenOwnershipLimit?: any; sponsoredDataSize?: any; sponsoredDataRateLimit?: any; tokenLimit?: any; sponsorTransferTimeout?: any; sponsorApproveTimeout?: any; ownerCanTransfer?: any; ownerCanDestroy?: any; transfersEnabled?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsCollectionLimits]>;1028 setCollectionLimits: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newLimit: UpDataStructsCollectionLimits | { accountTokenOwnershipLimit?: any; sponsoredDataSize?: any; sponsoredDataRateLimit?: any; tokenLimit?: any; sponsorTransferTimeout?: any; sponsorApproveTimeout?: any; ownerCanTransfer?: any; ownerCanDestroy?: any; transfersEnabled?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsCollectionLimits]>;
1029 /**
1030 * Set specific permissions of a collection. Empty, or None fields mean chain default.
1031 *
1032 * # Permissions
1033 *
1034 * * Collection Owner
1035 * * Collection Admin
1036 *
1037 * # Arguments
1038 *
1039 * * collection_id.
1040 * * new_permission - New permissions of the collection. They will overwrite the current ones.
1041 **/
965 setCollectionPermissions: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newLimit: UpDataStructsCollectionPermissions | { access?: any; mintMode?: any; nesting?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsCollectionPermissions]>;1042 setCollectionPermissions: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newPermission: UpDataStructsCollectionPermissions | { access?: any; mintMode?: any; nesting?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsCollectionPermissions]>;
1043 /**
1044 * Add or change collection properties.
1045 *
1046 * # Permissions
1047 *
1048 * * Collection Owner
1049 * * Collection Admin
1050 *
1051 * # Arguments
1052 *
1053 * * collection_id.
1054 * * properties - Vector of key-value pairs stored as the collection's metadata. Keys support Latin letters, `-`, `_`, and `.` as symbols.
1055 **/
966 setCollectionProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, properties: Vec<UpDataStructsProperty> | (UpDataStructsProperty | { key?: any; value?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<UpDataStructsProperty>]>;1056 setCollectionProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, properties: Vec<UpDataStructsProperty> | (UpDataStructsProperty | { key?: any; value?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<UpDataStructsProperty>]>;
967 /**1057 /**
968 * # Permissions1058 * Set (invite) a new collection sponsor. If successful, confirmation from the sponsor-to-be will be pending.
969 * 1059 *
970 * * Collection Owner1060 * # Permissions
971 * 1061 *
972 * # Arguments1062 * * Collection Owner
973 * 1063 * * Collection Admin
974 * * collection_id.1064 *
975 * 1065 * # Arguments
976 * * new_sponsor.1066 *
977 **/1067 * * collection_id.
1068 * * new_sponsor.
1069 **/
978 setCollectionSponsor: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newSponsor: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, AccountId32]>;1070 setCollectionSponsor: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newSponsor: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, AccountId32]>;
1071 /**
1072 * Add or change token properties according to collection's permissions.
1073 *
1074 * # Permissions
1075 *
1076 * * Depends on collection's token property permissions and specified property mutability:
1077 * * Collection Owner
1078 * * Collection Admin
1079 * * Token Owner
1080 *
1081 * # Arguments
1082 *
1083 * * collection_id.
1084 * * token_id.
1085 * * properties - Vector of key-value pairs stored as the token's metadata. Keys support Latin letters, `-`, `_`, and `.` as symbols.
1086 **/
979 setTokenProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, properties: Vec<UpDataStructsProperty> | (UpDataStructsProperty | { key?: any; value?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, u32, Vec<UpDataStructsProperty>]>;1087 setTokenProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, properties: Vec<UpDataStructsProperty> | (UpDataStructsProperty | { key?: any; value?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, u32, Vec<UpDataStructsProperty>]>;
1088 /**
1089 * Add or change token property permissions of a collection.
1090 *
1091 * # Permissions
1092 *
1093 * * Collection Owner
1094 * * Collection Admin
1095 *
1096 * # Arguments
1097 *
1098 * * collection_id.
1099 * * property_permissions - Vector of permissions for property keys. Keys support Latin letters, `-`, `_`, and `.` as symbols.
1100 **/
980 setTokenPropertyPermissions: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, propertyPermissions: Vec<UpDataStructsPropertyKeyPermission> | (UpDataStructsPropertyKeyPermission | { key?: any; permission?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<UpDataStructsPropertyKeyPermission>]>;1101 setTokenPropertyPermissions: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, propertyPermissions: Vec<UpDataStructsPropertyKeyPermission> | (UpDataStructsPropertyKeyPermission | { key?: any; permission?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<UpDataStructsPropertyKeyPermission>]>;
981 /**1102 /**
982 * Set transfers_enabled value for particular collection1103 * Set transfers_enabled value for particular collection.
983 * 1104 *
984 * # Permissions1105 * # Permissions
985 * 1106 *
986 * * Collection Owner.1107 * * Collection Owner
987 * 1108 *
988 * # Arguments1109 * # Arguments
989 * 1110 *
990 * * collection_id: ID of the collection.1111 * * collection_id - ID of the collection.
991 * 1112 * * value - New flag value.
992 * * value: New flag value.1113 **/
993 **/
994 setTransfersEnabledFlag: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, value: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, bool]>;1114 setTransfersEnabledFlag: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, value: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, bool]>;
995 /**1115 /**
996 * Change ownership of the token.1116 * Change ownership of the token.
997 * 1117 *
998 * # Permissions1118 * # Permissions
999 * 1119 *
1000 * * Collection Owner1120 * * Collection Owner
1001 * * Collection Admin1121 * * Collection Admin
1002 * * Current NFT owner1122 * * Current NFT owner
1003 * 1123 *
1004 * # Arguments1124 * # Arguments
1005 * 1125 *
1006 * * recipient: Address of token recipient.1126 * * recipient - Address of token recipient.
1007 * 1127 *
1008 * * collection_id.1128 * * collection_id.
1009 * 1129 *
1010 * * item_id: ID of the item1130 * * item_id - ID of the item
1011 * * Non-Fungible Mode: Required.1131 * * Non-Fungible Mode: Required.
1012 * * Fungible Mode: Ignored.1132 * * Fungible Mode: Ignored.
1013 * * Re-Fungible Mode: Required.1133 * * Re-Fungible Mode: Required.
1014 * 1134 *
1015 * * value: Amount to transfer.1135 * * value - Amount to transfer.
1016 * * Non-Fungible Mode: Ignored1136 * * Non-Fungible Mode: Ignored
1017 * * Fungible Mode: Must specify transferred amount1137 * * Fungible Mode: Must specify transferred amount
1018 * * Re-Fungible Mode: Must specify transferred portion (between 0 and 1)1138 * * Re-Fungible Mode: Must specify transferred portion (between 0 and 1)
1019 **/1139 **/
1020 transfer: AugmentedSubmittable<(recipient: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletEvmAccountBasicCrossAccountIdRepr, u32, u32, u128]>;1140 transfer: AugmentedSubmittable<(recipient: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletEvmAccountBasicCrossAccountIdRepr, u32, u32, u128]>;
1021 /**1141 /**
1022 * Change ownership of a NFT on behalf of the owner. See Approve method for additional information. After this method executes, the approval is removed so that the approved address will not be able to transfer this NFT again from this owner.1142 * Change ownership of a NFT on behalf of the owner. See Approve method for additional information. After this method executes, the approval is removed so that the approved address will not be able to transfer this NFT again from this owner.
1023 * 1143 *
1024 * # Permissions1144 * # Permissions
1025 * * Collection Owner1145 *
1146 * * Collection Owner
1026 * * Collection Admin1147 * * Collection Admin
1027 * * Current NFT owner1148 * * Current NFT owner
1028 * * Address approved by current NFT owner1149 * * Address approved by current NFT owner
1029 * 1150 *
1030 * # Arguments1151 * # Arguments
1031 * 1152 *
1032 * * from: Address that owns token.1153 * * from - Address that currently owns the token.
1033 * 1154 * * recipient - Address of the new token-owner-to-be.
1034 * * recipient: Address of token recipient.1155 * * collection_id.
1035 *
1036 * * collection_id.1156 * * item_id - ID of the item to be transferred.
1037 *
1038 * * item_id: ID of the item.
1039 * 1157 * * value - Amount to transfer.
1040 * * value: Amount to transfer.1158 **/
1041 **/
1042 transferFrom: AugmentedSubmittable<(from: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, recipient: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u32, u32, u128]>;1159 transferFrom: AugmentedSubmittable<(from: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, recipient: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u32, u32, u128]>;
1043 /**1160 /**
1044 * Generic tx1161 * Generic tx
modifiedtests/src/interfaces/default/types.tsdiffbeforeafterboth
1672 readonly isAddCollectionAdmin: boolean;1672 readonly isAddCollectionAdmin: boolean;
1673 readonly asAddCollectionAdmin: {1673 readonly asAddCollectionAdmin: {
1674 readonly collectionId: u32;1674 readonly collectionId: u32;
1675 readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;1675 readonly newAdmin: PalletEvmAccountBasicCrossAccountIdRepr;
1676 } & Struct;1676 } & Struct;
1677 readonly isRemoveCollectionAdmin: boolean;1677 readonly isRemoveCollectionAdmin: boolean;
1678 readonly asRemoveCollectionAdmin: {1678 readonly asRemoveCollectionAdmin: {
1784 readonly isSetCollectionPermissions: boolean;1784 readonly isSetCollectionPermissions: boolean;
1785 readonly asSetCollectionPermissions: {1785 readonly asSetCollectionPermissions: {
1786 readonly collectionId: u32;1786 readonly collectionId: u32;
1787 readonly newLimit: UpDataStructsCollectionPermissions;1787 readonly newPermission: UpDataStructsCollectionPermissions;
1788 } & Struct;1788 } & Struct;
1789 readonly isRepartition: boolean;1789 readonly isRepartition: boolean;
1790 readonly asRepartition: {1790 readonly asRepartition: {
1791 readonly collectionId: u32;1791 readonly collectionId: u32;
1792 readonly token: u32;1792 readonly tokenId: u32;
1793 readonly amount: u128;1793 readonly amount: u128;
1794 } & Struct;1794 } & Struct;
1795 readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetCollectionProperties' | 'DeleteCollectionProperties' | 'SetTokenProperties' | 'DeleteTokenProperties' | 'SetTokenPropertyPermissions' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetCollectionLimits' | 'SetCollectionPermissions' | 'Repartition';1795 readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetCollectionProperties' | 'DeleteCollectionProperties' | 'SetTokenProperties' | 'DeleteTokenProperties' | 'SetTokenPropertyPermissions' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetCollectionLimits' | 'SetCollectionPermissions' | 'Repartition';
modifiedtests/src/interfaces/lookup.tsdiffbeforeafterboth
1269 },1269 },
1270 add_collection_admin: {1270 add_collection_admin: {
1271 collectionId: 'u32',1271 collectionId: 'u32',
1272 newAdminId: 'PalletEvmAccountBasicCrossAccountIdRepr',1272 newAdmin: 'PalletEvmAccountBasicCrossAccountIdRepr',
1273 },1273 },
1274 remove_collection_admin: {1274 remove_collection_admin: {
1275 collectionId: 'u32',1275 collectionId: 'u32',
1361 },1361 },
1362 set_collection_permissions: {1362 set_collection_permissions: {
1363 collectionId: 'u32',1363 collectionId: 'u32',
1364 newLimit: 'UpDataStructsCollectionPermissions',1364 newPermission: 'UpDataStructsCollectionPermissions',
1365 },1365 },
1366 repartition: {1366 repartition: {
1367 collectionId: 'u32',1367 collectionId: 'u32',
1368 token: 'u32',1368 tokenId: 'u32',
1369 amount: 'u128'1369 amount: 'u128'
1370 }1370 }
1371 }1371 }
modifiedtests/src/interfaces/types-lookup.tsdiffbeforeafterboth
1385 readonly isAddCollectionAdmin: boolean;1385 readonly isAddCollectionAdmin: boolean;
1386 readonly asAddCollectionAdmin: {1386 readonly asAddCollectionAdmin: {
1387 readonly collectionId: u32;1387 readonly collectionId: u32;
1388 readonly newAdminId: PalletEvmAccountBasicCrossAccountIdRepr;1388 readonly newAdmin: PalletEvmAccountBasicCrossAccountIdRepr;
1389 } & Struct;1389 } & Struct;
1390 readonly isRemoveCollectionAdmin: boolean;1390 readonly isRemoveCollectionAdmin: boolean;
1391 readonly asRemoveCollectionAdmin: {1391 readonly asRemoveCollectionAdmin: {
1497 readonly isSetCollectionPermissions: boolean;1497 readonly isSetCollectionPermissions: boolean;
1498 readonly asSetCollectionPermissions: {1498 readonly asSetCollectionPermissions: {
1499 readonly collectionId: u32;1499 readonly collectionId: u32;
1500 readonly newLimit: UpDataStructsCollectionPermissions;1500 readonly newPermission: UpDataStructsCollectionPermissions;
1501 } & Struct;1501 } & Struct;
1502 readonly isRepartition: boolean;1502 readonly isRepartition: boolean;
1503 readonly asRepartition: {1503 readonly asRepartition: {
1504 readonly collectionId: u32;1504 readonly collectionId: u32;
1505 readonly token: u32;1505 readonly tokenId: u32;
1506 readonly amount: u128;1506 readonly amount: u128;
1507 } & Struct;1507 } & Struct;
1508 readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetCollectionProperties' | 'DeleteCollectionProperties' | 'SetTokenProperties' | 'DeleteTokenProperties' | 'SetTokenPropertyPermissions' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetCollectionLimits' | 'SetCollectionPermissions' | 'Repartition';1508 readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetCollectionProperties' | 'DeleteCollectionProperties' | 'SetTokenProperties' | 'DeleteTokenProperties' | 'SetTokenPropertyPermissions' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetCollectionLimits' | 'SetCollectionPermissions' | 'Repartition';