User Tools

Site Tools


Sidebar

Welcome to DIDO WIKI

dido:public:ra:xapend:xapend.b_stds:defact:ethereum:eip:erc_0165

EIP 165: ERC-165 Standard Interface Detection

Return to Ethereum ERCs

Note: The following is an excerpt from the official Ethereum site. It is provided here as a convenience and is not authoritative. Refer to the original document as the authoritative reference.
Table 1: Data sheet for Standard Interface Detection
Title Standard Interface Detection
Author Christian Reitwießner, Nick Johnson, Fabian Vogelsteller, Jordi Baylina, Konrad Feldmeier, William Entriken
Status Final
Created 2018-01-23
Description http://eips.ethereum.org/EIPS/eip-165
Specification http://eips.ethereum.org/EIPS/eip-165#Specification
Category ERC
Requires EIP 214

Simple Summary

: Creates a standard method to publish and detect what interfaces a smart contract implements.

Abstract

Herein, we standardize the following:
1. How interfaces are identified
2. How a contract will publish the interfaces it implements
3. How to detect if a contract implements ERC-165
4. How to detect if a contract implements any given interface

Motivation

For some “standard interfaces” like the ERC-20 token interface, it is sometimes useful to query whether a contract supports the interface and if yes, which version of the interface, in order to adapt the way in which the contract is to be interacted with. Specifically for ERC-20, a version identifier has already been proposed. This proposal standardizes the concept of interfaces and standardizes the identification (naming) of interfaces.
dido/public/ra/xapend/xapend.b_stds/defact/ethereum/eip/erc_0165.txt · Last modified: 2022/02/03 16:49 by 86.125.5.245
Translations of this page: