@nftx/types
Advanced tools
Comparing version 1.11.1 to 1.14.0
@@ -6,2 +6,15 @@ # Change Log | ||
# [1.14.0](https://github.com/NFTX-project/nftxjs/compare/v1.13.2...v1.14.0) (2024-02-01) | ||
### Features | ||
* add full range flag to positions ([c4e7fef](https://github.com/NFTX-project/nftxjs/commit/c4e7fef35607624a2fa6bfde6ddc918b08f511e6)) | ||
* include poolName, tick, and tickValue in liquidity position ([ba6814c](https://github.com/NFTX-project/nftxjs/commit/ba6814c38dccffa7085c2ca8541671b9604da7bb)) | ||
* include tickValue in liquidity pool - this is the eth price for the current tick ([0d44ee8](https://github.com/NFTX-project/nftxjs/commit/0d44ee8875f6ced71cd019c9ada7b0a914ffc60a)) | ||
## [1.11.1](https://github.com/NFTX-project/nftxjs/compare/v1.11.0...v1.11.1) (2024-01-19) | ||
@@ -8,0 +21,0 @@ |
@@ -24,2 +24,4 @@ import type { Token } from './tokens'; | ||
tick: bigint; | ||
/** The current tick price */ | ||
tickValue: bigint; | ||
totalLiquidity: bigint; | ||
@@ -26,0 +28,0 @@ activeLiquidity: bigint; |
@@ -10,2 +10,3 @@ import type { Address, TokenId } from './web3'; | ||
vaultAddress: Address; | ||
poolName: string; | ||
/** The upper boundary of the position range */ | ||
@@ -15,2 +16,8 @@ tickUpper: bigint; | ||
tickLower: bigint; | ||
/** The current tick of the pool */ | ||
tick: bigint; | ||
/** Whether the position is an infinite range */ | ||
isFullRange: boolean; | ||
/** The current tick price */ | ||
tickValue: bigint; | ||
/** The upper tick in ETH */ | ||
@@ -17,0 +24,0 @@ tickUpperValue: bigint; |
@@ -21,3 +21,3 @@ import { CreatePoolFeatures, CreatePoolFees } from './pools'; | ||
wethMin: bigint; | ||
infiniteRange: boolean; | ||
fullRange: boolean; | ||
}; | ||
@@ -131,3 +131,3 @@ export type CreateVaultQuote = { | ||
ethToPair: bigint; | ||
infiniteRange: boolean; | ||
fullRange: boolean; | ||
}; | ||
@@ -134,0 +134,0 @@ tokenIds: [TokenId, number][]; |
{ | ||
"name": "@nftx/types", | ||
"version": "1.11.1", | ||
"version": "1.14.0", | ||
"description": " ", | ||
@@ -30,3 +30,3 @@ "homepage": "https://github.com/NFTX-project/nftxjs#readme", | ||
"dependencies": { | ||
"@nftx/constants": "^1.11.1", | ||
"@nftx/constants": "^1.14.0", | ||
"abitype": "0.9.8", | ||
@@ -33,0 +33,0 @@ "viem": "^1.16.6" |
@@ -25,2 +25,4 @@ import type { Token } from './tokens'; | ||
tick: bigint; | ||
/** The current tick price */ | ||
tickValue: bigint; | ||
totalLiquidity: bigint; | ||
@@ -27,0 +29,0 @@ activeLiquidity: bigint; |
@@ -11,2 +11,3 @@ import type { Address, TokenId } from './web3'; | ||
vaultAddress: Address; | ||
poolName: string; | ||
/** The upper boundary of the position range */ | ||
@@ -16,2 +17,8 @@ tickUpper: bigint; | ||
tickLower: bigint; | ||
/** The current tick of the pool */ | ||
tick: bigint; | ||
/** Whether the position is an infinite range */ | ||
isFullRange: boolean; | ||
/** The current tick price */ | ||
tickValue: bigint; | ||
/** The upper tick in ETH */ | ||
@@ -18,0 +25,0 @@ tickUpperValue: bigint; |
@@ -22,3 +22,3 @@ import { CreatePoolFeatures, CreatePoolFees } from './pools'; | ||
wethMin: bigint; | ||
infiniteRange: boolean; | ||
fullRange: boolean; | ||
}; | ||
@@ -140,3 +140,3 @@ | ||
ethToPair: bigint; | ||
infiniteRange: boolean; | ||
fullRange: boolean; | ||
}; | ||
@@ -143,0 +143,0 @@ tokenIds: [TokenId, number][]; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2151649
41438
Updated@nftx/constants@^1.14.0