@zoralabs/protocol-deployments 0.3.11-DEV.1 → 0.3.11-DEV.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1574,6 +1574,10 @@ __export(src_exports, {
1574
1574
  callerAndCommenterABI: () => callerAndCommenterABI,
1575
1575
  callerAndCommenterAddress: () => callerAndCommenterAddress,
1576
1576
  callerAndCommenterConfig: () => callerAndCommenterConfig,
1577
+ cointagABI: () => cointagABI,
1578
+ cointagFactoryABI: () => cointagFactoryABI,
1579
+ cointagFactoryAddress: () => cointagFactoryAddress,
1580
+ cointagFactoryConfig: () => cointagFactoryConfig,
1577
1581
  commentsABI: () => commentsABI,
1578
1582
  commentsAddress: () => commentsAddress,
1579
1583
  commentsConfig: () => commentsConfig,
@@ -2690,6 +2694,530 @@ var callerAndCommenterConfig = {
2690
2694
  address: callerAndCommenterAddress,
2691
2695
  abi: callerAndCommenterABI
2692
2696
  };
2697
+ var cointagABI = [
2698
+ {
2699
+ type: "constructor",
2700
+ inputs: [
2701
+ { name: "_protocolRewards", internalType: "address", type: "address" },
2702
+ { name: "_weth", internalType: "address", type: "address" }
2703
+ ],
2704
+ stateMutability: "nonpayable"
2705
+ },
2706
+ { type: "receive", stateMutability: "payable" },
2707
+ {
2708
+ type: "function",
2709
+ inputs: [],
2710
+ name: "PERCENTAGE_BASIS",
2711
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
2712
+ stateMutability: "view"
2713
+ },
2714
+ {
2715
+ type: "function",
2716
+ inputs: [],
2717
+ name: "creatorRewardRecipient",
2718
+ outputs: [{ name: "", internalType: "address", type: "address" }],
2719
+ stateMutability: "view"
2720
+ },
2721
+ {
2722
+ type: "function",
2723
+ inputs: [],
2724
+ name: "erc20",
2725
+ outputs: [
2726
+ { name: "", internalType: "contract IBurnableERC20", type: "address" }
2727
+ ],
2728
+ stateMutability: "view"
2729
+ },
2730
+ {
2731
+ type: "function",
2732
+ inputs: [
2733
+ {
2734
+ name: "_creatorRewardRecipient",
2735
+ internalType: "address",
2736
+ type: "address"
2737
+ },
2738
+ { name: "_pool", internalType: "address", type: "address" },
2739
+ {
2740
+ name: "_percentageToBuyBurn",
2741
+ internalType: "uint256",
2742
+ type: "uint256"
2743
+ }
2744
+ ],
2745
+ name: "initialize",
2746
+ outputs: [],
2747
+ stateMutability: "nonpayable"
2748
+ },
2749
+ {
2750
+ type: "function",
2751
+ inputs: [],
2752
+ name: "percentageToBuyBurn",
2753
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
2754
+ stateMutability: "view"
2755
+ },
2756
+ {
2757
+ type: "function",
2758
+ inputs: [],
2759
+ name: "pool",
2760
+ outputs: [
2761
+ { name: "", internalType: "contract IUniswapV3Pool", type: "address" }
2762
+ ],
2763
+ stateMutability: "view"
2764
+ },
2765
+ {
2766
+ type: "function",
2767
+ inputs: [],
2768
+ name: "protocolRewards",
2769
+ outputs: [
2770
+ { name: "", internalType: "contract IProtocolRewards", type: "address" }
2771
+ ],
2772
+ stateMutability: "view"
2773
+ },
2774
+ {
2775
+ type: "function",
2776
+ inputs: [
2777
+ { name: "amount0Delta", internalType: "int256", type: "int256" },
2778
+ { name: "amount1Delta", internalType: "int256", type: "int256" },
2779
+ { name: "", internalType: "bytes", type: "bytes" }
2780
+ ],
2781
+ name: "uniswapV3SwapCallback",
2782
+ outputs: [],
2783
+ stateMutability: "nonpayable"
2784
+ },
2785
+ {
2786
+ type: "function",
2787
+ inputs: [],
2788
+ name: "weth",
2789
+ outputs: [{ name: "", internalType: "contract IWETH", type: "address" }],
2790
+ stateMutability: "view"
2791
+ },
2792
+ {
2793
+ type: "function",
2794
+ inputs: [],
2795
+ name: "withdraw",
2796
+ outputs: [],
2797
+ stateMutability: "nonpayable"
2798
+ },
2799
+ {
2800
+ type: "event",
2801
+ anonymous: false,
2802
+ inputs: [
2803
+ {
2804
+ name: "amountERc20Received",
2805
+ internalType: "uint256",
2806
+ type: "uint256",
2807
+ indexed: false
2808
+ },
2809
+ {
2810
+ name: "amountERc20Burned",
2811
+ internalType: "uint256",
2812
+ type: "uint256",
2813
+ indexed: false
2814
+ },
2815
+ {
2816
+ name: "amountEthSpent",
2817
+ internalType: "uint256",
2818
+ type: "uint256",
2819
+ indexed: false
2820
+ },
2821
+ {
2822
+ name: "amountEthToCreator",
2823
+ internalType: "uint256",
2824
+ type: "uint256",
2825
+ indexed: false
2826
+ },
2827
+ {
2828
+ name: "totalEthReceived",
2829
+ internalType: "uint256",
2830
+ type: "uint256",
2831
+ indexed: false
2832
+ },
2833
+ {
2834
+ name: "buyFailureError",
2835
+ internalType: "bytes",
2836
+ type: "bytes",
2837
+ indexed: false
2838
+ },
2839
+ {
2840
+ name: "burnFailureError",
2841
+ internalType: "bytes",
2842
+ type: "bytes",
2843
+ indexed: false
2844
+ }
2845
+ ],
2846
+ name: "BuyBurn"
2847
+ },
2848
+ {
2849
+ type: "event",
2850
+ anonymous: false,
2851
+ inputs: [
2852
+ {
2853
+ name: "version",
2854
+ internalType: "uint64",
2855
+ type: "uint64",
2856
+ indexed: false
2857
+ }
2858
+ ],
2859
+ name: "Initialized"
2860
+ },
2861
+ {
2862
+ type: "event",
2863
+ anonymous: false,
2864
+ inputs: [
2865
+ {
2866
+ name: "creatorRewardRecipient",
2867
+ internalType: "address",
2868
+ type: "address",
2869
+ indexed: false
2870
+ },
2871
+ {
2872
+ name: "erc20",
2873
+ internalType: "address",
2874
+ type: "address",
2875
+ indexed: false
2876
+ },
2877
+ {
2878
+ name: "pool",
2879
+ internalType: "address",
2880
+ type: "address",
2881
+ indexed: false
2882
+ },
2883
+ {
2884
+ name: "percentageToBuyBurn",
2885
+ internalType: "uint256",
2886
+ type: "uint256",
2887
+ indexed: false
2888
+ }
2889
+ ],
2890
+ name: "Initialized"
2891
+ },
2892
+ {
2893
+ type: "error",
2894
+ inputs: [{ name: "target", internalType: "address", type: "address" }],
2895
+ name: "AddressEmptyCode"
2896
+ },
2897
+ {
2898
+ type: "error",
2899
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
2900
+ name: "AddressInsufficientBalance"
2901
+ },
2902
+ { type: "error", inputs: [], name: "FailedInnerCall" },
2903
+ { type: "error", inputs: [], name: "InvalidInitialization" },
2904
+ { type: "error", inputs: [], name: "NotInitializing" },
2905
+ { type: "error", inputs: [], name: "ONLY_POOL" },
2906
+ { type: "error", inputs: [], name: "ONLY_PROTOCOL_REWARDS_OR_WETH" },
2907
+ {
2908
+ type: "error",
2909
+ inputs: [{ name: "token", internalType: "address", type: "address" }],
2910
+ name: "SafeERC20FailedOperation"
2911
+ }
2912
+ ];
2913
+ var cointagFactoryABI = [
2914
+ {
2915
+ type: "constructor",
2916
+ inputs: [
2917
+ { name: "_protocolRewards", internalType: "address", type: "address" },
2918
+ { name: "_weth", internalType: "address", type: "address" },
2919
+ {
2920
+ name: "_cointagImplementation",
2921
+ internalType: "address",
2922
+ type: "address"
2923
+ }
2924
+ ],
2925
+ stateMutability: "nonpayable"
2926
+ },
2927
+ {
2928
+ type: "function",
2929
+ inputs: [],
2930
+ name: "UPGRADE_INTERFACE_VERSION",
2931
+ outputs: [{ name: "", internalType: "string", type: "string" }],
2932
+ stateMutability: "view"
2933
+ },
2934
+ {
2935
+ type: "function",
2936
+ inputs: [],
2937
+ name: "acceptOwnership",
2938
+ outputs: [],
2939
+ stateMutability: "nonpayable"
2940
+ },
2941
+ {
2942
+ type: "function",
2943
+ inputs: [],
2944
+ name: "cointagImplementation",
2945
+ outputs: [{ name: "", internalType: "address", type: "address" }],
2946
+ stateMutability: "view"
2947
+ },
2948
+ {
2949
+ type: "function",
2950
+ inputs: [],
2951
+ name: "contractName",
2952
+ outputs: [{ name: "", internalType: "string", type: "string" }],
2953
+ stateMutability: "pure"
2954
+ },
2955
+ {
2956
+ type: "function",
2957
+ inputs: [],
2958
+ name: "contractURI",
2959
+ outputs: [{ name: "", internalType: "string", type: "string" }],
2960
+ stateMutability: "pure"
2961
+ },
2962
+ {
2963
+ type: "function",
2964
+ inputs: [],
2965
+ name: "contractVersion",
2966
+ outputs: [{ name: "", internalType: "string", type: "string" }],
2967
+ stateMutability: "pure"
2968
+ },
2969
+ {
2970
+ type: "function",
2971
+ inputs: [
2972
+ {
2973
+ name: "_creatorRewardRecipient",
2974
+ internalType: "address",
2975
+ type: "address"
2976
+ },
2977
+ { name: "_pool", internalType: "address", type: "address" },
2978
+ {
2979
+ name: "_percentageToBuyBurn",
2980
+ internalType: "uint256",
2981
+ type: "uint256"
2982
+ },
2983
+ { name: "saltSource", internalType: "bytes", type: "bytes" }
2984
+ ],
2985
+ name: "getOrCreateCointag",
2986
+ outputs: [{ name: "", internalType: "address", type: "address" }],
2987
+ stateMutability: "nonpayable"
2988
+ },
2989
+ {
2990
+ type: "function",
2991
+ inputs: [],
2992
+ name: "implementation",
2993
+ outputs: [{ name: "", internalType: "address", type: "address" }],
2994
+ stateMutability: "view"
2995
+ },
2996
+ {
2997
+ type: "function",
2998
+ inputs: [
2999
+ { name: "_defaultOwner", internalType: "address", type: "address" }
3000
+ ],
3001
+ name: "initialize",
3002
+ outputs: [],
3003
+ stateMutability: "nonpayable"
3004
+ },
3005
+ {
3006
+ type: "function",
3007
+ inputs: [],
3008
+ name: "owner",
3009
+ outputs: [{ name: "", internalType: "address", type: "address" }],
3010
+ stateMutability: "view"
3011
+ },
3012
+ {
3013
+ type: "function",
3014
+ inputs: [],
3015
+ name: "pendingOwner",
3016
+ outputs: [{ name: "", internalType: "address", type: "address" }],
3017
+ stateMutability: "view"
3018
+ },
3019
+ {
3020
+ type: "function",
3021
+ inputs: [],
3022
+ name: "protocolRewards",
3023
+ outputs: [{ name: "", internalType: "address", type: "address" }],
3024
+ stateMutability: "view"
3025
+ },
3026
+ {
3027
+ type: "function",
3028
+ inputs: [],
3029
+ name: "proxiableUUID",
3030
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
3031
+ stateMutability: "view"
3032
+ },
3033
+ {
3034
+ type: "function",
3035
+ inputs: [],
3036
+ name: "renounceOwnership",
3037
+ outputs: [],
3038
+ stateMutability: "nonpayable"
3039
+ },
3040
+ {
3041
+ type: "function",
3042
+ inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
3043
+ name: "transferOwnership",
3044
+ outputs: [],
3045
+ stateMutability: "nonpayable"
3046
+ },
3047
+ {
3048
+ type: "function",
3049
+ inputs: [
3050
+ { name: "newImplementation", internalType: "address", type: "address" },
3051
+ { name: "data", internalType: "bytes", type: "bytes" }
3052
+ ],
3053
+ name: "upgradeToAndCall",
3054
+ outputs: [],
3055
+ stateMutability: "payable"
3056
+ },
3057
+ {
3058
+ type: "function",
3059
+ inputs: [],
3060
+ name: "weth",
3061
+ outputs: [{ name: "", internalType: "address", type: "address" }],
3062
+ stateMutability: "view"
3063
+ },
3064
+ {
3065
+ type: "event",
3066
+ anonymous: false,
3067
+ inputs: [
3068
+ {
3069
+ name: "version",
3070
+ internalType: "uint64",
3071
+ type: "uint64",
3072
+ indexed: false
3073
+ }
3074
+ ],
3075
+ name: "Initialized"
3076
+ },
3077
+ {
3078
+ type: "event",
3079
+ anonymous: false,
3080
+ inputs: [
3081
+ {
3082
+ name: "previousOwner",
3083
+ internalType: "address",
3084
+ type: "address",
3085
+ indexed: true
3086
+ },
3087
+ {
3088
+ name: "newOwner",
3089
+ internalType: "address",
3090
+ type: "address",
3091
+ indexed: true
3092
+ }
3093
+ ],
3094
+ name: "OwnershipTransferStarted"
3095
+ },
3096
+ {
3097
+ type: "event",
3098
+ anonymous: false,
3099
+ inputs: [
3100
+ {
3101
+ name: "previousOwner",
3102
+ internalType: "address",
3103
+ type: "address",
3104
+ indexed: true
3105
+ },
3106
+ {
3107
+ name: "newOwner",
3108
+ internalType: "address",
3109
+ type: "address",
3110
+ indexed: true
3111
+ }
3112
+ ],
3113
+ name: "OwnershipTransferred"
3114
+ },
3115
+ {
3116
+ type: "event",
3117
+ anonymous: false,
3118
+ inputs: [
3119
+ {
3120
+ name: "cointag",
3121
+ internalType: "address",
3122
+ type: "address",
3123
+ indexed: true
3124
+ },
3125
+ {
3126
+ name: "creatorRewardRecipient",
3127
+ internalType: "address",
3128
+ type: "address",
3129
+ indexed: true
3130
+ },
3131
+ {
3132
+ name: "erc20",
3133
+ internalType: "address",
3134
+ type: "address",
3135
+ indexed: true
3136
+ },
3137
+ {
3138
+ name: "pool",
3139
+ internalType: "address",
3140
+ type: "address",
3141
+ indexed: false
3142
+ },
3143
+ {
3144
+ name: "percentageToBuyBurn",
3145
+ internalType: "uint256",
3146
+ type: "uint256",
3147
+ indexed: false
3148
+ },
3149
+ {
3150
+ name: "saltSource",
3151
+ internalType: "bytes",
3152
+ type: "bytes",
3153
+ indexed: false
3154
+ }
3155
+ ],
3156
+ name: "SetupNewCointag"
3157
+ },
3158
+ {
3159
+ type: "event",
3160
+ anonymous: false,
3161
+ inputs: [
3162
+ {
3163
+ name: "implementation",
3164
+ internalType: "address",
3165
+ type: "address",
3166
+ indexed: true
3167
+ }
3168
+ ],
3169
+ name: "Upgraded"
3170
+ },
3171
+ {
3172
+ type: "error",
3173
+ inputs: [{ name: "target", internalType: "address", type: "address" }],
3174
+ name: "AddressEmptyCode"
3175
+ },
3176
+ { type: "error", inputs: [], name: "AddressZero" },
3177
+ { type: "error", inputs: [], name: "ERC1167FailedCreateClone" },
3178
+ {
3179
+ type: "error",
3180
+ inputs: [
3181
+ { name: "implementation", internalType: "address", type: "address" }
3182
+ ],
3183
+ name: "ERC1967InvalidImplementation"
3184
+ },
3185
+ { type: "error", inputs: [], name: "ERC1967NonPayable" },
3186
+ { type: "error", inputs: [], name: "FailedInnerCall" },
3187
+ { type: "error", inputs: [], name: "InvalidInitialization" },
3188
+ { type: "error", inputs: [], name: "NotInitializing" },
3189
+ {
3190
+ type: "error",
3191
+ inputs: [{ name: "owner", internalType: "address", type: "address" }],
3192
+ name: "OwnableInvalidOwner"
3193
+ },
3194
+ {
3195
+ type: "error",
3196
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
3197
+ name: "OwnableUnauthorizedAccount"
3198
+ },
3199
+ { type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
3200
+ {
3201
+ type: "error",
3202
+ inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
3203
+ name: "UUPSUnsupportedProxiableUUID"
3204
+ },
3205
+ {
3206
+ type: "error",
3207
+ inputs: [
3208
+ { name: "currentName", internalType: "string", type: "string" },
3209
+ { name: "newName", internalType: "string", type: "string" }
3210
+ ],
3211
+ name: "UpgradeToMismatchedContractName"
3212
+ }
3213
+ ];
3214
+ var cointagFactoryAddress = {
3215
+ 84532: "0x77777779A8ed7943134E4E2D5C48698bCcBE8Be8"
3216
+ };
3217
+ var cointagFactoryConfig = {
3218
+ address: cointagFactoryAddress,
3219
+ abi: cointagFactoryABI
3220
+ };
2693
3221
  var commentsABI = [
2694
3222
  {
2695
3223
  type: "constructor",
@@ -15466,6 +15994,10 @@ var addresses2 = {
15466
15994
  callerAndCommenterABI,
15467
15995
  callerAndCommenterAddress,
15468
15996
  callerAndCommenterConfig,
15997
+ cointagABI,
15998
+ cointagFactoryABI,
15999
+ cointagFactoryAddress,
16000
+ cointagFactoryConfig,
15469
16001
  commentsABI,
15470
16002
  commentsAddress,
15471
16003
  commentsConfig,