You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
415 B
18 lines
415 B
pragma solidity ^0.4.24;
|
|
|
|
|
|
import "../payment/ConditionalEscrow.sol";
|
|
|
|
|
|
// mock class using ConditionalEscrow
|
|
contract ConditionalEscrowMock is ConditionalEscrow {
|
|
mapping(address => bool) public allowed;
|
|
|
|
function setAllowed(address _payee, bool _allowed) public {
|
|
allowed[_payee] = _allowed;
|
|
}
|
|
|
|
function withdrawalAllowed(address _payee) public view returns (bool) {
|
|
return allowed[_payee];
|
|
}
|
|
}
|
|
|