difftreelog
chore generate stubs
in: master
11 files changed
pallets/fungible/src/stubs/UniqueFungible.rawdiffbeforeafterbothbinary blob — no preview
pallets/fungible/src/stubs/UniqueFungible.soldiffbeforeafterboth18}18}191920/// @title A contract that allows you to work with collections.20/// @title A contract that allows you to work with collections.21/// @dev the ERC-165 identifier for this interface is 0xb5e1747f21/// @dev the ERC-165 identifier for this interface is 0x81172a7522contract Collection is Dummy, ERC165 {22contract Collection is Dummy, ERC165 {23 // /// Set collection property.23 // /// Set collection property.24 // ///24 // ///191 /// "ownerCanTransfer",191 /// "ownerCanTransfer",192 /// "ownerCanDestroy",192 /// "ownerCanDestroy",193 /// "transfersEnabled"193 /// "transfersEnabled"194 /// @param status enable\disable limit. Works only with `true`.194 /// @param value Value of the limit.195 /// @param value Value of the limit.195 /// @dev EVM selector for this function is: 0x88150bd0,196 /// @dev EVM selector for this function is: 0x88150bd0,196 /// or in textual repr: setCollectionLimit(uint8,bool,uint256)197 /// or in textual repr: setCollectionLimit(uint8,bool,uint256)283 /// Returns nesting for a collection284 /// Returns nesting for a collection284 /// @dev EVM selector for this function is: 0x22d25bfe,285 /// @dev EVM selector for this function is: 0x22d25bfe,285 /// or in textual repr: collectionNestingRestrictedCollectionIds()286 /// or in textual repr: collectionNestingRestrictedCollectionIds()286 function collectionNestingRestrictedCollectionIds() public view returns (Tuple21 memory) {287 function collectionNestingRestrictedCollectionIds() public view returns (Tuple26 memory) {287 require(false, stub_error);288 require(false, stub_error);288 dummy;289 dummy;289 return Tuple21(false, new uint256[](0));290 return Tuple26(false, new uint256[](0));290 }291 }291292292 /// Returns permissions for a collection293 /// Returns permissions for a collection293 /// @dev EVM selector for this function is: 0x5b2eaf4b,294 /// @dev EVM selector for this function is: 0x5b2eaf4b,294 /// or in textual repr: collectionNestingPermissions()295 /// or in textual repr: collectionNestingPermissions()295 function collectionNestingPermissions() public view returns (Tuple24[] memory) {296 function collectionNestingPermissions() public view returns (Tuple29[] memory) {296 require(false, stub_error);297 require(false, stub_error);297 dummy;298 dummy;298 return new Tuple24[](0);299 return new Tuple29[](0);299 }300 }300301301 /// Set the collection access method.302 /// Set the collection access method.475}476}476477477/// @dev anonymous struct478/// @dev anonymous struct478struct Tuple24 {479struct Tuple29 {479 CollectionPermissions field_0;480 CollectionPermissions field_0;480 bool field_1;481 bool field_1;481}482}482483483/// @dev anonymous struct484/// @dev anonymous struct484struct Tuple21 {485struct Tuple26 {485 bool field_0;486 bool field_0;486 uint256[] field_1;487 uint256[] field_1;487}488}489490enum CollectionLimits {491 AccountTokenOwnership,492 SponsoredDataSize,493 SponsoredDataRateLimit,494 TokenLimit,495 SponsorTransferTimeout,496 SponsorApproveTimeout,497 OwnerCanTransfer,498 OwnerCanDestroy,499 TransferEnabled500}501502/// @dev anonymous struct503struct Tuple20 {504 CollectionLimits field_0;505 bool field_1;506 uint256 field_2;507}488508489/// @dev Property struct509/// @dev Property struct490struct Property {510struct Property {pallets/nonfungible/src/stubs/UniqueNFT.rawdiffbeforeafterbothbinary blob — no preview
pallets/nonfungible/src/stubs/UniqueNFT.soldiffbeforeafterboth151}151}152152153/// @title A contract that allows you to work with collections.153/// @title A contract that allows you to work with collections.154/// @dev the ERC-165 identifier for this interface is 0xb5e1747f154/// @dev the ERC-165 identifier for this interface is 0x81172a75155contract Collection is Dummy, ERC165 {155contract Collection is Dummy, ERC165 {156 // /// Set collection property.156 // /// Set collection property.157 // ///157 // ///324 /// "ownerCanTransfer",324 /// "ownerCanTransfer",325 /// "ownerCanDestroy",325 /// "ownerCanDestroy",326 /// "transfersEnabled"326 /// "transfersEnabled"327 /// @param status enable\disable limit. Works only with `true`.327 /// @param value Value of the limit.328 /// @param value Value of the limit.328 /// @dev EVM selector for this function is: 0x88150bd0,329 /// @dev EVM selector for this function is: 0x88150bd0,329 /// or in textual repr: setCollectionLimit(uint8,bool,uint256)330 /// or in textual repr: setCollectionLimit(uint8,bool,uint256)416 /// Returns nesting for a collection417 /// Returns nesting for a collection417 /// @dev EVM selector for this function is: 0x22d25bfe,418 /// @dev EVM selector for this function is: 0x22d25bfe,418 /// or in textual repr: collectionNestingRestrictedCollectionIds()419 /// or in textual repr: collectionNestingRestrictedCollectionIds()419 function collectionNestingRestrictedCollectionIds() public view returns (Tuple34 memory) {420 function collectionNestingRestrictedCollectionIds() public view returns (Tuple39 memory) {420 require(false, stub_error);421 require(false, stub_error);421 dummy;422 dummy;422 return Tuple34(false, new uint256[](0));423 return Tuple39(false, new uint256[](0));423 }424 }424425425 /// Returns permissions for a collection426 /// Returns permissions for a collection426 /// @dev EVM selector for this function is: 0x5b2eaf4b,427 /// @dev EVM selector for this function is: 0x5b2eaf4b,427 /// or in textual repr: collectionNestingPermissions()428 /// or in textual repr: collectionNestingPermissions()428 function collectionNestingPermissions() public view returns (Tuple37[] memory) {429 function collectionNestingPermissions() public view returns (Tuple42[] memory) {429 require(false, stub_error);430 require(false, stub_error);430 dummy;431 dummy;431 return new Tuple37[](0);432 return new Tuple42[](0);432 }433 }433434434 /// Set the collection access method.435 /// Set the collection access method.608}609}609610610/// @dev anonymous struct611/// @dev anonymous struct611struct Tuple37 {612struct Tuple42 {612 CollectionPermissions field_0;613 CollectionPermissions field_0;613 bool field_1;614 bool field_1;614}615}615616616/// @dev anonymous struct617/// @dev anonymous struct617struct Tuple34 {618struct Tuple39 {618 bool field_0;619 bool field_0;619 uint256[] field_1;620 uint256[] field_1;620}621}622623enum CollectionLimits {624 AccountTokenOwnership,625 SponsoredDataSize,626 SponsoredDataRateLimit,627 TokenLimit,628 SponsorTransferTimeout,629 SponsorApproveTimeout,630 OwnerCanTransfer,631 OwnerCanDestroy,632 TransferEnabled633}634635/// @dev anonymous struct636struct Tuple33 {637 CollectionLimits field_0;638 bool field_1;639 uint256 field_2;640}621641622/// @dev anonymous struct642/// @dev anonymous struct623struct Tuple30 {643struct Tuple30 {pallets/refungible/src/stubs/UniqueRefungible.soldiffbeforeafterboth152}152}153153154/// @title A contract that allows you to work with collections.154/// @title A contract that allows you to work with collections.155/// @dev the ERC-165 identifier for this interface is 0xb5e1747f155/// @dev the ERC-165 identifier for this interface is 0x81172a75156contract Collection is Dummy, ERC165 {156contract Collection is Dummy, ERC165 {157 // /// Set collection property.157 // /// Set collection property.158 // ///158 // ///325 /// "ownerCanTransfer",325 /// "ownerCanTransfer",326 /// "ownerCanDestroy",326 /// "ownerCanDestroy",327 /// "transfersEnabled"327 /// "transfersEnabled"328 /// @param status enable\disable limit. Works only with `true`.328 /// @param value Value of the limit.329 /// @param value Value of the limit.329 /// @dev EVM selector for this function is: 0x88150bd0,330 /// @dev EVM selector for this function is: 0x88150bd0,330 /// or in textual repr: setCollectionLimit(uint8,bool,uint256)331 /// or in textual repr: setCollectionLimit(uint8,bool,uint256)417 /// Returns nesting for a collection418 /// Returns nesting for a collection418 /// @dev EVM selector for this function is: 0x22d25bfe,419 /// @dev EVM selector for this function is: 0x22d25bfe,419 /// or in textual repr: collectionNestingRestrictedCollectionIds()420 /// or in textual repr: collectionNestingRestrictedCollectionIds()420 function collectionNestingRestrictedCollectionIds() public view returns (Tuple33 memory) {421 function collectionNestingRestrictedCollectionIds() public view returns (Tuple38 memory) {421 require(false, stub_error);422 require(false, stub_error);422 dummy;423 dummy;423 return Tuple33(false, new uint256[](0));424 return Tuple38(false, new uint256[](0));424 }425 }425426426 /// Returns permissions for a collection427 /// Returns permissions for a collection427 /// @dev EVM selector for this function is: 0x5b2eaf4b,428 /// @dev EVM selector for this function is: 0x5b2eaf4b,428 /// or in textual repr: collectionNestingPermissions()429 /// or in textual repr: collectionNestingPermissions()429 function collectionNestingPermissions() public view returns (Tuple36[] memory) {430 function collectionNestingPermissions() public view returns (Tuple41[] memory) {430 require(false, stub_error);431 require(false, stub_error);431 dummy;432 dummy;432 return new Tuple36[](0);433 return new Tuple41[](0);433 }434 }434435435 /// Set the collection access method.436 /// Set the collection access method.609}610}610611611/// @dev anonymous struct612/// @dev anonymous struct612struct Tuple36 {613struct Tuple41 {613 CollectionPermissions field_0;614 CollectionPermissions field_0;614 bool field_1;615 bool field_1;615}616}616617617/// @dev anonymous struct618/// @dev anonymous struct618struct Tuple33 {619struct Tuple38 {619 bool field_0;620 bool field_0;620 uint256[] field_1;621 uint256[] field_1;621}622}623624enum CollectionLimits {625 AccountTokenOwnership,626 SponsoredDataSize,627 SponsoredDataRateLimit,628 TokenLimit,629 SponsorTransferTimeout,630 SponsorApproveTimeout,631 OwnerCanTransfer,632 OwnerCanDestroy,633 TransferEnabled634}635636/// @dev anonymous struct637struct Tuple32 {638 CollectionLimits field_0;639 bool field_1;640 uint256 field_2;641}622642623/// @dev anonymous struct643/// @dev anonymous struct624struct Tuple29 {644struct Tuple29 {tests/src/eth/abi/fungible.jsondiffbeforeafterboth208 },208 },209 {209 {210 "inputs": [],210 "inputs": [],211<<<<<<< HEAD212 "name": "collectionNestingPermissions",213=======214 "name": "collectionLimits",211 "name": "collectionLimits",215>>>>>>> 32e011ce... added `collectionLimits` function in `Collection` interface, changed signture for `setCollectionLimit`216 "outputs": [212 "outputs": [217 {213 {218 "components": [214 "components": [219 {215 {220<<<<<<< HEAD216 "internalType": "enum CollectionLimits",221 "internalType": "enum CollectionPermissions",222 "name": "field_0",217 "name": "field_0",223 "type": "uint8"218 "type": "uint8"224 },219 },225 { "internalType": "bool", "name": "field_1", "type": "bool" }220 { "internalType": "bool", "name": "field_1", "type": "bool" },221 { "internalType": "uint256", "name": "field_2", "type": "uint256" }226 ],222 ],227 "internalType": "struct Tuple24[]",223 "internalType": "struct Tuple20[]",228=======224 "name": "",225 "type": "tuple[]"226 }227 ],228 "stateMutability": "view",229 "type": "function"230 },231 {232 "inputs": [],233 "name": "collectionNestingPermissions",234 "outputs": [235 {236 "components": [237 {229 "internalType": "enum CollectionLimits",238 "internalType": "enum CollectionPermissions",230 "name": "field_0",239 "name": "field_0",231 "type": "uint8"240 "type": "uint8"232 },241 },233 { "internalType": "bool", "name": "field_1", "type": "bool" },242 { "internalType": "bool", "name": "field_1", "type": "bool" }234 { "internalType": "uint256", "name": "field_2", "type": "uint256" }235 ],243 ],236 "internalType": "struct Tuple20[]",244 "internalType": "struct Tuple29[]",237>>>>>>> 32e011ce... added `collectionLimits` function in `Collection` interface, changed signture for `setCollectionLimit`238 "name": "",245 "name": "",239 "type": "tuple[]"246 "type": "tuple[]"240 }247 }244 },251 },245 {252 {246 "inputs": [],253 "inputs": [],247<<<<<<< HEAD248 "name": "collectionNestingRestrictedCollectionIds",254 "name": "collectionNestingRestrictedCollectionIds",249 "outputs": [255 "outputs": [250 {256 {256 "type": "uint256[]"262 "type": "uint256[]"257 }263 }258 ],264 ],259 "internalType": "struct Tuple21",265 "internalType": "struct Tuple26",260 "name": "",266 "name": "",261 "type": "tuple"267 "type": "tuple"262 }268 }266 },272 },267 {273 {268 "inputs": [],274 "inputs": [],269=======270>>>>>>> 32e011ce... added `collectionLimits` function in `Collection` interface, changed signture for `setCollectionLimit`271 "name": "collectionOwner",275 "name": "collectionOwner",272 "outputs": [276 "outputs": [273 {277 {tests/src/eth/abi/nonFungible.jsondiffbeforeafterboth236 "stateMutability": "view",236 "stateMutability": "view",237 "type": "function"237 "type": "function"238 },238 },239 {240 "inputs": [],241 "name": "collectionLimits",242 "outputs": [243 {244 "components": [245 {246 "internalType": "enum CollectionLimits",247 "name": "field_0",248 "type": "uint8"249 },250 { "internalType": "bool", "name": "field_1", "type": "bool" },251 { "internalType": "uint256", "name": "field_2", "type": "uint256" }252 ],253 "internalType": "struct Tuple33[]",254 "name": "",255 "type": "tuple[]"256 }257 ],258 "stateMutability": "view",259 "type": "function"260 },239 {261 {240 "inputs": [],262 "inputs": [],241 "name": "collectionNestingPermissions",263 "name": "collectionNestingPermissions",249 },271 },250 { "internalType": "bool", "name": "field_1", "type": "bool" }272 { "internalType": "bool", "name": "field_1", "type": "bool" }251 ],273 ],252 "internalType": "struct Tuple37[]",274 "internalType": "struct Tuple42[]",253 "name": "",275 "name": "",254 "type": "tuple[]"276 "type": "tuple[]"255 }277 }270 "type": "uint256[]"292 "type": "uint256[]"271 }293 }272 ],294 ],273 "internalType": "struct Tuple34",295 "internalType": "struct Tuple39",274 "name": "",296 "name": "",275 "type": "tuple"297 "type": "tuple"276 }298 }tests/src/eth/abi/reFungible.jsondiffbeforeafterboth218 "stateMutability": "view",218 "stateMutability": "view",219 "type": "function"219 "type": "function"220 },220 },221 {222 "inputs": [],223 "name": "collectionLimits",224 "outputs": [225 {226 "components": [227 {228 "internalType": "enum CollectionLimits",229 "name": "field_0",230 "type": "uint8"231 },232 { "internalType": "bool", "name": "field_1", "type": "bool" },233 { "internalType": "uint256", "name": "field_2", "type": "uint256" }234 ],235 "internalType": "struct Tuple32[]",236 "name": "",237 "type": "tuple[]"238 }239 ],240 "stateMutability": "view",241 "type": "function"242 },221 {243 {222 "inputs": [],244 "inputs": [],223 "name": "collectionNestingPermissions",245 "name": "collectionNestingPermissions",231 },253 },232 { "internalType": "bool", "name": "field_1", "type": "bool" }254 { "internalType": "bool", "name": "field_1", "type": "bool" }233 ],255 ],234 "internalType": "struct Tuple36[]",256 "internalType": "struct Tuple41[]",235 "name": "",257 "name": "",236 "type": "tuple[]"258 "type": "tuple[]"237 }259 }252 "type": "uint256[]"274 "type": "uint256[]"253 }275 }254 ],276 ],255 "internalType": "struct Tuple33",277 "internalType": "struct Tuple38",256 "name": "",278 "name": "",257 "type": "tuple"279 "type": "tuple"258 }280 }tests/src/eth/api/UniqueFungible.soldiffbeforeafterboth13}13}141415/// @title A contract that allows you to work with collections.15/// @title A contract that allows you to work with collections.16<<<<<<< HEAD17/// @dev the ERC-165 identifier for this interface is 0xb5e1747f16/// @dev the ERC-165 identifier for this interface is 0x81172a7518=======19/// @dev the ERC-165 identifier for this interface is 0xf8ebdec020>>>>>>> 32e011ce... added `collectionLimits` function in `Collection` interface, changed signture for `setCollectionLimit`21interface Collection is Dummy, ERC165 {17interface Collection is Dummy, ERC165 {22 // /// Set collection property.18 // /// Set collection property.23 // ///19 // ///137 /// "ownerCanTransfer",133 /// "ownerCanTransfer",138 /// "ownerCanDestroy",134 /// "ownerCanDestroy",139 /// "transfersEnabled"135 /// "transfersEnabled"136 /// @param status enable\disable limit. Works only with `true`.140 /// @param value Value of the limit.137 /// @param value Value of the limit.141 /// @dev EVM selector for this function is: 0x88150bd0,138 /// @dev EVM selector for this function is: 0x88150bd0,142 /// or in textual repr: setCollectionLimit(uint8,bool,uint256)139 /// or in textual repr: setCollectionLimit(uint8,bool,uint256)194 /// Returns nesting for a collection191 /// Returns nesting for a collection195 /// @dev EVM selector for this function is: 0x22d25bfe,192 /// @dev EVM selector for this function is: 0x22d25bfe,196 /// or in textual repr: collectionNestingRestrictedCollectionIds()193 /// or in textual repr: collectionNestingRestrictedCollectionIds()197 function collectionNestingRestrictedCollectionIds() external view returns (Tuple20 memory);194 function collectionNestingRestrictedCollectionIds() external view returns (Tuple24 memory);198195199 /// Returns permissions for a collection196 /// Returns permissions for a collection200 /// @dev EVM selector for this function is: 0x5b2eaf4b,197 /// @dev EVM selector for this function is: 0x5b2eaf4b,201 /// or in textual repr: collectionNestingPermissions()198 /// or in textual repr: collectionNestingPermissions()202 function collectionNestingPermissions() external view returns (Tuple23[] memory);199 function collectionNestingPermissions() external view returns (Tuple27[] memory);203200204 /// Set the collection access method.201 /// Set the collection access method.205 /// @param mode Access mode202 /// @param mode Access mode313 uint256 sub;310 uint256 sub;314}311}315312316<<<<<<< HEAD317/// @dev anonymous struct313/// @dev anonymous struct318struct Tuple23 {314struct Tuple27 {319 CollectionPermissions field_0;315 CollectionPermissions field_0;320 bool field_1;316 bool field_1;321}317}326}322}327323328/// @dev anonymous struct324/// @dev anonymous struct329struct Tuple20 {325struct Tuple24 {330 bool field_0;326 bool field_0;331 uint256[] field_1;327 uint256[] field_1;332=======328}329333enum CollectionLimits {330enum CollectionLimits {334 AccountTokenOwnership,331 AccountTokenOwnership,335 SponsoredDataSize,332 SponsoredDataSize,347 CollectionLimits field_0;344 CollectionLimits field_0;348 bool field_1;345 bool field_1;349 uint256 field_2;346 uint256 field_2;350>>>>>>> 32e011ce... added `collectionLimits` function in `Collection` interface, changed signture for `setCollectionLimit`351}347}352348353/// @dev Property struct349/// @dev Property structtests/src/eth/api/UniqueNFT.soldiffbeforeafterboth104}104}105105106/// @title A contract that allows you to work with collections.106/// @title A contract that allows you to work with collections.107<<<<<<< HEAD108/// @dev the ERC-165 identifier for this interface is 0xb5e1747f107/// @dev the ERC-165 identifier for this interface is 0x81172a75109=======110/// @dev the ERC-165 identifier for this interface is 0xf8ebdec0111>>>>>>> 32e011ce... added `collectionLimits` function in `Collection` interface, changed signture for `setCollectionLimit`112interface Collection is Dummy, ERC165 {108interface Collection is Dummy, ERC165 {113 // /// Set collection property.109 // /// Set collection property.114 // ///110 // ///228 /// "ownerCanTransfer",224 /// "ownerCanTransfer",229 /// "ownerCanDestroy",225 /// "ownerCanDestroy",230 /// "transfersEnabled"226 /// "transfersEnabled"227 /// @param status enable\disable limit. Works only with `true`.231 /// @param value Value of the limit.228 /// @param value Value of the limit.232 /// @dev EVM selector for this function is: 0x88150bd0,229 /// @dev EVM selector for this function is: 0x88150bd0,233 /// or in textual repr: setCollectionLimit(uint8,bool,uint256)230 /// or in textual repr: setCollectionLimit(uint8,bool,uint256)285 /// Returns nesting for a collection282 /// Returns nesting for a collection286 /// @dev EVM selector for this function is: 0x22d25bfe,283 /// @dev EVM selector for this function is: 0x22d25bfe,287 /// or in textual repr: collectionNestingRestrictedCollectionIds()284 /// or in textual repr: collectionNestingRestrictedCollectionIds()288 function collectionNestingRestrictedCollectionIds() external view returns (Tuple31 memory);285 function collectionNestingRestrictedCollectionIds() external view returns (Tuple35 memory);289286290 /// Returns permissions for a collection287 /// Returns permissions for a collection291 /// @dev EVM selector for this function is: 0x5b2eaf4b,288 /// @dev EVM selector for this function is: 0x5b2eaf4b,292 /// or in textual repr: collectionNestingPermissions()289 /// or in textual repr: collectionNestingPermissions()293 function collectionNestingPermissions() external view returns (Tuple34[] memory);290 function collectionNestingPermissions() external view returns (Tuple38[] memory);294291295 /// Set the collection access method.292 /// Set the collection access method.296 /// @param mode Access mode293 /// @param mode Access mode404 uint256 sub;401 uint256 sub;405}402}406403404/// @dev anonymous struct405struct Tuple38 {406 CollectionPermissions field_0;407 bool field_1;408}409410enum CollectionPermissions {411 CollectionAdmin,412 TokenOwner413}414415/// @dev anonymous struct416struct Tuple35 {417 bool field_0;418 uint256[] field_1;419}420407enum CollectionLimits {421enum CollectionLimits {408 AccountTokenOwnership,422 AccountTokenOwnership,409 SponsoredDataSize,423 SponsoredDataSize,421 CollectionLimits field_0;435 CollectionLimits field_0;422 bool field_1;436 bool field_1;423 uint256 field_2;437 uint256 field_2;424}425426/// @dev anonymous struct427struct Tuple34 {428 CollectionPermissions field_0;429 bool field_1;430}431432enum CollectionPermissions {433 CollectionAdmin,434 TokenOwner435}436437/// @dev anonymous struct438struct Tuple31 {439 bool field_0;440 uint256[] field_1;441}438}442439443/// @dev anonymous struct440/// @dev anonymous structtests/src/eth/api/UniqueRefungible.soldiffbeforeafterboth105}105}106106107/// @title A contract that allows you to work with collections.107/// @title A contract that allows you to work with collections.108<<<<<<< HEAD109/// @dev the ERC-165 identifier for this interface is 0xb5e1747f108/// @dev the ERC-165 identifier for this interface is 0x81172a75110=======111/// @dev the ERC-165 identifier for this interface is 0xf8ebdec0112>>>>>>> 32e011ce... added `collectionLimits` function in `Collection` interface, changed signture for `setCollectionLimit`113interface Collection is Dummy, ERC165 {109interface Collection is Dummy, ERC165 {114 // /// Set collection property.110 // /// Set collection property.115 // ///111 // ///229 /// "ownerCanTransfer",225 /// "ownerCanTransfer",230 /// "ownerCanDestroy",226 /// "ownerCanDestroy",231 /// "transfersEnabled"227 /// "transfersEnabled"228 /// @param status enable\disable limit. Works only with `true`.232 /// @param value Value of the limit.229 /// @param value Value of the limit.233 /// @dev EVM selector for this function is: 0x88150bd0,230 /// @dev EVM selector for this function is: 0x88150bd0,234 /// or in textual repr: setCollectionLimit(uint8,bool,uint256)231 /// or in textual repr: setCollectionLimit(uint8,bool,uint256)286 /// Returns nesting for a collection283 /// Returns nesting for a collection287 /// @dev EVM selector for this function is: 0x22d25bfe,284 /// @dev EVM selector for this function is: 0x22d25bfe,288 /// or in textual repr: collectionNestingRestrictedCollectionIds()285 /// or in textual repr: collectionNestingRestrictedCollectionIds()289 function collectionNestingRestrictedCollectionIds() external view returns (Tuple30 memory);286 function collectionNestingRestrictedCollectionIds() external view returns (Tuple34 memory);290287291 /// Returns permissions for a collection288 /// Returns permissions for a collection292 /// @dev EVM selector for this function is: 0x5b2eaf4b,289 /// @dev EVM selector for this function is: 0x5b2eaf4b,293 /// or in textual repr: collectionNestingPermissions()290 /// or in textual repr: collectionNestingPermissions()294 function collectionNestingPermissions() external view returns (Tuple33[] memory);291 function collectionNestingPermissions() external view returns (Tuple37[] memory);295292296 /// Set the collection access method.293 /// Set the collection access method.297 /// @param mode Access mode294 /// @param mode Access mode405 uint256 sub;402 uint256 sub;406}403}407404405/// @dev anonymous struct406struct Tuple37 {407 CollectionPermissions field_0;408 bool field_1;409}410411enum CollectionPermissions {412 CollectionAdmin,413 TokenOwner414}415416/// @dev anonymous struct417struct Tuple34 {418 bool field_0;419 uint256[] field_1;420}421408enum CollectionLimits {422enum CollectionLimits {409 AccountTokenOwnership,423 AccountTokenOwnership,410 SponsoredDataSize,424 SponsoredDataSize,422 CollectionLimits field_0;436 CollectionLimits field_0;423 bool field_1;437 bool field_1;424 uint256 field_2;438 uint256 field_2;425}426427/// @dev anonymous struct428struct Tuple33 {429 CollectionPermissions field_0;430 bool field_1;431}432433enum CollectionPermissions {434 CollectionAdmin,435 TokenOwner436}437438/// @dev anonymous struct439struct Tuple30 {440 bool field_0;441 uint256[] field_1;442}439}443440444/// @dev anonymous struct441/// @dev anonymous struct