Skip to content
This repository has been archived by the owner on Sep 18, 2023. It is now read-only.

Releases: Concordium/concordium-contracts-common

Release concordium-contracts-common 5.0.0

21 Nov 08:23
Compare
Choose a tag to compare

concordium-contracts-common 5.0.0 (2022-11-21)

  • Add support for smart contract V3 schemas.
  • Add type ModuleReference representing a module reference.
  • Implement SchemaType for OwnedEntrypointName and OwnedParameter.
  • Add type ExchangeRate representing an exchange rate between two quantities.
  • Make the following functions const: Duration::from_millis, Duration::from_seconds, Duration::from_minutes, Duration::from_hours and Duration::from_days.
  • Add is_account and is_contract methods to the Address type.
  • When deserializing according to Enum schema type, variant indices were
    erroneously parsed as u32 when more than 256 enum variants are specified.
    These are now parsed as u16 as intended.

Release concordium-contracts-common 3.1.0

08 Aug 09:57
Compare
Choose a tag to compare

concordium-contracts-common 3.1.0 (2022-08-04)

  • Extend schema type with ULeb128, ILeb128, ByteList and ByteArray.
    • ULeb128 and ILeb128 allow for integers of arbitrary size and are represented in JSON as a string containing the integer.
    • ByteList and ByteArray are byte specialized versions of List and Array and are represented in JSON as lowercase hex encoded strings.
  • Add new schema version which include the versioning in the serialization.
  • Use schema::Type::ByteList for [u8] implementation of SchemaType.
  • Introduce HasSize trait.
  • Implement Seek for Cursor when T implements HasSize.
  • Add traits Serial, Deserial, SerialCtx and DeserialCtx.
  • Add procedural macros for deriving Serial and Deserial.
  • Implement std::error:Error for error types, when std feature is enabled.

Release concordium-contracts-common-derive 1.0.0

08 Aug 09:59
Compare
Choose a tag to compare

This is the initial release of concordium-contracts-common-derive.

This crate splits some of the derive macros out of the concordium-std-derive crate so that they may be used off-chain.

Release version 2.0.0

05 Jan 09:43
Compare
Choose a tag to compare

Changelog

  • Update references to token to match token name (CCD).

Release version 1.0.0.

05 Oct 08:54
Compare
Choose a tag to compare
releases/concordium-contracts-common/1.0.0

Release version 1.

Release 0.4.0

12 May 07:54
Compare
Choose a tag to compare

concordium-contracts-common 0.4.0 (2021-05-12)

  • Add String to the schema.
  • Add ContractName and ReceiveName to schema.
  • Add ContractName and ReceiveName types for added type safety.