-
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.
feat(Validator): adding CONTRACT_ID() to the blacklistValidator
- Loading branch information
1 parent
1c8d364
commit bce422a
Showing
8 changed files
with
72 additions
and
16 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
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,32 @@ | ||
// SPDX-License-Identifier: Apache-2.0 | ||
pragma solidity ^0.8.20; | ||
|
||
import "../IValidator.sol"; | ||
|
||
/** | ||
* @title NotAMoneriumValidator | ||
* @dev This contract is not a Monerium validator. | ||
*/ | ||
contract NotAMoneriumValidator is IValidator { | ||
bytes32 private constant ID = | ||
0x0000000000000000000000000000000000000000000000000000000000000000; | ||
|
||
/** | ||
* @dev returns the contract identifier. | ||
*/ | ||
function CONTRACT_ID() public pure returns (bytes32) { | ||
return ID; | ||
} | ||
|
||
/** | ||
* @dev Validates token transfer. | ||
* Implements IValidator interface. | ||
*/ | ||
function validate( | ||
address , | ||
address , | ||
uint256 | ||
) external returns (bool valid) {} | ||
|
||
} | ||
|
File renamed without changes.
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