mirror of
https://github.com/Instadapp/dsa-connectors-old.git
synced 2024-07-29 22:47:46 +00:00
fixing library import error;
passing test by removing the getSnxAddr in mockSynthetix;
This commit is contained in:
parent
193b57b05c
commit
359b6adf36
|
@ -1,8 +1,8 @@
|
|||
pragma solidity ^0.6.0;
|
||||
pragma experimental ABIEncoderV2;
|
||||
|
||||
import { SafeERC20 } from "../../node_modules/@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
|
||||
import { IERC20 } from "../../node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol";
|
||||
import { SafeERC20 } from "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
|
||||
import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
|
||||
|
||||
interface LiqudityInterface {
|
||||
function deposit(address, uint) external payable;
|
||||
|
|
|
@ -14,10 +14,6 @@ contract MockSynthetixStaking is ConnectSynthetixStaking{
|
|||
|
||||
function emitEvent(bytes32 eventCode, bytes memory eventData) override internal {}
|
||||
|
||||
function getSnxAddr() override internal view returns (address) {
|
||||
return synthetixStakingAddr;
|
||||
}
|
||||
|
||||
function getMappingAddr() override internal view returns (address) {
|
||||
return instaMappingAddr;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user