Commit Graph

251 Commits

Author SHA1 Message Date
Kirill Fedoseev e44f4d8bf4
Block ERC20 selectors in AMB requests (#630) 2021-08-21 00:09:57 +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 3519ddb8c2
EIP2612 permit (#618) 2021-08-06 18:43:34 +03:00
Leonid Tyurin 37177d30f7
Fix coverage (#606) 2021-06-12 00:22:15 +03: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
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 1ae26c0dde
Add safeExecuteSignatures* family of functions (#587) 2021-04-13 07:56:32 -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
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 79ae98c64f
Fix manuallane datatypes usage (#562) 2020-11-27 19:35:20 +03:00
Kirill Fedoseev 27783498a6
Add TokensBridgingInitiated events to mediators (#556) 2020-11-17 22:39:36 +03:00
Kirill Fedoseev 09d228fa72
Omnibridge usage of manual/oracle-driven lanes (#547) 2020-11-05 18:22:56 +03:00
Kirill Fedoseev 1748f94757
Support manual lane in AMB contracts (#546) 2020-10-31 20:03:26 +03:00
Kirill Fedoseev 2d9efe2937
Fix behaviour for the unset fee manager contract (#539) 2020-10-22 00:24:08 +03:00
Kirill Fedoseev 4e59f30655
Disable fee collection if sender is a reward address (#538) 2020-10-20 12:19:11 +03:00
Kirill Fedoseev 2b51dcf0c4
Avoid doublespending for transfers above limits (#509) 2020-10-19 23:14:12 +03:00
Kirill Fedoseev 65fa34f562
Add an expirations reset after unlimited approval (#533) 2020-10-16 13:09:54 +03:00
Kirill Fedoseev 62e722e9e7
Fix tests by using transferAndCall for foreign side in erc20-to-erc677 on top of AMB (#537) 2020-10-16 09:46:49 +03:00
Kirill Fedoseev d5fc8ab8d5
Add missing checks and return values (#535) 2020-10-15 22:09:37 +03:00
Kirill Fedoseev 2def0318bb
Add missing fix mediator balance (#510) 2020-10-15 20:27:12 +03:00
Kirill Fedoseev f70426c841
Update ERC677 to call onTokenTransfer only for the bridge contract (#530) 2020-10-15 11:36:17 +03:00
Kirill Fedoseev 910cacdc37
Remove unused gasPrice fields (#527) 2020-10-15 01:59:18 +03:00
Kirill Fedoseev 3c18c12d39
Add missing zero address checks (#503) 2020-10-14 22:58:34 +03:00
Kirill Fedoseev df296d1790
Restrict relay of tokens for other user (#475) 2020-08-22 22:30:27 +03:00
Kirill Fedoseev c451ffd79e
Remove multi AMB calls restriction (#472) 2020-08-19 17:43:46 +03:00
Kirill Fedoseev fd0c4121d9
Disable token operations by using global dailyLimit parameter (#466) 2020-08-13 10:53:15 +03:00
Kirill Fedoseev dcb1cb9402
Deinit token in fixFailedMessage (#463) 2020-08-03 18:01:58 +03:00
Kirill Fedoseev a1ff878b1f
Move fee manager into home mediator (#462) 2020-08-03 15:36:12 +03:00
Kirill Fedoseev cc3c888960
Multi AMB-ERC20-TO-ERC677 mediators (#455) 2020-08-01 04:22:35 +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 de50e600fb
Add erc-to-native mediators (#440) 2020-06-30 23:20:33 +03:00
Kirill Fedoseev 3aa50e4953
Make chain id getters public (#435) 2020-06-15 16:54:37 +03:00
Kirill Fedoseev ae4a5bd642
Add missing call to setMediatorBalance (#436) 2020-06-15 16:50:32 +03:00
Kirill Fedoseev a420caf522
Fix infinite AMB loop (#425) 2020-06-04 23:04:33 +03:00
Kirill Fedoseev 45993e8a1b
Multi AMB requests in one transaction (#403) 2020-05-25 16:59:35 +03:00
Gerardo Nardelli 0a7b10e77e
Add native to erc20 mediator on top of AMB (#367) 2020-05-16 21:02:25 +03:00
Kirill Fedoseev cfcc717b02
Add method for handling imbalance in SAI tokens (#419) 2020-05-12 20:14:55 +03:00
Alexander Kolotov 2a0e48c850
Move STEK fee distribution implementation into Fee Manager (#416) 2020-05-07 17:38:31 +03:00
Kirill Fedoseev 1a32902da9
Remove unneeded checks in Zero DSR tests (#414) 2020-05-04 22:47:31 +03:00
varasev 8bb2e23de8
Add permit feature to token contract (#410) 2020-05-04 14:33:49 +03:00
Gerardo Nardelli 8bce8f7c1d
Add TokensBridged event in mediators (#409) 2020-04-21 19:33:54 +03:00
Kirill Fedoseev 75c3f95bb9
Fix alternative receiver behaviour for amb-erc-to-erc (#408) 2020-04-21 19:31:52 +03:00
Alexander Kolotov fee0c438a5 Merge branch 'develop' of github.com:poanetwork/tokenbridge-contracts into develop 2020-04-17 00:12:05 +03:00
Gerardo Nardelli dcc7554341
Disable sai swap to dai (#404) 2020-04-16 11:07:25 +03:00