Compare commits
3 Commits
1264d91f5c
...
fbe32e78ab
Author | SHA1 | Date | |
---|---|---|---|
|
fbe32e78ab | ||
|
2c04e6f0de | ||
|
ce3fc962d6 |
@ -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
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -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]);
|
||||||
|
|
||||||
|
@ -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"
|
||||||
|
@ -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,
|
||||||
}),
|
}),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user