@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/.turbo/turbo-build.log +17 -17
- package/CHANGELOG.md +7 -0
- package/dist/generated/sparks.d.ts +8 -0
- package/dist/generated/sparks.d.ts.map +1 -1
- package/dist/generated/wagmi.d.ts +1841 -25
- package/dist/generated/wagmi.d.ts.map +1 -1
- package/dist/index.cjs +1022 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1014 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/generated/sparks.ts +12 -4
- package/src/generated/wagmi.ts +1087 -2
package/src/generated/wagmi.ts
CHANGED
|
@@ -1075,6 +1075,826 @@ export const callerAndCommenterConfig = {
|
|
|
1075
1075
|
abi: callerAndCommenterABI,
|
|
1076
1076
|
} as const
|
|
1077
1077
|
|
|
1078
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
1079
|
+
// Cointag
|
|
1080
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
1081
|
+
|
|
1082
|
+
export const cointagABI = [
|
|
1083
|
+
{
|
|
1084
|
+
type: 'constructor',
|
|
1085
|
+
inputs: [
|
|
1086
|
+
{ name: 'protocolRewards_', internalType: 'address', type: 'address' },
|
|
1087
|
+
{ name: 'weth_', internalType: 'address', type: 'address' },
|
|
1088
|
+
{ name: 'upgradeGate_', internalType: 'address', type: 'address' },
|
|
1089
|
+
],
|
|
1090
|
+
stateMutability: 'nonpayable',
|
|
1091
|
+
},
|
|
1092
|
+
{ type: 'receive', stateMutability: 'payable' },
|
|
1093
|
+
{
|
|
1094
|
+
type: 'function',
|
|
1095
|
+
inputs: [],
|
|
1096
|
+
name: 'PERCENTAGE_BASIS',
|
|
1097
|
+
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
|
|
1098
|
+
stateMutability: 'view',
|
|
1099
|
+
},
|
|
1100
|
+
{
|
|
1101
|
+
type: 'function',
|
|
1102
|
+
inputs: [],
|
|
1103
|
+
name: 'UPGRADE_INTERFACE_VERSION',
|
|
1104
|
+
outputs: [{ name: '', internalType: 'string', type: 'string' }],
|
|
1105
|
+
stateMutability: 'view',
|
|
1106
|
+
},
|
|
1107
|
+
{
|
|
1108
|
+
type: 'function',
|
|
1109
|
+
inputs: [],
|
|
1110
|
+
name: 'acceptOwnership',
|
|
1111
|
+
outputs: [],
|
|
1112
|
+
stateMutability: 'nonpayable',
|
|
1113
|
+
},
|
|
1114
|
+
{
|
|
1115
|
+
type: 'function',
|
|
1116
|
+
inputs: [],
|
|
1117
|
+
name: 'config',
|
|
1118
|
+
outputs: [
|
|
1119
|
+
{
|
|
1120
|
+
name: 'cointagStorage',
|
|
1121
|
+
internalType: 'struct ICointag.CointagStorageV1',
|
|
1122
|
+
type: 'tuple',
|
|
1123
|
+
components: [
|
|
1124
|
+
{
|
|
1125
|
+
name: 'creatorRewardRecipient',
|
|
1126
|
+
internalType: 'address',
|
|
1127
|
+
type: 'address',
|
|
1128
|
+
},
|
|
1129
|
+
{ name: 'erc20', internalType: 'contract IERC20', type: 'address' },
|
|
1130
|
+
{
|
|
1131
|
+
name: 'pool',
|
|
1132
|
+
internalType: 'contract IUniswapV3Pool',
|
|
1133
|
+
type: 'address',
|
|
1134
|
+
},
|
|
1135
|
+
{
|
|
1136
|
+
name: 'percentageToBuyBurn',
|
|
1137
|
+
internalType: 'uint256',
|
|
1138
|
+
type: 'uint256',
|
|
1139
|
+
},
|
|
1140
|
+
],
|
|
1141
|
+
},
|
|
1142
|
+
],
|
|
1143
|
+
stateMutability: 'pure',
|
|
1144
|
+
},
|
|
1145
|
+
{
|
|
1146
|
+
type: 'function',
|
|
1147
|
+
inputs: [],
|
|
1148
|
+
name: 'contractName',
|
|
1149
|
+
outputs: [{ name: '', internalType: 'string', type: 'string' }],
|
|
1150
|
+
stateMutability: 'pure',
|
|
1151
|
+
},
|
|
1152
|
+
{
|
|
1153
|
+
type: 'function',
|
|
1154
|
+
inputs: [],
|
|
1155
|
+
name: 'contractVersion',
|
|
1156
|
+
outputs: [{ name: '', internalType: 'string', type: 'string' }],
|
|
1157
|
+
stateMutability: 'pure',
|
|
1158
|
+
},
|
|
1159
|
+
{
|
|
1160
|
+
type: 'function',
|
|
1161
|
+
inputs: [],
|
|
1162
|
+
name: 'distribute',
|
|
1163
|
+
outputs: [],
|
|
1164
|
+
stateMutability: 'nonpayable',
|
|
1165
|
+
},
|
|
1166
|
+
{
|
|
1167
|
+
type: 'function',
|
|
1168
|
+
inputs: [],
|
|
1169
|
+
name: 'erc20',
|
|
1170
|
+
outputs: [{ name: '', internalType: 'contract IERC20', type: 'address' }],
|
|
1171
|
+
stateMutability: 'view',
|
|
1172
|
+
},
|
|
1173
|
+
{
|
|
1174
|
+
type: 'function',
|
|
1175
|
+
inputs: [],
|
|
1176
|
+
name: 'implementation',
|
|
1177
|
+
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
1178
|
+
stateMutability: 'view',
|
|
1179
|
+
},
|
|
1180
|
+
{
|
|
1181
|
+
type: 'function',
|
|
1182
|
+
inputs: [
|
|
1183
|
+
{
|
|
1184
|
+
name: 'creatorRewardRecipient',
|
|
1185
|
+
internalType: 'address',
|
|
1186
|
+
type: 'address',
|
|
1187
|
+
},
|
|
1188
|
+
{ name: 'pool_', internalType: 'address', type: 'address' },
|
|
1189
|
+
{ name: 'percentageToBuyBurn', internalType: 'uint256', type: 'uint256' },
|
|
1190
|
+
],
|
|
1191
|
+
name: 'initialize',
|
|
1192
|
+
outputs: [],
|
|
1193
|
+
stateMutability: 'nonpayable',
|
|
1194
|
+
},
|
|
1195
|
+
{
|
|
1196
|
+
type: 'function',
|
|
1197
|
+
inputs: [],
|
|
1198
|
+
name: 'owner',
|
|
1199
|
+
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
1200
|
+
stateMutability: 'view',
|
|
1201
|
+
},
|
|
1202
|
+
{
|
|
1203
|
+
type: 'function',
|
|
1204
|
+
inputs: [],
|
|
1205
|
+
name: 'pendingOwner',
|
|
1206
|
+
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
1207
|
+
stateMutability: 'view',
|
|
1208
|
+
},
|
|
1209
|
+
{
|
|
1210
|
+
type: 'function',
|
|
1211
|
+
inputs: [],
|
|
1212
|
+
name: 'pool',
|
|
1213
|
+
outputs: [
|
|
1214
|
+
{ name: '', internalType: 'contract IUniswapV3Pool', type: 'address' },
|
|
1215
|
+
],
|
|
1216
|
+
stateMutability: 'view',
|
|
1217
|
+
},
|
|
1218
|
+
{
|
|
1219
|
+
type: 'function',
|
|
1220
|
+
inputs: [],
|
|
1221
|
+
name: 'protocolRewards',
|
|
1222
|
+
outputs: [
|
|
1223
|
+
{ name: '', internalType: 'contract IProtocolRewards', type: 'address' },
|
|
1224
|
+
],
|
|
1225
|
+
stateMutability: 'view',
|
|
1226
|
+
},
|
|
1227
|
+
{
|
|
1228
|
+
type: 'function',
|
|
1229
|
+
inputs: [],
|
|
1230
|
+
name: 'proxiableUUID',
|
|
1231
|
+
outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
|
|
1232
|
+
stateMutability: 'view',
|
|
1233
|
+
},
|
|
1234
|
+
{
|
|
1235
|
+
type: 'function',
|
|
1236
|
+
inputs: [],
|
|
1237
|
+
name: 'pull',
|
|
1238
|
+
outputs: [],
|
|
1239
|
+
stateMutability: 'nonpayable',
|
|
1240
|
+
},
|
|
1241
|
+
{
|
|
1242
|
+
type: 'function',
|
|
1243
|
+
inputs: [],
|
|
1244
|
+
name: 'renounceOwnership',
|
|
1245
|
+
outputs: [],
|
|
1246
|
+
stateMutability: 'nonpayable',
|
|
1247
|
+
},
|
|
1248
|
+
{
|
|
1249
|
+
type: 'function',
|
|
1250
|
+
inputs: [{ name: 'newOwner', internalType: 'address', type: 'address' }],
|
|
1251
|
+
name: 'transferOwnership',
|
|
1252
|
+
outputs: [],
|
|
1253
|
+
stateMutability: 'nonpayable',
|
|
1254
|
+
},
|
|
1255
|
+
{
|
|
1256
|
+
type: 'function',
|
|
1257
|
+
inputs: [
|
|
1258
|
+
{ name: 'amount0Delta', internalType: 'int256', type: 'int256' },
|
|
1259
|
+
{ name: 'amount1Delta', internalType: 'int256', type: 'int256' },
|
|
1260
|
+
{ name: '', internalType: 'bytes', type: 'bytes' },
|
|
1261
|
+
],
|
|
1262
|
+
name: 'uniswapV3SwapCallback',
|
|
1263
|
+
outputs: [],
|
|
1264
|
+
stateMutability: 'nonpayable',
|
|
1265
|
+
},
|
|
1266
|
+
{
|
|
1267
|
+
type: 'function',
|
|
1268
|
+
inputs: [],
|
|
1269
|
+
name: 'upgradeGate',
|
|
1270
|
+
outputs: [
|
|
1271
|
+
{ name: '', internalType: 'contract IUpgradeGate', type: 'address' },
|
|
1272
|
+
],
|
|
1273
|
+
stateMutability: 'view',
|
|
1274
|
+
},
|
|
1275
|
+
{
|
|
1276
|
+
type: 'function',
|
|
1277
|
+
inputs: [
|
|
1278
|
+
{ name: 'newImplementation', internalType: 'address', type: 'address' },
|
|
1279
|
+
{ name: 'data', internalType: 'bytes', type: 'bytes' },
|
|
1280
|
+
],
|
|
1281
|
+
name: 'upgradeToAndCall',
|
|
1282
|
+
outputs: [],
|
|
1283
|
+
stateMutability: 'payable',
|
|
1284
|
+
},
|
|
1285
|
+
{
|
|
1286
|
+
type: 'function',
|
|
1287
|
+
inputs: [],
|
|
1288
|
+
name: 'weth',
|
|
1289
|
+
outputs: [{ name: '', internalType: 'contract IWETH', type: 'address' }],
|
|
1290
|
+
stateMutability: 'view',
|
|
1291
|
+
},
|
|
1292
|
+
{
|
|
1293
|
+
type: 'event',
|
|
1294
|
+
anonymous: false,
|
|
1295
|
+
inputs: [
|
|
1296
|
+
{
|
|
1297
|
+
name: 'amountERC20Received',
|
|
1298
|
+
internalType: 'uint256',
|
|
1299
|
+
type: 'uint256',
|
|
1300
|
+
indexed: false,
|
|
1301
|
+
},
|
|
1302
|
+
{
|
|
1303
|
+
name: 'amountERC20Burned',
|
|
1304
|
+
internalType: 'uint256',
|
|
1305
|
+
type: 'uint256',
|
|
1306
|
+
indexed: false,
|
|
1307
|
+
},
|
|
1308
|
+
{
|
|
1309
|
+
name: 'amountETHSpent',
|
|
1310
|
+
internalType: 'uint256',
|
|
1311
|
+
type: 'uint256',
|
|
1312
|
+
indexed: false,
|
|
1313
|
+
},
|
|
1314
|
+
{
|
|
1315
|
+
name: 'amountETHToCreator',
|
|
1316
|
+
internalType: 'uint256',
|
|
1317
|
+
type: 'uint256',
|
|
1318
|
+
indexed: false,
|
|
1319
|
+
},
|
|
1320
|
+
{
|
|
1321
|
+
name: 'totalETHReceived',
|
|
1322
|
+
internalType: 'uint256',
|
|
1323
|
+
type: 'uint256',
|
|
1324
|
+
indexed: false,
|
|
1325
|
+
},
|
|
1326
|
+
{
|
|
1327
|
+
name: 'buyFailureError',
|
|
1328
|
+
internalType: 'bytes',
|
|
1329
|
+
type: 'bytes',
|
|
1330
|
+
indexed: false,
|
|
1331
|
+
},
|
|
1332
|
+
{
|
|
1333
|
+
name: 'burnFailureError',
|
|
1334
|
+
internalType: 'bytes',
|
|
1335
|
+
type: 'bytes',
|
|
1336
|
+
indexed: false,
|
|
1337
|
+
},
|
|
1338
|
+
],
|
|
1339
|
+
name: 'BuyBurn',
|
|
1340
|
+
},
|
|
1341
|
+
{
|
|
1342
|
+
type: 'event',
|
|
1343
|
+
anonymous: false,
|
|
1344
|
+
inputs: [
|
|
1345
|
+
{
|
|
1346
|
+
name: 'amount',
|
|
1347
|
+
internalType: 'uint256',
|
|
1348
|
+
type: 'uint256',
|
|
1349
|
+
indexed: true,
|
|
1350
|
+
},
|
|
1351
|
+
{
|
|
1352
|
+
name: 'sender',
|
|
1353
|
+
internalType: 'address',
|
|
1354
|
+
type: 'address',
|
|
1355
|
+
indexed: true,
|
|
1356
|
+
},
|
|
1357
|
+
],
|
|
1358
|
+
name: 'EthReceived',
|
|
1359
|
+
},
|
|
1360
|
+
{
|
|
1361
|
+
type: 'event',
|
|
1362
|
+
anonymous: false,
|
|
1363
|
+
inputs: [
|
|
1364
|
+
{
|
|
1365
|
+
name: 'version',
|
|
1366
|
+
internalType: 'uint64',
|
|
1367
|
+
type: 'uint64',
|
|
1368
|
+
indexed: false,
|
|
1369
|
+
},
|
|
1370
|
+
],
|
|
1371
|
+
name: 'Initialized',
|
|
1372
|
+
},
|
|
1373
|
+
{
|
|
1374
|
+
type: 'event',
|
|
1375
|
+
anonymous: false,
|
|
1376
|
+
inputs: [
|
|
1377
|
+
{
|
|
1378
|
+
name: 'creatorRewardRecipient',
|
|
1379
|
+
internalType: 'address',
|
|
1380
|
+
type: 'address',
|
|
1381
|
+
indexed: false,
|
|
1382
|
+
},
|
|
1383
|
+
{
|
|
1384
|
+
name: 'erc20',
|
|
1385
|
+
internalType: 'address',
|
|
1386
|
+
type: 'address',
|
|
1387
|
+
indexed: false,
|
|
1388
|
+
},
|
|
1389
|
+
{
|
|
1390
|
+
name: 'pool',
|
|
1391
|
+
internalType: 'address',
|
|
1392
|
+
type: 'address',
|
|
1393
|
+
indexed: false,
|
|
1394
|
+
},
|
|
1395
|
+
{
|
|
1396
|
+
name: 'percentageToBuyBurn',
|
|
1397
|
+
internalType: 'uint256',
|
|
1398
|
+
type: 'uint256',
|
|
1399
|
+
indexed: false,
|
|
1400
|
+
},
|
|
1401
|
+
],
|
|
1402
|
+
name: 'Initialized',
|
|
1403
|
+
},
|
|
1404
|
+
{
|
|
1405
|
+
type: 'event',
|
|
1406
|
+
anonymous: false,
|
|
1407
|
+
inputs: [
|
|
1408
|
+
{
|
|
1409
|
+
name: 'previousOwner',
|
|
1410
|
+
internalType: 'address',
|
|
1411
|
+
type: 'address',
|
|
1412
|
+
indexed: true,
|
|
1413
|
+
},
|
|
1414
|
+
{
|
|
1415
|
+
name: 'newOwner',
|
|
1416
|
+
internalType: 'address',
|
|
1417
|
+
type: 'address',
|
|
1418
|
+
indexed: true,
|
|
1419
|
+
},
|
|
1420
|
+
],
|
|
1421
|
+
name: 'OwnershipTransferStarted',
|
|
1422
|
+
},
|
|
1423
|
+
{
|
|
1424
|
+
type: 'event',
|
|
1425
|
+
anonymous: false,
|
|
1426
|
+
inputs: [
|
|
1427
|
+
{
|
|
1428
|
+
name: 'previousOwner',
|
|
1429
|
+
internalType: 'address',
|
|
1430
|
+
type: 'address',
|
|
1431
|
+
indexed: true,
|
|
1432
|
+
},
|
|
1433
|
+
{
|
|
1434
|
+
name: 'newOwner',
|
|
1435
|
+
internalType: 'address',
|
|
1436
|
+
type: 'address',
|
|
1437
|
+
indexed: true,
|
|
1438
|
+
},
|
|
1439
|
+
],
|
|
1440
|
+
name: 'OwnershipTransferred',
|
|
1441
|
+
},
|
|
1442
|
+
{
|
|
1443
|
+
type: 'event',
|
|
1444
|
+
anonymous: false,
|
|
1445
|
+
inputs: [
|
|
1446
|
+
{
|
|
1447
|
+
name: 'implementation',
|
|
1448
|
+
internalType: 'address',
|
|
1449
|
+
type: 'address',
|
|
1450
|
+
indexed: true,
|
|
1451
|
+
},
|
|
1452
|
+
],
|
|
1453
|
+
name: 'Upgraded',
|
|
1454
|
+
},
|
|
1455
|
+
{
|
|
1456
|
+
type: 'error',
|
|
1457
|
+
inputs: [{ name: 'target', internalType: 'address', type: 'address' }],
|
|
1458
|
+
name: 'AddressEmptyCode',
|
|
1459
|
+
},
|
|
1460
|
+
{
|
|
1461
|
+
type: 'error',
|
|
1462
|
+
inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
|
|
1463
|
+
name: 'AddressInsufficientBalance',
|
|
1464
|
+
},
|
|
1465
|
+
{ type: 'error', inputs: [], name: 'AddressZero' },
|
|
1466
|
+
{
|
|
1467
|
+
type: 'error',
|
|
1468
|
+
inputs: [
|
|
1469
|
+
{ name: 'implementation', internalType: 'address', type: 'address' },
|
|
1470
|
+
],
|
|
1471
|
+
name: 'ERC1967InvalidImplementation',
|
|
1472
|
+
},
|
|
1473
|
+
{ type: 'error', inputs: [], name: 'ERC1967NonPayable' },
|
|
1474
|
+
{ type: 'error', inputs: [], name: 'FailedInnerCall' },
|
|
1475
|
+
{ type: 'error', inputs: [], name: 'InvalidInitialization' },
|
|
1476
|
+
{
|
|
1477
|
+
type: 'error',
|
|
1478
|
+
inputs: [
|
|
1479
|
+
{ name: 'oldImpl', internalType: 'address', type: 'address' },
|
|
1480
|
+
{ name: 'newImpl', internalType: 'address', type: 'address' },
|
|
1481
|
+
],
|
|
1482
|
+
name: 'InvalidUpgradePath',
|
|
1483
|
+
},
|
|
1484
|
+
{ type: 'error', inputs: [], name: 'NotInitializing' },
|
|
1485
|
+
{ type: 'error', inputs: [], name: 'OnlyPool' },
|
|
1486
|
+
{ type: 'error', inputs: [], name: 'OnlyProtocolRewardsOrWeth' },
|
|
1487
|
+
{
|
|
1488
|
+
type: 'error',
|
|
1489
|
+
inputs: [{ name: 'owner', internalType: 'address', type: 'address' }],
|
|
1490
|
+
name: 'OwnableInvalidOwner',
|
|
1491
|
+
},
|
|
1492
|
+
{
|
|
1493
|
+
type: 'error',
|
|
1494
|
+
inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
|
|
1495
|
+
name: 'OwnableUnauthorizedAccount',
|
|
1496
|
+
},
|
|
1497
|
+
{ type: 'error', inputs: [], name: 'PoolNeedsOneTokenToBeWETH' },
|
|
1498
|
+
{
|
|
1499
|
+
type: 'error',
|
|
1500
|
+
inputs: [{ name: 'token', internalType: 'address', type: 'address' }],
|
|
1501
|
+
name: 'SafeERC20FailedOperation',
|
|
1502
|
+
},
|
|
1503
|
+
{ type: 'error', inputs: [], name: 'UUPSUnauthorizedCallContext' },
|
|
1504
|
+
{
|
|
1505
|
+
type: 'error',
|
|
1506
|
+
inputs: [{ name: 'slot', internalType: 'bytes32', type: 'bytes32' }],
|
|
1507
|
+
name: 'UUPSUnsupportedProxiableUUID',
|
|
1508
|
+
},
|
|
1509
|
+
{ type: 'error', inputs: [], name: 'UnknownBurnError' },
|
|
1510
|
+
{ type: 'error', inputs: [], name: 'UnknownSwapError' },
|
|
1511
|
+
{
|
|
1512
|
+
type: 'error',
|
|
1513
|
+
inputs: [
|
|
1514
|
+
{ name: 'current', internalType: 'string', type: 'string' },
|
|
1515
|
+
{ name: 'newName', internalType: 'string', type: 'string' },
|
|
1516
|
+
],
|
|
1517
|
+
name: 'UpgradeToMismatchedContractName',
|
|
1518
|
+
},
|
|
1519
|
+
] as const
|
|
1520
|
+
|
|
1521
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
1522
|
+
// CointagFactory
|
|
1523
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
1524
|
+
|
|
1525
|
+
/**
|
|
1526
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x7777777BbD0b88aD5F3b5f4c89C6B60D74b9774F)
|
|
1527
|
+
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x7777777BbD0b88aD5F3b5f4c89C6B60D74b9774F)
|
|
1528
|
+
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7777777BbD0b88aD5F3b5f4c89C6B60D74b9774F)
|
|
1529
|
+
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x77777773Bd7Cccb7E704315CA51245707E19B0DE)
|
|
1530
|
+
*/
|
|
1531
|
+
export const cointagFactoryABI = [
|
|
1532
|
+
{
|
|
1533
|
+
type: 'constructor',
|
|
1534
|
+
inputs: [
|
|
1535
|
+
{
|
|
1536
|
+
name: '_cointagImplementation',
|
|
1537
|
+
internalType: 'address',
|
|
1538
|
+
type: 'address',
|
|
1539
|
+
},
|
|
1540
|
+
],
|
|
1541
|
+
stateMutability: 'nonpayable',
|
|
1542
|
+
},
|
|
1543
|
+
{
|
|
1544
|
+
type: 'function',
|
|
1545
|
+
inputs: [],
|
|
1546
|
+
name: 'UPGRADE_INTERFACE_VERSION',
|
|
1547
|
+
outputs: [{ name: '', internalType: 'string', type: 'string' }],
|
|
1548
|
+
stateMutability: 'view',
|
|
1549
|
+
},
|
|
1550
|
+
{
|
|
1551
|
+
type: 'function',
|
|
1552
|
+
inputs: [],
|
|
1553
|
+
name: 'acceptOwnership',
|
|
1554
|
+
outputs: [],
|
|
1555
|
+
stateMutability: 'nonpayable',
|
|
1556
|
+
},
|
|
1557
|
+
{
|
|
1558
|
+
type: 'function',
|
|
1559
|
+
inputs: [],
|
|
1560
|
+
name: 'cointagImplementation',
|
|
1561
|
+
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
1562
|
+
stateMutability: 'view',
|
|
1563
|
+
},
|
|
1564
|
+
{
|
|
1565
|
+
type: 'function',
|
|
1566
|
+
inputs: [],
|
|
1567
|
+
name: 'contractName',
|
|
1568
|
+
outputs: [{ name: '', internalType: 'string', type: 'string' }],
|
|
1569
|
+
stateMutability: 'pure',
|
|
1570
|
+
},
|
|
1571
|
+
{
|
|
1572
|
+
type: 'function',
|
|
1573
|
+
inputs: [],
|
|
1574
|
+
name: 'contractURI',
|
|
1575
|
+
outputs: [{ name: '', internalType: 'string', type: 'string' }],
|
|
1576
|
+
stateMutability: 'pure',
|
|
1577
|
+
},
|
|
1578
|
+
{
|
|
1579
|
+
type: 'function',
|
|
1580
|
+
inputs: [],
|
|
1581
|
+
name: 'contractVersion',
|
|
1582
|
+
outputs: [{ name: '', internalType: 'string', type: 'string' }],
|
|
1583
|
+
stateMutability: 'pure',
|
|
1584
|
+
},
|
|
1585
|
+
{
|
|
1586
|
+
type: 'function',
|
|
1587
|
+
inputs: [
|
|
1588
|
+
{
|
|
1589
|
+
name: '_creatorRewardRecipient',
|
|
1590
|
+
internalType: 'address',
|
|
1591
|
+
type: 'address',
|
|
1592
|
+
},
|
|
1593
|
+
{ name: '_pool', internalType: 'address', type: 'address' },
|
|
1594
|
+
{
|
|
1595
|
+
name: '_percentageToBuyBurn',
|
|
1596
|
+
internalType: 'uint256',
|
|
1597
|
+
type: 'uint256',
|
|
1598
|
+
},
|
|
1599
|
+
{ name: 'saltSource', internalType: 'bytes', type: 'bytes' },
|
|
1600
|
+
],
|
|
1601
|
+
name: 'getCointagAddress',
|
|
1602
|
+
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
1603
|
+
stateMutability: 'view',
|
|
1604
|
+
},
|
|
1605
|
+
{
|
|
1606
|
+
type: 'function',
|
|
1607
|
+
inputs: [
|
|
1608
|
+
{
|
|
1609
|
+
name: '_creatorRewardRecipient',
|
|
1610
|
+
internalType: 'address',
|
|
1611
|
+
type: 'address',
|
|
1612
|
+
},
|
|
1613
|
+
{ name: '_pool', internalType: 'address', type: 'address' },
|
|
1614
|
+
{
|
|
1615
|
+
name: '_percentageToBuyBurn',
|
|
1616
|
+
internalType: 'uint256',
|
|
1617
|
+
type: 'uint256',
|
|
1618
|
+
},
|
|
1619
|
+
{ name: 'saltSource', internalType: 'bytes', type: 'bytes' },
|
|
1620
|
+
],
|
|
1621
|
+
name: 'getOrCreateCointag',
|
|
1622
|
+
outputs: [{ name: '', internalType: 'contract ICointag', type: 'address' }],
|
|
1623
|
+
stateMutability: 'nonpayable',
|
|
1624
|
+
},
|
|
1625
|
+
{
|
|
1626
|
+
type: 'function',
|
|
1627
|
+
inputs: [
|
|
1628
|
+
{
|
|
1629
|
+
name: '_creatorRewardRecipient',
|
|
1630
|
+
internalType: 'address',
|
|
1631
|
+
type: 'address',
|
|
1632
|
+
},
|
|
1633
|
+
{ name: '_pool', internalType: 'address', type: 'address' },
|
|
1634
|
+
{
|
|
1635
|
+
name: '_percentageToBuyBurn',
|
|
1636
|
+
internalType: 'uint256',
|
|
1637
|
+
type: 'uint256',
|
|
1638
|
+
},
|
|
1639
|
+
{ name: 'saltSource', internalType: 'bytes', type: 'bytes' },
|
|
1640
|
+
{ name: 'expectedAddress', internalType: 'address', type: 'address' },
|
|
1641
|
+
],
|
|
1642
|
+
name: 'getOrCreateCointagAtExpectedAddress',
|
|
1643
|
+
outputs: [{ name: '', internalType: 'contract ICointag', type: 'address' }],
|
|
1644
|
+
stateMutability: 'nonpayable',
|
|
1645
|
+
},
|
|
1646
|
+
{
|
|
1647
|
+
type: 'function',
|
|
1648
|
+
inputs: [],
|
|
1649
|
+
name: 'implementation',
|
|
1650
|
+
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
1651
|
+
stateMutability: 'view',
|
|
1652
|
+
},
|
|
1653
|
+
{
|
|
1654
|
+
type: 'function',
|
|
1655
|
+
inputs: [
|
|
1656
|
+
{ name: '_defaultOwner', internalType: 'address', type: 'address' },
|
|
1657
|
+
],
|
|
1658
|
+
name: 'initialize',
|
|
1659
|
+
outputs: [],
|
|
1660
|
+
stateMutability: 'nonpayable',
|
|
1661
|
+
},
|
|
1662
|
+
{
|
|
1663
|
+
type: 'function',
|
|
1664
|
+
inputs: [],
|
|
1665
|
+
name: 'owner',
|
|
1666
|
+
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
1667
|
+
stateMutability: 'view',
|
|
1668
|
+
},
|
|
1669
|
+
{
|
|
1670
|
+
type: 'function',
|
|
1671
|
+
inputs: [],
|
|
1672
|
+
name: 'pendingOwner',
|
|
1673
|
+
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
1674
|
+
stateMutability: 'view',
|
|
1675
|
+
},
|
|
1676
|
+
{
|
|
1677
|
+
type: 'function',
|
|
1678
|
+
inputs: [],
|
|
1679
|
+
name: 'proxiableUUID',
|
|
1680
|
+
outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
|
|
1681
|
+
stateMutability: 'view',
|
|
1682
|
+
},
|
|
1683
|
+
{
|
|
1684
|
+
type: 'function',
|
|
1685
|
+
inputs: [],
|
|
1686
|
+
name: 'renounceOwnership',
|
|
1687
|
+
outputs: [],
|
|
1688
|
+
stateMutability: 'nonpayable',
|
|
1689
|
+
},
|
|
1690
|
+
{
|
|
1691
|
+
type: 'function',
|
|
1692
|
+
inputs: [{ name: 'newOwner', internalType: 'address', type: 'address' }],
|
|
1693
|
+
name: 'transferOwnership',
|
|
1694
|
+
outputs: [],
|
|
1695
|
+
stateMutability: 'nonpayable',
|
|
1696
|
+
},
|
|
1697
|
+
{
|
|
1698
|
+
type: 'function',
|
|
1699
|
+
inputs: [],
|
|
1700
|
+
name: 'upgradeGate',
|
|
1701
|
+
outputs: [
|
|
1702
|
+
{ name: '', internalType: 'contract IUpgradeGate', type: 'address' },
|
|
1703
|
+
],
|
|
1704
|
+
stateMutability: 'view',
|
|
1705
|
+
},
|
|
1706
|
+
{
|
|
1707
|
+
type: 'function',
|
|
1708
|
+
inputs: [
|
|
1709
|
+
{ name: 'newImplementation', internalType: 'address', type: 'address' },
|
|
1710
|
+
{ name: 'data', internalType: 'bytes', type: 'bytes' },
|
|
1711
|
+
],
|
|
1712
|
+
name: 'upgradeToAndCall',
|
|
1713
|
+
outputs: [],
|
|
1714
|
+
stateMutability: 'payable',
|
|
1715
|
+
},
|
|
1716
|
+
{
|
|
1717
|
+
type: 'event',
|
|
1718
|
+
anonymous: false,
|
|
1719
|
+
inputs: [
|
|
1720
|
+
{
|
|
1721
|
+
name: 'version',
|
|
1722
|
+
internalType: 'uint64',
|
|
1723
|
+
type: 'uint64',
|
|
1724
|
+
indexed: false,
|
|
1725
|
+
},
|
|
1726
|
+
],
|
|
1727
|
+
name: 'Initialized',
|
|
1728
|
+
},
|
|
1729
|
+
{
|
|
1730
|
+
type: 'event',
|
|
1731
|
+
anonymous: false,
|
|
1732
|
+
inputs: [
|
|
1733
|
+
{
|
|
1734
|
+
name: 'previousOwner',
|
|
1735
|
+
internalType: 'address',
|
|
1736
|
+
type: 'address',
|
|
1737
|
+
indexed: true,
|
|
1738
|
+
},
|
|
1739
|
+
{
|
|
1740
|
+
name: 'newOwner',
|
|
1741
|
+
internalType: 'address',
|
|
1742
|
+
type: 'address',
|
|
1743
|
+
indexed: true,
|
|
1744
|
+
},
|
|
1745
|
+
],
|
|
1746
|
+
name: 'OwnershipTransferStarted',
|
|
1747
|
+
},
|
|
1748
|
+
{
|
|
1749
|
+
type: 'event',
|
|
1750
|
+
anonymous: false,
|
|
1751
|
+
inputs: [
|
|
1752
|
+
{
|
|
1753
|
+
name: 'previousOwner',
|
|
1754
|
+
internalType: 'address',
|
|
1755
|
+
type: 'address',
|
|
1756
|
+
indexed: true,
|
|
1757
|
+
},
|
|
1758
|
+
{
|
|
1759
|
+
name: 'newOwner',
|
|
1760
|
+
internalType: 'address',
|
|
1761
|
+
type: 'address',
|
|
1762
|
+
indexed: true,
|
|
1763
|
+
},
|
|
1764
|
+
],
|
|
1765
|
+
name: 'OwnershipTransferred',
|
|
1766
|
+
},
|
|
1767
|
+
{
|
|
1768
|
+
type: 'event',
|
|
1769
|
+
anonymous: false,
|
|
1770
|
+
inputs: [
|
|
1771
|
+
{
|
|
1772
|
+
name: 'cointag',
|
|
1773
|
+
internalType: 'address',
|
|
1774
|
+
type: 'address',
|
|
1775
|
+
indexed: true,
|
|
1776
|
+
},
|
|
1777
|
+
{
|
|
1778
|
+
name: 'creatorRewardRecipient',
|
|
1779
|
+
internalType: 'address',
|
|
1780
|
+
type: 'address',
|
|
1781
|
+
indexed: true,
|
|
1782
|
+
},
|
|
1783
|
+
{
|
|
1784
|
+
name: 'erc20',
|
|
1785
|
+
internalType: 'address',
|
|
1786
|
+
type: 'address',
|
|
1787
|
+
indexed: true,
|
|
1788
|
+
},
|
|
1789
|
+
{
|
|
1790
|
+
name: 'pool',
|
|
1791
|
+
internalType: 'address',
|
|
1792
|
+
type: 'address',
|
|
1793
|
+
indexed: false,
|
|
1794
|
+
},
|
|
1795
|
+
{
|
|
1796
|
+
name: 'percentageToBuyBurn',
|
|
1797
|
+
internalType: 'uint256',
|
|
1798
|
+
type: 'uint256',
|
|
1799
|
+
indexed: false,
|
|
1800
|
+
},
|
|
1801
|
+
{
|
|
1802
|
+
name: 'saltSource',
|
|
1803
|
+
internalType: 'bytes',
|
|
1804
|
+
type: 'bytes',
|
|
1805
|
+
indexed: false,
|
|
1806
|
+
},
|
|
1807
|
+
],
|
|
1808
|
+
name: 'SetupNewCointag',
|
|
1809
|
+
},
|
|
1810
|
+
{
|
|
1811
|
+
type: 'event',
|
|
1812
|
+
anonymous: false,
|
|
1813
|
+
inputs: [
|
|
1814
|
+
{
|
|
1815
|
+
name: 'implementation',
|
|
1816
|
+
internalType: 'address',
|
|
1817
|
+
type: 'address',
|
|
1818
|
+
indexed: true,
|
|
1819
|
+
},
|
|
1820
|
+
],
|
|
1821
|
+
name: 'Upgraded',
|
|
1822
|
+
},
|
|
1823
|
+
{
|
|
1824
|
+
type: 'error',
|
|
1825
|
+
inputs: [{ name: 'target', internalType: 'address', type: 'address' }],
|
|
1826
|
+
name: 'AddressEmptyCode',
|
|
1827
|
+
},
|
|
1828
|
+
{ type: 'error', inputs: [], name: 'AddressZero' },
|
|
1829
|
+
{
|
|
1830
|
+
type: 'error',
|
|
1831
|
+
inputs: [
|
|
1832
|
+
{ name: 'implementation', internalType: 'address', type: 'address' },
|
|
1833
|
+
],
|
|
1834
|
+
name: 'ERC1967InvalidImplementation',
|
|
1835
|
+
},
|
|
1836
|
+
{ type: 'error', inputs: [], name: 'ERC1967NonPayable' },
|
|
1837
|
+
{ type: 'error', inputs: [], name: 'FailedInnerCall' },
|
|
1838
|
+
{ type: 'error', inputs: [], name: 'InvalidInitialization' },
|
|
1839
|
+
{ type: 'error', inputs: [], name: 'NotInitializing' },
|
|
1840
|
+
{
|
|
1841
|
+
type: 'error',
|
|
1842
|
+
inputs: [{ name: 'owner', internalType: 'address', type: 'address' }],
|
|
1843
|
+
name: 'OwnableInvalidOwner',
|
|
1844
|
+
},
|
|
1845
|
+
{
|
|
1846
|
+
type: 'error',
|
|
1847
|
+
inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
|
|
1848
|
+
name: 'OwnableUnauthorizedAccount',
|
|
1849
|
+
},
|
|
1850
|
+
{ type: 'error', inputs: [], name: 'UUPSUnauthorizedCallContext' },
|
|
1851
|
+
{
|
|
1852
|
+
type: 'error',
|
|
1853
|
+
inputs: [{ name: 'slot', internalType: 'bytes32', type: 'bytes32' }],
|
|
1854
|
+
name: 'UUPSUnsupportedProxiableUUID',
|
|
1855
|
+
},
|
|
1856
|
+
{
|
|
1857
|
+
type: 'error',
|
|
1858
|
+
inputs: [
|
|
1859
|
+
{ name: 'expected', internalType: 'address', type: 'address' },
|
|
1860
|
+
{ name: 'actual', internalType: 'address', type: 'address' },
|
|
1861
|
+
],
|
|
1862
|
+
name: 'UnexpectedCointagAddress',
|
|
1863
|
+
},
|
|
1864
|
+
{
|
|
1865
|
+
type: 'error',
|
|
1866
|
+
inputs: [
|
|
1867
|
+
{ name: 'currentName', internalType: 'string', type: 'string' },
|
|
1868
|
+
{ name: 'newName', internalType: 'string', type: 'string' },
|
|
1869
|
+
],
|
|
1870
|
+
name: 'UpgradeToMismatchedContractName',
|
|
1871
|
+
},
|
|
1872
|
+
] as const
|
|
1873
|
+
|
|
1874
|
+
/**
|
|
1875
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x7777777BbD0b88aD5F3b5f4c89C6B60D74b9774F)
|
|
1876
|
+
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x7777777BbD0b88aD5F3b5f4c89C6B60D74b9774F)
|
|
1877
|
+
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7777777BbD0b88aD5F3b5f4c89C6B60D74b9774F)
|
|
1878
|
+
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x77777773Bd7Cccb7E704315CA51245707E19B0DE)
|
|
1879
|
+
*/
|
|
1880
|
+
export const cointagFactoryAddress = {
|
|
1881
|
+
8453: '0x7777777BbD0b88aD5F3b5f4c89C6B60D74b9774F',
|
|
1882
|
+
84532: '0x7777777BbD0b88aD5F3b5f4c89C6B60D74b9774F',
|
|
1883
|
+
7777777: '0x7777777BbD0b88aD5F3b5f4c89C6B60D74b9774F',
|
|
1884
|
+
999999999: '0x77777773Bd7Cccb7E704315CA51245707E19B0DE',
|
|
1885
|
+
} as const
|
|
1886
|
+
|
|
1887
|
+
/**
|
|
1888
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x7777777BbD0b88aD5F3b5f4c89C6B60D74b9774F)
|
|
1889
|
+
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x7777777BbD0b88aD5F3b5f4c89C6B60D74b9774F)
|
|
1890
|
+
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7777777BbD0b88aD5F3b5f4c89C6B60D74b9774F)
|
|
1891
|
+
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x77777773Bd7Cccb7E704315CA51245707E19B0DE)
|
|
1892
|
+
*/
|
|
1893
|
+
export const cointagFactoryConfig = {
|
|
1894
|
+
address: cointagFactoryAddress,
|
|
1895
|
+
abi: cointagFactoryABI,
|
|
1896
|
+
} as const
|
|
1897
|
+
|
|
1078
1898
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
1079
1899
|
// Comments
|
|
1080
1900
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
@@ -3881,6 +4701,123 @@ export const iSponsoredSparksSpenderActionABI = [
|
|
|
3881
4701
|
},
|
|
3882
4702
|
] as const
|
|
3883
4703
|
|
|
4704
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
4705
|
+
// IUniswapV3Pool
|
|
4706
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
4707
|
+
|
|
4708
|
+
export const iUniswapV3PoolABI = [
|
|
4709
|
+
{
|
|
4710
|
+
type: 'function',
|
|
4711
|
+
inputs: [],
|
|
4712
|
+
name: 'fee',
|
|
4713
|
+
outputs: [{ name: '', internalType: 'uint24', type: 'uint24' }],
|
|
4714
|
+
stateMutability: 'view',
|
|
4715
|
+
},
|
|
4716
|
+
{
|
|
4717
|
+
type: 'function',
|
|
4718
|
+
inputs: [],
|
|
4719
|
+
name: 'feeGrowthGlobal0X128',
|
|
4720
|
+
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
|
|
4721
|
+
stateMutability: 'view',
|
|
4722
|
+
},
|
|
4723
|
+
{
|
|
4724
|
+
type: 'function',
|
|
4725
|
+
inputs: [],
|
|
4726
|
+
name: 'feeGrowthGlobal1X128',
|
|
4727
|
+
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
|
|
4728
|
+
stateMutability: 'view',
|
|
4729
|
+
},
|
|
4730
|
+
{
|
|
4731
|
+
type: 'function',
|
|
4732
|
+
inputs: [
|
|
4733
|
+
{
|
|
4734
|
+
name: 'observationCardinalityNext',
|
|
4735
|
+
internalType: 'uint16',
|
|
4736
|
+
type: 'uint16',
|
|
4737
|
+
},
|
|
4738
|
+
],
|
|
4739
|
+
name: 'increaseObservationCardinalityNext',
|
|
4740
|
+
outputs: [],
|
|
4741
|
+
stateMutability: 'nonpayable',
|
|
4742
|
+
},
|
|
4743
|
+
{
|
|
4744
|
+
type: 'function',
|
|
4745
|
+
inputs: [
|
|
4746
|
+
{ name: 'secondsAgos', internalType: 'uint32[]', type: 'uint32[]' },
|
|
4747
|
+
],
|
|
4748
|
+
name: 'observe',
|
|
4749
|
+
outputs: [
|
|
4750
|
+
{ name: 'tickCumulatives', internalType: 'int56[]', type: 'int56[]' },
|
|
4751
|
+
{
|
|
4752
|
+
name: 'secondsPerLiquidityCumulativeX128s',
|
|
4753
|
+
internalType: 'uint160[]',
|
|
4754
|
+
type: 'uint160[]',
|
|
4755
|
+
},
|
|
4756
|
+
],
|
|
4757
|
+
stateMutability: 'view',
|
|
4758
|
+
},
|
|
4759
|
+
{
|
|
4760
|
+
type: 'function',
|
|
4761
|
+
inputs: [],
|
|
4762
|
+
name: 'slot0',
|
|
4763
|
+
outputs: [
|
|
4764
|
+
{
|
|
4765
|
+
name: 'slot0',
|
|
4766
|
+
internalType: 'struct IUniswapV3Pool.Slot0',
|
|
4767
|
+
type: 'tuple',
|
|
4768
|
+
components: [
|
|
4769
|
+
{ name: 'sqrtPriceX96', internalType: 'uint160', type: 'uint160' },
|
|
4770
|
+
{ name: 'tick', internalType: 'int24', type: 'int24' },
|
|
4771
|
+
{ name: 'observationIndex', internalType: 'uint16', type: 'uint16' },
|
|
4772
|
+
{
|
|
4773
|
+
name: 'observationCardinality',
|
|
4774
|
+
internalType: 'uint16',
|
|
4775
|
+
type: 'uint16',
|
|
4776
|
+
},
|
|
4777
|
+
{
|
|
4778
|
+
name: 'observationCardinalityNext',
|
|
4779
|
+
internalType: 'uint16',
|
|
4780
|
+
type: 'uint16',
|
|
4781
|
+
},
|
|
4782
|
+
{ name: 'feeProtocol', internalType: 'uint8', type: 'uint8' },
|
|
4783
|
+
{ name: 'unlocked', internalType: 'bool', type: 'bool' },
|
|
4784
|
+
],
|
|
4785
|
+
},
|
|
4786
|
+
],
|
|
4787
|
+
stateMutability: 'view',
|
|
4788
|
+
},
|
|
4789
|
+
{
|
|
4790
|
+
type: 'function',
|
|
4791
|
+
inputs: [
|
|
4792
|
+
{ name: 'recipient', internalType: 'address', type: 'address' },
|
|
4793
|
+
{ name: 'zeroForOne', internalType: 'bool', type: 'bool' },
|
|
4794
|
+
{ name: 'amountSpecified', internalType: 'int256', type: 'int256' },
|
|
4795
|
+
{ name: 'sqrtPriceLimitX96', internalType: 'uint160', type: 'uint160' },
|
|
4796
|
+
{ name: 'data', internalType: 'bytes', type: 'bytes' },
|
|
4797
|
+
],
|
|
4798
|
+
name: 'swap',
|
|
4799
|
+
outputs: [
|
|
4800
|
+
{ name: 'amount0', internalType: 'int256', type: 'int256' },
|
|
4801
|
+
{ name: 'amount1', internalType: 'int256', type: 'int256' },
|
|
4802
|
+
],
|
|
4803
|
+
stateMutability: 'nonpayable',
|
|
4804
|
+
},
|
|
4805
|
+
{
|
|
4806
|
+
type: 'function',
|
|
4807
|
+
inputs: [],
|
|
4808
|
+
name: 'token0',
|
|
4809
|
+
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
4810
|
+
stateMutability: 'view',
|
|
4811
|
+
},
|
|
4812
|
+
{
|
|
4813
|
+
type: 'function',
|
|
4814
|
+
inputs: [],
|
|
4815
|
+
name: 'token1',
|
|
4816
|
+
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
4817
|
+
stateMutability: 'view',
|
|
4818
|
+
},
|
|
4819
|
+
] as const
|
|
4820
|
+
|
|
3884
4821
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
3885
4822
|
// IUnwrapAndForwardAction
|
|
3886
4823
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
@@ -4491,7 +5428,7 @@ export const secondarySwapABI = [
|
|
|
4491
5428
|
indexed: true,
|
|
4492
5429
|
},
|
|
4493
5430
|
{
|
|
4494
|
-
name: '
|
|
5431
|
+
name: 'amountETHSold',
|
|
4495
5432
|
internalType: 'uint256',
|
|
4496
5433
|
type: 'uint256',
|
|
4497
5434
|
indexed: false,
|
|
@@ -4571,7 +5508,7 @@ export const secondarySwapABI = [
|
|
|
4571
5508
|
indexed: true,
|
|
4572
5509
|
},
|
|
4573
5510
|
{
|
|
4574
|
-
name: '
|
|
5511
|
+
name: 'amountETHPurchased',
|
|
4575
5512
|
internalType: 'uint256',
|
|
4576
5513
|
type: 'uint256',
|
|
4577
5514
|
indexed: false,
|
|
@@ -5131,6 +6068,138 @@ export const sponsoredSparksSpenderConfig = {
|
|
|
5131
6068
|
abi: sponsoredSparksSpenderABI,
|
|
5132
6069
|
} as const
|
|
5133
6070
|
|
|
6071
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
6072
|
+
// UniswapV3SwapRouter
|
|
6073
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
6074
|
+
|
|
6075
|
+
/**
|
|
6076
|
+
* - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45)
|
|
6077
|
+
* - [__View Contract on Op Mainnet Optimism Explorer__](https://optimistic.etherscan.io/address/0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45)
|
|
6078
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x2626664c2603336E57B271c5C0b26F421741e481)
|
|
6079
|
+
* - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45)
|
|
6080
|
+
* - [__View Contract on Blast Blastscan__](https://blastscan.io/address/0x549FEB8c9bd4c12Ad2AB27022dA12492aC452B66)
|
|
6081
|
+
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4)
|
|
6082
|
+
* - [__View Contract on Arbitrum Sepolia Arbiscan__](https://sepolia.arbiscan.io/address/0x101F443B4d1b059569D643917553c771E1b9663E)
|
|
6083
|
+
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7De04c96BE5159c3b5CeffC82aa176dc81281557)
|
|
6084
|
+
* - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x3bFA4769FB09eefC5a80d6E87c3B9C650f7Ae48E)
|
|
6085
|
+
* - [__View Contract on Op Sepolia Blockscout__](https://optimism-sepolia.blockscout.com/address/0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4)
|
|
6086
|
+
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x6B36d761981d82B1e07cF3c4daF4cB4615c4850a)
|
|
6087
|
+
*/
|
|
6088
|
+
export const uniswapV3SwapRouterABI = [
|
|
6089
|
+
{
|
|
6090
|
+
type: 'function',
|
|
6091
|
+
inputs: [
|
|
6092
|
+
{
|
|
6093
|
+
name: 'params',
|
|
6094
|
+
internalType: 'struct ISwapRouter.ExactInputSingleParams',
|
|
6095
|
+
type: 'tuple',
|
|
6096
|
+
components: [
|
|
6097
|
+
{ name: 'tokenIn', internalType: 'address', type: 'address' },
|
|
6098
|
+
{ name: 'tokenOut', internalType: 'address', type: 'address' },
|
|
6099
|
+
{ name: 'fee', internalType: 'uint24', type: 'uint24' },
|
|
6100
|
+
{ name: 'recipient', internalType: 'address', type: 'address' },
|
|
6101
|
+
{ name: 'amountIn', internalType: 'uint256', type: 'uint256' },
|
|
6102
|
+
{
|
|
6103
|
+
name: 'amountOutMinimum',
|
|
6104
|
+
internalType: 'uint256',
|
|
6105
|
+
type: 'uint256',
|
|
6106
|
+
},
|
|
6107
|
+
{
|
|
6108
|
+
name: 'sqrtPriceLimitX96',
|
|
6109
|
+
internalType: 'uint160',
|
|
6110
|
+
type: 'uint160',
|
|
6111
|
+
},
|
|
6112
|
+
],
|
|
6113
|
+
},
|
|
6114
|
+
],
|
|
6115
|
+
name: 'exactInputSingle',
|
|
6116
|
+
outputs: [{ name: 'amountOut', internalType: 'uint256', type: 'uint256' }],
|
|
6117
|
+
stateMutability: 'payable',
|
|
6118
|
+
},
|
|
6119
|
+
{
|
|
6120
|
+
type: 'function',
|
|
6121
|
+
inputs: [
|
|
6122
|
+
{
|
|
6123
|
+
name: 'params',
|
|
6124
|
+
internalType: 'struct ISwapRouter.ExactOutputSingleParams',
|
|
6125
|
+
type: 'tuple',
|
|
6126
|
+
components: [
|
|
6127
|
+
{ name: 'tokenIn', internalType: 'address', type: 'address' },
|
|
6128
|
+
{ name: 'tokenOut', internalType: 'address', type: 'address' },
|
|
6129
|
+
{ name: 'fee', internalType: 'uint24', type: 'uint24' },
|
|
6130
|
+
{ name: 'recipient', internalType: 'address', type: 'address' },
|
|
6131
|
+
{ name: 'amountOut', internalType: 'uint256', type: 'uint256' },
|
|
6132
|
+
{ name: 'amountInMaximum', internalType: 'uint256', type: 'uint256' },
|
|
6133
|
+
{
|
|
6134
|
+
name: 'sqrtPriceLimitX96',
|
|
6135
|
+
internalType: 'uint160',
|
|
6136
|
+
type: 'uint160',
|
|
6137
|
+
},
|
|
6138
|
+
],
|
|
6139
|
+
},
|
|
6140
|
+
],
|
|
6141
|
+
name: 'exactOutputSingle',
|
|
6142
|
+
outputs: [{ name: 'amountIn', internalType: 'uint256', type: 'uint256' }],
|
|
6143
|
+
stateMutability: 'payable',
|
|
6144
|
+
},
|
|
6145
|
+
{
|
|
6146
|
+
type: 'function',
|
|
6147
|
+
inputs: [
|
|
6148
|
+
{ name: 'amount0Delta', internalType: 'int256', type: 'int256' },
|
|
6149
|
+
{ name: 'amount1Delta', internalType: 'int256', type: 'int256' },
|
|
6150
|
+
{ name: 'data', internalType: 'bytes', type: 'bytes' },
|
|
6151
|
+
],
|
|
6152
|
+
name: 'uniswapV3SwapCallback',
|
|
6153
|
+
outputs: [],
|
|
6154
|
+
stateMutability: 'nonpayable',
|
|
6155
|
+
},
|
|
6156
|
+
] as const
|
|
6157
|
+
|
|
6158
|
+
/**
|
|
6159
|
+
* - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45)
|
|
6160
|
+
* - [__View Contract on Op Mainnet Optimism Explorer__](https://optimistic.etherscan.io/address/0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45)
|
|
6161
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x2626664c2603336E57B271c5C0b26F421741e481)
|
|
6162
|
+
* - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45)
|
|
6163
|
+
* - [__View Contract on Blast Blastscan__](https://blastscan.io/address/0x549FEB8c9bd4c12Ad2AB27022dA12492aC452B66)
|
|
6164
|
+
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4)
|
|
6165
|
+
* - [__View Contract on Arbitrum Sepolia Arbiscan__](https://sepolia.arbiscan.io/address/0x101F443B4d1b059569D643917553c771E1b9663E)
|
|
6166
|
+
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7De04c96BE5159c3b5CeffC82aa176dc81281557)
|
|
6167
|
+
* - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x3bFA4769FB09eefC5a80d6E87c3B9C650f7Ae48E)
|
|
6168
|
+
* - [__View Contract on Op Sepolia Blockscout__](https://optimism-sepolia.blockscout.com/address/0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4)
|
|
6169
|
+
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x6B36d761981d82B1e07cF3c4daF4cB4615c4850a)
|
|
6170
|
+
*/
|
|
6171
|
+
export const uniswapV3SwapRouterAddress = {
|
|
6172
|
+
1: '0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45',
|
|
6173
|
+
10: '0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45',
|
|
6174
|
+
8453: '0x2626664c2603336E57B271c5C0b26F421741e481',
|
|
6175
|
+
42161: '0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45',
|
|
6176
|
+
81457: '0x549FEB8c9bd4c12Ad2AB27022dA12492aC452B66',
|
|
6177
|
+
84532: '0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4',
|
|
6178
|
+
421614: '0x101F443B4d1b059569D643917553c771E1b9663E',
|
|
6179
|
+
7777777: '0x7De04c96BE5159c3b5CeffC82aa176dc81281557',
|
|
6180
|
+
11155111: '0x3bFA4769FB09eefC5a80d6E87c3B9C650f7Ae48E',
|
|
6181
|
+
11155420: '0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4',
|
|
6182
|
+
999999999: '0x6B36d761981d82B1e07cF3c4daF4cB4615c4850a',
|
|
6183
|
+
} as const
|
|
6184
|
+
|
|
6185
|
+
/**
|
|
6186
|
+
* - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45)
|
|
6187
|
+
* - [__View Contract on Op Mainnet Optimism Explorer__](https://optimistic.etherscan.io/address/0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45)
|
|
6188
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x2626664c2603336E57B271c5C0b26F421741e481)
|
|
6189
|
+
* - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45)
|
|
6190
|
+
* - [__View Contract on Blast Blastscan__](https://blastscan.io/address/0x549FEB8c9bd4c12Ad2AB27022dA12492aC452B66)
|
|
6191
|
+
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4)
|
|
6192
|
+
* - [__View Contract on Arbitrum Sepolia Arbiscan__](https://sepolia.arbiscan.io/address/0x101F443B4d1b059569D643917553c771E1b9663E)
|
|
6193
|
+
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7De04c96BE5159c3b5CeffC82aa176dc81281557)
|
|
6194
|
+
* - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x3bFA4769FB09eefC5a80d6E87c3B9C650f7Ae48E)
|
|
6195
|
+
* - [__View Contract on Op Sepolia Blockscout__](https://optimism-sepolia.blockscout.com/address/0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4)
|
|
6196
|
+
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x6B36d761981d82B1e07cF3c4daF4cB4615c4850a)
|
|
6197
|
+
*/
|
|
6198
|
+
export const uniswapV3SwapRouterConfig = {
|
|
6199
|
+
address: uniswapV3SwapRouterAddress,
|
|
6200
|
+
abi: uniswapV3SwapRouterABI,
|
|
6201
|
+
} as const
|
|
6202
|
+
|
|
5134
6203
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
5135
6204
|
// UpgradeGate
|
|
5136
6205
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
@@ -11638,6 +12707,8 @@ export const zoraMintsManagerImplConfig = {
|
|
|
11638
12707
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
11639
12708
|
|
|
11640
12709
|
/**
|
|
12710
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x7777777b3eA6C126942BB14dD5C3C11D365C385D)
|
|
12711
|
+
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x7777777b3eA6C126942BB14dD5C3C11D365C385D)
|
|
11641
12712
|
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7777777b3eA6C126942BB14dD5C3C11D365C385D)
|
|
11642
12713
|
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777b3eA6C126942BB14dD5C3C11D365C385D)
|
|
11643
12714
|
*/
|
|
@@ -12441,15 +13512,21 @@ export const zoraSparks1155ABI = [
|
|
|
12441
13512
|
] as const
|
|
12442
13513
|
|
|
12443
13514
|
/**
|
|
13515
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x7777777b3eA6C126942BB14dD5C3C11D365C385D)
|
|
13516
|
+
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x7777777b3eA6C126942BB14dD5C3C11D365C385D)
|
|
12444
13517
|
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7777777b3eA6C126942BB14dD5C3C11D365C385D)
|
|
12445
13518
|
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777b3eA6C126942BB14dD5C3C11D365C385D)
|
|
12446
13519
|
*/
|
|
12447
13520
|
export const zoraSparks1155Address = {
|
|
13521
|
+
8453: '0x7777777b3eA6C126942BB14dD5C3C11D365C385D',
|
|
13522
|
+
84532: '0x7777777b3eA6C126942BB14dD5C3C11D365C385D',
|
|
12448
13523
|
7777777: '0x7777777b3eA6C126942BB14dD5C3C11D365C385D',
|
|
12449
13524
|
999999999: '0x7777777b3eA6C126942BB14dD5C3C11D365C385D',
|
|
12450
13525
|
} as const
|
|
12451
13526
|
|
|
12452
13527
|
/**
|
|
13528
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x7777777b3eA6C126942BB14dD5C3C11D365C385D)
|
|
13529
|
+
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x7777777b3eA6C126942BB14dD5C3C11D365C385D)
|
|
12453
13530
|
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7777777b3eA6C126942BB14dD5C3C11D365C385D)
|
|
12454
13531
|
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777b3eA6C126942BB14dD5C3C11D365C385D)
|
|
12455
13532
|
*/
|
|
@@ -12463,6 +13540,8 @@ export const zoraSparks1155Config = {
|
|
|
12463
13540
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
12464
13541
|
|
|
12465
13542
|
/**
|
|
13543
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x77777779acd6a96C0c57272112921A0b833c38fD)
|
|
13544
|
+
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x77777779acd6a96C0c57272112921A0b833c38fD)
|
|
12466
13545
|
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x77777779acd6a96C0c57272112921A0b833c38fD)
|
|
12467
13546
|
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x77777779acd6a96C0c57272112921A0b833c38fD)
|
|
12468
13547
|
*/
|
|
@@ -12849,15 +13928,21 @@ export const zoraSparksManagerImplABI = [
|
|
|
12849
13928
|
] as const
|
|
12850
13929
|
|
|
12851
13930
|
/**
|
|
13931
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x77777779acd6a96C0c57272112921A0b833c38fD)
|
|
13932
|
+
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x77777779acd6a96C0c57272112921A0b833c38fD)
|
|
12852
13933
|
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x77777779acd6a96C0c57272112921A0b833c38fD)
|
|
12853
13934
|
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x77777779acd6a96C0c57272112921A0b833c38fD)
|
|
12854
13935
|
*/
|
|
12855
13936
|
export const zoraSparksManagerImplAddress = {
|
|
13937
|
+
8453: '0x77777779acd6a96C0c57272112921A0b833c38fD',
|
|
13938
|
+
84532: '0x77777779acd6a96C0c57272112921A0b833c38fD',
|
|
12856
13939
|
7777777: '0x77777779acd6a96C0c57272112921A0b833c38fD',
|
|
12857
13940
|
999999999: '0x77777779acd6a96C0c57272112921A0b833c38fD',
|
|
12858
13941
|
} as const
|
|
12859
13942
|
|
|
12860
13943
|
/**
|
|
13944
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x77777779acd6a96C0c57272112921A0b833c38fD)
|
|
13945
|
+
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x77777779acd6a96C0c57272112921A0b833c38fD)
|
|
12861
13946
|
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x77777779acd6a96C0c57272112921A0b833c38fD)
|
|
12862
13947
|
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x77777779acd6a96C0c57272112921A0b833c38fD)
|
|
12863
13948
|
*/
|