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.soldiffbeforeafterboth1// SPDX-License-Identifier: OTHER2// This code is automatically generated34pragma solidity >=0.8.0 <0.9.0;56/// @dev common stubs holder7interface Dummy {89}1011interface ERC165 is Dummy {12 function supportsInterface(bytes4 interfaceID) external view returns (bool);13}1415/// @title A contract that allows to set and delete token properties and change token property permissions.16/// @dev the ERC-165 identifier for this interface is 0x55dba91917interface TokenProperties is Dummy, ERC165 {18 /// @notice Set permissions for token property.19 /// @dev Throws error if `msg.sender` is not admin or owner of the collection.20 /// @param key Property key.21 /// @param isMutable Permission to mutate property.22 /// @param collectionAdmin Permission to mutate property by collection admin if property is mutable.23 /// @param tokenOwner Permission to mutate property by token owner if property is mutable.24 /// @dev EVM selector for this function is: 0x222d97fa,25 /// or in textual repr: setTokenPropertyPermission(string,bool,bool,bool)26 function setTokenPropertyPermission(27 string memory key,28 bool isMutable,29 bool collectionAdmin,30 bool tokenOwner31 ) external;3233 /// @notice Set token property value.34 /// @dev Throws error if `msg.sender` has no permission to edit the property.35 /// @param tokenId ID of the token.36 /// @param key Property key.37 /// @param value Property value.38 /// @dev EVM selector for this function is: 0x1752d67b,39 /// or in textual repr: setProperty(uint256,string,bytes)40 function setProperty(41 uint256 tokenId,42 string memory key,43 bytes memory value44 ) external;4546 /// @notice Set token properties value.47 /// @dev Throws error if `msg.sender` has no permission to edit the property.48 /// @param tokenId ID of the token.49 /// @param properties settable properties50 /// @dev EVM selector for this function is: 0x14ed3a6e,51 /// or in textual repr: setProperties(uint256,(string,bytes)[])52 function setProperties(uint256 tokenId, Tuple19[] memory properties) external;5354 /// @notice Delete token property value.55 /// @dev Throws error if `msg.sender` has no permission to edit the property.56 /// @param tokenId ID of the token.57 /// @param key Property key.58 /// @dev EVM selector for this function is: 0x066111d1,59 /// or in textual repr: deleteProperty(uint256,string)60 function deleteProperty(uint256 tokenId, string memory key) external;6162 /// @notice Get token property value.63 /// @dev Throws error if key not found64 /// @param tokenId ID of the token.65 /// @param key Property key.66 /// @return Property value bytes67 /// @dev EVM selector for this function is: 0x7228c327,68 /// or in textual repr: property(uint256,string)69 function property(uint256 tokenId, string memory key) external view returns (bytes memory);70}7172/// @title A contract that allows you to work with collections.73<<<<<<< HEAD74<<<<<<< HEAD75<<<<<<< HEAD76/// @dev the ERC-165 identifier for this interface is 0xb3152af377=======78/// @dev the ERC-165 identifier for this interface is 0x674be72679>>>>>>> feat: Add custum signature with unlimited nesting.80=======81/// @dev the ERC-165 identifier for this interface is 0x943ee09482>>>>>>> fix: after rebase83=======84/// @dev the ERC-165 identifier for this interface is 0xefe988e085>>>>>>> misk: update stubs86interface Collection is Dummy, ERC165 {87 /// Set collection property.88 ///89 /// @param key Property key.90 /// @param value Propery value.91 /// @dev EVM selector for this function is: 0x2f073f66,92 /// or in textual repr: setCollectionProperty(string,bytes)93 function setCollectionProperty(string memory key, bytes memory value) external;9495 /// Set collection properties.96 ///97 /// @param properties Vector of properties key/value pair.98 /// @dev EVM selector for this function is: 0x50b26b2a,99 /// or in textual repr: setCollectionProperties((string,bytes)[])100 function setCollectionProperties(Tuple21[] memory properties) external;101102 /// Delete collection property.103 ///104 /// @param key Property key.105 /// @dev EVM selector for this function is: 0x7b7debce,106 /// or in textual repr: deleteCollectionProperty(string)107 function deleteCollectionProperty(string memory key) external;108109 /// Delete collection properties.110 ///111 /// @param keys Properties keys.112 /// @dev EVM selector for this function is: 0xee206ee3,113 /// or in textual repr: deleteCollectionProperties(string[])114 function deleteCollectionProperties(string[] memory keys) external;115116 /// Get collection property.117 ///118 /// @dev Throws error if key not found.119 ///120 /// @param key Property key.121 /// @return bytes The property corresponding to the key.122 /// @dev EVM selector for this function is: 0xcf24fd6d,123 /// or in textual repr: collectionProperty(string)124 function collectionProperty(string memory key) external view returns (bytes memory);125126 /// Get collection properties.127 ///128 /// @param keys Properties keys. Empty keys for all propertyes.129 /// @return Vector of properties key/value pairs.130 /// @dev EVM selector for this function is: 0x285fb8e6,131 /// or in textual repr: collectionProperties(string[])132 function collectionProperties(string[] memory keys) external view returns (Tuple21[] memory);133134 /// Set the sponsor of the collection.135 ///136 /// @dev In order for sponsorship to work, it must be confirmed on behalf of the sponsor.137 ///138 /// @param sponsor Address of the sponsor from whose account funds will be debited for operations with the contract.139 /// @dev EVM selector for this function is: 0x7623402e,140 /// or in textual repr: setCollectionSponsor(address)141 function setCollectionSponsor(address sponsor) external;142143 /// Set the sponsor of the collection.144 ///145 /// @dev In order for sponsorship to work, it must be confirmed on behalf of the sponsor.146 ///147 /// @param sponsor Cross account address of the sponsor from whose account funds will be debited for operations with the contract.148<<<<<<< HEAD149 /// @dev EVM selector for this function is: 0x403e96a7,150 /// or in textual repr: setCollectionSponsorCross((address,uint256))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 stubs158159 /// Whether there is a pending sponsor.160 /// @dev EVM selector for this function is: 0x058ac185,161 /// or in textual repr: hasCollectionPendingSponsor()162 function hasCollectionPendingSponsor() external view returns (bool);163164 /// Collection sponsorship confirmation.165 ///166 /// @dev After setting the sponsor for the collection, it must be confirmed with this function.167 /// @dev EVM selector for this function is: 0x3c50e97a,168 /// or in textual repr: confirmCollectionSponsorship()169 function confirmCollectionSponsorship() external;170171 /// Remove collection sponsor.172 /// @dev EVM selector for this function is: 0x6e0326a3,173 /// or in textual repr: removeCollectionSponsor()174 function removeCollectionSponsor() external;175176 /// Get current sponsor.177 ///178 /// @return Tuble with sponsor address and his substrate mirror. If there is no confirmed sponsor error "Contract has no sponsor" throw.179 /// @dev EVM selector for this function is: 0x6ec0a9f1,180 /// or in textual repr: collectionSponsor()181 function collectionSponsor() external view returns (Tuple24 memory);182183 /// Set limits for the collection.184 /// @dev Throws error if limit not found.185 /// @param limit Name of the limit. Valid names:186 /// "accountTokenOwnershipLimit",187 /// "sponsoredDataSize",188 /// "sponsoredDataRateLimit",189 /// "tokenLimit",190 /// "sponsorTransferTimeout",191 /// "sponsorApproveTimeout"192 /// @param value Value of the limit.193 /// @dev EVM selector for this function is: 0x6a3841db,194 /// or in textual repr: setCollectionLimit(string,uint32)195 function setCollectionLimit(string memory limit, uint32 value) external;196197 /// Set limits for the collection.198 /// @dev Throws error if limit not found.199 /// @param limit Name of the limit. Valid names:200 /// "ownerCanTransfer",201 /// "ownerCanDestroy",202 /// "transfersEnabled"203 /// @param value Value of the limit.204 /// @dev EVM selector for this function is: 0x993b7fba,205 /// or in textual repr: setCollectionLimit(string,bool)206 function setCollectionLimit(string memory limit, bool value) external;207208 /// Get contract address.209 /// @dev EVM selector for this function is: 0xf6b4dfb4,210 /// or in textual repr: contractAddress()211 function contractAddress() external view returns (address);212213 /// Add collection admin.214 /// @param newAdmin Cross account administrator address.215<<<<<<< HEAD216 /// @dev EVM selector for this function is: 0x62e3c7c2,217 /// or in textual repr: addCollectionAdminCross((address,uint256))218 function addCollectionAdminCross(Tuple6 memory newAdmin) external;219220 /// Remove collection admin.221 /// @param admin Cross account administrator address.222 /// @dev EVM selector for this function is: 0x810d1503,223 /// or in textual repr: removeCollectionAdminCross((address,uint256))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;230231 /// 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 stubs238239 /// Add collection admin.240 /// @param newAdmin Address of the added administrator.241 /// @dev EVM selector for this function is: 0x92e462c7,242 /// or in textual repr: addCollectionAdmin(address)243 function addCollectionAdmin(address newAdmin) external;244245 /// Remove collection admin.246 ///247 /// @param admin Address of the removed administrator.248 /// @dev EVM selector for this function is: 0xfafd7b42,249 /// or in textual repr: removeCollectionAdmin(address)250 function removeCollectionAdmin(address admin) external;251252 /// Toggle accessibility of collection nesting.253 ///254 /// @param enable If "true" degenerates to nesting: 'Owner' else to nesting: 'Disabled'255 /// @dev EVM selector for this function is: 0x112d4586,256 /// or in textual repr: setCollectionNesting(bool)257 function setCollectionNesting(bool enable) external;258259 /// Toggle accessibility of collection nesting.260 ///261 /// @param enable If "true" degenerates to nesting: {OwnerRestricted: [1, 2, 3]} else to nesting: 'Disabled'262 /// @param collections Addresses of collections that will be available for nesting.263 /// @dev EVM selector for this function is: 0x64872396,264 /// or in textual repr: setCollectionNesting(bool,address[])265 function setCollectionNesting(bool enable, address[] memory collections) external;266267 /// Set the collection access method.268 /// @param mode Access mode269 /// 0 for Normal270 /// 1 for AllowList271 /// @dev EVM selector for this function is: 0x41835d4c,272 /// or in textual repr: setCollectionAccess(uint8)273 function setCollectionAccess(uint8 mode) external;274275 /// Checks that user allowed to operate with collection.276 ///277 /// @param user User address to check.278 /// @dev EVM selector for this function is: 0xd63a8e11,279 /// or in textual repr: allowed(address)280 function allowed(address user) external view returns (bool);281282 /// Add the user to the allowed list.283 ///284 /// @param user Address of a trusted user.285 /// @dev EVM selector for this function is: 0x67844fe6,286 /// or in textual repr: addToCollectionAllowList(address)287 function addToCollectionAllowList(address user) external;288289 /// Add user to allowed list.290 ///291 /// @param user User cross account address.292<<<<<<< HEAD293 /// @dev EVM selector for this function is: 0xf074da88,294 /// or in textual repr: addToCollectionAllowListCross((address,uint256))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 stubs302303 /// Remove the user from the allowed list.304 ///305 /// @param user Address of a removed user.306 /// @dev EVM selector for this function is: 0x85c51acb,307 /// or in textual repr: removeFromCollectionAllowList(address)308 function removeFromCollectionAllowList(address user) external;309310 /// Remove user from allowed list.311 ///312 /// @param user User cross account address.313<<<<<<< HEAD314 /// @dev EVM selector for this function is: 0xc00df45c,315 /// or in textual repr: removeFromCollectionAllowListCross((address,uint256))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 stubs323324 /// Switch permission for minting.325 ///326 /// @param mode Enable if "true".327 /// @dev EVM selector for this function is: 0x00018e84,328 /// or in textual repr: setCollectionMintMode(bool)329 function setCollectionMintMode(bool mode) external;330331 /// Check that account is the owner or admin of the collection332 ///333 /// @param user account to verify334 /// @return "true" if account is the owner or admin335 /// @dev EVM selector for this function is: 0x9811b0c7,336 /// or in textual repr: isOwnerOrAdmin(address)337 function isOwnerOrAdmin(address user) external view returns (bool);338339 /// Check that account is the owner or admin of the collection340 ///341 /// @param user User cross account to verify342 /// @return "true" if account is the owner or admin343<<<<<<< HEAD344 /// @dev EVM selector for this function is: 0x5aba3351,345 /// or in textual repr: isOwnerOrAdminCross((address,uint256))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 stubs353354 /// Returns collection type355 ///356 /// @return `Fungible` or `NFT` or `ReFungible`357 /// @dev EVM selector for this function is: 0xd34b55b8,358 /// or in textual repr: uniqueCollectionType()359 function uniqueCollectionType() external view returns (string memory);360361 /// Get collection owner.362 ///363 /// @return Tuple with sponsor address and his substrate mirror.364 /// If address is canonical then substrate mirror is zero and vice versa.365 /// @dev EVM selector for this function is: 0xdf727d3b,366 /// or in textual repr: collectionOwner()367 function collectionOwner() external view returns (EthCrossAccount memory);368369 /// Changes collection owner to another account370 ///371 /// @dev Owner can be changed only by current owner372 /// @param newOwner new owner account373 /// @dev EVM selector for this function is: 0x4f53e226,374 /// or in textual repr: changeCollectionOwner(address)375 function changeCollectionOwner(address newOwner) external;376377 /// Get collection administrators378 ///379 /// @return Vector of tuples with admins address and his substrate mirror.380 /// If address is canonical then substrate mirror is zero and vice versa.381 /// @dev EVM selector for this function is: 0x5813216b,382 /// or in textual repr: collectionAdmins()383<<<<<<< HEAD384 function collectionAdmins() external view returns (Tuple6[] memory);385=======386 function collectionAdmins() external view returns (EthCrossAccount[] memory);387>>>>>>> misk: update stubs388389 /// Changes collection owner to another account390 ///391 /// @dev Owner can be changed only by current owner392 /// @param newOwner new owner cross account393<<<<<<< HEAD394 /// @dev EVM selector for this function is: 0xbdff793d,395 /// or in textual repr: setOwnerCross((address,uint256))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;402}403404/// @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}416417<<<<<<< HEAD418/// @dev anonymous struct419struct Tuple19 {420 address field_0;421 uint256 field_1;422}423424<<<<<<< HEAD425/// @title ERC-721 Non-Fungible Token Standard, optional metadata extension426/// @dev See https://eips.ethereum.org/EIPS/eip-721427/// @dev the ERC-165 identifier for this interface is 0x5b5e139f428interface ERC721Metadata is Dummy, ERC165 {429 // /// @notice A descriptive name for a collection of NFTs in this contract430 // /// @dev real implementation of this function lies in `ERC721UniqueExtensions`431 // /// @dev EVM selector for this function is: 0x06fdde03,432 // /// or in textual repr: name()433 // function name() external view returns (string memory);434435 // /// @notice An abbreviated name for NFTs in this contract436 // /// @dev real implementation of this function lies in `ERC721UniqueExtensions`437 // /// @dev EVM selector for this function is: 0x95d89b41,438 // /// or in textual repr: symbol()439 // function symbol() external view returns (string memory);440441 /// @notice A distinct Uniform Resource Identifier (URI) for a given asset.442 ///443 /// @dev If the token has a `url` property and it is not empty, it is returned.444 /// Else If the collection does not have a property with key `schemaName` or its value is not equal to `ERC721Metadata`, it return an error `tokenURI not set`.445 /// If the collection property `baseURI` is empty or absent, return "" (empty string)446 /// otherwise, if token property `suffix` present and is non-empty, return concatenation of baseURI and suffix447 /// otherwise, return concatenation of `baseURI` and stringified token id (decimal stringifying, without paddings).448 ///449 /// @return token's const_metadata450 /// @dev EVM selector for this function is: 0xc87b56dd,451 /// or in textual repr: tokenURI(uint256)452 function tokenURI(uint256 tokenId) external view returns (string memory);453}454455=======456>>>>>>> feat: Add custum signature with unlimited nesting.457=======458/// @dev anonymous struct459struct Tuple21 {460 string field_0;461 bytes field_1;462}463464>>>>>>> fix: after rebase465/// @title ERC721 Token that can be irreversibly burned (destroyed).466/// @dev the ERC-165 identifier for this interface is 0x42966c68467interface ERC721Burnable is Dummy, ERC165 {468 /// @notice Burns a specific ERC721 token.469 /// @dev Throws unless `msg.sender` is the current NFT owner, or an authorized470 /// operator of the current owner.471 /// @param tokenId The NFT to approve472 /// @dev EVM selector for this function is: 0x42966c68,473 /// or in textual repr: burn(uint256)474 function burn(uint256 tokenId) external;475}476477/// @dev inlined interface478interface ERC721UniqueMintableEvents {479 event MintingFinished();480}481482/// @title ERC721 minting logic.483/// @dev the ERC-165 identifier for this interface is 0x476ff149484interface ERC721UniqueMintable is Dummy, ERC165, ERC721UniqueMintableEvents {485 /// @dev EVM selector for this function is: 0x05d2035b,486 /// or in textual repr: mintingFinished()487 function mintingFinished() external view returns (bool);488489 /// @notice Function to mint token.490 /// @param to The new owner491 /// @return uint256 The id of the newly minted token492 /// @dev EVM selector for this function is: 0x6a627842,493 /// or in textual repr: mint(address)494 function mint(address to) external returns (uint256);495496 // /// @notice Function to mint token.497 // /// @dev `tokenId` should be obtained with `nextTokenId` method,498 // /// unlike standard, you can't specify it manually499 // /// @param to The new owner500 // /// @param tokenId ID of the minted NFT501 // /// @dev EVM selector for this function is: 0x40c10f19,502 // /// or in textual repr: mint(address,uint256)503 // function mint(address to, uint256 tokenId) external returns (bool);504505 /// @notice Function to mint token with the given tokenUri.506 /// @param to The new owner507 /// @param tokenUri Token URI that would be stored in the NFT properties508 /// @return uint256 The id of the newly minted token509 /// @dev EVM selector for this function is: 0x45c17782,510 /// or in textual repr: mintWithTokenURI(address,string)511 function mintWithTokenURI(address to, string memory tokenUri) external returns (uint256);512513 // /// @notice Function to mint token with the given tokenUri.514 // /// @dev `tokenId` should be obtained with `nextTokenId` method,515 // /// unlike standard, you can't specify it manually516 // /// @param to The new owner517 // /// @param tokenId ID of the minted NFT518 // /// @param tokenUri Token URI that would be stored in the NFT properties519 // /// @dev EVM selector for this function is: 0x50bb4e7f,520 // /// or in textual repr: mintWithTokenURI(address,uint256,string)521 // function mintWithTokenURI(address to, uint256 tokenId, string memory tokenUri) external returns (bool);522523 /// @dev Not implemented524 /// @dev EVM selector for this function is: 0x7d64bcb4,525 /// or in textual repr: finishMinting()526 function finishMinting() external returns (bool);527}528529/// @title Unique extensions for ERC721.530<<<<<<< HEAD531<<<<<<< HEAD532/// @dev the ERC-165 identifier for this interface is 0x244543ee533=======534/// @dev the ERC-165 identifier for this interface is 0xcc97cb35535>>>>>>> feat: Add custum signature with unlimited nesting.536=======537/// @dev the ERC-165 identifier for this interface is 0xb76006ac538>>>>>>> misk: update stubs539interface ERC721UniqueExtensions is Dummy, ERC165 {540 /// @notice A descriptive name for a collection of NFTs in this contract541 /// @dev EVM selector for this function is: 0x06fdde03,542 /// or in textual repr: name()543 function name() external view returns (string memory);544545 /// @notice An abbreviated name for NFTs in this contract546 /// @dev EVM selector for this function is: 0x95d89b41,547 /// or in textual repr: symbol()548 function symbol() external view returns (string memory);549550 /// @notice Set or reaffirm the approved address for an NFT551 /// @dev The zero address indicates there is no approved address.552 /// @dev Throws unless `msg.sender` is the current NFT owner, or an authorized553 /// operator of the current owner.554 /// @param approved The new substrate address approved NFT controller555 /// @param tokenId The NFT to approve556<<<<<<< HEAD557 /// @dev EVM selector for this function is: 0x106fdb59,558 /// or in textual repr: approveCross((address,uint256),uint256)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 stubs566567 /// @notice Transfer ownership of an NFT568 /// @dev Throws unless `msg.sender` is the current owner. Throws if `to`569 /// is the zero address. Throws if `tokenId` is not a valid NFT.570 /// @param to The new owner571 /// @param tokenId The NFT to transfer572 /// @dev EVM selector for this function is: 0xa9059cbb,573 /// or in textual repr: transfer(address,uint256)574 function transfer(address to, uint256 tokenId) external;575576 /// @notice Transfer ownership of an NFT from cross account address to cross account address577 /// @dev Throws unless `msg.sender` is the current owner. Throws if `to`578 /// is the zero address. Throws if `tokenId` is not a valid NFT.579 /// @param from Cross acccount address of current owner580 /// @param to Cross acccount address of new owner581 /// @param tokenId The NFT to transfer582 /// @dev EVM selector for this function is: 0xd5cf430b,583 /// or in textual repr: transferFromCross(EthCrossAccount,EthCrossAccount,uint256)584 /// or in the expanded repr: transferFromCross((address,uint256),(address,uint256),uint256)585 function transferFromCross(586<<<<<<< HEAD587 Tuple6 memory from,588 Tuple6 memory to,589=======590 EthCrossAccount memory from,591 EthCrossAccount memory to,592>>>>>>> feat: Add custum signature with unlimited nesting.593 uint256 tokenId594 ) external;595596 /// @notice Burns a specific ERC721 token.597 /// @dev Throws unless `msg.sender` is the current owner or an authorized598 /// operator for this NFT. Throws if `from` is not the current owner. Throws599 /// if `to` is the zero address. Throws if `tokenId` is not a valid NFT.600 /// @param from The current owner of the NFT601 /// @param tokenId The NFT to transfer602 /// @dev EVM selector for this function is: 0x79cc6790,603 /// or in textual repr: burnFrom(address,uint256)604 function burnFrom(address from, uint256 tokenId) external;605606 /// @notice Burns a specific ERC721 token.607 /// @dev Throws unless `msg.sender` is the current owner or an authorized608 /// operator for this NFT. Throws if `from` is not the current owner. Throws609 /// if `to` is the zero address. Throws if `tokenId` is not a valid NFT.610 /// @param from The current owner of the NFT611 /// @param tokenId The NFT to transfer612<<<<<<< HEAD613 /// @dev EVM selector for this function is: 0xa8106d4a,614 /// or in textual repr: burnFromCross((address,uint256),uint256)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 stubs622623 /// @notice Returns next free NFT ID.624 /// @dev EVM selector for this function is: 0x75794a3c,625 /// or in textual repr: nextTokenId()626 function nextTokenId() external view returns (uint256);627<<<<<<< HEAD628 // /// @notice Function to mint multiple tokens.629 // /// @dev `tokenIds` should be an array of consecutive numbers and first number630 // /// should be obtained with `nextTokenId` method631 // /// @param to The new owner632 // /// @param tokenIds IDs of the minted NFTs633 // /// @dev EVM selector for this function is: 0x44a9945e,634 // /// or in textual repr: mintBulk(address,uint256[])635 // function mintBulk(address to, uint256[] memory tokenIds) external returns (bool);636637 // /// @notice Function to mint multiple tokens with the given tokenUris.638 // /// @dev `tokenIds` is array of pairs of token ID and token URI. Token IDs should be consecutive639 // /// numbers and first number should be obtained with `nextTokenId` method640 // /// @param to The new owner641 // /// @param tokens array of pairs of token ID and token URI for minted tokens642 // /// @dev EVM selector for this function is: 0x36543006,643 // /// or in textual repr: mintBulkWithTokenURI(address,(uint256,string)[])644 // function mintBulkWithTokenURI(address to, Tuple8[] memory tokens) external returns (bool);645}646647/// @dev anonymous struct648struct Tuple8 {649=======650651 /// @notice Function to mint multiple tokens.652 /// @dev `tokenIds` should be an array of consecutive numbers and first number653 /// should be obtained with `nextTokenId` method654 /// @param to The new owner655 /// @param tokenIds IDs of the minted NFTs656 /// @dev EVM selector for this function is: 0x44a9945e,657 /// or in textual repr: mintBulk(address,uint256[])658 function mintBulk(address to, uint256[] memory tokenIds) external returns (bool);659660 /// @notice Function to mint multiple tokens with the given tokenUris.661 /// @dev `tokenIds` is array of pairs of token ID and token URI. Token IDs should be consecutive662 /// numbers and first number should be obtained with `nextTokenId` method663 /// @param to The new owner664 /// @param tokens array of pairs of token ID and token URI for minted tokens665 /// @dev EVM selector for this function is: 0x36543006,666 /// or in textual repr: mintBulkWithTokenURI(address,(uint256,string)[])667 function mintBulkWithTokenURI(address to, Tuple12[] memory tokens) external returns (bool);668}669670/// @dev anonymous struct671struct Tuple12 {672>>>>>>> feat: Add custum signature with unlimited nesting.673 uint256 field_0;674 string field_1;675}676677<<<<<<< HEAD678/// @dev anonymous struct679struct Tuple8 {680 address field_0;681 uint256 field_1;682}683684/// @dev anonymous struct685struct Tuple8 {686 address field_0;687 uint256 field_1;688}689690=======691>>>>>>> misk: update stubs692/// @title ERC-721 Non-Fungible Token Standard, optional enumeration extension693/// @dev See https://eips.ethereum.org/EIPS/eip-721694/// @dev the ERC-165 identifier for this interface is 0x780e9d63695interface ERC721Enumerable is Dummy, ERC165 {696 /// @notice Enumerate valid NFTs697 /// @param index A counter less than `totalSupply()`698 /// @return The token identifier for the `index`th NFT,699 /// (sort order not specified)700 /// @dev EVM selector for this function is: 0x4f6ccce7,701 /// or in textual repr: tokenByIndex(uint256)702 function tokenByIndex(uint256 index) external view returns (uint256);703704 /// @dev Not implemented705 /// @dev EVM selector for this function is: 0x2f745c59,706 /// or in textual repr: tokenOfOwnerByIndex(address,uint256)707 function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);708709 /// @notice Count NFTs tracked by this contract710 /// @return A count of valid NFTs tracked by this contract, where each one of711 /// them has an assigned and queryable owner not equal to the zero address712 /// @dev EVM selector for this function is: 0x18160ddd,713 /// or in textual repr: totalSupply()714 function totalSupply() external view returns (uint256);715}716717/// @dev inlined interface718interface ERC721Events {719 event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);720 event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);721 event ApprovalForAll(address indexed owner, address indexed operator, bool approved);722}723724/// @title ERC-721 Non-Fungible Token Standard725/// @dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md726/// @dev the ERC-165 identifier for this interface is 0x80ac58cd727interface ERC721 is Dummy, ERC165, ERC721Events {728 /// @notice Count all NFTs assigned to an owner729 /// @dev NFTs assigned to the zero address are considered invalid, and this730 /// function throws for queries about the zero address.731 /// @param owner An address for whom to query the balance732 /// @return The number of NFTs owned by `owner`, possibly zero733 /// @dev EVM selector for this function is: 0x70a08231,734 /// or in textual repr: balanceOf(address)735 function balanceOf(address owner) external view returns (uint256);736737 /// @notice Find the owner of an NFT738 /// @dev NFTs assigned to zero address are considered invalid, and queries739 /// about them do throw.740 /// @param tokenId The identifier for an NFT741 /// @return The address of the owner of the NFT742 /// @dev EVM selector for this function is: 0x6352211e,743 /// or in textual repr: ownerOf(uint256)744 function ownerOf(uint256 tokenId) external view returns (address);745746 /// @dev Not implemented747 /// @dev EVM selector for this function is: 0xb88d4fde,748 /// or in textual repr: safeTransferFrom(address,address,uint256,bytes)749 function safeTransferFrom(750 address from,751 address to,752 uint256 tokenId,753 bytes memory data754 ) external;755756 /// @dev Not implemented757 /// @dev EVM selector for this function is: 0x42842e0e,758 /// or in textual repr: safeTransferFrom(address,address,uint256)759 function safeTransferFrom(760 address from,761 address to,762 uint256 tokenId763 ) external;764765 /// @notice Transfer ownership of an NFT -- THE CALLER IS RESPONSIBLE766 /// TO CONFIRM THAT `to` IS CAPABLE OF RECEIVING NFTS OR ELSE767 /// THEY MAY BE PERMANENTLY LOST768 /// @dev Throws unless `msg.sender` is the current owner or an authorized769 /// operator for this NFT. Throws if `from` is not the current owner. Throws770 /// if `to` is the zero address. Throws if `tokenId` is not a valid NFT.771 /// @param from The current owner of the NFT772 /// @param to The new owner773 /// @param tokenId The NFT to transfer774 /// @dev EVM selector for this function is: 0x23b872dd,775 /// or in textual repr: transferFrom(address,address,uint256)776 function transferFrom(777 address from,778 address to,779 uint256 tokenId780 ) external;781782 /// @notice Set or reaffirm the approved address for an NFT783 /// @dev The zero address indicates there is no approved address.784 /// @dev Throws unless `msg.sender` is the current NFT owner, or an authorized785 /// operator of the current owner.786 /// @param approved The new approved NFT controller787 /// @param tokenId The NFT to approve788 /// @dev EVM selector for this function is: 0x095ea7b3,789 /// or in textual repr: approve(address,uint256)790 function approve(address approved, uint256 tokenId) external;791792 /// @dev Not implemented793 /// @dev EVM selector for this function is: 0xa22cb465,794 /// or in textual repr: setApprovalForAll(address,bool)795 function setApprovalForAll(address operator, bool approved) external;796797 /// @dev Not implemented798 /// @dev EVM selector for this function is: 0x081812fc,799 /// or in textual repr: getApproved(uint256)800 function getApproved(uint256 tokenId) external view returns (address);801802 /// @dev Not implemented803 /// @dev EVM selector for this function is: 0xe985e9c5,804 /// or in textual repr: isApprovedForAll(address,address)805 function isApprovedForAll(address owner, address operator) external view returns (address);806}807808interface UniqueNFT is809 Dummy,810 ERC165,811 ERC721,812 ERC721Enumerable,813 ERC721UniqueExtensions,814 ERC721UniqueMintable,815 ERC721Burnable,816 ERC721Metadata,817 Collection,818 TokenProperties819{}tests/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"
},