File tree 2 files changed +2
-3
lines changed
modules/sources/contracts/v3
2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,6 @@ import VaultV3Abi from '../abis/VaultV3';
4
4
import { formatEther } from 'viem' ;
5
5
import type { PoolDynamicUpsertData } from '../../../../prisma/prisma-types' ;
6
6
7
- export type { PoolDynamicUpsertData } ;
8
-
9
7
// TODO: Find out if we need to do that,
10
8
// or can somehow get the correct type infered automatically from the viem's result set?
11
9
type PoolConfig = AbiParameterToPrimitiveType < ExtractAbiFunction < typeof VaultV3Abi , 'getPoolConfig' > [ 'outputs' ] [ 0 ] > ;
Original file line number Diff line number Diff line change 1
1
import { ViemClient } from '../../viem-client' ;
2
- import { PoolDynamicUpsertData , fetchPoolData } from './fetch-pool-data' ;
2
+ import { fetchPoolData } from './fetch-pool-data' ;
3
3
import { ProtocolFees , fetchProtocolFees } from './fetch-protocol-fees' ;
4
+ import { PoolDynamicUpsertData } from '../../../../prisma/prisma-types' ;
4
5
5
6
export interface VaultClient {
6
7
fetchPoolData : ( pools : string [ ] , blockNumber ?: bigint ) => Promise < { [ address : string ] : PoolDynamicUpsertData } > ;
You can’t perform that action at this time.
0 commit comments