Package io.meeds.tenant.hub.service
Class PolygonContractGasProvider
java.lang.Object
io.meeds.tenant.hub.service.PolygonContractGasProvider
- All Implemented Interfaces:
org.web3j.tx.gas.ContractGasProvider
@Component
public class PolygonContractGasProvider
extends Object
implements org.web3j.tx.gas.ContractGasProvider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonggetGasLimit(String contractFunc) getGasPrice(String contractFunc) org.web3j.protocol.Web3jgetWeb3j()
-
Constructor Details
-
PolygonContractGasProvider
public PolygonContractGasProvider()
-
-
Method Details
-
getGasPrice
- Specified by:
getGasPricein interfaceorg.web3j.tx.gas.ContractGasProvider
-
getGasPrice
- Specified by:
getGasPricein interfaceorg.web3j.tx.gas.ContractGasProvider
-
getGasLimit
- Specified by:
getGasLimitin interfaceorg.web3j.tx.gas.ContractGasProvider
-
getGasLimit
- Specified by:
getGasLimitin interfaceorg.web3j.tx.gas.ContractGasProvider
-
getChainId
public long getChainId() -
getWeb3j
public org.web3j.protocol.Web3j getWeb3j()
-