Kirill Fedoseev
1a7a91ee76
Hardcoded max validators limit ( #331 )
...
* Added internal contract limit on validators list size
* Updated validators contracts tests. Testing possible out-of-gas situation.
2019-12-14 01:20:03 +03:00
Gerardo Nardelli
9504b832b1
Add support for two tokens in erc to native ( #319 )
2019-12-11 23:18:32 +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
3a1d4d87b7
Move mappings key to constants ( #261 )
2019-08-05 22:10:53 +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
a747842c95
Add validators amount limit ( #239 )
2019-07-16 23:25:35 +03:00
Gerardo Nardelli
786be68cd6
Improve revert pattern ( #235 )
2019-07-16 12:53: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
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
Alexander Kolotov
ffdd595747
Merge pull request #169 from poanetwork/update-rewardable-validator
...
Update RewardableValidators to be compatible with BridgeValidators
2019-04-16 23:41:24 +03:00
Gerardo Nardelli
9be3f38bdf
Move validator events to BaseBridgeValidators
2019-04-16 11:44:39 -03:00
Gerardo Nardelli
7581f1241a
Increase validator interface version
2019-04-15 09:10:40 -03:00
Gerardo Nardelli
745eeb0493
Add validatorList on BaseBridgeValidators
2019-04-11 12:10:23 -03:00
Gerardo Nardelli
5bf54405c9
Add zero address check for getNextValidator
2019-01-09 08:38:08 -03:00
Gerardo Nardelli
a3b947a507
Remove onlyOwner modifier on BaseBridgeValidators methods
2019-01-09 08:17:55 -03:00
Gerardo Nardelli
fa36918944
Move validatorList method to RewardableValidators
2019-01-08 17:24:08 -03:00
Gerardo Nardelli
212d796412
Add zero address check on getNextValidator usage
2019-01-08 14:36:52 -03:00
Gerardo Nardelli
6912fdcad9
Rename setValidator to setNextValidator
2019-01-08 14:08:31 -03:00
Gerardo Nardelli
b743602564
Refactor addValidator and RemoveValidator methods
2019-01-08 13:59:16 -03:00
Gerardo Nardelli
4e9db7b626
Refactor BridgeValidators
2019-01-07 15:25:26 -03:00