Skip to content

Commit 7f9f7b9

Browse files
bowdbayologicaldenviljclarke
authored
feat/cosmetic: Move Proxy Contracts around (#498)
### Description When we restructured the repo a while ago I moved the proxy contracts to the legacy folder thinking that we might not deploy named proxies in the future, and maybe upgrade to a more modern Proxy implementation, but we have continued to add the proxies inside the `legacy` folder which doesn't feel great as that folder is meant to be removed (and probably can be at this point). So in order to embrace what we're doing I propose collocating the proxy contracts to the `contracts/tokens` directory. And as an addition to that, I propose collocating all proxies with their contracts like Martin also did in the `contracts/oracles` for the new ChainlinkRelayerFactory contract and proxy. So I also moved around the proxies in `contracts/proxies`. This shouldn't really effect anything else. ### Other changes - Renamed stabletokenPSO to stabletokenPHP ### Tested Ran tests, all is well. ### Related issues N/A ### Backwards compatibility YES ### Documentation N/A --------- Co-authored-by: Bayological <[email protected]> Co-authored-by: denviljclarke <[email protected]>
1 parent 38dae01 commit 7f9f7b9

12 files changed

+10
-10
lines changed

contracts/proxies/SortedOraclesProxy.sol renamed to contracts/common/SortedOraclesProxy.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// SPDX-License-Identifier: GPL-3.0-or-later
22
pragma solidity ^0.5.13;
33

4-
import "../common/Proxy.sol";
4+
import "./Proxy.sol";
55

66
/* solhint-disable-next-line no-empty-blocks */
77
contract SortedOraclesProxy is Proxy {
File renamed without changes.
File renamed without changes.
File renamed without changes.

contracts/legacy/proxies/StableTokenBRLProxy.sol renamed to contracts/tokens/StableTokenBRLProxy.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// SPDX-License-Identifier: GPL-3.0-or-later
22
pragma solidity ^0.5.13;
33

4-
import "../../common/Proxy.sol";
4+
import "../common/Proxy.sol";
55

66
/* solhint-disable-next-line no-empty-blocks */
77
contract StableTokenBRLProxy is Proxy {

contracts/legacy/proxies/StableTokenCOPProxy.sol renamed to contracts/tokens/StableTokenCOPProxy.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// SPDX-License-Identifier: GPL-3.0-or-later
22
pragma solidity ^0.5.13;
33

4-
import "../../common/Proxy.sol";
4+
import "../common/Proxy.sol";
55

66
/* solhint-disable-next-line no-empty-blocks */
77
contract StableTokenCOPProxy is Proxy {

contracts/legacy/proxies/StableTokenEURProxy.sol renamed to contracts/tokens/StableTokenEURProxy.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// SPDX-License-Identifier: GPL-3.0-or-later
22
pragma solidity ^0.5.13;
33

4-
import "../../common/Proxy.sol";
4+
import "../common/Proxy.sol";
55

66
/* solhint-disable-next-line no-empty-blocks */
77
contract StableTokenEURProxy is Proxy {

contracts/legacy/proxies/StableTokenINRProxy.sol renamed to contracts/tokens/StableTokenINRProxy.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// SPDX-License-Identifier: GPL-3.0-or-later
22
pragma solidity ^0.5.13;
33

4-
import "../../common/Proxy.sol";
4+
import "../common/Proxy.sol";
55

66
/* solhint-disable-next-line no-empty-blocks */
77
contract StableTokenINRProxy is Proxy {

contracts/legacy/proxies/StableTokenKESProxy.sol renamed to contracts/tokens/StableTokenKESProxy.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// SPDX-License-Identifier: GPL-3.0-or-later
22
pragma solidity ^0.5.13;
33

4-
import "../../common/Proxy.sol";
4+
import "../common/Proxy.sol";
55

66
/* solhint-disable-next-line no-empty-blocks */
77
contract StableTokenKESProxy is Proxy {
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
// SPDX-License-Identifier: GPL-3.0-or-later
22
pragma solidity ^0.5.13;
33

4-
import "../../common/Proxy.sol";
4+
import "../common/Proxy.sol";
55

66
/* solhint-disable-next-line no-empty-blocks */
7-
contract StableTokenPSOProxy is Proxy {
7+
contract StableTokenPHPProxy is Proxy {
88

99
}

0 commit comments

Comments
 (0)