Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Compute Units #301

Merged
merged 15 commits into from
Nov 14, 2023
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
18 changes: 11 additions & 7 deletions src/components/ComputeUnits/ComputeUnitsTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,16 @@ const ComputeUnitsTable = ({ chain }): JSX.Element => {
const hrefPath = fixedPath[endpoint]
? fixedPath[endpoint]
: camelToSnakeCase(endpoint);
let additionalInfo = dynamic
? `+${price} CU${price > 1 ? "s" : ""} per ${
DynamicPriceUnits?.[endpoint]
}`
: "0";

if (endpoint === "getMultipleTokenPrices") {
additionalInfo =
"+5, if you add the query parameter include=perecent_change";
}
return (
<tr key={`${endpoint}-${index}`}>
<td>
Expand All @@ -87,13 +97,7 @@ const ComputeUnitsTable = ({ chain }): JSX.Element => {
</td>
<td>{path}</td>
<td>{price}</td>
<td>
{dynamic
? `+${price} CU${price > 1 ? "s" : ""} per ${
DynamicPriceUnits?.[endpoint]
}`
: 0}
</td>
<td>{additionalInfo}</td>
<td>{rateLimitCost}</td>
</tr>
);
Expand Down
28 changes: 0 additions & 28 deletions src/components/SupportedChains/EVM/authAPI/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,34 +95,6 @@ const EVMAuthChainData = () => {
EvmChain: "EvmChain.ARBITRUM",
Type: "Mainnet",
},
{
Name: "Gnosis",
"Chain Id (Int)": "100",
"Chain Id (Hex)": "0x64",
EvmChain: "EvmChain.GNOSIS",
Type: "Mainnet",
},
{
Name: "Gnosis Chiado",
"Chain Id (Int)": "10200",
"Chain Id (Hex)": "0x27d8",
EvmChain: "EvmChain.GNOSIS_CHIADO",
Type: "Testnet",
},
{
Name: "Chiliz",
"Chain Id (Int)": "88888",
"Chain Id (Hex)": "0x15b38",
EvmChain: "EvmChain.CHILIZ",
Type: "Mainnet",
},
{
Name: "Chiliz Spicy",
"Chain Id (Int)": "88882",
"Chain Id (Hex)": "0x15b32",
EvmChain: "EvmChain.CHILIZ_SPICY",
Type: "Testnet",
},
];

return <Table headers={headers} data={data} />;
Expand Down
42 changes: 0 additions & 42 deletions src/components/SupportedChains/EVM/streamsAPI/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,48 +137,6 @@ const EVMStreamChainData = () => {
"Blocks until confirmed": "",
Note: "🔥 NEW",
},
{
Chain: "Gnosis",
"Chain Id (Hex)": "0x64",
"Internal Transaction Supported": "❌ NO",
"Blocks until confirmed": "100",
Note: "🔥 NEW",
},
{
Chain: "Gnosis Chiado TEST",
"Chain Id (Hex)": "0x27d8",
"Internal Transaction Supported": "❌ NO",
"Blocks until confirmed": "100",
Note: "🔥 NEW",
},
{
Chain: "Chiliz",
"Chain Id (Hex)": "0x15b38",
"Internal Transaction Supported": "✅ YES",
"Blocks until confirmed": "100",
Note: "🔥 NEW",
},
{
Chain: "Chiliz Spicy TEST",
"Chain Id (Hex)": "0x15b32",
"Internal Transaction Supported": "✅ YES",
"Blocks until confirmed": "100",
Note: "🔥 NEW",
},
{
Chain: "BASE",
"Chain Id (Hex)": "0x2105",
"Internal Transaction Supported": "✅ YES",
"Blocks until confirmed": "100",
Note: "🔥 NEW",
},
{
Chain: "Base Goerli TEST",
"Chain Id (Hex)": "0x14a33",
"Internal Transaction Supported": "✅ YES",
"Blocks until confirmed": "100",
Note: "🔥 NEW",
},
];

return <Table headers={headers} data={data} />;
Expand Down
42 changes: 0 additions & 42 deletions src/components/SupportedChains/EVM/web3api/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,48 +95,6 @@ const EVMChainData = () => {
EvmChain: "EvmChain.ARBITRUM",
Type: "Mainnet",
},
{
Name: "Gnosis",
"Chain Id (Int)": "100",
"Chain Id (Hex)": "0x64",
EvmChain: "EvmChain.GNOSIS",
Type: "Mainnet",
},
{
Name: "Gnosis Chiado",
"Chain Id (Int)": "10200",
"Chain Id (Hex)": "0x27d8",
EvmChain: "EvmChain.GNOSIS_CHIADO",
Type: "Testnet",
},
{
Name: "Chiliz",
"Chain Id (Int)": "88888",
"Chain Id (Hex)": "0x15b38",
EvmChain: "EvmChain.CHILIZ",
Type: "Mainnet",
},
{
Name: "Chiliz Spicy",
"Chain Id (Int)": "88882",
"Chain Id (Hex)": "0x15b32",
EvmChain: "EvmChain.CHILIZ_SPICY",
Type: "Testnet",
},
{
Name: "Base",
"Chain Id (Int)": "8453",
"Chain Id (Hex)": "0x2105",
EvmChain: "EvmChain.BASE",
Type: "Mainnet",
},
{
Name: "Base Goerli",
"Chain Id (Int)": "84531",
"Chain Id (Hex)": "0x14a33",
EvmChain: "EvmChain.BASE_GOERLI",
Type: "Testnet",
},
];

return <Table headers={headers} data={data} />;
Expand Down