Commit Graph

15 Commits

Author SHA1 Message Date
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
3bb6ab8a52 remove trailing spaces;
added mocks contract;
adding tests;
2020-07-08 23:55:25 +10:00
Lecky Lao
0738166122 adding curveSwap.json into abi 2020-07-07 21:03:49 +10:00
Lecky Lao
3d4e032da9 try to test to interact with curveSwap exchange directly but still failed. 2020-07-07 01:01:38 +10:00
Lecky Lao
1b39cb6da8 fixing test filter to use before instead of beforeEach;
added test for adding and removing liquidity
2020-07-04 02:03:00 +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
60f15afeef update test title 2020-07-01 00:23:19 +10:00
Lecky Lao
a24ee929fd added method withdraw and test; 2020-07-01 00:17:20 +10:00
Lecky Lao
0ff06b28f1 added deposit method and test; 2020-07-01 00:07:15 +10:00
Lecky Lao
b3da8dcba0 added studydefi/money-legos for testing;
fixed CurveProtocol test;
added CurveSBTCProtocol and sell function with test but currently failed and revert with unknown reason
2020-06-30 23:16:15 +10:00
Lecky Lao
bce54aba13 fix formating on connectors/curve.sol;
adding @openzeppelin/test-helpers, ganache-cli;
fixing test/CurveProtocol.js to pass;
added truffle network for tenderly proxy;
added .nvmrc to set to node v12 as ganache-cli requires;
2020-06-28 23:15:51 +10:00
AA
893165ce78 fix tests 2020-05-05 07:10:51 +03:00
AA
b20e2728b6 initial Curve connector version 2020-05-05 04:54:10 +03:00