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.soldiffbeforeafterboth77 ///77 ///78 /// @param sponsor Cross account address of the sponsor from whose account funds will be debited for operations with the contract.78 /// @param sponsor Cross account address of the sponsor from whose account funds will be debited for operations with the contract.79 /// @dev EVM selector for this function is: 0x84a1d5a8,79 /// @dev EVM selector for this function is: 0x84a1d5a8,80 /// or in textual repr: setCollectionSponsorCross(EthCrossAccount)81 /// or in the expanded repr: setCollectionSponsorCross((address,uint256))80 /// or in textual repr: setCollectionSponsorCross((address,uint256))82 function setCollectionSponsorCross(EthCrossAccount memory sponsor) external;81 function setCollectionSponsorCross(EthCrossAccount memory sponsor) external;838284 /// Whether there is a pending sponsor.83 /// Whether there is a pending sponsor.138 /// Add collection admin.137 /// Add collection admin.139 /// @param newAdmin Cross account administrator address.138 /// @param newAdmin Cross account administrator address.140 /// @dev EVM selector for this function is: 0x859aa7d6,139 /// @dev EVM selector for this function is: 0x859aa7d6,141 /// or in textual repr: addCollectionAdminCross(EthCrossAccount)142 /// or in the expanded repr: addCollectionAdminCross((address,uint256))140 /// or in textual repr: addCollectionAdminCross((address,uint256))143 function addCollectionAdminCross(EthCrossAccount memory newAdmin) external;141 function addCollectionAdminCross(EthCrossAccount memory newAdmin) external;144142145 /// Remove collection admin.143 /// Remove collection admin.146 /// @param admin Cross account administrator address.144 /// @param admin Cross account administrator address.147 /// @dev EVM selector for this function is: 0x6c0cd173,145 /// @dev EVM selector for this function is: 0x6c0cd173,148 /// or in textual repr: removeCollectionAdminCross(EthCrossAccount)149 /// or in the expanded repr: removeCollectionAdminCross((address,uint256))146 /// or in textual repr: removeCollectionAdminCross((address,uint256))150 function removeCollectionAdminCross(EthCrossAccount memory admin) external;147 function removeCollectionAdminCross(EthCrossAccount memory admin) external;151148152 /// Add collection admin.149 /// Add collection admin.203 ///200 ///204 /// @param user User cross account address.201 /// @param user User cross account address.205 /// @dev EVM selector for this function is: 0xa0184a3a,202 /// @dev EVM selector for this function is: 0xa0184a3a,206 /// or in textual repr: addToCollectionAllowListCross(EthCrossAccount)207 /// or in the expanded repr: addToCollectionAllowListCross((address,uint256))203 /// or in textual repr: addToCollectionAllowListCross((address,uint256))208 function addToCollectionAllowListCross(EthCrossAccount memory user) external;204 function addToCollectionAllowListCross(EthCrossAccount memory user) external;209205210 /// Remove the user from the allowed list.206 /// Remove the user from the allowed list.218 ///214 ///219 /// @param user User cross account address.215 /// @param user User cross account address.220 /// @dev EVM selector for this function is: 0x09ba452a,216 /// @dev EVM selector for this function is: 0x09ba452a,221 /// or in textual repr: removeFromCollectionAllowListCross(EthCrossAccount)222 /// or in the expanded repr: removeFromCollectionAllowListCross((address,uint256))217 /// or in textual repr: removeFromCollectionAllowListCross((address,uint256))223 function removeFromCollectionAllowListCross(EthCrossAccount memory user) external;218 function removeFromCollectionAllowListCross(EthCrossAccount memory user) external;224219225 /// Switch permission for minting.220 /// Switch permission for minting.242 /// @param user User cross account to verify237 /// @param user User cross account to verify243 /// @return "true" if account is the owner or admin238 /// @return "true" if account is the owner or admin244 /// @dev EVM selector for this function is: 0x3e75a905,239 /// @dev EVM selector for this function is: 0x3e75a905,245 /// or in textual repr: isOwnerOrAdminCross(EthCrossAccount)246 /// or in the expanded repr: isOwnerOrAdminCross((address,uint256))240 /// or in textual repr: isOwnerOrAdminCross((address,uint256))247 function isOwnerOrAdminCross(EthCrossAccount memory user) external view returns (bool);241 function isOwnerOrAdminCross(EthCrossAccount memory user) external view returns (bool);248242249 /// Returns collection type243 /// Returns collection type282 /// @dev Owner can be changed only by current owner276 /// @dev Owner can be changed only by current owner283 /// @param newOwner new owner cross account277 /// @param newOwner new owner cross account284 /// @dev EVM selector for this function is: 0xe5c9913f,278 /// @dev EVM selector for this function is: 0xe5c9913f,285 /// or in textual repr: setOwnerCross(EthCrossAccount)286 /// or in the expanded repr: setOwnerCross((address,uint256))279 /// or in textual repr: setOwnerCross((address,uint256))287 function setOwnerCross(EthCrossAccount memory newOwner) external;280 function setOwnerCross(EthCrossAccount memory newOwner) external;288}281}289282302/// @dev the ERC-165 identifier for this interface is 0x032e5926295/// @dev the ERC-165 identifier for this interface is 0x032e5926303interface ERC20UniqueExtensions is Dummy, ERC165 {296interface ERC20UniqueExtensions is Dummy, ERC165 {304 /// @dev EVM selector for this function is: 0x0ecd0ab0,297 /// @dev EVM selector for this function is: 0x0ecd0ab0,305 /// or in textual repr: approveCross(EthCrossAccount,uint256)306 /// or in the expanded repr: approveCross((address,uint256),uint256)298 /// or in textual repr: approveCross((address,uint256),uint256)307 function approveCross(EthCrossAccount memory spender, uint256 amount) external returns (bool);299 function approveCross(EthCrossAccount memory spender, uint256 amount) external returns (bool);308300309 /// Burn tokens from account301 /// Burn tokens from account321 /// @param from The account whose tokens will be burnt.313 /// @param from The account whose tokens will be burnt.322 /// @param amount The amount that will be burnt.314 /// @param amount The amount that will be burnt.323 /// @dev EVM selector for this function is: 0xbb2f5a58,315 /// @dev EVM selector for this function is: 0xbb2f5a58,324 /// or in textual repr: burnFromCross(EthCrossAccount,uint256)325 /// or in the expanded repr: burnFromCross((address,uint256),uint256)316 /// or in textual repr: burnFromCross((address,uint256),uint256)326 function burnFromCross(EthCrossAccount memory from, uint256 amount) external returns (bool);317 function burnFromCross(EthCrossAccount memory from, uint256 amount) external returns (bool);327318328 /// Mint tokens for multiple accounts.319 /// Mint tokens for multiple accounts.332 function mintBulk(Tuple8[] memory amounts) external returns (bool);323 function mintBulk(Tuple8[] memory amounts) external returns (bool);333324334 /// @dev EVM selector for this function is: 0xd5cf430b,325 /// @dev EVM selector for this function is: 0xd5cf430b,335 /// or in textual repr: transferFromCross(EthCrossAccount,EthCrossAccount,uint256)336 /// or in the expanded repr: transferFromCross((address,uint256),(address,uint256),uint256)326 /// or in textual repr: transferFromCross((address,uint256),(address,uint256),uint256)337 function transferFromCross(327 function transferFromCross(338 EthCrossAccount memory from,328 EthCrossAccount memory from,339 EthCrossAccount memory to,329 EthCrossAccount memory to,tests/src/eth/api/UniqueNFT.soldiffbeforeafterboth--- 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.
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.