diff --git a/contracts/token/opensea/seadrop/ERC721ContractMetadata_NFTC.sol b/contracts/token/opensea/seadrop/ERC721ContractMetadata_NFTC.sol index df137fd..1d8af44 100644 --- a/contracts/token/opensea/seadrop/ERC721ContractMetadata_NFTC.sol +++ b/contracts/token/opensea/seadrop/ERC721ContractMetadata_NFTC.sol @@ -206,4 +206,17 @@ abstract contract ERC721ContractMetadata_NFTC is function royaltyBasisPoints() external pure returns (uint256) { return 0; } + + /** + * @dev Internal pure function to cast a `bool` value to a `uint256` value. + * + * @param b The `bool` value to cast. + * + * @return u The `uint256` value. + */ + function _cast(bool b) internal pure returns (uint256 u) { + assembly { + u := b + } + } } \ No newline at end of file diff --git a/package.json b/package.json index df3ef92..659ba35 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@nftculture/nftc-contracts", - "version": "1.5.23", + "version": "1.5.24", "description": "NFTCulture Open Source Contracts Project", "author": "@NFTCulture", "license": "MIT",