@zoralabs/protocol-deployments 0.5.3 → 0.5.4-doppler.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 +7 -1
- package/dist/generated/sparks.d.ts +4 -0
- package/dist/generated/sparks.d.ts.map +1 -1
- package/dist/generated/wagmi.d.ts +203 -67
- package/dist/generated/wagmi.d.ts.map +1 -1
- package/dist/index.cjs +84 -39
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +84 -39
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/generated/sparks.ts +4 -0
- package/src/generated/wagmi.ts +81 -40
package/package.json
CHANGED
package/src/generated/sparks.ts
CHANGED
|
@@ -16,6 +16,8 @@ export const chainConfigs = {
|
|
|
16
16
|
8453: {
|
|
17
17
|
NONFUNGIBLE_POSITION_MANAGER: "0x03a520b32C04BF3bEEf7BEb72E919cf822Ed34f1",
|
|
18
18
|
UNISWAP_SWAP_ROUTER: "0x2626664c2603336E57B271c5C0b26F421741e481",
|
|
19
|
+
UNISWAP_V3_FACTORY: "0x33128a8fC17869897dcE68Ed026d694621f6FDfD",
|
|
20
|
+
DOPPLER_AIRLOCK: "0x660eAaEdEBc968f8f3694354FA8EC0b4c5Ba8D12",
|
|
19
21
|
PROXY_ADMIN: "0x004d6611884B4A661749B64b2ADc78505c3e1AB3",
|
|
20
22
|
ZORA_RECIPIENT: "0x7bf90111Ad7C22bec9E9dFf8A01A44713CC1b1B6",
|
|
21
23
|
WETH: "0x4200000000000000000000000000000000000006",
|
|
@@ -37,6 +39,8 @@ export const chainConfigs = {
|
|
|
37
39
|
84532: {
|
|
38
40
|
NONFUNGIBLE_POSITION_MANAGER: "0x27F971cb582BF9E50F397e4d29a5C7A34f11faA2",
|
|
39
41
|
UNISWAP_SWAP_ROUTER: "0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4",
|
|
42
|
+
UNISWAP_V3_FACTORY: "0x4752ba5DBc23f44D87826276BF6Fd6b1C372aD24",
|
|
43
|
+
DOPPLER_AIRLOCK: "0xa24E35a5d71d02a59b41E7c93567626302da1958",
|
|
40
44
|
PROXY_ADMIN: "0x5F14C23983c9e0840Dc60dA880349622f0785420",
|
|
41
45
|
ZORA_RECIPIENT: "0x5F14C23983c9e0840Dc60dA880349622f0785420",
|
|
42
46
|
WETH: "0x4200000000000000000000000000000000000006",
|
package/src/generated/wagmi.ts
CHANGED
|
@@ -1090,12 +1090,9 @@ export const coinABI = [
|
|
|
1090
1090
|
},
|
|
1091
1091
|
{ name: '_protocolRewards', internalType: 'address', type: 'address' },
|
|
1092
1092
|
{ name: '_weth', internalType: 'address', type: 'address' },
|
|
1093
|
-
{
|
|
1094
|
-
name: '_nonfungiblePositionManager',
|
|
1095
|
-
internalType: 'address',
|
|
1096
|
-
type: 'address',
|
|
1097
|
-
},
|
|
1093
|
+
{ name: '_v3Factory', internalType: 'address', type: 'address' },
|
|
1098
1094
|
{ name: '_swapRouter', internalType: 'address', type: 'address' },
|
|
1095
|
+
{ name: '_airlock', internalType: 'address', type: 'address' },
|
|
1099
1096
|
],
|
|
1100
1097
|
stateMutability: 'nonpayable',
|
|
1101
1098
|
},
|
|
@@ -1179,6 +1176,13 @@ export const coinABI = [
|
|
|
1179
1176
|
outputs: [],
|
|
1180
1177
|
stateMutability: 'nonpayable',
|
|
1181
1178
|
},
|
|
1179
|
+
{
|
|
1180
|
+
type: 'function',
|
|
1181
|
+
inputs: [],
|
|
1182
|
+
name: 'airlock',
|
|
1183
|
+
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
1184
|
+
stateMutability: 'view',
|
|
1185
|
+
},
|
|
1182
1186
|
{
|
|
1183
1187
|
type: 'function',
|
|
1184
1188
|
inputs: [
|
|
@@ -1287,9 +1291,8 @@ export const coinABI = [
|
|
|
1287
1291
|
{ name: 'tokenURI_', internalType: 'string', type: 'string' },
|
|
1288
1292
|
{ name: 'name_', internalType: 'string', type: 'string' },
|
|
1289
1293
|
{ name: 'symbol_', internalType: 'string', type: 'string' },
|
|
1294
|
+
{ name: 'poolConfig_', internalType: 'bytes', type: 'bytes' },
|
|
1290
1295
|
{ name: 'platformReferrer_', internalType: 'address', type: 'address' },
|
|
1291
|
-
{ name: 'currency_', internalType: 'address', type: 'address' },
|
|
1292
|
-
{ name: 'tickLower_', internalType: 'int24', type: 'int24' },
|
|
1293
1296
|
],
|
|
1294
1297
|
name: 'initialize',
|
|
1295
1298
|
outputs: [],
|
|
@@ -1302,13 +1305,6 @@ export const coinABI = [
|
|
|
1302
1305
|
outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
|
|
1303
1306
|
stateMutability: 'view',
|
|
1304
1307
|
},
|
|
1305
|
-
{
|
|
1306
|
-
type: 'function',
|
|
1307
|
-
inputs: [],
|
|
1308
|
-
name: 'lpTokenId',
|
|
1309
|
-
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
|
|
1310
|
-
stateMutability: 'view',
|
|
1311
|
-
},
|
|
1312
1308
|
{
|
|
1313
1309
|
type: 'function',
|
|
1314
1310
|
inputs: [],
|
|
@@ -1323,25 +1319,6 @@ export const coinABI = [
|
|
|
1323
1319
|
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
|
|
1324
1320
|
stateMutability: 'view',
|
|
1325
1321
|
},
|
|
1326
|
-
{
|
|
1327
|
-
type: 'function',
|
|
1328
|
-
inputs: [],
|
|
1329
|
-
name: 'nonfungiblePositionManager',
|
|
1330
|
-
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
1331
|
-
stateMutability: 'view',
|
|
1332
|
-
},
|
|
1333
|
-
{
|
|
1334
|
-
type: 'function',
|
|
1335
|
-
inputs: [
|
|
1336
|
-
{ name: '', internalType: 'address', type: 'address' },
|
|
1337
|
-
{ name: '', internalType: 'address', type: 'address' },
|
|
1338
|
-
{ name: '', internalType: 'uint256', type: 'uint256' },
|
|
1339
|
-
{ name: '', internalType: 'bytes', type: 'bytes' },
|
|
1340
|
-
],
|
|
1341
|
-
name: 'onERC721Received',
|
|
1342
|
-
outputs: [{ name: '', internalType: 'bytes4', type: 'bytes4' }],
|
|
1343
|
-
stateMutability: 'view',
|
|
1344
|
-
},
|
|
1345
1322
|
{
|
|
1346
1323
|
type: 'function',
|
|
1347
1324
|
inputs: [],
|
|
@@ -1385,6 +1362,27 @@ export const coinABI = [
|
|
|
1385
1362
|
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
1386
1363
|
stateMutability: 'view',
|
|
1387
1364
|
},
|
|
1365
|
+
{
|
|
1366
|
+
type: 'function',
|
|
1367
|
+
inputs: [],
|
|
1368
|
+
name: 'poolState',
|
|
1369
|
+
outputs: [
|
|
1370
|
+
{ name: 'asset', internalType: 'address', type: 'address' },
|
|
1371
|
+
{ name: 'numeraire', internalType: 'address', type: 'address' },
|
|
1372
|
+
{ name: 'tickLower', internalType: 'int24', type: 'int24' },
|
|
1373
|
+
{ name: 'tickUpper', internalType: 'int24', type: 'int24' },
|
|
1374
|
+
{ name: 'numPositions', internalType: 'uint16', type: 'uint16' },
|
|
1375
|
+
{ name: 'isInitialized', internalType: 'bool', type: 'bool' },
|
|
1376
|
+
{ name: 'isExited', internalType: 'bool', type: 'bool' },
|
|
1377
|
+
{ name: 'maxShareToBeSold', internalType: 'uint256', type: 'uint256' },
|
|
1378
|
+
{
|
|
1379
|
+
name: 'totalTokensOnBondingCurve',
|
|
1380
|
+
internalType: 'uint256',
|
|
1381
|
+
type: 'uint256',
|
|
1382
|
+
},
|
|
1383
|
+
],
|
|
1384
|
+
stateMutability: 'view',
|
|
1385
|
+
},
|
|
1388
1386
|
{
|
|
1389
1387
|
type: 'function',
|
|
1390
1388
|
inputs: [],
|
|
@@ -1513,14 +1511,21 @@ export const coinABI = [
|
|
|
1513
1511
|
{
|
|
1514
1512
|
type: 'function',
|
|
1515
1513
|
inputs: [
|
|
1516
|
-
{ name: '
|
|
1517
|
-
{ name: '
|
|
1514
|
+
{ name: 'amount0Owed', internalType: 'uint256', type: 'uint256' },
|
|
1515
|
+
{ name: 'amount1Owed', internalType: 'uint256', type: 'uint256' },
|
|
1518
1516
|
{ name: '', internalType: 'bytes', type: 'bytes' },
|
|
1519
1517
|
],
|
|
1520
|
-
name: '
|
|
1518
|
+
name: 'uniswapV3MintCallback',
|
|
1521
1519
|
outputs: [],
|
|
1522
1520
|
stateMutability: 'nonpayable',
|
|
1523
1521
|
},
|
|
1522
|
+
{
|
|
1523
|
+
type: 'function',
|
|
1524
|
+
inputs: [],
|
|
1525
|
+
name: 'v3Factory',
|
|
1526
|
+
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
1527
|
+
stateMutability: 'view',
|
|
1528
|
+
},
|
|
1524
1529
|
{
|
|
1525
1530
|
type: 'event',
|
|
1526
1531
|
anonymous: false,
|
|
@@ -1929,6 +1934,7 @@ export const coinABI = [
|
|
|
1929
1934
|
},
|
|
1930
1935
|
{ type: 'error', inputs: [], name: 'AddressZero' },
|
|
1931
1936
|
{ type: 'error', inputs: [], name: 'AlreadyOwner' },
|
|
1937
|
+
{ type: 'error', inputs: [], name: 'CannotMintZeroLiquidity' },
|
|
1932
1938
|
{ type: 'error', inputs: [], name: 'ECDSAInvalidSignature' },
|
|
1933
1939
|
{
|
|
1934
1940
|
type: 'error',
|
|
@@ -2011,9 +2017,25 @@ export const coinABI = [
|
|
|
2011
2017
|
{ type: 'error', inputs: [], name: 'InvalidCurrencyLowerTick' },
|
|
2012
2018
|
{ type: 'error', inputs: [], name: 'InvalidInitialization' },
|
|
2013
2019
|
{ type: 'error', inputs: [], name: 'InvalidMarketType' },
|
|
2020
|
+
{
|
|
2021
|
+
type: 'error',
|
|
2022
|
+
inputs: [
|
|
2023
|
+
{ name: 'tickLower', internalType: 'int24', type: 'int24' },
|
|
2024
|
+
{ name: 'tickUpper', internalType: 'int24', type: 'int24' },
|
|
2025
|
+
],
|
|
2026
|
+
name: 'InvalidTickRangeMisordered',
|
|
2027
|
+
},
|
|
2014
2028
|
{ type: 'error', inputs: [], name: 'InvalidWethLowerTick' },
|
|
2015
2029
|
{ type: 'error', inputs: [], name: 'MarketAlreadyGraduated' },
|
|
2016
2030
|
{ type: 'error', inputs: [], name: 'MarketNotGraduated' },
|
|
2031
|
+
{
|
|
2032
|
+
type: 'error',
|
|
2033
|
+
inputs: [
|
|
2034
|
+
{ name: 'value', internalType: 'uint256', type: 'uint256' },
|
|
2035
|
+
{ name: 'limit', internalType: 'uint256', type: 'uint256' },
|
|
2036
|
+
],
|
|
2037
|
+
name: 'MaxShareToBeSoldExceeded',
|
|
2038
|
+
},
|
|
2017
2039
|
{ type: 'error', inputs: [], name: 'NotInitializing' },
|
|
2018
2040
|
{ type: 'error', inputs: [], name: 'NotOwner' },
|
|
2019
2041
|
{ type: 'error', inputs: [], name: 'OneOwnerRequired' },
|
|
@@ -2036,7 +2058,7 @@ export const coinABI = [
|
|
|
2036
2058
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
2037
2059
|
|
|
2038
2060
|
/**
|
|
2039
|
-
* - [__View Contract on Base Basescan__](https://basescan.org/address/
|
|
2061
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x02B2705500096Ff83F9eF78873ca5DFB06C00Ddc)
|
|
2040
2062
|
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x777777751622c0d3258f214F9DF38E35BF45baF3)
|
|
2041
2063
|
*/
|
|
2042
2064
|
export const coinFactoryABI = [
|
|
@@ -2079,6 +2101,25 @@ export const coinFactoryABI = [
|
|
|
2079
2101
|
],
|
|
2080
2102
|
stateMutability: 'payable',
|
|
2081
2103
|
},
|
|
2104
|
+
{
|
|
2105
|
+
type: 'function',
|
|
2106
|
+
inputs: [
|
|
2107
|
+
{ name: 'payoutRecipient', internalType: 'address', type: 'address' },
|
|
2108
|
+
{ name: 'owners', internalType: 'address[]', type: 'address[]' },
|
|
2109
|
+
{ name: 'uri', internalType: 'string', type: 'string' },
|
|
2110
|
+
{ name: 'name', internalType: 'string', type: 'string' },
|
|
2111
|
+
{ name: 'symbol', internalType: 'string', type: 'string' },
|
|
2112
|
+
{ name: 'poolConfig', internalType: 'bytes', type: 'bytes' },
|
|
2113
|
+
{ name: 'platformReferrer', internalType: 'address', type: 'address' },
|
|
2114
|
+
{ name: 'orderSize', internalType: 'uint256', type: 'uint256' },
|
|
2115
|
+
],
|
|
2116
|
+
name: 'deploy',
|
|
2117
|
+
outputs: [
|
|
2118
|
+
{ name: '', internalType: 'address', type: 'address' },
|
|
2119
|
+
{ name: '', internalType: 'uint256', type: 'uint256' },
|
|
2120
|
+
],
|
|
2121
|
+
stateMutability: 'payable',
|
|
2122
|
+
},
|
|
2082
2123
|
{
|
|
2083
2124
|
type: 'function',
|
|
2084
2125
|
inputs: [],
|
|
@@ -2284,16 +2325,16 @@ export const coinFactoryABI = [
|
|
|
2284
2325
|
] as const
|
|
2285
2326
|
|
|
2286
2327
|
/**
|
|
2287
|
-
* - [__View Contract on Base Basescan__](https://basescan.org/address/
|
|
2328
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x02B2705500096Ff83F9eF78873ca5DFB06C00Ddc)
|
|
2288
2329
|
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x777777751622c0d3258f214F9DF38E35BF45baF3)
|
|
2289
2330
|
*/
|
|
2290
2331
|
export const coinFactoryAddress = {
|
|
2291
|
-
8453: '
|
|
2332
|
+
8453: '0x02B2705500096Ff83F9eF78873ca5DFB06C00Ddc',
|
|
2292
2333
|
84532: '0x777777751622c0d3258f214F9DF38E35BF45baF3',
|
|
2293
2334
|
} as const
|
|
2294
2335
|
|
|
2295
2336
|
/**
|
|
2296
|
-
* - [__View Contract on Base Basescan__](https://basescan.org/address/
|
|
2337
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x02B2705500096Ff83F9eF78873ca5DFB06C00Ddc)
|
|
2297
2338
|
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x777777751622c0d3258f214F9DF38E35BF45baF3)
|
|
2298
2339
|
*/
|
|
2299
2340
|
export const coinFactoryConfig = {
|