Standard interface detection

A meta-standard should exist for introspection into which contracts provide access to which interfaces.

References from the EVM world:

10 Likes

Hey @david, here’s an open issue where we are currently discussing this topic: Consider appending data to a contract's bytecode which decribes which `abi`s the contract implements. · Issue #3234 · FuelLabs/sway · GitHub

Of course, we could simply adopt a standard from ethereum (ERC-1820 is the most flexible in my opinion), but any standard in this area will need to factor features available to us in Sway and the FuelVM.

4 Likes