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

difftreelog

docs fix gramar

PraetorP2022-12-16parent: #f5a501e.patch.diff
in: master

6 files changed

modifiedpallets/nonfungible/src/erc.rsdiffbeforeafterboth
605 Ok(false)605 Ok(false)
606 }606 }
607607
608 /// @notice Function to a mint token.608 /// @notice Function to mint a token.
609 /// @param to The new owner609 /// @param to The new owner
610 /// @return uint256 The id of the newly minted token610 /// @return uint256 The id of the newly minted token
611 #[weight(<SelfWeightOf<T>>::create_item())]611 #[weight(<SelfWeightOf<T>>::create_item())]
618 Ok(token_id)618 Ok(token_id)
619 }619 }
620620
621 /// @notice Function to a mint token.621 /// @notice Function to mint a token.
622 /// @dev `tokenId` should be obtained with `nextTokenId` method,622 /// @dev `tokenId` should be obtained with `nextTokenId` method,
623 /// unlike standard, you can't specify it manually623 /// unlike standard, you can't specify it manually
624 /// @param to The new owner624 /// @param to The new owner
1070 Ok(true)1070 Ok(true)
1071 }1071 }
10721072
1073 /// @notice Function to a mint token.1073 /// @notice Function to mint a token.
1074 /// @param to The new owner crossAccountId1074 /// @param to The new owner crossAccountId
1075 /// @param properties Properties of minted token1075 /// @param properties Properties of minted token
1076 /// @return uint256 The id of the newly minted token1076 /// @return uint256 The id of the newly minted token
modifiedpallets/nonfungible/src/stubs/UniqueNFT.soldiffbeforeafterboth
783 return false;783 return false;
784 }784 }
785785
786 /// @notice Function to a mint token.786 /// @notice Function to mint a token.
787 /// @param to The new owner787 /// @param to The new owner
788 /// @return uint256 The id of the newly minted token788 /// @return uint256 The id of the newly minted token
789 /// @dev EVM selector for this function is: 0x6a627842,789 /// @dev EVM selector for this function is: 0x6a627842,
795 return 0;795 return 0;
796 }796 }
797797
798 // /// @notice Function to a mint token.798 // /// @notice Function to mint a token.
799 // /// @dev `tokenId` should be obtained with `nextTokenId` method,799 // /// @dev `tokenId` should be obtained with `nextTokenId` method,
800 // /// unlike standard, you can't specify it manually800 // /// unlike standard, you can't specify it manually
801 // /// @param to The new owner801 // /// @param to The new owner
1040 // return false;1040 // return false;
1041 // }1041 // }
10421042
1043 /// @notice Function to a mint token.1043 /// @notice Function to mint a token.
1044 /// @param to The new owner crossAccountId1044 /// @param to The new owner crossAccountId
1045 /// @param properties Properties of minted token1045 /// @param properties Properties of minted token
1046 /// @return uint256 The id of the newly minted token1046 /// @return uint256 The id of the newly minted token
modifiedpallets/refungible/src/erc.rsdiffbeforeafterboth
637 Ok(false)637 Ok(false)
638 }638 }
639639
640 /// @notice Function to a mint token.640 /// @notice Function to mint a token.
641 /// @param to The new owner641 /// @param to The new owner
642 /// @return uint256 The id of the newly minted token642 /// @return uint256 The id of the newly minted token
643 #[weight(<SelfWeightOf<T>>::create_item())]643 #[weight(<SelfWeightOf<T>>::create_item())]
650 Ok(token_id)650 Ok(token_id)
651 }651 }
652652
653 /// @notice Function to a mint token.653 /// @notice Function to mint a token.
654 /// @dev `tokenId` should be obtained with `nextTokenId` method,654 /// @dev `tokenId` should be obtained with `nextTokenId` method,
655 /// unlike standard, you can't specify it manually655 /// unlike standard, you can't specify it manually
656 /// @param to The new owner656 /// @param to The new owner
1120 Ok(true)1120 Ok(true)
1121 }1121 }
11221122
1123 /// @notice Function to a mint token.1123 /// @notice Function to mint a token.
1124 /// @param to The new owner crossAccountId1124 /// @param to The new owner crossAccountId
1125 /// @param properties Properties of minted token1125 /// @param properties Properties of minted token
1126 /// @return uint256 The id of the newly minted token1126 /// @return uint256 The id of the newly minted token
modifiedpallets/refungible/src/stubs/UniqueRefungible.soldiffbeforeafterboth
779 return false;779 return false;
780 }780 }
781781
782 /// @notice Function to a mint token.782 /// @notice Function to mint a token.
783 /// @param to The new owner783 /// @param to The new owner
784 /// @return uint256 The id of the newly minted token784 /// @return uint256 The id of the newly minted token
785 /// @dev EVM selector for this function is: 0x6a627842,785 /// @dev EVM selector for this function is: 0x6a627842,
791 return 0;791 return 0;
792 }792 }
793793
794 // /// @notice Function to a mint token.794 // /// @notice Function to mint a token.
795 // /// @dev `tokenId` should be obtained with `nextTokenId` method,795 // /// @dev `tokenId` should be obtained with `nextTokenId` method,
796 // /// unlike standard, you can't specify it manually796 // /// unlike standard, you can't specify it manually
797 // /// @param to The new owner797 // /// @param to The new owner
1025 // return false;1025 // return false;
1026 // }1026 // }
10271027
1028 /// @notice Function to a mint token.1028 /// @notice Function to mint a token.
1029 /// @param to The new owner crossAccountId1029 /// @param to The new owner crossAccountId
1030 /// @param properties Properties of minted token1030 /// @param properties Properties of minted token
1031 /// @return uint256 The id of the newly minted token1031 /// @return uint256 The id of the newly minted token
modifiedtests/src/eth/api/UniqueNFT.soldiffbeforeafterboth
551 /// or in textual repr: mintingFinished()551 /// or in textual repr: mintingFinished()
552 function mintingFinished() external view returns (bool);552 function mintingFinished() external view returns (bool);
553553
554 /// @notice Function to a mint token.554 /// @notice Function to mint a token.
555 /// @param to The new owner555 /// @param to The new owner
556 /// @return uint256 The id of the newly minted token556 /// @return uint256 The id of the newly minted token
557 /// @dev EVM selector for this function is: 0x6a627842,557 /// @dev EVM selector for this function is: 0x6a627842,
558 /// or in textual repr: mint(address)558 /// or in textual repr: mint(address)
559 function mint(address to) external returns (uint256);559 function mint(address to) external returns (uint256);
560560
561 // /// @notice Function to a mint token.561 // /// @notice Function to mint a token.
562 // /// @dev `tokenId` should be obtained with `nextTokenId` method,562 // /// @dev `tokenId` should be obtained with `nextTokenId` method,
563 // /// unlike standard, you can't specify it manually563 // /// unlike standard, you can't specify it manually
564 // /// @param to The new owner564 // /// @param to The new owner
710 // /// or in textual repr: mintBulkWithTokenURI(address,(uint256,string)[])710 // /// or in textual repr: mintBulkWithTokenURI(address,(uint256,string)[])
711 // function mintBulkWithTokenURI(address to, Tuple13[] memory tokens) external returns (bool);711 // function mintBulkWithTokenURI(address to, Tuple13[] memory tokens) external returns (bool);
712712
713 /// @notice Function to a mint token.713 /// @notice Function to mint a token.
714 /// @param to The new owner crossAccountId714 /// @param to The new owner crossAccountId
715 /// @param properties Properties of minted token715 /// @param properties Properties of minted token
716 /// @return uint256 The id of the newly minted token716 /// @return uint256 The id of the newly minted token
modifiedtests/src/eth/api/UniqueRefungible.soldiffbeforeafterboth
549 /// or in textual repr: mintingFinished()549 /// or in textual repr: mintingFinished()
550 function mintingFinished() external view returns (bool);550 function mintingFinished() external view returns (bool);
551551
552 /// @notice Function to a mint token.552 /// @notice Function to mint a token.
553 /// @param to The new owner553 /// @param to The new owner
554 /// @return uint256 The id of the newly minted token554 /// @return uint256 The id of the newly minted token
555 /// @dev EVM selector for this function is: 0x6a627842,555 /// @dev EVM selector for this function is: 0x6a627842,
556 /// or in textual repr: mint(address)556 /// or in textual repr: mint(address)
557 function mint(address to) external returns (uint256);557 function mint(address to) external returns (uint256);
558558
559 // /// @notice Function to a mint token.559 // /// @notice Function to mint a token.
560 // /// @dev `tokenId` should be obtained with `nextTokenId` method,560 // /// @dev `tokenId` should be obtained with `nextTokenId` method,
561 // /// unlike standard, you can't specify it manually561 // /// unlike standard, you can't specify it manually
562 // /// @param to The new owner562 // /// @param to The new owner
702 // /// or in textual repr: mintBulkWithTokenURI(address,(uint256,string)[])702 // /// or in textual repr: mintBulkWithTokenURI(address,(uint256,string)[])
703 // function mintBulkWithTokenURI(address to, Tuple12[] memory tokens) external returns (bool);703 // function mintBulkWithTokenURI(address to, Tuple12[] memory tokens) external returns (bool);
704704
705 /// @notice Function to a mint token.705 /// @notice Function to mint a token.
706 /// @param to The new owner crossAccountId706 /// @param to The new owner crossAccountId
707 /// @param properties Properties of minted token707 /// @param properties Properties of minted token
708 /// @return uint256 The id of the newly minted token708 /// @return uint256 The id of the newly minted token