mirror of
https://github.com/Instadapp/dsa-resolvers-deprecated.git
synced 2024-07-29 22:38:16 +00:00
minor changes in dydx Resolver
This commit is contained in:
parent
eb3eb30fb2
commit
1289707a61
|
@ -15,13 +15,13 @@ interface ERC20Interface {
|
||||||
interface SoloMarginContract {
|
interface SoloMarginContract {
|
||||||
|
|
||||||
struct Info {
|
struct Info {
|
||||||
address owner; // The address that owns the account
|
address owner;
|
||||||
uint256 number; // A nonce that allows a single address to control many accounts
|
uint256 number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
struct Wei {
|
struct Wei {
|
||||||
bool sign; // true if positive
|
bool sign;
|
||||||
uint256 value;
|
uint256 value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -46,11 +46,6 @@ interface SoloMarginContract {
|
||||||
function getMarketCurrentIndex(uint256 marketId) external view returns (Index memory);
|
function getMarketCurrentIndex(uint256 marketId) external view returns (Index memory);
|
||||||
}
|
}
|
||||||
|
|
||||||
interface RegistryInterface {
|
|
||||||
function proxies(address owner) external view returns (address);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
contract DSMath {
|
contract DSMath {
|
||||||
|
|
||||||
function add(uint x, uint y) internal pure returns (uint z) {
|
function add(uint x, uint y) internal pure returns (uint z) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user