Skip to content

Commit b15abc7

Browse files
committed
Fix format
1 parent 1ef831a commit b15abc7

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
lines changed

packages/thirdweb/src/tokens/constants.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,3 @@ export const IMPLEMENTATIONS: Record<number, Record<string, string>> = {
1313
EntrypointERC20: "0x76d5aa9dEC618b54186DCa332C713B27A8ea70Ac",
1414
},
1515
};
16-

packages/thirdweb/src/tokens/get-entrypoint-erc20.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
import { getContract } from "../contract/contract.js";
2-
import type {
3-
ClientAndChain,
4-
} from "../utils/types.js";
2+
import type { ClientAndChain } from "../utils/types.js";
53
import { IMPLEMENTATIONS } from "./constants.js";
64

75
export async function getEntrypointERC20(options: ClientAndChain) {

packages/thirdweb/src/tokens/is-router-enabled.ts

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ export async function isPoolRouterEnabled(
2121
}
2222

2323
const poolRouterContract = getContract({
24-
address: poolRouterAddress,
25-
chain: options.chain,
26-
client: options.client,
27-
})
24+
address: poolRouterAddress,
25+
chain: options.chain,
26+
client: options.client,
27+
});
2828

2929
const [v3Adapter, v4Adapter] = await Promise.all([
3030
getAdapter({
@@ -34,9 +34,13 @@ export async function isPoolRouterEnabled(
3434
getAdapter({
3535
contract: poolRouterContract,
3636
adapterType: 2,
37-
})]);
37+
}),
38+
]);
3839

39-
if (v3Adapter.rewardLocker === ZERO_ADDRESS && v4Adapter.rewardLocker === ZERO_ADDRESS) {
40+
if (
41+
v3Adapter.rewardLocker === ZERO_ADDRESS &&
42+
v4Adapter.rewardLocker === ZERO_ADDRESS
43+
) {
4044
return false;
4145
}
4246

0 commit comments

Comments
 (0)