@typemove/sui 1.8.3 → 1.9.0

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.
Files changed (52) hide show
  1. package/dist/cjs/builtin/0x1.d.ts +12 -12
  2. package/dist/cjs/builtin/0x1.d.ts.map +1 -1
  3. package/dist/cjs/builtin/0x1.js +2 -2
  4. package/dist/cjs/builtin/0x1.js.map +1 -1
  5. package/dist/cjs/builtin/0x2.d.ts +66 -66
  6. package/dist/cjs/builtin/0x2.d.ts.map +1 -1
  7. package/dist/cjs/builtin/0x2.js +2 -2
  8. package/dist/cjs/builtin/0x2.js.map +1 -1
  9. package/dist/cjs/builtin/0x3.d.ts +26 -26
  10. package/dist/cjs/builtin/0x3.d.ts.map +1 -1
  11. package/dist/cjs/builtin/0x3.js +2 -2
  12. package/dist/cjs/builtin/0x3.js.map +1 -1
  13. package/dist/cjs/codegen/codegen.js +2 -2
  14. package/dist/cjs/codegen/codegen.js.map +1 -1
  15. package/dist/cjs/move-coder.d.ts.map +1 -1
  16. package/dist/cjs/move-coder.js +4 -3
  17. package/dist/cjs/move-coder.js.map +1 -1
  18. package/dist/cjs/move-coder.test.js.map +1 -1
  19. package/dist/cjs/to-internal.d.ts.map +1 -1
  20. package/dist/cjs/to-internal.js +16 -3
  21. package/dist/cjs/to-internal.js.map +1 -1
  22. package/dist/cjs/transaction.js +13 -14
  23. package/dist/cjs/transaction.js.map +1 -1
  24. package/dist/esm/builtin/0x1.d.ts +12 -12
  25. package/dist/esm/builtin/0x1.d.ts.map +1 -1
  26. package/dist/esm/builtin/0x1.js.map +1 -1
  27. package/dist/esm/builtin/0x2.d.ts +66 -66
  28. package/dist/esm/builtin/0x2.d.ts.map +1 -1
  29. package/dist/esm/builtin/0x2.js.map +1 -1
  30. package/dist/esm/builtin/0x3.d.ts +26 -26
  31. package/dist/esm/builtin/0x3.d.ts.map +1 -1
  32. package/dist/esm/move-coder.d.ts.map +1 -1
  33. package/dist/esm/move-coder.js +1 -0
  34. package/dist/esm/move-coder.js.map +1 -1
  35. package/dist/esm/move-coder.test.js.map +1 -1
  36. package/dist/esm/to-internal.d.ts.map +1 -1
  37. package/dist/esm/to-internal.js +15 -1
  38. package/dist/esm/to-internal.js.map +1 -1
  39. package/package.json +3 -3
  40. package/src/builtin/0x1.ts +12 -13
  41. package/src/builtin/0x2.ts +87 -86
  42. package/src/builtin/0x3.ts +65 -65
  43. package/src/move-coder.ts +1 -0
  44. package/src/tests/abis/testnet/enum.json +5941 -0
  45. package/src/tests/types/testnet/0x1e2b124f746a339b3cf99b9f969393a96594519aafb1d06517aacfeeae20e7a5.ts +2 -2
  46. package/src/tests/types/testnet/0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a.ts +20 -16
  47. package/src/tests/types/testnet/0x7f7a37c826c88bcfe9aecc042453395ddfa9df6f29cb7c97590bf86cf2b0a75e.ts +6 -8
  48. package/src/tests/types/testnet/0xdee9.ts +40 -34
  49. package/src/tests/types/testnet/0xebaa2ad3eacc230f309cd933958cc52684df0a41ae7ac214d186b80f830867d2.ts +166 -165
  50. package/src/tests/types/testnet/enum.ts +5419 -0
  51. package/src/tests/types/testnet/index.ts +1 -0
  52. package/src/to-internal.ts +18 -1
@@ -393,11 +393,10 @@ export namespace dutch {
393
393
  }
394
394
  }
395
395
 
396
- export interface CloseAuctionInstance
397
- extends TypedEventInstance<CloseAuction<any>> {
396
+ export type CloseAuctionInstance = TypedEventInstance<CloseAuction<any>> & {
398
397
  data_decoded: CloseAuction<any>;
399
398
  type_arguments: [string];
400
- }
399
+ };
401
400
 
402
401
  export interface Delivery<T0> {
403
402
  signer: string;
@@ -419,10 +418,10 @@ export namespace dutch {
419
418
  }
420
419
  }
421
420
 
422
- export interface DeliveryInstance extends TypedEventInstance<Delivery<any>> {
421
+ export type DeliveryInstance = TypedEventInstance<Delivery<any>> & {
423
422
  data_decoded: Delivery<any>;
424
423
  type_arguments: [string];
425
- }
424
+ };
426
425
 
427
426
  export interface NewBid<T0> {
428
427
  signer: string;
@@ -446,10 +445,10 @@ export namespace dutch {
446
445
  }
447
446
  }
448
447
 
449
- export interface NewBidInstance extends TypedEventInstance<NewBid<any>> {
448
+ export type NewBidInstance = TypedEventInstance<NewBid<any>> & {
450
449
  data_decoded: NewBid<any>;
451
450
  type_arguments: [string];
452
- }
451
+ };
453
452
 
454
453
  export interface PriceConfig {
455
454
  decay_speed: bigint;
@@ -488,11 +487,10 @@ export namespace dutch {
488
487
  }
489
488
  }
490
489
 
491
- export interface RemoveBidInstance
492
- extends TypedEventInstance<RemoveBid<any>> {
490
+ export type RemoveBidInstance = TypedEventInstance<RemoveBid<any>> & {
493
491
  data_decoded: RemoveBid<any>;
494
492
  type_arguments: [string];
495
- }
493
+ };
496
494
 
497
495
  export interface UpdateRemoveBidAbility<T0> {
498
496
  signer: string;
@@ -515,11 +513,12 @@ export namespace dutch {
515
513
  }
516
514
  }
517
515
 
518
- export interface UpdateRemoveBidAbilityInstance
519
- extends TypedEventInstance<UpdateRemoveBidAbility<any>> {
516
+ export type UpdateRemoveBidAbilityInstance = TypedEventInstance<
517
+ UpdateRemoveBidAbility<any>
518
+ > & {
520
519
  data_decoded: UpdateRemoveBidAbility<any>;
521
520
  type_arguments: [string];
522
- }
521
+ };
523
522
 
524
523
  export namespace builder {
525
524
  export function close<T0 = any, T1 = any>(
@@ -1191,10 +1190,10 @@ export namespace i64 {
1191
1190
  }
1192
1191
  }
1193
1192
 
1194
- export interface I64Instance extends TypedEventInstance<I64> {
1193
+ export type I64Instance = TypedEventInstance<I64> & {
1195
1194
  data_decoded: I64;
1196
1195
  type_arguments: [];
1197
- }
1196
+ };
1198
1197
 
1199
1198
  export namespace builder {
1200
1199
  export function abs(
@@ -1640,10 +1639,10 @@ export namespace linked_list {
1640
1639
  }
1641
1640
  }
1642
1641
 
1643
- export interface NodeInstance extends TypedEventInstance<Node<any, any>> {
1642
+ export type NodeInstance = TypedEventInstance<Node<any, any>> & {
1644
1643
  data_decoded: Node<any, any>;
1645
1644
  type_arguments: [string, string];
1646
- }
1645
+ };
1647
1646
 
1648
1647
  export namespace builder {
1649
1648
  export function borrow<T0 = any, T1 = any>(
@@ -2889,11 +2888,11 @@ export namespace single_collateral {
2889
2888
  }
2890
2889
  }
2891
2890
 
2892
- export interface AddAuthorizedUserInstance
2893
- extends TypedEventInstance<AddAuthorizedUser> {
2894
- data_decoded: AddAuthorizedUser;
2895
- type_arguments: [];
2896
- }
2891
+ export type AddAuthorizedUserInstance =
2892
+ TypedEventInstance<AddAuthorizedUser> & {
2893
+ data_decoded: AddAuthorizedUser;
2894
+ type_arguments: [];
2895
+ };
2897
2896
 
2898
2897
  export interface AddPortfolioVaultAuthorizedUser<T0, T1, T2> {
2899
2898
  signer: string;
@@ -2919,11 +2918,12 @@ export namespace single_collateral {
2919
2918
  }
2920
2919
  }
2921
2920
 
2922
- export interface AddPortfolioVaultAuthorizedUserInstance
2923
- extends TypedEventInstance<AddPortfolioVaultAuthorizedUser<any, any, any>> {
2921
+ export type AddPortfolioVaultAuthorizedUserInstance = TypedEventInstance<
2922
+ AddPortfolioVaultAuthorizedUser<any, any, any>
2923
+ > & {
2924
2924
  data_decoded: AddPortfolioVaultAuthorizedUser<any, any, any>;
2925
2925
  type_arguments: [string, string, string];
2926
- }
2926
+ };
2927
2927
 
2928
2928
  export interface Claim<T0> {
2929
2929
  signer: string;
@@ -2945,10 +2945,10 @@ export namespace single_collateral {
2945
2945
  }
2946
2946
  }
2947
2947
 
2948
- export interface ClaimInstance extends TypedEventInstance<Claim<any>> {
2948
+ export type ClaimInstance = TypedEventInstance<Claim<any>> & {
2949
2949
  data_decoded: Claim<any>;
2950
2950
  type_arguments: [string];
2951
- }
2951
+ };
2952
2952
 
2953
2953
  export interface ClaimAndHarvest<T0, T1> {
2954
2954
  signer: string;
@@ -2971,11 +2971,12 @@ export namespace single_collateral {
2971
2971
  }
2972
2972
  }
2973
2973
 
2974
- export interface ClaimAndHarvestInstance
2975
- extends TypedEventInstance<ClaimAndHarvest<any, any>> {
2974
+ export type ClaimAndHarvestInstance = TypedEventInstance<
2975
+ ClaimAndHarvest<any, any>
2976
+ > & {
2976
2977
  data_decoded: ClaimAndHarvest<any, any>;
2977
2978
  type_arguments: [string, string];
2978
- }
2979
+ };
2979
2980
 
2980
2981
  export interface Close<T0, T1, T2> {
2981
2982
  signer: string;
@@ -2997,11 +2998,10 @@ export namespace single_collateral {
2997
2998
  }
2998
2999
  }
2999
3000
 
3000
- export interface CloseInstance
3001
- extends TypedEventInstance<Close<any, any, any>> {
3001
+ export type CloseInstance = TypedEventInstance<Close<any, any, any>> & {
3002
3002
  data_decoded: Close<any, any, any>;
3003
3003
  type_arguments: [string, string, string];
3004
- }
3004
+ };
3005
3005
 
3006
3006
  export interface Compound<T0> {
3007
3007
  signer: string;
@@ -3022,10 +3022,10 @@ export namespace single_collateral {
3022
3022
  }
3023
3023
  }
3024
3024
 
3025
- export interface CompoundInstance extends TypedEventInstance<Compound<any>> {
3025
+ export type CompoundInstance = TypedEventInstance<Compound<any>> & {
3026
3026
  data_decoded: Compound<any>;
3027
3027
  type_arguments: [string];
3028
- }
3028
+ };
3029
3029
 
3030
3030
  export interface Config {
3031
3031
  option_type: bigint;
@@ -3055,10 +3055,10 @@ export namespace single_collateral {
3055
3055
  }
3056
3056
  }
3057
3057
 
3058
- export interface ConfigInstance extends TypedEventInstance<Config> {
3058
+ export type ConfigInstance = TypedEventInstance<Config> & {
3059
3059
  data_decoded: Config;
3060
3060
  type_arguments: [];
3061
- }
3061
+ };
3062
3062
 
3063
3063
  export interface Delivery<T0, T1, T2> {
3064
3064
  signer: string;
@@ -3091,11 +3091,10 @@ export namespace single_collateral {
3091
3091
  }
3092
3092
  }
3093
3093
 
3094
- export interface DeliveryInstance
3095
- extends TypedEventInstance<Delivery<any, any, any>> {
3094
+ export type DeliveryInstance = TypedEventInstance<Delivery<any, any, any>> & {
3096
3095
  data_decoded: Delivery<any, any, any>;
3097
3096
  type_arguments: [string, string, string];
3098
- }
3097
+ };
3099
3098
 
3100
3099
  export interface DeliveryInfo {
3101
3100
  round: bigint;
@@ -3116,11 +3115,10 @@ export namespace single_collateral {
3116
3115
  }
3117
3116
  }
3118
3117
 
3119
- export interface DeliveryInfoInstance
3120
- extends TypedEventInstance<DeliveryInfo> {
3118
+ export type DeliveryInfoInstance = TypedEventInstance<DeliveryInfo> & {
3121
3119
  data_decoded: DeliveryInfo;
3122
3120
  type_arguments: [];
3123
- }
3121
+ };
3124
3122
 
3125
3123
  export interface Deposit<T0> {
3126
3124
  signer: string;
@@ -3141,10 +3139,10 @@ export namespace single_collateral {
3141
3139
  }
3142
3140
  }
3143
3141
 
3144
- export interface DepositInstance extends TypedEventInstance<Deposit<any>> {
3142
+ export type DepositInstance = TypedEventInstance<Deposit<any>> & {
3145
3143
  data_decoded: Deposit<any>;
3146
3144
  type_arguments: [string];
3147
- }
3145
+ };
3148
3146
 
3149
3147
  export interface Evolution<T0, T1, T2> {
3150
3148
  signer: string;
@@ -3168,11 +3166,12 @@ export namespace single_collateral {
3168
3166
  }
3169
3167
  }
3170
3168
 
3171
- export interface EvolutionInstance
3172
- extends TypedEventInstance<Evolution<any, any, any>> {
3169
+ export type EvolutionInstance = TypedEventInstance<
3170
+ Evolution<any, any, any>
3171
+ > & {
3173
3172
  data_decoded: Evolution<any, any, any>;
3174
3173
  type_arguments: [string, string, string];
3175
- }
3174
+ };
3176
3175
 
3177
3176
  export interface GetUserStatusResult {
3178
3177
  active: bigint;
@@ -3197,11 +3196,11 @@ export namespace single_collateral {
3197
3196
  }
3198
3197
  }
3199
3198
 
3200
- export interface GetUserStatusResultInstance
3201
- extends TypedEventInstance<GetUserStatusResult> {
3202
- data_decoded: GetUserStatusResult;
3203
- type_arguments: [];
3204
- }
3199
+ export type GetUserStatusResultInstance =
3200
+ TypedEventInstance<GetUserStatusResult> & {
3201
+ data_decoded: GetUserStatusResult;
3202
+ type_arguments: [];
3203
+ };
3205
3204
 
3206
3205
  export interface Harvest<T0> {
3207
3206
  signer: string;
@@ -3223,10 +3222,10 @@ export namespace single_collateral {
3223
3222
  }
3224
3223
  }
3225
3224
 
3226
- export interface HarvestInstance extends TypedEventInstance<Harvest<any>> {
3225
+ export type HarvestInstance = TypedEventInstance<Harvest<any>> & {
3227
3226
  data_decoded: Harvest<any>;
3228
3227
  type_arguments: [string];
3229
- }
3228
+ };
3230
3229
 
3231
3230
  export interface Info {
3232
3231
  index: bigint;
@@ -3247,10 +3246,10 @@ export namespace single_collateral {
3247
3246
  }
3248
3247
  }
3249
3248
 
3250
- export interface InfoInstance extends TypedEventInstance<Info> {
3249
+ export type InfoInstance = TypedEventInstance<Info> & {
3251
3250
  data_decoded: Info;
3252
3251
  type_arguments: [];
3253
- }
3252
+ };
3254
3253
 
3255
3254
  export interface ManagerCap {
3256
3255
  id: _0x2.object$.UID;
@@ -3289,10 +3288,10 @@ export namespace single_collateral {
3289
3288
  }
3290
3289
  }
3291
3290
 
3292
- export interface NewAuctionInstance extends TypedEventInstance<NewAuction> {
3291
+ export type NewAuctionInstance = TypedEventInstance<NewAuction> & {
3293
3292
  data_decoded: NewAuction;
3294
3293
  type_arguments: [];
3295
- }
3294
+ };
3296
3295
 
3297
3296
  export interface NewBid<T0, T1> {
3298
3297
  signer: string;
@@ -3318,10 +3317,10 @@ export namespace single_collateral {
3318
3317
  }
3319
3318
  }
3320
3319
 
3321
- export interface NewBidInstance extends TypedEventInstance<NewBid<any, any>> {
3320
+ export type NewBidInstance = TypedEventInstance<NewBid<any, any>> & {
3322
3321
  data_decoded: NewBid<any, any>;
3323
3322
  type_arguments: [string, string];
3324
- }
3323
+ };
3325
3324
 
3326
3325
  export interface NewManager {
3327
3326
  signer: string;
@@ -3339,10 +3338,10 @@ export namespace single_collateral {
3339
3338
  }
3340
3339
  }
3341
3340
 
3342
- export interface NewManagerInstance extends TypedEventInstance<NewManager> {
3341
+ export type NewManagerInstance = TypedEventInstance<NewManager> & {
3343
3342
  data_decoded: NewManager;
3344
3343
  type_arguments: [];
3345
- }
3344
+ };
3346
3345
 
3347
3346
  export interface NewPortfolioVault<T0, T1, T2> {
3348
3347
  signer: string;
@@ -3369,11 +3368,12 @@ export namespace single_collateral {
3369
3368
  }
3370
3369
  }
3371
3370
 
3372
- export interface NewPortfolioVaultInstance
3373
- extends TypedEventInstance<NewPortfolioVault<any, any, any>> {
3371
+ export type NewPortfolioVaultInstance = TypedEventInstance<
3372
+ NewPortfolioVault<any, any, any>
3373
+ > & {
3374
3374
  data_decoded: NewPortfolioVault<any, any, any>;
3375
3375
  type_arguments: [string, string, string];
3376
- }
3376
+ };
3377
3377
 
3378
3378
  export interface PayoffConfig {
3379
3379
  strike_pct: bigint;
@@ -3393,11 +3393,10 @@ export namespace single_collateral {
3393
3393
  }
3394
3394
  }
3395
3395
 
3396
- export interface PayoffConfigInstance
3397
- extends TypedEventInstance<PayoffConfig> {
3396
+ export type PayoffConfigInstance = TypedEventInstance<PayoffConfig> & {
3398
3397
  data_decoded: PayoffConfig;
3399
3398
  type_arguments: [];
3400
- }
3399
+ };
3401
3400
 
3402
3401
  export interface PortfolioVault<T0, T1, T2> {
3403
3402
  info: single_collateral.Info;
@@ -3464,11 +3463,11 @@ export namespace single_collateral {
3464
3463
  }
3465
3464
  }
3466
3465
 
3467
- export interface RemoveAuthorizedUserInstance
3468
- extends TypedEventInstance<RemoveAuthorizedUser> {
3469
- data_decoded: RemoveAuthorizedUser;
3470
- type_arguments: [];
3471
- }
3466
+ export type RemoveAuthorizedUserInstance =
3467
+ TypedEventInstance<RemoveAuthorizedUser> & {
3468
+ data_decoded: RemoveAuthorizedUser;
3469
+ type_arguments: [];
3470
+ };
3472
3471
 
3473
3472
  export interface RemoveManager {
3474
3473
  signer: string;
@@ -3485,11 +3484,10 @@ export namespace single_collateral {
3485
3484
  }
3486
3485
  }
3487
3486
 
3488
- export interface RemoveManagerInstance
3489
- extends TypedEventInstance<RemoveManager> {
3487
+ export type RemoveManagerInstance = TypedEventInstance<RemoveManager> & {
3490
3488
  data_decoded: RemoveManager;
3491
3489
  type_arguments: [];
3492
- }
3490
+ };
3493
3491
 
3494
3492
  export interface RemovePortfolioVaultAuthorizedUser<T0, T1, T2> {
3495
3493
  signer: string;
@@ -3515,13 +3513,12 @@ export namespace single_collateral {
3515
3513
  }
3516
3514
  }
3517
3515
 
3518
- export interface RemovePortfolioVaultAuthorizedUserInstance
3519
- extends TypedEventInstance<
3520
- RemovePortfolioVaultAuthorizedUser<any, any, any>
3521
- > {
3516
+ export type RemovePortfolioVaultAuthorizedUserInstance = TypedEventInstance<
3517
+ RemovePortfolioVaultAuthorizedUser<any, any, any>
3518
+ > & {
3522
3519
  data_decoded: RemovePortfolioVaultAuthorizedUser<any, any, any>;
3523
3520
  type_arguments: [string, string, string];
3524
- }
3521
+ };
3525
3522
 
3526
3523
  export interface RestrictActivationTimePeriod {
3527
3524
  from_ts_ms: bigint;
@@ -3573,11 +3570,10 @@ export namespace single_collateral {
3573
3570
  }
3574
3571
  }
3575
3572
 
3576
- export interface SettleInstance
3577
- extends TypedEventInstance<Settle<any, any, any>> {
3573
+ export type SettleInstance = TypedEventInstance<Settle<any, any, any>> & {
3578
3574
  data_decoded: Settle<any, any, any>;
3579
3575
  type_arguments: [string, string, string];
3580
- }
3576
+ };
3581
3577
 
3582
3578
  export interface TerminateAuction<T0, T1, T2> {
3583
3579
  signer: string;
@@ -3601,11 +3597,12 @@ export namespace single_collateral {
3601
3597
  }
3602
3598
  }
3603
3599
 
3604
- export interface TerminateAuctionInstance
3605
- extends TypedEventInstance<TerminateAuction<any, any, any>> {
3600
+ export type TerminateAuctionInstance = TypedEventInstance<
3601
+ TerminateAuction<any, any, any>
3602
+ > & {
3606
3603
  data_decoded: TerminateAuction<any, any, any>;
3607
3604
  type_arguments: [string, string, string];
3608
- }
3605
+ };
3609
3606
 
3610
3607
  export interface TerminateVault<T0, T1, T2> {
3611
3608
  signer: string;
@@ -3629,11 +3626,12 @@ export namespace single_collateral {
3629
3626
  }
3630
3627
  }
3631
3628
 
3632
- export interface TerminateVaultInstance
3633
- extends TypedEventInstance<TerminateVault<any, any, any>> {
3629
+ export type TerminateVaultInstance = TypedEventInstance<
3630
+ TerminateVault<any, any, any>
3631
+ > & {
3634
3632
  data_decoded: TerminateVault<any, any, any>;
3635
3633
  type_arguments: [string, string, string];
3636
- }
3634
+ };
3637
3635
 
3638
3636
  export interface Unsubscribe<T0> {
3639
3637
  signer: string;
@@ -3654,11 +3652,10 @@ export namespace single_collateral {
3654
3652
  }
3655
3653
  }
3656
3654
 
3657
- export interface UnsubscribeInstance
3658
- extends TypedEventInstance<Unsubscribe<any>> {
3655
+ export type UnsubscribeInstance = TypedEventInstance<Unsubscribe<any>> & {
3659
3656
  data_decoded: Unsubscribe<any>;
3660
3657
  type_arguments: [string];
3661
- }
3658
+ };
3662
3659
 
3663
3660
  export interface UpdateActiveVaultConfig<T0, T1, T2> {
3664
3661
  signer: string;
@@ -3684,11 +3681,12 @@ export namespace single_collateral {
3684
3681
  }
3685
3682
  }
3686
3683
 
3687
- export interface UpdateActiveVaultConfigInstance
3688
- extends TypedEventInstance<UpdateActiveVaultConfig<any, any, any>> {
3684
+ export type UpdateActiveVaultConfigInstance = TypedEventInstance<
3685
+ UpdateActiveVaultConfig<any, any, any>
3686
+ > & {
3689
3687
  data_decoded: UpdateActiveVaultConfig<any, any, any>;
3690
3688
  type_arguments: [string, string, string];
3691
- }
3689
+ };
3692
3690
 
3693
3691
  export interface UpdateCapacity<T0, T1, T2> {
3694
3692
  signer: string;
@@ -3715,11 +3713,12 @@ export namespace single_collateral {
3715
3713
  }
3716
3714
  }
3717
3715
 
3718
- export interface UpdateCapacityInstance
3719
- extends TypedEventInstance<UpdateCapacity<any, any, any>> {
3716
+ export type UpdateCapacityInstance = TypedEventInstance<
3717
+ UpdateCapacity<any, any, any>
3718
+ > & {
3720
3719
  data_decoded: UpdateCapacity<any, any, any>;
3721
3720
  type_arguments: [string, string, string];
3722
- }
3721
+ };
3723
3722
 
3724
3723
  export interface UpdateRestrictActivationTimePeriod {
3725
3724
  signer: string;
@@ -3742,11 +3741,11 @@ export namespace single_collateral {
3742
3741
  }
3743
3742
  }
3744
3743
 
3745
- export interface UpdateRestrictActivationTimePeriodInstance
3746
- extends TypedEventInstance<UpdateRestrictActivationTimePeriod> {
3747
- data_decoded: UpdateRestrictActivationTimePeriod;
3748
- type_arguments: [];
3749
- }
3744
+ export type UpdateRestrictActivationTimePeriodInstance =
3745
+ TypedEventInstance<UpdateRestrictActivationTimePeriod> & {
3746
+ data_decoded: UpdateRestrictActivationTimePeriod;
3747
+ type_arguments: [];
3748
+ };
3750
3749
 
3751
3750
  export interface UpdateUpcomingVaultConfig<T0, T1, T2> {
3752
3751
  signer: string;
@@ -3773,11 +3772,12 @@ export namespace single_collateral {
3773
3772
  }
3774
3773
  }
3775
3774
 
3776
- export interface UpdateUpcomingVaultConfigInstance
3777
- extends TypedEventInstance<UpdateUpcomingVaultConfig<any, any, any>> {
3775
+ export type UpdateUpcomingVaultConfigInstance = TypedEventInstance<
3776
+ UpdateUpcomingVaultConfig<any, any, any>
3777
+ > & {
3778
3778
  data_decoded: UpdateUpcomingVaultConfig<any, any, any>;
3779
3779
  type_arguments: [string, string, string];
3780
- }
3780
+ };
3781
3781
 
3782
3782
  export interface UpdateWarmupVaultConfig<T0, T1, T2> {
3783
3783
  signer: string;
@@ -3804,11 +3804,12 @@ export namespace single_collateral {
3804
3804
  }
3805
3805
  }
3806
3806
 
3807
- export interface UpdateWarmupVaultConfigInstance
3808
- extends TypedEventInstance<UpdateWarmupVaultConfig<any, any, any>> {
3807
+ export type UpdateWarmupVaultConfigInstance = TypedEventInstance<
3808
+ UpdateWarmupVaultConfig<any, any, any>
3809
+ > & {
3809
3810
  data_decoded: UpdateWarmupVaultConfig<any, any, any>;
3810
3811
  type_arguments: [string, string, string];
3811
- }
3812
+ };
3812
3813
 
3813
3814
  export interface VaultConfig {
3814
3815
  payoff_configs: single_collateral.PayoffConfig[];
@@ -3830,10 +3831,10 @@ export namespace single_collateral {
3830
3831
  }
3831
3832
  }
3832
3833
 
3833
- export interface VaultConfigInstance extends TypedEventInstance<VaultConfig> {
3834
+ export type VaultConfigInstance = TypedEventInstance<VaultConfig> & {
3834
3835
  data_decoded: VaultConfig;
3835
3836
  type_arguments: [];
3836
- }
3837
+ };
3837
3838
 
3838
3839
  export interface VaultTsMs {
3839
3840
  activation_ts_ms: bigint;
@@ -3851,10 +3852,10 @@ export namespace single_collateral {
3851
3852
  }
3852
3853
  }
3853
3854
 
3854
- export interface VaultTsMsInstance extends TypedEventInstance<VaultTsMs> {
3855
+ export type VaultTsMsInstance = TypedEventInstance<VaultTsMs> & {
3855
3856
  data_decoded: VaultTsMs;
3856
3857
  type_arguments: [];
3857
- }
3858
+ };
3858
3859
 
3859
3860
  export interface Withdraw<T0> {
3860
3861
  signer: string;
@@ -3875,10 +3876,10 @@ export namespace single_collateral {
3875
3876
  }
3876
3877
  }
3877
3878
 
3878
- export interface WithdrawInstance extends TypedEventInstance<Withdraw<any>> {
3879
+ export type WithdrawInstance = TypedEventInstance<Withdraw<any>> & {
3879
3880
  data_decoded: Withdraw<any>;
3880
3881
  type_arguments: [string];
3881
- }
3882
+ };
3882
3883
 
3883
3884
  export namespace builder {
3884
3885
  export function addAuthorizedUser(
@@ -6438,11 +6439,10 @@ export namespace vault {
6438
6439
  }
6439
6440
  }
6440
6441
 
6441
- export interface ActivateInstance
6442
- extends TypedEventInstance<Activate<any, any>> {
6442
+ export type ActivateInstance = TypedEventInstance<Activate<any, any>> & {
6443
6443
  data_decoded: Activate<any, any>;
6444
6444
  type_arguments: [string, string];
6445
- }
6445
+ };
6446
6446
 
6447
6447
  export interface BidVault<T0, T1> {
6448
6448
  bidder_sub_vault: vault.SubVault<T1>;
@@ -6484,10 +6484,10 @@ export namespace vault {
6484
6484
  }
6485
6485
  }
6486
6486
 
6487
- export interface ClaimInstance extends TypedEventInstance<Claim<any, any>> {
6487
+ export type ClaimInstance = TypedEventInstance<Claim<any, any>> & {
6488
6488
  data_decoded: Claim<any, any>;
6489
6489
  type_arguments: [string, string];
6490
- }
6490
+ };
6491
6491
 
6492
6492
  export interface CloseBidVault<T0, T1> {
6493
6493
  signer: string;
@@ -6512,11 +6512,12 @@ export namespace vault {
6512
6512
  }
6513
6513
  }
6514
6514
 
6515
- export interface CloseBidVaultInstance
6516
- extends TypedEventInstance<CloseBidVault<any, any>> {
6515
+ export type CloseBidVaultInstance = TypedEventInstance<
6516
+ CloseBidVault<any, any>
6517
+ > & {
6517
6518
  data_decoded: CloseBidVault<any, any>;
6518
6519
  type_arguments: [string, string];
6519
- }
6520
+ };
6520
6521
 
6521
6522
  export interface CloseDepositVault<T0, T1> {
6522
6523
  signer: string;
@@ -6542,11 +6543,12 @@ export namespace vault {
6542
6543
  }
6543
6544
  }
6544
6545
 
6545
- export interface CloseDepositVaultInstance
6546
- extends TypedEventInstance<CloseDepositVault<any, any>> {
6546
+ export type CloseDepositVaultInstance = TypedEventInstance<
6547
+ CloseDepositVault<any, any>
6548
+ > & {
6547
6549
  data_decoded: CloseDepositVault<any, any>;
6548
6550
  type_arguments: [string, string];
6549
- }
6551
+ };
6550
6552
 
6551
6553
  export interface Compound<T0, T1> {
6552
6554
  signer: string;
@@ -6567,11 +6569,10 @@ export namespace vault {
6567
6569
  }
6568
6570
  }
6569
6571
 
6570
- export interface CompoundInstance
6571
- extends TypedEventInstance<Compound<any, any>> {
6572
+ export type CompoundInstance = TypedEventInstance<Compound<any, any>> & {
6572
6573
  data_decoded: Compound<any, any>;
6573
6574
  type_arguments: [string, string];
6574
- }
6575
+ };
6575
6576
 
6576
6577
  export interface Delivery<T0, T1> {
6577
6578
  signer: string;
@@ -6593,11 +6594,10 @@ export namespace vault {
6593
6594
  }
6594
6595
  }
6595
6596
 
6596
- export interface DeliveryInstance
6597
- extends TypedEventInstance<Delivery<any, any>> {
6597
+ export type DeliveryInstance = TypedEventInstance<Delivery<any, any>> & {
6598
6598
  data_decoded: Delivery<any, any>;
6599
6599
  type_arguments: [string, string];
6600
- }
6600
+ };
6601
6601
 
6602
6602
  export interface DeliveryMultiple<T0, T1, T2, T3> {
6603
6603
  signer: string;
@@ -6623,11 +6623,12 @@ export namespace vault {
6623
6623
  }
6624
6624
  }
6625
6625
 
6626
- export interface DeliveryMultipleInstance
6627
- extends TypedEventInstance<DeliveryMultiple<any, any, any, any>> {
6626
+ export type DeliveryMultipleInstance = TypedEventInstance<
6627
+ DeliveryMultiple<any, any, any, any>
6628
+ > & {
6628
6629
  data_decoded: DeliveryMultiple<any, any, any, any>;
6629
6630
  type_arguments: [string, string, string, string];
6630
- }
6631
+ };
6631
6632
 
6632
6633
  export interface Deposit<T0, T1> {
6633
6634
  signer: string;
@@ -6648,11 +6649,10 @@ export namespace vault {
6648
6649
  }
6649
6650
  }
6650
6651
 
6651
- export interface DepositInstance
6652
- extends TypedEventInstance<Deposit<any, any>> {
6652
+ export type DepositInstance = TypedEventInstance<Deposit<any, any>> & {
6653
6653
  data_decoded: Deposit<any, any>;
6654
6654
  type_arguments: [string, string];
6655
- }
6655
+ };
6656
6656
 
6657
6657
  export interface DepositVault<T0, T1> {
6658
6658
  active_sub_vault: vault.SubVault<T1>;
@@ -6698,11 +6698,10 @@ export namespace vault {
6698
6698
  }
6699
6699
  }
6700
6700
 
6701
- export interface HarvestInstance
6702
- extends TypedEventInstance<Harvest<any, any>> {
6701
+ export type HarvestInstance = TypedEventInstance<Harvest<any, any>> & {
6703
6702
  data_decoded: Harvest<any, any>;
6704
6703
  type_arguments: [string, string];
6705
- }
6704
+ };
6706
6705
 
6707
6706
  export interface NewBidVault<T0, T1> {
6708
6707
  signer: string;
@@ -6724,11 +6723,12 @@ export namespace vault {
6724
6723
  }
6725
6724
  }
6726
6725
 
6727
- export interface NewBidVaultInstance
6728
- extends TypedEventInstance<NewBidVault<any, any>> {
6726
+ export type NewBidVaultInstance = TypedEventInstance<
6727
+ NewBidVault<any, any>
6728
+ > & {
6729
6729
  data_decoded: NewBidVault<any, any>;
6730
6730
  type_arguments: [string, string];
6731
- }
6731
+ };
6732
6732
 
6733
6733
  export interface NewDepositVault<T0, T1> {
6734
6734
  signer: string;
@@ -6750,11 +6750,12 @@ export namespace vault {
6750
6750
  }
6751
6751
  }
6752
6752
 
6753
- export interface NewDepositVaultInstance
6754
- extends TypedEventInstance<NewDepositVault<any, any>> {
6753
+ export type NewDepositVaultInstance = TypedEventInstance<
6754
+ NewDepositVault<any, any>
6755
+ > & {
6755
6756
  data_decoded: NewDepositVault<any, any>;
6756
6757
  type_arguments: [string, string];
6757
- }
6758
+ };
6758
6759
 
6759
6760
  export interface Refund<T0, T1> {
6760
6761
  signer: string;
@@ -6777,10 +6778,10 @@ export namespace vault {
6777
6778
  }
6778
6779
  }
6779
6780
 
6780
- export interface RefundInstance extends TypedEventInstance<Refund<any, any>> {
6781
+ export type RefundInstance = TypedEventInstance<Refund<any, any>> & {
6781
6782
  data_decoded: Refund<any, any>;
6782
6783
  type_arguments: [string, string];
6783
- }
6784
+ };
6784
6785
 
6785
6786
  export interface Settle<T0, T1> {
6786
6787
  signer: string;
@@ -6804,10 +6805,10 @@ export namespace vault {
6804
6805
  }
6805
6806
  }
6806
6807
 
6807
- export interface SettleInstance extends TypedEventInstance<Settle<any, any>> {
6808
+ export type SettleInstance = TypedEventInstance<Settle<any, any>> & {
6808
6809
  data_decoded: Settle<any, any>;
6809
6810
  type_arguments: [string, string];
6810
- }
6811
+ };
6811
6812
 
6812
6813
  export interface SettleMultiple<T0, T1, T2, T3> {
6813
6814
  signer: string;
@@ -6836,11 +6837,12 @@ export namespace vault {
6836
6837
  }
6837
6838
  }
6838
6839
 
6839
- export interface SettleMultipleInstance
6840
- extends TypedEventInstance<SettleMultiple<any, any, any, any>> {
6840
+ export type SettleMultipleInstance = TypedEventInstance<
6841
+ SettleMultiple<any, any, any, any>
6842
+ > & {
6841
6843
  data_decoded: SettleMultiple<any, any, any, any>;
6842
6844
  type_arguments: [string, string, string, string];
6843
- }
6845
+ };
6844
6846
 
6845
6847
  export interface SubVault<T0> {
6846
6848
  index: bigint;
@@ -6884,11 +6886,12 @@ export namespace vault {
6884
6886
  }
6885
6887
  }
6886
6888
 
6887
- export interface UnsubscribeInstance
6888
- extends TypedEventInstance<Unsubscribe<any, any>> {
6889
+ export type UnsubscribeInstance = TypedEventInstance<
6890
+ Unsubscribe<any, any>
6891
+ > & {
6889
6892
  data_decoded: Unsubscribe<any, any>;
6890
6893
  type_arguments: [string, string];
6891
- }
6894
+ };
6892
6895
 
6893
6896
  export interface UserShareKey {
6894
6897
  index: bigint;
@@ -6907,11 +6910,10 @@ export namespace vault {
6907
6910
  }
6908
6911
  }
6909
6912
 
6910
- export interface UserShareKeyInstance
6911
- extends TypedEventInstance<UserShareKey> {
6913
+ export type UserShareKeyInstance = TypedEventInstance<UserShareKey> & {
6912
6914
  data_decoded: UserShareKey;
6913
6915
  type_arguments: [];
6914
- }
6916
+ };
6915
6917
 
6916
6918
  export interface UserShareRegistry {
6917
6919
  id: _0x2.object$.UID;
@@ -6949,11 +6951,10 @@ export namespace vault {
6949
6951
  }
6950
6952
  }
6951
6953
 
6952
- export interface WithdrawInstance
6953
- extends TypedEventInstance<Withdraw<any, any>> {
6954
+ export type WithdrawInstance = TypedEventInstance<Withdraw<any, any>> & {
6954
6955
  data_decoded: Withdraw<any, any>;
6955
6956
  type_arguments: [string, string];
6956
- }
6957
+ };
6957
6958
 
6958
6959
  export namespace builder {
6959
6960
  export function activate<T0 = any, T1 = any>(