Thrilok kumar
c08f9cc73d
Merge pull request #19 from InstaDApp/curve-gauge-connector-feature
...
adding curve gauge connector
2020-08-23 03:09:06 +05:30
Thrilok Kumar
baaaf4ad88
Fixed test cases
2020-08-22 09:32:46 +05:30
Lecky Lao
73a5eee1fd
added addGaugeMappings into curveGaugeMapping to add multiple mappings;
...
added test for that;
2020-08-21 03:38:51 +10:00
Lecky Lao
8a9ce14a9d
added test for CurveGauge;
...
added ABI for CurveGauge;
added MockCurveGauge and MockCurveGaugeMapping;
2020-08-21 01:53:33 +10:00
Lecky Lao
522af88811
removing sender as not needed
2020-08-16 03:03:57 +10:00
Lecky Lao
6474ee6b63
added test for curve_vesting.sol;
...
added MockCurveVesting.sol;
2020-08-16 02:42:09 +10:00
Thrilok Kumar
b14642548f
test fix
2020-08-03 12:49:29 +05:30
Thrilok Kumar
2c8bad40fb
Stack too deep when compiling inline assembly Error
2020-07-31 20:03:21 +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
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