Commit Graph

61 Commits

Author SHA1 Message Date
Shivva
9ff20bd3ed Update gelato connector, provider module and test (due to gas price evolution) 2020-12-01 16:40:26 +01:00
gitpusha
bddba4f3d8 feat: new ConnectGelato and ProviderModuleDSA 2020-12-01 13:48:53 +01:00
Twin Fish
2a2158f89b
Add debt ceiling and dust check (#92)
* feat: conditions debt ceiling and dust
2020-12-01 12:52:58 +01:00
Twin Fish
a8877205af
change gas cost constants (#89)
* increase debt bridge gas cost constants and premium
2020-11-30 11:13:40 +01:00
gitpusha
b3600300fa fix: adjusted gas constants debt bridge 2020-11-28 16:56:50 +01:00
gitpusha
5e81d8ce75 fix: hardhat-gas-reporter and codechecks accuracy 2020-11-28 16:28:25 +01:00
Shivva
05b2d62a15 update instaPool and connectcompound contract address 2020-11-28 15:16:07 +01:00
gitpusha
7bbbe0d158 feat: replace ConnectGelatoProviderPayment with ConnectGelatoExecutorPayment 2020-11-27 13:43:28 +01:00
Shivva
9b197be90c Add Owner check in condition 2020-11-27 08:06:49 +01:00
Shivva
fade13c960 Fix condition and gas oracle bugs 2020-11-27 08:06:49 +01:00
gitpusha
673dada3bb test: _cast 2020-11-25 13:20:57 +01:00
Shivva
1a58721543 Rename VAT to PREMIUM 2020-11-25 11:04:41 +01:00
Shivva
a7a204be5e Add VAT fees 2020-11-25 10:20:35 +01:00
Shivva
d4b78c25ce Do Vault creation if Vault B is not owned anymore by dsa 2020-11-24 17:56:58 +01:00
Shivva
5b055edca7 Add Term Ok for checking ownership of vault 2020-11-24 17:56:58 +01:00
gitpusha
22c4a0268f feat: ConditionDestVaultWillBeSafe cleanup 2020-11-23 11:26:58 +01:00
Shivva
7803bc5102 Add is destination vault will be safe condition 2020-11-23 11:26:58 +01:00
gitpusha
b3887c6e37 test: gas Full DebtBridge From Maker route 0 - 3 with vault creation 2020-11-19 13:31:51 +01:00
gitpusha
2cebab9fe5 chore: test folder cleanup 2020-11-17 14:22:22 +01:00
Shivva
a79a785fa7 Deal with lack of precision during for some routes 2020-11-17 11:41:21 +01:00
gitpusha
5ef4195b6a chore: contracts deployed to mainnet 2020-11-16 17:58:36 +01:00
Shivva
5e20f89951 Gas price measurement using Mock contract 2020-11-13 11:22:21 +01:00
Shivva
5f7cc1c79a Testing cleaning refactoring 2020-11-11 13:03:05 +01:00
gitpusha
35cdd3f185 feat: debt bridge getGasCost granularity and cleanup 2020-11-10 17:17:58 +01:00
Shivva
de8ad63dda Add new Condition, Liq Pool routing and optional vault creation 2020-11-10 17:17:58 +01:00
gitpusha
3da14b7e90 feat: refactored test-suite for hardhat-deploy-ethers 2020-11-04 18:29:34 +01:00
gitpusha
1673e08d78 feat: provider payment at ca. break-even 2020-11-04 08:54:48 +01:00
gitpusha
10f62bbc9a feat: ConnectGelatoProviderPayment auto-top to GelatoCore 2020-11-03 19:22:54 +01:00
gitpusha
63cd6daa42 feat: provider premium + buffer at 12 percent 2020-11-03 16:14:58 +01:00
gitpusha
3bff63707d chore: cleanup 2020-11-03 16:14:58 +01:00
gitpusha
b8e1aef64f fix: lint-stage solhint bug 2020-11-03 14:39:45 +01:00
Shivva
c76f495c9c Define provider in the payment connector 2020-11-03 14:39:45 +01:00
Shivva
4f6b16b7da Review's fix 2020-11-03 10:43:20 +01:00
Shivva
e5e627ee29 Alternative implementation of new instadapp flashloan 2020-11-03 10:43:20 +01:00
gitpusha
9e951120e8 chore: hardhat optimizer settings 2020-11-02 16:54:13 +01:00
gitpusha
71226fba45 chore: code cleanup 2020-11-02 12:10:53 +01:00
Shivva
1b83d091a7 Use new InstaDapp flashloan 2020-11-02 09:44:35 +01:00
gitpusha
1b8ad50845 wip:feat: GelatoTaskResolver and TaskGenerators 2020-10-28 19:54:47 +01:00
Shivva
9fb2c4aaac fix one wei discrepency who appear during debt reading from insta maker resolver 2020-10-27 19:18:13 +01:00
gitpusha
d17a2acd97 chore: code cleanup 2020-10-27 10:15:44 +01:00
Shivva
52405cfb8f Test ETH-A to ETH-B Debt bridge case 2020-10-27 10:15:44 +01:00
Shivva
0375fc4138 Add buffer to instaPool borrow, optimize gas cost by removing two extra instamemory write 2020-10-24 13:49:57 +02:00
gitpusha
a6107586d1 feat: clean debt bridge connector and payable fns 2020-10-24 13:49:57 +02:00
Hilmar X
0b8ef845d9 refactored debt bridge smart contract, added comments and edited readme 2020-10-24 13:49:57 +02:00
Shivva
57a48812a5 resolve conflits, refactor integration test 2020-10-24 13:49:57 +02:00
Shivva
ff551cf52b chore: rebased Full refinancing on new master 2020-10-24 13:49:57 +02:00
gitpusha
62ba6fe93d feat: DebtBridge v1 contracts refactored 2020-10-23 16:46:29 +02:00
Shivva
36b2a4f6be Fix collateral calculation bug 2020-10-23 16:46:29 +02:00
Shivva
d04f327159 Unit testing new smart contract. 2020-10-23 16:46:29 +02:00
Shivva
e6a37987b8 feat: Debt Bridge v1 with Refinancing Algo 2020-10-23 16:46:29 +02:00