@typemove/sui 1.2.9-rc.1 → 1.3.0-rc.1

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.
@@ -2421,6 +2421,28 @@ export declare namespace prover {
2421
2421
  namespace builder { }
2422
2422
  namespace view { }
2423
2423
  }
2424
+ export declare namespace random {
2425
+ interface Random {
2426
+ id: object_.UID;
2427
+ inner: versioned.Versioned;
2428
+ }
2429
+ namespace Random {
2430
+ const TYPE_QNAME = "0x2::random::Random";
2431
+ function type(): TypeDescriptor<Random>;
2432
+ }
2433
+ interface RandomInner {
2434
+ version: bigint;
2435
+ epoch: bigint;
2436
+ randomness_round: bigint;
2437
+ random_bytes: number[];
2438
+ }
2439
+ namespace RandomInner {
2440
+ const TYPE_QNAME = "0x2::random::RandomInner";
2441
+ function type(): TypeDescriptor<RandomInner>;
2442
+ }
2443
+ namespace builder { }
2444
+ namespace view { }
2445
+ }
2424
2446
  export declare namespace sui {
2425
2447
  interface SUI {
2426
2448
  dummy_field: Boolean;
@@ -2591,6 +2613,508 @@ export declare namespace table_vec {
2591
2613
  ], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0]>>;
2592
2614
  }
2593
2615
  }
2616
+ export declare namespace token {
2617
+ interface ActionRequest<T0> {
2618
+ name: string;
2619
+ amount: bigint;
2620
+ sender: string;
2621
+ recipient: _0x1.option.Option<string>;
2622
+ spent_balance: _0x1.option.Option<balance.Balance<T0>>;
2623
+ approvals: vec_set.VecSet<_0x1.type_name.TypeName>;
2624
+ }
2625
+ namespace ActionRequest {
2626
+ const TYPE_QNAME = "0x2::token::ActionRequest";
2627
+ function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<ActionRequest<T0>>;
2628
+ }
2629
+ interface RuleKey<T0> {
2630
+ is_protected: Boolean;
2631
+ }
2632
+ namespace RuleKey {
2633
+ const TYPE_QNAME = "0x2::token::RuleKey";
2634
+ function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<RuleKey<T0>>;
2635
+ }
2636
+ interface RuleKeyInstance extends TypedEventInstance<RuleKey<any>> {
2637
+ data_decoded: RuleKey<any>;
2638
+ type_arguments: [string];
2639
+ }
2640
+ interface Token<T0> {
2641
+ id: object_.UID;
2642
+ balance: balance.Balance<T0>;
2643
+ }
2644
+ namespace Token {
2645
+ const TYPE_QNAME = "0x2::token::Token";
2646
+ function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Token<T0>>;
2647
+ }
2648
+ interface TokenPolicy<T0> {
2649
+ id: object_.UID;
2650
+ spent_balance: balance.Balance<T0>;
2651
+ rules: vec_map.VecMap<string, vec_set.VecSet<_0x1.type_name.TypeName>>;
2652
+ }
2653
+ namespace TokenPolicy {
2654
+ const TYPE_QNAME = "0x2::token::TokenPolicy";
2655
+ function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<TokenPolicy<T0>>;
2656
+ }
2657
+ interface TokenPolicyCap<T0> {
2658
+ id: object_.UID;
2659
+ for: object_.ID;
2660
+ }
2661
+ namespace TokenPolicyCap {
2662
+ const TYPE_QNAME = "0x2::token::TokenPolicyCap";
2663
+ function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<TokenPolicyCap<T0>>;
2664
+ }
2665
+ interface TokenPolicyCreated<T0> {
2666
+ id: object_.ID;
2667
+ is_mutable: Boolean;
2668
+ }
2669
+ namespace TokenPolicyCreated {
2670
+ const TYPE_QNAME = "0x2::token::TokenPolicyCreated";
2671
+ function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<TokenPolicyCreated<T0>>;
2672
+ }
2673
+ interface TokenPolicyCreatedInstance extends TypedEventInstance<TokenPolicyCreated<any>> {
2674
+ data_decoded: TokenPolicyCreated<any>;
2675
+ type_arguments: [string];
2676
+ }
2677
+ namespace builder {
2678
+ function action<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
2679
+ function addApproval<T0 = any, T1 = any>(tx: TransactionBlock, args: [
2680
+ T1 | TransactionArgument,
2681
+ string | ObjectCallArg | TransactionArgument,
2682
+ string | ObjectCallArg | TransactionArgument
2683
+ ], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
2684
+ TransactionArgument,
2685
+ TransactionArgument,
2686
+ TransactionArgument
2687
+ ];
2688
+ function addRuleConfig<T0 = any, T1 = any, T2 = any>(tx: TransactionBlock, args: [
2689
+ T1 | TransactionArgument,
2690
+ string | ObjectCallArg | TransactionArgument,
2691
+ string | ObjectCallArg | TransactionArgument,
2692
+ T2 | TransactionArgument,
2693
+ string | ObjectCallArg | TransactionArgument
2694
+ ], typeArguments: [
2695
+ TypeDescriptor<T0> | string,
2696
+ TypeDescriptor<T1> | string,
2697
+ TypeDescriptor<T2> | string
2698
+ ]): TransactionArgument & [
2699
+ TransactionArgument,
2700
+ TransactionArgument,
2701
+ TransactionArgument,
2702
+ TransactionArgument,
2703
+ TransactionArgument
2704
+ ];
2705
+ function addRuleForAction<T0 = any, T1 = any>(tx: TransactionBlock, args: [
2706
+ string | ObjectCallArg | TransactionArgument,
2707
+ string | ObjectCallArg | TransactionArgument,
2708
+ string | TransactionArgument,
2709
+ string | ObjectCallArg | TransactionArgument
2710
+ ], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
2711
+ TransactionArgument,
2712
+ TransactionArgument,
2713
+ TransactionArgument,
2714
+ TransactionArgument
2715
+ ];
2716
+ function allow<T0 = any>(tx: TransactionBlock, args: [
2717
+ string | ObjectCallArg | TransactionArgument,
2718
+ string | ObjectCallArg | TransactionArgument,
2719
+ string | TransactionArgument,
2720
+ string | ObjectCallArg | TransactionArgument
2721
+ ], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
2722
+ TransactionArgument,
2723
+ TransactionArgument,
2724
+ TransactionArgument,
2725
+ TransactionArgument
2726
+ ];
2727
+ function amount<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
2728
+ function approvals<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
2729
+ function burn<T0 = any>(tx: TransactionBlock, args: [
2730
+ string | ObjectCallArg | TransactionArgument,
2731
+ token.Token<T0> | TransactionArgument
2732
+ ], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
2733
+ function confirmRequest<T0 = any>(tx: TransactionBlock, args: [
2734
+ string | ObjectCallArg | TransactionArgument,
2735
+ token.ActionRequest<T0> | TransactionArgument,
2736
+ string | ObjectCallArg | TransactionArgument
2737
+ ], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
2738
+ TransactionArgument,
2739
+ TransactionArgument,
2740
+ TransactionArgument
2741
+ ];
2742
+ function confirmRequestMut<T0 = any>(tx: TransactionBlock, args: [
2743
+ string | ObjectCallArg | TransactionArgument,
2744
+ token.ActionRequest<T0> | TransactionArgument,
2745
+ string | ObjectCallArg | TransactionArgument
2746
+ ], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
2747
+ TransactionArgument,
2748
+ TransactionArgument,
2749
+ TransactionArgument
2750
+ ];
2751
+ function confirmWithPolicyCap<T0 = any>(tx: TransactionBlock, args: [
2752
+ string | ObjectCallArg | TransactionArgument,
2753
+ token.ActionRequest<T0> | TransactionArgument,
2754
+ string | ObjectCallArg | TransactionArgument
2755
+ ], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
2756
+ TransactionArgument,
2757
+ TransactionArgument,
2758
+ TransactionArgument
2759
+ ];
2760
+ function confirmWithTreasuryCap<T0 = any>(tx: TransactionBlock, args: [
2761
+ string | ObjectCallArg | TransactionArgument,
2762
+ token.ActionRequest<T0> | TransactionArgument,
2763
+ string | ObjectCallArg | TransactionArgument
2764
+ ], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
2765
+ TransactionArgument,
2766
+ TransactionArgument,
2767
+ TransactionArgument
2768
+ ];
2769
+ function destroyZero<T0 = any>(tx: TransactionBlock, args: [token.Token<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
2770
+ function disallow<T0 = any>(tx: TransactionBlock, args: [
2771
+ string | ObjectCallArg | TransactionArgument,
2772
+ string | ObjectCallArg | TransactionArgument,
2773
+ string | TransactionArgument,
2774
+ string | ObjectCallArg | TransactionArgument
2775
+ ], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
2776
+ TransactionArgument,
2777
+ TransactionArgument,
2778
+ TransactionArgument,
2779
+ TransactionArgument
2780
+ ];
2781
+ function flush<T0 = any>(tx: TransactionBlock, args: [
2782
+ string | ObjectCallArg | TransactionArgument,
2783
+ string | ObjectCallArg | TransactionArgument,
2784
+ string | ObjectCallArg | TransactionArgument
2785
+ ], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
2786
+ TransactionArgument,
2787
+ TransactionArgument,
2788
+ TransactionArgument
2789
+ ];
2790
+ function fromCoin<T0 = any>(tx: TransactionBlock, args: [
2791
+ coin.Coin<T0> | TransactionArgument,
2792
+ string | ObjectCallArg | TransactionArgument
2793
+ ], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
2794
+ function fromCoinAction(tx: TransactionBlock, args: []): TransactionArgument & [];
2795
+ function hasRuleConfig<T0 = any, T1 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
2796
+ function hasRuleConfigWithType<T0 = any, T1 = any, T2 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [
2797
+ TypeDescriptor<T0> | string,
2798
+ TypeDescriptor<T1> | string,
2799
+ TypeDescriptor<T2> | string
2800
+ ]): TransactionArgument & [TransactionArgument];
2801
+ function isAllowed<T0 = any>(tx: TransactionBlock, args: [
2802
+ string | ObjectCallArg | TransactionArgument,
2803
+ string | ObjectCallArg | TransactionArgument
2804
+ ], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
2805
+ function join<T0 = any>(tx: TransactionBlock, args: [
2806
+ string | ObjectCallArg | TransactionArgument,
2807
+ token.Token<T0> | TransactionArgument
2808
+ ], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
2809
+ function keep<T0 = any>(tx: TransactionBlock, args: [
2810
+ token.Token<T0> | TransactionArgument,
2811
+ string | ObjectCallArg | TransactionArgument
2812
+ ], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
2813
+ function mint<T0 = any>(tx: TransactionBlock, args: [
2814
+ string | ObjectCallArg | TransactionArgument,
2815
+ bigint | TransactionArgument,
2816
+ string | ObjectCallArg | TransactionArgument
2817
+ ], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
2818
+ TransactionArgument,
2819
+ TransactionArgument,
2820
+ TransactionArgument
2821
+ ];
2822
+ function newPolicy<T0 = any>(tx: TransactionBlock, args: [
2823
+ string | ObjectCallArg | TransactionArgument,
2824
+ string | ObjectCallArg | TransactionArgument
2825
+ ], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
2826
+ function newRequest<T0 = any>(tx: TransactionBlock, args: [
2827
+ string | TransactionArgument,
2828
+ bigint | TransactionArgument,
2829
+ _0x1.option.Option<string> | TransactionArgument,
2830
+ _0x1.option.Option<balance.Balance<T0>> | TransactionArgument,
2831
+ string | ObjectCallArg | TransactionArgument
2832
+ ], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
2833
+ TransactionArgument,
2834
+ TransactionArgument,
2835
+ TransactionArgument,
2836
+ TransactionArgument,
2837
+ TransactionArgument
2838
+ ];
2839
+ function recipient<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
2840
+ function removeRuleConfig<T0 = any, T1 = any, T2 = any>(tx: TransactionBlock, args: [
2841
+ string | ObjectCallArg | TransactionArgument,
2842
+ string | ObjectCallArg | TransactionArgument,
2843
+ string | ObjectCallArg | TransactionArgument
2844
+ ], typeArguments: [
2845
+ TypeDescriptor<T0> | string,
2846
+ TypeDescriptor<T1> | string,
2847
+ TypeDescriptor<T2> | string
2848
+ ]): TransactionArgument & [
2849
+ TransactionArgument,
2850
+ TransactionArgument,
2851
+ TransactionArgument
2852
+ ];
2853
+ function removeRuleForAction<T0 = any, T1 = any>(tx: TransactionBlock, args: [
2854
+ string | ObjectCallArg | TransactionArgument,
2855
+ string | ObjectCallArg | TransactionArgument,
2856
+ string | TransactionArgument,
2857
+ string | ObjectCallArg | TransactionArgument
2858
+ ], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
2859
+ TransactionArgument,
2860
+ TransactionArgument,
2861
+ TransactionArgument,
2862
+ TransactionArgument
2863
+ ];
2864
+ function ruleConfig<T0 = any, T1 = any, T2 = any>(tx: TransactionBlock, args: [
2865
+ T1 | TransactionArgument,
2866
+ string | ObjectCallArg | TransactionArgument
2867
+ ], typeArguments: [
2868
+ TypeDescriptor<T0> | string,
2869
+ TypeDescriptor<T1> | string,
2870
+ TypeDescriptor<T2> | string
2871
+ ]): TransactionArgument & [TransactionArgument, TransactionArgument];
2872
+ function ruleConfigMut<T0 = any, T1 = any, T2 = any>(tx: TransactionBlock, args: [
2873
+ T1 | TransactionArgument,
2874
+ string | ObjectCallArg | TransactionArgument,
2875
+ string | ObjectCallArg | TransactionArgument
2876
+ ], typeArguments: [
2877
+ TypeDescriptor<T0> | string,
2878
+ TypeDescriptor<T1> | string,
2879
+ TypeDescriptor<T2> | string
2880
+ ]): TransactionArgument & [
2881
+ TransactionArgument,
2882
+ TransactionArgument,
2883
+ TransactionArgument
2884
+ ];
2885
+ function rules<T0 = any>(tx: TransactionBlock, args: [
2886
+ string | ObjectCallArg | TransactionArgument,
2887
+ string | ObjectCallArg | TransactionArgument
2888
+ ], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
2889
+ function sender<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
2890
+ function sharePolicy<T0 = any>(tx: TransactionBlock, args: [token.TokenPolicy<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
2891
+ function spend<T0 = any>(tx: TransactionBlock, args: [
2892
+ token.Token<T0> | TransactionArgument,
2893
+ string | ObjectCallArg | TransactionArgument
2894
+ ], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
2895
+ function spendAction(tx: TransactionBlock, args: []): TransactionArgument & [];
2896
+ function spent<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
2897
+ function spentBalance<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
2898
+ function split<T0 = any>(tx: TransactionBlock, args: [
2899
+ string | ObjectCallArg | TransactionArgument,
2900
+ bigint | TransactionArgument,
2901
+ string | ObjectCallArg | TransactionArgument
2902
+ ], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
2903
+ TransactionArgument,
2904
+ TransactionArgument,
2905
+ TransactionArgument
2906
+ ];
2907
+ function toCoin<T0 = any>(tx: TransactionBlock, args: [
2908
+ token.Token<T0> | TransactionArgument,
2909
+ string | ObjectCallArg | TransactionArgument
2910
+ ], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
2911
+ function toCoinAction(tx: TransactionBlock, args: []): TransactionArgument & [];
2912
+ function transfer<T0 = any>(tx: TransactionBlock, args: [
2913
+ token.Token<T0> | TransactionArgument,
2914
+ string | TransactionArgument,
2915
+ string | ObjectCallArg | TransactionArgument
2916
+ ], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
2917
+ TransactionArgument,
2918
+ TransactionArgument,
2919
+ TransactionArgument
2920
+ ];
2921
+ function transferAction(tx: TransactionBlock, args: []): TransactionArgument & [];
2922
+ function value<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
2923
+ function zero<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
2924
+ }
2925
+ namespace view {
2926
+ function action<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
2927
+ function addApproval<T0 = any, T1 = any>(client: SuiClient, args: [
2928
+ T1 | TransactionArgument,
2929
+ string | ObjectCallArg | TransactionArgument,
2930
+ string | ObjectCallArg | TransactionArgument
2931
+ ], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
2932
+ function addRuleConfig<T0 = any, T1 = any, T2 = any>(client: SuiClient, args: [
2933
+ T1 | TransactionArgument,
2934
+ string | ObjectCallArg | TransactionArgument,
2935
+ string | ObjectCallArg | TransactionArgument,
2936
+ T2 | TransactionArgument,
2937
+ string | ObjectCallArg | TransactionArgument
2938
+ ], typeArguments: [
2939
+ TypeDescriptor<T0> | string,
2940
+ TypeDescriptor<T1> | string,
2941
+ TypeDescriptor<T2> | string
2942
+ ]): Promise<TypedDevInspectResults<[]>>;
2943
+ function addRuleForAction<T0 = any, T1 = any>(client: SuiClient, args: [
2944
+ string | ObjectCallArg | TransactionArgument,
2945
+ string | ObjectCallArg | TransactionArgument,
2946
+ string | TransactionArgument,
2947
+ string | ObjectCallArg | TransactionArgument
2948
+ ], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
2949
+ function allow<T0 = any>(client: SuiClient, args: [
2950
+ string | ObjectCallArg | TransactionArgument,
2951
+ string | ObjectCallArg | TransactionArgument,
2952
+ string | TransactionArgument,
2953
+ string | ObjectCallArg | TransactionArgument
2954
+ ], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
2955
+ function amount<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
2956
+ function approvals<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[vec_set.VecSet<_0x1.type_name.TypeName>]>>;
2957
+ function burn<T0 = any>(client: SuiClient, args: [
2958
+ string | ObjectCallArg | TransactionArgument,
2959
+ token.Token<T0> | TransactionArgument
2960
+ ], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
2961
+ function confirmRequest<T0 = any>(client: SuiClient, args: [
2962
+ string | ObjectCallArg | TransactionArgument,
2963
+ token.ActionRequest<T0> | TransactionArgument,
2964
+ string | ObjectCallArg | TransactionArgument
2965
+ ], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[
2966
+ string,
2967
+ bigint,
2968
+ string,
2969
+ _0x1.option.Option<string>
2970
+ ]>>;
2971
+ function confirmRequestMut<T0 = any>(client: SuiClient, args: [
2972
+ string | ObjectCallArg | TransactionArgument,
2973
+ token.ActionRequest<T0> | TransactionArgument,
2974
+ string | ObjectCallArg | TransactionArgument
2975
+ ], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[
2976
+ string,
2977
+ bigint,
2978
+ string,
2979
+ _0x1.option.Option<string>
2980
+ ]>>;
2981
+ function confirmWithPolicyCap<T0 = any>(client: SuiClient, args: [
2982
+ string | ObjectCallArg | TransactionArgument,
2983
+ token.ActionRequest<T0> | TransactionArgument,
2984
+ string | ObjectCallArg | TransactionArgument
2985
+ ], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[
2986
+ string,
2987
+ bigint,
2988
+ string,
2989
+ _0x1.option.Option<string>
2990
+ ]>>;
2991
+ function confirmWithTreasuryCap<T0 = any>(client: SuiClient, args: [
2992
+ string | ObjectCallArg | TransactionArgument,
2993
+ token.ActionRequest<T0> | TransactionArgument,
2994
+ string | ObjectCallArg | TransactionArgument
2995
+ ], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[
2996
+ string,
2997
+ bigint,
2998
+ string,
2999
+ _0x1.option.Option<string>
3000
+ ]>>;
3001
+ function destroyZero<T0 = any>(client: SuiClient, args: [token.Token<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
3002
+ function disallow<T0 = any>(client: SuiClient, args: [
3003
+ string | ObjectCallArg | TransactionArgument,
3004
+ string | ObjectCallArg | TransactionArgument,
3005
+ string | TransactionArgument,
3006
+ string | ObjectCallArg | TransactionArgument
3007
+ ], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
3008
+ function flush<T0 = any>(client: SuiClient, args: [
3009
+ string | ObjectCallArg | TransactionArgument,
3010
+ string | ObjectCallArg | TransactionArgument,
3011
+ string | ObjectCallArg | TransactionArgument
3012
+ ], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
3013
+ function fromCoin<T0 = any>(client: SuiClient, args: [
3014
+ coin.Coin<T0> | TransactionArgument,
3015
+ string | ObjectCallArg | TransactionArgument
3016
+ ], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[token.Token<T0>, token.ActionRequest<T0>]>>;
3017
+ function fromCoinAction(client: SuiClient, args: []): Promise<TypedDevInspectResults<[string]>>;
3018
+ function hasRuleConfig<T0 = any, T1 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[Boolean]>>;
3019
+ function hasRuleConfigWithType<T0 = any, T1 = any, T2 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [
3020
+ TypeDescriptor<T0> | string,
3021
+ TypeDescriptor<T1> | string,
3022
+ TypeDescriptor<T2> | string
3023
+ ]): Promise<TypedDevInspectResults<[Boolean]>>;
3024
+ function isAllowed<T0 = any>(client: SuiClient, args: [
3025
+ string | ObjectCallArg | TransactionArgument,
3026
+ string | ObjectCallArg | TransactionArgument
3027
+ ], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[Boolean]>>;
3028
+ function join<T0 = any>(client: SuiClient, args: [
3029
+ string | ObjectCallArg | TransactionArgument,
3030
+ token.Token<T0> | TransactionArgument
3031
+ ], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
3032
+ function keep<T0 = any>(client: SuiClient, args: [
3033
+ token.Token<T0> | TransactionArgument,
3034
+ string | ObjectCallArg | TransactionArgument
3035
+ ], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
3036
+ function mint<T0 = any>(client: SuiClient, args: [
3037
+ string | ObjectCallArg | TransactionArgument,
3038
+ bigint | TransactionArgument,
3039
+ string | ObjectCallArg | TransactionArgument
3040
+ ], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[token.Token<T0>]>>;
3041
+ function newPolicy<T0 = any>(client: SuiClient, args: [
3042
+ string | ObjectCallArg | TransactionArgument,
3043
+ string | ObjectCallArg | TransactionArgument
3044
+ ], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[token.TokenPolicy<T0>, token.TokenPolicyCap<T0>]>>;
3045
+ function newRequest<T0 = any>(client: SuiClient, args: [
3046
+ string | TransactionArgument,
3047
+ bigint | TransactionArgument,
3048
+ _0x1.option.Option<string> | TransactionArgument,
3049
+ _0x1.option.Option<balance.Balance<T0>> | TransactionArgument,
3050
+ string | ObjectCallArg | TransactionArgument
3051
+ ], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[token.ActionRequest<T0>]>>;
3052
+ function recipient<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[_0x1.option.Option<string>]>>;
3053
+ function removeRuleConfig<T0 = any, T1 = any, T2 = any>(client: SuiClient, args: [
3054
+ string | ObjectCallArg | TransactionArgument,
3055
+ string | ObjectCallArg | TransactionArgument,
3056
+ string | ObjectCallArg | TransactionArgument
3057
+ ], typeArguments: [
3058
+ TypeDescriptor<T0> | string,
3059
+ TypeDescriptor<T1> | string,
3060
+ TypeDescriptor<T2> | string
3061
+ ]): Promise<TypedDevInspectResults<[T2]>>;
3062
+ function removeRuleForAction<T0 = any, T1 = any>(client: SuiClient, args: [
3063
+ string | ObjectCallArg | TransactionArgument,
3064
+ string | ObjectCallArg | TransactionArgument,
3065
+ string | TransactionArgument,
3066
+ string | ObjectCallArg | TransactionArgument
3067
+ ], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
3068
+ function ruleConfig<T0 = any, T1 = any, T2 = any>(client: SuiClient, args: [
3069
+ T1 | TransactionArgument,
3070
+ string | ObjectCallArg | TransactionArgument
3071
+ ], typeArguments: [
3072
+ TypeDescriptor<T0> | string,
3073
+ TypeDescriptor<T1> | string,
3074
+ TypeDescriptor<T2> | string
3075
+ ]): Promise<TypedDevInspectResults<[string]>>;
3076
+ function ruleConfigMut<T0 = any, T1 = any, T2 = any>(client: SuiClient, args: [
3077
+ T1 | TransactionArgument,
3078
+ string | ObjectCallArg | TransactionArgument,
3079
+ string | ObjectCallArg | TransactionArgument
3080
+ ], typeArguments: [
3081
+ TypeDescriptor<T0> | string,
3082
+ TypeDescriptor<T1> | string,
3083
+ TypeDescriptor<T2> | string
3084
+ ]): Promise<TypedDevInspectResults<[string]>>;
3085
+ function rules<T0 = any>(client: SuiClient, args: [
3086
+ string | ObjectCallArg | TransactionArgument,
3087
+ string | ObjectCallArg | TransactionArgument
3088
+ ], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[vec_set.VecSet<_0x1.type_name.TypeName>]>>;
3089
+ function sender<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
3090
+ function sharePolicy<T0 = any>(client: SuiClient, args: [token.TokenPolicy<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
3091
+ function spend<T0 = any>(client: SuiClient, args: [
3092
+ token.Token<T0> | TransactionArgument,
3093
+ string | ObjectCallArg | TransactionArgument
3094
+ ], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[token.ActionRequest<T0>]>>;
3095
+ function spendAction(client: SuiClient, args: []): Promise<TypedDevInspectResults<[string]>>;
3096
+ function spent<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[_0x1.option.Option<bigint>]>>;
3097
+ function spentBalance<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
3098
+ function split<T0 = any>(client: SuiClient, args: [
3099
+ string | ObjectCallArg | TransactionArgument,
3100
+ bigint | TransactionArgument,
3101
+ string | ObjectCallArg | TransactionArgument
3102
+ ], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[token.Token<T0>]>>;
3103
+ function toCoin<T0 = any>(client: SuiClient, args: [
3104
+ token.Token<T0> | TransactionArgument,
3105
+ string | ObjectCallArg | TransactionArgument
3106
+ ], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[coin.Coin<T0>, token.ActionRequest<T0>]>>;
3107
+ function toCoinAction(client: SuiClient, args: []): Promise<TypedDevInspectResults<[string]>>;
3108
+ function transfer<T0 = any>(client: SuiClient, args: [
3109
+ token.Token<T0> | TransactionArgument,
3110
+ string | TransactionArgument,
3111
+ string | ObjectCallArg | TransactionArgument
3112
+ ], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[token.ActionRequest<T0>]>>;
3113
+ function transferAction(client: SuiClient, args: []): Promise<TypedDevInspectResults<[string]>>;
3114
+ function value<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
3115
+ function zero<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[token.Token<T0>]>>;
3116
+ }
3117
+ }
2594
3118
  export declare namespace transfer {
2595
3119
  interface Receiving<T0> {
2596
3120
  id: object_.ID;
@@ -2675,6 +3199,17 @@ export declare namespace transfer_policy {
2675
3199
  data_decoded: TransferPolicyCreated<any>;
2676
3200
  type_arguments: [string];
2677
3201
  }
3202
+ interface TransferPolicyDestroyed<T0> {
3203
+ id: object_.ID;
3204
+ }
3205
+ namespace TransferPolicyDestroyed {
3206
+ const TYPE_QNAME = "0x2::transfer_policy::TransferPolicyDestroyed";
3207
+ function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<TransferPolicyDestroyed<T0>>;
3208
+ }
3209
+ interface TransferPolicyDestroyedInstance extends TypedEventInstance<TransferPolicyDestroyed<any>> {
3210
+ data_decoded: TransferPolicyDestroyed<any>;
3211
+ type_arguments: [string];
3212
+ }
2678
3213
  interface TransferRequest<T0> {
2679
3214
  item: object_.ID;
2680
3215
  paid: bigint;
@@ -3202,6 +3737,7 @@ export declare namespace zklogin_verified_id {
3202
3737
  TransactionArgument,
3203
3738
  TransactionArgument
3204
3739
  ];
3740
+ function delete_(tx: TransactionBlock, args: [zklogin_verified_id.VerifiedID | TransactionArgument]): TransactionArgument & [TransactionArgument];
3205
3741
  function issuer(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
3206
3742
  function keyClaimName(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
3207
3743
  function keyClaimValue(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
@@ -3232,6 +3768,7 @@ export declare namespace zklogin_verified_id {
3232
3768
  string | ObjectCallArg | TransactionArgument,
3233
3769
  bigint | TransactionArgument
3234
3770
  ]): Promise<TypedDevInspectResults<[Boolean]>>;
3771
+ function delete_(client: SuiClient, args: [zklogin_verified_id.VerifiedID | TransactionArgument]): Promise<TypedDevInspectResults<[]>>;
3235
3772
  function issuer(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[string]>>;
3236
3773
  function keyClaimName(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[string]>>;
3237
3774
  function keyClaimValue(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[string]>>;
@@ -3266,6 +3803,7 @@ export declare namespace zklogin_verified_issuer {
3266
3803
  TransactionArgument,
3267
3804
  TransactionArgument
3268
3805
  ];
3806
+ function delete_(tx: TransactionBlock, args: [zklogin_verified_issuer.VerifiedIssuer | TransactionArgument]): TransactionArgument & [TransactionArgument];
3269
3807
  function issuer(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
3270
3808
  function owner(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
3271
3809
  function verifyZkloginIssuer(tx: TransactionBlock, args: [
@@ -3284,6 +3822,7 @@ export declare namespace zklogin_verified_issuer {
3284
3822
  bigint | TransactionArgument,
3285
3823
  string | ObjectCallArg | TransactionArgument
3286
3824
  ]): Promise<TypedDevInspectResults<[Boolean]>>;
3825
+ function delete_(client: SuiClient, args: [zklogin_verified_issuer.VerifiedIssuer | TransactionArgument]): Promise<TypedDevInspectResults<[]>>;
3287
3826
  function issuer(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[string]>>;
3288
3827
  function owner(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[string]>>;
3289
3828
  function verifyZkloginIssuer(client: SuiClient, args: [