Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/clever-deer-poke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@bgd-labs/toolbox": patch
---

Patch quicknode avalanche url
1,454 changes: 1,454 additions & 0 deletions packages/toolbox/recordings/rpc-helpers_86922484/recording.har

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions packages/toolbox/src/browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export * from "./aave/umbrella/rewards";
export * from "./abis";
export * from "./math/binary";
export * from "./math/slot";
export * from "./ecosystem/addresses";
export * from "./ecosystem/explorers";
export * from "./ecosystem/tenderly";
export * from "./ecosystem/tenderly.types";
Expand Down
47 changes: 47 additions & 0 deletions packages/toolbox/src/ecosystem/addresses.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
import { ChainId } from "./chainIds";

// https://developers.velora.xyz/api/velora-api/velora-delta-api/contracts
export const VELORA_PORTIKUS = {
[ChainId.mainnet]: "0x0000000000bbF5c5Fd284e657F01Bd000933C96D",
[ChainId.base]: "0x0000000000bbF5c5Fd284e657F01Bd000933C96D",
[ChainId.optimism]: "0x0000000000bbF5c5Fd284e657F01Bd000933C96D",
[ChainId.arbitrum]: "0x0000000000bbF5c5Fd284e657F01Bd000933C96D",
[ChainId.polygon]: "0x0000000000bbF5c5Fd284e657F01Bd000933C96D",
[ChainId.bnb]: "0x0000000000bbF5c5Fd284e657F01Bd000933C96D",
};

/**
* The following is a list of venues that offer free flashloans
*/
export const BALANCER_VAULT_V2 = "0xBA12222222228d8Ba445958a75a0704d566BF2C8";
export const BALANCER_VAULT_V3 = "0xbA1333333333a1BA1108E8412f11850A5C319bA9";

export const UNISWAP_V4_MANAGER = {
[ChainId.mainnet]: "0x000000000004444c5dc75cB358380D2e3dE08A90",
[ChainId.base]: "0x498581ff718922c3f8e6a244956af099b2652b2b",
[ChainId.optimism]: "0x9a13f98cb987694c9f086b1f5eb990eea8264ec3",
[ChainId.arbitrum]: "0x360e68faccca8ca495c1b759fd9eee466db9fb32",
[ChainId.polygon]: "0x67366782805870060151383f4bbff9dab53e5cd6",
[ChainId.ink]: "0x360e68faccca8ca495c1b759fd9eee466db9fb32",
[ChainId.soneium]: "0x360e68faccca8ca495c1b759fd9eee466db9fb32",
[ChainId.avalanche]: "0x06380c0e0912312b5150364b9dc4542ba0dbbc85",
[ChainId.bnb]: "0x28e2ea090877bf75740558f6bfb36a5ffee9e9df",
[ChainId.celo]: "0x288dc841A52FCA2707c6947B3A777c5E56cd87BC",
[ChainId.megaeth]: "0xacb7e78fa05d562e0a5d3089ec896d57d057d38e",
};

export const MORPHO = {
[ChainId.mainnet]: "0xBBBBBbbBBb9cC5e90e3b3Af64bdAF62C37EEFFCb",
[ChainId.arbitrum]: "0x6c247b1F6182318877311737BaC0844bAa518F5e",
[ChainId.avalanche]: "0x895383274303AA19fe978AFB4Ac55C7f094f982C",
[ChainId.base]: "0xBBBBBbbBBb9cC5e90e3b3Af64bdAF62C37EEFFCb",
[ChainId.bnb]: "0x01b0Bd309AA75547f7a37Ad7B1219A898E67a83a",
[ChainId.celo]: "0xd24ECdD8C1e0E57a4E26B1a7bbeAa3e95466A569",
[ChainId.gnosis]: "0xB74D4dd451E250bC325AFF0556D717e4E2351c66",
[ChainId.ink]: "0x857f3EefE8cbda3Bc49367C996cd664A880d3042",
[ChainId.linea]: "0x6B0D716aC0A45536172308e08fC2C40387262c9F",
[ChainId.plasma]: "0x2fF74A46536f5c67ef5A42FD5B4e2Ed8A2cee249",
[ChainId.scroll]: "0x2d012EdbAdc37eDc2BC62791B666f9193FDF5a55",
[ChainId.soneium]: "0xE75Fc5eA6e74B824954349Ca351eb4e671ADA53a",
[ChainId.sonic]: "0xd6c916eB7542D0Ad3f18AEd0FCBD50C582cfa95f",
};
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export const alchemyNetworkMap = {
1328: "sei-testnet",
1329: "sei-mainnet",
1514: "story-mainnet",
1672: "pharos-mainnet",
1868: "soneium-mainnet",
1946: "soneium-minato",
2020: "ronin-mainnet",
Expand Down Expand Up @@ -65,7 +66,6 @@ export const alchemyNetworkMap = {
9746: "plasma-testnet",
10143: "monad-testnet",
10200: "gnosis-chiado",
10218: "tea-sepolia",
11011: "shape-sepolia",
11124: "abstract-testnet",
14601: "sonic-testnet",
Expand Down Expand Up @@ -104,6 +104,7 @@ export const alchemyNetworkMap = {
534352: "scroll-mainnet",
560048: "eth-hoodi",
685685: "gensyn-testnet",
688689: "pharos-atlantic",
763373: "ink-sepolia",
808813: "bob-sepolia",
5042002: "arc-testnet",
Expand Down
16 changes: 2 additions & 14 deletions packages/toolbox/src/ecosystem/generated/blockscoutExplorers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,6 @@ export const blockscoutExplorers = {
api: "https://bob-sepolia.explorer.gobob.xyz/api",
explorer: "https://bob-sepolia.explorer.gobob.xyz/"
},
113: {
api: "https://coston2-explorer.flare.network/api",
explorer: "https://coston2-explorer.flare.network/"
},
114: {
api: "https://coston2-explorer.flare.network/api",
explorer: "https://coston2-explorer.flare.network/"
Expand Down Expand Up @@ -769,8 +765,8 @@ export const blockscoutExplorers = {
explorer: "https://testnet.bitciexplorer.com"
},
1919: {
api: "https://explorer.turkchain1919.com/api",
explorer: "https://explorer.turkchain1919.com/"
api: "https://turkscan.com/api",
explorer: "https://turkscan.com"
},
1923: {
api: "https://explorer.swellnetwork.io/api",
Expand Down Expand Up @@ -1164,10 +1160,6 @@ export const blockscoutExplorers = {
api: "https://explore.steamexchange.io/api",
explorer: "https://explore.steamexchange.io/"
},
6342: {
api: "https://megaeth-testnet.blockscout.com/api",
explorer: "https://megaeth-testnet.blockscout.com/"
},
6343: {
api: "https://megaeth-testnet-v2.blockscout.com/api",
explorer: "https://megaeth-testnet-v2.blockscout.com/"
Expand Down Expand Up @@ -2276,10 +2268,6 @@ export const blockscoutExplorers = {
api: "https://explorer.saakuru.network/api",
explorer: "https://explorer.saakuru.network/"
},
7777777: {
api: "https://explorer.zora.energy/api",
explorer: "https://explorer.zora.energy/"
},
7890785: {
api: "https://blockscout.xga.com/api",
explorer: "https://blockscout.xga.com/"
Expand Down
Loading
Loading