Protocol Changes in v3.6.0:
- FIP-001: Added smart contract support for Time-Lock and Fusion Assets. Smart contracts now support sending and receiving any assets including FSN, with or without Time-Lock. Head over to our Github FIP-001 #56 for instructions and samples, then build your automated Time-Lock Dapp.
- Added support for new EVM instructions (e.g. SHL, SHR)
- Proof-of-Stake (PoS) hash calculation upgraded to version V3: total ticket hash is no longer involved in the calculation.
- Fix for the issue where ticket purchase transactions were delayed for an extended period of time.
- Improved opSuicide operation in smart contracts, including transfer of asset balance and TimeLock balance.
- Testnet Network ID modified to match its Chain ID.
- Updated QuickNodeSetup node docker upgrade script.
- Stop transaction pool from accepting Time-Lock transfer transactions with empty receiving addresses.
- Enhanced detection of start and end times for ticket transactions.
API Changes in v3.6.0:
All original APIs remain compatible. The following additions has been made to the API based to better support developer needs:
- fsn.getLatestNotation — Get the latest short account address.
- fsn.getTimeLockValueByInterval — Get the Time-Lock balances filtered by time interval.
- fsntx.sendTimeLock — Used in conjunction with TimeLock and Asset to perform smart transfer.
- fsn.getAddressByNotation — Getting a destroyed short address (USAN) is reported directly instead of returning an empty address.