37 lines
1.4 KiB
Plaintext
37 lines
1.4 KiB
Plaintext
@subsection Accounts Index
|
|
|
|
Append-only list of addresses. 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}.
|
|
|
|
May optionally record 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,} (v0.5.1)
|
|
@end table
|
|
|
|
|
|
@subsection Accounts Index Mutable
|
|
|
|
Extends the functionality of @code{Accounts Index} to allow changes to the address list.
|
|
|
|
Addresses may be @emph{added}, @emph{removed}, aswell as @emph{deactivated} and @emph{activated}. Deactivated accounts still count towards the @code{entryCount}.
|
|
|
|
|
|
@table @dfn
|
|
@item ERC165 Interface identifier
|
|
@include ../../build/AccountsIndexMutable.interface
|
|
@item Solidity interface definition
|
|
@include ../../build/contract_AccountsIndexMutable.texi
|
|
@item Reference implementation
|
|
@uref{git://holbrook.no/eth-accounts-index.git,} (v0.5.1)
|
|
@end table
|