Skip to content

Commit

Permalink
Switch contracts that are compiled alone back to the main contracts/m…
Browse files Browse the repository at this point in the history
…odules folder
  • Loading branch information
elenadimitrova committed Nov 9, 2020
1 parent f961477 commit 9f7f4f4
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
pragma solidity ^0.6.12;
pragma experimental ABIEncoderV2;

import "../common/Utils.sol";
import "../common/LimitUtils.sol";
import "../common/BaseTransfer.sol";
import "../../infrastructure/storage/ILimitStorage.sol";
import "../../infrastructure/storage/IGuardianStorage.sol";
import "./common/Utils.sol";
import "./common/LimitUtils.sol";
import "./common/BaseTransfer.sol";
import "../infrastructure/storage/ILimitStorage.sol";
import "../infrastructure/storage/IGuardianStorage.sol";

/**
* @title ApprovedTransfer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
pragma solidity ^0.6.12;
pragma experimental ABIEncoderV2;

import "../common/Utils.sol";
import "../common/BaseFeature.sol";
import "../common/GuardianUtils.sol";
import "../common/LimitUtils.sol";
import "../../infrastructure/storage/ILimitStorage.sol";
import "../../infrastructure/ITokenPriceRegistry.sol";
import "../../infrastructure/storage/IGuardianStorage.sol";
import "./common/Utils.sol";
import "./common/BaseFeature.sol";
import "./common/GuardianUtils.sol";
import "./common/LimitUtils.sol";
import "../infrastructure/storage/ILimitStorage.sol";
import "../infrastructure/ITokenPriceRegistry.sol";
import "../infrastructure/storage/IGuardianStorage.sol";

/**
* @title RelayerManager
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
pragma solidity ^0.6.12;
pragma experimental ABIEncoderV2;

import "../common/BaseFeature.sol";
import "../../../lib/other/ERC20.sol";
import "../../../lib/paraswap/IAugustusSwapper.sol";
import "../../infrastructure/ITokenPriceRegistry.sol";
import "../../infrastructure/IDexRegistry.sol";
import "./common/BaseFeature.sol";
import "../../lib/other/ERC20.sol";
import "../../lib/paraswap/IAugustusSwapper.sol";
import "../infrastructure/ITokenPriceRegistry.sol";
import "../infrastructure/IDexRegistry.sol";

/**
* @title TokenExchanger
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
pragma solidity ^0.6.12;
pragma experimental ABIEncoderV2;

import "../common/Utils.sol";
import "../common/BaseTransfer.sol";
import "../common/LimitUtils.sol";
import "../../infrastructure/storage/ILimitStorage.sol";
import "../../infrastructure/storage/ITransferStorage.sol";
import "../../infrastructure/ITokenPriceRegistry.sol";
import "../../../lib/other/ERC20.sol";
import "./common/Utils.sol";
import "./common/BaseTransfer.sol";
import "./common/LimitUtils.sol";
import "../infrastructure/storage/ILimitStorage.sol";
import "../infrastructure/storage/ITransferStorage.sol";
import "../infrastructure/ITokenPriceRegistry.sol";
import "../../lib/other/ERC20.sol";

/**
* @title TransferManager
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"compile:infrastructure_0.5": "npx truffle compile --config truffle-config-infrastructure-0.5.js",
"compile:infrastructure_0.6": "npx truffle compile --config truffle-config-infrastructure.js",
"compile:infrastructure": "npm run compile:infrastructure_0.5 && npm run compile:infrastructure_0.6",
"compile:modules": "npx truffle compile --config truffle-config-modules.js && rm build/ApprovedTransfer.json && npx truffle compile --workingDirectory contracts/modules/ApprovedTransfer --runs=999 && rm build/RelayerManager.json && npx truffle compile --workingDirectory contracts/modules/RelayerManager --runs=999 && rm build/TransferManager.json && npx truffle compile --workingDirectory contracts/modules/TransferManager --runs=999 && rm build/TokenExchanger.json && npx truffle compile --workingDirectory contracts/modules/TokenExchanger --runs=999",
"compile:modules": "npx truffle compile --config truffle-config-modules.js && rm build/contracts/ApprovedTransfer.json && npx truffle compile --contracts_directory=./contracts/modules/ApprovedTransfer*.sol && rm build/contracts/RelayerManager.json && npx truffle compile --contracts_directory=./contracts/modules/RelayerManager*.sol && rm build/contracts/TransferManager.json && npx truffle compile --contracts_directory=./contracts/modules/TransferManager*.sol && rm build/contracts/TokenExchanger.json && npx truffle compile --contracts_directory=./contracts/modules/TokenExchanger*.sol",
"compile:wallet": "npx truffle compile --config truffle-config-wallet.js",
"compile:test": "npx truffle compile --config truffle-config-contracts-test.js",
"compile": "npm run compile:infrastructure && npm run compile:modules && npm run compile:wallet",
Expand Down

0 comments on commit 9f7f4f4

Please sign in to comment.