Lecky Lao
12d06f05f7
merge
2020-07-12 02:06:35 +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
Thrilok Kumar
c8d45fbfe4
Fixed minor bug
2020-07-10 16:36:29 +05:30
Thrilok Kumar
717cf13d9b
Merge branch 'synthetix-connector' of github.com:InstaDApp/dsa-connectors into synthetix-connector
2020-07-10 16:30:17 +05:30
Thrilok Kumar
0f33852c24
Minor changes
2020-07-10 16:30:14 +05:30
Thrilok kumar
d851c814f3
Merge pull request #8 from InstaDApp/uniswap-integration
...
Added Uniswap connector
2020-07-09 22:52:10 +05:30
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
d1fc7fd324
Merge branch 'synthetix-connector' of github.com:InstaDApp/dsa-connectors into synthetix-connector
2020-07-09 21:33:27 +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
Thrilok Kumar
ea52262f2f
Merge branch 'synthetix-connector' of github.com:InstaDApp/dsa-connectors into synthetix-connector
2020-07-09 16:51:44 +05:30
Thrilok Kumar
3d4c23a998
Added claimReward function
2020-07-09 16:51:39 +05:30
Thrilok Kumar
96ed4f62dd
Fixed typo
2020-07-08 22:44:51 +05:30
Lecky Lao
3bb6ab8a52
remove trailing spaces;
...
added mocks contract;
adding tests;
2020-07-08 23:55:25 +10:00
Thrilok Kumar
e9d74b2ba1
Fixed bug
2020-07-08 15:41:00 +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
Lecky Lao
3138fad284
Merge pull request #6 from InstaDApp/curvesbtc-connector
...
Curvesbtc connector
2020-07-07 21:44:47 +10:00
Lecky Lao
18a3afd61b
removing import that not being used
2020-07-07 21:30:04 +10:00
Lecky Lao
0738166122
adding curveSwap.json into abi
2020-07-07 21:03:49 +10:00
Thrilok Kumar
220e394caf
Done with COMP connector
2020-07-07 14:43:08 +05:30
Lecky Lao
3d4e032da9
try to test to interact with curveSwap exchange directly but still failed.
2020-07-07 01:01:38 +10:00
Thrilok Kumar
48b7703c59
Minor changes
2020-07-06 16:22:56 +05:30
Thrilok Kumar
668d0457b1
Fixed stack too deep error
2020-07-06 16:18:22 +05:30
Thrilok Kumar
3d6d1e21e2
Fixed stack too deep error
2020-07-06 15:31:37 +05:30
Thrilok Kumar
489fc8b69a
Fixed minor bugs
2020-07-06 15:29:35 +05:30
Thrilok Kumar
d089fdb8d0
Minor change
2020-07-04 22:12:56 +05:30
Lecky Lao
1c51ff67e6
change ERC20 to use Tokeninterface to save connector size;
2020-07-05 00:55:16 +10:00
Thrilok Kumar
3c8e35b676
Removed constructor from curvebtc connector
2020-07-04 18:51:15 +05:30
Thrilok Kumar
cbc7a2e782
Updated uniswap router address
2020-07-04 03:28:16 +05:30
Thrilok Kumar
4f4e38b3f7
Fixed deadline
2020-07-04 03:27:01 +05:30
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
Samyak Jain
51403c4775
fixed bug on sell
2020-07-04 01:53:12 +10:00
Samyak Jain
7c9faf98df
minor change
2020-07-04 01:34:58 +10:00
Samyak Jain
ea7037e2dd
name change uniswap connector
2020-07-04 01:05:48 +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
Thrilok kumar
ac704ab15b
Updated pool connector id
2020-07-03 01:42:49 +05:30
Thrilok Kumar
c639cdc6a9
Done with curve btc connector
2020-07-02 10:27:01 +05:30
Thrilok Kumar
66edeb2e19
Fixed safemath issue
2020-07-02 10:26:47 +05:30
Lecky Lao
962d31bce6
Merge branch 'master' into curvesbtc-connector
2020-07-01 21:09:53 +10:00
Thrilok Kumar
e0f5ca3111
Updated makerdao connector Id
2020-07-01 06:32:31 +05:30
Thrilok Kumar
f34a0240d6
Merge branch 'master' of github.com:InstaDApp/dsa-connectors
2020-07-01 06:09:09 +05:30
Thrilok Kumar
26f2de4025
Added Exit dai function
2020-07-01 06:08:54 +05:30
Samyak Jain
5eff9d5e02
updated pool connector
2020-07-01 02:45:12 +10:00
Lecky Lao
60f15afeef
update test title
2020-07-01 00:23:19 +10:00