public interface ERC20Interface<R,T> extends ERC20BasicInterface<T>
Implementations should provide the concrete ApprovalEventResponse
and
TransferEventResponse
from their token as the generic types "R" amd "T".
Modifier and Type | Method and 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) |
balanceOf, getTransferEvents, totalSupply, transfer, transferEventFlowable
RemoteCall<java.math.BigInteger> allowance(java.lang.String owner, java.lang.String spender)
RemoteCall<TransactionReceipt> approve(java.lang.String spender, java.math.BigInteger value)
RemoteCall<TransactionReceipt> transferFrom(java.lang.String from, java.lang.String to, java.math.BigInteger value)
java.util.List<R> getApprovalEvents(TransactionReceipt transactionReceipt)
io.reactivex.Flowable<R> approvalEventFlowable(DefaultBlockParameter startBlock, DefaultBlockParameter endBlock)