-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added auto-generated index.ts for chains and PinaxId type from file n…
…ames to avoid circular dependency / maintaining an index.
- Loading branch information
1 parent
290cc54
commit 7c682cd
Showing
55 changed files
with
23,335 additions
and
545 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 @@ | ||
node_modules/ |
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 +1 @@ | ||
export const IMG_BASE_URL = "https://pinax.network/vector/chain"; | ||
export const IMG_BASE_URL = "https://pinax.network/vector/chain"; |
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
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,27 +1,26 @@ | ||
import { Chain } from "@/utils/pinax/types"; | ||
import BLOCKTYPE from "../../types/block.types"; | ||
import Mainnet from "../mainnets"; | ||
import Standard from "../standards"; | ||
import GraphId from "../graphids"; | ||
import { IMG_BASE_URL } from "../../configs"; | ||
import { Chain } from "../../types/chain.types"; | ||
import BLOCKTYPE from "../blocktypes"; | ||
|
||
const chain: Chain = { | ||
id: Mainnet.ARWEAVE, | ||
id: "arweave", | ||
index: 4, | ||
graph_id: GraphId.ARWEAVE, | ||
graph_id: "arweave-mainnet", | ||
name: "Arweave", | ||
alt_names: [], | ||
released_at: "2023-12-01", | ||
img: "arweave", | ||
img_invert_color_dt: true, | ||
released_at: new Date("2023-12-01"), | ||
deprecated_at: undefined, | ||
img: new URL(`${IMG_BASE_URL}/arweave`), | ||
is_img_dt_invert: true, | ||
mainnet: "arweave", | ||
is_testnet: false, | ||
standard: Standard.ERC20, | ||
block_type: BLOCKTYPE.ARWEAVE, | ||
mainnet: Mainnet.ARWEAVE, | ||
standard: "erc20", | ||
block_type: BLOCKTYPE.arweave, | ||
supported_services: { | ||
firehose: true, | ||
substreams: false, | ||
rpc: false, | ||
}, | ||
}; | ||
|
||
export default chain; | ||
export default chain; |
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
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.