View Source: contracts/interfaces/IERC2981.sol
↗ Extends: IERC165
Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
function royaltyInfo(uint256 tokenId,
returns(address receiver, uint256 royaltyAmount)