difftreelog
misk: update stubs
in: master
7 files changed
pallets/nonfungible/src/stubs/UniqueNFT.soldiffbeforeafterboth--- a/pallets/nonfungible/src/stubs/UniqueNFT.sol
+++ b/pallets/nonfungible/src/stubs/UniqueNFT.sol
@@ -106,6 +106,7 @@
/// @title A contract that allows you to work with collections.
<<<<<<< HEAD
<<<<<<< HEAD
+<<<<<<< HEAD
/// @dev the ERC-165 identifier for this interface is 0xb3152af3
=======
/// @dev the ERC-165 identifier for this interface is 0x674be726
@@ -113,6 +114,9 @@
=======
/// @dev the ERC-165 identifier for this interface is 0x943ee094
>>>>>>> fix: after rebase
+=======
+/// @dev the ERC-165 identifier for this interface is 0xefe988e0
+>>>>>>> misk: update stubs
contract Collection is Dummy, ERC165 {
/// Set collection property.
///
@@ -130,7 +134,7 @@
/// Set collection properties.
///
/// @param properties Vector of properties key/value pair.
- /// @dev EVM selector for this function is: 0xf90c1ce9,
+ /// @dev EVM selector for this function is: 0x50b26b2a,
/// or in textual repr: setCollectionProperties((string,bytes)[])
function setCollectionProperties(Tuple21[] memory properties) public {
require(false, stub_error);
@@ -152,7 +156,7 @@
/// Delete collection properties.
///
/// @param keys Properties keys.
- /// @dev EVM selector for this function is: 0x56d4684a,
+ /// @dev EVM selector for this function is: 0xee206ee3,
/// or in textual repr: deleteCollectionProperties(string[])
function deleteCollectionProperties(string[] memory keys) public {
require(false, stub_error);
@@ -179,7 +183,7 @@
///
/// @param keys Properties keys. Empty keys for all propertyes.
/// @return Vector of properties key/value pairs.
- /// @dev EVM selector for this function is: 0x5cad7311,
+ /// @dev EVM selector for this function is: 0x285fb8e6,
/// or in textual repr: collectionProperties(string[])
function collectionProperties(string[] memory keys) public view returns (Tuple21[] memory) {
require(false, stub_error);
@@ -206,9 +210,16 @@
/// @dev In order for sponsorship to work, it must be confirmed on behalf of the sponsor.
///
/// @param sponsor Cross account address of the sponsor from whose account funds will be debited for operations with the contract.
+<<<<<<< HEAD
/// @dev EVM selector for this function is: 0x403e96a7,
/// or in textual repr: setCollectionSponsorCross((address,uint256))
function setCollectionSponsorCross(Tuple6 memory sponsor) public {
+=======
+ /// @dev EVM selector for this function is: 0x84a1d5a8,
+ /// or in textual repr: setCollectionSponsorCross(EthCrossAccount)
+ /// or in the expanded repr: setCollectionSponsorCross((address,uint256))
+ function setCollectionSponsorCross(EthCrossAccount memory sponsor) public {
+>>>>>>> misk: update stubs
require(false, stub_error);
sponsor;
dummy = 0;
@@ -248,6 +259,7 @@
/// or in textual repr: collectionSponsor()
<<<<<<< HEAD
<<<<<<< HEAD
+<<<<<<< HEAD
function collectionSponsor() public view returns (Tuple6 memory) {
require(false, stub_error);
dummy;
@@ -264,6 +276,12 @@
dummy;
return Tuple8(0x0000000000000000000000000000000000000000, 0);
>>>>>>> feat: Add custum signature with unlimited nesting.
+=======
+ function collectionSponsor() public view returns (Tuple24 memory) {
+ require(false, stub_error);
+ dummy;
+ return Tuple24(0x0000000000000000000000000000000000000000, 0);
+>>>>>>> misk: update stubs
}
/// Set limits for the collection.
@@ -312,9 +330,16 @@
/// Add collection admin.
/// @param newAdmin Cross account administrator address.
+<<<<<<< HEAD
/// @dev EVM selector for this function is: 0x62e3c7c2,
/// or in textual repr: addCollectionAdminCross((address,uint256))
function addCollectionAdminCross(Tuple6 memory newAdmin) public {
+=======
+ /// @dev EVM selector for this function is: 0x859aa7d6,
+ /// or in textual repr: addCollectionAdminCross(EthCrossAccount)
+ /// or in the expanded repr: addCollectionAdminCross((address,uint256))
+ function addCollectionAdminCross(EthCrossAccount memory newAdmin) public {
+>>>>>>> misk: update stubs
require(false, stub_error);
newAdmin;
dummy = 0;
@@ -322,9 +347,16 @@
/// Remove collection admin.
/// @param admin Cross account administrator address.
+<<<<<<< HEAD
/// @dev EVM selector for this function is: 0x810d1503,
/// or in textual repr: removeCollectionAdminCross((address,uint256))
function removeCollectionAdminCross(Tuple6 memory admin) public {
+=======
+ /// @dev EVM selector for this function is: 0x6c0cd173,
+ /// or in textual repr: removeCollectionAdminCross(EthCrossAccount)
+ /// or in the expanded repr: removeCollectionAdminCross((address,uint256))
+ function removeCollectionAdminCross(EthCrossAccount memory admin) public {
+>>>>>>> misk: update stubs
require(false, stub_error);
admin;
dummy = 0;
@@ -366,7 +398,7 @@
///
/// @param enable If "true" degenerates to nesting: {OwnerRestricted: [1, 2, 3]} else to nesting: 'Disabled'
/// @param collections Addresses of collections that will be available for nesting.
- /// @dev EVM selector for this function is: 0x112d4586,
+ /// @dev EVM selector for this function is: 0x64872396,
/// or in textual repr: setCollectionNesting(bool,address[])
function setCollectionNesting(bool enable, address[] memory collections) public {
require(false, stub_error);
@@ -413,9 +445,16 @@
/// Add user to allowed list.
///
/// @param user User cross account address.
+<<<<<<< HEAD
/// @dev EVM selector for this function is: 0xf074da88,
/// or in textual repr: addToCollectionAllowListCross((address,uint256))
function addToCollectionAllowListCross(Tuple6 memory user) public {
+=======
+ /// @dev EVM selector for this function is: 0xa0184a3a,
+ /// or in textual repr: addToCollectionAllowListCross(EthCrossAccount)
+ /// or in the expanded repr: addToCollectionAllowListCross((address,uint256))
+ function addToCollectionAllowListCross(EthCrossAccount memory user) public {
+>>>>>>> misk: update stubs
require(false, stub_error);
user;
dummy = 0;
@@ -435,9 +474,16 @@
/// Remove user from allowed list.
///
/// @param user User cross account address.
+<<<<<<< HEAD
/// @dev EVM selector for this function is: 0xc00df45c,
/// or in textual repr: removeFromCollectionAllowListCross((address,uint256))
function removeFromCollectionAllowListCross(Tuple6 memory user) public {
+=======
+ /// @dev EVM selector for this function is: 0x09ba452a,
+ /// or in textual repr: removeFromCollectionAllowListCross(EthCrossAccount)
+ /// or in the expanded repr: removeFromCollectionAllowListCross((address,uint256))
+ function removeFromCollectionAllowListCross(EthCrossAccount memory user) public {
+>>>>>>> misk: update stubs
require(false, stub_error);
user;
dummy = 0;
@@ -471,9 +517,16 @@
///
/// @param user User cross account to verify
/// @return "true" if account is the owner or admin
+<<<<<<< HEAD
/// @dev EVM selector for this function is: 0x5aba3351,
/// or in textual repr: isOwnerOrAdminCross((address,uint256))
function isOwnerOrAdminCross(Tuple6 memory user) public view returns (bool) {
+=======
+ /// @dev EVM selector for this function is: 0x3e75a905,
+ /// or in textual repr: isOwnerOrAdminCross(EthCrossAccount)
+ /// or in the expanded repr: isOwnerOrAdminCross((address,uint256))
+ function isOwnerOrAdminCross(EthCrossAccount memory user) public view returns (bool) {
+>>>>>>> misk: update stubs
require(false, stub_error);
user;
dummy;
@@ -499,6 +552,7 @@
/// or in textual repr: collectionOwner()
<<<<<<< HEAD
<<<<<<< HEAD
+<<<<<<< HEAD
function collectionOwner() public view returns (Tuple6 memory) {
require(false, stub_error);
dummy;
@@ -515,6 +569,12 @@
dummy;
return Tuple8(0x0000000000000000000000000000000000000000, 0);
>>>>>>> feat: Add custum signature with unlimited nesting.
+=======
+ function collectionOwner() public view returns (EthCrossAccount memory) {
+ require(false, stub_error);
+ dummy;
+ return EthCrossAccount(0x0000000000000000000000000000000000000000, 0);
+>>>>>>> misk: update stubs
}
/// Changes collection owner to another account
@@ -535,19 +595,33 @@
/// If address is canonical then substrate mirror is zero and vice versa.
/// @dev EVM selector for this function is: 0x5813216b,
/// or in textual repr: collectionAdmins()
+<<<<<<< HEAD
function collectionAdmins() public view returns (Tuple6[] memory) {
require(false, stub_error);
dummy;
return new Tuple6[](0);
+=======
+ function collectionAdmins() public view returns (EthCrossAccount[] memory) {
+ require(false, stub_error);
+ dummy;
+ return new EthCrossAccount[](0);
+>>>>>>> misk: update stubs
}
/// Changes collection owner to another account
///
/// @dev Owner can be changed only by current owner
/// @param newOwner new owner cross account
+<<<<<<< HEAD
/// @dev EVM selector for this function is: 0xbdff793d,
/// or in textual repr: setOwnerCross((address,uint256))
function setOwnerCross(Tuple6 memory newOwner) public {
+=======
+ /// @dev EVM selector for this function is: 0xe5c9913f,
+ /// or in textual repr: setOwnerCross(EthCrossAccount)
+ /// or in the expanded repr: setOwnerCross((address,uint256))
+ function setOwnerCross(EthCrossAccount memory newOwner) public {
+>>>>>>> misk: update stubs
require(false, stub_error);
newOwner;
dummy = 0;
@@ -556,12 +630,24 @@
<<<<<<< HEAD
<<<<<<< HEAD
+<<<<<<< HEAD
/// @dev anonymous struct
struct Tuple19 {
+=======
+/// @dev Cross account struct
+struct EthCrossAccount {
+ address eth;
+ uint256 sub;
+}
+
+/// @dev anonymous struct
+struct Tuple24 {
+>>>>>>> misk: update stubs
address field_0;
uint256 field_1;
}
+<<<<<<< HEAD
/// @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
@@ -608,6 +694,8 @@
=======
>>>>>>> feat: Add custum signature with unlimited nesting.
=======
+=======
+>>>>>>> misk: update stubs
/// @dev anonymous struct
struct Tuple21 {
string field_0;
@@ -717,10 +805,14 @@
/// @title Unique extensions for ERC721.
<<<<<<< HEAD
+<<<<<<< HEAD
/// @dev the ERC-165 identifier for this interface is 0x244543ee
=======
/// @dev the ERC-165 identifier for this interface is 0xcc97cb35
>>>>>>> feat: Add custum signature with unlimited nesting.
+=======
+/// @dev the ERC-165 identifier for this interface is 0xb76006ac
+>>>>>>> misk: update stubs
contract ERC721UniqueExtensions is Dummy, ERC165 {
/// @notice A descriptive name for a collection of NFTs in this contract
/// @dev EVM selector for this function is: 0x06fdde03,
@@ -746,9 +838,16 @@
/// operator of the current owner.
/// @param approved The new substrate address approved NFT controller
/// @param tokenId The NFT to approve
+<<<<<<< HEAD
/// @dev EVM selector for this function is: 0x106fdb59,
/// or in textual repr: approveCross((address,uint256),uint256)
function approveCross(Tuple6 memory approved, uint256 tokenId) public {
+=======
+ /// @dev EVM selector for this function is: 0x0ecd0ab0,
+ /// or in textual repr: approveCross(EthCrossAccount,uint256)
+ /// or in the expanded repr: approveCross((address,uint256),uint256)
+ function approveCross(EthCrossAccount memory approved, uint256 tokenId) public {
+>>>>>>> misk: update stubs
require(false, stub_error);
approved;
tokenId;
@@ -777,6 +876,7 @@
/// @param tokenId The NFT to transfer
/// @dev EVM selector for this function is: 0xd5cf430b,
/// or in textual repr: transferFromCross(EthCrossAccount,EthCrossAccount,uint256)
+ /// or in the expanded repr: transferFromCross((address,uint256),(address,uint256),uint256)
function transferFromCross(
<<<<<<< HEAD
Tuple6 memory from,
@@ -815,9 +915,16 @@
/// if `to` is the zero address. Throws if `tokenId` is not a valid NFT.
/// @param from The current owner of the NFT
/// @param tokenId The NFT to transfer
+<<<<<<< HEAD
/// @dev EVM selector for this function is: 0xa8106d4a,
/// or in textual repr: burnFromCross((address,uint256),uint256)
function burnFromCross(Tuple6 memory from, uint256 tokenId) public {
+=======
+ /// @dev EVM selector for this function is: 0xbb2f5a58,
+ /// or in textual repr: burnFromCross(EthCrossAccount,uint256)
+ /// or in the expanded repr: burnFromCross((address,uint256),uint256)
+ function burnFromCross(EthCrossAccount memory from, uint256 tokenId) public {
+>>>>>>> misk: update stubs
require(false, stub_error);
from;
tokenId;
@@ -873,7 +980,7 @@
/// should be obtained with `nextTokenId` method
/// @param to The new owner
/// @param tokenIds IDs of the minted NFTs
- /// @dev EVM selector for this function is: 0xf9d9a5a3,
+ /// @dev EVM selector for this function is: 0x44a9945e,
/// or in textual repr: mintBulk(address,uint256[])
function mintBulk(address to, uint256[] memory tokenIds) public returns (bool) {
require(false, stub_error);
@@ -888,7 +995,7 @@
/// numbers and first number should be obtained with `nextTokenId` method
/// @param to The new owner
/// @param tokens array of pairs of token ID and token URI for minted tokens
- /// @dev EVM selector for this function is: 0xfd4e2a99,
+ /// @dev EVM selector for this function is: 0x36543006,
/// or in textual repr: mintBulkWithTokenURI(address,(uint256,string)[])
function mintBulkWithTokenURI(address to, Tuple12[] memory tokens) public returns (bool) {
require(false, stub_error);
@@ -907,6 +1014,7 @@
}
<<<<<<< HEAD
+<<<<<<< HEAD
/// @dev anonymous struct
struct Tuple6 {
address field_0;
@@ -925,6 +1033,8 @@
uint256 field_1;
}
+=======
+>>>>>>> misk: update stubs
/// @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
/// @dev See https://eips.ethereum.org/EIPS/eip-721
/// @dev the ERC-165 identifier for this interface is 0x780e9d63
pallets/refungible/src/stubs/UniqueRefungible.soldiffbeforeafterboth--- a/pallets/refungible/src/stubs/UniqueRefungible.sol
+++ b/pallets/refungible/src/stubs/UniqueRefungible.sol
@@ -124,7 +124,7 @@
/// @param properties Vector of properties key/value pair.
/// @dev EVM selector for this function is: 0x50b26b2a,
/// or in textual repr: setCollectionProperties((string,bytes)[])
- function setCollectionProperties(Tuple19[] memory properties) public {
+ function setCollectionProperties(Tuple20[] memory properties) public {
require(false, stub_error);
properties;
dummy = 0;
@@ -173,11 +173,11 @@
/// @return Vector of properties key/value pairs.
/// @dev EVM selector for this function is: 0x285fb8e6,
/// or in textual repr: collectionProperties(string[])
- function collectionProperties(string[] memory keys) public view returns (Tuple19[] memory) {
+ function collectionProperties(string[] memory keys) public view returns (Tuple20[] memory) {
require(false, stub_error);
keys;
dummy;
- return new Tuple19[](0);
+ return new Tuple20[](0);
}
/// Set the sponsor of the collection.
@@ -199,8 +199,14 @@
///
/// @param sponsor Cross account address of the sponsor from whose account funds will be debited for operations with the contract.
/// @dev EVM selector for this function is: 0x84a1d5a8,
+<<<<<<< HEAD
/// or in textual repr: setCollectionSponsorCross((address,uint256))
function setCollectionSponsorCross(Tuple6 memory sponsor) public {
+=======
+ /// or in textual repr: setCollectionSponsorCross(EthCrossAccount)
+ /// or in the expanded repr: setCollectionSponsorCross((address,uint256))
+ function setCollectionSponsorCross(EthCrossAccount memory sponsor) public {
+>>>>>>> misk: update stubs
require(false, stub_error);
sponsor;
dummy = 0;
@@ -238,10 +244,17 @@
/// @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: 0x6ec0a9f1,
/// or in textual repr: collectionSponsor()
+<<<<<<< HEAD
function collectionSponsor() public view returns (Tuple6 memory) {
require(false, stub_error);
dummy;
return Tuple6(0x0000000000000000000000000000000000000000, 0);
+=======
+ function collectionSponsor() public view returns (Tuple23 memory) {
+ require(false, stub_error);
+ dummy;
+ return Tuple23(0x0000000000000000000000000000000000000000, 0);
+>>>>>>> misk: update stubs
}
/// Set limits for the collection.
@@ -291,8 +304,14 @@
/// Add collection admin.
/// @param newAdmin Cross account administrator address.
/// @dev EVM selector for this function is: 0x859aa7d6,
+<<<<<<< HEAD
/// or in textual repr: addCollectionAdminCross((address,uint256))
function addCollectionAdminCross(Tuple6 memory newAdmin) public {
+=======
+ /// or in textual repr: addCollectionAdminCross(EthCrossAccount)
+ /// or in the expanded repr: addCollectionAdminCross((address,uint256))
+ function addCollectionAdminCross(EthCrossAccount memory newAdmin) public {
+>>>>>>> misk: update stubs
require(false, stub_error);
newAdmin;
dummy = 0;
@@ -301,8 +320,14 @@
/// Remove collection admin.
/// @param admin Cross account administrator address.
/// @dev EVM selector for this function is: 0x6c0cd173,
+<<<<<<< HEAD
/// or in textual repr: removeCollectionAdminCross((address,uint256))
function removeCollectionAdminCross(Tuple6 memory admin) public {
+=======
+ /// or in textual repr: removeCollectionAdminCross(EthCrossAccount)
+ /// or in the expanded repr: removeCollectionAdminCross((address,uint256))
+ function removeCollectionAdminCross(EthCrossAccount memory admin) public {
+>>>>>>> misk: update stubs
require(false, stub_error);
admin;
dummy = 0;
@@ -392,8 +417,14 @@
///
/// @param user User cross account address.
/// @dev EVM selector for this function is: 0xa0184a3a,
+<<<<<<< HEAD
/// or in textual repr: addToCollectionAllowListCross((address,uint256))
function addToCollectionAllowListCross(Tuple6 memory user) public {
+=======
+ /// or in textual repr: addToCollectionAllowListCross(EthCrossAccount)
+ /// or in the expanded repr: addToCollectionAllowListCross((address,uint256))
+ function addToCollectionAllowListCross(EthCrossAccount memory user) public {
+>>>>>>> misk: update stubs
require(false, stub_error);
user;
dummy = 0;
@@ -414,8 +445,14 @@
///
/// @param user User cross account address.
/// @dev EVM selector for this function is: 0x09ba452a,
+<<<<<<< HEAD
/// or in textual repr: removeFromCollectionAllowListCross((address,uint256))
function removeFromCollectionAllowListCross(Tuple6 memory user) public {
+=======
+ /// or in textual repr: removeFromCollectionAllowListCross(EthCrossAccount)
+ /// or in the expanded repr: removeFromCollectionAllowListCross((address,uint256))
+ function removeFromCollectionAllowListCross(EthCrossAccount memory user) public {
+>>>>>>> misk: update stubs
require(false, stub_error);
user;
dummy = 0;
@@ -450,8 +487,14 @@
/// @param user User cross account to verify
/// @return "true" if account is the owner or admin
/// @dev EVM selector for this function is: 0x3e75a905,
+<<<<<<< HEAD
/// or in textual repr: isOwnerOrAdminCross((address,uint256))
function isOwnerOrAdminCross(Tuple6 memory user) public view returns (bool) {
+=======
+ /// or in textual repr: isOwnerOrAdminCross(EthCrossAccount)
+ /// or in the expanded repr: isOwnerOrAdminCross((address,uint256))
+ function isOwnerOrAdminCross(EthCrossAccount memory user) public view returns (bool) {
+>>>>>>> misk: update stubs
require(false, stub_error);
user;
dummy;
@@ -471,14 +514,21 @@
/// Get collection owner.
///
- /// @return Tuble with sponsor address and his substrate mirror.
+ /// @return Tuple with sponsor address and his substrate mirror.
/// If address is canonical then substrate mirror is zero and vice versa.
/// @dev EVM selector for this function is: 0xdf727d3b,
/// or in textual repr: collectionOwner()
+<<<<<<< HEAD
function collectionOwner() public view returns (Tuple6 memory) {
require(false, stub_error);
dummy;
return Tuple6(0x0000000000000000000000000000000000000000, 0);
+=======
+ function collectionOwner() public view returns (EthCrossAccount memory) {
+ require(false, stub_error);
+ dummy;
+ return EthCrossAccount(0x0000000000000000000000000000000000000000, 0);
+>>>>>>> misk: update stubs
}
/// Changes collection owner to another account
@@ -499,10 +549,17 @@
/// If address is canonical then substrate mirror is zero and vice versa.
/// @dev EVM selector for this function is: 0x5813216b,
/// or in textual repr: collectionAdmins()
+<<<<<<< HEAD
function collectionAdmins() public view returns (Tuple6[] memory) {
require(false, stub_error);
dummy;
return new Tuple6[](0);
+=======
+ function collectionAdmins() public view returns (EthCrossAccount[] memory) {
+ require(false, stub_error);
+ dummy;
+ return new EthCrossAccount[](0);
+>>>>>>> misk: update stubs
}
/// Changes collection owner to another account
@@ -510,16 +567,34 @@
/// @dev Owner can be changed only by current owner
/// @param newOwner new owner cross account
/// @dev EVM selector for this function is: 0xe5c9913f,
+<<<<<<< HEAD
/// or in textual repr: setOwnerCross((address,uint256))
function setOwnerCross(Tuple6 memory newOwner) public {
+=======
+ /// or in textual repr: setOwnerCross(EthCrossAccount)
+ /// or in the expanded repr: setOwnerCross((address,uint256))
+ function setOwnerCross(EthCrossAccount memory newOwner) public {
+>>>>>>> misk: update stubs
require(false, stub_error);
newOwner;
dummy = 0;
}
}
+/// @dev Cross account struct
+struct EthCrossAccount {
+ address eth;
+ uint256 sub;
+}
+
+/// @dev anonymous struct
+struct Tuple23 {
+ address field_0;
+ uint256 field_1;
+}
+
/// @dev anonymous struct
-struct Tuple19 {
+struct Tuple20 {
string field_0;
bytes field_1;
}
@@ -708,10 +783,16 @@
/// @param to The new owner
/// @param tokenId The RFT to transfer
/// @dev EVM selector for this function is: 0xd5cf430b,
- /// or in textual repr: transferFromCross((address,uint256),(address,uint256),uint256)
+ /// or in textual repr: transferFromCross(EthCrossAccount,EthCrossAccount,uint256)
+ /// or in the expanded repr: transferFromCross((address,uint256),(address,uint256),uint256)
function transferFromCross(
+<<<<<<< HEAD
Tuple6 memory from,
Tuple6 memory to,
+=======
+ EthCrossAccount memory from,
+ EthCrossAccount memory to,
+>>>>>>> misk: update stubs
uint256 tokenId
) public {
require(false, stub_error);
@@ -745,8 +826,14 @@
/// @param from The current owner of the RFT
/// @param tokenId The RFT to transfer
/// @dev EVM selector for this function is: 0xbb2f5a58,
+<<<<<<< HEAD
/// or in textual repr: burnFromCross((address,uint256),uint256)
function burnFromCross(Tuple6 memory from, uint256 tokenId) public {
+=======
+ /// or in textual repr: burnFromCross(EthCrossAccount,uint256)
+ /// or in the expanded repr: burnFromCross((address,uint256),uint256)
+ function burnFromCross(EthCrossAccount memory from, uint256 tokenId) public {
+>>>>>>> misk: update stubs
require(false, stub_error);
from;
tokenId;
@@ -762,6 +849,7 @@
return 0;
}
+<<<<<<< HEAD
// /// @notice Function to mint multiple tokens.
// /// @dev `tokenIds` should be an array of consecutive numbers and first number
// /// should be obtained with `nextTokenId` method
@@ -791,6 +879,37 @@
// dummy = 0;
// return false;
// }
+=======
+ /// @notice Function to mint multiple tokens.
+ /// @dev `tokenIds` should be an array of consecutive numbers and first number
+ /// should be obtained with `nextTokenId` method
+ /// @param to The new owner
+ /// @param tokenIds IDs of the minted RFTs
+ /// @dev EVM selector for this function is: 0x44a9945e,
+ /// or in textual repr: mintBulk(address,uint256[])
+ function mintBulk(address to, uint256[] memory tokenIds) public returns (bool) {
+ require(false, stub_error);
+ to;
+ tokenIds;
+ dummy = 0;
+ return false;
+ }
+
+ /// @notice Function to mint multiple tokens with the given tokenUris.
+ /// @dev `tokenIds` is array of pairs of token ID and token URI. Token IDs should be consecutive
+ /// numbers and first number should be obtained with `nextTokenId` method
+ /// @param to The new owner
+ /// @param tokens array of pairs of token ID and token URI for minted tokens
+ /// @dev EVM selector for this function is: 0x36543006,
+ /// or in textual repr: mintBulkWithTokenURI(address,(uint256,string)[])
+ function mintBulkWithTokenURI(address to, Tuple11[] memory tokens) public returns (bool) {
+ require(false, stub_error);
+ to;
+ tokens;
+ dummy = 0;
+ return false;
+ }
+>>>>>>> misk: update stubs
/// Returns EVM address for refungible token
///
@@ -806,17 +925,24 @@
}
/// @dev anonymous struct
+<<<<<<< HEAD
struct Tuple8 {
+=======
+struct Tuple11 {
+>>>>>>> misk: update stubs
uint256 field_0;
string field_1;
}
+<<<<<<< HEAD
/// @dev anonymous struct
struct Tuple6 {
address field_0;
uint256 field_1;
}
+=======
+>>>>>>> misk: update stubs
/// @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
/// @dev See https://eips.ethereum.org/EIPS/eip-721
/// @dev the ERC-165 identifier for this interface is 0x780e9d63
tests/src/eth/api/UniqueNFT.soldiffbeforeafterboth72/// @title A contract that allows you to work with collections.72/// @title A contract that allows you to work with collections.73<<<<<<< HEAD73<<<<<<< HEAD74<<<<<<< HEAD74<<<<<<< HEAD75<<<<<<< HEAD75/// @dev the ERC-165 identifier for this interface is 0xb3152af376/// @dev the ERC-165 identifier for this interface is 0xb3152af376=======77=======77/// @dev the ERC-165 identifier for this interface is 0x674be72678/// @dev the ERC-165 identifier for this interface is 0x674be72678>>>>>>> feat: Add custum signature with unlimited nesting.79>>>>>>> feat: Add custum signature with unlimited nesting.79=======80=======80/// @dev the ERC-165 identifier for this interface is 0x943ee09481/// @dev the ERC-165 identifier for this interface is 0x943ee09481>>>>>>> fix: after rebase82>>>>>>> fix: after rebase83=======84/// @dev the ERC-165 identifier for this interface is 0xefe988e085>>>>>>> misk: update stubs82interface Collection is Dummy, ERC165 {86interface Collection is Dummy, ERC165 {83 /// Set collection property.87 /// Set collection property.84 ///88 ///91 /// Set collection properties.95 /// Set collection properties.92 ///96 ///93 /// @param properties Vector of properties key/value pair.97 /// @param properties Vector of properties key/value pair.94 /// @dev EVM selector for this function is: 0xf90c1ce9,98 /// @dev EVM selector for this function is: 0x50b26b2a,95 /// or in textual repr: setCollectionProperties((string,bytes)[])99 /// or in textual repr: setCollectionProperties((string,bytes)[])96 function setCollectionProperties(Tuple21[] memory properties) external;100 function setCollectionProperties(Tuple21[] memory properties) external;97101105 /// Delete collection properties.109 /// Delete collection properties.106 ///110 ///107 /// @param keys Properties keys.111 /// @param keys Properties keys.108 /// @dev EVM selector for this function is: 0x56d4684a,112 /// @dev EVM selector for this function is: 0xee206ee3,109 /// or in textual repr: deleteCollectionProperties(string[])113 /// or in textual repr: deleteCollectionProperties(string[])110 function deleteCollectionProperties(string[] memory keys) external;114 function deleteCollectionProperties(string[] memory keys) external;111115123 ///127 ///124 /// @param keys Properties keys. Empty keys for all propertyes.128 /// @param keys Properties keys. Empty keys for all propertyes.125 /// @return Vector of properties key/value pairs.129 /// @return Vector of properties key/value pairs.126 /// @dev EVM selector for this function is: 0x5cad7311,130 /// @dev EVM selector for this function is: 0x285fb8e6,127 /// or in textual repr: collectionProperties(string[])131 /// or in textual repr: collectionProperties(string[])128 function collectionProperties(string[] memory keys) external view returns (Tuple21[] memory);132 function collectionProperties(string[] memory keys) external view returns (Tuple21[] memory);129133141 /// @dev In order for sponsorship to work, it must be confirmed on behalf of the sponsor.145 /// @dev In order for sponsorship to work, it must be confirmed on behalf of the sponsor.142 ///146 ///143 /// @param sponsor Cross account address of the sponsor from whose account funds will be debited for operations with the contract.147 /// @param sponsor Cross account address of the sponsor from whose account funds will be debited for operations with the contract.148<<<<<<< HEAD144 /// @dev EVM selector for this function is: 0x403e96a7,149 /// @dev EVM selector for this function is: 0x403e96a7,145 /// or in textual repr: setCollectionSponsorCross((address,uint256))150 /// or in textual repr: setCollectionSponsorCross((address,uint256))146 function setCollectionSponsorCross(Tuple6 memory sponsor) external;151 function setCollectionSponsorCross(Tuple6 memory sponsor) external;152=======153 /// @dev EVM selector for this function is: 0x84a1d5a8,154 /// or in textual repr: setCollectionSponsorCross(EthCrossAccount)155 /// or in the expanded repr: setCollectionSponsorCross((address,uint256))156 function setCollectionSponsorCross(EthCrossAccount memory sponsor) external;157>>>>>>> misk: update stubs147158148 /// Whether there is a pending sponsor.159 /// Whether there is a pending sponsor.149 /// @dev EVM selector for this function is: 0x058ac185,160 /// @dev EVM selector for this function is: 0x058ac185,167 /// @return Tuble with sponsor address and his substrate mirror. If there is no confirmed sponsor error "Contract has no sponsor" throw.178 /// @return Tuble with sponsor address and his substrate mirror. If there is no confirmed sponsor error "Contract has no sponsor" throw.168 /// @dev EVM selector for this function is: 0x6ec0a9f1,179 /// @dev EVM selector for this function is: 0x6ec0a9f1,169 /// or in textual repr: collectionSponsor()180 /// or in textual repr: collectionSponsor()170 function collectionSponsor() external view returns (Tuple8 memory);181 function collectionSponsor() external view returns (Tuple24 memory);171182172 /// Set limits for the collection.183 /// Set limits for the collection.173 /// @dev Throws error if limit not found.184 /// @dev Throws error if limit not found.201212202 /// Add collection admin.213 /// Add collection admin.203 /// @param newAdmin Cross account administrator address.214 /// @param newAdmin Cross account administrator address.215<<<<<<< HEAD204 /// @dev EVM selector for this function is: 0x62e3c7c2,216 /// @dev EVM selector for this function is: 0x62e3c7c2,205 /// or in textual repr: addCollectionAdminCross((address,uint256))217 /// or in textual repr: addCollectionAdminCross((address,uint256))206 function addCollectionAdminCross(Tuple6 memory newAdmin) external;218 function addCollectionAdminCross(Tuple6 memory newAdmin) external;210 /// @dev EVM selector for this function is: 0x810d1503,222 /// @dev EVM selector for this function is: 0x810d1503,211 /// or in textual repr: removeCollectionAdminCross((address,uint256))223 /// or in textual repr: removeCollectionAdminCross((address,uint256))212 function removeCollectionAdminCross(Tuple6 memory admin) external;224 function removeCollectionAdminCross(Tuple6 memory admin) external;225=======226 /// @dev EVM selector for this function is: 0x859aa7d6,227 /// or in textual repr: addCollectionAdminCross(EthCrossAccount)228 /// or in the expanded repr: addCollectionAdminCross((address,uint256))229 function addCollectionAdminCross(EthCrossAccount memory newAdmin) external;213230231 /// Remove collection admin.232 /// @param admin Cross account administrator address.233 /// @dev EVM selector for this function is: 0x6c0cd173,234 /// or in textual repr: removeCollectionAdminCross(EthCrossAccount)235 /// or in the expanded repr: removeCollectionAdminCross((address,uint256))236 function removeCollectionAdminCross(EthCrossAccount memory admin) external;237>>>>>>> misk: update stubs238214 /// Add collection admin.239 /// Add collection admin.215 /// @param newAdmin Address of the added administrator.240 /// @param newAdmin Address of the added administrator.216 /// @dev EVM selector for this function is: 0x92e462c7,241 /// @dev EVM selector for this function is: 0x92e462c7,235 ///260 ///236 /// @param enable If "true" degenerates to nesting: {OwnerRestricted: [1, 2, 3]} else to nesting: 'Disabled'261 /// @param enable If "true" degenerates to nesting: {OwnerRestricted: [1, 2, 3]} else to nesting: 'Disabled'237 /// @param collections Addresses of collections that will be available for nesting.262 /// @param collections Addresses of collections that will be available for nesting.238 /// @dev EVM selector for this function is: 0x112d4586,263 /// @dev EVM selector for this function is: 0x64872396,239 /// or in textual repr: setCollectionNesting(bool,address[])264 /// or in textual repr: setCollectionNesting(bool,address[])240 function setCollectionNesting(bool enable, address[] memory collections) external;265 function setCollectionNesting(bool enable, address[] memory collections) external;241266264 /// Add user to allowed list.289 /// Add user to allowed list.265 ///290 ///266 /// @param user User cross account address.291 /// @param user User cross account address.292<<<<<<< HEAD267 /// @dev EVM selector for this function is: 0xf074da88,293 /// @dev EVM selector for this function is: 0xf074da88,268 /// or in textual repr: addToCollectionAllowListCross((address,uint256))294 /// or in textual repr: addToCollectionAllowListCross((address,uint256))269 function addToCollectionAllowListCross(Tuple6 memory user) external;295 function addToCollectionAllowListCross(Tuple6 memory user) external;296=======297 /// @dev EVM selector for this function is: 0xa0184a3a,298 /// or in textual repr: addToCollectionAllowListCross(EthCrossAccount)299 /// or in the expanded repr: addToCollectionAllowListCross((address,uint256))300 function addToCollectionAllowListCross(EthCrossAccount memory user) external;301>>>>>>> misk: update stubs270302271 /// Remove the user from the allowed list.303 /// Remove the user from the allowed list.272 ///304 ///278 /// Remove user from allowed list.310 /// Remove user from allowed list.279 ///311 ///280 /// @param user User cross account address.312 /// @param user User cross account address.313<<<<<<< HEAD281 /// @dev EVM selector for this function is: 0xc00df45c,314 /// @dev EVM selector for this function is: 0xc00df45c,282 /// or in textual repr: removeFromCollectionAllowListCross((address,uint256))315 /// or in textual repr: removeFromCollectionAllowListCross((address,uint256))283 function removeFromCollectionAllowListCross(Tuple6 memory user) external;316 function removeFromCollectionAllowListCross(Tuple6 memory user) external;317=======318 /// @dev EVM selector for this function is: 0x09ba452a,319 /// or in textual repr: removeFromCollectionAllowListCross(EthCrossAccount)320 /// or in the expanded repr: removeFromCollectionAllowListCross((address,uint256))321 function removeFromCollectionAllowListCross(EthCrossAccount memory user) external;322>>>>>>> misk: update stubs284323285 /// Switch permission for minting.324 /// Switch permission for minting.286 ///325 ///301 ///340 ///302 /// @param user User cross account to verify341 /// @param user User cross account to verify303 /// @return "true" if account is the owner or admin342 /// @return "true" if account is the owner or admin343<<<<<<< HEAD304 /// @dev EVM selector for this function is: 0x5aba3351,344 /// @dev EVM selector for this function is: 0x5aba3351,305 /// or in textual repr: isOwnerOrAdminCross((address,uint256))345 /// or in textual repr: isOwnerOrAdminCross((address,uint256))306 function isOwnerOrAdminCross(Tuple6 memory user) external view returns (bool);346 function isOwnerOrAdminCross(Tuple6 memory user) external view returns (bool);347=======348 /// @dev EVM selector for this function is: 0x3e75a905,349 /// or in textual repr: isOwnerOrAdminCross(EthCrossAccount)350 /// or in the expanded repr: isOwnerOrAdminCross((address,uint256))351 function isOwnerOrAdminCross(EthCrossAccount memory user) external view returns (bool);352>>>>>>> misk: update stubs307353308 /// Returns collection type354 /// Returns collection type309 ///355 ///318 /// If address is canonical then substrate mirror is zero and vice versa.364 /// If address is canonical then substrate mirror is zero and vice versa.319 /// @dev EVM selector for this function is: 0xdf727d3b,365 /// @dev EVM selector for this function is: 0xdf727d3b,320 /// or in textual repr: collectionOwner()366 /// or in textual repr: collectionOwner()321 function collectionOwner() external view returns (Tuple8 memory);367 function collectionOwner() external view returns (EthCrossAccount memory);322368323 /// Changes collection owner to another account369 /// Changes collection owner to another account324 ///370 ///334 /// If address is canonical then substrate mirror is zero and vice versa.380 /// If address is canonical then substrate mirror is zero and vice versa.335 /// @dev EVM selector for this function is: 0x5813216b,381 /// @dev EVM selector for this function is: 0x5813216b,336 /// or in textual repr: collectionAdmins()382 /// or in textual repr: collectionAdmins()383<<<<<<< HEAD337 function collectionAdmins() external view returns (Tuple6[] memory);384 function collectionAdmins() external view returns (Tuple6[] memory);385=======386 function collectionAdmins() external view returns (EthCrossAccount[] memory);387>>>>>>> misk: update stubs338388339 /// Changes collection owner to another account389 /// Changes collection owner to another account340 ///390 ///341 /// @dev Owner can be changed only by current owner391 /// @dev Owner can be changed only by current owner342 /// @param newOwner new owner cross account392 /// @param newOwner new owner cross account393<<<<<<< HEAD343 /// @dev EVM selector for this function is: 0xbdff793d,394 /// @dev EVM selector for this function is: 0xbdff793d,344 /// or in textual repr: setOwnerCross((address,uint256))395 /// or in textual repr: setOwnerCross((address,uint256))345 function setOwnerCross(Tuple6 memory newOwner) external;396 function setOwnerCross(Tuple6 memory newOwner) external;397=======398 /// @dev EVM selector for this function is: 0xe5c9913f,399 /// or in textual repr: setOwnerCross(EthCrossAccount)400 /// or in the expanded repr: setOwnerCross((address,uint256))401 function setOwnerCross(EthCrossAccount memory newOwner) external;346}402}347403404/// @dev Cross account struct405struct EthCrossAccount {406 address eth;407 uint256 sub;408}409410/// @dev anonymous struct411struct Tuple24 {412 address field_0;413 uint256 field_1;414>>>>>>> misk: update stubs415}416348<<<<<<< HEAD417<<<<<<< HEAD349/// @dev anonymous struct418/// @dev anonymous struct350struct Tuple19 {419struct Tuple19 {459528460/// @title Unique extensions for ERC721.529/// @title Unique extensions for ERC721.461<<<<<<< HEAD530<<<<<<< HEAD531<<<<<<< HEAD462/// @dev the ERC-165 identifier for this interface is 0x244543ee532/// @dev the ERC-165 identifier for this interface is 0x244543ee463=======533=======464/// @dev the ERC-165 identifier for this interface is 0xcc97cb35534/// @dev the ERC-165 identifier for this interface is 0xcc97cb35465>>>>>>> feat: Add custum signature with unlimited nesting.535>>>>>>> feat: Add custum signature with unlimited nesting.536=======537/// @dev the ERC-165 identifier for this interface is 0xb76006ac538>>>>>>> misk: update stubs466interface ERC721UniqueExtensions is Dummy, ERC165 {539interface ERC721UniqueExtensions is Dummy, ERC165 {467 /// @notice A descriptive name for a collection of NFTs in this contract540 /// @notice A descriptive name for a collection of NFTs in this contract468 /// @dev EVM selector for this function is: 0x06fdde03,541 /// @dev EVM selector for this function is: 0x06fdde03,480 /// operator of the current owner.553 /// operator of the current owner.481 /// @param approved The new substrate address approved NFT controller554 /// @param approved The new substrate address approved NFT controller482 /// @param tokenId The NFT to approve555 /// @param tokenId The NFT to approve556<<<<<<< HEAD483 /// @dev EVM selector for this function is: 0x106fdb59,557 /// @dev EVM selector for this function is: 0x106fdb59,484 /// or in textual repr: approveCross((address,uint256),uint256)558 /// or in textual repr: approveCross((address,uint256),uint256)485 function approveCross(Tuple6 memory approved, uint256 tokenId) external;559 function approveCross(Tuple6 memory approved, uint256 tokenId) external;560=======561 /// @dev EVM selector for this function is: 0x0ecd0ab0,562 /// or in textual repr: approveCross(EthCrossAccount,uint256)563 /// or in the expanded repr: approveCross((address,uint256),uint256)564 function approveCross(EthCrossAccount memory approved, uint256 tokenId) external;565>>>>>>> misk: update stubs486566487 /// @notice Transfer ownership of an NFT567 /// @notice Transfer ownership of an NFT488 /// @dev Throws unless `msg.sender` is the current owner. Throws if `to`568 /// @dev Throws unless `msg.sender` is the current owner. Throws if `to`501 /// @param tokenId The NFT to transfer581 /// @param tokenId The NFT to transfer502 /// @dev EVM selector for this function is: 0xd5cf430b,582 /// @dev EVM selector for this function is: 0xd5cf430b,503 /// or in textual repr: transferFromCross(EthCrossAccount,EthCrossAccount,uint256)583 /// or in textual repr: transferFromCross(EthCrossAccount,EthCrossAccount,uint256)584 /// or in the expanded repr: transferFromCross((address,uint256),(address,uint256),uint256)504 function transferFromCross(585 function transferFromCross(505<<<<<<< HEAD586<<<<<<< HEAD506 Tuple6 memory from,587 Tuple6 memory from,528 /// if `to` is the zero address. Throws if `tokenId` is not a valid NFT.609 /// if `to` is the zero address. Throws if `tokenId` is not a valid NFT.529 /// @param from The current owner of the NFT610 /// @param from The current owner of the NFT530 /// @param tokenId The NFT to transfer611 /// @param tokenId The NFT to transfer612<<<<<<< HEAD531 /// @dev EVM selector for this function is: 0xa8106d4a,613 /// @dev EVM selector for this function is: 0xa8106d4a,532 /// or in textual repr: burnFromCross((address,uint256),uint256)614 /// or in textual repr: burnFromCross((address,uint256),uint256)533 function burnFromCross(Tuple6 memory from, uint256 tokenId) external;615 function burnFromCross(Tuple6 memory from, uint256 tokenId) external;616=======617 /// @dev EVM selector for this function is: 0xbb2f5a58,618 /// or in textual repr: burnFromCross(EthCrossAccount,uint256)619 /// or in the expanded repr: burnFromCross((address,uint256),uint256)620 function burnFromCross(EthCrossAccount memory from, uint256 tokenId) external;621>>>>>>> misk: update stubs534622535 /// @notice Returns next free NFT ID.623 /// @notice Returns next free NFT ID.536 /// @dev EVM selector for this function is: 0x75794a3c,624 /// @dev EVM selector for this function is: 0x75794a3c,565 /// should be obtained with `nextTokenId` method653 /// should be obtained with `nextTokenId` method566 /// @param to The new owner654 /// @param to The new owner567 /// @param tokenIds IDs of the minted NFTs655 /// @param tokenIds IDs of the minted NFTs568 /// @dev EVM selector for this function is: 0xf9d9a5a3,656 /// @dev EVM selector for this function is: 0x44a9945e,569 /// or in textual repr: mintBulk(address,uint256[])657 /// or in textual repr: mintBulk(address,uint256[])570 function mintBulk(address to, uint256[] memory tokenIds) external returns (bool);658 function mintBulk(address to, uint256[] memory tokenIds) external returns (bool);571659574 /// numbers and first number should be obtained with `nextTokenId` method662 /// numbers and first number should be obtained with `nextTokenId` method575 /// @param to The new owner663 /// @param to The new owner576 /// @param tokens array of pairs of token ID and token URI for minted tokens664 /// @param tokens array of pairs of token ID and token URI for minted tokens577 /// @dev EVM selector for this function is: 0xfd4e2a99,665 /// @dev EVM selector for this function is: 0x36543006,578 /// or in textual repr: mintBulkWithTokenURI(address,(uint256,string)[])666 /// or in textual repr: mintBulkWithTokenURI(address,(uint256,string)[])579 function mintBulkWithTokenURI(address to, Tuple12[] memory tokens) external returns (bool);667 function mintBulkWithTokenURI(address to, Tuple12[] memory tokens) external returns (bool);580}668}586 string field_1;674 string field_1;587}675}588676677<<<<<<< HEAD589/// @dev anonymous struct678/// @dev anonymous struct590struct Tuple8 {679struct Tuple8 {591 address field_0;680 address field_0;598 uint256 field_1;687 uint256 field_1;599}688}600689690=======691>>>>>>> misk: update stubs601/// @title ERC-721 Non-Fungible Token Standard, optional enumeration extension692/// @title ERC-721 Non-Fungible Token Standard, optional enumeration extension602/// @dev See https://eips.ethereum.org/EIPS/eip-721693/// @dev See https://eips.ethereum.org/EIPS/eip-721603/// @dev the ERC-165 identifier for this interface is 0x780e9d63694/// @dev the ERC-165 identifier for this interface is 0x780e9d63tests/src/eth/api/UniqueRefungible.soldiffbeforeafterboth--- a/tests/src/eth/api/UniqueRefungible.sol
+++ b/tests/src/eth/api/UniqueRefungible.sol
@@ -85,7 +85,7 @@
/// @param properties Vector of properties key/value pair.
/// @dev EVM selector for this function is: 0x50b26b2a,
/// or in textual repr: setCollectionProperties((string,bytes)[])
- function setCollectionProperties(Tuple19[] memory properties) external;
+ function setCollectionProperties(Tuple20[] memory properties) external;
/// Delete collection property.
///
@@ -117,7 +117,7 @@
/// @return Vector of properties key/value pairs.
/// @dev EVM selector for this function is: 0x285fb8e6,
/// or in textual repr: collectionProperties(string[])
- function collectionProperties(string[] memory keys) external view returns (Tuple19[] memory);
+ function collectionProperties(string[] memory keys) external view returns (Tuple20[] memory);
/// Set the sponsor of the collection.
///
@@ -134,8 +134,14 @@
///
/// @param sponsor Cross account address of the sponsor from whose account funds will be debited for operations with the contract.
/// @dev EVM selector for this function is: 0x84a1d5a8,
+<<<<<<< HEAD
/// or in textual repr: setCollectionSponsorCross((address,uint256))
function setCollectionSponsorCross(Tuple6 memory sponsor) external;
+=======
+ /// or in textual repr: setCollectionSponsorCross(EthCrossAccount)
+ /// or in the expanded repr: setCollectionSponsorCross((address,uint256))
+ function setCollectionSponsorCross(EthCrossAccount memory sponsor) external;
+>>>>>>> misk: update stubs
/// Whether there is a pending sponsor.
/// @dev EVM selector for this function is: 0x058ac185,
@@ -159,7 +165,11 @@
/// @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: 0x6ec0a9f1,
/// or in textual repr: collectionSponsor()
+<<<<<<< HEAD
function collectionSponsor() external view returns (Tuple6 memory);
+=======
+ function collectionSponsor() external view returns (Tuple23 memory);
+>>>>>>> misk: update stubs
/// Set limits for the collection.
/// @dev Throws error if limit not found.
@@ -194,14 +204,26 @@
/// Add collection admin.
/// @param newAdmin Cross account administrator address.
/// @dev EVM selector for this function is: 0x859aa7d6,
+<<<<<<< HEAD
/// or in textual repr: addCollectionAdminCross((address,uint256))
function addCollectionAdminCross(Tuple6 memory newAdmin) external;
+=======
+ /// or in textual repr: addCollectionAdminCross(EthCrossAccount)
+ /// or in the expanded repr: addCollectionAdminCross((address,uint256))
+ function addCollectionAdminCross(EthCrossAccount memory newAdmin) external;
+>>>>>>> misk: update stubs
/// Remove collection admin.
/// @param admin Cross account administrator address.
/// @dev EVM selector for this function is: 0x6c0cd173,
+<<<<<<< HEAD
/// or in textual repr: removeCollectionAdminCross((address,uint256))
function removeCollectionAdminCross(Tuple6 memory admin) external;
+=======
+ /// or in textual repr: removeCollectionAdminCross(EthCrossAccount)
+ /// or in the expanded repr: removeCollectionAdminCross((address,uint256))
+ function removeCollectionAdminCross(EthCrossAccount memory admin) external;
+>>>>>>> misk: update stubs
/// Add collection admin.
/// @param newAdmin Address of the added administrator.
@@ -257,8 +279,14 @@
///
/// @param user User cross account address.
/// @dev EVM selector for this function is: 0xa0184a3a,
+<<<<<<< HEAD
/// or in textual repr: addToCollectionAllowListCross((address,uint256))
function addToCollectionAllowListCross(Tuple6 memory user) external;
+=======
+ /// or in textual repr: addToCollectionAllowListCross(EthCrossAccount)
+ /// or in the expanded repr: addToCollectionAllowListCross((address,uint256))
+ function addToCollectionAllowListCross(EthCrossAccount memory user) external;
+>>>>>>> misk: update stubs
/// Remove the user from the allowed list.
///
@@ -271,8 +299,14 @@
///
/// @param user User cross account address.
/// @dev EVM selector for this function is: 0x09ba452a,
+<<<<<<< HEAD
/// or in textual repr: removeFromCollectionAllowListCross((address,uint256))
function removeFromCollectionAllowListCross(Tuple6 memory user) external;
+=======
+ /// or in textual repr: removeFromCollectionAllowListCross(EthCrossAccount)
+ /// or in the expanded repr: removeFromCollectionAllowListCross((address,uint256))
+ function removeFromCollectionAllowListCross(EthCrossAccount memory user) external;
+>>>>>>> misk: update stubs
/// Switch permission for minting.
///
@@ -294,8 +328,14 @@
/// @param user User cross account to verify
/// @return "true" if account is the owner or admin
/// @dev EVM selector for this function is: 0x3e75a905,
+<<<<<<< HEAD
/// or in textual repr: isOwnerOrAdminCross((address,uint256))
function isOwnerOrAdminCross(Tuple6 memory user) external view returns (bool);
+=======
+ /// or in textual repr: isOwnerOrAdminCross(EthCrossAccount)
+ /// or in the expanded repr: isOwnerOrAdminCross((address,uint256))
+ function isOwnerOrAdminCross(EthCrossAccount memory user) external view returns (bool);
+>>>>>>> misk: update stubs
/// Returns collection type
///
@@ -306,11 +346,15 @@
/// Get collection owner.
///
- /// @return Tuble with sponsor address and his substrate mirror.
+ /// @return Tuple with sponsor address and his substrate mirror.
/// If address is canonical then substrate mirror is zero and vice versa.
/// @dev EVM selector for this function is: 0xdf727d3b,
/// or in textual repr: collectionOwner()
+<<<<<<< HEAD
function collectionOwner() external view returns (Tuple6 memory);
+=======
+ function collectionOwner() external view returns (EthCrossAccount memory);
+>>>>>>> misk: update stubs
/// Changes collection owner to another account
///
@@ -326,19 +370,41 @@
/// If address is canonical then substrate mirror is zero and vice versa.
/// @dev EVM selector for this function is: 0x5813216b,
/// or in textual repr: collectionAdmins()
+<<<<<<< HEAD
function collectionAdmins() external view returns (Tuple6[] memory);
+=======
+ function collectionAdmins() external view returns (EthCrossAccount[] memory);
+>>>>>>> misk: update stubs
/// Changes collection owner to another account
///
/// @dev Owner can be changed only by current owner
/// @param newOwner new owner cross account
/// @dev EVM selector for this function is: 0xe5c9913f,
+<<<<<<< HEAD
/// or in textual repr: setOwnerCross((address,uint256))
function setOwnerCross(Tuple6 memory newOwner) external;
+=======
+ /// or in textual repr: setOwnerCross(EthCrossAccount)
+ /// or in the expanded repr: setOwnerCross((address,uint256))
+ function setOwnerCross(EthCrossAccount memory newOwner) external;
+}
+
+/// @dev Cross account struct
+struct EthCrossAccount {
+ address eth;
+ uint256 sub;
+}
+
+/// @dev anonymous struct
+struct Tuple23 {
+ address field_0;
+ uint256 field_1;
+>>>>>>> misk: update stubs
}
/// @dev anonymous struct
-struct Tuple19 {
+struct Tuple20 {
string field_0;
bytes field_1;
}
@@ -465,10 +531,16 @@
/// @param to The new owner
/// @param tokenId The RFT to transfer
/// @dev EVM selector for this function is: 0xd5cf430b,
- /// or in textual repr: transferFromCross((address,uint256),(address,uint256),uint256)
+ /// or in textual repr: transferFromCross(EthCrossAccount,EthCrossAccount,uint256)
+ /// or in the expanded repr: transferFromCross((address,uint256),(address,uint256),uint256)
function transferFromCross(
+<<<<<<< HEAD
Tuple6 memory from,
Tuple6 memory to,
+=======
+ EthCrossAccount memory from,
+ EthCrossAccount memory to,
+>>>>>>> misk: update stubs
uint256 tokenId
) external;
@@ -491,14 +563,21 @@
/// @param from The current owner of the RFT
/// @param tokenId The RFT to transfer
/// @dev EVM selector for this function is: 0xbb2f5a58,
+<<<<<<< HEAD
/// or in textual repr: burnFromCross((address,uint256),uint256)
function burnFromCross(Tuple6 memory from, uint256 tokenId) external;
+=======
+ /// or in textual repr: burnFromCross(EthCrossAccount,uint256)
+ /// or in the expanded repr: burnFromCross((address,uint256),uint256)
+ function burnFromCross(EthCrossAccount memory from, uint256 tokenId) external;
+>>>>>>> misk: update stubs
/// @notice Returns next free RFT ID.
/// @dev EVM selector for this function is: 0x75794a3c,
/// or in textual repr: nextTokenId()
function nextTokenId() external view returns (uint256);
+<<<<<<< HEAD
// /// @notice Function to mint multiple tokens.
// /// @dev `tokenIds` should be an array of consecutive numbers and first number
// /// should be obtained with `nextTokenId` method
@@ -516,6 +595,25 @@
// /// @dev EVM selector for this function is: 0x36543006,
// /// or in textual repr: mintBulkWithTokenURI(address,(uint256,string)[])
// function mintBulkWithTokenURI(address to, Tuple8[] memory tokens) external returns (bool);
+=======
+ /// @notice Function to mint multiple tokens.
+ /// @dev `tokenIds` should be an array of consecutive numbers and first number
+ /// should be obtained with `nextTokenId` method
+ /// @param to The new owner
+ /// @param tokenIds IDs of the minted RFTs
+ /// @dev EVM selector for this function is: 0x44a9945e,
+ /// or in textual repr: mintBulk(address,uint256[])
+ function mintBulk(address to, uint256[] memory tokenIds) external returns (bool);
+
+ /// @notice Function to mint multiple tokens with the given tokenUris.
+ /// @dev `tokenIds` is array of pairs of token ID and token URI. Token IDs should be consecutive
+ /// numbers and first number should be obtained with `nextTokenId` method
+ /// @param to The new owner
+ /// @param tokens array of pairs of token ID and token URI for minted tokens
+ /// @dev EVM selector for this function is: 0x36543006,
+ /// or in textual repr: mintBulkWithTokenURI(address,(uint256,string)[])
+ function mintBulkWithTokenURI(address to, Tuple11[] memory tokens) external returns (bool);
+>>>>>>> misk: update stubs
/// Returns EVM address for refungible token
///
@@ -526,17 +624,24 @@
}
/// @dev anonymous struct
+<<<<<<< HEAD
struct Tuple8 {
+=======
+struct Tuple11 {
+>>>>>>> misk: update stubs
uint256 field_0;
string field_1;
}
+<<<<<<< HEAD
/// @dev anonymous struct
struct Tuple6 {
address field_0;
uint256 field_1;
}
+=======
+>>>>>>> misk: update stubs
/// @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
/// @dev See https://eips.ethereum.org/EIPS/eip-721
/// @dev the ERC-165 identifier for this interface is 0x780e9d63
tests/src/eth/fungibleAbi.jsondiffbeforeafterboth--- a/tests/src/eth/fungibleAbi.json
+++ b/tests/src/eth/fungibleAbi.json
@@ -62,10 +62,15 @@
"inputs": [
{
"components": [
+<<<<<<< HEAD
{ "internalType": "address", "name": "field_0", "type": "address" },
{ "internalType": "uint256", "name": "field_1", "type": "uint256" }
+=======
+ { "internalType": "address", "name": "eth", "type": "address" },
+ { "internalType": "uint256", "name": "sub", "type": "uint256" }
+>>>>>>> misk: update stubs
],
- "internalType": "struct Tuple6",
+ "internalType": "struct EthCrossAccount",
"name": "newAdmin",
"type": "tuple"
}
@@ -88,10 +93,15 @@
"inputs": [
{
"components": [
+<<<<<<< HEAD
{ "internalType": "address", "name": "field_0", "type": "address" },
{ "internalType": "uint256", "name": "field_1", "type": "uint256" }
+=======
+ { "internalType": "address", "name": "eth", "type": "address" },
+ { "internalType": "uint256", "name": "sub", "type": "uint256" }
+>>>>>>> misk: update stubs
],
- "internalType": "struct Tuple6",
+ "internalType": "struct EthCrossAccount",
"name": "user",
"type": "tuple"
}
@@ -134,10 +144,15 @@
"inputs": [
{
"components": [
+<<<<<<< HEAD
{ "internalType": "address", "name": "field_0", "type": "address" },
{ "internalType": "uint256", "name": "field_1", "type": "uint256" }
+=======
+ { "internalType": "address", "name": "eth", "type": "address" },
+ { "internalType": "uint256", "name": "sub", "type": "uint256" }
+>>>>>>> misk: update stubs
],
- "internalType": "struct Tuple6",
+ "internalType": "struct EthCrossAccount",
"name": "spender",
"type": "tuple"
},
@@ -171,10 +186,15 @@
"inputs": [
{
"components": [
+<<<<<<< HEAD
{ "internalType": "address", "name": "field_0", "type": "address" },
{ "internalType": "uint256", "name": "field_1", "type": "uint256" }
+=======
+ { "internalType": "address", "name": "eth", "type": "address" },
+ { "internalType": "uint256", "name": "sub", "type": "uint256" }
+>>>>>>> misk: update stubs
],
- "internalType": "struct Tuple6",
+ "internalType": "struct EthCrossAccount",
"name": "from",
"type": "tuple"
},
@@ -182,6 +202,7 @@
],
"name": "burnFromCross",
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
+<<<<<<< HEAD
"stateMutability": "nonpayable",
"type": "function"
},
@@ -191,6 +212,8 @@
],
"name": "changeCollectionOwner",
"outputs": [],
+=======
+>>>>>>> misk: update stubs
"stateMutability": "nonpayable",
"type": "function"
},
@@ -200,10 +223,15 @@
"outputs": [
{
"components": [
+<<<<<<< HEAD
{ "internalType": "address", "name": "field_0", "type": "address" },
{ "internalType": "uint256", "name": "field_1", "type": "uint256" }
+=======
+ { "internalType": "address", "name": "eth", "type": "address" },
+ { "internalType": "uint256", "name": "sub", "type": "uint256" }
+>>>>>>> misk: update stubs
],
- "internalType": "struct Tuple6[]",
+ "internalType": "struct EthCrossAccount[]",
"name": "",
"type": "tuple[]"
}
@@ -217,10 +245,15 @@
"outputs": [
{
"components": [
+<<<<<<< HEAD
{ "internalType": "address", "name": "field_0", "type": "address" },
{ "internalType": "uint256", "name": "field_1", "type": "uint256" }
+=======
+ { "internalType": "address", "name": "eth", "type": "address" },
+ { "internalType": "uint256", "name": "sub", "type": "uint256" }
+>>>>>>> misk: update stubs
],
- "internalType": "struct Tuple6",
+ "internalType": "struct EthCrossAccount",
"name": "",
"type": "tuple"
}
@@ -239,7 +272,7 @@
{ "internalType": "string", "name": "field_0", "type": "string" },
{ "internalType": "bytes", "name": "field_1", "type": "bytes" }
],
- "internalType": "struct Tuple10[]",
+ "internalType": "struct Tuple14[]",
"name": "",
"type": "tuple[]"
}
@@ -263,7 +296,7 @@
{ "internalType": "address", "name": "field_0", "type": "address" },
{ "internalType": "uint256", "name": "field_1", "type": "uint256" }
],
- "internalType": "struct Tuple6",
+ "internalType": "struct Tuple8",
"name": "",
"type": "tuple"
}
@@ -328,10 +361,15 @@
"inputs": [
{
"components": [
+<<<<<<< HEAD
{ "internalType": "address", "name": "field_0", "type": "address" },
{ "internalType": "uint256", "name": "field_1", "type": "uint256" }
+=======
+ { "internalType": "address", "name": "eth", "type": "address" },
+ { "internalType": "uint256", "name": "sub", "type": "uint256" }
+>>>>>>> misk: update stubs
],
- "internalType": "struct Tuple6",
+ "internalType": "struct EthCrossAccount",
"name": "user",
"type": "tuple"
}
@@ -358,7 +396,7 @@
{ "internalType": "address", "name": "field_0", "type": "address" },
{ "internalType": "uint256", "name": "field_1", "type": "uint256" }
],
- "internalType": "struct Tuple6[]",
+ "internalType": "struct Tuple8[]",
"name": "amounts",
"type": "tuple[]"
}
@@ -388,10 +426,15 @@
"inputs": [
{
"components": [
+<<<<<<< HEAD
{ "internalType": "address", "name": "field_0", "type": "address" },
{ "internalType": "uint256", "name": "field_1", "type": "uint256" }
+=======
+ { "internalType": "address", "name": "eth", "type": "address" },
+ { "internalType": "uint256", "name": "sub", "type": "uint256" }
+>>>>>>> misk: update stubs
],
- "internalType": "struct Tuple6",
+ "internalType": "struct EthCrossAccount",
"name": "admin",
"type": "tuple"
}
@@ -421,10 +464,15 @@
"inputs": [
{
"components": [
+<<<<<<< HEAD
{ "internalType": "address", "name": "field_0", "type": "address" },
{ "internalType": "uint256", "name": "field_1", "type": "uint256" }
+=======
+ { "internalType": "address", "name": "eth", "type": "address" },
+ { "internalType": "uint256", "name": "sub", "type": "uint256" }
+>>>>>>> misk: update stubs
],
- "internalType": "struct Tuple6",
+ "internalType": "struct EthCrossAccount",
"name": "user",
"type": "tuple"
}
@@ -496,7 +544,7 @@
{ "internalType": "string", "name": "field_0", "type": "string" },
{ "internalType": "bytes", "name": "field_1", "type": "bytes" }
],
- "internalType": "struct Tuple10[]",
+ "internalType": "struct Tuple14[]",
"name": "properties",
"type": "tuple[]"
}
@@ -529,10 +577,15 @@
"inputs": [
{
"components": [
+<<<<<<< HEAD
{ "internalType": "address", "name": "field_0", "type": "address" },
{ "internalType": "uint256", "name": "field_1", "type": "uint256" }
+=======
+ { "internalType": "address", "name": "eth", "type": "address" },
+ { "internalType": "uint256", "name": "sub", "type": "uint256" }
+>>>>>>> misk: update stubs
],
- "internalType": "struct Tuple6",
+ "internalType": "struct EthCrossAccount",
"name": "sponsor",
"type": "tuple"
}
@@ -544,12 +597,28 @@
},
{
"inputs": [
+<<<<<<< HEAD
{
"components": [
{ "internalType": "address", "name": "field_0", "type": "address" },
{ "internalType": "uint256", "name": "field_1", "type": "uint256" }
+=======
+ { "internalType": "address", "name": "newOwner", "type": "address" }
+ ],
+ "name": "setOwner",
+ "outputs": [],
+ "stateMutability": "nonpayable",
+ "type": "function"
+ },
+ {
+ "inputs": [
+ {
+ "components": [
+ { "internalType": "address", "name": "eth", "type": "address" },
+ { "internalType": "uint256", "name": "sub", "type": "uint256" }
+>>>>>>> misk: update stubs
],
- "internalType": "struct Tuple6",
+ "internalType": "struct EthCrossAccount",
"name": "newOwner",
"type": "tuple"
}
@@ -607,19 +676,29 @@
"inputs": [
{
"components": [
+<<<<<<< HEAD
{ "internalType": "address", "name": "field_0", "type": "address" },
{ "internalType": "uint256", "name": "field_1", "type": "uint256" }
+=======
+ { "internalType": "address", "name": "eth", "type": "address" },
+ { "internalType": "uint256", "name": "sub", "type": "uint256" }
+>>>>>>> misk: update stubs
],
- "internalType": "struct Tuple6",
+ "internalType": "struct EthCrossAccount",
"name": "from",
"type": "tuple"
},
{
"components": [
+<<<<<<< HEAD
{ "internalType": "address", "name": "field_0", "type": "address" },
{ "internalType": "uint256", "name": "field_1", "type": "uint256" }
+=======
+ { "internalType": "address", "name": "eth", "type": "address" },
+ { "internalType": "uint256", "name": "sub", "type": "uint256" }
+>>>>>>> misk: update stubs
],
- "internalType": "struct Tuple6",
+ "internalType": "struct EthCrossAccount",
"name": "to",
"type": "tuple"
},
tests/src/eth/nonFungibleAbi.jsondiffbeforeafterboth--- a/tests/src/eth/nonFungibleAbi.json
+++ b/tests/src/eth/nonFungibleAbi.json
@@ -93,10 +93,14 @@
"inputs": [
{
"components": [
- { "internalType": "address", "name": "field_0", "type": "address" },
- { "internalType": "uint256", "name": "field_1", "type": "uint256" }
+ { "internalType": "address", "name": "eth", "type": "address" },
+ { "internalType": "uint256", "name": "sub", "type": "uint256" }
],
+<<<<<<< HEAD
"internalType": "struct Tuple6",
+=======
+ "internalType": "struct EthCrossAccount",
+>>>>>>> misk: update stubs
"name": "newAdmin",
"type": "tuple"
}
@@ -119,10 +123,14 @@
"inputs": [
{
"components": [
- { "internalType": "address", "name": "field_0", "type": "address" },
- { "internalType": "uint256", "name": "field_1", "type": "uint256" }
+ { "internalType": "address", "name": "eth", "type": "address" },
+ { "internalType": "uint256", "name": "sub", "type": "uint256" }
],
+<<<<<<< HEAD
"internalType": "struct Tuple6",
+=======
+ "internalType": "struct EthCrossAccount",
+>>>>>>> misk: update stubs
"name": "user",
"type": "tuple"
}
@@ -155,10 +163,14 @@
"inputs": [
{
"components": [
- { "internalType": "address", "name": "field_0", "type": "address" },
- { "internalType": "uint256", "name": "field_1", "type": "uint256" }
+ { "internalType": "address", "name": "eth", "type": "address" },
+ { "internalType": "uint256", "name": "sub", "type": "uint256" }
],
+<<<<<<< HEAD
"internalType": "struct Tuple6",
+=======
+ "internalType": "struct EthCrossAccount",
+>>>>>>> misk: update stubs
"name": "approved",
"type": "tuple"
},
@@ -201,10 +213,14 @@
"inputs": [
{
"components": [
- { "internalType": "address", "name": "field_0", "type": "address" },
- { "internalType": "uint256", "name": "field_1", "type": "uint256" }
+ { "internalType": "address", "name": "eth", "type": "address" },
+ { "internalType": "uint256", "name": "sub", "type": "uint256" }
],
+<<<<<<< HEAD
"internalType": "struct Tuple6",
+=======
+ "internalType": "struct EthCrossAccount",
+>>>>>>> misk: update stubs
"name": "from",
"type": "tuple"
},
@@ -230,10 +246,14 @@
"outputs": [
{
"components": [
- { "internalType": "address", "name": "field_0", "type": "address" },
- { "internalType": "uint256", "name": "field_1", "type": "uint256" }
+ { "internalType": "address", "name": "eth", "type": "address" },
+ { "internalType": "uint256", "name": "sub", "type": "uint256" }
],
+<<<<<<< HEAD
"internalType": "struct Tuple6[]",
+=======
+ "internalType": "struct EthCrossAccount[]",
+>>>>>>> misk: update stubs
"name": "",
"type": "tuple[]"
}
@@ -247,11 +267,12 @@
"outputs": [
{
"components": [
- { "internalType": "address", "name": "field_0", "type": "address" },
- { "internalType": "uint256", "name": "field_1", "type": "uint256" }
+ { "internalType": "address", "name": "eth", "type": "address" },
+ { "internalType": "uint256", "name": "sub", "type": "uint256" }
],
<<<<<<< HEAD
<<<<<<< HEAD
+<<<<<<< HEAD
"internalType": "struct Tuple6",
=======
"internalType": "struct Tuple19",
@@ -259,6 +280,9 @@
=======
"internalType": "struct Tuple8",
>>>>>>> feat: Add custum signature with unlimited nesting.
+=======
+ "internalType": "struct EthCrossAccount",
+>>>>>>> misk: update stubs
"name": "",
"type": "tuple"
}
@@ -319,6 +343,7 @@
],
<<<<<<< HEAD
<<<<<<< HEAD
+<<<<<<< HEAD
"internalType": "struct Tuple6",
=======
"internalType": "struct Tuple19",
@@ -326,6 +351,9 @@
=======
"internalType": "struct Tuple8",
>>>>>>> feat: Add custum signature with unlimited nesting.
+=======
+ "internalType": "struct Tuple24",
+>>>>>>> misk: update stubs
"name": "",
"type": "tuple"
}
@@ -428,10 +456,14 @@
"inputs": [
{
"components": [
- { "internalType": "address", "name": "field_0", "type": "address" },
- { "internalType": "uint256", "name": "field_1", "type": "uint256" }
+ { "internalType": "address", "name": "eth", "type": "address" },
+ { "internalType": "uint256", "name": "sub", "type": "uint256" }
],
+<<<<<<< HEAD
"internalType": "struct Tuple6",
+=======
+ "internalType": "struct EthCrossAccount",
+>>>>>>> misk: update stubs
"name": "user",
"type": "tuple"
}
@@ -556,10 +588,14 @@
"inputs": [
{
"components": [
- { "internalType": "address", "name": "field_0", "type": "address" },
- { "internalType": "uint256", "name": "field_1", "type": "uint256" }
+ { "internalType": "address", "name": "eth", "type": "address" },
+ { "internalType": "uint256", "name": "sub", "type": "uint256" }
],
+<<<<<<< HEAD
"internalType": "struct Tuple6",
+=======
+ "internalType": "struct EthCrossAccount",
+>>>>>>> misk: update stubs
"name": "admin",
"type": "tuple"
}
@@ -589,10 +625,14 @@
"inputs": [
{
"components": [
- { "internalType": "address", "name": "field_0", "type": "address" },
- { "internalType": "uint256", "name": "field_1", "type": "uint256" }
+ { "internalType": "address", "name": "eth", "type": "address" },
+ { "internalType": "uint256", "name": "sub", "type": "uint256" }
],
+<<<<<<< HEAD
"internalType": "struct Tuple6",
+=======
+ "internalType": "struct EthCrossAccount",
+>>>>>>> misk: update stubs
"name": "user",
"type": "tuple"
}
@@ -745,10 +785,14 @@
"inputs": [
{
"components": [
- { "internalType": "address", "name": "field_0", "type": "address" },
- { "internalType": "uint256", "name": "field_1", "type": "uint256" }
+ { "internalType": "address", "name": "eth", "type": "address" },
+ { "internalType": "uint256", "name": "sub", "type": "uint256" }
],
+<<<<<<< HEAD
"internalType": "struct Tuple6",
+=======
+ "internalType": "struct EthCrossAccount",
+>>>>>>> misk: update stubs
"name": "sponsor",
"type": "tuple"
}
@@ -785,6 +829,7 @@
{
"components": [
<<<<<<< HEAD
+<<<<<<< HEAD
{ "internalType": "string", "name": "field_0", "type": "string" },
{ "internalType": "bytes", "name": "field_1", "type": "bytes" }
=======
@@ -795,6 +840,14 @@
"internalType": "struct Tuple19[]",
"name": "properties",
"type": "tuple[]"
+=======
+ { "internalType": "address", "name": "eth", "type": "address" },
+ { "internalType": "uint256", "name": "sub", "type": "uint256" }
+ ],
+ "internalType": "struct EthCrossAccount",
+ "name": "newOwner",
+ "type": "tuple"
+>>>>>>> misk: update stubs
}
],
"name": "setProperties",
tests/src/eth/reFungibleAbi.jsondiffbeforeafterboth--- a/tests/src/eth/reFungibleAbi.json
+++ b/tests/src/eth/reFungibleAbi.json
@@ -93,10 +93,17 @@
"inputs": [
{
"components": [
+<<<<<<< HEAD
{ "internalType": "address", "name": "field_0", "type": "address" },
{ "internalType": "uint256", "name": "field_1", "type": "uint256" }
],
"internalType": "struct Tuple6",
+=======
+ { "internalType": "address", "name": "eth", "type": "address" },
+ { "internalType": "uint256", "name": "sub", "type": "uint256" }
+ ],
+ "internalType": "struct EthCrossAccount",
+>>>>>>> misk: update stubs
"name": "newAdmin",
"type": "tuple"
}
@@ -119,10 +126,17 @@
"inputs": [
{
"components": [
+<<<<<<< HEAD
{ "internalType": "address", "name": "field_0", "type": "address" },
{ "internalType": "uint256", "name": "field_1", "type": "uint256" }
],
"internalType": "struct Tuple6",
+=======
+ { "internalType": "address", "name": "eth", "type": "address" },
+ { "internalType": "uint256", "name": "sub", "type": "uint256" }
+ ],
+ "internalType": "struct EthCrossAccount",
+>>>>>>> misk: update stubs
"name": "user",
"type": "tuple"
}
@@ -183,10 +197,17 @@
"inputs": [
{
"components": [
+<<<<<<< HEAD
{ "internalType": "address", "name": "field_0", "type": "address" },
{ "internalType": "uint256", "name": "field_1", "type": "uint256" }
],
"internalType": "struct Tuple6",
+=======
+ { "internalType": "address", "name": "eth", "type": "address" },
+ { "internalType": "uint256", "name": "sub", "type": "uint256" }
+ ],
+ "internalType": "struct EthCrossAccount",
+>>>>>>> misk: update stubs
"name": "from",
"type": "tuple"
},
@@ -212,10 +233,17 @@
"outputs": [
{
"components": [
+<<<<<<< HEAD
{ "internalType": "address", "name": "field_0", "type": "address" },
{ "internalType": "uint256", "name": "field_1", "type": "uint256" }
],
"internalType": "struct Tuple6[]",
+=======
+ { "internalType": "address", "name": "eth", "type": "address" },
+ { "internalType": "uint256", "name": "sub", "type": "uint256" }
+ ],
+ "internalType": "struct EthCrossAccount[]",
+>>>>>>> misk: update stubs
"name": "",
"type": "tuple[]"
}
@@ -229,10 +257,17 @@
"outputs": [
{
"components": [
+<<<<<<< HEAD
{ "internalType": "address", "name": "field_0", "type": "address" },
{ "internalType": "uint256", "name": "field_1", "type": "uint256" }
],
"internalType": "struct Tuple6",
+=======
+ { "internalType": "address", "name": "eth", "type": "address" },
+ { "internalType": "uint256", "name": "sub", "type": "uint256" }
+ ],
+ "internalType": "struct EthCrossAccount",
+>>>>>>> misk: update stubs
"name": "",
"type": "tuple"
}
@@ -251,7 +286,7 @@
{ "internalType": "string", "name": "field_0", "type": "string" },
{ "internalType": "bytes", "name": "field_1", "type": "bytes" }
],
- "internalType": "struct Tuple19[]",
+ "internalType": "struct Tuple20[]",
"name": "",
"type": "tuple[]"
}
@@ -275,7 +310,11 @@
{ "internalType": "address", "name": "field_0", "type": "address" },
{ "internalType": "uint256", "name": "field_1", "type": "uint256" }
],
+<<<<<<< HEAD
"internalType": "struct Tuple6",
+=======
+ "internalType": "struct Tuple23",
+>>>>>>> misk: update stubs
"name": "",
"type": "tuple"
}
@@ -369,10 +408,17 @@
"inputs": [
{
"components": [
+<<<<<<< HEAD
{ "internalType": "address", "name": "field_0", "type": "address" },
{ "internalType": "uint256", "name": "field_1", "type": "uint256" }
],
"internalType": "struct Tuple6",
+=======
+ { "internalType": "address", "name": "eth", "type": "address" },
+ { "internalType": "uint256", "name": "sub", "type": "uint256" }
+ ],
+ "internalType": "struct EthCrossAccount",
+>>>>>>> misk: update stubs
"name": "user",
"type": "tuple"
}
@@ -383,23 +429,68 @@
"type": "function"
},
{
+<<<<<<< HEAD
"inputs": [{ "internalType": "address", "name": "to", "type": "address" }],
"name": "mint",
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
+=======
+ "inputs": [
+ { "internalType": "address", "name": "to", "type": "address" },
+ { "internalType": "uint256", "name": "tokenId", "type": "uint256" }
+ ],
+ "name": "mint",
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
+>>>>>>> misk: update stubs
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{ "internalType": "address", "name": "to", "type": "address" },
+<<<<<<< HEAD
{ "internalType": "string", "name": "tokenUri", "type": "string" }
],
"name": "mintWithTokenURI",
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
+=======
+ { "internalType": "uint256[]", "name": "tokenIds", "type": "uint256[]" }
+ ],
+ "name": "mintBulk",
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
"stateMutability": "nonpayable",
"type": "function"
},
{
+ "inputs": [
+ { "internalType": "address", "name": "to", "type": "address" },
+ {
+ "components": [
+ { "internalType": "uint256", "name": "field_0", "type": "uint256" },
+ { "internalType": "string", "name": "field_1", "type": "string" }
+ ],
+ "internalType": "struct Tuple11[]",
+ "name": "tokens",
+ "type": "tuple[]"
+ }
+ ],
+ "name": "mintBulkWithTokenURI",
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
+ "stateMutability": "nonpayable",
+ "type": "function"
+ },
+ {
+ "inputs": [
+ { "internalType": "address", "name": "to", "type": "address" },
+ { "internalType": "uint256", "name": "tokenId", "type": "uint256" },
+ { "internalType": "string", "name": "tokenUri", "type": "string" }
+ ],
+ "name": "mintWithTokenURI",
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
+>>>>>>> misk: update stubs
+ "stateMutability": "nonpayable",
+ "type": "function"
+ },
+ {
"inputs": [],
"name": "mintingFinished",
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
@@ -452,10 +543,17 @@
"inputs": [
{
"components": [
+<<<<<<< HEAD
{ "internalType": "address", "name": "field_0", "type": "address" },
{ "internalType": "uint256", "name": "field_1", "type": "uint256" }
],
"internalType": "struct Tuple6",
+=======
+ { "internalType": "address", "name": "eth", "type": "address" },
+ { "internalType": "uint256", "name": "sub", "type": "uint256" }
+ ],
+ "internalType": "struct EthCrossAccount",
+>>>>>>> misk: update stubs
"name": "admin",
"type": "tuple"
}
@@ -485,10 +583,17 @@
"inputs": [
{
"components": [
+<<<<<<< HEAD
{ "internalType": "address", "name": "field_0", "type": "address" },
{ "internalType": "uint256", "name": "field_1", "type": "uint256" }
],
"internalType": "struct Tuple6",
+=======
+ { "internalType": "address", "name": "eth", "type": "address" },
+ { "internalType": "uint256", "name": "sub", "type": "uint256" }
+ ],
+ "internalType": "struct EthCrossAccount",
+>>>>>>> misk: update stubs
"name": "user",
"type": "tuple"
}
@@ -593,7 +698,7 @@
{ "internalType": "string", "name": "field_0", "type": "string" },
{ "internalType": "bytes", "name": "field_1", "type": "bytes" }
],
- "internalType": "struct Tuple19[]",
+ "internalType": "struct Tuple20[]",
"name": "properties",
"type": "tuple[]"
}
@@ -626,10 +731,17 @@
"inputs": [
{
"components": [
+<<<<<<< HEAD
{ "internalType": "address", "name": "field_0", "type": "address" },
{ "internalType": "uint256", "name": "field_1", "type": "uint256" }
],
"internalType": "struct Tuple6",
+=======
+ { "internalType": "address", "name": "eth", "type": "address" },
+ { "internalType": "uint256", "name": "sub", "type": "uint256" }
+ ],
+ "internalType": "struct EthCrossAccount",
+>>>>>>> misk: update stubs
"name": "sponsor",
"type": "tuple"
}
@@ -641,6 +753,7 @@
},
{
"inputs": [
+<<<<<<< HEAD
{
"components": [
{ "internalType": "address", "name": "field_0", "type": "address" },
@@ -650,6 +763,9 @@
"name": "newOwner",
"type": "tuple"
}
+=======
+ { "internalType": "address", "name": "newOwner", "type": "address" }
+>>>>>>> misk: update stubs
],
"name": "setOwnerCross",
"outputs": [],
@@ -661,12 +777,21 @@
{ "internalType": "uint256", "name": "tokenId", "type": "uint256" },
{
"components": [
+<<<<<<< HEAD
{ "internalType": "string", "name": "field_0", "type": "string" },
{ "internalType": "bytes", "name": "field_1", "type": "bytes" }
],
"internalType": "struct Tuple19[]",
"name": "properties",
"type": "tuple[]"
+=======
+ { "internalType": "address", "name": "eth", "type": "address" },
+ { "internalType": "uint256", "name": "sub", "type": "uint256" }
+ ],
+ "internalType": "struct EthCrossAccount",
+ "name": "newOwner",
+ "type": "tuple"
+>>>>>>> misk: update stubs
}
],
"name": "setProperties",
@@ -782,19 +907,33 @@
"inputs": [
{
"components": [
+<<<<<<< HEAD
{ "internalType": "address", "name": "field_0", "type": "address" },
{ "internalType": "uint256", "name": "field_1", "type": "uint256" }
],
"internalType": "struct Tuple6",
+=======
+ { "internalType": "address", "name": "eth", "type": "address" },
+ { "internalType": "uint256", "name": "sub", "type": "uint256" }
+ ],
+ "internalType": "struct EthCrossAccount",
+>>>>>>> misk: update stubs
"name": "from",
"type": "tuple"
},
{
"components": [
+<<<<<<< HEAD
{ "internalType": "address", "name": "field_0", "type": "address" },
{ "internalType": "uint256", "name": "field_1", "type": "uint256" }
],
"internalType": "struct Tuple6",
+=======
+ { "internalType": "address", "name": "eth", "type": "address" },
+ { "internalType": "uint256", "name": "sub", "type": "uint256" }
+ ],
+ "internalType": "struct EthCrossAccount",
+>>>>>>> misk: update stubs
"name": "to",
"type": "tuple"
},