-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dfbec62
commit b4a9b46
Showing
12 changed files
with
392 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
//SPDX-License-Identifier: MIT | ||
|
||
pragma solidity ^0.8.4; | ||
|
||
import {ERC2981, UpdatableRoyalties} from "./royalties/UpdatableRoyalties.sol"; | ||
import {ERC721CM, ERC721ACQueryable, IERC721A} from "./ERC721CM.sol"; | ||
|
||
/** | ||
* @title ERC721CMRoyalties | ||
*/ | ||
contract ERC721CMRoyalties is ERC721CM, UpdatableRoyalties { | ||
constructor( | ||
string memory collectionName, | ||
string memory collectionSymbol, | ||
string memory tokenURISuffix, | ||
uint256 maxMintableSupply, | ||
uint256 globalWalletLimit, | ||
address cosigner, | ||
uint64 timestampExpirySeconds, | ||
address mintCurrency, | ||
address royaltyReceiver, | ||
uint96 royaltyFeeNumerator | ||
) | ||
ERC721CM( | ||
collectionName, | ||
collectionSymbol, | ||
tokenURISuffix, | ||
maxMintableSupply, | ||
globalWalletLimit, | ||
cosigner, | ||
timestampExpirySeconds, | ||
mintCurrency | ||
) | ||
UpdatableRoyalties(royaltyReceiver, royaltyFeeNumerator) | ||
{} | ||
|
||
function supportsInterface(bytes4 interfaceId) | ||
public | ||
view | ||
virtual | ||
override(ERC2981, ERC721ACQueryable, IERC721A) | ||
returns (bool) | ||
{ | ||
return super.supportsInterface(interfaceId); | ||
} | ||
} |
Oops, something went wrong.