Created
March 20, 2022 17:08
-
-
Save syjcnss/bf77a70f126cc63ae35216d001b46194 to your computer and use it in GitHub Desktop.
This file contains 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
const erc20abi = [ | |
"function name() public view returns (string)", | |
"function symbol() public view returns (string)", | |
"function decimals() public view returns (uint8)", | |
"function totalSupply() public view returns (uint256)", | |
"function balanceOf(address _owner) public view returns (uint256 balance)", | |
"function transfer(address _to, uint256 _value) public returns (bool success)", | |
"function transferFrom(address _from, address _to, uint256 _value) public returns (bool success)", | |
"function approve(address _spender, uint256 _value) public returns (bool success)", | |
"function allowance(address _owner, address _spender) public view returns (uint256 remaining)", | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment