@@ -18,7 +18,7 @@ pragma solidity ^0.4.11;
18
18
*/
19
19
20
20
import "./ILiquidPledgingPlugin.sol " ;
21
- import "../node_modules/ giveth-common-contracts/contracts/Owned .sol " ;
21
+ import "giveth-common-contracts/contracts/Escapable .sol " ;
22
22
23
23
/// @dev `LPVault` serves as an interface to allow the `LiquidPledgingBase`
24
24
/// contract to interface with a `LPVault` contract
@@ -30,7 +30,7 @@ contract LPVault {
30
30
/// @dev `LiquidPledgingBase` is the base level contract used to carry out
31
31
/// liquid pledging's most basic functions, mostly handling and searching the
32
32
/// data structures
33
- contract LiquidPledgingBase is Owned {
33
+ contract LiquidPledgingBase is Escapable {
34
34
35
35
// Limits inserted to prevent large loops that could prevent canceling
36
36
uint constant MAX_DELEGATES = 20 ;
@@ -97,7 +97,11 @@ contract LiquidPledgingBase is Owned {
97
97
98
98
/// @notice The Constructor creates `LiquidPledgingBase` on the blockchain
99
99
/// @param _vault The vault where the ETH backing the pledges is stored
100
- function LiquidPledgingBase (address _vault ) {
100
+ function LiquidPledgingBase (
101
+ address _vault ,
102
+ address _escapeHatchCaller ,
103
+ address _escapeHatchDestination
104
+ ) Escapable (_escapeHatchCaller, _escapeHatchDestination) public {
101
105
admins.length = 1 ; // we reserve the 0 admin
102
106
pledges.length = 1 ; // we reserve the 0 pledge
103
107
vault = LPVault (_vault); // Assigns the specified vault
0 commit comments