@pendle/core-v2 1.0.2-mainnet → 1.1.0-mainnet

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -322,7 +322,7 @@ library MarketMathStatic {
322
322
  priceImpact = calcPriceImpactYt(market, netYtOut.neg());
323
323
 
324
324
  // Execute swap to calculate exchangeRateAfter
325
- state.swapSyForExactPt(index, netYtOut, block.timestamp);
325
+ state.swapExactPtForSy(index, netYtOut, block.timestamp);
326
326
  exchangeRateAfter = _getTradeExchangeRateExcludeFee(market, state);
327
327
  }
328
328
 
@@ -3,5 +3,6 @@
3
3
  "SY": "0x47BA20283Be4d72D4AFB1862994F4203551539C5",
4
4
  "YT": "0x9523F7e527f8AE884DFb0a38F611AA7417Fd2845",
5
5
  "PT": "0x2CF5Eb8dB83C9752125D5d961C4C9DfaA9178d1A",
6
- "expiry": 1687996800,
6
+ "market": "0x9A76925dD91A7561b58D8353f0bcE4DF1e517aBb",
7
+ "expiry": 1687996800
7
8
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@pendle/core-v2",
3
3
  "description": "Core smart contracts of Pendle Protocol.",
4
4
  "license": "BUSL-1.1",
5
- "version": "1.0.2-mainnet",
5
+ "version": "1.1.0-mainnet",
6
6
  "homepage": "https://pendle.finance",
7
7
  "keywords": [
8
8
  "pendle",