Releases: omni/tokenbridge-contracts
TokenBridge Contracts 4.1.0
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
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
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:
TokenBridge Contracts 4.0.1
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
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:
TokenBridge Contracts 4.0.0-rc1
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:
TokenBridge Contracts 4.0.0-rc0
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
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
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
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:
- "Alternative receiver". Any contract in one chain will have the ability to send tokens cross-chain to any external address or contract. This feature will benefit owners of multsig wallets - they will be able to exchange Dai to xDai and vice versa.
- "Phase 1 of migration to MCD". This feature is specific for the xDai bridge and related to the planned by MakerDAO migration from Single-Collateral Dai to Multi-Collateral Dai.
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)