Skip to content
Snippets Groups Projects
  1. Nov 13, 2019
    • Shaopeng Wang's avatar
      Currencies Module (#22) · 8e5ab5b2
      Shaopeng Wang authored
      * Impl BasicCurrency & BasicCurrencyExtended.
      
      * Add currencies module.
      
      * Minor fixes
      
      * Add equality bounds for CurrencyId.
      
      * Currencies: add transfer dispatch.
      
      * Currencies: impl BasicCurrencyExtended.
      
      * Add unit tests for currencies module.
      
      * More unit test for currencies module.
      
      * Currencies module: add NativeCurrency type.
      
      * Update unit tests for native currency.
      
      * Add BasicCurrency impl for any type which implements srml_support::traits::Currency.
      
      * Fix typo.
      
      * Add BasicCurrencyAdapter.
      
      * BasicCurrencyAdapter unit tests.
      
      * Update BasicCurrencyAdapter.
      
      * Update slash impl for BasicCurrencyAdapter.
      Unverified
      8e5ab5b2
    • 邱昊's avatar
      feat: prices module (#23) · 33329a2b
      邱昊 authored
      * feat: prices module
      
      * fix: add check to avoid dividing by zero
      
      * fix: delete num_traits dependency
      33329a2b
    • wangjj9219's avatar
      fix fmt error and bug and add tests (#20) · 90b89dfc
      wangjj9219 authored
      * add auction module
      
      * remove redundant traits definition
      
      * add tests
      
      * get reference instead of ownership
      
      * optimized code
      90b89dfc
  2. Nov 08, 2019
Loading