Skip to content

Commit

Permalink
stats about vaults vs. liquidation pairs
Browse files Browse the repository at this point in the history
  • Loading branch information
chuckbergeron committed Aug 16, 2023
1 parent 4fac1c1 commit ab7d0c2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/library/src/liquidatorArbitrageSwap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,10 @@ export async function liquidatorArbitrageSwap(

// Loop through all liquidation pairs
printSpacer();
console.log(chalk.white.bgBlack(` # of Liquidation Pairs: ${liquidationPairContracts.length} `));
console.log(chalk.white.bgBlack(` # of Vaults (Subgraph): ${vaultsWithContext.length} `));
console.log(
chalk.white.bgBlack(` # of Liquidation Pairs (RPC): ${liquidationPairContracts.length} `),
);
const stats: Stat[] = [];
// for (let i = 0; i < vaults.length; i++) {
for (let i = 0; i < liquidationPairContracts.length; i++) {
Expand Down

0 comments on commit ab7d0c2

Please sign in to comment.