Transpile 2d97b6b4
This commit is contained in:
@ -24,8 +24,6 @@ import "../../proxy/utils/Initializable.sol";
|
||||
*/
|
||||
abstract contract ERC2981Upgradeable is Initializable, IERC2981Upgradeable, ERC165Upgradeable {
|
||||
function __ERC2981_init() internal onlyInitializing {
|
||||
__ERC165_init_unchained();
|
||||
__ERC2981_init_unchained();
|
||||
}
|
||||
|
||||
function __ERC2981_init_unchained() internal onlyInitializing {
|
||||
@ -117,5 +115,11 @@ abstract contract ERC2981Upgradeable is Initializable, IERC2981Upgradeable, ERC1
|
||||
function _resetTokenRoyalty(uint256 tokenId) internal virtual {
|
||||
delete _tokenRoyaltyInfo[tokenId];
|
||||
}
|
||||
|
||||
/**
|
||||
* This empty reserved space is put in place to allow future versions to add new
|
||||
* variables without shifting down storage in the inheritance chain.
|
||||
* See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
|
||||
*/
|
||||
uint256[48] private __gap;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user