From fdb7b45e6ae72160c2580e94b28655edee16b87c Mon Sep 17 00:00:00 2001 From: thi-investax Date: Mon, 31 Jul 2023 19:52:15 +0700 Subject: [PATCH] Add contract address for factory on mumbai --- package.json | 2 +- src/constants.ts | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 44304d0..4ba3194 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@ixswap1/v2-sdk", "license": "MIT", - "version": "1.3.2", + "version": "1.3.3", "description": "🛠 An SDK for building applications on top of IX Swap", "main": "dist/index.js", "typings": "dist/index.d.ts", diff --git a/src/constants.ts b/src/constants.ts index ba95d8c..a6905b1 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -1,13 +1,13 @@ import JSBI from 'jsbi' import { AddressMap } from './types/AddressMap' - // @TODO change it to IXS deploy... export const FACTORY_ADDRESS: AddressMap = { - 137: '0xc2D0e0bc81494adB71Ce9Aa350cC875DaE12D81D', - 42: '0x4983b160a8E0De9Cf6a055bd8750847DE3E14eE6', - 1: '0x1111111111111111111111111111111111111111', - 3: '0x1111111111111111111111111111111111111111' + 137: '0xc2D0e0bc81494adB71Ce9Aa350cC875DaE12D81D', + 42: '0x4983b160a8E0De9Cf6a055bd8750847DE3E14eE6', + 80001: '0xF8E10Dc0BEf764E0889F539b58fbDA00f7d9a2FD', + 1: '0x1111111111111111111111111111111111111111', + 3: '0x1111111111111111111111111111111111111111', } // init code hash, ref: periphery/contracts/libraries/IxsV2Library.sol#31 export const INIT_CODE_HASH = '0x972504bfd3259d3d8e5fc9fed5ec2ea5a969144c60dc7b3c0fd7091f7f40f435'