fix: align treasury alert slashing fields with current schema
Some checks failed
Deploy to 110 WOOO Server / deploy (push) Failing after 7s
Some checks failed
Deploy to 110 WOOO Server / deploy (push) Failing after 7s
This commit is contained in:
@@ -21,8 +21,8 @@ export async function GET(request: Request) {
|
||||
|
||||
for (const slashing of newSlashings) {
|
||||
alerts.push(`🚨 [TREASURY ALERT - SLASHING]
|
||||
Agent ${slashing.slashed_agent_id} was penalized!
|
||||
💸 Amount Confiscated: ${(slashing.amount_cents / 100).toFixed(2)} USDC
|
||||
Agent ${slashing.agent_id} was penalized!
|
||||
💸 Amount Confiscated: ${(slashing.slashed_amount / 100).toFixed(2)} USDC
|
||||
💼 Transferred to Platform Treasury.`);
|
||||
}
|
||||
lastCheckedSlashingCount = currentSlashingCount;
|
||||
|
||||
Reference in New Issue
Block a user