Now that we have some tokens with regular volume, this is the better metric
Details
- Reviewers
Fabien - Group Reviewers
Restricted Project - Commits
- rABCdbfc44c48fb1: [ecash-herald] Sort agora tokens by volume instead of buy count
npm test
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- herald-vol-sort
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 31972 Build 63436: Build Diff ecash-herald-tests Build 63435: arc lint + arc unit
Event Timeline
apps/ecash-herald/src/parse.ts | ||
---|---|---|
3386 | maybe -- there is an issue here, yes the original design of "the key doesn't exist if this action never happened" is sane enough. it complicates sorting a map by this key though. two options 1 - update the sort function so that we recognize "key is undefined" and do not need a default of 0 option 1 is probably the way to go here, since we may have 100s of tokens and very few of them are expected to have all the possible actions. I think it should be handled in another diff. what happened here is that identifying the typescript issue (to support the implementation of this change) ended up flagging this separate (already existing) issue. Because this diff doesn't change anything about how the issue is currently handled, but does add useful framework for supporting the fix, would be convenient to build on top of it. | |
3391 | same answer | |
3395 | yup will be fixed |