Commit Graph

163 Commits

Author SHA1 Message Date
Thrilok Kumar
4efb6a2fc7 Added missing things from eth pool 2020-09-07 02:41:49 +05:30
Thrilok Kumar
d0da53a445 Flusher changes and added flusherLogic 2020-09-07 02:41:23 +05:30
Samyak Jain
d40b4898e4 pool Cap and erc20 code update 2020-09-07 02:01:27 +10:00
Sowmay Jain
1576a2bfc8 mike drop 2020-09-07 01:19:39 +10:00
Sowmay Jain
cba07b8599 refactoring (WIP) 2020-09-07 00:26:08 +10:00
Sowmay Jain
c2855db0f5 edited comments 2020-09-06 23:38:13 +10:00
Samyak Jain
53838909ec new updates implemented 2020-09-06 22:08:29 +10:00
Sowmay Jain
80d318bcbb
Merge pull request #7 from InstaDApp/testcases
Testcases
2020-09-01 21:11:27 +10:00
Thrilok Kumar
10168fc375 Added example .env 2020-09-01 14:33:29 +05:30
Thrilok Kumar
eb065ff386 Fixed testcases 2020-08-31 23:43:37 +05:30
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