Package io.meeds.deeds.common.blockchain
Class PolygonTransactionManagerProxy
java.lang.Object
org.web3j.tx.TransactionManager
io.meeds.deeds.common.blockchain.PolygonTransactionManagerProxy
public class PolygonTransactionManagerProxy
extends org.web3j.tx.TransactionManager
-
Field Summary
Fields inherited from class org.web3j.tx.TransactionManager
DEFAULT_POLLING_ATTEMPTS_PER_TX_HASH, DEFAULT_POLLING_FREQUENCY, REVERT_ERR_STR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.web3j.protocol.core.methods.response.EthGetCodegetCode(String contractAddress, org.web3j.protocol.core.DefaultBlockParameter defaultBlockParameter) static voidinitTransactionManager(org.web3j.crypto.ECKeyPair ecKeyPair) sendCall(String to, String data, org.web3j.protocol.core.DefaultBlockParameter defaultBlockParameter) org.web3j.protocol.core.methods.response.EthSendTransactionsendEIP1559Transaction(long chainId, BigInteger maxPriorityFeePerGas, BigInteger maxFeePerGas, BigInteger gasLimit, String to, String data, BigInteger value) org.web3j.protocol.core.methods.response.EthSendTransactionsendEIP1559Transaction(long chainId, BigInteger maxPriorityFeePerGas, BigInteger maxFeePerGas, BigInteger gasLimit, String to, String data, BigInteger value, boolean constructor) org.web3j.protocol.core.methods.response.EthSendTransactionsendTransaction(BigInteger gasPrice, BigInteger gasLimit, String to, String data, BigInteger value) org.web3j.protocol.core.methods.response.EthSendTransactionsendTransaction(BigInteger gasPrice, BigInteger gasLimit, String to, String data, BigInteger value, boolean constructor) Methods inherited from class org.web3j.tx.TransactionManager
executeTransaction, executeTransaction, executeTransactionEIP1559, executeTransactionEIP1559, processResponse
-
Constructor Details
-
PolygonTransactionManagerProxy
public PolygonTransactionManagerProxy()
-
-
Method Details
-
initTransactionManager
public static void initTransactionManager(org.web3j.crypto.ECKeyPair ecKeyPair) -
sendTransaction
public org.web3j.protocol.core.methods.response.EthSendTransaction sendTransaction(BigInteger gasPrice, BigInteger gasLimit, String to, String data, BigInteger value, boolean constructor) throws IOException - Specified by:
sendTransactionin classorg.web3j.tx.TransactionManager- Throws:
IOException
-
sendEIP1559Transaction
public org.web3j.protocol.core.methods.response.EthSendTransaction sendEIP1559Transaction(long chainId, BigInteger maxPriorityFeePerGas, BigInteger maxFeePerGas, BigInteger gasLimit, String to, String data, BigInteger value, boolean constructor) throws IOException - Specified by:
sendEIP1559Transactionin classorg.web3j.tx.TransactionManager- Throws:
IOException
-
sendCall
public String sendCall(String to, String data, org.web3j.protocol.core.DefaultBlockParameter defaultBlockParameter) throws IOException - Specified by:
sendCallin classorg.web3j.tx.TransactionManager- Throws:
IOException
-
getCode
public org.web3j.protocol.core.methods.response.EthGetCode getCode(String contractAddress, org.web3j.protocol.core.DefaultBlockParameter defaultBlockParameter) throws IOException - Specified by:
getCodein classorg.web3j.tx.TransactionManager- Throws:
IOException
-
sendTransaction
public org.web3j.protocol.core.methods.response.EthSendTransaction sendTransaction(BigInteger gasPrice, BigInteger gasLimit, String to, String data, BigInteger value) throws IOException - Overrides:
sendTransactionin classorg.web3j.tx.TransactionManager- Throws:
IOException
-
sendEIP1559Transaction
public org.web3j.protocol.core.methods.response.EthSendTransaction sendEIP1559Transaction(long chainId, BigInteger maxPriorityFeePerGas, BigInteger maxFeePerGas, BigInteger gasLimit, String to, String data, BigInteger value) throws IOException - Overrides:
sendEIP1559Transactionin classorg.web3j.tx.TransactionManager- Throws:
IOException
-
getFromAddress
- Overrides:
getFromAddressin classorg.web3j.tx.TransactionManager
-