Package org.web3j.contracts.token
Interface ERC20BasicInterface<T>
-
- All Known Subinterfaces:
ERC20Interface<R,T>
public interface ERC20BasicInterface<T>
Describes the Ethereum "Basic" subset of the ERC-20 token standard.Implementations should provide the concrete
TransferEventResponse
from their token as the generic type "T".
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RemoteCall<java.math.BigInteger>
balanceOf(java.lang.String who)
java.util.List<T>
getTransferEvents(TransactionReceipt transactionReceipt)
RemoteCall<java.math.BigInteger>
totalSupply()
RemoteCall<TransactionReceipt>
transfer(java.lang.String to, java.math.BigInteger value)
io.reactivex.Flowable<T>
transferEventFlowable(DefaultBlockParameter startBlock, DefaultBlockParameter endBlock)
-
-
-
Method Detail
-
totalSupply
RemoteCall<java.math.BigInteger> totalSupply()
-
balanceOf
RemoteCall<java.math.BigInteger> balanceOf(java.lang.String who)
-
transfer
RemoteCall<TransactionReceipt> transfer(java.lang.String to, java.math.BigInteger value)
-
getTransferEvents
java.util.List<T> getTransferEvents(TransactionReceipt transactionReceipt)
-
transferEventFlowable
io.reactivex.Flowable<T> transferEventFlowable(DefaultBlockParameter startBlock, DefaultBlockParameter endBlock)
-
-