Class GasFeeProperties

java.lang.Object
net.finmath.decryptionoracle.config.GasFeeProperties

@ConfigurationProperties(prefix="ethereum.gas") public class GasFeeProperties extends Object

GasFeeProperties class.

Author:
Christian Fries
  • Constructor Details

    • GasFeeProperties

      public GasFeeProperties()
      Create the GasFeeProperties bean.
  • Method Details

    • getMinPriorityFeeWei

      public long getMinPriorityFeeWei()

      Getter for the field minPriorityFeeWei.

      Returns:
      a long
    • setMinPriorityFeeWei

      public void setMinPriorityFeeWei(long v)

      Setter for the field minPriorityFeeWei.

      Parameters:
      v - a long
    • getMaxFeeWei

      public long getMaxFeeWei()

      Getter for the field maxFeeGwei.

      Returns:
      a long
    • setMaxFeeWei

      public void setMaxFeeWei(long v)

      Setter for the field maxFeeWei.

      Parameters:
      v - a long
    • getLimitDefault

      public long getLimitDefault()

      Getter for the field limitDefault.

      Returns:
      a long
    • setLimitDefault

      public void setLimitDefault(long v)

      Setter for the field limitDefault.

      Parameters:
      v - a long
    • getLimitFulfillDecryption

      public Long getLimitFulfillDecryption()

      Getter for the field limitFulfillDecryption.

      Returns:
      a Long object
    • setLimitFulfillDecryption

      public void setLimitFulfillDecryption(Long v)

      Setter for the field limitFulfillDecryption.

      Parameters:
      v - a Long object
    • getLimitFulfillVerification

      public Long getLimitFulfillVerification()

      Getter for the field limitFulfillVerification.

      Returns:
      a Long object
    • setLimitFulfillVerification

      public void setLimitFulfillVerification(Long v)

      Setter for the field limitFulfillVerification.

      Parameters:
      v - a Long object
    • getLimitFulfillEncryptedHashedKeyGeneration

      public Long getLimitFulfillEncryptedHashedKeyGeneration()

      Getter for the field limitFulfillEncryptedHashedKeyGeneration.

      Returns:
      a Long object
    • setLimitFulfillEncryptedHashedKeyGeneration

      public void setLimitFulfillEncryptedHashedKeyGeneration(Long v)

      Setter for the field limitFulfillEncryptedHashedKeyGeneration.

      Parameters:
      v - a Long object
    • limitFor

      public long limitFor(String fn)
      Resolve a sensible gas limit by function name.
      Parameters:
      fn - a String object
      Returns:
      a long