cic-contracts/doc/texinfo/accountsindex.sol.texi
2023-03-25 11:24:23 +00:00

19 lines
776 B
Plaintext

@subsection Accounts Index
Typically used for access control lists.
Addresses may be @emph{added}, @emph{removed}, aswell as @emph{deactivated} and @emph{activated}. Deactivated accounts still count towards the @code{entryCount}.
The @code{entry} method is used to iterate the account list. The order of which accounts are returned is not guaranteed. Any returned value matching @code{address(0x00)} should be skipped, and not counted towards @code{entryCount}.
Also records time when account was added.
@table @dfn
@item ERC165 Interface identifier
@include ../../build/AccountsIndex.interface
@item Solidity interface definition
@include ../../build/contract_AccountsIndex.texi
@item Reference implementation
@uref{git://holbrook.no/eth-accounts-index.git,}
@end table