Commit Graph

103 Commits

Author SHA1 Message Date
Thrilok Kumar
e11f9553c7 Fixed withdraw event typo 2020-08-31 23:43:09 +05:30
Thrilok kumar
90b28b40b0
Merge pull request #9 from InstaDApp/last-edits
Last edits
2020-08-31 23:38:36 +05:30
Thrilok Kumar
4b9f9ed583 Done with erc20 and eth pool test cases 2020-08-31 23:37:54 +05:30
Thrilok kumar
e88b99245a
Fixed withdraw bug in eth pool 2020-08-31 14:59:14 +05:30
Thrilok kumar
5f58d8eedc
Fixed withdraw bug 2020-08-31 14:58:46 +05:30
Thrilok Kumar
40c932bf20 Updated git ignore 2020-08-31 14:33:31 +05:30
Thrilok kumar
a5c45ce761
Merge pull request #8 from InstaDApp/last-edits
Merging last-edits in testcases
2020-08-31 14:32:55 +05:30
Thrilok Kumar
d383ec4e3a Fixed max withdrawal bug 2020-08-31 12:59:20 +05:30
Thrilok Kumar
ee9e1b39d0 Set max if amount higher than max withdraw amount 2020-08-31 12:54:45 +05:30
Thrilok Kumar
d43a1509ee Check to is vaild for withdraw function 2020-08-31 00:49:38 +05:30
Thrilok Kumar
8bcec5c0ac Added comments in registry.sol 2020-08-31 00:42:23 +05:30
Thrilok Kumar
2da1029857 Added comments; Added user address in deposit and withdraw 2020-08-31 00:16:03 +05:30
Thrilok Kumar
1c2bd398f1 Minor edits; Added dsa address in LogDeploy 2020-08-30 23:40:32 +05:30
Thrilok Kumar
a7fae35c8b WIP: done with registry test cases 2020-08-30 23:33:16 +05:30
Sowmay Jain
99938ad737 fixed event emit on erc20 2020-08-31 03:38:58 +10:00
Sowmay Jain
86701e67bc simplified withdrawInsurance() method 2020-08-31 03:35:51 +10:00
Sowmay Jain
dac3be57fe fixed deposit bug 2020-08-31 03:08:40 +10:00
Sowmay Jain
11410e0d5e setExchangeRate() diagnosis completed 2020-08-31 02:33:07 +10:00
Sowmay Jain
6a6a7f51e5 similar changes to previous to erc20 as well 2020-08-31 01:52:16 +10:00
Sowmay Jain
07c2b67b63 created common getter for current rate 2020-08-31 01:47:40 +10:00
Sowmay Jain
3cc84a904a fixed an insurance amount (ZERO'd) bug 2020-08-31 01:46:39 +10:00
Thrilok Kumar
25511f0629 Merge branch 'master' into testcases 2020-08-30 19:12:14 +05:30
Sowmay Jain
365a91ed10 Merge branch 'master' of https://github.com/InstaDApp/dsa-yield-contract 2020-08-30 23:34:04 +10:00
Sowmay Jain
18d9f405e3 edits 2020-08-30 23:34:01 +10:00
Thrilok Kumar
93e809d852 Minor edits 2020-08-30 19:03:19 +05:30
Thrilok Kumar
5335fb7189 added auth condition in eth pool also 2020-08-30 19:03:06 +05:30
Sowmay Jain
1b6e03ebd2 updated comments and removed pool cap 2020-08-30 23:27:03 +10:00
Thrilok kumar
a426722e57
Update registry.sol 2020-08-30 18:29:41 +05:30
Samyak Jain
3a9287ebb4 Merge branch 'master' of https://github.com/InstaDApp/dsa-yield-contract 2020-08-30 22:50:39 +10:00
Samyak Jain
e79e2cd970 added withdrawal fee 2020-08-30 22:50:37 +10:00
Sowmay Jain
137a6d5e31 example file 2020-08-30 15:15:59 +10:00
Thrilok Kumar
c21c942d25 Removed payable from unused functions 2020-08-30 09:46:08 +05:30
Samyak Jain
b73c7be2e1 Merge branch 'master' of https://github.com/InstaDApp/dsa-yield-contract 2020-08-30 01:24:23 +10:00
Samyak Jain
bb675975ce withdraw insurance amount function 2020-08-30 01:24:21 +10:00
Sowmay Jain
070cee7eb0 removed proxy address from event 2020-08-29 04:57:25 +10:00
Thrilok Kumar
bff591e085 Code refactor 2020-08-28 23:41:36 +05:30
Samyak Jain
f8c117c513 updated is loss is greater than insurance amount 2020-08-29 03:56:34 +10:00
Thrilok Kumar
e11b74d109 Updated package.json 2020-08-28 22:48:27 +05:30
Thrilok Kumar
8079b3476d Fixed lib path in pools 2020-08-28 22:42:59 +05:30
Thrilok Kumar
ff5af899d5 Updated file structure 2020-08-28 22:42:21 +05:30
Thrilok Kumar
0c0bb39cbf Fixed bug in flusher contract 2020-08-28 22:00:38 +05:30
Thrilok Kumar
e39705a1de Added get length function for token pool dsa 2020-08-27 20:16:40 +05:30
Thrilok Kumar
f9d167a3a8 Added dsa array 2020-08-27 20:07:03 +05:30
Thrilok kumar
539daa4603
Merge pull request #6 from InstaDApp/variable-exchangeRate-decimal
Changed exchange rate modal
2020-08-27 17:38:06 +05:30
Thrilok kumar
a81ed67a7e
Merge branch 'master' into variable-exchangeRate-decimal 2020-08-27 17:37:32 +05:30
Thrilok Kumar
581de54d23 code refactor 2020-08-27 17:32:23 +05:30
Thrilok Kumar
1cf3106273 minor edit 2020-08-27 17:30:48 +05:30
Thrilok Kumar
f63a3fc04d Added token paramater in deploy function 2020-08-27 17:26:31 +05:30
Samyak Jain
27be4fbfd1 ethPool exchange rate changes 2020-08-27 21:02:09 +10:00
Samyak Jain
8e4cbd8863 chnaged exchange rate modal 2020-08-27 20:23:04 +10:00