Updated buy flux. Already able to lock.

This commit is contained in:
Filipe Soccol
2025-06-18 12:01:42 -03:00
parent fa2def812c
commit c7b2f1643c
10 changed files with 4157 additions and 3444 deletions

View File

@@ -3,6 +3,15 @@ export enum NetworkEnum {
rootstock = 31,
}
export const getNetworkSubgraphURL = (network: NetworkEnum | number) => {
const networkMap: Record<number, string> = {
[NetworkEnum.sepolia]: import.meta.env.VITE_SEPOLIA_SUBGRAPH_URL || "",
[NetworkEnum.rootstock]: import.meta.env.VITE_RSK_SUBGRAPH_URL || "",
};
return networkMap[typeof network === "number" ? network : network] || "";
};
export enum TokenEnum {
BRZ = "BRZ",
// BRX = 'BRX'