sov-modules-macros 0.2.0

Macros for use with the Sovereign SDK module system
Documentation
use sov_modules_api::{Context, ModuleInfo};
use sov_state::StateMap;

#[derive(ModuleInfo)]
struct TestStruct<C: Context> {
    #[address]
    address_1: C::Address,

    #[address]
    address_2: C::Address,

    #[state]
    test_state1: StateMap<u32, u32>,

    #[state]
    test_state2: StateMap<Vec<u8>, u64>,
}

fn main() {}