git.delta.rocks / unique-network / refs/commits / 6b71957232bb

difftreelog

misc: update stubs

Trubnikov Sergey2022-08-25parent: #40371d4.patch.diff
in: master

14 files changed

modifiedpallets/evm-contract-helpers/src/stubs/ContractHelpers.soldiffbeforeafterboth
--- a/pallets/evm-contract-helpers/src/stubs/ContractHelpers.sol
+++ b/pallets/evm-contract-helpers/src/stubs/ContractHelpers.sol
@@ -21,20 +21,8 @@
 	}
 }
 
-<<<<<<< HEAD
-<<<<<<< HEAD
 /// @title Magic contract, which allows users to reconfigure other contracts
 /// @dev the ERC-165 identifier for this interface is 0xd77fab70
-=======
-<<<<<<< HEAD
-// Selector: 6073d917
-=======
-// Selector: 06fc42e9
->>>>>>> path: add stubs
->>>>>>> path: add stubs
-=======
-// Selector: 6073d917
->>>>>>> misc: update stubs
 contract ContractHelpers is Dummy, ERC165 {
 	/// Get user, which deployed specified contract
 	/// @dev May return zero address in case if contract is deployed
@@ -56,24 +44,11 @@
 		return 0x0000000000000000000000000000000000000000;
 	}
 
-<<<<<<< HEAD
-<<<<<<< HEAD
 	/// Set sponsor.
 	/// @param contractAddress Contract for which a sponsor is being established.
 	/// @param sponsor User address who set as pending sponsor.
 	/// @dev EVM selector for this function is: 0xf01fba93,
 	///  or in textual repr: setSponsor(address,address)
-=======
-<<<<<<< HEAD
-=======
->>>>>>> misc: update stubs
-	// Set sponsor.
-	//
-	// @param contract_address Contract for which a sponsor is being established.
-	// @param sponsor User address who set as pending sponsor.
-	//
-	// Selector: setSponsor(address,address) f01fba93
->>>>>>> path: add stubs
 	function setSponsor(address contractAddress, address sponsor) public {
 		require(false, stub_error);
 		contractAddress;
@@ -81,46 +56,22 @@
 		dummy = 0;
 	}
 
-<<<<<<< HEAD
-<<<<<<< HEAD
 	/// Set contract as self sponsored.
 	///
 	/// @param contractAddress Contract for which a self sponsoring is being enabled.
 	/// @dev EVM selector for this function is: 0x89f7d9ae,
 	///  or in textual repr: selfSponsoredEnable(address)
-=======
-<<<<<<< HEAD
-=======
->>>>>>> misc: update stubs
-	// Set contract as self sponsored.
-	//
-	// @param contract_address Contract for which a self sponsoring is being enabled.
-	//
-	// Selector: selfSponsoredEnable(address) 89f7d9ae
->>>>>>> path: add stubs
 	function selfSponsoredEnable(address contractAddress) public {
 		require(false, stub_error);
 		contractAddress;
 		dummy = 0;
 	}
 
-<<<<<<< HEAD
-<<<<<<< HEAD
 	/// Remove sponsor.
 	///
 	/// @param contractAddress Contract for which a sponsorship is being removed.
 	/// @dev EVM selector for this function is: 0xef784250,
 	///  or in textual repr: removeSponsor(address)
-=======
-<<<<<<< HEAD
-=======
->>>>>>> misc: update stubs
-	// Remove sponsor.
-	//
-	// @param contract_address Contract for which a sponsorship is being removed.
-	//
-	// Selector: removeSponsor(address) ef784250
->>>>>>> path: add stubs
 	function removeSponsor(address contractAddress) public {
 		require(false, stub_error);
 		contractAddress;
@@ -170,25 +121,12 @@
 		return false;
 	}
 
-<<<<<<< HEAD
-<<<<<<< HEAD
 	/// Check tat contract has pending sponsor.
 	///
 	/// @param contractAddress The contract for which the presence of a pending sponsor is checked.
 	/// @return **true** if contract has pending sponsor.
 	/// @dev EVM selector for this function is: 0x39b9b242,
 	///  or in textual repr: hasPendingSponsor(address)
-=======
-<<<<<<< HEAD
-=======
->>>>>>> misc: update stubs
-	// Check tat contract has pending sponsor.
-	//
-	// @param contract_address The contract for which the presence of a pending sponsor is checked.
-	// @return **true** if contract has pending sponsor.
-	//
-	// Selector: hasPendingSponsor(address) 39b9b242
->>>>>>> path: add stubs
 	function hasPendingSponsor(address contractAddress)
 		public
 		view
modifiedpallets/fungible/src/stubs/UniqueFungible.rawdiffbeforeafterboth

binary blob — no preview

modifiedpallets/fungible/src/stubs/UniqueFungible.soldiffbeforeafterboth
before · pallets/fungible/src/stubs/UniqueFungible.sol
1// SPDX-License-Identifier: OTHER2// This code is automatically generated34pragma solidity >=0.8.0 <0.9.0;56<<<<<<< HEAD7/// @dev common stubs holder8=======9// Anonymous struct10struct Tuple0 {11	address field_0;12	uint256 field_1;13}1415// Common stubs holder16>>>>>>> misk: Update stubs17contract Dummy {18	uint8 dummy;19	string stub_error = "this contract is implemented in native";20}2122contract ERC165 is Dummy {23	function supportsInterface(bytes4 interfaceID)24		external25		view26		returns (bool)27	{28		require(false, stub_error);29		interfaceID;30		return true;31	}32}3334<<<<<<< HEAD35/// @title A contract that allows you to work with collections.36/// @dev the ERC-165 identifier for this interface is 0xffe4da2337=======38// Inline39contract ERC20Events {40	event Transfer(address indexed from, address indexed to, uint256 value);41	event Approval(42		address indexed owner,43		address indexed spender,44		uint256 value45	);46}4748// Selector: 79cc679049contract ERC20UniqueExtensions is Dummy, ERC165 {50	// Selector: burnFrom(address,uint256) 79cc679051	function burnFrom(address from, uint256 amount) public returns (bool) {52		require(false, stub_error);53		from;54		amount;55		dummy = 0;56		return false;57	}58}5960// Selector: 942e8b2261contract ERC20 is Dummy, ERC165, ERC20Events {62	// Selector: name() 06fdde0363	function name() public view returns (string memory) {64		require(false, stub_error);65		dummy;66		return "";67	}6869	// Selector: symbol() 95d89b4170	function symbol() public view returns (string memory) {71		require(false, stub_error);72		dummy;73		return "";74	}7576	// Selector: totalSupply() 18160ddd77	function totalSupply() public view returns (uint256) {78		require(false, stub_error);79		dummy;80		return 0;81	}8283	// Selector: decimals() 313ce56784	function decimals() public view returns (uint8) {85		require(false, stub_error);86		dummy;87		return 0;88	}8990	// Selector: balanceOf(address) 70a0823191	function balanceOf(address owner) public view returns (uint256) {92		require(false, stub_error);93		owner;94		dummy;95		return 0;96	}9798	// Selector: transfer(address,uint256) a9059cbb99	function transfer(address to, uint256 amount) public returns (bool) {100		require(false, stub_error);101		to;102		amount;103		dummy = 0;104		return false;105	}106107	// Selector: transferFrom(address,address,uint256) 23b872dd108	function transferFrom(109		address from,110		address to,111		uint256 amount112	) public returns (bool) {113		require(false, stub_error);114		from;115		to;116		amount;117		dummy = 0;118		return false;119	}120121	// Selector: approve(address,uint256) 095ea7b3122	function approve(address spender, uint256 amount) public returns (bool) {123		require(false, stub_error);124		spender;125		amount;126		dummy = 0;127		return false;128	}129130	// Selector: allowance(address,address) dd62ed3e131	function allowance(address owner, address spender)132		public133		view134		returns (uint256)135	{136		require(false, stub_error);137		owner;138		spender;139		dummy;140		return 0;141	}142}143144<<<<<<< HEAD145// Selector: ffe4da23146=======147// Selector: 765e2fae148>>>>>>> misk: Update stubs149>>>>>>> misk: Update stubs150=======151// Selector: e54be640152>>>>>>> misc: update stubs153contract Collection is Dummy, ERC165 {154	/// Set collection property.155	///156	/// @param key Property key.157	/// @param value Propery value.158	/// @dev EVM selector for this function is: 0x2f073f66,159	///  or in textual repr: setCollectionProperty(string,bytes)160	function setCollectionProperty(string memory key, bytes memory value)161		public162	{163		require(false, stub_error);164		key;165		value;166		dummy = 0;167	}168169	/// Delete collection property.170	///171	/// @param key Property key.172	/// @dev EVM selector for this function is: 0x7b7debce,173	///  or in textual repr: deleteCollectionProperty(string)174	function deleteCollectionProperty(string memory key) public {175		require(false, stub_error);176		key;177		dummy = 0;178	}179180	/// Get collection property.181	///182	/// @dev Throws error if key not found.183	///184	/// @param key Property key.185	/// @return bytes The property corresponding to the key.186	/// @dev EVM selector for this function is: 0xcf24fd6d,187	///  or in textual repr: collectionProperty(string)188	function collectionProperty(string memory key)189		public190		view191		returns (bytes memory)192	{193		require(false, stub_error);194		key;195		dummy;196		return hex"";197	}198199	/// Set the sponsor of the collection.200	///201	/// @dev In order for sponsorship to work, it must be confirmed on behalf of the sponsor.202	///203	/// @param sponsor Address of the sponsor from whose account funds will be debited for operations with the contract.204	/// @dev EVM selector for this function is: 0x7623402e,205	///  or in textual repr: setCollectionSponsor(address)206	function setCollectionSponsor(address sponsor) public {207		require(false, stub_error);208		sponsor;209		dummy = 0;210	}211212<<<<<<< HEAD213	/// Collection sponsorship confirmation.214	///215	/// @dev After setting the sponsor for the collection, it must be confirmed with this function.216	/// @dev EVM selector for this function is: 0x3c50e97a,217	///  or in textual repr: confirmCollectionSponsorship()218=======219	// Set the substrate sponsor of the collection.220	//221	// @dev In order for sponsorship to work, it must be confirmed on behalf of the sponsor.222	//223	// @param sponsor Substrate address of the sponsor from whose account funds will be debited for operations with the contract.224	//225	// Selector: setCollectionSponsorSubstrate(uint256) c74d6751226	function setCollectionSponsorSubstrate(uint256 sponsor) public {227		require(false, stub_error);228		sponsor;229		dummy = 0;230	}231232	// Selector: hasCollectionPendingSponsor() 058ac185233	function hasCollectionPendingSponsor() public view returns (bool) {234		require(false, stub_error);235		dummy;236		return false;237	}238239	// Collection sponsorship confirmation.240	//241	// @dev After setting the sponsor for the collection, it must be confirmed with this function.242	//243	// Selector: confirmCollectionSponsorship() 3c50e97a244>>>>>>> misk: Update stubs245	function confirmCollectionSponsorship() public {246		require(false, stub_error);247		dummy = 0;248	}249250<<<<<<< HEAD251	/// Set limits for the collection.252	/// @dev Throws error if limit not found.253	/// @param limit Name of the limit. Valid names:254	/// 	"accountTokenOwnershipLimit",255	/// 	"sponsoredDataSize",256	/// 	"sponsoredDataRateLimit",257	/// 	"tokenLimit",258	/// 	"sponsorTransferTimeout",259	/// 	"sponsorApproveTimeout"260	/// @param value Value of the limit.261	/// @dev EVM selector for this function is: 0x6a3841db,262	///  or in textual repr: setCollectionLimit(string,uint32)263=======264	// Remove collection sponsor.265	//266	// Selector: removeCollectionSponsor() 6e0326a3267	function removeCollectionSponsor() public {268		require(false, stub_error);269		dummy = 0;270	}271272	// Get current sponsor.273	//274	// @return Tuble with sponsor address and his substrate mirror. If there is no confirmed sponsor error "Contract has no sponsor" throw.275	//276	// Selector: getCollectionSponsor() b66bbc14277	function getCollectionSponsor() public view returns (Tuple0 memory) {278		require(false, stub_error);279		dummy;280		return Tuple0(0x0000000000000000000000000000000000000000, 0);281	}282283	// Set limits for the collection.284	// @dev Throws error if limit not found.285	// @param limit Name of the limit. Valid names:286	// 	"accountTokenOwnershipLimit",287	// 	"sponsoredDataSize",288	// 	"sponsoredDataRateLimit",289	// 	"tokenLimit",290	// 	"sponsorTransferTimeout",291	// 	"sponsorApproveTimeout"292	// @param value Value of the limit.293	//294	// Selector: setCollectionLimit(string,uint32) 6a3841db295>>>>>>> misk: Update stubs296	function setCollectionLimit(string memory limit, uint32 value) public {297		require(false, stub_error);298		limit;299		value;300		dummy = 0;301	}302303	/// Set limits for the collection.304	/// @dev Throws error if limit not found.305	/// @param limit Name of the limit. Valid names:306	/// 	"ownerCanTransfer",307	/// 	"ownerCanDestroy",308	/// 	"transfersEnabled"309	/// @param value Value of the limit.310	/// @dev EVM selector for this function is: 0x993b7fba,311	///  or in textual repr: setCollectionLimit(string,bool)312	function setCollectionLimit(string memory limit, bool value) public {313		require(false, stub_error);314		limit;315		value;316		dummy = 0;317	}318319	/// Get contract address.320	/// @dev EVM selector for this function is: 0xf6b4dfb4,321	///  or in textual repr: contractAddress()322	function contractAddress() public view returns (address) {323		require(false, stub_error);324		dummy;325		return 0x0000000000000000000000000000000000000000;326	}327328	/// Add collection admin by substrate address.329	/// @param newAdmin Substrate administrator address.330	/// @dev EVM selector for this function is: 0x5730062b,331	///  or in textual repr: addCollectionAdminSubstrate(uint256)332	function addCollectionAdminSubstrate(uint256 newAdmin) public {333		require(false, stub_error);334		newAdmin;335		dummy = 0;336	}337338	/// Remove collection admin by substrate address.339	/// @param admin Substrate administrator address.340	/// @dev EVM selector for this function is: 0x4048fcf9,341	///  or in textual repr: removeCollectionAdminSubstrate(uint256)342	function removeCollectionAdminSubstrate(uint256 admin) public {343		require(false, stub_error);344		admin;345		dummy = 0;346	}347348	/// Add collection admin.349	/// @param newAdmin Address of the added administrator.350	/// @dev EVM selector for this function is: 0x92e462c7,351	///  or in textual repr: addCollectionAdmin(address)352	function addCollectionAdmin(address newAdmin) public {353		require(false, stub_error);354		newAdmin;355		dummy = 0;356	}357358	/// Remove collection admin.359	///360	/// @param admin Address of the removed administrator.361	/// @dev EVM selector for this function is: 0xfafd7b42,362	///  or in textual repr: removeCollectionAdmin(address)363	function removeCollectionAdmin(address admin) public {364		require(false, stub_error);365		admin;366		dummy = 0;367	}368369	/// Toggle accessibility of collection nesting.370	///371	/// @param enable If "true" degenerates to nesting: 'Owner' else to nesting: 'Disabled'372	/// @dev EVM selector for this function is: 0x112d4586,373	///  or in textual repr: setCollectionNesting(bool)374	function setCollectionNesting(bool enable) public {375		require(false, stub_error);376		enable;377		dummy = 0;378	}379380	/// Toggle accessibility of collection nesting.381	///382	/// @param enable If "true" degenerates to nesting: {OwnerRestricted: [1, 2, 3]} else to nesting: 'Disabled'383	/// @param collections Addresses of collections that will be available for nesting.384	/// @dev EVM selector for this function is: 0x64872396,385	///  or in textual repr: setCollectionNesting(bool,address[])386	function setCollectionNesting(bool enable, address[] memory collections)387		public388	{389		require(false, stub_error);390		enable;391		collections;392		dummy = 0;393	}394395	/// Set the collection access method.396	/// @param mode Access mode397	/// 	0 for Normal398	/// 	1 for AllowList399	/// @dev EVM selector for this function is: 0x41835d4c,400	///  or in textual repr: setCollectionAccess(uint8)401	function setCollectionAccess(uint8 mode) public {402		require(false, stub_error);403		mode;404		dummy = 0;405	}406407	/// Add the user to the allowed list.408	///409	/// @param user Address of a trusted user.410	/// @dev EVM selector for this function is: 0x67844fe6,411	///  or in textual repr: addToCollectionAllowList(address)412	function addToCollectionAllowList(address user) public {413		require(false, stub_error);414		user;415		dummy = 0;416	}417418	/// Remove the user from the allowed list.419	///420	/// @param user Address of a removed user.421	/// @dev EVM selector for this function is: 0x85c51acb,422	///  or in textual repr: removeFromCollectionAllowList(address)423	function removeFromCollectionAllowList(address user) public {424		require(false, stub_error);425		user;426		dummy = 0;427	}428429	/// Switch permission for minting.430	///431	/// @param mode Enable if "true".432	/// @dev EVM selector for this function is: 0x00018e84,433	///  or in textual repr: setCollectionMintMode(bool)434	function setCollectionMintMode(bool mode) public {435		require(false, stub_error);436		mode;437		dummy = 0;438	}439440	/// Check that account is the owner or admin of the collection441	///442	/// @param user account to verify443	/// @return "true" if account is the owner or admin444	/// @dev EVM selector for this function is: 0x9811b0c7,445	///  or in textual repr: isOwnerOrAdmin(address)446	function isOwnerOrAdmin(address user) public view returns (bool) {447		require(false, stub_error);448		user;449		dummy;450		return false;451	}452453	/// Check that substrate account is the owner or admin of the collection454	///455	/// @param user account to verify456	/// @return "true" if account is the owner or admin457	/// @dev EVM selector for this function is: 0x68910e00,458	///  or in textual repr: isOwnerOrAdminSubstrate(uint256)459	function isOwnerOrAdminSubstrate(uint256 user) public view returns (bool) {460		require(false, stub_error);461		user;462		dummy;463		return false;464	}465466	/// Returns collection type467	///468	/// @return `Fungible` or `NFT` or `ReFungible`469	/// @dev EVM selector for this function is: 0xd34b55b8,470	///  or in textual repr: uniqueCollectionType()471	function uniqueCollectionType() public returns (string memory) {472		require(false, stub_error);473		dummy = 0;474		return "";475	}476477	/// Changes collection owner to another account478	///479	/// @dev Owner can be changed only by current owner480	/// @param newOwner new owner account481	/// @dev EVM selector for this function is: 0x13af4035,482	///  or in textual repr: setOwner(address)483	function setOwner(address newOwner) public {484		require(false, stub_error);485		newOwner;486		dummy = 0;487	}488489	/// Changes collection owner to another substrate account490	///491	/// @dev Owner can be changed only by current owner492	/// @param newOwner new owner substrate account493	/// @dev EVM selector for this function is: 0xb212138f,494	///  or in textual repr: setOwnerSubstrate(uint256)495	function setOwnerSubstrate(uint256 newOwner) public {496		require(false, stub_error);497		newOwner;498		dummy = 0;499	}500}501502/// @dev the ERC-165 identifier for this interface is 0x79cc6790503contract ERC20UniqueExtensions is Dummy, ERC165 {504	/// @dev EVM selector for this function is: 0x79cc6790,505	///  or in textual repr: burnFrom(address,uint256)506	function burnFrom(address from, uint256 amount) public returns (bool) {507		require(false, stub_error);508		from;509		amount;510		dummy = 0;511		return false;512	}513}514515/// @dev inlined interface516contract ERC20Events {517	event Transfer(address indexed from, address indexed to, uint256 value);518	event Approval(519		address indexed owner,520		address indexed spender,521		uint256 value522	);523}524525/// @dev the ERC-165 identifier for this interface is 0x942e8b22526contract ERC20 is Dummy, ERC165, ERC20Events {527	/// @dev EVM selector for this function is: 0x06fdde03,528	///  or in textual repr: name()529	function name() public view returns (string memory) {530		require(false, stub_error);531		dummy;532		return "";533	}534535	/// @dev EVM selector for this function is: 0x95d89b41,536	///  or in textual repr: symbol()537	function symbol() public view returns (string memory) {538		require(false, stub_error);539		dummy;540		return "";541	}542543	/// @dev EVM selector for this function is: 0x18160ddd,544	///  or in textual repr: totalSupply()545	function totalSupply() public view returns (uint256) {546		require(false, stub_error);547		dummy;548		return 0;549	}550551	/// @dev EVM selector for this function is: 0x313ce567,552	///  or in textual repr: decimals()553	function decimals() public view returns (uint8) {554		require(false, stub_error);555		dummy;556		return 0;557	}558559	/// @dev EVM selector for this function is: 0x70a08231,560	///  or in textual repr: balanceOf(address)561	function balanceOf(address owner) public view returns (uint256) {562		require(false, stub_error);563		owner;564		dummy;565		return 0;566	}567568	/// @dev EVM selector for this function is: 0xa9059cbb,569	///  or in textual repr: transfer(address,uint256)570	function transfer(address to, uint256 amount) public returns (bool) {571		require(false, stub_error);572		to;573		amount;574		dummy = 0;575		return false;576	}577578	/// @dev EVM selector for this function is: 0x23b872dd,579	///  or in textual repr: transferFrom(address,address,uint256)580	function transferFrom(581		address from,582		address to,583		uint256 amount584	) public returns (bool) {585		require(false, stub_error);586		from;587		to;588		amount;589		dummy = 0;590		return false;591	}592593	/// @dev EVM selector for this function is: 0x095ea7b3,594	///  or in textual repr: approve(address,uint256)595	function approve(address spender, uint256 amount) public returns (bool) {596		require(false, stub_error);597		spender;598		amount;599		dummy = 0;600		return false;601	}602603	/// @dev EVM selector for this function is: 0xdd62ed3e,604	///  or in textual repr: allowance(address,address)605	function allowance(address owner, address spender)606		public607		view608		returns (uint256)609	{610		require(false, stub_error);611		owner;612		spender;613		dummy;614		return 0;615	}616}617618contract UniqueFungible is619	Dummy,620	ERC165,621	ERC20,622	ERC20UniqueExtensions,623	Collection624{}
after · pallets/fungible/src/stubs/UniqueFungible.sol
1// SPDX-License-Identifier: OTHER2// This code is automatically generated34pragma solidity >=0.8.0 <0.9.0;56/// @dev common stubs holder7contract Dummy {8	uint8 dummy;9	string stub_error = "this contract is implemented in native";10}1112contract ERC165 is Dummy {13	function supportsInterface(bytes4 interfaceID)14		external15		view16		returns (bool)17	{18		require(false, stub_error);19		interfaceID;20		return true;21	}22}2324/// @title A contract that allows you to work with collections.25/// @dev the ERC-165 identifier for this interface is 0xe54be64026contract Collection is Dummy, ERC165 {27	/// Set collection property.28	///29	/// @param key Property key.30	/// @param value Propery value.31	/// @dev EVM selector for this function is: 0x2f073f66,32	///  or in textual repr: setCollectionProperty(string,bytes)33	function setCollectionProperty(string memory key, bytes memory value)34		public35	{36		require(false, stub_error);37		key;38		value;39		dummy = 0;40	}4142	/// Delete collection property.43	///44	/// @param key Property key.45	/// @dev EVM selector for this function is: 0x7b7debce,46	///  or in textual repr: deleteCollectionProperty(string)47	function deleteCollectionProperty(string memory key) public {48		require(false, stub_error);49		key;50		dummy = 0;51	}5253	/// Get collection property.54	///55	/// @dev Throws error if key not found.56	///57	/// @param key Property key.58	/// @return bytes The property corresponding to the key.59	/// @dev EVM selector for this function is: 0xcf24fd6d,60	///  or in textual repr: collectionProperty(string)61	function collectionProperty(string memory key)62		public63		view64		returns (bytes memory)65	{66		require(false, stub_error);67		key;68		dummy;69		return hex"";70	}7172	/// Set the sponsor of the collection.73	///74	/// @dev In order for sponsorship to work, it must be confirmed on behalf of the sponsor.75	///76	/// @param sponsor Address of the sponsor from whose account funds will be debited for operations with the contract.77	/// @dev EVM selector for this function is: 0x7623402e,78	///  or in textual repr: setCollectionSponsor(address)79	function setCollectionSponsor(address sponsor) public {80		require(false, stub_error);81		sponsor;82		dummy = 0;83	}8485	/// Set the substrate sponsor of the collection.86	///87	/// @dev In order for sponsorship to work, it must be confirmed on behalf of the sponsor.88	///89	/// @param sponsor Substrate address of the sponsor from whose account funds will be debited for operations with the contract.90	/// @dev EVM selector for this function is: 0xc74d6751,91	///  or in textual repr: setCollectionSponsorSubstrate(uint256)92	function setCollectionSponsorSubstrate(uint256 sponsor) public {93		require(false, stub_error);94		sponsor;95		dummy = 0;96	}9798	/// @dev EVM selector for this function is: 0x058ac185,99	///  or in textual repr: hasCollectionPendingSponsor()100	function hasCollectionPendingSponsor() public view returns (bool) {101		require(false, stub_error);102		dummy;103		return false;104	}105106	/// Collection sponsorship confirmation.107	///108	/// @dev After setting the sponsor for the collection, it must be confirmed with this function.109	/// @dev EVM selector for this function is: 0x3c50e97a,110	///  or in textual repr: confirmCollectionSponsorship()111	function confirmCollectionSponsorship() public {112		require(false, stub_error);113		dummy = 0;114	}115116	/// Remove collection sponsor.117	/// @dev EVM selector for this function is: 0x6e0326a3,118	///  or in textual repr: removeCollectionSponsor()119	function removeCollectionSponsor() public {120		require(false, stub_error);121		dummy = 0;122	}123124	/// Get current sponsor.125	///126	/// @return Tuble with sponsor address and his substrate mirror. If there is no confirmed sponsor error "Contract has no sponsor" throw.127	/// @dev EVM selector for this function is: 0xb66bbc14,128	///  or in textual repr: getCollectionSponsor()129	function getCollectionSponsor() public view returns (Tuple6 memory) {130		require(false, stub_error);131		dummy;132		return Tuple6(0x0000000000000000000000000000000000000000, 0);133	}134135	/// Set limits for the collection.136	/// @dev Throws error if limit not found.137	/// @param limit Name of the limit. Valid names:138	/// 	"accountTokenOwnershipLimit",139	/// 	"sponsoredDataSize",140	/// 	"sponsoredDataRateLimit",141	/// 	"tokenLimit",142	/// 	"sponsorTransferTimeout",143	/// 	"sponsorApproveTimeout"144	/// @param value Value of the limit.145	/// @dev EVM selector for this function is: 0x6a3841db,146	///  or in textual repr: setCollectionLimit(string,uint32)147	function setCollectionLimit(string memory limit, uint32 value) public {148		require(false, stub_error);149		limit;150		value;151		dummy = 0;152	}153154	/// Set limits for the collection.155	/// @dev Throws error if limit not found.156	/// @param limit Name of the limit. Valid names:157	/// 	"ownerCanTransfer",158	/// 	"ownerCanDestroy",159	/// 	"transfersEnabled"160	/// @param value Value of the limit.161	/// @dev EVM selector for this function is: 0x993b7fba,162	///  or in textual repr: setCollectionLimit(string,bool)163	function setCollectionLimit(string memory limit, bool value) public {164		require(false, stub_error);165		limit;166		value;167		dummy = 0;168	}169170	/// Get contract address.171	/// @dev EVM selector for this function is: 0xf6b4dfb4,172	///  or in textual repr: contractAddress()173	function contractAddress() public view returns (address) {174		require(false, stub_error);175		dummy;176		return 0x0000000000000000000000000000000000000000;177	}178179	/// Add collection admin by substrate address.180	/// @param newAdmin Substrate administrator address.181	/// @dev EVM selector for this function is: 0x5730062b,182	///  or in textual repr: addCollectionAdminSubstrate(uint256)183	function addCollectionAdminSubstrate(uint256 newAdmin) public {184		require(false, stub_error);185		newAdmin;186		dummy = 0;187	}188189	/// Remove collection admin by substrate address.190	/// @param admin Substrate administrator address.191	/// @dev EVM selector for this function is: 0x4048fcf9,192	///  or in textual repr: removeCollectionAdminSubstrate(uint256)193	function removeCollectionAdminSubstrate(uint256 admin) public {194		require(false, stub_error);195		admin;196		dummy = 0;197	}198199	/// Add collection admin.200	/// @param newAdmin Address of the added administrator.201	/// @dev EVM selector for this function is: 0x92e462c7,202	///  or in textual repr: addCollectionAdmin(address)203	function addCollectionAdmin(address newAdmin) public {204		require(false, stub_error);205		newAdmin;206		dummy = 0;207	}208209	/// Remove collection admin.210	///211	/// @param admin Address of the removed administrator.212	/// @dev EVM selector for this function is: 0xfafd7b42,213	///  or in textual repr: removeCollectionAdmin(address)214	function removeCollectionAdmin(address admin) public {215		require(false, stub_error);216		admin;217		dummy = 0;218	}219220	/// Toggle accessibility of collection nesting.221	///222	/// @param enable If "true" degenerates to nesting: 'Owner' else to nesting: 'Disabled'223	/// @dev EVM selector for this function is: 0x112d4586,224	///  or in textual repr: setCollectionNesting(bool)225	function setCollectionNesting(bool enable) public {226		require(false, stub_error);227		enable;228		dummy = 0;229	}230231	/// Toggle accessibility of collection nesting.232	///233	/// @param enable If "true" degenerates to nesting: {OwnerRestricted: [1, 2, 3]} else to nesting: 'Disabled'234	/// @param collections Addresses of collections that will be available for nesting.235	/// @dev EVM selector for this function is: 0x64872396,236	///  or in textual repr: setCollectionNesting(bool,address[])237	function setCollectionNesting(bool enable, address[] memory collections)238		public239	{240		require(false, stub_error);241		enable;242		collections;243		dummy = 0;244	}245246	/// Set the collection access method.247	/// @param mode Access mode248	/// 	0 for Normal249	/// 	1 for AllowList250	/// @dev EVM selector for this function is: 0x41835d4c,251	///  or in textual repr: setCollectionAccess(uint8)252	function setCollectionAccess(uint8 mode) public {253		require(false, stub_error);254		mode;255		dummy = 0;256	}257258	/// Add the user to the allowed list.259	///260	/// @param user Address of a trusted user.261	/// @dev EVM selector for this function is: 0x67844fe6,262	///  or in textual repr: addToCollectionAllowList(address)263	function addToCollectionAllowList(address user) public {264		require(false, stub_error);265		user;266		dummy = 0;267	}268269	/// Remove the user from the allowed list.270	///271	/// @param user Address of a removed user.272	/// @dev EVM selector for this function is: 0x85c51acb,273	///  or in textual repr: removeFromCollectionAllowList(address)274	function removeFromCollectionAllowList(address user) public {275		require(false, stub_error);276		user;277		dummy = 0;278	}279280	/// Switch permission for minting.281	///282	/// @param mode Enable if "true".283	/// @dev EVM selector for this function is: 0x00018e84,284	///  or in textual repr: setCollectionMintMode(bool)285	function setCollectionMintMode(bool mode) public {286		require(false, stub_error);287		mode;288		dummy = 0;289	}290291	/// Check that account is the owner or admin of the collection292	///293	/// @param user account to verify294	/// @return "true" if account is the owner or admin295	/// @dev EVM selector for this function is: 0x9811b0c7,296	///  or in textual repr: isOwnerOrAdmin(address)297	function isOwnerOrAdmin(address user) public view returns (bool) {298		require(false, stub_error);299		user;300		dummy;301		return false;302	}303304	/// Check that substrate account is the owner or admin of the collection305	///306	/// @param user account to verify307	/// @return "true" if account is the owner or admin308	/// @dev EVM selector for this function is: 0x68910e00,309	///  or in textual repr: isOwnerOrAdminSubstrate(uint256)310	function isOwnerOrAdminSubstrate(uint256 user) public view returns (bool) {311		require(false, stub_error);312		user;313		dummy;314		return false;315	}316317	/// Returns collection type318	///319	/// @return `Fungible` or `NFT` or `ReFungible`320	/// @dev EVM selector for this function is: 0xd34b55b8,321	///  or in textual repr: uniqueCollectionType()322	function uniqueCollectionType() public returns (string memory) {323		require(false, stub_error);324		dummy = 0;325		return "";326	}327328	/// Changes collection owner to another account329	///330	/// @dev Owner can be changed only by current owner331	/// @param newOwner new owner account332	/// @dev EVM selector for this function is: 0x13af4035,333	///  or in textual repr: setOwner(address)334	function setOwner(address newOwner) public {335		require(false, stub_error);336		newOwner;337		dummy = 0;338	}339340	/// Changes collection owner to another substrate account341	///342	/// @dev Owner can be changed only by current owner343	/// @param newOwner new owner substrate account344	/// @dev EVM selector for this function is: 0xb212138f,345	///  or in textual repr: setOwnerSubstrate(uint256)346	function setOwnerSubstrate(uint256 newOwner) public {347		require(false, stub_error);348		newOwner;349		dummy = 0;350	}351}352353/// @dev anonymous struct354struct Tuple6 {355	address field_0;356	uint256 field_1;357}358359/// @dev the ERC-165 identifier for this interface is 0x79cc6790360contract ERC20UniqueExtensions is Dummy, ERC165 {361	/// @dev EVM selector for this function is: 0x79cc6790,362	///  or in textual repr: burnFrom(address,uint256)363	function burnFrom(address from, uint256 amount) public returns (bool) {364		require(false, stub_error);365		from;366		amount;367		dummy = 0;368		return false;369	}370}371372/// @dev inlined interface373contract ERC20Events {374	event Transfer(address indexed from, address indexed to, uint256 value);375	event Approval(376		address indexed owner,377		address indexed spender,378		uint256 value379	);380}381382/// @dev the ERC-165 identifier for this interface is 0x942e8b22383contract ERC20 is Dummy, ERC165, ERC20Events {384	/// @dev EVM selector for this function is: 0x06fdde03,385	///  or in textual repr: name()386	function name() public view returns (string memory) {387		require(false, stub_error);388		dummy;389		return "";390	}391392	/// @dev EVM selector for this function is: 0x95d89b41,393	///  or in textual repr: symbol()394	function symbol() public view returns (string memory) {395		require(false, stub_error);396		dummy;397		return "";398	}399400	/// @dev EVM selector for this function is: 0x18160ddd,401	///  or in textual repr: totalSupply()402	function totalSupply() public view returns (uint256) {403		require(false, stub_error);404		dummy;405		return 0;406	}407408	/// @dev EVM selector for this function is: 0x313ce567,409	///  or in textual repr: decimals()410	function decimals() public view returns (uint8) {411		require(false, stub_error);412		dummy;413		return 0;414	}415416	/// @dev EVM selector for this function is: 0x70a08231,417	///  or in textual repr: balanceOf(address)418	function balanceOf(address owner) public view returns (uint256) {419		require(false, stub_error);420		owner;421		dummy;422		return 0;423	}424425	/// @dev EVM selector for this function is: 0xa9059cbb,426	///  or in textual repr: transfer(address,uint256)427	function transfer(address to, uint256 amount) public returns (bool) {428		require(false, stub_error);429		to;430		amount;431		dummy = 0;432		return false;433	}434435	/// @dev EVM selector for this function is: 0x23b872dd,436	///  or in textual repr: transferFrom(address,address,uint256)437	function transferFrom(438		address from,439		address to,440		uint256 amount441	) public returns (bool) {442		require(false, stub_error);443		from;444		to;445		amount;446		dummy = 0;447		return false;448	}449450	/// @dev EVM selector for this function is: 0x095ea7b3,451	///  or in textual repr: approve(address,uint256)452	function approve(address spender, uint256 amount) public returns (bool) {453		require(false, stub_error);454		spender;455		amount;456		dummy = 0;457		return false;458	}459460	/// @dev EVM selector for this function is: 0xdd62ed3e,461	///  or in textual repr: allowance(address,address)462	function allowance(address owner, address spender)463		public464		view465		returns (uint256)466	{467		require(false, stub_error);468		owner;469		spender;470		dummy;471		return 0;472	}473}474475contract UniqueFungible is476	Dummy,477	ERC165,478	ERC20,479	ERC20UniqueExtensions,480	Collection481{}
modifiedpallets/nonfungible/src/stubs/UniqueNFT.rawdiffbeforeafterboth

binary blob — no preview

modifiedpallets/nonfungible/src/stubs/UniqueNFT.soldiffbeforeafterboth
--- a/pallets/nonfungible/src/stubs/UniqueNFT.sol
+++ b/pallets/nonfungible/src/stubs/UniqueNFT.sol
@@ -3,23 +3,7 @@
 
 pragma solidity >=0.8.0 <0.9.0;
 
-<<<<<<< HEAD
 /// @dev common stubs holder
-=======
-// Anonymous struct
-struct Tuple0 {
-	uint256 field_0;
-	string field_1;
-}
-
-// Anonymous struct
-struct Tuple1 {
-	address field_0;
-	uint256 field_1;
-}
-
-// Common stubs holder
->>>>>>> misk: Update stubs
 contract Dummy {
 	uint8 dummy;
 	string stub_error = "this contract is implemented in native";
@@ -115,7 +99,7 @@
 }
 
 /// @title A contract that allows you to work with collections.
-/// @dev the ERC-165 identifier for this interface is 0xffe4da23
+/// @dev the ERC-165 identifier for this interface is 0xe54be640
 contract Collection is Dummy, ERC165 {
 	/// Set collection property.
 	///
@@ -175,6 +159,27 @@
 		dummy = 0;
 	}
 
+	/// Set the substrate sponsor of the collection.
+	///
+	/// @dev In order for sponsorship to work, it must be confirmed on behalf of the sponsor.
+	///
+	/// @param sponsor Substrate address of the sponsor from whose account funds will be debited for operations with the contract.
+	/// @dev EVM selector for this function is: 0xc74d6751,
+	///  or in textual repr: setCollectionSponsorSubstrate(uint256)
+	function setCollectionSponsorSubstrate(uint256 sponsor) public {
+		require(false, stub_error);
+		sponsor;
+		dummy = 0;
+	}
+
+	/// @dev EVM selector for this function is: 0x058ac185,
+	///  or in textual repr: hasCollectionPendingSponsor()
+	function hasCollectionPendingSponsor() public view returns (bool) {
+		require(false, stub_error);
+		dummy;
+		return false;
+	}
+
 	/// Collection sponsorship confirmation.
 	///
 	/// @dev After setting the sponsor for the collection, it must be confirmed with this function.
@@ -185,6 +190,25 @@
 		dummy = 0;
 	}
 
+	/// Remove collection sponsor.
+	/// @dev EVM selector for this function is: 0x6e0326a3,
+	///  or in textual repr: removeCollectionSponsor()
+	function removeCollectionSponsor() public {
+		require(false, stub_error);
+		dummy = 0;
+	}
+
+	/// Get current sponsor.
+	///
+	/// @return Tuble with sponsor address and his substrate mirror. If there is no confirmed sponsor error "Contract has no sponsor" throw.
+	/// @dev EVM selector for this function is: 0xb66bbc14,
+	///  or in textual repr: getCollectionSponsor()
+	function getCollectionSponsor() public view returns (Tuple17 memory) {
+		require(false, stub_error);
+		dummy;
+		return Tuple17(0x0000000000000000000000000000000000000000, 0);
+	}
+
 	/// Set limits for the collection.
 	/// @dev Throws error if limit not found.
 	/// @param limit Name of the limit. Valid names:
@@ -403,6 +427,12 @@
 	}
 }
 
+/// @dev anonymous struct
+struct Tuple17 {
+	address field_0;
+	uint256 field_1;
+}
+
 /// @title ERC721 Token that can be irreversibly burned (destroyed).
 /// @dev the ERC-165 identifier for this interface is 0x42966c68
 contract ERC721Burnable is Dummy, ERC165 {
@@ -481,58 +511,8 @@
 	}
 }
 
-<<<<<<< HEAD
-<<<<<<< HEAD
 /// @title Unique extensions for ERC721.
 /// @dev the ERC-165 identifier for this interface is 0xd74d154f
-=======
-<<<<<<< HEAD
-=======
->>>>>>> misc: update stubs
-// Selector: 780e9d63
-contract ERC721Enumerable is Dummy, ERC165 {
-	// @notice Enumerate valid NFTs
-	// @param index A counter less than `totalSupply()`
-	// @return The token identifier for the `index`th NFT,
-	//  (sort order not specified)
-	//
-	// Selector: tokenByIndex(uint256) 4f6ccce7
-	function tokenByIndex(uint256 index) public view returns (uint256) {
-		require(false, stub_error);
-		index;
-		dummy;
-		return 0;
-	}
-
-	// @dev Not implemented
-	//
-	// Selector: tokenOfOwnerByIndex(address,uint256) 2f745c59
-	function tokenOfOwnerByIndex(address owner, uint256 index)
-		public
-		view
-		returns (uint256)
-	{
-		require(false, stub_error);
-		owner;
-		index;
-		dummy;
-		return 0;
-	}
-
-	// @notice Count NFTs tracked by this contract
-	// @return A count of valid NFTs tracked by this contract, where each one of
-	//  them has an assigned and queryable owner not equal to the zero address
-	//
-	// Selector: totalSupply() 18160ddd
-	function totalSupply() public view returns (uint256) {
-		require(false, stub_error);
-		dummy;
-		return 0;
-	}
-}
-
-// Selector: d74d154f
->>>>>>> misk: Update stubs
 contract ERC721UniqueExtensions is Dummy, ERC165 {
 	/// @notice Transfer ownership of an NFT
 	/// @dev Throws unless `msg.sender` is the current owner. Throws if `to`
@@ -609,37 +589,11 @@
 	}
 }
 
-<<<<<<< HEAD
-<<<<<<< HEAD
 /// @dev anonymous struct
 struct Tuple8 {
 	uint256 field_0;
 	string field_1;
 }
-=======
-// Selector: ffe4da23
-=======
-// Selector: 765e2fae
->>>>>>> misk: Update stubs
-=======
-// Selector: e54be640
->>>>>>> misc: update stubs
-contract Collection is Dummy, ERC165 {
-	// Set collection property.
-	//
-	// @param key Property key.
-	// @param value Propery value.
-	//
-	// Selector: setCollectionProperty(string,bytes) 2f073f66
-	function setCollectionProperty(string memory key, bytes memory value)
-		public
-	{
-		require(false, stub_error);
-		key;
-		value;
-		dummy = 0;
-	}
->>>>>>> misk: Update stubs
 
 /// @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 /// @dev See https://eips.ethereum.org/EIPS/eip-721
@@ -670,92 +624,7 @@
 		owner;
 		index;
 		dummy;
-<<<<<<< HEAD
 		return 0;
-=======
-		return hex"";
-	}
-
-	// Set the sponsor of the collection.
-	//
-	// @dev In order for sponsorship to work, it must be confirmed on behalf of the sponsor.
-	//
-	// @param sponsor Address of the sponsor from whose account funds will be debited for operations with the contract.
-	//
-	// Selector: setCollectionSponsor(address) 7623402e
-	function setCollectionSponsor(address sponsor) public {
-		require(false, stub_error);
-		sponsor;
-		dummy = 0;
-	}
-
-	// Set the substrate sponsor of the collection.
-	//
-	// @dev In order for sponsorship to work, it must be confirmed on behalf of the sponsor.
-	//
-	// @param sponsor Substrate address of the sponsor from whose account funds will be debited for operations with the contract.
-	//
-	// Selector: setCollectionSponsorSubstrate(uint256) c74d6751
-	function setCollectionSponsorSubstrate(uint256 sponsor) public {
-		require(false, stub_error);
-		sponsor;
-		dummy = 0;
-	}
-
-	// Selector: hasCollectionPendingSponsor() 058ac185
-	function hasCollectionPendingSponsor() public view returns (bool) {
-		require(false, stub_error);
-		dummy;
-		return false;
-	}
-
-	// Collection sponsorship confirmation.
-	//
-	// @dev After setting the sponsor for the collection, it must be confirmed with this function.
-	//
-	// Selector: confirmCollectionSponsorship() 3c50e97a
-	function confirmCollectionSponsorship() public {
-		require(false, stub_error);
-		dummy = 0;
-	}
-
-	// Remove collection sponsor.
-	//
-	// Selector: removeCollectionSponsor() 6e0326a3
-	function removeCollectionSponsor() public {
-		require(false, stub_error);
-		dummy = 0;
-	}
-
-	// Get current sponsor.
-	//
-	// @return Tuble with sponsor address and his substrate mirror. If there is no confirmed sponsor error "Contract has no sponsor" throw.
-	//
-	// Selector: getCollectionSponsor() b66bbc14
-	function getCollectionSponsor() public view returns (Tuple1 memory) {
-		require(false, stub_error);
-		dummy;
-		return Tuple1(0x0000000000000000000000000000000000000000, 0);
-	}
-
-	// Set limits for the collection.
-	// @dev Throws error if limit not found.
-	// @param limit Name of the limit. Valid names:
-	// 	"accountTokenOwnershipLimit",
-	// 	"sponsoredDataSize",
-	// 	"sponsoredDataRateLimit",
-	// 	"tokenLimit",
-	// 	"sponsorTransferTimeout",
-	// 	"sponsorApproveTimeout"
-	// @param value Value of the limit.
-	//
-	// Selector: setCollectionLimit(string,uint32) 6a3841db
-	function setCollectionLimit(string memory limit, uint32 value) public {
-		require(false, stub_error);
-		limit;
-		value;
-		dummy = 0;
->>>>>>> misk: Update stubs
 	}
 
 	/// @notice Count NFTs tracked by this contract
modifiedpallets/refungible/src/stubs/UniqueRefungible.rawdiffbeforeafterboth

binary blob — no preview

modifiedpallets/refungible/src/stubs/UniqueRefungible.soldiffbeforeafterboth
--- a/pallets/refungible/src/stubs/UniqueRefungible.sol
+++ b/pallets/refungible/src/stubs/UniqueRefungible.sol
@@ -3,23 +3,7 @@
 
 pragma solidity >=0.8.0 <0.9.0;
 
-<<<<<<< HEAD
 /// @dev common stubs holder
-=======
-// Anonymous struct
-struct Tuple0 {
-	uint256 field_0;
-	string field_1;
-}
-
-// Anonymous struct
-struct Tuple1 {
-	address field_0;
-	uint256 field_1;
-}
-
-// Common stubs holder
->>>>>>> misk: Update stubs
 contract Dummy {
 	uint8 dummy;
 	string stub_error = "this contract is implemented in native";
@@ -115,7 +99,7 @@
 }
 
 /// @title A contract that allows you to work with collections.
-/// @dev the ERC-165 identifier for this interface is 0xffe4da23
+/// @dev the ERC-165 identifier for this interface is 0xe54be640
 contract Collection is Dummy, ERC165 {
 	/// Set collection property.
 	///
@@ -175,6 +159,27 @@
 		dummy = 0;
 	}
 
+	/// Set the substrate sponsor of the collection.
+	///
+	/// @dev In order for sponsorship to work, it must be confirmed on behalf of the sponsor.
+	///
+	/// @param sponsor Substrate address of the sponsor from whose account funds will be debited for operations with the contract.
+	/// @dev EVM selector for this function is: 0xc74d6751,
+	///  or in textual repr: setCollectionSponsorSubstrate(uint256)
+	function setCollectionSponsorSubstrate(uint256 sponsor) public {
+		require(false, stub_error);
+		sponsor;
+		dummy = 0;
+	}
+
+	/// @dev EVM selector for this function is: 0x058ac185,
+	///  or in textual repr: hasCollectionPendingSponsor()
+	function hasCollectionPendingSponsor() public view returns (bool) {
+		require(false, stub_error);
+		dummy;
+		return false;
+	}
+
 	/// Collection sponsorship confirmation.
 	///
 	/// @dev After setting the sponsor for the collection, it must be confirmed with this function.
@@ -185,6 +190,25 @@
 		dummy = 0;
 	}
 
+	/// Remove collection sponsor.
+	/// @dev EVM selector for this function is: 0x6e0326a3,
+	///  or in textual repr: removeCollectionSponsor()
+	function removeCollectionSponsor() public {
+		require(false, stub_error);
+		dummy = 0;
+	}
+
+	/// Get current sponsor.
+	///
+	/// @return Tuble with sponsor address and his substrate mirror. If there is no confirmed sponsor error "Contract has no sponsor" throw.
+	/// @dev EVM selector for this function is: 0xb66bbc14,
+	///  or in textual repr: getCollectionSponsor()
+	function getCollectionSponsor() public view returns (Tuple17 memory) {
+		require(false, stub_error);
+		dummy;
+		return Tuple17(0x0000000000000000000000000000000000000000, 0);
+	}
+
 	/// Set limits for the collection.
 	/// @dev Throws error if limit not found.
 	/// @param limit Name of the limit. Valid names:
@@ -403,6 +427,12 @@
 	}
 }
 
+/// @dev anonymous struct
+struct Tuple17 {
+	address field_0;
+	uint256 field_1;
+}
+
 /// @title ERC721 Token that can be irreversibly burned (destroyed).
 /// @dev the ERC-165 identifier for this interface is 0x42966c68
 contract ERC721Burnable is Dummy, ERC165 {
@@ -481,58 +511,8 @@
 	}
 }
 
-<<<<<<< HEAD
-<<<<<<< HEAD
 /// @title Unique extensions for ERC721.
 /// @dev the ERC-165 identifier for this interface is 0x7c3bef89
-=======
-<<<<<<< HEAD
-=======
->>>>>>> misc: update stubs
-// Selector: 780e9d63
-contract ERC721Enumerable is Dummy, ERC165 {
-	// @notice Enumerate valid RFTs
-	// @param index A counter less than `totalSupply()`
-	// @return The token identifier for the `index`th NFT,
-	//  (sort order not specified)
-	//
-	// Selector: tokenByIndex(uint256) 4f6ccce7
-	function tokenByIndex(uint256 index) public view returns (uint256) {
-		require(false, stub_error);
-		index;
-		dummy;
-		return 0;
-	}
-
-	// Not implemented
-	//
-	// Selector: tokenOfOwnerByIndex(address,uint256) 2f745c59
-	function tokenOfOwnerByIndex(address owner, uint256 index)
-		public
-		view
-		returns (uint256)
-	{
-		require(false, stub_error);
-		owner;
-		index;
-		dummy;
-		return 0;
-	}
-
-	// @notice Count RFTs tracked by this contract
-	// @return A count of valid RFTs tracked by this contract, where each one of
-	//  them has an assigned and queryable owner not equal to the zero address
-	//
-	// Selector: totalSupply() 18160ddd
-	function totalSupply() public view returns (uint256) {
-		require(false, stub_error);
-		dummy;
-		return 0;
-	}
-}
-
-// Selector: 7c3bef89
->>>>>>> misk: Update stubs
 contract ERC721UniqueExtensions is Dummy, ERC165 {
 	/// @notice Transfer ownership of an RFT
 	/// @dev Throws unless `msg.sender` is the current owner. Throws if `to`
@@ -623,37 +603,11 @@
 	}
 }
 
-<<<<<<< HEAD
-<<<<<<< HEAD
 /// @dev anonymous struct
 struct Tuple8 {
 	uint256 field_0;
 	string field_1;
 }
-=======
-// Selector: ffe4da23
-=======
-// Selector: 765e2fae
->>>>>>> misk: Update stubs
-=======
-// Selector: e54be640
->>>>>>> misc: update stubs
-contract Collection is Dummy, ERC165 {
-	// Set collection property.
-	//
-	// @param key Property key.
-	// @param value Propery value.
-	//
-	// Selector: setCollectionProperty(string,bytes) 2f073f66
-	function setCollectionProperty(string memory key, bytes memory value)
-		public
-	{
-		require(false, stub_error);
-		key;
-		value;
-		dummy = 0;
-	}
->>>>>>> misk: Update stubs
 
 /// @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 /// @dev See https://eips.ethereum.org/EIPS/eip-721
@@ -684,92 +638,7 @@
 		owner;
 		index;
 		dummy;
-<<<<<<< HEAD
 		return 0;
-=======
-		return hex"";
-	}
-
-	// Set the sponsor of the collection.
-	//
-	// @dev In order for sponsorship to work, it must be confirmed on behalf of the sponsor.
-	//
-	// @param sponsor Address of the sponsor from whose account funds will be debited for operations with the contract.
-	//
-	// Selector: setCollectionSponsor(address) 7623402e
-	function setCollectionSponsor(address sponsor) public {
-		require(false, stub_error);
-		sponsor;
-		dummy = 0;
-	}
-
-	// Set the substrate sponsor of the collection.
-	//
-	// @dev In order for sponsorship to work, it must be confirmed on behalf of the sponsor.
-	//
-	// @param sponsor Substrate address of the sponsor from whose account funds will be debited for operations with the contract.
-	//
-	// Selector: setCollectionSponsorSubstrate(uint256) c74d6751
-	function setCollectionSponsorSubstrate(uint256 sponsor) public {
-		require(false, stub_error);
-		sponsor;
-		dummy = 0;
-	}
-
-	// Selector: hasCollectionPendingSponsor() 058ac185
-	function hasCollectionPendingSponsor() public view returns (bool) {
-		require(false, stub_error);
-		dummy;
-		return false;
-	}
-
-	// Collection sponsorship confirmation.
-	//
-	// @dev After setting the sponsor for the collection, it must be confirmed with this function.
-	//
-	// Selector: confirmCollectionSponsorship() 3c50e97a
-	function confirmCollectionSponsorship() public {
-		require(false, stub_error);
-		dummy = 0;
-	}
-
-	// Remove collection sponsor.
-	//
-	// Selector: removeCollectionSponsor() 6e0326a3
-	function removeCollectionSponsor() public {
-		require(false, stub_error);
-		dummy = 0;
-	}
-
-	// Get current sponsor.
-	//
-	// @return Tuble with sponsor address and his substrate mirror. If there is no confirmed sponsor error "Contract has no sponsor" throw.
-	//
-	// Selector: getCollectionSponsor() b66bbc14
-	function getCollectionSponsor() public view returns (Tuple1 memory) {
-		require(false, stub_error);
-		dummy;
-		return Tuple1(0x0000000000000000000000000000000000000000, 0);
-	}
-
-	// Set limits for the collection.
-	// @dev Throws error if limit not found.
-	// @param limit Name of the limit. Valid names:
-	// 	"accountTokenOwnershipLimit",
-	// 	"sponsoredDataSize",
-	// 	"sponsoredDataRateLimit",
-	// 	"tokenLimit",
-	// 	"sponsorTransferTimeout",
-	// 	"sponsorApproveTimeout"
-	// @param value Value of the limit.
-	//
-	// Selector: setCollectionLimit(string,uint32) 6a3841db
-	function setCollectionLimit(string memory limit, uint32 value) public {
-		require(false, stub_error);
-		limit;
-		value;
-		dummy = 0;
->>>>>>> misk: Update stubs
 	}
 
 	/// @notice Count RFTs tracked by this contract
modifiedtests/src/eth/api/ContractHelpers.soldiffbeforeafterboth
--- a/tests/src/eth/api/ContractHelpers.sol
+++ b/tests/src/eth/api/ContractHelpers.sol
@@ -12,20 +12,8 @@
 	function supportsInterface(bytes4 interfaceID) external view returns (bool);
 }
 
-<<<<<<< HEAD
-<<<<<<< HEAD
 /// @title Magic contract, which allows users to reconfigure other contracts
 /// @dev the ERC-165 identifier for this interface is 0xd77fab70
-=======
-<<<<<<< HEAD
-// Selector: 6073d917
-=======
-// Selector: 06fc42e9
->>>>>>> path: add stubs
->>>>>>> path: add stubs
-=======
-// Selector: 6073d917
->>>>>>> misc: update stubs
 interface ContractHelpers is Dummy, ERC165 {
 	/// Get user, which deployed specified contract
 	/// @dev May return zero address in case if contract is deployed
@@ -41,24 +29,11 @@
 		view
 		returns (address);
 
-<<<<<<< HEAD
-<<<<<<< HEAD
 	/// Set sponsor.
 	/// @param contractAddress Contract for which a sponsor is being established.
 	/// @param sponsor User address who set as pending sponsor.
 	/// @dev EVM selector for this function is: 0xf01fba93,
 	///  or in textual repr: setSponsor(address,address)
-=======
-<<<<<<< HEAD
-=======
->>>>>>> misc: update stubs
-	// Set sponsor.
-	//
-	// @param contract_address Contract for which a sponsor is being established.
-	// @param sponsor User address who set as pending sponsor.
-	//
-	// Selector: setSponsor(address,address) f01fba93
->>>>>>> path: add stubs
 	function setSponsor(address contractAddress, address sponsor) external;
 
 	/// Set contract as self sponsored.
@@ -84,28 +59,17 @@
 	///  or in textual repr: confirmSponsorship(address)
 	function confirmSponsorship(address contractAddress) external;
 
-<<<<<<< HEAD
 	/// Get current sponsor.
 	///
 	/// @param contractAddress The contract for which a sponsor is requested.
 	/// @return Tuble with sponsor address and his substrate mirror. If there is no confirmed sponsor error "Contract has no sponsor" throw.
 	/// @dev EVM selector for this function is: 0x743fc745,
 	///  or in textual repr: getSponsor(address)
-=======
-	// Get current sponsor.
-	//
-	// @param contract_address The contract for which a sponsor is requested.
-	// @return Tuble with sponsor address and his substrate mirror. If there is no confirmed sponsor error "Contract has no sponsor" throw.
-	//
-	// Selector: getSponsor(address) 743fc745
->>>>>>> path: add stubs
 	function getSponsor(address contractAddress)
 		external
 		view
 		returns (Tuple0 memory);
 
-<<<<<<< HEAD
-<<<<<<< HEAD
 	/// Check tat contract has confirmed sponsor.
 	///
 	/// @param contractAddress The contract for which the presence of a confirmed sponsor is checked.
@@ -120,25 +84,6 @@
 	/// @return **true** if contract has pending sponsor.
 	/// @dev EVM selector for this function is: 0x39b9b242,
 	///  or in textual repr: hasPendingSponsor(address)
-=======
-<<<<<<< HEAD
-=======
->>>>>>> misc: update stubs
-	// Check tat contract has confirmed sponsor.
-	//
-	// @param contract_address The contract for which the presence of a confirmed sponsor is checked.
-	// @return **true** if contract has confirmed sponsor.
-	//
-	// Selector: hasSponsor(address) 97418603
-	function hasSponsor(address contractAddress) external view returns (bool);
-
-	// Check tat contract has pending sponsor.
-	//
-	// @param contract_address The contract for which the presence of a pending sponsor is checked.
-	// @return **true** if contract has pending sponsor.
-	//
-	// Selector: hasPendingSponsor(address) 39b9b242
->>>>>>> path: add stubs
 	function hasPendingSponsor(address contractAddress)
 		external
 		view
modifiedtests/src/eth/api/UniqueFungible.soldiffbeforeafterboth
--- a/tests/src/eth/api/UniqueFungible.sol
+++ b/tests/src/eth/api/UniqueFungible.sol
@@ -3,17 +3,7 @@
 
 pragma solidity >=0.8.0 <0.9.0;
 
-<<<<<<< HEAD
 /// @dev common stubs holder
-=======
-// Anonymous struct
-struct Tuple0 {
-	address field_0;
-	uint256 field_1;
-}
-
-// Common stubs holder
->>>>>>> misk: Update stubs
 interface Dummy {
 
 }
@@ -22,72 +12,8 @@
 	function supportsInterface(bytes4 interfaceID) external view returns (bool);
 }
 
-<<<<<<< HEAD
 /// @title A contract that allows you to work with collections.
-/// @dev the ERC-165 identifier for this interface is 0xffe4da23
-=======
-// Inline
-interface ERC20Events {
-	event Transfer(address indexed from, address indexed to, uint256 value);
-	event Approval(
-		address indexed owner,
-		address indexed spender,
-		uint256 value
-	);
-}
-
-// Selector: 79cc6790
-interface ERC20UniqueExtensions is Dummy, ERC165 {
-	// Selector: burnFrom(address,uint256) 79cc6790
-	function burnFrom(address from, uint256 amount) external returns (bool);
-}
-
-// Selector: 942e8b22
-interface ERC20 is Dummy, ERC165, ERC20Events {
-	// Selector: name() 06fdde03
-	function name() external view returns (string memory);
-
-	// Selector: symbol() 95d89b41
-	function symbol() external view returns (string memory);
-
-	// Selector: totalSupply() 18160ddd
-	function totalSupply() external view returns (uint256);
-
-	// Selector: decimals() 313ce567
-	function decimals() external view returns (uint8);
-
-	// Selector: balanceOf(address) 70a08231
-	function balanceOf(address owner) external view returns (uint256);
-
-	// Selector: transfer(address,uint256) a9059cbb
-	function transfer(address to, uint256 amount) external returns (bool);
-
-	// Selector: transferFrom(address,address,uint256) 23b872dd
-	function transferFrom(
-		address from,
-		address to,
-		uint256 amount
-	) external returns (bool);
-
-	// Selector: approve(address,uint256) 095ea7b3
-	function approve(address spender, uint256 amount) external returns (bool);
-
-	// Selector: allowance(address,address) dd62ed3e
-	function allowance(address owner, address spender)
-		external
-		view
-		returns (uint256);
-}
-
-<<<<<<< HEAD
-// Selector: ffe4da23
-=======
-// Selector: 765e2fae
->>>>>>> misk: Update stubs
->>>>>>> misk: Update stubs
-=======
-// Selector: e54be640
->>>>>>> misc: update stubs
+/// @dev the ERC-165 identifier for this interface is 0xe54be640
 interface Collection is Dummy, ERC165 {
 	/// Set collection property.
 	///
@@ -127,7 +53,19 @@
 	///  or in textual repr: setCollectionSponsor(address)
 	function setCollectionSponsor(address sponsor) external;
 
-<<<<<<< HEAD
+	/// Set the substrate sponsor of the collection.
+	///
+	/// @dev In order for sponsorship to work, it must be confirmed on behalf of the sponsor.
+	///
+	/// @param sponsor Substrate address of the sponsor from whose account funds will be debited for operations with the contract.
+	/// @dev EVM selector for this function is: 0xc74d6751,
+	///  or in textual repr: setCollectionSponsorSubstrate(uint256)
+	function setCollectionSponsorSubstrate(uint256 sponsor) external;
+
+	/// @dev EVM selector for this function is: 0x058ac185,
+	///  or in textual repr: hasCollectionPendingSponsor()
+	function hasCollectionPendingSponsor() external view returns (bool);
+
 	/// Collection sponsorship confirmation.
 	///
 	/// @dev After setting the sponsor for the collection, it must be confirmed with this function.
@@ -135,6 +73,18 @@
 	///  or in textual repr: confirmCollectionSponsorship()
 	function confirmCollectionSponsorship() external;
 
+	/// Remove collection sponsor.
+	/// @dev EVM selector for this function is: 0x6e0326a3,
+	///  or in textual repr: removeCollectionSponsor()
+	function removeCollectionSponsor() external;
+
+	/// Get current sponsor.
+	///
+	/// @return Tuble with sponsor address and his substrate mirror. If there is no confirmed sponsor error "Contract has no sponsor" throw.
+	/// @dev EVM selector for this function is: 0xb66bbc14,
+	///  or in textual repr: getCollectionSponsor()
+	function getCollectionSponsor() external view returns (Tuple6 memory);
+
 	/// Set limits for the collection.
 	/// @dev Throws error if limit not found.
 	/// @param limit Name of the limit. Valid names:
@@ -147,51 +97,6 @@
 	/// @param value Value of the limit.
 	/// @dev EVM selector for this function is: 0x6a3841db,
 	///  or in textual repr: setCollectionLimit(string,uint32)
-=======
-	// Set the substrate sponsor of the collection.
-	//
-	// @dev In order for sponsorship to work, it must be confirmed on behalf of the sponsor.
-	//
-	// @param sponsor Substrate address of the sponsor from whose account funds will be debited for operations with the contract.
-	//
-	// Selector: setCollectionSponsorSubstrate(uint256) c74d6751
-	function setCollectionSponsorSubstrate(uint256 sponsor) external;
-
-	// Selector: hasCollectionPendingSponsor() 058ac185
-	function hasCollectionPendingSponsor() external view returns (bool);
-
-	// Collection sponsorship confirmation.
-	//
-	// @dev After setting the sponsor for the collection, it must be confirmed with this function.
-	//
-	// Selector: confirmCollectionSponsorship() 3c50e97a
-	function confirmCollectionSponsorship() external;
-
-	// Remove collection sponsor.
-	//
-	// Selector: removeCollectionSponsor() 6e0326a3
-	function removeCollectionSponsor() external;
-
-	// Get current sponsor.
-	//
-	// @return Tuble with sponsor address and his substrate mirror. If there is no confirmed sponsor error "Contract has no sponsor" throw.
-	//
-	// Selector: getCollectionSponsor() b66bbc14
-	function getCollectionSponsor() external view returns (Tuple0 memory);
-
-	// Set limits for the collection.
-	// @dev Throws error if limit not found.
-	// @param limit Name of the limit. Valid names:
-	// 	"accountTokenOwnershipLimit",
-	// 	"sponsoredDataSize",
-	// 	"sponsoredDataRateLimit",
-	// 	"tokenLimit",
-	// 	"sponsorTransferTimeout",
-	// 	"sponsorApproveTimeout"
-	// @param value Value of the limit.
-	//
-	// Selector: setCollectionLimit(string,uint32) 6a3841db
->>>>>>> misk: Update stubs
 	function setCollectionLimit(string memory limit, uint32 value) external;
 
 	/// Set limits for the collection.
@@ -320,6 +225,12 @@
 	function setOwnerSubstrate(uint256 newOwner) external;
 }
 
+/// @dev anonymous struct
+struct Tuple6 {
+	address field_0;
+	uint256 field_1;
+}
+
 /// @dev the ERC-165 identifier for this interface is 0x79cc6790
 interface ERC20UniqueExtensions is Dummy, ERC165 {
 	/// @dev EVM selector for this function is: 0x79cc6790,
modifiedtests/src/eth/api/UniqueNFT.soldiffbeforeafterboth
--- a/tests/src/eth/api/UniqueNFT.sol
+++ b/tests/src/eth/api/UniqueNFT.sol
@@ -3,23 +3,7 @@
 
 pragma solidity >=0.8.0 <0.9.0;
 
-<<<<<<< HEAD
 /// @dev common stubs holder
-=======
-// Anonymous struct
-struct Tuple0 {
-	uint256 field_0;
-	string field_1;
-}
-
-// Anonymous struct
-struct Tuple1 {
-	address field_0;
-	uint256 field_1;
-}
-
-// Common stubs holder
->>>>>>> misk: Update stubs
 interface Dummy {
 
 }
@@ -81,7 +65,7 @@
 }
 
 /// @title A contract that allows you to work with collections.
-/// @dev the ERC-165 identifier for this interface is 0xffe4da23
+/// @dev the ERC-165 identifier for this interface is 0xe54be640
 interface Collection is Dummy, ERC165 {
 	/// Set collection property.
 	///
@@ -121,6 +105,19 @@
 	///  or in textual repr: setCollectionSponsor(address)
 	function setCollectionSponsor(address sponsor) external;
 
+	/// Set the substrate sponsor of the collection.
+	///
+	/// @dev In order for sponsorship to work, it must be confirmed on behalf of the sponsor.
+	///
+	/// @param sponsor Substrate address of the sponsor from whose account funds will be debited for operations with the contract.
+	/// @dev EVM selector for this function is: 0xc74d6751,
+	///  or in textual repr: setCollectionSponsorSubstrate(uint256)
+	function setCollectionSponsorSubstrate(uint256 sponsor) external;
+
+	/// @dev EVM selector for this function is: 0x058ac185,
+	///  or in textual repr: hasCollectionPendingSponsor()
+	function hasCollectionPendingSponsor() external view returns (bool);
+
 	/// Collection sponsorship confirmation.
 	///
 	/// @dev After setting the sponsor for the collection, it must be confirmed with this function.
@@ -128,6 +125,18 @@
 	///  or in textual repr: confirmCollectionSponsorship()
 	function confirmCollectionSponsorship() external;
 
+	/// Remove collection sponsor.
+	/// @dev EVM selector for this function is: 0x6e0326a3,
+	///  or in textual repr: removeCollectionSponsor()
+	function removeCollectionSponsor() external;
+
+	/// Get current sponsor.
+	///
+	/// @return Tuble with sponsor address and his substrate mirror. If there is no confirmed sponsor error "Contract has no sponsor" throw.
+	/// @dev EVM selector for this function is: 0xb66bbc14,
+	///  or in textual repr: getCollectionSponsor()
+	function getCollectionSponsor() external view returns (Tuple17 memory);
+
 	/// Set limits for the collection.
 	/// @dev Throws error if limit not found.
 	/// @param limit Name of the limit. Valid names:
@@ -268,6 +277,12 @@
 	function setOwnerSubstrate(uint256 newOwner) external;
 }
 
+/// @dev anonymous struct
+struct Tuple17 {
+	address field_0;
+	uint256 field_1;
+}
+
 /// @title ERC721 Token that can be irreversibly burned (destroyed).
 /// @dev the ERC-165 identifier for this interface is 0x42966c68
 interface ERC721Burnable is Dummy, ERC165 {
@@ -321,42 +336,8 @@
 	function finishMinting() external returns (bool);
 }
 
-<<<<<<< HEAD
-<<<<<<< HEAD
 /// @title Unique extensions for ERC721.
 /// @dev the ERC-165 identifier for this interface is 0xd74d154f
-=======
-<<<<<<< HEAD
-=======
->>>>>>> misc: update stubs
-// Selector: 780e9d63
-interface ERC721Enumerable is Dummy, ERC165 {
-	// @notice Enumerate valid NFTs
-	// @param index A counter less than `totalSupply()`
-	// @return The token identifier for the `index`th NFT,
-	//  (sort order not specified)
-	//
-	// Selector: tokenByIndex(uint256) 4f6ccce7
-	function tokenByIndex(uint256 index) external view returns (uint256);
-
-	// @dev Not implemented
-	//
-	// Selector: tokenOfOwnerByIndex(address,uint256) 2f745c59
-	function tokenOfOwnerByIndex(address owner, uint256 index)
-		external
-		view
-		returns (uint256);
-
-	// @notice Count NFTs tracked by this contract
-	// @return A count of valid NFTs tracked by this contract, where each one of
-	//  them has an assigned and queryable owner not equal to the zero address
-	//
-	// Selector: totalSupply() 18160ddd
-	function totalSupply() external view returns (uint256);
-}
-
-// Selector: d74d154f
->>>>>>> misk: Update stubs
 interface ERC721UniqueExtensions is Dummy, ERC165 {
 	/// @notice Transfer ownership of an NFT
 	/// @dev Throws unless `msg.sender` is the current owner. Throws if `to`
@@ -405,31 +386,11 @@
 		returns (bool);
 }
 
-<<<<<<< HEAD
-<<<<<<< HEAD
 /// @dev anonymous struct
 struct Tuple8 {
 	uint256 field_0;
 	string field_1;
 }
-=======
-// Selector: ffe4da23
-=======
-// Selector: 765e2fae
->>>>>>> misk: Update stubs
-=======
-// Selector: e54be640
->>>>>>> misc: update stubs
-interface Collection is Dummy, ERC165 {
-	// Set collection property.
-	//
-	// @param key Property key.
-	// @param value Propery value.
-	//
-	// Selector: setCollectionProperty(string,bytes) 2f073f66
-	function setCollectionProperty(string memory key, bytes memory value)
-		external;
->>>>>>> misk: Update stubs
 
 /// @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 /// @dev See https://eips.ethereum.org/EIPS/eip-721
@@ -449,87 +410,7 @@
 	function tokenOfOwnerByIndex(address owner, uint256 index)
 		external
 		view
-<<<<<<< HEAD
 		returns (uint256);
-=======
-		returns (bytes memory);
-
-	// Set the sponsor of the collection.
-	//
-	// @dev In order for sponsorship to work, it must be confirmed on behalf of the sponsor.
-	//
-	// @param sponsor Address of the sponsor from whose account funds will be debited for operations with the contract.
-	//
-	// Selector: setCollectionSponsor(address) 7623402e
-	function setCollectionSponsor(address sponsor) external;
-
-	// Set the substrate sponsor of the collection.
-	//
-	// @dev In order for sponsorship to work, it must be confirmed on behalf of the sponsor.
-	//
-	// @param sponsor Substrate address of the sponsor from whose account funds will be debited for operations with the contract.
-	//
-	// Selector: setCollectionSponsorSubstrate(uint256) c74d6751
-	function setCollectionSponsorSubstrate(uint256 sponsor) external;
-
-	// Selector: hasCollectionPendingSponsor() 058ac185
-	function hasCollectionPendingSponsor() external view returns (bool);
-
-	// Collection sponsorship confirmation.
-	//
-	// @dev After setting the sponsor for the collection, it must be confirmed with this function.
-	//
-	// Selector: confirmCollectionSponsorship() 3c50e97a
-	function confirmCollectionSponsorship() external;
-
-	// Remove collection sponsor.
-	//
-	// Selector: removeCollectionSponsor() 6e0326a3
-	function removeCollectionSponsor() external;
-
-	// Get current sponsor.
-	//
-	// @return Tuble with sponsor address and his substrate mirror. If there is no confirmed sponsor error "Contract has no sponsor" throw.
-	//
-	// Selector: getCollectionSponsor() b66bbc14
-	function getCollectionSponsor() external view returns (Tuple1 memory);
-
-	// Set limits for the collection.
-	// @dev Throws error if limit not found.
-	// @param limit Name of the limit. Valid names:
-	// 	"accountTokenOwnershipLimit",
-	// 	"sponsoredDataSize",
-	// 	"sponsoredDataRateLimit",
-	// 	"tokenLimit",
-	// 	"sponsorTransferTimeout",
-	// 	"sponsorApproveTimeout"
-	// @param value Value of the limit.
-	//
-	// Selector: setCollectionLimit(string,uint32) 6a3841db
-	function setCollectionLimit(string memory limit, uint32 value) external;
-
-	// Set limits for the collection.
-	// @dev Throws error if limit not found.
-	// @param limit Name of the limit. Valid names:
-	// 	"ownerCanTransfer",
-	// 	"ownerCanDestroy",
-	// 	"transfersEnabled"
-	// @param value Value of the limit.
-	//
-	// Selector: setCollectionLimit(string,bool) 993b7fba
-	function setCollectionLimit(string memory limit, bool value) external;
-
-	// Get contract address.
-	//
-	// Selector: contractAddress() f6b4dfb4
-	function contractAddress() external view returns (address);
-
-	// Add collection admin by substrate address.
-	// @param new_admin Substrate administrator address.
-	//
-	// Selector: addCollectionAdminSubstrate(uint256) 5730062b
-	function addCollectionAdminSubstrate(uint256 newAdmin) external;
->>>>>>> misk: Update stubs
 
 	/// @notice Count NFTs tracked by this contract
 	/// @return A count of valid NFTs tracked by this contract, where each one of
modifiedtests/src/eth/api/UniqueRefungible.soldiffbeforeafterboth
--- a/tests/src/eth/api/UniqueRefungible.sol
+++ b/tests/src/eth/api/UniqueRefungible.sol
@@ -3,23 +3,7 @@
 
 pragma solidity >=0.8.0 <0.9.0;
 
-<<<<<<< HEAD
 /// @dev common stubs holder
-=======
-// Anonymous struct
-struct Tuple0 {
-	uint256 field_0;
-	string field_1;
-}
-
-// Anonymous struct
-struct Tuple1 {
-	address field_0;
-	uint256 field_1;
-}
-
-// Common stubs holder
->>>>>>> misk: Update stubs
 interface Dummy {
 
 }
@@ -81,7 +65,7 @@
 }
 
 /// @title A contract that allows you to work with collections.
-/// @dev the ERC-165 identifier for this interface is 0xffe4da23
+/// @dev the ERC-165 identifier for this interface is 0xe54be640
 interface Collection is Dummy, ERC165 {
 	/// Set collection property.
 	///
@@ -121,6 +105,19 @@
 	///  or in textual repr: setCollectionSponsor(address)
 	function setCollectionSponsor(address sponsor) external;
 
+	/// Set the substrate sponsor of the collection.
+	///
+	/// @dev In order for sponsorship to work, it must be confirmed on behalf of the sponsor.
+	///
+	/// @param sponsor Substrate address of the sponsor from whose account funds will be debited for operations with the contract.
+	/// @dev EVM selector for this function is: 0xc74d6751,
+	///  or in textual repr: setCollectionSponsorSubstrate(uint256)
+	function setCollectionSponsorSubstrate(uint256 sponsor) external;
+
+	/// @dev EVM selector for this function is: 0x058ac185,
+	///  or in textual repr: hasCollectionPendingSponsor()
+	function hasCollectionPendingSponsor() external view returns (bool);
+
 	/// Collection sponsorship confirmation.
 	///
 	/// @dev After setting the sponsor for the collection, it must be confirmed with this function.
@@ -128,6 +125,18 @@
 	///  or in textual repr: confirmCollectionSponsorship()
 	function confirmCollectionSponsorship() external;
 
+	/// Remove collection sponsor.
+	/// @dev EVM selector for this function is: 0x6e0326a3,
+	///  or in textual repr: removeCollectionSponsor()
+	function removeCollectionSponsor() external;
+
+	/// Get current sponsor.
+	///
+	/// @return Tuble with sponsor address and his substrate mirror. If there is no confirmed sponsor error "Contract has no sponsor" throw.
+	/// @dev EVM selector for this function is: 0xb66bbc14,
+	///  or in textual repr: getCollectionSponsor()
+	function getCollectionSponsor() external view returns (Tuple17 memory);
+
 	/// Set limits for the collection.
 	/// @dev Throws error if limit not found.
 	/// @param limit Name of the limit. Valid names:
@@ -268,6 +277,12 @@
 	function setOwnerSubstrate(uint256 newOwner) external;
 }
 
+/// @dev anonymous struct
+struct Tuple17 {
+	address field_0;
+	uint256 field_1;
+}
+
 /// @title ERC721 Token that can be irreversibly burned (destroyed).
 /// @dev the ERC-165 identifier for this interface is 0x42966c68
 interface ERC721Burnable is Dummy, ERC165 {
@@ -321,42 +336,8 @@
 	function finishMinting() external returns (bool);
 }
 
-<<<<<<< HEAD
-<<<<<<< HEAD
 /// @title Unique extensions for ERC721.
 /// @dev the ERC-165 identifier for this interface is 0x7c3bef89
-=======
-<<<<<<< HEAD
-=======
->>>>>>> misc: update stubs
-// Selector: 780e9d63
-interface ERC721Enumerable is Dummy, ERC165 {
-	// @notice Enumerate valid RFTs
-	// @param index A counter less than `totalSupply()`
-	// @return The token identifier for the `index`th NFT,
-	//  (sort order not specified)
-	//
-	// Selector: tokenByIndex(uint256) 4f6ccce7
-	function tokenByIndex(uint256 index) external view returns (uint256);
-
-	// Not implemented
-	//
-	// Selector: tokenOfOwnerByIndex(address,uint256) 2f745c59
-	function tokenOfOwnerByIndex(address owner, uint256 index)
-		external
-		view
-		returns (uint256);
-
-	// @notice Count RFTs tracked by this contract
-	// @return A count of valid RFTs tracked by this contract, where each one of
-	//  them has an assigned and queryable owner not equal to the zero address
-	//
-	// Selector: totalSupply() 18160ddd
-	function totalSupply() external view returns (uint256);
-}
-
-// Selector: 7c3bef89
->>>>>>> misk: Update stubs
 interface ERC721UniqueExtensions is Dummy, ERC165 {
 	/// @notice Transfer ownership of an RFT
 	/// @dev Throws unless `msg.sender` is the current owner. Throws if `to`
@@ -417,31 +398,11 @@
 		returns (address);
 }
 
-<<<<<<< HEAD
-<<<<<<< HEAD
 /// @dev anonymous struct
 struct Tuple8 {
 	uint256 field_0;
 	string field_1;
 }
-=======
-// Selector: ffe4da23
-=======
-// Selector: 765e2fae
->>>>>>> misk: Update stubs
-=======
-// Selector: e54be640
->>>>>>> misc: update stubs
-interface Collection is Dummy, ERC165 {
-	// Set collection property.
-	//
-	// @param key Property key.
-	// @param value Propery value.
-	//
-	// Selector: setCollectionProperty(string,bytes) 2f073f66
-	function setCollectionProperty(string memory key, bytes memory value)
-		external;
->>>>>>> misk: Update stubs
 
 /// @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 /// @dev See https://eips.ethereum.org/EIPS/eip-721
@@ -461,87 +422,7 @@
 	function tokenOfOwnerByIndex(address owner, uint256 index)
 		external
 		view
-<<<<<<< HEAD
 		returns (uint256);
-=======
-		returns (bytes memory);
-
-	// Set the sponsor of the collection.
-	//
-	// @dev In order for sponsorship to work, it must be confirmed on behalf of the sponsor.
-	//
-	// @param sponsor Address of the sponsor from whose account funds will be debited for operations with the contract.
-	//
-	// Selector: setCollectionSponsor(address) 7623402e
-	function setCollectionSponsor(address sponsor) external;
-
-	// Set the substrate sponsor of the collection.
-	//
-	// @dev In order for sponsorship to work, it must be confirmed on behalf of the sponsor.
-	//
-	// @param sponsor Substrate address of the sponsor from whose account funds will be debited for operations with the contract.
-	//
-	// Selector: setCollectionSponsorSubstrate(uint256) c74d6751
-	function setCollectionSponsorSubstrate(uint256 sponsor) external;
-
-	// Selector: hasCollectionPendingSponsor() 058ac185
-	function hasCollectionPendingSponsor() external view returns (bool);
-
-	// Collection sponsorship confirmation.
-	//
-	// @dev After setting the sponsor for the collection, it must be confirmed with this function.
-	//
-	// Selector: confirmCollectionSponsorship() 3c50e97a
-	function confirmCollectionSponsorship() external;
-
-	// Remove collection sponsor.
-	//
-	// Selector: removeCollectionSponsor() 6e0326a3
-	function removeCollectionSponsor() external;
-
-	// Get current sponsor.
-	//
-	// @return Tuble with sponsor address and his substrate mirror. If there is no confirmed sponsor error "Contract has no sponsor" throw.
-	//
-	// Selector: getCollectionSponsor() b66bbc14
-	function getCollectionSponsor() external view returns (Tuple1 memory);
-
-	// Set limits for the collection.
-	// @dev Throws error if limit not found.
-	// @param limit Name of the limit. Valid names:
-	// 	"accountTokenOwnershipLimit",
-	// 	"sponsoredDataSize",
-	// 	"sponsoredDataRateLimit",
-	// 	"tokenLimit",
-	// 	"sponsorTransferTimeout",
-	// 	"sponsorApproveTimeout"
-	// @param value Value of the limit.
-	//
-	// Selector: setCollectionLimit(string,uint32) 6a3841db
-	function setCollectionLimit(string memory limit, uint32 value) external;
-
-	// Set limits for the collection.
-	// @dev Throws error if limit not found.
-	// @param limit Name of the limit. Valid names:
-	// 	"ownerCanTransfer",
-	// 	"ownerCanDestroy",
-	// 	"transfersEnabled"
-	// @param value Value of the limit.
-	//
-	// Selector: setCollectionLimit(string,bool) 993b7fba
-	function setCollectionLimit(string memory limit, bool value) external;
-
-	// Get contract address.
-	//
-	// Selector: contractAddress() f6b4dfb4
-	function contractAddress() external view returns (address);
-
-	// Add collection admin by substrate address.
-	// @param new_admin Substrate administrator address.
-	//
-	// Selector: addCollectionAdminSubstrate(uint256) 5730062b
-	function addCollectionAdminSubstrate(uint256 newAdmin) external;
->>>>>>> misk: Update stubs
 
 	/// @notice Count RFTs tracked by this contract
 	/// @return A count of valid RFTs tracked by this contract, where each one of
modifiedtests/src/eth/fungibleAbi.jsondiffbeforeafterboth
--- a/tests/src/eth/fungibleAbi.json
+++ b/tests/src/eth/fungibleAbi.json
@@ -159,7 +159,7 @@
           { "internalType": "address", "name": "field_0", "type": "address" },
           { "internalType": "uint256", "name": "field_1", "type": "uint256" }
         ],
-        "internalType": "struct Tuple0",
+        "internalType": "struct Tuple6",
         "name": "",
         "type": "tuple"
       }
modifiedtests/src/eth/nonFungibleAbi.jsondiffbeforeafterboth
--- a/tests/src/eth/nonFungibleAbi.json
+++ b/tests/src/eth/nonFungibleAbi.json
@@ -208,7 +208,7 @@
           { "internalType": "address", "name": "field_0", "type": "address" },
           { "internalType": "uint256", "name": "field_1", "type": "uint256" }
         ],
-        "internalType": "struct Tuple1",
+        "internalType": "struct Tuple17",
         "name": "",
         "type": "tuple"
       }
modifiedtests/src/eth/reFungibleAbi.jsondiffbeforeafterboth
--- a/tests/src/eth/reFungibleAbi.json
+++ b/tests/src/eth/reFungibleAbi.json
@@ -208,7 +208,7 @@
           { "internalType": "address", "name": "field_0", "type": "address" },
           { "internalType": "uint256", "name": "field_1", "type": "uint256" }
         ],
-        "internalType": "struct Tuple1",
+        "internalType": "struct Tuple17",
         "name": "",
         "type": "tuple"
       }