core
core copied to clipboard
[Bug] expected parentheses
Component
sol! macro
What version of Alloy are you on?
No response
Operating System
Linux
Describe the bug
https://etherscan.io/address/0x00000000000001ad428e4906ae43d8f9852d0dd6
Might not be related, but it's very weird that the ABI internal types on that contract are enumSide instead of enum Side, or structConsiderationItem, or addresspayable.
Edit: it is related, these are the generated tokens. tuple again being parsed as the tuple type (tuple(uint, address, ...)).
interface Seaport_1_4 {
type addresspayable is address;
type enumBasicOrderType is uint8;
type enumItemType is uint8;
type enumOrderType is uint8;
type enumSide is uint8;
type structAdvancedOrder is tuple;
type structBasicOrderParameters is tuple;
type structOrder is tuple;
type structOrderComponents is tuple;
type structOrderParameters is tuple;
type structReceivedItem is tuple;
// ...
}
Nothing we can do here, the ABI for internalTypes is malformed.