1 2 3 4 5 6 7 8 9 10 11 12 13 14
use sov_modules_api::{Context, ModuleInfo, StateMap}; #[derive(ModuleInfo)] struct TestStruct<C: Context> { #[address] pub address: C::Address, test_state1: StateMap<u32, u32>, #[state] test_state2: StateMap<Vec<u8>, u64>, } fn main() {}