Skip to content
Discussion options

You must be logged in to vote

Hello @TobiYusuf
An abstract contract (object) is something that could no be used by itself and should be used on another contract, basically is creating a contract with functions without specifying what those functions do.
So, let's suppose you have an abstract contract (all interfaces are abstract) with 5 functions, and you import it from another contract you would have to declare what each of does functions does on your new contract, otherwise the functionality will be incomplete. If that happen, the compiler complains saying that unless you implement all the methods (function) the new contract should be marked as abstract as well.
Here is a more detailed explanation:
https://docs.soli…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@TobiYusuf
Comment options

Answer selected by cromewar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants