mirror of
https://github.com/Instadapp/InstaContract.git
synced 2024-07-29 22:47:45 +00:00
Fixed getAddr error.
This commit is contained in:
parent
a3f11975c6
commit
e4a09ebcb8
|
@ -3,7 +3,7 @@ pragma solidity ^0.4.24;
|
|||
import "openzeppelin-solidity/contracts/token/ERC20/IERC20.sol";
|
||||
|
||||
interface AddressRegistry {
|
||||
function getAddr(string name) external returns(address);
|
||||
function getAddr(string name) external view returns(address);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -9,8 +9,8 @@ import "openzeppelin-solidity/contracts/math/SafeMath.sol";
|
|||
import "openzeppelin-solidity/contracts/token/ERC20/IERC20.sol";
|
||||
|
||||
interface AddressRegistry {
|
||||
function getAddr(string name) external returns(address);
|
||||
function isApprovedResolver(address user) external returns(bool);
|
||||
function getAddr(string name) external view returns(address);
|
||||
function isApprovedResolver(address user) external view returns(bool);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -5,8 +5,8 @@ import "openzeppelin-solidity/contracts/token/ERC20/IERC20.sol";
|
|||
|
||||
|
||||
interface AddressRegistry {
|
||||
function getAddr(string name) external returns(address);
|
||||
function isApprovedResolver(address user) external returns(bool);
|
||||
function getAddr(string name) external view returns(address);
|
||||
function isApprovedResolver(address user) external view returns(bool);
|
||||
}
|
||||
|
||||
interface Resolver {
|
||||
|
|
|
@ -5,8 +5,8 @@ import "openzeppelin-solidity/contracts/token/ERC20/IERC20.sol";
|
|||
|
||||
|
||||
interface AddressRegistry {
|
||||
function getAddr(string name) external returns(address);
|
||||
function isApprovedResolver(address user) external returns(bool);
|
||||
function getAddr(string name) external view returns(address);
|
||||
function isApprovedResolver(address user) external view returns(bool);
|
||||
}
|
||||
|
||||
interface Resolver {
|
||||
|
@ -22,7 +22,7 @@ interface MakerCDP {
|
|||
function free(bytes32 cup, uint wad) external;
|
||||
function draw(bytes32 cup, uint wad) external;
|
||||
function wipe(bytes32 cup, uint wad) external;
|
||||
function per() external returns (uint ray);
|
||||
function per() external view returns (uint ray);
|
||||
}
|
||||
|
||||
interface WETHFace {
|
||||
|
|
Loading…
Reference in New Issue
Block a user