@zoralabs/protocol-deployments 0.6.6-TRENDS.0 → 0.7.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$colon$js.log +50 -51
- package/CHANGELOG.md +9 -3
- package/LICENSE +21 -0
- package/dist/generated/wagmi.d.ts +8909 -643
- package/dist/generated/wagmi.d.ts.map +1 -1
- package/dist/index.cjs +2742 -157
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2730 -157
- package/dist/index.js.map +1 -1
- package/package.json +12 -12
- package/src/generated/wagmi.ts +2787 -162
package/dist/index.cjs
CHANGED
|
@@ -2160,6 +2160,18 @@ __export(index_exports, {
|
|
|
2160
2160
|
commentsConfig: () => commentsConfig,
|
|
2161
2161
|
contracts1155: () => __exports,
|
|
2162
2162
|
decodeBuySupplyWithSwapRouterHookReturn: () => decodeBuySupplyWithSwapRouterHookReturn,
|
|
2163
|
+
devBuySupplyWithSwapRouterHookABI: () => devBuySupplyWithSwapRouterHookABI,
|
|
2164
|
+
devBuySupplyWithSwapRouterHookAddress: () => devBuySupplyWithSwapRouterHookAddress,
|
|
2165
|
+
devBuySupplyWithSwapRouterHookConfig: () => devBuySupplyWithSwapRouterHookConfig,
|
|
2166
|
+
devCoinFactoryABI: () => devCoinFactoryABI,
|
|
2167
|
+
devCoinFactoryAddress: () => devCoinFactoryAddress,
|
|
2168
|
+
devCoinFactoryConfig: () => devCoinFactoryConfig,
|
|
2169
|
+
devZoraLimitOrderBookABI: () => devZoraLimitOrderBookABI,
|
|
2170
|
+
devZoraLimitOrderBookAddress: () => devZoraLimitOrderBookAddress,
|
|
2171
|
+
devZoraLimitOrderBookConfig: () => devZoraLimitOrderBookConfig,
|
|
2172
|
+
devZoraRouterABI: () => devZoraRouterABI,
|
|
2173
|
+
devZoraRouterAddress: () => devZoraRouterAddress,
|
|
2174
|
+
devZoraRouterConfig: () => devZoraRouterConfig,
|
|
2163
2175
|
emptyCommentIdentifier: () => emptyCommentIdentifier,
|
|
2164
2176
|
encodeMultiCurvePoolConfig: () => encodeMultiCurvePoolConfig,
|
|
2165
2177
|
encodePremintConfig: () => encodePremintConfig,
|
|
@@ -3672,6 +3684,16 @@ var coinABI = [
|
|
|
3672
3684
|
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
3673
3685
|
stateMutability: "pure"
|
|
3674
3686
|
},
|
|
3687
|
+
{
|
|
3688
|
+
type: "function",
|
|
3689
|
+
inputs: [],
|
|
3690
|
+
name: "creationInfo",
|
|
3691
|
+
outputs: [
|
|
3692
|
+
{ name: "creationTimestamp", internalType: "uint256", type: "uint256" },
|
|
3693
|
+
{ name: "isDeploying", internalType: "bool", type: "bool" }
|
|
3694
|
+
],
|
|
3695
|
+
stateMutability: "view"
|
|
3696
|
+
},
|
|
3675
3697
|
{
|
|
3676
3698
|
type: "function",
|
|
3677
3699
|
inputs: [],
|
|
@@ -4619,7 +4641,6 @@ var coinABI = [
|
|
|
4619
4641
|
],
|
|
4620
4642
|
name: "InvalidAccountNonce"
|
|
4621
4643
|
},
|
|
4622
|
-
{ type: "error", inputs: [], name: "InvalidCurrency" },
|
|
4623
4644
|
{ type: "error", inputs: [], name: "InvalidCurrencyLowerTick" },
|
|
4624
4645
|
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
4625
4646
|
{ type: "error", inputs: [], name: "InvalidMarketType" },
|
|
@@ -4669,7 +4690,6 @@ var coinFactoryABI = [
|
|
|
4669
4690
|
inputs: [
|
|
4670
4691
|
{ name: "coinV4Impl_", internalType: "address", type: "address" },
|
|
4671
4692
|
{ name: "creatorCoinImpl_", internalType: "address", type: "address" },
|
|
4672
|
-
{ name: "trendCoinImpl_", internalType: "address", type: "address" },
|
|
4673
4693
|
{ name: "hook_", internalType: "address", type: "address" },
|
|
4674
4694
|
{ name: "zoraHookRegistry_", internalType: "address", type: "address" }
|
|
4675
4695
|
],
|
|
@@ -4842,20 +4862,6 @@ var coinFactoryABI = [
|
|
|
4842
4862
|
],
|
|
4843
4863
|
stateMutability: "payable"
|
|
4844
4864
|
},
|
|
4845
|
-
{
|
|
4846
|
-
type: "function",
|
|
4847
|
-
inputs: [
|
|
4848
|
-
{ name: "symbol", internalType: "string", type: "string" },
|
|
4849
|
-
{ name: "postDeployHook", internalType: "address", type: "address" },
|
|
4850
|
-
{ name: "postDeployHookData", internalType: "bytes", type: "bytes" }
|
|
4851
|
-
],
|
|
4852
|
-
name: "deployTrendCoin",
|
|
4853
|
-
outputs: [
|
|
4854
|
-
{ name: "coin", internalType: "address", type: "address" },
|
|
4855
|
-
{ name: "postDeployHookDataOut", internalType: "bytes", type: "bytes" }
|
|
4856
|
-
],
|
|
4857
|
-
stateMutability: "payable"
|
|
4858
|
-
},
|
|
4859
4865
|
{
|
|
4860
4866
|
type: "function",
|
|
4861
4867
|
inputs: [
|
|
@@ -4941,20 +4947,6 @@ var coinFactoryABI = [
|
|
|
4941
4947
|
outputs: [],
|
|
4942
4948
|
stateMutability: "nonpayable"
|
|
4943
4949
|
},
|
|
4944
|
-
{
|
|
4945
|
-
type: "function",
|
|
4946
|
-
inputs: [{ name: "symbol", internalType: "string", type: "string" }],
|
|
4947
|
-
name: "trendCoinAddress",
|
|
4948
|
-
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
4949
|
-
stateMutability: "view"
|
|
4950
|
-
},
|
|
4951
|
-
{
|
|
4952
|
-
type: "function",
|
|
4953
|
-
inputs: [],
|
|
4954
|
-
name: "trendCoinImpl",
|
|
4955
|
-
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
4956
|
-
stateMutability: "view"
|
|
4957
|
-
},
|
|
4958
4950
|
{
|
|
4959
4951
|
type: "function",
|
|
4960
4952
|
inputs: [
|
|
@@ -5090,12 +5082,6 @@ var coinFactoryABI = [
|
|
|
5090
5082
|
type: "bytes32",
|
|
5091
5083
|
indexed: false
|
|
5092
5084
|
},
|
|
5093
|
-
{
|
|
5094
|
-
name: "poolConfig",
|
|
5095
|
-
internalType: "bytes",
|
|
5096
|
-
type: "bytes",
|
|
5097
|
-
indexed: false
|
|
5098
|
-
},
|
|
5099
5085
|
{
|
|
5100
5086
|
name: "version",
|
|
5101
5087
|
internalType: "string",
|
|
@@ -5166,12 +5152,6 @@ var coinFactoryABI = [
|
|
|
5166
5152
|
type: "bytes32",
|
|
5167
5153
|
indexed: false
|
|
5168
5154
|
},
|
|
5169
|
-
{
|
|
5170
|
-
name: "poolConfig",
|
|
5171
|
-
internalType: "bytes",
|
|
5172
|
-
type: "bytes",
|
|
5173
|
-
indexed: false
|
|
5174
|
-
},
|
|
5175
5155
|
{
|
|
5176
5156
|
name: "version",
|
|
5177
5157
|
internalType: "string",
|
|
@@ -5232,62 +5212,6 @@ var coinFactoryABI = [
|
|
|
5232
5212
|
],
|
|
5233
5213
|
name: "OwnershipTransferred"
|
|
5234
5214
|
},
|
|
5235
|
-
{
|
|
5236
|
-
type: "event",
|
|
5237
|
-
anonymous: false,
|
|
5238
|
-
inputs: [
|
|
5239
|
-
{
|
|
5240
|
-
name: "caller",
|
|
5241
|
-
internalType: "address",
|
|
5242
|
-
type: "address",
|
|
5243
|
-
indexed: true
|
|
5244
|
-
},
|
|
5245
|
-
{
|
|
5246
|
-
name: "symbol",
|
|
5247
|
-
internalType: "string",
|
|
5248
|
-
type: "string",
|
|
5249
|
-
indexed: false
|
|
5250
|
-
},
|
|
5251
|
-
{
|
|
5252
|
-
name: "coin",
|
|
5253
|
-
internalType: "address",
|
|
5254
|
-
type: "address",
|
|
5255
|
-
indexed: false
|
|
5256
|
-
},
|
|
5257
|
-
{
|
|
5258
|
-
name: "poolKey",
|
|
5259
|
-
internalType: "struct PoolKey",
|
|
5260
|
-
type: "tuple",
|
|
5261
|
-
components: [
|
|
5262
|
-
{ name: "currency0", internalType: "Currency", type: "address" },
|
|
5263
|
-
{ name: "currency1", internalType: "Currency", type: "address" },
|
|
5264
|
-
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
5265
|
-
{ name: "tickSpacing", internalType: "int24", type: "int24" },
|
|
5266
|
-
{ name: "hooks", internalType: "contract IHooks", type: "address" }
|
|
5267
|
-
],
|
|
5268
|
-
indexed: false
|
|
5269
|
-
},
|
|
5270
|
-
{
|
|
5271
|
-
name: "poolKeyHash",
|
|
5272
|
-
internalType: "bytes32",
|
|
5273
|
-
type: "bytes32",
|
|
5274
|
-
indexed: false
|
|
5275
|
-
},
|
|
5276
|
-
{
|
|
5277
|
-
name: "poolConfig",
|
|
5278
|
-
internalType: "bytes",
|
|
5279
|
-
type: "bytes",
|
|
5280
|
-
indexed: false
|
|
5281
|
-
},
|
|
5282
|
-
{
|
|
5283
|
-
name: "version",
|
|
5284
|
-
internalType: "string",
|
|
5285
|
-
type: "string",
|
|
5286
|
-
indexed: false
|
|
5287
|
-
}
|
|
5288
|
-
],
|
|
5289
|
-
name: "TrendCoinCreated"
|
|
5290
|
-
},
|
|
5291
5215
|
{
|
|
5292
5216
|
type: "event",
|
|
5293
5217
|
anonymous: false,
|
|
@@ -5361,11 +5285,6 @@ var coinFactoryABI = [
|
|
|
5361
5285
|
name: "OwnableUnauthorizedAccount"
|
|
5362
5286
|
},
|
|
5363
5287
|
{ type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
|
|
5364
|
-
{
|
|
5365
|
-
type: "error",
|
|
5366
|
-
inputs: [{ name: "ticker", internalType: "string", type: "string" }],
|
|
5367
|
-
name: "TickerAlreadyUsed"
|
|
5368
|
-
},
|
|
5369
5288
|
{ type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
|
|
5370
5289
|
{
|
|
5371
5290
|
type: "error",
|
|
@@ -5487,7 +5406,6 @@ var coinFactoryABI = [
|
|
|
5487
5406
|
],
|
|
5488
5407
|
name: "InvalidAccountNonce"
|
|
5489
5408
|
},
|
|
5490
|
-
{ type: "error", inputs: [], name: "InvalidCurrency" },
|
|
5491
5409
|
{ type: "error", inputs: [], name: "InvalidCurrencyLowerTick" },
|
|
5492
5410
|
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
5493
5411
|
{ type: "error", inputs: [], name: "InvalidMarketType" },
|
|
@@ -5598,14 +5516,9 @@ var coinFactoryABI = [
|
|
|
5598
5516
|
},
|
|
5599
5517
|
{ type: "error", inputs: [], name: "ZoraHookRegistryCannotBeZeroAddress" },
|
|
5600
5518
|
{ type: "error", inputs: [], name: "ZoraLimitOrderBookCannotBeZeroAddress" },
|
|
5601
|
-
{
|
|
5602
|
-
type: "error",
|
|
5603
|
-
inputs: [{ name: "authority", internalType: "address", type: "address" }],
|
|
5604
|
-
name: "AccessManagedInvalidAuthority"
|
|
5605
|
-
},
|
|
5606
|
-
{ type: "error", inputs: [], name: "AccessManagedUnauthorized" },
|
|
5607
5519
|
{ type: "error", inputs: [], name: "AddressZero" },
|
|
5608
5520
|
{ type: "error", inputs: [], name: "ArrayLengthMismatch" },
|
|
5521
|
+
{ type: "error", inputs: [], name: "CallerNotPermitted" },
|
|
5609
5522
|
{
|
|
5610
5523
|
type: "error",
|
|
5611
5524
|
inputs: [
|
|
@@ -5641,11 +5554,24 @@ var coinFactoryABI = [
|
|
|
5641
5554
|
{ type: "error", inputs: [], name: "NotPoolManager" },
|
|
5642
5555
|
{ type: "error", inputs: [], name: "OnlyZoraHook" },
|
|
5643
5556
|
{ type: "error", inputs: [], name: "OrderClosed" },
|
|
5557
|
+
{ type: "error", inputs: [], name: "OrderFillable" },
|
|
5644
5558
|
{ type: "error", inputs: [], name: "OrderNotMaker" },
|
|
5559
|
+
{
|
|
5560
|
+
type: "error",
|
|
5561
|
+
inputs: [{ name: "owner", internalType: "address", type: "address" }],
|
|
5562
|
+
name: "OwnableInvalidOwner"
|
|
5563
|
+
},
|
|
5564
|
+
{
|
|
5565
|
+
type: "error",
|
|
5566
|
+
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
5567
|
+
name: "OwnableUnauthorizedAccount"
|
|
5568
|
+
},
|
|
5645
5569
|
{ type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
|
|
5570
|
+
{ type: "error", inputs: [], name: "PermittedCallersLengthMismatch" },
|
|
5646
5571
|
{ type: "error", inputs: [], name: "RouterMsgSenderInvalid" },
|
|
5647
5572
|
{ type: "error", inputs: [], name: "UnknownCallback" },
|
|
5648
5573
|
{ type: "error", inputs: [], name: "UnlockedFillNotAllowed" },
|
|
5574
|
+
{ type: "error", inputs: [], name: "WethTransferFailed" },
|
|
5649
5575
|
{ type: "error", inputs: [], name: "ZeroMaker" },
|
|
5650
5576
|
{ type: "error", inputs: [], name: "ZeroOrderSize" },
|
|
5651
5577
|
{ type: "error", inputs: [], name: "ZeroRealizedOrder" }
|
|
@@ -5771,6 +5697,16 @@ var coinV4ABI = [
|
|
|
5771
5697
|
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
5772
5698
|
stateMutability: "pure"
|
|
5773
5699
|
},
|
|
5700
|
+
{
|
|
5701
|
+
type: "function",
|
|
5702
|
+
inputs: [],
|
|
5703
|
+
name: "creationInfo",
|
|
5704
|
+
outputs: [
|
|
5705
|
+
{ name: "creationTimestamp", internalType: "uint256", type: "uint256" },
|
|
5706
|
+
{ name: "isDeploying", internalType: "bool", type: "bool" }
|
|
5707
|
+
],
|
|
5708
|
+
stateMutability: "view"
|
|
5709
|
+
},
|
|
5774
5710
|
{
|
|
5775
5711
|
type: "function",
|
|
5776
5712
|
inputs: [],
|
|
@@ -8597,9 +8533,2455 @@ var commentsAddress = {
|
|
|
8597
8533
|
11155420: "0x7777777C2B3132e03a65721a41745C07170a5877",
|
|
8598
8534
|
999999999: "0x7777777C2B3132e03a65721a41745C07170a5877"
|
|
8599
8535
|
};
|
|
8600
|
-
var commentsConfig = {
|
|
8601
|
-
address: commentsAddress,
|
|
8602
|
-
abi: commentsABI
|
|
8536
|
+
var commentsConfig = {
|
|
8537
|
+
address: commentsAddress,
|
|
8538
|
+
abi: commentsABI
|
|
8539
|
+
};
|
|
8540
|
+
var devBuySupplyWithSwapRouterHookABI = [
|
|
8541
|
+
{
|
|
8542
|
+
type: "constructor",
|
|
8543
|
+
inputs: [
|
|
8544
|
+
{
|
|
8545
|
+
name: "_factory",
|
|
8546
|
+
internalType: "contract IZoraFactory",
|
|
8547
|
+
type: "address"
|
|
8548
|
+
},
|
|
8549
|
+
{ name: "_swapRouter", internalType: "address", type: "address" },
|
|
8550
|
+
{ name: "_poolManager", internalType: "address", type: "address" }
|
|
8551
|
+
],
|
|
8552
|
+
stateMutability: "nonpayable"
|
|
8553
|
+
},
|
|
8554
|
+
{
|
|
8555
|
+
type: "function",
|
|
8556
|
+
inputs: [
|
|
8557
|
+
{ name: "sender", internalType: "address", type: "address" },
|
|
8558
|
+
{ name: "coin", internalType: "contract ICoin", type: "address" },
|
|
8559
|
+
{ name: "hookData", internalType: "bytes", type: "bytes" }
|
|
8560
|
+
],
|
|
8561
|
+
name: "afterCoinDeploy",
|
|
8562
|
+
outputs: [{ name: "", internalType: "bytes", type: "bytes" }],
|
|
8563
|
+
stateMutability: "payable"
|
|
8564
|
+
},
|
|
8565
|
+
{
|
|
8566
|
+
type: "function",
|
|
8567
|
+
inputs: [{ name: "data", internalType: "bytes", type: "bytes" }],
|
|
8568
|
+
name: "decodeV4RouteData",
|
|
8569
|
+
outputs: [
|
|
8570
|
+
{
|
|
8571
|
+
name: "v4Route",
|
|
8572
|
+
internalType: "struct PoolKey[]",
|
|
8573
|
+
type: "tuple[]",
|
|
8574
|
+
components: [
|
|
8575
|
+
{ name: "currency0", internalType: "Currency", type: "address" },
|
|
8576
|
+
{ name: "currency1", internalType: "Currency", type: "address" },
|
|
8577
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
8578
|
+
{ name: "tickSpacing", internalType: "int24", type: "int24" },
|
|
8579
|
+
{ name: "hooks", internalType: "contract IHooks", type: "address" }
|
|
8580
|
+
]
|
|
8581
|
+
},
|
|
8582
|
+
{ name: "startAmount", internalType: "uint256", type: "uint256" }
|
|
8583
|
+
],
|
|
8584
|
+
stateMutability: "pure"
|
|
8585
|
+
},
|
|
8586
|
+
{
|
|
8587
|
+
type: "function",
|
|
8588
|
+
inputs: [
|
|
8589
|
+
{
|
|
8590
|
+
name: "params",
|
|
8591
|
+
internalType: "struct BuySupplyWithV4SwapHook.InitialSupplyParams",
|
|
8592
|
+
type: "tuple",
|
|
8593
|
+
components: [
|
|
8594
|
+
{ name: "buyRecipient", internalType: "address", type: "address" },
|
|
8595
|
+
{ name: "v3Route", internalType: "bytes", type: "bytes" },
|
|
8596
|
+
{
|
|
8597
|
+
name: "v4Route",
|
|
8598
|
+
internalType: "struct PoolKey[]",
|
|
8599
|
+
type: "tuple[]",
|
|
8600
|
+
components: [
|
|
8601
|
+
{ name: "currency0", internalType: "Currency", type: "address" },
|
|
8602
|
+
{ name: "currency1", internalType: "Currency", type: "address" },
|
|
8603
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
8604
|
+
{ name: "tickSpacing", internalType: "int24", type: "int24" },
|
|
8605
|
+
{
|
|
8606
|
+
name: "hooks",
|
|
8607
|
+
internalType: "contract IHooks",
|
|
8608
|
+
type: "address"
|
|
8609
|
+
}
|
|
8610
|
+
]
|
|
8611
|
+
},
|
|
8612
|
+
{ name: "inputCurrency", internalType: "address", type: "address" },
|
|
8613
|
+
{ name: "inputAmount", internalType: "uint256", type: "uint256" },
|
|
8614
|
+
{ name: "minAmountOut", internalType: "uint256", type: "uint256" }
|
|
8615
|
+
]
|
|
8616
|
+
}
|
|
8617
|
+
],
|
|
8618
|
+
name: "encodeBuySupplyWithV4SwapHookData",
|
|
8619
|
+
outputs: [{ name: "", internalType: "bytes", type: "bytes" }],
|
|
8620
|
+
stateMutability: "pure"
|
|
8621
|
+
},
|
|
8622
|
+
{
|
|
8623
|
+
type: "function",
|
|
8624
|
+
inputs: [],
|
|
8625
|
+
name: "factory",
|
|
8626
|
+
outputs: [
|
|
8627
|
+
{ name: "", internalType: "contract IZoraFactory", type: "address" }
|
|
8628
|
+
],
|
|
8629
|
+
stateMutability: "view"
|
|
8630
|
+
},
|
|
8631
|
+
{
|
|
8632
|
+
type: "function",
|
|
8633
|
+
inputs: [],
|
|
8634
|
+
name: "poolManager",
|
|
8635
|
+
outputs: [
|
|
8636
|
+
{ name: "", internalType: "contract IPoolManager", type: "address" }
|
|
8637
|
+
],
|
|
8638
|
+
stateMutability: "view"
|
|
8639
|
+
},
|
|
8640
|
+
{
|
|
8641
|
+
type: "function",
|
|
8642
|
+
inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
|
|
8643
|
+
name: "supportsInterface",
|
|
8644
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
8645
|
+
stateMutability: "pure"
|
|
8646
|
+
},
|
|
8647
|
+
{
|
|
8648
|
+
type: "function",
|
|
8649
|
+
inputs: [],
|
|
8650
|
+
name: "swapRouter",
|
|
8651
|
+
outputs: [
|
|
8652
|
+
{ name: "", internalType: "contract ISwapRouter", type: "address" }
|
|
8653
|
+
],
|
|
8654
|
+
stateMutability: "view"
|
|
8655
|
+
},
|
|
8656
|
+
{
|
|
8657
|
+
type: "function",
|
|
8658
|
+
inputs: [{ name: "data", internalType: "bytes", type: "bytes" }],
|
|
8659
|
+
name: "unlockCallback",
|
|
8660
|
+
outputs: [{ name: "", internalType: "bytes", type: "bytes" }],
|
|
8661
|
+
stateMutability: "nonpayable"
|
|
8662
|
+
},
|
|
8663
|
+
{
|
|
8664
|
+
type: "event",
|
|
8665
|
+
anonymous: false,
|
|
8666
|
+
inputs: [
|
|
8667
|
+
{ name: "coin", internalType: "address", type: "address", indexed: true },
|
|
8668
|
+
{
|
|
8669
|
+
name: "recipient",
|
|
8670
|
+
internalType: "address",
|
|
8671
|
+
type: "address",
|
|
8672
|
+
indexed: true
|
|
8673
|
+
},
|
|
8674
|
+
{
|
|
8675
|
+
name: "coinsPurchased",
|
|
8676
|
+
internalType: "uint256",
|
|
8677
|
+
type: "uint256",
|
|
8678
|
+
indexed: true
|
|
8679
|
+
},
|
|
8680
|
+
{ name: "v3Route", internalType: "bytes", type: "bytes", indexed: false },
|
|
8681
|
+
{
|
|
8682
|
+
name: "v4Route",
|
|
8683
|
+
internalType: "struct PoolKey[]",
|
|
8684
|
+
type: "tuple[]",
|
|
8685
|
+
components: [
|
|
8686
|
+
{ name: "currency0", internalType: "Currency", type: "address" },
|
|
8687
|
+
{ name: "currency1", internalType: "Currency", type: "address" },
|
|
8688
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
8689
|
+
{ name: "tickSpacing", internalType: "int24", type: "int24" },
|
|
8690
|
+
{ name: "hooks", internalType: "contract IHooks", type: "address" }
|
|
8691
|
+
],
|
|
8692
|
+
indexed: false
|
|
8693
|
+
},
|
|
8694
|
+
{
|
|
8695
|
+
name: "inputCurrency",
|
|
8696
|
+
internalType: "address",
|
|
8697
|
+
type: "address",
|
|
8698
|
+
indexed: false
|
|
8699
|
+
},
|
|
8700
|
+
{
|
|
8701
|
+
name: "inputAmount",
|
|
8702
|
+
internalType: "uint256",
|
|
8703
|
+
type: "uint256",
|
|
8704
|
+
indexed: false
|
|
8705
|
+
},
|
|
8706
|
+
{
|
|
8707
|
+
name: "v4SwapInput",
|
|
8708
|
+
internalType: "uint256",
|
|
8709
|
+
type: "uint256",
|
|
8710
|
+
indexed: false
|
|
8711
|
+
}
|
|
8712
|
+
],
|
|
8713
|
+
name: "BuyInitialSupply"
|
|
8714
|
+
},
|
|
8715
|
+
{ type: "error", inputs: [], name: "AddressZero" },
|
|
8716
|
+
{ type: "error", inputs: [], name: "HookNotImplemented" },
|
|
8717
|
+
{
|
|
8718
|
+
type: "error",
|
|
8719
|
+
inputs: [
|
|
8720
|
+
{ name: "inputAmount", internalType: "uint256", type: "uint256" },
|
|
8721
|
+
{ name: "availableAmount", internalType: "uint256", type: "uint256" }
|
|
8722
|
+
],
|
|
8723
|
+
name: "InsufficientInputCurrency"
|
|
8724
|
+
},
|
|
8725
|
+
{ type: "error", inputs: [], name: "InsufficientOutputAmount" },
|
|
8726
|
+
{ type: "error", inputs: [], name: "NotFactory" },
|
|
8727
|
+
{ type: "error", inputs: [], name: "OnlyPoolManager" },
|
|
8728
|
+
{
|
|
8729
|
+
type: "error",
|
|
8730
|
+
inputs: [{ name: "token", internalType: "address", type: "address" }],
|
|
8731
|
+
name: "SafeERC20FailedOperation"
|
|
8732
|
+
},
|
|
8733
|
+
{ type: "error", inputs: [], name: "V3RouteDoesNotConnectToV4RouteStart" }
|
|
8734
|
+
];
|
|
8735
|
+
var devBuySupplyWithSwapRouterHookAddress = {};
|
|
8736
|
+
var devBuySupplyWithSwapRouterHookConfig = {
|
|
8737
|
+
address: devBuySupplyWithSwapRouterHookAddress,
|
|
8738
|
+
abi: devBuySupplyWithSwapRouterHookABI
|
|
8739
|
+
};
|
|
8740
|
+
var devCoinFactoryABI = [
|
|
8741
|
+
{
|
|
8742
|
+
type: "constructor",
|
|
8743
|
+
inputs: [
|
|
8744
|
+
{ name: "coinV4Impl_", internalType: "address", type: "address" },
|
|
8745
|
+
{ name: "creatorCoinImpl_", internalType: "address", type: "address" },
|
|
8746
|
+
{ name: "hook_", internalType: "address", type: "address" },
|
|
8747
|
+
{ name: "zoraHookRegistry_", internalType: "address", type: "address" }
|
|
8748
|
+
],
|
|
8749
|
+
stateMutability: "nonpayable"
|
|
8750
|
+
},
|
|
8751
|
+
{
|
|
8752
|
+
type: "function",
|
|
8753
|
+
inputs: [],
|
|
8754
|
+
name: "UPGRADE_INTERFACE_VERSION",
|
|
8755
|
+
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
8756
|
+
stateMutability: "view"
|
|
8757
|
+
},
|
|
8758
|
+
{
|
|
8759
|
+
type: "function",
|
|
8760
|
+
inputs: [],
|
|
8761
|
+
name: "acceptOwnership",
|
|
8762
|
+
outputs: [],
|
|
8763
|
+
stateMutability: "nonpayable"
|
|
8764
|
+
},
|
|
8765
|
+
{
|
|
8766
|
+
type: "function",
|
|
8767
|
+
inputs: [
|
|
8768
|
+
{ name: "msgSender", internalType: "address", type: "address" },
|
|
8769
|
+
{ name: "name", internalType: "string", type: "string" },
|
|
8770
|
+
{ name: "symbol", internalType: "string", type: "string" },
|
|
8771
|
+
{ name: "poolConfig", internalType: "bytes", type: "bytes" },
|
|
8772
|
+
{ name: "platformReferrer", internalType: "address", type: "address" },
|
|
8773
|
+
{ name: "coinSalt", internalType: "bytes32", type: "bytes32" }
|
|
8774
|
+
],
|
|
8775
|
+
name: "coinAddress",
|
|
8776
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
8777
|
+
stateMutability: "view"
|
|
8778
|
+
},
|
|
8779
|
+
{
|
|
8780
|
+
type: "function",
|
|
8781
|
+
inputs: [],
|
|
8782
|
+
name: "coinV4Impl",
|
|
8783
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
8784
|
+
stateMutability: "view"
|
|
8785
|
+
},
|
|
8786
|
+
{
|
|
8787
|
+
type: "function",
|
|
8788
|
+
inputs: [],
|
|
8789
|
+
name: "contentCoinHook",
|
|
8790
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
8791
|
+
stateMutability: "view"
|
|
8792
|
+
},
|
|
8793
|
+
{
|
|
8794
|
+
type: "function",
|
|
8795
|
+
inputs: [],
|
|
8796
|
+
name: "contractName",
|
|
8797
|
+
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
8798
|
+
stateMutability: "pure"
|
|
8799
|
+
},
|
|
8800
|
+
{
|
|
8801
|
+
type: "function",
|
|
8802
|
+
inputs: [],
|
|
8803
|
+
name: "contractVersion",
|
|
8804
|
+
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
8805
|
+
stateMutability: "pure"
|
|
8806
|
+
},
|
|
8807
|
+
{
|
|
8808
|
+
type: "function",
|
|
8809
|
+
inputs: [],
|
|
8810
|
+
name: "creatorCoinHook",
|
|
8811
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
8812
|
+
stateMutability: "view"
|
|
8813
|
+
},
|
|
8814
|
+
{
|
|
8815
|
+
type: "function",
|
|
8816
|
+
inputs: [],
|
|
8817
|
+
name: "creatorCoinImpl",
|
|
8818
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
8819
|
+
stateMutability: "view"
|
|
8820
|
+
},
|
|
8821
|
+
{
|
|
8822
|
+
type: "function",
|
|
8823
|
+
inputs: [
|
|
8824
|
+
{ name: "payoutRecipient", internalType: "address", type: "address" },
|
|
8825
|
+
{ name: "owners", internalType: "address[]", type: "address[]" },
|
|
8826
|
+
{ name: "uri", internalType: "string", type: "string" },
|
|
8827
|
+
{ name: "name", internalType: "string", type: "string" },
|
|
8828
|
+
{ name: "symbol", internalType: "string", type: "string" },
|
|
8829
|
+
{ name: "platformReferrer", internalType: "address", type: "address" },
|
|
8830
|
+
{ name: "currency", internalType: "address", type: "address" },
|
|
8831
|
+
{ name: "", internalType: "int24", type: "int24" },
|
|
8832
|
+
{ name: "", internalType: "uint256", type: "uint256" }
|
|
8833
|
+
],
|
|
8834
|
+
name: "deploy",
|
|
8835
|
+
outputs: [
|
|
8836
|
+
{ name: "", internalType: "address", type: "address" },
|
|
8837
|
+
{ name: "", internalType: "uint256", type: "uint256" }
|
|
8838
|
+
],
|
|
8839
|
+
stateMutability: "payable"
|
|
8840
|
+
},
|
|
8841
|
+
{
|
|
8842
|
+
type: "function",
|
|
8843
|
+
inputs: [
|
|
8844
|
+
{ name: "payoutRecipient", internalType: "address", type: "address" },
|
|
8845
|
+
{ name: "owners", internalType: "address[]", type: "address[]" },
|
|
8846
|
+
{ name: "uri", internalType: "string", type: "string" },
|
|
8847
|
+
{ name: "name", internalType: "string", type: "string" },
|
|
8848
|
+
{ name: "symbol", internalType: "string", type: "string" },
|
|
8849
|
+
{ name: "poolConfig", internalType: "bytes", type: "bytes" },
|
|
8850
|
+
{ name: "platformReferrer", internalType: "address", type: "address" },
|
|
8851
|
+
{ name: "postDeployHook", internalType: "address", type: "address" },
|
|
8852
|
+
{ name: "postDeployHookData", internalType: "bytes", type: "bytes" },
|
|
8853
|
+
{ name: "coinSalt", internalType: "bytes32", type: "bytes32" }
|
|
8854
|
+
],
|
|
8855
|
+
name: "deploy",
|
|
8856
|
+
outputs: [
|
|
8857
|
+
{ name: "coin", internalType: "address", type: "address" },
|
|
8858
|
+
{ name: "postDeployHookDataOut", internalType: "bytes", type: "bytes" }
|
|
8859
|
+
],
|
|
8860
|
+
stateMutability: "payable"
|
|
8861
|
+
},
|
|
8862
|
+
{
|
|
8863
|
+
type: "function",
|
|
8864
|
+
inputs: [
|
|
8865
|
+
{ name: "payoutRecipient", internalType: "address", type: "address" },
|
|
8866
|
+
{ name: "owners", internalType: "address[]", type: "address[]" },
|
|
8867
|
+
{ name: "uri", internalType: "string", type: "string" },
|
|
8868
|
+
{ name: "name", internalType: "string", type: "string" },
|
|
8869
|
+
{ name: "symbol", internalType: "string", type: "string" },
|
|
8870
|
+
{ name: "poolConfig", internalType: "bytes", type: "bytes" },
|
|
8871
|
+
{ name: "platformReferrer", internalType: "address", type: "address" },
|
|
8872
|
+
{ name: "", internalType: "uint256", type: "uint256" }
|
|
8873
|
+
],
|
|
8874
|
+
name: "deploy",
|
|
8875
|
+
outputs: [
|
|
8876
|
+
{ name: "", internalType: "address", type: "address" },
|
|
8877
|
+
{ name: "", internalType: "uint256", type: "uint256" }
|
|
8878
|
+
],
|
|
8879
|
+
stateMutability: "payable"
|
|
8880
|
+
},
|
|
8881
|
+
{
|
|
8882
|
+
type: "function",
|
|
8883
|
+
inputs: [
|
|
8884
|
+
{ name: "payoutRecipient", internalType: "address", type: "address" },
|
|
8885
|
+
{ name: "owners", internalType: "address[]", type: "address[]" },
|
|
8886
|
+
{ name: "uri", internalType: "string", type: "string" },
|
|
8887
|
+
{ name: "name", internalType: "string", type: "string" },
|
|
8888
|
+
{ name: "symbol", internalType: "string", type: "string" },
|
|
8889
|
+
{ name: "poolConfig", internalType: "bytes", type: "bytes" },
|
|
8890
|
+
{ name: "platformReferrer", internalType: "address", type: "address" },
|
|
8891
|
+
{ name: "coinSalt", internalType: "bytes32", type: "bytes32" }
|
|
8892
|
+
],
|
|
8893
|
+
name: "deployCreatorCoin",
|
|
8894
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
8895
|
+
stateMutability: "nonpayable"
|
|
8896
|
+
},
|
|
8897
|
+
{
|
|
8898
|
+
type: "function",
|
|
8899
|
+
inputs: [
|
|
8900
|
+
{ name: "payoutRecipient", internalType: "address", type: "address" },
|
|
8901
|
+
{ name: "owners", internalType: "address[]", type: "address[]" },
|
|
8902
|
+
{ name: "uri", internalType: "string", type: "string" },
|
|
8903
|
+
{ name: "name", internalType: "string", type: "string" },
|
|
8904
|
+
{ name: "symbol", internalType: "string", type: "string" },
|
|
8905
|
+
{ name: "poolConfig", internalType: "bytes", type: "bytes" },
|
|
8906
|
+
{ name: "platformReferrer", internalType: "address", type: "address" },
|
|
8907
|
+
{ name: "postDeployHook", internalType: "address", type: "address" },
|
|
8908
|
+
{ name: "postDeployHookData", internalType: "bytes", type: "bytes" },
|
|
8909
|
+
{ name: "coinSalt", internalType: "bytes32", type: "bytes32" }
|
|
8910
|
+
],
|
|
8911
|
+
name: "deployCreatorCoin",
|
|
8912
|
+
outputs: [
|
|
8913
|
+
{ name: "coin", internalType: "address", type: "address" },
|
|
8914
|
+
{ name: "postDeployHookDataOut", internalType: "bytes", type: "bytes" }
|
|
8915
|
+
],
|
|
8916
|
+
stateMutability: "payable"
|
|
8917
|
+
},
|
|
8918
|
+
{
|
|
8919
|
+
type: "function",
|
|
8920
|
+
inputs: [
|
|
8921
|
+
{ name: "payoutRecipient", internalType: "address", type: "address" },
|
|
8922
|
+
{ name: "owners", internalType: "address[]", type: "address[]" },
|
|
8923
|
+
{ name: "uri", internalType: "string", type: "string" },
|
|
8924
|
+
{ name: "name", internalType: "string", type: "string" },
|
|
8925
|
+
{ name: "symbol", internalType: "string", type: "string" },
|
|
8926
|
+
{ name: "poolConfig", internalType: "bytes", type: "bytes" },
|
|
8927
|
+
{ name: "platformReferrer", internalType: "address", type: "address" },
|
|
8928
|
+
{ name: "deployHook", internalType: "address", type: "address" },
|
|
8929
|
+
{ name: "hookData", internalType: "bytes", type: "bytes" }
|
|
8930
|
+
],
|
|
8931
|
+
name: "deployWithHook",
|
|
8932
|
+
outputs: [
|
|
8933
|
+
{ name: "coin", internalType: "address", type: "address" },
|
|
8934
|
+
{ name: "hookDataOut", internalType: "bytes", type: "bytes" }
|
|
8935
|
+
],
|
|
8936
|
+
stateMutability: "payable"
|
|
8937
|
+
},
|
|
8938
|
+
{
|
|
8939
|
+
type: "function",
|
|
8940
|
+
inputs: [{ name: "coin", internalType: "address", type: "address" }],
|
|
8941
|
+
name: "getVersionForDeployedCoin",
|
|
8942
|
+
outputs: [{ name: "", internalType: "uint8", type: "uint8" }],
|
|
8943
|
+
stateMutability: "view"
|
|
8944
|
+
},
|
|
8945
|
+
{
|
|
8946
|
+
type: "function",
|
|
8947
|
+
inputs: [],
|
|
8948
|
+
name: "hook",
|
|
8949
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
8950
|
+
stateMutability: "view"
|
|
8951
|
+
},
|
|
8952
|
+
{
|
|
8953
|
+
type: "function",
|
|
8954
|
+
inputs: [],
|
|
8955
|
+
name: "implementation",
|
|
8956
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
8957
|
+
stateMutability: "view"
|
|
8958
|
+
},
|
|
8959
|
+
{
|
|
8960
|
+
type: "function",
|
|
8961
|
+
inputs: [
|
|
8962
|
+
{ name: "initialOwner", internalType: "address", type: "address" }
|
|
8963
|
+
],
|
|
8964
|
+
name: "initialize",
|
|
8965
|
+
outputs: [],
|
|
8966
|
+
stateMutability: "nonpayable"
|
|
8967
|
+
},
|
|
8968
|
+
{
|
|
8969
|
+
type: "function",
|
|
8970
|
+
inputs: [],
|
|
8971
|
+
name: "owner",
|
|
8972
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
8973
|
+
stateMutability: "view"
|
|
8974
|
+
},
|
|
8975
|
+
{
|
|
8976
|
+
type: "function",
|
|
8977
|
+
inputs: [],
|
|
8978
|
+
name: "pendingOwner",
|
|
8979
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
8980
|
+
stateMutability: "view"
|
|
8981
|
+
},
|
|
8982
|
+
{
|
|
8983
|
+
type: "function",
|
|
8984
|
+
inputs: [],
|
|
8985
|
+
name: "proxiableUUID",
|
|
8986
|
+
outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
|
|
8987
|
+
stateMutability: "view"
|
|
8988
|
+
},
|
|
8989
|
+
{
|
|
8990
|
+
type: "function",
|
|
8991
|
+
inputs: [],
|
|
8992
|
+
name: "renounceOwnership",
|
|
8993
|
+
outputs: [],
|
|
8994
|
+
stateMutability: "nonpayable"
|
|
8995
|
+
},
|
|
8996
|
+
{
|
|
8997
|
+
type: "function",
|
|
8998
|
+
inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
|
|
8999
|
+
name: "transferOwnership",
|
|
9000
|
+
outputs: [],
|
|
9001
|
+
stateMutability: "nonpayable"
|
|
9002
|
+
},
|
|
9003
|
+
{
|
|
9004
|
+
type: "function",
|
|
9005
|
+
inputs: [
|
|
9006
|
+
{ name: "newImplementation", internalType: "address", type: "address" },
|
|
9007
|
+
{ name: "data", internalType: "bytes", type: "bytes" }
|
|
9008
|
+
],
|
|
9009
|
+
name: "upgradeToAndCall",
|
|
9010
|
+
outputs: [],
|
|
9011
|
+
stateMutability: "payable"
|
|
9012
|
+
},
|
|
9013
|
+
{
|
|
9014
|
+
type: "function",
|
|
9015
|
+
inputs: [],
|
|
9016
|
+
name: "zoraHookRegistry",
|
|
9017
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
9018
|
+
stateMutability: "view"
|
|
9019
|
+
},
|
|
9020
|
+
{
|
|
9021
|
+
type: "event",
|
|
9022
|
+
anonymous: false,
|
|
9023
|
+
inputs: [
|
|
9024
|
+
{
|
|
9025
|
+
name: "caller",
|
|
9026
|
+
internalType: "address",
|
|
9027
|
+
type: "address",
|
|
9028
|
+
indexed: true
|
|
9029
|
+
},
|
|
9030
|
+
{
|
|
9031
|
+
name: "payoutRecipient",
|
|
9032
|
+
internalType: "address",
|
|
9033
|
+
type: "address",
|
|
9034
|
+
indexed: true
|
|
9035
|
+
},
|
|
9036
|
+
{
|
|
9037
|
+
name: "platformReferrer",
|
|
9038
|
+
internalType: "address",
|
|
9039
|
+
type: "address",
|
|
9040
|
+
indexed: true
|
|
9041
|
+
},
|
|
9042
|
+
{
|
|
9043
|
+
name: "currency",
|
|
9044
|
+
internalType: "address",
|
|
9045
|
+
type: "address",
|
|
9046
|
+
indexed: false
|
|
9047
|
+
},
|
|
9048
|
+
{ name: "uri", internalType: "string", type: "string", indexed: false },
|
|
9049
|
+
{ name: "name", internalType: "string", type: "string", indexed: false },
|
|
9050
|
+
{
|
|
9051
|
+
name: "symbol",
|
|
9052
|
+
internalType: "string",
|
|
9053
|
+
type: "string",
|
|
9054
|
+
indexed: false
|
|
9055
|
+
},
|
|
9056
|
+
{
|
|
9057
|
+
name: "coin",
|
|
9058
|
+
internalType: "address",
|
|
9059
|
+
type: "address",
|
|
9060
|
+
indexed: false
|
|
9061
|
+
},
|
|
9062
|
+
{
|
|
9063
|
+
name: "pool",
|
|
9064
|
+
internalType: "address",
|
|
9065
|
+
type: "address",
|
|
9066
|
+
indexed: false
|
|
9067
|
+
},
|
|
9068
|
+
{
|
|
9069
|
+
name: "version",
|
|
9070
|
+
internalType: "string",
|
|
9071
|
+
type: "string",
|
|
9072
|
+
indexed: false
|
|
9073
|
+
}
|
|
9074
|
+
],
|
|
9075
|
+
name: "CoinCreated"
|
|
9076
|
+
},
|
|
9077
|
+
{
|
|
9078
|
+
type: "event",
|
|
9079
|
+
anonymous: false,
|
|
9080
|
+
inputs: [
|
|
9081
|
+
{
|
|
9082
|
+
name: "caller",
|
|
9083
|
+
internalType: "address",
|
|
9084
|
+
type: "address",
|
|
9085
|
+
indexed: true
|
|
9086
|
+
},
|
|
9087
|
+
{
|
|
9088
|
+
name: "payoutRecipient",
|
|
9089
|
+
internalType: "address",
|
|
9090
|
+
type: "address",
|
|
9091
|
+
indexed: true
|
|
9092
|
+
},
|
|
9093
|
+
{
|
|
9094
|
+
name: "platformReferrer",
|
|
9095
|
+
internalType: "address",
|
|
9096
|
+
type: "address",
|
|
9097
|
+
indexed: true
|
|
9098
|
+
},
|
|
9099
|
+
{
|
|
9100
|
+
name: "currency",
|
|
9101
|
+
internalType: "address",
|
|
9102
|
+
type: "address",
|
|
9103
|
+
indexed: false
|
|
9104
|
+
},
|
|
9105
|
+
{ name: "uri", internalType: "string", type: "string", indexed: false },
|
|
9106
|
+
{ name: "name", internalType: "string", type: "string", indexed: false },
|
|
9107
|
+
{
|
|
9108
|
+
name: "symbol",
|
|
9109
|
+
internalType: "string",
|
|
9110
|
+
type: "string",
|
|
9111
|
+
indexed: false
|
|
9112
|
+
},
|
|
9113
|
+
{
|
|
9114
|
+
name: "coin",
|
|
9115
|
+
internalType: "address",
|
|
9116
|
+
type: "address",
|
|
9117
|
+
indexed: false
|
|
9118
|
+
},
|
|
9119
|
+
{
|
|
9120
|
+
name: "poolKey",
|
|
9121
|
+
internalType: "struct PoolKey",
|
|
9122
|
+
type: "tuple",
|
|
9123
|
+
components: [
|
|
9124
|
+
{ name: "currency0", internalType: "Currency", type: "address" },
|
|
9125
|
+
{ name: "currency1", internalType: "Currency", type: "address" },
|
|
9126
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
9127
|
+
{ name: "tickSpacing", internalType: "int24", type: "int24" },
|
|
9128
|
+
{ name: "hooks", internalType: "contract IHooks", type: "address" }
|
|
9129
|
+
],
|
|
9130
|
+
indexed: false
|
|
9131
|
+
},
|
|
9132
|
+
{
|
|
9133
|
+
name: "poolKeyHash",
|
|
9134
|
+
internalType: "bytes32",
|
|
9135
|
+
type: "bytes32",
|
|
9136
|
+
indexed: false
|
|
9137
|
+
},
|
|
9138
|
+
{
|
|
9139
|
+
name: "version",
|
|
9140
|
+
internalType: "string",
|
|
9141
|
+
type: "string",
|
|
9142
|
+
indexed: false
|
|
9143
|
+
}
|
|
9144
|
+
],
|
|
9145
|
+
name: "CoinCreatedV4"
|
|
9146
|
+
},
|
|
9147
|
+
{
|
|
9148
|
+
type: "event",
|
|
9149
|
+
anonymous: false,
|
|
9150
|
+
inputs: [
|
|
9151
|
+
{
|
|
9152
|
+
name: "caller",
|
|
9153
|
+
internalType: "address",
|
|
9154
|
+
type: "address",
|
|
9155
|
+
indexed: true
|
|
9156
|
+
},
|
|
9157
|
+
{
|
|
9158
|
+
name: "payoutRecipient",
|
|
9159
|
+
internalType: "address",
|
|
9160
|
+
type: "address",
|
|
9161
|
+
indexed: true
|
|
9162
|
+
},
|
|
9163
|
+
{
|
|
9164
|
+
name: "platformReferrer",
|
|
9165
|
+
internalType: "address",
|
|
9166
|
+
type: "address",
|
|
9167
|
+
indexed: true
|
|
9168
|
+
},
|
|
9169
|
+
{
|
|
9170
|
+
name: "currency",
|
|
9171
|
+
internalType: "address",
|
|
9172
|
+
type: "address",
|
|
9173
|
+
indexed: false
|
|
9174
|
+
},
|
|
9175
|
+
{ name: "uri", internalType: "string", type: "string", indexed: false },
|
|
9176
|
+
{ name: "name", internalType: "string", type: "string", indexed: false },
|
|
9177
|
+
{
|
|
9178
|
+
name: "symbol",
|
|
9179
|
+
internalType: "string",
|
|
9180
|
+
type: "string",
|
|
9181
|
+
indexed: false
|
|
9182
|
+
},
|
|
9183
|
+
{
|
|
9184
|
+
name: "coin",
|
|
9185
|
+
internalType: "address",
|
|
9186
|
+
type: "address",
|
|
9187
|
+
indexed: false
|
|
9188
|
+
},
|
|
9189
|
+
{
|
|
9190
|
+
name: "poolKey",
|
|
9191
|
+
internalType: "struct PoolKey",
|
|
9192
|
+
type: "tuple",
|
|
9193
|
+
components: [
|
|
9194
|
+
{ name: "currency0", internalType: "Currency", type: "address" },
|
|
9195
|
+
{ name: "currency1", internalType: "Currency", type: "address" },
|
|
9196
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
9197
|
+
{ name: "tickSpacing", internalType: "int24", type: "int24" },
|
|
9198
|
+
{ name: "hooks", internalType: "contract IHooks", type: "address" }
|
|
9199
|
+
],
|
|
9200
|
+
indexed: false
|
|
9201
|
+
},
|
|
9202
|
+
{
|
|
9203
|
+
name: "poolKeyHash",
|
|
9204
|
+
internalType: "bytes32",
|
|
9205
|
+
type: "bytes32",
|
|
9206
|
+
indexed: false
|
|
9207
|
+
},
|
|
9208
|
+
{
|
|
9209
|
+
name: "version",
|
|
9210
|
+
internalType: "string",
|
|
9211
|
+
type: "string",
|
|
9212
|
+
indexed: false
|
|
9213
|
+
}
|
|
9214
|
+
],
|
|
9215
|
+
name: "CreatorCoinCreated"
|
|
9216
|
+
},
|
|
9217
|
+
{
|
|
9218
|
+
type: "event",
|
|
9219
|
+
anonymous: false,
|
|
9220
|
+
inputs: [
|
|
9221
|
+
{
|
|
9222
|
+
name: "version",
|
|
9223
|
+
internalType: "uint64",
|
|
9224
|
+
type: "uint64",
|
|
9225
|
+
indexed: false
|
|
9226
|
+
}
|
|
9227
|
+
],
|
|
9228
|
+
name: "Initialized"
|
|
9229
|
+
},
|
|
9230
|
+
{
|
|
9231
|
+
type: "event",
|
|
9232
|
+
anonymous: false,
|
|
9233
|
+
inputs: [
|
|
9234
|
+
{
|
|
9235
|
+
name: "previousOwner",
|
|
9236
|
+
internalType: "address",
|
|
9237
|
+
type: "address",
|
|
9238
|
+
indexed: true
|
|
9239
|
+
},
|
|
9240
|
+
{
|
|
9241
|
+
name: "newOwner",
|
|
9242
|
+
internalType: "address",
|
|
9243
|
+
type: "address",
|
|
9244
|
+
indexed: true
|
|
9245
|
+
}
|
|
9246
|
+
],
|
|
9247
|
+
name: "OwnershipTransferStarted"
|
|
9248
|
+
},
|
|
9249
|
+
{
|
|
9250
|
+
type: "event",
|
|
9251
|
+
anonymous: false,
|
|
9252
|
+
inputs: [
|
|
9253
|
+
{
|
|
9254
|
+
name: "previousOwner",
|
|
9255
|
+
internalType: "address",
|
|
9256
|
+
type: "address",
|
|
9257
|
+
indexed: true
|
|
9258
|
+
},
|
|
9259
|
+
{
|
|
9260
|
+
name: "newOwner",
|
|
9261
|
+
internalType: "address",
|
|
9262
|
+
type: "address",
|
|
9263
|
+
indexed: true
|
|
9264
|
+
}
|
|
9265
|
+
],
|
|
9266
|
+
name: "OwnershipTransferred"
|
|
9267
|
+
},
|
|
9268
|
+
{
|
|
9269
|
+
type: "event",
|
|
9270
|
+
anonymous: false,
|
|
9271
|
+
inputs: [
|
|
9272
|
+
{
|
|
9273
|
+
name: "implementation",
|
|
9274
|
+
internalType: "address",
|
|
9275
|
+
type: "address",
|
|
9276
|
+
indexed: true
|
|
9277
|
+
}
|
|
9278
|
+
],
|
|
9279
|
+
name: "Upgraded"
|
|
9280
|
+
},
|
|
9281
|
+
{
|
|
9282
|
+
type: "error",
|
|
9283
|
+
inputs: [{ name: "target", internalType: "address", type: "address" }],
|
|
9284
|
+
name: "AddressEmptyCode"
|
|
9285
|
+
},
|
|
9286
|
+
{ type: "error", inputs: [], name: "ArrayLengthMismatch" },
|
|
9287
|
+
{ type: "error", inputs: [], name: "ConfigTickLowerMustBeLessThanTickUpper" },
|
|
9288
|
+
{ type: "error", inputs: [], name: "Deprecated" },
|
|
9289
|
+
{
|
|
9290
|
+
type: "error",
|
|
9291
|
+
inputs: [
|
|
9292
|
+
{ name: "implementation", internalType: "address", type: "address" }
|
|
9293
|
+
],
|
|
9294
|
+
name: "ERC1967InvalidImplementation"
|
|
9295
|
+
},
|
|
9296
|
+
{ type: "error", inputs: [], name: "ERC1967NonPayable" },
|
|
9297
|
+
{ type: "error", inputs: [], name: "EthTransferInvalid" },
|
|
9298
|
+
{ type: "error", inputs: [], name: "FailedCall" },
|
|
9299
|
+
{ type: "error", inputs: [], name: "FailedDeployment" },
|
|
9300
|
+
{
|
|
9301
|
+
type: "error",
|
|
9302
|
+
inputs: [
|
|
9303
|
+
{ name: "balance", internalType: "uint256", type: "uint256" },
|
|
9304
|
+
{ name: "needed", internalType: "uint256", type: "uint256" }
|
|
9305
|
+
],
|
|
9306
|
+
name: "InsufficientBalance"
|
|
9307
|
+
},
|
|
9308
|
+
{ type: "error", inputs: [], name: "InvalidConfig" },
|
|
9309
|
+
{ type: "error", inputs: [], name: "InvalidHook" },
|
|
9310
|
+
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
9311
|
+
{ type: "error", inputs: [], name: "InvalidPoolVersion" },
|
|
9312
|
+
{
|
|
9313
|
+
type: "error",
|
|
9314
|
+
inputs: [
|
|
9315
|
+
{ name: "tickLower", internalType: "int24", type: "int24" },
|
|
9316
|
+
{ name: "tickUpper", internalType: "int24", type: "int24" }
|
|
9317
|
+
],
|
|
9318
|
+
name: "InvalidTickRangeMisordered"
|
|
9319
|
+
},
|
|
9320
|
+
{
|
|
9321
|
+
type: "error",
|
|
9322
|
+
inputs: [
|
|
9323
|
+
{ name: "value", internalType: "uint256", type: "uint256" },
|
|
9324
|
+
{ name: "limit", internalType: "uint256", type: "uint256" }
|
|
9325
|
+
],
|
|
9326
|
+
name: "MaxShareToBeSoldExceeded"
|
|
9327
|
+
},
|
|
9328
|
+
{ type: "error", inputs: [], name: "NotInitializing" },
|
|
9329
|
+
{ type: "error", inputs: [], name: "NumDiscoveryPositionsOutOfRange" },
|
|
9330
|
+
{
|
|
9331
|
+
type: "error",
|
|
9332
|
+
inputs: [{ name: "owner", internalType: "address", type: "address" }],
|
|
9333
|
+
name: "OwnableInvalidOwner"
|
|
9334
|
+
},
|
|
9335
|
+
{
|
|
9336
|
+
type: "error",
|
|
9337
|
+
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
9338
|
+
name: "OwnableUnauthorizedAccount"
|
|
9339
|
+
},
|
|
9340
|
+
{ type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
|
|
9341
|
+
{ type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
|
|
9342
|
+
{
|
|
9343
|
+
type: "error",
|
|
9344
|
+
inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
|
|
9345
|
+
name: "UUPSUnsupportedProxiableUUID"
|
|
9346
|
+
},
|
|
9347
|
+
{
|
|
9348
|
+
type: "error",
|
|
9349
|
+
inputs: [
|
|
9350
|
+
{ name: "currentName", internalType: "string", type: "string" },
|
|
9351
|
+
{ name: "newName", internalType: "string", type: "string" }
|
|
9352
|
+
],
|
|
9353
|
+
name: "UpgradeToMismatchedContractName"
|
|
9354
|
+
},
|
|
9355
|
+
{ type: "error", inputs: [], name: "ZeroDiscoveryPositions" },
|
|
9356
|
+
{ type: "error", inputs: [], name: "ZeroDiscoverySupplyShare" },
|
|
9357
|
+
{ type: "error", inputs: [], name: "AddressZero" },
|
|
9358
|
+
{ type: "error", inputs: [], name: "HookNotImplemented" },
|
|
9359
|
+
{
|
|
9360
|
+
type: "error",
|
|
9361
|
+
inputs: [
|
|
9362
|
+
{ name: "inputAmount", internalType: "uint256", type: "uint256" },
|
|
9363
|
+
{ name: "availableAmount", internalType: "uint256", type: "uint256" }
|
|
9364
|
+
],
|
|
9365
|
+
name: "InsufficientInputCurrency"
|
|
9366
|
+
},
|
|
9367
|
+
{ type: "error", inputs: [], name: "InsufficientOutputAmount" },
|
|
9368
|
+
{ type: "error", inputs: [], name: "NotFactory" },
|
|
9369
|
+
{ type: "error", inputs: [], name: "OnlyPoolManager" },
|
|
9370
|
+
{
|
|
9371
|
+
type: "error",
|
|
9372
|
+
inputs: [{ name: "token", internalType: "address", type: "address" }],
|
|
9373
|
+
name: "SafeERC20FailedOperation"
|
|
9374
|
+
},
|
|
9375
|
+
{ type: "error", inputs: [], name: "V3RouteDoesNotConnectToV4RouteStart" },
|
|
9376
|
+
{ type: "error", inputs: [], name: "AddressZero" },
|
|
9377
|
+
{ type: "error", inputs: [], name: "AlreadyOwner" },
|
|
9378
|
+
{ type: "error", inputs: [], name: "CannotMintZeroLiquidity" },
|
|
9379
|
+
{
|
|
9380
|
+
type: "error",
|
|
9381
|
+
inputs: [],
|
|
9382
|
+
name: "DopplerPoolMustHaveMoreThan2DiscoveryPositions"
|
|
9383
|
+
},
|
|
9384
|
+
{ type: "error", inputs: [], name: "ECDSAInvalidSignature" },
|
|
9385
|
+
{
|
|
9386
|
+
type: "error",
|
|
9387
|
+
inputs: [{ name: "length", internalType: "uint256", type: "uint256" }],
|
|
9388
|
+
name: "ECDSAInvalidSignatureLength"
|
|
9389
|
+
},
|
|
9390
|
+
{
|
|
9391
|
+
type: "error",
|
|
9392
|
+
inputs: [{ name: "s", internalType: "bytes32", type: "bytes32" }],
|
|
9393
|
+
name: "ECDSAInvalidSignatureS"
|
|
9394
|
+
},
|
|
9395
|
+
{
|
|
9396
|
+
type: "error",
|
|
9397
|
+
inputs: [
|
|
9398
|
+
{ name: "spender", internalType: "address", type: "address" },
|
|
9399
|
+
{ name: "allowance", internalType: "uint256", type: "uint256" },
|
|
9400
|
+
{ name: "needed", internalType: "uint256", type: "uint256" }
|
|
9401
|
+
],
|
|
9402
|
+
name: "ERC20InsufficientAllowance"
|
|
9403
|
+
},
|
|
9404
|
+
{
|
|
9405
|
+
type: "error",
|
|
9406
|
+
inputs: [
|
|
9407
|
+
{ name: "sender", internalType: "address", type: "address" },
|
|
9408
|
+
{ name: "balance", internalType: "uint256", type: "uint256" },
|
|
9409
|
+
{ name: "needed", internalType: "uint256", type: "uint256" }
|
|
9410
|
+
],
|
|
9411
|
+
name: "ERC20InsufficientBalance"
|
|
9412
|
+
},
|
|
9413
|
+
{
|
|
9414
|
+
type: "error",
|
|
9415
|
+
inputs: [{ name: "approver", internalType: "address", type: "address" }],
|
|
9416
|
+
name: "ERC20InvalidApprover"
|
|
9417
|
+
},
|
|
9418
|
+
{
|
|
9419
|
+
type: "error",
|
|
9420
|
+
inputs: [{ name: "receiver", internalType: "address", type: "address" }],
|
|
9421
|
+
name: "ERC20InvalidReceiver"
|
|
9422
|
+
},
|
|
9423
|
+
{
|
|
9424
|
+
type: "error",
|
|
9425
|
+
inputs: [{ name: "sender", internalType: "address", type: "address" }],
|
|
9426
|
+
name: "ERC20InvalidSender"
|
|
9427
|
+
},
|
|
9428
|
+
{
|
|
9429
|
+
type: "error",
|
|
9430
|
+
inputs: [{ name: "spender", internalType: "address", type: "address" }],
|
|
9431
|
+
name: "ERC20InvalidSpender"
|
|
9432
|
+
},
|
|
9433
|
+
{ type: "error", inputs: [], name: "ERC20TransferAmountMismatch" },
|
|
9434
|
+
{
|
|
9435
|
+
type: "error",
|
|
9436
|
+
inputs: [{ name: "deadline", internalType: "uint256", type: "uint256" }],
|
|
9437
|
+
name: "ERC2612ExpiredSignature"
|
|
9438
|
+
},
|
|
9439
|
+
{
|
|
9440
|
+
type: "error",
|
|
9441
|
+
inputs: [
|
|
9442
|
+
{ name: "signer", internalType: "address", type: "address" },
|
|
9443
|
+
{ name: "owner", internalType: "address", type: "address" }
|
|
9444
|
+
],
|
|
9445
|
+
name: "ERC2612InvalidSigner"
|
|
9446
|
+
},
|
|
9447
|
+
{ type: "error", inputs: [], name: "EthAmountMismatch" },
|
|
9448
|
+
{ type: "error", inputs: [], name: "EthAmountTooSmall" },
|
|
9449
|
+
{ type: "error", inputs: [], name: "EthTransferFailed" },
|
|
9450
|
+
{ type: "error", inputs: [], name: "EthTransferInvalid" },
|
|
9451
|
+
{ type: "error", inputs: [], name: "InitialOrderSizeTooLarge" },
|
|
9452
|
+
{ type: "error", inputs: [], name: "InsufficientFunds" },
|
|
9453
|
+
{ type: "error", inputs: [], name: "InsufficientLiquidity" },
|
|
9454
|
+
{
|
|
9455
|
+
type: "error",
|
|
9456
|
+
inputs: [
|
|
9457
|
+
{ name: "account", internalType: "address", type: "address" },
|
|
9458
|
+
{ name: "currentNonce", internalType: "uint256", type: "uint256" }
|
|
9459
|
+
],
|
|
9460
|
+
name: "InvalidAccountNonce"
|
|
9461
|
+
},
|
|
9462
|
+
{ type: "error", inputs: [], name: "InvalidCurrencyLowerTick" },
|
|
9463
|
+
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
9464
|
+
{ type: "error", inputs: [], name: "InvalidMarketType" },
|
|
9465
|
+
{ type: "error", inputs: [], name: "InvalidPoolVersion" },
|
|
9466
|
+
{
|
|
9467
|
+
type: "error",
|
|
9468
|
+
inputs: [
|
|
9469
|
+
{ name: "tickLower", internalType: "int24", type: "int24" },
|
|
9470
|
+
{ name: "tickUpper", internalType: "int24", type: "int24" }
|
|
9471
|
+
],
|
|
9472
|
+
name: "InvalidTickRangeMisordered"
|
|
9473
|
+
},
|
|
9474
|
+
{ type: "error", inputs: [], name: "InvalidWethLowerTick" },
|
|
9475
|
+
{ type: "error", inputs: [], name: "LegacyPoolMustHaveOneDiscoveryPosition" },
|
|
9476
|
+
{ type: "error", inputs: [], name: "MarketAlreadyGraduated" },
|
|
9477
|
+
{ type: "error", inputs: [], name: "MarketNotGraduated" },
|
|
9478
|
+
{
|
|
9479
|
+
type: "error",
|
|
9480
|
+
inputs: [
|
|
9481
|
+
{ name: "value", internalType: "uint256", type: "uint256" },
|
|
9482
|
+
{ name: "limit", internalType: "uint256", type: "uint256" }
|
|
9483
|
+
],
|
|
9484
|
+
name: "MaxShareToBeSoldExceeded"
|
|
9485
|
+
},
|
|
9486
|
+
{ type: "error", inputs: [], name: "NameIsRequired" },
|
|
9487
|
+
{ type: "error", inputs: [], name: "NotInitializing" },
|
|
9488
|
+
{ type: "error", inputs: [], name: "NotOwner" },
|
|
9489
|
+
{ type: "error", inputs: [], name: "NumDiscoveryPositionsOutOfRange" },
|
|
9490
|
+
{ type: "error", inputs: [], name: "OneOwnerRequired" },
|
|
9491
|
+
{ type: "error", inputs: [], name: "OnlyOwner" },
|
|
9492
|
+
{
|
|
9493
|
+
type: "error",
|
|
9494
|
+
inputs: [
|
|
9495
|
+
{ name: "sender", internalType: "address", type: "address" },
|
|
9496
|
+
{ name: "pool", internalType: "address", type: "address" }
|
|
9497
|
+
],
|
|
9498
|
+
name: "OnlyPool"
|
|
9499
|
+
},
|
|
9500
|
+
{ type: "error", inputs: [], name: "OnlyWeth" },
|
|
9501
|
+
{ type: "error", inputs: [], name: "OwnerCannotBeAddressZero" },
|
|
9502
|
+
{ type: "error", inputs: [], name: "SlippageBoundsExceeded" },
|
|
9503
|
+
{ type: "error", inputs: [], name: "UseRevokeOwnershipToRemoveSelf" },
|
|
9504
|
+
{ type: "error", inputs: [], name: "CoinVersionLookupCannotBeZeroAddress" },
|
|
9505
|
+
{ type: "error", inputs: [], name: "EthTransferFailed" },
|
|
9506
|
+
{ type: "error", inputs: [], name: "HookNotImplemented" },
|
|
9507
|
+
{
|
|
9508
|
+
type: "error",
|
|
9509
|
+
inputs: [{ name: "callbackId", internalType: "uint8", type: "uint8" }],
|
|
9510
|
+
name: "InvalidCallbackId"
|
|
9511
|
+
},
|
|
9512
|
+
{
|
|
9513
|
+
type: "error",
|
|
9514
|
+
inputs: [{ name: "newHook", internalType: "address", type: "address" }],
|
|
9515
|
+
name: "InvalidNewHook"
|
|
9516
|
+
},
|
|
9517
|
+
{
|
|
9518
|
+
type: "error",
|
|
9519
|
+
inputs: [
|
|
9520
|
+
{
|
|
9521
|
+
name: "key",
|
|
9522
|
+
internalType: "struct PoolKey",
|
|
9523
|
+
type: "tuple",
|
|
9524
|
+
components: [
|
|
9525
|
+
{ name: "currency0", internalType: "Currency", type: "address" },
|
|
9526
|
+
{ name: "currency1", internalType: "Currency", type: "address" },
|
|
9527
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
9528
|
+
{ name: "tickSpacing", internalType: "int24", type: "int24" },
|
|
9529
|
+
{ name: "hooks", internalType: "contract IHooks", type: "address" }
|
|
9530
|
+
]
|
|
9531
|
+
}
|
|
9532
|
+
],
|
|
9533
|
+
name: "NoCoinForHook"
|
|
9534
|
+
},
|
|
9535
|
+
{
|
|
9536
|
+
type: "error",
|
|
9537
|
+
inputs: [{ name: "coin", internalType: "address", type: "address" }],
|
|
9538
|
+
name: "NotACoin"
|
|
9539
|
+
},
|
|
9540
|
+
{ type: "error", inputs: [], name: "NotPoolManager" },
|
|
9541
|
+
{
|
|
9542
|
+
type: "error",
|
|
9543
|
+
inputs: [
|
|
9544
|
+
{ name: "caller", internalType: "address", type: "address" },
|
|
9545
|
+
{ name: "expectedCoin", internalType: "address", type: "address" }
|
|
9546
|
+
],
|
|
9547
|
+
name: "OnlyCoin"
|
|
9548
|
+
},
|
|
9549
|
+
{ type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
|
|
9550
|
+
{ type: "error", inputs: [], name: "SafeCastOverflow" },
|
|
9551
|
+
{
|
|
9552
|
+
type: "error",
|
|
9553
|
+
inputs: [{ name: "token", internalType: "address", type: "address" }],
|
|
9554
|
+
name: "SafeERC20FailedOperation"
|
|
9555
|
+
},
|
|
9556
|
+
{
|
|
9557
|
+
type: "error",
|
|
9558
|
+
inputs: [],
|
|
9559
|
+
name: "TrustedMsgSenderLookupCannotBeZeroAddress"
|
|
9560
|
+
},
|
|
9561
|
+
{ type: "error", inputs: [], name: "UpgradeGateCannotBeZeroAddress" },
|
|
9562
|
+
{
|
|
9563
|
+
type: "error",
|
|
9564
|
+
inputs: [
|
|
9565
|
+
{ name: "oldHook", internalType: "address", type: "address" },
|
|
9566
|
+
{ name: "newHook", internalType: "address", type: "address" }
|
|
9567
|
+
],
|
|
9568
|
+
name: "UpgradePathNotRegistered"
|
|
9569
|
+
},
|
|
9570
|
+
{ type: "error", inputs: [], name: "ZoraHookRegistryCannotBeZeroAddress" },
|
|
9571
|
+
{ type: "error", inputs: [], name: "ZoraLimitOrderBookCannotBeZeroAddress" },
|
|
9572
|
+
{ type: "error", inputs: [], name: "AddressZero" },
|
|
9573
|
+
{ type: "error", inputs: [], name: "ArrayLengthMismatch" },
|
|
9574
|
+
{ type: "error", inputs: [], name: "CallerNotPermitted" },
|
|
9575
|
+
{
|
|
9576
|
+
type: "error",
|
|
9577
|
+
inputs: [
|
|
9578
|
+
{ name: "orderId", internalType: "bytes32", type: "bytes32" },
|
|
9579
|
+
{ name: "expectedCoin", internalType: "address", type: "address" },
|
|
9580
|
+
{ name: "actualCoin", internalType: "address", type: "address" }
|
|
9581
|
+
],
|
|
9582
|
+
name: "CoinMismatch"
|
|
9583
|
+
},
|
|
9584
|
+
{ type: "error", inputs: [], name: "InsufficientForwardedFunds" },
|
|
9585
|
+
{ type: "error", inputs: [], name: "InsufficientTransferFunds" },
|
|
9586
|
+
{
|
|
9587
|
+
type: "error",
|
|
9588
|
+
inputs: [
|
|
9589
|
+
{ name: "startTick", internalType: "int24", type: "int24" },
|
|
9590
|
+
{ name: "endTick", internalType: "int24", type: "int24" },
|
|
9591
|
+
{ name: "isCurrency0", internalType: "bool", type: "bool" }
|
|
9592
|
+
],
|
|
9593
|
+
name: "InvalidFillWindow"
|
|
9594
|
+
},
|
|
9595
|
+
{ type: "error", inputs: [], name: "InvalidOrder" },
|
|
9596
|
+
{ type: "error", inputs: [], name: "InvalidPoolKey" },
|
|
9597
|
+
{ type: "error", inputs: [], name: "MaxFillCountCannotBeZero" },
|
|
9598
|
+
{
|
|
9599
|
+
type: "error",
|
|
9600
|
+
inputs: [
|
|
9601
|
+
{ name: "withdrawn", internalType: "uint256", type: "uint256" },
|
|
9602
|
+
{ name: "minAmountOut", internalType: "uint256", type: "uint256" }
|
|
9603
|
+
],
|
|
9604
|
+
name: "MinAmountNotReached"
|
|
9605
|
+
},
|
|
9606
|
+
{ type: "error", inputs: [], name: "NativeValueMismatch" },
|
|
9607
|
+
{ type: "error", inputs: [], name: "NotPoolManager" },
|
|
9608
|
+
{ type: "error", inputs: [], name: "OnlyZoraHook" },
|
|
9609
|
+
{ type: "error", inputs: [], name: "OrderClosed" },
|
|
9610
|
+
{ type: "error", inputs: [], name: "OrderFillable" },
|
|
9611
|
+
{ type: "error", inputs: [], name: "OrderNotMaker" },
|
|
9612
|
+
{
|
|
9613
|
+
type: "error",
|
|
9614
|
+
inputs: [{ name: "owner", internalType: "address", type: "address" }],
|
|
9615
|
+
name: "OwnableInvalidOwner"
|
|
9616
|
+
},
|
|
9617
|
+
{
|
|
9618
|
+
type: "error",
|
|
9619
|
+
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
9620
|
+
name: "OwnableUnauthorizedAccount"
|
|
9621
|
+
},
|
|
9622
|
+
{ type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
|
|
9623
|
+
{ type: "error", inputs: [], name: "PermittedCallersLengthMismatch" },
|
|
9624
|
+
{ type: "error", inputs: [], name: "RouterMsgSenderInvalid" },
|
|
9625
|
+
{ type: "error", inputs: [], name: "UnknownCallback" },
|
|
9626
|
+
{ type: "error", inputs: [], name: "UnlockedFillNotAllowed" },
|
|
9627
|
+
{ type: "error", inputs: [], name: "WethTransferFailed" },
|
|
9628
|
+
{ type: "error", inputs: [], name: "ZeroMaker" },
|
|
9629
|
+
{ type: "error", inputs: [], name: "ZeroOrderSize" },
|
|
9630
|
+
{ type: "error", inputs: [], name: "ZeroRealizedOrder" }
|
|
9631
|
+
];
|
|
9632
|
+
var devCoinFactoryAddress = {
|
|
9633
|
+
8453: "0xfAf4978830e099F0952eBabC89fEb0B18Ba771D8"
|
|
9634
|
+
};
|
|
9635
|
+
var devCoinFactoryConfig = {
|
|
9636
|
+
address: devCoinFactoryAddress,
|
|
9637
|
+
abi: devCoinFactoryABI
|
|
9638
|
+
};
|
|
9639
|
+
var devZoraLimitOrderBookABI = [
|
|
9640
|
+
{
|
|
9641
|
+
type: "constructor",
|
|
9642
|
+
inputs: [
|
|
9643
|
+
{ name: "poolManager_", internalType: "address", type: "address" },
|
|
9644
|
+
{
|
|
9645
|
+
name: "zoraCoinVersionLookup_",
|
|
9646
|
+
internalType: "address",
|
|
9647
|
+
type: "address"
|
|
9648
|
+
},
|
|
9649
|
+
{ name: "zoraHookRegistry_", internalType: "address", type: "address" },
|
|
9650
|
+
{ name: "owner_", internalType: "address", type: "address" },
|
|
9651
|
+
{ name: "weth_", internalType: "address", type: "address" }
|
|
9652
|
+
],
|
|
9653
|
+
stateMutability: "nonpayable"
|
|
9654
|
+
},
|
|
9655
|
+
{ type: "receive", stateMutability: "payable" },
|
|
9656
|
+
{
|
|
9657
|
+
type: "function",
|
|
9658
|
+
inputs: [],
|
|
9659
|
+
name: "acceptOwnership",
|
|
9660
|
+
outputs: [],
|
|
9661
|
+
stateMutability: "nonpayable"
|
|
9662
|
+
},
|
|
9663
|
+
{
|
|
9664
|
+
type: "function",
|
|
9665
|
+
inputs: [
|
|
9666
|
+
{ name: "maker", internalType: "address", type: "address" },
|
|
9667
|
+
{ name: "coin", internalType: "address", type: "address" }
|
|
9668
|
+
],
|
|
9669
|
+
name: "balanceOf",
|
|
9670
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
9671
|
+
stateMutability: "view"
|
|
9672
|
+
},
|
|
9673
|
+
{
|
|
9674
|
+
type: "function",
|
|
9675
|
+
inputs: [
|
|
9676
|
+
{
|
|
9677
|
+
name: "key",
|
|
9678
|
+
internalType: "struct PoolKey",
|
|
9679
|
+
type: "tuple",
|
|
9680
|
+
components: [
|
|
9681
|
+
{ name: "currency0", internalType: "Currency", type: "address" },
|
|
9682
|
+
{ name: "currency1", internalType: "Currency", type: "address" },
|
|
9683
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
9684
|
+
{ name: "tickSpacing", internalType: "int24", type: "int24" },
|
|
9685
|
+
{ name: "hooks", internalType: "contract IHooks", type: "address" }
|
|
9686
|
+
]
|
|
9687
|
+
},
|
|
9688
|
+
{ name: "isCurrency0", internalType: "bool", type: "bool" },
|
|
9689
|
+
{ name: "orderSizes", internalType: "uint256[]", type: "uint256[]" },
|
|
9690
|
+
{ name: "orderTicks", internalType: "int24[]", type: "int24[]" },
|
|
9691
|
+
{ name: "maker", internalType: "address", type: "address" }
|
|
9692
|
+
],
|
|
9693
|
+
name: "create",
|
|
9694
|
+
outputs: [{ name: "", internalType: "bytes32[]", type: "bytes32[]" }],
|
|
9695
|
+
stateMutability: "payable"
|
|
9696
|
+
},
|
|
9697
|
+
{
|
|
9698
|
+
type: "function",
|
|
9699
|
+
inputs: [
|
|
9700
|
+
{
|
|
9701
|
+
name: "key",
|
|
9702
|
+
internalType: "struct PoolKey",
|
|
9703
|
+
type: "tuple",
|
|
9704
|
+
components: [
|
|
9705
|
+
{ name: "currency0", internalType: "Currency", type: "address" },
|
|
9706
|
+
{ name: "currency1", internalType: "Currency", type: "address" },
|
|
9707
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
9708
|
+
{ name: "tickSpacing", internalType: "int24", type: "int24" },
|
|
9709
|
+
{ name: "hooks", internalType: "contract IHooks", type: "address" }
|
|
9710
|
+
]
|
|
9711
|
+
},
|
|
9712
|
+
{ name: "isCurrency0", internalType: "bool", type: "bool" },
|
|
9713
|
+
{ name: "startTick", internalType: "int24", type: "int24" },
|
|
9714
|
+
{ name: "endTick", internalType: "int24", type: "int24" },
|
|
9715
|
+
{ name: "maxFillCount", internalType: "uint256", type: "uint256" },
|
|
9716
|
+
{ name: "fillReferral", internalType: "address", type: "address" }
|
|
9717
|
+
],
|
|
9718
|
+
name: "fill",
|
|
9719
|
+
outputs: [],
|
|
9720
|
+
stateMutability: "nonpayable"
|
|
9721
|
+
},
|
|
9722
|
+
{
|
|
9723
|
+
type: "function",
|
|
9724
|
+
inputs: [
|
|
9725
|
+
{
|
|
9726
|
+
name: "batches",
|
|
9727
|
+
internalType: "struct IZoraLimitOrderBook.OrderBatch[]",
|
|
9728
|
+
type: "tuple[]",
|
|
9729
|
+
components: [
|
|
9730
|
+
{
|
|
9731
|
+
name: "key",
|
|
9732
|
+
internalType: "struct PoolKey",
|
|
9733
|
+
type: "tuple",
|
|
9734
|
+
components: [
|
|
9735
|
+
{ name: "currency0", internalType: "Currency", type: "address" },
|
|
9736
|
+
{ name: "currency1", internalType: "Currency", type: "address" },
|
|
9737
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
9738
|
+
{ name: "tickSpacing", internalType: "int24", type: "int24" },
|
|
9739
|
+
{
|
|
9740
|
+
name: "hooks",
|
|
9741
|
+
internalType: "contract IHooks",
|
|
9742
|
+
type: "address"
|
|
9743
|
+
}
|
|
9744
|
+
]
|
|
9745
|
+
},
|
|
9746
|
+
{ name: "isCurrency0", internalType: "bool", type: "bool" },
|
|
9747
|
+
{ name: "orderIds", internalType: "bytes32[]", type: "bytes32[]" }
|
|
9748
|
+
]
|
|
9749
|
+
},
|
|
9750
|
+
{ name: "fillReferral", internalType: "address", type: "address" }
|
|
9751
|
+
],
|
|
9752
|
+
name: "fill",
|
|
9753
|
+
outputs: [],
|
|
9754
|
+
stateMutability: "nonpayable"
|
|
9755
|
+
},
|
|
9756
|
+
{
|
|
9757
|
+
type: "function",
|
|
9758
|
+
inputs: [],
|
|
9759
|
+
name: "getMaxFillCount",
|
|
9760
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
9761
|
+
stateMutability: "view"
|
|
9762
|
+
},
|
|
9763
|
+
{
|
|
9764
|
+
type: "function",
|
|
9765
|
+
inputs: [{ name: "caller", internalType: "address", type: "address" }],
|
|
9766
|
+
name: "isPermittedCaller",
|
|
9767
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
9768
|
+
stateMutability: "view"
|
|
9769
|
+
},
|
|
9770
|
+
{
|
|
9771
|
+
type: "function",
|
|
9772
|
+
inputs: [],
|
|
9773
|
+
name: "owner",
|
|
9774
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
9775
|
+
stateMutability: "view"
|
|
9776
|
+
},
|
|
9777
|
+
{
|
|
9778
|
+
type: "function",
|
|
9779
|
+
inputs: [],
|
|
9780
|
+
name: "pendingOwner",
|
|
9781
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
9782
|
+
stateMutability: "view"
|
|
9783
|
+
},
|
|
9784
|
+
{
|
|
9785
|
+
type: "function",
|
|
9786
|
+
inputs: [],
|
|
9787
|
+
name: "poolManager",
|
|
9788
|
+
outputs: [
|
|
9789
|
+
{ name: "", internalType: "contract IPoolManager", type: "address" }
|
|
9790
|
+
],
|
|
9791
|
+
stateMutability: "view"
|
|
9792
|
+
},
|
|
9793
|
+
{
|
|
9794
|
+
type: "function",
|
|
9795
|
+
inputs: [],
|
|
9796
|
+
name: "renounceOwnership",
|
|
9797
|
+
outputs: [],
|
|
9798
|
+
stateMutability: "nonpayable"
|
|
9799
|
+
},
|
|
9800
|
+
{
|
|
9801
|
+
type: "function",
|
|
9802
|
+
inputs: [
|
|
9803
|
+
{ name: "maxFillCount", internalType: "uint256", type: "uint256" }
|
|
9804
|
+
],
|
|
9805
|
+
name: "setMaxFillCount",
|
|
9806
|
+
outputs: [],
|
|
9807
|
+
stateMutability: "nonpayable"
|
|
9808
|
+
},
|
|
9809
|
+
{
|
|
9810
|
+
type: "function",
|
|
9811
|
+
inputs: [
|
|
9812
|
+
{ name: "callers", internalType: "address[]", type: "address[]" },
|
|
9813
|
+
{ name: "permitted", internalType: "bool[]", type: "bool[]" }
|
|
9814
|
+
],
|
|
9815
|
+
name: "setPermittedCallers",
|
|
9816
|
+
outputs: [],
|
|
9817
|
+
stateMutability: "nonpayable"
|
|
9818
|
+
},
|
|
9819
|
+
{
|
|
9820
|
+
type: "function",
|
|
9821
|
+
inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
|
|
9822
|
+
name: "transferOwnership",
|
|
9823
|
+
outputs: [],
|
|
9824
|
+
stateMutability: "nonpayable"
|
|
9825
|
+
},
|
|
9826
|
+
{
|
|
9827
|
+
type: "function",
|
|
9828
|
+
inputs: [{ name: "data", internalType: "bytes", type: "bytes" }],
|
|
9829
|
+
name: "unlockCallback",
|
|
9830
|
+
outputs: [{ name: "", internalType: "bytes", type: "bytes" }],
|
|
9831
|
+
stateMutability: "nonpayable"
|
|
9832
|
+
},
|
|
9833
|
+
{
|
|
9834
|
+
type: "function",
|
|
9835
|
+
inputs: [],
|
|
9836
|
+
name: "weth",
|
|
9837
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
9838
|
+
stateMutability: "view"
|
|
9839
|
+
},
|
|
9840
|
+
{
|
|
9841
|
+
type: "function",
|
|
9842
|
+
inputs: [
|
|
9843
|
+
{ name: "orderIds", internalType: "bytes32[]", type: "bytes32[]" },
|
|
9844
|
+
{ name: "coin", internalType: "address", type: "address" },
|
|
9845
|
+
{ name: "minAmountOut", internalType: "uint256", type: "uint256" },
|
|
9846
|
+
{ name: "recipient", internalType: "address", type: "address" }
|
|
9847
|
+
],
|
|
9848
|
+
name: "withdraw",
|
|
9849
|
+
outputs: [],
|
|
9850
|
+
stateMutability: "nonpayable"
|
|
9851
|
+
},
|
|
9852
|
+
{
|
|
9853
|
+
type: "function",
|
|
9854
|
+
inputs: [],
|
|
9855
|
+
name: "zoraCoinVersionLookup",
|
|
9856
|
+
outputs: [
|
|
9857
|
+
{
|
|
9858
|
+
name: "",
|
|
9859
|
+
internalType: "contract IDeployedCoinVersionLookup",
|
|
9860
|
+
type: "address"
|
|
9861
|
+
}
|
|
9862
|
+
],
|
|
9863
|
+
stateMutability: "view"
|
|
9864
|
+
},
|
|
9865
|
+
{
|
|
9866
|
+
type: "function",
|
|
9867
|
+
inputs: [],
|
|
9868
|
+
name: "zoraHookRegistry",
|
|
9869
|
+
outputs: [
|
|
9870
|
+
{ name: "", internalType: "contract IZoraHookRegistry", type: "address" }
|
|
9871
|
+
],
|
|
9872
|
+
stateMutability: "view"
|
|
9873
|
+
},
|
|
9874
|
+
{
|
|
9875
|
+
type: "event",
|
|
9876
|
+
anonymous: false,
|
|
9877
|
+
inputs: [
|
|
9878
|
+
{
|
|
9879
|
+
name: "maker",
|
|
9880
|
+
internalType: "address",
|
|
9881
|
+
type: "address",
|
|
9882
|
+
indexed: true
|
|
9883
|
+
},
|
|
9884
|
+
{ name: "coin", internalType: "address", type: "address", indexed: true },
|
|
9885
|
+
{
|
|
9886
|
+
name: "poolKeyHash",
|
|
9887
|
+
internalType: "bytes32",
|
|
9888
|
+
type: "bytes32",
|
|
9889
|
+
indexed: false
|
|
9890
|
+
},
|
|
9891
|
+
{
|
|
9892
|
+
name: "isCurrency0",
|
|
9893
|
+
internalType: "bool",
|
|
9894
|
+
type: "bool",
|
|
9895
|
+
indexed: false
|
|
9896
|
+
},
|
|
9897
|
+
{
|
|
9898
|
+
name: "orderTick",
|
|
9899
|
+
internalType: "int24",
|
|
9900
|
+
type: "int24",
|
|
9901
|
+
indexed: false
|
|
9902
|
+
},
|
|
9903
|
+
{
|
|
9904
|
+
name: "currentTick",
|
|
9905
|
+
internalType: "int24",
|
|
9906
|
+
type: "int24",
|
|
9907
|
+
indexed: false
|
|
9908
|
+
},
|
|
9909
|
+
{
|
|
9910
|
+
name: "orderSize",
|
|
9911
|
+
internalType: "uint128",
|
|
9912
|
+
type: "uint128",
|
|
9913
|
+
indexed: false
|
|
9914
|
+
},
|
|
9915
|
+
{
|
|
9916
|
+
name: "orderId",
|
|
9917
|
+
internalType: "bytes32",
|
|
9918
|
+
type: "bytes32",
|
|
9919
|
+
indexed: false
|
|
9920
|
+
}
|
|
9921
|
+
],
|
|
9922
|
+
name: "LimitOrderCreated"
|
|
9923
|
+
},
|
|
9924
|
+
{
|
|
9925
|
+
type: "event",
|
|
9926
|
+
anonymous: false,
|
|
9927
|
+
inputs: [
|
|
9928
|
+
{
|
|
9929
|
+
name: "maker",
|
|
9930
|
+
internalType: "address",
|
|
9931
|
+
type: "address",
|
|
9932
|
+
indexed: true
|
|
9933
|
+
},
|
|
9934
|
+
{
|
|
9935
|
+
name: "coinIn",
|
|
9936
|
+
internalType: "address",
|
|
9937
|
+
type: "address",
|
|
9938
|
+
indexed: true
|
|
9939
|
+
},
|
|
9940
|
+
{
|
|
9941
|
+
name: "coinOut",
|
|
9942
|
+
internalType: "address",
|
|
9943
|
+
type: "address",
|
|
9944
|
+
indexed: false
|
|
9945
|
+
},
|
|
9946
|
+
{
|
|
9947
|
+
name: "amountIn",
|
|
9948
|
+
internalType: "uint128",
|
|
9949
|
+
type: "uint128",
|
|
9950
|
+
indexed: false
|
|
9951
|
+
},
|
|
9952
|
+
{
|
|
9953
|
+
name: "amountOut",
|
|
9954
|
+
internalType: "uint128",
|
|
9955
|
+
type: "uint128",
|
|
9956
|
+
indexed: false
|
|
9957
|
+
},
|
|
9958
|
+
{
|
|
9959
|
+
name: "fillReferral",
|
|
9960
|
+
internalType: "address",
|
|
9961
|
+
type: "address",
|
|
9962
|
+
indexed: false
|
|
9963
|
+
},
|
|
9964
|
+
{
|
|
9965
|
+
name: "fillReferralAmount",
|
|
9966
|
+
internalType: "uint128",
|
|
9967
|
+
type: "uint128",
|
|
9968
|
+
indexed: false
|
|
9969
|
+
},
|
|
9970
|
+
{
|
|
9971
|
+
name: "poolKeyHash",
|
|
9972
|
+
internalType: "bytes32",
|
|
9973
|
+
type: "bytes32",
|
|
9974
|
+
indexed: false
|
|
9975
|
+
},
|
|
9976
|
+
{ name: "tick", internalType: "int24", type: "int24", indexed: false },
|
|
9977
|
+
{
|
|
9978
|
+
name: "orderId",
|
|
9979
|
+
internalType: "bytes32",
|
|
9980
|
+
type: "bytes32",
|
|
9981
|
+
indexed: false
|
|
9982
|
+
}
|
|
9983
|
+
],
|
|
9984
|
+
name: "LimitOrderFilled"
|
|
9985
|
+
},
|
|
9986
|
+
{
|
|
9987
|
+
type: "event",
|
|
9988
|
+
anonymous: false,
|
|
9989
|
+
inputs: [
|
|
9990
|
+
{
|
|
9991
|
+
name: "maker",
|
|
9992
|
+
internalType: "address",
|
|
9993
|
+
type: "address",
|
|
9994
|
+
indexed: true
|
|
9995
|
+
},
|
|
9996
|
+
{ name: "coin", internalType: "address", type: "address", indexed: true },
|
|
9997
|
+
{
|
|
9998
|
+
name: "poolKeyHash",
|
|
9999
|
+
internalType: "bytes32",
|
|
10000
|
+
type: "bytes32",
|
|
10001
|
+
indexed: false
|
|
10002
|
+
},
|
|
10003
|
+
{
|
|
10004
|
+
name: "isCurrency0",
|
|
10005
|
+
internalType: "bool",
|
|
10006
|
+
type: "bool",
|
|
10007
|
+
indexed: false
|
|
10008
|
+
},
|
|
10009
|
+
{ name: "tick", internalType: "int24", type: "int24", indexed: false },
|
|
10010
|
+
{
|
|
10011
|
+
name: "orderSize",
|
|
10012
|
+
internalType: "uint128",
|
|
10013
|
+
type: "uint128",
|
|
10014
|
+
indexed: false
|
|
10015
|
+
},
|
|
10016
|
+
{
|
|
10017
|
+
name: "orderId",
|
|
10018
|
+
internalType: "bytes32",
|
|
10019
|
+
type: "bytes32",
|
|
10020
|
+
indexed: false
|
|
10021
|
+
},
|
|
10022
|
+
{
|
|
10023
|
+
name: "isCancelled",
|
|
10024
|
+
internalType: "bool",
|
|
10025
|
+
type: "bool",
|
|
10026
|
+
indexed: false
|
|
10027
|
+
}
|
|
10028
|
+
],
|
|
10029
|
+
name: "LimitOrderUpdated"
|
|
10030
|
+
},
|
|
10031
|
+
{
|
|
10032
|
+
type: "event",
|
|
10033
|
+
anonymous: false,
|
|
10034
|
+
inputs: [
|
|
10035
|
+
{
|
|
10036
|
+
name: "maker",
|
|
10037
|
+
internalType: "address",
|
|
10038
|
+
type: "address",
|
|
10039
|
+
indexed: true
|
|
10040
|
+
},
|
|
10041
|
+
{ name: "coin", internalType: "address", type: "address", indexed: true },
|
|
10042
|
+
{
|
|
10043
|
+
name: "newBalance",
|
|
10044
|
+
internalType: "uint256",
|
|
10045
|
+
type: "uint256",
|
|
10046
|
+
indexed: false
|
|
10047
|
+
}
|
|
10048
|
+
],
|
|
10049
|
+
name: "MakerBalanceUpdated"
|
|
10050
|
+
},
|
|
10051
|
+
{
|
|
10052
|
+
type: "event",
|
|
10053
|
+
anonymous: false,
|
|
10054
|
+
inputs: [
|
|
10055
|
+
{
|
|
10056
|
+
name: "previousOwner",
|
|
10057
|
+
internalType: "address",
|
|
10058
|
+
type: "address",
|
|
10059
|
+
indexed: true
|
|
10060
|
+
},
|
|
10061
|
+
{
|
|
10062
|
+
name: "newOwner",
|
|
10063
|
+
internalType: "address",
|
|
10064
|
+
type: "address",
|
|
10065
|
+
indexed: true
|
|
10066
|
+
}
|
|
10067
|
+
],
|
|
10068
|
+
name: "OwnershipTransferStarted"
|
|
10069
|
+
},
|
|
10070
|
+
{
|
|
10071
|
+
type: "event",
|
|
10072
|
+
anonymous: false,
|
|
10073
|
+
inputs: [
|
|
10074
|
+
{
|
|
10075
|
+
name: "previousOwner",
|
|
10076
|
+
internalType: "address",
|
|
10077
|
+
type: "address",
|
|
10078
|
+
indexed: true
|
|
10079
|
+
},
|
|
10080
|
+
{
|
|
10081
|
+
name: "newOwner",
|
|
10082
|
+
internalType: "address",
|
|
10083
|
+
type: "address",
|
|
10084
|
+
indexed: true
|
|
10085
|
+
}
|
|
10086
|
+
],
|
|
10087
|
+
name: "OwnershipTransferred"
|
|
10088
|
+
},
|
|
10089
|
+
{
|
|
10090
|
+
type: "event",
|
|
10091
|
+
anonymous: false,
|
|
10092
|
+
inputs: [
|
|
10093
|
+
{
|
|
10094
|
+
name: "caller",
|
|
10095
|
+
internalType: "address",
|
|
10096
|
+
type: "address",
|
|
10097
|
+
indexed: true
|
|
10098
|
+
},
|
|
10099
|
+
{ name: "permitted", internalType: "bool", type: "bool", indexed: false }
|
|
10100
|
+
],
|
|
10101
|
+
name: "PermittedCallerUpdated"
|
|
10102
|
+
},
|
|
10103
|
+
{ type: "error", inputs: [], name: "AddressZero" },
|
|
10104
|
+
{ type: "error", inputs: [], name: "ArrayLengthMismatch" },
|
|
10105
|
+
{ type: "error", inputs: [], name: "CallerNotPermitted" },
|
|
10106
|
+
{
|
|
10107
|
+
type: "error",
|
|
10108
|
+
inputs: [
|
|
10109
|
+
{ name: "orderId", internalType: "bytes32", type: "bytes32" },
|
|
10110
|
+
{ name: "expectedCoin", internalType: "address", type: "address" },
|
|
10111
|
+
{ name: "actualCoin", internalType: "address", type: "address" }
|
|
10112
|
+
],
|
|
10113
|
+
name: "CoinMismatch"
|
|
10114
|
+
},
|
|
10115
|
+
{ type: "error", inputs: [], name: "InsufficientForwardedFunds" },
|
|
10116
|
+
{ type: "error", inputs: [], name: "InsufficientTransferFunds" },
|
|
10117
|
+
{
|
|
10118
|
+
type: "error",
|
|
10119
|
+
inputs: [
|
|
10120
|
+
{ name: "startTick", internalType: "int24", type: "int24" },
|
|
10121
|
+
{ name: "endTick", internalType: "int24", type: "int24" },
|
|
10122
|
+
{ name: "isCurrency0", internalType: "bool", type: "bool" }
|
|
10123
|
+
],
|
|
10124
|
+
name: "InvalidFillWindow"
|
|
10125
|
+
},
|
|
10126
|
+
{ type: "error", inputs: [], name: "InvalidOrder" },
|
|
10127
|
+
{ type: "error", inputs: [], name: "InvalidPoolKey" },
|
|
10128
|
+
{ type: "error", inputs: [], name: "MaxFillCountCannotBeZero" },
|
|
10129
|
+
{
|
|
10130
|
+
type: "error",
|
|
10131
|
+
inputs: [
|
|
10132
|
+
{ name: "withdrawn", internalType: "uint256", type: "uint256" },
|
|
10133
|
+
{ name: "minAmountOut", internalType: "uint256", type: "uint256" }
|
|
10134
|
+
],
|
|
10135
|
+
name: "MinAmountNotReached"
|
|
10136
|
+
},
|
|
10137
|
+
{ type: "error", inputs: [], name: "NativeValueMismatch" },
|
|
10138
|
+
{ type: "error", inputs: [], name: "NotPoolManager" },
|
|
10139
|
+
{ type: "error", inputs: [], name: "OnlyZoraHook" },
|
|
10140
|
+
{ type: "error", inputs: [], name: "OrderClosed" },
|
|
10141
|
+
{ type: "error", inputs: [], name: "OrderFillable" },
|
|
10142
|
+
{ type: "error", inputs: [], name: "OrderNotMaker" },
|
|
10143
|
+
{
|
|
10144
|
+
type: "error",
|
|
10145
|
+
inputs: [{ name: "owner", internalType: "address", type: "address" }],
|
|
10146
|
+
name: "OwnableInvalidOwner"
|
|
10147
|
+
},
|
|
10148
|
+
{
|
|
10149
|
+
type: "error",
|
|
10150
|
+
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
10151
|
+
name: "OwnableUnauthorizedAccount"
|
|
10152
|
+
},
|
|
10153
|
+
{ type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
|
|
10154
|
+
{ type: "error", inputs: [], name: "PermittedCallersLengthMismatch" },
|
|
10155
|
+
{ type: "error", inputs: [], name: "RouterMsgSenderInvalid" },
|
|
10156
|
+
{ type: "error", inputs: [], name: "UnknownCallback" },
|
|
10157
|
+
{ type: "error", inputs: [], name: "UnlockedFillNotAllowed" },
|
|
10158
|
+
{ type: "error", inputs: [], name: "WethTransferFailed" },
|
|
10159
|
+
{ type: "error", inputs: [], name: "ZeroMaker" },
|
|
10160
|
+
{ type: "error", inputs: [], name: "ZeroOrderSize" },
|
|
10161
|
+
{ type: "error", inputs: [], name: "ZeroRealizedOrder" },
|
|
10162
|
+
{ type: "error", inputs: [], name: "AddressZero" },
|
|
10163
|
+
{ type: "error", inputs: [], name: "AlreadyOwner" },
|
|
10164
|
+
{ type: "error", inputs: [], name: "CannotMintZeroLiquidity" },
|
|
10165
|
+
{
|
|
10166
|
+
type: "error",
|
|
10167
|
+
inputs: [],
|
|
10168
|
+
name: "DopplerPoolMustHaveMoreThan2DiscoveryPositions"
|
|
10169
|
+
},
|
|
10170
|
+
{ type: "error", inputs: [], name: "ECDSAInvalidSignature" },
|
|
10171
|
+
{
|
|
10172
|
+
type: "error",
|
|
10173
|
+
inputs: [{ name: "length", internalType: "uint256", type: "uint256" }],
|
|
10174
|
+
name: "ECDSAInvalidSignatureLength"
|
|
10175
|
+
},
|
|
10176
|
+
{
|
|
10177
|
+
type: "error",
|
|
10178
|
+
inputs: [{ name: "s", internalType: "bytes32", type: "bytes32" }],
|
|
10179
|
+
name: "ECDSAInvalidSignatureS"
|
|
10180
|
+
},
|
|
10181
|
+
{
|
|
10182
|
+
type: "error",
|
|
10183
|
+
inputs: [
|
|
10184
|
+
{ name: "spender", internalType: "address", type: "address" },
|
|
10185
|
+
{ name: "allowance", internalType: "uint256", type: "uint256" },
|
|
10186
|
+
{ name: "needed", internalType: "uint256", type: "uint256" }
|
|
10187
|
+
],
|
|
10188
|
+
name: "ERC20InsufficientAllowance"
|
|
10189
|
+
},
|
|
10190
|
+
{
|
|
10191
|
+
type: "error",
|
|
10192
|
+
inputs: [
|
|
10193
|
+
{ name: "sender", internalType: "address", type: "address" },
|
|
10194
|
+
{ name: "balance", internalType: "uint256", type: "uint256" },
|
|
10195
|
+
{ name: "needed", internalType: "uint256", type: "uint256" }
|
|
10196
|
+
],
|
|
10197
|
+
name: "ERC20InsufficientBalance"
|
|
10198
|
+
},
|
|
10199
|
+
{
|
|
10200
|
+
type: "error",
|
|
10201
|
+
inputs: [{ name: "approver", internalType: "address", type: "address" }],
|
|
10202
|
+
name: "ERC20InvalidApprover"
|
|
10203
|
+
},
|
|
10204
|
+
{
|
|
10205
|
+
type: "error",
|
|
10206
|
+
inputs: [{ name: "receiver", internalType: "address", type: "address" }],
|
|
10207
|
+
name: "ERC20InvalidReceiver"
|
|
10208
|
+
},
|
|
10209
|
+
{
|
|
10210
|
+
type: "error",
|
|
10211
|
+
inputs: [{ name: "sender", internalType: "address", type: "address" }],
|
|
10212
|
+
name: "ERC20InvalidSender"
|
|
10213
|
+
},
|
|
10214
|
+
{
|
|
10215
|
+
type: "error",
|
|
10216
|
+
inputs: [{ name: "spender", internalType: "address", type: "address" }],
|
|
10217
|
+
name: "ERC20InvalidSpender"
|
|
10218
|
+
},
|
|
10219
|
+
{ type: "error", inputs: [], name: "ERC20TransferAmountMismatch" },
|
|
10220
|
+
{
|
|
10221
|
+
type: "error",
|
|
10222
|
+
inputs: [{ name: "deadline", internalType: "uint256", type: "uint256" }],
|
|
10223
|
+
name: "ERC2612ExpiredSignature"
|
|
10224
|
+
},
|
|
10225
|
+
{
|
|
10226
|
+
type: "error",
|
|
10227
|
+
inputs: [
|
|
10228
|
+
{ name: "signer", internalType: "address", type: "address" },
|
|
10229
|
+
{ name: "owner", internalType: "address", type: "address" }
|
|
10230
|
+
],
|
|
10231
|
+
name: "ERC2612InvalidSigner"
|
|
10232
|
+
},
|
|
10233
|
+
{ type: "error", inputs: [], name: "EthAmountMismatch" },
|
|
10234
|
+
{ type: "error", inputs: [], name: "EthAmountTooSmall" },
|
|
10235
|
+
{ type: "error", inputs: [], name: "EthTransferFailed" },
|
|
10236
|
+
{ type: "error", inputs: [], name: "EthTransferInvalid" },
|
|
10237
|
+
{ type: "error", inputs: [], name: "InitialOrderSizeTooLarge" },
|
|
10238
|
+
{ type: "error", inputs: [], name: "InsufficientFunds" },
|
|
10239
|
+
{ type: "error", inputs: [], name: "InsufficientLiquidity" },
|
|
10240
|
+
{
|
|
10241
|
+
type: "error",
|
|
10242
|
+
inputs: [
|
|
10243
|
+
{ name: "account", internalType: "address", type: "address" },
|
|
10244
|
+
{ name: "currentNonce", internalType: "uint256", type: "uint256" }
|
|
10245
|
+
],
|
|
10246
|
+
name: "InvalidAccountNonce"
|
|
10247
|
+
},
|
|
10248
|
+
{ type: "error", inputs: [], name: "InvalidCurrencyLowerTick" },
|
|
10249
|
+
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
10250
|
+
{ type: "error", inputs: [], name: "InvalidMarketType" },
|
|
10251
|
+
{ type: "error", inputs: [], name: "InvalidPoolVersion" },
|
|
10252
|
+
{
|
|
10253
|
+
type: "error",
|
|
10254
|
+
inputs: [
|
|
10255
|
+
{ name: "tickLower", internalType: "int24", type: "int24" },
|
|
10256
|
+
{ name: "tickUpper", internalType: "int24", type: "int24" }
|
|
10257
|
+
],
|
|
10258
|
+
name: "InvalidTickRangeMisordered"
|
|
10259
|
+
},
|
|
10260
|
+
{ type: "error", inputs: [], name: "InvalidWethLowerTick" },
|
|
10261
|
+
{ type: "error", inputs: [], name: "LegacyPoolMustHaveOneDiscoveryPosition" },
|
|
10262
|
+
{ type: "error", inputs: [], name: "MarketAlreadyGraduated" },
|
|
10263
|
+
{ type: "error", inputs: [], name: "MarketNotGraduated" },
|
|
10264
|
+
{
|
|
10265
|
+
type: "error",
|
|
10266
|
+
inputs: [
|
|
10267
|
+
{ name: "value", internalType: "uint256", type: "uint256" },
|
|
10268
|
+
{ name: "limit", internalType: "uint256", type: "uint256" }
|
|
10269
|
+
],
|
|
10270
|
+
name: "MaxShareToBeSoldExceeded"
|
|
10271
|
+
},
|
|
10272
|
+
{ type: "error", inputs: [], name: "NameIsRequired" },
|
|
10273
|
+
{ type: "error", inputs: [], name: "NotInitializing" },
|
|
10274
|
+
{ type: "error", inputs: [], name: "NotOwner" },
|
|
10275
|
+
{ type: "error", inputs: [], name: "NumDiscoveryPositionsOutOfRange" },
|
|
10276
|
+
{ type: "error", inputs: [], name: "OneOwnerRequired" },
|
|
10277
|
+
{ type: "error", inputs: [], name: "OnlyOwner" },
|
|
10278
|
+
{
|
|
10279
|
+
type: "error",
|
|
10280
|
+
inputs: [
|
|
10281
|
+
{ name: "sender", internalType: "address", type: "address" },
|
|
10282
|
+
{ name: "pool", internalType: "address", type: "address" }
|
|
10283
|
+
],
|
|
10284
|
+
name: "OnlyPool"
|
|
10285
|
+
},
|
|
10286
|
+
{ type: "error", inputs: [], name: "OnlyWeth" },
|
|
10287
|
+
{ type: "error", inputs: [], name: "OwnerCannotBeAddressZero" },
|
|
10288
|
+
{ type: "error", inputs: [], name: "SlippageBoundsExceeded" },
|
|
10289
|
+
{ type: "error", inputs: [], name: "UseRevokeOwnershipToRemoveSelf" },
|
|
10290
|
+
{ type: "error", inputs: [], name: "CoinVersionLookupCannotBeZeroAddress" },
|
|
10291
|
+
{ type: "error", inputs: [], name: "EthTransferFailed" },
|
|
10292
|
+
{ type: "error", inputs: [], name: "HookNotImplemented" },
|
|
10293
|
+
{
|
|
10294
|
+
type: "error",
|
|
10295
|
+
inputs: [{ name: "callbackId", internalType: "uint8", type: "uint8" }],
|
|
10296
|
+
name: "InvalidCallbackId"
|
|
10297
|
+
},
|
|
10298
|
+
{
|
|
10299
|
+
type: "error",
|
|
10300
|
+
inputs: [{ name: "newHook", internalType: "address", type: "address" }],
|
|
10301
|
+
name: "InvalidNewHook"
|
|
10302
|
+
},
|
|
10303
|
+
{
|
|
10304
|
+
type: "error",
|
|
10305
|
+
inputs: [
|
|
10306
|
+
{
|
|
10307
|
+
name: "key",
|
|
10308
|
+
internalType: "struct PoolKey",
|
|
10309
|
+
type: "tuple",
|
|
10310
|
+
components: [
|
|
10311
|
+
{ name: "currency0", internalType: "Currency", type: "address" },
|
|
10312
|
+
{ name: "currency1", internalType: "Currency", type: "address" },
|
|
10313
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
10314
|
+
{ name: "tickSpacing", internalType: "int24", type: "int24" },
|
|
10315
|
+
{ name: "hooks", internalType: "contract IHooks", type: "address" }
|
|
10316
|
+
]
|
|
10317
|
+
}
|
|
10318
|
+
],
|
|
10319
|
+
name: "NoCoinForHook"
|
|
10320
|
+
},
|
|
10321
|
+
{
|
|
10322
|
+
type: "error",
|
|
10323
|
+
inputs: [{ name: "coin", internalType: "address", type: "address" }],
|
|
10324
|
+
name: "NotACoin"
|
|
10325
|
+
},
|
|
10326
|
+
{ type: "error", inputs: [], name: "NotPoolManager" },
|
|
10327
|
+
{
|
|
10328
|
+
type: "error",
|
|
10329
|
+
inputs: [
|
|
10330
|
+
{ name: "caller", internalType: "address", type: "address" },
|
|
10331
|
+
{ name: "expectedCoin", internalType: "address", type: "address" }
|
|
10332
|
+
],
|
|
10333
|
+
name: "OnlyCoin"
|
|
10334
|
+
},
|
|
10335
|
+
{ type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
|
|
10336
|
+
{ type: "error", inputs: [], name: "SafeCastOverflow" },
|
|
10337
|
+
{
|
|
10338
|
+
type: "error",
|
|
10339
|
+
inputs: [{ name: "token", internalType: "address", type: "address" }],
|
|
10340
|
+
name: "SafeERC20FailedOperation"
|
|
10341
|
+
},
|
|
10342
|
+
{
|
|
10343
|
+
type: "error",
|
|
10344
|
+
inputs: [],
|
|
10345
|
+
name: "TrustedMsgSenderLookupCannotBeZeroAddress"
|
|
10346
|
+
},
|
|
10347
|
+
{ type: "error", inputs: [], name: "UpgradeGateCannotBeZeroAddress" },
|
|
10348
|
+
{
|
|
10349
|
+
type: "error",
|
|
10350
|
+
inputs: [
|
|
10351
|
+
{ name: "oldHook", internalType: "address", type: "address" },
|
|
10352
|
+
{ name: "newHook", internalType: "address", type: "address" }
|
|
10353
|
+
],
|
|
10354
|
+
name: "UpgradePathNotRegistered"
|
|
10355
|
+
},
|
|
10356
|
+
{ type: "error", inputs: [], name: "ZoraHookRegistryCannotBeZeroAddress" },
|
|
10357
|
+
{ type: "error", inputs: [], name: "ZoraLimitOrderBookCannotBeZeroAddress" }
|
|
10358
|
+
];
|
|
10359
|
+
var devZoraLimitOrderBookAddress = {
|
|
10360
|
+
8453: "0xE9443442e7b3c024e69c427D21580b9342450121"
|
|
10361
|
+
};
|
|
10362
|
+
var devZoraLimitOrderBookConfig = {
|
|
10363
|
+
address: devZoraLimitOrderBookAddress,
|
|
10364
|
+
abi: devZoraLimitOrderBookABI
|
|
10365
|
+
};
|
|
10366
|
+
var devZoraRouterABI = [
|
|
10367
|
+
{
|
|
10368
|
+
type: "constructor",
|
|
10369
|
+
inputs: [
|
|
10370
|
+
{
|
|
10371
|
+
name: "poolManager_",
|
|
10372
|
+
internalType: "contract IPoolManager",
|
|
10373
|
+
type: "address"
|
|
10374
|
+
},
|
|
10375
|
+
{
|
|
10376
|
+
name: "zoraLimitOrderBook_",
|
|
10377
|
+
internalType: "contract IZoraLimitOrderBook",
|
|
10378
|
+
type: "address"
|
|
10379
|
+
},
|
|
10380
|
+
{
|
|
10381
|
+
name: "swapRouter_",
|
|
10382
|
+
internalType: "contract ISwapRouter",
|
|
10383
|
+
type: "address"
|
|
10384
|
+
},
|
|
10385
|
+
{ name: "permit2_", internalType: "address", type: "address" },
|
|
10386
|
+
{ name: "owner_", internalType: "address", type: "address" }
|
|
10387
|
+
],
|
|
10388
|
+
stateMutability: "nonpayable"
|
|
10389
|
+
},
|
|
10390
|
+
{ type: "receive", stateMutability: "payable" },
|
|
10391
|
+
{
|
|
10392
|
+
type: "function",
|
|
10393
|
+
inputs: [],
|
|
10394
|
+
name: "acceptOwnership",
|
|
10395
|
+
outputs: [],
|
|
10396
|
+
stateMutability: "nonpayable"
|
|
10397
|
+
},
|
|
10398
|
+
{
|
|
10399
|
+
type: "function",
|
|
10400
|
+
inputs: [],
|
|
10401
|
+
name: "getLimitOrderConfig",
|
|
10402
|
+
outputs: [
|
|
10403
|
+
{
|
|
10404
|
+
name: "",
|
|
10405
|
+
internalType: "struct LimitOrderConfig",
|
|
10406
|
+
type: "tuple",
|
|
10407
|
+
components: [
|
|
10408
|
+
{ name: "multiples", internalType: "uint256[]", type: "uint256[]" },
|
|
10409
|
+
{ name: "percentages", internalType: "uint256[]", type: "uint256[]" }
|
|
10410
|
+
]
|
|
10411
|
+
}
|
|
10412
|
+
],
|
|
10413
|
+
stateMutability: "view"
|
|
10414
|
+
},
|
|
10415
|
+
{
|
|
10416
|
+
type: "function",
|
|
10417
|
+
inputs: [],
|
|
10418
|
+
name: "msgSender",
|
|
10419
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
10420
|
+
stateMutability: "view"
|
|
10421
|
+
},
|
|
10422
|
+
{
|
|
10423
|
+
type: "function",
|
|
10424
|
+
inputs: [],
|
|
10425
|
+
name: "owner",
|
|
10426
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
10427
|
+
stateMutability: "view"
|
|
10428
|
+
},
|
|
10429
|
+
{
|
|
10430
|
+
type: "function",
|
|
10431
|
+
inputs: [],
|
|
10432
|
+
name: "pendingOwner",
|
|
10433
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
10434
|
+
stateMutability: "view"
|
|
10435
|
+
},
|
|
10436
|
+
{
|
|
10437
|
+
type: "function",
|
|
10438
|
+
inputs: [],
|
|
10439
|
+
name: "poolManager",
|
|
10440
|
+
outputs: [
|
|
10441
|
+
{ name: "", internalType: "contract IPoolManager", type: "address" }
|
|
10442
|
+
],
|
|
10443
|
+
stateMutability: "view"
|
|
10444
|
+
},
|
|
10445
|
+
{
|
|
10446
|
+
type: "function",
|
|
10447
|
+
inputs: [],
|
|
10448
|
+
name: "renounceOwnership",
|
|
10449
|
+
outputs: [],
|
|
10450
|
+
stateMutability: "nonpayable"
|
|
10451
|
+
},
|
|
10452
|
+
{
|
|
10453
|
+
type: "function",
|
|
10454
|
+
inputs: [
|
|
10455
|
+
{
|
|
10456
|
+
name: "config",
|
|
10457
|
+
internalType: "struct LimitOrderConfig",
|
|
10458
|
+
type: "tuple",
|
|
10459
|
+
components: [
|
|
10460
|
+
{ name: "multiples", internalType: "uint256[]", type: "uint256[]" },
|
|
10461
|
+
{ name: "percentages", internalType: "uint256[]", type: "uint256[]" }
|
|
10462
|
+
]
|
|
10463
|
+
}
|
|
10464
|
+
],
|
|
10465
|
+
name: "setLimitOrderConfig",
|
|
10466
|
+
outputs: [],
|
|
10467
|
+
stateMutability: "nonpayable"
|
|
10468
|
+
},
|
|
10469
|
+
{
|
|
10470
|
+
type: "function",
|
|
10471
|
+
inputs: [],
|
|
10472
|
+
name: "swapRouter",
|
|
10473
|
+
outputs: [
|
|
10474
|
+
{ name: "", internalType: "contract ISwapRouter", type: "address" }
|
|
10475
|
+
],
|
|
10476
|
+
stateMutability: "view"
|
|
10477
|
+
},
|
|
10478
|
+
{
|
|
10479
|
+
type: "function",
|
|
10480
|
+
inputs: [
|
|
10481
|
+
{
|
|
10482
|
+
name: "params",
|
|
10483
|
+
internalType: "struct SwapWithLimitOrders.SwapWithLimitOrdersParams",
|
|
10484
|
+
type: "tuple",
|
|
10485
|
+
components: [
|
|
10486
|
+
{ name: "recipient", internalType: "address", type: "address" },
|
|
10487
|
+
{
|
|
10488
|
+
name: "limitOrderConfig",
|
|
10489
|
+
internalType: "struct LimitOrderConfig",
|
|
10490
|
+
type: "tuple",
|
|
10491
|
+
components: [
|
|
10492
|
+
{
|
|
10493
|
+
name: "multiples",
|
|
10494
|
+
internalType: "uint256[]",
|
|
10495
|
+
type: "uint256[]"
|
|
10496
|
+
},
|
|
10497
|
+
{
|
|
10498
|
+
name: "percentages",
|
|
10499
|
+
internalType: "uint256[]",
|
|
10500
|
+
type: "uint256[]"
|
|
10501
|
+
}
|
|
10502
|
+
]
|
|
10503
|
+
},
|
|
10504
|
+
{ name: "inputCurrency", internalType: "address", type: "address" },
|
|
10505
|
+
{ name: "inputAmount", internalType: "uint256", type: "uint256" },
|
|
10506
|
+
{ name: "v3Route", internalType: "bytes", type: "bytes" },
|
|
10507
|
+
{
|
|
10508
|
+
name: "v4Route",
|
|
10509
|
+
internalType: "struct PoolKey[]",
|
|
10510
|
+
type: "tuple[]",
|
|
10511
|
+
components: [
|
|
10512
|
+
{ name: "currency0", internalType: "Currency", type: "address" },
|
|
10513
|
+
{ name: "currency1", internalType: "Currency", type: "address" },
|
|
10514
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
10515
|
+
{ name: "tickSpacing", internalType: "int24", type: "int24" },
|
|
10516
|
+
{
|
|
10517
|
+
name: "hooks",
|
|
10518
|
+
internalType: "contract IHooks",
|
|
10519
|
+
type: "address"
|
|
10520
|
+
}
|
|
10521
|
+
]
|
|
10522
|
+
},
|
|
10523
|
+
{ name: "minAmountOut", internalType: "uint256", type: "uint256" }
|
|
10524
|
+
]
|
|
10525
|
+
}
|
|
10526
|
+
],
|
|
10527
|
+
name: "swapWithLimitOrders",
|
|
10528
|
+
outputs: [{ name: "delta", internalType: "BalanceDelta", type: "int256" }],
|
|
10529
|
+
stateMutability: "payable"
|
|
10530
|
+
},
|
|
10531
|
+
{
|
|
10532
|
+
type: "function",
|
|
10533
|
+
inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
|
|
10534
|
+
name: "transferOwnership",
|
|
10535
|
+
outputs: [],
|
|
10536
|
+
stateMutability: "nonpayable"
|
|
10537
|
+
},
|
|
10538
|
+
{
|
|
10539
|
+
type: "function",
|
|
10540
|
+
inputs: [{ name: "data", internalType: "bytes", type: "bytes" }],
|
|
10541
|
+
name: "unlockCallback",
|
|
10542
|
+
outputs: [{ name: "", internalType: "bytes", type: "bytes" }],
|
|
10543
|
+
stateMutability: "nonpayable"
|
|
10544
|
+
},
|
|
10545
|
+
{
|
|
10546
|
+
type: "function",
|
|
10547
|
+
inputs: [],
|
|
10548
|
+
name: "zoraLimitOrderBook",
|
|
10549
|
+
outputs: [
|
|
10550
|
+
{
|
|
10551
|
+
name: "",
|
|
10552
|
+
internalType: "contract IZoraLimitOrderBook",
|
|
10553
|
+
type: "address"
|
|
10554
|
+
}
|
|
10555
|
+
],
|
|
10556
|
+
stateMutability: "view"
|
|
10557
|
+
},
|
|
10558
|
+
{
|
|
10559
|
+
type: "event",
|
|
10560
|
+
anonymous: false,
|
|
10561
|
+
inputs: [
|
|
10562
|
+
{
|
|
10563
|
+
name: "multiples",
|
|
10564
|
+
internalType: "uint256[]",
|
|
10565
|
+
type: "uint256[]",
|
|
10566
|
+
indexed: false
|
|
10567
|
+
},
|
|
10568
|
+
{
|
|
10569
|
+
name: "percentages",
|
|
10570
|
+
internalType: "uint256[]",
|
|
10571
|
+
type: "uint256[]",
|
|
10572
|
+
indexed: false
|
|
10573
|
+
}
|
|
10574
|
+
],
|
|
10575
|
+
name: "LimitOrderConfigUpdated"
|
|
10576
|
+
},
|
|
10577
|
+
{
|
|
10578
|
+
type: "event",
|
|
10579
|
+
anonymous: false,
|
|
10580
|
+
inputs: [
|
|
10581
|
+
{
|
|
10582
|
+
name: "previousOwner",
|
|
10583
|
+
internalType: "address",
|
|
10584
|
+
type: "address",
|
|
10585
|
+
indexed: true
|
|
10586
|
+
},
|
|
10587
|
+
{
|
|
10588
|
+
name: "newOwner",
|
|
10589
|
+
internalType: "address",
|
|
10590
|
+
type: "address",
|
|
10591
|
+
indexed: true
|
|
10592
|
+
}
|
|
10593
|
+
],
|
|
10594
|
+
name: "OwnershipTransferStarted"
|
|
10595
|
+
},
|
|
10596
|
+
{
|
|
10597
|
+
type: "event",
|
|
10598
|
+
anonymous: false,
|
|
10599
|
+
inputs: [
|
|
10600
|
+
{
|
|
10601
|
+
name: "previousOwner",
|
|
10602
|
+
internalType: "address",
|
|
10603
|
+
type: "address",
|
|
10604
|
+
indexed: true
|
|
10605
|
+
},
|
|
10606
|
+
{
|
|
10607
|
+
name: "newOwner",
|
|
10608
|
+
internalType: "address",
|
|
10609
|
+
type: "address",
|
|
10610
|
+
indexed: true
|
|
10611
|
+
}
|
|
10612
|
+
],
|
|
10613
|
+
name: "OwnershipTransferred"
|
|
10614
|
+
},
|
|
10615
|
+
{
|
|
10616
|
+
type: "event",
|
|
10617
|
+
anonymous: false,
|
|
10618
|
+
inputs: [
|
|
10619
|
+
{
|
|
10620
|
+
name: "sender",
|
|
10621
|
+
internalType: "address",
|
|
10622
|
+
type: "address",
|
|
10623
|
+
indexed: true
|
|
10624
|
+
},
|
|
10625
|
+
{
|
|
10626
|
+
name: "recipient",
|
|
10627
|
+
internalType: "address",
|
|
10628
|
+
type: "address",
|
|
10629
|
+
indexed: true
|
|
10630
|
+
},
|
|
10631
|
+
{
|
|
10632
|
+
name: "poolKey",
|
|
10633
|
+
internalType: "struct PoolKey",
|
|
10634
|
+
type: "tuple",
|
|
10635
|
+
components: [
|
|
10636
|
+
{ name: "currency0", internalType: "Currency", type: "address" },
|
|
10637
|
+
{ name: "currency1", internalType: "Currency", type: "address" },
|
|
10638
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
10639
|
+
{ name: "tickSpacing", internalType: "int24", type: "int24" },
|
|
10640
|
+
{ name: "hooks", internalType: "contract IHooks", type: "address" }
|
|
10641
|
+
],
|
|
10642
|
+
indexed: false
|
|
10643
|
+
},
|
|
10644
|
+
{
|
|
10645
|
+
name: "tickBeforeSwap",
|
|
10646
|
+
internalType: "int24",
|
|
10647
|
+
type: "int24",
|
|
10648
|
+
indexed: false
|
|
10649
|
+
},
|
|
10650
|
+
{
|
|
10651
|
+
name: "tickAfterSwap",
|
|
10652
|
+
internalType: "int24",
|
|
10653
|
+
type: "int24",
|
|
10654
|
+
indexed: false
|
|
10655
|
+
},
|
|
10656
|
+
{
|
|
10657
|
+
name: "amount0",
|
|
10658
|
+
internalType: "int128",
|
|
10659
|
+
type: "int128",
|
|
10660
|
+
indexed: false
|
|
10661
|
+
},
|
|
10662
|
+
{
|
|
10663
|
+
name: "amount1",
|
|
10664
|
+
internalType: "int128",
|
|
10665
|
+
type: "int128",
|
|
10666
|
+
indexed: false
|
|
10667
|
+
},
|
|
10668
|
+
{
|
|
10669
|
+
name: "sqrtPriceX96",
|
|
10670
|
+
internalType: "uint160",
|
|
10671
|
+
type: "uint160",
|
|
10672
|
+
indexed: false
|
|
10673
|
+
},
|
|
10674
|
+
{
|
|
10675
|
+
name: "orders",
|
|
10676
|
+
internalType: "struct SwapWithLimitOrders.CreatedOrder[]",
|
|
10677
|
+
type: "tuple[]",
|
|
10678
|
+
components: [
|
|
10679
|
+
{ name: "orderId", internalType: "bytes32", type: "bytes32" },
|
|
10680
|
+
{ name: "multiple", internalType: "uint256", type: "uint256" },
|
|
10681
|
+
{ name: "percentage", internalType: "uint256", type: "uint256" }
|
|
10682
|
+
],
|
|
10683
|
+
indexed: false
|
|
10684
|
+
}
|
|
10685
|
+
],
|
|
10686
|
+
name: "SwapWithLimitOrdersExecuted"
|
|
10687
|
+
},
|
|
10688
|
+
{ type: "error", inputs: [], name: "EmptyV4Route" },
|
|
10689
|
+
{
|
|
10690
|
+
type: "error",
|
|
10691
|
+
inputs: [
|
|
10692
|
+
{ name: "inputAmount", internalType: "uint256", type: "uint256" },
|
|
10693
|
+
{ name: "availableAmount", internalType: "uint256", type: "uint256" }
|
|
10694
|
+
],
|
|
10695
|
+
name: "InsufficientInputCurrency"
|
|
10696
|
+
},
|
|
10697
|
+
{ type: "error", inputs: [], name: "InsufficientOutputAmount" },
|
|
10698
|
+
{ type: "error", inputs: [], name: "InsufficientTransferFunds" },
|
|
10699
|
+
{ type: "error", inputs: [], name: "InvalidLimitOrderConfig" },
|
|
10700
|
+
{ type: "error", inputs: [], name: "InvalidMultiple" },
|
|
10701
|
+
{ type: "error", inputs: [], name: "InvalidPercent" },
|
|
10702
|
+
{ type: "error", inputs: [], name: "LengthMismatch" },
|
|
10703
|
+
{ type: "error", inputs: [], name: "OnlyPoolManager" },
|
|
10704
|
+
{
|
|
10705
|
+
type: "error",
|
|
10706
|
+
inputs: [{ name: "owner", internalType: "address", type: "address" }],
|
|
10707
|
+
name: "OwnableInvalidOwner"
|
|
10708
|
+
},
|
|
10709
|
+
{
|
|
10710
|
+
type: "error",
|
|
10711
|
+
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
10712
|
+
name: "OwnableUnauthorizedAccount"
|
|
10713
|
+
},
|
|
10714
|
+
{ type: "error", inputs: [], name: "PercentOverflow" },
|
|
10715
|
+
{
|
|
10716
|
+
type: "error",
|
|
10717
|
+
inputs: [{ name: "token", internalType: "address", type: "address" }],
|
|
10718
|
+
name: "SafeERC20FailedOperation"
|
|
10719
|
+
},
|
|
10720
|
+
{ type: "error", inputs: [], name: "UnsafeCast" },
|
|
10721
|
+
{ type: "error", inputs: [], name: "V3RouteDoesNotConnectToV4RouteStart" },
|
|
10722
|
+
{ type: "error", inputs: [], name: "ZeroSwapDelta" },
|
|
10723
|
+
{ type: "error", inputs: [], name: "AddressZero" },
|
|
10724
|
+
{ type: "error", inputs: [], name: "AlreadyOwner" },
|
|
10725
|
+
{ type: "error", inputs: [], name: "CannotMintZeroLiquidity" },
|
|
10726
|
+
{
|
|
10727
|
+
type: "error",
|
|
10728
|
+
inputs: [],
|
|
10729
|
+
name: "DopplerPoolMustHaveMoreThan2DiscoveryPositions"
|
|
10730
|
+
},
|
|
10731
|
+
{ type: "error", inputs: [], name: "ECDSAInvalidSignature" },
|
|
10732
|
+
{
|
|
10733
|
+
type: "error",
|
|
10734
|
+
inputs: [{ name: "length", internalType: "uint256", type: "uint256" }],
|
|
10735
|
+
name: "ECDSAInvalidSignatureLength"
|
|
10736
|
+
},
|
|
10737
|
+
{
|
|
10738
|
+
type: "error",
|
|
10739
|
+
inputs: [{ name: "s", internalType: "bytes32", type: "bytes32" }],
|
|
10740
|
+
name: "ECDSAInvalidSignatureS"
|
|
10741
|
+
},
|
|
10742
|
+
{
|
|
10743
|
+
type: "error",
|
|
10744
|
+
inputs: [
|
|
10745
|
+
{ name: "spender", internalType: "address", type: "address" },
|
|
10746
|
+
{ name: "allowance", internalType: "uint256", type: "uint256" },
|
|
10747
|
+
{ name: "needed", internalType: "uint256", type: "uint256" }
|
|
10748
|
+
],
|
|
10749
|
+
name: "ERC20InsufficientAllowance"
|
|
10750
|
+
},
|
|
10751
|
+
{
|
|
10752
|
+
type: "error",
|
|
10753
|
+
inputs: [
|
|
10754
|
+
{ name: "sender", internalType: "address", type: "address" },
|
|
10755
|
+
{ name: "balance", internalType: "uint256", type: "uint256" },
|
|
10756
|
+
{ name: "needed", internalType: "uint256", type: "uint256" }
|
|
10757
|
+
],
|
|
10758
|
+
name: "ERC20InsufficientBalance"
|
|
10759
|
+
},
|
|
10760
|
+
{
|
|
10761
|
+
type: "error",
|
|
10762
|
+
inputs: [{ name: "approver", internalType: "address", type: "address" }],
|
|
10763
|
+
name: "ERC20InvalidApprover"
|
|
10764
|
+
},
|
|
10765
|
+
{
|
|
10766
|
+
type: "error",
|
|
10767
|
+
inputs: [{ name: "receiver", internalType: "address", type: "address" }],
|
|
10768
|
+
name: "ERC20InvalidReceiver"
|
|
10769
|
+
},
|
|
10770
|
+
{
|
|
10771
|
+
type: "error",
|
|
10772
|
+
inputs: [{ name: "sender", internalType: "address", type: "address" }],
|
|
10773
|
+
name: "ERC20InvalidSender"
|
|
10774
|
+
},
|
|
10775
|
+
{
|
|
10776
|
+
type: "error",
|
|
10777
|
+
inputs: [{ name: "spender", internalType: "address", type: "address" }],
|
|
10778
|
+
name: "ERC20InvalidSpender"
|
|
10779
|
+
},
|
|
10780
|
+
{ type: "error", inputs: [], name: "ERC20TransferAmountMismatch" },
|
|
10781
|
+
{
|
|
10782
|
+
type: "error",
|
|
10783
|
+
inputs: [{ name: "deadline", internalType: "uint256", type: "uint256" }],
|
|
10784
|
+
name: "ERC2612ExpiredSignature"
|
|
10785
|
+
},
|
|
10786
|
+
{
|
|
10787
|
+
type: "error",
|
|
10788
|
+
inputs: [
|
|
10789
|
+
{ name: "signer", internalType: "address", type: "address" },
|
|
10790
|
+
{ name: "owner", internalType: "address", type: "address" }
|
|
10791
|
+
],
|
|
10792
|
+
name: "ERC2612InvalidSigner"
|
|
10793
|
+
},
|
|
10794
|
+
{ type: "error", inputs: [], name: "EthAmountMismatch" },
|
|
10795
|
+
{ type: "error", inputs: [], name: "EthAmountTooSmall" },
|
|
10796
|
+
{ type: "error", inputs: [], name: "EthTransferFailed" },
|
|
10797
|
+
{ type: "error", inputs: [], name: "EthTransferInvalid" },
|
|
10798
|
+
{ type: "error", inputs: [], name: "InitialOrderSizeTooLarge" },
|
|
10799
|
+
{ type: "error", inputs: [], name: "InsufficientFunds" },
|
|
10800
|
+
{ type: "error", inputs: [], name: "InsufficientLiquidity" },
|
|
10801
|
+
{
|
|
10802
|
+
type: "error",
|
|
10803
|
+
inputs: [
|
|
10804
|
+
{ name: "account", internalType: "address", type: "address" },
|
|
10805
|
+
{ name: "currentNonce", internalType: "uint256", type: "uint256" }
|
|
10806
|
+
],
|
|
10807
|
+
name: "InvalidAccountNonce"
|
|
10808
|
+
},
|
|
10809
|
+
{ type: "error", inputs: [], name: "InvalidCurrencyLowerTick" },
|
|
10810
|
+
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
10811
|
+
{ type: "error", inputs: [], name: "InvalidMarketType" },
|
|
10812
|
+
{ type: "error", inputs: [], name: "InvalidPoolVersion" },
|
|
10813
|
+
{
|
|
10814
|
+
type: "error",
|
|
10815
|
+
inputs: [
|
|
10816
|
+
{ name: "tickLower", internalType: "int24", type: "int24" },
|
|
10817
|
+
{ name: "tickUpper", internalType: "int24", type: "int24" }
|
|
10818
|
+
],
|
|
10819
|
+
name: "InvalidTickRangeMisordered"
|
|
10820
|
+
},
|
|
10821
|
+
{ type: "error", inputs: [], name: "InvalidWethLowerTick" },
|
|
10822
|
+
{ type: "error", inputs: [], name: "LegacyPoolMustHaveOneDiscoveryPosition" },
|
|
10823
|
+
{ type: "error", inputs: [], name: "MarketAlreadyGraduated" },
|
|
10824
|
+
{ type: "error", inputs: [], name: "MarketNotGraduated" },
|
|
10825
|
+
{
|
|
10826
|
+
type: "error",
|
|
10827
|
+
inputs: [
|
|
10828
|
+
{ name: "value", internalType: "uint256", type: "uint256" },
|
|
10829
|
+
{ name: "limit", internalType: "uint256", type: "uint256" }
|
|
10830
|
+
],
|
|
10831
|
+
name: "MaxShareToBeSoldExceeded"
|
|
10832
|
+
},
|
|
10833
|
+
{ type: "error", inputs: [], name: "NameIsRequired" },
|
|
10834
|
+
{ type: "error", inputs: [], name: "NotInitializing" },
|
|
10835
|
+
{ type: "error", inputs: [], name: "NotOwner" },
|
|
10836
|
+
{ type: "error", inputs: [], name: "NumDiscoveryPositionsOutOfRange" },
|
|
10837
|
+
{ type: "error", inputs: [], name: "OneOwnerRequired" },
|
|
10838
|
+
{ type: "error", inputs: [], name: "OnlyOwner" },
|
|
10839
|
+
{
|
|
10840
|
+
type: "error",
|
|
10841
|
+
inputs: [
|
|
10842
|
+
{ name: "sender", internalType: "address", type: "address" },
|
|
10843
|
+
{ name: "pool", internalType: "address", type: "address" }
|
|
10844
|
+
],
|
|
10845
|
+
name: "OnlyPool"
|
|
10846
|
+
},
|
|
10847
|
+
{ type: "error", inputs: [], name: "OnlyWeth" },
|
|
10848
|
+
{ type: "error", inputs: [], name: "OwnerCannotBeAddressZero" },
|
|
10849
|
+
{ type: "error", inputs: [], name: "SlippageBoundsExceeded" },
|
|
10850
|
+
{ type: "error", inputs: [], name: "UseRevokeOwnershipToRemoveSelf" },
|
|
10851
|
+
{ type: "error", inputs: [], name: "CoinVersionLookupCannotBeZeroAddress" },
|
|
10852
|
+
{ type: "error", inputs: [], name: "EthTransferFailed" },
|
|
10853
|
+
{ type: "error", inputs: [], name: "HookNotImplemented" },
|
|
10854
|
+
{
|
|
10855
|
+
type: "error",
|
|
10856
|
+
inputs: [{ name: "callbackId", internalType: "uint8", type: "uint8" }],
|
|
10857
|
+
name: "InvalidCallbackId"
|
|
10858
|
+
},
|
|
10859
|
+
{
|
|
10860
|
+
type: "error",
|
|
10861
|
+
inputs: [{ name: "newHook", internalType: "address", type: "address" }],
|
|
10862
|
+
name: "InvalidNewHook"
|
|
10863
|
+
},
|
|
10864
|
+
{
|
|
10865
|
+
type: "error",
|
|
10866
|
+
inputs: [
|
|
10867
|
+
{
|
|
10868
|
+
name: "key",
|
|
10869
|
+
internalType: "struct PoolKey",
|
|
10870
|
+
type: "tuple",
|
|
10871
|
+
components: [
|
|
10872
|
+
{ name: "currency0", internalType: "Currency", type: "address" },
|
|
10873
|
+
{ name: "currency1", internalType: "Currency", type: "address" },
|
|
10874
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
10875
|
+
{ name: "tickSpacing", internalType: "int24", type: "int24" },
|
|
10876
|
+
{ name: "hooks", internalType: "contract IHooks", type: "address" }
|
|
10877
|
+
]
|
|
10878
|
+
}
|
|
10879
|
+
],
|
|
10880
|
+
name: "NoCoinForHook"
|
|
10881
|
+
},
|
|
10882
|
+
{
|
|
10883
|
+
type: "error",
|
|
10884
|
+
inputs: [{ name: "coin", internalType: "address", type: "address" }],
|
|
10885
|
+
name: "NotACoin"
|
|
10886
|
+
},
|
|
10887
|
+
{ type: "error", inputs: [], name: "NotPoolManager" },
|
|
10888
|
+
{
|
|
10889
|
+
type: "error",
|
|
10890
|
+
inputs: [
|
|
10891
|
+
{ name: "caller", internalType: "address", type: "address" },
|
|
10892
|
+
{ name: "expectedCoin", internalType: "address", type: "address" }
|
|
10893
|
+
],
|
|
10894
|
+
name: "OnlyCoin"
|
|
10895
|
+
},
|
|
10896
|
+
{ type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
|
|
10897
|
+
{ type: "error", inputs: [], name: "SafeCastOverflow" },
|
|
10898
|
+
{
|
|
10899
|
+
type: "error",
|
|
10900
|
+
inputs: [{ name: "token", internalType: "address", type: "address" }],
|
|
10901
|
+
name: "SafeERC20FailedOperation"
|
|
10902
|
+
},
|
|
10903
|
+
{
|
|
10904
|
+
type: "error",
|
|
10905
|
+
inputs: [],
|
|
10906
|
+
name: "TrustedMsgSenderLookupCannotBeZeroAddress"
|
|
10907
|
+
},
|
|
10908
|
+
{ type: "error", inputs: [], name: "UpgradeGateCannotBeZeroAddress" },
|
|
10909
|
+
{
|
|
10910
|
+
type: "error",
|
|
10911
|
+
inputs: [
|
|
10912
|
+
{ name: "oldHook", internalType: "address", type: "address" },
|
|
10913
|
+
{ name: "newHook", internalType: "address", type: "address" }
|
|
10914
|
+
],
|
|
10915
|
+
name: "UpgradePathNotRegistered"
|
|
10916
|
+
},
|
|
10917
|
+
{ type: "error", inputs: [], name: "ZoraHookRegistryCannotBeZeroAddress" },
|
|
10918
|
+
{ type: "error", inputs: [], name: "ZoraLimitOrderBookCannotBeZeroAddress" },
|
|
10919
|
+
{ type: "error", inputs: [], name: "AddressZero" },
|
|
10920
|
+
{ type: "error", inputs: [], name: "ArrayLengthMismatch" },
|
|
10921
|
+
{ type: "error", inputs: [], name: "CallerNotPermitted" },
|
|
10922
|
+
{
|
|
10923
|
+
type: "error",
|
|
10924
|
+
inputs: [
|
|
10925
|
+
{ name: "orderId", internalType: "bytes32", type: "bytes32" },
|
|
10926
|
+
{ name: "expectedCoin", internalType: "address", type: "address" },
|
|
10927
|
+
{ name: "actualCoin", internalType: "address", type: "address" }
|
|
10928
|
+
],
|
|
10929
|
+
name: "CoinMismatch"
|
|
10930
|
+
},
|
|
10931
|
+
{ type: "error", inputs: [], name: "InsufficientForwardedFunds" },
|
|
10932
|
+
{ type: "error", inputs: [], name: "InsufficientTransferFunds" },
|
|
10933
|
+
{
|
|
10934
|
+
type: "error",
|
|
10935
|
+
inputs: [
|
|
10936
|
+
{ name: "startTick", internalType: "int24", type: "int24" },
|
|
10937
|
+
{ name: "endTick", internalType: "int24", type: "int24" },
|
|
10938
|
+
{ name: "isCurrency0", internalType: "bool", type: "bool" }
|
|
10939
|
+
],
|
|
10940
|
+
name: "InvalidFillWindow"
|
|
10941
|
+
},
|
|
10942
|
+
{ type: "error", inputs: [], name: "InvalidOrder" },
|
|
10943
|
+
{ type: "error", inputs: [], name: "InvalidPoolKey" },
|
|
10944
|
+
{ type: "error", inputs: [], name: "MaxFillCountCannotBeZero" },
|
|
10945
|
+
{
|
|
10946
|
+
type: "error",
|
|
10947
|
+
inputs: [
|
|
10948
|
+
{ name: "withdrawn", internalType: "uint256", type: "uint256" },
|
|
10949
|
+
{ name: "minAmountOut", internalType: "uint256", type: "uint256" }
|
|
10950
|
+
],
|
|
10951
|
+
name: "MinAmountNotReached"
|
|
10952
|
+
},
|
|
10953
|
+
{ type: "error", inputs: [], name: "NativeValueMismatch" },
|
|
10954
|
+
{ type: "error", inputs: [], name: "NotPoolManager" },
|
|
10955
|
+
{ type: "error", inputs: [], name: "OnlyZoraHook" },
|
|
10956
|
+
{ type: "error", inputs: [], name: "OrderClosed" },
|
|
10957
|
+
{ type: "error", inputs: [], name: "OrderFillable" },
|
|
10958
|
+
{ type: "error", inputs: [], name: "OrderNotMaker" },
|
|
10959
|
+
{
|
|
10960
|
+
type: "error",
|
|
10961
|
+
inputs: [{ name: "owner", internalType: "address", type: "address" }],
|
|
10962
|
+
name: "OwnableInvalidOwner"
|
|
10963
|
+
},
|
|
10964
|
+
{
|
|
10965
|
+
type: "error",
|
|
10966
|
+
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
10967
|
+
name: "OwnableUnauthorizedAccount"
|
|
10968
|
+
},
|
|
10969
|
+
{ type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
|
|
10970
|
+
{ type: "error", inputs: [], name: "PermittedCallersLengthMismatch" },
|
|
10971
|
+
{ type: "error", inputs: [], name: "RouterMsgSenderInvalid" },
|
|
10972
|
+
{ type: "error", inputs: [], name: "UnknownCallback" },
|
|
10973
|
+
{ type: "error", inputs: [], name: "UnlockedFillNotAllowed" },
|
|
10974
|
+
{ type: "error", inputs: [], name: "WethTransferFailed" },
|
|
10975
|
+
{ type: "error", inputs: [], name: "ZeroMaker" },
|
|
10976
|
+
{ type: "error", inputs: [], name: "ZeroOrderSize" },
|
|
10977
|
+
{ type: "error", inputs: [], name: "ZeroRealizedOrder" }
|
|
10978
|
+
];
|
|
10979
|
+
var devZoraRouterAddress = {
|
|
10980
|
+
8453: "0xb3F0aAFd6d69e524DC83ae773bc739688d4F658d"
|
|
10981
|
+
};
|
|
10982
|
+
var devZoraRouterConfig = {
|
|
10983
|
+
address: devZoraRouterAddress,
|
|
10984
|
+
abi: devZoraRouterABI
|
|
8603
10985
|
};
|
|
8604
10986
|
var erc20MinterABI = [
|
|
8605
10987
|
{
|
|
@@ -16732,7 +19114,8 @@ var zoraLimitOrderBookABI = [
|
|
|
16732
19114
|
type: "address"
|
|
16733
19115
|
},
|
|
16734
19116
|
{ name: "zoraHookRegistry_", internalType: "address", type: "address" },
|
|
16735
|
-
{ name: "
|
|
19117
|
+
{ name: "owner_", internalType: "address", type: "address" },
|
|
19118
|
+
{ name: "weth_", internalType: "address", type: "address" }
|
|
16736
19119
|
],
|
|
16737
19120
|
stateMutability: "nonpayable"
|
|
16738
19121
|
},
|
|
@@ -16740,9 +19123,9 @@ var zoraLimitOrderBookABI = [
|
|
|
16740
19123
|
{
|
|
16741
19124
|
type: "function",
|
|
16742
19125
|
inputs: [],
|
|
16743
|
-
name: "
|
|
16744
|
-
outputs: [
|
|
16745
|
-
stateMutability: "
|
|
19126
|
+
name: "acceptOwnership",
|
|
19127
|
+
outputs: [],
|
|
19128
|
+
stateMutability: "nonpayable"
|
|
16746
19129
|
},
|
|
16747
19130
|
{
|
|
16748
19131
|
type: "function",
|
|
@@ -16844,6 +19227,27 @@ var zoraLimitOrderBookABI = [
|
|
|
16844
19227
|
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
16845
19228
|
stateMutability: "view"
|
|
16846
19229
|
},
|
|
19230
|
+
{
|
|
19231
|
+
type: "function",
|
|
19232
|
+
inputs: [{ name: "caller", internalType: "address", type: "address" }],
|
|
19233
|
+
name: "isPermittedCaller",
|
|
19234
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
19235
|
+
stateMutability: "view"
|
|
19236
|
+
},
|
|
19237
|
+
{
|
|
19238
|
+
type: "function",
|
|
19239
|
+
inputs: [],
|
|
19240
|
+
name: "owner",
|
|
19241
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
19242
|
+
stateMutability: "view"
|
|
19243
|
+
},
|
|
19244
|
+
{
|
|
19245
|
+
type: "function",
|
|
19246
|
+
inputs: [],
|
|
19247
|
+
name: "pendingOwner",
|
|
19248
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
19249
|
+
stateMutability: "view"
|
|
19250
|
+
},
|
|
16847
19251
|
{
|
|
16848
19252
|
type: "function",
|
|
16849
19253
|
inputs: [],
|
|
@@ -16855,10 +19259,8 @@ var zoraLimitOrderBookABI = [
|
|
|
16855
19259
|
},
|
|
16856
19260
|
{
|
|
16857
19261
|
type: "function",
|
|
16858
|
-
inputs: [
|
|
16859
|
-
|
|
16860
|
-
],
|
|
16861
|
-
name: "setAuthority",
|
|
19262
|
+
inputs: [],
|
|
19263
|
+
name: "renounceOwnership",
|
|
16862
19264
|
outputs: [],
|
|
16863
19265
|
stateMutability: "nonpayable"
|
|
16864
19266
|
},
|
|
@@ -16871,6 +19273,23 @@ var zoraLimitOrderBookABI = [
|
|
|
16871
19273
|
outputs: [],
|
|
16872
19274
|
stateMutability: "nonpayable"
|
|
16873
19275
|
},
|
|
19276
|
+
{
|
|
19277
|
+
type: "function",
|
|
19278
|
+
inputs: [
|
|
19279
|
+
{ name: "callers", internalType: "address[]", type: "address[]" },
|
|
19280
|
+
{ name: "permitted", internalType: "bool[]", type: "bool[]" }
|
|
19281
|
+
],
|
|
19282
|
+
name: "setPermittedCallers",
|
|
19283
|
+
outputs: [],
|
|
19284
|
+
stateMutability: "nonpayable"
|
|
19285
|
+
},
|
|
19286
|
+
{
|
|
19287
|
+
type: "function",
|
|
19288
|
+
inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
|
|
19289
|
+
name: "transferOwnership",
|
|
19290
|
+
outputs: [],
|
|
19291
|
+
stateMutability: "nonpayable"
|
|
19292
|
+
},
|
|
16874
19293
|
{
|
|
16875
19294
|
type: "function",
|
|
16876
19295
|
inputs: [{ name: "data", internalType: "bytes", type: "bytes" }],
|
|
@@ -16878,6 +19297,13 @@ var zoraLimitOrderBookABI = [
|
|
|
16878
19297
|
outputs: [{ name: "", internalType: "bytes", type: "bytes" }],
|
|
16879
19298
|
stateMutability: "nonpayable"
|
|
16880
19299
|
},
|
|
19300
|
+
{
|
|
19301
|
+
type: "function",
|
|
19302
|
+
inputs: [],
|
|
19303
|
+
name: "weth",
|
|
19304
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
19305
|
+
stateMutability: "view"
|
|
19306
|
+
},
|
|
16881
19307
|
{
|
|
16882
19308
|
type: "function",
|
|
16883
19309
|
inputs: [
|
|
@@ -16912,19 +19338,6 @@ var zoraLimitOrderBookABI = [
|
|
|
16912
19338
|
],
|
|
16913
19339
|
stateMutability: "view"
|
|
16914
19340
|
},
|
|
16915
|
-
{
|
|
16916
|
-
type: "event",
|
|
16917
|
-
anonymous: false,
|
|
16918
|
-
inputs: [
|
|
16919
|
-
{
|
|
16920
|
-
name: "authority",
|
|
16921
|
-
internalType: "address",
|
|
16922
|
-
type: "address",
|
|
16923
|
-
indexed: false
|
|
16924
|
-
}
|
|
16925
|
-
],
|
|
16926
|
-
name: "AuthorityUpdated"
|
|
16927
|
-
},
|
|
16928
19341
|
{
|
|
16929
19342
|
type: "event",
|
|
16930
19343
|
anonymous: false,
|
|
@@ -17103,13 +19516,60 @@ var zoraLimitOrderBookABI = [
|
|
|
17103
19516
|
name: "MakerBalanceUpdated"
|
|
17104
19517
|
},
|
|
17105
19518
|
{
|
|
17106
|
-
type: "
|
|
17107
|
-
|
|
17108
|
-
|
|
19519
|
+
type: "event",
|
|
19520
|
+
anonymous: false,
|
|
19521
|
+
inputs: [
|
|
19522
|
+
{
|
|
19523
|
+
name: "previousOwner",
|
|
19524
|
+
internalType: "address",
|
|
19525
|
+
type: "address",
|
|
19526
|
+
indexed: true
|
|
19527
|
+
},
|
|
19528
|
+
{
|
|
19529
|
+
name: "newOwner",
|
|
19530
|
+
internalType: "address",
|
|
19531
|
+
type: "address",
|
|
19532
|
+
indexed: true
|
|
19533
|
+
}
|
|
19534
|
+
],
|
|
19535
|
+
name: "OwnershipTransferStarted"
|
|
19536
|
+
},
|
|
19537
|
+
{
|
|
19538
|
+
type: "event",
|
|
19539
|
+
anonymous: false,
|
|
19540
|
+
inputs: [
|
|
19541
|
+
{
|
|
19542
|
+
name: "previousOwner",
|
|
19543
|
+
internalType: "address",
|
|
19544
|
+
type: "address",
|
|
19545
|
+
indexed: true
|
|
19546
|
+
},
|
|
19547
|
+
{
|
|
19548
|
+
name: "newOwner",
|
|
19549
|
+
internalType: "address",
|
|
19550
|
+
type: "address",
|
|
19551
|
+
indexed: true
|
|
19552
|
+
}
|
|
19553
|
+
],
|
|
19554
|
+
name: "OwnershipTransferred"
|
|
19555
|
+
},
|
|
19556
|
+
{
|
|
19557
|
+
type: "event",
|
|
19558
|
+
anonymous: false,
|
|
19559
|
+
inputs: [
|
|
19560
|
+
{
|
|
19561
|
+
name: "caller",
|
|
19562
|
+
internalType: "address",
|
|
19563
|
+
type: "address",
|
|
19564
|
+
indexed: true
|
|
19565
|
+
},
|
|
19566
|
+
{ name: "permitted", internalType: "bool", type: "bool", indexed: false }
|
|
19567
|
+
],
|
|
19568
|
+
name: "PermittedCallerUpdated"
|
|
17109
19569
|
},
|
|
17110
|
-
{ type: "error", inputs: [], name: "AccessManagedUnauthorized" },
|
|
17111
19570
|
{ type: "error", inputs: [], name: "AddressZero" },
|
|
17112
19571
|
{ type: "error", inputs: [], name: "ArrayLengthMismatch" },
|
|
19572
|
+
{ type: "error", inputs: [], name: "CallerNotPermitted" },
|
|
17113
19573
|
{
|
|
17114
19574
|
type: "error",
|
|
17115
19575
|
inputs: [
|
|
@@ -17145,11 +19605,24 @@ var zoraLimitOrderBookABI = [
|
|
|
17145
19605
|
{ type: "error", inputs: [], name: "NotPoolManager" },
|
|
17146
19606
|
{ type: "error", inputs: [], name: "OnlyZoraHook" },
|
|
17147
19607
|
{ type: "error", inputs: [], name: "OrderClosed" },
|
|
19608
|
+
{ type: "error", inputs: [], name: "OrderFillable" },
|
|
17148
19609
|
{ type: "error", inputs: [], name: "OrderNotMaker" },
|
|
19610
|
+
{
|
|
19611
|
+
type: "error",
|
|
19612
|
+
inputs: [{ name: "owner", internalType: "address", type: "address" }],
|
|
19613
|
+
name: "OwnableInvalidOwner"
|
|
19614
|
+
},
|
|
19615
|
+
{
|
|
19616
|
+
type: "error",
|
|
19617
|
+
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
19618
|
+
name: "OwnableUnauthorizedAccount"
|
|
19619
|
+
},
|
|
17149
19620
|
{ type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
|
|
19621
|
+
{ type: "error", inputs: [], name: "PermittedCallersLengthMismatch" },
|
|
17150
19622
|
{ type: "error", inputs: [], name: "RouterMsgSenderInvalid" },
|
|
17151
19623
|
{ type: "error", inputs: [], name: "UnknownCallback" },
|
|
17152
19624
|
{ type: "error", inputs: [], name: "UnlockedFillNotAllowed" },
|
|
19625
|
+
{ type: "error", inputs: [], name: "WethTransferFailed" },
|
|
17153
19626
|
{ type: "error", inputs: [], name: "ZeroMaker" },
|
|
17154
19627
|
{ type: "error", inputs: [], name: "ZeroOrderSize" },
|
|
17155
19628
|
{ type: "error", inputs: [], name: "ZeroRealizedOrder" },
|
|
@@ -17239,7 +19712,6 @@ var zoraLimitOrderBookABI = [
|
|
|
17239
19712
|
],
|
|
17240
19713
|
name: "InvalidAccountNonce"
|
|
17241
19714
|
},
|
|
17242
|
-
{ type: "error", inputs: [], name: "InvalidCurrency" },
|
|
17243
19715
|
{ type: "error", inputs: [], name: "InvalidCurrencyLowerTick" },
|
|
17244
19716
|
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
17245
19717
|
{ type: "error", inputs: [], name: "InvalidMarketType" },
|
|
@@ -17352,7 +19824,7 @@ var zoraLimitOrderBookABI = [
|
|
|
17352
19824
|
{ type: "error", inputs: [], name: "ZoraLimitOrderBookCannotBeZeroAddress" }
|
|
17353
19825
|
];
|
|
17354
19826
|
var zoraLimitOrderBookAddress = {
|
|
17355
|
-
8453: "
|
|
19827
|
+
8453: "0xeD29E55a73b3D907eB57f0c7B89019B37dd1a1c8"
|
|
17356
19828
|
};
|
|
17357
19829
|
var zoraLimitOrderBookConfig = {
|
|
17358
19830
|
address: zoraLimitOrderBookAddress,
|
|
@@ -19042,11 +21514,19 @@ var zoraRouterABI = [
|
|
|
19042
21514
|
internalType: "contract ISwapRouter",
|
|
19043
21515
|
type: "address"
|
|
19044
21516
|
},
|
|
19045
|
-
{ name: "permit2_", internalType: "address", type: "address" }
|
|
21517
|
+
{ name: "permit2_", internalType: "address", type: "address" },
|
|
21518
|
+
{ name: "owner_", internalType: "address", type: "address" }
|
|
19046
21519
|
],
|
|
19047
21520
|
stateMutability: "nonpayable"
|
|
19048
21521
|
},
|
|
19049
21522
|
{ type: "receive", stateMutability: "payable" },
|
|
21523
|
+
{
|
|
21524
|
+
type: "function",
|
|
21525
|
+
inputs: [],
|
|
21526
|
+
name: "acceptOwnership",
|
|
21527
|
+
outputs: [],
|
|
21528
|
+
stateMutability: "nonpayable"
|
|
21529
|
+
},
|
|
19050
21530
|
{
|
|
19051
21531
|
type: "function",
|
|
19052
21532
|
inputs: [],
|
|
@@ -19071,6 +21551,20 @@ var zoraRouterABI = [
|
|
|
19071
21551
|
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
19072
21552
|
stateMutability: "view"
|
|
19073
21553
|
},
|
|
21554
|
+
{
|
|
21555
|
+
type: "function",
|
|
21556
|
+
inputs: [],
|
|
21557
|
+
name: "owner",
|
|
21558
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
21559
|
+
stateMutability: "view"
|
|
21560
|
+
},
|
|
21561
|
+
{
|
|
21562
|
+
type: "function",
|
|
21563
|
+
inputs: [],
|
|
21564
|
+
name: "pendingOwner",
|
|
21565
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
21566
|
+
stateMutability: "view"
|
|
21567
|
+
},
|
|
19074
21568
|
{
|
|
19075
21569
|
type: "function",
|
|
19076
21570
|
inputs: [],
|
|
@@ -19080,6 +21574,13 @@ var zoraRouterABI = [
|
|
|
19080
21574
|
],
|
|
19081
21575
|
stateMutability: "view"
|
|
19082
21576
|
},
|
|
21577
|
+
{
|
|
21578
|
+
type: "function",
|
|
21579
|
+
inputs: [],
|
|
21580
|
+
name: "renounceOwnership",
|
|
21581
|
+
outputs: [],
|
|
21582
|
+
stateMutability: "nonpayable"
|
|
21583
|
+
},
|
|
19083
21584
|
{
|
|
19084
21585
|
type: "function",
|
|
19085
21586
|
inputs: [
|
|
@@ -19159,6 +21660,13 @@ var zoraRouterABI = [
|
|
|
19159
21660
|
outputs: [{ name: "delta", internalType: "BalanceDelta", type: "int256" }],
|
|
19160
21661
|
stateMutability: "payable"
|
|
19161
21662
|
},
|
|
21663
|
+
{
|
|
21664
|
+
type: "function",
|
|
21665
|
+
inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
|
|
21666
|
+
name: "transferOwnership",
|
|
21667
|
+
outputs: [],
|
|
21668
|
+
stateMutability: "nonpayable"
|
|
21669
|
+
},
|
|
19162
21670
|
{
|
|
19163
21671
|
type: "function",
|
|
19164
21672
|
inputs: [{ name: "data", internalType: "bytes", type: "bytes" }],
|
|
@@ -19198,6 +21706,44 @@ var zoraRouterABI = [
|
|
|
19198
21706
|
],
|
|
19199
21707
|
name: "LimitOrderConfigUpdated"
|
|
19200
21708
|
},
|
|
21709
|
+
{
|
|
21710
|
+
type: "event",
|
|
21711
|
+
anonymous: false,
|
|
21712
|
+
inputs: [
|
|
21713
|
+
{
|
|
21714
|
+
name: "previousOwner",
|
|
21715
|
+
internalType: "address",
|
|
21716
|
+
type: "address",
|
|
21717
|
+
indexed: true
|
|
21718
|
+
},
|
|
21719
|
+
{
|
|
21720
|
+
name: "newOwner",
|
|
21721
|
+
internalType: "address",
|
|
21722
|
+
type: "address",
|
|
21723
|
+
indexed: true
|
|
21724
|
+
}
|
|
21725
|
+
],
|
|
21726
|
+
name: "OwnershipTransferStarted"
|
|
21727
|
+
},
|
|
21728
|
+
{
|
|
21729
|
+
type: "event",
|
|
21730
|
+
anonymous: false,
|
|
21731
|
+
inputs: [
|
|
21732
|
+
{
|
|
21733
|
+
name: "previousOwner",
|
|
21734
|
+
internalType: "address",
|
|
21735
|
+
type: "address",
|
|
21736
|
+
indexed: true
|
|
21737
|
+
},
|
|
21738
|
+
{
|
|
21739
|
+
name: "newOwner",
|
|
21740
|
+
internalType: "address",
|
|
21741
|
+
type: "address",
|
|
21742
|
+
indexed: true
|
|
21743
|
+
}
|
|
21744
|
+
],
|
|
21745
|
+
name: "OwnershipTransferred"
|
|
21746
|
+
},
|
|
19201
21747
|
{
|
|
19202
21748
|
type: "event",
|
|
19203
21749
|
anonymous: false,
|
|
@@ -19227,12 +21773,6 @@ var zoraRouterABI = [
|
|
|
19227
21773
|
],
|
|
19228
21774
|
indexed: false
|
|
19229
21775
|
},
|
|
19230
|
-
{
|
|
19231
|
-
name: "delta",
|
|
19232
|
-
internalType: "BalanceDelta",
|
|
19233
|
-
type: "int256",
|
|
19234
|
-
indexed: false
|
|
19235
|
-
},
|
|
19236
21776
|
{
|
|
19237
21777
|
name: "tickBeforeSwap",
|
|
19238
21778
|
internalType: "int24",
|
|
@@ -19245,6 +21785,24 @@ var zoraRouterABI = [
|
|
|
19245
21785
|
type: "int24",
|
|
19246
21786
|
indexed: false
|
|
19247
21787
|
},
|
|
21788
|
+
{
|
|
21789
|
+
name: "amount0",
|
|
21790
|
+
internalType: "int128",
|
|
21791
|
+
type: "int128",
|
|
21792
|
+
indexed: false
|
|
21793
|
+
},
|
|
21794
|
+
{
|
|
21795
|
+
name: "amount1",
|
|
21796
|
+
internalType: "int128",
|
|
21797
|
+
type: "int128",
|
|
21798
|
+
indexed: false
|
|
21799
|
+
},
|
|
21800
|
+
{
|
|
21801
|
+
name: "sqrtPriceX96",
|
|
21802
|
+
internalType: "uint160",
|
|
21803
|
+
type: "uint160",
|
|
21804
|
+
indexed: false
|
|
21805
|
+
},
|
|
19248
21806
|
{
|
|
19249
21807
|
name: "orders",
|
|
19250
21808
|
internalType: "struct SwapWithLimitOrders.CreatedOrder[]",
|
|
@@ -19260,7 +21818,6 @@ var zoraRouterABI = [
|
|
|
19260
21818
|
name: "SwapWithLimitOrdersExecuted"
|
|
19261
21819
|
},
|
|
19262
21820
|
{ type: "error", inputs: [], name: "EmptyV4Route" },
|
|
19263
|
-
{ type: "error", inputs: [], name: "FromAddressIsNotOwner" },
|
|
19264
21821
|
{
|
|
19265
21822
|
type: "error",
|
|
19266
21823
|
inputs: [
|
|
@@ -19275,8 +21832,17 @@ var zoraRouterABI = [
|
|
|
19275
21832
|
{ type: "error", inputs: [], name: "InvalidMultiple" },
|
|
19276
21833
|
{ type: "error", inputs: [], name: "InvalidPercent" },
|
|
19277
21834
|
{ type: "error", inputs: [], name: "LengthMismatch" },
|
|
19278
|
-
{ type: "error", inputs: [], name: "OnlyAuthority" },
|
|
19279
21835
|
{ type: "error", inputs: [], name: "OnlyPoolManager" },
|
|
21836
|
+
{
|
|
21837
|
+
type: "error",
|
|
21838
|
+
inputs: [{ name: "owner", internalType: "address", type: "address" }],
|
|
21839
|
+
name: "OwnableInvalidOwner"
|
|
21840
|
+
},
|
|
21841
|
+
{
|
|
21842
|
+
type: "error",
|
|
21843
|
+
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
21844
|
+
name: "OwnableUnauthorizedAccount"
|
|
21845
|
+
},
|
|
19280
21846
|
{ type: "error", inputs: [], name: "PercentOverflow" },
|
|
19281
21847
|
{
|
|
19282
21848
|
type: "error",
|
|
@@ -19372,7 +21938,6 @@ var zoraRouterABI = [
|
|
|
19372
21938
|
],
|
|
19373
21939
|
name: "InvalidAccountNonce"
|
|
19374
21940
|
},
|
|
19375
|
-
{ type: "error", inputs: [], name: "InvalidCurrency" },
|
|
19376
21941
|
{ type: "error", inputs: [], name: "InvalidCurrencyLowerTick" },
|
|
19377
21942
|
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
19378
21943
|
{ type: "error", inputs: [], name: "InvalidMarketType" },
|
|
@@ -19483,14 +22048,9 @@ var zoraRouterABI = [
|
|
|
19483
22048
|
},
|
|
19484
22049
|
{ type: "error", inputs: [], name: "ZoraHookRegistryCannotBeZeroAddress" },
|
|
19485
22050
|
{ type: "error", inputs: [], name: "ZoraLimitOrderBookCannotBeZeroAddress" },
|
|
19486
|
-
{
|
|
19487
|
-
type: "error",
|
|
19488
|
-
inputs: [{ name: "authority", internalType: "address", type: "address" }],
|
|
19489
|
-
name: "AccessManagedInvalidAuthority"
|
|
19490
|
-
},
|
|
19491
|
-
{ type: "error", inputs: [], name: "AccessManagedUnauthorized" },
|
|
19492
22051
|
{ type: "error", inputs: [], name: "AddressZero" },
|
|
19493
22052
|
{ type: "error", inputs: [], name: "ArrayLengthMismatch" },
|
|
22053
|
+
{ type: "error", inputs: [], name: "CallerNotPermitted" },
|
|
19494
22054
|
{
|
|
19495
22055
|
type: "error",
|
|
19496
22056
|
inputs: [
|
|
@@ -19526,17 +22086,30 @@ var zoraRouterABI = [
|
|
|
19526
22086
|
{ type: "error", inputs: [], name: "NotPoolManager" },
|
|
19527
22087
|
{ type: "error", inputs: [], name: "OnlyZoraHook" },
|
|
19528
22088
|
{ type: "error", inputs: [], name: "OrderClosed" },
|
|
22089
|
+
{ type: "error", inputs: [], name: "OrderFillable" },
|
|
19529
22090
|
{ type: "error", inputs: [], name: "OrderNotMaker" },
|
|
22091
|
+
{
|
|
22092
|
+
type: "error",
|
|
22093
|
+
inputs: [{ name: "owner", internalType: "address", type: "address" }],
|
|
22094
|
+
name: "OwnableInvalidOwner"
|
|
22095
|
+
},
|
|
22096
|
+
{
|
|
22097
|
+
type: "error",
|
|
22098
|
+
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
22099
|
+
name: "OwnableUnauthorizedAccount"
|
|
22100
|
+
},
|
|
19530
22101
|
{ type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
|
|
22102
|
+
{ type: "error", inputs: [], name: "PermittedCallersLengthMismatch" },
|
|
19531
22103
|
{ type: "error", inputs: [], name: "RouterMsgSenderInvalid" },
|
|
19532
22104
|
{ type: "error", inputs: [], name: "UnknownCallback" },
|
|
19533
22105
|
{ type: "error", inputs: [], name: "UnlockedFillNotAllowed" },
|
|
22106
|
+
{ type: "error", inputs: [], name: "WethTransferFailed" },
|
|
19534
22107
|
{ type: "error", inputs: [], name: "ZeroMaker" },
|
|
19535
22108
|
{ type: "error", inputs: [], name: "ZeroOrderSize" },
|
|
19536
22109
|
{ type: "error", inputs: [], name: "ZeroRealizedOrder" }
|
|
19537
22110
|
];
|
|
19538
22111
|
var zoraRouterAddress = {
|
|
19539
|
-
8453: "
|
|
22112
|
+
8453: "0x479b190b78Be5bf020fbb496dDD2cE3d6e573bb1"
|
|
19540
22113
|
};
|
|
19541
22114
|
var zoraRouterConfig = {
|
|
19542
22115
|
address: zoraRouterAddress,
|
|
@@ -22579,6 +25152,18 @@ var addresses2 = {
|
|
|
22579
25152
|
commentsConfig,
|
|
22580
25153
|
contracts1155,
|
|
22581
25154
|
decodeBuySupplyWithSwapRouterHookReturn,
|
|
25155
|
+
devBuySupplyWithSwapRouterHookABI,
|
|
25156
|
+
devBuySupplyWithSwapRouterHookAddress,
|
|
25157
|
+
devBuySupplyWithSwapRouterHookConfig,
|
|
25158
|
+
devCoinFactoryABI,
|
|
25159
|
+
devCoinFactoryAddress,
|
|
25160
|
+
devCoinFactoryConfig,
|
|
25161
|
+
devZoraLimitOrderBookABI,
|
|
25162
|
+
devZoraLimitOrderBookAddress,
|
|
25163
|
+
devZoraLimitOrderBookConfig,
|
|
25164
|
+
devZoraRouterABI,
|
|
25165
|
+
devZoraRouterAddress,
|
|
25166
|
+
devZoraRouterConfig,
|
|
22582
25167
|
emptyCommentIdentifier,
|
|
22583
25168
|
encodeMultiCurvePoolConfig,
|
|
22584
25169
|
encodePremintConfig,
|