timelock-sdk 0.0.62 → 0.0.63
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 +11 -4
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +397 -14
- package/dist/client.d.ts +456 -73
- package/dist/client.js +11 -4
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
package/dist/client.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import "./uniswapMathLens-Ddy91uWa.js";
|
|
2
2
|
import { D as TimelockMarketData, O as UniswapMathLens, d as Amount } from "./index-BIkdgG3y.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as viem366 from "viem";
|
|
4
4
|
import { Address } from "viem";
|
|
5
5
|
import React, { ReactNode } from "react";
|
|
6
|
-
import * as
|
|
6
|
+
import * as wagmi0 from "wagmi";
|
|
7
7
|
import { GraphQLClient, RequestOptions } from "graphql-request";
|
|
8
8
|
import * as _tanstack_react_query0 from "@tanstack/react-query";
|
|
9
9
|
import { NonUndefinedGuard } from "@tanstack/react-query";
|
|
10
10
|
import "graphql";
|
|
11
11
|
import * as _wagmi_core0 from "@wagmi/core";
|
|
12
12
|
import * as _tanstack_query_core0 from "@tanstack/query-core";
|
|
13
|
-
import * as
|
|
13
|
+
import * as node_modules__wagmi_core_dist_types_errors_base0 from "node_modules/@wagmi/core/dist/types/errors/base";
|
|
14
14
|
import * as node_modules_viem__types_errors_abi0 from "node_modules/viem/_types/errors/abi";
|
|
15
15
|
import * as node_modules_viem__types_errors_account0 from "node_modules/viem/_types/errors/account";
|
|
16
16
|
|
|
@@ -2807,7 +2807,7 @@ declare const useMintOption: (marketAddr?: Address) => {
|
|
|
2807
2807
|
isPending: boolean;
|
|
2808
2808
|
isConfirming: boolean;
|
|
2809
2809
|
isSuccess: boolean;
|
|
2810
|
-
error:
|
|
2810
|
+
error: wagmi0.ConnectorAccountNotFoundErrorType | wagmi0.ConnectorChainMismatchErrorType | _wagmi_core0.ConnectorNotConnectedErrorType | wagmi0.ConnectorUnavailableReconnectingErrorType | viem366.BaseErrorType | node_modules__wagmi_core_dist_types_errors_base0.ErrorType | node_modules__wagmi_core_dist_types_errors_base0.BaseErrorType | viem366.AbiFunctionNotFoundErrorType | viem366.AbiEncodingLengthMismatchErrorType | viem366.InvalidAddressErrorType | viem366.AbiEncodingArrayLengthMismatchErrorType | viem366.IntegerOutOfRangeErrorType | viem366.SizeExceedsPaddingSizeErrorType | viem366.InvalidArrayErrorType | viem366.AbiEncodingBytesSizeMismatchErrorType | viem366.SizeOverflowErrorType | viem366.SliceOffsetOutOfBoundsErrorType | viem366.InvalidAbiEncodingTypeErrorType | viem366.InvalidDefinitionTypeErrorType | node_modules_viem__types_errors_abi0.AbiItemAmbiguityErrorType | node_modules_viem__types_errors_account0.AccountNotFoundErrorType | viem366.GetContractErrorReturnType<viem366.SendTransactionErrorType> | null;
|
|
2811
2811
|
isLoading: boolean;
|
|
2812
2812
|
isApprovalPending: boolean;
|
|
2813
2813
|
approvalError: _wagmi_core0.WriteContractErrorType | null;
|
|
@@ -2838,7 +2838,7 @@ declare const useExtendOption: (marketAddr?: Address) => {
|
|
|
2838
2838
|
isPending: boolean;
|
|
2839
2839
|
isConfirming: boolean;
|
|
2840
2840
|
isSuccess: boolean;
|
|
2841
|
-
error:
|
|
2841
|
+
error: wagmi0.ConnectorAccountNotFoundErrorType | wagmi0.ConnectorChainMismatchErrorType | _wagmi_core0.ConnectorNotConnectedErrorType | wagmi0.ConnectorUnavailableReconnectingErrorType | viem366.BaseErrorType | node_modules__wagmi_core_dist_types_errors_base0.ErrorType | node_modules__wagmi_core_dist_types_errors_base0.BaseErrorType | viem366.AbiFunctionNotFoundErrorType | viem366.AbiEncodingLengthMismatchErrorType | viem366.InvalidAddressErrorType | viem366.AbiEncodingArrayLengthMismatchErrorType | viem366.IntegerOutOfRangeErrorType | viem366.SizeExceedsPaddingSizeErrorType | viem366.InvalidArrayErrorType | viem366.AbiEncodingBytesSizeMismatchErrorType | viem366.SizeOverflowErrorType | viem366.SliceOffsetOutOfBoundsErrorType | viem366.InvalidAbiEncodingTypeErrorType | viem366.InvalidDefinitionTypeErrorType | node_modules_viem__types_errors_abi0.AbiItemAmbiguityErrorType | node_modules_viem__types_errors_account0.AccountNotFoundErrorType | viem366.GetContractErrorReturnType<viem366.SendTransactionErrorType> | null;
|
|
2842
2842
|
isLoading: boolean;
|
|
2843
2843
|
isApprovalPending: boolean;
|
|
2844
2844
|
approvalError: _wagmi_core0.WriteContractErrorType | null;
|
|
@@ -2846,20 +2846,403 @@ declare const useExtendOption: (marketAddr?: Address) => {
|
|
|
2846
2846
|
};
|
|
2847
2847
|
//#endregion
|
|
2848
2848
|
//#region src/hooks/market/useUserOperators.d.ts
|
|
2849
|
-
declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) =>
|
|
2850
|
-
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
|
|
2855
|
-
|
|
2856
|
-
|
|
2857
|
-
|
|
2858
|
-
|
|
2859
|
-
|
|
2860
|
-
|
|
2861
|
-
|
|
2862
|
-
}
|
|
2849
|
+
declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
2850
|
+
data: Partial<NonUndefinedGuard<{
|
|
2851
|
+
spendingApproval: bigint;
|
|
2852
|
+
operatorAddr: string;
|
|
2853
|
+
__typename: "UserMarketOperator";
|
|
2854
|
+
id: string;
|
|
2855
|
+
canExtend: boolean;
|
|
2856
|
+
canExercise: boolean;
|
|
2857
|
+
canTransfer: boolean;
|
|
2858
|
+
canMint: boolean;
|
|
2859
|
+
operator?: {
|
|
2860
|
+
__typename: "MarketOperator";
|
|
2861
|
+
address: string;
|
|
2862
|
+
} | null;
|
|
2863
|
+
}[] | undefined>>;
|
|
2864
|
+
error: Error;
|
|
2865
|
+
isError: true;
|
|
2866
|
+
isPending: false;
|
|
2867
|
+
isLoading: false;
|
|
2868
|
+
isLoadingError: false;
|
|
2869
|
+
isRefetchError: true;
|
|
2870
|
+
isSuccess: false;
|
|
2871
|
+
isPlaceholderData: false;
|
|
2872
|
+
status: "error";
|
|
2873
|
+
dataUpdatedAt: number;
|
|
2874
|
+
errorUpdatedAt: number;
|
|
2875
|
+
failureCount: number;
|
|
2876
|
+
failureReason: Error | null;
|
|
2877
|
+
errorUpdateCount: number;
|
|
2878
|
+
isFetched: boolean;
|
|
2879
|
+
isFetchedAfterMount: boolean;
|
|
2880
|
+
isFetching: boolean;
|
|
2881
|
+
isInitialLoading: boolean;
|
|
2882
|
+
isPaused: boolean;
|
|
2883
|
+
isRefetching: boolean;
|
|
2884
|
+
isStale: boolean;
|
|
2885
|
+
isEnabled: boolean;
|
|
2886
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
2887
|
+
spendingApproval: bigint;
|
|
2888
|
+
operatorAddr: string;
|
|
2889
|
+
__typename: "UserMarketOperator";
|
|
2890
|
+
id: string;
|
|
2891
|
+
canExtend: boolean;
|
|
2892
|
+
canExercise: boolean;
|
|
2893
|
+
canTransfer: boolean;
|
|
2894
|
+
canMint: boolean;
|
|
2895
|
+
operator?: {
|
|
2896
|
+
__typename: "MarketOperator";
|
|
2897
|
+
address: string;
|
|
2898
|
+
} | null;
|
|
2899
|
+
}[] | undefined, Error>>;
|
|
2900
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2901
|
+
promise: Promise<{
|
|
2902
|
+
spendingApproval: bigint;
|
|
2903
|
+
operatorAddr: string;
|
|
2904
|
+
__typename: "UserMarketOperator";
|
|
2905
|
+
id: string;
|
|
2906
|
+
canExtend: boolean;
|
|
2907
|
+
canExercise: boolean;
|
|
2908
|
+
canTransfer: boolean;
|
|
2909
|
+
canMint: boolean;
|
|
2910
|
+
operator?: {
|
|
2911
|
+
__typename: "MarketOperator";
|
|
2912
|
+
address: string;
|
|
2913
|
+
} | null;
|
|
2914
|
+
}[] | undefined>;
|
|
2915
|
+
} | {
|
|
2916
|
+
data: Partial<NonUndefinedGuard<{
|
|
2917
|
+
spendingApproval: bigint;
|
|
2918
|
+
operatorAddr: string;
|
|
2919
|
+
__typename: "UserMarketOperator";
|
|
2920
|
+
id: string;
|
|
2921
|
+
canExtend: boolean;
|
|
2922
|
+
canExercise: boolean;
|
|
2923
|
+
canTransfer: boolean;
|
|
2924
|
+
canMint: boolean;
|
|
2925
|
+
operator?: {
|
|
2926
|
+
__typename: "MarketOperator";
|
|
2927
|
+
address: string;
|
|
2928
|
+
} | null;
|
|
2929
|
+
}[] | undefined>>;
|
|
2930
|
+
error: null;
|
|
2931
|
+
isError: false;
|
|
2932
|
+
isPending: false;
|
|
2933
|
+
isLoading: false;
|
|
2934
|
+
isLoadingError: false;
|
|
2935
|
+
isRefetchError: false;
|
|
2936
|
+
isSuccess: true;
|
|
2937
|
+
isPlaceholderData: false;
|
|
2938
|
+
status: "success";
|
|
2939
|
+
dataUpdatedAt: number;
|
|
2940
|
+
errorUpdatedAt: number;
|
|
2941
|
+
failureCount: number;
|
|
2942
|
+
failureReason: Error | null;
|
|
2943
|
+
errorUpdateCount: number;
|
|
2944
|
+
isFetched: boolean;
|
|
2945
|
+
isFetchedAfterMount: boolean;
|
|
2946
|
+
isFetching: boolean;
|
|
2947
|
+
isInitialLoading: boolean;
|
|
2948
|
+
isPaused: boolean;
|
|
2949
|
+
isRefetching: boolean;
|
|
2950
|
+
isStale: boolean;
|
|
2951
|
+
isEnabled: boolean;
|
|
2952
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
2953
|
+
spendingApproval: bigint;
|
|
2954
|
+
operatorAddr: string;
|
|
2955
|
+
__typename: "UserMarketOperator";
|
|
2956
|
+
id: string;
|
|
2957
|
+
canExtend: boolean;
|
|
2958
|
+
canExercise: boolean;
|
|
2959
|
+
canTransfer: boolean;
|
|
2960
|
+
canMint: boolean;
|
|
2961
|
+
operator?: {
|
|
2962
|
+
__typename: "MarketOperator";
|
|
2963
|
+
address: string;
|
|
2964
|
+
} | null;
|
|
2965
|
+
}[] | undefined, Error>>;
|
|
2966
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2967
|
+
promise: Promise<{
|
|
2968
|
+
spendingApproval: bigint;
|
|
2969
|
+
operatorAddr: string;
|
|
2970
|
+
__typename: "UserMarketOperator";
|
|
2971
|
+
id: string;
|
|
2972
|
+
canExtend: boolean;
|
|
2973
|
+
canExercise: boolean;
|
|
2974
|
+
canTransfer: boolean;
|
|
2975
|
+
canMint: boolean;
|
|
2976
|
+
operator?: {
|
|
2977
|
+
__typename: "MarketOperator";
|
|
2978
|
+
address: string;
|
|
2979
|
+
} | null;
|
|
2980
|
+
}[] | undefined>;
|
|
2981
|
+
} | {
|
|
2982
|
+
data: Partial<NonUndefinedGuard<{
|
|
2983
|
+
spendingApproval: bigint;
|
|
2984
|
+
operatorAddr: string;
|
|
2985
|
+
__typename: "UserMarketOperator";
|
|
2986
|
+
id: string;
|
|
2987
|
+
canExtend: boolean;
|
|
2988
|
+
canExercise: boolean;
|
|
2989
|
+
canTransfer: boolean;
|
|
2990
|
+
canMint: boolean;
|
|
2991
|
+
operator?: {
|
|
2992
|
+
__typename: "MarketOperator";
|
|
2993
|
+
address: string;
|
|
2994
|
+
} | null;
|
|
2995
|
+
}[] | undefined>>;
|
|
2996
|
+
error: Error;
|
|
2997
|
+
isError: true;
|
|
2998
|
+
isPending: false;
|
|
2999
|
+
isLoading: false;
|
|
3000
|
+
isLoadingError: true;
|
|
3001
|
+
isRefetchError: false;
|
|
3002
|
+
isSuccess: false;
|
|
3003
|
+
isPlaceholderData: false;
|
|
3004
|
+
status: "error";
|
|
3005
|
+
dataUpdatedAt: number;
|
|
3006
|
+
errorUpdatedAt: number;
|
|
3007
|
+
failureCount: number;
|
|
3008
|
+
failureReason: Error | null;
|
|
3009
|
+
errorUpdateCount: number;
|
|
3010
|
+
isFetched: boolean;
|
|
3011
|
+
isFetchedAfterMount: boolean;
|
|
3012
|
+
isFetching: boolean;
|
|
3013
|
+
isInitialLoading: boolean;
|
|
3014
|
+
isPaused: boolean;
|
|
3015
|
+
isRefetching: boolean;
|
|
3016
|
+
isStale: boolean;
|
|
3017
|
+
isEnabled: boolean;
|
|
3018
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
3019
|
+
spendingApproval: bigint;
|
|
3020
|
+
operatorAddr: string;
|
|
3021
|
+
__typename: "UserMarketOperator";
|
|
3022
|
+
id: string;
|
|
3023
|
+
canExtend: boolean;
|
|
3024
|
+
canExercise: boolean;
|
|
3025
|
+
canTransfer: boolean;
|
|
3026
|
+
canMint: boolean;
|
|
3027
|
+
operator?: {
|
|
3028
|
+
__typename: "MarketOperator";
|
|
3029
|
+
address: string;
|
|
3030
|
+
} | null;
|
|
3031
|
+
}[] | undefined, Error>>;
|
|
3032
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3033
|
+
promise: Promise<{
|
|
3034
|
+
spendingApproval: bigint;
|
|
3035
|
+
operatorAddr: string;
|
|
3036
|
+
__typename: "UserMarketOperator";
|
|
3037
|
+
id: string;
|
|
3038
|
+
canExtend: boolean;
|
|
3039
|
+
canExercise: boolean;
|
|
3040
|
+
canTransfer: boolean;
|
|
3041
|
+
canMint: boolean;
|
|
3042
|
+
operator?: {
|
|
3043
|
+
__typename: "MarketOperator";
|
|
3044
|
+
address: string;
|
|
3045
|
+
} | null;
|
|
3046
|
+
}[] | undefined>;
|
|
3047
|
+
} | {
|
|
3048
|
+
data: Partial<NonUndefinedGuard<{
|
|
3049
|
+
spendingApproval: bigint;
|
|
3050
|
+
operatorAddr: string;
|
|
3051
|
+
__typename: "UserMarketOperator";
|
|
3052
|
+
id: string;
|
|
3053
|
+
canExtend: boolean;
|
|
3054
|
+
canExercise: boolean;
|
|
3055
|
+
canTransfer: boolean;
|
|
3056
|
+
canMint: boolean;
|
|
3057
|
+
operator?: {
|
|
3058
|
+
__typename: "MarketOperator";
|
|
3059
|
+
address: string;
|
|
3060
|
+
} | null;
|
|
3061
|
+
}[] | undefined>>;
|
|
3062
|
+
error: null;
|
|
3063
|
+
isError: false;
|
|
3064
|
+
isPending: true;
|
|
3065
|
+
isLoading: true;
|
|
3066
|
+
isLoadingError: false;
|
|
3067
|
+
isRefetchError: false;
|
|
3068
|
+
isSuccess: false;
|
|
3069
|
+
isPlaceholderData: false;
|
|
3070
|
+
status: "pending";
|
|
3071
|
+
dataUpdatedAt: number;
|
|
3072
|
+
errorUpdatedAt: number;
|
|
3073
|
+
failureCount: number;
|
|
3074
|
+
failureReason: Error | null;
|
|
3075
|
+
errorUpdateCount: number;
|
|
3076
|
+
isFetched: boolean;
|
|
3077
|
+
isFetchedAfterMount: boolean;
|
|
3078
|
+
isFetching: boolean;
|
|
3079
|
+
isInitialLoading: boolean;
|
|
3080
|
+
isPaused: boolean;
|
|
3081
|
+
isRefetching: boolean;
|
|
3082
|
+
isStale: boolean;
|
|
3083
|
+
isEnabled: boolean;
|
|
3084
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
3085
|
+
spendingApproval: bigint;
|
|
3086
|
+
operatorAddr: string;
|
|
3087
|
+
__typename: "UserMarketOperator";
|
|
3088
|
+
id: string;
|
|
3089
|
+
canExtend: boolean;
|
|
3090
|
+
canExercise: boolean;
|
|
3091
|
+
canTransfer: boolean;
|
|
3092
|
+
canMint: boolean;
|
|
3093
|
+
operator?: {
|
|
3094
|
+
__typename: "MarketOperator";
|
|
3095
|
+
address: string;
|
|
3096
|
+
} | null;
|
|
3097
|
+
}[] | undefined, Error>>;
|
|
3098
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3099
|
+
promise: Promise<{
|
|
3100
|
+
spendingApproval: bigint;
|
|
3101
|
+
operatorAddr: string;
|
|
3102
|
+
__typename: "UserMarketOperator";
|
|
3103
|
+
id: string;
|
|
3104
|
+
canExtend: boolean;
|
|
3105
|
+
canExercise: boolean;
|
|
3106
|
+
canTransfer: boolean;
|
|
3107
|
+
canMint: boolean;
|
|
3108
|
+
operator?: {
|
|
3109
|
+
__typename: "MarketOperator";
|
|
3110
|
+
address: string;
|
|
3111
|
+
} | null;
|
|
3112
|
+
}[] | undefined>;
|
|
3113
|
+
} | {
|
|
3114
|
+
data: Partial<NonUndefinedGuard<{
|
|
3115
|
+
spendingApproval: bigint;
|
|
3116
|
+
operatorAddr: string;
|
|
3117
|
+
__typename: "UserMarketOperator";
|
|
3118
|
+
id: string;
|
|
3119
|
+
canExtend: boolean;
|
|
3120
|
+
canExercise: boolean;
|
|
3121
|
+
canTransfer: boolean;
|
|
3122
|
+
canMint: boolean;
|
|
3123
|
+
operator?: {
|
|
3124
|
+
__typename: "MarketOperator";
|
|
3125
|
+
address: string;
|
|
3126
|
+
} | null;
|
|
3127
|
+
}[] | undefined>>;
|
|
3128
|
+
error: null;
|
|
3129
|
+
isError: false;
|
|
3130
|
+
isPending: true;
|
|
3131
|
+
isLoadingError: false;
|
|
3132
|
+
isRefetchError: false;
|
|
3133
|
+
isSuccess: false;
|
|
3134
|
+
isPlaceholderData: false;
|
|
3135
|
+
status: "pending";
|
|
3136
|
+
dataUpdatedAt: number;
|
|
3137
|
+
errorUpdatedAt: number;
|
|
3138
|
+
failureCount: number;
|
|
3139
|
+
failureReason: Error | null;
|
|
3140
|
+
errorUpdateCount: number;
|
|
3141
|
+
isFetched: boolean;
|
|
3142
|
+
isFetchedAfterMount: boolean;
|
|
3143
|
+
isFetching: boolean;
|
|
3144
|
+
isLoading: boolean;
|
|
3145
|
+
isInitialLoading: boolean;
|
|
3146
|
+
isPaused: boolean;
|
|
3147
|
+
isRefetching: boolean;
|
|
3148
|
+
isStale: boolean;
|
|
3149
|
+
isEnabled: boolean;
|
|
3150
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
3151
|
+
spendingApproval: bigint;
|
|
3152
|
+
operatorAddr: string;
|
|
3153
|
+
__typename: "UserMarketOperator";
|
|
3154
|
+
id: string;
|
|
3155
|
+
canExtend: boolean;
|
|
3156
|
+
canExercise: boolean;
|
|
3157
|
+
canTransfer: boolean;
|
|
3158
|
+
canMint: boolean;
|
|
3159
|
+
operator?: {
|
|
3160
|
+
__typename: "MarketOperator";
|
|
3161
|
+
address: string;
|
|
3162
|
+
} | null;
|
|
3163
|
+
}[] | undefined, Error>>;
|
|
3164
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3165
|
+
promise: Promise<{
|
|
3166
|
+
spendingApproval: bigint;
|
|
3167
|
+
operatorAddr: string;
|
|
3168
|
+
__typename: "UserMarketOperator";
|
|
3169
|
+
id: string;
|
|
3170
|
+
canExtend: boolean;
|
|
3171
|
+
canExercise: boolean;
|
|
3172
|
+
canTransfer: boolean;
|
|
3173
|
+
canMint: boolean;
|
|
3174
|
+
operator?: {
|
|
3175
|
+
__typename: "MarketOperator";
|
|
3176
|
+
address: string;
|
|
3177
|
+
} | null;
|
|
3178
|
+
}[] | undefined>;
|
|
3179
|
+
} | {
|
|
3180
|
+
data: Partial<NonUndefinedGuard<{
|
|
3181
|
+
spendingApproval: bigint;
|
|
3182
|
+
operatorAddr: string;
|
|
3183
|
+
__typename: "UserMarketOperator";
|
|
3184
|
+
id: string;
|
|
3185
|
+
canExtend: boolean;
|
|
3186
|
+
canExercise: boolean;
|
|
3187
|
+
canTransfer: boolean;
|
|
3188
|
+
canMint: boolean;
|
|
3189
|
+
operator?: {
|
|
3190
|
+
__typename: "MarketOperator";
|
|
3191
|
+
address: string;
|
|
3192
|
+
} | null;
|
|
3193
|
+
}[] | undefined>>;
|
|
3194
|
+
isError: false;
|
|
3195
|
+
error: null;
|
|
3196
|
+
isPending: false;
|
|
3197
|
+
isLoading: false;
|
|
3198
|
+
isLoadingError: false;
|
|
3199
|
+
isRefetchError: false;
|
|
3200
|
+
isSuccess: true;
|
|
3201
|
+
isPlaceholderData: true;
|
|
3202
|
+
status: "success";
|
|
3203
|
+
dataUpdatedAt: number;
|
|
3204
|
+
errorUpdatedAt: number;
|
|
3205
|
+
failureCount: number;
|
|
3206
|
+
failureReason: Error | null;
|
|
3207
|
+
errorUpdateCount: number;
|
|
3208
|
+
isFetched: boolean;
|
|
3209
|
+
isFetchedAfterMount: boolean;
|
|
3210
|
+
isFetching: boolean;
|
|
3211
|
+
isInitialLoading: boolean;
|
|
3212
|
+
isPaused: boolean;
|
|
3213
|
+
isRefetching: boolean;
|
|
3214
|
+
isStale: boolean;
|
|
3215
|
+
isEnabled: boolean;
|
|
3216
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<{
|
|
3217
|
+
spendingApproval: bigint;
|
|
3218
|
+
operatorAddr: string;
|
|
3219
|
+
__typename: "UserMarketOperator";
|
|
3220
|
+
id: string;
|
|
3221
|
+
canExtend: boolean;
|
|
3222
|
+
canExercise: boolean;
|
|
3223
|
+
canTransfer: boolean;
|
|
3224
|
+
canMint: boolean;
|
|
3225
|
+
operator?: {
|
|
3226
|
+
__typename: "MarketOperator";
|
|
3227
|
+
address: string;
|
|
3228
|
+
} | null;
|
|
3229
|
+
}[] | undefined, Error>>;
|
|
3230
|
+
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3231
|
+
promise: Promise<{
|
|
3232
|
+
spendingApproval: bigint;
|
|
3233
|
+
operatorAddr: string;
|
|
3234
|
+
__typename: "UserMarketOperator";
|
|
3235
|
+
id: string;
|
|
3236
|
+
canExtend: boolean;
|
|
3237
|
+
canExercise: boolean;
|
|
3238
|
+
canTransfer: boolean;
|
|
3239
|
+
canMint: boolean;
|
|
3240
|
+
operator?: {
|
|
3241
|
+
__typename: "MarketOperator";
|
|
3242
|
+
address: string;
|
|
3243
|
+
} | null;
|
|
3244
|
+
}[] | undefined>;
|
|
3245
|
+
};
|
|
2863
3246
|
//#endregion
|
|
2864
3247
|
//#region src/hooks/pool/useCurrentPrice.d.ts
|
|
2865
3248
|
declare const useCurrentPrice: (poolAddr?: Address) => {
|
|
@@ -2925,7 +3308,7 @@ declare const useBurnLiquidity: (vaultAddr?: Address) => {
|
|
|
2925
3308
|
//#region src/hooks/vault/useLiquidityBlocks.d.ts
|
|
2926
3309
|
type LiquidityBlockData = ReturnType<typeof useLiquidityBlocks>['data'][0];
|
|
2927
3310
|
declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
2928
|
-
error:
|
|
3311
|
+
error: viem366.ReadContractErrorType;
|
|
2929
3312
|
isError: true;
|
|
2930
3313
|
isPending: false;
|
|
2931
3314
|
isLoading: false;
|
|
@@ -2937,7 +3320,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2937
3320
|
dataUpdatedAt: number;
|
|
2938
3321
|
errorUpdatedAt: number;
|
|
2939
3322
|
failureCount: number;
|
|
2940
|
-
failureReason:
|
|
3323
|
+
failureReason: viem366.ReadContractErrorType | null;
|
|
2941
3324
|
errorUpdateCount: number;
|
|
2942
3325
|
isFetched: boolean;
|
|
2943
3326
|
isFetchedAfterMount: boolean;
|
|
@@ -2957,7 +3340,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2957
3340
|
totalAmount1: bigint;
|
|
2958
3341
|
borrowedAmount0: bigint;
|
|
2959
3342
|
borrowedAmount1: bigint;
|
|
2960
|
-
}[],
|
|
3343
|
+
}[], viem366.ReadContractErrorType>>;
|
|
2961
3344
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
2962
3345
|
promise: Promise<readonly {
|
|
2963
3346
|
tickLower: number;
|
|
@@ -2995,7 +3378,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
2995
3378
|
dataUpdatedAt: number;
|
|
2996
3379
|
errorUpdatedAt: number;
|
|
2997
3380
|
failureCount: number;
|
|
2998
|
-
failureReason:
|
|
3381
|
+
failureReason: viem366.ReadContractErrorType | null;
|
|
2999
3382
|
errorUpdateCount: number;
|
|
3000
3383
|
isFetched: boolean;
|
|
3001
3384
|
isFetchedAfterMount: boolean;
|
|
@@ -3015,7 +3398,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3015
3398
|
totalAmount1: bigint;
|
|
3016
3399
|
borrowedAmount0: bigint;
|
|
3017
3400
|
borrowedAmount1: bigint;
|
|
3018
|
-
}[],
|
|
3401
|
+
}[], viem366.ReadContractErrorType>>;
|
|
3019
3402
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3020
3403
|
promise: Promise<readonly {
|
|
3021
3404
|
tickLower: number;
|
|
@@ -3041,7 +3424,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3041
3424
|
borrowedAmount1: bigint;
|
|
3042
3425
|
}[];
|
|
3043
3426
|
} | {
|
|
3044
|
-
error:
|
|
3427
|
+
error: viem366.ReadContractErrorType;
|
|
3045
3428
|
isError: true;
|
|
3046
3429
|
isPending: false;
|
|
3047
3430
|
isLoading: false;
|
|
@@ -3053,7 +3436,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3053
3436
|
dataUpdatedAt: number;
|
|
3054
3437
|
errorUpdatedAt: number;
|
|
3055
3438
|
failureCount: number;
|
|
3056
|
-
failureReason:
|
|
3439
|
+
failureReason: viem366.ReadContractErrorType | null;
|
|
3057
3440
|
errorUpdateCount: number;
|
|
3058
3441
|
isFetched: boolean;
|
|
3059
3442
|
isFetchedAfterMount: boolean;
|
|
@@ -3073,7 +3456,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3073
3456
|
totalAmount1: bigint;
|
|
3074
3457
|
borrowedAmount0: bigint;
|
|
3075
3458
|
borrowedAmount1: bigint;
|
|
3076
|
-
}[],
|
|
3459
|
+
}[], viem366.ReadContractErrorType>>;
|
|
3077
3460
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3078
3461
|
promise: Promise<readonly {
|
|
3079
3462
|
tickLower: number;
|
|
@@ -3111,7 +3494,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3111
3494
|
dataUpdatedAt: number;
|
|
3112
3495
|
errorUpdatedAt: number;
|
|
3113
3496
|
failureCount: number;
|
|
3114
|
-
failureReason:
|
|
3497
|
+
failureReason: viem366.ReadContractErrorType | null;
|
|
3115
3498
|
errorUpdateCount: number;
|
|
3116
3499
|
isFetched: boolean;
|
|
3117
3500
|
isFetchedAfterMount: boolean;
|
|
@@ -3131,7 +3514,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3131
3514
|
totalAmount1: bigint;
|
|
3132
3515
|
borrowedAmount0: bigint;
|
|
3133
3516
|
borrowedAmount1: bigint;
|
|
3134
|
-
}[],
|
|
3517
|
+
}[], viem366.ReadContractErrorType>>;
|
|
3135
3518
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3136
3519
|
promise: Promise<readonly {
|
|
3137
3520
|
tickLower: number;
|
|
@@ -3168,7 +3551,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3168
3551
|
dataUpdatedAt: number;
|
|
3169
3552
|
errorUpdatedAt: number;
|
|
3170
3553
|
failureCount: number;
|
|
3171
|
-
failureReason:
|
|
3554
|
+
failureReason: viem366.ReadContractErrorType | null;
|
|
3172
3555
|
errorUpdateCount: number;
|
|
3173
3556
|
isFetched: boolean;
|
|
3174
3557
|
isFetchedAfterMount: boolean;
|
|
@@ -3189,7 +3572,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3189
3572
|
totalAmount1: bigint;
|
|
3190
3573
|
borrowedAmount0: bigint;
|
|
3191
3574
|
borrowedAmount1: bigint;
|
|
3192
|
-
}[],
|
|
3575
|
+
}[], viem366.ReadContractErrorType>>;
|
|
3193
3576
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3194
3577
|
promise: Promise<readonly {
|
|
3195
3578
|
tickLower: number;
|
|
@@ -3227,7 +3610,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3227
3610
|
dataUpdatedAt: number;
|
|
3228
3611
|
errorUpdatedAt: number;
|
|
3229
3612
|
failureCount: number;
|
|
3230
|
-
failureReason:
|
|
3613
|
+
failureReason: viem366.ReadContractErrorType | null;
|
|
3231
3614
|
errorUpdateCount: number;
|
|
3232
3615
|
isFetched: boolean;
|
|
3233
3616
|
isFetchedAfterMount: boolean;
|
|
@@ -3247,7 +3630,7 @@ declare const useLiquidityBlocks: (vaultAddr?: Address) => {
|
|
|
3247
3630
|
totalAmount1: bigint;
|
|
3248
3631
|
borrowedAmount0: bigint;
|
|
3249
3632
|
borrowedAmount1: bigint;
|
|
3250
|
-
}[],
|
|
3633
|
+
}[], viem366.ReadContractErrorType>>;
|
|
3251
3634
|
fetchStatus: _tanstack_query_core0.FetchStatus;
|
|
3252
3635
|
promise: Promise<readonly {
|
|
3253
3636
|
tickLower: number;
|
|
@@ -3320,14 +3703,14 @@ declare const useVaultTVL: (vaultAddr?: Address) => {
|
|
|
3320
3703
|
borrowedAmount0: Amount;
|
|
3321
3704
|
borrowedAmount1: Amount;
|
|
3322
3705
|
blocksCount: bigint;
|
|
3323
|
-
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint],
|
|
3706
|
+
refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<readonly [bigint, bigint, bigint, bigint, bigint, bigint, bigint], viem366.ReadContractErrorType>>;
|
|
3324
3707
|
};
|
|
3325
3708
|
//#endregion
|
|
3326
3709
|
//#region src/hooks/useLens.d.ts
|
|
3327
3710
|
declare const useLens: () => {
|
|
3328
3711
|
timelockLens: {
|
|
3329
3712
|
read: {
|
|
3330
|
-
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?:
|
|
3713
|
+
batchGetRefTick: (args: readonly [`0x${string}`, readonly number[]], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
3331
3714
|
readonly type: "function";
|
|
3332
3715
|
readonly name: "batchGetRefTick";
|
|
3333
3716
|
readonly inputs: readonly [{
|
|
@@ -4001,7 +4384,7 @@ declare const useLens: () => {
|
|
|
4001
4384
|
}];
|
|
4002
4385
|
readonly stateMutability: "view";
|
|
4003
4386
|
}], "batchGetRefTick", readonly [`0x${string}`, readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly number[]>;
|
|
4004
|
-
getAllBlocks: (args: readonly [`0x${string}`], options?:
|
|
4387
|
+
getAllBlocks: (args: readonly [`0x${string}`], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
4005
4388
|
readonly type: "function";
|
|
4006
4389
|
readonly name: "batchGetRefTick";
|
|
4007
4390
|
readonly inputs: readonly [{
|
|
@@ -4685,7 +5068,7 @@ declare const useLens: () => {
|
|
|
4685
5068
|
borrowedAmount0: bigint;
|
|
4686
5069
|
borrowedAmount1: bigint;
|
|
4687
5070
|
}[]>;
|
|
4688
|
-
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?:
|
|
5071
|
+
getExpiredOptions: (args: readonly [`0x${string}`, bigint, bigint], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
4689
5072
|
readonly type: "function";
|
|
4690
5073
|
readonly name: "batchGetRefTick";
|
|
4691
5074
|
readonly inputs: readonly [{
|
|
@@ -5376,7 +5759,7 @@ declare const useLens: () => {
|
|
|
5376
5759
|
expiresAt: bigint;
|
|
5377
5760
|
liquidities: readonly bigint[];
|
|
5378
5761
|
}[], bigint, boolean]>;
|
|
5379
|
-
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?:
|
|
5762
|
+
getLiquidityAtTick: (args: readonly [`0x${string}`, number], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
5380
5763
|
readonly type: "function";
|
|
5381
5764
|
readonly name: "batchGetRefTick";
|
|
5382
5765
|
readonly inputs: readonly [{
|
|
@@ -6050,7 +6433,7 @@ declare const useLens: () => {
|
|
|
6050
6433
|
}];
|
|
6051
6434
|
readonly stateMutability: "view";
|
|
6052
6435
|
}], "getLiquidityAtTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
6053
|
-
getMarketData: (args: readonly [`0x${string}`], options?:
|
|
6436
|
+
getMarketData: (args: readonly [`0x${string}`], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
6054
6437
|
readonly type: "function";
|
|
6055
6438
|
readonly name: "batchGetRefTick";
|
|
6056
6439
|
readonly inputs: readonly [{
|
|
@@ -6737,7 +7120,7 @@ declare const useLens: () => {
|
|
|
6737
7120
|
payoutAssetName: string;
|
|
6738
7121
|
optionsCount: bigint;
|
|
6739
7122
|
}>;
|
|
6740
|
-
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?:
|
|
7123
|
+
getMaxPositionSize: (args: readonly [`0x${string}`, number, number], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
6741
7124
|
readonly type: "function";
|
|
6742
7125
|
readonly name: "batchGetRefTick";
|
|
6743
7126
|
readonly inputs: readonly [{
|
|
@@ -7411,7 +7794,7 @@ declare const useLens: () => {
|
|
|
7411
7794
|
}];
|
|
7412
7795
|
readonly stateMutability: "view";
|
|
7413
7796
|
}], "getMaxPositionSize", readonly [`0x${string}`, number, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
7414
|
-
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?:
|
|
7797
|
+
getMaxPositionSizeAtCurrentTick: (args: readonly [`0x${string}`, number], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
7415
7798
|
readonly type: "function";
|
|
7416
7799
|
readonly name: "batchGetRefTick";
|
|
7417
7800
|
readonly inputs: readonly [{
|
|
@@ -8085,7 +8468,7 @@ declare const useLens: () => {
|
|
|
8085
8468
|
}];
|
|
8086
8469
|
readonly stateMutability: "view";
|
|
8087
8470
|
}], "getMaxPositionSizeAtCurrentTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
8088
|
-
getOptionData: (args: readonly [`0x${string}`, bigint], options?:
|
|
8471
|
+
getOptionData: (args: readonly [`0x${string}`, bigint], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
8089
8472
|
readonly type: "function";
|
|
8090
8473
|
readonly name: "batchGetRefTick";
|
|
8091
8474
|
readonly inputs: readonly [{
|
|
@@ -8776,7 +9159,7 @@ declare const useLens: () => {
|
|
|
8776
9159
|
expiresAt: bigint;
|
|
8777
9160
|
liquidities: readonly bigint[];
|
|
8778
9161
|
}>;
|
|
8779
|
-
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?:
|
|
9162
|
+
getOptionsData: (args: readonly [`0x${string}`, readonly bigint[]], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
8780
9163
|
readonly type: "function";
|
|
8781
9164
|
readonly name: "batchGetRefTick";
|
|
8782
9165
|
readonly inputs: readonly [{
|
|
@@ -9467,7 +9850,7 @@ declare const useLens: () => {
|
|
|
9467
9850
|
expiresAt: bigint;
|
|
9468
9851
|
liquidities: readonly bigint[];
|
|
9469
9852
|
}[]>;
|
|
9470
|
-
getPoolData: (args: readonly [`0x${string}`], options?:
|
|
9853
|
+
getPoolData: (args: readonly [`0x${string}`], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
9471
9854
|
readonly type: "function";
|
|
9472
9855
|
readonly name: "batchGetRefTick";
|
|
9473
9856
|
readonly inputs: readonly [{
|
|
@@ -10152,7 +10535,7 @@ declare const useLens: () => {
|
|
|
10152
10535
|
tickSpacing: number;
|
|
10153
10536
|
fee: number;
|
|
10154
10537
|
}>;
|
|
10155
|
-
getRefTick: (args: readonly [`0x${string}`, number], options?:
|
|
10538
|
+
getRefTick: (args: readonly [`0x${string}`, number], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
10156
10539
|
readonly type: "function";
|
|
10157
10540
|
readonly name: "batchGetRefTick";
|
|
10158
10541
|
readonly inputs: readonly [{
|
|
@@ -10826,7 +11209,7 @@ declare const useLens: () => {
|
|
|
10826
11209
|
}];
|
|
10827
11210
|
readonly stateMutability: "view";
|
|
10828
11211
|
}], "getRefTick", readonly [`0x${string}`, number]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
10829
|
-
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?:
|
|
11212
|
+
getUserOptions: (args: readonly [`0x${string}`, `0x${string}`, bigint, bigint], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
10830
11213
|
readonly type: "function";
|
|
10831
11214
|
readonly name: "batchGetRefTick";
|
|
10832
11215
|
readonly inputs: readonly [{
|
|
@@ -11517,7 +11900,7 @@ declare const useLens: () => {
|
|
|
11517
11900
|
expiresAt: bigint;
|
|
11518
11901
|
liquidities: readonly bigint[];
|
|
11519
11902
|
}[], bigint, boolean]>;
|
|
11520
|
-
getVaultTVL: (args: readonly [`0x${string}`], options?:
|
|
11903
|
+
getVaultTVL: (args: readonly [`0x${string}`], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
11521
11904
|
readonly type: "function";
|
|
11522
11905
|
readonly name: "batchGetRefTick";
|
|
11523
11906
|
readonly inputs: readonly [{
|
|
@@ -12870,7 +13253,7 @@ declare const useLens: () => {
|
|
|
12870
13253
|
} | undefined;
|
|
12871
13254
|
uniswapLens: {
|
|
12872
13255
|
read: {
|
|
12873
|
-
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
13256
|
+
batchGetAmount0ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
12874
13257
|
readonly type: "function";
|
|
12875
13258
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
12876
13259
|
readonly inputs: readonly [{
|
|
@@ -13491,7 +13874,7 @@ declare const useLens: () => {
|
|
|
13491
13874
|
}];
|
|
13492
13875
|
readonly stateMutability: "pure";
|
|
13493
13876
|
}], "batchGetAmount0ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
13494
|
-
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
13877
|
+
batchGetAmount0ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
13495
13878
|
readonly type: "function";
|
|
13496
13879
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
13497
13880
|
readonly inputs: readonly [{
|
|
@@ -14112,7 +14495,7 @@ declare const useLens: () => {
|
|
|
14112
14495
|
}];
|
|
14113
14496
|
readonly stateMutability: "pure";
|
|
14114
14497
|
}], "batchGetAmount0ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
14115
|
-
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
14498
|
+
batchGetAmount1ForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
14116
14499
|
readonly type: "function";
|
|
14117
14500
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
14118
14501
|
readonly inputs: readonly [{
|
|
@@ -14733,7 +15116,7 @@ declare const useLens: () => {
|
|
|
14733
15116
|
}];
|
|
14734
15117
|
readonly stateMutability: "pure";
|
|
14735
15118
|
}], "batchGetAmount1ForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
14736
|
-
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
15119
|
+
batchGetAmount1ForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
14737
15120
|
readonly type: "function";
|
|
14738
15121
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
14739
15122
|
readonly inputs: readonly [{
|
|
@@ -15354,7 +15737,7 @@ declare const useLens: () => {
|
|
|
15354
15737
|
}];
|
|
15355
15738
|
readonly stateMutability: "pure";
|
|
15356
15739
|
}], "batchGetAmount1ForLiquidityTicks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
15357
|
-
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
15740
|
+
batchGetAmountsForLiquidity: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
15358
15741
|
readonly type: "function";
|
|
15359
15742
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15360
15743
|
readonly inputs: readonly [{
|
|
@@ -15975,7 +16358,7 @@ declare const useLens: () => {
|
|
|
15975
16358
|
}];
|
|
15976
16359
|
readonly stateMutability: "pure";
|
|
15977
16360
|
}], "batchGetAmountsForLiquidity", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
15978
|
-
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?:
|
|
16361
|
+
batchGetAmountsForLiquidityTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
15979
16362
|
readonly type: "function";
|
|
15980
16363
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
15981
16364
|
readonly inputs: readonly [{
|
|
@@ -16596,7 +16979,7 @@ declare const useLens: () => {
|
|
|
16596
16979
|
}];
|
|
16597
16980
|
readonly stateMutability: "pure";
|
|
16598
16981
|
}], "batchGetAmountsForLiquidityTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [readonly bigint[], readonly bigint[]]>;
|
|
16599
|
-
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
16982
|
+
batchGetLiquidityForAmount0: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
16600
16983
|
readonly type: "function";
|
|
16601
16984
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
16602
16985
|
readonly inputs: readonly [{
|
|
@@ -17217,7 +17600,7 @@ declare const useLens: () => {
|
|
|
17217
17600
|
}];
|
|
17218
17601
|
readonly stateMutability: "pure";
|
|
17219
17602
|
}], "batchGetLiquidityForAmount0", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
17220
|
-
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
17603
|
+
batchGetLiquidityForAmount0Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
17221
17604
|
readonly type: "function";
|
|
17222
17605
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
17223
17606
|
readonly inputs: readonly [{
|
|
@@ -17838,7 +18221,7 @@ declare const useLens: () => {
|
|
|
17838
18221
|
}];
|
|
17839
18222
|
readonly stateMutability: "pure";
|
|
17840
18223
|
}], "batchGetLiquidityForAmount0Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
17841
|
-
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
18224
|
+
batchGetLiquidityForAmount1: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
17842
18225
|
readonly type: "function";
|
|
17843
18226
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
17844
18227
|
readonly inputs: readonly [{
|
|
@@ -18459,7 +18842,7 @@ declare const useLens: () => {
|
|
|
18459
18842
|
}];
|
|
18460
18843
|
readonly stateMutability: "pure";
|
|
18461
18844
|
}], "batchGetLiquidityForAmount1", readonly [readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
18462
|
-
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?:
|
|
18845
|
+
batchGetLiquidityForAmount1Ticks: (args: readonly [readonly number[], readonly number[], readonly bigint[]], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
18463
18846
|
readonly type: "function";
|
|
18464
18847
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
18465
18848
|
readonly inputs: readonly [{
|
|
@@ -19080,7 +19463,7 @@ declare const useLens: () => {
|
|
|
19080
19463
|
}];
|
|
19081
19464
|
readonly stateMutability: "pure";
|
|
19082
19465
|
}], "batchGetLiquidityForAmount1Ticks", readonly [readonly number[], readonly number[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
19083
|
-
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?:
|
|
19466
|
+
batchGetLiquidityForAmounts: (args: readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
19084
19467
|
readonly type: "function";
|
|
19085
19468
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
19086
19469
|
readonly inputs: readonly [{
|
|
@@ -19701,7 +20084,7 @@ declare const useLens: () => {
|
|
|
19701
20084
|
}];
|
|
19702
20085
|
readonly stateMutability: "pure";
|
|
19703
20086
|
}], "batchGetLiquidityForAmounts", readonly [readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
19704
|
-
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?:
|
|
20087
|
+
batchGetLiquidityForAmountsTicks: (args: readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
19705
20088
|
readonly type: "function";
|
|
19706
20089
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
19707
20090
|
readonly inputs: readonly [{
|
|
@@ -20322,7 +20705,7 @@ declare const useLens: () => {
|
|
|
20322
20705
|
}];
|
|
20323
20706
|
readonly stateMutability: "pure";
|
|
20324
20707
|
}], "batchGetLiquidityForAmountsTicks", readonly [readonly number[], readonly number[], readonly number[], readonly bigint[], readonly bigint[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
20325
|
-
batchGetPriceAtTick: (args: readonly [readonly number[]], options?:
|
|
20708
|
+
batchGetPriceAtTick: (args: readonly [readonly number[]], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
20326
20709
|
readonly type: "function";
|
|
20327
20710
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20328
20711
|
readonly inputs: readonly [{
|
|
@@ -20943,7 +21326,7 @@ declare const useLens: () => {
|
|
|
20943
21326
|
}];
|
|
20944
21327
|
readonly stateMutability: "pure";
|
|
20945
21328
|
}], "batchGetPriceAtTick", readonly [readonly number[]]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly bigint[]>;
|
|
20946
|
-
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
21329
|
+
getAmount0ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
20947
21330
|
readonly type: "function";
|
|
20948
21331
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
20949
21332
|
readonly inputs: readonly [{
|
|
@@ -21564,7 +21947,7 @@ declare const useLens: () => {
|
|
|
21564
21947
|
}];
|
|
21565
21948
|
readonly stateMutability: "pure";
|
|
21566
21949
|
}], "getAmount0ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
21567
|
-
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
21950
|
+
getAmount0ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
21568
21951
|
readonly type: "function";
|
|
21569
21952
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
21570
21953
|
readonly inputs: readonly [{
|
|
@@ -22185,7 +22568,7 @@ declare const useLens: () => {
|
|
|
22185
22568
|
}];
|
|
22186
22569
|
readonly stateMutability: "pure";
|
|
22187
22570
|
}], "getAmount0ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
22188
|
-
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?:
|
|
22571
|
+
getAmount1ForLiquidity: (args: readonly [bigint, bigint, bigint], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
22189
22572
|
readonly type: "function";
|
|
22190
22573
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
22191
22574
|
readonly inputs: readonly [{
|
|
@@ -22806,7 +23189,7 @@ declare const useLens: () => {
|
|
|
22806
23189
|
}];
|
|
22807
23190
|
readonly stateMutability: "pure";
|
|
22808
23191
|
}], "getAmount1ForLiquidity", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
22809
|
-
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?:
|
|
23192
|
+
getAmount1ForLiquidityTicks: (args: readonly [number, number, bigint], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
22810
23193
|
readonly type: "function";
|
|
22811
23194
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
22812
23195
|
readonly inputs: readonly [{
|
|
@@ -23427,7 +23810,7 @@ declare const useLens: () => {
|
|
|
23427
23810
|
}];
|
|
23428
23811
|
readonly stateMutability: "pure";
|
|
23429
23812
|
}], "getAmount1ForLiquidityTicks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
23430
|
-
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?:
|
|
23813
|
+
getAmountsForLiquidity: (args: readonly [bigint, bigint, bigint, bigint], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
23431
23814
|
readonly type: "function";
|
|
23432
23815
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
23433
23816
|
readonly inputs: readonly [{
|
|
@@ -24048,7 +24431,7 @@ declare const useLens: () => {
|
|
|
24048
24431
|
}];
|
|
24049
24432
|
readonly stateMutability: "pure";
|
|
24050
24433
|
}], "getAmountsForLiquidity", readonly [bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
24051
|
-
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?:
|
|
24434
|
+
getAmountsForLiquidityTicks: (args: readonly [number, number, number, bigint], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
24052
24435
|
readonly type: "function";
|
|
24053
24436
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
24054
24437
|
readonly inputs: readonly [{
|
|
@@ -24669,7 +25052,7 @@ declare const useLens: () => {
|
|
|
24669
25052
|
}];
|
|
24670
25053
|
readonly stateMutability: "pure";
|
|
24671
25054
|
}], "getAmountsForLiquidityTicks", readonly [number, number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [bigint, bigint]>;
|
|
24672
|
-
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?:
|
|
25055
|
+
getLiquidityForAmount0: (args: readonly [bigint, bigint, bigint], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
24673
25056
|
readonly type: "function";
|
|
24674
25057
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
24675
25058
|
readonly inputs: readonly [{
|
|
@@ -25290,7 +25673,7 @@ declare const useLens: () => {
|
|
|
25290
25673
|
}];
|
|
25291
25674
|
readonly stateMutability: "pure";
|
|
25292
25675
|
}], "getLiquidityForAmount0", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
25293
|
-
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?:
|
|
25676
|
+
getLiquidityForAmount0Ticks: (args: readonly [number, number, bigint], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
25294
25677
|
readonly type: "function";
|
|
25295
25678
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
25296
25679
|
readonly inputs: readonly [{
|
|
@@ -25911,7 +26294,7 @@ declare const useLens: () => {
|
|
|
25911
26294
|
}];
|
|
25912
26295
|
readonly stateMutability: "pure";
|
|
25913
26296
|
}], "getLiquidityForAmount0Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
25914
|
-
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?:
|
|
26297
|
+
getLiquidityForAmount1: (args: readonly [bigint, bigint, bigint], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
25915
26298
|
readonly type: "function";
|
|
25916
26299
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
25917
26300
|
readonly inputs: readonly [{
|
|
@@ -26532,7 +26915,7 @@ declare const useLens: () => {
|
|
|
26532
26915
|
}];
|
|
26533
26916
|
readonly stateMutability: "pure";
|
|
26534
26917
|
}], "getLiquidityForAmount1", readonly [bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
26535
|
-
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?:
|
|
26918
|
+
getLiquidityForAmount1Ticks: (args: readonly [number, number, bigint], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
26536
26919
|
readonly type: "function";
|
|
26537
26920
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
26538
26921
|
readonly inputs: readonly [{
|
|
@@ -27153,7 +27536,7 @@ declare const useLens: () => {
|
|
|
27153
27536
|
}];
|
|
27154
27537
|
readonly stateMutability: "pure";
|
|
27155
27538
|
}], "getLiquidityForAmount1Ticks", readonly [number, number, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
27156
|
-
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?:
|
|
27539
|
+
getLiquidityForAmounts: (args: readonly [bigint, bigint, bigint, bigint, bigint], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
27157
27540
|
readonly type: "function";
|
|
27158
27541
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
27159
27542
|
readonly inputs: readonly [{
|
|
@@ -27774,7 +28157,7 @@ declare const useLens: () => {
|
|
|
27774
28157
|
}];
|
|
27775
28158
|
readonly stateMutability: "pure";
|
|
27776
28159
|
}], "getLiquidityForAmounts", readonly [bigint, bigint, bigint, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
27777
|
-
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?:
|
|
28160
|
+
getLiquidityForAmountsTicks: (args: readonly [number, number, number, bigint, bigint], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
27778
28161
|
readonly type: "function";
|
|
27779
28162
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
27780
28163
|
readonly inputs: readonly [{
|
|
@@ -28395,7 +28778,7 @@ declare const useLens: () => {
|
|
|
28395
28778
|
}];
|
|
28396
28779
|
readonly stateMutability: "pure";
|
|
28397
28780
|
}], "getLiquidityForAmountsTicks", readonly [number, number, number, bigint, bigint]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
28398
|
-
getPriceAtTick: (args: readonly [number], options?:
|
|
28781
|
+
getPriceAtTick: (args: readonly [number], options?: viem366.Prettify<viem366.UnionOmit<viem366.ReadContractParameters<readonly [{
|
|
28399
28782
|
readonly type: "function";
|
|
28400
28783
|
readonly name: "batchGetAmount0ForLiquidity";
|
|
28401
28784
|
readonly inputs: readonly [{
|