Skip to content
  1. Sep 07, 2020
  2. Aug 31, 2020
  3. Aug 28, 2020
  4. Aug 25, 2020
  5. Aug 24, 2020
    • Zeke Mostov's avatar
      Implement `accounts/{accountId}/staking-payouts` (#217) · 2f817d1a
      Zeke Mostov authored
      
      
      * Initial impl with Big.js
      
      
      Remove unused comment
      
      Update comments and org
      
      Update response structure
      
      Remove validator count
      
      * Convert to Perbill arithmetic
      
      * Implement calc-payout crate
      
      * eslintignore calc-payout
      
      * Alexander feedback
      
      * Add check for era - depth; Update openapi
      
      * update README debug section
      
      * Update readmes
      
      * Apply suggestions from Joe code review
      
      Co-authored-by: default avatarjoe petrowski <[email protected]>
      
      * add docs to payouts controller
      
      * Clean up docs
      
      Reverse
      
      * Update calc/Cargo.toml
      
      Co-authored-by: default avatarDan Forbes <[email protected]>
      
      * Update return property names for nominator and validator rewards
      
      * themself -> itself
      
      * Code style refactors and comment updates
      
      * Small era message update
      
      * Delete line in ReadMe
      
      * Remove accidental add
      
      Co-authored-by: default avatarjoe petrowski <[email protected]>
      Co-authored-by: default avatarDan Forbes <[email protected]>
      2f817d1a
  6. Aug 22, 2020
  7. Aug 01, 2020
  8. Jul 31, 2020
  9. Jul 30, 2020
  10. Jul 29, 2020
  11. Jul 28, 2020
  12. Jul 25, 2020
    • Zeke Mostov's avatar
      Unit test `calc_fee`; Refactor `fetchBlock` (#187) · 908fce52
      Zeke Mostov authored
      * Refactor partial fee calculation to make it testable
      
      Correct name
      
      Create mock api skeletion
      
      save changes
      
      refactor fetch blocks
      
      * Add dummy header
      
      * test createCalcFee
      
      * More refactors of fetchBlock
      
      * Rename constants.ts => mock.ts
      
      * Move mockApi to mock file
      
      * Move header to its own file
      
      * Update commetn
      
      * Update comment
      908fce52
  13. Jul 22, 2020
  14. Jul 21, 2020