From f33e0927f423f7d0a4f7433082501fbe205e2567 Mon Sep 17 00:00:00 2001 From: Vitaliy Date: Wed, 27 Mar 2024 15:03:01 +0200 Subject: [PATCH] Issue #77 (#78) --- src/constants/index.ts | 3 ++- src/contracts/configs/Base.config.ts | 40 ++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 src/contracts/configs/Base.config.ts diff --git a/src/constants/index.ts b/src/constants/index.ts index 50aec6c..191305c 100644 --- a/src/constants/index.ts +++ b/src/constants/index.ts @@ -10,7 +10,7 @@ import { TomoChainConfig } from "../contracts/configs/Tomo.config" import { TelosMainChainConfig } from "../contracts/configs/TelosMain.config" import { MantaTestChainConfig } from "../contracts/configs/MantaTest.config" import { MantaChainConfig } from "../contracts/configs/Manta.config" - +import { BaseChainConfig } from "../contracts/configs/Base.config" export const DEFAULT_CHAIN_ID = 1 export const UINT_MINUS_ONE = "115792089237316195423570985008687907853269984665640564039457584007913129639935" @@ -27,5 +27,6 @@ AVAILABLE_CHAINS.set(245022934, NeonChainConfig) AVAILABLE_CHAINS.set(40, TelosMainChainConfig) AVAILABLE_CHAINS.set(3441005, MantaTestChainConfig) AVAILABLE_CHAINS.set(169, MantaChainConfig) +AVAILABLE_CHAINS.set(8453, BaseChainConfig) export const CUSTOMER_ACCOUNT_VARIABLE = "__CUSTOMER_ACCOUNT__" diff --git a/src/contracts/configs/Base.config.ts b/src/contracts/configs/Base.config.ts new file mode 100644 index 0000000..87d1030 --- /dev/null +++ b/src/contracts/configs/Base.config.ts @@ -0,0 +1,40 @@ +import type { TChainConfig } from "../../types/IThePoolzInterface" + +export const BaseChainConfig: TChainConfig = { + lockDealNFT: { + address: "0xb16BBDf683fFd6D92290F7610bb10f22f9c71e9e", + nameVersion: "LockDealNFT@0.9.1-ironblocks" + }, + vaultManager: { + address: "0x7ff9315f538df7ec76ec4815249dd30519726460", + nameVersion: "VaultManager@0.0.4-ironblocks" + }, + dealProvider: { + address: "0x2Bb9cFF524C76eb2eA27bC6cDbB93447115D8dcC", + nameVersion: "DealProvider@0.9.1-ironblocks" + }, + lockDealProvider: { + address: "0x6d77B5147CDE6Fa287c1266A33e09a09651D36d0", + nameVersion: "LockDealProvider@0.9.1-ironblocks" + }, + timedDealProvider: { + address: "0x3c845DbB07BdFdD73FbC5Df4bA47EdeA20BCa489", + nameVersion: "TimedDealProvider@0.9.1-ironblocks" + }, + collateralProvider: { + address: "0x7521fF2baca97397C8936E35dAc225f6bc1070Cf", + nameVersion: "CollateralProvider@0.9.6" + }, + refundProvider: { + address: "0x9c8F78E0aeAB8190c9d1DF7BEd0B26c1EDcB8DE6", + nameVersion: "RefundProvider@0.9.6" + }, + simpleBuilder: { + address: "0xA2A0bEEfda596Fdb321240dD283D8cBf65b252f1", + nameVersion: "SimpleBuilder@0.9.1-ironblocks" + }, + simpleRefundBuilder: { + address: "0x65f62efEb1A43064081443791d8C10Db0A1FB511", + nameVersion: "SimpleRefundBuilder@0.9.5" + } +}