cic-contracts/doc/texinfo/digest.sol.texi
2023-03-26 12:04:31 +01:00

18 lines
586 B
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@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