lit_rust_sdk/blockchain/
staking.rs

1#![allow(clippy::too_many_arguments)]
2
3use alloy::sol;
4
5sol!(// `all_derives` - derives standard Rust traits.
6    #![sol(all_derives)]
7    // `extra_derives` - derives additional traits by specifying their path.
8    #![sol(extra_derives(serde::Serialize, serde::Deserialize))]
9    #[sol(rpc)]
10    Staking,
11    "src/blockchain/abis/Staking.json"
12);