Returns the address of a contract that implements the specified interface for this name.
If an implementer has not been set for this interfaceID and name, the resolver will query
the contract at addr()
. If addr()
is set, a contract exists at that address, and that
contract implements EIP165 and returns true
for the specified interfaceID, its address
will be returned.
The MNS node to query.
The EIP 165 interface ID to check for.
The address that implements this interface, or 0 if the interface is unsupported.
Sets an interface associated with a name.
Setting the address to 0 restores the default behaviour of querying the contract at addr()
for interface support.
The node to update.
The EIP 165 interface ID.
The address of a contract that implements this interface for this node.
an array of TransactionReceipt objects
Returns true if this contract implements the interface defined by
interfaceId
. See the corresponding
https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
to learn more about how these ids are created.
This function call must use less than 30 000 gas. Defined in EIP181.
The MNS node to query.
if the interface is supported
Interface that represents an Interface Resolver