From 1289707a61f4fcb9ec183488079b8b7badd0f1db Mon Sep 17 00:00:00 2001 From: Thrilok Kumar Date: Thu, 21 May 2020 16:20:24 +0530 Subject: [PATCH] minor changes in dydx Resolver --- contracts/protocols/dydx.sol | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/contracts/protocols/dydx.sol b/contracts/protocols/dydx.sol index fd96dd8..fbf8243 100644 --- a/contracts/protocols/dydx.sol +++ b/contracts/protocols/dydx.sol @@ -15,13 +15,13 @@ interface ERC20Interface { interface SoloMarginContract { struct Info { - address owner; // The address that owns the account - uint256 number; // A nonce that allows a single address to control many accounts + address owner; + uint256 number; } struct Wei { - bool sign; // true if positive + bool sign; uint256 value; } @@ -46,11 +46,6 @@ interface SoloMarginContract { function getMarketCurrentIndex(uint256 marketId) external view returns (Index memory); } -interface RegistryInterface { - function proxies(address owner) external view returns (address); -} - - contract DSMath { function add(uint x, uint y) internal pure returns (uint z) {