@zoralabs/protocol-deployments 0.3.11-DEV.3 → 0.3.11-DEV.6
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 +48 -48
- package/CHANGELOG.md +1 -1
- package/dist/generated/wagmi.d.ts +661 -13
- package/dist/generated/wagmi.d.ts.map +1 -1
- package/dist/index.cjs +327 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +323 -10
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/generated/wagmi.ts +376 -13
- package/json/1155.json +0 -212
- package/json/mints.json +0 -46
- package/package/.turbo/turbo-build.log +0 -48
- package/package/package/.turbo/turbo-build.log +0 -48
package/package.json
CHANGED
package/src/generated/wagmi.ts
CHANGED
|
@@ -1096,6 +1096,34 @@ export const cointagABI = [
|
|
|
1096
1096
|
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
|
|
1097
1097
|
stateMutability: 'view',
|
|
1098
1098
|
},
|
|
1099
|
+
{
|
|
1100
|
+
type: 'function',
|
|
1101
|
+
inputs: [],
|
|
1102
|
+
name: 'REQUIRED_OBSERVATION_CARDINALITY',
|
|
1103
|
+
outputs: [{ name: '', internalType: 'uint16', type: 'uint16' }],
|
|
1104
|
+
stateMutability: 'view',
|
|
1105
|
+
},
|
|
1106
|
+
{
|
|
1107
|
+
type: 'function',
|
|
1108
|
+
inputs: [],
|
|
1109
|
+
name: 'SLIPPAGE',
|
|
1110
|
+
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
|
|
1111
|
+
stateMutability: 'view',
|
|
1112
|
+
},
|
|
1113
|
+
{
|
|
1114
|
+
type: 'function',
|
|
1115
|
+
inputs: [],
|
|
1116
|
+
name: 'TIME_WEIGHTED_PRICE_PERIOD',
|
|
1117
|
+
outputs: [{ name: '', internalType: 'uint32', type: 'uint32' }],
|
|
1118
|
+
stateMutability: 'view',
|
|
1119
|
+
},
|
|
1120
|
+
{
|
|
1121
|
+
type: 'function',
|
|
1122
|
+
inputs: [],
|
|
1123
|
+
name: 'contractVersion',
|
|
1124
|
+
outputs: [{ name: '', internalType: 'string', type: 'string' }],
|
|
1125
|
+
stateMutability: 'pure',
|
|
1126
|
+
},
|
|
1099
1127
|
{
|
|
1100
1128
|
type: 'function',
|
|
1101
1129
|
inputs: [],
|
|
@@ -1103,6 +1131,13 @@ export const cointagABI = [
|
|
|
1103
1131
|
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
1104
1132
|
stateMutability: 'view',
|
|
1105
1133
|
},
|
|
1134
|
+
{
|
|
1135
|
+
type: 'function',
|
|
1136
|
+
inputs: [],
|
|
1137
|
+
name: 'ensureObservationCardinality',
|
|
1138
|
+
outputs: [],
|
|
1139
|
+
stateMutability: 'nonpayable',
|
|
1140
|
+
},
|
|
1106
1141
|
{
|
|
1107
1142
|
type: 'function',
|
|
1108
1143
|
inputs: [],
|
|
@@ -1112,6 +1147,16 @@ export const cointagABI = [
|
|
|
1112
1147
|
],
|
|
1113
1148
|
stateMutability: 'view',
|
|
1114
1149
|
},
|
|
1150
|
+
{
|
|
1151
|
+
type: 'function',
|
|
1152
|
+
inputs: [],
|
|
1153
|
+
name: 'hasEnoughObservationCardinality',
|
|
1154
|
+
outputs: [
|
|
1155
|
+
{ name: '', internalType: 'bool', type: 'bool' },
|
|
1156
|
+
{ name: '', internalType: 'uint256', type: 'uint256' },
|
|
1157
|
+
],
|
|
1158
|
+
stateMutability: 'view',
|
|
1159
|
+
},
|
|
1115
1160
|
{
|
|
1116
1161
|
type: 'function',
|
|
1117
1162
|
inputs: [
|
|
@@ -1156,6 +1201,13 @@ export const cointagABI = [
|
|
|
1156
1201
|
],
|
|
1157
1202
|
stateMutability: 'view',
|
|
1158
1203
|
},
|
|
1204
|
+
{
|
|
1205
|
+
type: 'function',
|
|
1206
|
+
inputs: [],
|
|
1207
|
+
name: 'pull',
|
|
1208
|
+
outputs: [],
|
|
1209
|
+
stateMutability: 'nonpayable',
|
|
1210
|
+
},
|
|
1159
1211
|
{
|
|
1160
1212
|
type: 'function',
|
|
1161
1213
|
inputs: [
|
|
@@ -1174,13 +1226,6 @@ export const cointagABI = [
|
|
|
1174
1226
|
outputs: [{ name: '', internalType: 'contract IWETH', type: 'address' }],
|
|
1175
1227
|
stateMutability: 'view',
|
|
1176
1228
|
},
|
|
1177
|
-
{
|
|
1178
|
-
type: 'function',
|
|
1179
|
-
inputs: [],
|
|
1180
|
-
name: 'withdraw',
|
|
1181
|
-
outputs: [],
|
|
1182
|
-
stateMutability: 'nonpayable',
|
|
1183
|
-
},
|
|
1184
1229
|
{
|
|
1185
1230
|
type: 'event',
|
|
1186
1231
|
anonymous: false,
|
|
@@ -1284,11 +1329,27 @@ export const cointagABI = [
|
|
|
1284
1329
|
inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
|
|
1285
1330
|
name: 'AddressInsufficientBalance',
|
|
1286
1331
|
},
|
|
1332
|
+
{
|
|
1333
|
+
type: 'error',
|
|
1334
|
+
inputs: [
|
|
1335
|
+
{ name: 'amountOut', internalType: 'uint256', type: 'uint256' },
|
|
1336
|
+
{ name: 'amountOutMinimum', internalType: 'uint256', type: 'uint256' },
|
|
1337
|
+
],
|
|
1338
|
+
name: 'AmountOutLessThanMinimum',
|
|
1339
|
+
},
|
|
1287
1340
|
{ type: 'error', inputs: [], name: 'FailedInnerCall' },
|
|
1288
1341
|
{ type: 'error', inputs: [], name: 'InvalidInitialization' },
|
|
1342
|
+
{
|
|
1343
|
+
type: 'error',
|
|
1344
|
+
inputs: [
|
|
1345
|
+
{ name: 'requiredCardinality', internalType: 'uint256', type: 'uint256' },
|
|
1346
|
+
{ name: 'currentCardinality', internalType: 'uint256', type: 'uint256' },
|
|
1347
|
+
],
|
|
1348
|
+
name: 'NotEnoughObservationCardinality',
|
|
1349
|
+
},
|
|
1289
1350
|
{ type: 'error', inputs: [], name: 'NotInitializing' },
|
|
1290
|
-
{ type: 'error', inputs: [], name: '
|
|
1291
|
-
{ type: 'error', inputs: [], name: '
|
|
1351
|
+
{ type: 'error', inputs: [], name: 'OnlyPool' },
|
|
1352
|
+
{ type: 'error', inputs: [], name: 'OnlyProtocolRewardsOrWeth' },
|
|
1292
1353
|
{
|
|
1293
1354
|
type: 'error',
|
|
1294
1355
|
inputs: [{ name: 'token', internalType: 'address', type: 'address' }],
|
|
@@ -1301,7 +1362,8 @@ export const cointagABI = [
|
|
|
1301
1362
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
1302
1363
|
|
|
1303
1364
|
/**
|
|
1304
|
-
* [__View Contract on Base
|
|
1365
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x77777779A8ed7943134E4E2D5C48698bCcBE8Be8)
|
|
1366
|
+
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x77777779A8ed7943134E4E2D5C48698bCcBE8Be8)
|
|
1305
1367
|
*/
|
|
1306
1368
|
export const cointagFactoryABI = [
|
|
1307
1369
|
{
|
|
@@ -1375,8 +1437,28 @@ export const cointagFactoryABI = [
|
|
|
1375
1437
|
},
|
|
1376
1438
|
{ name: 'saltSource', internalType: 'bytes', type: 'bytes' },
|
|
1377
1439
|
],
|
|
1378
|
-
name: '
|
|
1440
|
+
name: 'getCointagAddress',
|
|
1379
1441
|
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
1442
|
+
stateMutability: 'view',
|
|
1443
|
+
},
|
|
1444
|
+
{
|
|
1445
|
+
type: 'function',
|
|
1446
|
+
inputs: [
|
|
1447
|
+
{
|
|
1448
|
+
name: '_creatorRewardRecipient',
|
|
1449
|
+
internalType: 'address',
|
|
1450
|
+
type: 'address',
|
|
1451
|
+
},
|
|
1452
|
+
{ name: '_pool', internalType: 'address', type: 'address' },
|
|
1453
|
+
{
|
|
1454
|
+
name: '_percentageToBuyBurn',
|
|
1455
|
+
internalType: 'uint256',
|
|
1456
|
+
type: 'uint256',
|
|
1457
|
+
},
|
|
1458
|
+
{ name: 'saltSource', internalType: 'bytes', type: 'bytes' },
|
|
1459
|
+
],
|
|
1460
|
+
name: 'getOrCreateCointag',
|
|
1461
|
+
outputs: [{ name: '', internalType: 'contract Cointag', type: 'address' }],
|
|
1380
1462
|
stateMutability: 'nonpayable',
|
|
1381
1463
|
},
|
|
1382
1464
|
{
|
|
@@ -1606,14 +1688,17 @@ export const cointagFactoryABI = [
|
|
|
1606
1688
|
] as const
|
|
1607
1689
|
|
|
1608
1690
|
/**
|
|
1609
|
-
* [__View Contract on Base
|
|
1691
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x77777779A8ed7943134E4E2D5C48698bCcBE8Be8)
|
|
1692
|
+
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x77777779A8ed7943134E4E2D5C48698bCcBE8Be8)
|
|
1610
1693
|
*/
|
|
1611
1694
|
export const cointagFactoryAddress = {
|
|
1695
|
+
8453: '0x77777779A8ed7943134E4E2D5C48698bCcBE8Be8',
|
|
1612
1696
|
84532: '0x77777779A8ed7943134E4E2D5C48698bCcBE8Be8',
|
|
1613
1697
|
} as const
|
|
1614
1698
|
|
|
1615
1699
|
/**
|
|
1616
|
-
* [__View Contract on Base
|
|
1700
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x77777779A8ed7943134E4E2D5C48698bCcBE8Be8)
|
|
1701
|
+
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x77777779A8ed7943134E4E2D5C48698bCcBE8Be8)
|
|
1617
1702
|
*/
|
|
1618
1703
|
export const cointagFactoryConfig = {
|
|
1619
1704
|
address: cointagFactoryAddress,
|
|
@@ -4426,6 +4511,123 @@ export const iSponsoredSparksSpenderActionABI = [
|
|
|
4426
4511
|
},
|
|
4427
4512
|
] as const
|
|
4428
4513
|
|
|
4514
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
4515
|
+
// IUniswapV3Pool
|
|
4516
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
4517
|
+
|
|
4518
|
+
export const iUniswapV3PoolABI = [
|
|
4519
|
+
{
|
|
4520
|
+
type: 'function',
|
|
4521
|
+
inputs: [],
|
|
4522
|
+
name: 'fee',
|
|
4523
|
+
outputs: [{ name: '', internalType: 'uint24', type: 'uint24' }],
|
|
4524
|
+
stateMutability: 'view',
|
|
4525
|
+
},
|
|
4526
|
+
{
|
|
4527
|
+
type: 'function',
|
|
4528
|
+
inputs: [],
|
|
4529
|
+
name: 'feeGrowthGlobal0X128',
|
|
4530
|
+
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
|
|
4531
|
+
stateMutability: 'view',
|
|
4532
|
+
},
|
|
4533
|
+
{
|
|
4534
|
+
type: 'function',
|
|
4535
|
+
inputs: [],
|
|
4536
|
+
name: 'feeGrowthGlobal1X128',
|
|
4537
|
+
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
|
|
4538
|
+
stateMutability: 'view',
|
|
4539
|
+
},
|
|
4540
|
+
{
|
|
4541
|
+
type: 'function',
|
|
4542
|
+
inputs: [
|
|
4543
|
+
{
|
|
4544
|
+
name: 'observationCardinalityNext',
|
|
4545
|
+
internalType: 'uint16',
|
|
4546
|
+
type: 'uint16',
|
|
4547
|
+
},
|
|
4548
|
+
],
|
|
4549
|
+
name: 'increaseObservationCardinalityNext',
|
|
4550
|
+
outputs: [],
|
|
4551
|
+
stateMutability: 'nonpayable',
|
|
4552
|
+
},
|
|
4553
|
+
{
|
|
4554
|
+
type: 'function',
|
|
4555
|
+
inputs: [
|
|
4556
|
+
{ name: 'secondsAgos', internalType: 'uint32[]', type: 'uint32[]' },
|
|
4557
|
+
],
|
|
4558
|
+
name: 'observe',
|
|
4559
|
+
outputs: [
|
|
4560
|
+
{ name: 'tickCumulatives', internalType: 'int56[]', type: 'int56[]' },
|
|
4561
|
+
{
|
|
4562
|
+
name: 'secondsPerLiquidityCumulativeX128s',
|
|
4563
|
+
internalType: 'uint160[]',
|
|
4564
|
+
type: 'uint160[]',
|
|
4565
|
+
},
|
|
4566
|
+
],
|
|
4567
|
+
stateMutability: 'view',
|
|
4568
|
+
},
|
|
4569
|
+
{
|
|
4570
|
+
type: 'function',
|
|
4571
|
+
inputs: [],
|
|
4572
|
+
name: 'slot0',
|
|
4573
|
+
outputs: [
|
|
4574
|
+
{
|
|
4575
|
+
name: 'slot0',
|
|
4576
|
+
internalType: 'struct IUniswapV3Pool.Slot0',
|
|
4577
|
+
type: 'tuple',
|
|
4578
|
+
components: [
|
|
4579
|
+
{ name: 'sqrtPriceX96', internalType: 'uint160', type: 'uint160' },
|
|
4580
|
+
{ name: 'tick', internalType: 'int24', type: 'int24' },
|
|
4581
|
+
{ name: 'observationIndex', internalType: 'uint16', type: 'uint16' },
|
|
4582
|
+
{
|
|
4583
|
+
name: 'observationCardinality',
|
|
4584
|
+
internalType: 'uint16',
|
|
4585
|
+
type: 'uint16',
|
|
4586
|
+
},
|
|
4587
|
+
{
|
|
4588
|
+
name: 'observationCardinalityNext',
|
|
4589
|
+
internalType: 'uint16',
|
|
4590
|
+
type: 'uint16',
|
|
4591
|
+
},
|
|
4592
|
+
{ name: 'feeProtocol', internalType: 'uint8', type: 'uint8' },
|
|
4593
|
+
{ name: 'unlocked', internalType: 'bool', type: 'bool' },
|
|
4594
|
+
],
|
|
4595
|
+
},
|
|
4596
|
+
],
|
|
4597
|
+
stateMutability: 'view',
|
|
4598
|
+
},
|
|
4599
|
+
{
|
|
4600
|
+
type: 'function',
|
|
4601
|
+
inputs: [
|
|
4602
|
+
{ name: 'recipient', internalType: 'address', type: 'address' },
|
|
4603
|
+
{ name: 'zeroForOne', internalType: 'bool', type: 'bool' },
|
|
4604
|
+
{ name: 'amountSpecified', internalType: 'int256', type: 'int256' },
|
|
4605
|
+
{ name: 'sqrtPriceLimitX96', internalType: 'uint160', type: 'uint160' },
|
|
4606
|
+
{ name: 'data', internalType: 'bytes', type: 'bytes' },
|
|
4607
|
+
],
|
|
4608
|
+
name: 'swap',
|
|
4609
|
+
outputs: [
|
|
4610
|
+
{ name: 'amount0', internalType: 'int256', type: 'int256' },
|
|
4611
|
+
{ name: 'amount1', internalType: 'int256', type: 'int256' },
|
|
4612
|
+
],
|
|
4613
|
+
stateMutability: 'nonpayable',
|
|
4614
|
+
},
|
|
4615
|
+
{
|
|
4616
|
+
type: 'function',
|
|
4617
|
+
inputs: [],
|
|
4618
|
+
name: 'token0',
|
|
4619
|
+
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
4620
|
+
stateMutability: 'view',
|
|
4621
|
+
},
|
|
4622
|
+
{
|
|
4623
|
+
type: 'function',
|
|
4624
|
+
inputs: [],
|
|
4625
|
+
name: 'token1',
|
|
4626
|
+
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
4627
|
+
stateMutability: 'view',
|
|
4628
|
+
},
|
|
4629
|
+
] as const
|
|
4630
|
+
|
|
4429
4631
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
4430
4632
|
// IUnwrapAndForwardAction
|
|
4431
4633
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
@@ -5676,6 +5878,138 @@ export const sponsoredSparksSpenderConfig = {
|
|
|
5676
5878
|
abi: sponsoredSparksSpenderABI,
|
|
5677
5879
|
} as const
|
|
5678
5880
|
|
|
5881
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
5882
|
+
// UniswapV3SwapRouter
|
|
5883
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
5884
|
+
|
|
5885
|
+
/**
|
|
5886
|
+
* - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45)
|
|
5887
|
+
* - [__View Contract on Op Mainnet Optimism Explorer__](https://optimistic.etherscan.io/address/0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45)
|
|
5888
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x2626664c2603336E57B271c5C0b26F421741e481)
|
|
5889
|
+
* - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45)
|
|
5890
|
+
* - [__View Contract on Blast Blastscan__](https://blastscan.io/address/0x549FEB8c9bd4c12Ad2AB27022dA12492aC452B66)
|
|
5891
|
+
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4)
|
|
5892
|
+
* - [__View Contract on Arbitrum Sepolia Arbiscan__](https://sepolia.arbiscan.io/address/0x101F443B4d1b059569D643917553c771E1b9663E)
|
|
5893
|
+
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7De04c96BE5159c3b5CeffC82aa176dc81281557)
|
|
5894
|
+
* - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x3bFA4769FB09eefC5a80d6E87c3B9C650f7Ae48E)
|
|
5895
|
+
* - [__View Contract on Op Sepolia Blockscout__](https://optimism-sepolia.blockscout.com/address/0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4)
|
|
5896
|
+
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x6B36d761981d82B1e07cF3c4daF4cB4615c4850a)
|
|
5897
|
+
*/
|
|
5898
|
+
export const uniswapV3SwapRouterABI = [
|
|
5899
|
+
{
|
|
5900
|
+
type: 'function',
|
|
5901
|
+
inputs: [
|
|
5902
|
+
{
|
|
5903
|
+
name: 'params',
|
|
5904
|
+
internalType: 'struct ISwapRouter.ExactInputSingleParams',
|
|
5905
|
+
type: 'tuple',
|
|
5906
|
+
components: [
|
|
5907
|
+
{ name: 'tokenIn', internalType: 'address', type: 'address' },
|
|
5908
|
+
{ name: 'tokenOut', internalType: 'address', type: 'address' },
|
|
5909
|
+
{ name: 'fee', internalType: 'uint24', type: 'uint24' },
|
|
5910
|
+
{ name: 'recipient', internalType: 'address', type: 'address' },
|
|
5911
|
+
{ name: 'amountIn', internalType: 'uint256', type: 'uint256' },
|
|
5912
|
+
{
|
|
5913
|
+
name: 'amountOutMinimum',
|
|
5914
|
+
internalType: 'uint256',
|
|
5915
|
+
type: 'uint256',
|
|
5916
|
+
},
|
|
5917
|
+
{
|
|
5918
|
+
name: 'sqrtPriceLimitX96',
|
|
5919
|
+
internalType: 'uint160',
|
|
5920
|
+
type: 'uint160',
|
|
5921
|
+
},
|
|
5922
|
+
],
|
|
5923
|
+
},
|
|
5924
|
+
],
|
|
5925
|
+
name: 'exactInputSingle',
|
|
5926
|
+
outputs: [{ name: 'amountOut', internalType: 'uint256', type: 'uint256' }],
|
|
5927
|
+
stateMutability: 'payable',
|
|
5928
|
+
},
|
|
5929
|
+
{
|
|
5930
|
+
type: 'function',
|
|
5931
|
+
inputs: [
|
|
5932
|
+
{
|
|
5933
|
+
name: 'params',
|
|
5934
|
+
internalType: 'struct ISwapRouter.ExactOutputSingleParams',
|
|
5935
|
+
type: 'tuple',
|
|
5936
|
+
components: [
|
|
5937
|
+
{ name: 'tokenIn', internalType: 'address', type: 'address' },
|
|
5938
|
+
{ name: 'tokenOut', internalType: 'address', type: 'address' },
|
|
5939
|
+
{ name: 'fee', internalType: 'uint24', type: 'uint24' },
|
|
5940
|
+
{ name: 'recipient', internalType: 'address', type: 'address' },
|
|
5941
|
+
{ name: 'amountOut', internalType: 'uint256', type: 'uint256' },
|
|
5942
|
+
{ name: 'amountInMaximum', internalType: 'uint256', type: 'uint256' },
|
|
5943
|
+
{
|
|
5944
|
+
name: 'sqrtPriceLimitX96',
|
|
5945
|
+
internalType: 'uint160',
|
|
5946
|
+
type: 'uint160',
|
|
5947
|
+
},
|
|
5948
|
+
],
|
|
5949
|
+
},
|
|
5950
|
+
],
|
|
5951
|
+
name: 'exactOutputSingle',
|
|
5952
|
+
outputs: [{ name: 'amountIn', internalType: 'uint256', type: 'uint256' }],
|
|
5953
|
+
stateMutability: 'payable',
|
|
5954
|
+
},
|
|
5955
|
+
{
|
|
5956
|
+
type: 'function',
|
|
5957
|
+
inputs: [
|
|
5958
|
+
{ name: 'amount0Delta', internalType: 'int256', type: 'int256' },
|
|
5959
|
+
{ name: 'amount1Delta', internalType: 'int256', type: 'int256' },
|
|
5960
|
+
{ name: 'data', internalType: 'bytes', type: 'bytes' },
|
|
5961
|
+
],
|
|
5962
|
+
name: 'uniswapV3SwapCallback',
|
|
5963
|
+
outputs: [],
|
|
5964
|
+
stateMutability: 'nonpayable',
|
|
5965
|
+
},
|
|
5966
|
+
] as const
|
|
5967
|
+
|
|
5968
|
+
/**
|
|
5969
|
+
* - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45)
|
|
5970
|
+
* - [__View Contract on Op Mainnet Optimism Explorer__](https://optimistic.etherscan.io/address/0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45)
|
|
5971
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x2626664c2603336E57B271c5C0b26F421741e481)
|
|
5972
|
+
* - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45)
|
|
5973
|
+
* - [__View Contract on Blast Blastscan__](https://blastscan.io/address/0x549FEB8c9bd4c12Ad2AB27022dA12492aC452B66)
|
|
5974
|
+
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4)
|
|
5975
|
+
* - [__View Contract on Arbitrum Sepolia Arbiscan__](https://sepolia.arbiscan.io/address/0x101F443B4d1b059569D643917553c771E1b9663E)
|
|
5976
|
+
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7De04c96BE5159c3b5CeffC82aa176dc81281557)
|
|
5977
|
+
* - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x3bFA4769FB09eefC5a80d6E87c3B9C650f7Ae48E)
|
|
5978
|
+
* - [__View Contract on Op Sepolia Blockscout__](https://optimism-sepolia.blockscout.com/address/0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4)
|
|
5979
|
+
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x6B36d761981d82B1e07cF3c4daF4cB4615c4850a)
|
|
5980
|
+
*/
|
|
5981
|
+
export const uniswapV3SwapRouterAddress = {
|
|
5982
|
+
1: '0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45',
|
|
5983
|
+
10: '0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45',
|
|
5984
|
+
8453: '0x2626664c2603336E57B271c5C0b26F421741e481',
|
|
5985
|
+
42161: '0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45',
|
|
5986
|
+
81457: '0x549FEB8c9bd4c12Ad2AB27022dA12492aC452B66',
|
|
5987
|
+
84532: '0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4',
|
|
5988
|
+
421614: '0x101F443B4d1b059569D643917553c771E1b9663E',
|
|
5989
|
+
7777777: '0x7De04c96BE5159c3b5CeffC82aa176dc81281557',
|
|
5990
|
+
11155111: '0x3bFA4769FB09eefC5a80d6E87c3B9C650f7Ae48E',
|
|
5991
|
+
11155420: '0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4',
|
|
5992
|
+
999999999: '0x6B36d761981d82B1e07cF3c4daF4cB4615c4850a',
|
|
5993
|
+
} as const
|
|
5994
|
+
|
|
5995
|
+
/**
|
|
5996
|
+
* - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45)
|
|
5997
|
+
* - [__View Contract on Op Mainnet Optimism Explorer__](https://optimistic.etherscan.io/address/0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45)
|
|
5998
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x2626664c2603336E57B271c5C0b26F421741e481)
|
|
5999
|
+
* - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45)
|
|
6000
|
+
* - [__View Contract on Blast Blastscan__](https://blastscan.io/address/0x549FEB8c9bd4c12Ad2AB27022dA12492aC452B66)
|
|
6001
|
+
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4)
|
|
6002
|
+
* - [__View Contract on Arbitrum Sepolia Arbiscan__](https://sepolia.arbiscan.io/address/0x101F443B4d1b059569D643917553c771E1b9663E)
|
|
6003
|
+
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7De04c96BE5159c3b5CeffC82aa176dc81281557)
|
|
6004
|
+
* - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x3bFA4769FB09eefC5a80d6E87c3B9C650f7Ae48E)
|
|
6005
|
+
* - [__View Contract on Op Sepolia Blockscout__](https://optimism-sepolia.blockscout.com/address/0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4)
|
|
6006
|
+
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x6B36d761981d82B1e07cF3c4daF4cB4615c4850a)
|
|
6007
|
+
*/
|
|
6008
|
+
export const uniswapV3SwapRouterConfig = {
|
|
6009
|
+
address: uniswapV3SwapRouterAddress,
|
|
6010
|
+
abi: uniswapV3SwapRouterABI,
|
|
6011
|
+
} as const
|
|
6012
|
+
|
|
5679
6013
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
5680
6014
|
// UpgradeGate
|
|
5681
6015
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
@@ -13506,6 +13840,35 @@ export const zoraTimedSaleStrategyABI = [
|
|
|
13506
13840
|
],
|
|
13507
13841
|
stateMutability: 'pure',
|
|
13508
13842
|
},
|
|
13843
|
+
{
|
|
13844
|
+
type: 'function',
|
|
13845
|
+
inputs: [{ name: 'quantity', internalType: 'uint256', type: 'uint256' }],
|
|
13846
|
+
name: 'computeRewardsV2',
|
|
13847
|
+
outputs: [
|
|
13848
|
+
{
|
|
13849
|
+
name: '',
|
|
13850
|
+
internalType: 'struct IZoraTimedSaleStrategy.RewardsSettings',
|
|
13851
|
+
type: 'tuple',
|
|
13852
|
+
components: [
|
|
13853
|
+
{ name: 'totalReward', internalType: 'uint256', type: 'uint256' },
|
|
13854
|
+
{ name: 'creatorReward', internalType: 'uint256', type: 'uint256' },
|
|
13855
|
+
{
|
|
13856
|
+
name: 'createReferralReward',
|
|
13857
|
+
internalType: 'uint256',
|
|
13858
|
+
type: 'uint256',
|
|
13859
|
+
},
|
|
13860
|
+
{
|
|
13861
|
+
name: 'mintReferralReward',
|
|
13862
|
+
internalType: 'uint256',
|
|
13863
|
+
type: 'uint256',
|
|
13864
|
+
},
|
|
13865
|
+
{ name: 'marketReward', internalType: 'uint256', type: 'uint256' },
|
|
13866
|
+
{ name: 'zoraReward', internalType: 'uint256', type: 'uint256' },
|
|
13867
|
+
],
|
|
13868
|
+
},
|
|
13869
|
+
],
|
|
13870
|
+
stateMutability: 'pure',
|
|
13871
|
+
},
|
|
13509
13872
|
{
|
|
13510
13873
|
type: 'function',
|
|
13511
13874
|
inputs: [],
|