All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and adheres to Semantic Versioning.
- DLTPermit extension has been included, allowing the approval of a spender through message-based signing followingEIP-2612. It involves calling the permit function with signed parameters.
- DLTEnumerable extension has been added to track the amounts in both main IDs and sub-IDs, including
totalMainIds
,totalSubIds
,totalMainSupply
,totalSubSupply
,getSubIds
,subIdBalanceOf
functions. - The new
getSubIds
function retrieves all sub-IDs associated with a main ID.
- The
mainTotalSupply
has been renamed tototalMainSupply
in theDLTEnumerable
extension. - The
subTotalSupply
has been renamed tototalSubSupply
in theDLTEnumerable
extension. - Minor optimizations have been implemented in the
DLT
.
- The
totalMainIds
function has been removed, and the tracking of total main IDs has been moved to theDLTEnumerable
extension. - The
totalSupply
function has been removed. - The
mainTotalSupply
function has been removed, and the tracking of the main total supply has been moved to theDLTEnumerable
extension. - The
subTotalSupply
function has been removed, and the tracking of the total supply of a sub ID has been moved to theDLTEnumerable
extension. - The
totalSubIds
function has been removed, and the tracking of the number of sub IDs has been moved to theDLTEnumerable
extension.