File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed
src/wrappers/set-protocol-v2 Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " set.js" ,
3
- "version" : " 0.4.5 " ,
3
+ "version" : " 0.4.6 " ,
4
4
"description" : " A javascript library for interacting with the Set Protocol v2" ,
5
5
"keywords" : [
6
6
" set.js" ,
58
58
"@0xproject/types" : " ^1.1.4" ,
59
59
"@0xproject/typescript-typings" : " ^3.0.2" ,
60
60
"@0xproject/utils" : " ^2.0.2" ,
61
- "@setprotocol/set-protocol-v2" : " ^0.1.5 " ,
61
+ "@setprotocol/set-protocol-v2" : " ^0.1.8 " ,
62
62
"@types/chai-as-promised" : " ^7.1.3" ,
63
63
"@types/jest" : " ^26.0.5" ,
64
64
"@types/web3" : " ^1.2.2" ,
Original file line number Diff line number Diff line change @@ -192,7 +192,7 @@ export default class SlippageIssuanceModuleV2Wrapper {
192
192
callerAddress
193
193
) ;
194
194
195
- return await slippageIssuanceModuleInstance . getRequiredComponentIssuanceUnits (
195
+ return await slippageIssuanceModuleInstance . callStatic . getRequiredComponentIssuanceUnitsOffChain (
196
196
setTokenAddress ,
197
197
quantity ,
198
198
) ;
@@ -222,7 +222,7 @@ export default class SlippageIssuanceModuleV2Wrapper {
222
222
callerAddress
223
223
) ;
224
224
225
- return await slippageIssuanceModuleInstance . getRequiredComponentRedemptionUnits (
225
+ return await slippageIssuanceModuleInstance . callStatic . getRequiredComponentRedemptionUnitsOffChain (
226
226
setTokenAddress ,
227
227
quantity ,
228
228
) ;
Original file line number Diff line number Diff line change 1016
1016
resolved "https://registry.yarnpkg.com/@openzeppelin/contracts/-/contracts-3.4.1-solc-0.7-2.tgz#371c67ebffe50f551c3146a9eec5fe6ffe862e92"
1017
1017
integrity sha512-tAG9LWg8+M2CMu7hIsqHPaTyG4uDzjr6mhvH96LvOpLZZj6tgzTluBt+LsCf1/QaYrlis6pITvpIaIhE+iZB+Q==
1018
1018
1019
- " @setprotocol/set-protocol-v2@^0.1.5 " :
1020
- version "0.1.5 "
1021
- resolved "https://registry.yarnpkg.com/@setprotocol/set-protocol-v2/-/set-protocol-v2-0.1.5 .tgz#c6c559f749866b5a95b5871bb1447fa4d8f7a9c2 "
1022
- integrity sha512-UcbIxfFAARcCi9Yt4xde1Gc7xKrhMpCSGMgzpxEVBJFZPEYiYny1tv4W9lFopxQ9o81ZC7/SO6oZvYdMEuUZzQ ==
1019
+ " @setprotocol/set-protocol-v2@^0.1.8 " :
1020
+ version "0.1.8 "
1021
+ resolved "https://registry.yarnpkg.com/@setprotocol/set-protocol-v2/-/set-protocol-v2-0.1.8 .tgz#d936be0807edd7fdfd6310b124fd6f28f63d950e "
1022
+ integrity sha512-4Tu+UGfJjpHwVZukE9WnA1gke7DR7ba48LY/A66Z87yQDs+I/VfRE9lG5yCL7g8SpOpvQ2DoL9lq3NunsuITog ==
1023
1023
dependencies :
1024
1024
" @uniswap/v3-sdk" " ^3.5.1"
1025
1025
ethers "^5.5.2"
You can’t perform that action at this time.
0 commit comments