diff --git a/src/factory/factory.ts b/src/factory/factory.ts index 6b06cb0..dab786b 100644 --- a/src/factory/factory.ts +++ b/src/factory/factory.ts @@ -1,4 +1,4 @@ -import { EmmetMultisig__factory } from "@emmet-contracts/web3"; +import { EmmetMultisig__factory, EmmetBridge__factory } from "@emmet-contracts/web3"; import { tonHandler } from "../chains/ton"; import { web3Helper } from "../chains/web3"; import { Chain, type ChainFactory } from "./types"; @@ -62,6 +62,10 @@ export function ChainFactoryBuilder( chainParams.multisigParams?.provider, ); + const bridge = EmmetBridge__factory.connect( + chainParams. + ) + const inner = async (chain: T) => { let helper = helpers.get(chain); if (helper === undefined) { diff --git a/src/factory/types/index.ts b/src/factory/types/index.ts index 3e8936a..3b2d571 100644 --- a/src/factory/types/index.ts +++ b/src/factory/types/index.ts @@ -98,6 +98,7 @@ export interface ChainFactory { getTransaction: (hash: string) => Promise; getExplorerStats: () => Promise; getTxCount: () => Promise; + getProtocolFee: () => Promise; } export interface Transaction { @@ -129,3 +130,7 @@ export interface ExplorerMeta { totalVolume: bigint; uniqueUser: bigint; } + +export interface IProtocolFee { + +} \ No newline at end of file