Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
fadeev committed Mar 6, 2024
1 parent a35745f commit 878130a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/client/src/client.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { networks } from "@zetachain/networks";
import type { Wallet, Signer } from "ethers";
import type { Signer, Wallet } from "ethers";
import merge from "lodash/merge";

import {
Expand Down
2 changes: 1 addition & 1 deletion packages/client/src/deposit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@ export const deposit = async function (
throw new Error(`No TSS contract found for ${chain} chain.`);
}
const tx: {
data?: string;
to: string;
value: ethers.BigNumberish;
data?: string;
} = {
to: tss,
value: ethers.utils.parseUnits(amount, 18),
Expand Down
2 changes: 1 addition & 1 deletion packages/client/src/getBalances.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export interface TokenBalance {
*/
export const getBalances = async function (
this: ZetaChainClient,
{ evmAddress, btcAddress }: { evmAddress: string; btcAddress?: string }
{ evmAddress, btcAddress }: { btcAddress?: string; evmAddress: string }
): Promise<TokenBalance[]> {
let tokens = [];
const supportedChains = await this.getSupportedChains();
Expand Down
2 changes: 1 addition & 1 deletion packages/client/src/trackCCTX.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export const trackCCTX = async function (
hash,
json = false,
emitter = null,
}: { hash: string; json: Boolean; emitter: any }
}: { emitter: any; hash: string; json: Boolean }
): Promise<void> {
const spinners: any = {};

Expand Down
2 changes: 1 addition & 1 deletion packages/tasks/src/cctx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const trackCCTXInteractive = async (
.on("succeed", ({ hash, text }) => s.succeed(hash, { text }))
.on("fail", ({ hash, text }) => s.fail(hash, { text }))
.on("update", ({ hash, text }) => s.update(hash, { text }));
await client.trackCCTX({ hash, json, emitter });
await client.trackCCTX({ emitter, hash, json });
};

const main = async (args: any) => {
Expand Down

0 comments on commit 878130a

Please sign in to comment.