timelock-sdk 0.0.129 → 0.0.130
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/{client-DrMMUpE7.d.ts → client-BrI6wGfs.d.ts} +325 -325
- package/dist/{client-Dxww1phu.d.cts → client-CEpht_eW.d.cts} +325 -325
- package/dist/client.cjs +2 -2
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +1 -1
- package/dist/client.d.ts +1 -1
- package/dist/client.js +2 -2
- package/dist/client.js.map +1 -1
- package/dist/package.d.cts +1 -1
- package/dist/package.d.ts +1 -1
- package/package.json +1 -1
package/dist/client.cjs
CHANGED
|
@@ -1309,7 +1309,7 @@ const useBurnLiquidity = (vaultAddr) => {
|
|
|
1309
1309
|
if (!timelockLens || !vaultAddr) throw new Error("Vault/lens not available");
|
|
1310
1310
|
if (positions.length === 1) await burn(positions[0].tickLower, positions[0].tickUpper, positions[0].liquidity);
|
|
1311
1311
|
else {
|
|
1312
|
-
const
|
|
1312
|
+
const refTick = await timelockLens.read.getRefTick([vaultAddr, positions[0].tickLower]);
|
|
1313
1313
|
await (0, viem_actions.waitForTransactionReceipt)(client, { hash: await writeContractAsync({
|
|
1314
1314
|
address: vaultAddr,
|
|
1315
1315
|
abi: require_singleOwnerVault.singleOwnerVaultAbi,
|
|
@@ -1321,7 +1321,7 @@ const useBurnLiquidity = (vaultAddr) => {
|
|
|
1321
1321
|
p.tickLower,
|
|
1322
1322
|
p.tickUpper,
|
|
1323
1323
|
p.liquidity,
|
|
1324
|
-
|
|
1324
|
+
refTick
|
|
1325
1325
|
]
|
|
1326
1326
|
}))]
|
|
1327
1327
|
}) });
|