Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

usePoolRegistry wagmi #1239

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
Open

usePoolRegistry wagmi #1239

wants to merge 15 commits into from

Conversation

arthur-zhuk
Copy link
Contributor

@arthur-zhuk arthur-zhuk commented Aug 16, 2022

Calling pool registry with wagmi hooks and displaying pools from the hook on the Pool page. These changes are backward compatible with the Context solution.

@arthur-zhuk arthur-zhuk requested a review from a team August 16, 2022 18:42
@arthur-zhuk arthur-zhuk self-assigned this Aug 16, 2022
@codecov
Copy link

codecov bot commented Aug 16, 2022

Codecov Report

Merging #1239 (6740fe4) into master (5427d6b) will decrease coverage by 0.13%.
The diff coverage is 1.92%.

@@            Coverage Diff            @@
##           master   #1239      +/-   ##
=========================================
- Coverage    9.47%   9.33%   -0.14%     
=========================================
  Files         181     182       +1     
  Lines        6567    6693     +126     
  Branches     2148    2178      +30     
=========================================
+ Hits          622     625       +3     
- Misses       5945    6068     +123     
Impacted Files Coverage Δ
src/constants/networks.ts 0.00% <0.00%> (ø)
src/hooks/usePoolRegistryData.ts 0.00% <0.00%> (ø)
src/pages/App.tsx 0.00% <0.00%> (ø)
src/pages/Pools/Pools.tsx 0.00% <0.00%> (ø)
src/providers/BasicPoolsProvider.tsx 0.70% <0.00%> (ø)
src/hooks/useContract.ts 5.46% <7.69%> (+0.81%) ⬆️
src/utils/migrations.ts 3.03% <7.69%> (+3.03%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@@ -149,3 +165,135 @@ export const DEV_SUPPORTED_NETWORKS: SupportedNetworks = {
blockExplorerUrls: ["https://explorer.evm-alpha.kava.io"],
},
}

const evmosChain: Chain = {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Config for wagmi connection.

@arthur-zhuk arthur-zhuk marked this pull request as ready for review August 16, 2022 18:49
@alphastorm alphastorm force-pushed the master branch 2 times, most recently from 5a3f5c3 to 5b44a67 Compare October 20, 2023 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant