Skip to content

mobx store #3

@pyramation

Description

@pyramation

This issue is more for design and listing out queries that are needed.

  • all basic like ability to get users balances
  • ability to get users number of tokens inside of a pool

e.g. currently do get number of tokens in a pool

  1. get pools
  2. get prices
  3. convertPoolsToDisplayValues
  4. get the users locked coins
  5. call function getUserPools({pools, lockedPools})

instead, if we used a mobx store, we could wrap this all into a single call and it gets cached and we get simplicity and speed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions