Skip to content

Conversation

@aditya520
Copy link
Member

Summary

Rationale

How has this been tested?

  • Current tests cover my changes
  • Added new tests
  • Manually tested the code

@vercel
Copy link

vercel bot commented Aug 29, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
api-reference Ready Ready Preview Comment Sep 2, 2025 1:31pm
6 Skipped Deployments
Project Deployment Preview Comments Updated (UTC)
component-library Skipped Skipped Sep 2, 2025 1:31pm
developer-hub Skipped Skipped Sep 2, 2025 1:31pm
entropy-explorer Skipped Skipped Sep 2, 2025 1:31pm
insights Skipped Skipped Sep 2, 2025 1:31pm
proposals Skipped Skipped Sep 2, 2025 1:31pm
staking Skipped Skipped Sep 2, 2025 1:31pm

@aditya520 aditya520 changed the title chore(contract-manager) Entropy Dao Fees chore(contract-manager) Script to fetch Entropy Dao Fees Aug 29, 2025
Comment on lines 89 to 104
if (mainnetResults.length > 0) {
console.log("MAINNET CHAINS:");
console.log("─".repeat(80));
for (const result of mainnetResults) {
if (result.error) {
console.log(`${result.chainId.padEnd(20)} | ERROR: ${result.error}`);
} else {
const feesDisplay =
showEth && result.accruedFeesEth
? `${result.accruedFees.padStart(20)} Wei (${result.accruedFeesEth} ETH)`
: `${result.accruedFees.padStart(20)} Wei`;
console.log(`${result.chainId.padEnd(20)} | ${feesDisplay}`);
}
}
console.log("");
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

recommend using console.table for this, i used it for the entropy balance transfer script and its very nice

@vercel vercel bot temporarily deployed to Preview – developer-hub September 2, 2025 13:28 Inactive
@vercel vercel bot temporarily deployed to Preview – insights September 2, 2025 13:28 Inactive
@vercel vercel bot temporarily deployed to Preview – staking September 2, 2025 13:28 Inactive
@vercel vercel bot temporarily deployed to Preview – component-library September 2, 2025 13:28 Inactive
@vercel vercel bot temporarily deployed to Preview – proposals September 2, 2025 13:28 Inactive
@vercel vercel bot temporarily deployed to Preview – entropy-explorer September 2, 2025 13:28 Inactive
@aditya520 aditya520 merged commit ab26746 into main Sep 2, 2025
9 of 10 checks passed
@aditya520 aditya520 deleted the chore(contract-manager)-script-dao-fees branch September 2, 2025 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants