public class StaticGasProvider extends java.lang.Object implements ContractGasProvider
| Constructor and Description |
|---|
StaticGasProvider(java.math.BigInteger gasPrice,
java.math.BigInteger gasLimit) |
| Modifier and Type | Method and Description |
|---|---|
java.math.BigInteger |
getGasLimit() |
java.math.BigInteger |
getGasLimit(java.lang.String contractFunc) |
java.math.BigInteger |
getGasPrice() |
java.math.BigInteger |
getGasPrice(java.lang.String contractFunc) |
public StaticGasProvider(java.math.BigInteger gasPrice,
java.math.BigInteger gasLimit)
public java.math.BigInteger getGasPrice(java.lang.String contractFunc)
getGasPrice in interface ContractGasProviderpublic java.math.BigInteger getGasPrice()
getGasPrice in interface ContractGasProviderpublic java.math.BigInteger getGasLimit(java.lang.String contractFunc)
getGasLimit in interface ContractGasProviderpublic java.math.BigInteger getGasLimit()
getGasLimit in interface ContractGasProvider