Content pfp
Content
@
0 reply
0 recast
2 reactions

Greg pfp
Greg
@greg
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
1 reply
1 recast
8 reactions

Danny pfp
Danny
@ds
Interface is fine. Technically you don’t even need that, just the method id (which is a hash of the signature).
1 reply
0 recast
4 reactions

Greg pfp
Greg
@greg
Oh nice! So I guess something else is causing my issues 🤔 Regardless of the value passed to my function, the base contract always says it’s not enough. Same value passed to the base contract works just fine 🫠
1 reply
0 recast
1 reaction