-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(soneium): integrate soneium (#1376)
* feat(soneium): integrate soneium Signed-off-by: james-a-morris <[email protected]> * improve: update soneium routes Signed-off-by: james-a-morris <[email protected]> * chore: update assets & routes Signed-off-by: james-a-morris <[email protected]> * improve: remove codename Signed-off-by: james-a-morris <[email protected]> * improve: add ETH routes Signed-off-by: james-a-morris <[email protected]> * fix: fix explorer url (#1377) --------- Signed-off-by: james-a-morris <[email protected]> Co-authored-by: amateima <[email protected]>
- Loading branch information
1 parent
b42d17f
commit 58fa06c
Showing
14 changed files
with
1,257 additions
and
129 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,10 +4,10 @@ | |
"private": true, | ||
"license": "AGPL-3.0-only", | ||
"dependencies": { | ||
"@across-protocol/constants": "^3.1.24", | ||
"@across-protocol/contracts": "^3.0.19", | ||
"@across-protocol/constants": "^3.1.30", | ||
"@across-protocol/contracts": "^3.0.25", | ||
"@across-protocol/contracts-v3.0.6": "npm:@across-protocol/[email protected]", | ||
"@across-protocol/sdk": "^3.4.10", | ||
"@across-protocol/sdk": "^3.4.12", | ||
"@amplitude/analytics-browser": "^2.3.5", | ||
"@balancer-labs/sdk": "1.1.6-beta.16", | ||
"@emotion/react": "^11.13.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
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import { CHAIN_IDs, PUBLIC_NETWORKS } from "@across-protocol/constants"; | ||
import { utils as sdkUtils } from "@across-protocol/sdk"; | ||
import { ChainConfig } from "../types"; | ||
|
||
const { getDeployedAddress, getDeployedBlockNumber } = sdkUtils; | ||
|
||
const chainId = CHAIN_IDs.SONEIUM; | ||
const chainInfoBase = PUBLIC_NETWORKS[chainId]; | ||
|
||
export default { | ||
...chainInfoBase, | ||
logoPath: "./assets/logo.svg", | ||
grayscaleLogoPath: "./assets/grayscale-logo.svg", | ||
spokePool: { | ||
address: getDeployedAddress("SpokePool", chainId), | ||
blockNumber: getDeployedBlockNumber("SpokePool", chainId), | ||
}, | ||
chainId, | ||
publicRpcUrl: "https://rpc.soneium.org", | ||
blockTimeSeconds: 2, | ||
tokens: ["WETH", "ETH", "USDC.e"], | ||
enableCCTP: false, | ||
} as ChainConfig; |
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
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.