Kirill Fedoseev
3c18c12d39
Add missing zero address checks ( #503 )
2020-10-14 22:58:34 +03:00
Kirill Fedoseev
1c8ee41fd4
Added Initialize functions access control modifier ( #333 )
2019-12-24 17:41:06 +03:00
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
3a1d4d87b7
Move mappings key to constants ( #261 )
2019-08-05 22:10:53 +02:00
Gerardo Nardelli
523112b97d
Improve validator initialize gas usage ( #257 )
2019-08-01 14:47:57 +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
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
d2f6b0ac3a
Update addValidator method and ValidatorAdded event
2019-04-12 14:11:42 -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
fa36918944
Move validatorList method to RewardableValidators
2019-01-08 17:24:08 -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
1d7456cf77
Add end of list check on removeValidator
2019-01-08 12:25:20 -03:00
Gerardo Nardelli
5c553e06eb
Update ValidatorAdded event on RewardableValidators
2019-01-07 15:42:38 -03:00
Gerardo Nardelli
4e9db7b626
Refactor BridgeValidators
2019-01-07 15:25:26 -03:00