timelock-sdk 0.0.62 → 0.0.64
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 +405 -22
- package/dist/client.d.ts +511 -128
- package/dist/client.js +11 -4
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
package/dist/client.d.cts
CHANGED
|
@@ -5,7 +5,7 @@ import { Address } from "viem";
|
|
|
5
5
|
import React, { ReactNode } from "react";
|
|
6
6
|
import "graphql";
|
|
7
7
|
import { GraphQLClient, RequestOptions } from "graphql-request";
|
|
8
|
-
import * as
|
|
8
|
+
import * as _wagmi_core1 from "@wagmi/core";
|
|
9
9
|
import * as _tanstack_query_core0 from "@tanstack/query-core";
|
|
10
10
|
import * as _tanstack_react_query0 from "@tanstack/react-query";
|
|
11
11
|
import { NonUndefinedGuard } from "@tanstack/react-query";
|
|
@@ -2768,7 +2768,7 @@ declare const useExerciseOption: (marketAddr?: Address) => {
|
|
|
2768
2768
|
isPending: boolean;
|
|
2769
2769
|
isConfirming: boolean;
|
|
2770
2770
|
isSuccess: boolean;
|
|
2771
|
-
error:
|
|
2771
|
+
error: _wagmi_core1.WriteContractErrorType | null;
|
|
2772
2772
|
isLoading: boolean;
|
|
2773
2773
|
};
|
|
2774
2774
|
//#endregion
|
|
@@ -2807,10 +2807,10 @@ declare const useMintOption: (marketAddr?: Address) => {
|
|
|
2807
2807
|
isPending: boolean;
|
|
2808
2808
|
isConfirming: boolean;
|
|
2809
2809
|
isSuccess: boolean;
|
|
2810
|
-
error: wagmi0.ConnectorAccountNotFoundErrorType | wagmi0.ConnectorChainMismatchErrorType |
|
|
2810
|
+
error: wagmi0.ConnectorAccountNotFoundErrorType | wagmi0.ConnectorChainMismatchErrorType | _wagmi_core1.ConnectorNotConnectedErrorType | wagmi0.ConnectorUnavailableReconnectingErrorType | viem249.BaseErrorType | node_modules__wagmi_core_dist_types_errors_base0.ErrorType | node_modules__wagmi_core_dist_types_errors_base0.BaseErrorType | viem249.AbiFunctionNotFoundErrorType | viem249.AbiEncodingLengthMismatchErrorType | viem249.InvalidAddressErrorType | viem249.AbiEncodingArrayLengthMismatchErrorType | viem249.IntegerOutOfRangeErrorType | viem249.SizeExceedsPaddingSizeErrorType | viem249.InvalidArrayErrorType | viem249.AbiEncodingBytesSizeMismatchErrorType | viem249.SizeOverflowErrorType | viem249.SliceOffsetOutOfBoundsErrorType | viem249.InvalidAbiEncodingTypeErrorType | viem249.InvalidDefinitionTypeErrorType | node_modules_viem__types_errors_abi0.AbiItemAmbiguityErrorType | node_modules_viem__types_errors_account0.AccountNotFoundErrorType | viem249.GetContractErrorReturnType<viem249.SendTransactionErrorType> | null;
|
|
2811
2811
|
isLoading: boolean;
|
|
2812
2812
|
isApprovalPending: boolean;
|
|
2813
|
-
approvalError:
|
|
2813
|
+
approvalError: _wagmi_core1.WriteContractErrorType | null;
|
|
2814
2814
|
resetApproval: () => void;
|
|
2815
2815
|
};
|
|
2816
2816
|
//#endregion
|
|
@@ -2838,28 +2838,411 @@ declare const useExtendOption: (marketAddr?: Address) => {
|
|
|
2838
2838
|
isPending: boolean;
|
|
2839
2839
|
isConfirming: boolean;
|
|
2840
2840
|
isSuccess: boolean;
|
|
2841
|
-
error: wagmi0.ConnectorAccountNotFoundErrorType | wagmi0.ConnectorChainMismatchErrorType |
|
|
2841
|
+
error: wagmi0.ConnectorAccountNotFoundErrorType | wagmi0.ConnectorChainMismatchErrorType | _wagmi_core1.ConnectorNotConnectedErrorType | wagmi0.ConnectorUnavailableReconnectingErrorType | viem249.BaseErrorType | node_modules__wagmi_core_dist_types_errors_base0.ErrorType | node_modules__wagmi_core_dist_types_errors_base0.BaseErrorType | viem249.AbiFunctionNotFoundErrorType | viem249.AbiEncodingLengthMismatchErrorType | viem249.InvalidAddressErrorType | viem249.AbiEncodingArrayLengthMismatchErrorType | viem249.IntegerOutOfRangeErrorType | viem249.SizeExceedsPaddingSizeErrorType | viem249.InvalidArrayErrorType | viem249.AbiEncodingBytesSizeMismatchErrorType | viem249.SizeOverflowErrorType | viem249.SliceOffsetOutOfBoundsErrorType | viem249.InvalidAbiEncodingTypeErrorType | viem249.InvalidDefinitionTypeErrorType | node_modules_viem__types_errors_abi0.AbiItemAmbiguityErrorType | node_modules_viem__types_errors_account0.AccountNotFoundErrorType | viem249.GetContractErrorReturnType<viem249.SendTransactionErrorType> | null;
|
|
2842
2842
|
isLoading: boolean;
|
|
2843
2843
|
isApprovalPending: boolean;
|
|
2844
|
-
approvalError:
|
|
2844
|
+
approvalError: _wagmi_core1.WriteContractErrorType | null;
|
|
2845
2845
|
resetApproval: () => void;
|
|
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: {
|
|
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
|
+
}[];
|
|
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: {
|
|
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
|
+
}[];
|
|
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: {
|
|
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
|
+
}[];
|
|
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: {
|
|
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
|
+
}[];
|
|
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: {
|
|
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
|
+
}[];
|
|
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: {
|
|
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
|
+
}[];
|
|
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) => {
|
|
@@ -2918,7 +3301,7 @@ declare const useBurnLiquidity: (vaultAddr?: Address) => {
|
|
|
2918
3301
|
isPending: boolean;
|
|
2919
3302
|
isConfirming: boolean;
|
|
2920
3303
|
isSuccess: boolean;
|
|
2921
|
-
error:
|
|
3304
|
+
error: _wagmi_core1.WriteContractErrorType | null;
|
|
2922
3305
|
isLoading: boolean;
|
|
2923
3306
|
};
|
|
2924
3307
|
//#endregion
|
|
@@ -3293,7 +3676,7 @@ declare const useMintLiquidity: (vaultAddr?: Address) => {
|
|
|
3293
3676
|
isPending: boolean;
|
|
3294
3677
|
isConfirming: boolean;
|
|
3295
3678
|
isSuccess: boolean;
|
|
3296
|
-
error:
|
|
3679
|
+
error: _wagmi_core1.WriteContractErrorType | null;
|
|
3297
3680
|
isLoading: boolean;
|
|
3298
3681
|
};
|
|
3299
3682
|
//#endregion
|