Commit Graph

349 Commits

Author SHA1 Message Date
Dimitri
f354f2112a chore: add mainnet tests 2021-12-30 17:43:22 +07:00
Dimitri
972b8a8ebb wip: add swap tests 2021-12-30 16:22:24 +07:00
Dimitri
ceb90406cd chore: add standadized functions 2021-12-30 16:21:54 +07:00
bhavik
a48ab3c0b3 tests: minor fixes 2021-12-30 12:15:18 +05:30
Dimitri
14008b3bf9 wip: reward claim tests 2021-12-30 12:05:46 +07:00
bhavik
aa5d3c3f30 added testcases 2021-12-29 23:52:21 +05:30
Dimitri
e892220020 wip: withdraw tests 2021-12-29 20:06:43 +07:00
Dimitri
67004ca16d wip: deposit tests 2021-12-29 17:37:54 +07:00
bhavik
612980c52b updated-contract 2021-12-26 18:38:47 +05:30
pradyuman-verma
37f5fe5748
quickswap deployed update 2021-12-15 18:13:58 +05:30
pradyuman-verma
4f5fb523be
fixed quickswap tests 2021-12-15 17:52:53 +05:30
pradyuman-verma
99d9d17f23
updated sushi tests 2021-12-15 16:37:32 +05:30
pradyuman-verma
2a0a61f1e1 update 2021-12-15 00:54:54 +05:30
pradyuman-verma
95ed18984f added sushiswap tests 2021-12-13 21:17:28 +05:30
pradyuman-verma
aa98f91e02 Merge branch 'quickswap-fix' into feat/quickswap 2021-12-13 16:50:21 +05:30
bhavik
9b6c759ce8 updated-test 2021-12-13 16:19:13 +05:30
bhavik
aba4325ebe added-test 2021-12-13 16:19:02 +05:30
pradyuman-verma
7b8659b91c update 2021-12-13 15:51:06 +05:30
pradyuman-verma
4162176d96 Merge branch 'feat/quickswap' of https://github.com/Instadapp/dsa-connectors into feat/quickswap 2021-12-13 15:50:51 +05:30
pradyuman-verma
c7fc18143c added typescript support 2021-12-13 15:50:32 +05:30
pradyuman-verma
baa2200cf2 added quickswap testcases 2021-12-13 15:50:32 +05:30
cryptoDev222
650009f45e feat/implement sushiswap double incentive 2021-12-13 15:50:32 +05:30
cryptoDev222
102be3a91c implement sushi connector 2021-12-13 15:50:32 +05:30
pradyuman-verma
606f933eb7 updated ubiquity tests 2021-12-13 04:07:25 +05:30
zapaz.eth
4a7f1cc1d1 Merge branch 'main' into ubiquity 2021-12-12 21:20:08 +01:00
bhavik
d416e342ea fixed typo 2021-12-12 21:23:30 +05:30
pradyuman-verma
fe4d30aee8 updated tests 2021-12-12 19:41:43 +05:30
bhavik
25dc808012 Merge branch 'feat/0x' of github.com:Instadapp/dsa-connectors into feat/0x 2021-12-12 19:17:32 +05:30
bhavik
d2cb02aef3 updated polygon test 2021-12-12 19:15:11 +05:30
pradyuman-verma
1457ae2509 fixes 2021-12-12 19:01:49 +05:30
pradyuman-verma
2f6f66f640 fixed mainnet 0x test 2021-12-12 18:51:58 +05:30
bhavik
f6e147290b added test on polygon 2021-12-12 18:26:27 +05:30
bhavik
8798e36d1d fixed minor issue 2021-12-12 15:52:09 +05:30
bhavik
128b076c94 updated-test 2021-12-12 15:45:25 +05:30
bhavik
a5bb2e6a5a added-test 2021-12-12 00:20:22 +05:30
bhavik
29724c2fc8 updated-test 2021-12-11 19:48:50 +05:30
bhavik
0d44bd896a fixed typo 2021-12-11 15:46:32 +05:30
bhavik
a4c236ebeb added test 2021-12-11 15:46:32 +05:30
bhavik
19d8d85eaf added test for 0x 2021-12-11 15:46:32 +05:30
pradyuman-verma
6e7381056f updated scripts 2021-12-11 13:37:45 +05:30
pradyuman-verma
ec124db7a1 updated scripts 2021-12-11 13:37:45 +05:30
pradyuman-verma
06e5295533 updated scripts 2021-12-11 13:37:45 +05:30
pradyuman-verma
f8a812fb2f fixed liquidity test 2021-12-11 13:37:45 +05:30
pradyuman-verma
92b99247ea fixed tests 2021-12-11 13:37:45 +05:30
pradyuman-verma
46b0c02e18 updated test: multichain constants 2021-12-11 13:37:45 +05:30
pradyuman-verma
bd96a95853 update 2021-12-11 13:37:45 +05:30
pradyuman-verma
c2ccad9668 added test runner scripts + test cases fix 2021-12-11 13:37:45 +05:30
pradyuman-verma
2d594b0ad7 updated test cases + scripts + fixes 2021-12-11 13:37:45 +05:30
pradyuman-verma
5c275f3ad8 updated tests and scripts 2021-12-11 13:37:45 +05:30
pradyuman-verma
e4d39cbb31 update 2021-12-11 13:37:45 +05:30
pradyuman-verma
6f14a93e8a removed errors 2021-12-11 13:37:45 +05:30
Thrilok Kumar
65f3d3f9ac fixed ts types 2021-12-11 13:37:45 +05:30
pradyuman-verma
6863f08c5f segregated scripts 2021-12-11 13:37:45 +05:30
0xBhavik
280c03dae1 Testcases typescript (#124)
* initial commit

* converted testcases to ts

* Update test/mainnet/aave/v1.test.ts

Co-authored-by: 0xPradyuman <63545809+pradyuman-verma@users.noreply.github.com>

* Update test/mainnet/aave/v1.test.ts

Co-authored-by: 0xPradyuman <63545809+pradyuman-verma@users.noreply.github.com>

* Update test/mainnet/aave/v1.test.ts

Co-authored-by: 0xPradyuman <63545809+pradyuman-verma@users.noreply.github.com>

* updated test

* updated-test

* removed typechain

Co-authored-by: 0xPradyuman <63545809+pradyuman-verma@users.noreply.github.com>
2021-12-11 13:37:45 +05:30
pradyuman-verma
d7185bb6dd fix: initial commit for shift 2021-12-11 13:37:19 +05:30
pradyuman-verma
144df2d650
fix: removed mistakenly added sample folder 2021-11-21 12:50:14 +05:30
pradyuman-verma
c92d05bae0
test cases update 2021-11-20 17:57:45 +05:30
pradyuman-verma
c952949ded
final update 2021-11-20 16:00:56 +05:30
pradyuman-verma
86ea7dd608
update 2021-11-20 03:25:52 +05:30
pradyuman-verma
62899b3a6a
fix 2021-11-20 01:59:08 +05:30
pradyuman-verma
d96fae5728
added calculate pool address using tokens and fee 2021-11-20 00:13:17 +05:30
pradyuman-verma
060a35f723
fixes 2021-11-19 21:24:42 +05:30
pradyuman-verma
4fadaa0515
minor fix 2021-11-19 19:52:34 +05:30
pradyuman-verma
90ff0eedf0
fix: minor 2021-11-19 14:02:48 +05:30
pradyuman-verma
d59c8e76ed
fix: minor 2021-11-19 14:02:18 +05:30
pradyuman-verma
ea3072e802
fix: minor 2021-11-19 13:59:07 +05:30
pradyuman-verma
faa1cc6b0f
fix 2021-11-19 02:06:41 +05:30
pradyuman-verma
4736e8dadc
feat: sample uniswap connector on arbitrum 2021-11-19 02:04:28 +05:30
Alain Papazoglou
684bc6acb9
Merge branch 'main' into ubiquity 2021-11-02 09:29:42 +01:00
Thrilok kumar
2d186feb6f
Merge pull request #93 from eccheung4/pooltogether-connector-polygon
Pooltogether Polygon connector
2021-10-21 00:02:57 +05:30
zapaz.eth
a7ef817d95 improvments 2021-10-16 11:40:18 +02:00
zapaz.eth
dffd14c2fe add withdraw functionnality 2021-10-16 11:21:41 +02:00
eccheung4
5224f45d5c fix: update test for renaming of ConnectV2PoolTogetherPolygon 2021-10-12 06:16:25 -07:00
Thrilok kumar
3334476544
Merge pull request #73 from eccheung4/pooltogether-connector
PoolTogether connector
2021-10-12 14:44:47 +05:30
zapaz.eth
a12320f8fd ubiquity connector after rebase main 2021-10-11 18:47:51 +02:00
eccheung4
4873bbf25f fix: update tests for polygon and use AAVE and USDC sponsor pool 2021-10-04 13:37:30 -07:00
eccheung4
220e826e01 fix: remove code for PODs 2021-09-29 07:38:03 -07:00
eccheung4
bbc690e13d initial: copy of files from mainnet connector 2021-09-29 07:35:12 -07:00
cryptoDev222
48cf6a02fe fix testcases 2021-09-29 00:19:30 -05:00
eccheung4
e28def660c feat: add claim() for Pod TokenDrop 2021-09-19 10:24:24 -07:00
cryptoDev222
a55585136e Merge branch 'feat/deploy-from-cmd' of https://github.com/Instadapp/dsa-connectors into feat/deploy-from-cmd 2021-09-17 14:45:19 -05:00
cryptoDev222
84075c39b6 feat: deploy connectors from cmd and minor fix on uniswap v3 connector 2021-09-17 14:44:09 -05:00
Thrilok kumar
f73472b920
Merge branch 'main' into feature/yearn-v2-connector 2021-09-11 18:51:16 +05:30
Thrilok kumar
28a0d67979
Merge pull request #72 from Instadapp/feat/ERC721-deposit/withdraw
Add ERC721 and ERC1155 connector
2021-09-11 13:42:42 +05:30
eccheung4
2705ab4ad9 Fix: Add convertEthToWeth logic for WETH PrizePools 2021-09-09 16:32:24 -07:00
cryptoDev222
cf53215d13 refactor: minor fixes 2021-09-07 15:20:19 -05:00
cryptoDev222
9142035f1f Merge branch 'feat/uniswap-staker' of https://github.com/Instadapp/dsa-connectors into feat/uniswap-staker 2021-09-07 14:36:34 -05:00
cryptoDev222
a2717f0853 refactor: minor fixes 2021-09-07 14:35:46 -05:00
Thrilok Kumar
331e016638 Merge branch 'main' into feat/uniswap-staker 2021-09-07 23:44:47 +05:30
Thomas Bouder
bc80d780ec
👷 Update after review 2021-09-07 13:31:24 +02:00
Thomas Bouder
90b0a62f47
👷 Review update 2021-09-07 10:04:51 +02:00
eccheung4
0518a123fe Fix: use token address instead of prizePool address in depositToPod() 2021-09-02 22:57:08 -07:00
eccheung4
ac504364d9 Fix: Add maximumExitFee examples to test 2021-09-02 22:35:39 -07:00
eccheung4
3a052b9800 Fix: Remove referrer as it's not used 2021-09-02 13:43:23 -07:00
eccheung4
f9762d8dfc Fix: replace where relevant with address(this) 2021-09-02 10:35:02 -07:00
cryptoDev222
1252c0f427 refactor: minor fixes and implement ETH-INST pool test 2021-09-02 03:09:09 -05:00
eccheung4
a8ad815814 Clean up code a bit 2021-08-31 17:19:15 -07:00
eccheung4
3207bdd3b0 Fix uniswap LP test 2021-08-31 09:57:45 -07:00
cryptoDev222
d39dc1d509 feat: implement ERC721/1155 testcase 2021-08-31 11:17:03 -05:00
cryptoDev222
453848c7f5 feat: ERC721 test case 2021-08-31 09:41:31 -05:00
Edwin Cheung
e7788adac9
Merge branch 'main' into pooltogether-connector 2021-08-29 22:07:30 -07:00
Thomas Bouder
f323508f7f
Merge branch 'main' into feature/yearn-v2-connector 2021-08-29 19:01:03 +02:00
Thrilok kumar
4c2fb6efca
Merge pull request #68 from Instadapp/feat/uniswap-v3-connector
Uniswap v3 connector
2021-08-29 22:19:26 +05:30
eccheung4
c797730f96 Add claimed amount for setId in claim function and event 2021-08-28 16:01:15 -07:00
eccheung4
8748fc3734 Add test for Uniswap POOL LP PrizePool and Faucet, update hardhat fork blockNumber 2021-08-28 10:34:55 -07:00
Edwin Cheung
e3ddf057cf
Merge branch 'Instadapp:main' into pooltogether-connector 2021-08-27 10:19:54 -07:00
cryptoDev222
c26e01a72b refactor: improve test case 2021-08-25 16:26:43 -05:00
cryptoDev222
509d2cf3bd refactor: fix deposit/withdraw function 2021-08-24 14:56:55 -05:00
cryptoDev222
30eb39378f implement uniswap v3 staker 2021-08-24 14:04:17 -05:00
Thomas Bouder
81a50e969d
Add new Yearn vault connector 2021-08-23 23:35:06 +02:00
yaron velner
ed791eba47 b.liquity 2021-08-23 13:06:49 +03:00
yaronvel
7ced8a1279
Merge branch 'Instadapp:main' into main 2021-08-23 10:57:44 +03:00
cryptoDev222
2c1bbf6c36 feat: fix uniswap v3 test script 2021-08-20 16:33:54 -05:00
eccheung4
7ea00d7d03 Add depositToPod and withdrawFromPod functions 2021-08-18 21:58:00 -07:00
eccheung4
6ab5a1ef3e Merge branch 'main' into pooltogether-connector 2021-08-13 14:38:55 -07:00
cryptoDev222
04a26554b7 fix issues 2021-08-12 17:12:11 -05:00
cryptoDev222
77bcdb8049 testcase script file and case tokenID 0 2021-08-12 10:44:34 -05:00
eccheung4
bf80497bb2 Add claimAll function 2021-08-11 15:36:57 -07:00
Thrilok Kumar
553dc995e9 Fix test case 2021-08-12 00:41:28 +05:30
cryptoDev222
251092e020 initial uniswap testcase 2021-08-11 08:52:01 -05:00
Edward Mulraney
56b101f2f9 handle repayments in adjust() and upate tests 2021-08-10 11:18:32 +01:00
eccheung4
8d9600b3b2 Add TokenFaucet and claim function 2021-08-05 10:56:02 -07:00
Edward Mulraney
e999422c59 Merge branch 'main' of github.com:liquity/dsa-connectors 2021-07-12 10:25:52 +01:00
yaron velner
8a70ccddff hardhat contracts instead of web3 contracts in test 2021-07-06 11:42:25 +03:00
yaron velner
2fac6a94ff close test 2021-07-06 11:26:32 +03:00
yaron velner
6fa171df23 deposit and borrow test 2021-07-06 09:17:12 +03:00
yaron velner
07705981d6 basic b.makerdao tests 2021-07-06 00:08:32 +03:00
yaron velner
e892d52c51 b.compound 2021-07-05 21:58:51 +03:00
eccheung4
1de8b7d5b3 Add some comments 2021-07-05 09:30:43 -07:00
eccheung4
8702de7dd1 WIP: Withdrawal Working 2021-07-05 06:52:20 -07:00
eccheung4
aa6e61a6d7 WIP: Deposit test seems to be working 2021-07-03 23:55:45 -07:00
Edward Mulraney
7ef923929c fix broken tests from instadapp PR 2021-06-30 17:16:05 +01:00
Edward Mulraney
003ef06887 Merge branch 'main' of github.com:Instadapp/dsa-connectors 2021-06-25 09:41:09 +01:00
Thrilok kumar
d26e38e7cd
Update instapool.test.js 2021-06-24 17:08:42 +05:30
Thrilok Kumar
1cce1fffea Added flashloan testcases 2021-06-24 16:58:01 +05:30
Edward Mulraney
4ea58ba50d log the eth and lqty gains from stability pool operations. general tidy up 2021-06-09 21:02:06 +01:00
Edward Mulraney
7588733d98 add tests to ensure getId/setIds all work 2021-06-08 16:57:36 +01:00
Edward Mulraney
5be5cb6866 include all gains from staking/stability-pool when performing operations on them 2021-06-04 15:55:04 +01:00
Edward Mulraney
97db94fe59 add test for instadapp event return values. address PR comments:
- add setUints to all applicable functions
    - use uint256 rather than uint for event data
2021-06-04 12:18:16 +01:00
Daksh Miglani
678fd641fb test: 💍 add aave v1 and v2 tests 2021-06-04 16:17:41 +05:30
Edward Mulraney
a1203c66ae add liquity connector 2021-06-01 15:50:52 +01:00
Thrilok Kumar
8031d66566 typo 2021-05-15 00:47:50 +05:30
Thrilok Kumar
dc849877c4 Added basic compound testcases 2021-05-15 00:46:54 +05:30
Daksh Miglani
e3eddd093a feat: 🎸 access controller -> mapping controller bytes32 -> addr 2021-05-10 14:19:45 +05:30
Daksh Miglani
66f1a7cc6e test: 💍 getRoleMember and getRoleMemberCount 2021-05-10 03:46:55 +05:30
Daksh Miglani
e220e60cba test: 💍 add InstaMapping tests and improve other tests 2021-05-10 01:15:42 +05:30
Daksh Miglani
2520d57e88 test: 💍 InstaAccessControl contract 2021-05-10 00:46:11 +05:30
Daksh Miglani
247d75f857 feat: 🎸 add new access control and use it in InstaMappings 2021-05-09 21:00:29 +05:30
Samyak Jain
b54457d90c basic setup 2020-11-20 23:41:19 +11:00