determine_language

Function determine_language 

Source
pub fn determine_language(code: &[u8]) -> Result<Language>
Expand description

Detects the programming language of a smart contract from its WebAssembly (Wasm) binary code.

This function accepts a Wasm code as input and employs a set of heuristics to identify the contract’s source language. It currently supports detection for Ink!, Solidity, and AssemblyScript languages.