multiversx_sc_meta_lib::abi_json

Function abi_to_json_dummy_environment

Source
pub fn abi_to_json_dummy_environment(contract_abi: &ContractAbi) -> String
Expand description

Same as contract_abi, but allows caller to replace the compiler metadata, so that ABI tests are deterministc and independent on compiler version. Will return the main contract ABI + view contract ABI.