Commit Graph

232 Commits

Author SHA1 Message Date
Lecky Lao
73a5eee1fd added addGaugeMappings into curveGaugeMapping to add multiple mappings;
added test for that;
2020-08-21 03:38:51 +10:00
Lecky Lao
8a9ce14a9d added test for CurveGauge;
added ABI for CurveGauge;
added MockCurveGauge and MockCurveGaugeMapping;
2020-08-21 01:53:33 +10:00
Lecky Lao
0f9e5f69f1 changed CurveGaugeMapping to use GaugeData to include gaugeAddress and rewardToken;
removed function overload for withdraw and claim by using curveGaugeData;
2020-08-21 00:30:29 +10:00
Lecky Lao
a2b929a794 fixing another withdraw amt balanceOf issue 2020-08-20 23:01:45 +10:00
Lecky Lao
8518f72e37 fixed compiling issues; 2020-08-20 16:09:38 +10:00
Lecky Lao
dbc3698a86 Merge branch 'master' into curve-gauge-connector-feature 2020-08-20 15:51:05 +10:00
Lecky Lao
5afef3d9f0 added amount and rewardAmt for LogClaimedReward;
fixing withdraw -1 to use gauge.balance_Of;
moving same name functions together;
removing setId from withdraw event;
2020-08-20 15:37:36 +10:00
Lecky Lao
8ce92dcb1d fixing compile errors; 2020-08-20 05:39:28 +10:00
Lecky Lao
b4feb0467d added event and function overloading for withdraw and claimReward 2020-08-20 05:37:44 +10:00
Thrilok Kumar
be23d7bba8 Fixed stack too deep error 2020-08-20 00:55:47 +05:30
Thrilok Kumar
4f71c7aa16 minor change 2020-08-20 00:48:59 +05:30
Lecky Lao
d218027001 adding curve gauge mapping;
adding curve gauge connector;
remove trailing spaces;
2020-08-20 05:02:14 +10:00
Thrilok kumar
cd427e96f6
Merge pull request #17 from InstaDApp/maker-connector
Removed transfer function from MakerDao connector
2020-08-15 01:55:17 +05:30
Thrilok kumar
22b5e1b36f
Merge pull request #16 from InstaDApp/auth-connector
Updated Auth connector
2020-08-15 01:54:20 +05:30
Thrilok kumar
9a6891c6b1
Merge pull request #15 from InstaDApp/1inch-test-case
Updated 1inch connector
2020-08-15 01:53:24 +05:30
Thrilok Kumar
faaf8fd3a7 MInor change in mapping contract 2020-08-15 01:51:40 +05:30
Thrilok Kumar
5eff1d37dc Minor changes 2020-08-15 01:51:26 +05:30
Thrilok Kumar
ad235465e2 Added oneInch Mapping contract 2020-08-14 02:02:55 +05:30
Thrilok Kumar
498f717ccb Added min one auth condition 2020-08-10 17:53:23 +05:30
Thrilok Kumar
29623faa32 Removed transfer function 2020-08-09 21:39:32 +05:30
Thrilok Kumar
7c6bc47737 Removed fee logics 2020-08-09 21:37:13 +05:30
Thrilok Kumar
feafe9ccbf Updated connectorID 2020-08-09 20:57:21 +05:30
Thrilok Kumar
b128ee663c Removed import files 2020-08-04 15:40:04 +05:30
Thrilok Kumar
37efb0c69c Removed events, setId, getId from chi connector 2020-08-04 15:38:53 +05:30
Thrilok Kumar
a06bb7a5e5 Added CHI connector 2020-08-03 13:19:23 +05:30
Thrilok Kumar
b14642548f test fix 2020-08-03 12:49:29 +05:30
Thrilok Kumar
e8a7a7715e fixed minor bug 2020-08-03 11:15:56 +05:30
Thrilok Kumar
a865f08b4e Minor changes 2020-08-02 22:28:37 +05:30
Thrilok Kumar
05a89af757 Fixed bugs 2020-08-02 22:26:13 +05:30
Thrilok Kumar
2c8bad40fb Stack too deep when compiling inline assembly Error 2020-07-31 20:03:21 +05:30
Thrilok Kumar
eb1dc5d665 Code refactoring 2020-07-31 19:03:32 +05:30
Thrilok Kumar
8344057327 Major Refactoring 2020-07-31 13:01:21 +05:30
Thrilok Kumar
6d278d1648 Done refactoring 2020-07-30 18:50:25 +05:30
Thrilok Kumar
dd48873a1a Refactored events 2020-07-30 17:26:39 +05:30
Thrilok Kumar
5ceaf7f7fc Added fee taker function 2020-07-29 19:21:14 +05:30
Thrilok Kumar
991af63d50 Updated function names 2020-07-24 18:28:26 +05:30
Thrilok Kumar
9feba3a72a Updated 1proto address 2020-07-24 18:22:04 +05:30
Thrilok Kumar
be859fdd93 Code refactoring 2020-07-24 17:29:21 +05:30
Thrilok Kumar
fbce76935e Minore changes 2020-07-24 16:47:19 +05:30
Thrilok Kumar
c4a58a1fea Merge branch 'master' of github.com:InstaDApp/dsa-connectors 2020-07-24 16:42:10 +05:30
Thrilok Kumar
e6574acdad Done with 1inch connector 2020-07-24 16:42:04 +05:30
Thrilok kumar
92c060102d
Merge pull request #13 from InstaDApp/ycurve-connector
Added curve-y connector
2020-07-24 14:05:02 +05:30
Thrilok Kumar
6ef89a38fc Fixed events 2020-07-20 22:23:54 +05:30
Thrilok Kumar
737423a6b4 Done with staking contract 2020-07-19 20:31:00 +05:30
Lecky Lao
f00b2a74e2 changing getStakingData back to internal to reduce dependancy; 2020-07-19 22:56:05 +10:00
Lecky Lao
7439c0ea4a remove virtual on getStakingData as no need anymore 2020-07-19 21:27:42 +10:00
Lecky Lao
a0edb31ab6 marking getStakingData to public;
rename contract name to staking;
2020-07-19 21:21:48 +10:00
Samyak Jain
3b6d453b3d name changes 2020-07-19 20:43:58 +10:00
Lecky Lao
359b6adf36 fixing library import error;
passing test by removing the getSnxAddr in mockSynthetix;
2020-07-19 20:11:37 +10:00
Lecky Lao
193b57b05c uses stakingToken instead of snxToken 2020-07-19 20:06:58 +10:00