Module: Launchpad::IEO

Defined in:
app/models/launchpad/ieo.rb,
app/models/launchpad/ieo/sale.rb,
app/models/launchpad/ieo/order.rb,
app/models/launchpad/ieo/sale_pair.rb,
app/workers/launchpad/ieo/sale_start_worker.rb,
app/workers/launchpad/ieo/sale_cancel_worker.rb,
app/workers/launchpad/ieo/sale_finish_worker.rb,
app/workers/launchpad/ieo/order_refund_worker.rb,
app/workers/launchpad/ieo/order_execute_worker.rb,
app/workers/launchpad/ieo/order_release_worker.rb,
app/workers/launchpad/ieo/sale_pair_list_worker.rb,
app/workers/launchpad/ieo/sale_distribute_worker.rb,
app/workers/launchpad/ieo/sale_currency_list_worker.rb,
app/workers/launchpad/ieo/sale_release_funds_worker.rb

Defined Under Namespace

Classes: Order, OrderExecuteWorker, OrderRefundWorker, OrderReleaseWorker, Sale, SaleCancelWorker, SaleCurrencyListWorker, SaleDistributeWorker, SaleFinishWorker, SalePair, SalePairListWorker, SaleReleaseFundsWorker, SaleStartWorker

Constant Summary collapse

TOKENS_AMOUNT_PRECISION =
4
RATIO_PRECISION =
4
COMMISSION_PRECISION =
6
LIABILITY_CODES =
{
  fiat: { main: 201, locked: 211 },
  coin: { main: 202, locked: 212 }
}
REVENUE_CODES =
{
  fiat: { main: 301 },
  coin: { main: 302 }
}

Class Method Summary collapse

Class Method Details

.table_name_prefixObject



17
18
19
# File 'app/models/launchpad/ieo.rb', line 17

def self.table_name_prefix
  'ieo_'
end