Skip to content

Commit 0dde05e

Browse files
committed
Add serde_with dependency and implement multicall configuration in contract read logic
- Updated `Cargo.toml` to include `serde_with` version 3.14.0. - Enhanced `contract_read.rs` to support multicall configuration with detailed execution strategies. - Introduced `MulticallConfig` enum for flexible multicall handling, including enabling/disabling and custom addresses. - Refactored contract reading logic to utilize multicall by default, with fallback to direct calls on failure. - Improved error handling and response mapping for multicall results.
1 parent 9583209 commit 0dde05e

File tree

4 files changed

+372
-64
lines changed

4 files changed

+372
-64
lines changed

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

server/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,4 @@ utoipa = { version = "5.4.0", features = [
4040
] }
4141
utoipa-axum = "0.2.0"
4242
utoipa-scalar = { version = "0.3.0", features = ["axum"] }
43+
serde_with = "3.14.0"

0 commit comments

Comments
 (0)