timelock-sdk 0.0.181 → 0.0.182
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 +0 -16
- package/dist/abis.d.cts +0 -2
- package/dist/abis.d.ts +0 -2
- package/dist/abis.js +0 -4
- package/dist/abis.js.map +1 -1
- package/dist/{client-DZo2o8pt.d.cts → client-BpJfUYFr.d.cts} +80 -80
- package/dist/{client-B5bV235L.d.ts → client-CtwxWHSL.d.ts} +37 -37
- package/dist/client.cjs +1 -1
- 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 +1 -1
- 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
|
@@ -1502,7 +1502,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1502
1502
|
}];
|
|
1503
1503
|
readonly stateMutability: "nonpayable";
|
|
1504
1504
|
}], "approve", readonly [`0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
1505
|
-
|
|
1505
|
+
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
1506
1506
|
readonly type: "constructor";
|
|
1507
1507
|
readonly inputs: readonly [{
|
|
1508
1508
|
readonly name: "name_";
|
|
@@ -1680,8 +1680,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1680
1680
|
readonly internalType: "bool";
|
|
1681
1681
|
}];
|
|
1682
1682
|
readonly stateMutability: "nonpayable";
|
|
1683
|
-
}], "
|
|
1684
|
-
|
|
1683
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
1684
|
+
increaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
1685
1685
|
readonly type: "constructor";
|
|
1686
1686
|
readonly inputs: readonly [{
|
|
1687
1687
|
readonly name: "name_";
|
|
@@ -1859,8 +1859,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
1859
1859
|
readonly internalType: "bool";
|
|
1860
1860
|
}];
|
|
1861
1861
|
readonly stateMutability: "nonpayable";
|
|
1862
|
-
}], "
|
|
1863
|
-
|
|
1862
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
1863
|
+
transfer: (args: readonly [`0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
1864
1864
|
readonly type: "constructor";
|
|
1865
1865
|
readonly inputs: readonly [{
|
|
1866
1866
|
readonly name: "name_";
|
|
@@ -2038,8 +2038,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2038
2038
|
readonly internalType: "bool";
|
|
2039
2039
|
}];
|
|
2040
2040
|
readonly stateMutability: "nonpayable";
|
|
2041
|
-
}], "
|
|
2042
|
-
|
|
2041
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
2042
|
+
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
2043
2043
|
readonly type: "constructor";
|
|
2044
2044
|
readonly inputs: readonly [{
|
|
2045
2045
|
readonly name: "name_";
|
|
@@ -2217,7 +2217,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2217
2217
|
readonly internalType: "bool";
|
|
2218
2218
|
}];
|
|
2219
2219
|
readonly stateMutability: "nonpayable";
|
|
2220
|
-
}], "
|
|
2220
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
2221
2221
|
} & {
|
|
2222
2222
|
approve: (args: readonly [`0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
2223
2223
|
readonly type: "constructor";
|
|
@@ -2398,7 +2398,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2398
2398
|
}];
|
|
2399
2399
|
readonly stateMutability: "nonpayable";
|
|
2400
2400
|
}], "approve", readonly [`0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
2401
|
-
|
|
2401
|
+
decreaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
2402
2402
|
readonly type: "constructor";
|
|
2403
2403
|
readonly inputs: readonly [{
|
|
2404
2404
|
readonly name: "name_";
|
|
@@ -2576,8 +2576,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2576
2576
|
readonly internalType: "bool";
|
|
2577
2577
|
}];
|
|
2578
2578
|
readonly stateMutability: "nonpayable";
|
|
2579
|
-
}], "
|
|
2580
|
-
|
|
2579
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
2580
|
+
increaseAllowance: (args: readonly [`0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
2581
2581
|
readonly type: "constructor";
|
|
2582
2582
|
readonly inputs: readonly [{
|
|
2583
2583
|
readonly name: "name_";
|
|
@@ -2755,8 +2755,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2755
2755
|
readonly internalType: "bool";
|
|
2756
2756
|
}];
|
|
2757
2757
|
readonly stateMutability: "nonpayable";
|
|
2758
|
-
}], "
|
|
2759
|
-
|
|
2758
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
2759
|
+
transfer: (args: readonly [`0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
2760
2760
|
readonly type: "constructor";
|
|
2761
2761
|
readonly inputs: readonly [{
|
|
2762
2762
|
readonly name: "name_";
|
|
@@ -2934,8 +2934,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
2934
2934
|
readonly internalType: "bool";
|
|
2935
2935
|
}];
|
|
2936
2936
|
readonly stateMutability: "nonpayable";
|
|
2937
|
-
}], "
|
|
2938
|
-
|
|
2937
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
2938
|
+
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: viem0.Prettify<viem0.UnionOmit<viem0.EstimateContractGasParameters<readonly [{
|
|
2939
2939
|
readonly type: "constructor";
|
|
2940
2940
|
readonly inputs: readonly [{
|
|
2941
2941
|
readonly name: "name_";
|
|
@@ -3113,7 +3113,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3113
3113
|
readonly internalType: "bool";
|
|
3114
3114
|
}];
|
|
3115
3115
|
readonly stateMutability: "nonpayable";
|
|
3116
|
-
}], "
|
|
3116
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem0.Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<viem0.EstimateContractGasReturnType>;
|
|
3117
3117
|
};
|
|
3118
3118
|
simulate: {
|
|
3119
3119
|
approve: <chainOverride extends viem0.Chain | undefined = undefined, accountOverride extends viem0.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem0.SimulateContractParameters<readonly [{
|
|
@@ -3473,7 +3473,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3473
3473
|
}];
|
|
3474
3474
|
readonly stateMutability: "nonpayable";
|
|
3475
3475
|
}], "approve", readonly [`0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride, accountOverride>>;
|
|
3476
|
-
|
|
3476
|
+
decreaseAllowance: <chainOverride extends viem0.Chain | undefined = undefined, accountOverride extends viem0.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem0.SimulateContractParameters<readonly [{
|
|
3477
3477
|
readonly type: "constructor";
|
|
3478
3478
|
readonly inputs: readonly [{
|
|
3479
3479
|
readonly name: "name_";
|
|
@@ -3651,7 +3651,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3651
3651
|
readonly internalType: "bool";
|
|
3652
3652
|
}];
|
|
3653
3653
|
readonly stateMutability: "nonpayable";
|
|
3654
|
-
}], "
|
|
3654
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem0.SimulateContractReturnType<readonly [{
|
|
3655
3655
|
readonly type: "constructor";
|
|
3656
3656
|
readonly inputs: readonly [{
|
|
3657
3657
|
readonly name: "name_";
|
|
@@ -3829,8 +3829,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
3829
3829
|
readonly internalType: "bool";
|
|
3830
3830
|
}];
|
|
3831
3831
|
readonly stateMutability: "nonpayable";
|
|
3832
|
-
}], "
|
|
3833
|
-
|
|
3832
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride, accountOverride>>;
|
|
3833
|
+
increaseAllowance: <chainOverride extends viem0.Chain | undefined = undefined, accountOverride extends viem0.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem0.SimulateContractParameters<readonly [{
|
|
3834
3834
|
readonly type: "constructor";
|
|
3835
3835
|
readonly inputs: readonly [{
|
|
3836
3836
|
readonly name: "name_";
|
|
@@ -4008,7 +4008,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4008
4008
|
readonly internalType: "bool";
|
|
4009
4009
|
}];
|
|
4010
4010
|
readonly stateMutability: "nonpayable";
|
|
4011
|
-
}], "
|
|
4011
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem0.SimulateContractReturnType<readonly [{
|
|
4012
4012
|
readonly type: "constructor";
|
|
4013
4013
|
readonly inputs: readonly [{
|
|
4014
4014
|
readonly name: "name_";
|
|
@@ -4186,8 +4186,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4186
4186
|
readonly internalType: "bool";
|
|
4187
4187
|
}];
|
|
4188
4188
|
readonly stateMutability: "nonpayable";
|
|
4189
|
-
}], "
|
|
4190
|
-
|
|
4189
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride, accountOverride>>;
|
|
4190
|
+
transfer: <chainOverride extends viem0.Chain | undefined = undefined, accountOverride extends viem0.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<viem0.SimulateContractParameters<readonly [{
|
|
4191
4191
|
readonly type: "constructor";
|
|
4192
4192
|
readonly inputs: readonly [{
|
|
4193
4193
|
readonly name: "name_";
|
|
@@ -4365,7 +4365,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4365
4365
|
readonly internalType: "bool";
|
|
4366
4366
|
}];
|
|
4367
4367
|
readonly stateMutability: "nonpayable";
|
|
4368
|
-
}], "
|
|
4368
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem0.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem0.SimulateContractReturnType<readonly [{
|
|
4369
4369
|
readonly type: "constructor";
|
|
4370
4370
|
readonly inputs: readonly [{
|
|
4371
4371
|
readonly name: "name_";
|
|
@@ -4543,8 +4543,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4543
4543
|
readonly internalType: "bool";
|
|
4544
4544
|
}];
|
|
4545
4545
|
readonly stateMutability: "nonpayable";
|
|
4546
|
-
}], "
|
|
4547
|
-
|
|
4546
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride, accountOverride>>;
|
|
4547
|
+
transferFrom: <chainOverride extends viem0.Chain | undefined = undefined, accountOverride extends viem0.Account | Address | undefined = undefined>(args: readonly [`0x${string}`, `0x${string}`, bigint], options?: Omit<viem0.SimulateContractParameters<readonly [{
|
|
4548
4548
|
readonly type: "constructor";
|
|
4549
4549
|
readonly inputs: readonly [{
|
|
4550
4550
|
readonly name: "name_";
|
|
@@ -4722,7 +4722,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4722
4722
|
readonly internalType: "bool";
|
|
4723
4723
|
}];
|
|
4724
4724
|
readonly stateMutability: "nonpayable";
|
|
4725
|
-
}], "
|
|
4725
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem0.Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<viem0.SimulateContractReturnType<readonly [{
|
|
4726
4726
|
readonly type: "constructor";
|
|
4727
4727
|
readonly inputs: readonly [{
|
|
4728
4728
|
readonly name: "name_";
|
|
@@ -4900,7 +4900,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
4900
4900
|
readonly internalType: "bool";
|
|
4901
4901
|
}];
|
|
4902
4902
|
readonly stateMutability: "nonpayable";
|
|
4903
|
-
}], "
|
|
4903
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride, accountOverride>>;
|
|
4904
4904
|
};
|
|
4905
4905
|
write: {
|
|
4906
4906
|
approve: <chainOverride extends viem0.Chain | undefined, options extends (viem0.UnionOmit<viem0.WriteContractParameters<readonly [{
|
|
@@ -5082,7 +5082,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5082
5082
|
}];
|
|
5083
5083
|
readonly stateMutability: "nonpayable";
|
|
5084
5084
|
}], "approve", readonly [`0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [`0x${string}`, bigint], options: options) => Promise<viem0.WriteContractReturnType>;
|
|
5085
|
-
|
|
5085
|
+
decreaseAllowance: <chainOverride extends viem0.Chain | undefined, options extends (viem0.UnionOmit<viem0.WriteContractParameters<readonly [{
|
|
5086
5086
|
readonly type: "constructor";
|
|
5087
5087
|
readonly inputs: readonly [{
|
|
5088
5088
|
readonly name: "name_";
|
|
@@ -5260,8 +5260,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5260
5260
|
readonly internalType: "bool";
|
|
5261
5261
|
}];
|
|
5262
5262
|
readonly stateMutability: "nonpayable";
|
|
5263
|
-
}], "
|
|
5264
|
-
|
|
5263
|
+
}], "decreaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [`0x${string}`, bigint], options: options) => Promise<viem0.WriteContractReturnType>;
|
|
5264
|
+
increaseAllowance: <chainOverride extends viem0.Chain | undefined, options extends (viem0.UnionOmit<viem0.WriteContractParameters<readonly [{
|
|
5265
5265
|
readonly type: "constructor";
|
|
5266
5266
|
readonly inputs: readonly [{
|
|
5267
5267
|
readonly name: "name_";
|
|
@@ -5439,8 +5439,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5439
5439
|
readonly internalType: "bool";
|
|
5440
5440
|
}];
|
|
5441
5441
|
readonly stateMutability: "nonpayable";
|
|
5442
|
-
}], "
|
|
5443
|
-
|
|
5442
|
+
}], "increaseAllowance", readonly [`0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [`0x${string}`, bigint], options: options) => Promise<viem0.WriteContractReturnType>;
|
|
5443
|
+
transfer: <chainOverride extends viem0.Chain | undefined, options extends (viem0.UnionOmit<viem0.WriteContractParameters<readonly [{
|
|
5444
5444
|
readonly type: "constructor";
|
|
5445
5445
|
readonly inputs: readonly [{
|
|
5446
5446
|
readonly name: "name_";
|
|
@@ -5618,8 +5618,8 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5618
5618
|
readonly internalType: "bool";
|
|
5619
5619
|
}];
|
|
5620
5620
|
readonly stateMutability: "nonpayable";
|
|
5621
|
-
}], "
|
|
5622
|
-
|
|
5621
|
+
}], "transfer", readonly [`0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [`0x${string}`, bigint], options: options) => Promise<viem0.WriteContractReturnType>;
|
|
5622
|
+
transferFrom: <chainOverride extends viem0.Chain | undefined, options extends (viem0.UnionOmit<viem0.WriteContractParameters<readonly [{
|
|
5623
5623
|
readonly type: "constructor";
|
|
5624
5624
|
readonly inputs: readonly [{
|
|
5625
5625
|
readonly name: "name_";
|
|
@@ -5797,7 +5797,7 @@ declare const getErc20: (address: Address, client: Client) => {
|
|
|
5797
5797
|
readonly internalType: "bool";
|
|
5798
5798
|
}];
|
|
5799
5799
|
readonly stateMutability: "nonpayable";
|
|
5800
|
-
}], "
|
|
5800
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], viem0.Chain | undefined, viem0.Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K] } : never)>(args: readonly [`0x${string}`, `0x${string}`, bigint], options: options) => Promise<viem0.WriteContractReturnType>;
|
|
5801
5801
|
};
|
|
5802
5802
|
address: `0x${string}`;
|
|
5803
5803
|
abi: readonly [{
|
|
@@ -97537,4 +97537,4 @@ declare const useLens: () => {
|
|
|
97537
97537
|
};
|
|
97538
97538
|
//#endregion
|
|
97539
97539
|
export { PriceResolution as $, swapRouters as $t, useCurrentPrice as A, scaleAmount as At, getPriceAtTick as B, useMarketState as Bt, useLiquidityBlocks as C, useMintOption as Ct, usePriceAtSqrtPriceX96 as D, formatCondensed as Dt, usePriceHistory as E, formatAmount as Et, getPayoutAtTick as F, wrapAmountUnscaled as Ft, liquiditiesToAmounts as G, TimelockLens as Gt, getTickAtPrice as H, TimelockProvider as Ht, PRICE_PRECISION as I, wrapPrice as It, token0ToToken1AtTick as J, getErc20 as Jt, roundTick as K, TimelockMarket as Kt, getAmountsFromLiquidity as L, wrapPriceUnscaled as Lt, UniswapPoolData as M, unscaleAmount as Mt, usePoolData as N, unscalePrice as Nt, usePriceAtTick as O, formatUSD as Ot, getPayoutAtPrice as P, wrapAmount as Pt, PriceDataPoint as Q, stateViews as Qt, getNearestValidStrikeTick as R, zero as Rt, LiquidityBlockData as S, useClosedUserOptions as St, useMarketPriceHistory as T, Amount as Tt, liquiditiesToAmount0 as U, useCurrentMarket as Ut, getSqrtPriceX96AtPrice as V, useMarketData as Vt, liquiditiesToAmount1 as W, useTimelockConfig as Wt, token1ToToken0AtTick as X, getTimelockLens as Xt, token1ToToken0 as Y, getStateView as Yt, PriceData as Z, getTimelockMarket as Zt, useTokenData as _, useOptionPremium as _t, OptionPricingParams as a, useActiveUserPerps as at, batchGetAmountsFromLiquidity as b, OptionData as bt, usePricingParams as c, usePerpsOperator as ct, usePauseMarketTrading as d, ExerciseOptionEvent as dt, swappers as en, getCurrentPrice as et, usePauseGlobalTrading as f, ExtendEvent as ft, TokenData as g, useExtendOption as gt, useTokenBalance as h, useOptionTimeline as ht, useOptionPricingParams as i, useOperatorPerms as it, PoolKey as j, scalePrice as jt, useCurrentTick as k, formatVagueAmount as kt, useUpdateMarketFees as l, useClosePerp as lt, useApproval as m, OptionEvent as mt, useUpdateMarketPricing as n, timelockLenses as nn, useSetOperatorPerms as nt, PricingParams as o, useClosedUserPerps as ot, useGuardianGlobalState as p, MintOptionEvent as pt, token0ToToken1 as q, TimelockMarketData as qt, useStaticPricingParams as r, useUserOperators as rt, StaticPricingParams as s, useUserPerps as st, useLens as t, timelockFactories as tn, getPriceHistory as tt, useFeeRates as u, useMintPerp as ut, useVaultTVL as v, useOptionPnl as vt, useBurnLiquidity as w, useMaxPositionSize as wt, useMintLiquidity as x, useActiveUserOptions as xt, useVaultData as y, useExerciseOption as yt, getPriceAtSqrtPriceX96 as z, useMarketVolume as zt };
|
|
97540
|
-
//# sourceMappingURL=client-
|
|
97540
|
+
//# sourceMappingURL=client-CtwxWHSL.d.ts.map
|
package/dist/client.cjs
CHANGED
|
@@ -1171,7 +1171,7 @@ const useMintPerp = (marketAddr) => {
|
|
|
1171
1171
|
canExtend: true,
|
|
1172
1172
|
canExercise: true,
|
|
1173
1173
|
canTransfer: (userPerms === null || userPerms === void 0 ? void 0 : userPerms.canTransfer) || false,
|
|
1174
|
-
spendingApproval:
|
|
1174
|
+
spendingApproval: viem.maxUint256
|
|
1175
1175
|
});
|
|
1176
1176
|
await askForApproval(payoutAsset, marketAddr, maxPremium);
|
|
1177
1177
|
await operator.mintPerp({
|