lib/voilkruby/chain.rb
# Returns the current base (e.g. VOILK) price in the coin asset (e.g.
# COINS).
#
Returns the current base  price in the coin asset .
Returns the current base price in the coin asset .
def base_per_mcoin
      total_coining_fund_voilk = properties.total_coining_fund_voilk.to_f
      total_coining_shares_mcoin = properties.total_coining_shares.to_f / 1e6
      total_coining_fund_voilk / total_coining_shares_mcoin
    end
def base_per_mcoin total_coining_fund_voilk = properties . total_coining_fund_voilk . to_f total_coining_shares_mcoin = properties . total_coining_shares . to_f / 1e6 total_coining_fund_voilk / total_coining_shares_mcoin end
Returns the current base (e.g.
Returns the current base ( e . g .