timelock-sdk 0.0.11 → 0.0.13

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.
@@ -3724,7 +3724,7 @@ declare const getErc20: (address: Address, client: Client) => {
3724
3724
  }];
3725
3725
  readonly anonymous: false;
3726
3726
  }], "symbol", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
3727
- name: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
3727
+ allowance: (args: readonly [`0x${string}`, `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
3728
3728
  readonly type: "constructor";
3729
3729
  readonly inputs: readonly [{
3730
3730
  readonly name: "name_";
@@ -3942,8 +3942,8 @@ declare const getErc20: (address: Address, client: Client) => {
3942
3942
  readonly internalType: "uint256";
3943
3943
  }];
3944
3944
  readonly anonymous: false;
3945
- }], "name", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
3946
- allowance: (args: readonly [`0x${string}`, `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
3945
+ }], "allowance", readonly [`0x${string}`, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
3946
+ balanceOf: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
3947
3947
  readonly type: "constructor";
3948
3948
  readonly inputs: readonly [{
3949
3949
  readonly name: "name_";
@@ -4161,8 +4161,8 @@ declare const getErc20: (address: Address, client: Client) => {
4161
4161
  readonly internalType: "uint256";
4162
4162
  }];
4163
4163
  readonly anonymous: false;
4164
- }], "allowance", readonly [`0x${string}`, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
4165
- balanceOf: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
4164
+ }], "balanceOf", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
4165
+ decimals: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
4166
4166
  readonly type: "constructor";
4167
4167
  readonly inputs: readonly [{
4168
4168
  readonly name: "name_";
@@ -4380,8 +4380,8 @@ declare const getErc20: (address: Address, client: Client) => {
4380
4380
  readonly internalType: "uint256";
4381
4381
  }];
4382
4382
  readonly anonymous: false;
4383
- }], "balanceOf", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
4384
- decimals: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
4383
+ }], "decimals", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
4384
+ name: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
4385
4385
  readonly type: "constructor";
4386
4386
  readonly inputs: readonly [{
4387
4387
  readonly name: "name_";
@@ -4599,7 +4599,7 @@ declare const getErc20: (address: Address, client: Client) => {
4599
4599
  readonly internalType: "uint256";
4600
4600
  }];
4601
4601
  readonly anonymous: false;
4602
- }], "decimals", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
4602
+ }], "name", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
4603
4603
  totalSupply: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
4604
4604
  readonly type: "constructor";
4605
4605
  readonly inputs: readonly [{
@@ -28686,7 +28686,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
28686
28686
  }];
28687
28687
  };
28688
28688
  type TimelockMarketData = Awaited<ReturnType<ReturnType<typeof getTimelockLens>['read']['getMarketData']>> & {
28689
- address: string;
28689
+ address: Address;
28690
28690
  };
28691
28691
  declare const getTimelockLens: (client: Client | PublicClient) => {
28692
28692
  read: {
@@ -38889,4 +38889,4 @@ declare const erc20Abi: readonly [{
38889
38889
  }];
38890
38890
  //#endregion
38891
38891
  export { Amount, PRICE_PRECISION, TimelockLens, TimelockMarket, TimelockMarketData, TimelockVault, UniswapMathLens, UniswapPool, erc20Abi, formatAmount, formatCondensed, formatUSD, formatVagueAmount, getErc20, getPriceAtTick, getTickAtPrice, getTimelockLens, getTimelockMarket, getTimelockVault, getUniswapMathLens, getUniswapPool, lensAbi, liquiditiesToAmount0, liquiditiesToAmount1, liquiditiesToAmounts, optionsMarketAbi, roundTickDown, roundTickUp, scaleAmount, scalePrice, singleOwnerVaultAbi, timelockLenses, token0ToToken1, token1ToToken0, uniswapMathLensAbi, uniswapMathLenses, uniswapV3PoolAbi, unscaleAmount, unscalePrice, wrapAmount, wrapAmountUnscaled, wrapPrice, wrapPriceUnscaled, zero };
38892
- //# sourceMappingURL=index-tyVRQhLR.d.cts.map
38892
+ //# sourceMappingURL=index-CbOCkO22.d.cts.map
@@ -3724,7 +3724,7 @@ declare const getErc20: (address: Address, client: Client) => {
3724
3724
  }];
3725
3725
  readonly anonymous: false;
3726
3726
  }], "symbol", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
3727
- name: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
3727
+ allowance: (args: readonly [`0x${string}`, `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
3728
3728
  readonly type: "constructor";
3729
3729
  readonly inputs: readonly [{
3730
3730
  readonly name: "name_";
@@ -3942,8 +3942,8 @@ declare const getErc20: (address: Address, client: Client) => {
3942
3942
  readonly internalType: "uint256";
3943
3943
  }];
3944
3944
  readonly anonymous: false;
3945
- }], "name", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
3946
- allowance: (args: readonly [`0x${string}`, `0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
3945
+ }], "allowance", readonly [`0x${string}`, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
3946
+ balanceOf: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
3947
3947
  readonly type: "constructor";
3948
3948
  readonly inputs: readonly [{
3949
3949
  readonly name: "name_";
@@ -4161,8 +4161,8 @@ declare const getErc20: (address: Address, client: Client) => {
4161
4161
  readonly internalType: "uint256";
4162
4162
  }];
4163
4163
  readonly anonymous: false;
4164
- }], "allowance", readonly [`0x${string}`, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
4165
- balanceOf: (args: readonly [`0x${string}`], options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
4164
+ }], "balanceOf", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
4165
+ decimals: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
4166
4166
  readonly type: "constructor";
4167
4167
  readonly inputs: readonly [{
4168
4168
  readonly name: "name_";
@@ -4380,8 +4380,8 @@ declare const getErc20: (address: Address, client: Client) => {
4380
4380
  readonly internalType: "uint256";
4381
4381
  }];
4382
4382
  readonly anonymous: false;
4383
- }], "balanceOf", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
4384
- decimals: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
4383
+ }], "decimals", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
4384
+ name: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
4385
4385
  readonly type: "constructor";
4386
4386
  readonly inputs: readonly [{
4387
4387
  readonly name: "name_";
@@ -4599,7 +4599,7 @@ declare const getErc20: (address: Address, client: Client) => {
4599
4599
  readonly internalType: "uint256";
4600
4600
  }];
4601
4601
  readonly anonymous: false;
4602
- }], "decimals", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
4602
+ }], "name", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
4603
4603
  totalSupply: (options?: viem0.Prettify<viem0.UnionOmit<viem0.ReadContractParameters<readonly [{
4604
4604
  readonly type: "constructor";
4605
4605
  readonly inputs: readonly [{
@@ -28686,7 +28686,7 @@ declare const getUniswapMathLens: (client: Client | PublicClient) => {
28686
28686
  }];
28687
28687
  };
28688
28688
  type TimelockMarketData = Awaited<ReturnType<ReturnType<typeof getTimelockLens>['read']['getMarketData']>> & {
28689
- address: string;
28689
+ address: Address;
28690
28690
  };
28691
28691
  declare const getTimelockLens: (client: Client | PublicClient) => {
28692
28692
  read: {
@@ -38889,4 +38889,4 @@ declare const erc20Abi$1: readonly [{
38889
38889
  }];
38890
38890
  //#endregion
38891
38891
  export { Amount, PRICE_PRECISION, TimelockLens, TimelockMarket, TimelockMarketData, TimelockVault, UniswapMathLens, UniswapPool, erc20Abi$1 as erc20Abi, formatAmount, formatCondensed, formatUSD, formatVagueAmount, getErc20, getPriceAtTick, getTickAtPrice, getTimelockLens, getTimelockMarket, getTimelockVault, getUniswapMathLens, getUniswapPool, lensAbi, liquiditiesToAmount0, liquiditiesToAmount1, liquiditiesToAmounts, optionsMarketAbi, roundTickDown, roundTickUp, scaleAmount, scalePrice, singleOwnerVaultAbi, timelockLenses, token0ToToken1, token1ToToken0, uniswapMathLensAbi, uniswapMathLenses, uniswapV3PoolAbi, unscaleAmount, unscalePrice, wrapAmount, wrapAmountUnscaled, wrapPrice, wrapPriceUnscaled, zero };
38892
- //# sourceMappingURL=index-CnVjbZPl.d.ts.map
38892
+ //# sourceMappingURL=index-D65Sb-VK.d.ts.map