Package io.meeds.deeds.contract
Class ERC20
- java.lang.Object
-
- org.web3j.tx.ManagedTransaction
-
- org.web3j.tx.Contract
-
- io.meeds.deeds.contract.ERC20
-
public class ERC20 extends org.web3j.tx.ContractAuto 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.9.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classERC20.ApprovalEventResponsestatic classERC20.TransferEventResponse
-
Field Summary
Fields Modifier and Type Field Description static org.web3j.abi.datatypes.EventAPPROVAL_EVENTstatic StringBINARYstatic StringFUNC_ALLOWANCEstatic StringFUNC_APPROVEstatic StringFUNC_BALANCEOFstatic StringFUNC_DECIMALSstatic StringFUNC_DECREASEALLOWANCEstatic StringFUNC_INCREASEALLOWANCEstatic StringFUNC_NAMEstatic StringFUNC_SYMBOLstatic StringFUNC_TOTALSUPPLYstatic StringFUNC_TRANSFERstatic StringFUNC_TRANSFERFROMstatic org.web3j.abi.datatypes.EventTRANSFER_EVENT
-
Constructor Summary
Constructors Modifier Constructor Description protectedERC20(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, BigInteger gasPrice, BigInteger gasLimit)Deprecated.protectedERC20(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, org.web3j.tx.gas.ContractGasProvider contractGasProvider)protectedERC20(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, BigInteger gasPrice, BigInteger gasLimit)Deprecated.protectedERC20(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<ERC20.ApprovalEventResponse>approvalEventFlowable(org.web3j.protocol.core.DefaultBlockParameter startBlock, org.web3j.protocol.core.DefaultBlockParameter endBlock)io.reactivex.Flowable<ERC20.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)org.web3j.protocol.core.RemoteFunctionCall<BigInteger>decimals()org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt>decreaseAllowance(String spender, BigInteger subtractedValue)static org.web3j.protocol.core.RemoteCall<ERC20>deploy(org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, BigInteger gasPrice, BigInteger gasLimit)Deprecated.static org.web3j.protocol.core.RemoteCall<ERC20>deploy(org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, org.web3j.tx.gas.ContractGasProvider contractGasProvider)static org.web3j.protocol.core.RemoteCall<ERC20>deploy(org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, BigInteger gasPrice, BigInteger gasLimit)Deprecated.static org.web3j.protocol.core.RemoteCall<ERC20>deploy(org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, org.web3j.tx.gas.ContractGasProvider contractGasProvider)List<ERC20.ApprovalEventResponse>getApprovalEvents(org.web3j.protocol.core.methods.response.TransactionReceipt transactionReceipt)List<ERC20.TransferEventResponse>getTransferEvents(org.web3j.protocol.core.methods.response.TransactionReceipt transactionReceipt)org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt>increaseAllowance(String spender, BigInteger addedValue)static ERC20load(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, BigInteger gasPrice, BigInteger gasLimit)Deprecated.static ERC20load(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, org.web3j.tx.gas.ContractGasProvider contractGasProvider)static ERC20load(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, BigInteger gasPrice, BigInteger gasLimit)Deprecated.static ERC20load(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, org.web3j.tx.gas.ContractGasProvider contractGasProvider)org.web3j.protocol.core.RemoteFunctionCall<String>name()org.web3j.protocol.core.RemoteFunctionCall<String>symbol()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<ERC20.TransferEventResponse>transferEventFlowable(org.web3j.protocol.core.DefaultBlockParameter startBlock, org.web3j.protocol.core.DefaultBlockParameter endBlock)io.reactivex.Flowable<ERC20.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
-
-
-
-
Field Detail
-
BINARY
public static final String BINARY
- See Also:
- Constant Field Values
-
FUNC_ALLOWANCE
public static final String FUNC_ALLOWANCE
- See Also:
- Constant Field Values
-
FUNC_APPROVE
public static final String FUNC_APPROVE
- See Also:
- Constant Field Values
-
FUNC_BALANCEOF
public static final String FUNC_BALANCEOF
- See Also:
- Constant Field Values
-
FUNC_DECIMALS
public static final String FUNC_DECIMALS
- See Also:
- Constant Field Values
-
FUNC_DECREASEALLOWANCE
public static final String FUNC_DECREASEALLOWANCE
- See Also:
- Constant Field Values
-
FUNC_INCREASEALLOWANCE
public static final String FUNC_INCREASEALLOWANCE
- See Also:
- Constant Field Values
-
FUNC_NAME
public static final String FUNC_NAME
- See Also:
- Constant Field Values
-
FUNC_SYMBOL
public static final String FUNC_SYMBOL
- See Also:
- Constant Field Values
-
FUNC_TOTALSUPPLY
public static final String FUNC_TOTALSUPPLY
- See Also:
- Constant Field Values
-
FUNC_TRANSFER
public static final String FUNC_TRANSFER
- See Also:
- Constant Field Values
-
FUNC_TRANSFERFROM
public static final String FUNC_TRANSFERFROM
- See Also:
- Constant Field Values
-
APPROVAL_EVENT
public static final org.web3j.abi.datatypes.Event APPROVAL_EVENT
-
TRANSFER_EVENT
public static final org.web3j.abi.datatypes.Event TRANSFER_EVENT
-
-
Constructor Detail
-
ERC20
@Deprecated protected ERC20(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, BigInteger gasPrice, BigInteger gasLimit)
Deprecated.
-
ERC20
protected ERC20(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, org.web3j.tx.gas.ContractGasProvider contractGasProvider)
-
ERC20
@Deprecated protected ERC20(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, BigInteger gasPrice, BigInteger gasLimit)
Deprecated.
-
ERC20
protected ERC20(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, org.web3j.tx.gas.ContractGasProvider contractGasProvider)
-
-
Method Detail
-
getApprovalEvents
public List<ERC20.ApprovalEventResponse> getApprovalEvents(org.web3j.protocol.core.methods.response.TransactionReceipt transactionReceipt)
-
approvalEventFlowable
public io.reactivex.Flowable<ERC20.ApprovalEventResponse> approvalEventFlowable(org.web3j.protocol.core.methods.request.EthFilter filter)
-
approvalEventFlowable
public io.reactivex.Flowable<ERC20.ApprovalEventResponse> approvalEventFlowable(org.web3j.protocol.core.DefaultBlockParameter startBlock, org.web3j.protocol.core.DefaultBlockParameter endBlock)
-
getTransferEvents
public List<ERC20.TransferEventResponse> getTransferEvents(org.web3j.protocol.core.methods.response.TransactionReceipt transactionReceipt)
-
transferEventFlowable
public io.reactivex.Flowable<ERC20.TransferEventResponse> transferEventFlowable(org.web3j.protocol.core.methods.request.EthFilter filter)
-
transferEventFlowable
public io.reactivex.Flowable<ERC20.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)
-
decimals
public org.web3j.protocol.core.RemoteFunctionCall<BigInteger> decimals()
-
decreaseAllowance
public org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt> decreaseAllowance(String spender, BigInteger subtractedValue)
-
increaseAllowance
public org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt> increaseAllowance(String spender, BigInteger addedValue)
-
name
public org.web3j.protocol.core.RemoteFunctionCall<String> name()
-
symbol
public org.web3j.protocol.core.RemoteFunctionCall<String> symbol()
-
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 ERC20 load(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, BigInteger gasPrice, BigInteger gasLimit)
Deprecated.
-
load
@Deprecated public static ERC20 load(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, BigInteger gasPrice, BigInteger gasLimit)
Deprecated.
-
load
public static ERC20 load(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, org.web3j.tx.gas.ContractGasProvider contractGasProvider)
-
load
public static ERC20 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<ERC20> 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<ERC20> deploy(org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, BigInteger gasPrice, BigInteger gasLimit)
Deprecated.
-
deploy
public static org.web3j.protocol.core.RemoteCall<ERC20> 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<ERC20> deploy(org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, BigInteger gasPrice, BigInteger gasLimit)
Deprecated.
-
-