@towns-protocol/generated 0.0.211 → 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.
@@ -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",
@@ -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.211",
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": "9e08186c659ab48f2b790580eae3b4ea11799e75"
13
+ "gitHead": "49f868c70499d44312bd62f12ccd4ade8a998e6f"
14
14
  }