mirror of
https://github.com/Instadapp/dsa-connectors-old.git
synced 2024-07-29 22:47:46 +00:00
fixing compile errors;
This commit is contained in:
parent
4f71c7aa16
commit
8ce92dcb1d
|
@ -74,7 +74,7 @@ contract OneHelpers is Stores, DSMath {
|
|||
/**
|
||||
* @dev Return 1proto Address
|
||||
*/
|
||||
function getOneProtoAddress() internal view returns (address payable) {
|
||||
function getOneProtoAddress() internal virtual view returns (address payable) {
|
||||
return payable(OneProtoMappingInterface(getOneProtoMappingAddress()).oneProtoAddress());
|
||||
}
|
||||
|
||||
|
@ -642,4 +642,4 @@ contract OneInch is OneProto {
|
|||
|
||||
contract ConnectOne is OneInch {
|
||||
string public name = "1inch-1proto-v1";
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
pragma solidity ^0.6.0;
|
||||
pragma experimental ABIEncoderV2;
|
||||
|
||||
import { ConnectOne } from "../connectors/1proto.sol";
|
||||
import { ConnectOne } from "../connectors/1inch.sol";
|
||||
|
||||
contract MockConnectOne is ConnectOne {
|
||||
address public oneProtoAddr;
|
||||
|
|
Loading…
Reference in New Issue
Block a user