Commit Graph

17 Commits

Author SHA1 Message Date
Thrilok Kumar
a333e2de7c Updated mapping address 2020-07-17 18:03:47 +05:30
Thrilok Kumar
c05d2b1ada snx code refactoring 2020-07-14 23:04:52 +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
7f5e85df93
Update synthetix.sol 2020-07-13 21:01:59 +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
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
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
Thrilok Kumar
3d4c23a998 Added claimReward function 2020-07-09 16:51:39 +05:30
Thrilok Kumar
acf0654525 Added setId in deposit function 2020-07-07 21:14:33 +05:30
Thrilok Kumar
54c7429106 Added comments 2020-07-07 20:40:27 +05:30
Thrilok Kumar
abeb50aedb made every public function as payable function 2020-07-07 20:37:31 +05:30
Thrilok Kumar
7f5c9b5071 Code refactoring 2020-07-07 20:35:19 +05:30
Lecky Lao
785a91b758 adding withdraw and getReward; 2020-07-08 00:43:14 +10:00
Lecky Lao
c22ffbf20d fixing interface to use external;
fixing address format and document params;
2020-07-07 23:41:52 +10:00
Lecky Lao
1fde0d19d5 adding comment for stakeToken 2020-07-07 23:12:25 +10:00
Lecky Lao
78be404a70 Adding synthetix staking rewards protocol; 2020-07-07 23:06:29 +10:00