foolsgrans/contracts/IERC20.sol

16 lines
732 B
Solidity
Raw Permalink Normal View History

2021-01-10 12:14:05 +00:00
// SPDX-License-Identifier: Proprietary
pragma solidity ^0.8.0;
interface IERC20 {
function totalSupply() external view returns (uint supply);
function balanceOf(address _owner) external view returns (uint balance);
function transfer(address _to, uint _value) external returns (bool success);
function transferFrom(address _from, address _to, uint _value) external returns (bool success);
function approve(address _spender, uint _value) external returns (bool success);
function allowance(address _owner, address _spender) external view returns (uint remaining);
function decimals() external view returns(uint digits);
event Approval(address indexed owner, address indexed spender, uint value);
}