This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
pragma solidity >=0.8.0; | |
interface IERC20{ | |
event Transfer(address indexed from,address indexed to,uint256 value); | |
event Approval(address indexed owner,address indexed spender,uint256 value); | |
function totalSupply() external view returns(uint256); | |
function balanceOf(address account) external view returns(uint256); | |
function transfer(address to,uint256 value) external returns(bool); | |
function allowance(address owner,address spender) external view returns(uint256); | |
function approve(address spender,uint256 value) external returns(bool); |