Package org.web3j.contracts.token
Interface ERC20Interface<R,T>
-
- All Superinterfaces:
ERC20BasicInterface<T>
public interface ERC20Interface<R,T> extends ERC20BasicInterface<T>
The Ethereum ERC-20 token standard.Implementations should provide the concrete
ApprovalEventResponse
andTransferEventResponse
from their token as the generic types "R" amd "T".
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RemoteCall<java.math.BigInteger>
allowance(java.lang.String owner, java.lang.String spender)
io.reactivex.Flowable<R>
approvalEventFlowable(DefaultBlockParameter startBlock, DefaultBlockParameter endBlock)
RemoteCall<TransactionReceipt>
approve(java.lang.String spender, java.math.BigInteger value)
java.util.List<R>
getApprovalEvents(TransactionReceipt transactionReceipt)
RemoteCall<TransactionReceipt>
transferFrom(java.lang.String from, java.lang.String to, java.math.BigInteger value)
-
Methods inherited from interface org.web3j.contracts.token.ERC20BasicInterface
balanceOf, getTransferEvents, totalSupply, transfer, transferEventFlowable
-
-
-
-
Method Detail
-
allowance
RemoteCall<java.math.BigInteger> allowance(java.lang.String owner, java.lang.String spender)
-
approve
RemoteCall<TransactionReceipt> approve(java.lang.String spender, java.math.BigInteger value)
-
transferFrom
RemoteCall<TransactionReceipt> transferFrom(java.lang.String from, java.lang.String to, java.math.BigInteger value)
-
getApprovalEvents
java.util.List<R> getApprovalEvents(TransactionReceipt transactionReceipt)
-
approvalEventFlowable
io.reactivex.Flowable<R> approvalEventFlowable(DefaultBlockParameter startBlock, DefaultBlockParameter endBlock)
-
-