Renamed IVault to IZrxVault
This commit is contained in:
@@ -20,7 +20,6 @@ pragma solidity ^0.5.5;
|
||||
|
||||
import "../libs/LibSafeMath.sol";
|
||||
import "../libs/LibFeeMath.sol";
|
||||
import "../interfaces/IVault.sol";
|
||||
import "../immutable/MixinStorage.sol";
|
||||
import "../immutable/MixinConstants.sol";
|
||||
import "../interfaces/IStakingEvents.sol";
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
pragma solidity ^0.5.5;
|
||||
|
||||
import "../interfaces/IVault.sol";
|
||||
import "../interfaces/IZrxVault.sol";
|
||||
import "../immutable/MixinStorage.sol";
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ contract MixinZrxVault is
|
||||
external
|
||||
// onlyOwner
|
||||
{
|
||||
zrxVault = IVault(_zrxVault);
|
||||
zrxVault = IZrxVault(_zrxVault);
|
||||
}
|
||||
|
||||
function getZrxVault()
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
pragma solidity ^0.5.5;
|
||||
|
||||
import "../interfaces/IVault.sol";
|
||||
import "../interfaces/IZrxVault.sol";
|
||||
import "../interfaces/IRewardVault.sol";
|
||||
import "./MixinConstants.sol";
|
||||
import "../interfaces/IStructs.sol";
|
||||
@@ -100,17 +100,8 @@ contract MixinStorage is
|
||||
// registrered 0x exchanges
|
||||
mapping (address => bool) validExchanges;
|
||||
|
||||
|
||||
/*
|
||||
// mapping from Owner to Pool Id to Amount Delegated
|
||||
mapping (address => mapping (bytes32 => uint256)) shadowDelegatedStakeToPoolByOwner;
|
||||
|
||||
// mapping from Pool Id to Amount Delegated
|
||||
mapping (bytes32 => uint256) shadowDelegatedStakeByPoolId;
|
||||
*/
|
||||
|
||||
// ZRX vault
|
||||
IVault zrxVault;
|
||||
IZrxVault zrxVault;
|
||||
|
||||
// Rebate Vault
|
||||
IRewardVault rewardVault;
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
pragma solidity ^0.5.5;
|
||||
|
||||
|
||||
interface IVault {
|
||||
interface IZrxVault {
|
||||
|
||||
function depositFrom(address owner, uint256 amount) external;
|
||||
function withdrawFrom(address owner, uint256 amount) external;
|
||||
@@ -18,7 +18,6 @@
|
||||
|
||||
pragma solidity ^0.5.5;
|
||||
|
||||
import "../interfaces/IVault.sol";
|
||||
import "../libs/LibSafeMath.sol";
|
||||
import "../libs/LibSafeMath96Bit.sol";
|
||||
import "./MixinVaultCore.sol";
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
pragma solidity ^0.5.5;
|
||||
|
||||
import "../interfaces/IVault.sol";
|
||||
import "../interfaces/IZrxVault.sol";
|
||||
import "../interfaces/IAssetProxy.sol";
|
||||
import "@0x/contracts-utils/contracts/src/SafeMath.sol";
|
||||
import "@0x/contracts-erc20/contracts/src/interfaces/IERC20Token.sol";
|
||||
@@ -26,7 +26,7 @@ import "./MixinVaultCore.sol";
|
||||
|
||||
|
||||
contract ZrxVault is
|
||||
IVault,
|
||||
IZrxVault,
|
||||
SafeMath,
|
||||
MixinVaultCore
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user