TokenBridge Contracts 5.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).
This release finalizes the work for implementation of the multiple messages support by AMB in one transaction (#403). Also it introduces a new AMB extension to relay native tokens to ERC677 compatible tokens. This extension was used to setup the Moons bridge for the Reddit Community points.
The following updates were included in the new code base:
- Improvement: Move STAKE fee distribution implementation into Fee Manager (#416)
- Improvement: Add native to erc20 mediator on top of AMB (#367)
- Improvement: Multi AMB requests in one transaction (#403)
- Fix: Remove unneeded checks in Zero DSR tests (#414)
- Fix: Update block reward mock (#417)
- Fix: Add method for handling imbalance in SAI tokens (#419)
- Other: Detailed description of native-to-erc677 extension call flows (#420)
- Other: Detailed description of STAKE extension call flows (#421)