18 lines
586 B
Plaintext
18 lines
586 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.
|
|||
|
|
|||
|
|
|||
|
@table @dfn
|
|||
|
@item ERC165 Interface identifier
|
|||
|
@include ../../build/Digest.interface
|
|||
|
@item Solidity interface definition
|
|||
|
@include ../../build/contract_Digest.texi
|
|||
|
@item Example implementation
|
|||
|
@uref{git://holbrook.no/eth-event-msg.git}
|
|||
|
@end table
|