-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* support solc 6 * CommonToken * lint * bunmp version * fix compilion * add websocket * NFTManager * use infra 0.1.1-rc.20 * coverage 0.7.8 * lint * license warning
- Loading branch information
1 parent
598b81c
commit 7ddecf3
Showing
71 changed files
with
2,949 additions
and
3,215 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
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 |
---|---|---|
@@ -1,15 +1,16 @@ | ||
pragma solidity ^0.5.17; | ||
pragma solidity ^0.6.10; | ||
// SPDX-License-Identifier: GPL-3.0 | ||
|
||
|
||
contract GlobalConstraintInterface { | ||
// solhint-disable-next-line indent | ||
abstract contract GlobalConstraintInterface { | ||
|
||
enum CallPhase { Pre, Post, PreAndPost } | ||
|
||
function pre( address _scheme, bytes32 _method ) public returns(bool); | ||
function post( address _scheme, bytes32 _method ) public returns(bool); | ||
function pre( address _scheme, bytes32 _method ) public virtual returns(bool); | ||
function post( address _scheme, bytes32 _method ) public virtual returns(bool); | ||
/** | ||
* @dev when return if this globalConstraints is pre, post or both. | ||
* @return CallPhase enum indication Pre, Post or PreAndPost. | ||
*/ | ||
function when() public returns(CallPhase); | ||
function when() public virtual returns(CallPhase); | ||
} |
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
Oops, something went wrong.