2022-03-22 14:55:14 +00:00
|
|
|
//SPDX-License-Identifier: MIT
|
2021-10-04 17:30:09 +00:00
|
|
|
pragma solidity ^0.7.0;
|
2022-06-15 09:14:49 +00:00
|
|
|
pragma abicoder v2;
|
2021-10-04 17:30:09 +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);
|
|
|
|
}
|
|
|
|
|
|
|
|
interface MemoryInterface {
|
|
|
|
function getUint(uint id) external returns (uint num);
|
|
|
|
function setUint(uint id, uint val) external;
|
|
|
|
}
|
|
|
|
|
|
|
|
interface AccountInterface {
|
|
|
|
function enable(address) external;
|
|
|
|
function disable(address) external;
|
|
|
|
function isAuth(address) external view returns (bool);
|
|
|
|
}
|
2022-06-04 19:04:58 +00:00
|
|
|
|
|
|
|
interface InstaConnectors {
|
2022-06-15 09:14:49 +00:00
|
|
|
function isConnectors(string[] calldata) external returns (bool, address[] memory);
|
2022-06-04 19:04:58 +00:00
|
|
|
}
|