hotfix pix key argument name at wantSellComponent.vue. New addresses from updated smart contract deploy at the testnets

This commit is contained in:
brunoedcf
2023-02-15 13:16:49 -03:00
parent 9c0a527970
commit c8982edb35
4 changed files with 36 additions and 8 deletions

View File

@@ -16,8 +16,8 @@ const getP2PixAddress = (): string => {
const etherStore = useEtherStore();
const possibleP2PixAddresses: { [key: string]: string } = {
Ethereum: "0xefa5cE4351cda51192509cf8De7d8881ADAE95DD",
Polygon: "0xA9258eBb157E4cf5e756b77FDD0DF09C2F73240b",
Ethereum: "0x2414817FF64A114d91eCFA16a834d3fCf69103d4",
Polygon: "0x4A2886EAEc931e04297ed336Cc55c4eb7C75BA00",
};
return possibleP2PixAddresses[etherStore.networkName];

View File

@@ -20,12 +20,12 @@ const getNetworksLiquidity = async (): Promise<void> => {
); // mumbai provider
const p2pContractGoerli = new ethers.Contract(
"0xefa5cE4351cda51192509cf8De7d8881ADAE95DD",
"0x2414817FF64A114d91eCFA16a834d3fCf69103d4",
p2pix.abi,
goerliProvider
);
const p2pContractMumbai = new ethers.Contract(
"0xA9258eBb157E4cf5e756b77FDD0DF09C2F73240b",
"0x4A2886EAEc931e04297ed336Cc55c4eb7C75BA00",
p2pix.abi,
mumbaiProvider
);