v0.11.0
MaksymZavershynskyi
released this
08 Jun 23:43
·
1019 commits
to master
since this release
API breaking changes
- Renamed
Map
toUnorderedMap
andSet
toUnorderedSet
to reflect that one cannot rely on the order of the elements in them. In this PR and in #154
Other changes
-
Added ordered tree implementation based on AVL, see
TreeMap
. #154 -
Made module generated by
ext_contract
macro public, providing more flexibility for the usage: #150
Contract changes
- Fungible token now requires from the users to transfer NEAR tokens to pay for the storage increase to prevent the contract from locking the users from operating on it. #173
- Renaming method of fungible token
set_allowance
=>inc_allowance
. Addeddec_allowance
method. #174 - Remove possibility to do self-transfer in fungible token. #176
- Improving fungible token comments #177
- Add account check to
get_balance
in fungible token #175 - In fungible token remove account from storage if its balance is 0 #179