Commit Graph

278 Commits

Author SHA1 Message Date
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
Samyak Jain
8d1b0b9dd4
Merge pull request #11 from InstaDApp/use-staking-token
uses stakingToken instead of snxToken
2020-07-19 20:33:41 +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
Thrilok Kumar
5d2bababe8 Added curve-y connector 2020-07-19 08:59:19 +05:30
Lecky Lao
803e074b8f
Update README.md
adding setId() and getId() into requirement
2020-07-19 00:24:35 +10:00
Thrilok kumar
56c7d10a43
Merge pull request #10 from InstaDApp/Instapool-connector-fee
Updated InstaPool Connector(Added Fee)
2020-07-18 01:45:45 +05:30
Thrilok Kumar
80eeaa5070 Deployed InstaPool connector 2020-07-18 01:44:34 +05:30
Thrilok Kumar
c7e0bcf99a Code Refactoring 2020-07-18 00:56:34 +05:30
Thrilok Kumar
9d8714a163 Fixed bug 2020-07-18 00:56:22 +05:30
Samyak Jain
a12b7ec607 function name change 2020-07-18 04:01:03 +10:00
Samyak Jain
aaa99ff3a4 added events to instapoolFee 2020-07-18 02:43:43 +10:00
Samyak Jain
1c5472c0c7 bug resolved 2020-07-18 02:36:21 +10:00
Samyak Jain
e61630b0f8 code structure 2020-07-18 02:33:34 +10:00
Samyak Jain
fefbeba589 updated the setFeeAmount bug 2020-07-18 02:29:38 +10:00
Samyak Jain
c5078d6a71 removed unnecessary function & setFeeAmount edit 2020-07-18 02:21:47 +10:00
Thrilok Kumar
653df9a0d7 Minor refactoring 2020-07-17 21:33:26 +05:30
Thrilok Kumar
51fe81f38a Fixed minor bug 2020-07-17 21:32:19 +05:30
Thrilok Kumar
d7423573ec Minor change 2020-07-17 21:31:24 +05:30
Thrilok Kumar
ce353a60d8 Moved Instapool fee contract to mapping folder 2020-07-17 21:30:34 +05:30
Thrilok Kumar
458eb75631 Major code refactoring 2020-07-17 21:20:25 +05:30
Thrilok Kumar
ae4da2e50d Changed internal variable to public variable 2020-07-17 20:33:57 +05:30
Thrilok Kumar
164d7418bf Added setFeeAmt function 2020-07-17 20:33:16 +05:30
Thrilok Kumar
4d74845e93 Added minor comment 2020-07-17 20:05:47 +05:30
Thrilok Kumar
b43db8f5a7 Code refactoring 2020-07-17 19:56:31 +05:30
Thrilok Kumar
2c26d733c7 Added variable fee collector address 2020-07-17 19:56:06 +05:30
Thrilok Kumar
d22662aadb Fixed typo 2020-07-17 19:23:49 +05:30
Thrilok Kumar
942bf63271 Set fee collector to master address 2020-07-17 19:23:05 +05:30
Thrilok Kumar
ee73084c01 Almost done with instapool fee connector 2020-07-17 19:19:44 +05:30
Thrilok Kumar
a333e2de7c Updated mapping address 2020-07-17 18:03:47 +05:30
Thrilok kumar
3c1ab740c9
Merge pull request #7 from InstaDApp/synthetix-connector
Synthetix connector
2020-07-14 23:34:00 +05:30
Thrilok Kumar
c05d2b1ada snx code refactoring 2020-07-14 23:04:52 +05:30
Thrilok Kumar
18eedb8833 Minor changes in mapping contract 2020-07-14 22:55:45 +05:30
Lecky Lao
9ce77c1336 update getMappingAddr with virtual;
Update MockSynthetix to override getMappingAddr;
Update test case for adding and removing pool on mapping;
2020-07-15 00:53:21 +10:00
Lecky Lao
df61aebc58 WIP having InternalCompilerError;
formating synthetic.sol and staking.sol;
Adding MockInstaMapping;
update test;
2020-07-14 16:37:08 +10:00
Thrilok kumar
819fead058
Created staking mapping contract 2020-07-13 21:02:50 +05:30
Thrilok kumar
7f5e85df93
Update synthetix.sol 2020-07-13 21:01:59 +05:30
Thrilok kumar
d1265d1cb8
Merge pull request #9 from InstaDApp/COMP-Connector
Added Comp connector
2020-07-12 20:20:46 +05:30
Thrilok Kumar
83482abf97 Updated COMP connector 2020-07-12 17:39:54 +05:30
Lecky Lao
ce11ae6b87 removed constructor from synthetix connector;
overwriting getSynthetixStakingAddr in mock;
comment out everything in migration;
2020-07-12 03:42:59 +10:00
Lecky Lao
12d06f05f7 merge 2020-07-12 02:06:35 +10:00
Lecky Lao
becd0135aa formating stores.sol;
fixing import for SafeERC20 and IERC20;
set up constructor for synthetix connector to set address for staking contract;
created MockSynthetix.sol for test;
added nomiclabs/buidler;
fixed test for SynthetixProtocol.js;
adding .gitatributes to highlight solidity on GitHub;
adding buidler artefacts and cache to git ignore;
adding buidler.config.js;
2020-07-12 02:04:48 +10:00
Thrilok Kumar
c8d45fbfe4 Fixed minor bug 2020-07-10 16:36:29 +05:30
Thrilok Kumar
717cf13d9b Merge branch 'synthetix-connector' of github.com:InstaDApp/dsa-connectors into synthetix-connector 2020-07-10 16:30:17 +05:30
Thrilok Kumar
0f33852c24 Minor changes 2020-07-10 16:30:14 +05:30
Thrilok kumar
d851c814f3
Merge pull request #8 from InstaDApp/uniswap-integration
Added Uniswap connector
2020-07-09 22:52:10 +05:30
Lecky Lao
cdb8bf01eb created Mocks and MockSynthetix;
adding constructor for MockSynthetix and passing mock for synthetix address;
2020-07-10 01:08:08 +10:00