|
|
@@ -80,7 +80,7 @@ export async function sendDiscordMessage(positionDetails: OpenPositionEvent['pos
|
|
|
|
|
|
// 添加区间信息
|
|
|
if (positionDetails.lowerTick !== undefined && positionDetails.upperTick !== undefined && mintA && mintB) {
|
|
|
- const decimalsAdj = Math.pow(10, mintB.decimals - mintA.decimals)
|
|
|
+ const decimalsAdj = Math.pow(10, mintA.decimals - mintB.decimals)
|
|
|
const rawPriceLower = Math.pow(1.0001, positionDetails.lowerTick) * decimalsAdj
|
|
|
const rawPriceUpper = Math.pow(1.0001, positionDetails.upperTick) * decimalsAdj
|
|
|
|