timelock-sdk 0.0.21 → 0.0.22
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.cjs +4 -1
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +111 -111
- package/dist/client.d.ts +111 -111
- package/dist/client.js +4 -1
- package/dist/client.js.map +1 -1
- package/dist/{index-B7b3c8cu.d.cts → index-Dej2kIqj.d.cts} +96 -96
- package/dist/{index-CRhFaRiq.d.ts → index-v8akdN5J.d.ts} +9 -9
- package/dist/package.d.cts +1 -1
- package/dist/package.d.ts +1 -1
- package/package.json +1 -1
|
@@ -191,7 +191,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
191
191
|
}];
|
|
192
192
|
readonly stateMutability: "nonpayable";
|
|
193
193
|
}], "symbol", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
194
|
-
|
|
194
|
+
name: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
195
195
|
readonly type: "constructor";
|
|
196
196
|
readonly inputs: readonly [{
|
|
197
197
|
readonly name: "name_";
|
|
@@ -369,8 +369,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
369
369
|
readonly internalType: "bool";
|
|
370
370
|
}];
|
|
371
371
|
readonly stateMutability: "nonpayable";
|
|
372
|
-
}], "
|
|
373
|
-
|
|
372
|
+
}], "name", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
373
|
+
allowance: (args: readonly [`0x${string}`, `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
374
374
|
readonly type: "constructor";
|
|
375
375
|
readonly inputs: readonly [{
|
|
376
376
|
readonly name: "name_";
|
|
@@ -548,8 +548,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
548
548
|
readonly internalType: "bool";
|
|
549
549
|
}];
|
|
550
550
|
readonly stateMutability: "nonpayable";
|
|
551
|
-
}], "
|
|
552
|
-
|
|
551
|
+
}], "allowance", readonly [`0x${string}`, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
552
|
+
balanceOf: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
553
553
|
readonly type: "constructor";
|
|
554
554
|
readonly inputs: readonly [{
|
|
555
555
|
readonly name: "name_";
|
|
@@ -727,8 +727,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
727
727
|
readonly internalType: "bool";
|
|
728
728
|
}];
|
|
729
729
|
readonly stateMutability: "nonpayable";
|
|
730
|
-
}], "
|
|
731
|
-
|
|
730
|
+
}], "balanceOf", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
731
|
+
decimals: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
732
732
|
readonly type: "constructor";
|
|
733
733
|
readonly inputs: readonly [{
|
|
734
734
|
readonly name: "name_";
|
|
@@ -906,7 +906,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
906
906
|
readonly internalType: "bool";
|
|
907
907
|
}];
|
|
908
908
|
readonly stateMutability: "nonpayable";
|
|
909
|
-
}], "
|
|
909
|
+
}], "decimals", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
910
910
|
totalSupply: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
|
|
911
911
|
readonly type: "constructor";
|
|
912
912
|
readonly inputs: readonly [{
|
|
@@ -32554,4 +32554,4 @@ declare const liquiditiesToAmount1: (liquidities: bigint[], startTick: number, t
|
|
|
32554
32554
|
declare const liquiditiesToAmounts: (liquidities: bigint[], startTick: number, currentTick: number, tickSpacing: number) => bigint[];
|
|
32555
32555
|
//#endregion
|
|
32556
32556
|
export { Amount, PRICE_PRECISION, TimelockLens, TimelockMarket, TimelockMarketData, UniswapMathLens, formatAmount, formatCondensed, formatUSD, formatVagueAmount, getErc20, getPriceAtTick, getTickAtPrice, getTimelockLens, getTimelockMarket, getUniswapMathLens, liquiditiesToAmount0, liquiditiesToAmount1, liquiditiesToAmounts, roundTickDown, roundTickUp, scaleAmount, scalePrice, timelockLenses, token0ToToken1, token1ToToken0, uniswapMathLenses, unscaleAmount, unscalePrice, wrapAmount, wrapAmountUnscaled, wrapPrice, wrapPriceUnscaled, zero };
|
|
32557
|
-
//# sourceMappingURL=index-
|
|
32557
|
+
//# sourceMappingURL=index-v8akdN5J.d.ts.map
|
package/dist/package.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import "./uniswapMathLens-B1MIL2yT.cjs";
|
|
2
|
-
import { Amount, PRICE_PRECISION, TimelockLens, TimelockMarket, TimelockMarketData, UniswapMathLens, formatAmount, formatCondensed, formatUSD, formatVagueAmount, getErc20, getPriceAtTick, getTickAtPrice, getTimelockLens, getTimelockMarket, getUniswapMathLens, liquiditiesToAmount0, liquiditiesToAmount1, liquiditiesToAmounts, roundTickDown, roundTickUp, scaleAmount, scalePrice, timelockLenses, token0ToToken1, token1ToToken0, uniswapMathLenses, unscaleAmount, unscalePrice, wrapAmount, wrapAmountUnscaled, wrapPrice, wrapPriceUnscaled, zero } from "./index-
|
|
2
|
+
import { Amount, PRICE_PRECISION, TimelockLens, TimelockMarket, TimelockMarketData, UniswapMathLens, formatAmount, formatCondensed, formatUSD, formatVagueAmount, getErc20, getPriceAtTick, getTickAtPrice, getTimelockLens, getTimelockMarket, getUniswapMathLens, liquiditiesToAmount0, liquiditiesToAmount1, liquiditiesToAmounts, roundTickDown, roundTickUp, scaleAmount, scalePrice, timelockLenses, token0ToToken1, token1ToToken0, uniswapMathLenses, unscaleAmount, unscalePrice, wrapAmount, wrapAmountUnscaled, wrapPrice, wrapPriceUnscaled, zero } from "./index-Dej2kIqj.cjs";
|
|
3
3
|
export { Amount, PRICE_PRECISION, TimelockLens, TimelockMarket, TimelockMarketData, UniswapMathLens, formatAmount, formatCondensed, formatUSD, formatVagueAmount, getErc20, getPriceAtTick, getTickAtPrice, getTimelockLens, getTimelockMarket, getUniswapMathLens, liquiditiesToAmount0, liquiditiesToAmount1, liquiditiesToAmounts, roundTickDown, roundTickUp, scaleAmount, scalePrice, timelockLenses, token0ToToken1, token1ToToken0, uniswapMathLenses, unscaleAmount, unscalePrice, wrapAmount, wrapAmountUnscaled, wrapPrice, wrapPriceUnscaled, zero };
|
package/dist/package.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import "./uniswapMathLens-MrB_VfJB.js";
|
|
2
|
-
import { Amount, PRICE_PRECISION, TimelockLens, TimelockMarket, TimelockMarketData, UniswapMathLens, formatAmount, formatCondensed, formatUSD, formatVagueAmount, getErc20, getPriceAtTick, getTickAtPrice, getTimelockLens, getTimelockMarket, getUniswapMathLens, liquiditiesToAmount0, liquiditiesToAmount1, liquiditiesToAmounts, roundTickDown, roundTickUp, scaleAmount, scalePrice, timelockLenses, token0ToToken1, token1ToToken0, uniswapMathLenses, unscaleAmount, unscalePrice, wrapAmount, wrapAmountUnscaled, wrapPrice, wrapPriceUnscaled, zero } from "./index-
|
|
2
|
+
import { Amount, PRICE_PRECISION, TimelockLens, TimelockMarket, TimelockMarketData, UniswapMathLens, formatAmount, formatCondensed, formatUSD, formatVagueAmount, getErc20, getPriceAtTick, getTickAtPrice, getTimelockLens, getTimelockMarket, getUniswapMathLens, liquiditiesToAmount0, liquiditiesToAmount1, liquiditiesToAmounts, roundTickDown, roundTickUp, scaleAmount, scalePrice, timelockLenses, token0ToToken1, token1ToToken0, uniswapMathLenses, unscaleAmount, unscalePrice, wrapAmount, wrapAmountUnscaled, wrapPrice, wrapPriceUnscaled, zero } from "./index-v8akdN5J.js";
|
|
3
3
|
export { Amount, PRICE_PRECISION, TimelockLens, TimelockMarket, TimelockMarketData, UniswapMathLens, formatAmount, formatCondensed, formatUSD, formatVagueAmount, getErc20, getPriceAtTick, getTickAtPrice, getTimelockLens, getTimelockMarket, getUniswapMathLens, liquiditiesToAmount0, liquiditiesToAmount1, liquiditiesToAmounts, roundTickDown, roundTickUp, scaleAmount, scalePrice, timelockLenses, token0ToToken1, token1ToToken0, uniswapMathLenses, unscaleAmount, unscalePrice, wrapAmount, wrapAmountUnscaled, wrapPrice, wrapPriceUnscaled, zero };
|