-
Notifications
You must be signed in to change notification settings - Fork 0
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
Showing
50 changed files
with
94 additions
and
165 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
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
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
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
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
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
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 was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,7 @@ | |
* @title AnotherCloneFactory | ||
* @author anotherblock Technical Team | ||
* @notice Contract responsible for deploying anotherblock collections | ||
* @custom:contact [email protected] | ||
* @custom:security-contact [email protected] | ||
*/ | ||
|
||
//SPDX-License-Identifier: MIT | ||
|
@@ -131,8 +131,6 @@ contract AnotherCloneFactory is AccessControlUpgradeable { | |
erc1155Impl = _erc1155Impl; | ||
royaltyImpl = _royaltyImpl; | ||
|
||
collectionCount = 0; | ||
|
||
// Initialize Access Control | ||
__AccessControl_init(); | ||
_setupRole(DEFAULT_ADMIN_ROLE, msg.sender); | ||
|
@@ -240,7 +238,7 @@ contract AnotherCloneFactory is AccessControlUpgradeable { | |
if (_account == address(0)) revert ABErrors.INVALID_PARAMETER(); | ||
|
||
// Register new publisher within the publisher registry | ||
abDataRegistry.registerPublisher(_account, address(_abRoyalty), _publisherFee); | ||
abDataRegistry.registerPublisher(_account, _abRoyalty, _publisherFee); | ||
|
||
// Grant publisher role to `_account` | ||
grantRole(PUBLISHER_ROLE, _account); | ||
|
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 |
---|---|---|
|
@@ -29,7 +29,7 @@ | |
* @title ABDataTypes | ||
* @author anotherblock Technical Team | ||
* @notice A standard library of data types used throughout anotherblock contracts | ||
* @custom:contact [email protected] | ||
* @custom:security-contact [email protected] | ||
*/ | ||
|
||
// SPDX-License-Identifier: MIT | ||
|
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 |
---|---|---|
|
@@ -29,7 +29,7 @@ | |
* @title ABErrors | ||
* @author anotherblock Technical Team | ||
* @notice A standard library of custom revert errors used throughout anotherblock contracts | ||
* @custom:contact [email protected] | ||
* @custom:security-contact [email protected] | ||
*/ | ||
|
||
// SPDX-License-Identifier: MIT | ||
|
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 |
---|---|---|
|
@@ -29,7 +29,7 @@ | |
* @title ABEvents | ||
* @author anotherblock Technical Team | ||
* @notice A standard library of events used throughout anotherblock contracts | ||
* @custom:contact [email protected] | ||
* @custom:security-contact [email protected] | ||
*/ | ||
|
||
// SPDX-License-Identifier: MIT | ||
|
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 |
---|---|---|
|
@@ -29,7 +29,7 @@ | |
* @title ABRoyalty | ||
* @author anotherblock Technical Team | ||
* @notice anotherblock contract responsible for paying out royalties | ||
* @custom:contact [email protected] | ||
* @custom:security-contact [email protected] | ||
*/ | ||
|
||
// SPDX-License-Identifier: MIT | ||
|
@@ -180,7 +180,7 @@ contract ABRoyalty is IABRoyalty, Initializable, AccessControlUpgradeable { | |
_distribute(_dropId, _amount); | ||
} | ||
|
||
/** | ||
/** | ||
* @notice | ||
* Claim the owed royalties for the given Drop IDs on behalf of the user | ||
* Only contract owner can perform this operation | ||
|
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 |
---|---|---|
|
@@ -29,7 +29,7 @@ | |
* @title IABRoyalty | ||
* @author anotherblock Technical Team | ||
* @notice ABRoyalty contract interface | ||
* @custom:contact [email protected] | ||
* @custom:security-contact [email protected] | ||
*/ | ||
|
||
// SPDX-License-Identifier: MIT | ||
|
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 |
---|---|---|
|
@@ -29,7 +29,7 @@ | |
* @title ERC1155AB | ||
* @author anotherblock Technical Team | ||
* @notice anotherblock ERC1155 contract standard | ||
* @custom:contact [email protected] | ||
* @custom:security-contact [email protected] | ||
*/ | ||
|
||
// SPDX-License-Identifier: MIT | ||
|
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 |
---|---|---|
|
@@ -29,7 +29,7 @@ | |
* @title ERC721AB | ||
* @author anotherblock Technical Team | ||
* @notice anotherblock ERC721 contract standard | ||
* @custom:contact [email protected] | ||
* @custom:security-contact [email protected] | ||
*/ | ||
|
||
// SPDX-License-Identifier: MIT | ||
|
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 |
---|---|---|
|
@@ -29,7 +29,7 @@ | |
* @title ERC721ABLE | ||
* @author anotherblock Technical Team | ||
* @notice anotherblock ERC721 contract used for regular mint mechanism & limited edition | ||
* @custom:contact [email protected] | ||
* @custom:security-contact [email protected] | ||
*/ | ||
|
||
// SPDX-License-Identifier: MIT | ||
|
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 |
---|---|---|
|
@@ -29,7 +29,7 @@ | |
* @title ERC721ABOE | ||
* @author anotherblock Technical Team | ||
* @notice anotherblock ERC721 Open Edition contract standard | ||
* @custom:contact [email protected] | ||
* @custom:security-contact [email protected] | ||
*/ | ||
|
||
// SPDX-License-Identifier: MIT | ||
|
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 |
---|---|---|
|
@@ -29,7 +29,7 @@ | |
* @title ABDataRegistry | ||
* @author anotherblock Technical Team | ||
* @notice anotherblock Data Registry contract responsible for housekeeping drops & publishers details | ||
* @custom:contact [email protected] | ||
* @custom:security-contact [email protected] | ||
*/ | ||
|
||
// SPDX-License-Identifier: MIT | ||
|
Oops, something went wrong.