web icon indicating copy to clipboard operation
web copied to clipboard

feat: add buy sell on asset details

Open reallybeard opened this issue 3 years ago • 0 comments

Description

  • Check if the asset can be bought or sold, show button if they can
  • Pass the assetId to the modal and pre-populate it.

Notice

  • [x] Have you followed the guidelines in our Contributing guide?
  • [x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Pull Request Type

  • [ ] :bug: Bug fix (Non-breaking Change: Fixes an issue)
  • [ ] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
  • [x] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)

n/a

Risk

small risk, just for the asset actions area

Testing

Go to to an asset details page, and if the asset can bought or sold with any of our fiat providers, you should see an active button. When you click that button it should auto-fill the modal with that asset.

Engineering

n/a

Operations

n/a

Screenshots (if applicable)

Screen Shot 2022-09-28 at 3 24 13 PM

reallybeard avatar Sep 28 '22 20:09 reallybeard