Skip to content

Commit 9a4bef5

Browse files
committed
redundant type export
1 parent 74f1cc4 commit 9a4bef5

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Diff for: modules/sources/contracts/v3/fetch-pool-data.ts

-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ import VaultV3Abi from '../abis/VaultV3';
44
import { formatEther } from 'viem';
55
import type { PoolDynamicUpsertData } from '../../../../prisma/prisma-types';
66

7-
export type { PoolDynamicUpsertData };
8-
97
// TODO: Find out if we need to do that,
108
// or can somehow get the correct type infered automatically from the viem's result set?
119
type PoolConfig = AbiParameterToPrimitiveType<ExtractAbiFunction<typeof VaultV3Abi, 'getPoolConfig'>['outputs'][0]>;

Diff for: modules/sources/contracts/v3/vault-client.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { ViemClient } from '../../viem-client';
2-
import { PoolDynamicUpsertData, fetchPoolData } from './fetch-pool-data';
2+
import { fetchPoolData } from './fetch-pool-data';
33
import { ProtocolFees, fetchProtocolFees } from './fetch-protocol-fees';
4+
import { PoolDynamicUpsertData } from '../../../../prisma/prisma-types';
45

56
export interface VaultClient {
67
fetchPoolData: (pools: string[], blockNumber?: bigint) => Promise<{ [address: string]: PoolDynamicUpsertData }>;

0 commit comments

Comments
 (0)