timelock-sdk 0.0.77 → 0.0.78

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.d.cts CHANGED
@@ -2825,6 +2825,856 @@ declare const useSetOperatorPerms: (marketAddr?: Address) => _tanstack_react_que
2825
2825
  spendingApproval: bigint;
2826
2826
  }, unknown>;
2827
2827
  //#endregion
2828
+ //#region src/hooks/market/useOptionTimeline.d.ts
2829
+ type OptionTimelineData = ReturnType<typeof useOptionTimeline>['data'];
2830
+ declare const useOptionTimeline: (marketAddr?: Address, optionId?: bigint) => {
2831
+ error: Error;
2832
+ isError: true;
2833
+ isPending: false;
2834
+ isLoading: false;
2835
+ isLoadingError: false;
2836
+ isRefetchError: true;
2837
+ isSuccess: false;
2838
+ isPlaceholderData: false;
2839
+ status: "error";
2840
+ dataUpdatedAt: number;
2841
+ errorUpdatedAt: number;
2842
+ failureCount: number;
2843
+ failureReason: Error | null;
2844
+ errorUpdateCount: number;
2845
+ isFetched: boolean;
2846
+ isFetchedAfterMount: boolean;
2847
+ isFetching: boolean;
2848
+ isInitialLoading: boolean;
2849
+ isPaused: boolean;
2850
+ isRefetching: boolean;
2851
+ isStale: boolean;
2852
+ isEnabled: boolean;
2853
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
2854
+ type: "mint";
2855
+ data: {
2856
+ id: string;
2857
+ optionType: 0 | 1;
2858
+ strikeTick: number;
2859
+ currentTick: number;
2860
+ expiresAt: Date;
2861
+ premium: bigint;
2862
+ protocolFee: bigint;
2863
+ liquidities: bigint[];
2864
+ timestamp: Date;
2865
+ blockNumber: bigint;
2866
+ transactionHash: string;
2867
+ };
2868
+ } | {
2869
+ type: "exercise";
2870
+ data: {
2871
+ id: string;
2872
+ liquidities: bigint[];
2873
+ currentTick: number;
2874
+ payout: bigint;
2875
+ timestamp: Date;
2876
+ blockNumber: bigint;
2877
+ transactionHash: string;
2878
+ };
2879
+ } | {
2880
+ type: "extend";
2881
+ data: {
2882
+ id: string;
2883
+ premium: bigint;
2884
+ protocolFee: bigint;
2885
+ currentTick: number;
2886
+ addedDuration: bigint;
2887
+ timestamp: Date;
2888
+ blockNumber: bigint;
2889
+ transactionHash: string;
2890
+ };
2891
+ })[], Error>>;
2892
+ fetchStatus: _tanstack_query_core0.FetchStatus;
2893
+ promise: Promise<({
2894
+ type: "mint";
2895
+ data: {
2896
+ id: string;
2897
+ optionType: 0 | 1;
2898
+ strikeTick: number;
2899
+ currentTick: number;
2900
+ expiresAt: Date;
2901
+ premium: bigint;
2902
+ protocolFee: bigint;
2903
+ liquidities: bigint[];
2904
+ timestamp: Date;
2905
+ blockNumber: bigint;
2906
+ transactionHash: string;
2907
+ };
2908
+ } | {
2909
+ type: "exercise";
2910
+ data: {
2911
+ id: string;
2912
+ liquidities: bigint[];
2913
+ currentTick: number;
2914
+ payout: bigint;
2915
+ timestamp: Date;
2916
+ blockNumber: bigint;
2917
+ transactionHash: string;
2918
+ };
2919
+ } | {
2920
+ type: "extend";
2921
+ data: {
2922
+ id: string;
2923
+ premium: bigint;
2924
+ protocolFee: bigint;
2925
+ currentTick: number;
2926
+ addedDuration: bigint;
2927
+ timestamp: Date;
2928
+ blockNumber: bigint;
2929
+ transactionHash: string;
2930
+ };
2931
+ })[]>;
2932
+ data: ({
2933
+ type: "mint";
2934
+ data: {
2935
+ id: string;
2936
+ optionType: 0 | 1;
2937
+ strikeTick: number;
2938
+ currentTick: number;
2939
+ expiresAt: Date;
2940
+ premium: bigint;
2941
+ protocolFee: bigint;
2942
+ liquidities: bigint[];
2943
+ timestamp: Date;
2944
+ blockNumber: bigint;
2945
+ transactionHash: string;
2946
+ };
2947
+ } | {
2948
+ type: "exercise";
2949
+ data: {
2950
+ id: string;
2951
+ liquidities: bigint[];
2952
+ currentTick: number;
2953
+ payout: bigint;
2954
+ timestamp: Date;
2955
+ blockNumber: bigint;
2956
+ transactionHash: string;
2957
+ };
2958
+ } | {
2959
+ type: "extend";
2960
+ data: {
2961
+ id: string;
2962
+ premium: bigint;
2963
+ protocolFee: bigint;
2964
+ currentTick: number;
2965
+ addedDuration: bigint;
2966
+ timestamp: Date;
2967
+ blockNumber: bigint;
2968
+ transactionHash: string;
2969
+ };
2970
+ })[];
2971
+ } | {
2972
+ error: null;
2973
+ isError: false;
2974
+ isPending: false;
2975
+ isLoading: false;
2976
+ isLoadingError: false;
2977
+ isRefetchError: false;
2978
+ isSuccess: true;
2979
+ isPlaceholderData: false;
2980
+ status: "success";
2981
+ dataUpdatedAt: number;
2982
+ errorUpdatedAt: number;
2983
+ failureCount: number;
2984
+ failureReason: Error | null;
2985
+ errorUpdateCount: number;
2986
+ isFetched: boolean;
2987
+ isFetchedAfterMount: boolean;
2988
+ isFetching: boolean;
2989
+ isInitialLoading: boolean;
2990
+ isPaused: boolean;
2991
+ isRefetching: boolean;
2992
+ isStale: boolean;
2993
+ isEnabled: boolean;
2994
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
2995
+ type: "mint";
2996
+ data: {
2997
+ id: string;
2998
+ optionType: 0 | 1;
2999
+ strikeTick: number;
3000
+ currentTick: number;
3001
+ expiresAt: Date;
3002
+ premium: bigint;
3003
+ protocolFee: bigint;
3004
+ liquidities: bigint[];
3005
+ timestamp: Date;
3006
+ blockNumber: bigint;
3007
+ transactionHash: string;
3008
+ };
3009
+ } | {
3010
+ type: "exercise";
3011
+ data: {
3012
+ id: string;
3013
+ liquidities: bigint[];
3014
+ currentTick: number;
3015
+ payout: bigint;
3016
+ timestamp: Date;
3017
+ blockNumber: bigint;
3018
+ transactionHash: string;
3019
+ };
3020
+ } | {
3021
+ type: "extend";
3022
+ data: {
3023
+ id: string;
3024
+ premium: bigint;
3025
+ protocolFee: bigint;
3026
+ currentTick: number;
3027
+ addedDuration: bigint;
3028
+ timestamp: Date;
3029
+ blockNumber: bigint;
3030
+ transactionHash: string;
3031
+ };
3032
+ })[], Error>>;
3033
+ fetchStatus: _tanstack_query_core0.FetchStatus;
3034
+ promise: Promise<({
3035
+ type: "mint";
3036
+ data: {
3037
+ id: string;
3038
+ optionType: 0 | 1;
3039
+ strikeTick: number;
3040
+ currentTick: number;
3041
+ expiresAt: Date;
3042
+ premium: bigint;
3043
+ protocolFee: bigint;
3044
+ liquidities: bigint[];
3045
+ timestamp: Date;
3046
+ blockNumber: bigint;
3047
+ transactionHash: string;
3048
+ };
3049
+ } | {
3050
+ type: "exercise";
3051
+ data: {
3052
+ id: string;
3053
+ liquidities: bigint[];
3054
+ currentTick: number;
3055
+ payout: bigint;
3056
+ timestamp: Date;
3057
+ blockNumber: bigint;
3058
+ transactionHash: string;
3059
+ };
3060
+ } | {
3061
+ type: "extend";
3062
+ data: {
3063
+ id: string;
3064
+ premium: bigint;
3065
+ protocolFee: bigint;
3066
+ currentTick: number;
3067
+ addedDuration: bigint;
3068
+ timestamp: Date;
3069
+ blockNumber: bigint;
3070
+ transactionHash: string;
3071
+ };
3072
+ })[]>;
3073
+ data: ({
3074
+ type: "mint";
3075
+ data: {
3076
+ id: string;
3077
+ optionType: 0 | 1;
3078
+ strikeTick: number;
3079
+ currentTick: number;
3080
+ expiresAt: Date;
3081
+ premium: bigint;
3082
+ protocolFee: bigint;
3083
+ liquidities: bigint[];
3084
+ timestamp: Date;
3085
+ blockNumber: bigint;
3086
+ transactionHash: string;
3087
+ };
3088
+ } | {
3089
+ type: "exercise";
3090
+ data: {
3091
+ id: string;
3092
+ liquidities: bigint[];
3093
+ currentTick: number;
3094
+ payout: bigint;
3095
+ timestamp: Date;
3096
+ blockNumber: bigint;
3097
+ transactionHash: string;
3098
+ };
3099
+ } | {
3100
+ type: "extend";
3101
+ data: {
3102
+ id: string;
3103
+ premium: bigint;
3104
+ protocolFee: bigint;
3105
+ currentTick: number;
3106
+ addedDuration: bigint;
3107
+ timestamp: Date;
3108
+ blockNumber: bigint;
3109
+ transactionHash: string;
3110
+ };
3111
+ })[];
3112
+ } | {
3113
+ error: Error;
3114
+ isError: true;
3115
+ isPending: false;
3116
+ isLoading: false;
3117
+ isLoadingError: true;
3118
+ isRefetchError: false;
3119
+ isSuccess: false;
3120
+ isPlaceholderData: false;
3121
+ status: "error";
3122
+ dataUpdatedAt: number;
3123
+ errorUpdatedAt: number;
3124
+ failureCount: number;
3125
+ failureReason: Error | null;
3126
+ errorUpdateCount: number;
3127
+ isFetched: boolean;
3128
+ isFetchedAfterMount: boolean;
3129
+ isFetching: boolean;
3130
+ isInitialLoading: boolean;
3131
+ isPaused: boolean;
3132
+ isRefetching: boolean;
3133
+ isStale: boolean;
3134
+ isEnabled: boolean;
3135
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
3136
+ type: "mint";
3137
+ data: {
3138
+ id: string;
3139
+ optionType: 0 | 1;
3140
+ strikeTick: number;
3141
+ currentTick: number;
3142
+ expiresAt: Date;
3143
+ premium: bigint;
3144
+ protocolFee: bigint;
3145
+ liquidities: bigint[];
3146
+ timestamp: Date;
3147
+ blockNumber: bigint;
3148
+ transactionHash: string;
3149
+ };
3150
+ } | {
3151
+ type: "exercise";
3152
+ data: {
3153
+ id: string;
3154
+ liquidities: bigint[];
3155
+ currentTick: number;
3156
+ payout: bigint;
3157
+ timestamp: Date;
3158
+ blockNumber: bigint;
3159
+ transactionHash: string;
3160
+ };
3161
+ } | {
3162
+ type: "extend";
3163
+ data: {
3164
+ id: string;
3165
+ premium: bigint;
3166
+ protocolFee: bigint;
3167
+ currentTick: number;
3168
+ addedDuration: bigint;
3169
+ timestamp: Date;
3170
+ blockNumber: bigint;
3171
+ transactionHash: string;
3172
+ };
3173
+ })[], Error>>;
3174
+ fetchStatus: _tanstack_query_core0.FetchStatus;
3175
+ promise: Promise<({
3176
+ type: "mint";
3177
+ data: {
3178
+ id: string;
3179
+ optionType: 0 | 1;
3180
+ strikeTick: number;
3181
+ currentTick: number;
3182
+ expiresAt: Date;
3183
+ premium: bigint;
3184
+ protocolFee: bigint;
3185
+ liquidities: bigint[];
3186
+ timestamp: Date;
3187
+ blockNumber: bigint;
3188
+ transactionHash: string;
3189
+ };
3190
+ } | {
3191
+ type: "exercise";
3192
+ data: {
3193
+ id: string;
3194
+ liquidities: bigint[];
3195
+ currentTick: number;
3196
+ payout: bigint;
3197
+ timestamp: Date;
3198
+ blockNumber: bigint;
3199
+ transactionHash: string;
3200
+ };
3201
+ } | {
3202
+ type: "extend";
3203
+ data: {
3204
+ id: string;
3205
+ premium: bigint;
3206
+ protocolFee: bigint;
3207
+ currentTick: number;
3208
+ addedDuration: bigint;
3209
+ timestamp: Date;
3210
+ blockNumber: bigint;
3211
+ transactionHash: string;
3212
+ };
3213
+ })[]>;
3214
+ data: ({
3215
+ type: "mint";
3216
+ data: {
3217
+ id: string;
3218
+ optionType: 0 | 1;
3219
+ strikeTick: number;
3220
+ currentTick: number;
3221
+ expiresAt: Date;
3222
+ premium: bigint;
3223
+ protocolFee: bigint;
3224
+ liquidities: bigint[];
3225
+ timestamp: Date;
3226
+ blockNumber: bigint;
3227
+ transactionHash: string;
3228
+ };
3229
+ } | {
3230
+ type: "exercise";
3231
+ data: {
3232
+ id: string;
3233
+ liquidities: bigint[];
3234
+ currentTick: number;
3235
+ payout: bigint;
3236
+ timestamp: Date;
3237
+ blockNumber: bigint;
3238
+ transactionHash: string;
3239
+ };
3240
+ } | {
3241
+ type: "extend";
3242
+ data: {
3243
+ id: string;
3244
+ premium: bigint;
3245
+ protocolFee: bigint;
3246
+ currentTick: number;
3247
+ addedDuration: bigint;
3248
+ timestamp: Date;
3249
+ blockNumber: bigint;
3250
+ transactionHash: string;
3251
+ };
3252
+ })[];
3253
+ } | {
3254
+ error: null;
3255
+ isError: false;
3256
+ isPending: true;
3257
+ isLoading: true;
3258
+ isLoadingError: false;
3259
+ isRefetchError: false;
3260
+ isSuccess: false;
3261
+ isPlaceholderData: false;
3262
+ status: "pending";
3263
+ dataUpdatedAt: number;
3264
+ errorUpdatedAt: number;
3265
+ failureCount: number;
3266
+ failureReason: Error | null;
3267
+ errorUpdateCount: number;
3268
+ isFetched: boolean;
3269
+ isFetchedAfterMount: boolean;
3270
+ isFetching: boolean;
3271
+ isInitialLoading: boolean;
3272
+ isPaused: boolean;
3273
+ isRefetching: boolean;
3274
+ isStale: boolean;
3275
+ isEnabled: boolean;
3276
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
3277
+ type: "mint";
3278
+ data: {
3279
+ id: string;
3280
+ optionType: 0 | 1;
3281
+ strikeTick: number;
3282
+ currentTick: number;
3283
+ expiresAt: Date;
3284
+ premium: bigint;
3285
+ protocolFee: bigint;
3286
+ liquidities: bigint[];
3287
+ timestamp: Date;
3288
+ blockNumber: bigint;
3289
+ transactionHash: string;
3290
+ };
3291
+ } | {
3292
+ type: "exercise";
3293
+ data: {
3294
+ id: string;
3295
+ liquidities: bigint[];
3296
+ currentTick: number;
3297
+ payout: bigint;
3298
+ timestamp: Date;
3299
+ blockNumber: bigint;
3300
+ transactionHash: string;
3301
+ };
3302
+ } | {
3303
+ type: "extend";
3304
+ data: {
3305
+ id: string;
3306
+ premium: bigint;
3307
+ protocolFee: bigint;
3308
+ currentTick: number;
3309
+ addedDuration: bigint;
3310
+ timestamp: Date;
3311
+ blockNumber: bigint;
3312
+ transactionHash: string;
3313
+ };
3314
+ })[], Error>>;
3315
+ fetchStatus: _tanstack_query_core0.FetchStatus;
3316
+ promise: Promise<({
3317
+ type: "mint";
3318
+ data: {
3319
+ id: string;
3320
+ optionType: 0 | 1;
3321
+ strikeTick: number;
3322
+ currentTick: number;
3323
+ expiresAt: Date;
3324
+ premium: bigint;
3325
+ protocolFee: bigint;
3326
+ liquidities: bigint[];
3327
+ timestamp: Date;
3328
+ blockNumber: bigint;
3329
+ transactionHash: string;
3330
+ };
3331
+ } | {
3332
+ type: "exercise";
3333
+ data: {
3334
+ id: string;
3335
+ liquidities: bigint[];
3336
+ currentTick: number;
3337
+ payout: bigint;
3338
+ timestamp: Date;
3339
+ blockNumber: bigint;
3340
+ transactionHash: string;
3341
+ };
3342
+ } | {
3343
+ type: "extend";
3344
+ data: {
3345
+ id: string;
3346
+ premium: bigint;
3347
+ protocolFee: bigint;
3348
+ currentTick: number;
3349
+ addedDuration: bigint;
3350
+ timestamp: Date;
3351
+ blockNumber: bigint;
3352
+ transactionHash: string;
3353
+ };
3354
+ })[]>;
3355
+ data: ({
3356
+ type: "mint";
3357
+ data: {
3358
+ id: string;
3359
+ optionType: 0 | 1;
3360
+ strikeTick: number;
3361
+ currentTick: number;
3362
+ expiresAt: Date;
3363
+ premium: bigint;
3364
+ protocolFee: bigint;
3365
+ liquidities: bigint[];
3366
+ timestamp: Date;
3367
+ blockNumber: bigint;
3368
+ transactionHash: string;
3369
+ };
3370
+ } | {
3371
+ type: "exercise";
3372
+ data: {
3373
+ id: string;
3374
+ liquidities: bigint[];
3375
+ currentTick: number;
3376
+ payout: bigint;
3377
+ timestamp: Date;
3378
+ blockNumber: bigint;
3379
+ transactionHash: string;
3380
+ };
3381
+ } | {
3382
+ type: "extend";
3383
+ data: {
3384
+ id: string;
3385
+ premium: bigint;
3386
+ protocolFee: bigint;
3387
+ currentTick: number;
3388
+ addedDuration: bigint;
3389
+ timestamp: Date;
3390
+ blockNumber: bigint;
3391
+ transactionHash: string;
3392
+ };
3393
+ })[];
3394
+ } | {
3395
+ error: null;
3396
+ isError: false;
3397
+ isPending: true;
3398
+ isLoadingError: false;
3399
+ isRefetchError: false;
3400
+ isSuccess: false;
3401
+ isPlaceholderData: false;
3402
+ status: "pending";
3403
+ dataUpdatedAt: number;
3404
+ errorUpdatedAt: number;
3405
+ failureCount: number;
3406
+ failureReason: Error | null;
3407
+ errorUpdateCount: number;
3408
+ isFetched: boolean;
3409
+ isFetchedAfterMount: boolean;
3410
+ isFetching: boolean;
3411
+ isLoading: boolean;
3412
+ isInitialLoading: boolean;
3413
+ isPaused: boolean;
3414
+ isRefetching: boolean;
3415
+ isStale: boolean;
3416
+ isEnabled: boolean;
3417
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
3418
+ type: "mint";
3419
+ data: {
3420
+ id: string;
3421
+ optionType: 0 | 1;
3422
+ strikeTick: number;
3423
+ currentTick: number;
3424
+ expiresAt: Date;
3425
+ premium: bigint;
3426
+ protocolFee: bigint;
3427
+ liquidities: bigint[];
3428
+ timestamp: Date;
3429
+ blockNumber: bigint;
3430
+ transactionHash: string;
3431
+ };
3432
+ } | {
3433
+ type: "exercise";
3434
+ data: {
3435
+ id: string;
3436
+ liquidities: bigint[];
3437
+ currentTick: number;
3438
+ payout: bigint;
3439
+ timestamp: Date;
3440
+ blockNumber: bigint;
3441
+ transactionHash: string;
3442
+ };
3443
+ } | {
3444
+ type: "extend";
3445
+ data: {
3446
+ id: string;
3447
+ premium: bigint;
3448
+ protocolFee: bigint;
3449
+ currentTick: number;
3450
+ addedDuration: bigint;
3451
+ timestamp: Date;
3452
+ blockNumber: bigint;
3453
+ transactionHash: string;
3454
+ };
3455
+ })[], Error>>;
3456
+ fetchStatus: _tanstack_query_core0.FetchStatus;
3457
+ promise: Promise<({
3458
+ type: "mint";
3459
+ data: {
3460
+ id: string;
3461
+ optionType: 0 | 1;
3462
+ strikeTick: number;
3463
+ currentTick: number;
3464
+ expiresAt: Date;
3465
+ premium: bigint;
3466
+ protocolFee: bigint;
3467
+ liquidities: bigint[];
3468
+ timestamp: Date;
3469
+ blockNumber: bigint;
3470
+ transactionHash: string;
3471
+ };
3472
+ } | {
3473
+ type: "exercise";
3474
+ data: {
3475
+ id: string;
3476
+ liquidities: bigint[];
3477
+ currentTick: number;
3478
+ payout: bigint;
3479
+ timestamp: Date;
3480
+ blockNumber: bigint;
3481
+ transactionHash: string;
3482
+ };
3483
+ } | {
3484
+ type: "extend";
3485
+ data: {
3486
+ id: string;
3487
+ premium: bigint;
3488
+ protocolFee: bigint;
3489
+ currentTick: number;
3490
+ addedDuration: bigint;
3491
+ timestamp: Date;
3492
+ blockNumber: bigint;
3493
+ transactionHash: string;
3494
+ };
3495
+ })[]>;
3496
+ data: ({
3497
+ type: "mint";
3498
+ data: {
3499
+ id: string;
3500
+ optionType: 0 | 1;
3501
+ strikeTick: number;
3502
+ currentTick: number;
3503
+ expiresAt: Date;
3504
+ premium: bigint;
3505
+ protocolFee: bigint;
3506
+ liquidities: bigint[];
3507
+ timestamp: Date;
3508
+ blockNumber: bigint;
3509
+ transactionHash: string;
3510
+ };
3511
+ } | {
3512
+ type: "exercise";
3513
+ data: {
3514
+ id: string;
3515
+ liquidities: bigint[];
3516
+ currentTick: number;
3517
+ payout: bigint;
3518
+ timestamp: Date;
3519
+ blockNumber: bigint;
3520
+ transactionHash: string;
3521
+ };
3522
+ } | {
3523
+ type: "extend";
3524
+ data: {
3525
+ id: string;
3526
+ premium: bigint;
3527
+ protocolFee: bigint;
3528
+ currentTick: number;
3529
+ addedDuration: bigint;
3530
+ timestamp: Date;
3531
+ blockNumber: bigint;
3532
+ transactionHash: string;
3533
+ };
3534
+ })[];
3535
+ } | {
3536
+ isError: false;
3537
+ error: null;
3538
+ isPending: false;
3539
+ isLoading: false;
3540
+ isLoadingError: false;
3541
+ isRefetchError: false;
3542
+ isSuccess: true;
3543
+ isPlaceholderData: true;
3544
+ status: "success";
3545
+ dataUpdatedAt: number;
3546
+ errorUpdatedAt: number;
3547
+ failureCount: number;
3548
+ failureReason: Error | null;
3549
+ errorUpdateCount: number;
3550
+ isFetched: boolean;
3551
+ isFetchedAfterMount: boolean;
3552
+ isFetching: boolean;
3553
+ isInitialLoading: boolean;
3554
+ isPaused: boolean;
3555
+ isRefetching: boolean;
3556
+ isStale: boolean;
3557
+ isEnabled: boolean;
3558
+ refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<({
3559
+ type: "mint";
3560
+ data: {
3561
+ id: string;
3562
+ optionType: 0 | 1;
3563
+ strikeTick: number;
3564
+ currentTick: number;
3565
+ expiresAt: Date;
3566
+ premium: bigint;
3567
+ protocolFee: bigint;
3568
+ liquidities: bigint[];
3569
+ timestamp: Date;
3570
+ blockNumber: bigint;
3571
+ transactionHash: string;
3572
+ };
3573
+ } | {
3574
+ type: "exercise";
3575
+ data: {
3576
+ id: string;
3577
+ liquidities: bigint[];
3578
+ currentTick: number;
3579
+ payout: bigint;
3580
+ timestamp: Date;
3581
+ blockNumber: bigint;
3582
+ transactionHash: string;
3583
+ };
3584
+ } | {
3585
+ type: "extend";
3586
+ data: {
3587
+ id: string;
3588
+ premium: bigint;
3589
+ protocolFee: bigint;
3590
+ currentTick: number;
3591
+ addedDuration: bigint;
3592
+ timestamp: Date;
3593
+ blockNumber: bigint;
3594
+ transactionHash: string;
3595
+ };
3596
+ })[], Error>>;
3597
+ fetchStatus: _tanstack_query_core0.FetchStatus;
3598
+ promise: Promise<({
3599
+ type: "mint";
3600
+ data: {
3601
+ id: string;
3602
+ optionType: 0 | 1;
3603
+ strikeTick: number;
3604
+ currentTick: number;
3605
+ expiresAt: Date;
3606
+ premium: bigint;
3607
+ protocolFee: bigint;
3608
+ liquidities: bigint[];
3609
+ timestamp: Date;
3610
+ blockNumber: bigint;
3611
+ transactionHash: string;
3612
+ };
3613
+ } | {
3614
+ type: "exercise";
3615
+ data: {
3616
+ id: string;
3617
+ liquidities: bigint[];
3618
+ currentTick: number;
3619
+ payout: bigint;
3620
+ timestamp: Date;
3621
+ blockNumber: bigint;
3622
+ transactionHash: string;
3623
+ };
3624
+ } | {
3625
+ type: "extend";
3626
+ data: {
3627
+ id: string;
3628
+ premium: bigint;
3629
+ protocolFee: bigint;
3630
+ currentTick: number;
3631
+ addedDuration: bigint;
3632
+ timestamp: Date;
3633
+ blockNumber: bigint;
3634
+ transactionHash: string;
3635
+ };
3636
+ })[]>;
3637
+ data: ({
3638
+ type: "mint";
3639
+ data: {
3640
+ id: string;
3641
+ optionType: 0 | 1;
3642
+ strikeTick: number;
3643
+ currentTick: number;
3644
+ expiresAt: Date;
3645
+ premium: bigint;
3646
+ protocolFee: bigint;
3647
+ liquidities: bigint[];
3648
+ timestamp: Date;
3649
+ blockNumber: bigint;
3650
+ transactionHash: string;
3651
+ };
3652
+ } | {
3653
+ type: "exercise";
3654
+ data: {
3655
+ id: string;
3656
+ liquidities: bigint[];
3657
+ currentTick: number;
3658
+ payout: bigint;
3659
+ timestamp: Date;
3660
+ blockNumber: bigint;
3661
+ transactionHash: string;
3662
+ };
3663
+ } | {
3664
+ type: "extend";
3665
+ data: {
3666
+ id: string;
3667
+ premium: bigint;
3668
+ protocolFee: bigint;
3669
+ currentTick: number;
3670
+ addedDuration: bigint;
3671
+ timestamp: Date;
3672
+ blockNumber: bigint;
3673
+ transactionHash: string;
3674
+ };
3675
+ })[];
3676
+ };
3677
+ //#endregion
2828
3678
  //#region src/hooks/pool/useCurrentPrice.d.ts
2829
3679
  declare const useCurrentPrice: (poolAddr?: Address) => {
2830
3680
  currentPrice: Amount | undefined;
@@ -29615,5 +30465,5 @@ declare const useApproval: () => {
29615
30465
  reset: () => void;
29616
30466
  };
29617
30467
  //#endregion
29618
- export { LiquidityBlockData, OptionData, TimelockMarketProvider, UniswapPoolData, batchGetAmountsFromLiquidity, useActiveUserOptions, useApproval, useBurnLiquidity, useClosedUserOptions, useCurrentMarket, useCurrentPrice, useCurrentTick, useExerciseOption, useExtendOption, useLens, useLiquidityBlocks, useMarketData, useMaxPositionSize, useMintLiquidity, useMintOption, useOptionPnl, useOptionPremium, usePoolData, usePriceAtTick, usePriceHistory, useSetOperatorPerms, useTimelockConfig, useUserOperators, useVaultData, useVaultTVL };
30468
+ export { LiquidityBlockData, OptionData, OptionTimelineData, TimelockMarketProvider, UniswapPoolData, batchGetAmountsFromLiquidity, useActiveUserOptions, useApproval, useBurnLiquidity, useClosedUserOptions, useCurrentMarket, useCurrentPrice, useCurrentTick, useExerciseOption, useExtendOption, useLens, useLiquidityBlocks, useMarketData, useMaxPositionSize, useMintLiquidity, useMintOption, useOptionPnl, useOptionPremium, useOptionTimeline, usePoolData, usePriceAtTick, usePriceHistory, useSetOperatorPerms, useTimelockConfig, useUserOperators, useVaultData, useVaultTVL };
29619
30469
  //# sourceMappingURL=client.d.cts.map