-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #162 from marvin6en/main
myx : dex : update
- Loading branch information
Showing
8 changed files
with
512 additions
and
207 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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
number,timestamp | ||
2558733,1708684230 | ||
4603301,1714773599 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
export const enum CHAINS{ | ||
LINEA = 59144, | ||
} | ||
import {createPublicClient, http} from "viem"; | ||
import {linea} from "viem/chains" | ||
|
||
export const SUBGRAPH_URLS = { | ||
[CHAINS.LINEA]: "https://subgraph-linea.myx.finance/subgraphs/name/myx-subgraph" | ||
} | ||
export const SUBGRAPH_URL = "https://subgraph-linea.myx.finance/subgraphs/name/myx-subgraph" | ||
|
||
export const POOL_ADDRESS = "0x03f61a185efEEEFdd3Ba032AFa8A0259337CEd64"; | ||
|
||
export const client = createPublicClient({ | ||
chain: linea, | ||
transport: http("https://rpc.linea.build") | ||
}) |
Oops, something went wrong.