generated from storyprotocol/solidity-template
-
Notifications
You must be signed in to change notification settings - Fork 10
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
Raul
committed
Nov 14, 2023
1 parent
95676b7
commit a07ce3f
Showing
4 changed files
with
87 additions
and
34 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,16 @@ | ||
// SPDX-License-Identifier: BUSL-1.1 | ||
pragma solidity ^0.8.19; | ||
|
||
/// List of Licensing Term categories | ||
library TermCategories { | ||
string constant FORMAT_CATEGORIES = "FORMAT_CATEGORIES"; | ||
string constant SHARE_ALIKE = "SHARE_ALIKE"; | ||
} | ||
|
||
/// List of Protocol Term Ids (meaning the Licensing Module will have specific instructions | ||
/// for these terms without the need of a decoder) | ||
/// @dev must be < 32 bytes long, or they will blow up at some point | ||
/// see https://docs.openzeppelin.com/contracts/4.x/api/utils#ShortStrings | ||
library TermIds { | ||
string constant NFT_SHARE_ALIKE = "NFT_SHARE_ALIKE"; | ||
} | ||
|
||
library TermData { | ||
struct NftShareAlike { | ||
bool enabled; | ||
} | ||
} |
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