cic-contracts/doc/texinfo/digest.sol.texi

21 lines
595 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.
@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}