Skip to content

Commit

Permalink
fix: build
Browse files Browse the repository at this point in the history
  • Loading branch information
H34D committed Feb 7, 2024
1 parent 1fe09f1 commit c09aead
Show file tree
Hide file tree
Showing 3 changed files with 252 additions and 224 deletions.
6 changes: 3 additions & 3 deletions package.json
Expand Up @@ -44,7 +44,7 @@
"@layerzerolabs/lz-definitions": "^2.0.25",
"@layerzerolabs/lz-v2-utilities": "^2.0.25",
"@masa-finance/masa-contracts-identity": "^1.12.0",
"@masa-finance/masa-token": "^2.0.7",
"@masa-finance/masa-token": "^2.0.8",
"arweave": "1.11.8",
"axios": "^1.6.7",
"ethers": "~5.7.2",
Expand All @@ -55,8 +55,8 @@
"@types/chai": "^4.3.11",
"@types/circular-dependency-plugin": "^5.0.8",
"@types/mocha": "^10.0.6",
"@typescript-eslint/eslint-plugin": "^6.19.1",
"@typescript-eslint/parser": "^6.19.1",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"chai": "~4.4.1",
"circular-dependency-plugin": "^5.2.2",
"cross-env": "^7.0.3",
Expand Down
4 changes: 2 additions & 2 deletions src/modules/token/swap.ts
Expand Up @@ -5,7 +5,7 @@ import {
MasaToken__factory,
MasaTokenAdapter__factory,
MasaTokenOFT__factory,
} from "@masa-finance/masa-token/typechain";
} from "@masa-finance/masa-token/dist/typechain";
import { BigNumber, ethers, utils } from "ethers";

import { Messages, SupportedNetworks } from "../../collections";
Expand All @@ -26,7 +26,7 @@ export const swap = async (
masa: MasaInterface,
to: NetworkName,
amount: string,
slippage = 250,
slippage: number = 250,
) => {
const tokenAmount = BigNumber.from(utils.parseEther(amount));

Expand Down

0 comments on commit c09aead

Please sign in to comment.