Author: M^0 Labs
Updates the latest index and latest accrual time in storage.
Returns
<none>
uint128
index The new stored index for computing present amounts from principal amounts.
The current index that would be written to storage if updateIndex
is called.
The latest updated index.
The latest timestamp when the index was updated.
Emitted when the index is updated.
Parameters
index
uint128
The new index.
rate
uint32
The current rate.