Fix TBTCSystemStub.setup (bad git- iquette)
@@ -3,7 +3,7 @@ pragma solidity 0.4.25;
import {ITBTCSystem} from "./ITBTCSystem.sol";
import {IERC721} from "./IERC721.sol";
import {IUniswapFactory} from "../uniswap/IUniswapFactory.sol";
-import {TBTCToken} from "../tokens/TBTC.sol";
+import {TBTC} from "../tokens/TBTC.sol";
contract TBTCSystemStub is ITBTCSystem, IERC721 {
@@ -11,13 +11,16 @@ contract TBTCSystemStub is ITBTCSystem, IERC721 {
uint256 previousDifficulty = 1;
uint256 oraclePrice = 10 ** 12;
address depositOwner = address(0);
- UniswapFactoryInterface uniswapFactory;
- TBTCToken tbtc;
+ IUniswapFactory uniswapFactory;
+ TBTC tbtc;
- function setup(address _uniswapFactory, address _tbtc) external {
+ function setup(
+ address _uniswapFactory,
+ address _tbtc
+ ) external {
uniswapFactory = IUniswapFactory(_uniswapFactory);
- tbtc = TBTCToken(_tbtc);
- uniswapFactory.createExchange(tbtc);
+ tbtc = TBTC(_tbtc);
+ uniswapFactory.createExchange(_tbtc);
}
function getUniswapExchangeFactory() external view returns (address) {
