PatrickAlphaC / hardhat-smartcontract-lottery-fcc

MIT License
117 stars 182 forks source link

why is the compiler asking to add "abstract" before the contract name ? #121

Closed Jaseempk closed 1 year ago

Jaseempk commented 1 year ago

Screenshot 2022-11-12 075643

@krakxn why is it asking to add the "abstract" term before the contract name?

krakxn commented 1 year ago

Good read: https://www.geeksforgeeks.org/solidity-abstract-contract/

Essentially, "Abstract contracts are contracts that have at least one function without its implementation or in the case when you don’t provide arguments for all of the base contract constructors".

Jaseempk commented 1 year ago

thanks