Updates summary:
- make transaction id unique
- add support for DFT transaction history auto-scaling storage
- add more useful interface to standard, such as
owner : () -> (principal);
setOwner : (principal) -> (bool);
setExtend : (vec KeyValuePair) -> (bool);
setFee : (Fee) -> (bool);
setFeeTo : (text) -> (bool);
setLogo : (vec nat8) -> (bool);
allowancesByHolder : (text) -> (vec record { TokenHolder; nat }) query;
tokenInfo : () -> (TokenInfo) query;
lastTransactions : (nat64) -> (TxRecordsResult) query;
transactionById : (text) -> (TxRecordResult) query;
transactionByIndex : (nat) -> (TxRecordResult) query;
The repository is here , Leave your comments & advices to make it better , and any PR are welcome..