Skip to content

chore: refactor contract methods to reuse transaction handler#668

Open
0xwitty wants to merge 1 commit intobandada-infra:mainfrom
0xwitty:patch-3
Open

chore: refactor contract methods to reuse transaction handler#668
0xwitty wants to merge 1 commit intobandada-infra:mainfrom
0xwitty:patch-3

Conversation

@0xwitty
Copy link
Copy Markdown

@0xwitty 0xwitty commented Mar 26, 2025

Description

I refactored the contract methods to use a single sendTransaction function for all transactions, reducing code repetition. The existing method structure remains unchanged, ensuring consistency, while simplifying the addition of new methods in the future.

Does this introduce a breaking change?

  • Yes
  • No

Other information

No additional information.

Checklist

  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • I have run yarn prettier and yarn lint without getting any errors
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 26, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
bandada-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 26, 2025 8:55am
bandada-website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 26, 2025 8:55am

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.

1 participant