Add rate of change definition

This commit is contained in:
lash
2023-08-01 14:50:09 +01:00
parent 0fba11aeaf
commit 80671fdfaa
6 changed files with 145 additions and 15 deletions

View File

@@ -74,6 +74,8 @@ The following well-known solidity interfaces are partially implemented in CIC na
@include seal.sol.texi
@include tokenratechange.sol.texi
@include tokenvend.sol.texi
@include tokenvote.sol.texi

View File

@@ -0,0 +1,19 @@
@subsection TokenRateChange
Enables detection of properties for CIC tokens that change value over time, e.g. through demurrage.
It allows defining the granularity of the rate of change, aswell as a frequency for which the rate of change is applied.
A method for canonical value change calculations is also provided.
@table @dfn
@item ERC165 Interface identifier
@include ../../build/TokenRateChange.interface
@item Solidity interface definition
@include ../../build/contract_TokenRateChange.texi
@item Reference implementations
@itemize
@item
@uref{git://holbrook.no/erc20-demurrage-token.git,}
@end itemize
@end table