difftreelog
chore regenerate stubs
in: master
8 files changed
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
@@ -444,13 +444,13 @@
}
/// @dev inlined interface
-contract ERC721MintableEvents {
+contract ERC721UniqueMintableEvents {
event MintingFinished();
}
/// @title ERC721 minting logic.
-/// @dev the ERC-165 identifier for this interface is 0x68ccfe89
-contract ERC721Mintable is Dummy, ERC165, ERC721MintableEvents {
+/// @dev the ERC-165 identifier for this interface is 0x476ff149
+contract ERC721UniqueMintable is Dummy, ERC165, ERC721UniqueMintableEvents {
/// @dev EVM selector for this function is: 0x05d2035b,
/// or in textual repr: mintingFinished()
function mintingFinished() public view returns (bool) {
@@ -460,41 +460,63 @@
}
/// @notice Function to mint token.
- /// @dev `tokenId` should be obtained with `nextTokenId` method,
- /// unlike standard, you can't specify it manually
/// @param to The new owner
- /// @param tokenId ID of the minted NFT
- /// @dev EVM selector for this function is: 0x40c10f19,
- /// or in textual repr: mint(address,uint256)
- function mint(address to, uint256 tokenId) public returns (bool) {
+ /// @return uint256 The id of the newly minted token
+ /// @dev EVM selector for this function is: 0x6a627842,
+ /// or in textual repr: mint(address)
+ function mint(address to) public returns (uint256) {
require(false, stub_error);
to;
- tokenId;
dummy = 0;
- return false;
+ return 0;
}
+ // /// @notice Function to mint token.
+ // /// @dev `tokenId` should be obtained with `nextTokenId` method,
+ // /// unlike standard, you can't specify it manually
+ // /// @param to The new owner
+ // /// @param tokenId ID of the minted NFT
+ // /// @dev EVM selector for this function is: 0x40c10f19,
+ // /// or in textual repr: mint(address,uint256)
+ // function mint(address to, uint256 tokenId) public returns (bool) {
+ // require(false, stub_error);
+ // to;
+ // tokenId;
+ // dummy = 0;
+ // return false;
+ // }
+
/// @notice Function to mint token with the given tokenUri.
- /// @dev `tokenId` should be obtained with `nextTokenId` method,
- /// unlike standard, you can't specify it manually
/// @param to The new owner
- /// @param tokenId ID of the minted NFT
/// @param tokenUri Token URI that would be stored in the NFT properties
- /// @dev EVM selector for this function is: 0x50bb4e7f,
- /// or in textual repr: mintWithTokenURI(address,uint256,string)
- function mintWithTokenURI(
- address to,
- uint256 tokenId,
- string memory tokenUri
- ) public returns (bool) {
+ /// @return uint256 The id of the newly minted token
+ /// @dev EVM selector for this function is: 0x45c17782,
+ /// or in textual repr: mintWithTokenURI(address,string)
+ function mintWithTokenURI(address to, string memory tokenUri) public returns (uint256) {
require(false, stub_error);
to;
- tokenId;
tokenUri;
dummy = 0;
- return false;
+ return 0;
}
+ // /// @notice Function to mint token with the given tokenUri.
+ // /// @dev `tokenId` should be obtained with `nextTokenId` method,
+ // /// unlike standard, you can't specify it manually
+ // /// @param to The new owner
+ // /// @param tokenId ID of the minted NFT
+ // /// @param tokenUri Token URI that would be stored in the NFT properties
+ // /// @dev EVM selector for this function is: 0x50bb4e7f,
+ // /// or in textual repr: mintWithTokenURI(address,uint256,string)
+ // function mintWithTokenURI(address to, uint256 tokenId, string memory tokenUri) public returns (bool) {
+ // require(false, stub_error);
+ // to;
+ // tokenId;
+ // tokenUri;
+ // dummy = 0;
+ // return false;
+ // }
+
/// @dev Not implemented
/// @dev EVM selector for this function is: 0x7d64bcb4,
/// or in textual repr: finishMinting()
@@ -563,36 +585,36 @@
dummy;
return 0;
}
+ // /// @notice Function to mint multiple tokens.
+ // /// @dev `tokenIds` should be an array of consecutive numbers and first number
+ // /// should be obtained with `nextTokenId` method
+ // /// @param to The new owner
+ // /// @param tokenIds IDs of the minted NFTs
+ // /// @dev EVM selector for this function is: 0x44a9945e,
+ // /// or in textual repr: mintBulk(address,uint256[])
+ // function mintBulk(address to, uint256[] memory tokenIds) public returns (bool) {
+ // require(false, stub_error);
+ // to;
+ // tokenIds;
+ // dummy = 0;
+ // return false;
+ // }
- /// @notice Function to mint multiple tokens.
- /// @dev `tokenIds` should be an array of consecutive numbers and first number
- /// should be obtained with `nextTokenId` method
- /// @param to The new owner
- /// @param tokenIds IDs of the minted NFTs
- /// @dev EVM selector for this function is: 0x44a9945e,
- /// or in textual repr: mintBulk(address,uint256[])
- function mintBulk(address to, uint256[] memory tokenIds) public returns (bool) {
- require(false, stub_error);
- to;
- tokenIds;
- dummy = 0;
- return false;
- }
+ // /// @notice Function to mint multiple tokens with the given tokenUris.
+ // /// @dev `tokenIds` is array of pairs of token ID and token URI. Token IDs should be consecutive
+ // /// numbers and first number should be obtained with `nextTokenId` method
+ // /// @param to The new owner
+ // /// @param tokens array of pairs of token ID and token URI for minted tokens
+ // /// @dev EVM selector for this function is: 0x36543006,
+ // /// or in textual repr: mintBulkWithTokenURI(address,(uint256,string)[])
+ // function mintBulkWithTokenURI(address to, Tuple6[] memory tokens) public returns (bool) {
+ // require(false, stub_error);
+ // to;
+ // tokens;
+ // dummy = 0;
+ // return false;
+ // }
- /// @notice Function to mint multiple tokens with the given tokenUris.
- /// @dev `tokenIds` is array of pairs of token ID and token URI. Token IDs should be consecutive
- /// numbers and first number should be obtained with `nextTokenId` method
- /// @param to The new owner
- /// @param tokens array of pairs of token ID and token URI for minted tokens
- /// @dev EVM selector for this function is: 0x36543006,
- /// or in textual repr: mintBulkWithTokenURI(address,(uint256,string)[])
- function mintBulkWithTokenURI(address to, Tuple6[] memory tokens) public returns (bool) {
- require(false, stub_error);
- to;
- tokens;
- dummy = 0;
- return false;
- }
}
/// @dev anonymous struct
@@ -788,7 +810,7 @@
ERC721,
ERC721Enumerable,
ERC721UniqueExtensions,
- ERC721Mintable,
+ ERC721UniqueMintable,
ERC721Burnable,
ERC721Metadata,
Collection,
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
@@ -442,13 +442,13 @@
}
/// @dev inlined interface
-contract ERC721MintableEvents {
+contract ERC721UniqueMintableEvents {
event MintingFinished();
}
/// @title ERC721 minting logic.
-/// @dev the ERC-165 identifier for this interface is 0x68ccfe89
-contract ERC721Mintable is Dummy, ERC165, ERC721MintableEvents {
+/// @dev the ERC-165 identifier for this interface is 0x476ff149
+contract ERC721UniqueMintable is Dummy, ERC165, ERC721UniqueMintableEvents {
/// @dev EVM selector for this function is: 0x05d2035b,
/// or in textual repr: mintingFinished()
function mintingFinished() public view returns (bool) {
@@ -458,41 +458,63 @@
}
/// @notice Function to mint token.
- /// @dev `tokenId` should be obtained with `nextTokenId` method,
- /// unlike standard, you can't specify it manually
/// @param to The new owner
- /// @param tokenId ID of the minted RFT
- /// @dev EVM selector for this function is: 0x40c10f19,
- /// or in textual repr: mint(address,uint256)
- function mint(address to, uint256 tokenId) public returns (bool) {
+ /// @return uint256 The id of the newly minted token
+ /// @dev EVM selector for this function is: 0x6a627842,
+ /// or in textual repr: mint(address)
+ function mint(address to) public returns (uint256) {
require(false, stub_error);
to;
- tokenId;
dummy = 0;
- return false;
+ return 0;
}
+ // /// @notice Function to mint token.
+ // /// @dev `tokenId` should be obtained with `nextTokenId` method,
+ // /// unlike standard, you can't specify it manually
+ // /// @param to The new owner
+ // /// @param tokenId ID of the minted RFT
+ // /// @dev EVM selector for this function is: 0x40c10f19,
+ // /// or in textual repr: mint(address,uint256)
+ // function mint(address to, uint256 tokenId) public returns (bool) {
+ // require(false, stub_error);
+ // to;
+ // tokenId;
+ // dummy = 0;
+ // return false;
+ // }
+
/// @notice Function to mint token with the given tokenUri.
- /// @dev `tokenId` should be obtained with `nextTokenId` method,
- /// unlike standard, you can't specify it manually
/// @param to The new owner
- /// @param tokenId ID of the minted RFT
- /// @param tokenUri Token URI that would be stored in the RFT properties
- /// @dev EVM selector for this function is: 0x50bb4e7f,
- /// or in textual repr: mintWithTokenURI(address,uint256,string)
- function mintWithTokenURI(
- address to,
- uint256 tokenId,
- string memory tokenUri
- ) public returns (bool) {
+ /// @param tokenUri Token URI that would be stored in the NFT properties
+ /// @return uint256 The id of the newly minted token
+ /// @dev EVM selector for this function is: 0x45c17782,
+ /// or in textual repr: mintWithTokenURI(address,string)
+ function mintWithTokenURI(address to, string memory tokenUri) public returns (uint256) {
require(false, stub_error);
to;
- tokenId;
tokenUri;
dummy = 0;
- return false;
+ return 0;
}
+ // /// @notice Function to mint token with the given tokenUri.
+ // /// @dev `tokenId` should be obtained with `nextTokenId` method,
+ // /// unlike standard, you can't specify it manually
+ // /// @param to The new owner
+ // /// @param tokenId ID of the minted RFT
+ // /// @param tokenUri Token URI that would be stored in the RFT properties
+ // /// @dev EVM selector for this function is: 0x50bb4e7f,
+ // /// or in textual repr: mintWithTokenURI(address,uint256,string)
+ // function mintWithTokenURI(address to, uint256 tokenId, string memory tokenUri) public returns (bool) {
+ // require(false, stub_error);
+ // to;
+ // tokenId;
+ // tokenUri;
+ // dummy = 0;
+ // return false;
+ // }
+
/// @dev Not implemented
/// @dev EVM selector for this function is: 0x7d64bcb4,
/// or in textual repr: finishMinting()
@@ -564,35 +586,35 @@
return 0;
}
- /// @notice Function to mint multiple tokens.
- /// @dev `tokenIds` should be an array of consecutive numbers and first number
- /// should be obtained with `nextTokenId` method
- /// @param to The new owner
- /// @param tokenIds IDs of the minted RFTs
- /// @dev EVM selector for this function is: 0x44a9945e,
- /// or in textual repr: mintBulk(address,uint256[])
- function mintBulk(address to, uint256[] memory tokenIds) public returns (bool) {
- require(false, stub_error);
- to;
- tokenIds;
- dummy = 0;
- return false;
- }
+ // /// @notice Function to mint multiple tokens.
+ // /// @dev `tokenIds` should be an array of consecutive numbers and first number
+ // /// should be obtained with `nextTokenId` method
+ // /// @param to The new owner
+ // /// @param tokenIds IDs of the minted RFTs
+ // /// @dev EVM selector for this function is: 0x44a9945e,
+ // /// or in textual repr: mintBulk(address,uint256[])
+ // function mintBulk(address to, uint256[] memory tokenIds) public returns (bool) {
+ // require(false, stub_error);
+ // to;
+ // tokenIds;
+ // dummy = 0;
+ // return false;
+ // }
- /// @notice Function to mint multiple tokens with the given tokenUris.
- /// @dev `tokenIds` is array of pairs of token ID and token URI. Token IDs should be consecutive
- /// numbers and first number should be obtained with `nextTokenId` method
- /// @param to The new owner
- /// @param tokens array of pairs of token ID and token URI for minted tokens
- /// @dev EVM selector for this function is: 0x36543006,
- /// or in textual repr: mintBulkWithTokenURI(address,(uint256,string)[])
- function mintBulkWithTokenURI(address to, Tuple6[] memory tokens) public returns (bool) {
- require(false, stub_error);
- to;
- tokens;
- dummy = 0;
- return false;
- }
+ // /// @notice Function to mint multiple tokens with the given tokenUris.
+ // /// @dev `tokenIds` is array of pairs of token ID and token URI. Token IDs should be consecutive
+ // /// numbers and first number should be obtained with `nextTokenId` method
+ // /// @param to The new owner
+ // /// @param tokens array of pairs of token ID and token URI for minted tokens
+ // /// @dev EVM selector for this function is: 0x36543006,
+ // /// or in textual repr: mintBulkWithTokenURI(address,(uint256,string)[])
+ // function mintBulkWithTokenURI(address to, Tuple6[] memory tokens) public returns (bool) {
+ // require(false, stub_error);
+ // to;
+ // tokens;
+ // dummy = 0;
+ // return false;
+ // }
/// Returns EVM address for refungible token
///
@@ -798,7 +820,7 @@
ERC721,
ERC721Enumerable,
ERC721UniqueExtensions,
- ERC721Mintable,
+ ERC721UniqueMintable,
ERC721Burnable,
ERC721Metadata,
Collection,
tests/src/eth/api/UniqueNFT.soldiffbeforeafterboth--- a/tests/src/eth/api/UniqueNFT.sol
+++ b/tests/src/eth/api/UniqueNFT.sol
@@ -297,40 +297,51 @@
}
/// @dev inlined interface
-interface ERC721MintableEvents {
+interface ERC721UniqueMintableEvents {
event MintingFinished();
}
/// @title ERC721 minting logic.
-/// @dev the ERC-165 identifier for this interface is 0x68ccfe89
-interface ERC721Mintable is Dummy, ERC165, ERC721MintableEvents {
+/// @dev the ERC-165 identifier for this interface is 0x476ff149
+interface ERC721UniqueMintable is Dummy, ERC165, ERC721UniqueMintableEvents {
/// @dev EVM selector for this function is: 0x05d2035b,
/// or in textual repr: mintingFinished()
function mintingFinished() external view returns (bool);
/// @notice Function to mint token.
- /// @dev `tokenId` should be obtained with `nextTokenId` method,
- /// unlike standard, you can't specify it manually
/// @param to The new owner
- /// @param tokenId ID of the minted NFT
- /// @dev EVM selector for this function is: 0x40c10f19,
- /// or in textual repr: mint(address,uint256)
- function mint(address to, uint256 tokenId) external returns (bool);
+ /// @return uint256 The id of the newly minted token
+ /// @dev EVM selector for this function is: 0x6a627842,
+ /// or in textual repr: mint(address)
+ function mint(address to) external returns (uint256);
+
+ // /// @notice Function to mint token.
+ // /// @dev `tokenId` should be obtained with `nextTokenId` method,
+ // /// unlike standard, you can't specify it manually
+ // /// @param to The new owner
+ // /// @param tokenId ID of the minted NFT
+ // /// @dev EVM selector for this function is: 0x40c10f19,
+ // /// or in textual repr: mint(address,uint256)
+ // function mint(address to, uint256 tokenId) external returns (bool);
/// @notice Function to mint token with the given tokenUri.
- /// @dev `tokenId` should be obtained with `nextTokenId` method,
- /// unlike standard, you can't specify it manually
/// @param to The new owner
- /// @param tokenId ID of the minted NFT
/// @param tokenUri Token URI that would be stored in the NFT properties
- /// @dev EVM selector for this function is: 0x50bb4e7f,
- /// or in textual repr: mintWithTokenURI(address,uint256,string)
- function mintWithTokenURI(
- address to,
- uint256 tokenId,
- string memory tokenUri
- ) external returns (bool);
+ /// @return uint256 The id of the newly minted token
+ /// @dev EVM selector for this function is: 0x45c17782,
+ /// or in textual repr: mintWithTokenURI(address,string)
+ function mintWithTokenURI(address to, string memory tokenUri) external returns (uint256);
+ // /// @notice Function to mint token with the given tokenUri.
+ // /// @dev `tokenId` should be obtained with `nextTokenId` method,
+ // /// unlike standard, you can't specify it manually
+ // /// @param to The new owner
+ // /// @param tokenId ID of the minted NFT
+ // /// @param tokenUri Token URI that would be stored in the NFT properties
+ // /// @dev EVM selector for this function is: 0x50bb4e7f,
+ // /// or in textual repr: mintWithTokenURI(address,uint256,string)
+ // function mintWithTokenURI(address to, uint256 tokenId, string memory tokenUri) external returns (bool);
+
/// @dev Not implemented
/// @dev EVM selector for this function is: 0x7d64bcb4,
/// or in textual repr: finishMinting()
@@ -373,24 +384,24 @@
/// @dev EVM selector for this function is: 0x75794a3c,
/// or in textual repr: nextTokenId()
function nextTokenId() external view returns (uint256);
+ // /// @notice Function to mint multiple tokens.
+ // /// @dev `tokenIds` should be an array of consecutive numbers and first number
+ // /// should be obtained with `nextTokenId` method
+ // /// @param to The new owner
+ // /// @param tokenIds IDs of the minted NFTs
+ // /// @dev EVM selector for this function is: 0x44a9945e,
+ // /// or in textual repr: mintBulk(address,uint256[])
+ // function mintBulk(address to, uint256[] memory tokenIds) external returns (bool);
- /// @notice Function to mint multiple tokens.
- /// @dev `tokenIds` should be an array of consecutive numbers and first number
- /// should be obtained with `nextTokenId` method
- /// @param to The new owner
- /// @param tokenIds IDs of the minted NFTs
- /// @dev EVM selector for this function is: 0x44a9945e,
- /// or in textual repr: mintBulk(address,uint256[])
- function mintBulk(address to, uint256[] memory tokenIds) external returns (bool);
+ // /// @notice Function to mint multiple tokens with the given tokenUris.
+ // /// @dev `tokenIds` is array of pairs of token ID and token URI. Token IDs should be consecutive
+ // /// numbers and first number should be obtained with `nextTokenId` method
+ // /// @param to The new owner
+ // /// @param tokens array of pairs of token ID and token URI for minted tokens
+ // /// @dev EVM selector for this function is: 0x36543006,
+ // /// or in textual repr: mintBulkWithTokenURI(address,(uint256,string)[])
+ // function mintBulkWithTokenURI(address to, Tuple6[] memory tokens) external returns (bool);
- /// @notice Function to mint multiple tokens with the given tokenUris.
- /// @dev `tokenIds` is array of pairs of token ID and token URI. Token IDs should be consecutive
- /// numbers and first number should be obtained with `nextTokenId` method
- /// @param to The new owner
- /// @param tokens array of pairs of token ID and token URI for minted tokens
- /// @dev EVM selector for this function is: 0x36543006,
- /// or in textual repr: mintBulkWithTokenURI(address,(uint256,string)[])
- function mintBulkWithTokenURI(address to, Tuple6[] memory tokens) external returns (bool);
}
/// @dev anonymous struct
@@ -521,7 +532,7 @@
ERC721,
ERC721Enumerable,
ERC721UniqueExtensions,
- ERC721Mintable,
+ ERC721UniqueMintable,
ERC721Burnable,
ERC721Metadata,
Collection,
tests/src/eth/api/UniqueRefungible.soldiffbeforeafterboth295}295}296296297/// @dev inlined interface297/// @dev inlined interface298interface ERC721MintableEvents {298interface ERC721UniqueMintableEvents {299 event MintingFinished();299 event MintingFinished();300}300}301301302/// @title ERC721 minting logic.302/// @title ERC721 minting logic.303/// @dev the ERC-165 identifier for this interface is 0x68ccfe89303/// @dev the ERC-165 identifier for this interface is 0x476ff149304interface ERC721Mintable is Dummy, ERC165, ERC721MintableEvents {304interface ERC721UniqueMintable is Dummy, ERC165, ERC721UniqueMintableEvents {305 /// @dev EVM selector for this function is: 0x05d2035b,305 /// @dev EVM selector for this function is: 0x05d2035b,306 /// or in textual repr: mintingFinished()306 /// or in textual repr: mintingFinished()307 function mintingFinished() external view returns (bool);307 function mintingFinished() external view returns (bool);308308309 /// @notice Function to mint token.309 /// @notice Function to mint token.310 /// @dev `tokenId` should be obtained with `nextTokenId` method,311 /// unlike standard, you can't specify it manually312 /// @param to The new owner310 /// @param to The new owner313 /// @param tokenId ID of the minted RFT311 /// @return uint256 The id of the newly minted token314 /// @dev EVM selector for this function is: 0x40c10f19,312 /// @dev EVM selector for this function is: 0x6a627842,315 /// or in textual repr: mint(address,uint256)313 /// or in textual repr: mint(address)316 function mint(address to, uint256 tokenId) external returns (bool);314 function mint(address to) external returns (uint256);315316 // /// @notice Function to mint token.317 // /// @dev `tokenId` should be obtained with `nextTokenId` method,318 // /// unlike standard, you can't specify it manually319 // /// @param to The new owner320 // /// @param tokenId ID of the minted RFT321 // /// @dev EVM selector for this function is: 0x40c10f19,322 // /// or in textual repr: mint(address,uint256)323 // function mint(address to, uint256 tokenId) external returns (bool);317324318 /// @notice Function to mint token with the given tokenUri.325 /// @notice Function to mint token with the given tokenUri.319 /// @dev `tokenId` should be obtained with `nextTokenId` method,320 /// unlike standard, you can't specify it manually321 /// @param to The new owner326 /// @param to The new owner322 /// @param tokenId ID of the minted RFT323 /// @param tokenUri Token URI that would be stored in the RFT properties327 /// @param tokenUri Token URI that would be stored in the NFT properties328 /// @return uint256 The id of the newly minted token324 /// @dev EVM selector for this function is: 0x50bb4e7f,329 /// @dev EVM selector for this function is: 0x45c17782,325 /// or in textual repr: mintWithTokenURI(address,uint256,string)330 /// or in textual repr: mintWithTokenURI(address,string)326 function mintWithTokenURI(331 function mintWithTokenURI(address to, string memory tokenUri) external returns (uint256);327 address to,332328 uint256 tokenId,333 // /// @notice Function to mint token with the given tokenUri.329 string memory tokenUri334 // /// @dev `tokenId` should be obtained with `nextTokenId` method,330 ) external returns (bool);335 // /// unlike standard, you can't specify it manually336 // /// @param to The new owner337 // /// @param tokenId ID of the minted RFT338 // /// @param tokenUri Token URI that would be stored in the RFT properties339 // /// @dev EVM selector for this function is: 0x50bb4e7f,340 // /// or in textual repr: mintWithTokenURI(address,uint256,string)341 // function mintWithTokenURI(address to, uint256 tokenId, string memory tokenUri) external returns (bool);331342332 /// @dev Not implemented343 /// @dev Not implemented333 /// @dev EVM selector for this function is: 0x7d64bcb4,344 /// @dev EVM selector for this function is: 0x7d64bcb4,374 /// or in textual repr: nextTokenId()385 /// or in textual repr: nextTokenId()375 function nextTokenId() external view returns (uint256);386 function nextTokenId() external view returns (uint256);376387377 /// @notice Function to mint multiple tokens.388 // /// @notice Function to mint multiple tokens.378 /// @dev `tokenIds` should be an array of consecutive numbers and first number389 // /// @dev `tokenIds` should be an array of consecutive numbers and first number379 /// should be obtained with `nextTokenId` method390 // /// should be obtained with `nextTokenId` method380 /// @param to The new owner391 // /// @param to The new owner381 /// @param tokenIds IDs of the minted RFTs392 // /// @param tokenIds IDs of the minted RFTs382 /// @dev EVM selector for this function is: 0x44a9945e,393 // /// @dev EVM selector for this function is: 0x44a9945e,383 /// or in textual repr: mintBulk(address,uint256[])394 // /// or in textual repr: mintBulk(address,uint256[])384 function mintBulk(address to, uint256[] memory tokenIds) external returns (bool);395 // function mintBulk(address to, uint256[] memory tokenIds) external returns (bool);385396386 /// @notice Function to mint multiple tokens with the given tokenUris.397 // /// @notice Function to mint multiple tokens with the given tokenUris.387 /// @dev `tokenIds` is array of pairs of token ID and token URI. Token IDs should be consecutive398 // /// @dev `tokenIds` is array of pairs of token ID and token URI. Token IDs should be consecutive388 /// numbers and first number should be obtained with `nextTokenId` method399 // /// numbers and first number should be obtained with `nextTokenId` method389 /// @param to The new owner400 // /// @param to The new owner390 /// @param tokens array of pairs of token ID and token URI for minted tokens401 // /// @param tokens array of pairs of token ID and token URI for minted tokens391 /// @dev EVM selector for this function is: 0x36543006,402 // /// @dev EVM selector for this function is: 0x36543006,392 /// or in textual repr: mintBulkWithTokenURI(address,(uint256,string)[])403 // /// or in textual repr: mintBulkWithTokenURI(address,(uint256,string)[])393 function mintBulkWithTokenURI(address to, Tuple6[] memory tokens) external returns (bool);404 // function mintBulkWithTokenURI(address to, Tuple6[] memory tokens) external returns (bool);394405395 /// Returns EVM address for refungible token406 /// Returns EVM address for refungible token396 ///407 ///526 ERC721,537 ERC721,527 ERC721Enumerable,538 ERC721Enumerable,528 ERC721UniqueExtensions,539 ERC721UniqueExtensions,529 ERC721Mintable,540 ERC721UniqueMintable,530 ERC721Burnable,541 ERC721Burnable,531 ERC721Metadata,542 ERC721Metadata,532 Collection,543 Collection,tests/src/eth/nonFungibleAbi.jsondiffbeforeafterboth--- a/tests/src/eth/nonFungibleAbi.json
+++ b/tests/src/eth/nonFungibleAbi.json
@@ -260,51 +260,19 @@
"type": "function"
},
{
- "inputs": [
- { "internalType": "address", "name": "to", "type": "address" },
- { "internalType": "uint256", "name": "tokenId", "type": "uint256" }
- ],
+ "inputs": [{ "internalType": "address", "name": "to", "type": "address" }],
"name": "mint",
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
- "stateMutability": "nonpayable",
- "type": "function"
- },
- {
- "inputs": [
- { "internalType": "address", "name": "to", "type": "address" },
- { "internalType": "uint256[]", "name": "tokenIds", "type": "uint256[]" }
- ],
- "name": "mintBulk",
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
- "stateMutability": "nonpayable",
- "type": "function"
- },
- {
- "inputs": [
- { "internalType": "address", "name": "to", "type": "address" },
- {
- "components": [
- { "internalType": "uint256", "name": "field_0", "type": "uint256" },
- { "internalType": "string", "name": "field_1", "type": "string" }
- ],
- "internalType": "struct Tuple6[]",
- "name": "tokens",
- "type": "tuple[]"
- }
- ],
- "name": "mintBulkWithTokenURI",
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{ "internalType": "address", "name": "to", "type": "address" },
- { "internalType": "uint256", "name": "tokenId", "type": "uint256" },
{ "internalType": "string", "name": "tokenUri", "type": "string" }
],
"name": "mintWithTokenURI",
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
"stateMutability": "nonpayable",
"type": "function"
},
tests/src/eth/reFungibleAbi.jsondiffbeforeafterboth--- a/tests/src/eth/reFungibleAbi.json
+++ b/tests/src/eth/reFungibleAbi.json
@@ -260,51 +260,19 @@
"type": "function"
},
{
- "inputs": [
- { "internalType": "address", "name": "to", "type": "address" },
- { "internalType": "uint256", "name": "tokenId", "type": "uint256" }
- ],
+ "inputs": [{ "internalType": "address", "name": "to", "type": "address" }],
"name": "mint",
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
- "stateMutability": "nonpayable",
- "type": "function"
- },
- {
- "inputs": [
- { "internalType": "address", "name": "to", "type": "address" },
- { "internalType": "uint256[]", "name": "tokenIds", "type": "uint256[]" }
- ],
- "name": "mintBulk",
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
- "stateMutability": "nonpayable",
- "type": "function"
- },
- {
- "inputs": [
- { "internalType": "address", "name": "to", "type": "address" },
- {
- "components": [
- { "internalType": "uint256", "name": "field_0", "type": "uint256" },
- { "internalType": "string", "name": "field_1", "type": "string" }
- ],
- "internalType": "struct Tuple6[]",
- "name": "tokens",
- "type": "tuple[]"
- }
- ],
- "name": "mintBulkWithTokenURI",
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{ "internalType": "address", "name": "to", "type": "address" },
- { "internalType": "uint256", "name": "tokenId", "type": "uint256" },
{ "internalType": "string", "name": "tokenUri", "type": "string" }
],
"name": "mintWithTokenURI",
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
"stateMutability": "nonpayable",
"type": "function"
},