Skip to content

Commit

Permalink
import index and set contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
ncitron committed Oct 19, 2021
1 parent 281e322 commit 8ddece7
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 27 deletions.
5 changes: 4 additions & 1 deletion remappings.txt
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
ds-test/=lib/ds-test/src/
ds-test/=lib/ds-test/src/
indexcoop/=lib/index-coop-smart-contracts/
setprotocol/=lib/set-protocol-v2/
@openzeppelin/=lib/openzeppelin-contracts/
8 changes: 0 additions & 8 deletions src/IndexCoopSymbolicExecution.sol

This file was deleted.

18 changes: 0 additions & 18 deletions src/IndexCoopSymbolicExecution.t.sol

This file was deleted.

22 changes: 22 additions & 0 deletions src/IntrinsicProdRebalancing.t.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity 0.6.10;

import "ds-test/test.sol";

import { BaseManagerV2 } from "indexcoop/contracts/manager/BaseManagerV2.sol";
import { ISetToken as ISetTokenSet } from "setprotocol/contracts/interfaces/ISetToken.sol";
import { ISetToken as ISetTokenIndex } from "indexcoop/contracts/interfaces/ISetToken.sol";

contract IntrinsicProdRebalancing is DSTest {

BaseManagerV2 baseManager;

function setUp() public {
baseManager = new BaseManagerV2(ISetTokenIndex(0x1), address(0x2), address(0x3));
}

function test_baseMananager() public {
assertEq(baseManager.getExtensions().length, 0);
}

}

0 comments on commit 8ddece7

Please sign in to comment.