viem icon indicating copy to clipboard operation
viem copied to clipboard

feat: publicActionsL1 decorator for zkSync

Open kiriyaga-txfusion opened this issue 2 months ago • 2 comments

PR-Codex overview

This PR introduces enhancements to the zksync project, including new error handling, utility functions, and public actions for Layer 1.

Detailed summary

  • Added TokenIsETHError for ETH token handling
  • Implemented isETH utility function
  • Added public actions for Layer 1 operations
  • Updated contract calling and balance retrieval functions

The following files were skipped due to too many changes: src/zksync/decorators/publicL1.test.ts, site/pages/zksync/actions/getBalanceL1.md, site/pages/zksync/actions/getAllowanceL1.md, src/zksync/actions/getAllowanceL1.test.ts, src/zksync/actions/getBalanceL1.test.ts, src/zksync/actions/getBalanceOfTokenL1.test.ts, src/zksync/decorators/publicL1.ts

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

kiriyaga-txfusion avatar Apr 26 '24 12:04 kiriyaga-txfusion