-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP: update Basin + Wells SDK (#1070)
- Loading branch information
Showing
274 changed files
with
8,377 additions
and
4,097 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
VITE_AQUIFER_ADDRESS=local/fork deployed address | ||
VITE_AQUIFER_ADDRESS_ETH="deployed address here" | ||
VITE_AQUIFER_ADDRESS_ARBITRUM="deployed address here" | ||
VITE_ALCHEMY_API_KEY="your key here" | ||
VITE_THEGRAPH_API_KEY="your key here" | ||
VITE_WALLET_CONNECT_PROJECT_ID="project key here" | ||
VITE_WELLS_ORIGIN_BLOCK=17138465 | ||
VITE_LOAD_HISTORY_FROM_GRAPH=0 | ||
VITE_WALLET_CONNECT_PROJECT_ID="project key here" | ||
VITE_LOAD_HISTORY_FROM_GRAPH=0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
// DO NOT ACTUALLY SAVE THINGS HERE | ||
// ONLY USE THIS FILE TO TRACK WHAT ENV VARS NEED TO | ||
// BE ADDED TO NETLIFY CONFIG | ||
VITE_AQUIFER_ADDRESS_ETH="" | ||
VITE_AQUIFER_ADDRESS_ARBITRUM="" | ||
VITE_ALCHEMY_API_KEY="" | ||
VITE_WALLET_CONNECT_PROJECT_ID="" | ||
VITE_THEGRAPH_API_KEY="" | ||
VITE_WALLET_CONNECT_PROJECT_ID="" | ||
VITE_WELLS_ORIGIN_BLOCK="" | ||
VITE_LOAD_HISTORY_FROM_GRAPH="" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,16 @@ | ||
const glob = import.meta.glob("src/assets/images/tokens/*.svg", { | ||
eager: true, | ||
as: "url" | ||
// import: "default" | ||
}); | ||
const glob = import.meta.glob( | ||
["src/assets/images/tokens/*.svg", "src/assets/images/tokens/*.png"], | ||
{ | ||
eager: true, | ||
as: "url" | ||
} | ||
); | ||
|
||
export const images: Record<string, string> = {}; | ||
|
||
for (const key of Object.keys(glob)) { | ||
let symbol = key.replace("/src/assets/images/tokens/", "").replace(".svg", ""); | ||
const parts = key.split("/"); | ||
const filename = parts[parts.length - 1]; | ||
const symbol = filename.replace(/\.(svg|png)$/, ""); | ||
images[symbol] = glob[key]; | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.