3 Commits
Author SHA1 Message Date
hueso fbe32e78ab Görli -> Sepolia
Deploy FrontEnd / deploy-staging (push) Has been cancelled
Deploy FrontEnd / deploy-production (push) Has been cancelled
CI script / lint (push) Has been cancelled
CI script / build (push) Has been cancelled
CI script / SonarCloud (push) Has been cancelled
2024-07-18 19:37:39 -03:00
hueso 2c04e6f0de add Rootstock testnet 2024-07-18 19:23:53 -03:00
hueso ce3fc962d6 fix chain detection 2024-07-18 19:23:09 -03:00
4 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ const getNetworksLiquidity = async (): Promise<void> => {
); );
const depositListRootstock = await getValidDeposits( const depositListRootstock = await getValidDeposits(
getTokenAddress(NetworkEnum.rsktestnet), getTokenAddress(NetworkEnum.rootstock),
p2pContractRootstock p2pContractRootstock
); );
+2 -2
View File
@@ -21,9 +21,9 @@ const updateWalletStatus = async (): Promise<void> => {
const signer = provider.getSigner(); const signer = provider.getSigner();
const { chainId } = await provider.getNetwork(); const { chainId } = await provider.getNetwork();
if(!isPossibleNetwork(chainId)){ if(!isPossibleNetwork(chainId.toString())){
window.alert("Invalid chain!:"+chainId); window.alert("Invalid chain!:"+chainId);
return false; return;
} }
etherStore.setNetworkName(possibleChains[chainId]); etherStore.setNetworkName(possibleChains[chainId]);
+1 -1
View File
@@ -491,7 +491,7 @@ onClickOutside(infoMenuRef, () => {
<div class="bg-white rounded-md z-10 h-full"> <div class="bg-white rounded-md z-10 h-full">
<div <div
class="menu-button gap-2 sm:px-4 rounded-md cursor-pointer py-2" class="menu-button gap-2 sm:px-4 rounded-md cursor-pointer py-2"
@click="networkChange(NetworkEnum.rsktestnet)" @click="networkChange(NetworkEnum.rootstock)"
> >
<img <img
alt="Rootstock image" alt="Rootstock image"
+2
View File
@@ -13,6 +13,8 @@ export const useEtherStore = defineStore("ether", {
depositsValidListSepolia: [] as ValidDeposit[], depositsValidListSepolia: [] as ValidDeposit[],
// Depósitos válidos para compra MUMBAI // Depósitos válidos para compra MUMBAI
depositsValidListMumbai: [] as ValidDeposit[], depositsValidListMumbai: [] as ValidDeposit[],
// Depósitos válidos para compra ROOTSTOCK
depositsValidListRootstock: [] as ValidDeposit[],
loadingWalletTransactions: false, loadingWalletTransactions: false,
loadingNetworkLiquidity: false, loadingNetworkLiquidity: false,
}), }),