This repository has been archived by the owner on May 9, 2024. It is now read-only.
v2.0.0
New ChainBridge SmartContracts release that brings dozens of changes and improvements results dramatically reduction of gas usage for Deposits and Proposal Executions.
Most significant changes:
- ExecuteProposal function now called inside VoteProposal after votes threshold has been reached, so there is no need to call ExecuteProposal explicitly
- Add ERC1155Handler
- Generic handler can now validate the depositer address in the call data.
- Bridge.adminWithdraw updated to support any future handlers.
- Deposit event in the Bridge includes all the relevant info now in order to remove deposit records from the handlers storage.
- chainID renamed to domainID across all ChainBridge infrastructure.