@zoralabs/comments-contracts 0.1.0 → 0.1.1
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/.abi-stability +225 -0
- package/.env.example +0 -1
- package/.turbo/turbo-build$colon$js.log +416 -0
- package/CHANGELOG.md +8 -0
- package/abis/{MockMultiOwnable.json → VmContractHelper121.json} +119 -98
- package/abis/VmContractHelper135.json +233 -0
- package/abis/VmContractHelper98.json +233 -0
- package/foundry.toml +1 -0
- package/package.json +12 -8
- package/script/CommentsDeployerBase.sol +1 -1
- package/src/version/ContractVersionBase.sol +1 -1
- package/.turbo/turbo-build.log +0 -84
- package/abis/AddDelegateCommenterRole.json +0 -9
- package/abis/CallerAndCommenterMintAndCommentTest.json +0 -771
- package/abis/CallerAndCommenterSwapAndCommentTest.json +0 -844
- package/abis/CommentsPermitTest.json +0 -867
- package/abis/CommentsTest.json +0 -1062
- package/abis/Comments_mintAndCommentTest.json +0 -704
- package/abis/Comments_smartWallet.json +0 -746
- package/abis/DeployCallerAndCommenterImpl.json +0 -9
- package/abis/DeployImpl.json +0 -9
- package/abis/DeployNonDeterministic.json +0 -9
- package/abis/DeployScript.json +0 -9
- package/abis/ERC1155Holder.json +0 -99
- package/abis/GenerateDeterministicParams.json +0 -9
- package/test/CallerAndCommenter_mintAndComment.t copy.sol +0 -214
|
@@ -1,9 +1,27 @@
|
|
|
1
1
|
[
|
|
2
2
|
{
|
|
3
|
-
"type": "
|
|
3
|
+
"type": "function",
|
|
4
|
+
"name": "deployCode",
|
|
4
5
|
"inputs": [
|
|
5
6
|
{
|
|
6
|
-
"name": "
|
|
7
|
+
"name": "_artifact",
|
|
8
|
+
"type": "string",
|
|
9
|
+
"internalType": "string"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"name": "_value",
|
|
13
|
+
"type": "uint256",
|
|
14
|
+
"internalType": "uint256"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"name": "_salt",
|
|
18
|
+
"type": "bytes32",
|
|
19
|
+
"internalType": "bytes32"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"outputs": [
|
|
23
|
+
{
|
|
24
|
+
"name": "",
|
|
7
25
|
"type": "address",
|
|
8
26
|
"internalType": "address"
|
|
9
27
|
}
|
|
@@ -12,201 +30,204 @@
|
|
|
12
30
|
},
|
|
13
31
|
{
|
|
14
32
|
"type": "function",
|
|
15
|
-
"name": "
|
|
33
|
+
"name": "deployCode",
|
|
16
34
|
"inputs": [
|
|
17
35
|
{
|
|
18
|
-
"name": "
|
|
36
|
+
"name": "_artifact",
|
|
37
|
+
"type": "string",
|
|
38
|
+
"internalType": "string"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"name": "_args",
|
|
42
|
+
"type": "bytes",
|
|
43
|
+
"internalType": "bytes"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"name": "_salt",
|
|
47
|
+
"type": "bytes32",
|
|
48
|
+
"internalType": "bytes32"
|
|
49
|
+
}
|
|
50
|
+
],
|
|
51
|
+
"outputs": [
|
|
52
|
+
{
|
|
53
|
+
"name": "",
|
|
19
54
|
"type": "address",
|
|
20
55
|
"internalType": "address"
|
|
21
56
|
}
|
|
22
57
|
],
|
|
23
|
-
"outputs": [],
|
|
24
58
|
"stateMutability": "nonpayable"
|
|
25
59
|
},
|
|
26
60
|
{
|
|
27
61
|
"type": "function",
|
|
28
|
-
"name": "
|
|
62
|
+
"name": "deployCode",
|
|
29
63
|
"inputs": [
|
|
30
64
|
{
|
|
31
|
-
"name": "",
|
|
32
|
-
"type": "
|
|
33
|
-
"internalType": "
|
|
65
|
+
"name": "_artifact",
|
|
66
|
+
"type": "string",
|
|
67
|
+
"internalType": "string"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"name": "_value",
|
|
71
|
+
"type": "uint256",
|
|
72
|
+
"internalType": "uint256"
|
|
34
73
|
}
|
|
35
74
|
],
|
|
36
75
|
"outputs": [
|
|
37
76
|
{
|
|
38
77
|
"name": "",
|
|
39
|
-
"type": "
|
|
40
|
-
"internalType": "
|
|
78
|
+
"type": "address",
|
|
79
|
+
"internalType": "address"
|
|
41
80
|
}
|
|
42
81
|
],
|
|
43
|
-
"stateMutability": "
|
|
82
|
+
"stateMutability": "nonpayable"
|
|
44
83
|
},
|
|
45
84
|
{
|
|
46
85
|
"type": "function",
|
|
47
|
-
"name": "
|
|
86
|
+
"name": "deployCode",
|
|
48
87
|
"inputs": [
|
|
49
88
|
{
|
|
50
|
-
"name": "
|
|
51
|
-
"type": "
|
|
52
|
-
"internalType": "
|
|
89
|
+
"name": "_artifact",
|
|
90
|
+
"type": "string",
|
|
91
|
+
"internalType": "string"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"name": "_salt",
|
|
95
|
+
"type": "bytes32",
|
|
96
|
+
"internalType": "bytes32"
|
|
53
97
|
}
|
|
54
98
|
],
|
|
55
99
|
"outputs": [
|
|
56
100
|
{
|
|
57
101
|
"name": "",
|
|
58
|
-
"type": "
|
|
59
|
-
"internalType": "
|
|
102
|
+
"type": "address",
|
|
103
|
+
"internalType": "address"
|
|
60
104
|
}
|
|
61
105
|
],
|
|
62
|
-
"stateMutability": "
|
|
106
|
+
"stateMutability": "nonpayable"
|
|
63
107
|
},
|
|
64
108
|
{
|
|
65
109
|
"type": "function",
|
|
66
|
-
"name": "
|
|
110
|
+
"name": "deployCode",
|
|
67
111
|
"inputs": [
|
|
68
112
|
{
|
|
69
|
-
"name": "
|
|
70
|
-
"type": "
|
|
71
|
-
"internalType": "
|
|
113
|
+
"name": "_artifact",
|
|
114
|
+
"type": "string",
|
|
115
|
+
"internalType": "string"
|
|
72
116
|
},
|
|
73
117
|
{
|
|
74
|
-
"name": "
|
|
118
|
+
"name": "_args",
|
|
75
119
|
"type": "bytes",
|
|
76
120
|
"internalType": "bytes"
|
|
77
121
|
}
|
|
78
122
|
],
|
|
79
123
|
"outputs": [
|
|
80
124
|
{
|
|
81
|
-
"name": "
|
|
82
|
-
"type": "
|
|
83
|
-
"internalType": "
|
|
125
|
+
"name": "",
|
|
126
|
+
"type": "address",
|
|
127
|
+
"internalType": "address"
|
|
84
128
|
}
|
|
85
129
|
],
|
|
86
|
-
"stateMutability": "
|
|
130
|
+
"stateMutability": "nonpayable"
|
|
87
131
|
},
|
|
88
132
|
{
|
|
89
133
|
"type": "function",
|
|
90
|
-
"name": "
|
|
134
|
+
"name": "deployCode",
|
|
91
135
|
"inputs": [
|
|
92
136
|
{
|
|
93
|
-
"name": "",
|
|
94
|
-
"type": "
|
|
95
|
-
"internalType": "
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
"name": "",
|
|
99
|
-
"type": "address",
|
|
100
|
-
"internalType": "address"
|
|
137
|
+
"name": "_artifact",
|
|
138
|
+
"type": "string",
|
|
139
|
+
"internalType": "string"
|
|
101
140
|
},
|
|
102
141
|
{
|
|
103
|
-
"name": "",
|
|
104
|
-
"type": "
|
|
105
|
-
"internalType": "
|
|
142
|
+
"name": "_args",
|
|
143
|
+
"type": "bytes",
|
|
144
|
+
"internalType": "bytes"
|
|
106
145
|
},
|
|
107
146
|
{
|
|
108
|
-
"name": "",
|
|
109
|
-
"type": "uint256
|
|
110
|
-
"internalType": "uint256
|
|
147
|
+
"name": "_value",
|
|
148
|
+
"type": "uint256",
|
|
149
|
+
"internalType": "uint256"
|
|
111
150
|
},
|
|
112
151
|
{
|
|
113
|
-
"name": "",
|
|
114
|
-
"type": "
|
|
115
|
-
"internalType": "
|
|
152
|
+
"name": "_salt",
|
|
153
|
+
"type": "bytes32",
|
|
154
|
+
"internalType": "bytes32"
|
|
116
155
|
}
|
|
117
156
|
],
|
|
118
157
|
"outputs": [
|
|
119
158
|
{
|
|
120
159
|
"name": "",
|
|
121
|
-
"type": "
|
|
122
|
-
"internalType": "
|
|
160
|
+
"type": "address",
|
|
161
|
+
"internalType": "address"
|
|
123
162
|
}
|
|
124
163
|
],
|
|
125
164
|
"stateMutability": "nonpayable"
|
|
126
165
|
},
|
|
127
166
|
{
|
|
128
167
|
"type": "function",
|
|
129
|
-
"name": "
|
|
168
|
+
"name": "deployCode",
|
|
130
169
|
"inputs": [
|
|
131
170
|
{
|
|
132
|
-
"name": "",
|
|
133
|
-
"type": "
|
|
134
|
-
"internalType": "
|
|
135
|
-
}
|
|
171
|
+
"name": "_artifact",
|
|
172
|
+
"type": "string",
|
|
173
|
+
"internalType": "string"
|
|
174
|
+
}
|
|
175
|
+
],
|
|
176
|
+
"outputs": [
|
|
136
177
|
{
|
|
137
178
|
"name": "",
|
|
138
179
|
"type": "address",
|
|
139
180
|
"internalType": "address"
|
|
181
|
+
}
|
|
182
|
+
],
|
|
183
|
+
"stateMutability": "nonpayable"
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"type": "function",
|
|
187
|
+
"name": "deployCode",
|
|
188
|
+
"inputs": [
|
|
189
|
+
{
|
|
190
|
+
"name": "_artifact",
|
|
191
|
+
"type": "string",
|
|
192
|
+
"internalType": "string"
|
|
140
193
|
},
|
|
141
194
|
{
|
|
142
|
-
"name": "",
|
|
143
|
-
"type": "
|
|
144
|
-
"internalType": "
|
|
195
|
+
"name": "_args",
|
|
196
|
+
"type": "bytes",
|
|
197
|
+
"internalType": "bytes"
|
|
145
198
|
},
|
|
146
199
|
{
|
|
147
|
-
"name": "",
|
|
200
|
+
"name": "_value",
|
|
148
201
|
"type": "uint256",
|
|
149
202
|
"internalType": "uint256"
|
|
150
|
-
},
|
|
151
|
-
{
|
|
152
|
-
"name": "",
|
|
153
|
-
"type": "bytes",
|
|
154
|
-
"internalType": "bytes"
|
|
155
203
|
}
|
|
156
204
|
],
|
|
157
205
|
"outputs": [
|
|
158
206
|
{
|
|
159
207
|
"name": "",
|
|
160
|
-
"type": "
|
|
161
|
-
"internalType": "
|
|
208
|
+
"type": "address",
|
|
209
|
+
"internalType": "address"
|
|
162
210
|
}
|
|
163
211
|
],
|
|
164
212
|
"stateMutability": "nonpayable"
|
|
165
213
|
},
|
|
166
214
|
{
|
|
167
215
|
"type": "function",
|
|
168
|
-
"name": "
|
|
216
|
+
"name": "getCode",
|
|
169
217
|
"inputs": [
|
|
170
218
|
{
|
|
171
|
-
"name": "
|
|
172
|
-
"type": "
|
|
173
|
-
"internalType": "
|
|
219
|
+
"name": "_artifact",
|
|
220
|
+
"type": "string",
|
|
221
|
+
"internalType": "string"
|
|
174
222
|
}
|
|
175
223
|
],
|
|
176
224
|
"outputs": [
|
|
177
225
|
{
|
|
178
226
|
"name": "",
|
|
179
|
-
"type": "
|
|
180
|
-
"internalType": "
|
|
227
|
+
"type": "bytes",
|
|
228
|
+
"internalType": "bytes"
|
|
181
229
|
}
|
|
182
230
|
],
|
|
183
|
-
"stateMutability": "
|
|
184
|
-
},
|
|
185
|
-
{
|
|
186
|
-
"type": "error",
|
|
187
|
-
"name": "ECDSAInvalidSignature",
|
|
188
|
-
"inputs": []
|
|
189
|
-
},
|
|
190
|
-
{
|
|
191
|
-
"type": "error",
|
|
192
|
-
"name": "ECDSAInvalidSignatureLength",
|
|
193
|
-
"inputs": [
|
|
194
|
-
{
|
|
195
|
-
"name": "length",
|
|
196
|
-
"type": "uint256",
|
|
197
|
-
"internalType": "uint256"
|
|
198
|
-
}
|
|
199
|
-
]
|
|
200
|
-
},
|
|
201
|
-
{
|
|
202
|
-
"type": "error",
|
|
203
|
-
"name": "ECDSAInvalidSignatureS",
|
|
204
|
-
"inputs": [
|
|
205
|
-
{
|
|
206
|
-
"name": "s",
|
|
207
|
-
"type": "bytes32",
|
|
208
|
-
"internalType": "bytes32"
|
|
209
|
-
}
|
|
210
|
-
]
|
|
231
|
+
"stateMutability": "nonpayable"
|
|
211
232
|
}
|
|
212
233
|
]
|
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"type": "function",
|
|
4
|
+
"name": "deployCode",
|
|
5
|
+
"inputs": [
|
|
6
|
+
{
|
|
7
|
+
"name": "_artifact",
|
|
8
|
+
"type": "string",
|
|
9
|
+
"internalType": "string"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"name": "_value",
|
|
13
|
+
"type": "uint256",
|
|
14
|
+
"internalType": "uint256"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"name": "_salt",
|
|
18
|
+
"type": "bytes32",
|
|
19
|
+
"internalType": "bytes32"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"outputs": [
|
|
23
|
+
{
|
|
24
|
+
"name": "",
|
|
25
|
+
"type": "address",
|
|
26
|
+
"internalType": "address"
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"stateMutability": "nonpayable"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"type": "function",
|
|
33
|
+
"name": "deployCode",
|
|
34
|
+
"inputs": [
|
|
35
|
+
{
|
|
36
|
+
"name": "_artifact",
|
|
37
|
+
"type": "string",
|
|
38
|
+
"internalType": "string"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"name": "_args",
|
|
42
|
+
"type": "bytes",
|
|
43
|
+
"internalType": "bytes"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"name": "_salt",
|
|
47
|
+
"type": "bytes32",
|
|
48
|
+
"internalType": "bytes32"
|
|
49
|
+
}
|
|
50
|
+
],
|
|
51
|
+
"outputs": [
|
|
52
|
+
{
|
|
53
|
+
"name": "",
|
|
54
|
+
"type": "address",
|
|
55
|
+
"internalType": "address"
|
|
56
|
+
}
|
|
57
|
+
],
|
|
58
|
+
"stateMutability": "nonpayable"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"type": "function",
|
|
62
|
+
"name": "deployCode",
|
|
63
|
+
"inputs": [
|
|
64
|
+
{
|
|
65
|
+
"name": "_artifact",
|
|
66
|
+
"type": "string",
|
|
67
|
+
"internalType": "string"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"name": "_value",
|
|
71
|
+
"type": "uint256",
|
|
72
|
+
"internalType": "uint256"
|
|
73
|
+
}
|
|
74
|
+
],
|
|
75
|
+
"outputs": [
|
|
76
|
+
{
|
|
77
|
+
"name": "",
|
|
78
|
+
"type": "address",
|
|
79
|
+
"internalType": "address"
|
|
80
|
+
}
|
|
81
|
+
],
|
|
82
|
+
"stateMutability": "nonpayable"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"type": "function",
|
|
86
|
+
"name": "deployCode",
|
|
87
|
+
"inputs": [
|
|
88
|
+
{
|
|
89
|
+
"name": "_artifact",
|
|
90
|
+
"type": "string",
|
|
91
|
+
"internalType": "string"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"name": "_salt",
|
|
95
|
+
"type": "bytes32",
|
|
96
|
+
"internalType": "bytes32"
|
|
97
|
+
}
|
|
98
|
+
],
|
|
99
|
+
"outputs": [
|
|
100
|
+
{
|
|
101
|
+
"name": "",
|
|
102
|
+
"type": "address",
|
|
103
|
+
"internalType": "address"
|
|
104
|
+
}
|
|
105
|
+
],
|
|
106
|
+
"stateMutability": "nonpayable"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"type": "function",
|
|
110
|
+
"name": "deployCode",
|
|
111
|
+
"inputs": [
|
|
112
|
+
{
|
|
113
|
+
"name": "_artifact",
|
|
114
|
+
"type": "string",
|
|
115
|
+
"internalType": "string"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"name": "_args",
|
|
119
|
+
"type": "bytes",
|
|
120
|
+
"internalType": "bytes"
|
|
121
|
+
}
|
|
122
|
+
],
|
|
123
|
+
"outputs": [
|
|
124
|
+
{
|
|
125
|
+
"name": "",
|
|
126
|
+
"type": "address",
|
|
127
|
+
"internalType": "address"
|
|
128
|
+
}
|
|
129
|
+
],
|
|
130
|
+
"stateMutability": "nonpayable"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"type": "function",
|
|
134
|
+
"name": "deployCode",
|
|
135
|
+
"inputs": [
|
|
136
|
+
{
|
|
137
|
+
"name": "_artifact",
|
|
138
|
+
"type": "string",
|
|
139
|
+
"internalType": "string"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"name": "_args",
|
|
143
|
+
"type": "bytes",
|
|
144
|
+
"internalType": "bytes"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"name": "_value",
|
|
148
|
+
"type": "uint256",
|
|
149
|
+
"internalType": "uint256"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"name": "_salt",
|
|
153
|
+
"type": "bytes32",
|
|
154
|
+
"internalType": "bytes32"
|
|
155
|
+
}
|
|
156
|
+
],
|
|
157
|
+
"outputs": [
|
|
158
|
+
{
|
|
159
|
+
"name": "",
|
|
160
|
+
"type": "address",
|
|
161
|
+
"internalType": "address"
|
|
162
|
+
}
|
|
163
|
+
],
|
|
164
|
+
"stateMutability": "nonpayable"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"type": "function",
|
|
168
|
+
"name": "deployCode",
|
|
169
|
+
"inputs": [
|
|
170
|
+
{
|
|
171
|
+
"name": "_artifact",
|
|
172
|
+
"type": "string",
|
|
173
|
+
"internalType": "string"
|
|
174
|
+
}
|
|
175
|
+
],
|
|
176
|
+
"outputs": [
|
|
177
|
+
{
|
|
178
|
+
"name": "",
|
|
179
|
+
"type": "address",
|
|
180
|
+
"internalType": "address"
|
|
181
|
+
}
|
|
182
|
+
],
|
|
183
|
+
"stateMutability": "nonpayable"
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"type": "function",
|
|
187
|
+
"name": "deployCode",
|
|
188
|
+
"inputs": [
|
|
189
|
+
{
|
|
190
|
+
"name": "_artifact",
|
|
191
|
+
"type": "string",
|
|
192
|
+
"internalType": "string"
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"name": "_args",
|
|
196
|
+
"type": "bytes",
|
|
197
|
+
"internalType": "bytes"
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"name": "_value",
|
|
201
|
+
"type": "uint256",
|
|
202
|
+
"internalType": "uint256"
|
|
203
|
+
}
|
|
204
|
+
],
|
|
205
|
+
"outputs": [
|
|
206
|
+
{
|
|
207
|
+
"name": "",
|
|
208
|
+
"type": "address",
|
|
209
|
+
"internalType": "address"
|
|
210
|
+
}
|
|
211
|
+
],
|
|
212
|
+
"stateMutability": "nonpayable"
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"type": "function",
|
|
216
|
+
"name": "getCode",
|
|
217
|
+
"inputs": [
|
|
218
|
+
{
|
|
219
|
+
"name": "_artifact",
|
|
220
|
+
"type": "string",
|
|
221
|
+
"internalType": "string"
|
|
222
|
+
}
|
|
223
|
+
],
|
|
224
|
+
"outputs": [
|
|
225
|
+
{
|
|
226
|
+
"name": "",
|
|
227
|
+
"type": "bytes",
|
|
228
|
+
"internalType": "bytes"
|
|
229
|
+
}
|
|
230
|
+
],
|
|
231
|
+
"stateMutability": "nonpayable"
|
|
232
|
+
}
|
|
233
|
+
]
|