difftreelog
misc: update stubs
in: master
9 files changed
pallets/fungible/src/stubs/UniqueFungible.rawdiffbeforeafterbothbinary blob — no preview
pallets/fungible/src/stubs/UniqueFungible.soldiffbeforeafterboth113 ///113 ///114 /// @param sponsor Cross account address of the sponsor from whose account funds will be debited for operations with the contract.114 /// @param sponsor Cross account address of the sponsor from whose account funds will be debited for operations with the contract.115 /// @dev EVM selector for this function is: 0x84a1d5a8,115 /// @dev EVM selector for this function is: 0x84a1d5a8,116 /// or in textual repr: setCollectionSponsorCross(EthCrossAccount)117 /// or in the expanded repr: setCollectionSponsorCross((address,uint256))116 /// or in textual repr: setCollectionSponsorCross((address,uint256))118 function setCollectionSponsorCross(EthCrossAccount memory sponsor) public {117 function setCollectionSponsorCross(EthCrossAccount memory sponsor) public {119 require(false, stub_error);118 require(false, stub_error);120 sponsor;119 sponsor;206 /// Add collection admin.205 /// Add collection admin.207 /// @param newAdmin Cross account administrator address.206 /// @param newAdmin Cross account administrator address.208 /// @dev EVM selector for this function is: 0x859aa7d6,207 /// @dev EVM selector for this function is: 0x859aa7d6,209 /// or in textual repr: addCollectionAdminCross(EthCrossAccount)210 /// or in the expanded repr: addCollectionAdminCross((address,uint256))208 /// or in textual repr: addCollectionAdminCross((address,uint256))211 function addCollectionAdminCross(EthCrossAccount memory newAdmin) public {209 function addCollectionAdminCross(EthCrossAccount memory newAdmin) public {212 require(false, stub_error);210 require(false, stub_error);213 newAdmin;211 newAdmin;217 /// Remove collection admin.215 /// Remove collection admin.218 /// @param admin Cross account administrator address.216 /// @param admin Cross account administrator address.219 /// @dev EVM selector for this function is: 0x6c0cd173,217 /// @dev EVM selector for this function is: 0x6c0cd173,220 /// or in textual repr: removeCollectionAdminCross(EthCrossAccount)221 /// or in the expanded repr: removeCollectionAdminCross((address,uint256))218 /// or in textual repr: removeCollectionAdminCross((address,uint256))222 function removeCollectionAdminCross(EthCrossAccount memory admin) public {219 function removeCollectionAdminCross(EthCrossAccount memory admin) public {223 require(false, stub_error);220 require(false, stub_error);224 admin;221 admin;309 ///306 ///310 /// @param user User cross account address.307 /// @param user User cross account address.311 /// @dev EVM selector for this function is: 0xa0184a3a,308 /// @dev EVM selector for this function is: 0xa0184a3a,312 /// or in textual repr: addToCollectionAllowListCross(EthCrossAccount)313 /// or in the expanded repr: addToCollectionAllowListCross((address,uint256))309 /// or in textual repr: addToCollectionAllowListCross((address,uint256))314 function addToCollectionAllowListCross(EthCrossAccount memory user) public {310 function addToCollectionAllowListCross(EthCrossAccount memory user) public {315 require(false, stub_error);311 require(false, stub_error);316 user;312 user;332 ///328 ///333 /// @param user User cross account address.329 /// @param user User cross account address.334 /// @dev EVM selector for this function is: 0x09ba452a,330 /// @dev EVM selector for this function is: 0x09ba452a,335 /// or in textual repr: removeFromCollectionAllowListCross(EthCrossAccount)336 /// or in the expanded repr: removeFromCollectionAllowListCross((address,uint256))331 /// or in textual repr: removeFromCollectionAllowListCross((address,uint256))337 function removeFromCollectionAllowListCross(EthCrossAccount memory user) public {332 function removeFromCollectionAllowListCross(EthCrossAccount memory user) public {338 require(false, stub_error);333 require(false, stub_error);339 user;334 user;369 /// @param user User cross account to verify364 /// @param user User cross account to verify370 /// @return "true" if account is the owner or admin365 /// @return "true" if account is the owner or admin371 /// @dev EVM selector for this function is: 0x3e75a905,366 /// @dev EVM selector for this function is: 0x3e75a905,372 /// or in textual repr: isOwnerOrAdminCross(EthCrossAccount)373 /// or in the expanded repr: isOwnerOrAdminCross((address,uint256))367 /// or in textual repr: isOwnerOrAdminCross((address,uint256))374 function isOwnerOrAdminCross(EthCrossAccount memory user) public view returns (bool) {368 function isOwnerOrAdminCross(EthCrossAccount memory user) public view returns (bool) {375 require(false, stub_error);369 require(false, stub_error);376 user;370 user;430 /// @dev Owner can be changed only by current owner424 /// @dev Owner can be changed only by current owner431 /// @param newOwner new owner cross account425 /// @param newOwner new owner cross account432 /// @dev EVM selector for this function is: 0xe5c9913f,426 /// @dev EVM selector for this function is: 0xe5c9913f,433 /// or in textual repr: setOwnerCross(EthCrossAccount)434 /// or in the expanded repr: setOwnerCross((address,uint256))427 /// or in textual repr: setOwnerCross((address,uint256))435 function setOwnerCross(EthCrossAccount memory newOwner) public {428 function setOwnerCross(EthCrossAccount memory newOwner) public {436 require(false, stub_error);429 require(false, stub_error);437 newOwner;430 newOwner;454/// @dev the ERC-165 identifier for this interface is 0x032e5926447/// @dev the ERC-165 identifier for this interface is 0x032e5926455contract ERC20UniqueExtensions is Dummy, ERC165 {448contract ERC20UniqueExtensions is Dummy, ERC165 {456 /// @dev EVM selector for this function is: 0x0ecd0ab0,449 /// @dev EVM selector for this function is: 0x0ecd0ab0,457 /// or in textual repr: approveCross(EthCrossAccount,uint256)458 /// or in the expanded repr: approveCross((address,uint256),uint256)450 /// or in textual repr: approveCross((address,uint256),uint256)459 function approveCross(EthCrossAccount memory spender, uint256 amount) public returns (bool) {451 function approveCross(EthCrossAccount memory spender, uint256 amount) public returns (bool) {460 require(false, stub_error);452 require(false, stub_error);461 spender;453 spender;485 /// @param from The account whose tokens will be burnt.477 /// @param from The account whose tokens will be burnt.486 /// @param amount The amount that will be burnt.478 /// @param amount The amount that will be burnt.487 /// @dev EVM selector for this function is: 0xbb2f5a58,479 /// @dev EVM selector for this function is: 0xbb2f5a58,488 /// or in textual repr: burnFromCross(EthCrossAccount,uint256)489 /// or in the expanded repr: burnFromCross((address,uint256),uint256)480 /// or in textual repr: burnFromCross((address,uint256),uint256)490 function burnFromCross(EthCrossAccount memory from, uint256 amount) public returns (bool) {481 function burnFromCross(EthCrossAccount memory from, uint256 amount) public returns (bool) {491 require(false, stub_error);482 require(false, stub_error);492 from;483 from;507 }498 }508499509 /// @dev EVM selector for this function is: 0xd5cf430b,500 /// @dev EVM selector for this function is: 0xd5cf430b,510 /// or in textual repr: transferFromCross(EthCrossAccount,EthCrossAccount,uint256)511 /// or in the expanded repr: transferFromCross((address,uint256),(address,uint256),uint256)501 /// or in textual repr: transferFromCross((address,uint256),(address,uint256),uint256)512 function transferFromCross(502 function transferFromCross(513 EthCrossAccount memory from,503 EthCrossAccount memory from,514 EthCrossAccount memory to,504 EthCrossAccount memory to,pallets/nonfungible/src/stubs/UniqueNFT.rawdiffbeforeafterbothbinary blob — no preview
pallets/nonfungible/src/stubs/UniqueNFT.soldiffbeforeafterboth199 ///199 ///200 /// @param sponsor Cross account address of the sponsor from whose account funds will be debited for operations with the contract.200 /// @param sponsor Cross account address of the sponsor from whose account funds will be debited for operations with the contract.201 /// @dev EVM selector for this function is: 0x84a1d5a8,201 /// @dev EVM selector for this function is: 0x84a1d5a8,202 /// or in textual repr: setCollectionSponsorCross(EthCrossAccount)203 /// or in the expanded repr: setCollectionSponsorCross((address,uint256))202 /// or in textual repr: setCollectionSponsorCross((address,uint256))204 function setCollectionSponsorCross(EthCrossAccount memory sponsor) public {203 function setCollectionSponsorCross(EthCrossAccount memory sponsor) public {205 require(false, stub_error);204 require(false, stub_error);206 sponsor;205 sponsor;292 /// Add collection admin.291 /// Add collection admin.293 /// @param newAdmin Cross account administrator address.292 /// @param newAdmin Cross account administrator address.294 /// @dev EVM selector for this function is: 0x859aa7d6,293 /// @dev EVM selector for this function is: 0x859aa7d6,295 /// or in textual repr: addCollectionAdminCross(EthCrossAccount)296 /// or in the expanded repr: addCollectionAdminCross((address,uint256))294 /// or in textual repr: addCollectionAdminCross((address,uint256))297 function addCollectionAdminCross(EthCrossAccount memory newAdmin) public {295 function addCollectionAdminCross(EthCrossAccount memory newAdmin) public {298 require(false, stub_error);296 require(false, stub_error);299 newAdmin;297 newAdmin;303 /// Remove collection admin.301 /// Remove collection admin.304 /// @param admin Cross account administrator address.302 /// @param admin Cross account administrator address.305 /// @dev EVM selector for this function is: 0x6c0cd173,303 /// @dev EVM selector for this function is: 0x6c0cd173,306 /// or in textual repr: removeCollectionAdminCross(EthCrossAccount)307 /// or in the expanded repr: removeCollectionAdminCross((address,uint256))304 /// or in textual repr: removeCollectionAdminCross((address,uint256))308 function removeCollectionAdminCross(EthCrossAccount memory admin) public {305 function removeCollectionAdminCross(EthCrossAccount memory admin) public {309 require(false, stub_error);306 require(false, stub_error);310 admin;307 admin;395 ///392 ///396 /// @param user User cross account address.393 /// @param user User cross account address.397 /// @dev EVM selector for this function is: 0xa0184a3a,394 /// @dev EVM selector for this function is: 0xa0184a3a,398 /// or in textual repr: addToCollectionAllowListCross(EthCrossAccount)399 /// or in the expanded repr: addToCollectionAllowListCross((address,uint256))395 /// or in textual repr: addToCollectionAllowListCross((address,uint256))400 function addToCollectionAllowListCross(EthCrossAccount memory user) public {396 function addToCollectionAllowListCross(EthCrossAccount memory user) public {401 require(false, stub_error);397 require(false, stub_error);402 user;398 user;418 ///414 ///419 /// @param user User cross account address.415 /// @param user User cross account address.420 /// @dev EVM selector for this function is: 0x09ba452a,416 /// @dev EVM selector for this function is: 0x09ba452a,421 /// or in textual repr: removeFromCollectionAllowListCross(EthCrossAccount)422 /// or in the expanded repr: removeFromCollectionAllowListCross((address,uint256))417 /// or in textual repr: removeFromCollectionAllowListCross((address,uint256))423 function removeFromCollectionAllowListCross(EthCrossAccount memory user) public {418 function removeFromCollectionAllowListCross(EthCrossAccount memory user) public {424 require(false, stub_error);419 require(false, stub_error);425 user;420 user;455 /// @param user User cross account to verify450 /// @param user User cross account to verify456 /// @return "true" if account is the owner or admin451 /// @return "true" if account is the owner or admin457 /// @dev EVM selector for this function is: 0x3e75a905,452 /// @dev EVM selector for this function is: 0x3e75a905,458 /// or in textual repr: isOwnerOrAdminCross(EthCrossAccount)459 /// or in the expanded repr: isOwnerOrAdminCross((address,uint256))453 /// or in textual repr: isOwnerOrAdminCross((address,uint256))460 function isOwnerOrAdminCross(EthCrossAccount memory user) public view returns (bool) {454 function isOwnerOrAdminCross(EthCrossAccount memory user) public view returns (bool) {461 require(false, stub_error);455 require(false, stub_error);462 user;456 user;516 /// @dev Owner can be changed only by current owner510 /// @dev Owner can be changed only by current owner517 /// @param newOwner new owner cross account511 /// @param newOwner new owner cross account518 /// @dev EVM selector for this function is: 0xe5c9913f,512 /// @dev EVM selector for this function is: 0xe5c9913f,519 /// or in textual repr: setOwnerCross(EthCrossAccount)520 /// or in the expanded repr: setOwnerCross((address,uint256))513 /// or in textual repr: setOwnerCross((address,uint256))521 function setOwnerCross(EthCrossAccount memory newOwner) public {514 function setOwnerCross(EthCrossAccount memory newOwner) public {522 require(false, stub_error);515 require(false, stub_error);523 newOwner;516 newOwner;714 /// @param approved The new substrate address approved NFT controller707 /// @param approved The new substrate address approved NFT controller715 /// @param tokenId The NFT to approve708 /// @param tokenId The NFT to approve716 /// @dev EVM selector for this function is: 0x0ecd0ab0,709 /// @dev EVM selector for this function is: 0x0ecd0ab0,717 /// or in textual repr: approveCross(EthCrossAccount,uint256)718 /// or in the expanded repr: approveCross((address,uint256),uint256)710 /// or in textual repr: approveCross((address,uint256),uint256)719 function approveCross(EthCrossAccount memory approved, uint256 tokenId) public {711 function approveCross(EthCrossAccount memory approved, uint256 tokenId) public {720 require(false, stub_error);712 require(false, stub_error);721 approved;713 approved;744 /// @param to Cross acccount address of new owner736 /// @param to Cross acccount address of new owner745 /// @param tokenId The NFT to transfer737 /// @param tokenId The NFT to transfer746 /// @dev EVM selector for this function is: 0xd5cf430b,738 /// @dev EVM selector for this function is: 0xd5cf430b,747 /// or in textual repr: transferFromCross(EthCrossAccount,EthCrossAccount,uint256)748 /// or in the expanded repr: transferFromCross((address,uint256),(address,uint256),uint256)739 /// or in textual repr: transferFromCross((address,uint256),(address,uint256),uint256)749 function transferFromCross(740 function transferFromCross(750 EthCrossAccount memory from,741 EthCrossAccount memory from,751 EthCrossAccount memory to,742 EthCrossAccount memory to,780 /// @param from The current owner of the NFT771 /// @param from The current owner of the NFT781 /// @param tokenId The NFT to transfer772 /// @param tokenId The NFT to transfer782 /// @dev EVM selector for this function is: 0xbb2f5a58,773 /// @dev EVM selector for this function is: 0xbb2f5a58,783 /// or in textual repr: burnFromCross(EthCrossAccount,uint256)784 /// or in the expanded repr: burnFromCross((address,uint256),uint256)774 /// or in textual repr: burnFromCross((address,uint256),uint256)785 function burnFromCross(EthCrossAccount memory from, uint256 tokenId) public {775 function burnFromCross(EthCrossAccount memory from, uint256 tokenId) public {786 require(false, stub_error);776 require(false, stub_error);787 from;777 from;pallets/refungible/src/stubs/UniqueRefungible.rawdiffbeforeafterbothbinary blob — no preview
pallets/refungible/src/stubs/UniqueRefungible.soldiffbeforeafterboth199 ///199 ///200 /// @param sponsor Cross account address of the sponsor from whose account funds will be debited for operations with the contract.200 /// @param sponsor Cross account address of the sponsor from whose account funds will be debited for operations with the contract.201 /// @dev EVM selector for this function is: 0x84a1d5a8,201 /// @dev EVM selector for this function is: 0x84a1d5a8,202 /// or in textual repr: setCollectionSponsorCross(EthCrossAccount)203 /// or in the expanded repr: setCollectionSponsorCross((address,uint256))202 /// or in textual repr: setCollectionSponsorCross((address,uint256))204 function setCollectionSponsorCross(EthCrossAccount memory sponsor) public {203 function setCollectionSponsorCross(EthCrossAccount memory sponsor) public {205 require(false, stub_error);204 require(false, stub_error);206 sponsor;205 sponsor;292 /// Add collection admin.291 /// Add collection admin.293 /// @param newAdmin Cross account administrator address.292 /// @param newAdmin Cross account administrator address.294 /// @dev EVM selector for this function is: 0x859aa7d6,293 /// @dev EVM selector for this function is: 0x859aa7d6,295 /// or in textual repr: addCollectionAdminCross(EthCrossAccount)296 /// or in the expanded repr: addCollectionAdminCross((address,uint256))294 /// or in textual repr: addCollectionAdminCross((address,uint256))297 function addCollectionAdminCross(EthCrossAccount memory newAdmin) public {295 function addCollectionAdminCross(EthCrossAccount memory newAdmin) public {298 require(false, stub_error);296 require(false, stub_error);299 newAdmin;297 newAdmin;303 /// Remove collection admin.301 /// Remove collection admin.304 /// @param admin Cross account administrator address.302 /// @param admin Cross account administrator address.305 /// @dev EVM selector for this function is: 0x6c0cd173,303 /// @dev EVM selector for this function is: 0x6c0cd173,306 /// or in textual repr: removeCollectionAdminCross(EthCrossAccount)307 /// or in the expanded repr: removeCollectionAdminCross((address,uint256))304 /// or in textual repr: removeCollectionAdminCross((address,uint256))308 function removeCollectionAdminCross(EthCrossAccount memory admin) public {305 function removeCollectionAdminCross(EthCrossAccount memory admin) public {309 require(false, stub_error);306 require(false, stub_error);310 admin;307 admin;395 ///392 ///396 /// @param user User cross account address.393 /// @param user User cross account address.397 /// @dev EVM selector for this function is: 0xa0184a3a,394 /// @dev EVM selector for this function is: 0xa0184a3a,398 /// or in textual repr: addToCollectionAllowListCross(EthCrossAccount)399 /// or in the expanded repr: addToCollectionAllowListCross((address,uint256))395 /// or in textual repr: addToCollectionAllowListCross((address,uint256))400 function addToCollectionAllowListCross(EthCrossAccount memory user) public {396 function addToCollectionAllowListCross(EthCrossAccount memory user) public {401 require(false, stub_error);397 require(false, stub_error);402 user;398 user;418 ///414 ///419 /// @param user User cross account address.415 /// @param user User cross account address.420 /// @dev EVM selector for this function is: 0x09ba452a,416 /// @dev EVM selector for this function is: 0x09ba452a,421 /// or in textual repr: removeFromCollectionAllowListCross(EthCrossAccount)422 /// or in the expanded repr: removeFromCollectionAllowListCross((address,uint256))417 /// or in textual repr: removeFromCollectionAllowListCross((address,uint256))423 function removeFromCollectionAllowListCross(EthCrossAccount memory user) public {418 function removeFromCollectionAllowListCross(EthCrossAccount memory user) public {424 require(false, stub_error);419 require(false, stub_error);425 user;420 user;455 /// @param user User cross account to verify450 /// @param user User cross account to verify456 /// @return "true" if account is the owner or admin451 /// @return "true" if account is the owner or admin457 /// @dev EVM selector for this function is: 0x3e75a905,452 /// @dev EVM selector for this function is: 0x3e75a905,458 /// or in textual repr: isOwnerOrAdminCross(EthCrossAccount)459 /// or in the expanded repr: isOwnerOrAdminCross((address,uint256))453 /// or in textual repr: isOwnerOrAdminCross((address,uint256))460 function isOwnerOrAdminCross(EthCrossAccount memory user) public view returns (bool) {454 function isOwnerOrAdminCross(EthCrossAccount memory user) public view returns (bool) {461 require(false, stub_error);455 require(false, stub_error);462 user;456 user;516 /// @dev Owner can be changed only by current owner510 /// @dev Owner can be changed only by current owner517 /// @param newOwner new owner cross account511 /// @param newOwner new owner cross account518 /// @dev EVM selector for this function is: 0xe5c9913f,512 /// @dev EVM selector for this function is: 0xe5c9913f,519 /// or in textual repr: setOwnerCross(EthCrossAccount)520 /// or in the expanded repr: setOwnerCross((address,uint256))513 /// or in textual repr: setOwnerCross((address,uint256))521 function setOwnerCross(EthCrossAccount memory newOwner) public {514 function setOwnerCross(EthCrossAccount memory newOwner) public {522 require(false, stub_error);515 require(false, stub_error);523 newOwner;516 newOwner;727 /// @param to The new owner720 /// @param to The new owner728 /// @param tokenId The RFT to transfer721 /// @param tokenId The RFT to transfer729 /// @dev EVM selector for this function is: 0xd5cf430b,722 /// @dev EVM selector for this function is: 0xd5cf430b,730 /// or in textual repr: transferFromCross(EthCrossAccount,EthCrossAccount,uint256)731 /// or in the expanded repr: transferFromCross((address,uint256),(address,uint256),uint256)723 /// or in textual repr: transferFromCross((address,uint256),(address,uint256),uint256)732 function transferFromCross(724 function transferFromCross(733 EthCrossAccount memory from,725 EthCrossAccount memory from,734 EthCrossAccount memory to,726 EthCrossAccount memory to,765 /// @param from The current owner of the RFT757 /// @param from The current owner of the RFT766 /// @param tokenId The RFT to transfer758 /// @param tokenId The RFT to transfer767 /// @dev EVM selector for this function is: 0xbb2f5a58,759 /// @dev EVM selector for this function is: 0xbb2f5a58,768 /// or in textual repr: burnFromCross(EthCrossAccount,uint256)769 /// or in the expanded repr: burnFromCross((address,uint256),uint256)760 /// or in textual repr: burnFromCross((address,uint256),uint256)770 function burnFromCross(EthCrossAccount memory from, uint256 tokenId) public {761 function burnFromCross(EthCrossAccount memory from, uint256 tokenId) public {771 require(false, stub_error);762 require(false, stub_error);772 from;763 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.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.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}346339484 /// @param to The new owner477 /// @param to The new owner485 /// @param tokenId The RFT to transfer478 /// @param tokenId The RFT to transfer486 /// @dev EVM selector for this function is: 0xd5cf430b,479 /// @dev EVM selector for this function is: 0xd5cf430b,487 /// or in textual repr: transferFromCross(EthCrossAccount,EthCrossAccount,uint256)488 /// or in the expanded repr: transferFromCross((address,uint256),(address,uint256),uint256)480 /// or in textual repr: transferFromCross((address,uint256),(address,uint256),uint256)489 function transferFromCross(481 function transferFromCross(490 EthCrossAccount memory from,482 EthCrossAccount memory from,491 EthCrossAccount memory to,483 EthCrossAccount memory to,511 /// @param from The current owner of the RFT503 /// @param from The current owner of the RFT512 /// @param tokenId The RFT to transfer504 /// @param tokenId The RFT to transfer513 /// @dev EVM selector for this function is: 0xbb2f5a58,505 /// @dev EVM selector for this function is: 0xbb2f5a58,514 /// or in textual repr: burnFromCross(EthCrossAccount,uint256)515 /// or in the expanded repr: burnFromCross((address,uint256),uint256)506 /// or in textual repr: burnFromCross((address,uint256),uint256)516 function burnFromCross(EthCrossAccount memory from, uint256 tokenId) external;507 function burnFromCross(EthCrossAccount memory from, uint256 tokenId) external;517508518 /// @notice Returns next free RFT ID.509 /// @notice Returns next free RFT ID.