/// Return the ABI of the script (including the bytecode).
Return the ABI of the script (including the bytecode).
Return the ABI of the script ( including the bytecode ) .
pub fn abi(self) -> ScriptABI {
        let mut path = PathBuf::from(self.name());
        path.set_extension("abi");
        let content = TXN_SCRIPTS_ABI_DIR
            .get_file(path.clone())
            .unwrap_or_else(|| panic!("File {:?} does not exist", path))
            .contents();
        lcs::from_bytes(content)
            .unwrap_or_else(|err| panic!("Failed to deserialize ABI file {:?}: {}", path, err))
    }
pub fn abi ( self ) -> ScriptABI { let mut path = PathBuf :: from ( self . name ( ) ) ; path . set_extension ( " " ) ; let content = TXN_SCRIPTS_ABI_DIR . get_file ( path . clone ( ) ) . unwrap_or_else ( | | panic ! ( " " path ) ) . contents ( ) ; lcs :: from_bytes ( content ) . unwrap_or_else ( | err | panic ! ( " " path err ) ) }
Return the ABI of the script (including the bytecode).
Return the ABI of the script ( including the bytecode ) .
self