pub fn abi_checker(artifact: &ContractArtifact) -> Vec<String>Expand description
Validate a contract artifact’s ABI for correctness.
Checks:
- At least one function exists
- All functions have names and valid selectors
- All parameter types are well-formed
- A constructor (initializer) exists
Returns a list of validation errors (empty = valid).