difftreelog
chore generate stubs
in: master
9 files changed
pallets/fungible/src/stubs/UniqueFungible.soldiffbeforeafterboth284 /// Returns nesting for a collection284 /// Returns nesting for a collection285 /// @dev EVM selector for this function is: 0x22d25bfe,285 /// @dev EVM selector for this function is: 0x22d25bfe,286 /// or in textual repr: collectionNestingRestrictedCollectionIds()286 /// or in textual repr: collectionNestingRestrictedCollectionIds()287<<<<<<< HEAD287 function collectionNestingRestrictedCollectionIds() public view returns (Tuple26 memory) {288 function collectionNestingRestrictedCollectionIds() public view returns (Tuple26 memory) {288 require(false, stub_error);289 require(false, stub_error);289 dummy;290 dummy;290 return Tuple26(false, new uint256[](0));291 return Tuple26(false, new uint256[](0));292=======293 function collectionNestingRestrictedCollectionIds() public view returns (Tuple24 memory) {294 require(false, stub_error);295 dummy;296 return Tuple24(false, new uint256[](0));297>>>>>>> 09f69700... chore: generate stubs291 }298 }292299293 /// Returns permissions for a collection300 /// Returns permissions for a collection294 /// @dev EVM selector for this function is: 0x5b2eaf4b,301 /// @dev EVM selector for this function is: 0x5b2eaf4b,295 /// or in textual repr: collectionNestingPermissions()302 /// or in textual repr: collectionNestingPermissions()303<<<<<<< HEAD296 function collectionNestingPermissions() public view returns (Tuple29[] memory) {304 function collectionNestingPermissions() public view returns (Tuple29[] memory) {297 require(false, stub_error);305 require(false, stub_error);298 dummy;306 dummy;299 return new Tuple29[](0);307 return new Tuple29[](0);308=======309 function collectionNestingPermissions() public view returns (Tuple27[] memory) {310 require(false, stub_error);311 dummy;312 return new Tuple27[](0);313>>>>>>> 09f69700... chore: generate stubs300 }314 }301315302 /// Set the collection access method.316 /// Set the collection access method.476}490}477491478/// @dev anonymous struct492/// @dev anonymous struct493<<<<<<< HEAD479struct Tuple29 {494struct Tuple29 {495=======496struct Tuple27 {497>>>>>>> 09f69700... chore: generate stubs480 CollectionPermissions field_0;498 CollectionPermissions field_0;481 bool field_1;499 bool field_1;482}500}483501484/// @dev anonymous struct502/// @dev anonymous struct503<<<<<<< HEAD485struct Tuple26 {504struct Tuple26 {505=======506struct Tuple24 {507>>>>>>> 09f69700... chore: generate stubs486 bool field_0;508 bool field_0;487 uint256[] field_1;509 uint256[] field_1;488}510}pallets/nonfungible/src/stubs/UniqueNFT.soldiffbeforeafterboth422 /// Returns nesting for a collection422 /// Returns nesting for a collection423 /// @dev EVM selector for this function is: 0x22d25bfe,423 /// @dev EVM selector for this function is: 0x22d25bfe,424 /// or in textual repr: collectionNestingRestrictedCollectionIds()424 /// or in textual repr: collectionNestingRestrictedCollectionIds()425<<<<<<< HEAD425 function collectionNestingRestrictedCollectionIds() public view returns (Tuple39 memory) {426 function collectionNestingRestrictedCollectionIds() public view returns (Tuple39 memory) {426 require(false, stub_error);427 require(false, stub_error);427 dummy;428 dummy;428 return Tuple39(false, new uint256[](0));429 return Tuple39(false, new uint256[](0));430=======431 function collectionNestingRestrictedCollectionIds() public view returns (Tuple36 memory) {432 require(false, stub_error);433 dummy;434 return Tuple36(false, new uint256[](0));435>>>>>>> 09f69700... chore: generate stubs429 }436 }430437431 /// Returns permissions for a collection438 /// Returns permissions for a collection432 /// @dev EVM selector for this function is: 0x5b2eaf4b,439 /// @dev EVM selector for this function is: 0x5b2eaf4b,433 /// or in textual repr: collectionNestingPermissions()440 /// or in textual repr: collectionNestingPermissions()441<<<<<<< HEAD434 function collectionNestingPermissions() public view returns (Tuple42[] memory) {442 function collectionNestingPermissions() public view returns (Tuple42[] memory) {435 require(false, stub_error);443 require(false, stub_error);436 dummy;444 dummy;437 return new Tuple42[](0);445 return new Tuple42[](0);446=======447 function collectionNestingPermissions() public view returns (Tuple39[] memory) {448 require(false, stub_error);449 dummy;450 return new Tuple39[](0);451>>>>>>> 09f69700... chore: generate stubs438 }452 }439453440 /// Set the collection access method.454 /// Set the collection access method.608 uint256 sub;622 uint256 sub;609}623}610624611<<<<<<< HEAD612enum CollectionPermissions {625enum CollectionPermissions {613 CollectionAdmin,626 CollectionAdmin,614 TokenOwner627 TokenOwner615}628}616629617/// @dev anonymous struct630/// @dev anonymous struct631<<<<<<< HEAD618struct Tuple42 {632struct Tuple42 {633=======634struct Tuple39 {635>>>>>>> 09f69700... chore: generate stubs619 CollectionPermissions field_0;636 CollectionPermissions field_0;620 bool field_1;637 bool field_1;621}638}622639623/// @dev anonymous struct640/// @dev anonymous struct641<<<<<<< HEAD624struct Tuple39 {642struct Tuple39 {643=======644struct Tuple36 {645>>>>>>> 09f69700... chore: generate stubs625 bool field_0;646 bool field_0;626 uint256[] field_1;647 uint256[] field_1;627}648}628649650<<<<<<< HEAD629/// @dev [`CollectionLimits`](up_data_structs::CollectionLimits) representation for EVM.651/// @dev [`CollectionLimits`](up_data_structs::CollectionLimits) representation for EVM.630enum CollectionLimits {652enum CollectionLimits {631 /// @dev How many tokens can a user have on one account.653 /// @dev How many tokens can a user have on one account.663685664=======686=======665>>>>>>> 0bf15e6f... fixed tests&tuple instead of struct, refactored `refungible` pallet687>>>>>>> 0bf15e6f... fixed tests&tuple instead of struct, refactored `refungible` pallet688=======689>>>>>>> 09f69700... chore: generate stubs666/// @title ERC-721 Non-Fungible Token Standard, optional metadata extension690/// @title ERC-721 Non-Fungible Token Standard, optional metadata extension667/// @dev See https://eips.ethereum.org/EIPS/eip-721691/// @dev See https://eips.ethereum.org/EIPS/eip-721668/// @dev the ERC-165 identifier for this interface is 0x5b5e139f692/// @dev the ERC-165 identifier for this interface is 0x5b5e139fpallets/refungible/src/stubs/UniqueRefungible.soldiffbeforeafterboth422 /// Returns nesting for a collection422 /// Returns nesting for a collection423 /// @dev EVM selector for this function is: 0x22d25bfe,423 /// @dev EVM selector for this function is: 0x22d25bfe,424 /// or in textual repr: collectionNestingRestrictedCollectionIds()424 /// or in textual repr: collectionNestingRestrictedCollectionIds()425<<<<<<< HEAD425 function collectionNestingRestrictedCollectionIds() public view returns (Tuple38 memory) {426 function collectionNestingRestrictedCollectionIds() public view returns (Tuple38 memory) {426 require(false, stub_error);427 require(false, stub_error);427 dummy;428 dummy;428 return Tuple38(false, new uint256[](0));429 return Tuple38(false, new uint256[](0));430=======431 function collectionNestingRestrictedCollectionIds() public view returns (Tuple35 memory) {432 require(false, stub_error);433 dummy;434 return Tuple35(false, new uint256[](0));435>>>>>>> 09f69700... chore: generate stubs429 }436 }430437431 /// Returns permissions for a collection438 /// Returns permissions for a collection432 /// @dev EVM selector for this function is: 0x5b2eaf4b,439 /// @dev EVM selector for this function is: 0x5b2eaf4b,433 /// or in textual repr: collectionNestingPermissions()440 /// or in textual repr: collectionNestingPermissions()441<<<<<<< HEAD434 function collectionNestingPermissions() public view returns (Tuple41[] memory) {442 function collectionNestingPermissions() public view returns (Tuple41[] memory) {435 require(false, stub_error);443 require(false, stub_error);436 dummy;444 dummy;437 return new Tuple41[](0);445 return new Tuple41[](0);446=======447 function collectionNestingPermissions() public view returns (Tuple38[] memory) {448 require(false, stub_error);449 dummy;450 return new Tuple38[](0);451>>>>>>> 09f69700... chore: generate stubs438 }452 }439453440 /// Set the collection access method.454 /// Set the collection access method.614}628}615629616/// @dev anonymous struct630/// @dev anonymous struct631<<<<<<< HEAD617struct Tuple41 {632struct Tuple41 {633=======634struct Tuple38 {635>>>>>>> 09f69700... chore: generate stubs618 CollectionPermissions field_0;636 CollectionPermissions field_0;619 bool field_1;637 bool field_1;620}638}621639622/// @dev anonymous struct640/// @dev anonymous struct641<<<<<<< HEAD623struct Tuple38 {642struct Tuple38 {643=======644struct Tuple35 {645>>>>>>> 09f69700... chore: generate stubs624 bool field_0;646 bool field_0;625 uint256[] field_1;647 uint256[] field_1;626}648}627649650<<<<<<< HEAD628/// @dev [`CollectionLimits`](up_data_structs::CollectionLimits) representation for EVM.651/// @dev [`CollectionLimits`](up_data_structs::CollectionLimits) representation for EVM.629enum CollectionLimits {652enum CollectionLimits {630 /// @dev How many tokens can a user have on one account.653 /// @dev How many tokens can a user have on one account.660 uint256 field_1;683 uint256 field_1;661}684}662685686=======687>>>>>>> 09f69700... chore: generate stubs663/// @dev the ERC-165 identifier for this interface is 0x5b5e139f688/// @dev the ERC-165 identifier for this interface is 0x5b5e139f664contract ERC721Metadata is Dummy, ERC165 {689contract ERC721Metadata is Dummy, ERC165 {665 // /// @notice A descriptive name for a collection of NFTs in this contract690 // /// @notice A descriptive name for a collection of NFTs in this contracttests/src/eth/abi/fungible.jsondiffbeforeafterboth241 },241 },242 { "internalType": "bool", "name": "field_1", "type": "bool" }242 { "internalType": "bool", "name": "field_1", "type": "bool" }243 ],243 ],244<<<<<<< HEAD244 "internalType": "struct Tuple29[]",245 "internalType": "struct Tuple29[]",246=======247 "internalType": "struct Tuple27[]",248>>>>>>> 09f69700... chore: generate stubs245 "name": "",249 "name": "",246 "type": "tuple[]"250 "type": "tuple[]"247 }251 }262 "type": "uint256[]"266 "type": "uint256[]"263 }267 }264 ],268 ],269<<<<<<< HEAD265 "internalType": "struct Tuple26",270 "internalType": "struct Tuple26",271=======272 "internalType": "struct Tuple24",273>>>>>>> 09f69700... chore: generate stubs266 "name": "",274 "name": "",267 "type": "tuple"275 "type": "tuple"268 }276 }tests/src/eth/abi/nonFungible.jsondiffbeforeafterboth271 },271 },272 { "internalType": "bool", "name": "field_1", "type": "bool" }272 { "internalType": "bool", "name": "field_1", "type": "bool" }273 ],273 ],274<<<<<<< HEAD274 "internalType": "struct Tuple42[]",275 "internalType": "struct Tuple42[]",276=======277 "internalType": "struct Tuple39[]",278>>>>>>> 09f69700... chore: generate stubs275 "name": "",279 "name": "",276 "type": "tuple[]"280 "type": "tuple[]"277 }281 }292 "type": "uint256[]"296 "type": "uint256[]"293 }297 }294 ],298 ],299<<<<<<< HEAD295 "internalType": "struct Tuple39",300 "internalType": "struct Tuple39",301=======302 "internalType": "struct Tuple36",303>>>>>>> 09f69700... chore: generate stubs296 "name": "",304 "name": "",297 "type": "tuple"305 "type": "tuple"298 }306 }tests/src/eth/abi/reFungible.jsondiffbeforeafterboth253 },253 },254 { "internalType": "bool", "name": "field_1", "type": "bool" }254 { "internalType": "bool", "name": "field_1", "type": "bool" }255 ],255 ],256<<<<<<< HEAD256 "internalType": "struct Tuple41[]",257 "internalType": "struct Tuple41[]",258=======259 "internalType": "struct Tuple38[]",260>>>>>>> 09f69700... chore: generate stubs257 "name": "",261 "name": "",258 "type": "tuple[]"262 "type": "tuple[]"259 }263 }274 "type": "uint256[]"278 "type": "uint256[]"275 }279 }276 ],280 ],281<<<<<<< HEAD277 "internalType": "struct Tuple38",282 "internalType": "struct Tuple38",283=======284 "internalType": "struct Tuple35",285>>>>>>> 09f69700... chore: generate stubs278 "name": "",286 "name": "",279 "type": "tuple"287 "type": "tuple"280 }288 }tests/src/eth/api/UniqueFungible.soldiffbeforeafterboth191 /// Returns nesting for a collection191 /// Returns nesting for a collection192 /// @dev EVM selector for this function is: 0x22d25bfe,192 /// @dev EVM selector for this function is: 0x22d25bfe,193 /// or in textual repr: collectionNestingRestrictedCollectionIds()193 /// or in textual repr: collectionNestingRestrictedCollectionIds()194<<<<<<< HEAD194 function collectionNestingRestrictedCollectionIds() external view returns (Tuple24 memory);195 function collectionNestingRestrictedCollectionIds() external view returns (Tuple24 memory);196=======197 function collectionNestingRestrictedCollectionIds() external view returns (Tuple22 memory);198>>>>>>> 09f69700... chore: generate stubs195199196 /// Returns permissions for a collection200 /// Returns permissions for a collection197 /// @dev EVM selector for this function is: 0x5b2eaf4b,201 /// @dev EVM selector for this function is: 0x5b2eaf4b,198 /// or in textual repr: collectionNestingPermissions()202 /// or in textual repr: collectionNestingPermissions()203<<<<<<< HEAD199 function collectionNestingPermissions() external view returns (Tuple27[] memory);204 function collectionNestingPermissions() external view returns (Tuple27[] memory);205=======206 function collectionNestingPermissions() external view returns (Tuple25[] memory);207>>>>>>> 09f69700... chore: generate stubs200208201 /// Set the collection access method.209 /// Set the collection access method.202 /// @param mode Access mode210 /// @param mode Access mode311}319}312320313/// @dev anonymous struct321/// @dev anonymous struct322<<<<<<< HEAD314struct Tuple27 {323struct Tuple27 {324=======325struct Tuple25 {326>>>>>>> 09f69700... chore: generate stubs315 CollectionPermissions field_0;327 CollectionPermissions field_0;316 bool field_1;328 bool field_1;317}329}322}334}323335324/// @dev anonymous struct336/// @dev anonymous struct337<<<<<<< HEAD325struct Tuple24 {338struct Tuple24 {339=======340struct Tuple22 {341>>>>>>> 09f69700... chore: generate stubs326 bool field_0;342 bool field_0;327 uint256[] field_1;343 uint256[] field_1;328}344}tests/src/eth/api/UniqueNFT.soldiffbeforeafterboth287 /// Returns nesting for a collection287 /// Returns nesting for a collection288 /// @dev EVM selector for this function is: 0x22d25bfe,288 /// @dev EVM selector for this function is: 0x22d25bfe,289 /// or in textual repr: collectionNestingRestrictedCollectionIds()289 /// or in textual repr: collectionNestingRestrictedCollectionIds()290<<<<<<< HEAD290 function collectionNestingRestrictedCollectionIds() external view returns (Tuple35 memory);291 function collectionNestingRestrictedCollectionIds() external view returns (Tuple35 memory);292=======293 function collectionNestingRestrictedCollectionIds() external view returns (Tuple32 memory);294>>>>>>> 09f69700... chore: generate stubs291295292 /// Returns permissions for a collection296 /// Returns permissions for a collection293 /// @dev EVM selector for this function is: 0x5b2eaf4b,297 /// @dev EVM selector for this function is: 0x5b2eaf4b,294 /// or in textual repr: collectionNestingPermissions()298 /// or in textual repr: collectionNestingPermissions()299<<<<<<< HEAD295 function collectionNestingPermissions() external view returns (Tuple38[] memory);300 function collectionNestingPermissions() external view returns (Tuple38[] memory);301=======302 function collectionNestingPermissions() external view returns (Tuple35[] memory);303>>>>>>> 09f69700... chore: generate stubs296304297 /// Set the collection access method.305 /// Set the collection access method.298 /// @param mode Access mode306 /// @param mode Access mode406 uint256 sub;414 uint256 sub;407}415}408416417/// @dev anonymous struct409<<<<<<< HEAD418<<<<<<< HEAD410/// @dev anonymous struct411struct Tuple38 {419struct Tuple38 {420=======421struct Tuple35 {422>>>>>>> 09f69700... chore: generate stubs412 CollectionPermissions field_0;423 CollectionPermissions field_0;413 bool field_1;424 bool field_1;414}425}419}430}420431421/// @dev anonymous struct432/// @dev anonymous struct433<<<<<<< HEAD422struct Tuple35 {434struct Tuple35 {435=======436struct Tuple32 {437>>>>>>> 09f69700... chore: generate stubs423 bool field_0;438 bool field_0;424 uint256[] field_1;439 uint256[] field_1;425}440}426441442<<<<<<< HEAD427/// @dev [`CollectionLimits`](up_data_structs::CollectionLimits) representation for EVM.443/// @dev [`CollectionLimits`](up_data_structs::CollectionLimits) representation for EVM.428enum CollectionLimits {444enum CollectionLimits {429 /// @dev How many tokens can a user have on one account.445 /// @dev How many tokens can a user have on one account.461477462=======478=======463>>>>>>> 0bf15e6f... fixed tests&tuple instead of struct, refactored `refungible` pallet479>>>>>>> 0bf15e6f... fixed tests&tuple instead of struct, refactored `refungible` pallet480=======481>>>>>>> 09f69700... chore: generate stubs464/// @title ERC-721 Non-Fungible Token Standard, optional metadata extension482/// @title ERC-721 Non-Fungible Token Standard, optional metadata extension465/// @dev See https://eips.ethereum.org/EIPS/eip-721483/// @dev See https://eips.ethereum.org/EIPS/eip-721466/// @dev the ERC-165 identifier for this interface is 0x5b5e139f484/// @dev the ERC-165 identifier for this interface is 0x5b5e139ftests/src/eth/api/UniqueRefungible.soldiffbeforeafterboth287 /// Returns nesting for a collection287 /// Returns nesting for a collection288 /// @dev EVM selector for this function is: 0x22d25bfe,288 /// @dev EVM selector for this function is: 0x22d25bfe,289 /// or in textual repr: collectionNestingRestrictedCollectionIds()289 /// or in textual repr: collectionNestingRestrictedCollectionIds()290<<<<<<< HEAD290 function collectionNestingRestrictedCollectionIds() external view returns (Tuple34 memory);291 function collectionNestingRestrictedCollectionIds() external view returns (Tuple34 memory);292=======293 function collectionNestingRestrictedCollectionIds() external view returns (Tuple31 memory);294>>>>>>> 09f69700... chore: generate stubs291295292 /// Returns permissions for a collection296 /// Returns permissions for a collection293 /// @dev EVM selector for this function is: 0x5b2eaf4b,297 /// @dev EVM selector for this function is: 0x5b2eaf4b,294 /// or in textual repr: collectionNestingPermissions()298 /// or in textual repr: collectionNestingPermissions()299<<<<<<< HEAD295 function collectionNestingPermissions() external view returns (Tuple37[] memory);300 function collectionNestingPermissions() external view returns (Tuple37[] memory);301=======302 function collectionNestingPermissions() external view returns (Tuple34[] memory);303>>>>>>> 09f69700... chore: generate stubs296304297 /// Set the collection access method.305 /// Set the collection access method.298 /// @param mode Access mode306 /// @param mode Access mode406 uint256 sub;414 uint256 sub;407}415}408416417/// @dev anonymous struct409<<<<<<< HEAD418<<<<<<< HEAD410/// @dev anonymous struct411struct Tuple37 {419struct Tuple37 {420=======421struct Tuple34 {422>>>>>>> 09f69700... chore: generate stubs412 CollectionPermissions field_0;423 CollectionPermissions field_0;413 bool field_1;424 bool field_1;414}425}419}430}420431421/// @dev anonymous struct432/// @dev anonymous struct433<<<<<<< HEAD422struct Tuple34 {434struct Tuple34 {435=======436struct Tuple31 {437>>>>>>> 09f69700... chore: generate stubs423 bool field_0;438 bool field_0;424 uint256[] field_1;439 uint256[] field_1;425}440}426441442<<<<<<< HEAD427/// @dev [`CollectionLimits`](up_data_structs::CollectionLimits) representation for EVM.443/// @dev [`CollectionLimits`](up_data_structs::CollectionLimits) representation for EVM.428enum CollectionLimits {444enum CollectionLimits {429 /// @dev How many tokens can a user have on one account.445 /// @dev How many tokens can a user have on one account.461477462=======478=======463>>>>>>> 0bf15e6f... fixed tests&tuple instead of struct, refactored `refungible` pallet479>>>>>>> 0bf15e6f... fixed tests&tuple instead of struct, refactored `refungible` pallet480=======481>>>>>>> 09f69700... chore: generate stubs464/// @dev the ERC-165 identifier for this interface is 0x5b5e139f482/// @dev the ERC-165 identifier for this interface is 0x5b5e139f465interface ERC721Metadata is Dummy, ERC165 {483interface ERC721Metadata is Dummy, ERC165 {466 // /// @notice A descriptive name for a collection of NFTs in this contract484 // /// @notice A descriptive name for a collection of NFTs in this contract