@pancakeswap/v3-sdk 3.7.12 → 3.7.13

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.
@@ -0,0 +1,46 @@
1
+ export declare const v3PoolAbi: readonly [{
2
+ readonly inputs: readonly [];
3
+ readonly name: "liquidity";
4
+ readonly outputs: readonly [{
5
+ readonly internalType: "uint128";
6
+ readonly name: "";
7
+ readonly type: "uint128";
8
+ }];
9
+ readonly stateMutability: "view";
10
+ readonly type: "function";
11
+ }, {
12
+ readonly inputs: readonly [];
13
+ readonly name: "slot0";
14
+ readonly outputs: readonly [{
15
+ readonly internalType: "uint160";
16
+ readonly name: "sqrtPriceX96";
17
+ readonly type: "uint160";
18
+ }, {
19
+ readonly internalType: "int24";
20
+ readonly name: "tick";
21
+ readonly type: "int24";
22
+ }, {
23
+ readonly internalType: "uint16";
24
+ readonly name: "observationIndex";
25
+ readonly type: "uint16";
26
+ }, {
27
+ readonly internalType: "uint16";
28
+ readonly name: "observationCardinality";
29
+ readonly type: "uint16";
30
+ }, {
31
+ readonly internalType: "uint16";
32
+ readonly name: "observationCardinalityNext";
33
+ readonly type: "uint16";
34
+ }, {
35
+ readonly internalType: "uint32";
36
+ readonly name: "feeProtocol";
37
+ readonly type: "uint32";
38
+ }, {
39
+ readonly internalType: "bool";
40
+ readonly name: "unlocked";
41
+ readonly type: "bool";
42
+ }];
43
+ readonly stateMutability: "view";
44
+ readonly type: "function";
45
+ }];
46
+ //# sourceMappingURL=V3PoolAbi.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"V3PoolAbi.d.ts","sourceRoot":"","sources":["../../src/abi/V3PoolAbi.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmDZ,CAAA"}
package/dist/index.d.ts CHANGED
@@ -17,5 +17,6 @@ export * from './abi/Quoter';
17
17
  export * from './abi/QuoterV2';
18
18
  export * from './abi/SelfPermit';
19
19
  export * from './abi/SwapRouter';
20
+ export * from './abi/V3PoolAbi';
20
21
  export * from './abi/V3Staker';
21
22
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,SAAS,CAAA;AAEvB,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,aAAa,CAAA;AAC3B,cAAc,8BAA8B,CAAA;AAC5C,cAAc,YAAY,CAAA;AAC1B,cAAc,UAAU,CAAA;AACxB,cAAc,cAAc,CAAA;AAC5B,cAAc,UAAU,CAAA;AACxB,cAAc,cAAc,CAAA;AAG5B,cAAc,sBAAsB,CAAA;AACpC,cAAc,oBAAoB,CAAA;AAClC,cAAc,kCAAkC,CAAA;AAChD,cAAc,gCAAgC,CAAA;AAC9C,cAAc,cAAc,CAAA;AAC5B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,kBAAkB,CAAA;AAChC,cAAc,kBAAkB,CAAA;AAChC,cAAc,gBAAgB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,SAAS,CAAA;AAEvB,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,aAAa,CAAA;AAC3B,cAAc,8BAA8B,CAAA;AAC5C,cAAc,YAAY,CAAA;AAC1B,cAAc,UAAU,CAAA;AACxB,cAAc,cAAc,CAAA;AAC5B,cAAc,UAAU,CAAA;AACxB,cAAc,cAAc,CAAA;AAG5B,cAAc,sBAAsB,CAAA;AACpC,cAAc,oBAAoB,CAAA;AAClC,cAAc,kCAAkC,CAAA;AAChD,cAAc,gCAAgC,CAAA;AAC9C,cAAc,cAAc,CAAA;AAC5B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,kBAAkB,CAAA;AAChC,cAAc,kBAAkB,CAAA;AAChC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,gBAAgB,CAAA"}
package/dist/index.js CHANGED
@@ -6546,6 +6546,60 @@ var pancakeV3PoolABI = [
6546
6546
  }
6547
6547
  ];
6548
6548
 
6549
+ // src/abi/V3PoolAbi.ts
6550
+ var v3PoolAbi = [
6551
+ {
6552
+ inputs: [],
6553
+ name: "liquidity",
6554
+ outputs: [{ internalType: "uint128", name: "", type: "uint128" }],
6555
+ stateMutability: "view",
6556
+ type: "function"
6557
+ },
6558
+ {
6559
+ inputs: [],
6560
+ name: "slot0",
6561
+ outputs: [
6562
+ {
6563
+ internalType: "uint160",
6564
+ name: "sqrtPriceX96",
6565
+ type: "uint160"
6566
+ },
6567
+ {
6568
+ internalType: "int24",
6569
+ name: "tick",
6570
+ type: "int24"
6571
+ },
6572
+ {
6573
+ internalType: "uint16",
6574
+ name: "observationIndex",
6575
+ type: "uint16"
6576
+ },
6577
+ {
6578
+ internalType: "uint16",
6579
+ name: "observationCardinality",
6580
+ type: "uint16"
6581
+ },
6582
+ {
6583
+ internalType: "uint16",
6584
+ name: "observationCardinalityNext",
6585
+ type: "uint16"
6586
+ },
6587
+ {
6588
+ internalType: "uint32",
6589
+ name: "feeProtocol",
6590
+ type: "uint32"
6591
+ },
6592
+ {
6593
+ internalType: "bool",
6594
+ name: "unlocked",
6595
+ type: "bool"
6596
+ }
6597
+ ],
6598
+ stateMutability: "view",
6599
+ type: "function"
6600
+ }
6601
+ ];
6602
+
6549
6603
  exports.ADDRESS_ZERO = ADDRESS_ZERO;
6550
6604
  exports.DEPLOYER_ADDRESSES = DEPLOYER_ADDRESSES;
6551
6605
  exports.FACTORY_ADDRESSES = FACTORY_ADDRESSES;
@@ -6615,4 +6669,5 @@ exports.swapRouterABI = swapRouterABI;
6615
6669
  exports.tickToPrice = tickToPrice;
6616
6670
  exports.toHex = toHex;
6617
6671
  exports.tradeComparator = tradeComparator;
6672
+ exports.v3PoolAbi = v3PoolAbi;
6618
6673
  exports.v3StakerABI = v3StakerABI;
package/dist/index.mjs CHANGED
@@ -6540,4 +6540,58 @@ var pancakeV3PoolABI = [
6540
6540
  }
6541
6541
  ];
6542
6542
 
6543
- export { ADDRESS_ZERO, DEPLOYER_ADDRESSES, FACTORY_ADDRESSES, FeeAmount, FeeCalculator, FullMath, LiquidityMath, MasterChefV3, MaxUint128, Multicall, NFT_POSITION_MANAGER_ADDRESSES, NoTickDataProvider, NonfungiblePositionManager, POOL_INIT_CODE_HASHES, Payments, Pool, Position, PositionLibrary, PositionMath, Route, SelfPermit, SqrtPriceMath, Staker, SwapMath, SwapQuoter, SwapRouter, TICK_SPACINGS, Tick, TickLibrary, TickList, TickListDataProvider, TickMath, Trade, computePoolAddress, encodeRouteToPath, encodeSqrtRatioX96, getAmountsAtNewPrice, getAmountsByLiquidityAndPrice, getAverageLiquidity, getDependentAmount, getEstimatedLPFee, getEstimatedLPFeeByAmounts, getEstimatedLPFeeByAmountsWithProtocolFee, getEstimatedLPFeeWithProtocolFee, getLiquidityByAmountsAndPrice, getLiquidityBySingleAmount, getLiquidityFromSqrtRatioX96, getLiquidityFromTick, isMint, isPoolTickInRange, isSorted, masterChefV3ABI, maxLiquidityForAmounts, mostSignificantBit, nearestUsableTick, nonfungiblePositionManagerABI, pancakeV3PoolABI, parseProtocolFees, peripheryPaymentsWithFeeABI, priceToClosestTick, quoterABI, quoterV2ABI, selfPermitABI, sqrtRatioX96ToPrice, subIn256, swapRouterABI, tickToPrice, toHex, tradeComparator, v3StakerABI };
6543
+ // src/abi/V3PoolAbi.ts
6544
+ var v3PoolAbi = [
6545
+ {
6546
+ inputs: [],
6547
+ name: "liquidity",
6548
+ outputs: [{ internalType: "uint128", name: "", type: "uint128" }],
6549
+ stateMutability: "view",
6550
+ type: "function"
6551
+ },
6552
+ {
6553
+ inputs: [],
6554
+ name: "slot0",
6555
+ outputs: [
6556
+ {
6557
+ internalType: "uint160",
6558
+ name: "sqrtPriceX96",
6559
+ type: "uint160"
6560
+ },
6561
+ {
6562
+ internalType: "int24",
6563
+ name: "tick",
6564
+ type: "int24"
6565
+ },
6566
+ {
6567
+ internalType: "uint16",
6568
+ name: "observationIndex",
6569
+ type: "uint16"
6570
+ },
6571
+ {
6572
+ internalType: "uint16",
6573
+ name: "observationCardinality",
6574
+ type: "uint16"
6575
+ },
6576
+ {
6577
+ internalType: "uint16",
6578
+ name: "observationCardinalityNext",
6579
+ type: "uint16"
6580
+ },
6581
+ {
6582
+ internalType: "uint32",
6583
+ name: "feeProtocol",
6584
+ type: "uint32"
6585
+ },
6586
+ {
6587
+ internalType: "bool",
6588
+ name: "unlocked",
6589
+ type: "bool"
6590
+ }
6591
+ ],
6592
+ stateMutability: "view",
6593
+ type: "function"
6594
+ }
6595
+ ];
6596
+
6597
+ export { ADDRESS_ZERO, DEPLOYER_ADDRESSES, FACTORY_ADDRESSES, FeeAmount, FeeCalculator, FullMath, LiquidityMath, MasterChefV3, MaxUint128, Multicall, NFT_POSITION_MANAGER_ADDRESSES, NoTickDataProvider, NonfungiblePositionManager, POOL_INIT_CODE_HASHES, Payments, Pool, Position, PositionLibrary, PositionMath, Route, SelfPermit, SqrtPriceMath, Staker, SwapMath, SwapQuoter, SwapRouter, TICK_SPACINGS, Tick, TickLibrary, TickList, TickListDataProvider, TickMath, Trade, computePoolAddress, encodeRouteToPath, encodeSqrtRatioX96, getAmountsAtNewPrice, getAmountsByLiquidityAndPrice, getAverageLiquidity, getDependentAmount, getEstimatedLPFee, getEstimatedLPFeeByAmounts, getEstimatedLPFeeByAmountsWithProtocolFee, getEstimatedLPFeeWithProtocolFee, getLiquidityByAmountsAndPrice, getLiquidityBySingleAmount, getLiquidityFromSqrtRatioX96, getLiquidityFromTick, isMint, isPoolTickInRange, isSorted, masterChefV3ABI, maxLiquidityForAmounts, mostSignificantBit, nearestUsableTick, nonfungiblePositionManagerABI, pancakeV3PoolABI, parseProtocolFees, peripheryPaymentsWithFeeABI, priceToClosestTick, quoterABI, quoterV2ABI, selfPermitABI, sqrtRatioX96ToPrice, subIn256, swapRouterABI, tickToPrice, toHex, tradeComparator, v3PoolAbi, v3StakerABI };
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "3.7.12",
7
+ "version": "3.7.13",
8
8
  "description": "⚒️ An SDK for building applications on top of Pancakeswap V3",
9
9
  "files": [
10
10
  "dist"