-
Notifications
You must be signed in to change notification settings - Fork 23
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
3 changed files
with
18 additions
and
11 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
15 changes: 15 additions & 0 deletions
15
contracts/interfaces/draft-IERC1404/draft-IERC1404EnumCode.sol
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,15 @@ | ||
//SPDX-License-Identifier: MPL-2.0 | ||
|
||
pragma solidity ^0.8.0; | ||
|
||
interface IERC1404EnumCode { | ||
/* | ||
* @dev leave the code 4-9 free/unused for further additions in your ruleEngine implementation | ||
*/ | ||
enum REJECTED_CODE_BASE { | ||
TRANSFER_OK, | ||
TRANSFER_REJECTED_PAUSED, | ||
TRANSFER_REJECTED_FROM_FROZEN, | ||
TRANSFER_REJECTED_TO_FROZEN | ||
} | ||
} |
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