engine
                                
                                
                                
                                    engine copied to clipboard
                            
                            
                            
                        fix: Assert strict ABI type validation
Asserts type validation matching ABIType schema. Tested by pasting in an entire NFT contract ABI.
PR-Codex overview
This PR focuses on updating the handling of ABI (Application Binary Interface) in the contract-related code. It introduces a new schema for ABI and refactors functions to utilize the new structure, improving type safety and consistency across the codebase.
Detailed summary
- Changed 
abitype fromStatic<typeof abiArraySchema>toAbiingetContract.ts. - Updated 
write.ts,metadata/abi.ts,events.ts, andfunctions.tsto useAbiSchemainstead ofabiSchema. - Refactored 
getContractcalls togetContractV5. - Introduced new 
Abischemas inabi.tsfor better structure and validation. 
✨ Ask PR-Codex anything about this PR by commenting with
/codex {your question}