21 lines
595 B
Plaintext
21 lines
595 B
Plaintext
@subsection Digest
|
||
|
||
Allows encoding of digests according to a specific encoding scheme.
|
||
|
||
Primary use-case is the abstraction of self-describing @uref{https://multiformats.io/multihash/,Multhash} encoding.
|
||
|
||
A default encoding @emph{must} always be defined, and the encoding of a valid digest @emph{must} succeed with the default encoding.
|
||
|
||
|
||
@subsubsection ERC165 Interface identifier
|
||
|
||
@include ../../build/Digest.interface
|
||
|
||
@subsubsection Solidity interface definition
|
||
|
||
@include ../../build/contract_Digest.texi
|
||
|
||
@subsubsection Example implementation
|
||
|
||
@uref{git://holbrook.no/eth-event-msg.git}
|