Skip to content

Instantly share code, notes, and snippets.

@this-post
Created August 14, 2021 15:43
Show Gist options
  • Save this-post/a54fe4cafd160935d3e9cf879e1dcfa8 to your computer and use it in GitHub Desktop.
Save this-post/a54fe4cafd160935d3e9cf879e1dcfa8 to your computer and use it in GitHub Desktop.
pragma solidity >=0.6.0;
interface IPancakeERC20 {
event Approval(address indexed owner, address indexed spender, uint value);
event Transfer(address indexed from, address indexed to, uint value);
function name() external pure returns (string memory);
function symbol() external pure returns (string memory);
function decimals() external pure returns (uint8);
function totalSupply() external view returns (uint);
function balanceOf(address owner) external view returns (uint);
function allowance(address owner, address spender) external view returns (uint);
function approve(address spender, uint value) external returns (bool);
function transfer(address to, uint value) external returns (bool);
function transferFrom(address from, address to, uint value) external returns (bool);
function DOMAIN_SEPARATOR() external view returns (bytes32);
function PERMIT_TYPEHASH() external pure returns (bytes32);
function nonces(address owner) external view returns (uint);
function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment