diff --git a/src/factory/config.ts b/src/factory/config.ts index 0eaf563..11c740f 100644 --- a/src/factory/config.ts +++ b/src/factory/config.ts @@ -1,61 +1,61 @@ -import { ethers, JsonRpcProvider } from 'ethers'; -import { TestNetRpcUri } from './rpcs'; -import { Address } from '@ton/core'; -import { TonClient } from '@ton/ton'; -import { sha256_sync } from '@ton/crypto'; -import type { ChainParams } from './types'; +import { ethers, JsonRpcProvider } from "ethers"; +import { TestNetRpcUri } from "./rpcs"; +import { Address } from "@ton/core"; +import { TonClient } from "@ton/ton"; +import { sha256_sync } from "@ton/crypto"; +import type { ChainParams } from "./types"; export namespace ChainFactoryConfigs { export function TestNet() { return { tonParams: { bridge: Address.parse( - 'kQA0KjCWZd6Sbc0o1utp7FVTVGqPmj-6BKk6fQjjrR6T-eIa' + "kQB0krjUWXxgw3j1ANu4Zs3bVsEMTaE94kuQh0lcEIfASNTp", ), client: new TonClient({ endpoint: - 'https://testnet.toncenter.com/api/v2/jsonRPC?api_key=9e899d38874458e92addb70d6f336ccbe51e21e378af5797486ba9a9d1a3c5c3', + "https://testnet.toncenter.com/api/v2/jsonRPC?api_key=9e899d38874458e92addb70d6f336ccbe51e21e378af5797486ba9a9d1a3c5c3", apiKey: - '9e899d38874458e92addb70d6f336ccbe51e21e378af5797486ba9a9d1a3c5c3', + "9e899d38874458e92addb70d6f336ccbe51e21e378af5797486ba9a9d1a3c5c3", }), - nativeTokenId: BigInt(`0x${sha256_sync('TON').toString('hex')}`), + nativeTokenId: BigInt(`0x${sha256_sync("TON").toString("hex")}`), oracle: Address.parse( - 'EQAx41_27fvdX4C30RxQmzbiLeHyO090XzGHBadgGfdp5Uqd' + "EQAx41_27fvdX4C30RxQmzbiLeHyO090XzGHBadgGfdp5Uqd", ), chainId: 65535n, // TON Testnet burner: Address.parse( - 'EQBtE7sxSqbDZwuWhxxQRzSZZ3UAm8j4mhR25iWS2xfEmZ6D' + "EQBtE7sxSqbDZwuWhxxQRzSZZ3UAm8j4mhR25iWS2xfEmZ6D", ), - chainName: 'tonTestnet', + chainName: "tonTestnet", }, bscParams: { - chainName: 'bscTestnet', + chainName: "bscTestnet", addressBook: ethers.getAddress( - '0x3564336Ad556295A368EEa2b2CA1a7D3f43B4029' + "0x3564336Ad556295A368EEa2b2CA1a7D3f43B4029", ), - nativeCoin: 'BNB', + nativeCoin: "BNB", provider: new JsonRpcProvider(TestNetRpcUri.BSC), }, polygonParams: { addressBook: ethers.getAddress( - '0x8d948925A0CB920c965C3296Eb4aef31EfE32ce9' + "0x8d948925A0CB920c965C3296Eb4aef31EfE32ce9", ), provider: new JsonRpcProvider(TestNetRpcUri.POLYGON), // oracle: ethers.getAddress("0x95DB799744A5b36D6E7BE9AD3b451dBC5b8De673"), - chainName: 'polygon', - nativeCoin: 'MATIC', + chainName: "polygon", + nativeCoin: "MATIC", }, ethParams: { addressBook: ethers.getAddress( - '0x8b87FE2b3f3D9816432b34D5A6a30B1330594082' + "0x8b87FE2b3f3D9816432b34D5A6a30B1330594082", ), - chainName: 'sepolia', - nativeCoin: 'ETH', + chainName: "sepolia", + nativeCoin: "ETH", provider: new JsonRpcProvider(TestNetRpcUri.ETH), }, multisigParams: { provider: new JsonRpcProvider(TestNetRpcUri.ETH), - ab: ethers.getAddress('0x8b87FE2b3f3D9816432b34D5A6a30B1330594082'), + ab: ethers.getAddress("0x8b87FE2b3f3D9816432b34D5A6a30B1330594082"), }, } satisfies Partial; }