Skip to content
Snippets Groups Projects
  1. Dec 08, 2019
  2. Dec 04, 2019
  3. Dec 03, 2019
  4. Dec 02, 2019
  5. Dec 01, 2019
  6. Nov 29, 2019
  7. Nov 27, 2019
  8. Nov 26, 2019
    • 邱昊's avatar
      fix: add Debug to MultiCurrency::Error (#45) · 3b82f2ea
      邱昊 authored
      3b82f2ea
    • 邱昊's avatar
      add fixed u128 (#39) · b1728c20
      邱昊 authored
      * add fixed u128
      
      * update fixed-u128
      
      * fix: divide 0 will panic
      
      * fix: will use u128::max_value() when try_into failued in div and mul functions
      
      * test: add checked_div test
      
      * rename: palette to frame
      
      * update fixed-128
      
      * remove add/sub/mul/div operator
      
      * add overflow/underflow tests
      b1728c20
  9. Nov 25, 2019
  10. Nov 22, 2019
  11. Nov 21, 2019
  12. Nov 20, 2019
  13. Nov 17, 2019
  14. Nov 16, 2019
  15. Nov 15, 2019
  16. Nov 14, 2019
  17. 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
  18. Nov 12, 2019
  19. Nov 08, 2019
  20. Nov 07, 2019
  21. Nov 06, 2019
Loading