difftreelog
misc: update stubs
in: master
9 files changed
pallets/fungible/src/stubs/UniqueFungible.rawdiffbeforeafterbothbinary blob — no preview
pallets/fungible/src/stubs/UniqueFungible.soldiffbeforeafterboth--- 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,
pallets/nonfungible/src/stubs/UniqueNFT.rawdiffbeforeafterbothbinary blob — no preview
pallets/nonfungible/src/stubs/UniqueNFT.soldiffbeforeafterboth--- 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;
pallets/refungible/src/stubs/UniqueRefungible.rawdiffbeforeafterbothbinary blob — no preview
pallets/refungible/src/stubs/UniqueRefungible.soldiffbeforeafterboth--- 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;
tests/src/eth/api/UniqueFungible.soldiffbeforeafterboth--- 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,
tests/src/eth/api/UniqueNFT.soldiffbeforeafterboth134 ///134 ///135 /// @param sponsor Cross account address of the sponsor from whose account funds will be debited for operations with the contract.135 /// @param sponsor Cross account address of the sponsor from whose account funds will be debited for operations with the contract.136 /// @dev EVM selector for this function is: 0x84a1d5a8,136 /// @dev EVM selector for this function is: 0x84a1d5a8,137 /// or in textual repr: setCollectionSponsorCross(EthCrossAccount)138 /// or in the expanded repr: setCollectionSponsorCross((address,uint256))137 /// or in textual repr: setCollectionSponsorCross((address,uint256))139 function setCollectionSponsorCross(EthCrossAccount memory sponsor) external;138 function setCollectionSponsorCross(EthCrossAccount memory sponsor) external;140139141 /// Whether there is a pending sponsor.140 /// Whether there is a pending sponsor.195 /// Add collection admin.194 /// Add collection admin.196 /// @param newAdmin Cross account administrator address.195 /// @param newAdmin Cross account administrator address.197 /// @dev EVM selector for this function is: 0x859aa7d6,196 /// @dev EVM selector for this function is: 0x859aa7d6,198 /// or in textual repr: addCollectionAdminCross(EthCrossAccount)199 /// or in the expanded repr: addCollectionAdminCross((address,uint256))197 /// or in textual repr: addCollectionAdminCross((address,uint256))200 function addCollectionAdminCross(EthCrossAccount memory newAdmin) external;198 function addCollectionAdminCross(EthCrossAccount memory newAdmin) external;201199202 /// Remove collection admin.200 /// Remove collection admin.203 /// @param admin Cross account administrator address.201 /// @param admin Cross account administrator address.204 /// @dev EVM selector for this function is: 0x6c0cd173,202 /// @dev EVM selector for this function is: 0x6c0cd173,205 /// or in textual repr: removeCollectionAdminCross(EthCrossAccount)206 /// or in the expanded repr: removeCollectionAdminCross((address,uint256))203 /// or in textual repr: removeCollectionAdminCross((address,uint256))207 function removeCollectionAdminCross(EthCrossAccount memory admin) external;204 function removeCollectionAdminCross(EthCrossAccount memory admin) external;208205209 /// Add collection admin.206 /// Add collection admin.260 ///257 ///261 /// @param user User cross account address.258 /// @param user User cross account address.262 /// @dev EVM selector for this function is: 0xa0184a3a,259 /// @dev EVM selector for this function is: 0xa0184a3a,263 /// or in textual repr: addToCollectionAllowListCross(EthCrossAccount)264 /// or in the expanded repr: addToCollectionAllowListCross((address,uint256))260 /// or in textual repr: addToCollectionAllowListCross((address,uint256))265 function addToCollectionAllowListCross(EthCrossAccount memory user) external;261 function addToCollectionAllowListCross(EthCrossAccount memory user) external;266262267 /// Remove the user from the allowed list.263 /// Remove the user from the allowed list.275 ///271 ///276 /// @param user User cross account address.272 /// @param user User cross account address.277 /// @dev EVM selector for this function is: 0x09ba452a,273 /// @dev EVM selector for this function is: 0x09ba452a,278 /// or in textual repr: removeFromCollectionAllowListCross(EthCrossAccount)279 /// or in the expanded repr: removeFromCollectionAllowListCross((address,uint256))274 /// or in textual repr: removeFromCollectionAllowListCross((address,uint256))280 function removeFromCollectionAllowListCross(EthCrossAccount memory user) external;275 function removeFromCollectionAllowListCross(EthCrossAccount memory user) external;281276282 /// Switch permission for minting.277 /// Switch permission for minting.299 /// @param user User cross account to verify294 /// @param user User cross account to verify300 /// @return "true" if account is the owner or admin295 /// @return "true" if account is the owner or admin301 /// @dev EVM selector for this function is: 0x3e75a905,296 /// @dev EVM selector for this function is: 0x3e75a905,302 /// or in textual repr: isOwnerOrAdminCross(EthCrossAccount)303 /// or in the expanded repr: isOwnerOrAdminCross((address,uint256))297 /// or in textual repr: isOwnerOrAdminCross((address,uint256))304 function isOwnerOrAdminCross(EthCrossAccount memory user) external view returns (bool);298 function isOwnerOrAdminCross(EthCrossAccount memory user) external view returns (bool);305299306 /// Returns collection type300 /// Returns collection type339 /// @dev Owner can be changed only by current owner333 /// @dev Owner can be changed only by current owner340 /// @param newOwner new owner cross account334 /// @param newOwner new owner cross account341 /// @dev EVM selector for this function is: 0xe5c9913f,335 /// @dev EVM selector for this function is: 0xe5c9913f,342 /// or in textual repr: setOwnerCross(EthCrossAccount)343 /// or in the expanded repr: setOwnerCross((address,uint256))336 /// or in textual repr: setOwnerCross((address,uint256))344 function setOwnerCross(EthCrossAccount memory newOwner) external;337 function setOwnerCross(EthCrossAccount memory newOwner) external;345}338}346339476 /// @param approved The new substrate address approved NFT controller469 /// @param approved The new substrate address approved NFT controller477 /// @param tokenId The NFT to approve470 /// @param tokenId The NFT to approve478 /// @dev EVM selector for this function is: 0x0ecd0ab0,471 /// @dev EVM selector for this function is: 0x0ecd0ab0,479 /// or in textual repr: approveCross(EthCrossAccount,uint256)480 /// or in the expanded repr: approveCross((address,uint256),uint256)472 /// or in textual repr: approveCross((address,uint256),uint256)481 function approveCross(EthCrossAccount memory approved, uint256 tokenId) external;473 function approveCross(EthCrossAccount memory approved, uint256 tokenId) external;482474483 /// @notice Transfer ownership of an NFT475 /// @notice Transfer ownership of an NFT496 /// @param to Cross acccount address of new owner488 /// @param to Cross acccount address of new owner497 /// @param tokenId The NFT to transfer489 /// @param tokenId The NFT to transfer498 /// @dev EVM selector for this function is: 0xd5cf430b,490 /// @dev EVM selector for this function is: 0xd5cf430b,499 /// or in textual repr: transferFromCross(EthCrossAccount,EthCrossAccount,uint256)500 /// or in the expanded repr: transferFromCross((address,uint256),(address,uint256),uint256)491 /// or in textual repr: transferFromCross((address,uint256),(address,uint256),uint256)501 function transferFromCross(492 function transferFromCross(502 EthCrossAccount memory from,493 EthCrossAccount memory from,503 EthCrossAccount memory to,494 EthCrossAccount memory to,521 /// @param from The current owner of the NFT512 /// @param from The current owner of the NFT522 /// @param tokenId The NFT to transfer513 /// @param tokenId The NFT to transfer523 /// @dev EVM selector for this function is: 0xbb2f5a58,514 /// @dev EVM selector for this function is: 0xbb2f5a58,524 /// or in textual repr: burnFromCross(EthCrossAccount,uint256)525 /// or in the expanded repr: burnFromCross((address,uint256),uint256)515 /// or in textual repr: burnFromCross((address,uint256),uint256)526 function burnFromCross(EthCrossAccount memory from, uint256 tokenId) external;516 function burnFromCross(EthCrossAccount memory from, uint256 tokenId) external;527517528 /// @notice Returns next free NFT ID.518 /// @notice Returns next free NFT ID.tests/src/eth/api/UniqueRefungible.soldiffbeforeafterboth--- 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.