@kittycorn-labs/v4-sdk 1.1.2 → 1.1.3
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.
- package/dist/PositionManager.d.ts +1 -1
- package/dist/entities/pool.d.ts +2 -2
- package/dist/entities/position.d.ts +1 -1
- package/dist/entities/route.d.ts +1 -1
- package/dist/entities/trade.d.ts +1 -1
- package/dist/utils/calldata.d.ts +1 -1
- package/dist/utils/currencyMap.d.ts +1 -1
- package/dist/utils/encodeRouteToPath.d.ts +1 -1
- package/dist/utils/pathCurrency.d.ts +1 -1
- package/dist/utils/priceTickConversions.d.ts +1 -1
- package/dist/utils/sortsBefore.d.ts +1 -1
- package/dist/utils/v4Planner.d.ts +1 -1
- package/dist/utils/v4PositionPlanner.d.ts +1 -1
- package/dist/v4-sdk.cjs.development.js +2 -2
- package/dist/v4-sdk.cjs.development.js.map +1 -1
- package/dist/v4-sdk.cjs.production.min.js +1 -1
- package/dist/v4-sdk.cjs.production.min.js.map +1 -1
- package/dist/v4-sdk.esm.js +2 -2
- package/dist/v4-sdk.esm.js.map +1 -1
- package/package.json +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BigintIsh, Percent, NativeCurrency } from '@
|
|
1
|
+
import { BigintIsh, Percent, NativeCurrency } from '@kittycorn-labs/sdk-core';
|
|
2
2
|
import { TypedDataDomain, TypedDataField } from '@ethersproject/abstract-signer';
|
|
3
3
|
import { Position } from './entities/position';
|
|
4
4
|
import { MethodParameters } from './utils/calldata';
|
package/dist/entities/pool.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BigintIsh, Currency, CurrencyAmount, Price } from '@
|
|
2
|
-
import { Tick, TickConstructorArgs, TickDataProvider } from '@
|
|
1
|
+
import { BigintIsh, Currency, CurrencyAmount, Price } from '@kittycorn-labs/sdk-core';
|
|
2
|
+
import { Tick, TickConstructorArgs, TickDataProvider } from '@kittycorn-labs/v3-sdk';
|
|
3
3
|
import JSBI from 'jsbi';
|
|
4
4
|
export declare const DYNAMIC_FEE_FLAG = 8388608;
|
|
5
5
|
export declare type PoolKey = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BigintIsh, Percent, Price, CurrencyAmount, Currency } from '@
|
|
1
|
+
import { BigintIsh, Percent, Price, CurrencyAmount, Currency } from '@kittycorn-labs/sdk-core';
|
|
2
2
|
import JSBI from 'jsbi';
|
|
3
3
|
import { Pool } from './pool';
|
|
4
4
|
import { AllowanceTransferPermitBatch } from '../PositionManager';
|
package/dist/entities/route.d.ts
CHANGED
package/dist/entities/trade.d.ts
CHANGED
package/dist/utils/calldata.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Currency } from '@
|
|
1
|
+
import { Currency } from '@kittycorn-labs/sdk-core';
|
|
2
2
|
export declare function toAddress(currency: Currency): string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Currency, CurrencyAmount } from '@
|
|
1
|
+
import { Currency, CurrencyAmount } from '@kittycorn-labs/sdk-core';
|
|
2
2
|
import { Pool } from '../entities/pool';
|
|
3
3
|
export declare function amountWithPathCurrency(amount: CurrencyAmount<Currency>, pool: Pool): CurrencyAmount<Currency>;
|
|
4
4
|
export declare function getPathCurrency(currency: Currency, pool: Pool): Currency;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Currency } from '@
|
|
1
|
+
import { Currency } from '@kittycorn-labs/sdk-core';
|
|
2
2
|
export declare function sortsBefore(currencyA: Currency, currencyB: Currency): boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { V4Planner } from './v4Planner';
|
|
2
2
|
import { Pool } from '../entities';
|
|
3
|
-
import { BigintIsh, Currency } from '@
|
|
3
|
+
import { BigintIsh, Currency } from '@kittycorn-labs/sdk-core';
|
|
4
4
|
export declare class V4PositionPlanner extends V4Planner {
|
|
5
5
|
addMint(pool: Pool, tickLower: number, tickUpper: number, liquidity: BigintIsh, amount0Max: BigintIsh, amount1Max: BigintIsh, owner: string, hookData?: string): void;
|
|
6
6
|
addIncrease(tokenId: BigintIsh, liquidity: BigintIsh, amount0Max: BigintIsh, amount1Max: BigintIsh, hookData?: string): void;
|
|
@@ -6,8 +6,8 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'defau
|
|
|
6
6
|
|
|
7
7
|
var invariant = _interopDefault(require('tiny-invariant'));
|
|
8
8
|
var solidity = require('@ethersproject/solidity');
|
|
9
|
-
var sdkCore = require('@
|
|
10
|
-
var v3Sdk = require('@
|
|
9
|
+
var sdkCore = require('@kittycorn-labs/sdk-core');
|
|
10
|
+
var v3Sdk = require('@kittycorn-labs/v3-sdk');
|
|
11
11
|
var utils = require('ethers/lib/utils');
|
|
12
12
|
var JSBI = _interopDefault(require('jsbi'));
|
|
13
13
|
var ethers = require('ethers');
|