Commit Graph

188 Commits

Author SHA1 Message Date
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
Sowmay Jain
0f3a6e95d0 added name to event parameter 2020-08-27 18:50:44 +10:00
Samyak Jain
13f8131257
Merge pull request #4 from InstaDApp/Multiple-dsa-support
Multiple dsa support
2020-08-27 18:35:57 +10:00
Thrilok kumar
9c8e40658b
Delete batchingProxy.sol 2020-08-27 14:05:42 +05:30
Samyak Jain
1589018a85
Update registry.sol
Update in addDsa to add any DSA.
2020-08-27 18:35:33 +10:00
Thrilok kumar
3d2868bfbd
Delete dai.sol 2020-08-27 14:05:26 +05:30
Sowmay Jain
dea131f846
Merge pull request #5 from InstaDApp/flusher-edits
Flusher improvements
2020-08-27 18:24:29 +10:00
Thrilok Kumar
66bee61f9f checking is there is token pool or not 2020-08-27 12:35:41 +05:30
Thrilok Kumar
1964045812 Fixed deposit event error 2020-08-27 12:34:30 +05:30
Thrilok Kumar
7df9dec72a Merge branch 'flusher-edits' of https://github.com/InstaDApp/dsa-yield-contract into flusher-edits 2020-08-27 12:33:47 +05:30
Thrilok Kumar
56bfe94a64 Added more require statement in setBasic() func 2020-08-27 12:33:44 +05:30
Sowmay Jain
3582cf30ec revert: can't change flusher owner in any case 2020-08-27 17:00:02 +10:00
Sowmay Jain
51f2867cf1 an open end to change owner via spell() 2020-08-27 16:57:57 +10:00
Sowmay Jain
85bd5774b8 removed "withdraw to owner" from deposit() method 2020-08-27 16:57:27 +10:00
Sowmay Jain
e7e13bf44d removed an extra parameter from event 2020-08-27 16:56:36 +10:00
Thrilok Kumar
73492a3450 setting exchange rate in constructor 2020-08-27 12:26:00 +05:30