@zoralabs/protocol-deployments 0.6.0-creator-coins.1 → 0.6.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zoralabs/protocol-deployments",
3
- "version": "0.6.0-creator-coins.1",
3
+ "version": "0.6.0",
4
4
  "repository": "https://github.com/ourzora/zora-protocol",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -17,6 +17,7 @@ export const chainConfigs = {
17
17
  NONFUNGIBLE_POSITION_MANAGER: "0x03a520b32C04BF3bEEf7BEb72E919cf822Ed34f1",
18
18
  UNISWAP_SWAP_ROUTER: "0x2626664c2603336E57B271c5C0b26F421741e481",
19
19
  UNISWAP_V3_FACTORY: "0x33128a8fC17869897dcE68Ed026d694621f6FDfD",
20
+ UNISWAP_QUOTER_V2: "0x3d4e44Eb1374240CE5F1B871ab261CD16335B76a",
20
21
  DOPPLER_AIRLOCK: "0x660eAaEdEBc968f8f3694354FA8EC0b4c5Ba8D12",
21
22
  PROXY_ADMIN: "0x004d6611884B4A661749B64b2ADc78505c3e1AB3",
22
23
  ZORA_RECIPIENT: "0x7bf90111Ad7C22bec9E9dFf8A01A44713CC1b1B6",
@@ -44,6 +45,7 @@ export const chainConfigs = {
44
45
  NONFUNGIBLE_POSITION_MANAGER: "0x27F971cb582BF9E50F397e4d29a5C7A34f11faA2",
45
46
  UNISWAP_SWAP_ROUTER: "0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4",
46
47
  UNISWAP_V3_FACTORY: "0x4752ba5DBc23f44D87826276BF6Fd6b1C372aD24",
48
+ UNISWAP_QUOTER_V2: "0xC5290058841028F1614F3A6F0F5816cAd0df5E27",
47
49
  DOPPLER_AIRLOCK: "0xa24E35a5d71d02a59b41E7c93567626302da1958",
48
50
  PROXY_ADMIN: "0x5F14C23983c9e0840Dc60dA880349622f0785420",
49
51
  ZORA_RECIPIENT: "0x5F14C23983c9e0840Dc60dA880349622f0785420",
@@ -1,3 +1,100 @@
1
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
2
+ // AutoSwapper
3
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
4
+
5
+ export const autoSwapperABI = [
6
+ {
7
+ type: 'constructor',
8
+ inputs: [
9
+ {
10
+ name: '_router',
11
+ internalType: 'contract ISwapRouter',
12
+ type: 'address',
13
+ },
14
+ { name: '_swapRecipient', internalType: 'address', type: 'address' },
15
+ { name: '_swapper', internalType: 'address', type: 'address' },
16
+ ],
17
+ stateMutability: 'nonpayable',
18
+ },
19
+ {
20
+ type: 'function',
21
+ inputs: [],
22
+ name: 'router',
23
+ outputs: [
24
+ { name: '', internalType: 'contract ISwapRouter', type: 'address' },
25
+ ],
26
+ stateMutability: 'view',
27
+ },
28
+ {
29
+ type: 'function',
30
+ inputs: [
31
+ {
32
+ name: 'params',
33
+ internalType: 'struct AutoSwapper.ExactInputParams',
34
+ type: 'tuple',
35
+ components: [
36
+ { name: 'path', internalType: 'bytes', type: 'bytes' },
37
+ { name: 'amountIn', internalType: 'uint256', type: 'uint256' },
38
+ {
39
+ name: 'amountOutMinimum',
40
+ internalType: 'uint256',
41
+ type: 'uint256',
42
+ },
43
+ ],
44
+ },
45
+ ],
46
+ name: 'swapExactInput',
47
+ outputs: [{ name: 'amountOut', internalType: 'uint256', type: 'uint256' }],
48
+ stateMutability: 'nonpayable',
49
+ },
50
+ {
51
+ type: 'function',
52
+ inputs: [
53
+ {
54
+ name: 'params',
55
+ internalType: 'struct AutoSwapper.ExactInputSingleParams',
56
+ type: 'tuple',
57
+ components: [
58
+ { name: 'tokenIn', internalType: 'address', type: 'address' },
59
+ { name: 'tokenOut', internalType: 'address', type: 'address' },
60
+ { name: 'fee', internalType: 'uint24', type: 'uint24' },
61
+ { name: 'amountIn', internalType: 'uint256', type: 'uint256' },
62
+ {
63
+ name: 'amountOutMinimum',
64
+ internalType: 'uint256',
65
+ type: 'uint256',
66
+ },
67
+ {
68
+ name: 'sqrtPriceLimitX96',
69
+ internalType: 'uint160',
70
+ type: 'uint160',
71
+ },
72
+ ],
73
+ },
74
+ ],
75
+ name: 'swapExactInputSingle',
76
+ outputs: [{ name: 'amountOut', internalType: 'uint256', type: 'uint256' }],
77
+ stateMutability: 'nonpayable',
78
+ },
79
+ {
80
+ type: 'function',
81
+ inputs: [],
82
+ name: 'swapRecipient',
83
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
84
+ stateMutability: 'view',
85
+ },
86
+ {
87
+ type: 'function',
88
+ inputs: [],
89
+ name: 'swapper',
90
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
91
+ stateMutability: 'view',
92
+ },
93
+ { type: 'error', inputs: [], name: 'InvalidRecipient' },
94
+ { type: 'error', inputs: [], name: 'InvalidSelector' },
95
+ { type: 'error', inputs: [], name: 'NotSwapper' },
96
+ ] as const
97
+
1
98
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
2
99
  // BuySupplyWithSwapRouterHook
3
100
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -54,6 +151,16 @@ export const buySupplyWithSwapRouterHookABI = [
54
151
  outputs: [{ name: '', internalType: 'bytes', type: 'bytes' }],
55
152
  stateMutability: 'nonpayable',
56
153
  },
154
+ {
155
+ type: 'error',
156
+ inputs: [{ name: 'target', internalType: 'address', type: 'address' }],
157
+ name: 'AddressEmptyCode',
158
+ },
159
+ {
160
+ type: 'error',
161
+ inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
162
+ name: 'AddressInsufficientBalance',
163
+ },
57
164
  { type: 'error', inputs: [], name: 'AddressZero' },
58
165
  {
59
166
  type: 'error',
@@ -66,10 +173,16 @@ export const buySupplyWithSwapRouterHookABI = [
66
173
  name: 'CurrencyBalanceNot0',
67
174
  },
68
175
  { type: 'error', inputs: [], name: 'Erc20NotReceived' },
176
+ { type: 'error', inputs: [], name: 'FailedInnerCall' },
69
177
  { type: 'error', inputs: [], name: 'HookNotImplemented' },
70
178
  { type: 'error', inputs: [], name: 'InvalidSwapRouterCall' },
71
179
  { type: 'error', inputs: [], name: 'NotFactory' },
72
180
  { type: 'error', inputs: [], name: 'OnlyPoolManager' },
181
+ {
182
+ type: 'error',
183
+ inputs: [{ name: 'token', internalType: 'address', type: 'address' }],
184
+ name: 'SafeERC20FailedOperation',
185
+ },
73
186
  {
74
187
  type: 'error',
75
188
  inputs: [{ name: 'error', internalType: 'bytes', type: 'bytes' }],
@@ -1579,6 +1692,16 @@ export const coinABI = [
1579
1692
  outputs: [],
1580
1693
  stateMutability: 'nonpayable',
1581
1694
  },
1695
+ {
1696
+ type: 'function',
1697
+ inputs: [
1698
+ { name: 'newName', internalType: 'string', type: 'string' },
1699
+ { name: 'newSymbol', internalType: 'string', type: 'string' },
1700
+ ],
1701
+ name: 'setNameAndSymbol',
1702
+ outputs: [],
1703
+ stateMutability: 'nonpayable',
1704
+ },
1582
1705
  {
1583
1706
  type: 'function',
1584
1707
  inputs: [
@@ -2018,6 +2141,31 @@ export const coinABI = [
2018
2141
  ],
2019
2142
  name: 'Initialized',
2020
2143
  },
2144
+ {
2145
+ type: 'event',
2146
+ anonymous: false,
2147
+ inputs: [
2148
+ {
2149
+ name: 'caller',
2150
+ internalType: 'address',
2151
+ type: 'address',
2152
+ indexed: true,
2153
+ },
2154
+ {
2155
+ name: 'newName',
2156
+ internalType: 'string',
2157
+ type: 'string',
2158
+ indexed: false,
2159
+ },
2160
+ {
2161
+ name: 'newSymbol',
2162
+ internalType: 'string',
2163
+ type: 'string',
2164
+ indexed: false,
2165
+ },
2166
+ ],
2167
+ name: 'NameAndSymbolUpdated',
2168
+ },
2021
2169
  {
2022
2170
  type: 'event',
2023
2171
  anonymous: false,
@@ -2220,6 +2368,8 @@ export const coinFactoryABI = [
2220
2368
  { name: '_coinImpl', internalType: 'address', type: 'address' },
2221
2369
  { name: '_coinV4Impl', internalType: 'address', type: 'address' },
2222
2370
  { name: '_creatorCoinImpl', internalType: 'address', type: 'address' },
2371
+ { name: '_contentCoinHook', internalType: 'address', type: 'address' },
2372
+ { name: '_creatorCoinHook', internalType: 'address', type: 'address' },
2223
2373
  ],
2224
2374
  stateMutability: 'nonpayable',
2225
2375
  },
@@ -2258,6 +2408,13 @@ export const coinFactoryABI = [
2258
2408
  outputs: [{ name: '', internalType: 'address', type: 'address' }],
2259
2409
  stateMutability: 'view',
2260
2410
  },
2411
+ {
2412
+ type: 'function',
2413
+ inputs: [],
2414
+ name: 'contentCoinHook',
2415
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
2416
+ stateMutability: 'view',
2417
+ },
2261
2418
  {
2262
2419
  type: 'function',
2263
2420
  inputs: [],
@@ -2272,6 +2429,13 @@ export const coinFactoryABI = [
2272
2429
  outputs: [{ name: '', internalType: 'string', type: 'string' }],
2273
2430
  stateMutability: 'pure',
2274
2431
  },
2432
+ {
2433
+ type: 'function',
2434
+ inputs: [],
2435
+ name: 'creatorCoinHook',
2436
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
2437
+ stateMutability: 'view',
2438
+ },
2275
2439
  {
2276
2440
  type: 'function',
2277
2441
  inputs: [],
@@ -2806,7 +2970,6 @@ export const coinV4ABI = [
2806
2970
  type: 'address',
2807
2971
  },
2808
2972
  { name: 'airlock_', internalType: 'address', type: 'address' },
2809
- { name: 'hooks_', internalType: 'contract IHooks', type: 'address' },
2810
2973
  ],
2811
2974
  stateMutability: 'nonpayable',
2812
2975
  },
@@ -3082,6 +3245,29 @@ export const coinV4ABI = [
3082
3245
  outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
3083
3246
  stateMutability: 'view',
3084
3247
  },
3248
+ {
3249
+ type: 'function',
3250
+ inputs: [
3251
+ { name: 'newHook', internalType: 'address', type: 'address' },
3252
+ { name: 'additionalData', internalType: 'bytes', type: 'bytes' },
3253
+ ],
3254
+ name: 'migrateLiquidity',
3255
+ outputs: [
3256
+ {
3257
+ name: 'newPoolKey',
3258
+ internalType: 'struct PoolKey',
3259
+ type: 'tuple',
3260
+ components: [
3261
+ { name: 'currency0', internalType: 'Currency', type: 'address' },
3262
+ { name: 'currency1', internalType: 'Currency', type: 'address' },
3263
+ { name: 'fee', internalType: 'uint24', type: 'uint24' },
3264
+ { name: 'tickSpacing', internalType: 'int24', type: 'int24' },
3265
+ { name: 'hooks', internalType: 'contract IHooks', type: 'address' },
3266
+ ],
3267
+ },
3268
+ ],
3269
+ stateMutability: 'nonpayable',
3270
+ },
3085
3271
  {
3086
3272
  type: 'function',
3087
3273
  inputs: [],
@@ -3185,6 +3371,16 @@ export const coinV4ABI = [
3185
3371
  outputs: [],
3186
3372
  stateMutability: 'nonpayable',
3187
3373
  },
3374
+ {
3375
+ type: 'function',
3376
+ inputs: [
3377
+ { name: 'newName', internalType: 'string', type: 'string' },
3378
+ { name: 'newSymbol', internalType: 'string', type: 'string' },
3379
+ ],
3380
+ name: 'setNameAndSymbol',
3381
+ outputs: [],
3382
+ stateMutability: 'nonpayable',
3383
+ },
3188
3384
  {
3189
3385
  type: 'function',
3190
3386
  inputs: [
@@ -3599,6 +3795,76 @@ export const coinV4ABI = [
3599
3795
  ],
3600
3796
  name: 'Initialized',
3601
3797
  },
3798
+ {
3799
+ type: 'event',
3800
+ anonymous: false,
3801
+ inputs: [
3802
+ {
3803
+ name: 'fromPoolKey',
3804
+ internalType: 'struct PoolKey',
3805
+ type: 'tuple',
3806
+ components: [
3807
+ { name: 'currency0', internalType: 'Currency', type: 'address' },
3808
+ { name: 'currency1', internalType: 'Currency', type: 'address' },
3809
+ { name: 'fee', internalType: 'uint24', type: 'uint24' },
3810
+ { name: 'tickSpacing', internalType: 'int24', type: 'int24' },
3811
+ { name: 'hooks', internalType: 'contract IHooks', type: 'address' },
3812
+ ],
3813
+ indexed: false,
3814
+ },
3815
+ {
3816
+ name: 'fromPoolKeyHash',
3817
+ internalType: 'bytes32',
3818
+ type: 'bytes32',
3819
+ indexed: false,
3820
+ },
3821
+ {
3822
+ name: 'toPoolKey',
3823
+ internalType: 'struct PoolKey',
3824
+ type: 'tuple',
3825
+ components: [
3826
+ { name: 'currency0', internalType: 'Currency', type: 'address' },
3827
+ { name: 'currency1', internalType: 'Currency', type: 'address' },
3828
+ { name: 'fee', internalType: 'uint24', type: 'uint24' },
3829
+ { name: 'tickSpacing', internalType: 'int24', type: 'int24' },
3830
+ { name: 'hooks', internalType: 'contract IHooks', type: 'address' },
3831
+ ],
3832
+ indexed: false,
3833
+ },
3834
+ {
3835
+ name: 'toPoolKeyHash',
3836
+ internalType: 'bytes32',
3837
+ type: 'bytes32',
3838
+ indexed: false,
3839
+ },
3840
+ ],
3841
+ name: 'LiquidityMigrated',
3842
+ },
3843
+ {
3844
+ type: 'event',
3845
+ anonymous: false,
3846
+ inputs: [
3847
+ {
3848
+ name: 'caller',
3849
+ internalType: 'address',
3850
+ type: 'address',
3851
+ indexed: true,
3852
+ },
3853
+ {
3854
+ name: 'newName',
3855
+ internalType: 'string',
3856
+ type: 'string',
3857
+ indexed: false,
3858
+ },
3859
+ {
3860
+ name: 'newSymbol',
3861
+ internalType: 'string',
3862
+ type: 'string',
3863
+ indexed: false,
3864
+ },
3865
+ ],
3866
+ name: 'NameAndSymbolUpdated',
3867
+ },
3602
3868
  {
3603
3869
  type: 'event',
3604
3870
  anonymous: false,
@@ -5622,7 +5888,7 @@ export const commentsConfig = {
5622
5888
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
5623
5889
 
5624
5890
  /**
5625
- * [__View Contract on Base Basescan__](https://basescan.org/address/0xd77038a7f400E8242d2916f7EB5741e689d4aE25)
5891
+ * [__View Contract on Base Basescan__](https://basescan.org/address/0x62B95629F965bf48E15BB110A1729B9b9dF1C07D)
5626
5892
  */
5627
5893
  export const devBuySupplyWithSwapRouterHookABI = [
5628
5894
  {
@@ -5672,6 +5938,16 @@ export const devBuySupplyWithSwapRouterHookABI = [
5672
5938
  outputs: [{ name: '', internalType: 'bytes', type: 'bytes' }],
5673
5939
  stateMutability: 'nonpayable',
5674
5940
  },
5941
+ {
5942
+ type: 'error',
5943
+ inputs: [{ name: 'target', internalType: 'address', type: 'address' }],
5944
+ name: 'AddressEmptyCode',
5945
+ },
5946
+ {
5947
+ type: 'error',
5948
+ inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
5949
+ name: 'AddressInsufficientBalance',
5950
+ },
5675
5951
  { type: 'error', inputs: [], name: 'AddressZero' },
5676
5952
  {
5677
5953
  type: 'error',
@@ -5684,10 +5960,16 @@ export const devBuySupplyWithSwapRouterHookABI = [
5684
5960
  name: 'CurrencyBalanceNot0',
5685
5961
  },
5686
5962
  { type: 'error', inputs: [], name: 'Erc20NotReceived' },
5963
+ { type: 'error', inputs: [], name: 'FailedInnerCall' },
5687
5964
  { type: 'error', inputs: [], name: 'HookNotImplemented' },
5688
5965
  { type: 'error', inputs: [], name: 'InvalidSwapRouterCall' },
5689
5966
  { type: 'error', inputs: [], name: 'NotFactory' },
5690
5967
  { type: 'error', inputs: [], name: 'OnlyPoolManager' },
5968
+ {
5969
+ type: 'error',
5970
+ inputs: [{ name: 'token', internalType: 'address', type: 'address' }],
5971
+ name: 'SafeERC20FailedOperation',
5972
+ },
5691
5973
  {
5692
5974
  type: 'error',
5693
5975
  inputs: [{ name: 'error', internalType: 'bytes', type: 'bytes' }],
@@ -5696,14 +5978,14 @@ export const devBuySupplyWithSwapRouterHookABI = [
5696
5978
  ] as const
5697
5979
 
5698
5980
  /**
5699
- * [__View Contract on Base Basescan__](https://basescan.org/address/0xd77038a7f400E8242d2916f7EB5741e689d4aE25)
5981
+ * [__View Contract on Base Basescan__](https://basescan.org/address/0x62B95629F965bf48E15BB110A1729B9b9dF1C07D)
5700
5982
  */
5701
5983
  export const devBuySupplyWithSwapRouterHookAddress = {
5702
- 8453: '0xd77038a7f400E8242d2916f7EB5741e689d4aE25',
5984
+ 8453: '0x62B95629F965bf48E15BB110A1729B9b9dF1C07D',
5703
5985
  } as const
5704
5986
 
5705
5987
  /**
5706
- * [__View Contract on Base Basescan__](https://basescan.org/address/0xd77038a7f400E8242d2916f7EB5741e689d4aE25)
5988
+ * [__View Contract on Base Basescan__](https://basescan.org/address/0x62B95629F965bf48E15BB110A1729B9b9dF1C07D)
5707
5989
  */
5708
5990
  export const devBuySupplyWithSwapRouterHookConfig = {
5709
5991
  address: devBuySupplyWithSwapRouterHookAddress,
@@ -5715,7 +5997,7 @@ export const devBuySupplyWithSwapRouterHookConfig = {
5715
5997
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
5716
5998
 
5717
5999
  /**
5718
- * [__View Contract on Base Basescan__](https://basescan.org/address/0x25271c98c1548c075c6DD463308c9a37135c842c)
6000
+ * [__View Contract on Base Basescan__](https://basescan.org/address/0x47B0C1205B01e5e967dB24A186968152e5cCf764)
5719
6001
  */
5720
6002
  export const devCoinFactoryABI = [
5721
6003
  {
@@ -5724,6 +6006,8 @@ export const devCoinFactoryABI = [
5724
6006
  { name: '_coinImpl', internalType: 'address', type: 'address' },
5725
6007
  { name: '_coinV4Impl', internalType: 'address', type: 'address' },
5726
6008
  { name: '_creatorCoinImpl', internalType: 'address', type: 'address' },
6009
+ { name: '_contentCoinHook', internalType: 'address', type: 'address' },
6010
+ { name: '_creatorCoinHook', internalType: 'address', type: 'address' },
5727
6011
  ],
5728
6012
  stateMutability: 'nonpayable',
5729
6013
  },
@@ -5762,6 +6046,13 @@ export const devCoinFactoryABI = [
5762
6046
  outputs: [{ name: '', internalType: 'address', type: 'address' }],
5763
6047
  stateMutability: 'view',
5764
6048
  },
6049
+ {
6050
+ type: 'function',
6051
+ inputs: [],
6052
+ name: 'contentCoinHook',
6053
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
6054
+ stateMutability: 'view',
6055
+ },
5765
6056
  {
5766
6057
  type: 'function',
5767
6058
  inputs: [],
@@ -5776,6 +6067,13 @@ export const devCoinFactoryABI = [
5776
6067
  outputs: [{ name: '', internalType: 'string', type: 'string' }],
5777
6068
  stateMutability: 'pure',
5778
6069
  },
6070
+ {
6071
+ type: 'function',
6072
+ inputs: [],
6073
+ name: 'creatorCoinHook',
6074
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
6075
+ stateMutability: 'view',
6076
+ },
5779
6077
  {
5780
6078
  type: 'function',
5781
6079
  inputs: [],
@@ -6273,14 +6571,14 @@ export const devCoinFactoryABI = [
6273
6571
  ] as const
6274
6572
 
6275
6573
  /**
6276
- * [__View Contract on Base Basescan__](https://basescan.org/address/0x25271c98c1548c075c6DD463308c9a37135c842c)
6574
+ * [__View Contract on Base Basescan__](https://basescan.org/address/0x47B0C1205B01e5e967dB24A186968152e5cCf764)
6277
6575
  */
6278
6576
  export const devCoinFactoryAddress = {
6279
- 8453: '0x25271c98c1548c075c6DD463308c9a37135c842c',
6577
+ 8453: '0x47B0C1205B01e5e967dB24A186968152e5cCf764',
6280
6578
  } as const
6281
6579
 
6282
6580
  /**
6283
- * [__View Contract on Base Basescan__](https://basescan.org/address/0x25271c98c1548c075c6DD463308c9a37135c842c)
6581
+ * [__View Contract on Base Basescan__](https://basescan.org/address/0x47B0C1205B01e5e967dB24A186968152e5cCf764)
6284
6582
  */
6285
6583
  export const devCoinFactoryConfig = {
6286
6584
  address: devCoinFactoryAddress,
@@ -9995,6 +10293,147 @@ export const sponsoredSparksSpenderConfig = {
9995
10293
  abi: sponsoredSparksSpenderABI,
9996
10294
  } as const
9997
10295
 
10296
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
10297
+ // UniswapQuoterV2
10298
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
10299
+
10300
+ /**
10301
+ * - [__View Contract on Base Basescan__](https://basescan.org/address/0x3d4e44Eb1374240CE5F1B871ab261CD16335B76a)
10302
+ * - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0xC5290058841028F1614F3A6F0F5816cAd0df5E27)
10303
+ */
10304
+ export const uniswapQuoterV2ABI = [
10305
+ {
10306
+ type: 'function',
10307
+ inputs: [
10308
+ { name: 'path', internalType: 'bytes', type: 'bytes' },
10309
+ { name: 'amountIn', internalType: 'uint256', type: 'uint256' },
10310
+ ],
10311
+ name: 'quoteExactInput',
10312
+ outputs: [
10313
+ { name: 'amountOut', internalType: 'uint256', type: 'uint256' },
10314
+ {
10315
+ name: 'sqrtPriceX96AfterList',
10316
+ internalType: 'uint160[]',
10317
+ type: 'uint160[]',
10318
+ },
10319
+ {
10320
+ name: 'initializedTicksCrossedList',
10321
+ internalType: 'uint32[]',
10322
+ type: 'uint32[]',
10323
+ },
10324
+ { name: 'gasEstimate', internalType: 'uint256', type: 'uint256' },
10325
+ ],
10326
+ stateMutability: 'nonpayable',
10327
+ },
10328
+ {
10329
+ type: 'function',
10330
+ inputs: [
10331
+ {
10332
+ name: 'params',
10333
+ internalType: 'struct IQuoterV2.QuoteExactInputSingleParams',
10334
+ type: 'tuple',
10335
+ components: [
10336
+ { name: 'tokenIn', internalType: 'address', type: 'address' },
10337
+ { name: 'tokenOut', internalType: 'address', type: 'address' },
10338
+ { name: 'amountIn', internalType: 'uint256', type: 'uint256' },
10339
+ { name: 'fee', internalType: 'uint24', type: 'uint24' },
10340
+ {
10341
+ name: 'sqrtPriceLimitX96',
10342
+ internalType: 'uint160',
10343
+ type: 'uint160',
10344
+ },
10345
+ ],
10346
+ },
10347
+ ],
10348
+ name: 'quoteExactInputSingle',
10349
+ outputs: [
10350
+ { name: 'amountOut', internalType: 'uint256', type: 'uint256' },
10351
+ { name: 'sqrtPriceX96After', internalType: 'uint160', type: 'uint160' },
10352
+ {
10353
+ name: 'initializedTicksCrossed',
10354
+ internalType: 'uint32',
10355
+ type: 'uint32',
10356
+ },
10357
+ { name: 'gasEstimate', internalType: 'uint256', type: 'uint256' },
10358
+ ],
10359
+ stateMutability: 'nonpayable',
10360
+ },
10361
+ {
10362
+ type: 'function',
10363
+ inputs: [
10364
+ { name: 'path', internalType: 'bytes', type: 'bytes' },
10365
+ { name: 'amountOut', internalType: 'uint256', type: 'uint256' },
10366
+ ],
10367
+ name: 'quoteExactOutput',
10368
+ outputs: [
10369
+ { name: 'amountIn', internalType: 'uint256', type: 'uint256' },
10370
+ {
10371
+ name: 'sqrtPriceX96AfterList',
10372
+ internalType: 'uint160[]',
10373
+ type: 'uint160[]',
10374
+ },
10375
+ {
10376
+ name: 'initializedTicksCrossedList',
10377
+ internalType: 'uint32[]',
10378
+ type: 'uint32[]',
10379
+ },
10380
+ { name: 'gasEstimate', internalType: 'uint256', type: 'uint256' },
10381
+ ],
10382
+ stateMutability: 'nonpayable',
10383
+ },
10384
+ {
10385
+ type: 'function',
10386
+ inputs: [
10387
+ {
10388
+ name: 'params',
10389
+ internalType: 'struct IQuoterV2.QuoteExactOutputSingleParams',
10390
+ type: 'tuple',
10391
+ components: [
10392
+ { name: 'tokenIn', internalType: 'address', type: 'address' },
10393
+ { name: 'tokenOut', internalType: 'address', type: 'address' },
10394
+ { name: 'amount', internalType: 'uint256', type: 'uint256' },
10395
+ { name: 'fee', internalType: 'uint24', type: 'uint24' },
10396
+ {
10397
+ name: 'sqrtPriceLimitX96',
10398
+ internalType: 'uint160',
10399
+ type: 'uint160',
10400
+ },
10401
+ ],
10402
+ },
10403
+ ],
10404
+ name: 'quoteExactOutputSingle',
10405
+ outputs: [
10406
+ { name: 'amountIn', internalType: 'uint256', type: 'uint256' },
10407
+ { name: 'sqrtPriceX96After', internalType: 'uint160', type: 'uint160' },
10408
+ {
10409
+ name: 'initializedTicksCrossed',
10410
+ internalType: 'uint32',
10411
+ type: 'uint32',
10412
+ },
10413
+ { name: 'gasEstimate', internalType: 'uint256', type: 'uint256' },
10414
+ ],
10415
+ stateMutability: 'nonpayable',
10416
+ },
10417
+ ] as const
10418
+
10419
+ /**
10420
+ * - [__View Contract on Base Basescan__](https://basescan.org/address/0x3d4e44Eb1374240CE5F1B871ab261CD16335B76a)
10421
+ * - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0xC5290058841028F1614F3A6F0F5816cAd0df5E27)
10422
+ */
10423
+ export const uniswapQuoterV2Address = {
10424
+ 8453: '0x3d4e44Eb1374240CE5F1B871ab261CD16335B76a',
10425
+ 84532: '0xC5290058841028F1614F3A6F0F5816cAd0df5E27',
10426
+ } as const
10427
+
10428
+ /**
10429
+ * - [__View Contract on Base Basescan__](https://basescan.org/address/0x3d4e44Eb1374240CE5F1B871ab261CD16335B76a)
10430
+ * - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0xC5290058841028F1614F3A6F0F5816cAd0df5E27)
10431
+ */
10432
+ export const uniswapQuoterV2Config = {
10433
+ address: uniswapQuoterV2Address,
10434
+ abi: uniswapQuoterV2ABI,
10435
+ } as const
10436
+
9998
10437
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
9999
10438
  // UniswapUniversalRouter
10000
10439
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////