git.delta.rocks / unique-network / refs/commits / d662994941bb

difftreelog

chore regenerate stubs

Yaroslav Bolyukin2022-10-13parent: #ae73107.patch.diff
in: master

8 files changed

modifiedpallets/nonfungible/src/stubs/UniqueNFT.rawdiffbeforeafterboth

binary blob — no preview

modifiedpallets/nonfungible/src/stubs/UniqueNFT.soldiffbeforeafterboth
444}444}
445445
446/// @dev inlined interface446/// @dev inlined interface
447contract ERC721MintableEvents {447contract ERC721UniqueMintableEvents {
448 event MintingFinished();448 event MintingFinished();
449}449}
450450
451/// @title ERC721 minting logic.451/// @title ERC721 minting logic.
452/// @dev the ERC-165 identifier for this interface is 0x68ccfe89452/// @dev the ERC-165 identifier for this interface is 0x476ff149
453contract ERC721Mintable is Dummy, ERC165, ERC721MintableEvents {453contract ERC721UniqueMintable is Dummy, ERC165, ERC721UniqueMintableEvents {
454 /// @dev EVM selector for this function is: 0x05d2035b,454 /// @dev EVM selector for this function is: 0x05d2035b,
455 /// or in textual repr: mintingFinished()455 /// or in textual repr: mintingFinished()
456 function mintingFinished() public view returns (bool) {456 function mintingFinished() public view returns (bool) {
460 }460 }
461461
462 /// @notice Function to mint token.462 /// @notice Function to mint token.
463 /// @dev `tokenId` should be obtained with `nextTokenId` method,
464 /// unlike standard, you can't specify it manually
465 /// @param to The new owner463 /// @param to The new owner
466 /// @param tokenId ID of the minted NFT464 /// @return uint256 The id of the newly minted token
467 /// @dev EVM selector for this function is: 0x40c10f19,465 /// @dev EVM selector for this function is: 0x6a627842,
468 /// or in textual repr: mint(address,uint256)466 /// or in textual repr: mint(address)
469 function mint(address to, uint256 tokenId) public returns (bool) {467 function mint(address to) public returns (uint256) {
470 require(false, stub_error);468 require(false, stub_error);
471 to;469 to;
472 tokenId;
473 dummy = 0;470 dummy = 0;
474 return false;471 return 0;
475 }472 }
473
474 // /// @notice Function to mint token.
475 // /// @dev `tokenId` should be obtained with `nextTokenId` method,
476 // /// unlike standard, you can't specify it manually
477 // /// @param to The new owner
478 // /// @param tokenId ID of the minted NFT
479 // /// @dev EVM selector for this function is: 0x40c10f19,
480 // /// or in textual repr: mint(address,uint256)
481 // function mint(address to, uint256 tokenId) public returns (bool) {
482 // require(false, stub_error);
483 // to;
484 // tokenId;
485 // dummy = 0;
486 // return false;
487 // }
476488
477 /// @notice Function to mint token with the given tokenUri.489 /// @notice Function to mint token with the given tokenUri.
478 /// @dev `tokenId` should be obtained with `nextTokenId` method,
479 /// unlike standard, you can't specify it manually
480 /// @param to The new owner490 /// @param to The new owner
481 /// @param tokenId ID of the minted NFT
482 /// @param tokenUri Token URI that would be stored in the NFT properties491 /// @param tokenUri Token URI that would be stored in the NFT properties
492 /// @return uint256 The id of the newly minted token
483 /// @dev EVM selector for this function is: 0x50bb4e7f,493 /// @dev EVM selector for this function is: 0x45c17782,
484 /// or in textual repr: mintWithTokenURI(address,uint256,string)494 /// or in textual repr: mintWithTokenURI(address,string)
485 function mintWithTokenURI(495 function mintWithTokenURI(address to, string memory tokenUri) public returns (uint256) {
486 address to,
487 uint256 tokenId,
488 string memory tokenUri
489 ) public returns (bool) {
490 require(false, stub_error);496 require(false, stub_error);
491 to;497 to;
492 tokenId;
493 tokenUri;498 tokenUri;
494 dummy = 0;499 dummy = 0;
495 return false;500 return 0;
496 }501 }
502
503 // /// @notice Function to mint token with the given tokenUri.
504 // /// @dev `tokenId` should be obtained with `nextTokenId` method,
505 // /// unlike standard, you can't specify it manually
506 // /// @param to The new owner
507 // /// @param tokenId ID of the minted NFT
508 // /// @param tokenUri Token URI that would be stored in the NFT properties
509 // /// @dev EVM selector for this function is: 0x50bb4e7f,
510 // /// or in textual repr: mintWithTokenURI(address,uint256,string)
511 // function mintWithTokenURI(address to, uint256 tokenId, string memory tokenUri) public returns (bool) {
512 // require(false, stub_error);
513 // to;
514 // tokenId;
515 // tokenUri;
516 // dummy = 0;
517 // return false;
518 // }
497519
498 /// @dev Not implemented520 /// @dev Not implemented
499 /// @dev EVM selector for this function is: 0x7d64bcb4,521 /// @dev EVM selector for this function is: 0x7d64bcb4,
564 return 0;586 return 0;
565 }587 }
566
567 /// @notice Function to mint multiple tokens.588 // /// @notice Function to mint multiple tokens.
568 /// @dev `tokenIds` should be an array of consecutive numbers and first number589 // /// @dev `tokenIds` should be an array of consecutive numbers and first number
569 /// should be obtained with `nextTokenId` method590 // /// should be obtained with `nextTokenId` method
570 /// @param to The new owner591 // /// @param to The new owner
571 /// @param tokenIds IDs of the minted NFTs592 // /// @param tokenIds IDs of the minted NFTs
572 /// @dev EVM selector for this function is: 0x44a9945e,593 // /// @dev EVM selector for this function is: 0x44a9945e,
573 /// or in textual repr: mintBulk(address,uint256[])594 // /// or in textual repr: mintBulk(address,uint256[])
574 function mintBulk(address to, uint256[] memory tokenIds) public returns (bool) {595 // function mintBulk(address to, uint256[] memory tokenIds) public returns (bool) {
575 require(false, stub_error);596 // require(false, stub_error);
576 to;597 // to;
577 tokenIds;598 // tokenIds;
578 dummy = 0;599 // dummy = 0;
579 return false;600 // return false;
580 }601 // }
581602
582 /// @notice Function to mint multiple tokens with the given tokenUris.603 // /// @notice Function to mint multiple tokens with the given tokenUris.
583 /// @dev `tokenIds` is array of pairs of token ID and token URI. Token IDs should be consecutive604 // /// @dev `tokenIds` is array of pairs of token ID and token URI. Token IDs should be consecutive
584 /// numbers and first number should be obtained with `nextTokenId` method605 // /// numbers and first number should be obtained with `nextTokenId` method
585 /// @param to The new owner606 // /// @param to The new owner
586 /// @param tokens array of pairs of token ID and token URI for minted tokens607 // /// @param tokens array of pairs of token ID and token URI for minted tokens
587 /// @dev EVM selector for this function is: 0x36543006,608 // /// @dev EVM selector for this function is: 0x36543006,
588 /// or in textual repr: mintBulkWithTokenURI(address,(uint256,string)[])609 // /// or in textual repr: mintBulkWithTokenURI(address,(uint256,string)[])
589 function mintBulkWithTokenURI(address to, Tuple6[] memory tokens) public returns (bool) {610 // function mintBulkWithTokenURI(address to, Tuple6[] memory tokens) public returns (bool) {
590 require(false, stub_error);611 // require(false, stub_error);
591 to;612 // to;
592 tokens;613 // tokens;
593 dummy = 0;614 // dummy = 0;
594 return false;615 // return false;
595 }616 // }
617
596}618}
597619
788 ERC721,810 ERC721,
789 ERC721Enumerable,811 ERC721Enumerable,
790 ERC721UniqueExtensions,812 ERC721UniqueExtensions,
791 ERC721Mintable,813 ERC721UniqueMintable,
792 ERC721Burnable,814 ERC721Burnable,
793 ERC721Metadata,815 ERC721Metadata,
794 Collection,816 Collection,
modifiedpallets/refungible/src/stubs/UniqueRefungible.rawdiffbeforeafterboth

binary blob — no preview

modifiedpallets/refungible/src/stubs/UniqueRefungible.soldiffbeforeafterboth
442}442}
443443
444/// @dev inlined interface444/// @dev inlined interface
445contract ERC721MintableEvents {445contract ERC721UniqueMintableEvents {
446 event MintingFinished();446 event MintingFinished();
447}447}
448448
449/// @title ERC721 minting logic.449/// @title ERC721 minting logic.
450/// @dev the ERC-165 identifier for this interface is 0x68ccfe89450/// @dev the ERC-165 identifier for this interface is 0x476ff149
451contract ERC721Mintable is Dummy, ERC165, ERC721MintableEvents {451contract ERC721UniqueMintable is Dummy, ERC165, ERC721UniqueMintableEvents {
452 /// @dev EVM selector for this function is: 0x05d2035b,452 /// @dev EVM selector for this function is: 0x05d2035b,
453 /// or in textual repr: mintingFinished()453 /// or in textual repr: mintingFinished()
454 function mintingFinished() public view returns (bool) {454 function mintingFinished() public view returns (bool) {
458 }458 }
459459
460 /// @notice Function to mint token.460 /// @notice Function to mint token.
461 /// @dev `tokenId` should be obtained with `nextTokenId` method,
462 /// unlike standard, you can't specify it manually
463 /// @param to The new owner461 /// @param to The new owner
464 /// @param tokenId ID of the minted RFT462 /// @return uint256 The id of the newly minted token
465 /// @dev EVM selector for this function is: 0x40c10f19,463 /// @dev EVM selector for this function is: 0x6a627842,
466 /// or in textual repr: mint(address,uint256)464 /// or in textual repr: mint(address)
467 function mint(address to, uint256 tokenId) public returns (bool) {465 function mint(address to) public returns (uint256) {
468 require(false, stub_error);466 require(false, stub_error);
469 to;467 to;
470 tokenId;
471 dummy = 0;468 dummy = 0;
472 return false;469 return 0;
473 }470 }
471
472 // /// @notice Function to mint token.
473 // /// @dev `tokenId` should be obtained with `nextTokenId` method,
474 // /// unlike standard, you can't specify it manually
475 // /// @param to The new owner
476 // /// @param tokenId ID of the minted RFT
477 // /// @dev EVM selector for this function is: 0x40c10f19,
478 // /// or in textual repr: mint(address,uint256)
479 // function mint(address to, uint256 tokenId) public returns (bool) {
480 // require(false, stub_error);
481 // to;
482 // tokenId;
483 // dummy = 0;
484 // return false;
485 // }
474486
475 /// @notice Function to mint token with the given tokenUri.487 /// @notice Function to mint token with the given tokenUri.
476 /// @dev `tokenId` should be obtained with `nextTokenId` method,
477 /// unlike standard, you can't specify it manually
478 /// @param to The new owner488 /// @param to The new owner
479 /// @param tokenId ID of the minted RFT
480 /// @param tokenUri Token URI that would be stored in the RFT properties489 /// @param tokenUri Token URI that would be stored in the NFT properties
490 /// @return uint256 The id of the newly minted token
481 /// @dev EVM selector for this function is: 0x50bb4e7f,491 /// @dev EVM selector for this function is: 0x45c17782,
482 /// or in textual repr: mintWithTokenURI(address,uint256,string)492 /// or in textual repr: mintWithTokenURI(address,string)
483 function mintWithTokenURI(493 function mintWithTokenURI(address to, string memory tokenUri) public returns (uint256) {
484 address to,
485 uint256 tokenId,
486 string memory tokenUri
487 ) public returns (bool) {
488 require(false, stub_error);494 require(false, stub_error);
489 to;495 to;
490 tokenId;
491 tokenUri;496 tokenUri;
492 dummy = 0;497 dummy = 0;
493 return false;498 return 0;
494 }499 }
500
501 // /// @notice Function to mint token with the given tokenUri.
502 // /// @dev `tokenId` should be obtained with `nextTokenId` method,
503 // /// unlike standard, you can't specify it manually
504 // /// @param to The new owner
505 // /// @param tokenId ID of the minted RFT
506 // /// @param tokenUri Token URI that would be stored in the RFT properties
507 // /// @dev EVM selector for this function is: 0x50bb4e7f,
508 // /// or in textual repr: mintWithTokenURI(address,uint256,string)
509 // function mintWithTokenURI(address to, uint256 tokenId, string memory tokenUri) public returns (bool) {
510 // require(false, stub_error);
511 // to;
512 // tokenId;
513 // tokenUri;
514 // dummy = 0;
515 // return false;
516 // }
495517
496 /// @dev Not implemented518 /// @dev Not implemented
497 /// @dev EVM selector for this function is: 0x7d64bcb4,519 /// @dev EVM selector for this function is: 0x7d64bcb4,
564 return 0;586 return 0;
565 }587 }
566588
567 /// @notice Function to mint multiple tokens.589 // /// @notice Function to mint multiple tokens.
568 /// @dev `tokenIds` should be an array of consecutive numbers and first number590 // /// @dev `tokenIds` should be an array of consecutive numbers and first number
569 /// should be obtained with `nextTokenId` method591 // /// should be obtained with `nextTokenId` method
570 /// @param to The new owner592 // /// @param to The new owner
571 /// @param tokenIds IDs of the minted RFTs593 // /// @param tokenIds IDs of the minted RFTs
572 /// @dev EVM selector for this function is: 0x44a9945e,594 // /// @dev EVM selector for this function is: 0x44a9945e,
573 /// or in textual repr: mintBulk(address,uint256[])595 // /// or in textual repr: mintBulk(address,uint256[])
574 function mintBulk(address to, uint256[] memory tokenIds) public returns (bool) {596 // function mintBulk(address to, uint256[] memory tokenIds) public returns (bool) {
575 require(false, stub_error);597 // require(false, stub_error);
576 to;598 // to;
577 tokenIds;599 // tokenIds;
578 dummy = 0;600 // dummy = 0;
579 return false;601 // return false;
580 }602 // }
581603
582 /// @notice Function to mint multiple tokens with the given tokenUris.604 // /// @notice Function to mint multiple tokens with the given tokenUris.
583 /// @dev `tokenIds` is array of pairs of token ID and token URI. Token IDs should be consecutive605 // /// @dev `tokenIds` is array of pairs of token ID and token URI. Token IDs should be consecutive
584 /// numbers and first number should be obtained with `nextTokenId` method606 // /// numbers and first number should be obtained with `nextTokenId` method
585 /// @param to The new owner607 // /// @param to The new owner
586 /// @param tokens array of pairs of token ID and token URI for minted tokens608 // /// @param tokens array of pairs of token ID and token URI for minted tokens
587 /// @dev EVM selector for this function is: 0x36543006,609 // /// @dev EVM selector for this function is: 0x36543006,
588 /// or in textual repr: mintBulkWithTokenURI(address,(uint256,string)[])610 // /// or in textual repr: mintBulkWithTokenURI(address,(uint256,string)[])
589 function mintBulkWithTokenURI(address to, Tuple6[] memory tokens) public returns (bool) {611 // function mintBulkWithTokenURI(address to, Tuple6[] memory tokens) public returns (bool) {
590 require(false, stub_error);612 // require(false, stub_error);
591 to;613 // to;
592 tokens;614 // tokens;
593 dummy = 0;615 // dummy = 0;
594 return false;616 // return false;
595 }617 // }
596618
597 /// Returns EVM address for refungible token619 /// Returns EVM address for refungible token
598 ///620 ///
798 ERC721,820 ERC721,
799 ERC721Enumerable,821 ERC721Enumerable,
800 ERC721UniqueExtensions,822 ERC721UniqueExtensions,
801 ERC721Mintable,823 ERC721UniqueMintable,
802 ERC721Burnable,824 ERC721Burnable,
803 ERC721Metadata,825 ERC721Metadata,
804 Collection,826 Collection,
modifiedtests/src/eth/api/UniqueNFT.soldiffbeforeafterboth
297}297}
298298
299/// @dev inlined interface299/// @dev inlined interface
300interface ERC721MintableEvents {300interface ERC721UniqueMintableEvents {
301 event MintingFinished();301 event MintingFinished();
302}302}
303303
304/// @title ERC721 minting logic.304/// @title ERC721 minting logic.
305/// @dev the ERC-165 identifier for this interface is 0x68ccfe89305/// @dev the ERC-165 identifier for this interface is 0x476ff149
306interface ERC721Mintable is Dummy, ERC165, ERC721MintableEvents {306interface ERC721UniqueMintable is Dummy, ERC165, ERC721UniqueMintableEvents {
307 /// @dev EVM selector for this function is: 0x05d2035b,307 /// @dev EVM selector for this function is: 0x05d2035b,
308 /// or in textual repr: mintingFinished()308 /// or in textual repr: mintingFinished()
309 function mintingFinished() external view returns (bool);309 function mintingFinished() external view returns (bool);
310310
311 /// @notice Function to mint token.311 /// @notice Function to mint token.
312 /// @dev `tokenId` should be obtained with `nextTokenId` method,
313 /// unlike standard, you can't specify it manually
314 /// @param to The new owner312 /// @param to The new owner
315 /// @param tokenId ID of the minted NFT313 /// @return uint256 The id of the newly minted token
316 /// @dev EVM selector for this function is: 0x40c10f19,314 /// @dev EVM selector for this function is: 0x6a627842,
317 /// or in textual repr: mint(address,uint256)315 /// or in textual repr: mint(address)
318 function mint(address to, uint256 tokenId) external returns (bool);316 function mint(address to) external returns (uint256);
317
318 // /// @notice Function to mint token.
319 // /// @dev `tokenId` should be obtained with `nextTokenId` method,
320 // /// unlike standard, you can't specify it manually
321 // /// @param to The new owner
322 // /// @param tokenId ID of the minted NFT
323 // /// @dev EVM selector for this function is: 0x40c10f19,
324 // /// or in textual repr: mint(address,uint256)
325 // function mint(address to, uint256 tokenId) external returns (bool);
319326
320 /// @notice Function to mint token with the given tokenUri.327 /// @notice Function to mint token with the given tokenUri.
321 /// @dev `tokenId` should be obtained with `nextTokenId` method,
322 /// unlike standard, you can't specify it manually
323 /// @param to The new owner328 /// @param to The new owner
324 /// @param tokenId ID of the minted NFT
325 /// @param tokenUri Token URI that would be stored in the NFT properties329 /// @param tokenUri Token URI that would be stored in the NFT properties
330 /// @return uint256 The id of the newly minted token
326 /// @dev EVM selector for this function is: 0x50bb4e7f,331 /// @dev EVM selector for this function is: 0x45c17782,
327 /// or in textual repr: mintWithTokenURI(address,uint256,string)332 /// or in textual repr: mintWithTokenURI(address,string)
328 function mintWithTokenURI(333 function mintWithTokenURI(address to, string memory tokenUri) external returns (uint256);
329 address to,334
330 uint256 tokenId,335 // /// @notice Function to mint token with the given tokenUri.
331 string memory tokenUri336 // /// @dev `tokenId` should be obtained with `nextTokenId` method,
332 ) external returns (bool);337 // /// unlike standard, you can't specify it manually
338 // /// @param to The new owner
339 // /// @param tokenId ID of the minted NFT
340 // /// @param tokenUri Token URI that would be stored in the NFT properties
341 // /// @dev EVM selector for this function is: 0x50bb4e7f,
342 // /// or in textual repr: mintWithTokenURI(address,uint256,string)
343 // function mintWithTokenURI(address to, uint256 tokenId, string memory tokenUri) external returns (bool);
333344
334 /// @dev Not implemented345 /// @dev Not implemented
335 /// @dev EVM selector for this function is: 0x7d64bcb4,346 /// @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);
376
377 /// @notice Function to mint multiple tokens.387 // /// @notice Function to mint multiple tokens.
378 /// @dev `tokenIds` should be an array of consecutive numbers and first number388 // /// @dev `tokenIds` should be an array of consecutive numbers and first number
379 /// should be obtained with `nextTokenId` method389 // /// should be obtained with `nextTokenId` method
380 /// @param to The new owner390 // /// @param to The new owner
381 /// @param tokenIds IDs of the minted NFTs391 // /// @param tokenIds IDs of the minted NFTs
382 /// @dev EVM selector for this function is: 0x44a9945e,392 // /// @dev EVM selector for this function is: 0x44a9945e,
383 /// or in textual repr: mintBulk(address,uint256[])393 // /// or in textual repr: mintBulk(address,uint256[])
384 function mintBulk(address to, uint256[] memory tokenIds) external returns (bool);394 // function mintBulk(address to, uint256[] memory tokenIds) external returns (bool);
385395
386 /// @notice Function to mint multiple tokens with the given tokenUris.396 // /// @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 consecutive397 // /// @dev `tokenIds` is array of pairs of token ID and token URI. Token IDs should be consecutive
388 /// numbers and first number should be obtained with `nextTokenId` method398 // /// numbers and first number should be obtained with `nextTokenId` method
389 /// @param to The new owner399 // /// @param to The new owner
390 /// @param tokens array of pairs of token ID and token URI for minted tokens400 // /// @param tokens array of pairs of token ID and token URI for minted tokens
391 /// @dev EVM selector for this function is: 0x36543006,401 // /// @dev EVM selector for this function is: 0x36543006,
392 /// or in textual repr: mintBulkWithTokenURI(address,(uint256,string)[])402 // /// or in textual repr: mintBulkWithTokenURI(address,(uint256,string)[])
393 function mintBulkWithTokenURI(address to, Tuple6[] memory tokens) external returns (bool);403 // function mintBulkWithTokenURI(address to, Tuple6[] memory tokens) external returns (bool);
404
394}405}
395406
521 ERC721,532 ERC721,
522 ERC721Enumerable,533 ERC721Enumerable,
523 ERC721UniqueExtensions,534 ERC721UniqueExtensions,
524 ERC721Mintable,535 ERC721UniqueMintable,
525 ERC721Burnable,536 ERC721Burnable,
526 ERC721Metadata,537 ERC721Metadata,
527 Collection,538 Collection,
modifiedtests/src/eth/api/UniqueRefungible.soldiffbeforeafterboth
295}295}
296296
297/// @dev inlined interface297/// @dev inlined interface
298interface ERC721MintableEvents {298interface ERC721UniqueMintableEvents {
299 event MintingFinished();299 event MintingFinished();
300}300}
301301
302/// @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 0x476ff149
304interface 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);
308308
309 /// @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 manually
312 /// @param to The new owner310 /// @param to The new owner
313 /// @param tokenId ID of the minted RFT311 /// @return uint256 The id of the newly minted token
314 /// @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);
315
316 // /// @notice Function to mint token.
317 // /// @dev `tokenId` should be obtained with `nextTokenId` method,
318 // /// unlike standard, you can't specify it manually
319 // /// @param to The new owner
320 // /// @param tokenId ID of the minted RFT
321 // /// @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);
317324
318 /// @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 manually
321 /// @param to The new owner326 /// @param to The new owner
322 /// @param tokenId ID of the minted RFT
323 /// @param tokenUri Token URI that would be stored in the RFT properties327 /// @param tokenUri Token URI that would be stored in the NFT properties
328 /// @return uint256 The id of the newly minted token
324 /// @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,332
328 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 manually
336 // /// @param to The new owner
337 // /// @param tokenId ID of the minted RFT
338 // /// @param tokenUri Token URI that would be stored in the RFT properties
339 // /// @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);
331342
332 /// @dev Not implemented343 /// @dev Not implemented
333 /// @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);
376387
377 /// @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 number
379 /// should be obtained with `nextTokenId` method390 // /// should be obtained with `nextTokenId` method
380 /// @param to The new owner391 // /// @param to The new owner
381 /// @param tokenIds IDs of the minted RFTs392 // /// @param tokenIds IDs of the minted RFTs
382 /// @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);
385396
386 /// @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 consecutive
388 /// numbers and first number should be obtained with `nextTokenId` method399 // /// numbers and first number should be obtained with `nextTokenId` method
389 /// @param to The new owner400 // /// @param to The new owner
390 /// @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 tokens
391 /// @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);
394405
395 /// Returns EVM address for refungible token406 /// Returns EVM address for refungible token
396 ///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,
modifiedtests/src/eth/nonFungibleAbi.jsondiffbeforeafterboth
261 },261 },
262 {262 {
263 "inputs": [263 "inputs": [{ "internalType": "address", "name": "to", "type": "address" }],
264 { "internalType": "address", "name": "to", "type": "address" },
265 { "internalType": "uint256", "name": "tokenId", "type": "uint256" }
266 ],
267 "name": "mint",264 "name": "mint",
268 "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],265 "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
269 "stateMutability": "nonpayable",266 "stateMutability": "nonpayable",
270 "type": "function"267 "type": "function"
271 },268 },
272 {
273 "inputs": [
274 { "internalType": "address", "name": "to", "type": "address" },
275 { "internalType": "uint256[]", "name": "tokenIds", "type": "uint256[]" }
276 ],
277 "name": "mintBulk",
278 "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
279 "stateMutability": "nonpayable",
280 "type": "function"
281 },
282 {
283 "inputs": [
284 { "internalType": "address", "name": "to", "type": "address" },
285 {
286 "components": [
287 { "internalType": "uint256", "name": "field_0", "type": "uint256" },
288 { "internalType": "string", "name": "field_1", "type": "string" }
289 ],
290 "internalType": "struct Tuple6[]",
291 "name": "tokens",
292 "type": "tuple[]"
293 }
294 ],
295 "name": "mintBulkWithTokenURI",
296 "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
297 "stateMutability": "nonpayable",
298 "type": "function"
299 },
300 {269 {
301 "inputs": [270 "inputs": [
302 { "internalType": "address", "name": "to", "type": "address" },271 { "internalType": "address", "name": "to", "type": "address" },
303 { "internalType": "uint256", "name": "tokenId", "type": "uint256" },
304 { "internalType": "string", "name": "tokenUri", "type": "string" }272 { "internalType": "string", "name": "tokenUri", "type": "string" }
305 ],273 ],
306 "name": "mintWithTokenURI",274 "name": "mintWithTokenURI",
307 "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],275 "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
308 "stateMutability": "nonpayable",276 "stateMutability": "nonpayable",
309 "type": "function"277 "type": "function"
310 },278 },
modifiedtests/src/eth/reFungibleAbi.jsondiffbeforeafterboth
261 },261 },
262 {262 {
263 "inputs": [263 "inputs": [{ "internalType": "address", "name": "to", "type": "address" }],
264 { "internalType": "address", "name": "to", "type": "address" },
265 { "internalType": "uint256", "name": "tokenId", "type": "uint256" }
266 ],
267 "name": "mint",264 "name": "mint",
268 "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],265 "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
269 "stateMutability": "nonpayable",266 "stateMutability": "nonpayable",
270 "type": "function"267 "type": "function"
271 },268 },
272 {
273 "inputs": [
274 { "internalType": "address", "name": "to", "type": "address" },
275 { "internalType": "uint256[]", "name": "tokenIds", "type": "uint256[]" }
276 ],
277 "name": "mintBulk",
278 "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
279 "stateMutability": "nonpayable",
280 "type": "function"
281 },
282 {
283 "inputs": [
284 { "internalType": "address", "name": "to", "type": "address" },
285 {
286 "components": [
287 { "internalType": "uint256", "name": "field_0", "type": "uint256" },
288 { "internalType": "string", "name": "field_1", "type": "string" }
289 ],
290 "internalType": "struct Tuple6[]",
291 "name": "tokens",
292 "type": "tuple[]"
293 }
294 ],
295 "name": "mintBulkWithTokenURI",
296 "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
297 "stateMutability": "nonpayable",
298 "type": "function"
299 },
300 {269 {
301 "inputs": [270 "inputs": [
302 { "internalType": "address", "name": "to", "type": "address" },271 { "internalType": "address", "name": "to", "type": "address" },
303 { "internalType": "uint256", "name": "tokenId", "type": "uint256" },
304 { "internalType": "string", "name": "tokenUri", "type": "string" }272 { "internalType": "string", "name": "tokenUri", "type": "string" }
305 ],273 ],
306 "name": "mintWithTokenURI",274 "name": "mintWithTokenURI",
307 "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],275 "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
308 "stateMutability": "nonpayable",276 "stateMutability": "nonpayable",
309 "type": "function"277 "type": "function"
310 },278 },