cc.youchain.tx.gas.DefaultGasProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of core Show documentation
Show all versions of core Show documentation
YOUChain Common library in JAVA.
package cc.youchain.tx.gas;
import java.math.BigInteger;
import cc.youchain.tx.Contract;
import cc.youchain.tx.ManagedTransaction;
public class DefaultGasProvider extends StaticGasProvider {
public static final BigInteger GAS_LIMIT = Contract.GAS_LIMIT;
public static final BigInteger GAS_PRICE = ManagedTransaction.GAS_PRICE;
public DefaultGasProvider() {
super(GAS_PRICE, GAS_LIMIT);
}
}