tornado-core/dist/prices.d.ts
2024-04-29 15:55:15 +00:00

10 lines
361 B
TypeScript

import { type Provider } from 'ethers';
import type { OffchainOracle, Multicall } from './typechain';
export declare class TokenPriceOracle {
oracle?: OffchainOracle;
multicall: Multicall;
provider: Provider;
constructor(provider: Provider, multicall: Multicall, oracle?: OffchainOracle);
fetchPrices(tokens: string[]): Promise<bigint[]>;
}