-
Notifications
You must be signed in to change notification settings - Fork 269
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stop injecting coverage hash fn definition in interfaces (#383)
- Loading branch information
Showing
3 changed files
with
27 additions
and
7 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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
pragma solidity ^0.5.8; | ||
|
||
interface IInterface { | ||
event Assign(address indexed token, address indexed from, address indexed to, uint256 amount); | ||
event Withdraw(address indexed token, address indexed from, address indexed to, uint256 amount); | ||
|
||
// TODO: remove init from the interface, all the initialization should be outside the court | ||
function init(address _owner) external; | ||
|
||
function assign(uint _token, address _to, uint256 _amount) external; | ||
function withdraw(uint _token, address _to, uint256 _amount) external; | ||
} |
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