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.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.9.4.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from class org.web3j.tx.Contract
org.web3j.tx.Contract.EventValuesWithLog -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.web3j.abi.datatypes.Eventstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final org.web3j.abi.datatypes.EventFields inherited from class org.web3j.tx.Contract
BIN_NOT_PROVIDED, contractAddress, contractBinary, defaultBlockParameter, deployedAddresses, FUNC_DEPLOY, GAS_LIMIT, gasProvider, transactionReceiptFields inherited from class org.web3j.tx.ManagedTransaction
ensResolver, GAS_PRICE, transactionManager, web3j -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedERC20(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
Modifier and TypeMethodDescriptionorg.web3j.protocol.core.RemoteFunctionCall<BigInteger>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>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) static List<ERC20.ApprovalEventResponse>getApprovalEvents(org.web3j.protocol.core.methods.response.TransactionReceipt transactionReceipt) static 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>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, executeCallWithoutDecoding, 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, staticExtractEventParametersWithLogMethods inherited from class org.web3j.tx.ManagedTransaction
call, getSyncThreshold, requestCurrentGasPrice, send, send, sendEIP1559, sendEIP1559, setSyncThreshold
-
Field Details
-
BINARY
- See Also:
-
FUNC_ALLOWANCE
- See Also:
-
FUNC_APPROVE
- See Also:
-
FUNC_BALANCEOF
- See Also:
-
FUNC_DECIMALS
- See Also:
-
FUNC_DECREASEALLOWANCE
- See Also:
-
FUNC_INCREASEALLOWANCE
- See Also:
-
FUNC_NAME
- See Also:
-
FUNC_SYMBOL
- See Also:
-
FUNC_TOTALSUPPLY
- See Also:
-
FUNC_TRANSFER
- See Also:
-
FUNC_TRANSFERFROM
- See Also:
-
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 Details
-
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 Details
-
getApprovalEvents
public static 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 static 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
-
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
-
symbol
-
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
-
load
-
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.
-