fn require_native_method( native_methods: &mut BTreeMap<String, BTreeSet<String>>, contract: NativeContract, method: &str, )