程序包 org.zlwl.wallet
类 ERC20TokenTool
java.lang.Object
org.zlwl.wallet.ERC20TokenTool
- 作者:
- ruanzh.eth
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static Stringstatic StringbalanceOf2(String address, String contract, org.web3j.protocol.Web3j web3j) static Stringstatic voidstatic StringtotalSupply(String contract, org.web3j.protocol.Web3j web3j) static org.web3j.protocol.core.methods.response.EthSendTransactiontransfer(String from, String to, BigInteger amount, String contract, org.web3j.crypto.Credentials credentials, org.web3j.protocol.Web3j web3j)
-
字段详细资料
-
构造器详细资料
-
ERC20TokenTool
public ERC20TokenTool()
-
-
方法详细资料
-
totalSupply
public static String totalSupply(String contract, org.web3j.protocol.Web3j web3j) throws ExecutionException, InterruptedException -
decimals
public static String decimals(String contract, org.web3j.protocol.Web3j web3j) throws ExecutionException, InterruptedException -
balanceOf
public static String balanceOf(String address, String contract, org.web3j.protocol.Web3j web3j) throws ExecutionException, InterruptedException -
transfer
public static org.web3j.protocol.core.methods.response.EthSendTransaction transfer(String from, String to, BigInteger amount, String contract, org.web3j.crypto.Credentials credentials, org.web3j.protocol.Web3j web3j) throws ExecutionException, InterruptedException, IOException -
balanceOf2
public static String balanceOf2(String address, String contract, org.web3j.protocol.Web3j web3j) throws IOException - 抛出:
IOException
-
main
-