From 595ed33d02fdffa8b39edbe67c77bfa875453f82 Mon Sep 17 00:00:00 2001 From: Facu Spagnuolo Date: Thu, 23 Jul 2020 10:50:57 -0300 Subject: [PATCH] Disputable: Add `setAgreement` to IKernel interface --- contracts/kernel/IKernel.sol | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/contracts/kernel/IKernel.sol b/contracts/kernel/IKernel.sol index 1686e7711..858538f37 100644 --- a/contracts/kernel/IKernel.sol +++ b/contracts/kernel/IKernel.sol @@ -6,6 +6,8 @@ pragma solidity ^0.4.24; import "../acl/IACL.sol"; import "../common/IVaultRecoverable.sol"; +import "../apps/disputable/IAgreement.sol"; +import "../apps/disputable/IDisputable.sol"; interface IKernelEvents { @@ -15,6 +17,8 @@ interface IKernelEvents { // This should be an interface, but interfaces can't inherit yet :( contract IKernel is IKernelEvents, IVaultRecoverable { + function setAgreement(IDisputable _disputableApp, IAgreement _agreement) external; + function acl() public view returns (IACL); function hasPermission(address who, address where, bytes32 what, bytes how) public view returns (bool);