TokenBridge Contracts 2.3.0
Besides supporting the bridge operation in three modes:
- native coin to an bridgeable ERC20 token;
- an ERC20 token to a bridgeable ERC20 token;
- an ERC20 token to a native coin.
This version of TokenBridge contracts provides an ability to take fees from the transfer of assets through the bridge and distribute them among the bridge validator. More details can be found here.
The following changes were included in this version:
- Enhancement: ERC677 bridgeable token can be used by
BlockReward
contract (#129, #153, #157) - Enhancement: Add ERC677 support on foreign bridge in the
erc20-to-erc20
bridge mode (#177) - Enhancement: Dynamic gas limit for the deployment/configuration transactions (#178)
- Enhancement: Reward for the bridge validators (#130, #132, #134, #135, #141, #142, #144, #150, #151, #155, #164, #166, #167, #169, #171, #176, #179)
- Enhancement: Native-to-ERC20 bridge with the Ethereum Classic as Home chain (#156, #184)
- Enhancement: Support multiple evm versions (#161, #181)
- Fix: Replace default web3 provider URL in
.env.example
(#152) - Fix: Upgrade Node.JS version to 10 (#154)
- Fix: Avoid calling blockReward if zero value on the foreign transfer in the
erc-to-native
mode (#165) - Fix: Updating README with clarifications for usage
FOREIGN_DAILY_LIMIT
andFOREIGN_MAX_AMOUNT_PER_TX
(#172)