Skip to content

Commit

Permalink
Issue #77 (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
DVitaliy authored Mar 27, 2024
1 parent e5f09fa commit f33e092
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/constants/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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__"
40 changes: 40 additions & 0 deletions src/contracts/configs/Base.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
import type { TChainConfig } from "../../types/IThePoolzInterface"

export const BaseChainConfig: TChainConfig = {
lockDealNFT: {
address: "0xb16BBDf683fFd6D92290F7610bb10f22f9c71e9e",
nameVersion: "[email protected]"
},
vaultManager: {
address: "0x7ff9315f538df7ec76ec4815249dd30519726460",
nameVersion: "[email protected]"
},
dealProvider: {
address: "0x2Bb9cFF524C76eb2eA27bC6cDbB93447115D8dcC",
nameVersion: "[email protected]"
},
lockDealProvider: {
address: "0x6d77B5147CDE6Fa287c1266A33e09a09651D36d0",
nameVersion: "[email protected]"
},
timedDealProvider: {
address: "0x3c845DbB07BdFdD73FbC5Df4bA47EdeA20BCa489",
nameVersion: "[email protected]"
},
collateralProvider: {
address: "0x7521fF2baca97397C8936E35dAc225f6bc1070Cf",
nameVersion: "[email protected]"
},
refundProvider: {
address: "0x9c8F78E0aeAB8190c9d1DF7BEd0B26c1EDcB8DE6",
nameVersion: "[email protected]"
},
simpleBuilder: {
address: "0xA2A0bEEfda596Fdb321240dD283D8cBf65b252f1",
nameVersion: "[email protected]"
},
simpleRefundBuilder: {
address: "0x65f62efEb1A43064081443791d8C10Db0A1FB511",
nameVersion: "[email protected]"
}
}

0 comments on commit f33e092

Please sign in to comment.