@dolomite-exchange/dolomite-margin
Version:
Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol
9 lines (8 loc) • 535 B
TypeScript
import { Contracts } from '../lib/Contracts';
import { address, ContractCallOptions, Decimal, Integer, TxResult } from '../types';
export declare class LiquidatorProxyV1 {
private contracts;
constructor(contracts: Contracts);
get address(): address;
liquidate(accountOwner: address, accountNumber: Integer, liquidOwner: address, liquidNumber: Integer, minLiquidatorRatio: Decimal, minValueLiquidated: Integer, owedPreferences: Integer[], heldPreferences: Integer[], options?: ContractCallOptions): Promise<TxResult>;
}