git.delta.rocks / unique-network / refs/commits / 296b31494b12

difftreelog

chore generate stubs

PraetorP2022-12-14parent: #3f089fc.patch.diff
in: master

9 files changed

modifiedpallets/fungible/src/stubs/UniqueFungible.soldiffbeforeafterboth
284 /// Returns nesting for a collection284 /// Returns nesting for a collection
285 /// @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<<<<<<< HEAD
287 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 stubs
291 }298 }
292299
293 /// Returns permissions for a collection300 /// Returns permissions for a collection
294 /// @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<<<<<<< HEAD
296 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 stubs
300 }314 }
301315
302 /// Set the collection access method.316 /// Set the collection access method.
476}490}
477491
478/// @dev anonymous struct492/// @dev anonymous struct
493<<<<<<< HEAD
479struct Tuple29 {494struct Tuple29 {
495=======
496struct Tuple27 {
497>>>>>>> 09f69700... chore: generate stubs
480 CollectionPermissions field_0;498 CollectionPermissions field_0;
481 bool field_1;499 bool field_1;
482}500}
483501
484/// @dev anonymous struct502/// @dev anonymous struct
503<<<<<<< HEAD
485struct Tuple26 {504struct Tuple26 {
505=======
506struct Tuple24 {
507>>>>>>> 09f69700... chore: generate stubs
486 bool field_0;508 bool field_0;
487 uint256[] field_1;509 uint256[] field_1;
488}510}
modifiedpallets/nonfungible/src/stubs/UniqueNFT.soldiffbeforeafterboth
--- a/pallets/nonfungible/src/stubs/UniqueNFT.sol
+++ b/pallets/nonfungible/src/stubs/UniqueNFT.sol
@@ -422,19 +422,33 @@
 	/// Returns nesting for a collection
 	/// @dev EVM selector for this function is: 0x22d25bfe,
 	///  or in textual repr: collectionNestingRestrictedCollectionIds()
+<<<<<<< HEAD
 	function collectionNestingRestrictedCollectionIds() public view returns (Tuple39 memory) {
 		require(false, stub_error);
 		dummy;
 		return Tuple39(false, new uint256[](0));
+=======
+	function collectionNestingRestrictedCollectionIds() public view returns (Tuple36 memory) {
+		require(false, stub_error);
+		dummy;
+		return Tuple36(false, new uint256[](0));
+>>>>>>> 09f69700... chore: generate stubs
 	}
 
 	/// Returns permissions for a collection
 	/// @dev EVM selector for this function is: 0x5b2eaf4b,
 	///  or in textual repr: collectionNestingPermissions()
+<<<<<<< HEAD
 	function collectionNestingPermissions() public view returns (Tuple42[] memory) {
 		require(false, stub_error);
 		dummy;
 		return new Tuple42[](0);
+=======
+	function collectionNestingPermissions() public view returns (Tuple39[] memory) {
+		require(false, stub_error);
+		dummy;
+		return new Tuple39[](0);
+>>>>>>> 09f69700... chore: generate stubs
 	}
 
 	/// Set the collection access method.
@@ -608,24 +622,32 @@
 	uint256 sub;
 }
 
-<<<<<<< HEAD
 enum CollectionPermissions {
 	CollectionAdmin,
 	TokenOwner
 }
 
 /// @dev anonymous struct
+<<<<<<< HEAD
 struct Tuple42 {
+=======
+struct Tuple39 {
+>>>>>>> 09f69700... chore: generate stubs
 	CollectionPermissions field_0;
 	bool field_1;
 }
 
 /// @dev anonymous struct
+<<<<<<< HEAD
 struct Tuple39 {
+=======
+struct Tuple36 {
+>>>>>>> 09f69700... chore: generate stubs
 	bool field_0;
 	uint256[] field_1;
 }
 
+<<<<<<< HEAD
 /// @dev [`CollectionLimits`](up_data_structs::CollectionLimits) representation for EVM.
 enum CollectionLimits {
 	/// @dev How many tokens can a user have on one account.
@@ -663,6 +685,8 @@
 
 =======
 >>>>>>> 0bf15e6f... fixed tests&tuple instead of struct, refactored `refungible` pallet
+=======
+>>>>>>> 09f69700... chore: generate stubs
 /// @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 /// @dev See https://eips.ethereum.org/EIPS/eip-721
 /// @dev the ERC-165 identifier for this interface is 0x5b5e139f
modifiedpallets/refungible/src/stubs/UniqueRefungible.soldiffbeforeafterboth
--- a/pallets/refungible/src/stubs/UniqueRefungible.sol
+++ b/pallets/refungible/src/stubs/UniqueRefungible.sol
@@ -422,19 +422,33 @@
 	/// Returns nesting for a collection
 	/// @dev EVM selector for this function is: 0x22d25bfe,
 	///  or in textual repr: collectionNestingRestrictedCollectionIds()
+<<<<<<< HEAD
 	function collectionNestingRestrictedCollectionIds() public view returns (Tuple38 memory) {
 		require(false, stub_error);
 		dummy;
 		return Tuple38(false, new uint256[](0));
+=======
+	function collectionNestingRestrictedCollectionIds() public view returns (Tuple35 memory) {
+		require(false, stub_error);
+		dummy;
+		return Tuple35(false, new uint256[](0));
+>>>>>>> 09f69700... chore: generate stubs
 	}
 
 	/// Returns permissions for a collection
 	/// @dev EVM selector for this function is: 0x5b2eaf4b,
 	///  or in textual repr: collectionNestingPermissions()
+<<<<<<< HEAD
 	function collectionNestingPermissions() public view returns (Tuple41[] memory) {
 		require(false, stub_error);
 		dummy;
 		return new Tuple41[](0);
+=======
+	function collectionNestingPermissions() public view returns (Tuple38[] memory) {
+		require(false, stub_error);
+		dummy;
+		return new Tuple38[](0);
+>>>>>>> 09f69700... chore: generate stubs
 	}
 
 	/// Set the collection access method.
@@ -614,17 +628,26 @@
 }
 
 /// @dev anonymous struct
+<<<<<<< HEAD
 struct Tuple41 {
+=======
+struct Tuple38 {
+>>>>>>> 09f69700... chore: generate stubs
 	CollectionPermissions field_0;
 	bool field_1;
 }
 
 /// @dev anonymous struct
+<<<<<<< HEAD
 struct Tuple38 {
+=======
+struct Tuple35 {
+>>>>>>> 09f69700... chore: generate stubs
 	bool field_0;
 	uint256[] field_1;
 }
 
+<<<<<<< HEAD
 /// @dev [`CollectionLimits`](up_data_structs::CollectionLimits) representation for EVM.
 enum CollectionLimits {
 	/// @dev How many tokens can a user have on one account.
@@ -660,6 +683,8 @@
 	uint256 field_1;
 }
 
+=======
+>>>>>>> 09f69700... chore: generate stubs
 /// @dev the ERC-165 identifier for this interface is 0x5b5e139f
 contract ERC721Metadata is Dummy, ERC165 {
 	// /// @notice A descriptive name for a collection of NFTs in this contract
modifiedtests/src/eth/abi/fungible.jsondiffbeforeafterboth
--- a/tests/src/eth/abi/fungible.json
+++ b/tests/src/eth/abi/fungible.json
@@ -241,7 +241,11 @@
           },
           { "internalType": "bool", "name": "field_1", "type": "bool" }
         ],
+<<<<<<< HEAD
         "internalType": "struct Tuple29[]",
+=======
+        "internalType": "struct Tuple27[]",
+>>>>>>> 09f69700... chore: generate stubs
         "name": "",
         "type": "tuple[]"
       }
@@ -262,7 +266,11 @@
             "type": "uint256[]"
           }
         ],
+<<<<<<< HEAD
         "internalType": "struct Tuple26",
+=======
+        "internalType": "struct Tuple24",
+>>>>>>> 09f69700... chore: generate stubs
         "name": "",
         "type": "tuple"
       }
modifiedtests/src/eth/abi/nonFungible.jsondiffbeforeafterboth
--- a/tests/src/eth/abi/nonFungible.json
+++ b/tests/src/eth/abi/nonFungible.json
@@ -271,7 +271,11 @@
           },
           { "internalType": "bool", "name": "field_1", "type": "bool" }
         ],
+<<<<<<< HEAD
         "internalType": "struct Tuple42[]",
+=======
+        "internalType": "struct Tuple39[]",
+>>>>>>> 09f69700... chore: generate stubs
         "name": "",
         "type": "tuple[]"
       }
@@ -292,7 +296,11 @@
             "type": "uint256[]"
           }
         ],
+<<<<<<< HEAD
         "internalType": "struct Tuple39",
+=======
+        "internalType": "struct Tuple36",
+>>>>>>> 09f69700... chore: generate stubs
         "name": "",
         "type": "tuple"
       }
modifiedtests/src/eth/abi/reFungible.jsondiffbeforeafterboth
--- a/tests/src/eth/abi/reFungible.json
+++ b/tests/src/eth/abi/reFungible.json
@@ -253,7 +253,11 @@
           },
           { "internalType": "bool", "name": "field_1", "type": "bool" }
         ],
+<<<<<<< HEAD
         "internalType": "struct Tuple41[]",
+=======
+        "internalType": "struct Tuple38[]",
+>>>>>>> 09f69700... chore: generate stubs
         "name": "",
         "type": "tuple[]"
       }
@@ -274,7 +278,11 @@
             "type": "uint256[]"
           }
         ],
+<<<<<<< HEAD
         "internalType": "struct Tuple38",
+=======
+        "internalType": "struct Tuple35",
+>>>>>>> 09f69700... chore: generate stubs
         "name": "",
         "type": "tuple"
       }
modifiedtests/src/eth/api/UniqueFungible.soldiffbeforeafterboth
--- a/tests/src/eth/api/UniqueFungible.sol
+++ b/tests/src/eth/api/UniqueFungible.sol
@@ -191,12 +191,20 @@
 	/// Returns nesting for a collection
 	/// @dev EVM selector for this function is: 0x22d25bfe,
 	///  or in textual repr: collectionNestingRestrictedCollectionIds()
+<<<<<<< HEAD
 	function collectionNestingRestrictedCollectionIds() external view returns (Tuple24 memory);
+=======
+	function collectionNestingRestrictedCollectionIds() external view returns (Tuple22 memory);
+>>>>>>> 09f69700... chore: generate stubs
 
 	/// Returns permissions for a collection
 	/// @dev EVM selector for this function is: 0x5b2eaf4b,
 	///  or in textual repr: collectionNestingPermissions()
+<<<<<<< HEAD
 	function collectionNestingPermissions() external view returns (Tuple27[] memory);
+=======
+	function collectionNestingPermissions() external view returns (Tuple25[] memory);
+>>>>>>> 09f69700... chore: generate stubs
 
 	/// Set the collection access method.
 	/// @param mode Access mode
@@ -311,7 +319,11 @@
 }
 
 /// @dev anonymous struct
+<<<<<<< HEAD
 struct Tuple27 {
+=======
+struct Tuple25 {
+>>>>>>> 09f69700... chore: generate stubs
 	CollectionPermissions field_0;
 	bool field_1;
 }
@@ -322,7 +334,11 @@
 }
 
 /// @dev anonymous struct
+<<<<<<< HEAD
 struct Tuple24 {
+=======
+struct Tuple22 {
+>>>>>>> 09f69700... chore: generate stubs
 	bool field_0;
 	uint256[] field_1;
 }
modifiedtests/src/eth/api/UniqueNFT.soldiffbeforeafterboth
--- a/tests/src/eth/api/UniqueNFT.sol
+++ b/tests/src/eth/api/UniqueNFT.sol
@@ -287,12 +287,20 @@
 	/// Returns nesting for a collection
 	/// @dev EVM selector for this function is: 0x22d25bfe,
 	///  or in textual repr: collectionNestingRestrictedCollectionIds()
+<<<<<<< HEAD
 	function collectionNestingRestrictedCollectionIds() external view returns (Tuple35 memory);
+=======
+	function collectionNestingRestrictedCollectionIds() external view returns (Tuple32 memory);
+>>>>>>> 09f69700... chore: generate stubs
 
 	/// Returns permissions for a collection
 	/// @dev EVM selector for this function is: 0x5b2eaf4b,
 	///  or in textual repr: collectionNestingPermissions()
+<<<<<<< HEAD
 	function collectionNestingPermissions() external view returns (Tuple38[] memory);
+=======
+	function collectionNestingPermissions() external view returns (Tuple35[] memory);
+>>>>>>> 09f69700... chore: generate stubs
 
 	/// Set the collection access method.
 	/// @param mode Access mode
@@ -406,9 +414,12 @@
 	uint256 sub;
 }
 
+/// @dev anonymous struct
 <<<<<<< HEAD
-/// @dev anonymous struct
 struct Tuple38 {
+=======
+struct Tuple35 {
+>>>>>>> 09f69700... chore: generate stubs
 	CollectionPermissions field_0;
 	bool field_1;
 }
@@ -419,11 +430,16 @@
 }
 
 /// @dev anonymous struct
+<<<<<<< HEAD
 struct Tuple35 {
+=======
+struct Tuple32 {
+>>>>>>> 09f69700... chore: generate stubs
 	bool field_0;
 	uint256[] field_1;
 }
 
+<<<<<<< HEAD
 /// @dev [`CollectionLimits`](up_data_structs::CollectionLimits) representation for EVM.
 enum CollectionLimits {
 	/// @dev How many tokens can a user have on one account.
@@ -461,6 +477,8 @@
 
 =======
 >>>>>>> 0bf15e6f... fixed tests&tuple instead of struct, refactored `refungible` pallet
+=======
+>>>>>>> 09f69700... chore: generate stubs
 /// @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 /// @dev See https://eips.ethereum.org/EIPS/eip-721
 /// @dev the ERC-165 identifier for this interface is 0x5b5e139f
modifiedtests/src/eth/api/UniqueRefungible.soldiffbeforeafterboth
--- a/tests/src/eth/api/UniqueRefungible.sol
+++ b/tests/src/eth/api/UniqueRefungible.sol
@@ -287,12 +287,20 @@
 	/// Returns nesting for a collection
 	/// @dev EVM selector for this function is: 0x22d25bfe,
 	///  or in textual repr: collectionNestingRestrictedCollectionIds()
+<<<<<<< HEAD
 	function collectionNestingRestrictedCollectionIds() external view returns (Tuple34 memory);
+=======
+	function collectionNestingRestrictedCollectionIds() external view returns (Tuple31 memory);
+>>>>>>> 09f69700... chore: generate stubs
 
 	/// Returns permissions for a collection
 	/// @dev EVM selector for this function is: 0x5b2eaf4b,
 	///  or in textual repr: collectionNestingPermissions()
+<<<<<<< HEAD
 	function collectionNestingPermissions() external view returns (Tuple37[] memory);
+=======
+	function collectionNestingPermissions() external view returns (Tuple34[] memory);
+>>>>>>> 09f69700... chore: generate stubs
 
 	/// Set the collection access method.
 	/// @param mode Access mode
@@ -406,9 +414,12 @@
 	uint256 sub;
 }
 
+/// @dev anonymous struct
 <<<<<<< HEAD
-/// @dev anonymous struct
 struct Tuple37 {
+=======
+struct Tuple34 {
+>>>>>>> 09f69700... chore: generate stubs
 	CollectionPermissions field_0;
 	bool field_1;
 }
@@ -419,11 +430,16 @@
 }
 
 /// @dev anonymous struct
+<<<<<<< HEAD
 struct Tuple34 {
+=======
+struct Tuple31 {
+>>>>>>> 09f69700... chore: generate stubs
 	bool field_0;
 	uint256[] field_1;
 }
 
+<<<<<<< HEAD
 /// @dev [`CollectionLimits`](up_data_structs::CollectionLimits) representation for EVM.
 enum CollectionLimits {
 	/// @dev How many tokens can a user have on one account.
@@ -461,6 +477,8 @@
 
 =======
 >>>>>>> 0bf15e6f... fixed tests&tuple instead of struct, refactored `refungible` pallet
+=======
+>>>>>>> 09f69700... chore: generate stubs
 /// @dev the ERC-165 identifier for this interface is 0x5b5e139f
 interface ERC721Metadata is Dummy, ERC165 {
 	// /// @notice A descriptive name for a collection of NFTs in this contract