-
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
4eac692
commit d6147b9
Showing
8 changed files
with
826 additions
and
27 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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 {Animal, ERC721ACQueryable, IERC721A} from "./Animal.sol"; | ||
|
||
/** | ||
* @title AnimalRoyalties | ||
*/ | ||
contract AnimalRoyalties is Animal, 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 | ||
) | ||
Animal( | ||
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); | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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,9 @@ | ||
[ | ||
{ | ||
"price": "0.00", | ||
"walletLimit": 100, | ||
"startDate": "2024-02-25T08:45:00.000Z", | ||
"endDate": "2024-12-20T00:00:01.000Z", | ||
"variableLimitPath": "/Users/channingmao/Documents/MagicEden/magiceden-oss/erc721m/variableWalletLimit.txt" | ||
} | ||
] |
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,2 @@ | ||
0xef59F379B48f2E92aBD94ADcBf714D170967925D, 99 | ||
0x9aE2DF1709FF8BccFc3B24623f84f7d919cb0a71, 12 |