@zoralabs/protocol-deployments 0.3.11-DEV.4 → 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 +609 -13
- package/dist/generated/wagmi.d.ts.map +1 -1
- package/dist/index.cjs +307 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +303 -10
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/generated/wagmi.ts +356 -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/dist/index.js
CHANGED
|
@@ -1059,6 +1059,34 @@ var cointagABI = [
|
|
|
1059
1059
|
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
1060
1060
|
stateMutability: "view"
|
|
1061
1061
|
},
|
|
1062
|
+
{
|
|
1063
|
+
type: "function",
|
|
1064
|
+
inputs: [],
|
|
1065
|
+
name: "REQUIRED_OBSERVATION_CARDINALITY",
|
|
1066
|
+
outputs: [{ name: "", internalType: "uint16", type: "uint16" }],
|
|
1067
|
+
stateMutability: "view"
|
|
1068
|
+
},
|
|
1069
|
+
{
|
|
1070
|
+
type: "function",
|
|
1071
|
+
inputs: [],
|
|
1072
|
+
name: "SLIPPAGE",
|
|
1073
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
1074
|
+
stateMutability: "view"
|
|
1075
|
+
},
|
|
1076
|
+
{
|
|
1077
|
+
type: "function",
|
|
1078
|
+
inputs: [],
|
|
1079
|
+
name: "TIME_WEIGHTED_PRICE_PERIOD",
|
|
1080
|
+
outputs: [{ name: "", internalType: "uint32", type: "uint32" }],
|
|
1081
|
+
stateMutability: "view"
|
|
1082
|
+
},
|
|
1083
|
+
{
|
|
1084
|
+
type: "function",
|
|
1085
|
+
inputs: [],
|
|
1086
|
+
name: "contractVersion",
|
|
1087
|
+
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
1088
|
+
stateMutability: "pure"
|
|
1089
|
+
},
|
|
1062
1090
|
{
|
|
1063
1091
|
type: "function",
|
|
1064
1092
|
inputs: [],
|
|
@@ -1066,6 +1094,13 @@ var cointagABI = [
|
|
|
1066
1094
|
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
1067
1095
|
stateMutability: "view"
|
|
1068
1096
|
},
|
|
1097
|
+
{
|
|
1098
|
+
type: "function",
|
|
1099
|
+
inputs: [],
|
|
1100
|
+
name: "ensureObservationCardinality",
|
|
1101
|
+
outputs: [],
|
|
1102
|
+
stateMutability: "nonpayable"
|
|
1103
|
+
},
|
|
1069
1104
|
{
|
|
1070
1105
|
type: "function",
|
|
1071
1106
|
inputs: [],
|
|
@@ -1075,6 +1110,16 @@ var cointagABI = [
|
|
|
1075
1110
|
],
|
|
1076
1111
|
stateMutability: "view"
|
|
1077
1112
|
},
|
|
1113
|
+
{
|
|
1114
|
+
type: "function",
|
|
1115
|
+
inputs: [],
|
|
1116
|
+
name: "hasEnoughObservationCardinality",
|
|
1117
|
+
outputs: [
|
|
1118
|
+
{ name: "", internalType: "bool", type: "bool" },
|
|
1119
|
+
{ name: "", internalType: "uint256", type: "uint256" }
|
|
1120
|
+
],
|
|
1121
|
+
stateMutability: "view"
|
|
1122
|
+
},
|
|
1078
1123
|
{
|
|
1079
1124
|
type: "function",
|
|
1080
1125
|
inputs: [
|
|
@@ -1119,6 +1164,13 @@ var cointagABI = [
|
|
|
1119
1164
|
],
|
|
1120
1165
|
stateMutability: "view"
|
|
1121
1166
|
},
|
|
1167
|
+
{
|
|
1168
|
+
type: "function",
|
|
1169
|
+
inputs: [],
|
|
1170
|
+
name: "pull",
|
|
1171
|
+
outputs: [],
|
|
1172
|
+
stateMutability: "nonpayable"
|
|
1173
|
+
},
|
|
1122
1174
|
{
|
|
1123
1175
|
type: "function",
|
|
1124
1176
|
inputs: [
|
|
@@ -1137,13 +1189,6 @@ var cointagABI = [
|
|
|
1137
1189
|
outputs: [{ name: "", internalType: "contract IWETH", type: "address" }],
|
|
1138
1190
|
stateMutability: "view"
|
|
1139
1191
|
},
|
|
1140
|
-
{
|
|
1141
|
-
type: "function",
|
|
1142
|
-
inputs: [],
|
|
1143
|
-
name: "withdraw",
|
|
1144
|
-
outputs: [],
|
|
1145
|
-
stateMutability: "nonpayable"
|
|
1146
|
-
},
|
|
1147
1192
|
{
|
|
1148
1193
|
type: "event",
|
|
1149
1194
|
anonymous: false,
|
|
@@ -1247,11 +1292,27 @@ var cointagABI = [
|
|
|
1247
1292
|
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
1248
1293
|
name: "AddressInsufficientBalance"
|
|
1249
1294
|
},
|
|
1295
|
+
{
|
|
1296
|
+
type: "error",
|
|
1297
|
+
inputs: [
|
|
1298
|
+
{ name: "amountOut", internalType: "uint256", type: "uint256" },
|
|
1299
|
+
{ name: "amountOutMinimum", internalType: "uint256", type: "uint256" }
|
|
1300
|
+
],
|
|
1301
|
+
name: "AmountOutLessThanMinimum"
|
|
1302
|
+
},
|
|
1250
1303
|
{ type: "error", inputs: [], name: "FailedInnerCall" },
|
|
1251
1304
|
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
1305
|
+
{
|
|
1306
|
+
type: "error",
|
|
1307
|
+
inputs: [
|
|
1308
|
+
{ name: "requiredCardinality", internalType: "uint256", type: "uint256" },
|
|
1309
|
+
{ name: "currentCardinality", internalType: "uint256", type: "uint256" }
|
|
1310
|
+
],
|
|
1311
|
+
name: "NotEnoughObservationCardinality"
|
|
1312
|
+
},
|
|
1252
1313
|
{ type: "error", inputs: [], name: "NotInitializing" },
|
|
1253
|
-
{ type: "error", inputs: [], name: "
|
|
1254
|
-
{ type: "error", inputs: [], name: "
|
|
1314
|
+
{ type: "error", inputs: [], name: "OnlyPool" },
|
|
1315
|
+
{ type: "error", inputs: [], name: "OnlyProtocolRewardsOrWeth" },
|
|
1255
1316
|
{
|
|
1256
1317
|
type: "error",
|
|
1257
1318
|
inputs: [{ name: "token", internalType: "address", type: "address" }],
|
|
@@ -1351,7 +1412,7 @@ var cointagFactoryABI = [
|
|
|
1351
1412
|
{ name: "saltSource", internalType: "bytes", type: "bytes" }
|
|
1352
1413
|
],
|
|
1353
1414
|
name: "getOrCreateCointag",
|
|
1354
|
-
outputs: [{ name: "", internalType: "
|
|
1415
|
+
outputs: [{ name: "", internalType: "contract Cointag", type: "address" }],
|
|
1355
1416
|
stateMutability: "nonpayable"
|
|
1356
1417
|
},
|
|
1357
1418
|
{
|
|
@@ -1580,6 +1641,7 @@ var cointagFactoryABI = [
|
|
|
1580
1641
|
}
|
|
1581
1642
|
];
|
|
1582
1643
|
var cointagFactoryAddress = {
|
|
1644
|
+
8453: "0x77777779A8ed7943134E4E2D5C48698bCcBE8Be8",
|
|
1583
1645
|
84532: "0x77777779A8ed7943134E4E2D5C48698bCcBE8Be8"
|
|
1584
1646
|
};
|
|
1585
1647
|
var cointagFactoryConfig = {
|
|
@@ -4248,6 +4310,118 @@ var iSponsoredSparksSpenderActionABI = [
|
|
|
4248
4310
|
stateMutability: "nonpayable"
|
|
4249
4311
|
}
|
|
4250
4312
|
];
|
|
4313
|
+
var iUniswapV3PoolABI = [
|
|
4314
|
+
{
|
|
4315
|
+
type: "function",
|
|
4316
|
+
inputs: [],
|
|
4317
|
+
name: "fee",
|
|
4318
|
+
outputs: [{ name: "", internalType: "uint24", type: "uint24" }],
|
|
4319
|
+
stateMutability: "view"
|
|
4320
|
+
},
|
|
4321
|
+
{
|
|
4322
|
+
type: "function",
|
|
4323
|
+
inputs: [],
|
|
4324
|
+
name: "feeGrowthGlobal0X128",
|
|
4325
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
4326
|
+
stateMutability: "view"
|
|
4327
|
+
},
|
|
4328
|
+
{
|
|
4329
|
+
type: "function",
|
|
4330
|
+
inputs: [],
|
|
4331
|
+
name: "feeGrowthGlobal1X128",
|
|
4332
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
4333
|
+
stateMutability: "view"
|
|
4334
|
+
},
|
|
4335
|
+
{
|
|
4336
|
+
type: "function",
|
|
4337
|
+
inputs: [
|
|
4338
|
+
{
|
|
4339
|
+
name: "observationCardinalityNext",
|
|
4340
|
+
internalType: "uint16",
|
|
4341
|
+
type: "uint16"
|
|
4342
|
+
}
|
|
4343
|
+
],
|
|
4344
|
+
name: "increaseObservationCardinalityNext",
|
|
4345
|
+
outputs: [],
|
|
4346
|
+
stateMutability: "nonpayable"
|
|
4347
|
+
},
|
|
4348
|
+
{
|
|
4349
|
+
type: "function",
|
|
4350
|
+
inputs: [
|
|
4351
|
+
{ name: "secondsAgos", internalType: "uint32[]", type: "uint32[]" }
|
|
4352
|
+
],
|
|
4353
|
+
name: "observe",
|
|
4354
|
+
outputs: [
|
|
4355
|
+
{ name: "tickCumulatives", internalType: "int56[]", type: "int56[]" },
|
|
4356
|
+
{
|
|
4357
|
+
name: "secondsPerLiquidityCumulativeX128s",
|
|
4358
|
+
internalType: "uint160[]",
|
|
4359
|
+
type: "uint160[]"
|
|
4360
|
+
}
|
|
4361
|
+
],
|
|
4362
|
+
stateMutability: "view"
|
|
4363
|
+
},
|
|
4364
|
+
{
|
|
4365
|
+
type: "function",
|
|
4366
|
+
inputs: [],
|
|
4367
|
+
name: "slot0",
|
|
4368
|
+
outputs: [
|
|
4369
|
+
{
|
|
4370
|
+
name: "slot0",
|
|
4371
|
+
internalType: "struct IUniswapV3Pool.Slot0",
|
|
4372
|
+
type: "tuple",
|
|
4373
|
+
components: [
|
|
4374
|
+
{ name: "sqrtPriceX96", internalType: "uint160", type: "uint160" },
|
|
4375
|
+
{ name: "tick", internalType: "int24", type: "int24" },
|
|
4376
|
+
{ name: "observationIndex", internalType: "uint16", type: "uint16" },
|
|
4377
|
+
{
|
|
4378
|
+
name: "observationCardinality",
|
|
4379
|
+
internalType: "uint16",
|
|
4380
|
+
type: "uint16"
|
|
4381
|
+
},
|
|
4382
|
+
{
|
|
4383
|
+
name: "observationCardinalityNext",
|
|
4384
|
+
internalType: "uint16",
|
|
4385
|
+
type: "uint16"
|
|
4386
|
+
},
|
|
4387
|
+
{ name: "feeProtocol", internalType: "uint8", type: "uint8" },
|
|
4388
|
+
{ name: "unlocked", internalType: "bool", type: "bool" }
|
|
4389
|
+
]
|
|
4390
|
+
}
|
|
4391
|
+
],
|
|
4392
|
+
stateMutability: "view"
|
|
4393
|
+
},
|
|
4394
|
+
{
|
|
4395
|
+
type: "function",
|
|
4396
|
+
inputs: [
|
|
4397
|
+
{ name: "recipient", internalType: "address", type: "address" },
|
|
4398
|
+
{ name: "zeroForOne", internalType: "bool", type: "bool" },
|
|
4399
|
+
{ name: "amountSpecified", internalType: "int256", type: "int256" },
|
|
4400
|
+
{ name: "sqrtPriceLimitX96", internalType: "uint160", type: "uint160" },
|
|
4401
|
+
{ name: "data", internalType: "bytes", type: "bytes" }
|
|
4402
|
+
],
|
|
4403
|
+
name: "swap",
|
|
4404
|
+
outputs: [
|
|
4405
|
+
{ name: "amount0", internalType: "int256", type: "int256" },
|
|
4406
|
+
{ name: "amount1", internalType: "int256", type: "int256" }
|
|
4407
|
+
],
|
|
4408
|
+
stateMutability: "nonpayable"
|
|
4409
|
+
},
|
|
4410
|
+
{
|
|
4411
|
+
type: "function",
|
|
4412
|
+
inputs: [],
|
|
4413
|
+
name: "token0",
|
|
4414
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
4415
|
+
stateMutability: "view"
|
|
4416
|
+
},
|
|
4417
|
+
{
|
|
4418
|
+
type: "function",
|
|
4419
|
+
inputs: [],
|
|
4420
|
+
name: "token1",
|
|
4421
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
4422
|
+
stateMutability: "view"
|
|
4423
|
+
}
|
|
4424
|
+
];
|
|
4251
4425
|
var iUnwrapAndForwardActionABI = [
|
|
4252
4426
|
{
|
|
4253
4427
|
type: "function",
|
|
@@ -5348,6 +5522,92 @@ var sponsoredSparksSpenderConfig = {
|
|
|
5348
5522
|
address: sponsoredSparksSpenderAddress,
|
|
5349
5523
|
abi: sponsoredSparksSpenderABI
|
|
5350
5524
|
};
|
|
5525
|
+
var uniswapV3SwapRouterABI = [
|
|
5526
|
+
{
|
|
5527
|
+
type: "function",
|
|
5528
|
+
inputs: [
|
|
5529
|
+
{
|
|
5530
|
+
name: "params",
|
|
5531
|
+
internalType: "struct ISwapRouter.ExactInputSingleParams",
|
|
5532
|
+
type: "tuple",
|
|
5533
|
+
components: [
|
|
5534
|
+
{ name: "tokenIn", internalType: "address", type: "address" },
|
|
5535
|
+
{ name: "tokenOut", internalType: "address", type: "address" },
|
|
5536
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
5537
|
+
{ name: "recipient", internalType: "address", type: "address" },
|
|
5538
|
+
{ name: "amountIn", internalType: "uint256", type: "uint256" },
|
|
5539
|
+
{
|
|
5540
|
+
name: "amountOutMinimum",
|
|
5541
|
+
internalType: "uint256",
|
|
5542
|
+
type: "uint256"
|
|
5543
|
+
},
|
|
5544
|
+
{
|
|
5545
|
+
name: "sqrtPriceLimitX96",
|
|
5546
|
+
internalType: "uint160",
|
|
5547
|
+
type: "uint160"
|
|
5548
|
+
}
|
|
5549
|
+
]
|
|
5550
|
+
}
|
|
5551
|
+
],
|
|
5552
|
+
name: "exactInputSingle",
|
|
5553
|
+
outputs: [{ name: "amountOut", internalType: "uint256", type: "uint256" }],
|
|
5554
|
+
stateMutability: "payable"
|
|
5555
|
+
},
|
|
5556
|
+
{
|
|
5557
|
+
type: "function",
|
|
5558
|
+
inputs: [
|
|
5559
|
+
{
|
|
5560
|
+
name: "params",
|
|
5561
|
+
internalType: "struct ISwapRouter.ExactOutputSingleParams",
|
|
5562
|
+
type: "tuple",
|
|
5563
|
+
components: [
|
|
5564
|
+
{ name: "tokenIn", internalType: "address", type: "address" },
|
|
5565
|
+
{ name: "tokenOut", internalType: "address", type: "address" },
|
|
5566
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
5567
|
+
{ name: "recipient", internalType: "address", type: "address" },
|
|
5568
|
+
{ name: "amountOut", internalType: "uint256", type: "uint256" },
|
|
5569
|
+
{ name: "amountInMaximum", internalType: "uint256", type: "uint256" },
|
|
5570
|
+
{
|
|
5571
|
+
name: "sqrtPriceLimitX96",
|
|
5572
|
+
internalType: "uint160",
|
|
5573
|
+
type: "uint160"
|
|
5574
|
+
}
|
|
5575
|
+
]
|
|
5576
|
+
}
|
|
5577
|
+
],
|
|
5578
|
+
name: "exactOutputSingle",
|
|
5579
|
+
outputs: [{ name: "amountIn", internalType: "uint256", type: "uint256" }],
|
|
5580
|
+
stateMutability: "payable"
|
|
5581
|
+
},
|
|
5582
|
+
{
|
|
5583
|
+
type: "function",
|
|
5584
|
+
inputs: [
|
|
5585
|
+
{ name: "amount0Delta", internalType: "int256", type: "int256" },
|
|
5586
|
+
{ name: "amount1Delta", internalType: "int256", type: "int256" },
|
|
5587
|
+
{ name: "data", internalType: "bytes", type: "bytes" }
|
|
5588
|
+
],
|
|
5589
|
+
name: "uniswapV3SwapCallback",
|
|
5590
|
+
outputs: [],
|
|
5591
|
+
stateMutability: "nonpayable"
|
|
5592
|
+
}
|
|
5593
|
+
];
|
|
5594
|
+
var uniswapV3SwapRouterAddress = {
|
|
5595
|
+
1: "0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45",
|
|
5596
|
+
10: "0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45",
|
|
5597
|
+
8453: "0x2626664c2603336E57B271c5C0b26F421741e481",
|
|
5598
|
+
42161: "0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45",
|
|
5599
|
+
81457: "0x549FEB8c9bd4c12Ad2AB27022dA12492aC452B66",
|
|
5600
|
+
84532: "0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4",
|
|
5601
|
+
421614: "0x101F443B4d1b059569D643917553c771E1b9663E",
|
|
5602
|
+
7777777: "0x7De04c96BE5159c3b5CeffC82aa176dc81281557",
|
|
5603
|
+
11155111: "0x3bFA4769FB09eefC5a80d6E87c3B9C650f7Ae48E",
|
|
5604
|
+
11155420: "0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4",
|
|
5605
|
+
999999999: "0x6B36d761981d82B1e07cF3c4daF4cB4615c4850a"
|
|
5606
|
+
};
|
|
5607
|
+
var uniswapV3SwapRouterConfig = {
|
|
5608
|
+
address: uniswapV3SwapRouterAddress,
|
|
5609
|
+
abi: uniswapV3SwapRouterABI
|
|
5610
|
+
};
|
|
5351
5611
|
var upgradeGateABI = [
|
|
5352
5612
|
{ type: "constructor", inputs: [], stateMutability: "nonpayable" },
|
|
5353
5613
|
{
|
|
@@ -12728,6 +12988,35 @@ var zoraTimedSaleStrategyABI = [
|
|
|
12728
12988
|
],
|
|
12729
12989
|
stateMutability: "pure"
|
|
12730
12990
|
},
|
|
12991
|
+
{
|
|
12992
|
+
type: "function",
|
|
12993
|
+
inputs: [{ name: "quantity", internalType: "uint256", type: "uint256" }],
|
|
12994
|
+
name: "computeRewardsV2",
|
|
12995
|
+
outputs: [
|
|
12996
|
+
{
|
|
12997
|
+
name: "",
|
|
12998
|
+
internalType: "struct IZoraTimedSaleStrategy.RewardsSettings",
|
|
12999
|
+
type: "tuple",
|
|
13000
|
+
components: [
|
|
13001
|
+
{ name: "totalReward", internalType: "uint256", type: "uint256" },
|
|
13002
|
+
{ name: "creatorReward", internalType: "uint256", type: "uint256" },
|
|
13003
|
+
{
|
|
13004
|
+
name: "createReferralReward",
|
|
13005
|
+
internalType: "uint256",
|
|
13006
|
+
type: "uint256"
|
|
13007
|
+
},
|
|
13008
|
+
{
|
|
13009
|
+
name: "mintReferralReward",
|
|
13010
|
+
internalType: "uint256",
|
|
13011
|
+
type: "uint256"
|
|
13012
|
+
},
|
|
13013
|
+
{ name: "marketReward", internalType: "uint256", type: "uint256" },
|
|
13014
|
+
{ name: "zoraReward", internalType: "uint256", type: "uint256" }
|
|
13015
|
+
]
|
|
13016
|
+
}
|
|
13017
|
+
],
|
|
13018
|
+
stateMutability: "pure"
|
|
13019
|
+
},
|
|
12731
13020
|
{
|
|
12732
13021
|
type: "function",
|
|
12733
13022
|
inputs: [],
|
|
@@ -14372,6 +14661,7 @@ export {
|
|
|
14372
14661
|
erc20ZRoyaltiesConfig,
|
|
14373
14662
|
iPremintDefinitionsABI,
|
|
14374
14663
|
iSponsoredSparksSpenderActionABI,
|
|
14664
|
+
iUniswapV3PoolABI,
|
|
14375
14665
|
iUnwrapAndForwardActionABI,
|
|
14376
14666
|
mintsEthUnwrapperAndCallerABI,
|
|
14377
14667
|
mintsEthUnwrapperAndCallerAddress,
|
|
@@ -14399,6 +14689,9 @@ export {
|
|
|
14399
14689
|
sponsoredSparksSpenderABI,
|
|
14400
14690
|
sponsoredSparksSpenderAddress,
|
|
14401
14691
|
sponsoredSparksSpenderConfig,
|
|
14692
|
+
uniswapV3SwapRouterABI,
|
|
14693
|
+
uniswapV3SwapRouterAddress,
|
|
14694
|
+
uniswapV3SwapRouterConfig,
|
|
14402
14695
|
upgradeGateABI,
|
|
14403
14696
|
upgradeGateAddress,
|
|
14404
14697
|
upgradeGateConfig,
|