Commit Graph

147 Commits

Author SHA1 Message Date
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