raise ValueError(new_error_message) from exc
ValueError: Could not format invalid value ['function mint(uint256,uint256,uint256,uint256,bytes)'] as field 'abi'
### Full error output
_No response_
### Fill this section in if you know how this could or should be fixed
_No response_
### web3 Version
6.16
### Python Version
3.12.1
### Operating System
osx
### Output from `pip freeze`
_No response_
What happened?
Code that produced the error