Commit Graph

853 Commits

Author SHA1 Message Date
Alexander Kolotov 908a481079
Merge the develop branch to the master branch, preparation to v6.0.0
This update for the `master` branch contains the changes made to address findings discovered during a security audit:
 * [Fix] Stricter preconditions for payInterest (#623)
 * [Fix] Fix offset in comments (#624)
 * [Fix] Use fixed lower call gas limit (#627)
 * [Fix] Separate XDaiForeignBridge contract with compound and GSN support (#626)
 * [Fix] Update GSN interface (#628)
 * [Fix] Block ERC20 selectors in AMB requests (#630)
 * [Other] Bump package and contracts interfaces version prior to 6.0.0 (#629)
2021-09-06 13:19:03 +03:00
Kirill Fedoseev e44f4d8bf4
Block ERC20 selectors in AMB requests (#630) 2021-08-21 00:09:57 +03:00
Kirill Fedoseev 39f5835198
Bump package and contracts interfaces version prior to 6.0.0 (#629) 2021-08-20 14:14:21 +03:00
Leonid Tyurin 93b1afbe67
Update GSN interface (#628) 2021-08-20 12:48:10 +03:00
Kirill Fedoseev 7579b5249e
Separate XDaiForeignBridge contract with compound and GSN support (#626) 2021-08-18 13:51:51 +03:00
Kirill Fedoseev 4b0eb1e2fc
Use fixed lower call gas limit (#627) 2021-08-18 13:49:24 +03:00
Kirill Fedoseev f1deecde4a
Fix offset in comments (#624) 2021-08-16 22:16:55 +03:00
Kirill Fedoseev 7d4a0c6d25
Stricter preconditions for payInterest (#623) 2021-08-16 22:16:00 +03:00
Alexander Kolotov b3511bf098
Merge the develop branch to the master branch, preparation to v6.0.0-rc1
This set of changes includes the following improvements and fixes:
  * [Improvement] EIP2612 permit (#618)
  * [Fix] Make _sendMessage internal (#613)
  * [Other] Fix coverage (#606)
  * [Other] Remove unused upgrade dir (#339 
  * [Other] Bump package version before 6.0.0-rc1 (#619)
2021-08-06 19:31:21 +03:00
Alexander Kolotov fb66e2a9d6
Bump package version before 6.0.0-rc1 (#619) 2021-08-06 19:06:11 +03:00
Kirill Fedoseev 3519ddb8c2
EIP2612 permit (#618) 2021-08-06 18:43:34 +03:00
Kirill Fedoseev 0d191e198c
Remove unused upgrade dir (#614) 2021-08-03 23:34:24 +03:00
Kirill Fedoseev f862da73f3
Make _sendMessage internal (#613) 2021-08-03 23:33:58 +03:00
Leonid Tyurin 37177d30f7
Fix coverage (#606) 2021-06-12 00:22:15 +03:00
Alexander Kolotov 004d466a3d
Merge the develop branch to the master branch, preparation to v6.0.0-rc0
This set of changes includes the following improvements and fixes:
  * [Improvement] AMB Home-to-Foreign async calls (#570), closes #492
  * [Improvement] Add GSN support for erc20-to-native bridge mode (#571)
  * [Fix] Fix issues with packages versions and linter (#600)
  * [Other] Bump package version before 6.0.0-rc0 (#598)
2021-05-07 00:34:37 -06:00
Leonid Tyurin de37e25b4b
Fix issues with packages versions and linter (#600) 2021-05-07 00:27:41 -06:00
Alexander Kolotov 0b0e2cba9b
Package version bumped to 6.0.0-rc0 (#598) 2021-05-06 14:34:13 -06:00
Leonid Tyurin f6758222d5
Add GSN support for erc20-to-native bridge mode (#571) 2021-05-06 14:31:11 -06:00
Kirill Fedoseev 07afe27eb4
AMB Home-to-Foreign async calls (#570) 2021-05-06 04:33:06 -06:00
Alexander Kolotov 7edfe777e0
Merge the develop branch to the master branch, preparation to v5.7.0-rc1
This set of changes includes the following improvements and few fixes:
  * [Improvement] Earn interest on locked tokens using Compound Protocol (#590)
  * [Other] Remove deprecated bridge types (#595)
  * [Other] Bump contracts and package version before 5.7.0-rc1 (#597)
2021-05-04 08:12:22 -06:00
Alexander Kolotov ccb4ffdb3e
Bump contracts and package version before 5.7.0-rc1 (#597) 2021-05-04 08:06:42 -06: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
Alexander Kolotov c9377114f7
Merge the develop branch to the master branch, preparation to v5.7.0-rc0 2021-04-13 13:39:52 -06:00
Alexander Kolotov 37e92f35be
Bump contracts and package version before 5.7.0-rc0 (#589) 2021-04-13 12:20:35 -06:00
Kirill Fedoseev 1ae26c0dde
Add safeExecuteSignatures* family of functions (#587) 2021-04-13 07:56:32 -06:00
Kirill Fedoseev 620c4e3cc5 Fis missing safeTransferFrom 2021-03-13 21:41:06 +03:00
Kirill Fedoseev 1166e00c5b
Fix relayTokens for tokens supporting fees (#580) 2021-03-13 07:52:28 -06:00
Kirill Fedoseev 16d178924a
Disable per-token fees (#581) 2021-03-10 23:09:53 -06:00
Kirill Fedoseev eba5180291
Disable per-token minPerTx (#582) 2021-03-10 12:46:11 -06:00
Alexander Kolotov 08fd1e0129
Helpers to collect signatures for erc20-to-native and AMB (#576) 2021-03-03 16:03:48 -06:00
Kirill Fedoseev 44c84e4be0
Deny reentrant execution of signatures in the ForeignAMB (#577) 2021-02-27 20:03:43 -06:00
Alexander Kolotov cdef2c6d69
Merge the develop branch to the master branch, preparation to v5.6.0 2021-02-02 12:06:39 -06:00
Alexander Kolotov a4094e2067
Bump package version to 5.6.0 (#575) 2021-02-02 12:03:17 -06:00
Kirill Fedoseev 8d11272f44
Add claimTokensFromTokenContract function for HomeMultiAMBErc20ToErc677 contract (#573) 2021-02-02 10:45:52 -06:00
Kirill Fedoseev a85d9ab343
Allow to make new AMB requests while processing other messages (#572) 2021-01-21 14:42:43 -06:00
Kirill Fedoseev 11d5ec35ef
Allow minting of STAKE tokens on the Foreign side of the Omnibridge (#568) 2020-12-20 03:20:55 +03:00
Kirill Fedoseev 4d77c5d0b7
Support custom minter contract for bridged stake token (#566) 2020-12-10 02:25:21 +03:00
Alexander Kolotov b858c96d1b
Merge the develop branch to the master branch, preparation to v5.6.0-rc0 2020-12-02 19:25:41 +03:00
Kirill Fedoseev 24e73c3bf4
Bump versions of changed contracts since last release (#564) 2020-12-02 18:15:31 +03:00
Kirill Fedoseev 79ae98c64f
Fix manuallane datatypes usage (#562) 2020-11-27 19:35:20 +03:00
Kirill Fedoseev 317d9060fe
Optimize Omnibridge gas usage (#553) 2020-11-20 00:10:25 +03:00
Alexander Kolotov 633870a2ac
Attempt to fix a deprecated command 2020-11-18 00:49:15 +03:00
Kirill Fedoseev 27783498a6
Add TokensBridgingInitiated events to mediators (#556) 2020-11-17 22:39:36 +03:00
Kirill Fedoseev 07bf763d95
Add a pre-deploy chain id check for AMB contracts (#557) 2020-11-17 21:31:11 +03:00
Kirill Fedoseev 6cb360a6e6
Optimize use of temporary variables passed through storage (#555) 2020-11-17 21:17:07 +03:00
Alexander Kolotov 835742dfd8
Merge the develop branch to the master branch, preparation to v5.5.0 2020-11-07 12:51:52 +03:00
Alexander Kolotov d8a9f8c6ff
Bump package version to 5.5.0 (#549) 2020-11-07 12:51:12 +03:00
Kirill Fedoseev 1e2a17ab0e
Bump contracts interfaces versions according to the already merged PRs (#548) 2020-11-06 15:20:14 +03:00
Kirill Fedoseev 09d228fa72
Omnibridge usage of manual/oracle-driven lanes (#547) 2020-11-05 18:22:56 +03:00