Skip to content

Commit

Permalink
Merge pull request #50 from stc-community/develop
Browse files Browse the repository at this point in the history
feat(web utils): Update fuse contract , fuse-limit-abi.ts
  • Loading branch information
Jchicode authored Mar 1, 2024
2 parents de3080e + 43a7abe commit b660a54
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/utils/contract/fuse-limit-abi.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
import { getWritebleContractInstance } from "./web3";

import { getCurrentChain } from "@/config/chain";
// @ts-ignore
import ABI from "./fuse-limit-abi.json?raw";
const ADDR = "0x51aeb604fBfC7D40aB331ffFc007F246C2Db9180";

export async function getFuseLimitConrtact() {
const contract = await getWritebleContractInstance(ADDR, ABI);
const contract = await getWritebleContractInstance(
getCurrentChain().meshContract,
ABI
);

return contract;
}

0 comments on commit b660a54

Please sign in to comment.