multiversx_sc_meta_lib/contract/generate_proxy/
proxy_crate_gen.rs

1
2
3
4
5
6
7
8
use std::fs::File;

#[must_use]
pub(crate) fn create_file(proxy_file_name: &str) -> File {
    let file = format!("../{proxy_file_name}");

    File::create(file).expect("could not write proxy file")
}