Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disputable apps: add missing pieces for transaction fees module (#586)
* Disputable apps: add missing pieces for transaction fees module * arbitration: Add IAragonCourtArbitrator * arbitration: Remove IAragonCourtArbitrator * 5.0.0-beta.1 * disputable apps: fixes after rebase on next * disputable apps: Add ITransactionFeesOracle to Agreement settings
- Loading branch information
ßingen
committed
Jun 30, 2020
1 parent
4b283dc
commit e948841
Showing
6 changed files
with
38 additions
and
12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
pragma solidity ^0.4.24; | ||
|
||
import "../token/ERC20.sol"; | ||
|
||
|
||
interface ITransactionFeesOracle { | ||
function setFee(bytes32 appId, ERC20 token, uint256 amount) external; | ||
function setFees(bytes32[] _appIds, ERC20[] _tokens, uint256[] _amounts) external; | ||
function unsetFee(bytes32 _appId) external; | ||
function unsetFees(bytes32[] _appIds) external; | ||
function getFee(bytes32 appId) external view returns (ERC20, uint256, address); | ||
} |
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