2021-02-07 15:31:36 +00:00
|
|
|
pragma solidity ^0.7.0;
|
2020-11-20 14:49:48 +00:00
|
|
|
|
|
|
|
interface TokenInterface {
|
|
|
|
function approve(address, uint256) external;
|
|
|
|
function transfer(address, uint) external;
|
|
|
|
function transferFrom(address, address, uint) external;
|
|
|
|
function deposit() external payable;
|
|
|
|
function withdraw(uint) external;
|
|
|
|
function balanceOf(address) external view returns (uint);
|
|
|
|
function decimals() external view returns (uint);
|
2021-10-22 14:29:32 +00:00
|
|
|
function totalSupply() external view returns (uint);
|
2020-11-20 14:49:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
interface MemoryInterface {
|
|
|
|
function getUint(uint id) external returns (uint num);
|
|
|
|
function setUint(uint id, uint val) external;
|
|
|
|
}
|
|
|
|
|
2021-02-05 17:07:07 +00:00
|
|
|
interface InstaMapping {
|
|
|
|
function cTokenMapping(address) external view returns (address);
|
2021-02-13 12:07:32 +00:00
|
|
|
function gemJoinMapping(bytes32) external view returns (address);
|
2021-02-08 14:58:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
interface AccountInterface {
|
|
|
|
function enable(address) external;
|
|
|
|
function disable(address) external;
|
|
|
|
function isAuth(address) external view returns (bool);
|
|
|
|
}
|