update liquidation bot scripts

This commit is contained in:
2026-03-05 10:48:08 +08:00
parent e39529984d
commit e05762aa46
23 changed files with 436 additions and 49 deletions

View File

@@ -33,7 +33,6 @@ async function main() {
console.log('📋 Contract Addresses:');
console.log(' Lending Proxy:', deployment.lendingProxy);
console.log(' Price Feed:', deployment.lendingPriceFeedProxy);
console.log(' Base Token (USDC):', deployment.usdcAddress);
console.log('');
@@ -49,12 +48,6 @@ async function main() {
signer
);
const priceFeedContract = await hre.ethers.getContractAt(
'LendingPriceFeed',
deployment.lendingPriceFeedProxy,
signer
);
console.log('✅ Contracts initialized\n');
console.log('==========================================');
console.log('🔄 Starting main loop...\n');
@@ -75,7 +68,6 @@ async function main() {
// 执行清算逻辑
await liquidateUnderwaterBorrowers(
lendingContract,
priceFeedContract,
signer
);