Class IERC20


  • public class IERC20
    extends org.web3j.tx.Contract

    Auto generated code.

    Do not modify!

    Please use the web3j command line tools, or the org.web3j.codegen.SolidityFunctionWrapperGenerator in the codegen module to update.

    Generated with web3j version 4.8.7.

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected IERC20​(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, BigInteger gasPrice, BigInteger gasLimit)
      Deprecated.
      protected IERC20​(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, org.web3j.tx.gas.ContractGasProvider contractGasProvider)  
      protected IERC20​(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, BigInteger gasPrice, BigInteger gasLimit)
      Deprecated.
      protected IERC20​(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, org.web3j.tx.gas.ContractGasProvider contractGasProvider)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      org.web3j.protocol.core.RemoteFunctionCall<BigInteger> allowance​(String owner, String spender)  
      io.reactivex.Flowable<IERC20.ApprovalEventResponse> approvalEventFlowable​(org.web3j.protocol.core.DefaultBlockParameter startBlock, org.web3j.protocol.core.DefaultBlockParameter endBlock)  
      io.reactivex.Flowable<IERC20.ApprovalEventResponse> approvalEventFlowable​(org.web3j.protocol.core.methods.request.EthFilter filter)  
      org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt> approve​(String spender, BigInteger amount)  
      org.web3j.protocol.core.RemoteFunctionCall<BigInteger> balanceOf​(String account)  
      static org.web3j.protocol.core.RemoteCall<IERC20> deploy​(org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, BigInteger gasPrice, BigInteger gasLimit)
      Deprecated.
      static org.web3j.protocol.core.RemoteCall<IERC20> deploy​(org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, org.web3j.tx.gas.ContractGasProvider contractGasProvider)  
      static org.web3j.protocol.core.RemoteCall<IERC20> deploy​(org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, BigInteger gasPrice, BigInteger gasLimit)
      Deprecated.
      static org.web3j.protocol.core.RemoteCall<IERC20> deploy​(org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, org.web3j.tx.gas.ContractGasProvider contractGasProvider)  
      List<IERC20.ApprovalEventResponse> getApprovalEvents​(org.web3j.protocol.core.methods.response.TransactionReceipt transactionReceipt)  
      List<IERC20.TransferEventResponse> getTransferEvents​(org.web3j.protocol.core.methods.response.TransactionReceipt transactionReceipt)  
      static IERC20 load​(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, BigInteger gasPrice, BigInteger gasLimit)
      Deprecated.
      static IERC20 load​(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, org.web3j.tx.gas.ContractGasProvider contractGasProvider)  
      static IERC20 load​(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, BigInteger gasPrice, BigInteger gasLimit)
      Deprecated.
      static IERC20 load​(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, org.web3j.tx.gas.ContractGasProvider contractGasProvider)  
      org.web3j.protocol.core.RemoteFunctionCall<BigInteger> totalSupply()  
      org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt> transfer​(String recipient, BigInteger amount)  
      io.reactivex.Flowable<IERC20.TransferEventResponse> transferEventFlowable​(org.web3j.protocol.core.DefaultBlockParameter startBlock, org.web3j.protocol.core.DefaultBlockParameter endBlock)  
      io.reactivex.Flowable<IERC20.TransferEventResponse> transferEventFlowable​(org.web3j.protocol.core.methods.request.EthFilter filter)  
      org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt> transferFrom​(String sender, String recipient, BigInteger amount)  
      • Methods inherited from class org.web3j.tx.Contract

        convertToNative, deploy, deploy, deploy, deploy, deployRemoteCall, deployRemoteCall, deployRemoteCall, deployRemoteCall, deployRemoteCall, deployRemoteCall, deployRemoteCall, deployRemoteCall, executeCallMultipleValueReturn, executeCallSingleValueReturn, executeCallSingleValueReturn, executeRemoteCallMultipleValueReturn, executeRemoteCallSingleValueReturn, executeRemoteCallSingleValueReturn, executeRemoteCallTransaction, executeRemoteCallTransaction, executeTransaction, extractEventParameters, extractEventParameters, extractEventParametersWithLog, extractEventParametersWithLog, getContractAddress, getContractBinary, getDeployedAddress, getGasPrice, getStaticDeployedAddress, getTransactionReceipt, isValid, resolveContractAddress, setContractAddress, setDefaultBlockParameter, setDeployedAddress, setGasPrice, setGasProvider, setTransactionReceipt, staticExtractEventParameters, staticExtractEventParametersWithLog
      • Methods inherited from class org.web3j.tx.ManagedTransaction

        call, getSyncThreshold, requestCurrentGasPrice, send, send, sendEIP1559, setSyncThreshold
    • Constructor Detail

      • IERC20

        @Deprecated
        protected IERC20​(String contractAddress,
                         org.web3j.protocol.Web3j web3j,
                         org.web3j.crypto.Credentials credentials,
                         BigInteger gasPrice,
                         BigInteger gasLimit)
        Deprecated.
      • IERC20

        protected IERC20​(String contractAddress,
                         org.web3j.protocol.Web3j web3j,
                         org.web3j.crypto.Credentials credentials,
                         org.web3j.tx.gas.ContractGasProvider contractGasProvider)
      • IERC20

        @Deprecated
        protected IERC20​(String contractAddress,
                         org.web3j.protocol.Web3j web3j,
                         org.web3j.tx.TransactionManager transactionManager,
                         BigInteger gasPrice,
                         BigInteger gasLimit)
        Deprecated.
      • IERC20

        protected IERC20​(String contractAddress,
                         org.web3j.protocol.Web3j web3j,
                         org.web3j.tx.TransactionManager transactionManager,
                         org.web3j.tx.gas.ContractGasProvider contractGasProvider)
    • Method Detail

      • getApprovalEvents

        public List<IERC20.ApprovalEventResponse> getApprovalEvents​(org.web3j.protocol.core.methods.response.TransactionReceipt transactionReceipt)
      • approvalEventFlowable

        public io.reactivex.Flowable<IERC20.ApprovalEventResponse> approvalEventFlowable​(org.web3j.protocol.core.methods.request.EthFilter filter)
      • approvalEventFlowable

        public io.reactivex.Flowable<IERC20.ApprovalEventResponse> approvalEventFlowable​(org.web3j.protocol.core.DefaultBlockParameter startBlock,
                                                                                         org.web3j.protocol.core.DefaultBlockParameter endBlock)
      • getTransferEvents

        public List<IERC20.TransferEventResponse> getTransferEvents​(org.web3j.protocol.core.methods.response.TransactionReceipt transactionReceipt)
      • transferEventFlowable

        public io.reactivex.Flowable<IERC20.TransferEventResponse> transferEventFlowable​(org.web3j.protocol.core.methods.request.EthFilter filter)
      • transferEventFlowable

        public io.reactivex.Flowable<IERC20.TransferEventResponse> transferEventFlowable​(org.web3j.protocol.core.DefaultBlockParameter startBlock,
                                                                                         org.web3j.protocol.core.DefaultBlockParameter endBlock)
      • allowance

        public org.web3j.protocol.core.RemoteFunctionCall<BigInteger> allowance​(String owner,
                                                                                String spender)
      • approve

        public org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt> approve​(String spender,
                                                                                                                               BigInteger amount)
      • balanceOf

        public org.web3j.protocol.core.RemoteFunctionCall<BigInteger> balanceOf​(String account)
      • totalSupply

        public org.web3j.protocol.core.RemoteFunctionCall<BigInteger> totalSupply()
      • transfer

        public org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt> transfer​(String recipient,
                                                                                                                                BigInteger amount)
      • transferFrom

        public org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt> transferFrom​(String sender,
                                                                                                                                    String recipient,
                                                                                                                                    BigInteger amount)
      • load

        @Deprecated
        public static IERC20 load​(String contractAddress,
                                  org.web3j.protocol.Web3j web3j,
                                  org.web3j.tx.TransactionManager transactionManager,
                                  BigInteger gasPrice,
                                  BigInteger gasLimit)
        Deprecated.
      • load

        public static IERC20 load​(String contractAddress,
                                  org.web3j.protocol.Web3j web3j,
                                  org.web3j.crypto.Credentials credentials,
                                  org.web3j.tx.gas.ContractGasProvider contractGasProvider)
      • load

        public static IERC20 load​(String contractAddress,
                                  org.web3j.protocol.Web3j web3j,
                                  org.web3j.tx.TransactionManager transactionManager,
                                  org.web3j.tx.gas.ContractGasProvider contractGasProvider)
      • deploy

        public static org.web3j.protocol.core.RemoteCall<IERC20> deploy​(org.web3j.protocol.Web3j web3j,
                                                                        org.web3j.crypto.Credentials credentials,
                                                                        org.web3j.tx.gas.ContractGasProvider contractGasProvider)
      • deploy

        @Deprecated
        public static org.web3j.protocol.core.RemoteCall<IERC20> deploy​(org.web3j.protocol.Web3j web3j,
                                                                        org.web3j.crypto.Credentials credentials,
                                                                        BigInteger gasPrice,
                                                                        BigInteger gasLimit)
        Deprecated.
      • deploy

        public static org.web3j.protocol.core.RemoteCall<IERC20> deploy​(org.web3j.protocol.Web3j web3j,
                                                                        org.web3j.tx.TransactionManager transactionManager,
                                                                        org.web3j.tx.gas.ContractGasProvider contractGasProvider)
      • deploy

        @Deprecated
        public static org.web3j.protocol.core.RemoteCall<IERC20> deploy​(org.web3j.protocol.Web3j web3j,
                                                                        org.web3j.tx.TransactionManager transactionManager,
                                                                        BigInteger gasPrice,
                                                                        BigInteger gasLimit)
        Deprecated.