Commit Graph

35 Commits

Author SHA1 Message Date
Kirill Fedoseev 7579b5249e
Separate XDaiForeignBridge contract with compound and GSN support (#626) 2021-08-18 13:51:51 +03:00
Kirill Fedoseev aa771ecc7e
Remove deprecated bridge types (#595) 2021-05-03 07:58:57 -06:00
Kirill Fedoseev e7f7fae726
Earn interest on locked tokens using Compound Protocol (#590) 2021-04-23 11:26:41 -06:00
Kirill Fedoseev d5fc8ab8d5
Add missing checks and return values (#535) 2020-10-15 22:09:37 +03:00
Kirill Fedoseev df296d1790
Restrict relay of tokens for other user (#475) 2020-08-22 22:30:27 +03:00
Gerardo Nardelli dd46135248
Remove half duplex erc20 token code (#457) 2020-07-29 21:40:15 +03:00
Kirill Fedoseev f8aea2366c
Support negative decimal shift (#448) 2020-07-17 23:16:41 +03:00
Kirill Fedoseev cfcc717b02
Add method for handling imbalance in SAI tokens (#419) 2020-05-12 20:14:55 +03:00
Kirill Fedoseev 1a32902da9
Remove unneeded checks in Zero DSR tests (#414) 2020-05-04 22:47:31 +03:00
Gerardo Nardelli dcc7554341
Disable sai swap to dai (#404) 2020-04-16 11:07:25 +03:00
Kirill Fedoseev adf9993208
Fix ChaiConnector behaviour when DSR is zero (#400) 2020-04-08 15:25:29 +03:00
Kirill Fedoseev bfea462cd6
Update interest receiver (#382) 2020-03-28 22:04:59 +03:00
Kirill Fedoseev c073e83067
Paying interest in chai to avoid the oracle misbehavior (#380) 2020-03-12 22:37:06 +03:00
Kirill Fedoseev aebb1ed768
Chai integration internal audit fixes (#372) 2020-02-27 15:28:54 +03:00
Kirill Fedoseev cf53cd7cba
Add restriction on claiming Chai token (#368) 2020-02-20 10:37:33 +03:00
Kirill Fedoseev f35a2722d3
Earning interest with Chai for erc-to-native mode (#356) 2020-02-17 15:15:19 +03:00
Kirill Fedoseev 34a8d2fdc7 Single execute signatures (#357) 2020-01-20 17:46:56 +03:00
Kirill Fedoseev 06e4565886 Tests to cover max number of signatures (#335)
* Fixed Message library bug
* Added tests for covering max number of signatures
* Increased heap memory limit for coverage script
2019-12-19 01:25:59 +03:00
Gerardo Nardelli 9504b832b1 Add support for two tokens in erc to native (#319) 2019-12-11 23:18:32 +03:00
Gerardo Nardelli cc7718284d Add method to migrate from SCD to MCD (#311) 2019-11-05 09:07:19 +03:00
Gerardo Nardelli 36afcf0019 Add alternative receiver for transfer in erc20 to native mode (#294)
* Add alternative receiver for erc20-to-native transfers
* Check limits in foreign erc20-to-native relayRequest
* Update initialize parameters in foreign erc20-to-native
2019-10-17 17:06:09 +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 79de6a6319 Add missing events in initialize methods (#262) 2019-08-06 20:31:34 +02: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 34d48efad7 Add linter for unit tests 2019-05-14 12:36:34 -03:00
Gerardo Nardelli 6bad8be39d Fix unit tests 2019-05-14 11:22:31 -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 5bd6f5d58e Add opposite side limits WIP 2018-11-23 16:37:39 -03:00
Gerardo Nardelli eecbf21369 Merge branch 'develop' into add-validator-check-on-initialize-#96
# Conflicts:
#	test/native_to_erc/home_bridge_test.js
2018-10-24 15:16:05 -03:00
Gerardo Nardelli 629044e9b5 Check token address is contract 2018-10-24 15:12:29 -03:00
Gerardo Nardelli 49997cf481 Check validatorContract is contract on initialize 2018-10-24 14:02:54 -03:00
Gerardo Nardelli 342c4bd49d Add new executeSignatures tests on foreign contracts 2018-10-22 13:36:10 -03:00
Gerardo Nardelli 2a5a199152 Add gasPrice on initialize foreign erc-to-native 2018-09-24 10:23:05 -03:00
Gerardo Nardelli 622e3fc6ed Add foreign erc20-to-native tests 2018-09-20 16:18:34 -03:00