@pafi-dev/core 0.18.0 → 0.20.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/README.md +55 -10
- package/dist/abi/index.cjs +14 -4
- package/dist/abi/index.cjs.map +1 -1
- package/dist/abi/index.d.cts +3846 -482
- package/dist/abi/index.d.ts +3846 -482
- package/dist/abi/index.js +15 -5
- package/dist/{chunk-KRHGFUDI.cjs → chunk-245YA3CQ.cjs} +87 -20
- package/dist/chunk-245YA3CQ.cjs.map +1 -0
- package/dist/{chunk-C7VB6WTL.cjs → chunk-2CU7ZH2A.cjs} +490 -497
- package/dist/chunk-2CU7ZH2A.cjs.map +1 -0
- package/dist/chunk-2DVM77Y2.cjs +5018 -0
- package/dist/chunk-2DVM77Y2.cjs.map +1 -0
- package/dist/{chunk-UZUDJXKE.cjs → chunk-3ZT7KTN4.cjs} +5 -3
- package/dist/chunk-3ZT7KTN4.cjs.map +1 -0
- package/dist/{chunk-H3X3FYUU.js → chunk-4VPIPVV5.js} +62 -35
- package/dist/chunk-4VPIPVV5.js.map +1 -0
- package/dist/{chunk-UCO5DXD6.js → chunk-5Y7MGN56.js} +87 -20
- package/dist/chunk-5Y7MGN56.js.map +1 -0
- package/dist/chunk-DQKCPH6B.cjs +199 -0
- package/dist/chunk-DQKCPH6B.cjs.map +1 -0
- package/dist/{chunk-4TNHRZ4X.js → chunk-K4GBOB5V.js} +4 -2
- package/dist/chunk-K4GBOB5V.js.map +1 -0
- package/dist/{chunk-LF5GIN5P.js → chunk-W2DHHR2N.js} +490 -497
- package/dist/chunk-W2DHHR2N.js.map +1 -0
- package/dist/chunk-ZQVYWMOG.js +5018 -0
- package/dist/chunk-ZQVYWMOG.js.map +1 -0
- package/dist/contract/index.cjs +8 -4
- package/dist/contract/index.cjs.map +1 -1
- package/dist/contract/index.d.cts +53 -27
- package/dist/contract/index.d.ts +53 -27
- package/dist/contract/index.js +13 -9
- package/dist/eip712/index.cjs +3 -3
- package/dist/eip712/index.d.cts +7 -1
- package/dist/eip712/index.d.ts +7 -1
- package/dist/eip712/index.js +2 -2
- package/dist/index.cjs +227 -38
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +601 -11
- package/dist/index.d.ts +601 -11
- package/dist/index.js +213 -24
- package/dist/index.js.map +1 -1
- package/dist/{types-C17pznGz.d.ts → types-Hn1zUPTt.d.cts} +46 -13
- package/dist/{types-C17pznGz.d.cts → types-Hn1zUPTt.d.ts} +46 -13
- package/package.json +1 -1
- package/dist/chunk-4TNHRZ4X.js.map +0 -1
- package/dist/chunk-C7VB6WTL.cjs.map +0 -1
- package/dist/chunk-H3X3FYUU.js.map +0 -1
- package/dist/chunk-KRHGFUDI.cjs.map +0 -1
- package/dist/chunk-LF5GIN5P.js.map +0 -1
- package/dist/chunk-TRYGIC2I.cjs +0 -172
- package/dist/chunk-TRYGIC2I.cjs.map +0 -1
- package/dist/chunk-UCO5DXD6.js.map +0 -1
- package/dist/chunk-UZUDJXKE.cjs.map +0 -1
- package/dist/chunk-XXLIIWIF.cjs +0 -711
- package/dist/chunk-XXLIIWIF.cjs.map +0 -1
- package/dist/chunk-ZJXXCG5P.js +0 -711
- package/dist/chunk-ZJXXCG5P.js.map +0 -1
|
@@ -7,162 +7,49 @@ var issuerRegistryAbi = [
|
|
|
7
7
|
},
|
|
8
8
|
{
|
|
9
9
|
"type": "function",
|
|
10
|
-
"name": "
|
|
10
|
+
"name": "MAX_BASIS_POINTS",
|
|
11
11
|
"inputs": [],
|
|
12
12
|
"outputs": [
|
|
13
13
|
{
|
|
14
14
|
"name": "",
|
|
15
|
-
"type": "
|
|
16
|
-
"internalType": "
|
|
15
|
+
"type": "uint16",
|
|
16
|
+
"internalType": "uint16"
|
|
17
17
|
}
|
|
18
18
|
],
|
|
19
19
|
"stateMutability": "view"
|
|
20
20
|
},
|
|
21
21
|
{
|
|
22
22
|
"type": "function",
|
|
23
|
-
"name": "
|
|
24
|
-
"inputs": [
|
|
25
|
-
{
|
|
26
|
-
"name": "target",
|
|
27
|
-
"type": "address",
|
|
28
|
-
"internalType": "address"
|
|
29
|
-
}
|
|
30
|
-
],
|
|
31
|
-
"outputs": [],
|
|
32
|
-
"stateMutability": "nonpayable"
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"type": "function",
|
|
36
|
-
"name": "acceptOwnership",
|
|
23
|
+
"name": "TOKEN_SCALE",
|
|
37
24
|
"inputs": [],
|
|
38
|
-
"outputs": [
|
|
39
|
-
"stateMutability": "nonpayable"
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
"type": "function",
|
|
43
|
-
"name": "addIssuer",
|
|
44
|
-
"inputs": [
|
|
45
|
-
{
|
|
46
|
-
"name": "issuer",
|
|
47
|
-
"type": "address",
|
|
48
|
-
"internalType": "address"
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
"name": "signerAddress",
|
|
52
|
-
"type": "address",
|
|
53
|
-
"internalType": "address"
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
"name": "name",
|
|
57
|
-
"type": "string",
|
|
58
|
-
"internalType": "string"
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
"name": "declaredTotalSupply",
|
|
62
|
-
"type": "uint256",
|
|
63
|
-
"internalType": "uint256"
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"name": "capBasisPoints",
|
|
67
|
-
"type": "uint16",
|
|
68
|
-
"internalType": "uint16"
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
"name": "tokenName",
|
|
72
|
-
"type": "string",
|
|
73
|
-
"internalType": "string"
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
"name": "tokenSymbol",
|
|
77
|
-
"type": "string",
|
|
78
|
-
"internalType": "string"
|
|
79
|
-
},
|
|
25
|
+
"outputs": [
|
|
80
26
|
{
|
|
81
|
-
"name": "
|
|
27
|
+
"name": "",
|
|
82
28
|
"type": "uint256",
|
|
83
29
|
"internalType": "uint256"
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
"name": "initialRecipients",
|
|
87
|
-
"type": "tuple[]",
|
|
88
|
-
"internalType": "struct IMintFeeWrapper.Recipient[]",
|
|
89
|
-
"components": [
|
|
90
|
-
{
|
|
91
|
-
"name": "account",
|
|
92
|
-
"type": "address",
|
|
93
|
-
"internalType": "address"
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
"name": "basisPoints",
|
|
97
|
-
"type": "uint16",
|
|
98
|
-
"internalType": "uint16"
|
|
99
|
-
}
|
|
100
|
-
]
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
"name": "daoSig",
|
|
104
|
-
"type": "bytes",
|
|
105
|
-
"internalType": "bytes"
|
|
106
30
|
}
|
|
107
31
|
],
|
|
108
|
-
"
|
|
109
|
-
"stateMutability": "nonpayable"
|
|
32
|
+
"stateMutability": "view"
|
|
110
33
|
},
|
|
111
34
|
{
|
|
112
35
|
"type": "function",
|
|
113
|
-
"name": "
|
|
36
|
+
"name": "UPGRADE_INTERFACE_VERSION",
|
|
114
37
|
"inputs": [],
|
|
115
38
|
"outputs": [
|
|
116
39
|
{
|
|
117
40
|
"name": "",
|
|
118
|
-
"type": "
|
|
119
|
-
"internalType": "
|
|
41
|
+
"type": "string",
|
|
42
|
+
"internalType": "string"
|
|
120
43
|
}
|
|
121
44
|
],
|
|
122
45
|
"stateMutability": "view"
|
|
123
46
|
},
|
|
124
47
|
{
|
|
125
48
|
"type": "function",
|
|
126
|
-
"name": "
|
|
49
|
+
"name": "acceptOwnership",
|
|
127
50
|
"inputs": [],
|
|
128
|
-
"outputs": [
|
|
129
|
-
|
|
130
|
-
"name": "fields",
|
|
131
|
-
"type": "bytes1",
|
|
132
|
-
"internalType": "bytes1"
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
"name": "name",
|
|
136
|
-
"type": "string",
|
|
137
|
-
"internalType": "string"
|
|
138
|
-
},
|
|
139
|
-
{
|
|
140
|
-
"name": "version",
|
|
141
|
-
"type": "string",
|
|
142
|
-
"internalType": "string"
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
"name": "chainId",
|
|
146
|
-
"type": "uint256",
|
|
147
|
-
"internalType": "uint256"
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
"name": "verifyingContract",
|
|
151
|
-
"type": "address",
|
|
152
|
-
"internalType": "address"
|
|
153
|
-
},
|
|
154
|
-
{
|
|
155
|
-
"name": "salt",
|
|
156
|
-
"type": "bytes32",
|
|
157
|
-
"internalType": "bytes32"
|
|
158
|
-
},
|
|
159
|
-
{
|
|
160
|
-
"name": "extensions",
|
|
161
|
-
"type": "uint256[]",
|
|
162
|
-
"internalType": "uint256[]"
|
|
163
|
-
}
|
|
164
|
-
],
|
|
165
|
-
"stateMutability": "view"
|
|
51
|
+
"outputs": [],
|
|
52
|
+
"stateMutability": "nonpayable"
|
|
166
53
|
},
|
|
167
54
|
{
|
|
168
55
|
"type": "function",
|
|
@@ -180,11 +67,6 @@ var issuerRegistryAbi = [
|
|
|
180
67
|
"type": "tuple",
|
|
181
68
|
"internalType": "struct IIssuerRegistry.Issuer",
|
|
182
69
|
"components": [
|
|
183
|
-
{
|
|
184
|
-
"name": "issuerAddress",
|
|
185
|
-
"type": "address",
|
|
186
|
-
"internalType": "address"
|
|
187
|
-
},
|
|
188
70
|
{
|
|
189
71
|
"name": "signerAddress",
|
|
190
72
|
"type": "address",
|
|
@@ -195,25 +77,20 @@ var issuerRegistryAbi = [
|
|
|
195
77
|
"type": "string",
|
|
196
78
|
"internalType": "string"
|
|
197
79
|
},
|
|
198
|
-
{
|
|
199
|
-
"name": "symbol",
|
|
200
|
-
"type": "string",
|
|
201
|
-
"internalType": "string"
|
|
202
|
-
},
|
|
203
80
|
{
|
|
204
81
|
"name": "active",
|
|
205
82
|
"type": "bool",
|
|
206
83
|
"internalType": "bool"
|
|
207
84
|
},
|
|
208
85
|
{
|
|
209
|
-
"name": "
|
|
210
|
-
"type": "
|
|
211
|
-
"internalType": "
|
|
86
|
+
"name": "capitalBase",
|
|
87
|
+
"type": "uint256",
|
|
88
|
+
"internalType": "uint256"
|
|
212
89
|
},
|
|
213
90
|
{
|
|
214
|
-
"name": "
|
|
215
|
-
"type": "
|
|
216
|
-
"internalType": "
|
|
91
|
+
"name": "basisPoints",
|
|
92
|
+
"type": "uint16",
|
|
93
|
+
"internalType": "uint16"
|
|
217
94
|
}
|
|
218
95
|
]
|
|
219
96
|
}
|
|
@@ -228,11 +105,6 @@ var issuerRegistryAbi = [
|
|
|
228
105
|
"name": "initialOwner",
|
|
229
106
|
"type": "address",
|
|
230
107
|
"internalType": "address"
|
|
231
|
-
},
|
|
232
|
-
{
|
|
233
|
-
"name": "initialDaoSigner",
|
|
234
|
-
"type": "address",
|
|
235
|
-
"internalType": "address"
|
|
236
108
|
}
|
|
237
109
|
],
|
|
238
110
|
"outputs": [],
|
|
@@ -257,38 +129,6 @@ var issuerRegistryAbi = [
|
|
|
257
129
|
],
|
|
258
130
|
"stateMutability": "view"
|
|
259
131
|
},
|
|
260
|
-
{
|
|
261
|
-
"type": "function",
|
|
262
|
-
"name": "mintFeeWrapper",
|
|
263
|
-
"inputs": [],
|
|
264
|
-
"outputs": [
|
|
265
|
-
{
|
|
266
|
-
"name": "",
|
|
267
|
-
"type": "address",
|
|
268
|
-
"internalType": "address"
|
|
269
|
-
}
|
|
270
|
-
],
|
|
271
|
-
"stateMutability": "view"
|
|
272
|
-
},
|
|
273
|
-
{
|
|
274
|
-
"type": "function",
|
|
275
|
-
"name": "nonces",
|
|
276
|
-
"inputs": [
|
|
277
|
-
{
|
|
278
|
-
"name": "issuer",
|
|
279
|
-
"type": "address",
|
|
280
|
-
"internalType": "address"
|
|
281
|
-
}
|
|
282
|
-
],
|
|
283
|
-
"outputs": [
|
|
284
|
-
{
|
|
285
|
-
"name": "",
|
|
286
|
-
"type": "uint256",
|
|
287
|
-
"internalType": "uint256"
|
|
288
|
-
}
|
|
289
|
-
],
|
|
290
|
-
"stateMutability": "view"
|
|
291
|
-
},
|
|
292
132
|
{
|
|
293
133
|
"type": "function",
|
|
294
134
|
"name": "owner",
|
|
@@ -315,19 +155,6 @@ var issuerRegistryAbi = [
|
|
|
315
155
|
],
|
|
316
156
|
"stateMutability": "view"
|
|
317
157
|
},
|
|
318
|
-
{
|
|
319
|
-
"type": "function",
|
|
320
|
-
"name": "pointTokenFactory",
|
|
321
|
-
"inputs": [],
|
|
322
|
-
"outputs": [
|
|
323
|
-
{
|
|
324
|
-
"name": "",
|
|
325
|
-
"type": "address",
|
|
326
|
-
"internalType": "address"
|
|
327
|
-
}
|
|
328
|
-
],
|
|
329
|
-
"stateMutability": "view"
|
|
330
|
-
},
|
|
331
158
|
{
|
|
332
159
|
"type": "function",
|
|
333
160
|
"name": "proxiableUUID",
|
|
@@ -343,12 +170,32 @@ var issuerRegistryAbi = [
|
|
|
343
170
|
},
|
|
344
171
|
{
|
|
345
172
|
"type": "function",
|
|
346
|
-
"name": "
|
|
173
|
+
"name": "registerIssuer",
|
|
347
174
|
"inputs": [
|
|
348
175
|
{
|
|
349
176
|
"name": "issuer",
|
|
350
177
|
"type": "address",
|
|
351
178
|
"internalType": "address"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"name": "signerAddress",
|
|
182
|
+
"type": "address",
|
|
183
|
+
"internalType": "address"
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"name": "name",
|
|
187
|
+
"type": "string",
|
|
188
|
+
"internalType": "string"
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"name": "capitalBase",
|
|
192
|
+
"type": "uint256",
|
|
193
|
+
"internalType": "uint256"
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"name": "basisPoints",
|
|
197
|
+
"type": "uint16",
|
|
198
|
+
"internalType": "uint16"
|
|
352
199
|
}
|
|
353
200
|
],
|
|
354
201
|
"outputs": [],
|
|
@@ -363,12 +210,17 @@ var issuerRegistryAbi = [
|
|
|
363
210
|
},
|
|
364
211
|
{
|
|
365
212
|
"type": "function",
|
|
366
|
-
"name": "
|
|
213
|
+
"name": "setActive",
|
|
367
214
|
"inputs": [
|
|
368
215
|
{
|
|
369
|
-
"name": "
|
|
216
|
+
"name": "issuer",
|
|
370
217
|
"type": "address",
|
|
371
218
|
"internalType": "address"
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"name": "isActive",
|
|
222
|
+
"type": "bool",
|
|
223
|
+
"internalType": "bool"
|
|
372
224
|
}
|
|
373
225
|
],
|
|
374
226
|
"outputs": [],
|
|
@@ -376,12 +228,17 @@ var issuerRegistryAbi = [
|
|
|
376
228
|
},
|
|
377
229
|
{
|
|
378
230
|
"type": "function",
|
|
379
|
-
"name": "
|
|
231
|
+
"name": "setBasisPoints",
|
|
380
232
|
"inputs": [
|
|
381
233
|
{
|
|
382
|
-
"name": "
|
|
234
|
+
"name": "issuer",
|
|
383
235
|
"type": "address",
|
|
384
236
|
"internalType": "address"
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"name": "newBasisPoints",
|
|
240
|
+
"type": "uint16",
|
|
241
|
+
"internalType": "uint16"
|
|
385
242
|
}
|
|
386
243
|
],
|
|
387
244
|
"outputs": [],
|
|
@@ -389,12 +246,17 @@ var issuerRegistryAbi = [
|
|
|
389
246
|
},
|
|
390
247
|
{
|
|
391
248
|
"type": "function",
|
|
392
|
-
"name": "
|
|
249
|
+
"name": "setCapitalBase",
|
|
393
250
|
"inputs": [
|
|
394
251
|
{
|
|
395
|
-
"name": "
|
|
252
|
+
"name": "issuer",
|
|
396
253
|
"type": "address",
|
|
397
254
|
"internalType": "address"
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"name": "newCapitalBase",
|
|
258
|
+
"type": "uint256",
|
|
259
|
+
"internalType": "uint256"
|
|
398
260
|
}
|
|
399
261
|
],
|
|
400
262
|
"outputs": [],
|
|
@@ -402,17 +264,17 @@ var issuerRegistryAbi = [
|
|
|
402
264
|
},
|
|
403
265
|
{
|
|
404
266
|
"type": "function",
|
|
405
|
-
"name": "
|
|
267
|
+
"name": "setName",
|
|
406
268
|
"inputs": [
|
|
407
269
|
{
|
|
408
|
-
"name": "
|
|
270
|
+
"name": "issuer",
|
|
409
271
|
"type": "address",
|
|
410
272
|
"internalType": "address"
|
|
411
273
|
},
|
|
412
274
|
{
|
|
413
|
-
"name": "
|
|
414
|
-
"type": "
|
|
415
|
-
"internalType": "
|
|
275
|
+
"name": "newName",
|
|
276
|
+
"type": "string",
|
|
277
|
+
"internalType": "string"
|
|
416
278
|
}
|
|
417
279
|
],
|
|
418
280
|
"outputs": [],
|
|
@@ -420,10 +282,15 @@ var issuerRegistryAbi = [
|
|
|
420
282
|
},
|
|
421
283
|
{
|
|
422
284
|
"type": "function",
|
|
423
|
-
"name": "
|
|
285
|
+
"name": "setSignerAddress",
|
|
424
286
|
"inputs": [
|
|
425
287
|
{
|
|
426
|
-
"name": "
|
|
288
|
+
"name": "issuer",
|
|
289
|
+
"type": "address",
|
|
290
|
+
"internalType": "address"
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
"name": "newSigner",
|
|
427
294
|
"type": "address",
|
|
428
295
|
"internalType": "address"
|
|
429
296
|
}
|
|
@@ -433,27 +300,38 @@ var issuerRegistryAbi = [
|
|
|
433
300
|
},
|
|
434
301
|
{
|
|
435
302
|
"type": "function",
|
|
436
|
-
"name": "
|
|
303
|
+
"name": "setTokenRegistry",
|
|
437
304
|
"inputs": [
|
|
438
305
|
{
|
|
439
|
-
"name": "
|
|
306
|
+
"name": "newRegistry",
|
|
440
307
|
"type": "address",
|
|
441
308
|
"internalType": "address"
|
|
442
|
-
}
|
|
309
|
+
}
|
|
310
|
+
],
|
|
311
|
+
"outputs": [],
|
|
312
|
+
"stateMutability": "nonpayable"
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"type": "function",
|
|
316
|
+
"name": "tokenRegistry",
|
|
317
|
+
"inputs": [],
|
|
318
|
+
"outputs": [
|
|
443
319
|
{
|
|
444
|
-
"name": "
|
|
320
|
+
"name": "",
|
|
445
321
|
"type": "address",
|
|
446
322
|
"internalType": "address"
|
|
447
|
-
}
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
323
|
+
}
|
|
324
|
+
],
|
|
325
|
+
"stateMutability": "view"
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"type": "function",
|
|
329
|
+
"name": "transferOwnership",
|
|
330
|
+
"inputs": [
|
|
453
331
|
{
|
|
454
|
-
"name": "
|
|
455
|
-
"type": "
|
|
456
|
-
"internalType": "
|
|
332
|
+
"name": "newOwner",
|
|
333
|
+
"type": "address",
|
|
334
|
+
"internalType": "address"
|
|
457
335
|
}
|
|
458
336
|
],
|
|
459
337
|
"outputs": [],
|
|
@@ -479,7 +357,7 @@ var issuerRegistryAbi = [
|
|
|
479
357
|
},
|
|
480
358
|
{
|
|
481
359
|
"type": "function",
|
|
482
|
-
"name": "
|
|
360
|
+
"name": "wasEverRegistered",
|
|
483
361
|
"inputs": [
|
|
484
362
|
{
|
|
485
363
|
"name": "issuer",
|
|
@@ -498,21 +376,40 @@ var issuerRegistryAbi = [
|
|
|
498
376
|
},
|
|
499
377
|
{
|
|
500
378
|
"type": "event",
|
|
501
|
-
"name": "
|
|
379
|
+
"name": "BasisPointsUpdated",
|
|
502
380
|
"inputs": [
|
|
503
381
|
{
|
|
504
|
-
"name": "
|
|
382
|
+
"name": "issuer",
|
|
505
383
|
"type": "address",
|
|
506
384
|
"indexed": true,
|
|
507
385
|
"internalType": "address"
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
"name": "basisPoints",
|
|
389
|
+
"type": "uint16",
|
|
390
|
+
"indexed": false,
|
|
391
|
+
"internalType": "uint16"
|
|
508
392
|
}
|
|
509
393
|
],
|
|
510
394
|
"anonymous": false
|
|
511
395
|
},
|
|
512
396
|
{
|
|
513
397
|
"type": "event",
|
|
514
|
-
"name": "
|
|
515
|
-
"inputs": [
|
|
398
|
+
"name": "CapitalBaseUpdated",
|
|
399
|
+
"inputs": [
|
|
400
|
+
{
|
|
401
|
+
"name": "issuer",
|
|
402
|
+
"type": "address",
|
|
403
|
+
"indexed": true,
|
|
404
|
+
"internalType": "address"
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
"name": "capitalBase",
|
|
408
|
+
"type": "uint256",
|
|
409
|
+
"indexed": false,
|
|
410
|
+
"internalType": "uint256"
|
|
411
|
+
}
|
|
412
|
+
],
|
|
516
413
|
"anonymous": false
|
|
517
414
|
},
|
|
518
415
|
{
|
|
@@ -530,7 +427,7 @@ var issuerRegistryAbi = [
|
|
|
530
427
|
},
|
|
531
428
|
{
|
|
532
429
|
"type": "event",
|
|
533
|
-
"name": "
|
|
430
|
+
"name": "IssuerActiveUpdated",
|
|
534
431
|
"inputs": [
|
|
535
432
|
{
|
|
536
433
|
"name": "issuer",
|
|
@@ -539,42 +436,36 @@ var issuerRegistryAbi = [
|
|
|
539
436
|
"internalType": "address"
|
|
540
437
|
},
|
|
541
438
|
{
|
|
542
|
-
"name": "
|
|
543
|
-
"type": "
|
|
544
|
-
"indexed": false,
|
|
545
|
-
"internalType": "address"
|
|
546
|
-
},
|
|
547
|
-
{
|
|
548
|
-
"name": "name",
|
|
549
|
-
"type": "string",
|
|
439
|
+
"name": "active",
|
|
440
|
+
"type": "bool",
|
|
550
441
|
"indexed": false,
|
|
551
|
-
"internalType": "
|
|
552
|
-
},
|
|
553
|
-
{
|
|
554
|
-
"name": "pointToken",
|
|
555
|
-
"type": "address",
|
|
556
|
-
"indexed": true,
|
|
557
|
-
"internalType": "address"
|
|
442
|
+
"internalType": "bool"
|
|
558
443
|
}
|
|
559
444
|
],
|
|
560
445
|
"anonymous": false
|
|
561
446
|
},
|
|
562
447
|
{
|
|
563
448
|
"type": "event",
|
|
564
|
-
"name": "
|
|
449
|
+
"name": "IssuerNameUpdated",
|
|
565
450
|
"inputs": [
|
|
566
451
|
{
|
|
567
452
|
"name": "issuer",
|
|
568
453
|
"type": "address",
|
|
569
454
|
"indexed": true,
|
|
570
455
|
"internalType": "address"
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
"name": "name",
|
|
459
|
+
"type": "string",
|
|
460
|
+
"indexed": false,
|
|
461
|
+
"internalType": "string"
|
|
571
462
|
}
|
|
572
463
|
],
|
|
573
464
|
"anonymous": false
|
|
574
465
|
},
|
|
575
466
|
{
|
|
576
467
|
"type": "event",
|
|
577
|
-
"name": "
|
|
468
|
+
"name": "IssuerRegistered",
|
|
578
469
|
"inputs": [
|
|
579
470
|
{
|
|
580
471
|
"name": "issuer",
|
|
@@ -592,23 +483,35 @@ var issuerRegistryAbi = [
|
|
|
592
483
|
"name": "name",
|
|
593
484
|
"type": "string",
|
|
594
485
|
"indexed": false,
|
|
595
|
-
"internalType": "string"
|
|
486
|
+
"internalType": "string"
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
"name": "capitalBase",
|
|
490
|
+
"type": "uint256",
|
|
491
|
+
"indexed": false,
|
|
492
|
+
"internalType": "uint256"
|
|
596
493
|
},
|
|
597
494
|
{
|
|
598
|
-
"name": "
|
|
599
|
-
"type": "
|
|
495
|
+
"name": "basisPoints",
|
|
496
|
+
"type": "uint16",
|
|
600
497
|
"indexed": false,
|
|
601
|
-
"internalType": "
|
|
498
|
+
"internalType": "uint16"
|
|
602
499
|
}
|
|
603
500
|
],
|
|
604
501
|
"anonymous": false
|
|
605
502
|
},
|
|
606
503
|
{
|
|
607
504
|
"type": "event",
|
|
608
|
-
"name": "
|
|
505
|
+
"name": "OwnershipTransferStarted",
|
|
609
506
|
"inputs": [
|
|
610
507
|
{
|
|
611
|
-
"name": "
|
|
508
|
+
"name": "previousOwner",
|
|
509
|
+
"type": "address",
|
|
510
|
+
"indexed": true,
|
|
511
|
+
"internalType": "address"
|
|
512
|
+
},
|
|
513
|
+
{
|
|
514
|
+
"name": "newOwner",
|
|
612
515
|
"type": "address",
|
|
613
516
|
"indexed": true,
|
|
614
517
|
"internalType": "address"
|
|
@@ -618,7 +521,7 @@ var issuerRegistryAbi = [
|
|
|
618
521
|
},
|
|
619
522
|
{
|
|
620
523
|
"type": "event",
|
|
621
|
-
"name": "
|
|
524
|
+
"name": "OwnershipTransferred",
|
|
622
525
|
"inputs": [
|
|
623
526
|
{
|
|
624
527
|
"name": "previousOwner",
|
|
@@ -637,18 +540,18 @@ var issuerRegistryAbi = [
|
|
|
637
540
|
},
|
|
638
541
|
{
|
|
639
542
|
"type": "event",
|
|
640
|
-
"name": "
|
|
543
|
+
"name": "SignerAddressUpdated",
|
|
641
544
|
"inputs": [
|
|
642
545
|
{
|
|
643
|
-
"name": "
|
|
546
|
+
"name": "issuer",
|
|
644
547
|
"type": "address",
|
|
645
548
|
"indexed": true,
|
|
646
549
|
"internalType": "address"
|
|
647
550
|
},
|
|
648
551
|
{
|
|
649
|
-
"name": "
|
|
552
|
+
"name": "signerAddress",
|
|
650
553
|
"type": "address",
|
|
651
|
-
"indexed":
|
|
554
|
+
"indexed": false,
|
|
652
555
|
"internalType": "address"
|
|
653
556
|
}
|
|
654
557
|
],
|
|
@@ -656,10 +559,10 @@ var issuerRegistryAbi = [
|
|
|
656
559
|
},
|
|
657
560
|
{
|
|
658
561
|
"type": "event",
|
|
659
|
-
"name": "
|
|
562
|
+
"name": "TokenRegistryUpdated",
|
|
660
563
|
"inputs": [
|
|
661
564
|
{
|
|
662
|
-
"name": "
|
|
565
|
+
"name": "tokenRegistry",
|
|
663
566
|
"type": "address",
|
|
664
567
|
"indexed": true,
|
|
665
568
|
"internalType": "address"
|
|
@@ -693,33 +596,55 @@ var issuerRegistryAbi = [
|
|
|
693
596
|
},
|
|
694
597
|
{
|
|
695
598
|
"type": "error",
|
|
696
|
-
"name": "
|
|
599
|
+
"name": "BasisPointsTooHigh",
|
|
697
600
|
"inputs": [
|
|
698
601
|
{
|
|
699
|
-
"name": "
|
|
700
|
-
"type": "
|
|
701
|
-
"internalType": "
|
|
602
|
+
"name": "basisPoints",
|
|
603
|
+
"type": "uint16",
|
|
604
|
+
"internalType": "uint16"
|
|
702
605
|
}
|
|
703
606
|
]
|
|
704
607
|
},
|
|
705
608
|
{
|
|
706
609
|
"type": "error",
|
|
707
|
-
"name": "
|
|
708
|
-
"inputs": [
|
|
610
|
+
"name": "CapWouldShrinkBelowOutstanding",
|
|
611
|
+
"inputs": [
|
|
612
|
+
{
|
|
613
|
+
"name": "issuer",
|
|
614
|
+
"type": "address",
|
|
615
|
+
"internalType": "address"
|
|
616
|
+
},
|
|
617
|
+
{
|
|
618
|
+
"name": "newCap",
|
|
619
|
+
"type": "uint256",
|
|
620
|
+
"internalType": "uint256"
|
|
621
|
+
},
|
|
622
|
+
{
|
|
623
|
+
"name": "outstanding",
|
|
624
|
+
"type": "uint256",
|
|
625
|
+
"internalType": "uint256"
|
|
626
|
+
}
|
|
627
|
+
]
|
|
709
628
|
},
|
|
710
629
|
{
|
|
711
630
|
"type": "error",
|
|
712
|
-
"name": "
|
|
713
|
-
"inputs": [
|
|
631
|
+
"name": "ERC1967InvalidImplementation",
|
|
632
|
+
"inputs": [
|
|
633
|
+
{
|
|
634
|
+
"name": "implementation",
|
|
635
|
+
"type": "address",
|
|
636
|
+
"internalType": "address"
|
|
637
|
+
}
|
|
638
|
+
]
|
|
714
639
|
},
|
|
715
640
|
{
|
|
716
641
|
"type": "error",
|
|
717
|
-
"name": "
|
|
642
|
+
"name": "ERC1967NonPayable",
|
|
718
643
|
"inputs": []
|
|
719
644
|
},
|
|
720
645
|
{
|
|
721
646
|
"type": "error",
|
|
722
|
-
"name": "
|
|
647
|
+
"name": "FailedCall",
|
|
723
648
|
"inputs": []
|
|
724
649
|
},
|
|
725
650
|
{
|
|
@@ -740,7 +665,7 @@ var issuerRegistryAbi = [
|
|
|
740
665
|
},
|
|
741
666
|
{
|
|
742
667
|
"type": "error",
|
|
743
|
-
"name": "
|
|
668
|
+
"name": "IssuerPreviouslyRegistered",
|
|
744
669
|
"inputs": [
|
|
745
670
|
{
|
|
746
671
|
"name": "issuer",
|
|
@@ -754,11 +679,6 @@ var issuerRegistryAbi = [
|
|
|
754
679
|
"name": "NotInitializing",
|
|
755
680
|
"inputs": []
|
|
756
681
|
},
|
|
757
|
-
{
|
|
758
|
-
"type": "error",
|
|
759
|
-
"name": "NotIssuer",
|
|
760
|
-
"inputs": []
|
|
761
|
-
},
|
|
762
682
|
{
|
|
763
683
|
"type": "error",
|
|
764
684
|
"name": "OwnableInvalidOwner",
|
|
@@ -781,11 +701,6 @@ var issuerRegistryAbi = [
|
|
|
781
701
|
}
|
|
782
702
|
]
|
|
783
703
|
},
|
|
784
|
-
{
|
|
785
|
-
"type": "error",
|
|
786
|
-
"name": "SignatureExpired",
|
|
787
|
-
"inputs": []
|
|
788
|
-
},
|
|
789
704
|
{
|
|
790
705
|
"type": "error",
|
|
791
706
|
"name": "UUPSUnauthorizedCallContext",
|
|
@@ -829,6 +744,19 @@ var mintingOracleAbi = [
|
|
|
829
744
|
],
|
|
830
745
|
"stateMutability": "view"
|
|
831
746
|
},
|
|
747
|
+
{
|
|
748
|
+
"type": "function",
|
|
749
|
+
"name": "TOKEN_SCALE",
|
|
750
|
+
"inputs": [],
|
|
751
|
+
"outputs": [
|
|
752
|
+
{
|
|
753
|
+
"name": "",
|
|
754
|
+
"type": "uint256",
|
|
755
|
+
"internalType": "uint256"
|
|
756
|
+
}
|
|
757
|
+
],
|
|
758
|
+
"stateMutability": "view"
|
|
759
|
+
},
|
|
832
760
|
{
|
|
833
761
|
"type": "function",
|
|
834
762
|
"name": "UPGRADE_INTERFACE_VERSION",
|
|
@@ -859,7 +787,17 @@ var mintingOracleAbi = [
|
|
|
859
787
|
"internalType": "address"
|
|
860
788
|
},
|
|
861
789
|
{
|
|
862
|
-
"name": "
|
|
790
|
+
"name": "_issuerRegistry",
|
|
791
|
+
"type": "address",
|
|
792
|
+
"internalType": "address"
|
|
793
|
+
},
|
|
794
|
+
{
|
|
795
|
+
"name": "_tokenRegistry",
|
|
796
|
+
"type": "address",
|
|
797
|
+
"internalType": "address"
|
|
798
|
+
},
|
|
799
|
+
{
|
|
800
|
+
"name": "_vaultRegistry",
|
|
863
801
|
"type": "address",
|
|
864
802
|
"internalType": "address"
|
|
865
803
|
}
|
|
@@ -869,7 +807,7 @@ var mintingOracleAbi = [
|
|
|
869
807
|
},
|
|
870
808
|
{
|
|
871
809
|
"type": "function",
|
|
872
|
-
"name": "
|
|
810
|
+
"name": "issuerRegistry",
|
|
873
811
|
"inputs": [],
|
|
874
812
|
"outputs": [
|
|
875
813
|
{
|
|
@@ -882,7 +820,7 @@ var mintingOracleAbi = [
|
|
|
882
820
|
},
|
|
883
821
|
{
|
|
884
822
|
"type": "function",
|
|
885
|
-
"name": "
|
|
823
|
+
"name": "owner",
|
|
886
824
|
"inputs": [],
|
|
887
825
|
"outputs": [
|
|
888
826
|
{
|
|
@@ -895,17 +833,11 @@ var mintingOracleAbi = [
|
|
|
895
833
|
},
|
|
896
834
|
{
|
|
897
835
|
"type": "function",
|
|
898
|
-
"name": "
|
|
899
|
-
"inputs": [
|
|
900
|
-
{
|
|
901
|
-
"name": "pointToken",
|
|
902
|
-
"type": "address",
|
|
903
|
-
"internalType": "address"
|
|
904
|
-
}
|
|
905
|
-
],
|
|
836
|
+
"name": "pendingOwner",
|
|
837
|
+
"inputs": [],
|
|
906
838
|
"outputs": [
|
|
907
839
|
{
|
|
908
|
-
"name": "
|
|
840
|
+
"name": "",
|
|
909
841
|
"type": "address",
|
|
910
842
|
"internalType": "address"
|
|
911
843
|
}
|
|
@@ -925,47 +857,6 @@ var mintingOracleAbi = [
|
|
|
925
857
|
],
|
|
926
858
|
"stateMutability": "view"
|
|
927
859
|
},
|
|
928
|
-
{
|
|
929
|
-
"type": "function",
|
|
930
|
-
"name": "registerToken",
|
|
931
|
-
"inputs": [
|
|
932
|
-
{
|
|
933
|
-
"name": "pointToken",
|
|
934
|
-
"type": "address",
|
|
935
|
-
"internalType": "address"
|
|
936
|
-
},
|
|
937
|
-
{
|
|
938
|
-
"name": "issuer",
|
|
939
|
-
"type": "address",
|
|
940
|
-
"internalType": "address"
|
|
941
|
-
},
|
|
942
|
-
{
|
|
943
|
-
"name": "declaredTotalSupply",
|
|
944
|
-
"type": "uint256",
|
|
945
|
-
"internalType": "uint256"
|
|
946
|
-
},
|
|
947
|
-
{
|
|
948
|
-
"name": "capBasisPoints",
|
|
949
|
-
"type": "uint16",
|
|
950
|
-
"internalType": "uint16"
|
|
951
|
-
}
|
|
952
|
-
],
|
|
953
|
-
"outputs": [],
|
|
954
|
-
"stateMutability": "nonpayable"
|
|
955
|
-
},
|
|
956
|
-
{
|
|
957
|
-
"type": "function",
|
|
958
|
-
"name": "registry",
|
|
959
|
-
"inputs": [],
|
|
960
|
-
"outputs": [
|
|
961
|
-
{
|
|
962
|
-
"name": "",
|
|
963
|
-
"type": "address",
|
|
964
|
-
"internalType": "address"
|
|
965
|
-
}
|
|
966
|
-
],
|
|
967
|
-
"stateMutability": "view"
|
|
968
|
-
},
|
|
969
860
|
{
|
|
970
861
|
"type": "function",
|
|
971
862
|
"name": "renounceOwnership",
|
|
@@ -975,10 +866,10 @@ var mintingOracleAbi = [
|
|
|
975
866
|
},
|
|
976
867
|
{
|
|
977
868
|
"type": "function",
|
|
978
|
-
"name": "
|
|
869
|
+
"name": "setIssuerRegistry",
|
|
979
870
|
"inputs": [
|
|
980
871
|
{
|
|
981
|
-
"name": "
|
|
872
|
+
"name": "newRegistry",
|
|
982
873
|
"type": "address",
|
|
983
874
|
"internalType": "address"
|
|
984
875
|
}
|
|
@@ -988,41 +879,23 @@ var mintingOracleAbi = [
|
|
|
988
879
|
},
|
|
989
880
|
{
|
|
990
881
|
"type": "function",
|
|
991
|
-
"name": "
|
|
882
|
+
"name": "setTokenRegistry",
|
|
992
883
|
"inputs": [
|
|
993
884
|
{
|
|
994
|
-
"name": "
|
|
885
|
+
"name": "newRegistry",
|
|
995
886
|
"type": "address",
|
|
996
887
|
"internalType": "address"
|
|
997
888
|
}
|
|
998
889
|
],
|
|
999
|
-
"outputs": [
|
|
1000
|
-
|
|
1001
|
-
"name": "",
|
|
1002
|
-
"type": "tuple",
|
|
1003
|
-
"internalType": "struct IMintingOracle.TokenCap",
|
|
1004
|
-
"components": [
|
|
1005
|
-
{
|
|
1006
|
-
"name": "declaredTotalSupply",
|
|
1007
|
-
"type": "uint256",
|
|
1008
|
-
"internalType": "uint256"
|
|
1009
|
-
},
|
|
1010
|
-
{
|
|
1011
|
-
"name": "capBasisPoints",
|
|
1012
|
-
"type": "uint16",
|
|
1013
|
-
"internalType": "uint16"
|
|
1014
|
-
}
|
|
1015
|
-
]
|
|
1016
|
-
}
|
|
1017
|
-
],
|
|
1018
|
-
"stateMutability": "view"
|
|
890
|
+
"outputs": [],
|
|
891
|
+
"stateMutability": "nonpayable"
|
|
1019
892
|
},
|
|
1020
893
|
{
|
|
1021
894
|
"type": "function",
|
|
1022
|
-
"name": "
|
|
895
|
+
"name": "setVaultRegistry",
|
|
1023
896
|
"inputs": [
|
|
1024
897
|
{
|
|
1025
|
-
"name": "
|
|
898
|
+
"name": "newRegistry",
|
|
1026
899
|
"type": "address",
|
|
1027
900
|
"internalType": "address"
|
|
1028
901
|
}
|
|
@@ -1032,35 +905,25 @@ var mintingOracleAbi = [
|
|
|
1032
905
|
},
|
|
1033
906
|
{
|
|
1034
907
|
"type": "function",
|
|
1035
|
-
"name": "
|
|
1036
|
-
"inputs": [
|
|
908
|
+
"name": "tokenRegistry",
|
|
909
|
+
"inputs": [],
|
|
910
|
+
"outputs": [
|
|
1037
911
|
{
|
|
1038
|
-
"name": "
|
|
912
|
+
"name": "",
|
|
1039
913
|
"type": "address",
|
|
1040
914
|
"internalType": "address"
|
|
1041
915
|
}
|
|
1042
916
|
],
|
|
1043
|
-
"
|
|
1044
|
-
"stateMutability": "nonpayable"
|
|
917
|
+
"stateMutability": "view"
|
|
1045
918
|
},
|
|
1046
919
|
{
|
|
1047
920
|
"type": "function",
|
|
1048
|
-
"name": "
|
|
921
|
+
"name": "transferOwnership",
|
|
1049
922
|
"inputs": [
|
|
1050
923
|
{
|
|
1051
|
-
"name": "
|
|
924
|
+
"name": "newOwner",
|
|
1052
925
|
"type": "address",
|
|
1053
926
|
"internalType": "address"
|
|
1054
|
-
},
|
|
1055
|
-
{
|
|
1056
|
-
"name": "declaredTotalSupply",
|
|
1057
|
-
"type": "uint256",
|
|
1058
|
-
"internalType": "uint256"
|
|
1059
|
-
},
|
|
1060
|
-
{
|
|
1061
|
-
"name": "capBasisPoints",
|
|
1062
|
-
"type": "uint16",
|
|
1063
|
-
"internalType": "uint16"
|
|
1064
927
|
}
|
|
1065
928
|
],
|
|
1066
929
|
"outputs": [],
|
|
@@ -1084,6 +947,19 @@ var mintingOracleAbi = [
|
|
|
1084
947
|
"outputs": [],
|
|
1085
948
|
"stateMutability": "payable"
|
|
1086
949
|
},
|
|
950
|
+
{
|
|
951
|
+
"type": "function",
|
|
952
|
+
"name": "vaultRegistry",
|
|
953
|
+
"inputs": [],
|
|
954
|
+
"outputs": [
|
|
955
|
+
{
|
|
956
|
+
"name": "",
|
|
957
|
+
"type": "address",
|
|
958
|
+
"internalType": "address"
|
|
959
|
+
}
|
|
960
|
+
],
|
|
961
|
+
"stateMutability": "view"
|
|
962
|
+
},
|
|
1087
963
|
{
|
|
1088
964
|
"type": "function",
|
|
1089
965
|
"name": "verifyIssuerOperative",
|
|
@@ -1104,7 +980,7 @@ var mintingOracleAbi = [
|
|
|
1104
980
|
},
|
|
1105
981
|
{
|
|
1106
982
|
"type": "function",
|
|
1107
|
-
"name": "
|
|
983
|
+
"name": "verifyMint",
|
|
1108
984
|
"inputs": [
|
|
1109
985
|
{
|
|
1110
986
|
"name": "pointToken",
|
|
@@ -1116,6 +992,11 @@ var mintingOracleAbi = [
|
|
|
1116
992
|
"type": "address",
|
|
1117
993
|
"internalType": "address"
|
|
1118
994
|
},
|
|
995
|
+
{
|
|
996
|
+
"name": "source",
|
|
997
|
+
"type": "uint8",
|
|
998
|
+
"internalType": "uint8"
|
|
999
|
+
},
|
|
1119
1000
|
{
|
|
1120
1001
|
"name": "amount",
|
|
1121
1002
|
"type": "uint256",
|
|
@@ -1140,16 +1021,10 @@ var mintingOracleAbi = [
|
|
|
1140
1021
|
},
|
|
1141
1022
|
{
|
|
1142
1023
|
"type": "event",
|
|
1143
|
-
"name": "
|
|
1024
|
+
"name": "IssuerRegistryUpdated",
|
|
1144
1025
|
"inputs": [
|
|
1145
1026
|
{
|
|
1146
|
-
"name": "
|
|
1147
|
-
"type": "address",
|
|
1148
|
-
"indexed": true,
|
|
1149
|
-
"internalType": "address"
|
|
1150
|
-
},
|
|
1151
|
-
{
|
|
1152
|
-
"name": "newOwner",
|
|
1027
|
+
"name": "issuerRegistry",
|
|
1153
1028
|
"type": "address",
|
|
1154
1029
|
"indexed": true,
|
|
1155
1030
|
"internalType": "address"
|
|
@@ -1159,7 +1034,7 @@ var mintingOracleAbi = [
|
|
|
1159
1034
|
},
|
|
1160
1035
|
{
|
|
1161
1036
|
"type": "event",
|
|
1162
|
-
"name": "
|
|
1037
|
+
"name": "OwnershipTransferStarted",
|
|
1163
1038
|
"inputs": [
|
|
1164
1039
|
{
|
|
1165
1040
|
"name": "previousOwner",
|
|
@@ -1178,54 +1053,16 @@ var mintingOracleAbi = [
|
|
|
1178
1053
|
},
|
|
1179
1054
|
{
|
|
1180
1055
|
"type": "event",
|
|
1181
|
-
"name": "
|
|
1182
|
-
"inputs": [
|
|
1183
|
-
{
|
|
1184
|
-
"name": "registry",
|
|
1185
|
-
"type": "address",
|
|
1186
|
-
"indexed": true,
|
|
1187
|
-
"internalType": "address"
|
|
1188
|
-
}
|
|
1189
|
-
],
|
|
1190
|
-
"anonymous": false
|
|
1191
|
-
},
|
|
1192
|
-
{
|
|
1193
|
-
"type": "event",
|
|
1194
|
-
"name": "TokenCapUpdated",
|
|
1195
|
-
"inputs": [
|
|
1196
|
-
{
|
|
1197
|
-
"name": "pointToken",
|
|
1198
|
-
"type": "address",
|
|
1199
|
-
"indexed": true,
|
|
1200
|
-
"internalType": "address"
|
|
1201
|
-
},
|
|
1202
|
-
{
|
|
1203
|
-
"name": "declaredTotalSupply",
|
|
1204
|
-
"type": "uint256",
|
|
1205
|
-
"indexed": false,
|
|
1206
|
-
"internalType": "uint256"
|
|
1207
|
-
},
|
|
1208
|
-
{
|
|
1209
|
-
"name": "capBasisPoints",
|
|
1210
|
-
"type": "uint16",
|
|
1211
|
-
"indexed": false,
|
|
1212
|
-
"internalType": "uint16"
|
|
1213
|
-
}
|
|
1214
|
-
],
|
|
1215
|
-
"anonymous": false
|
|
1216
|
-
},
|
|
1217
|
-
{
|
|
1218
|
-
"type": "event",
|
|
1219
|
-
"name": "TokenRegistered",
|
|
1056
|
+
"name": "OwnershipTransferred",
|
|
1220
1057
|
"inputs": [
|
|
1221
1058
|
{
|
|
1222
|
-
"name": "
|
|
1059
|
+
"name": "previousOwner",
|
|
1223
1060
|
"type": "address",
|
|
1224
1061
|
"indexed": true,
|
|
1225
1062
|
"internalType": "address"
|
|
1226
1063
|
},
|
|
1227
1064
|
{
|
|
1228
|
-
"name": "
|
|
1065
|
+
"name": "newOwner",
|
|
1229
1066
|
"type": "address",
|
|
1230
1067
|
"indexed": true,
|
|
1231
1068
|
"internalType": "address"
|
|
@@ -1235,16 +1072,10 @@ var mintingOracleAbi = [
|
|
|
1235
1072
|
},
|
|
1236
1073
|
{
|
|
1237
1074
|
"type": "event",
|
|
1238
|
-
"name": "
|
|
1075
|
+
"name": "TokenRegistryUpdated",
|
|
1239
1076
|
"inputs": [
|
|
1240
1077
|
{
|
|
1241
|
-
"name": "
|
|
1242
|
-
"type": "address",
|
|
1243
|
-
"indexed": true,
|
|
1244
|
-
"internalType": "address"
|
|
1245
|
-
},
|
|
1246
|
-
{
|
|
1247
|
-
"name": "issuer",
|
|
1078
|
+
"name": "tokenRegistry",
|
|
1248
1079
|
"type": "address",
|
|
1249
1080
|
"indexed": true,
|
|
1250
1081
|
"internalType": "address"
|
|
@@ -1266,24 +1097,26 @@ var mintingOracleAbi = [
|
|
|
1266
1097
|
"anonymous": false
|
|
1267
1098
|
},
|
|
1268
1099
|
{
|
|
1269
|
-
"type": "
|
|
1270
|
-
"name": "
|
|
1100
|
+
"type": "event",
|
|
1101
|
+
"name": "VaultRegistryUpdated",
|
|
1271
1102
|
"inputs": [
|
|
1272
1103
|
{
|
|
1273
|
-
"name": "
|
|
1104
|
+
"name": "vaultRegistry",
|
|
1274
1105
|
"type": "address",
|
|
1106
|
+
"indexed": true,
|
|
1275
1107
|
"internalType": "address"
|
|
1276
1108
|
}
|
|
1277
|
-
]
|
|
1109
|
+
],
|
|
1110
|
+
"anonymous": false
|
|
1278
1111
|
},
|
|
1279
1112
|
{
|
|
1280
1113
|
"type": "error",
|
|
1281
|
-
"name": "
|
|
1114
|
+
"name": "AddressEmptyCode",
|
|
1282
1115
|
"inputs": [
|
|
1283
1116
|
{
|
|
1284
|
-
"name": "
|
|
1285
|
-
"type": "
|
|
1286
|
-
"internalType": "
|
|
1117
|
+
"name": "target",
|
|
1118
|
+
"type": "address",
|
|
1119
|
+
"internalType": "address"
|
|
1287
1120
|
}
|
|
1288
1121
|
]
|
|
1289
1122
|
},
|
|
@@ -1355,7 +1188,7 @@ var mintingOracleAbi = [
|
|
|
1355
1188
|
"internalType": "uint256"
|
|
1356
1189
|
},
|
|
1357
1190
|
{
|
|
1358
|
-
"name": "
|
|
1191
|
+
"name": "projectedFaceValue",
|
|
1359
1192
|
"type": "uint256",
|
|
1360
1193
|
"internalType": "uint256"
|
|
1361
1194
|
}
|
|
@@ -1366,16 +1199,6 @@ var mintingOracleAbi = [
|
|
|
1366
1199
|
"name": "NotInitializing",
|
|
1367
1200
|
"inputs": []
|
|
1368
1201
|
},
|
|
1369
|
-
{
|
|
1370
|
-
"type": "error",
|
|
1371
|
-
"name": "NotIssuer",
|
|
1372
|
-
"inputs": []
|
|
1373
|
-
},
|
|
1374
|
-
{
|
|
1375
|
-
"type": "error",
|
|
1376
|
-
"name": "OnlyRegistry",
|
|
1377
|
-
"inputs": []
|
|
1378
|
-
},
|
|
1379
1202
|
{
|
|
1380
1203
|
"type": "error",
|
|
1381
1204
|
"name": "OwnableInvalidOwner",
|
|
@@ -1400,18 +1223,7 @@ var mintingOracleAbi = [
|
|
|
1400
1223
|
},
|
|
1401
1224
|
{
|
|
1402
1225
|
"type": "error",
|
|
1403
|
-
"name": "
|
|
1404
|
-
"inputs": [
|
|
1405
|
-
{
|
|
1406
|
-
"name": "pointToken",
|
|
1407
|
-
"type": "address",
|
|
1408
|
-
"internalType": "address"
|
|
1409
|
-
}
|
|
1410
|
-
]
|
|
1411
|
-
},
|
|
1412
|
-
{
|
|
1413
|
-
"type": "error",
|
|
1414
|
-
"name": "TokenNotRegistered",
|
|
1226
|
+
"name": "TokenInactive",
|
|
1415
1227
|
"inputs": [
|
|
1416
1228
|
{
|
|
1417
1229
|
"name": "pointToken",
|
|
@@ -1447,6 +1259,27 @@ var mintingOracleAbi = [
|
|
|
1447
1259
|
}
|
|
1448
1260
|
]
|
|
1449
1261
|
},
|
|
1262
|
+
{
|
|
1263
|
+
"type": "error",
|
|
1264
|
+
"name": "VaultCapExceeded",
|
|
1265
|
+
"inputs": [
|
|
1266
|
+
{
|
|
1267
|
+
"name": "pointToken",
|
|
1268
|
+
"type": "address",
|
|
1269
|
+
"internalType": "address"
|
|
1270
|
+
},
|
|
1271
|
+
{
|
|
1272
|
+
"name": "cap",
|
|
1273
|
+
"type": "uint256",
|
|
1274
|
+
"internalType": "uint256"
|
|
1275
|
+
},
|
|
1276
|
+
{
|
|
1277
|
+
"name": "projected",
|
|
1278
|
+
"type": "uint256",
|
|
1279
|
+
"internalType": "uint256"
|
|
1280
|
+
}
|
|
1281
|
+
]
|
|
1282
|
+
},
|
|
1450
1283
|
{
|
|
1451
1284
|
"type": "error",
|
|
1452
1285
|
"name": "ZeroAddress",
|
|
@@ -1494,6 +1327,85 @@ var mintFeeWrapperAbi = [
|
|
|
1494
1327
|
"outputs": [],
|
|
1495
1328
|
"stateMutability": "nonpayable"
|
|
1496
1329
|
},
|
|
1330
|
+
{
|
|
1331
|
+
"type": "function",
|
|
1332
|
+
"name": "core",
|
|
1333
|
+
"inputs": [],
|
|
1334
|
+
"outputs": [
|
|
1335
|
+
{
|
|
1336
|
+
"name": "",
|
|
1337
|
+
"type": "address",
|
|
1338
|
+
"internalType": "address"
|
|
1339
|
+
}
|
|
1340
|
+
],
|
|
1341
|
+
"stateMutability": "view"
|
|
1342
|
+
},
|
|
1343
|
+
{
|
|
1344
|
+
"type": "function",
|
|
1345
|
+
"name": "eip712Domain",
|
|
1346
|
+
"inputs": [],
|
|
1347
|
+
"outputs": [
|
|
1348
|
+
{
|
|
1349
|
+
"name": "fields",
|
|
1350
|
+
"type": "bytes1",
|
|
1351
|
+
"internalType": "bytes1"
|
|
1352
|
+
},
|
|
1353
|
+
{
|
|
1354
|
+
"name": "name",
|
|
1355
|
+
"type": "string",
|
|
1356
|
+
"internalType": "string"
|
|
1357
|
+
},
|
|
1358
|
+
{
|
|
1359
|
+
"name": "version",
|
|
1360
|
+
"type": "string",
|
|
1361
|
+
"internalType": "string"
|
|
1362
|
+
},
|
|
1363
|
+
{
|
|
1364
|
+
"name": "chainId",
|
|
1365
|
+
"type": "uint256",
|
|
1366
|
+
"internalType": "uint256"
|
|
1367
|
+
},
|
|
1368
|
+
{
|
|
1369
|
+
"name": "verifyingContract",
|
|
1370
|
+
"type": "address",
|
|
1371
|
+
"internalType": "address"
|
|
1372
|
+
},
|
|
1373
|
+
{
|
|
1374
|
+
"name": "salt",
|
|
1375
|
+
"type": "bytes32",
|
|
1376
|
+
"internalType": "bytes32"
|
|
1377
|
+
},
|
|
1378
|
+
{
|
|
1379
|
+
"name": "extensions",
|
|
1380
|
+
"type": "uint256[]",
|
|
1381
|
+
"internalType": "uint256[]"
|
|
1382
|
+
}
|
|
1383
|
+
],
|
|
1384
|
+
"stateMutability": "view"
|
|
1385
|
+
},
|
|
1386
|
+
{
|
|
1387
|
+
"type": "function",
|
|
1388
|
+
"name": "emergencyWithdraw",
|
|
1389
|
+
"inputs": [
|
|
1390
|
+
{
|
|
1391
|
+
"name": "token",
|
|
1392
|
+
"type": "address",
|
|
1393
|
+
"internalType": "address"
|
|
1394
|
+
},
|
|
1395
|
+
{
|
|
1396
|
+
"name": "to",
|
|
1397
|
+
"type": "address",
|
|
1398
|
+
"internalType": "address"
|
|
1399
|
+
},
|
|
1400
|
+
{
|
|
1401
|
+
"name": "amount",
|
|
1402
|
+
"type": "uint256",
|
|
1403
|
+
"internalType": "uint256"
|
|
1404
|
+
}
|
|
1405
|
+
],
|
|
1406
|
+
"outputs": [],
|
|
1407
|
+
"stateMutability": "nonpayable"
|
|
1408
|
+
},
|
|
1497
1409
|
{
|
|
1498
1410
|
"type": "function",
|
|
1499
1411
|
"name": "getRecipients",
|
|
@@ -1535,7 +1447,7 @@ var mintFeeWrapperAbi = [
|
|
|
1535
1447
|
"internalType": "address"
|
|
1536
1448
|
},
|
|
1537
1449
|
{
|
|
1538
|
-
"name": "
|
|
1450
|
+
"name": "_core",
|
|
1539
1451
|
"type": "address",
|
|
1540
1452
|
"internalType": "address"
|
|
1541
1453
|
}
|
|
@@ -1666,21 +1578,21 @@ var mintFeeWrapperAbi = [
|
|
|
1666
1578
|
},
|
|
1667
1579
|
{
|
|
1668
1580
|
"type": "function",
|
|
1669
|
-
"name": "
|
|
1581
|
+
"name": "renounceOwnership",
|
|
1670
1582
|
"inputs": [],
|
|
1671
|
-
"outputs": [
|
|
1583
|
+
"outputs": [],
|
|
1584
|
+
"stateMutability": "nonpayable"
|
|
1585
|
+
},
|
|
1586
|
+
{
|
|
1587
|
+
"type": "function",
|
|
1588
|
+
"name": "setCore",
|
|
1589
|
+
"inputs": [
|
|
1672
1590
|
{
|
|
1673
|
-
"name": "",
|
|
1591
|
+
"name": "newCore",
|
|
1674
1592
|
"type": "address",
|
|
1675
1593
|
"internalType": "address"
|
|
1676
1594
|
}
|
|
1677
1595
|
],
|
|
1678
|
-
"stateMutability": "view"
|
|
1679
|
-
},
|
|
1680
|
-
{
|
|
1681
|
-
"type": "function",
|
|
1682
|
-
"name": "renounceOwnership",
|
|
1683
|
-
"inputs": [],
|
|
1684
1596
|
"outputs": [],
|
|
1685
1597
|
"stateMutability": "nonpayable"
|
|
1686
1598
|
},
|
|
@@ -1709,6 +1621,16 @@ var mintFeeWrapperAbi = [
|
|
|
1709
1621
|
"internalType": "uint16"
|
|
1710
1622
|
}
|
|
1711
1623
|
]
|
|
1624
|
+
},
|
|
1625
|
+
{
|
|
1626
|
+
"name": "deadline",
|
|
1627
|
+
"type": "uint256",
|
|
1628
|
+
"internalType": "uint256"
|
|
1629
|
+
},
|
|
1630
|
+
{
|
|
1631
|
+
"name": "daoSig",
|
|
1632
|
+
"type": "bytes",
|
|
1633
|
+
"internalType": "bytes"
|
|
1712
1634
|
}
|
|
1713
1635
|
],
|
|
1714
1636
|
"outputs": [],
|
|
@@ -1716,16 +1638,22 @@ var mintFeeWrapperAbi = [
|
|
|
1716
1638
|
},
|
|
1717
1639
|
{
|
|
1718
1640
|
"type": "function",
|
|
1719
|
-
"name": "
|
|
1641
|
+
"name": "setRecipientsNonces",
|
|
1720
1642
|
"inputs": [
|
|
1721
1643
|
{
|
|
1722
|
-
"name": "
|
|
1644
|
+
"name": "pointToken",
|
|
1723
1645
|
"type": "address",
|
|
1724
1646
|
"internalType": "address"
|
|
1725
1647
|
}
|
|
1726
1648
|
],
|
|
1727
|
-
"outputs": [
|
|
1728
|
-
|
|
1649
|
+
"outputs": [
|
|
1650
|
+
{
|
|
1651
|
+
"name": "",
|
|
1652
|
+
"type": "uint256",
|
|
1653
|
+
"internalType": "uint256"
|
|
1654
|
+
}
|
|
1655
|
+
],
|
|
1656
|
+
"stateMutability": "view"
|
|
1729
1657
|
},
|
|
1730
1658
|
{
|
|
1731
1659
|
"type": "function",
|
|
@@ -1759,6 +1687,19 @@ var mintFeeWrapperAbi = [
|
|
|
1759
1687
|
"outputs": [],
|
|
1760
1688
|
"stateMutability": "nonpayable"
|
|
1761
1689
|
},
|
|
1690
|
+
{
|
|
1691
|
+
"type": "function",
|
|
1692
|
+
"name": "unregisterToken",
|
|
1693
|
+
"inputs": [
|
|
1694
|
+
{
|
|
1695
|
+
"name": "pointToken",
|
|
1696
|
+
"type": "address",
|
|
1697
|
+
"internalType": "address"
|
|
1698
|
+
}
|
|
1699
|
+
],
|
|
1700
|
+
"outputs": [],
|
|
1701
|
+
"stateMutability": "nonpayable"
|
|
1702
|
+
},
|
|
1762
1703
|
{
|
|
1763
1704
|
"type": "function",
|
|
1764
1705
|
"name": "upgradeToAndCall",
|
|
@@ -1777,6 +1718,50 @@ var mintFeeWrapperAbi = [
|
|
|
1777
1718
|
"outputs": [],
|
|
1778
1719
|
"stateMutability": "payable"
|
|
1779
1720
|
},
|
|
1721
|
+
{
|
|
1722
|
+
"type": "event",
|
|
1723
|
+
"name": "CoreUpdated",
|
|
1724
|
+
"inputs": [
|
|
1725
|
+
{
|
|
1726
|
+
"name": "core",
|
|
1727
|
+
"type": "address",
|
|
1728
|
+
"indexed": true,
|
|
1729
|
+
"internalType": "address"
|
|
1730
|
+
}
|
|
1731
|
+
],
|
|
1732
|
+
"anonymous": false
|
|
1733
|
+
},
|
|
1734
|
+
{
|
|
1735
|
+
"type": "event",
|
|
1736
|
+
"name": "EIP712DomainChanged",
|
|
1737
|
+
"inputs": [],
|
|
1738
|
+
"anonymous": false
|
|
1739
|
+
},
|
|
1740
|
+
{
|
|
1741
|
+
"type": "event",
|
|
1742
|
+
"name": "EmergencyWithdraw",
|
|
1743
|
+
"inputs": [
|
|
1744
|
+
{
|
|
1745
|
+
"name": "token",
|
|
1746
|
+
"type": "address",
|
|
1747
|
+
"indexed": true,
|
|
1748
|
+
"internalType": "address"
|
|
1749
|
+
},
|
|
1750
|
+
{
|
|
1751
|
+
"name": "to",
|
|
1752
|
+
"type": "address",
|
|
1753
|
+
"indexed": true,
|
|
1754
|
+
"internalType": "address"
|
|
1755
|
+
},
|
|
1756
|
+
{
|
|
1757
|
+
"name": "amount",
|
|
1758
|
+
"type": "uint256",
|
|
1759
|
+
"indexed": false,
|
|
1760
|
+
"internalType": "uint256"
|
|
1761
|
+
}
|
|
1762
|
+
],
|
|
1763
|
+
"anonymous": false
|
|
1764
|
+
},
|
|
1780
1765
|
{
|
|
1781
1766
|
"type": "event",
|
|
1782
1767
|
"name": "FeeDistributed",
|
|
@@ -1826,25 +1811,25 @@ var mintFeeWrapperAbi = [
|
|
|
1826
1811
|
"internalType": "address"
|
|
1827
1812
|
},
|
|
1828
1813
|
{
|
|
1829
|
-
"name": "
|
|
1814
|
+
"name": "user",
|
|
1830
1815
|
"type": "address",
|
|
1831
1816
|
"indexed": true,
|
|
1832
1817
|
"internalType": "address"
|
|
1833
1818
|
},
|
|
1834
1819
|
{
|
|
1835
|
-
"name": "
|
|
1820
|
+
"name": "gross",
|
|
1836
1821
|
"type": "uint256",
|
|
1837
1822
|
"indexed": false,
|
|
1838
1823
|
"internalType": "uint256"
|
|
1839
1824
|
},
|
|
1840
1825
|
{
|
|
1841
|
-
"name": "
|
|
1826
|
+
"name": "net",
|
|
1842
1827
|
"type": "uint256",
|
|
1843
1828
|
"indexed": false,
|
|
1844
1829
|
"internalType": "uint256"
|
|
1845
1830
|
},
|
|
1846
1831
|
{
|
|
1847
|
-
"name": "
|
|
1832
|
+
"name": "fee",
|
|
1848
1833
|
"type": "uint256",
|
|
1849
1834
|
"indexed": false,
|
|
1850
1835
|
"internalType": "uint256"
|
|
@@ -1921,19 +1906,6 @@ var mintFeeWrapperAbi = [
|
|
|
1921
1906
|
],
|
|
1922
1907
|
"anonymous": false
|
|
1923
1908
|
},
|
|
1924
|
-
{
|
|
1925
|
-
"type": "event",
|
|
1926
|
-
"name": "RegistryUpdated",
|
|
1927
|
-
"inputs": [
|
|
1928
|
-
{
|
|
1929
|
-
"name": "registry",
|
|
1930
|
-
"type": "address",
|
|
1931
|
-
"indexed": true,
|
|
1932
|
-
"internalType": "address"
|
|
1933
|
-
}
|
|
1934
|
-
],
|
|
1935
|
-
"anonymous": false
|
|
1936
|
-
},
|
|
1937
1909
|
{
|
|
1938
1910
|
"type": "event",
|
|
1939
1911
|
"name": "Upgraded",
|
|
@@ -1990,6 +1962,11 @@ var mintFeeWrapperAbi = [
|
|
|
1990
1962
|
"name": "FailedCall",
|
|
1991
1963
|
"inputs": []
|
|
1992
1964
|
},
|
|
1965
|
+
{
|
|
1966
|
+
"type": "error",
|
|
1967
|
+
"name": "InvalidDAOSignature",
|
|
1968
|
+
"inputs": []
|
|
1969
|
+
},
|
|
1993
1970
|
{
|
|
1994
1971
|
"type": "error",
|
|
1995
1972
|
"name": "InvalidInitialization",
|
|
@@ -2023,7 +2000,7 @@ var mintFeeWrapperAbi = [
|
|
|
2023
2000
|
},
|
|
2024
2001
|
{
|
|
2025
2002
|
"type": "error",
|
|
2026
|
-
"name": "
|
|
2003
|
+
"name": "OnlyCore",
|
|
2027
2004
|
"inputs": []
|
|
2028
2005
|
},
|
|
2029
2006
|
{
|
|
@@ -2048,14 +2025,30 @@ var mintFeeWrapperAbi = [
|
|
|
2048
2025
|
}
|
|
2049
2026
|
]
|
|
2050
2027
|
},
|
|
2028
|
+
{
|
|
2029
|
+
"type": "error",
|
|
2030
|
+
"name": "SafeERC20FailedOperation",
|
|
2031
|
+
"inputs": [
|
|
2032
|
+
{
|
|
2033
|
+
"name": "token",
|
|
2034
|
+
"type": "address",
|
|
2035
|
+
"internalType": "address"
|
|
2036
|
+
}
|
|
2037
|
+
]
|
|
2038
|
+
},
|
|
2039
|
+
{
|
|
2040
|
+
"type": "error",
|
|
2041
|
+
"name": "SignatureExpired",
|
|
2042
|
+
"inputs": []
|
|
2043
|
+
},
|
|
2051
2044
|
{
|
|
2052
2045
|
"type": "error",
|
|
2053
2046
|
"name": "TotalFeeTooHigh",
|
|
2054
2047
|
"inputs": [
|
|
2055
2048
|
{
|
|
2056
2049
|
"name": "totalBps",
|
|
2057
|
-
"type": "
|
|
2058
|
-
"internalType": "
|
|
2050
|
+
"type": "uint256",
|
|
2051
|
+
"internalType": "uint256"
|
|
2059
2052
|
}
|
|
2060
2053
|
]
|
|
2061
2054
|
},
|
|
@@ -2092,4 +2085,4 @@ var mintFeeWrapperAbi = [
|
|
|
2092
2085
|
|
|
2093
2086
|
|
|
2094
2087
|
exports.issuerRegistryAbi = issuerRegistryAbi; exports.mintingOracleAbi = mintingOracleAbi; exports.mintFeeWrapperAbi = mintFeeWrapperAbi;
|
|
2095
|
-
//# sourceMappingURL=chunk-
|
|
2088
|
+
//# sourceMappingURL=chunk-2CU7ZH2A.cjs.map
|