Advanced
Greg@greg
10/15/2023

I’m trying to write a contract that wraps a function on an existing contract + some extra logic Am I able to do that while only importing the interface of the existing contract, or do I need to reference the whole thing? More info here + in the reply https://warpcast.com/greg/0xce846ec3

In reply to @greg
Danny@ds
10/15/2023

Interface is fine. Technically you don’t even need that, just the method id (which is a hash of the signature).