Commit Graph

41 Commits

Author SHA1 Message Date
Kirill Fedoseev 2def0318bb
Add missing fix mediator balance (#510) 2020-10-15 20:27:12 +03:00
Kirill Fedoseev cc3c888960
Multi AMB-ERC20-TO-ERC677 mediators (#455) 2020-08-01 04:22:35 +03:00
Kirill Fedoseev de50e600fb
Add erc-to-native mediators (#440) 2020-06-30 23:20:33 +03:00
Max Alekseenko 165d828437 Use hex-identifiers directly instead of runtime hash calculation (#303) 2019-10-11 11:36:37 +03:00
Gerardo Nardelli f4ebf8b053 Remove deployed at block information in mediators contracts (#292) 2019-09-27 22:05:46 +03:00
Gerardo Nardelli 83900ea971 Add erc677 to erc677 bridge on top of AMB (#273)
Closes #267
2019-09-09 16:07:24 +03:00
Gerardo Nardelli f6d275a0c1 Add arbitrary message bridging contracts (#77) 2019-09-05 20:13:52 +03:00
fbranciard 63c11df4b5 decimal shift feature (#268)
* implementation proposal for decimal shift feature issue #243
2019-09-03 19:51:20 +03:00
Gerardo Nardelli 3a1d4d87b7 Move mappings key to constants (#261) 2019-08-05 22:10:53 +02:00
Gerardo Nardelli b20968c16c Check proxy upgrade contract code (#256)
* Remove isContract methods in favor of openzeppelin-solidity AddressUtils
* Check proxy implementation is contract
2019-08-01 14:44:51 +02:00
Gerardo Nardelli c28f956b6a Add param check in setDailyLimit and setExecutionDailyLimit methods (#255) 2019-08-01 14:40:29 +02:00
Gerardo Nardelli 73c01b2d91 Allow fixAssetsAboveLimits to fix partial amounts (#247)
* Allow fixAssetsAboveLimits to fix partial amounts
* Emit event in fixAssetsAboveLimits
* Increase patch version in BasicBridge
2019-07-31 17:33:18 +02:00
Gerardo Nardelli dc099b872b Add Solhint solidity linter (#240)
* Add solhint and prettier for solidity
* Apply prettier styles on contracts
* Fix solhint warnings
* Run js and solidity linter on travis
2019-07-22 07:19:24 +03:00
Gerardo Nardelli e8217f1276 Use external modifier instead of public (#236) 2019-07-17 15:03:02 +03:00
Gerardo Nardelli 155f2e4def Improve contracts names (#226)
* Rename POSDAOHomeBridgeErcToErc
* Rename OwnedUpgradeability
* Rename IOwnedUpgradeabilityProxy
* Update flatten script
2019-07-05 17:35:18 +03:00
Gerardo Nardelli 90a7a80112 Use OpenZeppelin SafeMath (#222)
* Fix openzeppelin-solidity version
* Remove own SafeMath library in favor of openzeppelin
2019-07-03 14:10:21 +03:00
Gerardo Nardelli e32ef6e1f2 Fix claimTokens to support all token transfers (#213)
* Add contract `Claimable` to contain functionality related ability to claim tokens
* The new contract is used in the bridge contracts and the erc677 token implementation
* Fix claimTokens to support all token transfers
2019-06-28 19:00:10 +03:00
Gerardo Nardelli c28770b1f6 Refactoring as per comments received on the security audit (#203)
* Remove duplicate modifier on claimTokens method
* Fix multiple reads of totalBurntCoins
* Remove parameter on setInitialize
* Remove status parameter on setFixedAssets
* Remove unused fireEventOnTokenTransfer on HomeBridgeErcToNative
* Redefine empty block methods on BasicHomeBridge
* Simplify signature method on BasicHomeBridge
* Add abi.encodePacked to deployedAtBlock on validators contracts
* Extract fallback implementation into separate method on HomeBridgeErcToNative and HomeBridgeNativeToErc
2019-06-28 16:22:05 +03:00
Gerardo Nardelli a1f64ca6c5 Remove proxyOwner method from proxy contract (#198)
* Remove proxyOwner method from proxy
* Rename onlyProxyOwner
* Remove upgradeabilityAdmin
* Rename onlyIfOwnerOfProxy to onlyIfUpgradeabilityOwner
2019-06-27 23:44:09 +03:00
Gerardo Nardelli eb75d2d674 Ignore contract interfaces on test coverage report (#200)
* Move interfaces to separate folder
* Ignore interfaces folder on coverage report
2019-06-27 22:41:45 +03:00
Gerardo Nardelli 8ea03335e3 Fix incorrect storage reference on setExecutionMaxPerTx 2018-12-17 09:03:49 -03:00
Gerardo Nardelli b25c25ccae Update onlyProxyOwner modifier to onlyIfOwnerOfProxy 2018-12-14 11:44:02 -03:00
Gerardo Nardelli ac0e671aeb Refactor onlyProxyOwner modifier 2018-12-14 10:46:09 -03:00
Gerardo Nardelli abbde316d0 Update owner roles on bridge contracts 2018-12-10 16:22:57 -03:00
Gerardo Nardelli 4612b7ba86 Update contract version 2018-12-04 14:24:43 -03:00
Gerardo Nardelli 414e437b60 Fix compile warnings 2018-11-28 14:57:38 -03:00
Gerardo Nardelli 7c07cde46d Refactor execution limits names 2018-11-28 14:42:33 -03:00
Gerardo Nardelli aa2470a208 Add fixAssetsAboveLimits method 2018-11-28 14:30:32 -03:00
Gerardo Nardelli 42a87e631c Add total executed per day 2018-11-26 15:43:22 -03:00
Gerardo Nardelli 5bd6f5d58e Add opposite side limits WIP 2018-11-23 16:37:39 -03:00
Gerardo Nardelli 2465bc82f8 Merge branch 'develop' into fix-interface-version-#92
# Conflicts:
#	contracts/ERC677BridgeToken.sol
#	contracts/upgradeable_contracts/BasicBridge.sol
2018-10-19 12:20:17 -03:00
Gerardo Nardelli e4888ff3d9 Fix interface version methods 2018-10-19 10:49:14 -03:00
Gerardo Nardelli fdf9d39abd Update BasicBridge version to 2.1.0 2018-09-24 09:09:53 -03:00
Gerardo Nardelli c36af23bf2 Fix setBlockRewardContract method 2018-09-21 16:33:33 -03:00
Gerardo Nardelli 2cc71aa4b4 Update contract versions 2018-09-18 10:47:33 -03:00
Gerardo Nardelli bfec92ae12 Remove bridge mode field from eternalStorage 2018-09-17 16:22:34 -03:00
Gerardo Nardelli af7cc8dcbb Add version field on bridge, validators and token contracts 2018-09-17 15:33:16 -03:00
Gerardo Nardelli 2c22760538 Add bridge mode field 2018-09-14 15:58:57 -03:00
Roman Storm 078014e499 Add more abstraction for ERC677Bridge 2018-06-18 21:05:47 -07:00
Roman Storm 0da0ade2fd finish refactoring 2018-06-11 20:33:16 -07:00
Roman Storm 7d9065124f refactor foreign bridge 2018-06-11 19:56:01 -07:00