|
function royaltyInfo(uint256 _tokenId, uint256 _salePrice) external view override(IERC2981) returns (address Receiver, uint256 royaltyAmount) { |
Readability is important in reference and framework code. Formatting it with that in mind (as we did in the ERC), will be appreciated by those who evaluate it when considering adoption.
function royaltyInfo(uint256 _tokenId, uint256 _salePrice)
external
view
override(IERC2981)
returns (address Receiver, uint256 royaltyAmount) { }
Also, return values should begin with lower case receiver not Receiver.
ERC2981/contracts/ERC2981.sol
Line 49 in 010744c
Readability is important in reference and framework code. Formatting it with that in mind (as we did in the ERC), will be appreciated by those who evaluate it when considering adoption.
Also, return values should begin with lower case
receivernotReceiver.