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
Gerardo Nardelli
9be3f38bdf
Move validator events to BaseBridgeValidators
2019-04-16 11:44:39 -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
4e9db7b626
Refactor BridgeValidators
2019-01-07 15:25:26 -03:00
Gerardo Nardelli
349bbbb355
Update BridgeValidators version
2019-01-07 11:03:49 -03:00
Gerardo Nardelli
76d45e2861
Add validatorList method
2019-01-03 13:07:21 -03:00
fernandomg
e25f0ffc2e
Extend BridgeValidators interface and make F_ADDR public
2018-12-27 15:12:42 -03:00
fernandomg
9d219727c6
Fix/Add `require`s for `validator` and `reward` addresses
2018-12-27 15:11:05 -03:00
fernandomg
058335f54c
Add `_reward` param to `addValidator` method
2018-12-27 15:09:23 -03:00
fernandomg
94947ebc3d
Update BridgeValidator to support linked-list
...
- Store validators as a linked-list
- Store reward address as a map [validator] -> rewardAddr
2018-12-26 17:19:14 -03:00
Gerardo Nardelli
e4888ff3d9
Fix interface version methods
2018-10-19 10:49:14 -03:00
Gerardo Nardelli
2cc71aa4b4
Update contract versions
2018-09-18 10:47:33 -03:00
Gerardo Nardelli
75af893dc8
Rename BridgeValidators version variable
2018-09-18 10:32:25 -03:00
Gerardo Nardelli
4bb8e9df21
Fix variable name on validators and token contract
2018-09-17 16:34:25 -03:00
Gerardo Nardelli
af7cc8dcbb
Add version field on bridge, validators and token contracts
2018-09-17 15:33:16 -03:00
Gerardo Nardelli
2c0e9dd2c2
Update BridgeValidators contract
2018-07-26 14:34:47 -03:00
Roman Storm
aeb2e1dd7e
Audit enhacements
2018-07-02 18:45:58 -07:00
Roman Storm
7d9065124f
refactor foreign bridge
2018-06-11 19:56:01 -07:00