Skip to content

Releases: omni/tokenbridge-contracts

TokenBridge Contracts 4.1.0

09 Apr 12:22
dfe427b
Compare
Choose a tag to compare

This version of TokenBridge contracts supports operations in four modes:

  • native coin to an bridgeable ERC20 token;
  • an ERC20 token to a bridgeable ERC20 token;
  • an ERC20 token to a native coin;
  • relaying arbitrary messages (Arbitrary Message Bridging, AMB).

This release dedicated to publish the new feature allowing to collect fees on Arbitrary Message Bridge in form of Gas Tokens (https://docs.tokenbridge.net/amb-bridge/gas-token-minting).

The following changes are included in this update:

  • Improvement: Allow multiple bridges for token (#387)
  • Improvement: Use linked list to store the bridge set in the token (#391)
  • Improvement: Gas token integration (#378)
  • Improvement: Update interest receiver (#382)
  • Fix: Fix ChaiConnector behaviour when DSR is zero (#400)
  • Other: Bump version to acorn as per GitHub security recommendations (#383, #384, #385)

TokenBridge Contracts 4.0.3

25 Mar 19:35
5f57e8f
Compare
Choose a tag to compare

This version of TokenBridge contracts supports operations in four modes:

  • native coin to an bridgeable ERC20 token;
  • an ERC20 token to a bridgeable ERC20 token;
  • an ERC20 token to a native coin;
  • relaying arbitrary messages (Arbitrary Message Bridging, AMB).

No new functionality in this release. The upgrade script was updated:

  • Other: сall prepareToPOSDAO as part of upgrade home bridge implementation (#392)

TokenBridge Contracts 4.0.2

23 Mar 13:48
6fecdbc
Compare
Choose a tag to compare

This version of TokenBridge contracts supports operations in four modes:

  • native coin to an bridgeable ERC20 token;
  • an ERC20 token to a bridgeable ERC20 token;
  • an ERC20 token to a native coin;
  • relaying arbitrary messages (Arbitrary Message Bridging, AMB).

No new functionality in this release. The upgrade scripts were added to simplify migration to new bridge contract implementation for the xDai bridge:

  • Other: Add upgrade scripts for chai support on xdai bridge contracts (#379)
  • Other: Add home implementation upgrade script (#386)

TokenBridge Contracts 4.0.1

13 Mar 12:33
a5946e7
Compare
Choose a tag to compare

This version of TokenBridge contracts supports operations in four modes:

  • native coin to an bridgeable ERC20 token;
  • an ERC20 token to a bridgeable ERC20 token;
  • an ERC20 token to a native coin;
  • relaying arbitrary messages (Arbitrary Message Bridging, AMB).

The release up-issue has been caused by an issue found during the xDai bridge upgrade testing and was addressed with:

  • Fix: Paying interest in chai to avoid the oracle misbehavior (#380)

TokenBridge Contracts 4.0.0

13 Mar 12:30
4ffda3a
Compare
Choose a tag to compare
Pre-release

This version of TokenBridge contracts supports operations in four modes:

  • native coin to an bridgeable ERC20 token;
  • an ERC20 token to a bridgeable ERC20 token;
  • an ERC20 token to a native coin;
  • relaying arbitrary messages (Arbitrary Message Bridging, AMB).

The intent of this release is to be used on the xDai bridge to allow earn interest with the Chai token (https://www.xdaichain.com/for-stakers/stake-reward-mechanics/xdai-rewards/chai-faqs).

The following changes are included in this release:

  • Fix: Rename reward functions (#370)
  • Fix: Chai integration internal audit fixes (#372)

TokenBridge Contracts 4.0.0-rc1

21 Feb 05:04
026dbfd
Compare
Choose a tag to compare
Pre-release

This version of TokenBridge contracts supports operations in four modes:

  • native coin to an bridgeable ERC20 token;
  • an ERC20 token to a bridgeable ERC20 token;
  • an ERC20 token to a native coin;
  • relaying arbitrary messages (Arbitrary Message Bridging, AMB).

The following changes are included in this release:

  • Improvement: Earning interest with Chai for erc-to-native mode (#356)
  • Fix: Added Bridge Validators deterministic mock for e2e tests (#366)
  • Fix: Add restriction on claiming Chai token (#368)

TokenBridge Contracts 4.0.0-rc0

21 Jan 19:30
7e17921
Compare
Choose a tag to compare
Pre-release

This version of TokenBridge contracts supports operations in four modes:

  • native coin to an bridgeable ERC20 token;
  • an ERC20 token to a bridgeable ERC20 token;
  • an ERC20 token to a native coin;
  • relaying arbitrary messages (Arbitrary Message Bridging, AMB).

Increase of the major version caused by the changes made under #357 -- the new functionality is not backward compatible with the previous one (requires changes on the oracle side).

The following changes are included in this release:

  • Improvement: Updated minimum gas usage estimation (#355)
  • Improvement: Simplified some conditions in require() clauses (#353)
  • Improvement: Single execute signatures (#357)
  • Fix: Fixes in AMB deployment related documentation and scripts (#358)
  • Other: badges links corrected to point to tokenbridge-contracts

TokenBridge Contracts 3.3.0

30 Dec 17:45
c85aeb7
Compare
Choose a tag to compare

This version of TokenBridge supports operations in four modes:

  • native coin to an bridgeable ERC20 token;
  • an ERC20 token to a bridgeable ERC20 token;
  • an ERC20 token to a native coin;
  • relaying arbitrary messages (Arbitrary Message Bridging, AMB).

These changes finish addressing the issues raised during the security audit that was held by Quantstamp.

This is the first release that is published as an image on the Docker Hub. It allows to quickly pull the image and deploy the bridge contracts without necessity to configure the Node.JS environment and spend time on the contract compilation. Instructions how to deploy contracts by using the docker image can be found here.

Also this is the first release when we attach a zip file with flattened contract sources. These sources could be used for the contract verification. But the current recommendation is to pay additional attention on the new feature appeared in this release that allows to verify contracts in Etherscan and Blockscout automatically.

The detailed list of improvements and fixes in this version of the TokenBridge contracts:

  • Improvement: Add automatic contracts verification in deployment script (#334)
  • Fix: Integrate upgrade scripts in the docker image (#342)
  • Fix: Added Initialize functions access control modifier (#333)
  • Fix: Bump handlebars from 4.1.2 to 4.5.3 (#344)
  • Other: Documentation for upgradeability contracts (#332)

TokenBridge Contracts 3.3.0-rc0

19 Dec 16:14
fd86fed
Compare
Choose a tag to compare
Pre-release

This version of TokenBridge supports operations in four modes:

  • native coin to an bridgeable ERC20 token;
  • an ERC20 token to a bridgeable ERC20 token;
  • an ERC20 token to a native coin;
  • relaying arbitrary messages (Arbitrary Message Bridging, AMB).

The set of changes is mostly to implement the Phase 2 of the xDai brige migration to support two tokens Sai/SCD and Dai/MCD and to address the first part of issues raised during the security audit that was held by Quantstamp:

  • Improvement: Add support for two tokens in erc to native (#319)
  • Improvement: Wording changes in the erc677-to-erc677 bridge on top of AMB deployment scripts (#321)
  • Improvement: Possibility of increasing/decreasing allowance in ERC677 (#328)
  • Improvement: Hardcoded max validators limit (#331)
  • Improvement: Add upgrade scripts (#337)
  • Fix: Updated checks in setMinPerTx and setMaxPerTx (#330)
  • Fix: Max signatures limit (#335)
  • Fix: Update nvm node version to 10.18 (#339)
  • Other: Add docs in Bytes library (#340)

TokenBridge Contracts 3.2.0

07 Nov 21:49
20d2627
Compare
Choose a tag to compare

This version of TokenBridge supports operations in four modes:

  • native coin to an bridgeable ERC20 token;
  • an ERC20 token to a bridgeable ERC20 token;
  • an ERC20 token to a native coin;
  • relaying arbitrary messages (Arbitrary Message Bridging, AMB).

This release contains new two features:

The following changes were included in this version:

  • Improvement: Remove deployed at block information in mediators contracts (#292)
  • Improvement: Use hex-identifiers directly instead of runtime hash calculation (#303)
  • Improvement: Simplify mintReward function (#304)
  • Improvement: Alternative receiver for TokenBridge transfer operations (#295)
  • Improvement: Add method to migrate from SCD to MCD (#311)
  • Fix: Documentation typos (#289, #290)
  • Fix: setTotalSpentPerDay called twice in AMB-ERC-TO-ERC (#309)
  • Fix: Update interfaces version (#314)