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