You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm in favor of this. Coming from Solidity, having an interface marked as a contract at the top, and then the actual contract having no designation - this always felt confusing to me.
Simple Summary
Use
interface
as the keyword for defining an interface.Motivation
VIP #885 added Interfaces to Vyper, but it chose the
contract
keyword, which in retrospect seems inconsistent with it's intended purpose.Specification
Just change the keyword. Consider deprecating it first. It would look like:
Backwards Compatibility
This VIP would not be backwards compatible and would require a small change from users.
Dependencies
Depends on #885, which is already implemented
Copyright
Copyright and related rights waived via CC0
The text was updated successfully, but these errors were encountered: