@towns-protocol/generated 0.0.210 → 0.0.212

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.
@@ -768,31 +768,6 @@
768
768
  }
769
769
  ]
770
770
  },
771
- {
772
- "type": "error",
773
- "name": "ChannelService__ChannelAlreadyExists",
774
- "inputs": []
775
- },
776
- {
777
- "type": "error",
778
- "name": "ChannelService__ChannelDisabled",
779
- "inputs": []
780
- },
781
- {
782
- "type": "error",
783
- "name": "ChannelService__ChannelDoesNotExist",
784
- "inputs": []
785
- },
786
- {
787
- "type": "error",
788
- "name": "ChannelService__RoleAlreadyExists",
789
- "inputs": []
790
- },
791
- {
792
- "type": "error",
793
- "name": "ChannelService__RoleDoesNotExist",
794
- "inputs": []
795
- },
796
771
  {
797
772
  "type": "error",
798
773
  "name": "ERC5643__DurationZero",
@@ -970,10 +945,5 @@
970
945
  "type": "error",
971
946
  "name": "URIQueryForNonexistentToken",
972
947
  "inputs": []
973
- },
974
- {
975
- "type": "error",
976
- "name": "Validator__InvalidStringLength",
977
- "inputs": []
978
948
  }
979
949
  ]
@@ -768,31 +768,6 @@ export default [
768
768
  }
769
769
  ]
770
770
  },
771
- {
772
- "type": "error",
773
- "name": "ChannelService__ChannelAlreadyExists",
774
- "inputs": []
775
- },
776
- {
777
- "type": "error",
778
- "name": "ChannelService__ChannelDisabled",
779
- "inputs": []
780
- },
781
- {
782
- "type": "error",
783
- "name": "ChannelService__ChannelDoesNotExist",
784
- "inputs": []
785
- },
786
- {
787
- "type": "error",
788
- "name": "ChannelService__RoleAlreadyExists",
789
- "inputs": []
790
- },
791
- {
792
- "type": "error",
793
- "name": "ChannelService__RoleDoesNotExist",
794
- "inputs": []
795
- },
796
771
  {
797
772
  "type": "error",
798
773
  "name": "ERC5643__DurationZero",
@@ -970,10 +945,5 @@ export default [
970
945
  "type": "error",
971
946
  "name": "URIQueryForNonexistentToken",
972
947
  "inputs": []
973
- },
974
- {
975
- "type": "error",
976
- "name": "Validator__InvalidStringLength",
977
- "inputs": []
978
948
  }
979
949
  ] as const
@@ -86,6 +86,11 @@
86
86
  "type": "uint256",
87
87
  "internalType": "uint256"
88
88
  },
89
+ {
90
+ "name": "points",
91
+ "type": "uint256",
92
+ "internalType": "uint256"
93
+ },
89
94
  {
90
95
  "name": "proof",
91
96
  "type": "bytes32[]",
@@ -142,6 +147,11 @@
142
147
  "type": "uint256",
143
148
  "internalType": "uint256"
144
149
  },
150
+ {
151
+ "name": "points",
152
+ "type": "uint256",
153
+ "internalType": "uint256"
154
+ },
145
155
  {
146
156
  "name": "proof",
147
157
  "type": "bytes32[]",
@@ -668,6 +678,11 @@
668
678
  "name": "DropFacet__NoActiveClaimCondition",
669
679
  "inputs": []
670
680
  },
681
+ {
682
+ "type": "error",
683
+ "name": "DropFacet__PointsMustBeGreaterThanZero",
684
+ "inputs": []
685
+ },
671
686
  {
672
687
  "type": "error",
673
688
  "name": "DropFacet__QuantityMustBeGreaterThanZero",
@@ -683,6 +698,27 @@
683
698
  "name": "DropFacet__UnexpectedPenaltyBps",
684
699
  "inputs": []
685
700
  },
701
+ {
702
+ "type": "error",
703
+ "name": "ERC20InsufficientBalance",
704
+ "inputs": [
705
+ {
706
+ "name": "sender",
707
+ "type": "address",
708
+ "internalType": "address"
709
+ },
710
+ {
711
+ "name": "balance",
712
+ "type": "uint256",
713
+ "internalType": "uint256"
714
+ },
715
+ {
716
+ "name": "needed",
717
+ "type": "uint256",
718
+ "internalType": "uint256"
719
+ }
720
+ ]
721
+ },
686
722
  {
687
723
  "type": "error",
688
724
  "name": "Initializable_InInitializingState",
@@ -86,6 +86,11 @@ export default [
86
86
  "type": "uint256",
87
87
  "internalType": "uint256"
88
88
  },
89
+ {
90
+ "name": "points",
91
+ "type": "uint256",
92
+ "internalType": "uint256"
93
+ },
89
94
  {
90
95
  "name": "proof",
91
96
  "type": "bytes32[]",
@@ -142,6 +147,11 @@ export default [
142
147
  "type": "uint256",
143
148
  "internalType": "uint256"
144
149
  },
150
+ {
151
+ "name": "points",
152
+ "type": "uint256",
153
+ "internalType": "uint256"
154
+ },
145
155
  {
146
156
  "name": "proof",
147
157
  "type": "bytes32[]",
@@ -668,6 +678,11 @@ export default [
668
678
  "name": "DropFacet__NoActiveClaimCondition",
669
679
  "inputs": []
670
680
  },
681
+ {
682
+ "type": "error",
683
+ "name": "DropFacet__PointsMustBeGreaterThanZero",
684
+ "inputs": []
685
+ },
671
686
  {
672
687
  "type": "error",
673
688
  "name": "DropFacet__QuantityMustBeGreaterThanZero",
@@ -683,6 +698,27 @@ export default [
683
698
  "name": "DropFacet__UnexpectedPenaltyBps",
684
699
  "inputs": []
685
700
  },
701
+ {
702
+ "type": "error",
703
+ "name": "ERC20InsufficientBalance",
704
+ "inputs": [
705
+ {
706
+ "name": "sender",
707
+ "type": "address",
708
+ "internalType": "address"
709
+ },
710
+ {
711
+ "name": "balance",
712
+ "type": "uint256",
713
+ "internalType": "uint256"
714
+ },
715
+ {
716
+ "name": "needed",
717
+ "type": "uint256",
718
+ "internalType": "uint256"
719
+ }
720
+ ]
721
+ },
686
722
  {
687
723
  "type": "error",
688
724
  "name": "Initializable_InInitializingState",
@@ -362,10 +362,5 @@
362
362
  "type": "error",
363
363
  "name": "Reentrancy",
364
364
  "inputs": []
365
- },
366
- {
367
- "type": "error",
368
- "name": "Validator__InvalidAddress",
369
- "inputs": []
370
365
  }
371
366
  ]
@@ -362,10 +362,5 @@ export default [
362
362
  "type": "error",
363
363
  "name": "Reentrancy",
364
364
  "inputs": []
365
- },
366
- {
367
- "type": "error",
368
- "name": "Validator__InvalidAddress",
369
- "inputs": []
370
365
  }
371
366
  ] as const
@@ -757,21 +757,6 @@
757
757
  }
758
758
  ]
759
759
  },
760
- {
761
- "type": "error",
762
- "name": "ChannelService__ChannelDisabled",
763
- "inputs": []
764
- },
765
- {
766
- "type": "error",
767
- "name": "ChannelService__ChannelDoesNotExist",
768
- "inputs": []
769
- },
770
- {
771
- "type": "error",
772
- "name": "ChannelService__RoleDoesNotExist",
773
- "inputs": []
774
- },
775
760
  {
776
761
  "type": "error",
777
762
  "name": "ERC5643__DurationZero",
@@ -949,15 +934,5 @@
949
934
  "type": "error",
950
935
  "name": "URIQueryForNonexistentToken",
951
936
  "inputs": []
952
- },
953
- {
954
- "type": "error",
955
- "name": "Validator__InvalidByteLength",
956
- "inputs": []
957
- },
958
- {
959
- "type": "error",
960
- "name": "Validator__InvalidStringLength",
961
- "inputs": []
962
937
  }
963
938
  ]
@@ -757,21 +757,6 @@ export default [
757
757
  }
758
758
  ]
759
759
  },
760
- {
761
- "type": "error",
762
- "name": "ChannelService__ChannelDisabled",
763
- "inputs": []
764
- },
765
- {
766
- "type": "error",
767
- "name": "ChannelService__ChannelDoesNotExist",
768
- "inputs": []
769
- },
770
- {
771
- "type": "error",
772
- "name": "ChannelService__RoleDoesNotExist",
773
- "inputs": []
774
- },
775
760
  {
776
761
  "type": "error",
777
762
  "name": "ERC5643__DurationZero",
@@ -949,15 +934,5 @@ export default [
949
934
  "type": "error",
950
935
  "name": "URIQueryForNonexistentToken",
951
936
  "inputs": []
952
- },
953
- {
954
- "type": "error",
955
- "name": "Validator__InvalidByteLength",
956
- "inputs": []
957
- },
958
- {
959
- "type": "error",
960
- "name": "Validator__InvalidStringLength",
961
- "inputs": []
962
937
  }
963
938
  ] as const
@@ -1122,16 +1122,6 @@
1122
1122
  "name": "URIQueryForNonexistentToken",
1123
1123
  "inputs": []
1124
1124
  },
1125
- {
1126
- "type": "error",
1127
- "name": "Validator__InvalidAddress",
1128
- "inputs": []
1129
- },
1130
- {
1131
- "type": "error",
1132
- "name": "Validator__InvalidStringLength",
1133
- "inputs": []
1134
- },
1135
1125
  {
1136
1126
  "type": "error",
1137
1127
  "name": "VotesExpiredSignature",
@@ -1122,16 +1122,6 @@ export default [
1122
1122
  "name": "URIQueryForNonexistentToken",
1123
1123
  "inputs": []
1124
1124
  },
1125
- {
1126
- "type": "error",
1127
- "name": "Validator__InvalidAddress",
1128
- "inputs": []
1129
- },
1130
- {
1131
- "type": "error",
1132
- "name": "Validator__InvalidStringLength",
1133
- "inputs": []
1134
- },
1135
1125
  {
1136
1126
  "type": "error",
1137
1127
  "name": "VotesExpiredSignature",
@@ -60,13 +60,21 @@ export declare namespace DropClaimLib {
60
60
  conditionId: PromiseOrValue<BigNumberish>;
61
61
  account: PromiseOrValue<string>;
62
62
  quantity: PromiseOrValue<BigNumberish>;
63
+ points: PromiseOrValue<BigNumberish>;
63
64
  proof: PromiseOrValue<BytesLike>[];
64
65
  };
65
66
 
66
- export type ClaimStructOutput = [BigNumber, string, BigNumber, string[]] & {
67
+ export type ClaimStructOutput = [
68
+ BigNumber,
69
+ string,
70
+ BigNumber,
71
+ BigNumber,
72
+ string[]
73
+ ] & {
67
74
  conditionId: BigNumber;
68
75
  account: string;
69
76
  quantity: BigNumber;
77
+ points: BigNumber;
70
78
  proof: string[];
71
79
  };
72
80
  }
@@ -74,8 +82,8 @@ export declare namespace DropClaimLib {
74
82
  export interface IDropFacetInterface extends utils.Interface {
75
83
  functions: {
76
84
  "addClaimCondition((address,uint40,uint40,uint16,uint256,uint256,bytes32))": FunctionFragment;
77
- "claimAndStake((uint256,address,uint256,bytes32[]),address,uint256,bytes)": FunctionFragment;
78
- "claimWithPenalty((uint256,address,uint256,bytes32[]),uint16)": FunctionFragment;
85
+ "claimAndStake((uint256,address,uint256,uint256,bytes32[]),address,uint256,bytes)": FunctionFragment;
86
+ "claimWithPenalty((uint256,address,uint256,uint256,bytes32[]),uint16)": FunctionFragment;
79
87
  "getActiveClaimConditionId()": FunctionFragment;
80
88
  "getClaimConditionById(uint256)": FunctionFragment;
81
89
  "getClaimConditions()": FunctionFragment;
@@ -81,6 +81,11 @@ const _abi = [
81
81
  type: "uint256",
82
82
  internalType: "uint256",
83
83
  },
84
+ {
85
+ name: "points",
86
+ type: "uint256",
87
+ internalType: "uint256",
88
+ },
84
89
  {
85
90
  name: "proof",
86
91
  type: "bytes32[]",
@@ -137,6 +142,11 @@ const _abi = [
137
142
  type: "uint256",
138
143
  internalType: "uint256",
139
144
  },
145
+ {
146
+ name: "points",
147
+ type: "uint256",
148
+ internalType: "uint256",
149
+ },
140
150
  {
141
151
  name: "proof",
142
152
  type: "bytes32[]",
@@ -605,6 +615,11 @@ const _abi = [
605
615
  name: "DropFacet__NoActiveClaimCondition",
606
616
  inputs: [],
607
617
  },
618
+ {
619
+ type: "error",
620
+ name: "DropFacet__PointsMustBeGreaterThanZero",
621
+ inputs: [],
622
+ },
608
623
  {
609
624
  type: "error",
610
625
  name: "DropFacet__QuantityMustBeGreaterThanZero",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@towns-protocol/generated",
3
- "version": "0.0.210",
3
+ "version": "0.0.212",
4
4
  "packageManager": "yarn@3.8.0",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -10,5 +10,5 @@
10
10
  "make-config": "node ./scripts/make-config.js",
11
11
  "preinstall": "node ./scripts/make-config.js"
12
12
  },
13
- "gitHead": "8aa8a629ece460a2bb51f430da46db19e8861761"
13
+ "gitHead": "49f868c70499d44312bd62f12ccd4ade8a998e6f"
14
14
  }