Commit Graph

72 Commits

Author SHA1 Message Date
Shivva
24604e94fe refacto 2020-11-27 08:06:49 +01:00
Shivva
597b23d6e2 Use sub-optimal gas cost algorithm 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
8c7ac0ed3c Use encode with selector in condition 2020-11-25 11:49:37 +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
gitpusha
20e82596b7 cleanup: FMaker._isVaultOwner refactored 2020-11-24 17:56:58 +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
c36a988795 fix: redeployed and verified ConnectorProviderPayment and ConnectGelatoDataPartialRefinanceMaker 2020-11-17 11:21:50 +01:00
gitpusha
2056c26357 chore: included connector ID reminder in deploy scripts 2020-11-16 18:22:51 +01:00
gitpusha
5ef4195b6a chore: contracts deployed to mainnet 2020-11-16 17:58:36 +01:00
gitpusha
40de5ce04c config: contract dependencies for testing 2020-11-13 11:22:21 +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
2944a4e56e chore: configured gas-reporter and codechecks CI 2020-11-10 19:27:57 +01:00
gitpusha
fd9eedf224 chore: cleanup 2020-11-10 17:17:58 +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
49672c1826 chore: cleanup for deployments 2020-11-10 14:39:26 +01:00
gitpusha
3da14b7e90 feat: refactored test-suite for hardhat-deploy-ethers 2020-11-04 18:29:34 +01:00
gitpusha
ce4584a6a5 feat: hardhat-deploy scripts work 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
1da9b630c8 Update README file 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
gitpusha
f98dc798da chore: solhint glob 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
952f79124e Fix bug, put buffer on the full refinancing 2020-10-24 13:49:57 +02:00
gitpusha
080db7e6c2 fix: savePartialRefinanceDataToMemory setUints 2020-10-24 13:49:57 +02: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