[Cashtab] [extension address passing p1] Move getCashtabProviderStatus function out of CashtabBase
Summary:
T2550
Move getCashtabProviderStatus to cashtab-helpers
This function will need to be used in a new component to get the extension's address. So, it should be moved into a separate file where it can be imported by all components, rather than live in CashtabBase.tsx
Test Plan:
cd web/cashtab-components npm run storybook
Inspect the CashtabBadge --> Standard component. The blue button should read "Cashtab Pay"
Navigate to brave://extensions and disable all Cashtab browser extensions
Reload the storybook page and inspect the CashtabBadge --> Standard component. The blue button should read "Install Cashtab & Refresh"
Reviewers: #bitcoin_abc, emack
Reviewed By: #bitcoin_abc, emack
Subscribers: emack
Differential Revision: https://reviews.bitcoinabc.org/D12314