class Glueby::Contract::FixedFeeEstimator

Public Class Methods

new(fixed_fee: 10_000) click to toggle source
# File lib/glueby/contract/fee_estimator.rb, line 25
def initialize(fixed_fee: 10_000)
  @fixed_fee = fixed_fee
end

Private Instance Methods

estimate_fee(_tx) click to toggle source

@private @return fee by tapyrus(not TPC).

# File lib/glueby/contract/fee_estimator.rb, line 33
def estimate_fee(_tx)
  @fixed_fee
end