@web3dotorg/evm-slc-core-sdk 0.3.15 → 0.3.17
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/Governance.json +10 -0
- package/abi/QCoreTreasury.json +654 -0
- package/lib.commonjs/contracts/core/QCoreTreasurty.sol/QCoreTreasury.d.ts +369 -0
- package/lib.commonjs/contracts/core/QCoreTreasurty.sol/QCoreTreasury.js +2 -0
- package/lib.commonjs/contracts/core/QCoreTreasurty.sol/index.d.ts +1 -0
- package/lib.commonjs/contracts/core/QCoreTreasurty.sol/index.js +2 -0
- package/lib.commonjs/contracts/core/index.d.ts +2 -0
- package/lib.commonjs/contracts/core/index.js +2 -0
- package/lib.commonjs/contracts/governance/Governance.d.ts +3 -0
- package/lib.commonjs/contracts/index.d.ts +2 -0
- package/lib.commonjs/contracts/mocks/MockERC721.d.ts +226 -0
- package/lib.commonjs/contracts/mocks/MockERC721.js +2 -0
- package/lib.commonjs/contracts/mocks/Noop.d.ts +26 -0
- package/lib.commonjs/contracts/mocks/Noop.js +2 -0
- package/lib.commonjs/contracts/mocks/index.d.ts +2 -0
- package/lib.commonjs/factories/contracts/core/QCoreTreasurty.sol/QCoreTreasury__factory.d.ts +528 -0
- package/lib.commonjs/factories/contracts/core/QCoreTreasurty.sol/QCoreTreasury__factory.js +694 -0
- package/lib.commonjs/factories/contracts/core/QCoreTreasurty.sol/index.d.ts +1 -0
- package/lib.commonjs/factories/contracts/core/QCoreTreasurty.sol/index.js +8 -0
- package/lib.commonjs/factories/contracts/core/index.d.ts +1 -0
- package/lib.commonjs/factories/contracts/core/index.js +30 -0
- package/lib.commonjs/factories/contracts/governance/ExecutorsRegistry__factory.d.ts +1 -1
- package/lib.commonjs/factories/contracts/governance/ExecutorsRegistry__factory.js +1 -1
- package/lib.commonjs/factories/contracts/governance/Governance__factory.d.ts +9 -1
- package/lib.commonjs/factories/contracts/governance/Governance__factory.js +11 -1
- package/lib.commonjs/factories/contracts/index.d.ts +1 -0
- package/lib.commonjs/factories/contracts/index.js +2 -1
- package/lib.commonjs/factories/contracts/libs/GovernanceUtils__factory.d.ts +1 -1
- package/lib.commonjs/factories/contracts/libs/GovernanceUtils__factory.js +1 -1
- package/lib.commonjs/factories/contracts/mocks/MockERC721__factory.d.ts +372 -0
- package/lib.commonjs/factories/contracts/mocks/MockERC721__factory.js +498 -0
- package/lib.commonjs/factories/contracts/mocks/Noop__factory.d.ts +30 -0
- package/lib.commonjs/factories/contracts/mocks/Noop__factory.js +49 -0
- package/lib.commonjs/factories/contracts/mocks/index.d.ts +2 -0
- package/lib.commonjs/factories/contracts/mocks/index.js +5 -1
- package/lib.esm/contracts/core/QCoreTreasurty.sol/QCoreTreasury.d.ts +369 -0
- package/lib.esm/contracts/core/QCoreTreasurty.sol/QCoreTreasury.js +1 -0
- package/lib.esm/contracts/core/QCoreTreasurty.sol/index.d.ts +1 -0
- package/lib.esm/contracts/core/QCoreTreasurty.sol/index.js +1 -0
- package/lib.esm/contracts/core/index.d.ts +2 -0
- package/lib.esm/contracts/core/index.js +1 -0
- package/lib.esm/contracts/governance/Governance.d.ts +3 -0
- package/lib.esm/contracts/index.d.ts +2 -0
- package/lib.esm/contracts/mocks/MockERC721.d.ts +226 -0
- package/lib.esm/contracts/mocks/MockERC721.js +1 -0
- package/lib.esm/contracts/mocks/Noop.d.ts +26 -0
- package/lib.esm/contracts/mocks/Noop.js +1 -0
- package/lib.esm/contracts/mocks/index.d.ts +2 -0
- package/lib.esm/factories/contracts/core/QCoreTreasurty.sol/QCoreTreasury__factory.d.ts +528 -0
- package/lib.esm/factories/contracts/core/QCoreTreasurty.sol/QCoreTreasury__factory.js +690 -0
- package/lib.esm/factories/contracts/core/QCoreTreasurty.sol/index.d.ts +1 -0
- package/lib.esm/factories/contracts/core/QCoreTreasurty.sol/index.js +4 -0
- package/lib.esm/factories/contracts/core/index.d.ts +1 -0
- package/lib.esm/factories/contracts/core/index.js +4 -0
- package/lib.esm/factories/contracts/governance/ExecutorsRegistry__factory.d.ts +1 -1
- package/lib.esm/factories/contracts/governance/ExecutorsRegistry__factory.js +1 -1
- package/lib.esm/factories/contracts/governance/Governance__factory.d.ts +9 -1
- package/lib.esm/factories/contracts/governance/Governance__factory.js +11 -1
- package/lib.esm/factories/contracts/index.d.ts +1 -0
- package/lib.esm/factories/contracts/index.js +1 -0
- package/lib.esm/factories/contracts/libs/GovernanceUtils__factory.d.ts +1 -1
- package/lib.esm/factories/contracts/libs/GovernanceUtils__factory.js +1 -1
- package/lib.esm/factories/contracts/mocks/MockERC721__factory.d.ts +372 -0
- package/lib.esm/factories/contracts/mocks/MockERC721__factory.js +494 -0
- package/lib.esm/factories/contracts/mocks/Noop__factory.d.ts +30 -0
- package/lib.esm/factories/contracts/mocks/Noop__factory.js +45 -0
- package/lib.esm/factories/contracts/mocks/index.d.ts +2 -0
- package/lib.esm/factories/contracts/mocks/index.js +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,498 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MockERC721__factory = void 0;
|
|
4
|
+
/* Autogenerated file. Do not edit manually. */
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
const ethers_1 = require("ethers");
|
|
8
|
+
const _abi = [
|
|
9
|
+
{
|
|
10
|
+
inputs: [],
|
|
11
|
+
stateMutability: "nonpayable",
|
|
12
|
+
type: "constructor",
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
inputs: [
|
|
16
|
+
{
|
|
17
|
+
internalType: "address",
|
|
18
|
+
name: "sender",
|
|
19
|
+
type: "address",
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
internalType: "uint256",
|
|
23
|
+
name: "tokenId",
|
|
24
|
+
type: "uint256",
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
internalType: "address",
|
|
28
|
+
name: "owner",
|
|
29
|
+
type: "address",
|
|
30
|
+
},
|
|
31
|
+
],
|
|
32
|
+
name: "ERC721IncorrectOwner",
|
|
33
|
+
type: "error",
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
inputs: [
|
|
37
|
+
{
|
|
38
|
+
internalType: "address",
|
|
39
|
+
name: "operator",
|
|
40
|
+
type: "address",
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
internalType: "uint256",
|
|
44
|
+
name: "tokenId",
|
|
45
|
+
type: "uint256",
|
|
46
|
+
},
|
|
47
|
+
],
|
|
48
|
+
name: "ERC721InsufficientApproval",
|
|
49
|
+
type: "error",
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
inputs: [
|
|
53
|
+
{
|
|
54
|
+
internalType: "address",
|
|
55
|
+
name: "approver",
|
|
56
|
+
type: "address",
|
|
57
|
+
},
|
|
58
|
+
],
|
|
59
|
+
name: "ERC721InvalidApprover",
|
|
60
|
+
type: "error",
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
inputs: [
|
|
64
|
+
{
|
|
65
|
+
internalType: "address",
|
|
66
|
+
name: "operator",
|
|
67
|
+
type: "address",
|
|
68
|
+
},
|
|
69
|
+
],
|
|
70
|
+
name: "ERC721InvalidOperator",
|
|
71
|
+
type: "error",
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
inputs: [
|
|
75
|
+
{
|
|
76
|
+
internalType: "address",
|
|
77
|
+
name: "owner",
|
|
78
|
+
type: "address",
|
|
79
|
+
},
|
|
80
|
+
],
|
|
81
|
+
name: "ERC721InvalidOwner",
|
|
82
|
+
type: "error",
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
inputs: [
|
|
86
|
+
{
|
|
87
|
+
internalType: "address",
|
|
88
|
+
name: "receiver",
|
|
89
|
+
type: "address",
|
|
90
|
+
},
|
|
91
|
+
],
|
|
92
|
+
name: "ERC721InvalidReceiver",
|
|
93
|
+
type: "error",
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
inputs: [
|
|
97
|
+
{
|
|
98
|
+
internalType: "address",
|
|
99
|
+
name: "sender",
|
|
100
|
+
type: "address",
|
|
101
|
+
},
|
|
102
|
+
],
|
|
103
|
+
name: "ERC721InvalidSender",
|
|
104
|
+
type: "error",
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
inputs: [
|
|
108
|
+
{
|
|
109
|
+
internalType: "uint256",
|
|
110
|
+
name: "tokenId",
|
|
111
|
+
type: "uint256",
|
|
112
|
+
},
|
|
113
|
+
],
|
|
114
|
+
name: "ERC721NonexistentToken",
|
|
115
|
+
type: "error",
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
anonymous: false,
|
|
119
|
+
inputs: [
|
|
120
|
+
{
|
|
121
|
+
indexed: true,
|
|
122
|
+
internalType: "address",
|
|
123
|
+
name: "owner",
|
|
124
|
+
type: "address",
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
indexed: true,
|
|
128
|
+
internalType: "address",
|
|
129
|
+
name: "approved",
|
|
130
|
+
type: "address",
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
indexed: true,
|
|
134
|
+
internalType: "uint256",
|
|
135
|
+
name: "tokenId",
|
|
136
|
+
type: "uint256",
|
|
137
|
+
},
|
|
138
|
+
],
|
|
139
|
+
name: "Approval",
|
|
140
|
+
type: "event",
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
anonymous: false,
|
|
144
|
+
inputs: [
|
|
145
|
+
{
|
|
146
|
+
indexed: true,
|
|
147
|
+
internalType: "address",
|
|
148
|
+
name: "owner",
|
|
149
|
+
type: "address",
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
indexed: true,
|
|
153
|
+
internalType: "address",
|
|
154
|
+
name: "operator",
|
|
155
|
+
type: "address",
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
indexed: false,
|
|
159
|
+
internalType: "bool",
|
|
160
|
+
name: "approved",
|
|
161
|
+
type: "bool",
|
|
162
|
+
},
|
|
163
|
+
],
|
|
164
|
+
name: "ApprovalForAll",
|
|
165
|
+
type: "event",
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
anonymous: false,
|
|
169
|
+
inputs: [
|
|
170
|
+
{
|
|
171
|
+
indexed: true,
|
|
172
|
+
internalType: "address",
|
|
173
|
+
name: "from",
|
|
174
|
+
type: "address",
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
indexed: true,
|
|
178
|
+
internalType: "address",
|
|
179
|
+
name: "to",
|
|
180
|
+
type: "address",
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
indexed: true,
|
|
184
|
+
internalType: "uint256",
|
|
185
|
+
name: "tokenId",
|
|
186
|
+
type: "uint256",
|
|
187
|
+
},
|
|
188
|
+
],
|
|
189
|
+
name: "Transfer",
|
|
190
|
+
type: "event",
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
inputs: [
|
|
194
|
+
{
|
|
195
|
+
internalType: "address",
|
|
196
|
+
name: "to",
|
|
197
|
+
type: "address",
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
internalType: "uint256",
|
|
201
|
+
name: "tokenId",
|
|
202
|
+
type: "uint256",
|
|
203
|
+
},
|
|
204
|
+
],
|
|
205
|
+
name: "approve",
|
|
206
|
+
outputs: [],
|
|
207
|
+
stateMutability: "nonpayable",
|
|
208
|
+
type: "function",
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
inputs: [
|
|
212
|
+
{
|
|
213
|
+
internalType: "address",
|
|
214
|
+
name: "owner",
|
|
215
|
+
type: "address",
|
|
216
|
+
},
|
|
217
|
+
],
|
|
218
|
+
name: "balanceOf",
|
|
219
|
+
outputs: [
|
|
220
|
+
{
|
|
221
|
+
internalType: "uint256",
|
|
222
|
+
name: "",
|
|
223
|
+
type: "uint256",
|
|
224
|
+
},
|
|
225
|
+
],
|
|
226
|
+
stateMutability: "view",
|
|
227
|
+
type: "function",
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
inputs: [
|
|
231
|
+
{
|
|
232
|
+
internalType: "uint256",
|
|
233
|
+
name: "tokenId",
|
|
234
|
+
type: "uint256",
|
|
235
|
+
},
|
|
236
|
+
],
|
|
237
|
+
name: "getApproved",
|
|
238
|
+
outputs: [
|
|
239
|
+
{
|
|
240
|
+
internalType: "address",
|
|
241
|
+
name: "",
|
|
242
|
+
type: "address",
|
|
243
|
+
},
|
|
244
|
+
],
|
|
245
|
+
stateMutability: "view",
|
|
246
|
+
type: "function",
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
inputs: [
|
|
250
|
+
{
|
|
251
|
+
internalType: "address",
|
|
252
|
+
name: "owner",
|
|
253
|
+
type: "address",
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
internalType: "address",
|
|
257
|
+
name: "operator",
|
|
258
|
+
type: "address",
|
|
259
|
+
},
|
|
260
|
+
],
|
|
261
|
+
name: "isApprovedForAll",
|
|
262
|
+
outputs: [
|
|
263
|
+
{
|
|
264
|
+
internalType: "bool",
|
|
265
|
+
name: "",
|
|
266
|
+
type: "bool",
|
|
267
|
+
},
|
|
268
|
+
],
|
|
269
|
+
stateMutability: "view",
|
|
270
|
+
type: "function",
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
inputs: [
|
|
274
|
+
{
|
|
275
|
+
internalType: "address",
|
|
276
|
+
name: "to_",
|
|
277
|
+
type: "address",
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
internalType: "uint256",
|
|
281
|
+
name: "tokenId_",
|
|
282
|
+
type: "uint256",
|
|
283
|
+
},
|
|
284
|
+
],
|
|
285
|
+
name: "mint",
|
|
286
|
+
outputs: [],
|
|
287
|
+
stateMutability: "nonpayable",
|
|
288
|
+
type: "function",
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
inputs: [],
|
|
292
|
+
name: "name",
|
|
293
|
+
outputs: [
|
|
294
|
+
{
|
|
295
|
+
internalType: "string",
|
|
296
|
+
name: "",
|
|
297
|
+
type: "string",
|
|
298
|
+
},
|
|
299
|
+
],
|
|
300
|
+
stateMutability: "view",
|
|
301
|
+
type: "function",
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
inputs: [
|
|
305
|
+
{
|
|
306
|
+
internalType: "uint256",
|
|
307
|
+
name: "tokenId",
|
|
308
|
+
type: "uint256",
|
|
309
|
+
},
|
|
310
|
+
],
|
|
311
|
+
name: "ownerOf",
|
|
312
|
+
outputs: [
|
|
313
|
+
{
|
|
314
|
+
internalType: "address",
|
|
315
|
+
name: "",
|
|
316
|
+
type: "address",
|
|
317
|
+
},
|
|
318
|
+
],
|
|
319
|
+
stateMutability: "view",
|
|
320
|
+
type: "function",
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
inputs: [
|
|
324
|
+
{
|
|
325
|
+
internalType: "address",
|
|
326
|
+
name: "from",
|
|
327
|
+
type: "address",
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
internalType: "address",
|
|
331
|
+
name: "to",
|
|
332
|
+
type: "address",
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
internalType: "uint256",
|
|
336
|
+
name: "tokenId",
|
|
337
|
+
type: "uint256",
|
|
338
|
+
},
|
|
339
|
+
],
|
|
340
|
+
name: "safeTransferFrom",
|
|
341
|
+
outputs: [],
|
|
342
|
+
stateMutability: "nonpayable",
|
|
343
|
+
type: "function",
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
inputs: [
|
|
347
|
+
{
|
|
348
|
+
internalType: "address",
|
|
349
|
+
name: "from",
|
|
350
|
+
type: "address",
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
internalType: "address",
|
|
354
|
+
name: "to",
|
|
355
|
+
type: "address",
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
internalType: "uint256",
|
|
359
|
+
name: "tokenId",
|
|
360
|
+
type: "uint256",
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
internalType: "bytes",
|
|
364
|
+
name: "data",
|
|
365
|
+
type: "bytes",
|
|
366
|
+
},
|
|
367
|
+
],
|
|
368
|
+
name: "safeTransferFrom",
|
|
369
|
+
outputs: [],
|
|
370
|
+
stateMutability: "nonpayable",
|
|
371
|
+
type: "function",
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
inputs: [
|
|
375
|
+
{
|
|
376
|
+
internalType: "address",
|
|
377
|
+
name: "operator",
|
|
378
|
+
type: "address",
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
internalType: "bool",
|
|
382
|
+
name: "approved",
|
|
383
|
+
type: "bool",
|
|
384
|
+
},
|
|
385
|
+
],
|
|
386
|
+
name: "setApprovalForAll",
|
|
387
|
+
outputs: [],
|
|
388
|
+
stateMutability: "nonpayable",
|
|
389
|
+
type: "function",
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
inputs: [
|
|
393
|
+
{
|
|
394
|
+
internalType: "bytes4",
|
|
395
|
+
name: "interfaceId",
|
|
396
|
+
type: "bytes4",
|
|
397
|
+
},
|
|
398
|
+
],
|
|
399
|
+
name: "supportsInterface",
|
|
400
|
+
outputs: [
|
|
401
|
+
{
|
|
402
|
+
internalType: "bool",
|
|
403
|
+
name: "",
|
|
404
|
+
type: "bool",
|
|
405
|
+
},
|
|
406
|
+
],
|
|
407
|
+
stateMutability: "view",
|
|
408
|
+
type: "function",
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
inputs: [],
|
|
412
|
+
name: "symbol",
|
|
413
|
+
outputs: [
|
|
414
|
+
{
|
|
415
|
+
internalType: "string",
|
|
416
|
+
name: "",
|
|
417
|
+
type: "string",
|
|
418
|
+
},
|
|
419
|
+
],
|
|
420
|
+
stateMutability: "view",
|
|
421
|
+
type: "function",
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
inputs: [
|
|
425
|
+
{
|
|
426
|
+
internalType: "uint256",
|
|
427
|
+
name: "tokenId",
|
|
428
|
+
type: "uint256",
|
|
429
|
+
},
|
|
430
|
+
],
|
|
431
|
+
name: "tokenURI",
|
|
432
|
+
outputs: [
|
|
433
|
+
{
|
|
434
|
+
internalType: "string",
|
|
435
|
+
name: "",
|
|
436
|
+
type: "string",
|
|
437
|
+
},
|
|
438
|
+
],
|
|
439
|
+
stateMutability: "view",
|
|
440
|
+
type: "function",
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
inputs: [
|
|
444
|
+
{
|
|
445
|
+
internalType: "address",
|
|
446
|
+
name: "from",
|
|
447
|
+
type: "address",
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
internalType: "address",
|
|
451
|
+
name: "to",
|
|
452
|
+
type: "address",
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
internalType: "uint256",
|
|
456
|
+
name: "tokenId",
|
|
457
|
+
type: "uint256",
|
|
458
|
+
},
|
|
459
|
+
],
|
|
460
|
+
name: "transferFrom",
|
|
461
|
+
outputs: [],
|
|
462
|
+
stateMutability: "nonpayable",
|
|
463
|
+
type: "function",
|
|
464
|
+
},
|
|
465
|
+
];
|
|
466
|
+
const _bytecode = "0x60806040523461032457604080519081016001600160401b038111828210176102315760409081526008825267135bd8dac813919560c21b602083015280519081016001600160401b038111828210176102315760405260048152631353919560e21b602082015281516001600160401b03811161023157600054600181811c9116801561031a575b602082101461021157601f81116102b6575b50602092601f82116001146102525792819293600092610247575b50508160011b916000199060031b1c1916176000555b80516001600160401b03811161023157600154600181811c91168015610227575b602082101461021157601f81116101ac575b50602091601f82116001146101485791819260009261013d575b50508160011b916000199060031b1c1916176001555b604051610bda908161032a8239f35b015190503880610118565b601f198216926001600052806000209160005b8581106101945750836001951061017b575b505050811b0160015561012e565b015160001960f88460031b161c1916905538808061016d565b9192602060018192868501518155019401920161015b565b60016000527fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6601f830160051c81019160208410610207575b601f0160051c01905b8181106101fb57506100fe565b600081556001016101ee565b90915081906101e5565b634e487b7160e01b600052602260045260246000fd5b90607f16906100ec565b634e487b7160e01b600052604160045260246000fd5b0151905038806100b5565b601f1982169360008052806000209160005b86811061029e5750836001959610610285575b505050811b016000556100cb565b015160001960f88460031b161c19169055388080610277565b91926020600181928685015181550194019201610264565b600080527f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e563601f830160051c81019160208410610310575b601f0160051c01905b818110610304575061009a565b600081556001016102f7565b90915081906102ee565b90607f1690610088565b600080fdfe608080604052600436101561001357600080fd5b600090813560e01c90816301ffc9a7146107235750806306fdde0314610685578063081812fc14610648578063095ea7b31461056057806323b872dd1461054857806340c10f191461046457806342842e0e1461043a5780636352211e1461040957806370a08231146103b657806395d89b41146102a9578063a22cb46514610207578063b88d4fde14610173578063c87b56dd146101175763e985e9c5146100bb57600080fd5b346101145760403660031901126101145760406100d66107d1565b916100df6107ec565b9260018060a01b031681526005602052209060018060a01b0316600052602052602060ff604060002054166040519015158152f35b80fd5b503461011457602036600319011261011457610134600435610b58565b508060405161014460208261083c565b525061016f60405161015760208261083c565b60008152604051918291602083526020830190610790565b0390f35b50346101145760803660031901126101145761018d6107d1565b6101956107ec565b90606435906001600160401b038211610203573660238301121561020357816004013592846101c385610875565b936101d1604051958661083c565b85855236602487830101116101ff57856101fc96602460209301838801378501015260443591610a11565b80f35b5080fd5b8380fd5b5034610114576040366003190112610114576102216107d1565b602435908115158092036102a5576001600160a01b0316908115610291573383526005602052604083208284526020526040832060ff1981541660ff83161790556040519081527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3160203392a380f35b630b61174360e31b83526004829052602483fd5b8280fd5b50346101145780600319360112610114576040519080600154908160011c916001811680156103ac575b602084108114610398578386529081156103715750600114610314575b61016f846103008186038261083c565b604051918291602083526020830190610790565b600181527fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6939250905b80821061035757509091508101602001610300826102f0565b91926001816020925483858801015201910190929161033e565b60ff191660208087019190915292151560051b8501909201925061030091508390506102f0565b634e487b7160e01b83526022600452602483fd5b92607f16926102d3565b5034610114576020366003190112610114576001600160a01b036103d86107d1565b1680156103f5578160409160209352600383522054604051908152f35b6322718ad960e21b82526004829052602482fd5b5034610114576020366003190112610114576020610428600435610b58565b6040516001600160a01b039091168152f35b5034610114576101fc61044c36610802565b906040519261045c60208561083c565b858452610a11565b50346101145760403660031901126101145761047e6107d1565b6001600160a01b0316602435811561053457808352600260205260408320546001600160a01b03168015159290919083610512575b808552600360209081526040808720805460010190558387526002909152852080546001600160a01b0319168217905582600080516020610bae8339815191528680a4506104fe5780f35b6339e3563760e11b81526004819052602490fd5b61051b82610b8f565b82855260036020526040852080546000190190556104b3565b633250574960e11b83526004839052602483fd5b5034610114576101fc61055a36610802565b91610890565b50346101145760403660031901126101145761057a6107d1565b60243561058681610b58565b33151580610635575b8061060a575b6105f75781906001600160a01b0384811691167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258680a4825260046020526040822080546001600160a01b0319166001600160a01b0390921691909117905580f35b63a9fbf51f60e01b845233600452602484fd5b506001600160a01b038116845260056020908152604080862033875290915284205460ff1615610595565b506001600160a01b03811633141561058f565b50346101145760203660031901126101145760209060043561066981610b58565b50815260048252604060018060a01b0391205416604051908152f35b503461011457806003193601126101145760405190808054908160011c91600181168015610719575b6020841081146103985783865290811561037157506001146106da5761016f846103008186038261083c565b80805260208120939250905b8082106106ff57509091508101602001610300826102f0565b9192600181602092548385880101520191019092916106e6565b92607f16926106ae565b9050346101ff5760203660031901126101ff5760043563ffffffff60e01b81168091036102a557602092506380ac58cd60e01b811490811561077f575b811561076e575b5015158152f35b6301ffc9a760e01b14905038610767565b635b5e139f60e01b81149150610760565b919082519283825260005b8481106107bc575050826000602080949584010152601f8019910116010190565b8060208092840101518282860101520161079b565b600435906001600160a01b03821682036107e757565b600080fd5b602435906001600160a01b03821682036107e757565b60609060031901126107e7576004356001600160a01b03811681036107e757906024356001600160a01b03811681036107e7579060443590565b601f909101601f19168101906001600160401b0382119082101761085f57604052565b634e487b7160e01b600052604160045260246000fd5b6001600160401b03811161085f57601f01601f191660200190565b6001600160a01b03909116919082156109fb576000828152600260205260408120546001600160a01b0316938391859033151580610963575b50600080516020610bae8339815191529082610941575b838152600360209081526040808320805460010190558683526002909152812080546001600160a01b0319168517905580a46001600160a01b031680830361092757505050565b6364283d7b60e01b60005260045260245260445260646000fd5b61094a85610b8f565b82815260036020526040812080546000190190556108e0565b9150919250806109ac575b1561097d5790848492386108c9565b83908561099657602491637e27328960e01b8252600452fd5b60449163177e802f60e01b825233600452602452fd5b5033851480156109da575b8061096e5750838152600460205260408120546001600160a01b0316331461096e565b5084815260056020908152604080832033845290915281205460ff166109b7565b633250574960e11b600052600060045260246000fd5b9291610a1e818386610890565b813b610a2b575b50505050565b604051630a85bd0160e11b81523360048201526001600160a01b0394851660248201526044810191909152608060648201529216919060209082908190610a76906084830190610790565b03816000865af18091600091610b15575b5090610ae057503d15610ad9573d610a9e81610875565b90610aac604051928361083c565b81523d6000602083013e5b80519081610ad45782633250574960e11b60005260045260246000fd5b602001fd5b6060610ab7565b6001600160e01b03191663757a42ff60e11b01610b01575038808080610a25565b633250574960e11b60005260045260246000fd5b6020813d602011610b50575b81610b2e6020938361083c565b810103126101ff5751906001600160e01b031982168203610114575038610a87565b3d9150610b21565b6000818152600260205260409020546001600160a01b0316908115610b7b575090565b637e27328960e01b60005260045260246000fd5b600090815260046020526040902080546001600160a01b031916905556feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa164736f6c634300081e000a";
|
|
467
|
+
const isSuperArgs = (xs) => xs.length > 1;
|
|
468
|
+
class MockERC721__factory extends ethers_1.ContractFactory {
|
|
469
|
+
constructor(...args) {
|
|
470
|
+
if (isSuperArgs(args)) {
|
|
471
|
+
super(...args);
|
|
472
|
+
}
|
|
473
|
+
else {
|
|
474
|
+
super(_abi, _bytecode, args[0]);
|
|
475
|
+
}
|
|
476
|
+
this.contractName = "MockERC721";
|
|
477
|
+
}
|
|
478
|
+
getDeployTransaction(overrides) {
|
|
479
|
+
return super.getDeployTransaction(overrides || {});
|
|
480
|
+
}
|
|
481
|
+
deploy(overrides) {
|
|
482
|
+
return super.deploy(overrides || {});
|
|
483
|
+
}
|
|
484
|
+
connect(runner) {
|
|
485
|
+
return super.connect(runner);
|
|
486
|
+
}
|
|
487
|
+
static contractName;
|
|
488
|
+
contractName;
|
|
489
|
+
static bytecode = _bytecode;
|
|
490
|
+
static abi = _abi;
|
|
491
|
+
static createInterface() {
|
|
492
|
+
return new ethers_1.Interface(_abi);
|
|
493
|
+
}
|
|
494
|
+
static connect(address, runner) {
|
|
495
|
+
return new ethers_1.Contract(address, _abi, runner);
|
|
496
|
+
}
|
|
497
|
+
}
|
|
498
|
+
exports.MockERC721__factory = MockERC721__factory;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ContractFactory, ContractTransactionResponse } from "ethers";
|
|
2
|
+
import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers";
|
|
3
|
+
import type { NonPayableOverrides } from "../../../common";
|
|
4
|
+
import type { Noop, NoopInterface } from "../../../contracts/mocks/Noop";
|
|
5
|
+
type NoopConstructorParams = [signer?: Signer] | ConstructorParameters<typeof ContractFactory>;
|
|
6
|
+
export declare class Noop__factory extends ContractFactory {
|
|
7
|
+
constructor(...args: NoopConstructorParams);
|
|
8
|
+
getDeployTransaction(overrides?: NonPayableOverrides & {
|
|
9
|
+
from?: string;
|
|
10
|
+
}): Promise<ContractDeployTransaction>;
|
|
11
|
+
deploy(overrides?: NonPayableOverrides & {
|
|
12
|
+
from?: string;
|
|
13
|
+
}): Promise<Noop & {
|
|
14
|
+
deploymentTransaction(): ContractTransactionResponse;
|
|
15
|
+
}>;
|
|
16
|
+
connect(runner: ContractRunner | null): Noop__factory;
|
|
17
|
+
static readonly contractName: "Noop";
|
|
18
|
+
readonly contractName: "Noop";
|
|
19
|
+
static readonly bytecode = "0x608080604052346013576043908160198239f35b600080fdfe6004361015600c57600080fd5b60003560e01c632f576f2014602057600080fd5b346031576000366003190112603157005b600080fdfea164736f6c634300081e000a";
|
|
20
|
+
static readonly abi: readonly [{
|
|
21
|
+
readonly inputs: readonly [];
|
|
22
|
+
readonly name: "doNothing";
|
|
23
|
+
readonly outputs: readonly [];
|
|
24
|
+
readonly stateMutability: "nonpayable";
|
|
25
|
+
readonly type: "function";
|
|
26
|
+
}];
|
|
27
|
+
static createInterface(): NoopInterface;
|
|
28
|
+
static connect(address: string, runner?: ContractRunner | null): Noop;
|
|
29
|
+
}
|
|
30
|
+
export {};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Noop__factory = void 0;
|
|
4
|
+
/* Autogenerated file. Do not edit manually. */
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
const ethers_1 = require("ethers");
|
|
8
|
+
const _abi = [
|
|
9
|
+
{
|
|
10
|
+
inputs: [],
|
|
11
|
+
name: "doNothing",
|
|
12
|
+
outputs: [],
|
|
13
|
+
stateMutability: "nonpayable",
|
|
14
|
+
type: "function",
|
|
15
|
+
},
|
|
16
|
+
];
|
|
17
|
+
const _bytecode = "0x608080604052346013576043908160198239f35b600080fdfe6004361015600c57600080fd5b60003560e01c632f576f2014602057600080fd5b346031576000366003190112603157005b600080fdfea164736f6c634300081e000a";
|
|
18
|
+
const isSuperArgs = (xs) => xs.length > 1;
|
|
19
|
+
class Noop__factory extends ethers_1.ContractFactory {
|
|
20
|
+
constructor(...args) {
|
|
21
|
+
if (isSuperArgs(args)) {
|
|
22
|
+
super(...args);
|
|
23
|
+
}
|
|
24
|
+
else {
|
|
25
|
+
super(_abi, _bytecode, args[0]);
|
|
26
|
+
}
|
|
27
|
+
this.contractName = "Noop";
|
|
28
|
+
}
|
|
29
|
+
getDeployTransaction(overrides) {
|
|
30
|
+
return super.getDeployTransaction(overrides || {});
|
|
31
|
+
}
|
|
32
|
+
deploy(overrides) {
|
|
33
|
+
return super.deploy(overrides || {});
|
|
34
|
+
}
|
|
35
|
+
connect(runner) {
|
|
36
|
+
return super.connect(runner);
|
|
37
|
+
}
|
|
38
|
+
static contractName;
|
|
39
|
+
contractName;
|
|
40
|
+
static bytecode = _bytecode;
|
|
41
|
+
static abi = _abi;
|
|
42
|
+
static createInterface() {
|
|
43
|
+
return new ethers_1.Interface(_abi);
|
|
44
|
+
}
|
|
45
|
+
static connect(address, runner) {
|
|
46
|
+
return new ethers_1.Contract(address, _abi, runner);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
exports.Noop__factory = Noop__factory;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
export { MockERC721__factory } from "./MockERC721__factory";
|
|
1
2
|
export { MockGovernance__factory } from "./MockGovernance__factory";
|
|
2
3
|
export { MockNeutralsRegistry__factory } from "./MockNeutralsRegistry__factory";
|
|
4
|
+
export { Noop__factory } from "./Noop__factory";
|
|
3
5
|
export { SimpleContract__factory } from "./SimpleContract__factory";
|
|
4
6
|
export { WrappedToken__factory } from "./WrappedToken__factory";
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.WrappedToken__factory = exports.SimpleContract__factory = exports.MockNeutralsRegistry__factory = exports.MockGovernance__factory = void 0;
|
|
3
|
+
exports.WrappedToken__factory = exports.SimpleContract__factory = exports.Noop__factory = exports.MockNeutralsRegistry__factory = exports.MockGovernance__factory = exports.MockERC721__factory = void 0;
|
|
4
4
|
/* Autogenerated file. Do not edit manually. */
|
|
5
5
|
/* tslint:disable */
|
|
6
6
|
/* eslint-disable */
|
|
7
|
+
var MockERC721__factory_1 = require("./MockERC721__factory");
|
|
8
|
+
Object.defineProperty(exports, "MockERC721__factory", { enumerable: true, get: function () { return MockERC721__factory_1.MockERC721__factory; } });
|
|
7
9
|
var MockGovernance__factory_1 = require("./MockGovernance__factory");
|
|
8
10
|
Object.defineProperty(exports, "MockGovernance__factory", { enumerable: true, get: function () { return MockGovernance__factory_1.MockGovernance__factory; } });
|
|
9
11
|
var MockNeutralsRegistry__factory_1 = require("./MockNeutralsRegistry__factory");
|
|
10
12
|
Object.defineProperty(exports, "MockNeutralsRegistry__factory", { enumerable: true, get: function () { return MockNeutralsRegistry__factory_1.MockNeutralsRegistry__factory; } });
|
|
13
|
+
var Noop__factory_1 = require("./Noop__factory");
|
|
14
|
+
Object.defineProperty(exports, "Noop__factory", { enumerable: true, get: function () { return Noop__factory_1.Noop__factory; } });
|
|
11
15
|
var SimpleContract__factory_1 = require("./SimpleContract__factory");
|
|
12
16
|
Object.defineProperty(exports, "SimpleContract__factory", { enumerable: true, get: function () { return SimpleContract__factory_1.SimpleContract__factory; } });
|
|
13
17
|
var WrappedToken__factory_1 = require("./WrappedToken__factory");
|