Commit Graph

9 Commits

Author SHA1 Message Date
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
Lecky Lao
e76db40294 clean up truffle-config and enable optimiser;
update test to mock token
2020-07-09 21:33:21 +10:00
Lecky Lao
7f896a12de change connectorID method in stores to virtual view;
adding connectorID method in connector as override and set model, id in constructor;
modify migration to deploy and set model, id;
update ganache to unlock master;
fixing curveProtocol test to use master address and get dai from uniswap;
fixing curveSBTCProtocol test to use cast for the sell connector method;
2020-07-04 00:43:19 +10:00
Lecky Lao
e5f418157f Updated math.sol to use SafeMath from OZ;
update migration to deploy CurveSBTCProtocol;
Added Curvesbtc.sol sell method and got it compiled;
2020-06-30 02:15:35 +10:00
AA
b20e2728b6 initial Curve connector version 2020-05-05 04:54:10 +03:00
Thrilok Kumar
0b811a5c4e Minor change in migration script. 2020-05-03 05:44:25 +05:30
Thrilok Kumar
bbd031b8c5 First Commit 2020-05-01 21:31:43 +05:30