@zoralabs/protocol-deployments 0.5.3 → 0.5.4
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 +19 -19
- package/CHANGELOG.md +13 -1
- package/dist/generated/sparks.d.ts +4 -0
- package/dist/generated/sparks.d.ts.map +1 -1
- package/dist/generated/wagmi.d.ts +240 -62
- package/dist/generated/wagmi.d.ts.map +1 -1
- package/dist/index.cjs +108 -38
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +108 -38
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/generated/sparks.ts +4 -0
- package/src/generated/wagmi.ts +102 -36
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,44 @@ 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: 'poolConfiguration',
|
|
1369
|
+
outputs: [
|
|
1370
|
+
{ name: 'version', internalType: 'uint8', type: 'uint8' },
|
|
1371
|
+
{ name: 'tickLower', internalType: 'int24', type: 'int24' },
|
|
1372
|
+
{ name: 'tickUpper', internalType: 'int24', type: 'int24' },
|
|
1373
|
+
{ name: 'numPositions', internalType: 'uint16', type: 'uint16' },
|
|
1374
|
+
{
|
|
1375
|
+
name: 'maxDiscoverySupplyShare',
|
|
1376
|
+
internalType: 'uint256',
|
|
1377
|
+
type: 'uint256',
|
|
1378
|
+
},
|
|
1379
|
+
],
|
|
1380
|
+
stateMutability: 'view',
|
|
1381
|
+
},
|
|
1382
|
+
{
|
|
1383
|
+
type: 'function',
|
|
1384
|
+
inputs: [],
|
|
1385
|
+
name: 'poolState',
|
|
1386
|
+
outputs: [
|
|
1387
|
+
{ name: 'asset', internalType: 'address', type: 'address' },
|
|
1388
|
+
{ name: 'numeraire', internalType: 'address', type: 'address' },
|
|
1389
|
+
{ name: 'tickLower', internalType: 'int24', type: 'int24' },
|
|
1390
|
+
{ name: 'tickUpper', internalType: 'int24', type: 'int24' },
|
|
1391
|
+
{ name: 'numPositions', internalType: 'uint16', type: 'uint16' },
|
|
1392
|
+
{ name: 'isInitialized', internalType: 'bool', type: 'bool' },
|
|
1393
|
+
{ name: 'isExited', internalType: 'bool', type: 'bool' },
|
|
1394
|
+
{ name: 'maxShareToBeSold', internalType: 'uint256', type: 'uint256' },
|
|
1395
|
+
{
|
|
1396
|
+
name: 'totalTokensOnBondingCurve',
|
|
1397
|
+
internalType: 'uint256',
|
|
1398
|
+
type: 'uint256',
|
|
1399
|
+
},
|
|
1400
|
+
],
|
|
1401
|
+
stateMutability: 'view',
|
|
1402
|
+
},
|
|
1388
1403
|
{
|
|
1389
1404
|
type: 'function',
|
|
1390
1405
|
inputs: [],
|
|
@@ -1513,14 +1528,21 @@ export const coinABI = [
|
|
|
1513
1528
|
{
|
|
1514
1529
|
type: 'function',
|
|
1515
1530
|
inputs: [
|
|
1516
|
-
{ name: '
|
|
1517
|
-
{ name: '
|
|
1531
|
+
{ name: 'amount0Owed', internalType: 'uint256', type: 'uint256' },
|
|
1532
|
+
{ name: 'amount1Owed', internalType: 'uint256', type: 'uint256' },
|
|
1518
1533
|
{ name: '', internalType: 'bytes', type: 'bytes' },
|
|
1519
1534
|
],
|
|
1520
|
-
name: '
|
|
1535
|
+
name: 'uniswapV3MintCallback',
|
|
1521
1536
|
outputs: [],
|
|
1522
1537
|
stateMutability: 'nonpayable',
|
|
1523
1538
|
},
|
|
1539
|
+
{
|
|
1540
|
+
type: 'function',
|
|
1541
|
+
inputs: [],
|
|
1542
|
+
name: 'v3Factory',
|
|
1543
|
+
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
1544
|
+
stateMutability: 'view',
|
|
1545
|
+
},
|
|
1524
1546
|
{
|
|
1525
1547
|
type: 'event',
|
|
1526
1548
|
anonymous: false,
|
|
@@ -1929,6 +1951,12 @@ export const coinABI = [
|
|
|
1929
1951
|
},
|
|
1930
1952
|
{ type: 'error', inputs: [], name: 'AddressZero' },
|
|
1931
1953
|
{ type: 'error', inputs: [], name: 'AlreadyOwner' },
|
|
1954
|
+
{ type: 'error', inputs: [], name: 'CannotMintZeroLiquidity' },
|
|
1955
|
+
{
|
|
1956
|
+
type: 'error',
|
|
1957
|
+
inputs: [],
|
|
1958
|
+
name: 'DopplerPoolMustHaveMoreThan2DiscoveryPositions',
|
|
1959
|
+
},
|
|
1932
1960
|
{ type: 'error', inputs: [], name: 'ECDSAInvalidSignature' },
|
|
1933
1961
|
{
|
|
1934
1962
|
type: 'error',
|
|
@@ -2011,11 +2039,30 @@ export const coinABI = [
|
|
|
2011
2039
|
{ type: 'error', inputs: [], name: 'InvalidCurrencyLowerTick' },
|
|
2012
2040
|
{ type: 'error', inputs: [], name: 'InvalidInitialization' },
|
|
2013
2041
|
{ type: 'error', inputs: [], name: 'InvalidMarketType' },
|
|
2042
|
+
{ type: 'error', inputs: [], name: 'InvalidPoolVersion' },
|
|
2043
|
+
{
|
|
2044
|
+
type: 'error',
|
|
2045
|
+
inputs: [
|
|
2046
|
+
{ name: 'tickLower', internalType: 'int24', type: 'int24' },
|
|
2047
|
+
{ name: 'tickUpper', internalType: 'int24', type: 'int24' },
|
|
2048
|
+
],
|
|
2049
|
+
name: 'InvalidTickRangeMisordered',
|
|
2050
|
+
},
|
|
2014
2051
|
{ type: 'error', inputs: [], name: 'InvalidWethLowerTick' },
|
|
2052
|
+
{ type: 'error', inputs: [], name: 'LegacyPoolMustHaveOneDiscoveryPosition' },
|
|
2015
2053
|
{ type: 'error', inputs: [], name: 'MarketAlreadyGraduated' },
|
|
2016
2054
|
{ type: 'error', inputs: [], name: 'MarketNotGraduated' },
|
|
2055
|
+
{
|
|
2056
|
+
type: 'error',
|
|
2057
|
+
inputs: [
|
|
2058
|
+
{ name: 'value', internalType: 'uint256', type: 'uint256' },
|
|
2059
|
+
{ name: 'limit', internalType: 'uint256', type: 'uint256' },
|
|
2060
|
+
],
|
|
2061
|
+
name: 'MaxShareToBeSoldExceeded',
|
|
2062
|
+
},
|
|
2017
2063
|
{ type: 'error', inputs: [], name: 'NotInitializing' },
|
|
2018
2064
|
{ type: 'error', inputs: [], name: 'NotOwner' },
|
|
2065
|
+
{ type: 'error', inputs: [], name: 'NumDiscoveryPositionsOutOfRange' },
|
|
2019
2066
|
{ type: 'error', inputs: [], name: 'OneOwnerRequired' },
|
|
2020
2067
|
{ type: 'error', inputs: [], name: 'OnlyOwner' },
|
|
2021
2068
|
{ type: 'error', inputs: [], name: 'OnlyPool' },
|
|
@@ -2079,6 +2126,25 @@ export const coinFactoryABI = [
|
|
|
2079
2126
|
],
|
|
2080
2127
|
stateMutability: 'payable',
|
|
2081
2128
|
},
|
|
2129
|
+
{
|
|
2130
|
+
type: 'function',
|
|
2131
|
+
inputs: [
|
|
2132
|
+
{ name: 'payoutRecipient', internalType: 'address', type: 'address' },
|
|
2133
|
+
{ name: 'owners', internalType: 'address[]', type: 'address[]' },
|
|
2134
|
+
{ name: 'uri', internalType: 'string', type: 'string' },
|
|
2135
|
+
{ name: 'name', internalType: 'string', type: 'string' },
|
|
2136
|
+
{ name: 'symbol', internalType: 'string', type: 'string' },
|
|
2137
|
+
{ name: 'poolConfig', internalType: 'bytes', type: 'bytes' },
|
|
2138
|
+
{ name: 'platformReferrer', internalType: 'address', type: 'address' },
|
|
2139
|
+
{ name: 'orderSize', internalType: 'uint256', type: 'uint256' },
|
|
2140
|
+
],
|
|
2141
|
+
name: 'deploy',
|
|
2142
|
+
outputs: [
|
|
2143
|
+
{ name: '', internalType: 'address', type: 'address' },
|
|
2144
|
+
{ name: '', internalType: 'uint256', type: 'uint256' },
|
|
2145
|
+
],
|
|
2146
|
+
stateMutability: 'payable',
|
|
2147
|
+
},
|
|
2082
2148
|
{
|
|
2083
2149
|
type: 'function',
|
|
2084
2150
|
inputs: [],
|