Skip to content

refactor: replace contract wrappers with native viem readContract#729

Open
alxdca wants to merge 2 commits into
refactor/dedup-request-preparationfrom
refactor/add-generic-read-function
Open

refactor: replace contract wrappers with native viem readContract#729
alxdca wants to merge 2 commits into
refactor/dedup-request-preparationfrom
refactor/add-generic-read-function

Conversation

@alxdca

@alxdca alxdca commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Replace contract-specific viem client decorators and read wrappers with native readContract calls using exported ABI/config objects.

Why / Context

  • Contract-specific decorators duplicated encoding and transaction preparation behavior across ArbOwner, ArbAggregator, Rollup, and SequencerInbox integrations.
  • Using viem's native contract reads and shared request helpers reduces the SDK's wrapper surface while preserving strongly typed function names and arguments.

@alxdca
alxdca requested a review from spsjvc July 15, 2026 13:38
@alxdca alxdca changed the title refactor: use single generic contract read function refactor: replace contract wrappers with native viem readContract Jul 15, 2026
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