1 2 3 4 5 6 7 8
// Two functions of one contract cannot share an id. #[arora_module::contract] pub trait Speak { #[export(id = "5e1f0000-0000-4000-8000-000000000001")] fn say(&mut self); #[export(id = "5e1f0000-0000-4000-8000-000000000001")] fn whisper(&mut self); } fn main() {}