30 lines
945 B
Plaintext
30 lines
945 B
Plaintext
@subsection Writer
|
||
|
||
A complement to ERC173, which allows definition of a class of super-users for a contract.
|
||
|
||
A super-user address may perform @emph{more} actions than a "normal" address, aswell as @emph{some} actions normally limited to the @emph{contract owner}.
|
||
|
||
If an @emph{contract owner} is defined, No super-user should be able to perform actions that @emph{contract owner} cannot perform.
|
||
|
||
Typically, only the @emph{contract owner}, if it is defined, can add or remove a super-user.
|
||
|
||
Some use-case examples of super-user actions include:
|
||
|
||
@itemize
|
||
@item
|
||
Mint new tokens.
|
||
@item
|
||
Change the amount dispensed by the faucet.
|
||
@item
|
||
Edit access control lists.
|
||
@end itemize
|
||
|
||
@table @dfn
|
||
@item ERC165 Interface identifier
|
||
@include ../../build/Writer.interface
|
||
@item Solidity interface definition
|
||
@include ../../build/contract_Writer.texi
|
||
@item Example implementation
|
||
@uref{https://git.grassecon.net/cicnet/erc20-demurrage-token.git}
|
||
@end table
|