Skip to content

Releases: omni/tokenbridge-contracts

POA-bridge-contracts 2.0.0

05 Oct 21:38
5d9f594
Compare
Choose a tag to compare

This version of POA bridge contracts supports bridging in two modes:

  • native coin to an bridgeable ERC20 token;
  • an ERC20 token to a bridgeable ERC20 token.

The Security Audit report: https://poanet.zendesk.com/hc/en-us/article_attachments/360013490473/POA-Network-Bridge-audit-report.pdf

These contracts does not work with Rust version of POA Bridge, the version based on NodeJS must be used.

The following changes were included:

  • The validator confirmations are collected on Home side of the bridge assuming that the Home bridge is the network with low gas price.
  • Unification of public bridge methods: the events UserRequestForSignature and UserRequestForAffirmation instead of Deposit and Withdraw, the methods executeSignatures and executeAffirmation instead of deposit and withdraw;
  • The bridgeable token could call onTokenFallback of the bridge contract automatically if transfer() is used to move tokens on the bridge contract address.
  • The token name, symbol and decimal for the bridgeable token must be specified through the configuration parameters.
  • Number of collected signatures recieved from the event CollectedSignatures as so the correct number of signatures will be collected even if the number of validators was changed.
  • getBridgeInterfacesVersion and getBridgeValidatorsInterfacesVersion could be used to get version of the bridge contracts.
  • getBridgeMode could be used to get the mode of the bridge.

POA-bridge-contracts 2.1.0-rc0

14 Oct 22:56
7cf71cb
Compare
Choose a tag to compare
Pre-release

This version of POA bridge contracts supports bridging 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 contracts was deployed to serve the POA Bridge in erc-to-native between the Ethereum Mainnet (0x4aa42145Aa6Ebf72e164C9bBC74fbD3788045016) and the Dai Chain (0x7301CFA0e1756B71869E93d4e4Dca5c7d0eb0AA6).

These contracts does not work with Rust version of POA Bridge, the POA Token Bridge (https://github.com/poanetwork/token-bridge) must be used.

The following changes were included:

  • Fix for "Calling transfer with tokens amount less than *_MIN_AMOUNT_PER_TX works locks tokens"
    (#89).
  • Different gas price can be set for deployment transactions in different networks (401a1db);
  • The gas price in .env file is set in wei (caf0b78)
  • Validation of configuration parameters from .env file improved (4aa8f6c)

POA-bridge-contracts 1.1

21 Sep 21:40
aaad596
Compare
Choose a tag to compare

This version of POA bridge contracts supports bridging of a native coin to a ERC20 token.

The following changes were included:

  • Documentation updates

Only specific commit (2db543f) was used to upgrade HomeBridge contract on the POA network as a fix for the security issue. Transaction ID for contract deployment: 0xf50b181f0a28b54b92fcc37fda936f70f59bce84c222301c40c3678deead0d9e

POA-bridge-contracts 1.1-rc0

26 Jul 18:13
546ca65
Compare
Choose a tag to compare
Pre-release

This version of POA bridge contracts supports bridging of a native coin to a ERC20 token.

The following changes were included:

  • the event CollectedSignatures allows to specifies number of collected signatures to make signatures gathering handier
  • the fix to prevent an attack to send cross chain transfer using contract without payable fallback

POA-bridge-contracts 1.0

10 May 22:25
93969cd
Compare
Choose a tag to compare

This version of POA bridge contracts supports bridging of a native coin to a ERC20 token.

The contracts was deployed to the POA and Ethereum foundation networks on 10th of May (2018)

POA-bridge-contracts 1.0-rc0

01 May 19:19
Compare
Choose a tag to compare
Pre-release

This version of POA bridge contracts supports bridging of a native coin to a ERC20 token.

Preparation to launch