@zoralabs/protocol-deployments 0.3.11 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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,
@@ -1589,6 +1593,7 @@ __export(src_exports, {
1589
1593
  erc20ZRoyaltiesConfig: () => erc20ZRoyaltiesConfig,
1590
1594
  iPremintDefinitionsABI: () => iPremintDefinitionsABI,
1591
1595
  iSponsoredSparksSpenderActionABI: () => iSponsoredSparksSpenderActionABI,
1596
+ iUniswapV3PoolABI: () => iUniswapV3PoolABI,
1592
1597
  iUnwrapAndForwardActionABI: () => iUnwrapAndForwardActionABI,
1593
1598
  mintsEthUnwrapperAndCallerABI: () => mintsEthUnwrapperAndCallerABI,
1594
1599
  mintsEthUnwrapperAndCallerAddress: () => mintsEthUnwrapperAndCallerAddress,
@@ -1616,6 +1621,9 @@ __export(src_exports, {
1616
1621
  sponsoredSparksSpenderABI: () => sponsoredSparksSpenderABI,
1617
1622
  sponsoredSparksSpenderAddress: () => sponsoredSparksSpenderAddress,
1618
1623
  sponsoredSparksSpenderConfig: () => sponsoredSparksSpenderConfig,
1624
+ uniswapV3SwapRouterABI: () => uniswapV3SwapRouterABI,
1625
+ uniswapV3SwapRouterAddress: () => uniswapV3SwapRouterAddress,
1626
+ uniswapV3SwapRouterConfig: () => uniswapV3SwapRouterConfig,
1619
1627
  upgradeGateABI: () => upgradeGateABI,
1620
1628
  upgradeGateAddress: () => upgradeGateAddress,
1621
1629
  upgradeGateConfig: () => upgradeGateConfig,
@@ -2690,6 +2698,796 @@ var callerAndCommenterConfig = {
2690
2698
  address: callerAndCommenterAddress,
2691
2699
  abi: callerAndCommenterABI
2692
2700
  };
2701
+ var cointagABI = [
2702
+ {
2703
+ type: "constructor",
2704
+ inputs: [
2705
+ { name: "protocolRewards_", internalType: "address", type: "address" },
2706
+ { name: "weth_", internalType: "address", type: "address" },
2707
+ { name: "upgradeGate_", internalType: "address", type: "address" }
2708
+ ],
2709
+ stateMutability: "nonpayable"
2710
+ },
2711
+ { type: "receive", stateMutability: "payable" },
2712
+ {
2713
+ type: "function",
2714
+ inputs: [],
2715
+ name: "PERCENTAGE_BASIS",
2716
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
2717
+ stateMutability: "view"
2718
+ },
2719
+ {
2720
+ type: "function",
2721
+ inputs: [],
2722
+ name: "UPGRADE_INTERFACE_VERSION",
2723
+ outputs: [{ name: "", internalType: "string", type: "string" }],
2724
+ stateMutability: "view"
2725
+ },
2726
+ {
2727
+ type: "function",
2728
+ inputs: [],
2729
+ name: "acceptOwnership",
2730
+ outputs: [],
2731
+ stateMutability: "nonpayable"
2732
+ },
2733
+ {
2734
+ type: "function",
2735
+ inputs: [],
2736
+ name: "config",
2737
+ outputs: [
2738
+ {
2739
+ name: "cointagStorage",
2740
+ internalType: "struct ICointag.CointagStorageV1",
2741
+ type: "tuple",
2742
+ components: [
2743
+ {
2744
+ name: "creatorRewardRecipient",
2745
+ internalType: "address",
2746
+ type: "address"
2747
+ },
2748
+ { name: "erc20", internalType: "contract IERC20", type: "address" },
2749
+ {
2750
+ name: "pool",
2751
+ internalType: "contract IUniswapV3Pool",
2752
+ type: "address"
2753
+ },
2754
+ {
2755
+ name: "percentageToBuyBurn",
2756
+ internalType: "uint256",
2757
+ type: "uint256"
2758
+ }
2759
+ ]
2760
+ }
2761
+ ],
2762
+ stateMutability: "pure"
2763
+ },
2764
+ {
2765
+ type: "function",
2766
+ inputs: [],
2767
+ name: "contractName",
2768
+ outputs: [{ name: "", internalType: "string", type: "string" }],
2769
+ stateMutability: "pure"
2770
+ },
2771
+ {
2772
+ type: "function",
2773
+ inputs: [],
2774
+ name: "contractVersion",
2775
+ outputs: [{ name: "", internalType: "string", type: "string" }],
2776
+ stateMutability: "pure"
2777
+ },
2778
+ {
2779
+ type: "function",
2780
+ inputs: [],
2781
+ name: "distribute",
2782
+ outputs: [],
2783
+ stateMutability: "nonpayable"
2784
+ },
2785
+ {
2786
+ type: "function",
2787
+ inputs: [],
2788
+ name: "erc20",
2789
+ outputs: [{ name: "", internalType: "contract IERC20", type: "address" }],
2790
+ stateMutability: "view"
2791
+ },
2792
+ {
2793
+ type: "function",
2794
+ inputs: [],
2795
+ name: "implementation",
2796
+ outputs: [{ name: "", internalType: "address", type: "address" }],
2797
+ stateMutability: "view"
2798
+ },
2799
+ {
2800
+ type: "function",
2801
+ inputs: [
2802
+ {
2803
+ name: "creatorRewardRecipient",
2804
+ internalType: "address",
2805
+ type: "address"
2806
+ },
2807
+ { name: "pool_", internalType: "address", type: "address" },
2808
+ { name: "percentageToBuyBurn", internalType: "uint256", type: "uint256" }
2809
+ ],
2810
+ name: "initialize",
2811
+ outputs: [],
2812
+ stateMutability: "nonpayable"
2813
+ },
2814
+ {
2815
+ type: "function",
2816
+ inputs: [],
2817
+ name: "owner",
2818
+ outputs: [{ name: "", internalType: "address", type: "address" }],
2819
+ stateMutability: "view"
2820
+ },
2821
+ {
2822
+ type: "function",
2823
+ inputs: [],
2824
+ name: "pendingOwner",
2825
+ outputs: [{ name: "", internalType: "address", type: "address" }],
2826
+ stateMutability: "view"
2827
+ },
2828
+ {
2829
+ type: "function",
2830
+ inputs: [],
2831
+ name: "pool",
2832
+ outputs: [
2833
+ { name: "", internalType: "contract IUniswapV3Pool", type: "address" }
2834
+ ],
2835
+ stateMutability: "view"
2836
+ },
2837
+ {
2838
+ type: "function",
2839
+ inputs: [],
2840
+ name: "protocolRewards",
2841
+ outputs: [
2842
+ { name: "", internalType: "contract IProtocolRewards", type: "address" }
2843
+ ],
2844
+ stateMutability: "view"
2845
+ },
2846
+ {
2847
+ type: "function",
2848
+ inputs: [],
2849
+ name: "proxiableUUID",
2850
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
2851
+ stateMutability: "view"
2852
+ },
2853
+ {
2854
+ type: "function",
2855
+ inputs: [],
2856
+ name: "pull",
2857
+ outputs: [],
2858
+ stateMutability: "nonpayable"
2859
+ },
2860
+ {
2861
+ type: "function",
2862
+ inputs: [],
2863
+ name: "renounceOwnership",
2864
+ outputs: [],
2865
+ stateMutability: "nonpayable"
2866
+ },
2867
+ {
2868
+ type: "function",
2869
+ inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
2870
+ name: "transferOwnership",
2871
+ outputs: [],
2872
+ stateMutability: "nonpayable"
2873
+ },
2874
+ {
2875
+ type: "function",
2876
+ inputs: [
2877
+ { name: "amount0Delta", internalType: "int256", type: "int256" },
2878
+ { name: "amount1Delta", internalType: "int256", type: "int256" },
2879
+ { name: "", internalType: "bytes", type: "bytes" }
2880
+ ],
2881
+ name: "uniswapV3SwapCallback",
2882
+ outputs: [],
2883
+ stateMutability: "nonpayable"
2884
+ },
2885
+ {
2886
+ type: "function",
2887
+ inputs: [],
2888
+ name: "upgradeGate",
2889
+ outputs: [
2890
+ { name: "", internalType: "contract IUpgradeGate", type: "address" }
2891
+ ],
2892
+ stateMutability: "view"
2893
+ },
2894
+ {
2895
+ type: "function",
2896
+ inputs: [
2897
+ { name: "newImplementation", internalType: "address", type: "address" },
2898
+ { name: "data", internalType: "bytes", type: "bytes" }
2899
+ ],
2900
+ name: "upgradeToAndCall",
2901
+ outputs: [],
2902
+ stateMutability: "payable"
2903
+ },
2904
+ {
2905
+ type: "function",
2906
+ inputs: [],
2907
+ name: "weth",
2908
+ outputs: [{ name: "", internalType: "contract IWETH", type: "address" }],
2909
+ stateMutability: "view"
2910
+ },
2911
+ {
2912
+ type: "event",
2913
+ anonymous: false,
2914
+ inputs: [
2915
+ {
2916
+ name: "amountERC20Received",
2917
+ internalType: "uint256",
2918
+ type: "uint256",
2919
+ indexed: false
2920
+ },
2921
+ {
2922
+ name: "amountERC20Burned",
2923
+ internalType: "uint256",
2924
+ type: "uint256",
2925
+ indexed: false
2926
+ },
2927
+ {
2928
+ name: "amountETHSpent",
2929
+ internalType: "uint256",
2930
+ type: "uint256",
2931
+ indexed: false
2932
+ },
2933
+ {
2934
+ name: "amountETHToCreator",
2935
+ internalType: "uint256",
2936
+ type: "uint256",
2937
+ indexed: false
2938
+ },
2939
+ {
2940
+ name: "totalETHReceived",
2941
+ internalType: "uint256",
2942
+ type: "uint256",
2943
+ indexed: false
2944
+ },
2945
+ {
2946
+ name: "buyFailureError",
2947
+ internalType: "bytes",
2948
+ type: "bytes",
2949
+ indexed: false
2950
+ },
2951
+ {
2952
+ name: "burnFailureError",
2953
+ internalType: "bytes",
2954
+ type: "bytes",
2955
+ indexed: false
2956
+ }
2957
+ ],
2958
+ name: "BuyBurn"
2959
+ },
2960
+ {
2961
+ type: "event",
2962
+ anonymous: false,
2963
+ inputs: [
2964
+ {
2965
+ name: "amount",
2966
+ internalType: "uint256",
2967
+ type: "uint256",
2968
+ indexed: true
2969
+ },
2970
+ {
2971
+ name: "sender",
2972
+ internalType: "address",
2973
+ type: "address",
2974
+ indexed: true
2975
+ }
2976
+ ],
2977
+ name: "EthReceived"
2978
+ },
2979
+ {
2980
+ type: "event",
2981
+ anonymous: false,
2982
+ inputs: [
2983
+ {
2984
+ name: "version",
2985
+ internalType: "uint64",
2986
+ type: "uint64",
2987
+ indexed: false
2988
+ }
2989
+ ],
2990
+ name: "Initialized"
2991
+ },
2992
+ {
2993
+ type: "event",
2994
+ anonymous: false,
2995
+ inputs: [
2996
+ {
2997
+ name: "creatorRewardRecipient",
2998
+ internalType: "address",
2999
+ type: "address",
3000
+ indexed: false
3001
+ },
3002
+ {
3003
+ name: "erc20",
3004
+ internalType: "address",
3005
+ type: "address",
3006
+ indexed: false
3007
+ },
3008
+ {
3009
+ name: "pool",
3010
+ internalType: "address",
3011
+ type: "address",
3012
+ indexed: false
3013
+ },
3014
+ {
3015
+ name: "percentageToBuyBurn",
3016
+ internalType: "uint256",
3017
+ type: "uint256",
3018
+ indexed: false
3019
+ }
3020
+ ],
3021
+ name: "Initialized"
3022
+ },
3023
+ {
3024
+ type: "event",
3025
+ anonymous: false,
3026
+ inputs: [
3027
+ {
3028
+ name: "previousOwner",
3029
+ internalType: "address",
3030
+ type: "address",
3031
+ indexed: true
3032
+ },
3033
+ {
3034
+ name: "newOwner",
3035
+ internalType: "address",
3036
+ type: "address",
3037
+ indexed: true
3038
+ }
3039
+ ],
3040
+ name: "OwnershipTransferStarted"
3041
+ },
3042
+ {
3043
+ type: "event",
3044
+ anonymous: false,
3045
+ inputs: [
3046
+ {
3047
+ name: "previousOwner",
3048
+ internalType: "address",
3049
+ type: "address",
3050
+ indexed: true
3051
+ },
3052
+ {
3053
+ name: "newOwner",
3054
+ internalType: "address",
3055
+ type: "address",
3056
+ indexed: true
3057
+ }
3058
+ ],
3059
+ name: "OwnershipTransferred"
3060
+ },
3061
+ {
3062
+ type: "event",
3063
+ anonymous: false,
3064
+ inputs: [
3065
+ {
3066
+ name: "implementation",
3067
+ internalType: "address",
3068
+ type: "address",
3069
+ indexed: true
3070
+ }
3071
+ ],
3072
+ name: "Upgraded"
3073
+ },
3074
+ {
3075
+ type: "error",
3076
+ inputs: [{ name: "target", internalType: "address", type: "address" }],
3077
+ name: "AddressEmptyCode"
3078
+ },
3079
+ {
3080
+ type: "error",
3081
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
3082
+ name: "AddressInsufficientBalance"
3083
+ },
3084
+ { type: "error", inputs: [], name: "AddressZero" },
3085
+ {
3086
+ type: "error",
3087
+ inputs: [
3088
+ { name: "implementation", internalType: "address", type: "address" }
3089
+ ],
3090
+ name: "ERC1967InvalidImplementation"
3091
+ },
3092
+ { type: "error", inputs: [], name: "ERC1967NonPayable" },
3093
+ { type: "error", inputs: [], name: "FailedInnerCall" },
3094
+ { type: "error", inputs: [], name: "InvalidInitialization" },
3095
+ {
3096
+ type: "error",
3097
+ inputs: [
3098
+ { name: "oldImpl", internalType: "address", type: "address" },
3099
+ { name: "newImpl", internalType: "address", type: "address" }
3100
+ ],
3101
+ name: "InvalidUpgradePath"
3102
+ },
3103
+ { type: "error", inputs: [], name: "NotInitializing" },
3104
+ { type: "error", inputs: [], name: "OnlyPool" },
3105
+ { type: "error", inputs: [], name: "OnlyProtocolRewardsOrWeth" },
3106
+ {
3107
+ type: "error",
3108
+ inputs: [{ name: "owner", internalType: "address", type: "address" }],
3109
+ name: "OwnableInvalidOwner"
3110
+ },
3111
+ {
3112
+ type: "error",
3113
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
3114
+ name: "OwnableUnauthorizedAccount"
3115
+ },
3116
+ { type: "error", inputs: [], name: "PoolNeedsOneTokenToBeWETH" },
3117
+ {
3118
+ type: "error",
3119
+ inputs: [{ name: "token", internalType: "address", type: "address" }],
3120
+ name: "SafeERC20FailedOperation"
3121
+ },
3122
+ { type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
3123
+ {
3124
+ type: "error",
3125
+ inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
3126
+ name: "UUPSUnsupportedProxiableUUID"
3127
+ },
3128
+ { type: "error", inputs: [], name: "UnknownBurnError" },
3129
+ { type: "error", inputs: [], name: "UnknownSwapError" },
3130
+ {
3131
+ type: "error",
3132
+ inputs: [
3133
+ { name: "current", internalType: "string", type: "string" },
3134
+ { name: "newName", internalType: "string", type: "string" }
3135
+ ],
3136
+ name: "UpgradeToMismatchedContractName"
3137
+ }
3138
+ ];
3139
+ var cointagFactoryABI = [
3140
+ {
3141
+ type: "constructor",
3142
+ inputs: [
3143
+ {
3144
+ name: "_cointagImplementation",
3145
+ internalType: "address",
3146
+ type: "address"
3147
+ }
3148
+ ],
3149
+ stateMutability: "nonpayable"
3150
+ },
3151
+ {
3152
+ type: "function",
3153
+ inputs: [],
3154
+ name: "UPGRADE_INTERFACE_VERSION",
3155
+ outputs: [{ name: "", internalType: "string", type: "string" }],
3156
+ stateMutability: "view"
3157
+ },
3158
+ {
3159
+ type: "function",
3160
+ inputs: [],
3161
+ name: "acceptOwnership",
3162
+ outputs: [],
3163
+ stateMutability: "nonpayable"
3164
+ },
3165
+ {
3166
+ type: "function",
3167
+ inputs: [],
3168
+ name: "cointagImplementation",
3169
+ outputs: [{ name: "", internalType: "address", type: "address" }],
3170
+ stateMutability: "view"
3171
+ },
3172
+ {
3173
+ type: "function",
3174
+ inputs: [],
3175
+ name: "contractName",
3176
+ outputs: [{ name: "", internalType: "string", type: "string" }],
3177
+ stateMutability: "pure"
3178
+ },
3179
+ {
3180
+ type: "function",
3181
+ inputs: [],
3182
+ name: "contractURI",
3183
+ outputs: [{ name: "", internalType: "string", type: "string" }],
3184
+ stateMutability: "pure"
3185
+ },
3186
+ {
3187
+ type: "function",
3188
+ inputs: [],
3189
+ name: "contractVersion",
3190
+ outputs: [{ name: "", internalType: "string", type: "string" }],
3191
+ stateMutability: "pure"
3192
+ },
3193
+ {
3194
+ type: "function",
3195
+ inputs: [
3196
+ {
3197
+ name: "_creatorRewardRecipient",
3198
+ internalType: "address",
3199
+ type: "address"
3200
+ },
3201
+ { name: "_pool", internalType: "address", type: "address" },
3202
+ {
3203
+ name: "_percentageToBuyBurn",
3204
+ internalType: "uint256",
3205
+ type: "uint256"
3206
+ },
3207
+ { name: "saltSource", internalType: "bytes", type: "bytes" }
3208
+ ],
3209
+ name: "getCointagAddress",
3210
+ outputs: [{ name: "", internalType: "address", type: "address" }],
3211
+ stateMutability: "view"
3212
+ },
3213
+ {
3214
+ type: "function",
3215
+ inputs: [
3216
+ {
3217
+ name: "_creatorRewardRecipient",
3218
+ internalType: "address",
3219
+ type: "address"
3220
+ },
3221
+ { name: "_pool", internalType: "address", type: "address" },
3222
+ {
3223
+ name: "_percentageToBuyBurn",
3224
+ internalType: "uint256",
3225
+ type: "uint256"
3226
+ },
3227
+ { name: "saltSource", internalType: "bytes", type: "bytes" }
3228
+ ],
3229
+ name: "getOrCreateCointag",
3230
+ outputs: [{ name: "", internalType: "contract ICointag", type: "address" }],
3231
+ stateMutability: "nonpayable"
3232
+ },
3233
+ {
3234
+ type: "function",
3235
+ inputs: [
3236
+ {
3237
+ name: "_creatorRewardRecipient",
3238
+ internalType: "address",
3239
+ type: "address"
3240
+ },
3241
+ { name: "_pool", internalType: "address", type: "address" },
3242
+ {
3243
+ name: "_percentageToBuyBurn",
3244
+ internalType: "uint256",
3245
+ type: "uint256"
3246
+ },
3247
+ { name: "saltSource", internalType: "bytes", type: "bytes" },
3248
+ { name: "expectedAddress", internalType: "address", type: "address" }
3249
+ ],
3250
+ name: "getOrCreateCointagAtExpectedAddress",
3251
+ outputs: [{ name: "", internalType: "contract ICointag", type: "address" }],
3252
+ stateMutability: "nonpayable"
3253
+ },
3254
+ {
3255
+ type: "function",
3256
+ inputs: [],
3257
+ name: "implementation",
3258
+ outputs: [{ name: "", internalType: "address", type: "address" }],
3259
+ stateMutability: "view"
3260
+ },
3261
+ {
3262
+ type: "function",
3263
+ inputs: [
3264
+ { name: "_defaultOwner", internalType: "address", type: "address" }
3265
+ ],
3266
+ name: "initialize",
3267
+ outputs: [],
3268
+ stateMutability: "nonpayable"
3269
+ },
3270
+ {
3271
+ type: "function",
3272
+ inputs: [],
3273
+ name: "owner",
3274
+ outputs: [{ name: "", internalType: "address", type: "address" }],
3275
+ stateMutability: "view"
3276
+ },
3277
+ {
3278
+ type: "function",
3279
+ inputs: [],
3280
+ name: "pendingOwner",
3281
+ outputs: [{ name: "", internalType: "address", type: "address" }],
3282
+ stateMutability: "view"
3283
+ },
3284
+ {
3285
+ type: "function",
3286
+ inputs: [],
3287
+ name: "proxiableUUID",
3288
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
3289
+ stateMutability: "view"
3290
+ },
3291
+ {
3292
+ type: "function",
3293
+ inputs: [],
3294
+ name: "renounceOwnership",
3295
+ outputs: [],
3296
+ stateMutability: "nonpayable"
3297
+ },
3298
+ {
3299
+ type: "function",
3300
+ inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
3301
+ name: "transferOwnership",
3302
+ outputs: [],
3303
+ stateMutability: "nonpayable"
3304
+ },
3305
+ {
3306
+ type: "function",
3307
+ inputs: [],
3308
+ name: "upgradeGate",
3309
+ outputs: [
3310
+ { name: "", internalType: "contract IUpgradeGate", type: "address" }
3311
+ ],
3312
+ stateMutability: "view"
3313
+ },
3314
+ {
3315
+ type: "function",
3316
+ inputs: [
3317
+ { name: "newImplementation", internalType: "address", type: "address" },
3318
+ { name: "data", internalType: "bytes", type: "bytes" }
3319
+ ],
3320
+ name: "upgradeToAndCall",
3321
+ outputs: [],
3322
+ stateMutability: "payable"
3323
+ },
3324
+ {
3325
+ type: "event",
3326
+ anonymous: false,
3327
+ inputs: [
3328
+ {
3329
+ name: "version",
3330
+ internalType: "uint64",
3331
+ type: "uint64",
3332
+ indexed: false
3333
+ }
3334
+ ],
3335
+ name: "Initialized"
3336
+ },
3337
+ {
3338
+ type: "event",
3339
+ anonymous: false,
3340
+ inputs: [
3341
+ {
3342
+ name: "previousOwner",
3343
+ internalType: "address",
3344
+ type: "address",
3345
+ indexed: true
3346
+ },
3347
+ {
3348
+ name: "newOwner",
3349
+ internalType: "address",
3350
+ type: "address",
3351
+ indexed: true
3352
+ }
3353
+ ],
3354
+ name: "OwnershipTransferStarted"
3355
+ },
3356
+ {
3357
+ type: "event",
3358
+ anonymous: false,
3359
+ inputs: [
3360
+ {
3361
+ name: "previousOwner",
3362
+ internalType: "address",
3363
+ type: "address",
3364
+ indexed: true
3365
+ },
3366
+ {
3367
+ name: "newOwner",
3368
+ internalType: "address",
3369
+ type: "address",
3370
+ indexed: true
3371
+ }
3372
+ ],
3373
+ name: "OwnershipTransferred"
3374
+ },
3375
+ {
3376
+ type: "event",
3377
+ anonymous: false,
3378
+ inputs: [
3379
+ {
3380
+ name: "cointag",
3381
+ internalType: "address",
3382
+ type: "address",
3383
+ indexed: true
3384
+ },
3385
+ {
3386
+ name: "creatorRewardRecipient",
3387
+ internalType: "address",
3388
+ type: "address",
3389
+ indexed: true
3390
+ },
3391
+ {
3392
+ name: "erc20",
3393
+ internalType: "address",
3394
+ type: "address",
3395
+ indexed: true
3396
+ },
3397
+ {
3398
+ name: "pool",
3399
+ internalType: "address",
3400
+ type: "address",
3401
+ indexed: false
3402
+ },
3403
+ {
3404
+ name: "percentageToBuyBurn",
3405
+ internalType: "uint256",
3406
+ type: "uint256",
3407
+ indexed: false
3408
+ },
3409
+ {
3410
+ name: "saltSource",
3411
+ internalType: "bytes",
3412
+ type: "bytes",
3413
+ indexed: false
3414
+ }
3415
+ ],
3416
+ name: "SetupNewCointag"
3417
+ },
3418
+ {
3419
+ type: "event",
3420
+ anonymous: false,
3421
+ inputs: [
3422
+ {
3423
+ name: "implementation",
3424
+ internalType: "address",
3425
+ type: "address",
3426
+ indexed: true
3427
+ }
3428
+ ],
3429
+ name: "Upgraded"
3430
+ },
3431
+ {
3432
+ type: "error",
3433
+ inputs: [{ name: "target", internalType: "address", type: "address" }],
3434
+ name: "AddressEmptyCode"
3435
+ },
3436
+ { type: "error", inputs: [], name: "AddressZero" },
3437
+ {
3438
+ type: "error",
3439
+ inputs: [
3440
+ { name: "implementation", internalType: "address", type: "address" }
3441
+ ],
3442
+ name: "ERC1967InvalidImplementation"
3443
+ },
3444
+ { type: "error", inputs: [], name: "ERC1967NonPayable" },
3445
+ { type: "error", inputs: [], name: "FailedInnerCall" },
3446
+ { type: "error", inputs: [], name: "InvalidInitialization" },
3447
+ { type: "error", inputs: [], name: "NotInitializing" },
3448
+ {
3449
+ type: "error",
3450
+ inputs: [{ name: "owner", internalType: "address", type: "address" }],
3451
+ name: "OwnableInvalidOwner"
3452
+ },
3453
+ {
3454
+ type: "error",
3455
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
3456
+ name: "OwnableUnauthorizedAccount"
3457
+ },
3458
+ { type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
3459
+ {
3460
+ type: "error",
3461
+ inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
3462
+ name: "UUPSUnsupportedProxiableUUID"
3463
+ },
3464
+ {
3465
+ type: "error",
3466
+ inputs: [
3467
+ { name: "expected", internalType: "address", type: "address" },
3468
+ { name: "actual", internalType: "address", type: "address" }
3469
+ ],
3470
+ name: "UnexpectedCointagAddress"
3471
+ },
3472
+ {
3473
+ type: "error",
3474
+ inputs: [
3475
+ { name: "currentName", internalType: "string", type: "string" },
3476
+ { name: "newName", internalType: "string", type: "string" }
3477
+ ],
3478
+ name: "UpgradeToMismatchedContractName"
3479
+ }
3480
+ ];
3481
+ var cointagFactoryAddress = {
3482
+ 8453: "0x7777777BbD0b88aD5F3b5f4c89C6B60D74b9774F",
3483
+ 84532: "0x7777777BbD0b88aD5F3b5f4c89C6B60D74b9774F",
3484
+ 7777777: "0x7777777BbD0b88aD5F3b5f4c89C6B60D74b9774F",
3485
+ 999999999: "0x77777773Bd7Cccb7E704315CA51245707E19B0DE"
3486
+ };
3487
+ var cointagFactoryConfig = {
3488
+ address: cointagFactoryAddress,
3489
+ abi: cointagFactoryABI
3490
+ };
2693
3491
  var commentsABI = [
2694
3492
  {
2695
3493
  type: "constructor",
@@ -5352,6 +6150,118 @@ var iSponsoredSparksSpenderActionABI = [
5352
6150
  stateMutability: "nonpayable"
5353
6151
  }
5354
6152
  ];
6153
+ var iUniswapV3PoolABI = [
6154
+ {
6155
+ type: "function",
6156
+ inputs: [],
6157
+ name: "fee",
6158
+ outputs: [{ name: "", internalType: "uint24", type: "uint24" }],
6159
+ stateMutability: "view"
6160
+ },
6161
+ {
6162
+ type: "function",
6163
+ inputs: [],
6164
+ name: "feeGrowthGlobal0X128",
6165
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
6166
+ stateMutability: "view"
6167
+ },
6168
+ {
6169
+ type: "function",
6170
+ inputs: [],
6171
+ name: "feeGrowthGlobal1X128",
6172
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
6173
+ stateMutability: "view"
6174
+ },
6175
+ {
6176
+ type: "function",
6177
+ inputs: [
6178
+ {
6179
+ name: "observationCardinalityNext",
6180
+ internalType: "uint16",
6181
+ type: "uint16"
6182
+ }
6183
+ ],
6184
+ name: "increaseObservationCardinalityNext",
6185
+ outputs: [],
6186
+ stateMutability: "nonpayable"
6187
+ },
6188
+ {
6189
+ type: "function",
6190
+ inputs: [
6191
+ { name: "secondsAgos", internalType: "uint32[]", type: "uint32[]" }
6192
+ ],
6193
+ name: "observe",
6194
+ outputs: [
6195
+ { name: "tickCumulatives", internalType: "int56[]", type: "int56[]" },
6196
+ {
6197
+ name: "secondsPerLiquidityCumulativeX128s",
6198
+ internalType: "uint160[]",
6199
+ type: "uint160[]"
6200
+ }
6201
+ ],
6202
+ stateMutability: "view"
6203
+ },
6204
+ {
6205
+ type: "function",
6206
+ inputs: [],
6207
+ name: "slot0",
6208
+ outputs: [
6209
+ {
6210
+ name: "slot0",
6211
+ internalType: "struct IUniswapV3Pool.Slot0",
6212
+ type: "tuple",
6213
+ components: [
6214
+ { name: "sqrtPriceX96", internalType: "uint160", type: "uint160" },
6215
+ { name: "tick", internalType: "int24", type: "int24" },
6216
+ { name: "observationIndex", internalType: "uint16", type: "uint16" },
6217
+ {
6218
+ name: "observationCardinality",
6219
+ internalType: "uint16",
6220
+ type: "uint16"
6221
+ },
6222
+ {
6223
+ name: "observationCardinalityNext",
6224
+ internalType: "uint16",
6225
+ type: "uint16"
6226
+ },
6227
+ { name: "feeProtocol", internalType: "uint8", type: "uint8" },
6228
+ { name: "unlocked", internalType: "bool", type: "bool" }
6229
+ ]
6230
+ }
6231
+ ],
6232
+ stateMutability: "view"
6233
+ },
6234
+ {
6235
+ type: "function",
6236
+ inputs: [
6237
+ { name: "recipient", internalType: "address", type: "address" },
6238
+ { name: "zeroForOne", internalType: "bool", type: "bool" },
6239
+ { name: "amountSpecified", internalType: "int256", type: "int256" },
6240
+ { name: "sqrtPriceLimitX96", internalType: "uint160", type: "uint160" },
6241
+ { name: "data", internalType: "bytes", type: "bytes" }
6242
+ ],
6243
+ name: "swap",
6244
+ outputs: [
6245
+ { name: "amount0", internalType: "int256", type: "int256" },
6246
+ { name: "amount1", internalType: "int256", type: "int256" }
6247
+ ],
6248
+ stateMutability: "nonpayable"
6249
+ },
6250
+ {
6251
+ type: "function",
6252
+ inputs: [],
6253
+ name: "token0",
6254
+ outputs: [{ name: "", internalType: "address", type: "address" }],
6255
+ stateMutability: "view"
6256
+ },
6257
+ {
6258
+ type: "function",
6259
+ inputs: [],
6260
+ name: "token1",
6261
+ outputs: [{ name: "", internalType: "address", type: "address" }],
6262
+ stateMutability: "view"
6263
+ }
6264
+ ];
5355
6265
  var iUnwrapAndForwardActionABI = [
5356
6266
  {
5357
6267
  type: "function",
@@ -5873,7 +6783,7 @@ var secondarySwapABI = [
5873
6783
  indexed: true
5874
6784
  },
5875
6785
  {
5876
- name: "amountEthSold",
6786
+ name: "amountETHSold",
5877
6787
  internalType: "uint256",
5878
6788
  type: "uint256",
5879
6789
  indexed: false
@@ -5953,7 +6863,7 @@ var secondarySwapABI = [
5953
6863
  indexed: true
5954
6864
  },
5955
6865
  {
5956
- name: "amountEthPurchased",
6866
+ name: "amountETHPurchased",
5957
6867
  internalType: "uint256",
5958
6868
  type: "uint256",
5959
6869
  indexed: false
@@ -6452,6 +7362,92 @@ var sponsoredSparksSpenderConfig = {
6452
7362
  address: sponsoredSparksSpenderAddress,
6453
7363
  abi: sponsoredSparksSpenderABI
6454
7364
  };
7365
+ var uniswapV3SwapRouterABI = [
7366
+ {
7367
+ type: "function",
7368
+ inputs: [
7369
+ {
7370
+ name: "params",
7371
+ internalType: "struct ISwapRouter.ExactInputSingleParams",
7372
+ type: "tuple",
7373
+ components: [
7374
+ { name: "tokenIn", internalType: "address", type: "address" },
7375
+ { name: "tokenOut", internalType: "address", type: "address" },
7376
+ { name: "fee", internalType: "uint24", type: "uint24" },
7377
+ { name: "recipient", internalType: "address", type: "address" },
7378
+ { name: "amountIn", internalType: "uint256", type: "uint256" },
7379
+ {
7380
+ name: "amountOutMinimum",
7381
+ internalType: "uint256",
7382
+ type: "uint256"
7383
+ },
7384
+ {
7385
+ name: "sqrtPriceLimitX96",
7386
+ internalType: "uint160",
7387
+ type: "uint160"
7388
+ }
7389
+ ]
7390
+ }
7391
+ ],
7392
+ name: "exactInputSingle",
7393
+ outputs: [{ name: "amountOut", internalType: "uint256", type: "uint256" }],
7394
+ stateMutability: "payable"
7395
+ },
7396
+ {
7397
+ type: "function",
7398
+ inputs: [
7399
+ {
7400
+ name: "params",
7401
+ internalType: "struct ISwapRouter.ExactOutputSingleParams",
7402
+ type: "tuple",
7403
+ components: [
7404
+ { name: "tokenIn", internalType: "address", type: "address" },
7405
+ { name: "tokenOut", internalType: "address", type: "address" },
7406
+ { name: "fee", internalType: "uint24", type: "uint24" },
7407
+ { name: "recipient", internalType: "address", type: "address" },
7408
+ { name: "amountOut", internalType: "uint256", type: "uint256" },
7409
+ { name: "amountInMaximum", internalType: "uint256", type: "uint256" },
7410
+ {
7411
+ name: "sqrtPriceLimitX96",
7412
+ internalType: "uint160",
7413
+ type: "uint160"
7414
+ }
7415
+ ]
7416
+ }
7417
+ ],
7418
+ name: "exactOutputSingle",
7419
+ outputs: [{ name: "amountIn", internalType: "uint256", type: "uint256" }],
7420
+ stateMutability: "payable"
7421
+ },
7422
+ {
7423
+ type: "function",
7424
+ inputs: [
7425
+ { name: "amount0Delta", internalType: "int256", type: "int256" },
7426
+ { name: "amount1Delta", internalType: "int256", type: "int256" },
7427
+ { name: "data", internalType: "bytes", type: "bytes" }
7428
+ ],
7429
+ name: "uniswapV3SwapCallback",
7430
+ outputs: [],
7431
+ stateMutability: "nonpayable"
7432
+ }
7433
+ ];
7434
+ var uniswapV3SwapRouterAddress = {
7435
+ 1: "0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45",
7436
+ 10: "0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45",
7437
+ 8453: "0x2626664c2603336E57B271c5C0b26F421741e481",
7438
+ 42161: "0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45",
7439
+ 81457: "0x549FEB8c9bd4c12Ad2AB27022dA12492aC452B66",
7440
+ 84532: "0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4",
7441
+ 421614: "0x101F443B4d1b059569D643917553c771E1b9663E",
7442
+ 7777777: "0x7De04c96BE5159c3b5CeffC82aa176dc81281557",
7443
+ 11155111: "0x3bFA4769FB09eefC5a80d6E87c3B9C650f7Ae48E",
7444
+ 11155420: "0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4",
7445
+ 999999999: "0x6B36d761981d82B1e07cF3c4daF4cB4615c4850a"
7446
+ };
7447
+ var uniswapV3SwapRouterConfig = {
7448
+ address: uniswapV3SwapRouterAddress,
7449
+ abi: uniswapV3SwapRouterABI
7450
+ };
6455
7451
  var upgradeGateABI = [
6456
7452
  { type: "constructor", inputs: [], stateMutability: "nonpayable" },
6457
7453
  {
@@ -13357,6 +14353,8 @@ var zoraSparks1155ABI = [
13357
14353
  { type: "error", inputs: [], name: "TokenNotMintable" }
13358
14354
  ];
13359
14355
  var zoraSparks1155Address = {
14356
+ 8453: "0x7777777b3eA6C126942BB14dD5C3C11D365C385D",
14357
+ 84532: "0x7777777b3eA6C126942BB14dD5C3C11D365C385D",
13360
14358
  7777777: "0x7777777b3eA6C126942BB14dD5C3C11D365C385D",
13361
14359
  999999999: "0x7777777b3eA6C126942BB14dD5C3C11D365C385D"
13362
14360
  };
@@ -13746,6 +14744,8 @@ var zoraSparksManagerImplABI = [
13746
14744
  }
13747
14745
  ];
13748
14746
  var zoraSparksManagerImplAddress = {
14747
+ 8453: "0x77777779acd6a96C0c57272112921A0b833c38fD",
14748
+ 84532: "0x77777779acd6a96C0c57272112921A0b833c38fD",
13749
14749
  7777777: "0x77777779acd6a96C0c57272112921A0b833c38fD",
13750
14750
  999999999: "0x77777779acd6a96C0c57272112921A0b833c38fD"
13751
14751
  };
@@ -15439,9 +16439,13 @@ var addresses2 = {
15439
16439
  SPONSORED_SPARKS_SPENDER_VERSION: "2.0.0"
15440
16440
  },
15441
16441
  8453: {
16442
+ MINTS_1155: "0x0000000000000000000000000000000000000000",
15442
16443
  MINTS_ETH_UNWRAPPER_AND_CALLER: "0x0000000000000000000000000000000000000000",
15443
- SPARKS_MANAGER_IMPL: "0x0000000000000000000000000000000000000000",
15444
- SPARKS_MANAGER_IMPL_VERSION: "",
16444
+ MINTS_MANAGER: "0x0000000000000000000000000000000000000000",
16445
+ SPARKS_1155: "0x7777777b3eA6C126942BB14dD5C3C11D365C385D",
16446
+ SPARKS_MANAGER: "0x77777779acd6a96C0c57272112921A0b833c38fD",
16447
+ SPARKS_MANAGER_IMPL: "0x122648369E390009F18c1B2b9B100AfB09B982fc",
16448
+ SPARKS_MANAGER_IMPL_VERSION: "0.2.4",
15445
16449
  SPONSORED_SPARKS_SPENDER: "0x6958A8866A40118e2CC21ab4752353835321b5e6",
15446
16450
  SPONSORED_SPARKS_SPENDER_VERSION: "2.0.0"
15447
16451
  },
@@ -15460,9 +16464,13 @@ var addresses2 = {
15460
16464
  SPONSORED_SPARKS_SPENDER_VERSION: "2.0.0"
15461
16465
  },
15462
16466
  84532: {
16467
+ MINTS_1155: "0x0000000000000000000000000000000000000000",
15463
16468
  MINTS_ETH_UNWRAPPER_AND_CALLER: "0x0000000000000000000000000000000000000000",
15464
- SPARKS_MANAGER_IMPL: "0x0000000000000000000000000000000000000000",
15465
- SPARKS_MANAGER_IMPL_VERSION: "",
16469
+ MINTS_MANAGER: "0x0000000000000000000000000000000000000000",
16470
+ SPARKS_1155: "0x7777777b3eA6C126942BB14dD5C3C11D365C385D",
16471
+ SPARKS_MANAGER: "0x77777779acd6a96C0c57272112921A0b833c38fD",
16472
+ SPARKS_MANAGER_IMPL: "0x122648369E390009F18c1B2b9B100AfB09B982fc",
16473
+ SPARKS_MANAGER_IMPL_VERSION: "0.2.4",
15466
16474
  SPONSORED_SPARKS_SPENDER: "0x23150f60E233F519A01C735C29c1591f9E8353dE",
15467
16475
  SPONSORED_SPARKS_SPENDER_VERSION: "2.0.0"
15468
16476
  },
@@ -15495,6 +16503,10 @@ var addresses2 = {
15495
16503
  callerAndCommenterABI,
15496
16504
  callerAndCommenterAddress,
15497
16505
  callerAndCommenterConfig,
16506
+ cointagABI,
16507
+ cointagFactoryABI,
16508
+ cointagFactoryAddress,
16509
+ cointagFactoryConfig,
15498
16510
  commentsABI,
15499
16511
  commentsAddress,
15500
16512
  commentsConfig,
@@ -15510,6 +16522,7 @@ var addresses2 = {
15510
16522
  erc20ZRoyaltiesConfig,
15511
16523
  iPremintDefinitionsABI,
15512
16524
  iSponsoredSparksSpenderActionABI,
16525
+ iUniswapV3PoolABI,
15513
16526
  iUnwrapAndForwardActionABI,
15514
16527
  mintsEthUnwrapperAndCallerABI,
15515
16528
  mintsEthUnwrapperAndCallerAddress,
@@ -15537,6 +16550,9 @@ var addresses2 = {
15537
16550
  sponsoredSparksSpenderABI,
15538
16551
  sponsoredSparksSpenderAddress,
15539
16552
  sponsoredSparksSpenderConfig,
16553
+ uniswapV3SwapRouterABI,
16554
+ uniswapV3SwapRouterAddress,
16555
+ uniswapV3SwapRouterConfig,
15540
16556
  upgradeGateABI,
15541
16557
  upgradeGateAddress,
15542
16558
  upgradeGateConfig,