difftreelog
test regenerate .sol for refungible
in: master
4 files changed
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
@@ -641,6 +641,8 @@
TransferEnabled
}
+/// @title ERC-721 Non-Fungible Token Standard, optional metadata extension
+/// @dev See https://eips.ethereum.org/EIPS/eip-721
/// @dev the ERC-165 identifier for this interface is 0x5b5e139f
contract ERC721Metadata is Dummy, ERC165 {
// /// @notice A descriptive name for a collection of NFTs in this contract
@@ -783,7 +785,7 @@
}
/// @title Unique extensions for ERC721.
-/// @dev the ERC-165 identifier for this interface is 0xabf30dc2
+/// @dev the ERC-165 identifier for this interface is 0xb365c124
contract ERC721UniqueExtensions is Dummy, ERC165 {
/// @notice A descriptive name for a collection of NFTs in this contract
/// @dev EVM selector for this function is: 0x06fdde03,
@@ -985,6 +987,15 @@
dummy;
return 0x0000000000000000000000000000000000000000;
}
+
+ /// @notice Returns collection helper contract address
+ /// @dev EVM selector for this function is: 0x1896cce6,
+ /// or in textual repr: collectionHelperAddress()
+ function collectionHelperAddress() public view returns (address) {
+ require(false, stub_error);
+ dummy;
+ return 0x0000000000000000000000000000000000000000;
+ }
}
/// @dev anonymous struct
@@ -1042,7 +1053,7 @@
/// @title ERC-721 Non-Fungible Token Standard
/// @dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md
-/// @dev the ERC-165 identifier for this interface is 0x4016cd87
+/// @dev the ERC-165 identifier for this interface is 0x80ac58cd
contract ERC721 is Dummy, ERC165, ERC721Events {
/// @notice Count all RFTs assigned to an owner
/// @dev RFTs assigned to the zero address are considered invalid, and this
@@ -1075,9 +1086,9 @@
}
/// @dev Not implemented
- /// @dev EVM selector for this function is: 0x60a11672,
- /// or in textual repr: safeTransferFromWithData(address,address,uint256,bytes)
- function safeTransferFromWithData(
+ /// @dev EVM selector for this function is: 0xb88d4fde,
+ /// or in textual repr: safeTransferFrom(address,address,uint256,bytes)
+ function safeTransferFrom(
address from,
address to,
uint256 tokenId,
@@ -1172,15 +1183,6 @@
operator;
dummy;
return false;
- }
-
- /// @notice Returns collection helper contract address
- /// @dev EVM selector for this function is: 0x1896cce6,
- /// or in textual repr: collectionHelperAddress()
- function collectionHelperAddress() public view returns (address) {
- require(false, stub_error);
- dummy;
- return 0x0000000000000000000000000000000000000000;
}
}
tests/src/eth/abi/reFungible.jsondiffbeforeafterboth--- a/tests/src/eth/abi/reFungible.json
+++ b/tests/src/eth/abi/reFungible.json
@@ -616,7 +616,7 @@
{ "internalType": "uint256", "name": "tokenId", "type": "uint256" },
{ "internalType": "bytes", "name": "data", "type": "bytes" }
],
- "name": "safeTransferFromWithData",
+ "name": "safeTransferFrom",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
tests/src/eth/api/UniqueRefungible.soldiffbeforeafterboth441 TransferEnabled441 TransferEnabled442}442}443443444/// @title ERC-721 Non-Fungible Token Standard, optional metadata extension445/// @dev See https://eips.ethereum.org/EIPS/eip-721444/// @dev the ERC-165 identifier for this interface is 0x5b5e139f446/// @dev the ERC-165 identifier for this interface is 0x5b5e139f445interface ERC721Metadata is Dummy, ERC165 {447interface ERC721Metadata is Dummy, ERC165 {446 // /// @notice A descriptive name for a collection of NFTs in this contract448 // /// @notice A descriptive name for a collection of NFTs in this contract534}536}535537536/// @title Unique extensions for ERC721.538/// @title Unique extensions for ERC721.537/// @dev the ERC-165 identifier for this interface is 0xabf30dc2539/// @dev the ERC-165 identifier for this interface is 0xb365c124538interface ERC721UniqueExtensions is Dummy, ERC165 {540interface ERC721UniqueExtensions is Dummy, ERC165 {539 /// @notice A descriptive name for a collection of NFTs in this contract541 /// @notice A descriptive name for a collection of NFTs in this contract540 /// @dev EVM selector for this function is: 0x06fdde03,542 /// @dev EVM selector for this function is: 0x06fdde03,661 /// or in textual repr: tokenContractAddress(uint256)663 /// or in textual repr: tokenContractAddress(uint256)662 function tokenContractAddress(uint256 token) external view returns (address);664 function tokenContractAddress(uint256 token) external view returns (address);665666 /// @notice Returns collection helper contract address667 /// @dev EVM selector for this function is: 0x1896cce6,668 /// or in textual repr: collectionHelperAddress()669 function collectionHelperAddress() external view returns (address);663}670}664671665/// @dev anonymous struct672/// @dev anonymous struct702709703/// @title ERC-721 Non-Fungible Token Standard710/// @title ERC-721 Non-Fungible Token Standard704/// @dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md711/// @dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md705/// @dev the ERC-165 identifier for this interface is 0x4016cd87712/// @dev the ERC-165 identifier for this interface is 0x80ac58cd706interface ERC721 is Dummy, ERC165, ERC721Events {713interface ERC721 is Dummy, ERC165, ERC721Events {707 /// @notice Count all RFTs assigned to an owner714 /// @notice Count all RFTs assigned to an owner708 /// @dev RFTs assigned to the zero address are considered invalid, and this715 /// @dev RFTs assigned to the zero address are considered invalid, and this725 function ownerOf(uint256 tokenId) external view returns (address);732 function ownerOf(uint256 tokenId) external view returns (address);726733727 /// @dev Not implemented734 /// @dev Not implemented728 /// @dev EVM selector for this function is: 0x60a11672,735 /// @dev EVM selector for this function is: 0xb88d4fde,729 /// or in textual repr: safeTransferFromWithData(address,address,uint256,bytes)736 /// or in textual repr: safeTransferFrom(address,address,uint256,bytes)730 function safeTransferFromWithData(737 function safeTransferFrom(731 address from,738 address from,732 address to,739 address to,733 uint256 tokenId,740 uint256 tokenId,784 /// or in textual repr: isApprovedForAll(address,address)791 /// or in textual repr: isApprovedForAll(address,address)785 function isApprovedForAll(address owner, address operator) external view returns (bool);792 function isApprovedForAll(address owner, address operator) external view returns (bool);786787 /// @notice Returns collection helper contract address788 /// @dev EVM selector for this function is: 0x1896cce6,789 /// or in textual repr: collectionHelperAddress()790 function collectionHelperAddress() external view returns (address);791}793}792794793interface UniqueRefungible is795interface UniqueRefungible is