mev-inspect
Version:
A JS port of 'mev-inspect-py' optimised for ease of use.
7 lines • 348 B
TypeScript
import { Classifiers } from '../base.js';
type PoolType = 'linear' | 'exponential';
declare function getEffectivePrice(type: PoolType, fee: bigint, delta: bigint, nextSpotPrice: bigint, swapIn: boolean): bigint;
declare const CLASSIFIER: Classifiers;
export default CLASSIFIER;
export { getEffectivePrice };
//# sourceMappingURL=sudoswapV1.d.ts.map