I'm using a 3rd party contract in one of my contracts. I've created an interface for the 3rd party, do I have to include every external method in the interface, or just the ones that I need to use in my contract?

1 Answer 1


The minimum is the functions your contract needs. Apart from possible code organization concerns on your side, there is no reason to include unused functions.

Hope it helps

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.