2023-08-03 11:27:05 +02:00
|
|
|
|
@subsection TokenLimit
|
|
|
|
|
|
|
|
|
|
Define limits of value amounts of tokens that individual addresses can hold.
|
|
|
|
|
|
2023-08-03 15:13:26 +02:00
|
|
|
|
Limits are inclusive; a limit for 42 means transfer resulting in a token balance @emph{higher} than 42 should be rejected.
|
2023-08-03 11:34:38 +02:00
|
|
|
|
|
|
|
|
|
A return value of 0 indicates that the token is categorically not accepted by the holder.
|
|
|
|
|
|
2023-08-03 11:27:05 +02:00
|
|
|
|
@subsubsection ERC165 Interface identifier
|
|
|
|
|
|
|
|
|
|
@include ../../build/TokenLimit.interface
|
|
|
|
|
|
|
|
|
|
@subsubsection Solidity interface definition
|
|
|
|
|
|
|
|
|
|
@include ../../build/contract_TokenLimit.texi
|
|
|
|
|
|
|
|
|
|
@subsubsection Reference implementations
|
|
|
|
|
|
|
|
|
|
@itemize
|
|
|
|
|
@item
|
|
|
|
|
@uref{git://holbrook.no/erc20-limiter.git,}
|
|
|
|
|
@end itemize
|