@zoralabs/protocol-deployments 0.3.11 → 0.4.0-DEV.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/.turbo/turbo-build.log +18 -18
- package/CHANGELOG.md +6 -0
- package/dist/generated/wagmi.d.ts +1676 -21
- package/dist/generated/wagmi.d.ts.map +1 -1
- package/dist/index.cjs +855 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +847 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/generated/wagmi.ts +917 -0
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,647 @@ 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
|
+
],
|
|
2708
|
+
stateMutability: "nonpayable"
|
|
2709
|
+
},
|
|
2710
|
+
{ type: "receive", stateMutability: "payable" },
|
|
2711
|
+
{
|
|
2712
|
+
type: "function",
|
|
2713
|
+
inputs: [],
|
|
2714
|
+
name: "PERCENTAGE_BASIS",
|
|
2715
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
2716
|
+
stateMutability: "view"
|
|
2717
|
+
},
|
|
2718
|
+
{
|
|
2719
|
+
type: "function",
|
|
2720
|
+
inputs: [],
|
|
2721
|
+
name: "REQUIRED_OBSERVATION_CARDINALITY",
|
|
2722
|
+
outputs: [{ name: "", internalType: "uint16", type: "uint16" }],
|
|
2723
|
+
stateMutability: "view"
|
|
2724
|
+
},
|
|
2725
|
+
{
|
|
2726
|
+
type: "function",
|
|
2727
|
+
inputs: [],
|
|
2728
|
+
name: "SLIPPAGE",
|
|
2729
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
2730
|
+
stateMutability: "view"
|
|
2731
|
+
},
|
|
2732
|
+
{
|
|
2733
|
+
type: "function",
|
|
2734
|
+
inputs: [],
|
|
2735
|
+
name: "TIME_WEIGHTED_PRICE_PERIOD",
|
|
2736
|
+
outputs: [{ name: "", internalType: "uint32", type: "uint32" }],
|
|
2737
|
+
stateMutability: "view"
|
|
2738
|
+
},
|
|
2739
|
+
{
|
|
2740
|
+
type: "function",
|
|
2741
|
+
inputs: [],
|
|
2742
|
+
name: "contractVersion",
|
|
2743
|
+
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
2744
|
+
stateMutability: "pure"
|
|
2745
|
+
},
|
|
2746
|
+
{
|
|
2747
|
+
type: "function",
|
|
2748
|
+
inputs: [],
|
|
2749
|
+
name: "creatorRewardRecipient",
|
|
2750
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
2751
|
+
stateMutability: "view"
|
|
2752
|
+
},
|
|
2753
|
+
{
|
|
2754
|
+
type: "function",
|
|
2755
|
+
inputs: [],
|
|
2756
|
+
name: "ensureObservationCardinality",
|
|
2757
|
+
outputs: [],
|
|
2758
|
+
stateMutability: "nonpayable"
|
|
2759
|
+
},
|
|
2760
|
+
{
|
|
2761
|
+
type: "function",
|
|
2762
|
+
inputs: [],
|
|
2763
|
+
name: "erc20",
|
|
2764
|
+
outputs: [
|
|
2765
|
+
{ name: "", internalType: "contract IBurnableERC20", type: "address" }
|
|
2766
|
+
],
|
|
2767
|
+
stateMutability: "view"
|
|
2768
|
+
},
|
|
2769
|
+
{
|
|
2770
|
+
type: "function",
|
|
2771
|
+
inputs: [],
|
|
2772
|
+
name: "hasEnoughObservationCardinality",
|
|
2773
|
+
outputs: [
|
|
2774
|
+
{ name: "", internalType: "bool", type: "bool" },
|
|
2775
|
+
{ name: "", internalType: "uint256", type: "uint256" }
|
|
2776
|
+
],
|
|
2777
|
+
stateMutability: "view"
|
|
2778
|
+
},
|
|
2779
|
+
{
|
|
2780
|
+
type: "function",
|
|
2781
|
+
inputs: [
|
|
2782
|
+
{
|
|
2783
|
+
name: "_creatorRewardRecipient",
|
|
2784
|
+
internalType: "address",
|
|
2785
|
+
type: "address"
|
|
2786
|
+
},
|
|
2787
|
+
{ name: "_pool", internalType: "address", type: "address" },
|
|
2788
|
+
{
|
|
2789
|
+
name: "_percentageToBuyBurn",
|
|
2790
|
+
internalType: "uint256",
|
|
2791
|
+
type: "uint256"
|
|
2792
|
+
}
|
|
2793
|
+
],
|
|
2794
|
+
name: "initialize",
|
|
2795
|
+
outputs: [],
|
|
2796
|
+
stateMutability: "nonpayable"
|
|
2797
|
+
},
|
|
2798
|
+
{
|
|
2799
|
+
type: "function",
|
|
2800
|
+
inputs: [],
|
|
2801
|
+
name: "percentageToBuyBurn",
|
|
2802
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
2803
|
+
stateMutability: "view"
|
|
2804
|
+
},
|
|
2805
|
+
{
|
|
2806
|
+
type: "function",
|
|
2807
|
+
inputs: [],
|
|
2808
|
+
name: "pool",
|
|
2809
|
+
outputs: [
|
|
2810
|
+
{ name: "", internalType: "contract IUniswapV3Pool", type: "address" }
|
|
2811
|
+
],
|
|
2812
|
+
stateMutability: "view"
|
|
2813
|
+
},
|
|
2814
|
+
{
|
|
2815
|
+
type: "function",
|
|
2816
|
+
inputs: [],
|
|
2817
|
+
name: "protocolRewards",
|
|
2818
|
+
outputs: [
|
|
2819
|
+
{ name: "", internalType: "contract IProtocolRewards", type: "address" }
|
|
2820
|
+
],
|
|
2821
|
+
stateMutability: "view"
|
|
2822
|
+
},
|
|
2823
|
+
{
|
|
2824
|
+
type: "function",
|
|
2825
|
+
inputs: [],
|
|
2826
|
+
name: "pull",
|
|
2827
|
+
outputs: [],
|
|
2828
|
+
stateMutability: "nonpayable"
|
|
2829
|
+
},
|
|
2830
|
+
{
|
|
2831
|
+
type: "function",
|
|
2832
|
+
inputs: [
|
|
2833
|
+
{ name: "amount0Delta", internalType: "int256", type: "int256" },
|
|
2834
|
+
{ name: "amount1Delta", internalType: "int256", type: "int256" },
|
|
2835
|
+
{ name: "", internalType: "bytes", type: "bytes" }
|
|
2836
|
+
],
|
|
2837
|
+
name: "uniswapV3SwapCallback",
|
|
2838
|
+
outputs: [],
|
|
2839
|
+
stateMutability: "nonpayable"
|
|
2840
|
+
},
|
|
2841
|
+
{
|
|
2842
|
+
type: "function",
|
|
2843
|
+
inputs: [],
|
|
2844
|
+
name: "weth",
|
|
2845
|
+
outputs: [{ name: "", internalType: "contract IWETH", type: "address" }],
|
|
2846
|
+
stateMutability: "view"
|
|
2847
|
+
},
|
|
2848
|
+
{
|
|
2849
|
+
type: "event",
|
|
2850
|
+
anonymous: false,
|
|
2851
|
+
inputs: [
|
|
2852
|
+
{
|
|
2853
|
+
name: "amountERc20Received",
|
|
2854
|
+
internalType: "uint256",
|
|
2855
|
+
type: "uint256",
|
|
2856
|
+
indexed: false
|
|
2857
|
+
},
|
|
2858
|
+
{
|
|
2859
|
+
name: "amountERc20Burned",
|
|
2860
|
+
internalType: "uint256",
|
|
2861
|
+
type: "uint256",
|
|
2862
|
+
indexed: false
|
|
2863
|
+
},
|
|
2864
|
+
{
|
|
2865
|
+
name: "amountEthSpent",
|
|
2866
|
+
internalType: "uint256",
|
|
2867
|
+
type: "uint256",
|
|
2868
|
+
indexed: false
|
|
2869
|
+
},
|
|
2870
|
+
{
|
|
2871
|
+
name: "amountEthToCreator",
|
|
2872
|
+
internalType: "uint256",
|
|
2873
|
+
type: "uint256",
|
|
2874
|
+
indexed: false
|
|
2875
|
+
},
|
|
2876
|
+
{
|
|
2877
|
+
name: "totalEthReceived",
|
|
2878
|
+
internalType: "uint256",
|
|
2879
|
+
type: "uint256",
|
|
2880
|
+
indexed: false
|
|
2881
|
+
},
|
|
2882
|
+
{
|
|
2883
|
+
name: "buyFailureError",
|
|
2884
|
+
internalType: "bytes",
|
|
2885
|
+
type: "bytes",
|
|
2886
|
+
indexed: false
|
|
2887
|
+
},
|
|
2888
|
+
{
|
|
2889
|
+
name: "burnFailureError",
|
|
2890
|
+
internalType: "bytes",
|
|
2891
|
+
type: "bytes",
|
|
2892
|
+
indexed: false
|
|
2893
|
+
}
|
|
2894
|
+
],
|
|
2895
|
+
name: "BuyBurn"
|
|
2896
|
+
},
|
|
2897
|
+
{
|
|
2898
|
+
type: "event",
|
|
2899
|
+
anonymous: false,
|
|
2900
|
+
inputs: [
|
|
2901
|
+
{
|
|
2902
|
+
name: "version",
|
|
2903
|
+
internalType: "uint64",
|
|
2904
|
+
type: "uint64",
|
|
2905
|
+
indexed: false
|
|
2906
|
+
}
|
|
2907
|
+
],
|
|
2908
|
+
name: "Initialized"
|
|
2909
|
+
},
|
|
2910
|
+
{
|
|
2911
|
+
type: "event",
|
|
2912
|
+
anonymous: false,
|
|
2913
|
+
inputs: [
|
|
2914
|
+
{
|
|
2915
|
+
name: "creatorRewardRecipient",
|
|
2916
|
+
internalType: "address",
|
|
2917
|
+
type: "address",
|
|
2918
|
+
indexed: false
|
|
2919
|
+
},
|
|
2920
|
+
{
|
|
2921
|
+
name: "erc20",
|
|
2922
|
+
internalType: "address",
|
|
2923
|
+
type: "address",
|
|
2924
|
+
indexed: false
|
|
2925
|
+
},
|
|
2926
|
+
{
|
|
2927
|
+
name: "pool",
|
|
2928
|
+
internalType: "address",
|
|
2929
|
+
type: "address",
|
|
2930
|
+
indexed: false
|
|
2931
|
+
},
|
|
2932
|
+
{
|
|
2933
|
+
name: "percentageToBuyBurn",
|
|
2934
|
+
internalType: "uint256",
|
|
2935
|
+
type: "uint256",
|
|
2936
|
+
indexed: false
|
|
2937
|
+
}
|
|
2938
|
+
],
|
|
2939
|
+
name: "Initialized"
|
|
2940
|
+
},
|
|
2941
|
+
{
|
|
2942
|
+
type: "error",
|
|
2943
|
+
inputs: [{ name: "target", internalType: "address", type: "address" }],
|
|
2944
|
+
name: "AddressEmptyCode"
|
|
2945
|
+
},
|
|
2946
|
+
{
|
|
2947
|
+
type: "error",
|
|
2948
|
+
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
2949
|
+
name: "AddressInsufficientBalance"
|
|
2950
|
+
},
|
|
2951
|
+
{
|
|
2952
|
+
type: "error",
|
|
2953
|
+
inputs: [
|
|
2954
|
+
{ name: "amountOut", internalType: "uint256", type: "uint256" },
|
|
2955
|
+
{ name: "amountOutMinimum", internalType: "uint256", type: "uint256" }
|
|
2956
|
+
],
|
|
2957
|
+
name: "AmountOutLessThanMinimum"
|
|
2958
|
+
},
|
|
2959
|
+
{ type: "error", inputs: [], name: "FailedInnerCall" },
|
|
2960
|
+
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
2961
|
+
{
|
|
2962
|
+
type: "error",
|
|
2963
|
+
inputs: [
|
|
2964
|
+
{ name: "requiredCardinality", internalType: "uint256", type: "uint256" },
|
|
2965
|
+
{ name: "currentCardinality", internalType: "uint256", type: "uint256" }
|
|
2966
|
+
],
|
|
2967
|
+
name: "NotEnoughObservationCardinality"
|
|
2968
|
+
},
|
|
2969
|
+
{ type: "error", inputs: [], name: "NotInitializing" },
|
|
2970
|
+
{ type: "error", inputs: [], name: "OnlyPool" },
|
|
2971
|
+
{ type: "error", inputs: [], name: "OnlyProtocolRewardsOrWeth" },
|
|
2972
|
+
{
|
|
2973
|
+
type: "error",
|
|
2974
|
+
inputs: [{ name: "token", internalType: "address", type: "address" }],
|
|
2975
|
+
name: "SafeERC20FailedOperation"
|
|
2976
|
+
}
|
|
2977
|
+
];
|
|
2978
|
+
var cointagFactoryABI = [
|
|
2979
|
+
{
|
|
2980
|
+
type: "constructor",
|
|
2981
|
+
inputs: [
|
|
2982
|
+
{
|
|
2983
|
+
name: "_cointagImplementation",
|
|
2984
|
+
internalType: "address",
|
|
2985
|
+
type: "address"
|
|
2986
|
+
}
|
|
2987
|
+
],
|
|
2988
|
+
stateMutability: "nonpayable"
|
|
2989
|
+
},
|
|
2990
|
+
{
|
|
2991
|
+
type: "function",
|
|
2992
|
+
inputs: [],
|
|
2993
|
+
name: "UPGRADE_INTERFACE_VERSION",
|
|
2994
|
+
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
2995
|
+
stateMutability: "view"
|
|
2996
|
+
},
|
|
2997
|
+
{
|
|
2998
|
+
type: "function",
|
|
2999
|
+
inputs: [],
|
|
3000
|
+
name: "acceptOwnership",
|
|
3001
|
+
outputs: [],
|
|
3002
|
+
stateMutability: "nonpayable"
|
|
3003
|
+
},
|
|
3004
|
+
{
|
|
3005
|
+
type: "function",
|
|
3006
|
+
inputs: [],
|
|
3007
|
+
name: "cointagImplementation",
|
|
3008
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
3009
|
+
stateMutability: "view"
|
|
3010
|
+
},
|
|
3011
|
+
{
|
|
3012
|
+
type: "function",
|
|
3013
|
+
inputs: [],
|
|
3014
|
+
name: "contractName",
|
|
3015
|
+
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
3016
|
+
stateMutability: "pure"
|
|
3017
|
+
},
|
|
3018
|
+
{
|
|
3019
|
+
type: "function",
|
|
3020
|
+
inputs: [],
|
|
3021
|
+
name: "contractURI",
|
|
3022
|
+
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
3023
|
+
stateMutability: "pure"
|
|
3024
|
+
},
|
|
3025
|
+
{
|
|
3026
|
+
type: "function",
|
|
3027
|
+
inputs: [],
|
|
3028
|
+
name: "contractVersion",
|
|
3029
|
+
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
3030
|
+
stateMutability: "pure"
|
|
3031
|
+
},
|
|
3032
|
+
{
|
|
3033
|
+
type: "function",
|
|
3034
|
+
inputs: [
|
|
3035
|
+
{
|
|
3036
|
+
name: "_creatorRewardRecipient",
|
|
3037
|
+
internalType: "address",
|
|
3038
|
+
type: "address"
|
|
3039
|
+
},
|
|
3040
|
+
{ name: "_pool", internalType: "address", type: "address" },
|
|
3041
|
+
{
|
|
3042
|
+
name: "_percentageToBuyBurn",
|
|
3043
|
+
internalType: "uint256",
|
|
3044
|
+
type: "uint256"
|
|
3045
|
+
},
|
|
3046
|
+
{ name: "saltSource", internalType: "bytes", type: "bytes" }
|
|
3047
|
+
],
|
|
3048
|
+
name: "getCointagAddress",
|
|
3049
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
3050
|
+
stateMutability: "view"
|
|
3051
|
+
},
|
|
3052
|
+
{
|
|
3053
|
+
type: "function",
|
|
3054
|
+
inputs: [
|
|
3055
|
+
{ name: "_implementation", internalType: "address", type: "address" },
|
|
3056
|
+
{
|
|
3057
|
+
name: "_creatorRewardRecipient",
|
|
3058
|
+
internalType: "address",
|
|
3059
|
+
type: "address"
|
|
3060
|
+
},
|
|
3061
|
+
{ name: "_pool", internalType: "address", type: "address" },
|
|
3062
|
+
{
|
|
3063
|
+
name: "_percentageToBuyBurn",
|
|
3064
|
+
internalType: "uint256",
|
|
3065
|
+
type: "uint256"
|
|
3066
|
+
},
|
|
3067
|
+
{ name: "saltSource", internalType: "bytes", type: "bytes" }
|
|
3068
|
+
],
|
|
3069
|
+
name: "getCointagAddressForImpl",
|
|
3070
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
3071
|
+
stateMutability: "view"
|
|
3072
|
+
},
|
|
3073
|
+
{
|
|
3074
|
+
type: "function",
|
|
3075
|
+
inputs: [
|
|
3076
|
+
{
|
|
3077
|
+
name: "_creatorRewardRecipient",
|
|
3078
|
+
internalType: "address",
|
|
3079
|
+
type: "address"
|
|
3080
|
+
},
|
|
3081
|
+
{ name: "_pool", internalType: "address", type: "address" },
|
|
3082
|
+
{
|
|
3083
|
+
name: "_percentageToBuyBurn",
|
|
3084
|
+
internalType: "uint256",
|
|
3085
|
+
type: "uint256"
|
|
3086
|
+
},
|
|
3087
|
+
{ name: "saltSource", internalType: "bytes", type: "bytes" }
|
|
3088
|
+
],
|
|
3089
|
+
name: "getOrCreateCointag",
|
|
3090
|
+
outputs: [{ name: "", internalType: "contract ICointag", type: "address" }],
|
|
3091
|
+
stateMutability: "nonpayable"
|
|
3092
|
+
},
|
|
3093
|
+
{
|
|
3094
|
+
type: "function",
|
|
3095
|
+
inputs: [
|
|
3096
|
+
{
|
|
3097
|
+
name: "_creatorRewardRecipient",
|
|
3098
|
+
internalType: "address",
|
|
3099
|
+
type: "address"
|
|
3100
|
+
},
|
|
3101
|
+
{ name: "_pool", internalType: "address", type: "address" },
|
|
3102
|
+
{
|
|
3103
|
+
name: "_percentageToBuyBurn",
|
|
3104
|
+
internalType: "uint256",
|
|
3105
|
+
type: "uint256"
|
|
3106
|
+
},
|
|
3107
|
+
{ name: "saltSource", internalType: "bytes", type: "bytes" },
|
|
3108
|
+
{ name: "expectedAddress", internalType: "address", type: "address" }
|
|
3109
|
+
],
|
|
3110
|
+
name: "getOrCreateCointagAtExpectedAddress",
|
|
3111
|
+
outputs: [{ name: "", internalType: "contract ICointag", type: "address" }],
|
|
3112
|
+
stateMutability: "nonpayable"
|
|
3113
|
+
},
|
|
3114
|
+
{
|
|
3115
|
+
type: "function",
|
|
3116
|
+
inputs: [],
|
|
3117
|
+
name: "implementation",
|
|
3118
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
3119
|
+
stateMutability: "view"
|
|
3120
|
+
},
|
|
3121
|
+
{
|
|
3122
|
+
type: "function",
|
|
3123
|
+
inputs: [
|
|
3124
|
+
{ name: "_defaultOwner", internalType: "address", type: "address" }
|
|
3125
|
+
],
|
|
3126
|
+
name: "initialize",
|
|
3127
|
+
outputs: [],
|
|
3128
|
+
stateMutability: "nonpayable"
|
|
3129
|
+
},
|
|
3130
|
+
{
|
|
3131
|
+
type: "function",
|
|
3132
|
+
inputs: [],
|
|
3133
|
+
name: "owner",
|
|
3134
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
3135
|
+
stateMutability: "view"
|
|
3136
|
+
},
|
|
3137
|
+
{
|
|
3138
|
+
type: "function",
|
|
3139
|
+
inputs: [],
|
|
3140
|
+
name: "pendingOwner",
|
|
3141
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
3142
|
+
stateMutability: "view"
|
|
3143
|
+
},
|
|
3144
|
+
{
|
|
3145
|
+
type: "function",
|
|
3146
|
+
inputs: [],
|
|
3147
|
+
name: "proxiableUUID",
|
|
3148
|
+
outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
|
|
3149
|
+
stateMutability: "view"
|
|
3150
|
+
},
|
|
3151
|
+
{
|
|
3152
|
+
type: "function",
|
|
3153
|
+
inputs: [],
|
|
3154
|
+
name: "renounceOwnership",
|
|
3155
|
+
outputs: [],
|
|
3156
|
+
stateMutability: "nonpayable"
|
|
3157
|
+
},
|
|
3158
|
+
{
|
|
3159
|
+
type: "function",
|
|
3160
|
+
inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
|
|
3161
|
+
name: "transferOwnership",
|
|
3162
|
+
outputs: [],
|
|
3163
|
+
stateMutability: "nonpayable"
|
|
3164
|
+
},
|
|
3165
|
+
{
|
|
3166
|
+
type: "function",
|
|
3167
|
+
inputs: [
|
|
3168
|
+
{ name: "newImplementation", internalType: "address", type: "address" },
|
|
3169
|
+
{ name: "data", internalType: "bytes", type: "bytes" }
|
|
3170
|
+
],
|
|
3171
|
+
name: "upgradeToAndCall",
|
|
3172
|
+
outputs: [],
|
|
3173
|
+
stateMutability: "payable"
|
|
3174
|
+
},
|
|
3175
|
+
{
|
|
3176
|
+
type: "event",
|
|
3177
|
+
anonymous: false,
|
|
3178
|
+
inputs: [
|
|
3179
|
+
{
|
|
3180
|
+
name: "version",
|
|
3181
|
+
internalType: "uint64",
|
|
3182
|
+
type: "uint64",
|
|
3183
|
+
indexed: false
|
|
3184
|
+
}
|
|
3185
|
+
],
|
|
3186
|
+
name: "Initialized"
|
|
3187
|
+
},
|
|
3188
|
+
{
|
|
3189
|
+
type: "event",
|
|
3190
|
+
anonymous: false,
|
|
3191
|
+
inputs: [
|
|
3192
|
+
{
|
|
3193
|
+
name: "previousOwner",
|
|
3194
|
+
internalType: "address",
|
|
3195
|
+
type: "address",
|
|
3196
|
+
indexed: true
|
|
3197
|
+
},
|
|
3198
|
+
{
|
|
3199
|
+
name: "newOwner",
|
|
3200
|
+
internalType: "address",
|
|
3201
|
+
type: "address",
|
|
3202
|
+
indexed: true
|
|
3203
|
+
}
|
|
3204
|
+
],
|
|
3205
|
+
name: "OwnershipTransferStarted"
|
|
3206
|
+
},
|
|
3207
|
+
{
|
|
3208
|
+
type: "event",
|
|
3209
|
+
anonymous: false,
|
|
3210
|
+
inputs: [
|
|
3211
|
+
{
|
|
3212
|
+
name: "previousOwner",
|
|
3213
|
+
internalType: "address",
|
|
3214
|
+
type: "address",
|
|
3215
|
+
indexed: true
|
|
3216
|
+
},
|
|
3217
|
+
{
|
|
3218
|
+
name: "newOwner",
|
|
3219
|
+
internalType: "address",
|
|
3220
|
+
type: "address",
|
|
3221
|
+
indexed: true
|
|
3222
|
+
}
|
|
3223
|
+
],
|
|
3224
|
+
name: "OwnershipTransferred"
|
|
3225
|
+
},
|
|
3226
|
+
{
|
|
3227
|
+
type: "event",
|
|
3228
|
+
anonymous: false,
|
|
3229
|
+
inputs: [
|
|
3230
|
+
{
|
|
3231
|
+
name: "cointag",
|
|
3232
|
+
internalType: "address",
|
|
3233
|
+
type: "address",
|
|
3234
|
+
indexed: true
|
|
3235
|
+
},
|
|
3236
|
+
{
|
|
3237
|
+
name: "creatorRewardRecipient",
|
|
3238
|
+
internalType: "address",
|
|
3239
|
+
type: "address",
|
|
3240
|
+
indexed: true
|
|
3241
|
+
},
|
|
3242
|
+
{
|
|
3243
|
+
name: "erc20",
|
|
3244
|
+
internalType: "address",
|
|
3245
|
+
type: "address",
|
|
3246
|
+
indexed: true
|
|
3247
|
+
},
|
|
3248
|
+
{
|
|
3249
|
+
name: "pool",
|
|
3250
|
+
internalType: "address",
|
|
3251
|
+
type: "address",
|
|
3252
|
+
indexed: false
|
|
3253
|
+
},
|
|
3254
|
+
{
|
|
3255
|
+
name: "percentageToBuyBurn",
|
|
3256
|
+
internalType: "uint256",
|
|
3257
|
+
type: "uint256",
|
|
3258
|
+
indexed: false
|
|
3259
|
+
},
|
|
3260
|
+
{
|
|
3261
|
+
name: "saltSource",
|
|
3262
|
+
internalType: "bytes",
|
|
3263
|
+
type: "bytes",
|
|
3264
|
+
indexed: false
|
|
3265
|
+
}
|
|
3266
|
+
],
|
|
3267
|
+
name: "SetupNewCointag"
|
|
3268
|
+
},
|
|
3269
|
+
{
|
|
3270
|
+
type: "event",
|
|
3271
|
+
anonymous: false,
|
|
3272
|
+
inputs: [
|
|
3273
|
+
{
|
|
3274
|
+
name: "implementation",
|
|
3275
|
+
internalType: "address",
|
|
3276
|
+
type: "address",
|
|
3277
|
+
indexed: true
|
|
3278
|
+
}
|
|
3279
|
+
],
|
|
3280
|
+
name: "Upgraded"
|
|
3281
|
+
},
|
|
3282
|
+
{
|
|
3283
|
+
type: "error",
|
|
3284
|
+
inputs: [{ name: "target", internalType: "address", type: "address" }],
|
|
3285
|
+
name: "AddressEmptyCode"
|
|
3286
|
+
},
|
|
3287
|
+
{ type: "error", inputs: [], name: "AddressZero" },
|
|
3288
|
+
{ type: "error", inputs: [], name: "ERC1167FailedCreateClone" },
|
|
3289
|
+
{
|
|
3290
|
+
type: "error",
|
|
3291
|
+
inputs: [
|
|
3292
|
+
{ name: "implementation", internalType: "address", type: "address" }
|
|
3293
|
+
],
|
|
3294
|
+
name: "ERC1967InvalidImplementation"
|
|
3295
|
+
},
|
|
3296
|
+
{ type: "error", inputs: [], name: "ERC1967NonPayable" },
|
|
3297
|
+
{ type: "error", inputs: [], name: "FailedInnerCall" },
|
|
3298
|
+
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
3299
|
+
{ type: "error", inputs: [], name: "NotInitializing" },
|
|
3300
|
+
{
|
|
3301
|
+
type: "error",
|
|
3302
|
+
inputs: [{ name: "owner", internalType: "address", type: "address" }],
|
|
3303
|
+
name: "OwnableInvalidOwner"
|
|
3304
|
+
},
|
|
3305
|
+
{
|
|
3306
|
+
type: "error",
|
|
3307
|
+
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
3308
|
+
name: "OwnableUnauthorizedAccount"
|
|
3309
|
+
},
|
|
3310
|
+
{ type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
|
|
3311
|
+
{
|
|
3312
|
+
type: "error",
|
|
3313
|
+
inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
|
|
3314
|
+
name: "UUPSUnsupportedProxiableUUID"
|
|
3315
|
+
},
|
|
3316
|
+
{
|
|
3317
|
+
type: "error",
|
|
3318
|
+
inputs: [
|
|
3319
|
+
{ name: "expected", internalType: "address", type: "address" },
|
|
3320
|
+
{ name: "actual", internalType: "address", type: "address" }
|
|
3321
|
+
],
|
|
3322
|
+
name: "UnexpectedCointagAddress"
|
|
3323
|
+
},
|
|
3324
|
+
{
|
|
3325
|
+
type: "error",
|
|
3326
|
+
inputs: [
|
|
3327
|
+
{ name: "currentName", internalType: "string", type: "string" },
|
|
3328
|
+
{ name: "newName", internalType: "string", type: "string" }
|
|
3329
|
+
],
|
|
3330
|
+
name: "UpgradeToMismatchedContractName"
|
|
3331
|
+
}
|
|
3332
|
+
];
|
|
3333
|
+
var cointagFactoryAddress = {
|
|
3334
|
+
8453: "0x7777777BbD0b88aD5F3b5f4c89C6B60D74b9774F",
|
|
3335
|
+
84532: "0x7777777BbD0b88aD5F3b5f4c89C6B60D74b9774F",
|
|
3336
|
+
7777777: "0x7777777BbD0b88aD5F3b5f4c89C6B60D74b9774F"
|
|
3337
|
+
};
|
|
3338
|
+
var cointagFactoryConfig = {
|
|
3339
|
+
address: cointagFactoryAddress,
|
|
3340
|
+
abi: cointagFactoryABI
|
|
3341
|
+
};
|
|
2693
3342
|
var commentsABI = [
|
|
2694
3343
|
{
|
|
2695
3344
|
type: "constructor",
|
|
@@ -5352,6 +6001,118 @@ var iSponsoredSparksSpenderActionABI = [
|
|
|
5352
6001
|
stateMutability: "nonpayable"
|
|
5353
6002
|
}
|
|
5354
6003
|
];
|
|
6004
|
+
var iUniswapV3PoolABI = [
|
|
6005
|
+
{
|
|
6006
|
+
type: "function",
|
|
6007
|
+
inputs: [],
|
|
6008
|
+
name: "fee",
|
|
6009
|
+
outputs: [{ name: "", internalType: "uint24", type: "uint24" }],
|
|
6010
|
+
stateMutability: "view"
|
|
6011
|
+
},
|
|
6012
|
+
{
|
|
6013
|
+
type: "function",
|
|
6014
|
+
inputs: [],
|
|
6015
|
+
name: "feeGrowthGlobal0X128",
|
|
6016
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
6017
|
+
stateMutability: "view"
|
|
6018
|
+
},
|
|
6019
|
+
{
|
|
6020
|
+
type: "function",
|
|
6021
|
+
inputs: [],
|
|
6022
|
+
name: "feeGrowthGlobal1X128",
|
|
6023
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
6024
|
+
stateMutability: "view"
|
|
6025
|
+
},
|
|
6026
|
+
{
|
|
6027
|
+
type: "function",
|
|
6028
|
+
inputs: [
|
|
6029
|
+
{
|
|
6030
|
+
name: "observationCardinalityNext",
|
|
6031
|
+
internalType: "uint16",
|
|
6032
|
+
type: "uint16"
|
|
6033
|
+
}
|
|
6034
|
+
],
|
|
6035
|
+
name: "increaseObservationCardinalityNext",
|
|
6036
|
+
outputs: [],
|
|
6037
|
+
stateMutability: "nonpayable"
|
|
6038
|
+
},
|
|
6039
|
+
{
|
|
6040
|
+
type: "function",
|
|
6041
|
+
inputs: [
|
|
6042
|
+
{ name: "secondsAgos", internalType: "uint32[]", type: "uint32[]" }
|
|
6043
|
+
],
|
|
6044
|
+
name: "observe",
|
|
6045
|
+
outputs: [
|
|
6046
|
+
{ name: "tickCumulatives", internalType: "int56[]", type: "int56[]" },
|
|
6047
|
+
{
|
|
6048
|
+
name: "secondsPerLiquidityCumulativeX128s",
|
|
6049
|
+
internalType: "uint160[]",
|
|
6050
|
+
type: "uint160[]"
|
|
6051
|
+
}
|
|
6052
|
+
],
|
|
6053
|
+
stateMutability: "view"
|
|
6054
|
+
},
|
|
6055
|
+
{
|
|
6056
|
+
type: "function",
|
|
6057
|
+
inputs: [],
|
|
6058
|
+
name: "slot0",
|
|
6059
|
+
outputs: [
|
|
6060
|
+
{
|
|
6061
|
+
name: "slot0",
|
|
6062
|
+
internalType: "struct IUniswapV3Pool.Slot0",
|
|
6063
|
+
type: "tuple",
|
|
6064
|
+
components: [
|
|
6065
|
+
{ name: "sqrtPriceX96", internalType: "uint160", type: "uint160" },
|
|
6066
|
+
{ name: "tick", internalType: "int24", type: "int24" },
|
|
6067
|
+
{ name: "observationIndex", internalType: "uint16", type: "uint16" },
|
|
6068
|
+
{
|
|
6069
|
+
name: "observationCardinality",
|
|
6070
|
+
internalType: "uint16",
|
|
6071
|
+
type: "uint16"
|
|
6072
|
+
},
|
|
6073
|
+
{
|
|
6074
|
+
name: "observationCardinalityNext",
|
|
6075
|
+
internalType: "uint16",
|
|
6076
|
+
type: "uint16"
|
|
6077
|
+
},
|
|
6078
|
+
{ name: "feeProtocol", internalType: "uint8", type: "uint8" },
|
|
6079
|
+
{ name: "unlocked", internalType: "bool", type: "bool" }
|
|
6080
|
+
]
|
|
6081
|
+
}
|
|
6082
|
+
],
|
|
6083
|
+
stateMutability: "view"
|
|
6084
|
+
},
|
|
6085
|
+
{
|
|
6086
|
+
type: "function",
|
|
6087
|
+
inputs: [
|
|
6088
|
+
{ name: "recipient", internalType: "address", type: "address" },
|
|
6089
|
+
{ name: "zeroForOne", internalType: "bool", type: "bool" },
|
|
6090
|
+
{ name: "amountSpecified", internalType: "int256", type: "int256" },
|
|
6091
|
+
{ name: "sqrtPriceLimitX96", internalType: "uint160", type: "uint160" },
|
|
6092
|
+
{ name: "data", internalType: "bytes", type: "bytes" }
|
|
6093
|
+
],
|
|
6094
|
+
name: "swap",
|
|
6095
|
+
outputs: [
|
|
6096
|
+
{ name: "amount0", internalType: "int256", type: "int256" },
|
|
6097
|
+
{ name: "amount1", internalType: "int256", type: "int256" }
|
|
6098
|
+
],
|
|
6099
|
+
stateMutability: "nonpayable"
|
|
6100
|
+
},
|
|
6101
|
+
{
|
|
6102
|
+
type: "function",
|
|
6103
|
+
inputs: [],
|
|
6104
|
+
name: "token0",
|
|
6105
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
6106
|
+
stateMutability: "view"
|
|
6107
|
+
},
|
|
6108
|
+
{
|
|
6109
|
+
type: "function",
|
|
6110
|
+
inputs: [],
|
|
6111
|
+
name: "token1",
|
|
6112
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
6113
|
+
stateMutability: "view"
|
|
6114
|
+
}
|
|
6115
|
+
];
|
|
5355
6116
|
var iUnwrapAndForwardActionABI = [
|
|
5356
6117
|
{
|
|
5357
6118
|
type: "function",
|
|
@@ -6452,6 +7213,92 @@ var sponsoredSparksSpenderConfig = {
|
|
|
6452
7213
|
address: sponsoredSparksSpenderAddress,
|
|
6453
7214
|
abi: sponsoredSparksSpenderABI
|
|
6454
7215
|
};
|
|
7216
|
+
var uniswapV3SwapRouterABI = [
|
|
7217
|
+
{
|
|
7218
|
+
type: "function",
|
|
7219
|
+
inputs: [
|
|
7220
|
+
{
|
|
7221
|
+
name: "params",
|
|
7222
|
+
internalType: "struct ISwapRouter.ExactInputSingleParams",
|
|
7223
|
+
type: "tuple",
|
|
7224
|
+
components: [
|
|
7225
|
+
{ name: "tokenIn", internalType: "address", type: "address" },
|
|
7226
|
+
{ name: "tokenOut", internalType: "address", type: "address" },
|
|
7227
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
7228
|
+
{ name: "recipient", internalType: "address", type: "address" },
|
|
7229
|
+
{ name: "amountIn", internalType: "uint256", type: "uint256" },
|
|
7230
|
+
{
|
|
7231
|
+
name: "amountOutMinimum",
|
|
7232
|
+
internalType: "uint256",
|
|
7233
|
+
type: "uint256"
|
|
7234
|
+
},
|
|
7235
|
+
{
|
|
7236
|
+
name: "sqrtPriceLimitX96",
|
|
7237
|
+
internalType: "uint160",
|
|
7238
|
+
type: "uint160"
|
|
7239
|
+
}
|
|
7240
|
+
]
|
|
7241
|
+
}
|
|
7242
|
+
],
|
|
7243
|
+
name: "exactInputSingle",
|
|
7244
|
+
outputs: [{ name: "amountOut", internalType: "uint256", type: "uint256" }],
|
|
7245
|
+
stateMutability: "payable"
|
|
7246
|
+
},
|
|
7247
|
+
{
|
|
7248
|
+
type: "function",
|
|
7249
|
+
inputs: [
|
|
7250
|
+
{
|
|
7251
|
+
name: "params",
|
|
7252
|
+
internalType: "struct ISwapRouter.ExactOutputSingleParams",
|
|
7253
|
+
type: "tuple",
|
|
7254
|
+
components: [
|
|
7255
|
+
{ name: "tokenIn", internalType: "address", type: "address" },
|
|
7256
|
+
{ name: "tokenOut", internalType: "address", type: "address" },
|
|
7257
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
7258
|
+
{ name: "recipient", internalType: "address", type: "address" },
|
|
7259
|
+
{ name: "amountOut", internalType: "uint256", type: "uint256" },
|
|
7260
|
+
{ name: "amountInMaximum", internalType: "uint256", type: "uint256" },
|
|
7261
|
+
{
|
|
7262
|
+
name: "sqrtPriceLimitX96",
|
|
7263
|
+
internalType: "uint160",
|
|
7264
|
+
type: "uint160"
|
|
7265
|
+
}
|
|
7266
|
+
]
|
|
7267
|
+
}
|
|
7268
|
+
],
|
|
7269
|
+
name: "exactOutputSingle",
|
|
7270
|
+
outputs: [{ name: "amountIn", internalType: "uint256", type: "uint256" }],
|
|
7271
|
+
stateMutability: "payable"
|
|
7272
|
+
},
|
|
7273
|
+
{
|
|
7274
|
+
type: "function",
|
|
7275
|
+
inputs: [
|
|
7276
|
+
{ name: "amount0Delta", internalType: "int256", type: "int256" },
|
|
7277
|
+
{ name: "amount1Delta", internalType: "int256", type: "int256" },
|
|
7278
|
+
{ name: "data", internalType: "bytes", type: "bytes" }
|
|
7279
|
+
],
|
|
7280
|
+
name: "uniswapV3SwapCallback",
|
|
7281
|
+
outputs: [],
|
|
7282
|
+
stateMutability: "nonpayable"
|
|
7283
|
+
}
|
|
7284
|
+
];
|
|
7285
|
+
var uniswapV3SwapRouterAddress = {
|
|
7286
|
+
1: "0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45",
|
|
7287
|
+
10: "0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45",
|
|
7288
|
+
8453: "0x2626664c2603336E57B271c5C0b26F421741e481",
|
|
7289
|
+
42161: "0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45",
|
|
7290
|
+
81457: "0x549FEB8c9bd4c12Ad2AB27022dA12492aC452B66",
|
|
7291
|
+
84532: "0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4",
|
|
7292
|
+
421614: "0x101F443B4d1b059569D643917553c771E1b9663E",
|
|
7293
|
+
7777777: "0x7De04c96BE5159c3b5CeffC82aa176dc81281557",
|
|
7294
|
+
11155111: "0x3bFA4769FB09eefC5a80d6E87c3B9C650f7Ae48E",
|
|
7295
|
+
11155420: "0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4",
|
|
7296
|
+
999999999: "0x6B36d761981d82B1e07cF3c4daF4cB4615c4850a"
|
|
7297
|
+
};
|
|
7298
|
+
var uniswapV3SwapRouterConfig = {
|
|
7299
|
+
address: uniswapV3SwapRouterAddress,
|
|
7300
|
+
abi: uniswapV3SwapRouterABI
|
|
7301
|
+
};
|
|
6455
7302
|
var upgradeGateABI = [
|
|
6456
7303
|
{ type: "constructor", inputs: [], stateMutability: "nonpayable" },
|
|
6457
7304
|
{
|
|
@@ -15495,6 +16342,10 @@ var addresses2 = {
|
|
|
15495
16342
|
callerAndCommenterABI,
|
|
15496
16343
|
callerAndCommenterAddress,
|
|
15497
16344
|
callerAndCommenterConfig,
|
|
16345
|
+
cointagABI,
|
|
16346
|
+
cointagFactoryABI,
|
|
16347
|
+
cointagFactoryAddress,
|
|
16348
|
+
cointagFactoryConfig,
|
|
15498
16349
|
commentsABI,
|
|
15499
16350
|
commentsAddress,
|
|
15500
16351
|
commentsConfig,
|
|
@@ -15510,6 +16361,7 @@ var addresses2 = {
|
|
|
15510
16361
|
erc20ZRoyaltiesConfig,
|
|
15511
16362
|
iPremintDefinitionsABI,
|
|
15512
16363
|
iSponsoredSparksSpenderActionABI,
|
|
16364
|
+
iUniswapV3PoolABI,
|
|
15513
16365
|
iUnwrapAndForwardActionABI,
|
|
15514
16366
|
mintsEthUnwrapperAndCallerABI,
|
|
15515
16367
|
mintsEthUnwrapperAndCallerAddress,
|
|
@@ -15537,6 +16389,9 @@ var addresses2 = {
|
|
|
15537
16389
|
sponsoredSparksSpenderABI,
|
|
15538
16390
|
sponsoredSparksSpenderAddress,
|
|
15539
16391
|
sponsoredSparksSpenderConfig,
|
|
16392
|
+
uniswapV3SwapRouterABI,
|
|
16393
|
+
uniswapV3SwapRouterAddress,
|
|
16394
|
+
uniswapV3SwapRouterConfig,
|
|
15540
16395
|
upgradeGateABI,
|
|
15541
16396
|
upgradeGateAddress,
|
|
15542
16397
|
upgradeGateConfig,
|