Commit Graph

7 Commits

Author SHA1 Message Date
Lecky Lao
a0edb31ab6 marking getStakingData to public;
rename contract name to staking;
2020-07-19 21:21:48 +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
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
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