timelock-sdk 0.0.59 → 0.0.60
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/abis.cjs +1 -1
- package/dist/abis.d.cts +1 -1
- package/dist/abis.d.ts +1 -1
- package/dist/abis.js +1 -1
- package/dist/client.cjs +2 -3
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +2 -2
- package/dist/client.d.ts +2 -2
- package/dist/client.js +2 -3
- package/dist/client.js.map +1 -1
- package/dist/{index-BSxG0QvH.d.ts → index-Ct8jAxHT.d.ts} +2 -2
- package/dist/{index-CrA0YbZT.d.cts → index-DgBdLHRl.d.cts} +2 -2
- package/dist/{numberUtils-DmIl8J2d.js → numberUtils-DYkWKQ5v.js} +3 -3
- package/dist/{numberUtils-DmIl8J2d.js.map → numberUtils-DYkWKQ5v.js.map} +1 -1
- package/dist/{numberUtils-kfuUM90a.cjs → numberUtils-DaQ_5dq6.cjs} +3 -3
- package/dist/{numberUtils-kfuUM90a.cjs.map → numberUtils-DaQ_5dq6.cjs.map} +1 -1
- package/dist/{optionsMarket-DlorOgXd.js → optionsMarket-BW3qSfsm.js} +210 -108
- package/dist/{optionsMarket-DlorOgXd.js.map → optionsMarket-BW3qSfsm.js.map} +1 -1
- package/dist/{optionsMarket-DR-asJJa.cjs → optionsMarket-C5z_ZrhG.cjs} +210 -108
- package/dist/{optionsMarket-DR-asJJa.cjs.map → optionsMarket-C5z_ZrhG.cjs.map} +1 -1
- package/dist/package.cjs +2 -2
- package/dist/package.d.cts +2 -2
- package/dist/package.d.ts +2 -2
- package/dist/package.js +2 -2
- package/dist/{uniswapMathLens-nYgMLuOt.d.ts → uniswapMathLens-DS1i63oR.d.ts} +184 -96
- package/dist/{uniswapMathLens-CVpKNF0-.d.cts → uniswapMathLens-Dd_BqyEk.d.cts} +184 -96
- package/package.json +1 -1
package/dist/client.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./uniswapMathLens-
|
|
2
|
-
import { D as TimelockMarketData, O as UniswapMathLens, d as Amount } from "./index-
|
|
1
|
+
import "./uniswapMathLens-Dd_BqyEk.cjs";
|
|
2
|
+
import { D as TimelockMarketData, O as UniswapMathLens, d as Amount } from "./index-DgBdLHRl.cjs";
|
|
3
3
|
import * as viem249 from "viem";
|
|
4
4
|
import { Address } from "viem";
|
|
5
5
|
import React, { ReactNode } from "react";
|
package/dist/client.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./uniswapMathLens-
|
|
2
|
-
import { D as TimelockMarketData, O as UniswapMathLens, d as Amount } from "./index-
|
|
1
|
+
import "./uniswapMathLens-DS1i63oR.js";
|
|
2
|
+
import { D as TimelockMarketData, O as UniswapMathLens, d as Amount } from "./index-Ct8jAxHT.js";
|
|
3
3
|
import * as viem249 from "viem";
|
|
4
4
|
import { Address } from "viem";
|
|
5
5
|
import React, { ReactNode } from "react";
|
package/dist/client.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
import { r as lensAbi, t as optionsMarketAbi } from "./optionsMarket-
|
|
5
|
-
import { C as token1ToToken0, D as getUniswapMathLens, E as getTimelockMarket, O as timelockLenses, S as token0ToToken1, T as getTimelockLens, b as roundTickDown, d as wrapPrice, h as getPriceAtTick, k as uniswapMathLenses, l as wrapAmount, m as PRICE_PRECISION, w as getErc20, y as liquiditiesToAmounts } from "./numberUtils-
|
|
4
|
+
import { r as lensAbi, t as optionsMarketAbi } from "./optionsMarket-BW3qSfsm.js";
|
|
5
|
+
import { C as token1ToToken0, D as getUniswapMathLens, E as getTimelockMarket, O as timelockLenses, S as token0ToToken1, T as getTimelockLens, b as roundTickDown, d as wrapPrice, h as getPriceAtTick, k as uniswapMathLenses, l as wrapAmount, m as PRICE_PRECISION, w as getErc20, y as liquiditiesToAmounts } from "./numberUtils-DYkWKQ5v.js";
|
|
6
6
|
import { n as uniswapV3PoolAbi, t as singleOwnerVaultAbi } from "./singleOwnerVault-BeJChjfJ.js";
|
|
7
7
|
import { encodeAbiParameters, encodeFunctionData, erc20Abi, maxUint256, zeroAddress } from "viem";
|
|
8
8
|
import React, { createContext, useContext, useMemo } from "react";
|
|
@@ -409,7 +409,6 @@ const useMintOption = (marketAddr) => {
|
|
|
409
409
|
strikeTick,
|
|
410
410
|
duration,
|
|
411
411
|
maxUint256,
|
|
412
|
-
false,
|
|
413
412
|
await timelockLens.read.getRefTick([vault, strikeTick])
|
|
414
413
|
]
|
|
415
414
|
});
|