@flaunch/sdk 0.9.15 → 0.9.18

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 (40) hide show
  1. package/README.md +50 -3
  2. package/dist/abi/DynamicAddressFeeSplitManager.d.ts +1147 -0
  3. package/dist/abi/DynamicAddressFeeSplitManager.d.ts.map +1 -0
  4. package/dist/abi/index.cjs +1493 -0
  5. package/dist/abi/index.cjs.map +1 -1
  6. package/dist/abi/index.d.ts +1 -0
  7. package/dist/abi/index.d.ts.map +1 -1
  8. package/dist/abi/index.js +1493 -1
  9. package/dist/abi/index.js.map +1 -1
  10. package/dist/addresses/index.cjs +5877 -474
  11. package/dist/addresses/index.cjs.map +1 -1
  12. package/dist/addresses/index.js +5877 -475
  13. package/dist/addresses/index.js.map +1 -1
  14. package/dist/addresses.d.ts +1 -0
  15. package/dist/addresses.d.ts.map +1 -1
  16. package/dist/clients/DynamicAddressFeeSplitManagerClient.d.ts +50 -0
  17. package/dist/clients/DynamicAddressFeeSplitManagerClient.d.ts.map +1 -0
  18. package/dist/clients/FlaunchPositionManagerClient.d.ts +11 -0
  19. package/dist/clients/FlaunchPositionManagerClient.d.ts.map +1 -1
  20. package/dist/clients/FlaunchPositionManagerV1_1Client.d.ts +5 -0
  21. package/dist/clients/FlaunchPositionManagerV1_1Client.d.ts.map +1 -1
  22. package/dist/clients/FlaunchPositionManagerV1_2Client.d.ts +5 -0
  23. package/dist/clients/FlaunchPositionManagerV1_2Client.d.ts.map +1 -1
  24. package/dist/clients/FlaunchZapClient.d.ts +31 -2
  25. package/dist/clients/FlaunchZapClient.d.ts.map +1 -1
  26. package/dist/helpers/index.cjs +6050 -478
  27. package/dist/helpers/index.cjs.map +1 -1
  28. package/dist/helpers/index.js +6052 -480
  29. package/dist/helpers/index.js.map +1 -1
  30. package/dist/index.cjs.js +10986 -6110
  31. package/dist/index.cjs.js.map +1 -1
  32. package/dist/index.d.ts +3 -0
  33. package/dist/index.d.ts.map +1 -1
  34. package/dist/index.esm.js +10999 -6127
  35. package/dist/index.esm.js.map +1 -1
  36. package/dist/index.umd.js +4 -3
  37. package/dist/index.umd.js.map +1 -1
  38. package/dist/sdk/FlaunchSDK.d.ts +13 -1
  39. package/dist/sdk/FlaunchSDK.d.ts.map +1 -1
  40. package/package.json +2 -2
@@ -2444,6 +2444,1498 @@ const BidWallV1_1Abi = [
2444
2444
  },
2445
2445
  ];
2446
2446
 
2447
+ const DynamicAddressFeeSplitManagerAbi = [
2448
+ {
2449
+ "type": "constructor",
2450
+ "inputs": [
2451
+ {
2452
+ "name": "_treasuryManagerFactory",
2453
+ "type": "address",
2454
+ "internalType": "address"
2455
+ },
2456
+ {
2457
+ "name": "_feeEscrowRegistry",
2458
+ "type": "address",
2459
+ "internalType": "address"
2460
+ }
2461
+ ],
2462
+ "stateMutability": "nonpayable"
2463
+ },
2464
+ {
2465
+ "type": "receive",
2466
+ "stateMutability": "payable"
2467
+ },
2468
+ {
2469
+ "type": "function",
2470
+ "name": "MAX_CREATOR_SHARE",
2471
+ "inputs": [],
2472
+ "outputs": [
2473
+ {
2474
+ "name": "",
2475
+ "type": "uint256",
2476
+ "internalType": "uint256"
2477
+ }
2478
+ ],
2479
+ "stateMutability": "view"
2480
+ },
2481
+ {
2482
+ "type": "function",
2483
+ "name": "MAX_OWNER_SHARE",
2484
+ "inputs": [],
2485
+ "outputs": [
2486
+ {
2487
+ "name": "",
2488
+ "type": "uint256",
2489
+ "internalType": "uint256"
2490
+ }
2491
+ ],
2492
+ "stateMutability": "view"
2493
+ },
2494
+ {
2495
+ "type": "function",
2496
+ "name": "VALID_SHARE_TOTAL",
2497
+ "inputs": [],
2498
+ "outputs": [
2499
+ {
2500
+ "name": "",
2501
+ "type": "uint256",
2502
+ "internalType": "uint256"
2503
+ }
2504
+ ],
2505
+ "stateMutability": "view"
2506
+ },
2507
+ {
2508
+ "type": "function",
2509
+ "name": "accumulatorPerShare",
2510
+ "inputs": [],
2511
+ "outputs": [
2512
+ {
2513
+ "name": "",
2514
+ "type": "uint256",
2515
+ "internalType": "uint256"
2516
+ }
2517
+ ],
2518
+ "stateMutability": "view"
2519
+ },
2520
+ {
2521
+ "type": "function",
2522
+ "name": "balances",
2523
+ "inputs": [
2524
+ {
2525
+ "name": "_recipient",
2526
+ "type": "address",
2527
+ "internalType": "address"
2528
+ }
2529
+ ],
2530
+ "outputs": [
2531
+ {
2532
+ "name": "balance_",
2533
+ "type": "uint256",
2534
+ "internalType": "uint256"
2535
+ }
2536
+ ],
2537
+ "stateMutability": "view"
2538
+ },
2539
+ {
2540
+ "type": "function",
2541
+ "name": "claim",
2542
+ "inputs": [],
2543
+ "outputs": [
2544
+ {
2545
+ "name": "",
2546
+ "type": "uint256",
2547
+ "internalType": "uint256"
2548
+ }
2549
+ ],
2550
+ "stateMutability": "nonpayable"
2551
+ },
2552
+ {
2553
+ "type": "function",
2554
+ "name": "claim",
2555
+ "inputs": [
2556
+ {
2557
+ "name": "_data",
2558
+ "type": "bytes",
2559
+ "internalType": "bytes"
2560
+ }
2561
+ ],
2562
+ "outputs": [
2563
+ {
2564
+ "name": "",
2565
+ "type": "uint256",
2566
+ "internalType": "uint256"
2567
+ }
2568
+ ],
2569
+ "stateMutability": "nonpayable"
2570
+ },
2571
+ {
2572
+ "type": "function",
2573
+ "name": "claimableOwnerFees",
2574
+ "inputs": [],
2575
+ "outputs": [
2576
+ {
2577
+ "name": "",
2578
+ "type": "uint256",
2579
+ "internalType": "uint256"
2580
+ }
2581
+ ],
2582
+ "stateMutability": "view"
2583
+ },
2584
+ {
2585
+ "type": "function",
2586
+ "name": "creator",
2587
+ "inputs": [
2588
+ {
2589
+ "name": "_flaunch",
2590
+ "type": "address",
2591
+ "internalType": "address"
2592
+ },
2593
+ {
2594
+ "name": "_tokenId",
2595
+ "type": "uint256",
2596
+ "internalType": "uint256"
2597
+ }
2598
+ ],
2599
+ "outputs": [
2600
+ {
2601
+ "name": "_creator",
2602
+ "type": "address",
2603
+ "internalType": "address"
2604
+ }
2605
+ ],
2606
+ "stateMutability": "view"
2607
+ },
2608
+ {
2609
+ "type": "function",
2610
+ "name": "creatorFees",
2611
+ "inputs": [],
2612
+ "outputs": [
2613
+ {
2614
+ "name": "",
2615
+ "type": "uint256",
2616
+ "internalType": "uint256"
2617
+ }
2618
+ ],
2619
+ "stateMutability": "view"
2620
+ },
2621
+ {
2622
+ "type": "function",
2623
+ "name": "creatorShare",
2624
+ "inputs": [],
2625
+ "outputs": [
2626
+ {
2627
+ "name": "",
2628
+ "type": "uint256",
2629
+ "internalType": "uint256"
2630
+ }
2631
+ ],
2632
+ "stateMutability": "view"
2633
+ },
2634
+ {
2635
+ "type": "function",
2636
+ "name": "creatorTotalClaimed",
2637
+ "inputs": [
2638
+ {
2639
+ "name": "_creator",
2640
+ "type": "address",
2641
+ "internalType": "address"
2642
+ }
2643
+ ],
2644
+ "outputs": [
2645
+ {
2646
+ "name": "_claimed",
2647
+ "type": "uint256",
2648
+ "internalType": "uint256"
2649
+ }
2650
+ ],
2651
+ "stateMutability": "view"
2652
+ },
2653
+ {
2654
+ "type": "function",
2655
+ "name": "deposit",
2656
+ "inputs": [
2657
+ {
2658
+ "name": "_flaunchToken",
2659
+ "type": "tuple",
2660
+ "internalType": "struct ITreasuryManager.FlaunchToken",
2661
+ "components": [
2662
+ {
2663
+ "name": "flaunch",
2664
+ "type": "address",
2665
+ "internalType": "contract Flaunch"
2666
+ },
2667
+ {
2668
+ "name": "tokenId",
2669
+ "type": "uint256",
2670
+ "internalType": "uint256"
2671
+ }
2672
+ ]
2673
+ },
2674
+ {
2675
+ "name": "_creator",
2676
+ "type": "address",
2677
+ "internalType": "address"
2678
+ },
2679
+ {
2680
+ "name": "_data",
2681
+ "type": "bytes",
2682
+ "internalType": "bytes"
2683
+ }
2684
+ ],
2685
+ "outputs": [],
2686
+ "stateMutability": "nonpayable"
2687
+ },
2688
+ {
2689
+ "type": "function",
2690
+ "name": "feeEscrowRegistry",
2691
+ "inputs": [],
2692
+ "outputs": [
2693
+ {
2694
+ "name": "",
2695
+ "type": "address",
2696
+ "internalType": "contract IFeeEscrowRegistry"
2697
+ }
2698
+ ],
2699
+ "stateMutability": "view"
2700
+ },
2701
+ {
2702
+ "type": "function",
2703
+ "name": "flaunchTokenInternalIds",
2704
+ "inputs": [
2705
+ {
2706
+ "name": "_flaunch",
2707
+ "type": "address",
2708
+ "internalType": "address"
2709
+ },
2710
+ {
2711
+ "name": "_tokenId",
2712
+ "type": "uint256",
2713
+ "internalType": "uint256"
2714
+ }
2715
+ ],
2716
+ "outputs": [
2717
+ {
2718
+ "name": "_internalId",
2719
+ "type": "uint256",
2720
+ "internalType": "uint256"
2721
+ }
2722
+ ],
2723
+ "stateMutability": "view"
2724
+ },
2725
+ {
2726
+ "type": "function",
2727
+ "name": "getCreatorFee",
2728
+ "inputs": [
2729
+ {
2730
+ "name": "_amount",
2731
+ "type": "uint256",
2732
+ "internalType": "uint256"
2733
+ }
2734
+ ],
2735
+ "outputs": [
2736
+ {
2737
+ "name": "creatorFee_",
2738
+ "type": "uint256",
2739
+ "internalType": "uint256"
2740
+ }
2741
+ ],
2742
+ "stateMutability": "view"
2743
+ },
2744
+ {
2745
+ "type": "function",
2746
+ "name": "getOwnerFee",
2747
+ "inputs": [
2748
+ {
2749
+ "name": "_amount",
2750
+ "type": "uint256",
2751
+ "internalType": "uint256"
2752
+ }
2753
+ ],
2754
+ "outputs": [
2755
+ {
2756
+ "name": "ownerFee_",
2757
+ "type": "uint256",
2758
+ "internalType": "uint256"
2759
+ }
2760
+ ],
2761
+ "stateMutability": "view"
2762
+ },
2763
+ {
2764
+ "type": "function",
2765
+ "name": "getPoolId",
2766
+ "inputs": [
2767
+ {
2768
+ "name": "_flaunchToken",
2769
+ "type": "tuple",
2770
+ "internalType": "struct ITreasuryManager.FlaunchToken",
2771
+ "components": [
2772
+ {
2773
+ "name": "flaunch",
2774
+ "type": "address",
2775
+ "internalType": "contract Flaunch"
2776
+ },
2777
+ {
2778
+ "name": "tokenId",
2779
+ "type": "uint256",
2780
+ "internalType": "uint256"
2781
+ }
2782
+ ]
2783
+ }
2784
+ ],
2785
+ "outputs": [
2786
+ {
2787
+ "name": "poolId_",
2788
+ "type": "bytes32",
2789
+ "internalType": "PoolId"
2790
+ }
2791
+ ],
2792
+ "stateMutability": "view"
2793
+ },
2794
+ {
2795
+ "type": "function",
2796
+ "name": "initialize",
2797
+ "inputs": [
2798
+ {
2799
+ "name": "_owner",
2800
+ "type": "address",
2801
+ "internalType": "address"
2802
+ },
2803
+ {
2804
+ "name": "_data",
2805
+ "type": "bytes",
2806
+ "internalType": "bytes"
2807
+ }
2808
+ ],
2809
+ "outputs": [],
2810
+ "stateMutability": "nonpayable"
2811
+ },
2812
+ {
2813
+ "type": "function",
2814
+ "name": "initialized",
2815
+ "inputs": [],
2816
+ "outputs": [
2817
+ {
2818
+ "name": "",
2819
+ "type": "bool",
2820
+ "internalType": "bool"
2821
+ }
2822
+ ],
2823
+ "stateMutability": "view"
2824
+ },
2825
+ {
2826
+ "type": "function",
2827
+ "name": "internalIds",
2828
+ "inputs": [
2829
+ {
2830
+ "name": "_internalId",
2831
+ "type": "uint256",
2832
+ "internalType": "uint256"
2833
+ }
2834
+ ],
2835
+ "outputs": [
2836
+ {
2837
+ "name": "flaunch",
2838
+ "type": "address",
2839
+ "internalType": "contract Flaunch"
2840
+ },
2841
+ {
2842
+ "name": "tokenId",
2843
+ "type": "uint256",
2844
+ "internalType": "uint256"
2845
+ }
2846
+ ],
2847
+ "stateMutability": "view"
2848
+ },
2849
+ {
2850
+ "type": "function",
2851
+ "name": "isValidCreator",
2852
+ "inputs": [
2853
+ {
2854
+ "name": "_creator",
2855
+ "type": "address",
2856
+ "internalType": "address"
2857
+ },
2858
+ {
2859
+ "name": "_data",
2860
+ "type": "bytes",
2861
+ "internalType": "bytes"
2862
+ }
2863
+ ],
2864
+ "outputs": [
2865
+ {
2866
+ "name": "",
2867
+ "type": "bool",
2868
+ "internalType": "bool"
2869
+ }
2870
+ ],
2871
+ "stateMutability": "view"
2872
+ },
2873
+ {
2874
+ "type": "function",
2875
+ "name": "isValidRecipient",
2876
+ "inputs": [
2877
+ {
2878
+ "name": "_recipient",
2879
+ "type": "address",
2880
+ "internalType": "address"
2881
+ },
2882
+ {
2883
+ "name": "",
2884
+ "type": "bytes",
2885
+ "internalType": "bytes"
2886
+ }
2887
+ ],
2888
+ "outputs": [
2889
+ {
2890
+ "name": "",
2891
+ "type": "bool",
2892
+ "internalType": "bool"
2893
+ }
2894
+ ],
2895
+ "stateMutability": "view"
2896
+ },
2897
+ {
2898
+ "type": "function",
2899
+ "name": "lastProcessedManagerFees",
2900
+ "inputs": [],
2901
+ "outputs": [
2902
+ {
2903
+ "name": "",
2904
+ "type": "uint256",
2905
+ "internalType": "uint256"
2906
+ }
2907
+ ],
2908
+ "stateMutability": "view"
2909
+ },
2910
+ {
2911
+ "type": "function",
2912
+ "name": "managerFees",
2913
+ "inputs": [],
2914
+ "outputs": [
2915
+ {
2916
+ "name": "",
2917
+ "type": "uint256",
2918
+ "internalType": "uint256"
2919
+ }
2920
+ ],
2921
+ "stateMutability": "view"
2922
+ },
2923
+ {
2924
+ "type": "function",
2925
+ "name": "managerOwner",
2926
+ "inputs": [],
2927
+ "outputs": [
2928
+ {
2929
+ "name": "",
2930
+ "type": "address",
2931
+ "internalType": "address"
2932
+ }
2933
+ ],
2934
+ "stateMutability": "view"
2935
+ },
2936
+ {
2937
+ "type": "function",
2938
+ "name": "moderator",
2939
+ "inputs": [],
2940
+ "outputs": [
2941
+ {
2942
+ "name": "",
2943
+ "type": "address",
2944
+ "internalType": "address"
2945
+ }
2946
+ ],
2947
+ "stateMutability": "view"
2948
+ },
2949
+ {
2950
+ "type": "function",
2951
+ "name": "nextInternalId",
2952
+ "inputs": [],
2953
+ "outputs": [
2954
+ {
2955
+ "name": "",
2956
+ "type": "uint256",
2957
+ "internalType": "uint256"
2958
+ }
2959
+ ],
2960
+ "stateMutability": "view"
2961
+ },
2962
+ {
2963
+ "type": "function",
2964
+ "name": "ownerFees",
2965
+ "inputs": [],
2966
+ "outputs": [
2967
+ {
2968
+ "name": "",
2969
+ "type": "uint256",
2970
+ "internalType": "uint256"
2971
+ }
2972
+ ],
2973
+ "stateMutability": "view"
2974
+ },
2975
+ {
2976
+ "type": "function",
2977
+ "name": "ownerShare",
2978
+ "inputs": [],
2979
+ "outputs": [
2980
+ {
2981
+ "name": "",
2982
+ "type": "uint256",
2983
+ "internalType": "uint256"
2984
+ }
2985
+ ],
2986
+ "stateMutability": "view"
2987
+ },
2988
+ {
2989
+ "type": "function",
2990
+ "name": "pendingCreatorFees",
2991
+ "inputs": [
2992
+ {
2993
+ "name": "_recipient",
2994
+ "type": "address",
2995
+ "internalType": "address"
2996
+ }
2997
+ ],
2998
+ "outputs": [
2999
+ {
3000
+ "name": "balance_",
3001
+ "type": "uint256",
3002
+ "internalType": "uint256"
3003
+ }
3004
+ ],
3005
+ "stateMutability": "view"
3006
+ },
3007
+ {
3008
+ "type": "function",
3009
+ "name": "pendingOwnerFees",
3010
+ "inputs": [],
3011
+ "outputs": [
3012
+ {
3013
+ "name": "",
3014
+ "type": "uint256",
3015
+ "internalType": "uint256"
3016
+ }
3017
+ ],
3018
+ "stateMutability": "view"
3019
+ },
3020
+ {
3021
+ "type": "function",
3022
+ "name": "permissions",
3023
+ "inputs": [],
3024
+ "outputs": [
3025
+ {
3026
+ "name": "",
3027
+ "type": "address",
3028
+ "internalType": "contract IManagerPermissions"
3029
+ }
3030
+ ],
3031
+ "stateMutability": "view"
3032
+ },
3033
+ {
3034
+ "type": "function",
3035
+ "name": "recipientAt",
3036
+ "inputs": [
3037
+ {
3038
+ "name": "_index",
3039
+ "type": "uint256",
3040
+ "internalType": "uint256"
3041
+ }
3042
+ ],
3043
+ "outputs": [
3044
+ {
3045
+ "name": "",
3046
+ "type": "address",
3047
+ "internalType": "address"
3048
+ }
3049
+ ],
3050
+ "stateMutability": "view"
3051
+ },
3052
+ {
3053
+ "type": "function",
3054
+ "name": "recipientCount",
3055
+ "inputs": [],
3056
+ "outputs": [
3057
+ {
3058
+ "name": "",
3059
+ "type": "uint256",
3060
+ "internalType": "uint256"
3061
+ }
3062
+ ],
3063
+ "stateMutability": "view"
3064
+ },
3065
+ {
3066
+ "type": "function",
3067
+ "name": "recipientShare",
3068
+ "inputs": [
3069
+ {
3070
+ "name": "_recipient",
3071
+ "type": "address",
3072
+ "internalType": "address"
3073
+ },
3074
+ {
3075
+ "name": "",
3076
+ "type": "bytes",
3077
+ "internalType": "bytes"
3078
+ }
3079
+ ],
3080
+ "outputs": [
3081
+ {
3082
+ "name": "",
3083
+ "type": "uint256",
3084
+ "internalType": "uint256"
3085
+ }
3086
+ ],
3087
+ "stateMutability": "view"
3088
+ },
3089
+ {
3090
+ "type": "function",
3091
+ "name": "recipients",
3092
+ "inputs": [
3093
+ {
3094
+ "name": "_recipient",
3095
+ "type": "address",
3096
+ "internalType": "address"
3097
+ }
3098
+ ],
3099
+ "outputs": [
3100
+ {
3101
+ "name": "share",
3102
+ "type": "uint256",
3103
+ "internalType": "uint256"
3104
+ },
3105
+ {
3106
+ "name": "debtPerShare",
3107
+ "type": "uint256",
3108
+ "internalType": "uint256"
3109
+ },
3110
+ {
3111
+ "name": "snapshotBalance",
3112
+ "type": "uint256",
3113
+ "internalType": "uint256"
3114
+ },
3115
+ {
3116
+ "name": "claimed",
3117
+ "type": "uint256",
3118
+ "internalType": "uint256"
3119
+ }
3120
+ ],
3121
+ "stateMutability": "view"
3122
+ },
3123
+ {
3124
+ "type": "function",
3125
+ "name": "rescue",
3126
+ "inputs": [
3127
+ {
3128
+ "name": "_flaunchToken",
3129
+ "type": "tuple",
3130
+ "internalType": "struct ITreasuryManager.FlaunchToken",
3131
+ "components": [
3132
+ {
3133
+ "name": "flaunch",
3134
+ "type": "address",
3135
+ "internalType": "contract Flaunch"
3136
+ },
3137
+ {
3138
+ "name": "tokenId",
3139
+ "type": "uint256",
3140
+ "internalType": "uint256"
3141
+ }
3142
+ ]
3143
+ },
3144
+ {
3145
+ "name": "_recipient",
3146
+ "type": "address",
3147
+ "internalType": "address"
3148
+ }
3149
+ ],
3150
+ "outputs": [],
3151
+ "stateMutability": "nonpayable"
3152
+ },
3153
+ {
3154
+ "type": "function",
3155
+ "name": "setCreator",
3156
+ "inputs": [
3157
+ {
3158
+ "name": "_flaunchToken",
3159
+ "type": "tuple",
3160
+ "internalType": "struct ITreasuryManager.FlaunchToken",
3161
+ "components": [
3162
+ {
3163
+ "name": "flaunch",
3164
+ "type": "address",
3165
+ "internalType": "contract Flaunch"
3166
+ },
3167
+ {
3168
+ "name": "tokenId",
3169
+ "type": "uint256",
3170
+ "internalType": "uint256"
3171
+ }
3172
+ ]
3173
+ },
3174
+ {
3175
+ "name": "_creator",
3176
+ "type": "address",
3177
+ "internalType": "address payable"
3178
+ }
3179
+ ],
3180
+ "outputs": [],
3181
+ "stateMutability": "nonpayable"
3182
+ },
3183
+ {
3184
+ "type": "function",
3185
+ "name": "setModerator",
3186
+ "inputs": [
3187
+ {
3188
+ "name": "_moderator",
3189
+ "type": "address",
3190
+ "internalType": "address"
3191
+ }
3192
+ ],
3193
+ "outputs": [],
3194
+ "stateMutability": "nonpayable"
3195
+ },
3196
+ {
3197
+ "type": "function",
3198
+ "name": "setPermissions",
3199
+ "inputs": [
3200
+ {
3201
+ "name": "_permissions",
3202
+ "type": "address",
3203
+ "internalType": "address"
3204
+ }
3205
+ ],
3206
+ "outputs": [],
3207
+ "stateMutability": "nonpayable"
3208
+ },
3209
+ {
3210
+ "type": "function",
3211
+ "name": "splitFees",
3212
+ "inputs": [],
3213
+ "outputs": [
3214
+ {
3215
+ "name": "",
3216
+ "type": "uint256",
3217
+ "internalType": "uint256"
3218
+ }
3219
+ ],
3220
+ "stateMutability": "view"
3221
+ },
3222
+ {
3223
+ "type": "function",
3224
+ "name": "tokenPoolId",
3225
+ "inputs": [
3226
+ {
3227
+ "name": "_internalId",
3228
+ "type": "uint256",
3229
+ "internalType": "uint256"
3230
+ }
3231
+ ],
3232
+ "outputs": [
3233
+ {
3234
+ "name": "_poolId",
3235
+ "type": "bytes32",
3236
+ "internalType": "PoolId"
3237
+ }
3238
+ ],
3239
+ "stateMutability": "view"
3240
+ },
3241
+ {
3242
+ "type": "function",
3243
+ "name": "tokenTimelock",
3244
+ "inputs": [
3245
+ {
3246
+ "name": "_flaunch",
3247
+ "type": "address",
3248
+ "internalType": "address"
3249
+ },
3250
+ {
3251
+ "name": "_tokenId",
3252
+ "type": "uint256",
3253
+ "internalType": "uint256"
3254
+ }
3255
+ ],
3256
+ "outputs": [
3257
+ {
3258
+ "name": "_unlockedAt",
3259
+ "type": "uint256",
3260
+ "internalType": "uint256"
3261
+ }
3262
+ ],
3263
+ "stateMutability": "view"
3264
+ },
3265
+ {
3266
+ "type": "function",
3267
+ "name": "tokenTotalClaimed",
3268
+ "inputs": [
3269
+ {
3270
+ "name": "_flaunch",
3271
+ "type": "address",
3272
+ "internalType": "address"
3273
+ },
3274
+ {
3275
+ "name": "_tokenId",
3276
+ "type": "uint256",
3277
+ "internalType": "uint256"
3278
+ }
3279
+ ],
3280
+ "outputs": [
3281
+ {
3282
+ "name": "_claimed",
3283
+ "type": "uint256",
3284
+ "internalType": "uint256"
3285
+ }
3286
+ ],
3287
+ "stateMutability": "view"
3288
+ },
3289
+ {
3290
+ "type": "function",
3291
+ "name": "tokens",
3292
+ "inputs": [
3293
+ {
3294
+ "name": "_creator",
3295
+ "type": "address",
3296
+ "internalType": "address"
3297
+ }
3298
+ ],
3299
+ "outputs": [
3300
+ {
3301
+ "name": "flaunchTokens_",
3302
+ "type": "tuple[]",
3303
+ "internalType": "struct ITreasuryManager.FlaunchToken[]",
3304
+ "components": [
3305
+ {
3306
+ "name": "flaunch",
3307
+ "type": "address",
3308
+ "internalType": "contract Flaunch"
3309
+ },
3310
+ {
3311
+ "name": "tokenId",
3312
+ "type": "uint256",
3313
+ "internalType": "uint256"
3314
+ }
3315
+ ]
3316
+ }
3317
+ ],
3318
+ "stateMutability": "view"
3319
+ },
3320
+ {
3321
+ "type": "function",
3322
+ "name": "totalActiveShares",
3323
+ "inputs": [],
3324
+ "outputs": [
3325
+ {
3326
+ "name": "",
3327
+ "type": "uint256",
3328
+ "internalType": "uint256"
3329
+ }
3330
+ ],
3331
+ "stateMutability": "view"
3332
+ },
3333
+ {
3334
+ "type": "function",
3335
+ "name": "transferManagerOwnership",
3336
+ "inputs": [
3337
+ {
3338
+ "name": "_newManagerOwner",
3339
+ "type": "address",
3340
+ "internalType": "address"
3341
+ }
3342
+ ],
3343
+ "outputs": [],
3344
+ "stateMutability": "nonpayable"
3345
+ },
3346
+ {
3347
+ "type": "function",
3348
+ "name": "transferRecipientShare",
3349
+ "inputs": [
3350
+ {
3351
+ "name": "_newRecipient",
3352
+ "type": "address",
3353
+ "internalType": "address"
3354
+ }
3355
+ ],
3356
+ "outputs": [],
3357
+ "stateMutability": "nonpayable"
3358
+ },
3359
+ {
3360
+ "type": "function",
3361
+ "name": "treasuryManagerFactory",
3362
+ "inputs": [],
3363
+ "outputs": [
3364
+ {
3365
+ "name": "",
3366
+ "type": "address",
3367
+ "internalType": "contract TreasuryManagerFactory"
3368
+ }
3369
+ ],
3370
+ "stateMutability": "view"
3371
+ },
3372
+ {
3373
+ "type": "function",
3374
+ "name": "updateRecipients",
3375
+ "inputs": [
3376
+ {
3377
+ "name": "_recipients",
3378
+ "type": "tuple[]",
3379
+ "internalType": "struct DynamicAddressFeeSplitManager.RecipientShare[]",
3380
+ "components": [
3381
+ {
3382
+ "name": "recipient",
3383
+ "type": "address",
3384
+ "internalType": "address"
3385
+ },
3386
+ {
3387
+ "name": "share",
3388
+ "type": "uint256",
3389
+ "internalType": "uint256"
3390
+ }
3391
+ ]
3392
+ }
3393
+ ],
3394
+ "outputs": [],
3395
+ "stateMutability": "nonpayable"
3396
+ },
3397
+ {
3398
+ "type": "event",
3399
+ "name": "CreatorShareInitialized",
3400
+ "inputs": [
3401
+ {
3402
+ "name": "_creatorShare",
3403
+ "type": "uint256",
3404
+ "indexed": false,
3405
+ "internalType": "uint256"
3406
+ }
3407
+ ],
3408
+ "anonymous": false
3409
+ },
3410
+ {
3411
+ "type": "event",
3412
+ "name": "CreatorUpdated",
3413
+ "inputs": [
3414
+ {
3415
+ "name": "_flaunch",
3416
+ "type": "address",
3417
+ "indexed": true,
3418
+ "internalType": "address"
3419
+ },
3420
+ {
3421
+ "name": "_tokenId",
3422
+ "type": "uint256",
3423
+ "indexed": true,
3424
+ "internalType": "uint256"
3425
+ },
3426
+ {
3427
+ "name": "_creator",
3428
+ "type": "address",
3429
+ "indexed": false,
3430
+ "internalType": "address"
3431
+ }
3432
+ ],
3433
+ "anonymous": false
3434
+ },
3435
+ {
3436
+ "type": "event",
3437
+ "name": "ETHReceivedFromUnknownSource",
3438
+ "inputs": [
3439
+ {
3440
+ "name": "_sender",
3441
+ "type": "address",
3442
+ "indexed": true,
3443
+ "internalType": "address"
3444
+ },
3445
+ {
3446
+ "name": "_amount",
3447
+ "type": "uint256",
3448
+ "indexed": false,
3449
+ "internalType": "uint256"
3450
+ }
3451
+ ],
3452
+ "anonymous": false
3453
+ },
3454
+ {
3455
+ "type": "event",
3456
+ "name": "ManagerInitialized",
3457
+ "inputs": [
3458
+ {
3459
+ "name": "_owner",
3460
+ "type": "address",
3461
+ "indexed": false,
3462
+ "internalType": "address"
3463
+ },
3464
+ {
3465
+ "name": "_params",
3466
+ "type": "tuple",
3467
+ "indexed": false,
3468
+ "internalType": "struct DynamicAddressFeeSplitManager.InitializeParams",
3469
+ "components": [
3470
+ {
3471
+ "name": "creatorShare",
3472
+ "type": "uint256",
3473
+ "internalType": "uint256"
3474
+ },
3475
+ {
3476
+ "name": "ownerShare",
3477
+ "type": "uint256",
3478
+ "internalType": "uint256"
3479
+ },
3480
+ {
3481
+ "name": "moderator",
3482
+ "type": "address",
3483
+ "internalType": "address"
3484
+ },
3485
+ {
3486
+ "name": "recipientShares",
3487
+ "type": "tuple[]",
3488
+ "internalType": "struct DynamicAddressFeeSplitManager.RecipientShare[]",
3489
+ "components": [
3490
+ {
3491
+ "name": "recipient",
3492
+ "type": "address",
3493
+ "internalType": "address"
3494
+ },
3495
+ {
3496
+ "name": "share",
3497
+ "type": "uint256",
3498
+ "internalType": "uint256"
3499
+ }
3500
+ ]
3501
+ }
3502
+ ]
3503
+ }
3504
+ ],
3505
+ "anonymous": false
3506
+ },
3507
+ {
3508
+ "type": "event",
3509
+ "name": "ManagerOwnershipTransferred",
3510
+ "inputs": [
3511
+ {
3512
+ "name": "_previousOwner",
3513
+ "type": "address",
3514
+ "indexed": true,
3515
+ "internalType": "address"
3516
+ },
3517
+ {
3518
+ "name": "_newOwner",
3519
+ "type": "address",
3520
+ "indexed": true,
3521
+ "internalType": "address"
3522
+ }
3523
+ ],
3524
+ "anonymous": false
3525
+ },
3526
+ {
3527
+ "type": "event",
3528
+ "name": "ModeratorUpdated",
3529
+ "inputs": [
3530
+ {
3531
+ "name": "_oldModerator",
3532
+ "type": "address",
3533
+ "indexed": true,
3534
+ "internalType": "address"
3535
+ },
3536
+ {
3537
+ "name": "_newModerator",
3538
+ "type": "address",
3539
+ "indexed": true,
3540
+ "internalType": "address"
3541
+ }
3542
+ ],
3543
+ "anonymous": false
3544
+ },
3545
+ {
3546
+ "type": "event",
3547
+ "name": "OwnerShareInitialized",
3548
+ "inputs": [
3549
+ {
3550
+ "name": "_ownerShare",
3551
+ "type": "uint256",
3552
+ "indexed": false,
3553
+ "internalType": "uint256"
3554
+ }
3555
+ ],
3556
+ "anonymous": false
3557
+ },
3558
+ {
3559
+ "type": "event",
3560
+ "name": "PermissionsUpdated",
3561
+ "inputs": [
3562
+ {
3563
+ "name": "_permissions",
3564
+ "type": "address",
3565
+ "indexed": false,
3566
+ "internalType": "address"
3567
+ }
3568
+ ],
3569
+ "anonymous": false
3570
+ },
3571
+ {
3572
+ "type": "event",
3573
+ "name": "RecipientAdded",
3574
+ "inputs": [
3575
+ {
3576
+ "name": "_recipient",
3577
+ "type": "address",
3578
+ "indexed": true,
3579
+ "internalType": "address"
3580
+ },
3581
+ {
3582
+ "name": "_share",
3583
+ "type": "uint256",
3584
+ "indexed": false,
3585
+ "internalType": "uint256"
3586
+ }
3587
+ ],
3588
+ "anonymous": false
3589
+ },
3590
+ {
3591
+ "type": "event",
3592
+ "name": "RecipientRemoved",
3593
+ "inputs": [
3594
+ {
3595
+ "name": "_recipient",
3596
+ "type": "address",
3597
+ "indexed": true,
3598
+ "internalType": "address"
3599
+ },
3600
+ {
3601
+ "name": "_snapshotBalance",
3602
+ "type": "uint256",
3603
+ "indexed": false,
3604
+ "internalType": "uint256"
3605
+ }
3606
+ ],
3607
+ "anonymous": false
3608
+ },
3609
+ {
3610
+ "type": "event",
3611
+ "name": "RecipientShareTransferred",
3612
+ "inputs": [
3613
+ {
3614
+ "name": "_oldRecipient",
3615
+ "type": "address",
3616
+ "indexed": true,
3617
+ "internalType": "address"
3618
+ },
3619
+ {
3620
+ "name": "_newRecipient",
3621
+ "type": "address",
3622
+ "indexed": true,
3623
+ "internalType": "address"
3624
+ },
3625
+ {
3626
+ "name": "_share",
3627
+ "type": "uint256",
3628
+ "indexed": false,
3629
+ "internalType": "uint256"
3630
+ }
3631
+ ],
3632
+ "anonymous": false
3633
+ },
3634
+ {
3635
+ "type": "event",
3636
+ "name": "RecipientShareUpdated",
3637
+ "inputs": [
3638
+ {
3639
+ "name": "_recipient",
3640
+ "type": "address",
3641
+ "indexed": true,
3642
+ "internalType": "address"
3643
+ },
3644
+ {
3645
+ "name": "_oldShare",
3646
+ "type": "uint256",
3647
+ "indexed": false,
3648
+ "internalType": "uint256"
3649
+ },
3650
+ {
3651
+ "name": "_newShare",
3652
+ "type": "uint256",
3653
+ "indexed": false,
3654
+ "internalType": "uint256"
3655
+ }
3656
+ ],
3657
+ "anonymous": false
3658
+ },
3659
+ {
3660
+ "type": "event",
3661
+ "name": "RevenueClaimed",
3662
+ "inputs": [
3663
+ {
3664
+ "name": "_recipient",
3665
+ "type": "address",
3666
+ "indexed": true,
3667
+ "internalType": "address"
3668
+ },
3669
+ {
3670
+ "name": "_amountClaimed",
3671
+ "type": "uint256",
3672
+ "indexed": false,
3673
+ "internalType": "uint256"
3674
+ }
3675
+ ],
3676
+ "anonymous": false
3677
+ },
3678
+ {
3679
+ "type": "event",
3680
+ "name": "RoundingDustAllocated",
3681
+ "inputs": [
3682
+ {
3683
+ "name": "_recipient",
3684
+ "type": "address",
3685
+ "indexed": true,
3686
+ "internalType": "address"
3687
+ },
3688
+ {
3689
+ "name": "_amount",
3690
+ "type": "uint256",
3691
+ "indexed": false,
3692
+ "internalType": "uint256"
3693
+ }
3694
+ ],
3695
+ "anonymous": false
3696
+ },
3697
+ {
3698
+ "type": "event",
3699
+ "name": "TreasuryEscrowed",
3700
+ "inputs": [
3701
+ {
3702
+ "name": "_flaunch",
3703
+ "type": "address",
3704
+ "indexed": true,
3705
+ "internalType": "address"
3706
+ },
3707
+ {
3708
+ "name": "_tokenId",
3709
+ "type": "uint256",
3710
+ "indexed": true,
3711
+ "internalType": "uint256"
3712
+ },
3713
+ {
3714
+ "name": "_owner",
3715
+ "type": "address",
3716
+ "indexed": false,
3717
+ "internalType": "address"
3718
+ },
3719
+ {
3720
+ "name": "_sender",
3721
+ "type": "address",
3722
+ "indexed": false,
3723
+ "internalType": "address"
3724
+ }
3725
+ ],
3726
+ "anonymous": false
3727
+ },
3728
+ {
3729
+ "type": "event",
3730
+ "name": "TreasuryReclaimed",
3731
+ "inputs": [
3732
+ {
3733
+ "name": "_flaunch",
3734
+ "type": "address",
3735
+ "indexed": true,
3736
+ "internalType": "address"
3737
+ },
3738
+ {
3739
+ "name": "_tokenId",
3740
+ "type": "uint256",
3741
+ "indexed": true,
3742
+ "internalType": "uint256"
3743
+ },
3744
+ {
3745
+ "name": "_sender",
3746
+ "type": "address",
3747
+ "indexed": false,
3748
+ "internalType": "address"
3749
+ },
3750
+ {
3751
+ "name": "_recipient",
3752
+ "type": "address",
3753
+ "indexed": false,
3754
+ "internalType": "address"
3755
+ }
3756
+ ],
3757
+ "anonymous": false
3758
+ },
3759
+ {
3760
+ "type": "event",
3761
+ "name": "TreasuryTimelocked",
3762
+ "inputs": [
3763
+ {
3764
+ "name": "_flaunch",
3765
+ "type": "address",
3766
+ "indexed": true,
3767
+ "internalType": "address"
3768
+ },
3769
+ {
3770
+ "name": "_tokenId",
3771
+ "type": "uint256",
3772
+ "indexed": true,
3773
+ "internalType": "uint256"
3774
+ },
3775
+ {
3776
+ "name": "_unlockedAt",
3777
+ "type": "uint256",
3778
+ "indexed": false,
3779
+ "internalType": "uint256"
3780
+ }
3781
+ ],
3782
+ "anonymous": false
3783
+ },
3784
+ {
3785
+ "type": "error",
3786
+ "name": "AlreadyDeposited",
3787
+ "inputs": []
3788
+ },
3789
+ {
3790
+ "type": "error",
3791
+ "name": "AlreadyInitialized",
3792
+ "inputs": []
3793
+ },
3794
+ {
3795
+ "type": "error",
3796
+ "name": "CreatorShareAlreadyInitialized",
3797
+ "inputs": []
3798
+ },
3799
+ {
3800
+ "type": "error",
3801
+ "name": "FlaunchContractNotValid",
3802
+ "inputs": []
3803
+ },
3804
+ {
3805
+ "type": "error",
3806
+ "name": "InsufficientSharesToTransfer",
3807
+ "inputs": []
3808
+ },
3809
+ {
3810
+ "type": "error",
3811
+ "name": "InvalidClaimer",
3812
+ "inputs": []
3813
+ },
3814
+ {
3815
+ "type": "error",
3816
+ "name": "InvalidCreator",
3817
+ "inputs": []
3818
+ },
3819
+ {
3820
+ "type": "error",
3821
+ "name": "InvalidCreatorAddress",
3822
+ "inputs": []
3823
+ },
3824
+ {
3825
+ "type": "error",
3826
+ "name": "InvalidCreatorShare",
3827
+ "inputs": []
3828
+ },
3829
+ {
3830
+ "type": "error",
3831
+ "name": "InvalidOwnerShare",
3832
+ "inputs": []
3833
+ },
3834
+ {
3835
+ "type": "error",
3836
+ "name": "InvalidRecipient",
3837
+ "inputs": []
3838
+ },
3839
+ {
3840
+ "type": "error",
3841
+ "name": "InvalidRecipientShareTotal",
3842
+ "inputs": [
3843
+ {
3844
+ "name": "_share",
3845
+ "type": "uint256",
3846
+ "internalType": "uint256"
3847
+ },
3848
+ {
3849
+ "name": "_validShare",
3850
+ "type": "uint256",
3851
+ "internalType": "uint256"
3852
+ }
3853
+ ]
3854
+ },
3855
+ {
3856
+ "type": "error",
3857
+ "name": "InvalidShareAmount",
3858
+ "inputs": []
3859
+ },
3860
+ {
3861
+ "type": "error",
3862
+ "name": "InvalidShareTotal",
3863
+ "inputs": []
3864
+ },
3865
+ {
3866
+ "type": "error",
3867
+ "name": "InvalidShareTransferRecipient",
3868
+ "inputs": []
3869
+ },
3870
+ {
3871
+ "type": "error",
3872
+ "name": "NotInitialized",
3873
+ "inputs": []
3874
+ },
3875
+ {
3876
+ "type": "error",
3877
+ "name": "NotManagerOwner",
3878
+ "inputs": []
3879
+ },
3880
+ {
3881
+ "type": "error",
3882
+ "name": "NotOwnerOrModerator",
3883
+ "inputs": []
3884
+ },
3885
+ {
3886
+ "type": "error",
3887
+ "name": "OwnerShareAlreadyInitialized",
3888
+ "inputs": []
3889
+ },
3890
+ {
3891
+ "type": "error",
3892
+ "name": "RecipientAlreadyActive",
3893
+ "inputs": []
3894
+ },
3895
+ {
3896
+ "type": "error",
3897
+ "name": "RecipientNotActive",
3898
+ "inputs": []
3899
+ },
3900
+ {
3901
+ "type": "error",
3902
+ "name": "Reentrancy",
3903
+ "inputs": []
3904
+ },
3905
+ {
3906
+ "type": "error",
3907
+ "name": "TokenTimelocked",
3908
+ "inputs": [
3909
+ {
3910
+ "name": "_unlockedAt",
3911
+ "type": "uint256",
3912
+ "internalType": "uint256"
3913
+ }
3914
+ ]
3915
+ },
3916
+ {
3917
+ "type": "error",
3918
+ "name": "UnableToSendRevenue",
3919
+ "inputs": [
3920
+ {
3921
+ "name": "_reason",
3922
+ "type": "bytes",
3923
+ "internalType": "bytes"
3924
+ }
3925
+ ]
3926
+ },
3927
+ {
3928
+ "type": "error",
3929
+ "name": "UnknownFlaunchToken",
3930
+ "inputs": []
3931
+ },
3932
+ {
3933
+ "type": "error",
3934
+ "name": "UnknownPoolId",
3935
+ "inputs": []
3936
+ }
3937
+ ];
3938
+
2447
3939
  const FairLaunchAbi = [
2448
3940
  {
2449
3941
  inputs: [
@@ -12557,6 +14049,7 @@ const UniversalRouterAbi = [
12557
14049
  exports.AnyPositionManagerAbi = AnyPositionManagerAbi;
12558
14050
  exports.BidWallV1_1Abi = BidWallV1_1Abi;
12559
14051
  exports.BidwallAbi = BidwallAbi;
14052
+ exports.DynamicAddressFeeSplitManagerAbi = DynamicAddressFeeSplitManagerAbi;
12560
14053
  exports.FairLaunchAbi = FairLaunchAbi;
12561
14054
  exports.FairLaunchV1_1Abi = FairLaunchV1_1Abi;
12562
14055
  exports.FastFlaunchZapAbi = FastFlaunchZapAbi;