mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
45 lines
1.6 KiB
Solidity
45 lines
1.6 KiB
Solidity
// SPDX-License-Identifier: MIT
|
|
pragma solidity ^0.7.0;
|
|
|
|
import { TokenInterface } from "../../common/interfaces.sol";
|
|
|
|
interface ManagerLike {
|
|
function cdpCan(address, uint, address) external view returns (uint);
|
|
function ilks(uint) external view returns (bytes32);
|
|
function last(address) external view returns (uint);
|
|
function count(address) external view returns (uint);
|
|
function owns(uint) external view returns (address);
|
|
function urns(uint) external view returns (address);
|
|
function vat() external view returns (address);
|
|
function open(bytes32, address) external returns (uint);
|
|
function give(uint, address) external;
|
|
function frob(uint, int, int) external;
|
|
function flux(uint, address, uint) external;
|
|
function move(uint, address, uint) external;
|
|
}
|
|
|
|
interface VatLike {
|
|
function can(address, address) external view returns (uint);
|
|
function ilks(bytes32) external view returns (uint, uint, uint, uint, uint);
|
|
function dai(address) external view returns (uint);
|
|
function urns(bytes32, address) external view returns (uint, uint);
|
|
function frob(
|
|
bytes32,
|
|
address,
|
|
address,
|
|
address,
|
|
int,
|
|
int
|
|
) external;
|
|
function hope(address) external;
|
|
function move(address, address, uint) external;
|
|
function gem(bytes32, address) external view returns (uint);
|
|
}
|
|
|
|
interface IAvoFactory {
|
|
function computeAddress(address owner_) external view returns (address);
|
|
}
|
|
|
|
interface IAvoCreditManagerAddress {
|
|
function dsaMakerImport(uint256 vaultId_, address avoSafe_, address auth_) external;
|
|
} |