Skip to content
Snippets Groups Projects
  1. Nov 15, 2019
  2. Nov 14, 2019
  3. Nov 13, 2019
    • Shaopeng Wang's avatar
      Update slash (#26) · 04d6f900
      Shaopeng Wang authored
      * Update slash: return gap instead of slashed amount.
      
      * Add unit test for tokens module slash.
      Unverified
      04d6f900
    • 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
  4. Nov 12, 2019
  5. Nov 08, 2019
  6. Nov 07, 2019
  7. Nov 06, 2019
  8. Nov 05, 2019
  9. Nov 01, 2019
    • Shaopeng Wang's avatar
      Tokens Module (#3) · ba00f235
      Shaopeng Wang authored
      * Define MultiCurrency trait.
      
      * Declare storage.
      
      * Impl multi currency trait for tokens module.
      
      * Balance transfer.
      
      * Fix typo.
      
      * fmt
      
      * Add transferred event.
      
      * Update tokens trait and slash impl.
      
      * Use value type for currency id params.
      
      * fmt
      Unverified
      ba00f235
  10. Oct 30, 2019
  11. Oct 29, 2019
Loading