Package sg.dex.starfish.keeper
Class DexTransactionReceiptProcessor
java.lang.Object
org.web3j.tx.response.TransactionReceiptProcessor
sg.dex.starfish.keeper.DexTransactionReceiptProcessor
public class DexTransactionReceiptProcessor
extends org.web3j.tx.response.TransactionReceiptProcessor
-
Constructor Summary
Constructors Constructor Description DexTransactionReceiptProcessor(org.web3j.protocol.Web3j web3j, long sleepDuration, int attempts)
-
Method Summary
Modifier and Type Method Description org.web3j.protocol.core.methods.response.TransactionReceipt
waitForTransactionReceipt(String transactionHash)
-
Constructor Details
-
DexTransactionReceiptProcessor
public DexTransactionReceiptProcessor(org.web3j.protocol.Web3j web3j, long sleepDuration, int attempts)
-
-
Method Details
-
waitForTransactionReceipt
public org.web3j.protocol.core.methods.response.TransactionReceipt waitForTransactionReceipt(String transactionHash) throws IOException, org.web3j.protocol.exceptions.TransactionException- Specified by:
waitForTransactionReceipt
in classorg.web3j.tx.response.TransactionReceiptProcessor
- Throws:
IOException
org.web3j.protocol.exceptions.TransactionException
-