@zoralabs/protocol-deployments 0.6.1 → 0.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +19 -19
- package/CHANGELOG.md +6 -0
- package/dist/{_esm-AN6HMJZC.js → _esm-3RFC2XVO.js} +3 -3
- package/dist/_esm-3RFC2XVO.js.map +1 -0
- package/dist/generated/wagmi.d.ts +435 -497
- package/dist/generated/wagmi.d.ts.map +1 -1
- package/dist/index.cjs +295 -215
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +295 -215
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/generated/wagmi.ts +295 -215
- package/dist/_esm-AN6HMJZC.js.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -3514,7 +3514,6 @@ var callerAndCommenterABI = [
|
|
|
3514
3514
|
{ type: "error", inputs: [], name: "NotInitializing" },
|
|
3515
3515
|
{ type: "error", inputs: [], name: "NotSmartWallet" },
|
|
3516
3516
|
{ type: "error", inputs: [], name: "NotSmartWalletOwner" },
|
|
3517
|
-
{ type: "error", inputs: [], name: "NotTokenHolderOrAdmin" },
|
|
3518
3517
|
{ type: "error", inputs: [], name: "OnlySparksContract" },
|
|
3519
3518
|
{ type: "error", inputs: [], name: "TransferFailed" },
|
|
3520
3519
|
{ type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
|
|
@@ -3549,23 +3548,6 @@ var callerAndCommenterConfig = {
|
|
|
3549
3548
|
abi: callerAndCommenterABI
|
|
3550
3549
|
};
|
|
3551
3550
|
var coinABI = [
|
|
3552
|
-
{
|
|
3553
|
-
type: "constructor",
|
|
3554
|
-
inputs: [
|
|
3555
|
-
{
|
|
3556
|
-
name: "protocolRewardRecipient_",
|
|
3557
|
-
internalType: "address",
|
|
3558
|
-
type: "address"
|
|
3559
|
-
},
|
|
3560
|
-
{ name: "protocolRewards_", internalType: "address", type: "address" },
|
|
3561
|
-
{ name: "weth_", internalType: "address", type: "address" },
|
|
3562
|
-
{ name: "v3Factory_", internalType: "address", type: "address" },
|
|
3563
|
-
{ name: "swapRouter_", internalType: "address", type: "address" },
|
|
3564
|
-
{ name: "airlock_", internalType: "address", type: "address" }
|
|
3565
|
-
],
|
|
3566
|
-
stateMutability: "nonpayable"
|
|
3567
|
-
},
|
|
3568
|
-
{ type: "receive", stateMutability: "payable" },
|
|
3569
3551
|
{
|
|
3570
3552
|
type: "function",
|
|
3571
3553
|
inputs: [],
|
|
@@ -3573,13 +3555,6 @@ var coinABI = [
|
|
|
3573
3555
|
outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
|
|
3574
3556
|
stateMutability: "view"
|
|
3575
3557
|
},
|
|
3576
|
-
{
|
|
3577
|
-
type: "function",
|
|
3578
|
-
inputs: [],
|
|
3579
|
-
name: "WETH",
|
|
3580
|
-
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
3581
|
-
stateMutability: "view"
|
|
3582
|
-
},
|
|
3583
3558
|
{
|
|
3584
3559
|
type: "function",
|
|
3585
3560
|
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
@@ -3637,29 +3612,6 @@ var coinABI = [
|
|
|
3637
3612
|
outputs: [],
|
|
3638
3613
|
stateMutability: "nonpayable"
|
|
3639
3614
|
},
|
|
3640
|
-
{
|
|
3641
|
-
type: "function",
|
|
3642
|
-
inputs: [
|
|
3643
|
-
{ name: "recipient", internalType: "address", type: "address" },
|
|
3644
|
-
{ name: "orderSize", internalType: "uint256", type: "uint256" },
|
|
3645
|
-
{ name: "minAmountOut", internalType: "uint256", type: "uint256" },
|
|
3646
|
-
{ name: "sqrtPriceLimitX96", internalType: "uint160", type: "uint160" },
|
|
3647
|
-
{ name: "tradeReferrer", internalType: "address", type: "address" }
|
|
3648
|
-
],
|
|
3649
|
-
name: "buy",
|
|
3650
|
-
outputs: [
|
|
3651
|
-
{ name: "", internalType: "uint256", type: "uint256" },
|
|
3652
|
-
{ name: "", internalType: "uint256", type: "uint256" }
|
|
3653
|
-
],
|
|
3654
|
-
stateMutability: "payable"
|
|
3655
|
-
},
|
|
3656
|
-
{
|
|
3657
|
-
type: "function",
|
|
3658
|
-
inputs: [{ name: "pushEthRewards", internalType: "bool", type: "bool" }],
|
|
3659
|
-
name: "claimSecondaryRewards",
|
|
3660
|
-
outputs: [],
|
|
3661
|
-
stateMutability: "nonpayable"
|
|
3662
|
-
},
|
|
3663
3615
|
{
|
|
3664
3616
|
type: "function",
|
|
3665
3617
|
inputs: [],
|
|
@@ -3710,6 +3662,48 @@ var coinABI = [
|
|
|
3710
3662
|
],
|
|
3711
3663
|
stateMutability: "view"
|
|
3712
3664
|
},
|
|
3665
|
+
{
|
|
3666
|
+
type: "function",
|
|
3667
|
+
inputs: [
|
|
3668
|
+
{
|
|
3669
|
+
name: "coinVersionLookup",
|
|
3670
|
+
internalType: "contract IDeployedCoinVersionLookup",
|
|
3671
|
+
type: "address"
|
|
3672
|
+
}
|
|
3673
|
+
],
|
|
3674
|
+
name: "getPayoutSwapPath",
|
|
3675
|
+
outputs: [
|
|
3676
|
+
{
|
|
3677
|
+
name: "payoutSwapPath",
|
|
3678
|
+
internalType: "struct IHasSwapPath.PayoutSwapPath",
|
|
3679
|
+
type: "tuple",
|
|
3680
|
+
components: [
|
|
3681
|
+
{
|
|
3682
|
+
name: "path",
|
|
3683
|
+
internalType: "struct PathKey[]",
|
|
3684
|
+
type: "tuple[]",
|
|
3685
|
+
components: [
|
|
3686
|
+
{
|
|
3687
|
+
name: "intermediateCurrency",
|
|
3688
|
+
internalType: "Currency",
|
|
3689
|
+
type: "address"
|
|
3690
|
+
},
|
|
3691
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
3692
|
+
{ name: "tickSpacing", internalType: "int24", type: "int24" },
|
|
3693
|
+
{
|
|
3694
|
+
name: "hooks",
|
|
3695
|
+
internalType: "contract IHooks",
|
|
3696
|
+
type: "address"
|
|
3697
|
+
},
|
|
3698
|
+
{ name: "hookData", internalType: "bytes", type: "bytes" }
|
|
3699
|
+
]
|
|
3700
|
+
},
|
|
3701
|
+
{ name: "currencyIn", internalType: "Currency", type: "address" }
|
|
3702
|
+
]
|
|
3703
|
+
}
|
|
3704
|
+
],
|
|
3705
|
+
stateMutability: "view"
|
|
3706
|
+
},
|
|
3713
3707
|
{
|
|
3714
3708
|
type: "function",
|
|
3715
3709
|
inputs: [],
|
|
@@ -3741,6 +3735,33 @@ var coinABI = [
|
|
|
3741
3735
|
],
|
|
3742
3736
|
stateMutability: "view"
|
|
3743
3737
|
},
|
|
3738
|
+
{
|
|
3739
|
+
type: "function",
|
|
3740
|
+
inputs: [],
|
|
3741
|
+
name: "getPoolKey",
|
|
3742
|
+
outputs: [
|
|
3743
|
+
{
|
|
3744
|
+
name: "",
|
|
3745
|
+
internalType: "struct PoolKey",
|
|
3746
|
+
type: "tuple",
|
|
3747
|
+
components: [
|
|
3748
|
+
{ name: "currency0", internalType: "Currency", type: "address" },
|
|
3749
|
+
{ name: "currency1", internalType: "Currency", type: "address" },
|
|
3750
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
3751
|
+
{ name: "tickSpacing", internalType: "int24", type: "int24" },
|
|
3752
|
+
{ name: "hooks", internalType: "contract IHooks", type: "address" }
|
|
3753
|
+
]
|
|
3754
|
+
}
|
|
3755
|
+
],
|
|
3756
|
+
stateMutability: "view"
|
|
3757
|
+
},
|
|
3758
|
+
{
|
|
3759
|
+
type: "function",
|
|
3760
|
+
inputs: [],
|
|
3761
|
+
name: "hooks",
|
|
3762
|
+
outputs: [{ name: "", internalType: "contract IHooks", type: "address" }],
|
|
3763
|
+
stateMutability: "view"
|
|
3764
|
+
},
|
|
3744
3765
|
{
|
|
3745
3766
|
type: "function",
|
|
3746
3767
|
inputs: [
|
|
@@ -3751,7 +3772,19 @@ var coinABI = [
|
|
|
3751
3772
|
{ name: "symbol_", internalType: "string", type: "string" },
|
|
3752
3773
|
{ name: "platformReferrer_", internalType: "address", type: "address" },
|
|
3753
3774
|
{ name: "currency_", internalType: "address", type: "address" },
|
|
3754
|
-
{
|
|
3775
|
+
{
|
|
3776
|
+
name: "poolKey_",
|
|
3777
|
+
internalType: "struct PoolKey",
|
|
3778
|
+
type: "tuple",
|
|
3779
|
+
components: [
|
|
3780
|
+
{ name: "currency0", internalType: "Currency", type: "address" },
|
|
3781
|
+
{ name: "currency1", internalType: "Currency", type: "address" },
|
|
3782
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
3783
|
+
{ name: "tickSpacing", internalType: "int24", type: "int24" },
|
|
3784
|
+
{ name: "hooks", internalType: "contract IHooks", type: "address" }
|
|
3785
|
+
]
|
|
3786
|
+
},
|
|
3787
|
+
{ name: "sqrtPriceX96", internalType: "uint160", type: "uint160" },
|
|
3755
3788
|
{
|
|
3756
3789
|
name: "poolConfiguration_",
|
|
3757
3790
|
internalType: "struct PoolConfiguration",
|
|
@@ -3774,16 +3807,6 @@ var coinABI = [
|
|
|
3774
3807
|
type: "uint256[]"
|
|
3775
3808
|
}
|
|
3776
3809
|
]
|
|
3777
|
-
},
|
|
3778
|
-
{
|
|
3779
|
-
name: "positions_",
|
|
3780
|
-
internalType: "struct LpPosition[]",
|
|
3781
|
-
type: "tuple[]",
|
|
3782
|
-
components: [
|
|
3783
|
-
{ name: "tickLower", internalType: "int24", type: "int24" },
|
|
3784
|
-
{ name: "tickUpper", internalType: "int24", type: "int24" },
|
|
3785
|
-
{ name: "liquidity", internalType: "uint128", type: "uint128" }
|
|
3786
|
-
]
|
|
3787
3810
|
}
|
|
3788
3811
|
],
|
|
3789
3812
|
name: "initialize",
|
|
@@ -3799,17 +3822,26 @@ var coinABI = [
|
|
|
3799
3822
|
},
|
|
3800
3823
|
{
|
|
3801
3824
|
type: "function",
|
|
3802
|
-
inputs: [
|
|
3803
|
-
|
|
3804
|
-
|
|
3805
|
-
|
|
3806
|
-
|
|
3807
|
-
|
|
3808
|
-
|
|
3809
|
-
|
|
3810
|
-
|
|
3811
|
-
|
|
3812
|
-
|
|
3825
|
+
inputs: [
|
|
3826
|
+
{ name: "newHook", internalType: "address", type: "address" },
|
|
3827
|
+
{ name: "additionalData", internalType: "bytes", type: "bytes" }
|
|
3828
|
+
],
|
|
3829
|
+
name: "migrateLiquidity",
|
|
3830
|
+
outputs: [
|
|
3831
|
+
{
|
|
3832
|
+
name: "newPoolKey",
|
|
3833
|
+
internalType: "struct PoolKey",
|
|
3834
|
+
type: "tuple",
|
|
3835
|
+
components: [
|
|
3836
|
+
{ name: "currency0", internalType: "Currency", type: "address" },
|
|
3837
|
+
{ name: "currency1", internalType: "Currency", type: "address" },
|
|
3838
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
3839
|
+
{ name: "tickSpacing", internalType: "int24", type: "int24" },
|
|
3840
|
+
{ name: "hooks", internalType: "contract IHooks", type: "address" }
|
|
3841
|
+
]
|
|
3842
|
+
}
|
|
3843
|
+
],
|
|
3844
|
+
stateMutability: "nonpayable"
|
|
3813
3845
|
},
|
|
3814
3846
|
{
|
|
3815
3847
|
type: "function",
|
|
@@ -3864,30 +3896,9 @@ var coinABI = [
|
|
|
3864
3896
|
{
|
|
3865
3897
|
type: "function",
|
|
3866
3898
|
inputs: [],
|
|
3867
|
-
name: "
|
|
3868
|
-
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
3869
|
-
stateMutability: "view"
|
|
3870
|
-
},
|
|
3871
|
-
{
|
|
3872
|
-
type: "function",
|
|
3873
|
-
inputs: [],
|
|
3874
|
-
name: "poolConfiguration",
|
|
3875
|
-
outputs: [
|
|
3876
|
-
{ name: "version", internalType: "uint8", type: "uint8" },
|
|
3877
|
-
{ name: "numPositions", internalType: "uint16", type: "uint16" },
|
|
3878
|
-
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
3879
|
-
{ name: "tickSpacing", internalType: "int24", type: "int24" }
|
|
3880
|
-
],
|
|
3881
|
-
stateMutability: "view"
|
|
3882
|
-
},
|
|
3883
|
-
{
|
|
3884
|
-
type: "function",
|
|
3885
|
-
inputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
3886
|
-
name: "positions",
|
|
3899
|
+
name: "poolManager",
|
|
3887
3900
|
outputs: [
|
|
3888
|
-
{ name: "
|
|
3889
|
-
{ name: "tickUpper", internalType: "int24", type: "int24" },
|
|
3890
|
-
{ name: "liquidity", internalType: "uint128", type: "uint128" }
|
|
3901
|
+
{ name: "", internalType: "contract IPoolManager", type: "address" }
|
|
3891
3902
|
],
|
|
3892
3903
|
stateMutability: "view"
|
|
3893
3904
|
},
|
|
@@ -3928,22 +3939,6 @@ var coinABI = [
|
|
|
3928
3939
|
outputs: [],
|
|
3929
3940
|
stateMutability: "nonpayable"
|
|
3930
3941
|
},
|
|
3931
|
-
{
|
|
3932
|
-
type: "function",
|
|
3933
|
-
inputs: [
|
|
3934
|
-
{ name: "recipient", internalType: "address", type: "address" },
|
|
3935
|
-
{ name: "orderSize", internalType: "uint256", type: "uint256" },
|
|
3936
|
-
{ name: "minAmountOut", internalType: "uint256", type: "uint256" },
|
|
3937
|
-
{ name: "sqrtPriceLimitX96", internalType: "uint160", type: "uint160" },
|
|
3938
|
-
{ name: "tradeReferrer", internalType: "address", type: "address" }
|
|
3939
|
-
],
|
|
3940
|
-
name: "sell",
|
|
3941
|
-
outputs: [
|
|
3942
|
-
{ name: "", internalType: "uint256", type: "uint256" },
|
|
3943
|
-
{ name: "", internalType: "uint256", type: "uint256" }
|
|
3944
|
-
],
|
|
3945
|
-
stateMutability: "nonpayable"
|
|
3946
|
-
},
|
|
3947
3942
|
{
|
|
3948
3943
|
type: "function",
|
|
3949
3944
|
inputs: [{ name: "newURI", internalType: "string", type: "string" }],
|
|
@@ -3975,13 +3970,6 @@ var coinABI = [
|
|
|
3975
3970
|
inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
|
|
3976
3971
|
name: "supportsInterface",
|
|
3977
3972
|
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
3978
|
-
stateMutability: "pure"
|
|
3979
|
-
},
|
|
3980
|
-
{
|
|
3981
|
-
type: "function",
|
|
3982
|
-
inputs: [],
|
|
3983
|
-
name: "swapRouter",
|
|
3984
|
-
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
3985
3973
|
stateMutability: "view"
|
|
3986
3974
|
},
|
|
3987
3975
|
{
|
|
@@ -4026,24 +4014,6 @@ var coinABI = [
|
|
|
4026
4014
|
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
4027
4015
|
stateMutability: "nonpayable"
|
|
4028
4016
|
},
|
|
4029
|
-
{
|
|
4030
|
-
type: "function",
|
|
4031
|
-
inputs: [
|
|
4032
|
-
{ name: "amount0Owed", internalType: "uint256", type: "uint256" },
|
|
4033
|
-
{ name: "amount1Owed", internalType: "uint256", type: "uint256" },
|
|
4034
|
-
{ name: "", internalType: "bytes", type: "bytes" }
|
|
4035
|
-
],
|
|
4036
|
-
name: "uniswapV3MintCallback",
|
|
4037
|
-
outputs: [],
|
|
4038
|
-
stateMutability: "nonpayable"
|
|
4039
|
-
},
|
|
4040
|
-
{
|
|
4041
|
-
type: "function",
|
|
4042
|
-
inputs: [],
|
|
4043
|
-
name: "v3Factory",
|
|
4044
|
-
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
4045
|
-
stateMutability: "view"
|
|
4046
|
-
},
|
|
4047
4017
|
{
|
|
4048
4018
|
type: "event",
|
|
4049
4019
|
anonymous: false,
|
|
@@ -4400,6 +4370,51 @@ var coinABI = [
|
|
|
4400
4370
|
],
|
|
4401
4371
|
name: "Initialized"
|
|
4402
4372
|
},
|
|
4373
|
+
{
|
|
4374
|
+
type: "event",
|
|
4375
|
+
anonymous: false,
|
|
4376
|
+
inputs: [
|
|
4377
|
+
{
|
|
4378
|
+
name: "fromPoolKey",
|
|
4379
|
+
internalType: "struct PoolKey",
|
|
4380
|
+
type: "tuple",
|
|
4381
|
+
components: [
|
|
4382
|
+
{ name: "currency0", internalType: "Currency", type: "address" },
|
|
4383
|
+
{ name: "currency1", internalType: "Currency", type: "address" },
|
|
4384
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
4385
|
+
{ name: "tickSpacing", internalType: "int24", type: "int24" },
|
|
4386
|
+
{ name: "hooks", internalType: "contract IHooks", type: "address" }
|
|
4387
|
+
],
|
|
4388
|
+
indexed: false
|
|
4389
|
+
},
|
|
4390
|
+
{
|
|
4391
|
+
name: "fromPoolKeyHash",
|
|
4392
|
+
internalType: "bytes32",
|
|
4393
|
+
type: "bytes32",
|
|
4394
|
+
indexed: false
|
|
4395
|
+
},
|
|
4396
|
+
{
|
|
4397
|
+
name: "toPoolKey",
|
|
4398
|
+
internalType: "struct PoolKey",
|
|
4399
|
+
type: "tuple",
|
|
4400
|
+
components: [
|
|
4401
|
+
{ name: "currency0", internalType: "Currency", type: "address" },
|
|
4402
|
+
{ name: "currency1", internalType: "Currency", type: "address" },
|
|
4403
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
4404
|
+
{ name: "tickSpacing", internalType: "int24", type: "int24" },
|
|
4405
|
+
{ name: "hooks", internalType: "contract IHooks", type: "address" }
|
|
4406
|
+
],
|
|
4407
|
+
indexed: false
|
|
4408
|
+
},
|
|
4409
|
+
{
|
|
4410
|
+
name: "toPoolKeyHash",
|
|
4411
|
+
internalType: "bytes32",
|
|
4412
|
+
type: "bytes32",
|
|
4413
|
+
indexed: false
|
|
4414
|
+
}
|
|
4415
|
+
],
|
|
4416
|
+
name: "LiquidityMigrated"
|
|
4417
|
+
},
|
|
4403
4418
|
{
|
|
4404
4419
|
type: "event",
|
|
4405
4420
|
anonymous: false,
|
|
@@ -4465,17 +4480,6 @@ var coinABI = [
|
|
|
4465
4480
|
],
|
|
4466
4481
|
name: "Transfer"
|
|
4467
4482
|
},
|
|
4468
|
-
{
|
|
4469
|
-
type: "error",
|
|
4470
|
-
inputs: [{ name: "target", internalType: "address", type: "address" }],
|
|
4471
|
-
name: "AddressEmptyCode"
|
|
4472
|
-
},
|
|
4473
|
-
{
|
|
4474
|
-
type: "error",
|
|
4475
|
-
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
4476
|
-
name: "AddressInsufficientBalance"
|
|
4477
|
-
},
|
|
4478
|
-
{ type: "error", inputs: [], name: "AddressZero" },
|
|
4479
4483
|
{ type: "error", inputs: [], name: "AddressZero" },
|
|
4480
4484
|
{ type: "error", inputs: [], name: "AlreadyOwner" },
|
|
4481
4485
|
{ type: "error", inputs: [], name: "CannotMintZeroLiquidity" },
|
|
@@ -4551,7 +4555,6 @@ var coinABI = [
|
|
|
4551
4555
|
{ type: "error", inputs: [], name: "EthAmountTooSmall" },
|
|
4552
4556
|
{ type: "error", inputs: [], name: "EthTransferFailed" },
|
|
4553
4557
|
{ type: "error", inputs: [], name: "EthTransferInvalid" },
|
|
4554
|
-
{ type: "error", inputs: [], name: "FailedInnerCall" },
|
|
4555
4558
|
{ type: "error", inputs: [], name: "InitialOrderSizeTooLarge" },
|
|
4556
4559
|
{ type: "error", inputs: [], name: "InsufficientFunds" },
|
|
4557
4560
|
{ type: "error", inputs: [], name: "InsufficientLiquidity" },
|
|
@@ -4604,11 +4607,6 @@ var coinABI = [
|
|
|
4604
4607
|
{ type: "error", inputs: [], name: "OnlyWeth" },
|
|
4605
4608
|
{ type: "error", inputs: [], name: "OwnerCannotBeAddressZero" },
|
|
4606
4609
|
{ type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
|
|
4607
|
-
{
|
|
4608
|
-
type: "error",
|
|
4609
|
-
inputs: [{ name: "token", internalType: "address", type: "address" }],
|
|
4610
|
-
name: "SafeERC20FailedOperation"
|
|
4611
|
-
},
|
|
4612
4610
|
{ type: "error", inputs: [], name: "SlippageBoundsExceeded" },
|
|
4613
4611
|
{ type: "error", inputs: [], name: "UseRevokeOwnershipToRemoveSelf" }
|
|
4614
4612
|
];
|
|
@@ -4616,7 +4614,6 @@ var coinFactoryABI = [
|
|
|
4616
4614
|
{
|
|
4617
4615
|
type: "constructor",
|
|
4618
4616
|
inputs: [
|
|
4619
|
-
{ name: "_coinImpl", internalType: "address", type: "address" },
|
|
4620
4617
|
{ name: "_coinV4Impl", internalType: "address", type: "address" },
|
|
4621
4618
|
{ name: "_creatorCoinImpl", internalType: "address", type: "address" },
|
|
4622
4619
|
{ name: "_contentCoinHook", internalType: "address", type: "address" },
|
|
@@ -4631,6 +4628,13 @@ var coinFactoryABI = [
|
|
|
4631
4628
|
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
4632
4629
|
stateMutability: "view"
|
|
4633
4630
|
},
|
|
4631
|
+
{
|
|
4632
|
+
type: "function",
|
|
4633
|
+
inputs: [],
|
|
4634
|
+
name: "acceptOwnership",
|
|
4635
|
+
outputs: [],
|
|
4636
|
+
stateMutability: "nonpayable"
|
|
4637
|
+
},
|
|
4634
4638
|
{
|
|
4635
4639
|
type: "function",
|
|
4636
4640
|
inputs: [
|
|
@@ -4645,13 +4649,6 @@ var coinFactoryABI = [
|
|
|
4645
4649
|
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
4646
4650
|
stateMutability: "view"
|
|
4647
4651
|
},
|
|
4648
|
-
{
|
|
4649
|
-
type: "function",
|
|
4650
|
-
inputs: [],
|
|
4651
|
-
name: "coinImpl",
|
|
4652
|
-
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
4653
|
-
stateMutability: "view"
|
|
4654
|
-
},
|
|
4655
4652
|
{
|
|
4656
4653
|
type: "function",
|
|
4657
4654
|
inputs: [],
|
|
@@ -4745,7 +4742,7 @@ var coinFactoryABI = [
|
|
|
4745
4742
|
{ name: "symbol", internalType: "string", type: "string" },
|
|
4746
4743
|
{ name: "poolConfig", internalType: "bytes", type: "bytes" },
|
|
4747
4744
|
{ name: "platformReferrer", internalType: "address", type: "address" },
|
|
4748
|
-
{ name: "
|
|
4745
|
+
{ name: "", internalType: "uint256", type: "uint256" }
|
|
4749
4746
|
],
|
|
4750
4747
|
name: "deploy",
|
|
4751
4748
|
outputs: [
|
|
@@ -4820,6 +4817,13 @@ var coinFactoryABI = [
|
|
|
4820
4817
|
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
4821
4818
|
stateMutability: "view"
|
|
4822
4819
|
},
|
|
4820
|
+
{
|
|
4821
|
+
type: "function",
|
|
4822
|
+
inputs: [],
|
|
4823
|
+
name: "pendingOwner",
|
|
4824
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
4825
|
+
stateMutability: "view"
|
|
4826
|
+
},
|
|
4823
4827
|
{
|
|
4824
4828
|
type: "function",
|
|
4825
4829
|
inputs: [],
|
|
@@ -5061,6 +5065,25 @@ var coinFactoryABI = [
|
|
|
5061
5065
|
],
|
|
5062
5066
|
name: "Initialized"
|
|
5063
5067
|
},
|
|
5068
|
+
{
|
|
5069
|
+
type: "event",
|
|
5070
|
+
anonymous: false,
|
|
5071
|
+
inputs: [
|
|
5072
|
+
{
|
|
5073
|
+
name: "previousOwner",
|
|
5074
|
+
internalType: "address",
|
|
5075
|
+
type: "address",
|
|
5076
|
+
indexed: true
|
|
5077
|
+
},
|
|
5078
|
+
{
|
|
5079
|
+
name: "newOwner",
|
|
5080
|
+
internalType: "address",
|
|
5081
|
+
type: "address",
|
|
5082
|
+
indexed: true
|
|
5083
|
+
}
|
|
5084
|
+
],
|
|
5085
|
+
name: "OwnershipTransferStarted"
|
|
5086
|
+
},
|
|
5064
5087
|
{
|
|
5065
5088
|
type: "event",
|
|
5066
5089
|
anonymous: false,
|
|
@@ -5098,13 +5121,7 @@ var coinFactoryABI = [
|
|
|
5098
5121
|
inputs: [{ name: "target", internalType: "address", type: "address" }],
|
|
5099
5122
|
name: "AddressEmptyCode"
|
|
5100
5123
|
},
|
|
5101
|
-
{
|
|
5102
|
-
type: "error",
|
|
5103
|
-
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
5104
|
-
name: "AddressInsufficientBalance"
|
|
5105
|
-
},
|
|
5106
5124
|
{ type: "error", inputs: [], name: "ArrayLengthMismatch" },
|
|
5107
|
-
{ type: "error", inputs: [], name: "CannotMintZeroLiquidity" },
|
|
5108
5125
|
{ type: "error", inputs: [], name: "ConfigTickLowerMustBeLessThanTickUpper" },
|
|
5109
5126
|
{ type: "error", inputs: [], name: "Deprecated" },
|
|
5110
5127
|
{ type: "error", inputs: [], name: "ERC1167FailedCreateClone" },
|
|
@@ -5116,7 +5133,6 @@ var coinFactoryABI = [
|
|
|
5116
5133
|
name: "ERC1967InvalidImplementation"
|
|
5117
5134
|
},
|
|
5118
5135
|
{ type: "error", inputs: [], name: "ERC1967NonPayable" },
|
|
5119
|
-
{ type: "error", inputs: [], name: "ERC20TransferAmountMismatch" },
|
|
5120
5136
|
{ type: "error", inputs: [], name: "EthTransferInvalid" },
|
|
5121
5137
|
{ type: "error", inputs: [], name: "FailedInnerCall" },
|
|
5122
5138
|
{ type: "error", inputs: [], name: "InvalidConfig" },
|
|
@@ -5131,14 +5147,6 @@ var coinFactoryABI = [
|
|
|
5131
5147
|
],
|
|
5132
5148
|
name: "InvalidTickRangeMisordered"
|
|
5133
5149
|
},
|
|
5134
|
-
{
|
|
5135
|
-
type: "error",
|
|
5136
|
-
inputs: [
|
|
5137
|
-
{ name: "tickLower", internalType: "int24", type: "int24" },
|
|
5138
|
-
{ name: "tickUpper", internalType: "int24", type: "int24" }
|
|
5139
|
-
],
|
|
5140
|
-
name: "InvalidTickRangeMisordered"
|
|
5141
|
-
},
|
|
5142
5150
|
{
|
|
5143
5151
|
type: "error",
|
|
5144
5152
|
inputs: [
|
|
@@ -5160,11 +5168,6 @@ var coinFactoryABI = [
|
|
|
5160
5168
|
name: "OwnableUnauthorizedAccount"
|
|
5161
5169
|
},
|
|
5162
5170
|
{ type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
|
|
5163
|
-
{
|
|
5164
|
-
type: "error",
|
|
5165
|
-
inputs: [{ name: "token", internalType: "address", type: "address" }],
|
|
5166
|
-
name: "SafeERC20FailedOperation"
|
|
5167
|
-
},
|
|
5168
5171
|
{ type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
|
|
5169
5172
|
{
|
|
5170
5173
|
type: "error",
|
|
@@ -5195,17 +5198,17 @@ var coinV4ABI = [
|
|
|
5195
5198
|
type: "constructor",
|
|
5196
5199
|
inputs: [
|
|
5197
5200
|
{
|
|
5198
|
-
name: "
|
|
5201
|
+
name: "_protocolRewardRecipient",
|
|
5199
5202
|
internalType: "address",
|
|
5200
5203
|
type: "address"
|
|
5201
5204
|
},
|
|
5202
|
-
{ name: "
|
|
5205
|
+
{ name: "_protocolRewards", internalType: "address", type: "address" },
|
|
5203
5206
|
{
|
|
5204
|
-
name: "
|
|
5207
|
+
name: "_poolManager",
|
|
5205
5208
|
internalType: "contract IPoolManager",
|
|
5206
5209
|
type: "address"
|
|
5207
5210
|
},
|
|
5208
|
-
{ name: "
|
|
5211
|
+
{ name: "_airlock", internalType: "address", type: "address" }
|
|
5209
5212
|
],
|
|
5210
5213
|
stateMutability: "nonpayable"
|
|
5211
5214
|
},
|
|
@@ -5273,6 +5276,13 @@ var coinV4ABI = [
|
|
|
5273
5276
|
outputs: [],
|
|
5274
5277
|
stateMutability: "nonpayable"
|
|
5275
5278
|
},
|
|
5279
|
+
{
|
|
5280
|
+
type: "function",
|
|
5281
|
+
inputs: [],
|
|
5282
|
+
name: "claimVesting",
|
|
5283
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
5284
|
+
stateMutability: "nonpayable"
|
|
5285
|
+
},
|
|
5276
5286
|
{
|
|
5277
5287
|
type: "function",
|
|
5278
5288
|
inputs: [],
|
|
@@ -5323,6 +5333,13 @@ var coinV4ABI = [
|
|
|
5323
5333
|
],
|
|
5324
5334
|
stateMutability: "view"
|
|
5325
5335
|
},
|
|
5336
|
+
{
|
|
5337
|
+
type: "function",
|
|
5338
|
+
inputs: [],
|
|
5339
|
+
name: "getClaimableAmount",
|
|
5340
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
5341
|
+
stateMutability: "view"
|
|
5342
|
+
},
|
|
5326
5343
|
{
|
|
5327
5344
|
type: "function",
|
|
5328
5345
|
inputs: [
|
|
@@ -5631,7 +5648,7 @@ var coinV4ABI = [
|
|
|
5631
5648
|
inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
|
|
5632
5649
|
name: "supportsInterface",
|
|
5633
5650
|
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
5634
|
-
stateMutability: "
|
|
5651
|
+
stateMutability: "view"
|
|
5635
5652
|
},
|
|
5636
5653
|
{
|
|
5637
5654
|
type: "function",
|
|
@@ -5647,6 +5664,13 @@ var coinV4ABI = [
|
|
|
5647
5664
|
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
5648
5665
|
stateMutability: "view"
|
|
5649
5666
|
},
|
|
5667
|
+
{
|
|
5668
|
+
type: "function",
|
|
5669
|
+
inputs: [],
|
|
5670
|
+
name: "totalClaimed",
|
|
5671
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
5672
|
+
stateMutability: "view"
|
|
5673
|
+
},
|
|
5650
5674
|
{
|
|
5651
5675
|
type: "function",
|
|
5652
5676
|
inputs: [],
|
|
@@ -5675,6 +5699,20 @@ var coinV4ABI = [
|
|
|
5675
5699
|
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
5676
5700
|
stateMutability: "nonpayable"
|
|
5677
5701
|
},
|
|
5702
|
+
{
|
|
5703
|
+
type: "function",
|
|
5704
|
+
inputs: [],
|
|
5705
|
+
name: "vestingEndTime",
|
|
5706
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
5707
|
+
stateMutability: "view"
|
|
5708
|
+
},
|
|
5709
|
+
{
|
|
5710
|
+
type: "function",
|
|
5711
|
+
inputs: [],
|
|
5712
|
+
name: "vestingStartTime",
|
|
5713
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
5714
|
+
stateMutability: "view"
|
|
5715
|
+
},
|
|
5678
5716
|
{
|
|
5679
5717
|
type: "event",
|
|
5680
5718
|
anonymous: false,
|
|
@@ -6017,6 +6055,43 @@ var coinV4ABI = [
|
|
|
6017
6055
|
name: "ContractMetadataUpdated"
|
|
6018
6056
|
},
|
|
6019
6057
|
{ type: "event", anonymous: false, inputs: [], name: "ContractURIUpdated" },
|
|
6058
|
+
{
|
|
6059
|
+
type: "event",
|
|
6060
|
+
anonymous: false,
|
|
6061
|
+
inputs: [
|
|
6062
|
+
{
|
|
6063
|
+
name: "recipient",
|
|
6064
|
+
internalType: "address",
|
|
6065
|
+
type: "address",
|
|
6066
|
+
indexed: true
|
|
6067
|
+
},
|
|
6068
|
+
{
|
|
6069
|
+
name: "claimAmount",
|
|
6070
|
+
internalType: "uint256",
|
|
6071
|
+
type: "uint256",
|
|
6072
|
+
indexed: false
|
|
6073
|
+
},
|
|
6074
|
+
{
|
|
6075
|
+
name: "totalClaimed",
|
|
6076
|
+
internalType: "uint256",
|
|
6077
|
+
type: "uint256",
|
|
6078
|
+
indexed: false
|
|
6079
|
+
},
|
|
6080
|
+
{
|
|
6081
|
+
name: "vestingStartTime",
|
|
6082
|
+
internalType: "uint256",
|
|
6083
|
+
type: "uint256",
|
|
6084
|
+
indexed: false
|
|
6085
|
+
},
|
|
6086
|
+
{
|
|
6087
|
+
name: "vestingEndTime",
|
|
6088
|
+
internalType: "uint256",
|
|
6089
|
+
type: "uint256",
|
|
6090
|
+
indexed: false
|
|
6091
|
+
}
|
|
6092
|
+
],
|
|
6093
|
+
name: "CreatorVestingClaimed"
|
|
6094
|
+
},
|
|
6020
6095
|
{ type: "event", anonymous: false, inputs: [], name: "EIP712DomainChanged" },
|
|
6021
6096
|
{
|
|
6022
6097
|
type: "event",
|
|
@@ -6227,6 +6302,7 @@ var coinV4ABI = [
|
|
|
6227
6302
|
],
|
|
6228
6303
|
name: "InvalidAccountNonce"
|
|
6229
6304
|
},
|
|
6305
|
+
{ type: "error", inputs: [], name: "InvalidCurrency" },
|
|
6230
6306
|
{ type: "error", inputs: [], name: "InvalidCurrencyLowerTick" },
|
|
6231
6307
|
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
6232
6308
|
{ type: "error", inputs: [], name: "InvalidMarketType" },
|
|
@@ -8012,7 +8088,6 @@ var commentsABI = [
|
|
|
8012
8088
|
{ type: "error", inputs: [], name: "NotInitializing" },
|
|
8013
8089
|
{ type: "error", inputs: [], name: "NotSmartWallet" },
|
|
8014
8090
|
{ type: "error", inputs: [], name: "NotSmartWalletOwner" },
|
|
8015
|
-
{ type: "error", inputs: [], name: "NotTokenHolderOrAdmin" },
|
|
8016
8091
|
{ type: "error", inputs: [], name: "OnlySparksContract" },
|
|
8017
8092
|
{ type: "error", inputs: [], name: "TransferFailed" },
|
|
8018
8093
|
{ type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
|
|
@@ -8143,7 +8218,6 @@ var devCoinFactoryABI = [
|
|
|
8143
8218
|
{
|
|
8144
8219
|
type: "constructor",
|
|
8145
8220
|
inputs: [
|
|
8146
|
-
{ name: "_coinImpl", internalType: "address", type: "address" },
|
|
8147
8221
|
{ name: "_coinV4Impl", internalType: "address", type: "address" },
|
|
8148
8222
|
{ name: "_creatorCoinImpl", internalType: "address", type: "address" },
|
|
8149
8223
|
{ name: "_contentCoinHook", internalType: "address", type: "address" },
|
|
@@ -8158,6 +8232,13 @@ var devCoinFactoryABI = [
|
|
|
8158
8232
|
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
8159
8233
|
stateMutability: "view"
|
|
8160
8234
|
},
|
|
8235
|
+
{
|
|
8236
|
+
type: "function",
|
|
8237
|
+
inputs: [],
|
|
8238
|
+
name: "acceptOwnership",
|
|
8239
|
+
outputs: [],
|
|
8240
|
+
stateMutability: "nonpayable"
|
|
8241
|
+
},
|
|
8161
8242
|
{
|
|
8162
8243
|
type: "function",
|
|
8163
8244
|
inputs: [
|
|
@@ -8172,13 +8253,6 @@ var devCoinFactoryABI = [
|
|
|
8172
8253
|
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
8173
8254
|
stateMutability: "view"
|
|
8174
8255
|
},
|
|
8175
|
-
{
|
|
8176
|
-
type: "function",
|
|
8177
|
-
inputs: [],
|
|
8178
|
-
name: "coinImpl",
|
|
8179
|
-
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
8180
|
-
stateMutability: "view"
|
|
8181
|
-
},
|
|
8182
8256
|
{
|
|
8183
8257
|
type: "function",
|
|
8184
8258
|
inputs: [],
|
|
@@ -8272,7 +8346,7 @@ var devCoinFactoryABI = [
|
|
|
8272
8346
|
{ name: "symbol", internalType: "string", type: "string" },
|
|
8273
8347
|
{ name: "poolConfig", internalType: "bytes", type: "bytes" },
|
|
8274
8348
|
{ name: "platformReferrer", internalType: "address", type: "address" },
|
|
8275
|
-
{ name: "
|
|
8349
|
+
{ name: "", internalType: "uint256", type: "uint256" }
|
|
8276
8350
|
],
|
|
8277
8351
|
name: "deploy",
|
|
8278
8352
|
outputs: [
|
|
@@ -8347,6 +8421,13 @@ var devCoinFactoryABI = [
|
|
|
8347
8421
|
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
8348
8422
|
stateMutability: "view"
|
|
8349
8423
|
},
|
|
8424
|
+
{
|
|
8425
|
+
type: "function",
|
|
8426
|
+
inputs: [],
|
|
8427
|
+
name: "pendingOwner",
|
|
8428
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
8429
|
+
stateMutability: "view"
|
|
8430
|
+
},
|
|
8350
8431
|
{
|
|
8351
8432
|
type: "function",
|
|
8352
8433
|
inputs: [],
|
|
@@ -8588,6 +8669,25 @@ var devCoinFactoryABI = [
|
|
|
8588
8669
|
],
|
|
8589
8670
|
name: "Initialized"
|
|
8590
8671
|
},
|
|
8672
|
+
{
|
|
8673
|
+
type: "event",
|
|
8674
|
+
anonymous: false,
|
|
8675
|
+
inputs: [
|
|
8676
|
+
{
|
|
8677
|
+
name: "previousOwner",
|
|
8678
|
+
internalType: "address",
|
|
8679
|
+
type: "address",
|
|
8680
|
+
indexed: true
|
|
8681
|
+
},
|
|
8682
|
+
{
|
|
8683
|
+
name: "newOwner",
|
|
8684
|
+
internalType: "address",
|
|
8685
|
+
type: "address",
|
|
8686
|
+
indexed: true
|
|
8687
|
+
}
|
|
8688
|
+
],
|
|
8689
|
+
name: "OwnershipTransferStarted"
|
|
8690
|
+
},
|
|
8591
8691
|
{
|
|
8592
8692
|
type: "event",
|
|
8593
8693
|
anonymous: false,
|
|
@@ -8625,13 +8725,7 @@ var devCoinFactoryABI = [
|
|
|
8625
8725
|
inputs: [{ name: "target", internalType: "address", type: "address" }],
|
|
8626
8726
|
name: "AddressEmptyCode"
|
|
8627
8727
|
},
|
|
8628
|
-
{
|
|
8629
|
-
type: "error",
|
|
8630
|
-
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
8631
|
-
name: "AddressInsufficientBalance"
|
|
8632
|
-
},
|
|
8633
8728
|
{ type: "error", inputs: [], name: "ArrayLengthMismatch" },
|
|
8634
|
-
{ type: "error", inputs: [], name: "CannotMintZeroLiquidity" },
|
|
8635
8729
|
{ type: "error", inputs: [], name: "ConfigTickLowerMustBeLessThanTickUpper" },
|
|
8636
8730
|
{ type: "error", inputs: [], name: "Deprecated" },
|
|
8637
8731
|
{ type: "error", inputs: [], name: "ERC1167FailedCreateClone" },
|
|
@@ -8643,7 +8737,6 @@ var devCoinFactoryABI = [
|
|
|
8643
8737
|
name: "ERC1967InvalidImplementation"
|
|
8644
8738
|
},
|
|
8645
8739
|
{ type: "error", inputs: [], name: "ERC1967NonPayable" },
|
|
8646
|
-
{ type: "error", inputs: [], name: "ERC20TransferAmountMismatch" },
|
|
8647
8740
|
{ type: "error", inputs: [], name: "EthTransferInvalid" },
|
|
8648
8741
|
{ type: "error", inputs: [], name: "FailedInnerCall" },
|
|
8649
8742
|
{ type: "error", inputs: [], name: "InvalidConfig" },
|
|
@@ -8658,14 +8751,6 @@ var devCoinFactoryABI = [
|
|
|
8658
8751
|
],
|
|
8659
8752
|
name: "InvalidTickRangeMisordered"
|
|
8660
8753
|
},
|
|
8661
|
-
{
|
|
8662
|
-
type: "error",
|
|
8663
|
-
inputs: [
|
|
8664
|
-
{ name: "tickLower", internalType: "int24", type: "int24" },
|
|
8665
|
-
{ name: "tickUpper", internalType: "int24", type: "int24" }
|
|
8666
|
-
],
|
|
8667
|
-
name: "InvalidTickRangeMisordered"
|
|
8668
|
-
},
|
|
8669
8754
|
{
|
|
8670
8755
|
type: "error",
|
|
8671
8756
|
inputs: [
|
|
@@ -8687,11 +8772,6 @@ var devCoinFactoryABI = [
|
|
|
8687
8772
|
name: "OwnableUnauthorizedAccount"
|
|
8688
8773
|
},
|
|
8689
8774
|
{ type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
|
|
8690
|
-
{
|
|
8691
|
-
type: "error",
|
|
8692
|
-
inputs: [{ name: "token", internalType: "address", type: "address" }],
|
|
8693
|
-
name: "SafeERC20FailedOperation"
|
|
8694
|
-
},
|
|
8695
8775
|
{ type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
|
|
8696
8776
|
{
|
|
8697
8777
|
type: "error",
|