-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Closed as not planned
Labels
closed due inactivityThe issue/PR was automatically closed due to inactivity.The issue/PR was automatically closed due to inactivity.language design
Any changes to the language, e.g. new featuresAny changes to the language, e.g. new featuresstaleThe issue/PR was marked as stale because it has been open for too long.The issue/PR was marked as stale because it has been open for too long.

Description
While this topic can be fairly big and we have a couple of issues open already here I only suggest a fairly small, non-intrusive addition:
meta(<contract name>)
to return a meta object (similar to block
, etc.). This would have the following defined currently:
.signatures
returnsbytes4[]
corresponding to the method signatures of the contract.name
returnsstring
as the name of the contract
The signatures could be utilised by proxy / filter contracts and for a way to implement interface checking between contracts (along the lines of ethereum/EIPs#165).
Two other possible methods:
.pragma(<key>)
returnsstring
of the actual pragma value or empty string if not set (or should the return type depend on the pragma type?).super
returnsmeta[]
corresponding to all the direct superclasses
Metadata
Metadata
Assignees
Labels
closed due inactivityThe issue/PR was automatically closed due to inactivity.The issue/PR was automatically closed due to inactivity.language design
Any changes to the language, e.g. new featuresAny changes to the language, e.g. new featuresstaleThe issue/PR was marked as stale because it has been open for too long.The issue/PR was marked as stale because it has been open for too long.
