You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
interface Liq {
owner: string; // owner of this liquidatable position
liqPrice: number; // liquidation price in USD
collateral: string; // collateral asset address with prefix, eg ethereum:0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
collateralAmount: string; // native, non-decimal adjusted token amount, eg 1 ETH will be "1000000000000000000"
extra?: {
displayName?: string; // name of owner to be displayed on positions inspector
url: string; // link to "spy" inspector provided by the protocol, or blockchain explorer
The text was updated successfully, but these errors were encountered:
interface LiquidationAdapter {
// chain name
[chain: string]: {
liquidations: () => Promise<Liq[]>;
};
}
interface Liq {
owner: string; // owner of this liquidatable position
liqPrice: number; // liquidation price in USD
collateral: string; // collateral asset address with prefix, eg
ethereum:0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
collateralAmount: string; // native, non-decimal adjusted token amount, eg 1 ETH will be
"1000000000000000000"
extra?: {
displayName?: string; // name of owner to be displayed on positions inspector
url: string; // link to "spy" inspector provided by the protocol, or blockchain explorer
The text was updated successfully, but these errors were encountered: