Support compiling with solc 0.7 (#2408)
This commit is contained in:
committed by
GitHub
parent
21344b91ed
commit
90ed1af972
@ -1,6 +1,6 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
pragma solidity ^0.6.0;
|
||||
pragma solidity >=0.6.0 <0.8.0;
|
||||
|
||||
import "./Escrow.sol";
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
pragma solidity ^0.6.0;
|
||||
pragma solidity >=0.6.0 <0.8.0;
|
||||
|
||||
import "../../math/SafeMath.sol";
|
||||
import "../../access/Ownable.sol";
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
pragma solidity ^0.6.0;
|
||||
pragma solidity >=0.6.0 <0.8.0;
|
||||
|
||||
import "./ConditionalEscrow.sol";
|
||||
|
||||
@ -25,11 +25,11 @@ contract RefundEscrow is ConditionalEscrow {
|
||||
|
||||
/**
|
||||
* @dev Constructor.
|
||||
* @param beneficiary The beneficiary of the deposits.
|
||||
* @param beneficiary_ The beneficiary of the deposits.
|
||||
*/
|
||||
constructor (address payable beneficiary) public {
|
||||
require(beneficiary != address(0), "RefundEscrow: beneficiary is the zero address");
|
||||
_beneficiary = beneficiary;
|
||||
constructor (address payable beneficiary_) public {
|
||||
require(beneficiary_ != address(0), "RefundEscrow: beneficiary is the zero address");
|
||||
_beneficiary = beneficiary_;
|
||||
_state = State.Active;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user