Skip to content

Commit fb06abf

Browse files
committed
Fix lint error
1 parent 8b85ffc commit fb06abf

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

packages/thirdweb/src/assets/bootstrap.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ export async function getDeployedAssetFactory(args: ClientAndChain) {
329329
return assetFactory;
330330
}
331331

332-
export function getInitCodeHashERC1967(implementation: string) {
332+
function getInitCodeHashERC1967(implementation: string) {
333333
// See `initCodeHashERC1967` - LibClone {https://github.com/vectorized/solady/blob/main/src/utils/LibClone.sol}
334334
return keccak256(
335335
`0x603d3d8160223d3973${implementation.toLowerCase().replace(/^0x/, "")}60095155f3363d3d373d3d363d7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc545af43d6000803e6038573d6000fd5b3d6000f3`,

packages/thirdweb/src/assets/create-token-by-impl-config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import {
2222
import { getOrDeployEntrypointERC20 } from "./get-entrypoint-erc20.js";
2323
import { getOrDeployERC20AssetImpl } from "./get-erc20-asset-impl.js";
2424

25-
export type TokenParams = {
25+
type TokenParams = {
2626
name: string;
2727
description?: string;
2828
image?: FileOrBufferOrString;
@@ -34,14 +34,14 @@ export type TokenParams = {
3434
owner?: string;
3535
};
3636

37-
export type PoolConfig = {
37+
type PoolConfig = {
3838
amount: bigint;
3939
currency?: string;
4040
fee?: number;
4141
initialTick?: number;
4242
};
4343

44-
export type CreateTokenOptions = ClientAndChainAndAccount & {
44+
type CreateTokenOptions = ClientAndChainAndAccount & {
4545
salt?: string;
4646
params: TokenParams;
4747
poolConfig?: PoolConfig;

packages/thirdweb/src/assets/create-token.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export type TokenParams = {
3131
owner?: string;
3232
};
3333

34-
export type PoolConfig = {
34+
type PoolConfig = {
3535
amount: bigint;
3636
currency?: string;
3737
fee?: number;

0 commit comments

Comments
 (0)