Skip to content

Commit

Permalink
Update addresses for mainnet staging
Browse files Browse the repository at this point in the history
  • Loading branch information
thi-investax committed Jul 25, 2024
1 parent 370e2dd commit 88b1dfb
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,26 @@ import { AddressMap } from './types/AddressMap'

// @TODO change it to IXS deploy...
export const FACTORY_ADDRESS: AddressMap = {
137: '0xc2D0e0bc81494adB71Ce9Aa350cC875DaE12D81D',
137: '0x6b6Bf0d95b2Bb39e225968E831Ec700337763846',
42: '0x4983b160a8E0De9Cf6a055bd8750847DE3E14eE6',
80001: '0xF8E10Dc0BEf764E0889F539b58fbDA00f7d9a2FD',
80002: '0xA9f8EB060f36ECa31a05C3920A78883f7F650312',
84532: '0x9aA5f0Fab0D7F13ff528a0d637DE343cf23A0218',
8453: '0x51CC508F1f4569073de51fe0Ef473E5E4E9BcdC0',
1: '0x1111111111111111111111111111111111111111',
3: '0x1111111111111111111111111111111111111111'
}
// init code hash, ref: periphery/contracts/libraries/IxsV2Library.sol#31
export const INIT_CODE_HASH = '0x972504bfd3259d3d8e5fc9fed5ec2ea5a969144c60dc7b3c0fd7091f7f40f435'
export const NEW_INIT_CODE_HASH = '0x68fc96abe1f9bdcc7a94b4c21b85f09e490c16b2d8160956269fb24dfb3eef64'

export const INIT_CODE_HASH_BY_CHAINID: AddressMap = {
137: INIT_CODE_HASH,
137: NEW_INIT_CODE_HASH,
42: INIT_CODE_HASH,
80001: INIT_CODE_HASH,
80002: '0x68fc96abe1f9bdcc7a94b4c21b85f09e490c16b2d8160956269fb24dfb3eef64',
84532: '0x68fc96abe1f9bdcc7a94b4c21b85f09e490c16b2d8160956269fb24dfb3eef64',
80002: NEW_INIT_CODE_HASH,
84532: NEW_INIT_CODE_HASH,
8453: NEW_INIT_CODE_HASH,
1: INIT_CODE_HASH,
3: INIT_CODE_HASH
}
Expand Down

0 comments on commit 88b1dfb

Please sign in to comment.