@campnetwork/origin 1.3.0-alpha.1 → 1.3.0-alpha.3
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/dist/core.cjs +1 -1
- package/dist/core.esm.js +1 -1
- package/dist/react/index.esm.js +825 -829
- package/package.json +1 -1
package/dist/react/index.esm.js
CHANGED
|
@@ -3695,1237 +3695,1237 @@ var batchPurchaseAbi = [
|
|
|
3695
3695
|
|
|
3696
3696
|
var disputeAbi = [
|
|
3697
3697
|
{
|
|
3698
|
-
type: "constructor",
|
|
3699
3698
|
inputs: [
|
|
3700
3699
|
],
|
|
3701
|
-
stateMutability: "nonpayable"
|
|
3700
|
+
stateMutability: "nonpayable",
|
|
3701
|
+
type: "constructor"
|
|
3702
3702
|
},
|
|
3703
3703
|
{
|
|
3704
|
-
type: "function",
|
|
3705
|
-
name: "UPGRADE_INTERFACE_VERSION",
|
|
3706
3704
|
inputs: [
|
|
3707
|
-
],
|
|
3708
|
-
outputs: [
|
|
3709
3705
|
{
|
|
3710
|
-
|
|
3711
|
-
|
|
3712
|
-
|
|
3706
|
+
internalType: "address",
|
|
3707
|
+
name: "target",
|
|
3708
|
+
type: "address"
|
|
3713
3709
|
}
|
|
3714
3710
|
],
|
|
3715
|
-
|
|
3711
|
+
name: "AddressEmptyCode",
|
|
3712
|
+
type: "error"
|
|
3716
3713
|
},
|
|
3717
3714
|
{
|
|
3718
|
-
type: "function",
|
|
3719
|
-
name: "cancelDispute",
|
|
3720
3715
|
inputs: [
|
|
3721
|
-
{
|
|
3722
|
-
name: "id",
|
|
3723
|
-
type: "uint256",
|
|
3724
|
-
internalType: "uint256"
|
|
3725
|
-
}
|
|
3726
3716
|
],
|
|
3727
|
-
|
|
3717
|
+
name: "AlreadyVoted",
|
|
3718
|
+
type: "error"
|
|
3719
|
+
},
|
|
3720
|
+
{
|
|
3721
|
+
inputs: [
|
|
3728
3722
|
],
|
|
3729
|
-
|
|
3723
|
+
name: "CoolDownPeriodActive",
|
|
3724
|
+
type: "error"
|
|
3725
|
+
},
|
|
3726
|
+
{
|
|
3727
|
+
inputs: [
|
|
3728
|
+
],
|
|
3729
|
+
name: "CoolDownPeriodOver",
|
|
3730
|
+
type: "error"
|
|
3730
3731
|
},
|
|
3731
3732
|
{
|
|
3732
|
-
type: "function",
|
|
3733
|
-
name: "disputeAssertion",
|
|
3734
3733
|
inputs: [
|
|
3735
3734
|
{
|
|
3736
|
-
|
|
3737
|
-
|
|
3738
|
-
|
|
3739
|
-
},
|
|
3740
|
-
{
|
|
3741
|
-
name: "_counterEvidenceHash",
|
|
3742
|
-
type: "bytes32",
|
|
3743
|
-
internalType: "bytes32"
|
|
3735
|
+
internalType: "address",
|
|
3736
|
+
name: "implementation",
|
|
3737
|
+
type: "address"
|
|
3744
3738
|
}
|
|
3745
3739
|
],
|
|
3746
|
-
|
|
3747
|
-
|
|
3748
|
-
stateMutability: "nonpayable"
|
|
3740
|
+
name: "ERC1967InvalidImplementation",
|
|
3741
|
+
type: "error"
|
|
3749
3742
|
},
|
|
3750
3743
|
{
|
|
3751
|
-
type: "function",
|
|
3752
|
-
name: "disputeBond",
|
|
3753
3744
|
inputs: [
|
|
3754
3745
|
],
|
|
3755
|
-
|
|
3756
|
-
|
|
3757
|
-
|
|
3758
|
-
|
|
3759
|
-
|
|
3760
|
-
}
|
|
3746
|
+
name: "ERC1967NonPayable",
|
|
3747
|
+
type: "error"
|
|
3748
|
+
},
|
|
3749
|
+
{
|
|
3750
|
+
inputs: [
|
|
3761
3751
|
],
|
|
3762
|
-
|
|
3752
|
+
name: "EvidenceAlreadyUsed",
|
|
3753
|
+
type: "error"
|
|
3763
3754
|
},
|
|
3764
3755
|
{
|
|
3765
|
-
type: "function",
|
|
3766
|
-
name: "disputeCoolDownPeriod",
|
|
3767
3756
|
inputs: [
|
|
3768
3757
|
],
|
|
3769
|
-
|
|
3770
|
-
|
|
3771
|
-
|
|
3772
|
-
|
|
3773
|
-
|
|
3774
|
-
}
|
|
3758
|
+
name: "FailedCall",
|
|
3759
|
+
type: "error"
|
|
3760
|
+
},
|
|
3761
|
+
{
|
|
3762
|
+
inputs: [
|
|
3775
3763
|
],
|
|
3776
|
-
|
|
3764
|
+
name: "InvalidBondFeeBps",
|
|
3765
|
+
type: "error"
|
|
3777
3766
|
},
|
|
3778
3767
|
{
|
|
3779
|
-
type: "function",
|
|
3780
|
-
name: "disputeCounter",
|
|
3781
3768
|
inputs: [
|
|
3782
3769
|
],
|
|
3783
|
-
|
|
3784
|
-
|
|
3785
|
-
|
|
3786
|
-
|
|
3787
|
-
|
|
3788
|
-
}
|
|
3770
|
+
name: "InvalidChildIpId",
|
|
3771
|
+
type: "error"
|
|
3772
|
+
},
|
|
3773
|
+
{
|
|
3774
|
+
inputs: [
|
|
3789
3775
|
],
|
|
3790
|
-
|
|
3776
|
+
name: "InvalidDisputeStatus",
|
|
3777
|
+
type: "error"
|
|
3791
3778
|
},
|
|
3792
3779
|
{
|
|
3793
|
-
type: "function",
|
|
3794
|
-
name: "disputeJudgementPeriod",
|
|
3795
3780
|
inputs: [
|
|
3796
3781
|
],
|
|
3797
|
-
|
|
3798
|
-
|
|
3799
|
-
|
|
3800
|
-
|
|
3801
|
-
|
|
3802
|
-
}
|
|
3782
|
+
name: "InvalidDisputeTag",
|
|
3783
|
+
type: "error"
|
|
3784
|
+
},
|
|
3785
|
+
{
|
|
3786
|
+
inputs: [
|
|
3803
3787
|
],
|
|
3804
|
-
|
|
3788
|
+
name: "InvalidEvidenceHash",
|
|
3789
|
+
type: "error"
|
|
3805
3790
|
},
|
|
3806
3791
|
{
|
|
3807
|
-
type: "function",
|
|
3808
|
-
name: "disputeQuorum",
|
|
3809
3792
|
inputs: [
|
|
3810
3793
|
],
|
|
3811
|
-
|
|
3812
|
-
|
|
3813
|
-
|
|
3814
|
-
|
|
3815
|
-
|
|
3816
|
-
}
|
|
3794
|
+
name: "InvalidInitialization",
|
|
3795
|
+
type: "error"
|
|
3796
|
+
},
|
|
3797
|
+
{
|
|
3798
|
+
inputs: [
|
|
3817
3799
|
],
|
|
3818
|
-
|
|
3800
|
+
name: "InvalidTargetIp",
|
|
3801
|
+
type: "error"
|
|
3819
3802
|
},
|
|
3820
3803
|
{
|
|
3821
|
-
type: "function",
|
|
3822
|
-
name: "disputeToken",
|
|
3823
3804
|
inputs: [
|
|
3824
3805
|
],
|
|
3825
|
-
|
|
3826
|
-
|
|
3827
|
-
|
|
3828
|
-
|
|
3829
|
-
|
|
3830
|
-
}
|
|
3806
|
+
name: "NoVotingPower",
|
|
3807
|
+
type: "error"
|
|
3808
|
+
},
|
|
3809
|
+
{
|
|
3810
|
+
inputs: [
|
|
3831
3811
|
],
|
|
3832
|
-
|
|
3812
|
+
name: "NotAParentIp",
|
|
3813
|
+
type: "error"
|
|
3833
3814
|
},
|
|
3834
3815
|
{
|
|
3835
|
-
type: "function",
|
|
3836
|
-
name: "disputes",
|
|
3837
3816
|
inputs: [
|
|
3838
|
-
{
|
|
3839
|
-
name: "",
|
|
3840
|
-
type: "uint256",
|
|
3841
|
-
internalType: "uint256"
|
|
3842
|
-
}
|
|
3843
3817
|
],
|
|
3844
|
-
|
|
3845
|
-
|
|
3846
|
-
|
|
3847
|
-
|
|
3848
|
-
|
|
3849
|
-
},
|
|
3850
|
-
{
|
|
3851
|
-
name: "targetId",
|
|
3852
|
-
type: "uint256",
|
|
3853
|
-
internalType: "uint256"
|
|
3854
|
-
},
|
|
3855
|
-
{
|
|
3856
|
-
name: "disputeTag",
|
|
3857
|
-
type: "bytes32",
|
|
3858
|
-
internalType: "bytes32"
|
|
3859
|
-
},
|
|
3860
|
-
{
|
|
3861
|
-
name: "disputeEvidenceHash",
|
|
3862
|
-
type: "bytes32",
|
|
3863
|
-
internalType: "bytes32"
|
|
3864
|
-
},
|
|
3865
|
-
{
|
|
3866
|
-
name: "counterEvidenceHash",
|
|
3867
|
-
type: "bytes32",
|
|
3868
|
-
internalType: "bytes32"
|
|
3869
|
-
},
|
|
3870
|
-
{
|
|
3871
|
-
name: "disputeTimestamp",
|
|
3872
|
-
type: "uint256",
|
|
3873
|
-
internalType: "uint256"
|
|
3874
|
-
},
|
|
3875
|
-
{
|
|
3876
|
-
name: "assertionTimestamp",
|
|
3877
|
-
type: "uint256",
|
|
3878
|
-
internalType: "uint256"
|
|
3879
|
-
},
|
|
3880
|
-
{
|
|
3881
|
-
name: "yesVotes",
|
|
3882
|
-
type: "uint256",
|
|
3883
|
-
internalType: "uint256"
|
|
3884
|
-
},
|
|
3885
|
-
{
|
|
3886
|
-
name: "noVotes",
|
|
3887
|
-
type: "uint256",
|
|
3888
|
-
internalType: "uint256"
|
|
3889
|
-
},
|
|
3890
|
-
{
|
|
3891
|
-
name: "status",
|
|
3892
|
-
type: "uint8",
|
|
3893
|
-
internalType: "enum DisputeModule.DisputeStatus"
|
|
3894
|
-
},
|
|
3895
|
-
{
|
|
3896
|
-
name: "bondAmount",
|
|
3897
|
-
type: "uint256",
|
|
3898
|
-
internalType: "uint256"
|
|
3899
|
-
},
|
|
3900
|
-
{
|
|
3901
|
-
name: "protocolFeeAmount",
|
|
3902
|
-
type: "uint256",
|
|
3903
|
-
internalType: "uint256"
|
|
3904
|
-
}
|
|
3818
|
+
name: "NotInitializing",
|
|
3819
|
+
type: "error"
|
|
3820
|
+
},
|
|
3821
|
+
{
|
|
3822
|
+
inputs: [
|
|
3905
3823
|
],
|
|
3906
|
-
|
|
3824
|
+
name: "NotInitiator",
|
|
3825
|
+
type: "error"
|
|
3907
3826
|
},
|
|
3908
3827
|
{
|
|
3909
|
-
type: "function",
|
|
3910
|
-
name: "hasVoted",
|
|
3911
3828
|
inputs: [
|
|
3912
|
-
{
|
|
3913
|
-
name: "",
|
|
3914
|
-
type: "uint256",
|
|
3915
|
-
internalType: "uint256"
|
|
3916
|
-
},
|
|
3917
|
-
{
|
|
3918
|
-
name: "",
|
|
3919
|
-
type: "address",
|
|
3920
|
-
internalType: "address"
|
|
3921
|
-
}
|
|
3922
3829
|
],
|
|
3923
|
-
|
|
3830
|
+
name: "NotTokenOwner",
|
|
3831
|
+
type: "error"
|
|
3832
|
+
},
|
|
3833
|
+
{
|
|
3834
|
+
inputs: [
|
|
3924
3835
|
{
|
|
3925
|
-
|
|
3926
|
-
|
|
3927
|
-
|
|
3836
|
+
internalType: "address",
|
|
3837
|
+
name: "owner",
|
|
3838
|
+
type: "address"
|
|
3928
3839
|
}
|
|
3929
3840
|
],
|
|
3930
|
-
|
|
3841
|
+
name: "OwnableInvalidOwner",
|
|
3842
|
+
type: "error"
|
|
3931
3843
|
},
|
|
3932
3844
|
{
|
|
3933
|
-
type: "function",
|
|
3934
|
-
name: "initialize",
|
|
3935
3845
|
inputs: [
|
|
3936
3846
|
{
|
|
3937
|
-
|
|
3938
|
-
|
|
3939
|
-
|
|
3940
|
-
},
|
|
3941
|
-
{
|
|
3942
|
-
name: "_marketplace",
|
|
3943
|
-
type: "address",
|
|
3944
|
-
internalType: "contract IMarketplace"
|
|
3945
|
-
},
|
|
3946
|
-
{
|
|
3947
|
-
name: "_disputeToken",
|
|
3948
|
-
type: "address",
|
|
3949
|
-
internalType: "contract IERC20"
|
|
3950
|
-
},
|
|
3951
|
-
{
|
|
3952
|
-
name: "_disputeBond",
|
|
3953
|
-
type: "uint256",
|
|
3954
|
-
internalType: "uint256"
|
|
3955
|
-
},
|
|
3956
|
-
{
|
|
3957
|
-
name: "_disputeCoolDownPeriod",
|
|
3958
|
-
type: "uint256",
|
|
3959
|
-
internalType: "uint256"
|
|
3960
|
-
},
|
|
3961
|
-
{
|
|
3962
|
-
name: "_disputeJudgementPeriod",
|
|
3963
|
-
type: "uint256",
|
|
3964
|
-
internalType: "uint256"
|
|
3965
|
-
},
|
|
3966
|
-
{
|
|
3967
|
-
name: "_bondFeeBPS",
|
|
3968
|
-
type: "uint16",
|
|
3969
|
-
internalType: "uint16"
|
|
3970
|
-
},
|
|
3971
|
-
{
|
|
3972
|
-
name: "_stakingThreshold",
|
|
3973
|
-
type: "uint256",
|
|
3974
|
-
internalType: "uint256"
|
|
3975
|
-
},
|
|
3976
|
-
{
|
|
3977
|
-
name: "_stakingVault",
|
|
3978
|
-
type: "address",
|
|
3979
|
-
internalType: "contract ICampStakingVault"
|
|
3847
|
+
internalType: "address",
|
|
3848
|
+
name: "account",
|
|
3849
|
+
type: "address"
|
|
3980
3850
|
}
|
|
3981
3851
|
],
|
|
3982
|
-
|
|
3983
|
-
|
|
3984
|
-
stateMutability: "nonpayable"
|
|
3852
|
+
name: "OwnableUnauthorizedAccount",
|
|
3853
|
+
type: "error"
|
|
3985
3854
|
},
|
|
3986
3855
|
{
|
|
3987
|
-
type: "function",
|
|
3988
|
-
name: "ipToken",
|
|
3989
3856
|
inputs: [
|
|
3990
3857
|
],
|
|
3991
|
-
|
|
3992
|
-
|
|
3993
|
-
name: "",
|
|
3994
|
-
type: "address",
|
|
3995
|
-
internalType: "contract IIpNFT"
|
|
3996
|
-
}
|
|
3997
|
-
],
|
|
3998
|
-
stateMutability: "view"
|
|
3858
|
+
name: "ParentNotDisputed",
|
|
3859
|
+
type: "error"
|
|
3999
3860
|
},
|
|
4000
3861
|
{
|
|
4001
|
-
type: "function",
|
|
4002
|
-
name: "isUsedEvidenceHash",
|
|
4003
3862
|
inputs: [
|
|
4004
|
-
{
|
|
4005
|
-
name: "",
|
|
4006
|
-
type: "bytes32",
|
|
4007
|
-
internalType: "bytes32"
|
|
4008
|
-
}
|
|
4009
|
-
],
|
|
4010
|
-
outputs: [
|
|
4011
|
-
{
|
|
4012
|
-
name: "",
|
|
4013
|
-
type: "bool",
|
|
4014
|
-
internalType: "bool"
|
|
4015
|
-
}
|
|
4016
3863
|
],
|
|
4017
|
-
|
|
3864
|
+
name: "SelfAssertionNotAllowed",
|
|
3865
|
+
type: "error"
|
|
4018
3866
|
},
|
|
4019
3867
|
{
|
|
4020
|
-
type: "function",
|
|
4021
|
-
name: "marketplace",
|
|
4022
3868
|
inputs: [
|
|
4023
3869
|
],
|
|
4024
|
-
|
|
4025
|
-
|
|
4026
|
-
name: "",
|
|
4027
|
-
type: "address",
|
|
4028
|
-
internalType: "contract IMarketplace"
|
|
4029
|
-
}
|
|
4030
|
-
],
|
|
4031
|
-
stateMutability: "view"
|
|
3870
|
+
name: "StakedAfterDispute",
|
|
3871
|
+
type: "error"
|
|
4032
3872
|
},
|
|
4033
3873
|
{
|
|
4034
|
-
type: "function",
|
|
4035
|
-
name: "owner",
|
|
4036
3874
|
inputs: [
|
|
4037
3875
|
],
|
|
4038
|
-
|
|
4039
|
-
|
|
4040
|
-
name: "",
|
|
4041
|
-
type: "address",
|
|
4042
|
-
internalType: "address"
|
|
4043
|
-
}
|
|
4044
|
-
],
|
|
4045
|
-
stateMutability: "view"
|
|
3876
|
+
name: "TagNotAllowed",
|
|
3877
|
+
type: "error"
|
|
4046
3878
|
},
|
|
4047
3879
|
{
|
|
4048
|
-
type: "function",
|
|
4049
|
-
name: "protocolDisputeFee",
|
|
4050
3880
|
inputs: [
|
|
4051
3881
|
],
|
|
4052
|
-
|
|
3882
|
+
name: "UUPSUnauthorizedCallContext",
|
|
3883
|
+
type: "error"
|
|
3884
|
+
},
|
|
3885
|
+
{
|
|
3886
|
+
inputs: [
|
|
4053
3887
|
{
|
|
4054
|
-
|
|
4055
|
-
|
|
4056
|
-
|
|
3888
|
+
internalType: "bytes32",
|
|
3889
|
+
name: "slot",
|
|
3890
|
+
type: "bytes32"
|
|
4057
3891
|
}
|
|
4058
3892
|
],
|
|
4059
|
-
|
|
3893
|
+
name: "UUPSUnsupportedProxiableUUID",
|
|
3894
|
+
type: "error"
|
|
4060
3895
|
},
|
|
4061
3896
|
{
|
|
4062
|
-
type: "function",
|
|
4063
|
-
name: "proxiableUUID",
|
|
4064
3897
|
inputs: [
|
|
4065
3898
|
],
|
|
4066
|
-
|
|
4067
|
-
|
|
4068
|
-
|
|
4069
|
-
|
|
4070
|
-
|
|
4071
|
-
}
|
|
3899
|
+
name: "VotingPeriodActive",
|
|
3900
|
+
type: "error"
|
|
3901
|
+
},
|
|
3902
|
+
{
|
|
3903
|
+
inputs: [
|
|
4072
3904
|
],
|
|
4073
|
-
|
|
3905
|
+
name: "VotingPeriodOver",
|
|
3906
|
+
type: "error"
|
|
4074
3907
|
},
|
|
4075
3908
|
{
|
|
4076
|
-
|
|
4077
|
-
name: "raiseDispute",
|
|
3909
|
+
anonymous: false,
|
|
4078
3910
|
inputs: [
|
|
4079
3911
|
{
|
|
4080
|
-
|
|
4081
|
-
|
|
4082
|
-
|
|
3912
|
+
indexed: true,
|
|
3913
|
+
internalType: "uint256",
|
|
3914
|
+
name: "tokenId",
|
|
3915
|
+
type: "uint256"
|
|
4083
3916
|
},
|
|
4084
3917
|
{
|
|
4085
|
-
|
|
4086
|
-
|
|
4087
|
-
|
|
3918
|
+
indexed: true,
|
|
3919
|
+
internalType: "address",
|
|
3920
|
+
name: "buyer",
|
|
3921
|
+
type: "address"
|
|
4088
3922
|
},
|
|
4089
3923
|
{
|
|
4090
|
-
|
|
4091
|
-
|
|
4092
|
-
|
|
4093
|
-
|
|
4094
|
-
|
|
4095
|
-
outputs: [
|
|
3924
|
+
indexed: false,
|
|
3925
|
+
internalType: "uint32",
|
|
3926
|
+
name: "periods",
|
|
3927
|
+
type: "uint32"
|
|
3928
|
+
},
|
|
4096
3929
|
{
|
|
4097
|
-
|
|
4098
|
-
|
|
4099
|
-
|
|
3930
|
+
indexed: false,
|
|
3931
|
+
internalType: "uint256",
|
|
3932
|
+
name: "newExpiry",
|
|
3933
|
+
type: "uint256"
|
|
3934
|
+
},
|
|
3935
|
+
{
|
|
3936
|
+
indexed: false,
|
|
3937
|
+
internalType: "uint256",
|
|
3938
|
+
name: "amountPaid",
|
|
3939
|
+
type: "uint256"
|
|
4100
3940
|
}
|
|
4101
3941
|
],
|
|
4102
|
-
|
|
4103
|
-
|
|
4104
|
-
{
|
|
4105
|
-
type: "function",
|
|
4106
|
-
name: "renounceOwnership",
|
|
4107
|
-
inputs: [
|
|
4108
|
-
],
|
|
4109
|
-
outputs: [
|
|
4110
|
-
],
|
|
4111
|
-
stateMutability: "nonpayable"
|
|
3942
|
+
name: "AccessPurchased",
|
|
3943
|
+
type: "event"
|
|
4112
3944
|
},
|
|
4113
3945
|
{
|
|
4114
|
-
|
|
4115
|
-
name: "resolveDispute",
|
|
3946
|
+
anonymous: false,
|
|
4116
3947
|
inputs: [
|
|
4117
3948
|
{
|
|
4118
|
-
|
|
4119
|
-
|
|
4120
|
-
|
|
3949
|
+
indexed: true,
|
|
3950
|
+
internalType: "uint256",
|
|
3951
|
+
name: "agentId",
|
|
3952
|
+
type: "uint256"
|
|
3953
|
+
},
|
|
3954
|
+
{
|
|
3955
|
+
indexed: true,
|
|
3956
|
+
internalType: "uint256",
|
|
3957
|
+
name: "ipNftId",
|
|
3958
|
+
type: "uint256"
|
|
3959
|
+
},
|
|
3960
|
+
{
|
|
3961
|
+
indexed: false,
|
|
3962
|
+
internalType: "address",
|
|
3963
|
+
name: "agentAddress",
|
|
3964
|
+
type: "address"
|
|
4121
3965
|
}
|
|
4122
3966
|
],
|
|
4123
|
-
|
|
4124
|
-
|
|
4125
|
-
stateMutability: "nonpayable"
|
|
3967
|
+
name: "AgentRegistered",
|
|
3968
|
+
type: "event"
|
|
4126
3969
|
},
|
|
4127
3970
|
{
|
|
4128
|
-
|
|
4129
|
-
name: "setDisputeQuorum",
|
|
3971
|
+
anonymous: false,
|
|
4130
3972
|
inputs: [
|
|
4131
3973
|
{
|
|
4132
|
-
|
|
4133
|
-
|
|
4134
|
-
|
|
3974
|
+
indexed: true,
|
|
3975
|
+
internalType: "address",
|
|
3976
|
+
name: "appRegistry",
|
|
3977
|
+
type: "address"
|
|
4135
3978
|
}
|
|
4136
3979
|
],
|
|
4137
|
-
|
|
4138
|
-
|
|
4139
|
-
stateMutability: "nonpayable"
|
|
3980
|
+
name: "AppRegistryUpdated",
|
|
3981
|
+
type: "event"
|
|
4140
3982
|
},
|
|
4141
3983
|
{
|
|
4142
|
-
|
|
4143
|
-
name: "stakingThreshold",
|
|
3984
|
+
anonymous: false,
|
|
4144
3985
|
inputs: [
|
|
4145
|
-
],
|
|
4146
|
-
outputs: [
|
|
4147
3986
|
{
|
|
4148
|
-
|
|
4149
|
-
|
|
4150
|
-
|
|
3987
|
+
indexed: true,
|
|
3988
|
+
internalType: "uint256",
|
|
3989
|
+
name: "id",
|
|
3990
|
+
type: "uint256"
|
|
3991
|
+
},
|
|
3992
|
+
{
|
|
3993
|
+
indexed: true,
|
|
3994
|
+
internalType: "uint256",
|
|
3995
|
+
name: "childIp",
|
|
3996
|
+
type: "uint256"
|
|
3997
|
+
},
|
|
3998
|
+
{
|
|
3999
|
+
indexed: false,
|
|
4000
|
+
internalType: "uint256",
|
|
4001
|
+
name: "parentIp",
|
|
4002
|
+
type: "uint256"
|
|
4151
4003
|
}
|
|
4152
4004
|
],
|
|
4153
|
-
|
|
4005
|
+
name: "ChildIpTagged",
|
|
4006
|
+
type: "event"
|
|
4154
4007
|
},
|
|
4155
4008
|
{
|
|
4156
|
-
|
|
4157
|
-
name: "stakingVault",
|
|
4009
|
+
anonymous: false,
|
|
4158
4010
|
inputs: [
|
|
4159
|
-
],
|
|
4160
|
-
outputs: [
|
|
4161
4011
|
{
|
|
4162
|
-
|
|
4163
|
-
|
|
4164
|
-
|
|
4012
|
+
indexed: true,
|
|
4013
|
+
internalType: "uint256",
|
|
4014
|
+
name: "tokenId",
|
|
4015
|
+
type: "uint256"
|
|
4016
|
+
},
|
|
4017
|
+
{
|
|
4018
|
+
indexed: true,
|
|
4019
|
+
internalType: "address",
|
|
4020
|
+
name: "creator",
|
|
4021
|
+
type: "address"
|
|
4165
4022
|
}
|
|
4166
4023
|
],
|
|
4167
|
-
|
|
4024
|
+
name: "DataDeleted",
|
|
4025
|
+
type: "event"
|
|
4168
4026
|
},
|
|
4169
4027
|
{
|
|
4170
|
-
|
|
4171
|
-
name: "tagChildIp",
|
|
4028
|
+
anonymous: false,
|
|
4172
4029
|
inputs: [
|
|
4173
4030
|
{
|
|
4174
|
-
|
|
4175
|
-
|
|
4176
|
-
|
|
4031
|
+
indexed: true,
|
|
4032
|
+
internalType: "uint256",
|
|
4033
|
+
name: "tokenId",
|
|
4034
|
+
type: "uint256"
|
|
4177
4035
|
},
|
|
4178
4036
|
{
|
|
4179
|
-
|
|
4180
|
-
|
|
4181
|
-
|
|
4037
|
+
indexed: true,
|
|
4038
|
+
internalType: "address",
|
|
4039
|
+
name: "creator",
|
|
4040
|
+
type: "address"
|
|
4041
|
+
},
|
|
4042
|
+
{
|
|
4043
|
+
indexed: false,
|
|
4044
|
+
internalType: "bytes32",
|
|
4045
|
+
name: "contentHash",
|
|
4046
|
+
type: "bytes32"
|
|
4047
|
+
},
|
|
4048
|
+
{
|
|
4049
|
+
indexed: false,
|
|
4050
|
+
internalType: "uint256[]",
|
|
4051
|
+
name: "parents",
|
|
4052
|
+
type: "uint256[]"
|
|
4182
4053
|
}
|
|
4183
4054
|
],
|
|
4184
|
-
|
|
4185
|
-
|
|
4186
|
-
stateMutability: "nonpayable"
|
|
4055
|
+
name: "DataMinted",
|
|
4056
|
+
type: "event"
|
|
4187
4057
|
},
|
|
4188
4058
|
{
|
|
4189
|
-
|
|
4190
|
-
name: "transferOwnership",
|
|
4059
|
+
anonymous: false,
|
|
4191
4060
|
inputs: [
|
|
4192
4061
|
{
|
|
4193
|
-
|
|
4194
|
-
|
|
4195
|
-
|
|
4062
|
+
indexed: true,
|
|
4063
|
+
internalType: "uint256",
|
|
4064
|
+
name: "id",
|
|
4065
|
+
type: "uint256"
|
|
4066
|
+
},
|
|
4067
|
+
{
|
|
4068
|
+
indexed: false,
|
|
4069
|
+
internalType: "bytes32",
|
|
4070
|
+
name: "counterEvidenceHash",
|
|
4071
|
+
type: "bytes32"
|
|
4196
4072
|
}
|
|
4197
4073
|
],
|
|
4198
|
-
|
|
4199
|
-
|
|
4200
|
-
stateMutability: "nonpayable"
|
|
4074
|
+
name: "DisputeAssertion",
|
|
4075
|
+
type: "event"
|
|
4201
4076
|
},
|
|
4202
4077
|
{
|
|
4203
|
-
|
|
4204
|
-
name: "upgradeToAndCall",
|
|
4078
|
+
anonymous: false,
|
|
4205
4079
|
inputs: [
|
|
4206
4080
|
{
|
|
4207
|
-
|
|
4208
|
-
|
|
4209
|
-
|
|
4210
|
-
|
|
4211
|
-
{
|
|
4212
|
-
name: "data",
|
|
4213
|
-
type: "bytes",
|
|
4214
|
-
internalType: "bytes"
|
|
4081
|
+
indexed: true,
|
|
4082
|
+
internalType: "uint256",
|
|
4083
|
+
name: "id",
|
|
4084
|
+
type: "uint256"
|
|
4215
4085
|
}
|
|
4216
4086
|
],
|
|
4217
|
-
|
|
4218
|
-
|
|
4219
|
-
stateMutability: "payable"
|
|
4087
|
+
name: "DisputeCancelled",
|
|
4088
|
+
type: "event"
|
|
4220
4089
|
},
|
|
4221
4090
|
{
|
|
4222
|
-
|
|
4223
|
-
name: "voteOnDispute",
|
|
4091
|
+
anonymous: false,
|
|
4224
4092
|
inputs: [
|
|
4225
4093
|
{
|
|
4094
|
+
indexed: true,
|
|
4095
|
+
internalType: "uint256",
|
|
4226
4096
|
name: "id",
|
|
4227
|
-
type: "uint256"
|
|
4228
|
-
internalType: "uint256"
|
|
4097
|
+
type: "uint256"
|
|
4229
4098
|
},
|
|
4230
4099
|
{
|
|
4231
|
-
|
|
4232
|
-
|
|
4233
|
-
|
|
4100
|
+
indexed: false,
|
|
4101
|
+
internalType: "bool",
|
|
4102
|
+
name: "judgement",
|
|
4103
|
+
type: "bool"
|
|
4234
4104
|
}
|
|
4235
4105
|
],
|
|
4236
|
-
|
|
4237
|
-
|
|
4238
|
-
stateMutability: "nonpayable"
|
|
4106
|
+
name: "DisputeJudged",
|
|
4107
|
+
type: "event"
|
|
4239
4108
|
},
|
|
4240
4109
|
{
|
|
4241
|
-
|
|
4242
|
-
name: "AccessPurchased",
|
|
4110
|
+
anonymous: false,
|
|
4243
4111
|
inputs: [
|
|
4244
4112
|
{
|
|
4245
|
-
name: "tokenId",
|
|
4246
|
-
type: "uint256",
|
|
4247
|
-
indexed: true,
|
|
4248
|
-
internalType: "uint256"
|
|
4249
|
-
},
|
|
4250
|
-
{
|
|
4251
|
-
name: "buyer",
|
|
4252
|
-
type: "address",
|
|
4253
4113
|
indexed: true,
|
|
4254
|
-
internalType: "address"
|
|
4255
|
-
|
|
4256
|
-
|
|
4257
|
-
name: "periods",
|
|
4258
|
-
type: "uint32",
|
|
4259
|
-
indexed: false,
|
|
4260
|
-
internalType: "uint32"
|
|
4261
|
-
},
|
|
4262
|
-
{
|
|
4263
|
-
name: "newExpiry",
|
|
4264
|
-
type: "uint256",
|
|
4265
|
-
indexed: false,
|
|
4266
|
-
internalType: "uint256"
|
|
4267
|
-
},
|
|
4268
|
-
{
|
|
4269
|
-
name: "amountPaid",
|
|
4270
|
-
type: "uint256",
|
|
4271
|
-
indexed: false,
|
|
4272
|
-
internalType: "uint256"
|
|
4114
|
+
internalType: "address",
|
|
4115
|
+
name: "disputeModule",
|
|
4116
|
+
type: "address"
|
|
4273
4117
|
}
|
|
4274
4118
|
],
|
|
4275
|
-
|
|
4119
|
+
name: "DisputeModuleUpdated",
|
|
4120
|
+
type: "event"
|
|
4276
4121
|
},
|
|
4277
4122
|
{
|
|
4278
|
-
|
|
4279
|
-
name: "AgentRegistered",
|
|
4123
|
+
anonymous: false,
|
|
4280
4124
|
inputs: [
|
|
4281
4125
|
{
|
|
4282
|
-
name: "agentId",
|
|
4283
|
-
type: "uint256",
|
|
4284
4126
|
indexed: true,
|
|
4285
|
-
internalType: "uint256"
|
|
4127
|
+
internalType: "uint256",
|
|
4128
|
+
name: "id",
|
|
4129
|
+
type: "uint256"
|
|
4286
4130
|
},
|
|
4287
4131
|
{
|
|
4288
|
-
name: "ipNftId",
|
|
4289
|
-
type: "uint256",
|
|
4290
4132
|
indexed: true,
|
|
4291
|
-
internalType: "
|
|
4133
|
+
internalType: "address",
|
|
4134
|
+
name: "initiator",
|
|
4135
|
+
type: "address"
|
|
4136
|
+
},
|
|
4137
|
+
{
|
|
4138
|
+
indexed: true,
|
|
4139
|
+
internalType: "uint256",
|
|
4140
|
+
name: "targetId",
|
|
4141
|
+
type: "uint256"
|
|
4292
4142
|
},
|
|
4293
4143
|
{
|
|
4294
|
-
name: "agentAddress",
|
|
4295
|
-
type: "address",
|
|
4296
4144
|
indexed: false,
|
|
4297
|
-
internalType: "
|
|
4145
|
+
internalType: "bytes32",
|
|
4146
|
+
name: "disputeTag",
|
|
4147
|
+
type: "bytes32"
|
|
4298
4148
|
}
|
|
4299
4149
|
],
|
|
4300
|
-
|
|
4150
|
+
name: "DisputeRaised",
|
|
4151
|
+
type: "event"
|
|
4301
4152
|
},
|
|
4302
4153
|
{
|
|
4303
|
-
|
|
4304
|
-
name: "AppRegistryUpdated",
|
|
4154
|
+
anonymous: false,
|
|
4305
4155
|
inputs: [
|
|
4306
4156
|
{
|
|
4307
|
-
|
|
4308
|
-
|
|
4309
|
-
|
|
4310
|
-
|
|
4157
|
+
indexed: false,
|
|
4158
|
+
internalType: "uint64",
|
|
4159
|
+
name: "version",
|
|
4160
|
+
type: "uint64"
|
|
4311
4161
|
}
|
|
4312
4162
|
],
|
|
4313
|
-
|
|
4163
|
+
name: "Initialized",
|
|
4164
|
+
type: "event"
|
|
4314
4165
|
},
|
|
4315
4166
|
{
|
|
4316
|
-
|
|
4317
|
-
name: "ChildIpTagged",
|
|
4167
|
+
anonymous: false,
|
|
4318
4168
|
inputs: [
|
|
4319
4169
|
{
|
|
4320
|
-
name: "id",
|
|
4321
|
-
type: "uint256",
|
|
4322
|
-
indexed: true,
|
|
4323
|
-
internalType: "uint256"
|
|
4324
|
-
},
|
|
4325
|
-
{
|
|
4326
|
-
name: "childIp",
|
|
4327
|
-
type: "uint256",
|
|
4328
4170
|
indexed: true,
|
|
4329
|
-
internalType: "
|
|
4330
|
-
|
|
4331
|
-
|
|
4332
|
-
name: "parentIp",
|
|
4333
|
-
type: "uint256",
|
|
4334
|
-
indexed: false,
|
|
4335
|
-
internalType: "uint256"
|
|
4171
|
+
internalType: "address",
|
|
4172
|
+
name: "marketPlace",
|
|
4173
|
+
type: "address"
|
|
4336
4174
|
}
|
|
4337
4175
|
],
|
|
4338
|
-
|
|
4176
|
+
name: "MarketPlaceUpdated",
|
|
4177
|
+
type: "event"
|
|
4339
4178
|
},
|
|
4340
4179
|
{
|
|
4341
|
-
|
|
4342
|
-
name: "DataDeleted",
|
|
4180
|
+
anonymous: false,
|
|
4343
4181
|
inputs: [
|
|
4344
4182
|
{
|
|
4345
|
-
name: "tokenId",
|
|
4346
|
-
type: "uint256",
|
|
4347
4183
|
indexed: true,
|
|
4348
|
-
internalType: "
|
|
4184
|
+
internalType: "address",
|
|
4185
|
+
name: "previousOwner",
|
|
4186
|
+
type: "address"
|
|
4349
4187
|
},
|
|
4350
4188
|
{
|
|
4351
|
-
name: "creator",
|
|
4352
|
-
type: "address",
|
|
4353
4189
|
indexed: true,
|
|
4354
|
-
internalType: "address"
|
|
4190
|
+
internalType: "address",
|
|
4191
|
+
name: "newOwner",
|
|
4192
|
+
type: "address"
|
|
4355
4193
|
}
|
|
4356
4194
|
],
|
|
4357
|
-
|
|
4195
|
+
name: "OwnershipTransferred",
|
|
4196
|
+
type: "event"
|
|
4358
4197
|
},
|
|
4359
4198
|
{
|
|
4360
|
-
|
|
4361
|
-
name: "DataMinted",
|
|
4199
|
+
anonymous: false,
|
|
4362
4200
|
inputs: [
|
|
4363
4201
|
{
|
|
4364
|
-
name: "tokenId",
|
|
4365
|
-
type: "uint256",
|
|
4366
|
-
indexed: true,
|
|
4367
|
-
internalType: "uint256"
|
|
4368
|
-
},
|
|
4369
|
-
{
|
|
4370
|
-
name: "creator",
|
|
4371
|
-
type: "address",
|
|
4372
4202
|
indexed: true,
|
|
4373
|
-
internalType: "
|
|
4203
|
+
internalType: "uint256",
|
|
4204
|
+
name: "childIpId",
|
|
4205
|
+
type: "uint256"
|
|
4374
4206
|
},
|
|
4375
4207
|
{
|
|
4376
|
-
name: "contentHash",
|
|
4377
|
-
type: "bytes32",
|
|
4378
4208
|
indexed: false,
|
|
4379
|
-
internalType: "
|
|
4209
|
+
internalType: "uint256[]",
|
|
4210
|
+
name: "parentIds",
|
|
4211
|
+
type: "uint256[]"
|
|
4380
4212
|
},
|
|
4381
4213
|
{
|
|
4382
|
-
name: "parents",
|
|
4383
|
-
type: "uint256[]",
|
|
4384
4214
|
indexed: false,
|
|
4385
|
-
internalType: "
|
|
4215
|
+
internalType: "uint16",
|
|
4216
|
+
name: "totalRoyaltyBps",
|
|
4217
|
+
type: "uint16"
|
|
4386
4218
|
}
|
|
4387
4219
|
],
|
|
4388
|
-
|
|
4220
|
+
name: "ParentIpsSet",
|
|
4221
|
+
type: "event"
|
|
4389
4222
|
},
|
|
4390
4223
|
{
|
|
4391
|
-
|
|
4392
|
-
name: "DisputeAssertion",
|
|
4224
|
+
anonymous: false,
|
|
4393
4225
|
inputs: [
|
|
4394
4226
|
{
|
|
4395
|
-
name: "id",
|
|
4396
|
-
type: "uint256",
|
|
4397
|
-
indexed: true,
|
|
4398
|
-
internalType: "uint256"
|
|
4399
|
-
},
|
|
4400
|
-
{
|
|
4401
|
-
name: "counterEvidenceHash",
|
|
4402
|
-
type: "bytes32",
|
|
4403
4227
|
indexed: false,
|
|
4404
|
-
internalType: "
|
|
4228
|
+
internalType: "uint16",
|
|
4229
|
+
name: "newFeeBps",
|
|
4230
|
+
type: "uint16"
|
|
4405
4231
|
}
|
|
4406
4232
|
],
|
|
4407
|
-
|
|
4233
|
+
name: "ProtocolFeeUpdated",
|
|
4234
|
+
type: "event"
|
|
4408
4235
|
},
|
|
4409
4236
|
{
|
|
4410
|
-
|
|
4411
|
-
name: "DisputeCancelled",
|
|
4237
|
+
anonymous: false,
|
|
4412
4238
|
inputs: [
|
|
4413
4239
|
{
|
|
4414
|
-
name: "id",
|
|
4415
|
-
type: "uint256",
|
|
4416
4240
|
indexed: true,
|
|
4417
|
-
internalType: "uint256"
|
|
4241
|
+
internalType: "uint256",
|
|
4242
|
+
name: "tokenId",
|
|
4243
|
+
type: "uint256"
|
|
4244
|
+
},
|
|
4245
|
+
{
|
|
4246
|
+
indexed: false,
|
|
4247
|
+
internalType: "uint256",
|
|
4248
|
+
name: "royaltyAmount",
|
|
4249
|
+
type: "uint256"
|
|
4250
|
+
},
|
|
4251
|
+
{
|
|
4252
|
+
indexed: false,
|
|
4253
|
+
internalType: "address",
|
|
4254
|
+
name: "creator",
|
|
4255
|
+
type: "address"
|
|
4256
|
+
},
|
|
4257
|
+
{
|
|
4258
|
+
indexed: false,
|
|
4259
|
+
internalType: "uint256",
|
|
4260
|
+
name: "protocolAmount",
|
|
4261
|
+
type: "uint256"
|
|
4418
4262
|
}
|
|
4419
4263
|
],
|
|
4420
|
-
|
|
4264
|
+
name: "RoyaltyPaid",
|
|
4265
|
+
type: "event"
|
|
4421
4266
|
},
|
|
4422
4267
|
{
|
|
4423
|
-
|
|
4424
|
-
name: "DisputeJudged",
|
|
4268
|
+
anonymous: false,
|
|
4425
4269
|
inputs: [
|
|
4426
4270
|
{
|
|
4427
|
-
name: "id",
|
|
4428
|
-
type: "uint256",
|
|
4429
4271
|
indexed: true,
|
|
4430
|
-
internalType: "
|
|
4431
|
-
|
|
4432
|
-
|
|
4433
|
-
name: "judgement",
|
|
4434
|
-
type: "bool",
|
|
4435
|
-
indexed: false,
|
|
4436
|
-
internalType: "bool"
|
|
4272
|
+
internalType: "address",
|
|
4273
|
+
name: "signer",
|
|
4274
|
+
type: "address"
|
|
4437
4275
|
}
|
|
4438
4276
|
],
|
|
4439
|
-
|
|
4277
|
+
name: "SignerUpdated",
|
|
4278
|
+
type: "event"
|
|
4440
4279
|
},
|
|
4441
4280
|
{
|
|
4442
|
-
|
|
4443
|
-
name: "DisputeModuleUpdated",
|
|
4281
|
+
anonymous: false,
|
|
4444
4282
|
inputs: [
|
|
4445
4283
|
{
|
|
4446
|
-
name: "disputeModule",
|
|
4447
|
-
type: "address",
|
|
4448
4284
|
indexed: true,
|
|
4449
|
-
internalType: "
|
|
4285
|
+
internalType: "uint256",
|
|
4286
|
+
name: "tokenId",
|
|
4287
|
+
type: "uint256"
|
|
4288
|
+
},
|
|
4289
|
+
{
|
|
4290
|
+
indexed: false,
|
|
4291
|
+
internalType: "enum IIpNFT.DataStatus",
|
|
4292
|
+
name: "status",
|
|
4293
|
+
type: "uint8"
|
|
4450
4294
|
}
|
|
4451
4295
|
],
|
|
4452
|
-
|
|
4296
|
+
name: "StatusUpdated",
|
|
4297
|
+
type: "event"
|
|
4453
4298
|
},
|
|
4454
4299
|
{
|
|
4455
|
-
|
|
4456
|
-
name: "DisputeRaised",
|
|
4300
|
+
anonymous: false,
|
|
4457
4301
|
inputs: [
|
|
4458
4302
|
{
|
|
4459
|
-
name: "id",
|
|
4460
|
-
type: "uint256",
|
|
4461
4303
|
indexed: true,
|
|
4462
|
-
internalType: "uint256"
|
|
4304
|
+
internalType: "uint256",
|
|
4305
|
+
name: "tokenId",
|
|
4306
|
+
type: "uint256"
|
|
4463
4307
|
},
|
|
4464
4308
|
{
|
|
4465
|
-
|
|
4466
|
-
|
|
4467
|
-
|
|
4468
|
-
|
|
4309
|
+
indexed: false,
|
|
4310
|
+
internalType: "uint128",
|
|
4311
|
+
name: "newPrice",
|
|
4312
|
+
type: "uint128"
|
|
4469
4313
|
},
|
|
4470
4314
|
{
|
|
4471
|
-
|
|
4472
|
-
|
|
4473
|
-
|
|
4474
|
-
|
|
4315
|
+
indexed: false,
|
|
4316
|
+
internalType: "uint32",
|
|
4317
|
+
name: "newDuration",
|
|
4318
|
+
type: "uint32"
|
|
4475
4319
|
},
|
|
4476
4320
|
{
|
|
4477
|
-
name: "disputeTag",
|
|
4478
|
-
type: "bytes32",
|
|
4479
4321
|
indexed: false,
|
|
4480
|
-
internalType: "
|
|
4481
|
-
|
|
4482
|
-
|
|
4483
|
-
|
|
4484
|
-
},
|
|
4485
|
-
{
|
|
4486
|
-
type: "event",
|
|
4487
|
-
name: "Initialized",
|
|
4488
|
-
inputs: [
|
|
4322
|
+
internalType: "uint16",
|
|
4323
|
+
name: "newRoyaltyBps",
|
|
4324
|
+
type: "uint16"
|
|
4325
|
+
},
|
|
4489
4326
|
{
|
|
4490
|
-
name: "version",
|
|
4491
|
-
type: "uint64",
|
|
4492
4327
|
indexed: false,
|
|
4493
|
-
internalType: "
|
|
4328
|
+
internalType: "address",
|
|
4329
|
+
name: "paymentToken",
|
|
4330
|
+
type: "address"
|
|
4494
4331
|
}
|
|
4495
4332
|
],
|
|
4496
|
-
|
|
4333
|
+
name: "TermsUpdated",
|
|
4334
|
+
type: "event"
|
|
4497
4335
|
},
|
|
4498
4336
|
{
|
|
4499
|
-
|
|
4500
|
-
name: "MarketPlaceUpdated",
|
|
4337
|
+
anonymous: false,
|
|
4501
4338
|
inputs: [
|
|
4502
4339
|
{
|
|
4503
|
-
name: "marketPlace",
|
|
4504
|
-
type: "address",
|
|
4505
4340
|
indexed: true,
|
|
4506
|
-
internalType: "address"
|
|
4341
|
+
internalType: "address",
|
|
4342
|
+
name: "newTreasury",
|
|
4343
|
+
type: "address"
|
|
4507
4344
|
}
|
|
4508
4345
|
],
|
|
4509
|
-
|
|
4346
|
+
name: "TreasuryUpdated",
|
|
4347
|
+
type: "event"
|
|
4510
4348
|
},
|
|
4511
4349
|
{
|
|
4512
|
-
|
|
4513
|
-
name: "OwnershipTransferred",
|
|
4350
|
+
anonymous: false,
|
|
4514
4351
|
inputs: [
|
|
4515
4352
|
{
|
|
4516
|
-
name: "previousOwner",
|
|
4517
|
-
type: "address",
|
|
4518
|
-
indexed: true,
|
|
4519
|
-
internalType: "address"
|
|
4520
|
-
},
|
|
4521
|
-
{
|
|
4522
|
-
name: "newOwner",
|
|
4523
|
-
type: "address",
|
|
4524
4353
|
indexed: true,
|
|
4525
|
-
internalType: "address"
|
|
4354
|
+
internalType: "address",
|
|
4355
|
+
name: "implementation",
|
|
4356
|
+
type: "address"
|
|
4526
4357
|
}
|
|
4527
4358
|
],
|
|
4528
|
-
|
|
4359
|
+
name: "Upgraded",
|
|
4360
|
+
type: "event"
|
|
4529
4361
|
},
|
|
4530
4362
|
{
|
|
4531
|
-
|
|
4532
|
-
name: "ParentIpsSet",
|
|
4363
|
+
anonymous: false,
|
|
4533
4364
|
inputs: [
|
|
4534
4365
|
{
|
|
4535
|
-
name: "childIpId",
|
|
4536
|
-
type: "uint256",
|
|
4537
4366
|
indexed: true,
|
|
4538
|
-
internalType: "uint256"
|
|
4367
|
+
internalType: "uint256",
|
|
4368
|
+
name: "id",
|
|
4369
|
+
type: "uint256"
|
|
4370
|
+
},
|
|
4371
|
+
{
|
|
4372
|
+
indexed: true,
|
|
4373
|
+
internalType: "address",
|
|
4374
|
+
name: "voter",
|
|
4375
|
+
type: "address"
|
|
4539
4376
|
},
|
|
4540
4377
|
{
|
|
4541
|
-
name: "parentIds",
|
|
4542
|
-
type: "uint256[]",
|
|
4543
4378
|
indexed: false,
|
|
4544
|
-
internalType: "
|
|
4379
|
+
internalType: "bool",
|
|
4380
|
+
name: "support",
|
|
4381
|
+
type: "bool"
|
|
4545
4382
|
},
|
|
4546
4383
|
{
|
|
4547
|
-
name: "totalRoyaltyBps",
|
|
4548
|
-
type: "uint16",
|
|
4549
4384
|
indexed: false,
|
|
4550
|
-
internalType: "
|
|
4385
|
+
internalType: "uint256",
|
|
4386
|
+
name: "weight",
|
|
4387
|
+
type: "uint256"
|
|
4551
4388
|
}
|
|
4552
4389
|
],
|
|
4553
|
-
|
|
4390
|
+
name: "Voted",
|
|
4391
|
+
type: "event"
|
|
4554
4392
|
},
|
|
4555
4393
|
{
|
|
4556
|
-
type: "event",
|
|
4557
|
-
name: "ProtocolFeeUpdated",
|
|
4558
4394
|
inputs: [
|
|
4395
|
+
],
|
|
4396
|
+
name: "UPGRADE_INTERFACE_VERSION",
|
|
4397
|
+
outputs: [
|
|
4559
4398
|
{
|
|
4560
|
-
|
|
4561
|
-
|
|
4562
|
-
|
|
4563
|
-
internalType: "uint16"
|
|
4399
|
+
internalType: "string",
|
|
4400
|
+
name: "",
|
|
4401
|
+
type: "string"
|
|
4564
4402
|
}
|
|
4565
4403
|
],
|
|
4566
|
-
|
|
4404
|
+
stateMutability: "view",
|
|
4405
|
+
type: "function"
|
|
4567
4406
|
},
|
|
4568
4407
|
{
|
|
4569
|
-
type: "event",
|
|
4570
|
-
name: "RoyaltyPaid",
|
|
4571
4408
|
inputs: [
|
|
4572
4409
|
{
|
|
4573
|
-
|
|
4574
|
-
|
|
4575
|
-
|
|
4576
|
-
|
|
4577
|
-
|
|
4578
|
-
|
|
4579
|
-
|
|
4580
|
-
|
|
4581
|
-
|
|
4582
|
-
|
|
4583
|
-
|
|
4410
|
+
internalType: "uint256",
|
|
4411
|
+
name: "id",
|
|
4412
|
+
type: "uint256"
|
|
4413
|
+
}
|
|
4414
|
+
],
|
|
4415
|
+
name: "cancelDispute",
|
|
4416
|
+
outputs: [
|
|
4417
|
+
],
|
|
4418
|
+
stateMutability: "nonpayable",
|
|
4419
|
+
type: "function"
|
|
4420
|
+
},
|
|
4421
|
+
{
|
|
4422
|
+
inputs: [
|
|
4584
4423
|
{
|
|
4585
|
-
|
|
4586
|
-
|
|
4587
|
-
|
|
4588
|
-
internalType: "address"
|
|
4424
|
+
internalType: "uint256",
|
|
4425
|
+
name: "id",
|
|
4426
|
+
type: "uint256"
|
|
4589
4427
|
},
|
|
4590
4428
|
{
|
|
4591
|
-
|
|
4592
|
-
|
|
4593
|
-
|
|
4594
|
-
internalType: "uint256"
|
|
4429
|
+
internalType: "bytes32",
|
|
4430
|
+
name: "_counterEvidenceHash",
|
|
4431
|
+
type: "bytes32"
|
|
4595
4432
|
}
|
|
4596
4433
|
],
|
|
4597
|
-
|
|
4434
|
+
name: "disputeAssertion",
|
|
4435
|
+
outputs: [
|
|
4436
|
+
],
|
|
4437
|
+
stateMutability: "nonpayable",
|
|
4438
|
+
type: "function"
|
|
4598
4439
|
},
|
|
4599
4440
|
{
|
|
4600
|
-
type: "event",
|
|
4601
|
-
name: "SignerUpdated",
|
|
4602
4441
|
inputs: [
|
|
4442
|
+
],
|
|
4443
|
+
name: "disputeBond",
|
|
4444
|
+
outputs: [
|
|
4603
4445
|
{
|
|
4604
|
-
|
|
4605
|
-
|
|
4606
|
-
|
|
4607
|
-
internalType: "address"
|
|
4446
|
+
internalType: "uint256",
|
|
4447
|
+
name: "",
|
|
4448
|
+
type: "uint256"
|
|
4608
4449
|
}
|
|
4609
4450
|
],
|
|
4610
|
-
|
|
4451
|
+
stateMutability: "view",
|
|
4452
|
+
type: "function"
|
|
4611
4453
|
},
|
|
4612
4454
|
{
|
|
4613
|
-
type: "event",
|
|
4614
|
-
name: "StatusUpdated",
|
|
4615
4455
|
inputs: [
|
|
4456
|
+
],
|
|
4457
|
+
name: "disputeCoolDownPeriod",
|
|
4458
|
+
outputs: [
|
|
4616
4459
|
{
|
|
4617
|
-
|
|
4618
|
-
|
|
4619
|
-
|
|
4620
|
-
internalType: "uint256"
|
|
4621
|
-
},
|
|
4622
|
-
{
|
|
4623
|
-
name: "status",
|
|
4624
|
-
type: "uint8",
|
|
4625
|
-
indexed: false,
|
|
4626
|
-
internalType: "enum IIpNFT.DataStatus"
|
|
4460
|
+
internalType: "uint256",
|
|
4461
|
+
name: "",
|
|
4462
|
+
type: "uint256"
|
|
4627
4463
|
}
|
|
4628
4464
|
],
|
|
4629
|
-
|
|
4465
|
+
stateMutability: "view",
|
|
4466
|
+
type: "function"
|
|
4630
4467
|
},
|
|
4631
4468
|
{
|
|
4632
|
-
type: "event",
|
|
4633
|
-
name: "TermsUpdated",
|
|
4634
4469
|
inputs: [
|
|
4470
|
+
],
|
|
4471
|
+
name: "disputeCounter",
|
|
4472
|
+
outputs: [
|
|
4635
4473
|
{
|
|
4636
|
-
|
|
4637
|
-
|
|
4638
|
-
|
|
4639
|
-
|
|
4640
|
-
|
|
4641
|
-
|
|
4642
|
-
|
|
4643
|
-
|
|
4644
|
-
|
|
4645
|
-
|
|
4646
|
-
|
|
4647
|
-
|
|
4648
|
-
|
|
4649
|
-
type: "uint32",
|
|
4650
|
-
indexed: false,
|
|
4651
|
-
internalType: "uint32"
|
|
4652
|
-
},
|
|
4653
|
-
{
|
|
4654
|
-
name: "newRoyaltyBps",
|
|
4655
|
-
type: "uint16",
|
|
4656
|
-
indexed: false,
|
|
4657
|
-
internalType: "uint16"
|
|
4658
|
-
},
|
|
4474
|
+
internalType: "uint256",
|
|
4475
|
+
name: "",
|
|
4476
|
+
type: "uint256"
|
|
4477
|
+
}
|
|
4478
|
+
],
|
|
4479
|
+
stateMutability: "view",
|
|
4480
|
+
type: "function"
|
|
4481
|
+
},
|
|
4482
|
+
{
|
|
4483
|
+
inputs: [
|
|
4484
|
+
],
|
|
4485
|
+
name: "disputeJudgementPeriod",
|
|
4486
|
+
outputs: [
|
|
4659
4487
|
{
|
|
4660
|
-
|
|
4661
|
-
|
|
4662
|
-
|
|
4663
|
-
internalType: "address"
|
|
4488
|
+
internalType: "uint256",
|
|
4489
|
+
name: "",
|
|
4490
|
+
type: "uint256"
|
|
4664
4491
|
}
|
|
4665
4492
|
],
|
|
4666
|
-
|
|
4493
|
+
stateMutability: "view",
|
|
4494
|
+
type: "function"
|
|
4667
4495
|
},
|
|
4668
4496
|
{
|
|
4669
|
-
type: "event",
|
|
4670
|
-
name: "TreasuryUpdated",
|
|
4671
4497
|
inputs: [
|
|
4498
|
+
],
|
|
4499
|
+
name: "disputeQuorum",
|
|
4500
|
+
outputs: [
|
|
4672
4501
|
{
|
|
4673
|
-
|
|
4674
|
-
|
|
4675
|
-
|
|
4676
|
-
internalType: "address"
|
|
4502
|
+
internalType: "uint256",
|
|
4503
|
+
name: "",
|
|
4504
|
+
type: "uint256"
|
|
4677
4505
|
}
|
|
4678
4506
|
],
|
|
4679
|
-
|
|
4507
|
+
stateMutability: "view",
|
|
4508
|
+
type: "function"
|
|
4680
4509
|
},
|
|
4681
4510
|
{
|
|
4682
|
-
type: "event",
|
|
4683
|
-
name: "Upgraded",
|
|
4684
4511
|
inputs: [
|
|
4512
|
+
],
|
|
4513
|
+
name: "disputeToken",
|
|
4514
|
+
outputs: [
|
|
4685
4515
|
{
|
|
4686
|
-
|
|
4687
|
-
|
|
4688
|
-
|
|
4689
|
-
internalType: "address"
|
|
4516
|
+
internalType: "contract IERC20",
|
|
4517
|
+
name: "",
|
|
4518
|
+
type: "address"
|
|
4690
4519
|
}
|
|
4691
4520
|
],
|
|
4692
|
-
|
|
4521
|
+
stateMutability: "view",
|
|
4522
|
+
type: "function"
|
|
4693
4523
|
},
|
|
4694
4524
|
{
|
|
4695
|
-
type: "event",
|
|
4696
|
-
name: "Voted",
|
|
4697
4525
|
inputs: [
|
|
4698
4526
|
{
|
|
4699
|
-
|
|
4700
|
-
|
|
4701
|
-
|
|
4702
|
-
|
|
4527
|
+
internalType: "uint256",
|
|
4528
|
+
name: "",
|
|
4529
|
+
type: "uint256"
|
|
4530
|
+
}
|
|
4531
|
+
],
|
|
4532
|
+
name: "disputes",
|
|
4533
|
+
outputs: [
|
|
4534
|
+
{
|
|
4535
|
+
internalType: "address",
|
|
4536
|
+
name: "initiator",
|
|
4537
|
+
type: "address"
|
|
4703
4538
|
},
|
|
4704
4539
|
{
|
|
4705
|
-
|
|
4706
|
-
|
|
4707
|
-
|
|
4708
|
-
internalType: "address"
|
|
4540
|
+
internalType: "uint256",
|
|
4541
|
+
name: "targetId",
|
|
4542
|
+
type: "uint256"
|
|
4709
4543
|
},
|
|
4710
4544
|
{
|
|
4711
|
-
|
|
4712
|
-
|
|
4713
|
-
|
|
4714
|
-
internalType: "bool"
|
|
4545
|
+
internalType: "bytes32",
|
|
4546
|
+
name: "disputeTag",
|
|
4547
|
+
type: "bytes32"
|
|
4715
4548
|
},
|
|
4716
4549
|
{
|
|
4717
|
-
|
|
4718
|
-
|
|
4719
|
-
|
|
4720
|
-
|
|
4550
|
+
internalType: "bytes32",
|
|
4551
|
+
name: "disputeEvidenceHash",
|
|
4552
|
+
type: "bytes32"
|
|
4553
|
+
},
|
|
4554
|
+
{
|
|
4555
|
+
internalType: "bytes32",
|
|
4556
|
+
name: "counterEvidenceHash",
|
|
4557
|
+
type: "bytes32"
|
|
4558
|
+
},
|
|
4559
|
+
{
|
|
4560
|
+
internalType: "uint256",
|
|
4561
|
+
name: "disputeTimestamp",
|
|
4562
|
+
type: "uint256"
|
|
4563
|
+
},
|
|
4564
|
+
{
|
|
4565
|
+
internalType: "uint256",
|
|
4566
|
+
name: "assertionTimestamp",
|
|
4567
|
+
type: "uint256"
|
|
4568
|
+
},
|
|
4569
|
+
{
|
|
4570
|
+
internalType: "uint256",
|
|
4571
|
+
name: "yesVotes",
|
|
4572
|
+
type: "uint256"
|
|
4573
|
+
},
|
|
4574
|
+
{
|
|
4575
|
+
internalType: "uint256",
|
|
4576
|
+
name: "noVotes",
|
|
4577
|
+
type: "uint256"
|
|
4578
|
+
},
|
|
4579
|
+
{
|
|
4580
|
+
internalType: "enum DisputeModule.DisputeStatus",
|
|
4581
|
+
name: "status",
|
|
4582
|
+
type: "uint8"
|
|
4583
|
+
},
|
|
4584
|
+
{
|
|
4585
|
+
internalType: "uint256",
|
|
4586
|
+
name: "bondAmount",
|
|
4587
|
+
type: "uint256"
|
|
4588
|
+
},
|
|
4589
|
+
{
|
|
4590
|
+
internalType: "uint256",
|
|
4591
|
+
name: "protocolFeeAmount",
|
|
4592
|
+
type: "uint256"
|
|
4721
4593
|
}
|
|
4722
4594
|
],
|
|
4723
|
-
|
|
4595
|
+
stateMutability: "view",
|
|
4596
|
+
type: "function"
|
|
4724
4597
|
},
|
|
4725
4598
|
{
|
|
4726
|
-
type: "error",
|
|
4727
|
-
name: "AddressEmptyCode",
|
|
4728
4599
|
inputs: [
|
|
4729
4600
|
{
|
|
4730
|
-
|
|
4731
|
-
|
|
4732
|
-
|
|
4601
|
+
internalType: "uint256",
|
|
4602
|
+
name: "",
|
|
4603
|
+
type: "uint256"
|
|
4604
|
+
},
|
|
4605
|
+
{
|
|
4606
|
+
internalType: "address",
|
|
4607
|
+
name: "",
|
|
4608
|
+
type: "address"
|
|
4733
4609
|
}
|
|
4734
|
-
]
|
|
4735
|
-
|
|
4736
|
-
|
|
4737
|
-
type: "error",
|
|
4738
|
-
name: "AlreadyVoted",
|
|
4739
|
-
inputs: [
|
|
4740
|
-
]
|
|
4741
|
-
},
|
|
4742
|
-
{
|
|
4743
|
-
type: "error",
|
|
4744
|
-
name: "CoolDownPeriodActive",
|
|
4745
|
-
inputs: [
|
|
4746
|
-
]
|
|
4747
|
-
},
|
|
4748
|
-
{
|
|
4749
|
-
type: "error",
|
|
4750
|
-
name: "CoolDownPeriodOver",
|
|
4751
|
-
inputs: [
|
|
4752
|
-
]
|
|
4753
|
-
},
|
|
4754
|
-
{
|
|
4755
|
-
type: "error",
|
|
4756
|
-
name: "ERC1967InvalidImplementation",
|
|
4757
|
-
inputs: [
|
|
4610
|
+
],
|
|
4611
|
+
name: "hasVoted",
|
|
4612
|
+
outputs: [
|
|
4758
4613
|
{
|
|
4759
|
-
|
|
4760
|
-
|
|
4761
|
-
|
|
4614
|
+
internalType: "bool",
|
|
4615
|
+
name: "",
|
|
4616
|
+
type: "bool"
|
|
4762
4617
|
}
|
|
4763
|
-
]
|
|
4764
|
-
|
|
4765
|
-
|
|
4766
|
-
type: "error",
|
|
4767
|
-
name: "ERC1967NonPayable",
|
|
4768
|
-
inputs: [
|
|
4769
|
-
]
|
|
4770
|
-
},
|
|
4771
|
-
{
|
|
4772
|
-
type: "error",
|
|
4773
|
-
name: "EvidenceAlreadyUsed",
|
|
4774
|
-
inputs: [
|
|
4775
|
-
]
|
|
4776
|
-
},
|
|
4777
|
-
{
|
|
4778
|
-
type: "error",
|
|
4779
|
-
name: "FailedCall",
|
|
4780
|
-
inputs: [
|
|
4781
|
-
]
|
|
4782
|
-
},
|
|
4783
|
-
{
|
|
4784
|
-
type: "error",
|
|
4785
|
-
name: "InvalidBondFeeBps",
|
|
4786
|
-
inputs: [
|
|
4787
|
-
]
|
|
4788
|
-
},
|
|
4789
|
-
{
|
|
4790
|
-
type: "error",
|
|
4791
|
-
name: "InvalidChildIpId",
|
|
4792
|
-
inputs: [
|
|
4793
|
-
]
|
|
4794
|
-
},
|
|
4795
|
-
{
|
|
4796
|
-
type: "error",
|
|
4797
|
-
name: "InvalidDisputeStatus",
|
|
4798
|
-
inputs: [
|
|
4799
|
-
]
|
|
4618
|
+
],
|
|
4619
|
+
stateMutability: "view",
|
|
4620
|
+
type: "function"
|
|
4800
4621
|
},
|
|
4801
4622
|
{
|
|
4802
|
-
type: "error",
|
|
4803
|
-
name: "InvalidDisputeTag",
|
|
4804
4623
|
inputs: [
|
|
4805
|
-
|
|
4624
|
+
{
|
|
4625
|
+
internalType: "contract IIpNFT",
|
|
4626
|
+
name: "_ipToken",
|
|
4627
|
+
type: "address"
|
|
4628
|
+
},
|
|
4629
|
+
{
|
|
4630
|
+
internalType: "contract IMarketplace",
|
|
4631
|
+
name: "_marketplace",
|
|
4632
|
+
type: "address"
|
|
4633
|
+
},
|
|
4634
|
+
{
|
|
4635
|
+
internalType: "contract IERC20",
|
|
4636
|
+
name: "_disputeToken",
|
|
4637
|
+
type: "address"
|
|
4638
|
+
},
|
|
4639
|
+
{
|
|
4640
|
+
internalType: "uint256",
|
|
4641
|
+
name: "_disputeBond",
|
|
4642
|
+
type: "uint256"
|
|
4643
|
+
},
|
|
4644
|
+
{
|
|
4645
|
+
internalType: "uint256",
|
|
4646
|
+
name: "_disputeCoolDownPeriod",
|
|
4647
|
+
type: "uint256"
|
|
4648
|
+
},
|
|
4649
|
+
{
|
|
4650
|
+
internalType: "uint256",
|
|
4651
|
+
name: "_disputeJudgementPeriod",
|
|
4652
|
+
type: "uint256"
|
|
4653
|
+
},
|
|
4654
|
+
{
|
|
4655
|
+
internalType: "uint16",
|
|
4656
|
+
name: "_bondFeeBPS",
|
|
4657
|
+
type: "uint16"
|
|
4658
|
+
},
|
|
4659
|
+
{
|
|
4660
|
+
internalType: "uint256",
|
|
4661
|
+
name: "_stakingThreshold",
|
|
4662
|
+
type: "uint256"
|
|
4663
|
+
},
|
|
4664
|
+
{
|
|
4665
|
+
internalType: "contract ICampStakingVault",
|
|
4666
|
+
name: "_stakingVault",
|
|
4667
|
+
type: "address"
|
|
4668
|
+
}
|
|
4669
|
+
],
|
|
4670
|
+
name: "initialize",
|
|
4671
|
+
outputs: [
|
|
4672
|
+
],
|
|
4673
|
+
stateMutability: "nonpayable",
|
|
4674
|
+
type: "function"
|
|
4806
4675
|
},
|
|
4807
4676
|
{
|
|
4808
|
-
type: "error",
|
|
4809
|
-
name: "InvalidEvidenceHash",
|
|
4810
4677
|
inputs: [
|
|
4811
|
-
]
|
|
4678
|
+
],
|
|
4679
|
+
name: "ipToken",
|
|
4680
|
+
outputs: [
|
|
4681
|
+
{
|
|
4682
|
+
internalType: "contract IIpNFT",
|
|
4683
|
+
name: "",
|
|
4684
|
+
type: "address"
|
|
4685
|
+
}
|
|
4686
|
+
],
|
|
4687
|
+
stateMutability: "view",
|
|
4688
|
+
type: "function"
|
|
4812
4689
|
},
|
|
4813
4690
|
{
|
|
4814
|
-
type: "error",
|
|
4815
|
-
name: "InvalidInitialization",
|
|
4816
4691
|
inputs: [
|
|
4817
|
-
|
|
4692
|
+
{
|
|
4693
|
+
internalType: "bytes32",
|
|
4694
|
+
name: "",
|
|
4695
|
+
type: "bytes32"
|
|
4696
|
+
}
|
|
4697
|
+
],
|
|
4698
|
+
name: "isUsedEvidenceHash",
|
|
4699
|
+
outputs: [
|
|
4700
|
+
{
|
|
4701
|
+
internalType: "bool",
|
|
4702
|
+
name: "",
|
|
4703
|
+
type: "bool"
|
|
4704
|
+
}
|
|
4705
|
+
],
|
|
4706
|
+
stateMutability: "view",
|
|
4707
|
+
type: "function"
|
|
4818
4708
|
},
|
|
4819
4709
|
{
|
|
4820
|
-
type: "error",
|
|
4821
|
-
name: "InvalidTargetIp",
|
|
4822
4710
|
inputs: [
|
|
4823
|
-
]
|
|
4711
|
+
],
|
|
4712
|
+
name: "marketplace",
|
|
4713
|
+
outputs: [
|
|
4714
|
+
{
|
|
4715
|
+
internalType: "contract IMarketplace",
|
|
4716
|
+
name: "",
|
|
4717
|
+
type: "address"
|
|
4718
|
+
}
|
|
4719
|
+
],
|
|
4720
|
+
stateMutability: "view",
|
|
4721
|
+
type: "function"
|
|
4824
4722
|
},
|
|
4825
4723
|
{
|
|
4826
|
-
type: "error",
|
|
4827
|
-
name: "NoVotingPower",
|
|
4828
4724
|
inputs: [
|
|
4829
|
-
]
|
|
4725
|
+
],
|
|
4726
|
+
name: "owner",
|
|
4727
|
+
outputs: [
|
|
4728
|
+
{
|
|
4729
|
+
internalType: "address",
|
|
4730
|
+
name: "",
|
|
4731
|
+
type: "address"
|
|
4732
|
+
}
|
|
4733
|
+
],
|
|
4734
|
+
stateMutability: "view",
|
|
4735
|
+
type: "function"
|
|
4830
4736
|
},
|
|
4831
4737
|
{
|
|
4832
|
-
type: "error",
|
|
4833
|
-
name: "NotAParentIp",
|
|
4834
4738
|
inputs: [
|
|
4835
|
-
]
|
|
4739
|
+
],
|
|
4740
|
+
name: "protocolDisputeFee",
|
|
4741
|
+
outputs: [
|
|
4742
|
+
{
|
|
4743
|
+
internalType: "uint256",
|
|
4744
|
+
name: "",
|
|
4745
|
+
type: "uint256"
|
|
4746
|
+
}
|
|
4747
|
+
],
|
|
4748
|
+
stateMutability: "view",
|
|
4749
|
+
type: "function"
|
|
4836
4750
|
},
|
|
4837
4751
|
{
|
|
4838
|
-
type: "error",
|
|
4839
|
-
name: "NotInitializing",
|
|
4840
4752
|
inputs: [
|
|
4841
|
-
]
|
|
4753
|
+
],
|
|
4754
|
+
name: "proxiableUUID",
|
|
4755
|
+
outputs: [
|
|
4756
|
+
{
|
|
4757
|
+
internalType: "bytes32",
|
|
4758
|
+
name: "",
|
|
4759
|
+
type: "bytes32"
|
|
4760
|
+
}
|
|
4761
|
+
],
|
|
4762
|
+
stateMutability: "view",
|
|
4763
|
+
type: "function"
|
|
4842
4764
|
},
|
|
4843
4765
|
{
|
|
4844
|
-
type: "error",
|
|
4845
|
-
name: "NotInitiator",
|
|
4846
4766
|
inputs: [
|
|
4847
|
-
|
|
4767
|
+
{
|
|
4768
|
+
internalType: "uint256",
|
|
4769
|
+
name: "_targetIpId",
|
|
4770
|
+
type: "uint256"
|
|
4771
|
+
},
|
|
4772
|
+
{
|
|
4773
|
+
internalType: "bytes32",
|
|
4774
|
+
name: "_disputeEvidenceHash",
|
|
4775
|
+
type: "bytes32"
|
|
4776
|
+
},
|
|
4777
|
+
{
|
|
4778
|
+
internalType: "bytes32",
|
|
4779
|
+
name: "_disputeTag",
|
|
4780
|
+
type: "bytes32"
|
|
4781
|
+
}
|
|
4782
|
+
],
|
|
4783
|
+
name: "raiseDispute",
|
|
4784
|
+
outputs: [
|
|
4785
|
+
{
|
|
4786
|
+
internalType: "uint256",
|
|
4787
|
+
name: "id",
|
|
4788
|
+
type: "uint256"
|
|
4789
|
+
}
|
|
4790
|
+
],
|
|
4791
|
+
stateMutability: "nonpayable",
|
|
4792
|
+
type: "function"
|
|
4848
4793
|
},
|
|
4849
4794
|
{
|
|
4850
|
-
type: "error",
|
|
4851
|
-
name: "NotTokenOwner",
|
|
4852
4795
|
inputs: [
|
|
4853
|
-
]
|
|
4796
|
+
],
|
|
4797
|
+
name: "renounceOwnership",
|
|
4798
|
+
outputs: [
|
|
4799
|
+
],
|
|
4800
|
+
stateMutability: "nonpayable",
|
|
4801
|
+
type: "function"
|
|
4854
4802
|
},
|
|
4855
4803
|
{
|
|
4856
|
-
type: "error",
|
|
4857
|
-
name: "OwnableInvalidOwner",
|
|
4858
4804
|
inputs: [
|
|
4859
4805
|
{
|
|
4860
|
-
|
|
4861
|
-
|
|
4862
|
-
|
|
4806
|
+
internalType: "uint256",
|
|
4807
|
+
name: "id",
|
|
4808
|
+
type: "uint256"
|
|
4863
4809
|
}
|
|
4864
|
-
]
|
|
4810
|
+
],
|
|
4811
|
+
name: "resolveDispute",
|
|
4812
|
+
outputs: [
|
|
4813
|
+
],
|
|
4814
|
+
stateMutability: "nonpayable",
|
|
4815
|
+
type: "function"
|
|
4865
4816
|
},
|
|
4866
4817
|
{
|
|
4867
|
-
type: "error",
|
|
4868
|
-
name: "OwnableUnauthorizedAccount",
|
|
4869
4818
|
inputs: [
|
|
4870
4819
|
{
|
|
4871
|
-
|
|
4872
|
-
|
|
4873
|
-
|
|
4820
|
+
internalType: "uint256",
|
|
4821
|
+
name: "_disputeQuorum",
|
|
4822
|
+
type: "uint256"
|
|
4874
4823
|
}
|
|
4875
|
-
]
|
|
4876
|
-
|
|
4877
|
-
|
|
4878
|
-
|
|
4879
|
-
|
|
4880
|
-
|
|
4881
|
-
]
|
|
4882
|
-
},
|
|
4883
|
-
{
|
|
4884
|
-
type: "error",
|
|
4885
|
-
name: "SelfAssertionNotAllowed",
|
|
4886
|
-
inputs: [
|
|
4887
|
-
]
|
|
4824
|
+
],
|
|
4825
|
+
name: "setDisputeQuorum",
|
|
4826
|
+
outputs: [
|
|
4827
|
+
],
|
|
4828
|
+
stateMutability: "nonpayable",
|
|
4829
|
+
type: "function"
|
|
4888
4830
|
},
|
|
4889
4831
|
{
|
|
4890
|
-
type: "error",
|
|
4891
|
-
name: "StakedAfterDispute",
|
|
4892
4832
|
inputs: [
|
|
4893
|
-
]
|
|
4833
|
+
],
|
|
4834
|
+
name: "stakingThreshold",
|
|
4835
|
+
outputs: [
|
|
4836
|
+
{
|
|
4837
|
+
internalType: "uint256",
|
|
4838
|
+
name: "",
|
|
4839
|
+
type: "uint256"
|
|
4840
|
+
}
|
|
4841
|
+
],
|
|
4842
|
+
stateMutability: "view",
|
|
4843
|
+
type: "function"
|
|
4894
4844
|
},
|
|
4895
4845
|
{
|
|
4896
|
-
type: "error",
|
|
4897
|
-
name: "TagNotAllowed",
|
|
4898
4846
|
inputs: [
|
|
4899
|
-
]
|
|
4847
|
+
],
|
|
4848
|
+
name: "stakingVault",
|
|
4849
|
+
outputs: [
|
|
4850
|
+
{
|
|
4851
|
+
internalType: "contract ICampStakingVault",
|
|
4852
|
+
name: "",
|
|
4853
|
+
type: "address"
|
|
4854
|
+
}
|
|
4855
|
+
],
|
|
4856
|
+
stateMutability: "view",
|
|
4857
|
+
type: "function"
|
|
4900
4858
|
},
|
|
4901
4859
|
{
|
|
4902
|
-
type: "error",
|
|
4903
|
-
name: "UUPSUnauthorizedCallContext",
|
|
4904
4860
|
inputs: [
|
|
4905
|
-
|
|
4861
|
+
{
|
|
4862
|
+
internalType: "uint256",
|
|
4863
|
+
name: "_childIpId",
|
|
4864
|
+
type: "uint256"
|
|
4865
|
+
},
|
|
4866
|
+
{
|
|
4867
|
+
internalType: "uint256",
|
|
4868
|
+
name: "_infringerDisputeId",
|
|
4869
|
+
type: "uint256"
|
|
4870
|
+
}
|
|
4871
|
+
],
|
|
4872
|
+
name: "tagChildIp",
|
|
4873
|
+
outputs: [
|
|
4874
|
+
],
|
|
4875
|
+
stateMutability: "nonpayable",
|
|
4876
|
+
type: "function"
|
|
4906
4877
|
},
|
|
4907
4878
|
{
|
|
4908
|
-
type: "error",
|
|
4909
|
-
name: "UUPSUnsupportedProxiableUUID",
|
|
4910
4879
|
inputs: [
|
|
4911
4880
|
{
|
|
4912
|
-
|
|
4913
|
-
|
|
4914
|
-
|
|
4881
|
+
internalType: "address",
|
|
4882
|
+
name: "newOwner",
|
|
4883
|
+
type: "address"
|
|
4915
4884
|
}
|
|
4916
|
-
]
|
|
4885
|
+
],
|
|
4886
|
+
name: "transferOwnership",
|
|
4887
|
+
outputs: [
|
|
4888
|
+
],
|
|
4889
|
+
stateMutability: "nonpayable",
|
|
4890
|
+
type: "function"
|
|
4917
4891
|
},
|
|
4918
4892
|
{
|
|
4919
|
-
type: "error",
|
|
4920
|
-
name: "VotingPeriodActive",
|
|
4921
4893
|
inputs: [
|
|
4922
|
-
|
|
4894
|
+
{
|
|
4895
|
+
internalType: "address",
|
|
4896
|
+
name: "newImplementation",
|
|
4897
|
+
type: "address"
|
|
4898
|
+
},
|
|
4899
|
+
{
|
|
4900
|
+
internalType: "bytes",
|
|
4901
|
+
name: "data",
|
|
4902
|
+
type: "bytes"
|
|
4903
|
+
}
|
|
4904
|
+
],
|
|
4905
|
+
name: "upgradeToAndCall",
|
|
4906
|
+
outputs: [
|
|
4907
|
+
],
|
|
4908
|
+
stateMutability: "payable",
|
|
4909
|
+
type: "function"
|
|
4923
4910
|
},
|
|
4924
4911
|
{
|
|
4925
|
-
type: "error",
|
|
4926
|
-
name: "VotingPeriodOver",
|
|
4927
4912
|
inputs: [
|
|
4928
|
-
|
|
4913
|
+
{
|
|
4914
|
+
internalType: "uint256",
|
|
4915
|
+
name: "id",
|
|
4916
|
+
type: "uint256"
|
|
4917
|
+
},
|
|
4918
|
+
{
|
|
4919
|
+
internalType: "bool",
|
|
4920
|
+
name: "support",
|
|
4921
|
+
type: "bool"
|
|
4922
|
+
}
|
|
4923
|
+
],
|
|
4924
|
+
name: "voteOnDispute",
|
|
4925
|
+
outputs: [
|
|
4926
|
+
],
|
|
4927
|
+
stateMutability: "nonpayable",
|
|
4928
|
+
type: "function"
|
|
4929
4929
|
}
|
|
4930
4930
|
];
|
|
4931
4931
|
|
|
@@ -10338,7 +10338,7 @@ const FancyInput = ({ value, onChange, step, placeholder, type = "text", icon, l
|
|
|
10338
10338
|
*/
|
|
10339
10339
|
const FileUpload = ({ onFileUpload, accept, maxFileSize, }) => {
|
|
10340
10340
|
const auth = useAuth();
|
|
10341
|
-
|
|
10341
|
+
useContext(CampContext);
|
|
10342
10342
|
const { isAllowListed } = useUser();
|
|
10343
10343
|
const effectiveMaxFileSize = isAllowListed ? undefined : maxFileSize;
|
|
10344
10344
|
const [isDragging, setIsDragging] = useState(false);
|
|
@@ -10389,11 +10389,7 @@ const FileUpload = ({ onFileUpload, accept, maxFileSize, }) => {
|
|
|
10389
10389
|
: 0; // Duration must be 0 for SINGLE_PAYMENT/X402
|
|
10390
10390
|
const priceInWei = parseEther(price || "0");
|
|
10391
10391
|
const computedRoyaltyBps = Math.floor(parseFloat(royaltyBps) * 100); // percentage to basis points
|
|
10392
|
-
|
|
10393
|
-
const paymentToken = licenseType === LicenseType.X402
|
|
10394
|
-
? environment.USDC_CONTRACT_ADDRESS
|
|
10395
|
-
: zeroAddress;
|
|
10396
|
-
const license = createLicenseTerms(priceInWei, durationInSeconds, computedRoyaltyBps, paymentToken, licenseType);
|
|
10392
|
+
const license = createLicenseTerms(priceInWei, durationInSeconds, computedRoyaltyBps, zeroAddress, licenseType);
|
|
10397
10393
|
const metadata = {
|
|
10398
10394
|
name: selectedFile.name,
|
|
10399
10395
|
description: `File uploaded by ${auth === null || auth === void 0 ? void 0 : auth.walletAddress} via the Origin SDK`,
|