mev-inspect
Version:
A JS port of 'mev-inspect-py' optimised for ease of use.
18 lines • 529 B
TypeScript
import { Erc20Asset, Repayment, Searcher, Seizure } from '../classifier/index.js';
interface Liquidation {
seizure: Seizure;
repayment: Repayment;
liquidator: Searcher;
borrower: string;
collateral: {
asset: Erc20Asset;
amount: bigint;
};
debt: {
asset: Erc20Asset;
amount: bigint;
};
}
declare function getLiquidations(repayments: Repayment[], seizures: Seizure[]): Liquidation[];
export { Liquidation, getLiquidations };
//# sourceMappingURL=liquidations.d.ts.map