From ff83dec7c6049515babc6d1cc6e43520384c4847 Mon Sep 17 00:00:00 2001 From: Trubnikov Sergey Date: Tue, 01 Nov 2022 14:40:32 +0000 Subject: [PATCH] misc: update stubs --- --- a/pallets/fungible/src/stubs/UniqueFungible.sol +++ b/pallets/fungible/src/stubs/UniqueFungible.sol @@ -113,8 +113,7 @@ /// /// @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, - /// or in textual repr: setCollectionSponsorCross(EthCrossAccount) - /// or in the expanded repr: setCollectionSponsorCross((address,uint256)) + /// or in textual repr: setCollectionSponsorCross((address,uint256)) function setCollectionSponsorCross(EthCrossAccount memory sponsor) public { require(false, stub_error); sponsor; @@ -206,8 +205,7 @@ /// Add collection admin. /// @param newAdmin Cross account administrator address. /// @dev EVM selector for this function is: 0x859aa7d6, - /// or in textual repr: addCollectionAdminCross(EthCrossAccount) - /// or in the expanded repr: addCollectionAdminCross((address,uint256)) + /// or in textual repr: addCollectionAdminCross((address,uint256)) function addCollectionAdminCross(EthCrossAccount memory newAdmin) public { require(false, stub_error); newAdmin; @@ -217,8 +215,7 @@ /// Remove collection admin. /// @param admin Cross account administrator address. /// @dev EVM selector for this function is: 0x6c0cd173, - /// or in textual repr: removeCollectionAdminCross(EthCrossAccount) - /// or in the expanded repr: removeCollectionAdminCross((address,uint256)) + /// or in textual repr: removeCollectionAdminCross((address,uint256)) function removeCollectionAdminCross(EthCrossAccount memory admin) public { require(false, stub_error); admin; @@ -309,8 +306,7 @@ /// /// @param user User cross account address. /// @dev EVM selector for this function is: 0xa0184a3a, - /// or in textual repr: addToCollectionAllowListCross(EthCrossAccount) - /// or in the expanded repr: addToCollectionAllowListCross((address,uint256)) + /// or in textual repr: addToCollectionAllowListCross((address,uint256)) function addToCollectionAllowListCross(EthCrossAccount memory user) public { require(false, stub_error); user; @@ -332,8 +328,7 @@ /// /// @param user User cross account address. /// @dev EVM selector for this function is: 0x09ba452a, - /// or in textual repr: removeFromCollectionAllowListCross(EthCrossAccount) - /// or in the expanded repr: removeFromCollectionAllowListCross((address,uint256)) + /// or in textual repr: removeFromCollectionAllowListCross((address,uint256)) function removeFromCollectionAllowListCross(EthCrossAccount memory user) public { require(false, stub_error); user; @@ -369,8 +364,7 @@ /// @param user User cross account to verify /// @return "true" if account is the owner or admin /// @dev EVM selector for this function is: 0x3e75a905, - /// or in textual repr: isOwnerOrAdminCross(EthCrossAccount) - /// or in the expanded repr: isOwnerOrAdminCross((address,uint256)) + /// or in textual repr: isOwnerOrAdminCross((address,uint256)) function isOwnerOrAdminCross(EthCrossAccount memory user) public view returns (bool) { require(false, stub_error); user; @@ -430,8 +424,7 @@ /// @dev Owner can be changed only by current owner /// @param newOwner new owner cross account /// @dev EVM selector for this function is: 0xe5c9913f, - /// or in textual repr: setOwnerCross(EthCrossAccount) - /// or in the expanded repr: setOwnerCross((address,uint256)) + /// or in textual repr: setOwnerCross((address,uint256)) function setOwnerCross(EthCrossAccount memory newOwner) public { require(false, stub_error); newOwner; @@ -454,8 +447,7 @@ /// @dev the ERC-165 identifier for this interface is 0x032e5926 contract ERC20UniqueExtensions is Dummy, ERC165 { /// @dev EVM selector for this function is: 0x0ecd0ab0, - /// or in textual repr: approveCross(EthCrossAccount,uint256) - /// or in the expanded repr: approveCross((address,uint256),uint256) + /// or in textual repr: approveCross((address,uint256),uint256) function approveCross(EthCrossAccount memory spender, uint256 amount) public returns (bool) { require(false, stub_error); spender; @@ -485,8 +477,7 @@ /// @param from The account whose tokens will be burnt. /// @param amount The amount that will be burnt. /// @dev EVM selector for this function is: 0xbb2f5a58, - /// or in textual repr: burnFromCross(EthCrossAccount,uint256) - /// or in the expanded repr: burnFromCross((address,uint256),uint256) + /// or in textual repr: burnFromCross((address,uint256),uint256) function burnFromCross(EthCrossAccount memory from, uint256 amount) public returns (bool) { require(false, stub_error); from; @@ -507,8 +498,7 @@ } /// @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) + /// or in textual repr: transferFromCross((address,uint256),(address,uint256),uint256) function transferFromCross( EthCrossAccount memory from, EthCrossAccount memory to, --- a/pallets/nonfungible/src/stubs/UniqueNFT.sol +++ b/pallets/nonfungible/src/stubs/UniqueNFT.sol @@ -199,8 +199,7 @@ /// /// @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, - /// or in textual repr: setCollectionSponsorCross(EthCrossAccount) - /// or in the expanded repr: setCollectionSponsorCross((address,uint256)) + /// or in textual repr: setCollectionSponsorCross((address,uint256)) function setCollectionSponsorCross(EthCrossAccount memory sponsor) public { require(false, stub_error); sponsor; @@ -292,8 +291,7 @@ /// Add collection admin. /// @param newAdmin Cross account administrator address. /// @dev EVM selector for this function is: 0x859aa7d6, - /// or in textual repr: addCollectionAdminCross(EthCrossAccount) - /// or in the expanded repr: addCollectionAdminCross((address,uint256)) + /// or in textual repr: addCollectionAdminCross((address,uint256)) function addCollectionAdminCross(EthCrossAccount memory newAdmin) public { require(false, stub_error); newAdmin; @@ -303,8 +301,7 @@ /// Remove collection admin. /// @param admin Cross account administrator address. /// @dev EVM selector for this function is: 0x6c0cd173, - /// or in textual repr: removeCollectionAdminCross(EthCrossAccount) - /// or in the expanded repr: removeCollectionAdminCross((address,uint256)) + /// or in textual repr: removeCollectionAdminCross((address,uint256)) function removeCollectionAdminCross(EthCrossAccount memory admin) public { require(false, stub_error); admin; @@ -395,8 +392,7 @@ /// /// @param user User cross account address. /// @dev EVM selector for this function is: 0xa0184a3a, - /// or in textual repr: addToCollectionAllowListCross(EthCrossAccount) - /// or in the expanded repr: addToCollectionAllowListCross((address,uint256)) + /// or in textual repr: addToCollectionAllowListCross((address,uint256)) function addToCollectionAllowListCross(EthCrossAccount memory user) public { require(false, stub_error); user; @@ -418,8 +414,7 @@ /// /// @param user User cross account address. /// @dev EVM selector for this function is: 0x09ba452a, - /// or in textual repr: removeFromCollectionAllowListCross(EthCrossAccount) - /// or in the expanded repr: removeFromCollectionAllowListCross((address,uint256)) + /// or in textual repr: removeFromCollectionAllowListCross((address,uint256)) function removeFromCollectionAllowListCross(EthCrossAccount memory user) public { require(false, stub_error); user; @@ -455,8 +450,7 @@ /// @param user User cross account to verify /// @return "true" if account is the owner or admin /// @dev EVM selector for this function is: 0x3e75a905, - /// or in textual repr: isOwnerOrAdminCross(EthCrossAccount) - /// or in the expanded repr: isOwnerOrAdminCross((address,uint256)) + /// or in textual repr: isOwnerOrAdminCross((address,uint256)) function isOwnerOrAdminCross(EthCrossAccount memory user) public view returns (bool) { require(false, stub_error); user; @@ -516,8 +510,7 @@ /// @dev Owner can be changed only by current owner /// @param newOwner new owner cross account /// @dev EVM selector for this function is: 0xe5c9913f, - /// or in textual repr: setOwnerCross(EthCrossAccount) - /// or in the expanded repr: setOwnerCross((address,uint256)) + /// or in textual repr: setOwnerCross((address,uint256)) function setOwnerCross(EthCrossAccount memory newOwner) public { require(false, stub_error); newOwner; @@ -714,8 +707,7 @@ /// @param approved The new substrate address approved NFT controller /// @param tokenId The NFT to approve /// @dev EVM selector for this function is: 0x0ecd0ab0, - /// or in textual repr: approveCross(EthCrossAccount,uint256) - /// or in the expanded repr: approveCross((address,uint256),uint256) + /// or in textual repr: approveCross((address,uint256),uint256) function approveCross(EthCrossAccount memory approved, uint256 tokenId) public { require(false, stub_error); approved; @@ -744,8 +736,7 @@ /// @param to Cross acccount address of new owner /// @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) + /// or in textual repr: transferFromCross((address,uint256),(address,uint256),uint256) function transferFromCross( EthCrossAccount memory from, EthCrossAccount memory to, @@ -780,8 +771,7 @@ /// @param from The current owner of the NFT /// @param tokenId The NFT to transfer /// @dev EVM selector for this function is: 0xbb2f5a58, - /// or in textual repr: burnFromCross(EthCrossAccount,uint256) - /// or in the expanded repr: burnFromCross((address,uint256),uint256) + /// or in textual repr: burnFromCross((address,uint256),uint256) function burnFromCross(EthCrossAccount memory from, uint256 tokenId) public { require(false, stub_error); from; --- a/pallets/refungible/src/stubs/UniqueRefungible.sol +++ b/pallets/refungible/src/stubs/UniqueRefungible.sol @@ -199,8 +199,7 @@ /// /// @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, - /// or in textual repr: setCollectionSponsorCross(EthCrossAccount) - /// or in the expanded repr: setCollectionSponsorCross((address,uint256)) + /// or in textual repr: setCollectionSponsorCross((address,uint256)) function setCollectionSponsorCross(EthCrossAccount memory sponsor) public { require(false, stub_error); sponsor; @@ -292,8 +291,7 @@ /// Add collection admin. /// @param newAdmin Cross account administrator address. /// @dev EVM selector for this function is: 0x859aa7d6, - /// or in textual repr: addCollectionAdminCross(EthCrossAccount) - /// or in the expanded repr: addCollectionAdminCross((address,uint256)) + /// or in textual repr: addCollectionAdminCross((address,uint256)) function addCollectionAdminCross(EthCrossAccount memory newAdmin) public { require(false, stub_error); newAdmin; @@ -303,8 +301,7 @@ /// Remove collection admin. /// @param admin Cross account administrator address. /// @dev EVM selector for this function is: 0x6c0cd173, - /// or in textual repr: removeCollectionAdminCross(EthCrossAccount) - /// or in the expanded repr: removeCollectionAdminCross((address,uint256)) + /// or in textual repr: removeCollectionAdminCross((address,uint256)) function removeCollectionAdminCross(EthCrossAccount memory admin) public { require(false, stub_error); admin; @@ -395,8 +392,7 @@ /// /// @param user User cross account address. /// @dev EVM selector for this function is: 0xa0184a3a, - /// or in textual repr: addToCollectionAllowListCross(EthCrossAccount) - /// or in the expanded repr: addToCollectionAllowListCross((address,uint256)) + /// or in textual repr: addToCollectionAllowListCross((address,uint256)) function addToCollectionAllowListCross(EthCrossAccount memory user) public { require(false, stub_error); user; @@ -418,8 +414,7 @@ /// /// @param user User cross account address. /// @dev EVM selector for this function is: 0x09ba452a, - /// or in textual repr: removeFromCollectionAllowListCross(EthCrossAccount) - /// or in the expanded repr: removeFromCollectionAllowListCross((address,uint256)) + /// or in textual repr: removeFromCollectionAllowListCross((address,uint256)) function removeFromCollectionAllowListCross(EthCrossAccount memory user) public { require(false, stub_error); user; @@ -455,8 +450,7 @@ /// @param user User cross account to verify /// @return "true" if account is the owner or admin /// @dev EVM selector for this function is: 0x3e75a905, - /// or in textual repr: isOwnerOrAdminCross(EthCrossAccount) - /// or in the expanded repr: isOwnerOrAdminCross((address,uint256)) + /// or in textual repr: isOwnerOrAdminCross((address,uint256)) function isOwnerOrAdminCross(EthCrossAccount memory user) public view returns (bool) { require(false, stub_error); user; @@ -516,8 +510,7 @@ /// @dev Owner can be changed only by current owner /// @param newOwner new owner cross account /// @dev EVM selector for this function is: 0xe5c9913f, - /// or in textual repr: setOwnerCross(EthCrossAccount) - /// or in the expanded repr: setOwnerCross((address,uint256)) + /// or in textual repr: setOwnerCross((address,uint256)) function setOwnerCross(EthCrossAccount memory newOwner) public { require(false, stub_error); newOwner; @@ -727,8 +720,7 @@ /// @param to The new owner /// @param tokenId The RFT 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) + /// or in textual repr: transferFromCross((address,uint256),(address,uint256),uint256) function transferFromCross( EthCrossAccount memory from, EthCrossAccount memory to, @@ -765,8 +757,7 @@ /// @param from The current owner of the RFT /// @param tokenId The RFT to transfer /// @dev EVM selector for this function is: 0xbb2f5a58, - /// or in textual repr: burnFromCross(EthCrossAccount,uint256) - /// or in the expanded repr: burnFromCross((address,uint256),uint256) + /// or in textual repr: burnFromCross((address,uint256),uint256) function burnFromCross(EthCrossAccount memory from, uint256 tokenId) public { require(false, stub_error); from; --- a/tests/src/eth/api/UniqueFungible.sol +++ b/tests/src/eth/api/UniqueFungible.sol @@ -77,8 +77,7 @@ /// /// @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, - /// or in textual repr: setCollectionSponsorCross(EthCrossAccount) - /// or in the expanded repr: setCollectionSponsorCross((address,uint256)) + /// or in textual repr: setCollectionSponsorCross((address,uint256)) function setCollectionSponsorCross(EthCrossAccount memory sponsor) external; /// Whether there is a pending sponsor. @@ -138,15 +137,13 @@ /// Add collection admin. /// @param newAdmin Cross account administrator address. /// @dev EVM selector for this function is: 0x859aa7d6, - /// or in textual repr: addCollectionAdminCross(EthCrossAccount) - /// or in the expanded repr: addCollectionAdminCross((address,uint256)) + /// or in textual repr: addCollectionAdminCross((address,uint256)) function addCollectionAdminCross(EthCrossAccount memory newAdmin) external; /// Remove collection admin. /// @param admin Cross account administrator address. /// @dev EVM selector for this function is: 0x6c0cd173, - /// or in textual repr: removeCollectionAdminCross(EthCrossAccount) - /// or in the expanded repr: removeCollectionAdminCross((address,uint256)) + /// or in textual repr: removeCollectionAdminCross((address,uint256)) function removeCollectionAdminCross(EthCrossAccount memory admin) external; /// Add collection admin. @@ -203,8 +200,7 @@ /// /// @param user User cross account address. /// @dev EVM selector for this function is: 0xa0184a3a, - /// or in textual repr: addToCollectionAllowListCross(EthCrossAccount) - /// or in the expanded repr: addToCollectionAllowListCross((address,uint256)) + /// or in textual repr: addToCollectionAllowListCross((address,uint256)) function addToCollectionAllowListCross(EthCrossAccount memory user) external; /// Remove the user from the allowed list. @@ -218,8 +214,7 @@ /// /// @param user User cross account address. /// @dev EVM selector for this function is: 0x09ba452a, - /// or in textual repr: removeFromCollectionAllowListCross(EthCrossAccount) - /// or in the expanded repr: removeFromCollectionAllowListCross((address,uint256)) + /// or in textual repr: removeFromCollectionAllowListCross((address,uint256)) function removeFromCollectionAllowListCross(EthCrossAccount memory user) external; /// Switch permission for minting. @@ -242,8 +237,7 @@ /// @param user User cross account to verify /// @return "true" if account is the owner or admin /// @dev EVM selector for this function is: 0x3e75a905, - /// or in textual repr: isOwnerOrAdminCross(EthCrossAccount) - /// or in the expanded repr: isOwnerOrAdminCross((address,uint256)) + /// or in textual repr: isOwnerOrAdminCross((address,uint256)) function isOwnerOrAdminCross(EthCrossAccount memory user) external view returns (bool); /// Returns collection type @@ -282,8 +276,7 @@ /// @dev Owner can be changed only by current owner /// @param newOwner new owner cross account /// @dev EVM selector for this function is: 0xe5c9913f, - /// or in textual repr: setOwnerCross(EthCrossAccount) - /// or in the expanded repr: setOwnerCross((address,uint256)) + /// or in textual repr: setOwnerCross((address,uint256)) function setOwnerCross(EthCrossAccount memory newOwner) external; } @@ -302,8 +295,7 @@ /// @dev the ERC-165 identifier for this interface is 0x032e5926 interface ERC20UniqueExtensions is Dummy, ERC165 { /// @dev EVM selector for this function is: 0x0ecd0ab0, - /// or in textual repr: approveCross(EthCrossAccount,uint256) - /// or in the expanded repr: approveCross((address,uint256),uint256) + /// or in textual repr: approveCross((address,uint256),uint256) function approveCross(EthCrossAccount memory spender, uint256 amount) external returns (bool); /// Burn tokens from account @@ -321,8 +313,7 @@ /// @param from The account whose tokens will be burnt. /// @param amount The amount that will be burnt. /// @dev EVM selector for this function is: 0xbb2f5a58, - /// or in textual repr: burnFromCross(EthCrossAccount,uint256) - /// or in the expanded repr: burnFromCross((address,uint256),uint256) + /// or in textual repr: burnFromCross((address,uint256),uint256) function burnFromCross(EthCrossAccount memory from, uint256 amount) external returns (bool); /// Mint tokens for multiple accounts. @@ -332,8 +323,7 @@ function mintBulk(Tuple8[] memory amounts) external returns (bool); /// @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) + /// or in textual repr: transferFromCross((address,uint256),(address,uint256),uint256) function transferFromCross( EthCrossAccount memory from, EthCrossAccount memory to, --- a/tests/src/eth/api/UniqueNFT.sol +++ b/tests/src/eth/api/UniqueNFT.sol @@ -134,8 +134,7 @@ /// /// @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, - /// or in textual repr: setCollectionSponsorCross(EthCrossAccount) - /// or in the expanded repr: setCollectionSponsorCross((address,uint256)) + /// or in textual repr: setCollectionSponsorCross((address,uint256)) function setCollectionSponsorCross(EthCrossAccount memory sponsor) external; /// Whether there is a pending sponsor. @@ -195,15 +194,13 @@ /// Add collection admin. /// @param newAdmin Cross account administrator address. /// @dev EVM selector for this function is: 0x859aa7d6, - /// or in textual repr: addCollectionAdminCross(EthCrossAccount) - /// or in the expanded repr: addCollectionAdminCross((address,uint256)) + /// or in textual repr: addCollectionAdminCross((address,uint256)) function addCollectionAdminCross(EthCrossAccount memory newAdmin) external; /// Remove collection admin. /// @param admin Cross account administrator address. /// @dev EVM selector for this function is: 0x6c0cd173, - /// or in textual repr: removeCollectionAdminCross(EthCrossAccount) - /// or in the expanded repr: removeCollectionAdminCross((address,uint256)) + /// or in textual repr: removeCollectionAdminCross((address,uint256)) function removeCollectionAdminCross(EthCrossAccount memory admin) external; /// Add collection admin. @@ -260,8 +257,7 @@ /// /// @param user User cross account address. /// @dev EVM selector for this function is: 0xa0184a3a, - /// or in textual repr: addToCollectionAllowListCross(EthCrossAccount) - /// or in the expanded repr: addToCollectionAllowListCross((address,uint256)) + /// or in textual repr: addToCollectionAllowListCross((address,uint256)) function addToCollectionAllowListCross(EthCrossAccount memory user) external; /// Remove the user from the allowed list. @@ -275,8 +271,7 @@ /// /// @param user User cross account address. /// @dev EVM selector for this function is: 0x09ba452a, - /// or in textual repr: removeFromCollectionAllowListCross(EthCrossAccount) - /// or in the expanded repr: removeFromCollectionAllowListCross((address,uint256)) + /// or in textual repr: removeFromCollectionAllowListCross((address,uint256)) function removeFromCollectionAllowListCross(EthCrossAccount memory user) external; /// Switch permission for minting. @@ -299,8 +294,7 @@ /// @param user User cross account to verify /// @return "true" if account is the owner or admin /// @dev EVM selector for this function is: 0x3e75a905, - /// or in textual repr: isOwnerOrAdminCross(EthCrossAccount) - /// or in the expanded repr: isOwnerOrAdminCross((address,uint256)) + /// or in textual repr: isOwnerOrAdminCross((address,uint256)) function isOwnerOrAdminCross(EthCrossAccount memory user) external view returns (bool); /// Returns collection type @@ -339,8 +333,7 @@ /// @dev Owner can be changed only by current owner /// @param newOwner new owner cross account /// @dev EVM selector for this function is: 0xe5c9913f, - /// or in textual repr: setOwnerCross(EthCrossAccount) - /// or in the expanded repr: setOwnerCross((address,uint256)) + /// or in textual repr: setOwnerCross((address,uint256)) function setOwnerCross(EthCrossAccount memory newOwner) external; } @@ -476,8 +469,7 @@ /// @param approved The new substrate address approved NFT controller /// @param tokenId The NFT to approve /// @dev EVM selector for this function is: 0x0ecd0ab0, - /// or in textual repr: approveCross(EthCrossAccount,uint256) - /// or in the expanded repr: approveCross((address,uint256),uint256) + /// or in textual repr: approveCross((address,uint256),uint256) function approveCross(EthCrossAccount memory approved, uint256 tokenId) external; /// @notice Transfer ownership of an NFT @@ -496,8 +488,7 @@ /// @param to Cross acccount address of new owner /// @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) + /// or in textual repr: transferFromCross((address,uint256),(address,uint256),uint256) function transferFromCross( EthCrossAccount memory from, EthCrossAccount memory to, @@ -521,8 +512,7 @@ /// @param from The current owner of the NFT /// @param tokenId The NFT to transfer /// @dev EVM selector for this function is: 0xbb2f5a58, - /// or in textual repr: burnFromCross(EthCrossAccount,uint256) - /// or in the expanded repr: burnFromCross((address,uint256),uint256) + /// or in textual repr: burnFromCross((address,uint256),uint256) function burnFromCross(EthCrossAccount memory from, uint256 tokenId) external; /// @notice Returns next free NFT ID. --- a/tests/src/eth/api/UniqueRefungible.sol +++ b/tests/src/eth/api/UniqueRefungible.sol @@ -134,8 +134,7 @@ /// /// @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, - /// or in textual repr: setCollectionSponsorCross(EthCrossAccount) - /// or in the expanded repr: setCollectionSponsorCross((address,uint256)) + /// or in textual repr: setCollectionSponsorCross((address,uint256)) function setCollectionSponsorCross(EthCrossAccount memory sponsor) external; /// Whether there is a pending sponsor. @@ -195,15 +194,13 @@ /// Add collection admin. /// @param newAdmin Cross account administrator address. /// @dev EVM selector for this function is: 0x859aa7d6, - /// or in textual repr: addCollectionAdminCross(EthCrossAccount) - /// or in the expanded repr: addCollectionAdminCross((address,uint256)) + /// or in textual repr: addCollectionAdminCross((address,uint256)) function addCollectionAdminCross(EthCrossAccount memory newAdmin) external; /// Remove collection admin. /// @param admin Cross account administrator address. /// @dev EVM selector for this function is: 0x6c0cd173, - /// or in textual repr: removeCollectionAdminCross(EthCrossAccount) - /// or in the expanded repr: removeCollectionAdminCross((address,uint256)) + /// or in textual repr: removeCollectionAdminCross((address,uint256)) function removeCollectionAdminCross(EthCrossAccount memory admin) external; /// Add collection admin. @@ -260,8 +257,7 @@ /// /// @param user User cross account address. /// @dev EVM selector for this function is: 0xa0184a3a, - /// or in textual repr: addToCollectionAllowListCross(EthCrossAccount) - /// or in the expanded repr: addToCollectionAllowListCross((address,uint256)) + /// or in textual repr: addToCollectionAllowListCross((address,uint256)) function addToCollectionAllowListCross(EthCrossAccount memory user) external; /// Remove the user from the allowed list. @@ -275,8 +271,7 @@ /// /// @param user User cross account address. /// @dev EVM selector for this function is: 0x09ba452a, - /// or in textual repr: removeFromCollectionAllowListCross(EthCrossAccount) - /// or in the expanded repr: removeFromCollectionAllowListCross((address,uint256)) + /// or in textual repr: removeFromCollectionAllowListCross((address,uint256)) function removeFromCollectionAllowListCross(EthCrossAccount memory user) external; /// Switch permission for minting. @@ -299,8 +294,7 @@ /// @param user User cross account to verify /// @return "true" if account is the owner or admin /// @dev EVM selector for this function is: 0x3e75a905, - /// or in textual repr: isOwnerOrAdminCross(EthCrossAccount) - /// or in the expanded repr: isOwnerOrAdminCross((address,uint256)) + /// or in textual repr: isOwnerOrAdminCross((address,uint256)) function isOwnerOrAdminCross(EthCrossAccount memory user) external view returns (bool); /// Returns collection type @@ -339,8 +333,7 @@ /// @dev Owner can be changed only by current owner /// @param newOwner new owner cross account /// @dev EVM selector for this function is: 0xe5c9913f, - /// or in textual repr: setOwnerCross(EthCrossAccount) - /// or in the expanded repr: setOwnerCross((address,uint256)) + /// or in textual repr: setOwnerCross((address,uint256)) function setOwnerCross(EthCrossAccount memory newOwner) external; } @@ -484,8 +477,7 @@ /// @param to The new owner /// @param tokenId The RFT 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) + /// or in textual repr: transferFromCross((address,uint256),(address,uint256),uint256) function transferFromCross( EthCrossAccount memory from, EthCrossAccount memory to, @@ -511,8 +503,7 @@ /// @param from The current owner of the RFT /// @param tokenId The RFT to transfer /// @dev EVM selector for this function is: 0xbb2f5a58, - /// or in textual repr: burnFromCross(EthCrossAccount,uint256) - /// or in the expanded repr: burnFromCross((address,uint256),uint256) + /// or in textual repr: burnFromCross((address,uint256),uint256) function burnFromCross(EthCrossAccount memory from, uint256 tokenId) external; /// @notice Returns next free RFT ID. -- gitstuff