Version 0.8.0 (2019-06-14) ========================== * [[#598]](https://github.com/CasperLabs/CasperLabs/pull/598) Factors out `URef` from `Key` variant to its own type. * [[#599]](https://github.com/CasperLabs/CasperLabs/pull/599) Adds `purseId` object to an `Account`. Version 0.7.0 (2019-06-09) ========================== * [[#563]](https://github.com/CasperLabs/CasperLabs/pull/563) Change encoding of URef's access rights to `Option<..>`. * [[#604]](https://github.com/CasperLabs/CasperLabs/pull/604) Fixed serialization bug in URef's access rights encoding. Version 0.6.0 (2019-05-28) ========================== * `read_local` and `write_local` functions are defined for interacting with the new "context-local partitions of global state". Version 0.5.0 (2019-04-10) ========================== * API method `call_contract` has been simplified. Instead of requiring arguments passed in the binary form it now accepts tuples up to 8 elements. It is required that for every type in the tuple there exists an instance of `ToBytes` trait. Version 0.4.0 (2019-04-03) ========================== * [[#327]](https://github.com/CasperLabs/CasperLabs/pull/327)`new_uref` FFI now requires an initial value. This prevents creating "dangling" `URef`s. Version 0.2.0 (2019-03-14) ========================== * [[#236]](https://github.com/CasperLabs/CasperLabs/pull/236)Renamed `ext` module to `contract_api` * Replaced untyped pointers in the FFI with typed versions * [[#236]](https://github.com/CasperLabs/CasperLabs/pull/236) `new_uref` method now expects initial value (of some type `T`) and produces typed, unforgeable reference (`UPointer`) * [[#236]](https://github.com/CasperLabs/CasperLabs/pull/236) Changed the API for interacting with the Global State. Following FFI functions operate on unforgeable references only: - `read`. Accepts typed unforgeable reference (`UPointer`) and returns `T` (or `panic!`s if value under the key can't be parsed as `T` - `write`. Accepts typed unforgeable reference (`UPointer`) and value of type `T` - `add`. Accepts typed unforgeable reference (`UPointer`) and value of type `T`. May `panic` if `T` is not a `Monoid` (cannot add two values of type `T`) or the value living under the unforgeable reference is not of type `T` - `store_function` now returns `ContractPointer` - `call_contract` accepts `ContractPointer` * [[#255]](https://github.com/CasperLabs/CasperLabs/pull/255) Added implementations for `From`/`TryFrom` for easy conversion between `value::Value` and rust base types