@bulla/registry 0.0.0-stage → 1.0.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.
@@ -0,0 +1,416 @@
1
+ [
2
+ {
3
+ "inputs": [
4
+ {
5
+ "internalType": "contract IBullaClaim",
6
+ "name": "_bullaClaim",
7
+ "type": "address"
8
+ },
9
+ {
10
+ "internalType": "address",
11
+ "name": "_admin",
12
+ "type": "address"
13
+ },
14
+ {
15
+ "internalType": "uint256",
16
+ "name": "_fee",
17
+ "type": "uint256"
18
+ }
19
+ ],
20
+ "stateMutability": "nonpayable",
21
+ "type": "constructor"
22
+ },
23
+ {
24
+ "inputs": [],
25
+ "name": "CLAIM_NOT_PENDING",
26
+ "type": "error"
27
+ },
28
+ {
29
+ "inputs": [],
30
+ "name": "INSUFFICIENT_FEE",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [],
35
+ "name": "INVALID_MIN_DOWN_PAYMENT",
36
+ "type": "error"
37
+ },
38
+ {
39
+ "inputs": [],
40
+ "name": "INVALID_TERM_LENGTH",
41
+ "type": "error"
42
+ },
43
+ {
44
+ "inputs": [],
45
+ "name": "NOT_ADMIN",
46
+ "type": "error"
47
+ },
48
+ {
49
+ "inputs": [],
50
+ "name": "NOT_CREDITOR",
51
+ "type": "error"
52
+ },
53
+ {
54
+ "inputs": [],
55
+ "name": "NOT_DEBTOR",
56
+ "type": "error"
57
+ },
58
+ {
59
+ "inputs": [],
60
+ "name": "NO_FINANCE_OFFER",
61
+ "type": "error"
62
+ },
63
+ {
64
+ "inputs": [],
65
+ "name": "OVER_PAYING",
66
+ "type": "error"
67
+ },
68
+ {
69
+ "inputs": [],
70
+ "name": "UNDER_PAYING",
71
+ "type": "error"
72
+ },
73
+ {
74
+ "inputs": [],
75
+ "name": "WITHDRAWAL_FAILED",
76
+ "type": "error"
77
+ },
78
+ {
79
+ "anonymous": false,
80
+ "inputs": [
81
+ {
82
+ "indexed": true,
83
+ "internalType": "address",
84
+ "name": "bullaManager",
85
+ "type": "address"
86
+ },
87
+ {
88
+ "indexed": true,
89
+ "internalType": "uint256",
90
+ "name": "tokenId",
91
+ "type": "uint256"
92
+ },
93
+ {
94
+ "indexed": true,
95
+ "internalType": "address",
96
+ "name": "updatedBy",
97
+ "type": "address"
98
+ },
99
+ {
100
+ "indexed": false,
101
+ "internalType": "bytes32",
102
+ "name": "tag",
103
+ "type": "bytes32"
104
+ },
105
+ {
106
+ "indexed": false,
107
+ "internalType": "uint256",
108
+ "name": "blocktime",
109
+ "type": "uint256"
110
+ }
111
+ ],
112
+ "name": "BullaTagUpdated",
113
+ "type": "event"
114
+ },
115
+ {
116
+ "anonymous": false,
117
+ "inputs": [
118
+ {
119
+ "indexed": true,
120
+ "internalType": "uint256",
121
+ "name": "originatingClaimId",
122
+ "type": "uint256"
123
+ },
124
+ {
125
+ "indexed": false,
126
+ "internalType": "uint256",
127
+ "name": "blocktime",
128
+ "type": "uint256"
129
+ }
130
+ ],
131
+ "name": "FeeReclaimed",
132
+ "type": "event"
133
+ },
134
+ {
135
+ "anonymous": false,
136
+ "inputs": [
137
+ {
138
+ "indexed": true,
139
+ "internalType": "uint256",
140
+ "name": "originatingClaimId",
141
+ "type": "uint256"
142
+ },
143
+ {
144
+ "indexed": true,
145
+ "internalType": "uint256",
146
+ "name": "financedClaimId",
147
+ "type": "uint256"
148
+ },
149
+ {
150
+ "indexed": false,
151
+ "internalType": "uint256",
152
+ "name": "blocktime",
153
+ "type": "uint256"
154
+ }
155
+ ],
156
+ "name": "FinancingAccepted",
157
+ "type": "event"
158
+ },
159
+ {
160
+ "anonymous": false,
161
+ "inputs": [
162
+ {
163
+ "indexed": true,
164
+ "internalType": "uint256",
165
+ "name": "originatingClaimId",
166
+ "type": "uint256"
167
+ },
168
+ {
169
+ "components": [
170
+ {
171
+ "internalType": "uint24",
172
+ "name": "minDownPaymentBPS",
173
+ "type": "uint24"
174
+ },
175
+ {
176
+ "internalType": "uint24",
177
+ "name": "interestBPS",
178
+ "type": "uint24"
179
+ },
180
+ {
181
+ "internalType": "uint40",
182
+ "name": "termLength",
183
+ "type": "uint40"
184
+ }
185
+ ],
186
+ "indexed": false,
187
+ "internalType": "struct BullaFinance.FinanceTerms",
188
+ "name": "terms",
189
+ "type": "tuple"
190
+ },
191
+ {
192
+ "indexed": false,
193
+ "internalType": "uint256",
194
+ "name": "blocktime",
195
+ "type": "uint256"
196
+ }
197
+ ],
198
+ "name": "FinancingOffered",
199
+ "type": "event"
200
+ },
201
+ {
202
+ "inputs": [
203
+ {
204
+ "internalType": "uint256",
205
+ "name": "claimId",
206
+ "type": "uint256"
207
+ },
208
+ {
209
+ "internalType": "uint256",
210
+ "name": "downPayment",
211
+ "type": "uint256"
212
+ },
213
+ {
214
+ "internalType": "string",
215
+ "name": "description",
216
+ "type": "string"
217
+ }
218
+ ],
219
+ "name": "acceptFinancing",
220
+ "outputs": [
221
+ {
222
+ "internalType": "uint256",
223
+ "name": "",
224
+ "type": "uint256"
225
+ }
226
+ ],
227
+ "stateMutability": "nonpayable",
228
+ "type": "function"
229
+ },
230
+ {
231
+ "inputs": [],
232
+ "name": "admin",
233
+ "outputs": [
234
+ {
235
+ "internalType": "address",
236
+ "name": "",
237
+ "type": "address"
238
+ }
239
+ ],
240
+ "stateMutability": "view",
241
+ "type": "function"
242
+ },
243
+ {
244
+ "inputs": [],
245
+ "name": "bullaClaim",
246
+ "outputs": [
247
+ {
248
+ "internalType": "contract IBullaClaim",
249
+ "name": "",
250
+ "type": "address"
251
+ }
252
+ ],
253
+ "stateMutability": "view",
254
+ "type": "function"
255
+ },
256
+ {
257
+ "inputs": [
258
+ {
259
+ "components": [
260
+ {
261
+ "internalType": "uint256",
262
+ "name": "claimAmount",
263
+ "type": "uint256"
264
+ },
265
+ {
266
+ "internalType": "address",
267
+ "name": "creditor",
268
+ "type": "address"
269
+ },
270
+ {
271
+ "internalType": "address",
272
+ "name": "debtor",
273
+ "type": "address"
274
+ },
275
+ {
276
+ "internalType": "string",
277
+ "name": "description",
278
+ "type": "string"
279
+ },
280
+ {
281
+ "internalType": "uint256",
282
+ "name": "dueBy",
283
+ "type": "uint256"
284
+ },
285
+ {
286
+ "internalType": "address",
287
+ "name": "claimToken",
288
+ "type": "address"
289
+ },
290
+ {
291
+ "components": [
292
+ {
293
+ "internalType": "bytes32",
294
+ "name": "hash",
295
+ "type": "bytes32"
296
+ },
297
+ {
298
+ "internalType": "uint8",
299
+ "name": "hashFunction",
300
+ "type": "uint8"
301
+ },
302
+ {
303
+ "internalType": "uint8",
304
+ "name": "size",
305
+ "type": "uint8"
306
+ }
307
+ ],
308
+ "internalType": "struct Multihash",
309
+ "name": "attachment",
310
+ "type": "tuple"
311
+ }
312
+ ],
313
+ "internalType": "struct BullaBanker.ClaimParams",
314
+ "name": "claim",
315
+ "type": "tuple"
316
+ },
317
+ {
318
+ "internalType": "string",
319
+ "name": "tokenURI",
320
+ "type": "string"
321
+ },
322
+ {
323
+ "components": [
324
+ {
325
+ "internalType": "uint24",
326
+ "name": "minDownPaymentBPS",
327
+ "type": "uint24"
328
+ },
329
+ {
330
+ "internalType": "uint24",
331
+ "name": "interestBPS",
332
+ "type": "uint24"
333
+ },
334
+ {
335
+ "internalType": "uint40",
336
+ "name": "termLength",
337
+ "type": "uint40"
338
+ }
339
+ ],
340
+ "internalType": "struct BullaFinance.FinanceTerms",
341
+ "name": "terms",
342
+ "type": "tuple"
343
+ },
344
+ {
345
+ "internalType": "bytes32",
346
+ "name": "tag",
347
+ "type": "bytes32"
348
+ }
349
+ ],
350
+ "name": "createInvoiceWithFinanceOffer",
351
+ "outputs": [
352
+ {
353
+ "internalType": "uint256",
354
+ "name": "",
355
+ "type": "uint256"
356
+ }
357
+ ],
358
+ "stateMutability": "payable",
359
+ "type": "function"
360
+ },
361
+ {
362
+ "inputs": [],
363
+ "name": "fee",
364
+ "outputs": [
365
+ {
366
+ "internalType": "uint256",
367
+ "name": "",
368
+ "type": "uint256"
369
+ }
370
+ ],
371
+ "stateMutability": "view",
372
+ "type": "function"
373
+ },
374
+ {
375
+ "inputs": [
376
+ {
377
+ "internalType": "uint256",
378
+ "name": "",
379
+ "type": "uint256"
380
+ }
381
+ ],
382
+ "name": "financeTermsByClaimId",
383
+ "outputs": [
384
+ {
385
+ "internalType": "uint24",
386
+ "name": "minDownPaymentBPS",
387
+ "type": "uint24"
388
+ },
389
+ {
390
+ "internalType": "uint24",
391
+ "name": "interestBPS",
392
+ "type": "uint24"
393
+ },
394
+ {
395
+ "internalType": "uint40",
396
+ "name": "termLength",
397
+ "type": "uint40"
398
+ }
399
+ ],
400
+ "stateMutability": "view",
401
+ "type": "function"
402
+ },
403
+ {
404
+ "inputs": [
405
+ {
406
+ "internalType": "uint256",
407
+ "name": "_amount",
408
+ "type": "uint256"
409
+ }
410
+ ],
411
+ "name": "withdrawFee",
412
+ "outputs": [],
413
+ "stateMutability": "nonpayable",
414
+ "type": "function"
415
+ }
416
+ ]
@@ -0,0 +1,272 @@
1
+ [
2
+ {
3
+ "inputs": [],
4
+ "name": "ValueMustNoBeZero",
5
+ "type": "error"
6
+ },
7
+ {
8
+ "anonymous": false,
9
+ "inputs": [
10
+ {
11
+ "indexed": true,
12
+ "internalType": "address",
13
+ "name": "from",
14
+ "type": "address"
15
+ },
16
+ {
17
+ "indexed": true,
18
+ "internalType": "address",
19
+ "name": "to",
20
+ "type": "address"
21
+ },
22
+ {
23
+ "indexed": false,
24
+ "internalType": "uint256",
25
+ "name": "amount",
26
+ "type": "uint256"
27
+ },
28
+ {
29
+ "indexed": true,
30
+ "internalType": "address",
31
+ "name": "tokenAddress",
32
+ "type": "address"
33
+ },
34
+ {
35
+ "indexed": false,
36
+ "internalType": "string",
37
+ "name": "description",
38
+ "type": "string"
39
+ },
40
+ {
41
+ "indexed": false,
42
+ "internalType": "string",
43
+ "name": "tag",
44
+ "type": "string"
45
+ },
46
+ {
47
+ "indexed": false,
48
+ "internalType": "string",
49
+ "name": "ipfsHash",
50
+ "type": "string"
51
+ },
52
+ {
53
+ "indexed": false,
54
+ "internalType": "uint256",
55
+ "name": "blocktime",
56
+ "type": "uint256"
57
+ }
58
+ ],
59
+ "name": "InstantPayment",
60
+ "type": "event"
61
+ },
62
+ {
63
+ "anonymous": false,
64
+ "inputs": [
65
+ {
66
+ "indexed": true,
67
+ "internalType": "bytes32",
68
+ "name": "txAndLogIndexHash",
69
+ "type": "bytes32"
70
+ },
71
+ {
72
+ "indexed": true,
73
+ "internalType": "address",
74
+ "name": "updatedBy",
75
+ "type": "address"
76
+ },
77
+ {
78
+ "indexed": false,
79
+ "internalType": "string",
80
+ "name": "tag",
81
+ "type": "string"
82
+ },
83
+ {
84
+ "indexed": false,
85
+ "internalType": "uint256",
86
+ "name": "blocktime",
87
+ "type": "uint256"
88
+ }
89
+ ],
90
+ "name": "InstantPaymentTagUpdated",
91
+ "type": "event"
92
+ },
93
+ {
94
+ "anonymous": false,
95
+ "inputs": [
96
+ {
97
+ "indexed": true,
98
+ "internalType": "address",
99
+ "name": "previousOwner",
100
+ "type": "address"
101
+ },
102
+ {
103
+ "indexed": true,
104
+ "internalType": "address",
105
+ "name": "newOwner",
106
+ "type": "address"
107
+ }
108
+ ],
109
+ "name": "OwnershipTransferred",
110
+ "type": "event"
111
+ },
112
+ {
113
+ "anonymous": false,
114
+ "inputs": [
115
+ {
116
+ "indexed": false,
117
+ "internalType": "address",
118
+ "name": "account",
119
+ "type": "address"
120
+ }
121
+ ],
122
+ "name": "Paused",
123
+ "type": "event"
124
+ },
125
+ {
126
+ "anonymous": false,
127
+ "inputs": [
128
+ {
129
+ "indexed": false,
130
+ "internalType": "address",
131
+ "name": "account",
132
+ "type": "address"
133
+ }
134
+ ],
135
+ "name": "Unpaused",
136
+ "type": "event"
137
+ },
138
+ {
139
+ "inputs": [
140
+ {
141
+ "internalType": "bytes[]",
142
+ "name": "calls",
143
+ "type": "bytes[]"
144
+ },
145
+ {
146
+ "internalType": "bool",
147
+ "name": "revertOnFail",
148
+ "type": "bool"
149
+ }
150
+ ],
151
+ "name": "batch",
152
+ "outputs": [],
153
+ "stateMutability": "payable",
154
+ "type": "function"
155
+ },
156
+ {
157
+ "inputs": [
158
+ {
159
+ "internalType": "address",
160
+ "name": "to",
161
+ "type": "address"
162
+ },
163
+ {
164
+ "internalType": "uint256",
165
+ "name": "amount",
166
+ "type": "uint256"
167
+ },
168
+ {
169
+ "internalType": "address",
170
+ "name": "tokenAddress",
171
+ "type": "address"
172
+ },
173
+ {
174
+ "internalType": "string",
175
+ "name": "description",
176
+ "type": "string"
177
+ },
178
+ {
179
+ "internalType": "string",
180
+ "name": "tag",
181
+ "type": "string"
182
+ },
183
+ {
184
+ "internalType": "string",
185
+ "name": "ipfsHash",
186
+ "type": "string"
187
+ }
188
+ ],
189
+ "name": "instantPayment",
190
+ "outputs": [],
191
+ "stateMutability": "payable",
192
+ "type": "function"
193
+ },
194
+ {
195
+ "inputs": [],
196
+ "name": "owner",
197
+ "outputs": [
198
+ {
199
+ "internalType": "address",
200
+ "name": "",
201
+ "type": "address"
202
+ }
203
+ ],
204
+ "stateMutability": "view",
205
+ "type": "function"
206
+ },
207
+ {
208
+ "inputs": [],
209
+ "name": "pause",
210
+ "outputs": [],
211
+ "stateMutability": "nonpayable",
212
+ "type": "function"
213
+ },
214
+ {
215
+ "inputs": [],
216
+ "name": "paused",
217
+ "outputs": [
218
+ {
219
+ "internalType": "bool",
220
+ "name": "",
221
+ "type": "bool"
222
+ }
223
+ ],
224
+ "stateMutability": "view",
225
+ "type": "function"
226
+ },
227
+ {
228
+ "inputs": [],
229
+ "name": "renounceOwnership",
230
+ "outputs": [],
231
+ "stateMutability": "nonpayable",
232
+ "type": "function"
233
+ },
234
+ {
235
+ "inputs": [
236
+ {
237
+ "internalType": "address",
238
+ "name": "newOwner",
239
+ "type": "address"
240
+ }
241
+ ],
242
+ "name": "transferOwnership",
243
+ "outputs": [],
244
+ "stateMutability": "nonpayable",
245
+ "type": "function"
246
+ },
247
+ {
248
+ "inputs": [],
249
+ "name": "unpause",
250
+ "outputs": [],
251
+ "stateMutability": "nonpayable",
252
+ "type": "function"
253
+ },
254
+ {
255
+ "inputs": [
256
+ {
257
+ "internalType": "bytes32",
258
+ "name": "txAndLogIndexHash",
259
+ "type": "bytes32"
260
+ },
261
+ {
262
+ "internalType": "string",
263
+ "name": "newTag",
264
+ "type": "string"
265
+ }
266
+ ],
267
+ "name": "updateBullaTag",
268
+ "outputs": [],
269
+ "stateMutability": "nonpayable",
270
+ "type": "function"
271
+ }
272
+ ]