@eluvio/elv-client-js 4.0.11 → 4.0.13
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/dist/.keep +0 -0
- package/dist/ElvClient-min.js +11 -10
- package/dist/ElvClient-node-min.js +11 -10
- package/dist/ElvFrameClient-min.js +11 -10
- package/dist/ElvPermissionsClient-min.js +10 -9
- package/dist/ElvWalletClient-min.js +10 -9
- package/dist/ElvWalletClient-node-min.js +10 -9
- package/dist/src/AuthorizationClient.js +1555 -2076
- package/dist/src/ContentObjectVerification.js +134 -185
- package/dist/src/Crypto.js +224 -319
- package/dist/src/ElvClient.js +822 -1114
- package/dist/src/ElvWallet.js +64 -106
- package/dist/src/EthClient.js +719 -974
- package/dist/src/FrameClient.js +223 -319
- package/dist/src/HttpClient.js +117 -156
- package/dist/src/Id.js +1 -6
- package/dist/src/LogMessage.js +4 -8
- package/dist/src/PermissionsClient.js +973 -1271
- package/dist/src/RemoteSigner.js +161 -232
- package/dist/src/UserProfileClient.js +781 -1038
- package/dist/src/Utils.js +159 -299
- package/dist/src/Validation.js +2 -17
- package/dist/src/client/ABRPublishing.js +828 -958
- package/dist/src/client/AccessGroups.js +849 -1095
- package/dist/src/client/ContentAccess.js +3323 -4195
- package/dist/src/client/ContentManagement.js +1818 -2290
- package/dist/src/client/Contracts.js +468 -614
- package/dist/src/client/Files.js +1506 -1846
- package/dist/src/client/NFT.js +94 -116
- package/dist/src/client/NTP.js +326 -425
- package/dist/src/index.js +2 -5
- package/dist/src/walletClient/ClientMethods.js +1368 -1763
- package/dist/src/walletClient/Configuration.js +5 -3
- package/dist/src/walletClient/Notifications.js +98 -127
- package/dist/src/walletClient/Profile.js +184 -246
- package/dist/src/walletClient/Utils.js +76 -122
- package/dist/src/walletClient/index.js +1171 -1496
- package/package.json +4 -21
- package/src/FrameClient.js +1 -0
- package/src/HttpClient.js +4 -2
- package/src/client/ABRPublishing.js +126 -105
- package/src/client/ContentAccess.js +1 -0
- package/src/client/ContentManagement.js +4 -2
- package/src/walletClient/Configuration.js +3 -2
- package/dist/AccessClient-min.js +0 -54
- package/dist/AccessClient-node-min.js +0 -74
- package/dist/src/AccessClient.js +0 -798
- package/dist/src/LimitedMap.js +0 -120
- package/dist/src/client/Access.js +0 -1
- package/dist/src/client/Management.js +0 -1606
- package/dist/src/contracts/AccessIndexor.js +0 -831
- package/dist/src/contracts/Accessible.js +0 -31
- package/dist/src/contracts/AdmgrAdvertisement.js +0 -695
- package/dist/src/contracts/AdmgrCampaign.js +0 -648
- package/dist/src/contracts/AdmgrCampaignManager.js +0 -493
- package/dist/src/contracts/AdmgrCommercialOffering.js +0 -622
- package/dist/src/contracts/AdmgrCommercialOfferingManager.js +0 -413
- package/dist/src/contracts/AdmgrMarketPlace.js +0 -413
- package/dist/src/contracts/AvailsDelivery.js +0 -535
- package/dist/src/contracts/BaseAccessControlGroup.js +0 -1221
- package/dist/src/contracts/BaseAccessWallet.js +0 -1575
- package/dist/src/contracts/BaseAccessWalletFactory.js +0 -93
- package/dist/src/contracts/BaseContent.js +0 -1104
- package/dist/src/contracts/BaseContentFactory.js +0 -99
- package/dist/src/contracts/BaseContentFactoryExt.js +0 -219
- package/dist/src/contracts/BaseContentSpace.js +0 -1346
- package/dist/src/contracts/BaseContentType.js +0 -353
- package/dist/src/contracts/BaseFactory.js +0 -107
- package/dist/src/contracts/BaseGroupFactory.js +0 -93
- package/dist/src/contracts/BaseLibrary.js +0 -1035
- package/dist/src/contracts/BaseLibraryFactory.js +0 -96
- package/dist/src/contracts/Certifyer.js +0 -87
- package/dist/src/contracts/Container.js +0 -543
- package/dist/src/contracts/Content.js +0 -432
- package/dist/src/contracts/Editable.js +0 -295
- package/dist/src/contracts/FactorySpace.js +0 -57
- package/dist/src/contracts/KmsSpace.js +0 -52
- package/dist/src/contracts/LvProvider.js +0 -512
- package/dist/src/contracts/LvRecordableStream.js +0 -1026
- package/dist/src/contracts/LvRecording.js +0 -627
- package/dist/src/contracts/LvStreamRightsHolder.js +0 -551
- package/dist/src/contracts/MetaObject.js +0 -110
- package/dist/src/contracts/Node.js +0 -167
- package/dist/src/contracts/NodeSpace.js +0 -18
- package/dist/src/contracts/NodeSpaceImpl.js +0 -273
- package/dist/src/contracts/Ownable.js +0 -87
- package/dist/src/contracts/PaymentService.js +0 -616
- package/dist/src/contracts/Precompile.js +0 -15
- package/dist/src/contracts/SampleContentAdMarketplace.js +0 -564
- package/dist/src/contracts/SampleContentAdvertising.js +0 -444
- package/dist/src/contracts/SampleContentHelloWorld.js +0 -459
- package/dist/src/contracts/SampleContentLicensing.js +0 -618
- package/dist/src/contracts/SampleContentSigned.js +0 -447
- package/dist/src/contracts/SampleInstance.js +0 -438
- package/dist/src/contracts/SampleInstanceFactory.js +0 -451
- package/dist/src/contracts/Transactable.js +0 -82
- package/dist/src/contracts/UserSpace.js +0 -18
- package/dist/src/contracts/UserSpaceImpl.js +0 -43
- package/dist/src/contracts/Utils.js +0 -18
- package/dist/src/contracts/Verifier.js +0 -53
- package/dist/src/contracts/strings.js +0 -4
- package/dist/src/contracts/v2/BaseContentFactoryExt.js +0 -219
- package/dist/src/contracts/v2/FactorySpace.js +0 -57
- package/dist/src/contracts/v2/KmsSpace.js +0 -52
- package/dist/src/contracts/v2/NodeSpaceImpl.js +0 -273
- package/dist/src/contracts/v2/UserSpaceImpl.js +0 -43
- package/dist/src/marketplaceClient/ClientMethods.js +0 -1918
- package/dist/src/marketplaceClient/Configuration.js +0 -29
- package/dist/src/marketplaceClient/Utils.js +0 -304
- package/dist/src/marketplaceClient/index.js +0 -1553
- package/utilities/ListAccessGroups.js +0 -34
|
@@ -1,618 +0,0 @@
|
|
|
1
|
-
var contract = {
|
|
2
|
-
"abi": [{
|
|
3
|
-
"constant": true,
|
|
4
|
-
"inputs": [],
|
|
5
|
-
"name": "creator",
|
|
6
|
-
"outputs": [{
|
|
7
|
-
"name": "",
|
|
8
|
-
"type": "address"
|
|
9
|
-
}],
|
|
10
|
-
"payable": false,
|
|
11
|
-
"stateMutability": "view",
|
|
12
|
-
"type": "function"
|
|
13
|
-
}, {
|
|
14
|
-
"constant": true,
|
|
15
|
-
"inputs": [],
|
|
16
|
-
"name": "licensingFee",
|
|
17
|
-
"outputs": [{
|
|
18
|
-
"name": "",
|
|
19
|
-
"type": "uint256"
|
|
20
|
-
}],
|
|
21
|
-
"payable": false,
|
|
22
|
-
"stateMutability": "view",
|
|
23
|
-
"type": "function"
|
|
24
|
-
}, {
|
|
25
|
-
"constant": true,
|
|
26
|
-
"inputs": [{
|
|
27
|
-
"name": "",
|
|
28
|
-
"type": "uint8"
|
|
29
|
-
}, {
|
|
30
|
-
"name": "",
|
|
31
|
-
"type": "bytes32[]"
|
|
32
|
-
}, {
|
|
33
|
-
"name": "",
|
|
34
|
-
"type": "address[]"
|
|
35
|
-
}],
|
|
36
|
-
"name": "runAccessInfo",
|
|
37
|
-
"outputs": [{
|
|
38
|
-
"name": "",
|
|
39
|
-
"type": "uint8"
|
|
40
|
-
}, {
|
|
41
|
-
"name": "",
|
|
42
|
-
"type": "uint8"
|
|
43
|
-
}, {
|
|
44
|
-
"name": "",
|
|
45
|
-
"type": "uint8"
|
|
46
|
-
}, {
|
|
47
|
-
"name": "",
|
|
48
|
-
"type": "uint256"
|
|
49
|
-
}],
|
|
50
|
-
"payable": false,
|
|
51
|
-
"stateMutability": "view",
|
|
52
|
-
"type": "function"
|
|
53
|
-
}, {
|
|
54
|
-
"constant": false,
|
|
55
|
-
"inputs": [{
|
|
56
|
-
"name": "",
|
|
57
|
-
"type": "uint256"
|
|
58
|
-
}, {
|
|
59
|
-
"name": "",
|
|
60
|
-
"type": "uint8"
|
|
61
|
-
}, {
|
|
62
|
-
"name": "",
|
|
63
|
-
"type": "bytes32[]"
|
|
64
|
-
}, {
|
|
65
|
-
"name": "",
|
|
66
|
-
"type": "address[]"
|
|
67
|
-
}],
|
|
68
|
-
"name": "runAccess",
|
|
69
|
-
"outputs": [{
|
|
70
|
-
"name": "",
|
|
71
|
-
"type": "uint256"
|
|
72
|
-
}],
|
|
73
|
-
"payable": true,
|
|
74
|
-
"stateMutability": "payable",
|
|
75
|
-
"type": "function"
|
|
76
|
-
}, {
|
|
77
|
-
"constant": false,
|
|
78
|
-
"inputs": [{
|
|
79
|
-
"name": "",
|
|
80
|
-
"type": "uint256"
|
|
81
|
-
}, {
|
|
82
|
-
"name": "",
|
|
83
|
-
"type": "uint256"
|
|
84
|
-
}],
|
|
85
|
-
"name": "runFinalize",
|
|
86
|
-
"outputs": [{
|
|
87
|
-
"name": "",
|
|
88
|
-
"type": "uint256"
|
|
89
|
-
}],
|
|
90
|
-
"payable": true,
|
|
91
|
-
"stateMutability": "payable",
|
|
92
|
-
"type": "function"
|
|
93
|
-
}, {
|
|
94
|
-
"constant": true,
|
|
95
|
-
"inputs": [],
|
|
96
|
-
"name": "percentPartial",
|
|
97
|
-
"outputs": [{
|
|
98
|
-
"name": "",
|
|
99
|
-
"type": "uint8"
|
|
100
|
-
}],
|
|
101
|
-
"payable": false,
|
|
102
|
-
"stateMutability": "view",
|
|
103
|
-
"type": "function"
|
|
104
|
-
}, {
|
|
105
|
-
"constant": false,
|
|
106
|
-
"inputs": [{
|
|
107
|
-
"name": "amount",
|
|
108
|
-
"type": "uint256"
|
|
109
|
-
}],
|
|
110
|
-
"name": "withdraw",
|
|
111
|
-
"outputs": [{
|
|
112
|
-
"name": "",
|
|
113
|
-
"type": "bool"
|
|
114
|
-
}],
|
|
115
|
-
"payable": false,
|
|
116
|
-
"stateMutability": "nonpayable",
|
|
117
|
-
"type": "function"
|
|
118
|
-
}, {
|
|
119
|
-
"constant": false,
|
|
120
|
-
"inputs": [{
|
|
121
|
-
"name": "proposed_status_code",
|
|
122
|
-
"type": "int256"
|
|
123
|
-
}],
|
|
124
|
-
"name": "runStatusChange",
|
|
125
|
-
"outputs": [{
|
|
126
|
-
"name": "",
|
|
127
|
-
"type": "int256"
|
|
128
|
-
}],
|
|
129
|
-
"payable": true,
|
|
130
|
-
"stateMutability": "payable",
|
|
131
|
-
"type": "function"
|
|
132
|
-
}, {
|
|
133
|
-
"constant": false,
|
|
134
|
-
"inputs": [],
|
|
135
|
-
"name": "kill",
|
|
136
|
-
"outputs": [],
|
|
137
|
-
"payable": false,
|
|
138
|
-
"stateMutability": "nonpayable",
|
|
139
|
-
"type": "function"
|
|
140
|
-
}, {
|
|
141
|
-
"constant": true,
|
|
142
|
-
"inputs": [{
|
|
143
|
-
"name": "status_code",
|
|
144
|
-
"type": "int256"
|
|
145
|
-
}],
|
|
146
|
-
"name": "runDescribeStatus",
|
|
147
|
-
"outputs": [{
|
|
148
|
-
"name": "",
|
|
149
|
-
"type": "bytes32"
|
|
150
|
-
}],
|
|
151
|
-
"payable": false,
|
|
152
|
-
"stateMutability": "pure",
|
|
153
|
-
"type": "function"
|
|
154
|
-
}, {
|
|
155
|
-
"constant": true,
|
|
156
|
-
"inputs": [],
|
|
157
|
-
"name": "STATUS_FINAL_REVIEW",
|
|
158
|
-
"outputs": [{
|
|
159
|
-
"name": "",
|
|
160
|
-
"type": "bytes32"
|
|
161
|
-
}],
|
|
162
|
-
"payable": false,
|
|
163
|
-
"stateMutability": "view",
|
|
164
|
-
"type": "function"
|
|
165
|
-
}, {
|
|
166
|
-
"constant": true,
|
|
167
|
-
"inputs": [],
|
|
168
|
-
"name": "version",
|
|
169
|
-
"outputs": [{
|
|
170
|
-
"name": "",
|
|
171
|
-
"type": "bytes32"
|
|
172
|
-
}],
|
|
173
|
-
"payable": false,
|
|
174
|
-
"stateMutability": "view",
|
|
175
|
-
"type": "function"
|
|
176
|
-
}, {
|
|
177
|
-
"constant": true,
|
|
178
|
-
"inputs": [],
|
|
179
|
-
"name": "DEFAULT_ACCESS",
|
|
180
|
-
"outputs": [{
|
|
181
|
-
"name": "",
|
|
182
|
-
"type": "uint8"
|
|
183
|
-
}],
|
|
184
|
-
"payable": false,
|
|
185
|
-
"stateMutability": "view",
|
|
186
|
-
"type": "function"
|
|
187
|
-
}, {
|
|
188
|
-
"constant": false,
|
|
189
|
-
"inputs": [{
|
|
190
|
-
"name": "newCreator",
|
|
191
|
-
"type": "address"
|
|
192
|
-
}],
|
|
193
|
-
"name": "transferCreatorship",
|
|
194
|
-
"outputs": [],
|
|
195
|
-
"payable": false,
|
|
196
|
-
"stateMutability": "nonpayable",
|
|
197
|
-
"type": "function"
|
|
198
|
-
}, {
|
|
199
|
-
"constant": false,
|
|
200
|
-
"inputs": [],
|
|
201
|
-
"name": "runCreate",
|
|
202
|
-
"outputs": [{
|
|
203
|
-
"name": "",
|
|
204
|
-
"type": "uint256"
|
|
205
|
-
}],
|
|
206
|
-
"payable": true,
|
|
207
|
-
"stateMutability": "payable",
|
|
208
|
-
"type": "function"
|
|
209
|
-
}, {
|
|
210
|
-
"constant": true,
|
|
211
|
-
"inputs": [],
|
|
212
|
-
"name": "owner",
|
|
213
|
-
"outputs": [{
|
|
214
|
-
"name": "",
|
|
215
|
-
"type": "address"
|
|
216
|
-
}],
|
|
217
|
-
"payable": false,
|
|
218
|
-
"stateMutability": "view",
|
|
219
|
-
"type": "function"
|
|
220
|
-
}, {
|
|
221
|
-
"constant": true,
|
|
222
|
-
"inputs": [],
|
|
223
|
-
"name": "partialPayment",
|
|
224
|
-
"outputs": [{
|
|
225
|
-
"name": "",
|
|
226
|
-
"type": "uint8"
|
|
227
|
-
}],
|
|
228
|
-
"payable": false,
|
|
229
|
-
"stateMutability": "view",
|
|
230
|
-
"type": "function"
|
|
231
|
-
}, {
|
|
232
|
-
"constant": false,
|
|
233
|
-
"inputs": [],
|
|
234
|
-
"name": "runKill",
|
|
235
|
-
"outputs": [{
|
|
236
|
-
"name": "",
|
|
237
|
-
"type": "uint256"
|
|
238
|
-
}],
|
|
239
|
-
"payable": true,
|
|
240
|
-
"stateMutability": "payable",
|
|
241
|
-
"type": "function"
|
|
242
|
-
}, {
|
|
243
|
-
"constant": false,
|
|
244
|
-
"inputs": [{
|
|
245
|
-
"name": "content_address",
|
|
246
|
-
"type": "address"
|
|
247
|
-
}, {
|
|
248
|
-
"name": "new_owner",
|
|
249
|
-
"type": "address"
|
|
250
|
-
}],
|
|
251
|
-
"name": "transferContentOwnership",
|
|
252
|
-
"outputs": [{
|
|
253
|
-
"name": "",
|
|
254
|
-
"type": "address"
|
|
255
|
-
}],
|
|
256
|
-
"payable": false,
|
|
257
|
-
"stateMutability": "nonpayable",
|
|
258
|
-
"type": "function"
|
|
259
|
-
}, {
|
|
260
|
-
"constant": true,
|
|
261
|
-
"inputs": [],
|
|
262
|
-
"name": "contentSpace",
|
|
263
|
-
"outputs": [{
|
|
264
|
-
"name": "",
|
|
265
|
-
"type": "address"
|
|
266
|
-
}],
|
|
267
|
-
"payable": false,
|
|
268
|
-
"stateMutability": "view",
|
|
269
|
-
"type": "function"
|
|
270
|
-
}, {
|
|
271
|
-
"constant": true,
|
|
272
|
-
"inputs": [],
|
|
273
|
-
"name": "STATUS_DRAFT_APPROVED",
|
|
274
|
-
"outputs": [{
|
|
275
|
-
"name": "",
|
|
276
|
-
"type": "bytes32"
|
|
277
|
-
}],
|
|
278
|
-
"payable": false,
|
|
279
|
-
"stateMutability": "view",
|
|
280
|
-
"type": "function"
|
|
281
|
-
}, {
|
|
282
|
-
"constant": true,
|
|
283
|
-
"inputs": [],
|
|
284
|
-
"name": "DEFAULT_SEE",
|
|
285
|
-
"outputs": [{
|
|
286
|
-
"name": "",
|
|
287
|
-
"type": "uint8"
|
|
288
|
-
}],
|
|
289
|
-
"payable": false,
|
|
290
|
-
"stateMutability": "view",
|
|
291
|
-
"type": "function"
|
|
292
|
-
}, {
|
|
293
|
-
"constant": false,
|
|
294
|
-
"inputs": [{
|
|
295
|
-
"name": "licensing_fee",
|
|
296
|
-
"type": "uint256"
|
|
297
|
-
}],
|
|
298
|
-
"name": "setLicensingFee",
|
|
299
|
-
"outputs": [{
|
|
300
|
-
"name": "",
|
|
301
|
-
"type": "uint256"
|
|
302
|
-
}],
|
|
303
|
-
"payable": false,
|
|
304
|
-
"stateMutability": "nonpayable",
|
|
305
|
-
"type": "function"
|
|
306
|
-
}, {
|
|
307
|
-
"constant": true,
|
|
308
|
-
"inputs": [{
|
|
309
|
-
"name": "",
|
|
310
|
-
"type": "address"
|
|
311
|
-
}],
|
|
312
|
-
"name": "licensingStatus",
|
|
313
|
-
"outputs": [{
|
|
314
|
-
"name": "percentComplete",
|
|
315
|
-
"type": "uint8"
|
|
316
|
-
}, {
|
|
317
|
-
"name": "licensingFee",
|
|
318
|
-
"type": "uint256"
|
|
319
|
-
}, {
|
|
320
|
-
"name": "licensingFeePaid",
|
|
321
|
-
"type": "uint256"
|
|
322
|
-
}, {
|
|
323
|
-
"name": "valid",
|
|
324
|
-
"type": "bool"
|
|
325
|
-
}],
|
|
326
|
-
"payable": false,
|
|
327
|
-
"stateMutability": "view",
|
|
328
|
-
"type": "function"
|
|
329
|
-
}, {
|
|
330
|
-
"constant": false,
|
|
331
|
-
"inputs": [{
|
|
332
|
-
"name": "partial_payment",
|
|
333
|
-
"type": "uint8"
|
|
334
|
-
}],
|
|
335
|
-
"name": "setPartialPayment",
|
|
336
|
-
"outputs": [{
|
|
337
|
-
"name": "",
|
|
338
|
-
"type": "uint8"
|
|
339
|
-
}],
|
|
340
|
-
"payable": false,
|
|
341
|
-
"stateMutability": "nonpayable",
|
|
342
|
-
"type": "function"
|
|
343
|
-
}, {
|
|
344
|
-
"constant": false,
|
|
345
|
-
"inputs": [{
|
|
346
|
-
"name": "percent_partial",
|
|
347
|
-
"type": "uint8"
|
|
348
|
-
}],
|
|
349
|
-
"name": "setPercentPartial",
|
|
350
|
-
"outputs": [{
|
|
351
|
-
"name": "",
|
|
352
|
-
"type": "uint8"
|
|
353
|
-
}],
|
|
354
|
-
"payable": false,
|
|
355
|
-
"stateMutability": "nonpayable",
|
|
356
|
-
"type": "function"
|
|
357
|
-
}, {
|
|
358
|
-
"constant": false,
|
|
359
|
-
"inputs": [{
|
|
360
|
-
"name": "",
|
|
361
|
-
"type": "uint256"
|
|
362
|
-
}, {
|
|
363
|
-
"name": "",
|
|
364
|
-
"type": "bool"
|
|
365
|
-
}],
|
|
366
|
-
"name": "runGrant",
|
|
367
|
-
"outputs": [{
|
|
368
|
-
"name": "",
|
|
369
|
-
"type": "uint256"
|
|
370
|
-
}],
|
|
371
|
-
"payable": true,
|
|
372
|
-
"stateMutability": "payable",
|
|
373
|
-
"type": "function"
|
|
374
|
-
}, {
|
|
375
|
-
"constant": false,
|
|
376
|
-
"inputs": [{
|
|
377
|
-
"name": "content_address",
|
|
378
|
-
"type": "address"
|
|
379
|
-
}],
|
|
380
|
-
"name": "reclaimContentOwnership",
|
|
381
|
-
"outputs": [{
|
|
382
|
-
"name": "",
|
|
383
|
-
"type": "address"
|
|
384
|
-
}],
|
|
385
|
-
"payable": true,
|
|
386
|
-
"stateMutability": "payable",
|
|
387
|
-
"type": "function"
|
|
388
|
-
}, {
|
|
389
|
-
"constant": true,
|
|
390
|
-
"inputs": [],
|
|
391
|
-
"name": "DEFAULT_CHARGE",
|
|
392
|
-
"outputs": [{
|
|
393
|
-
"name": "",
|
|
394
|
-
"type": "uint8"
|
|
395
|
-
}],
|
|
396
|
-
"payable": false,
|
|
397
|
-
"stateMutability": "view",
|
|
398
|
-
"type": "function"
|
|
399
|
-
}, {
|
|
400
|
-
"constant": false,
|
|
401
|
-
"inputs": [{
|
|
402
|
-
"name": "newOwner",
|
|
403
|
-
"type": "address"
|
|
404
|
-
}],
|
|
405
|
-
"name": "transferOwnership",
|
|
406
|
-
"outputs": [],
|
|
407
|
-
"payable": false,
|
|
408
|
-
"stateMutability": "nonpayable",
|
|
409
|
-
"type": "function"
|
|
410
|
-
}, {
|
|
411
|
-
"constant": false,
|
|
412
|
-
"inputs": [{
|
|
413
|
-
"name": "content_contract",
|
|
414
|
-
"type": "address"
|
|
415
|
-
}, {
|
|
416
|
-
"name": "approved",
|
|
417
|
-
"type": "bool"
|
|
418
|
-
}, {
|
|
419
|
-
"name": "percent_complete",
|
|
420
|
-
"type": "uint8"
|
|
421
|
-
}, {
|
|
422
|
-
"name": "note",
|
|
423
|
-
"type": "string"
|
|
424
|
-
}],
|
|
425
|
-
"name": "reviewContent",
|
|
426
|
-
"outputs": [{
|
|
427
|
-
"name": "",
|
|
428
|
-
"type": "bool"
|
|
429
|
-
}],
|
|
430
|
-
"payable": false,
|
|
431
|
-
"stateMutability": "nonpayable",
|
|
432
|
-
"type": "function"
|
|
433
|
-
}, {
|
|
434
|
-
"payable": true,
|
|
435
|
-
"stateMutability": "payable",
|
|
436
|
-
"type": "fallback"
|
|
437
|
-
}, {
|
|
438
|
-
"anonymous": false,
|
|
439
|
-
"inputs": [{
|
|
440
|
-
"indexed": false,
|
|
441
|
-
"name": "payee",
|
|
442
|
-
"type": "address"
|
|
443
|
-
}, {
|
|
444
|
-
"indexed": false,
|
|
445
|
-
"name": "content",
|
|
446
|
-
"type": "address"
|
|
447
|
-
}, {
|
|
448
|
-
"indexed": false,
|
|
449
|
-
"name": "amount",
|
|
450
|
-
"type": "uint256"
|
|
451
|
-
}],
|
|
452
|
-
"name": "PayCredit",
|
|
453
|
-
"type": "event"
|
|
454
|
-
}, {
|
|
455
|
-
"anonymous": false,
|
|
456
|
-
"inputs": [{
|
|
457
|
-
"indexed": false,
|
|
458
|
-
"name": "label",
|
|
459
|
-
"type": "string"
|
|
460
|
-
}],
|
|
461
|
-
"name": "Log",
|
|
462
|
-
"type": "event"
|
|
463
|
-
}, {
|
|
464
|
-
"anonymous": false,
|
|
465
|
-
"inputs": [{
|
|
466
|
-
"indexed": false,
|
|
467
|
-
"name": "label",
|
|
468
|
-
"type": "string"
|
|
469
|
-
}, {
|
|
470
|
-
"indexed": false,
|
|
471
|
-
"name": "b",
|
|
472
|
-
"type": "bool"
|
|
473
|
-
}],
|
|
474
|
-
"name": "LogBool",
|
|
475
|
-
"type": "event"
|
|
476
|
-
}, {
|
|
477
|
-
"anonymous": false,
|
|
478
|
-
"inputs": [{
|
|
479
|
-
"indexed": false,
|
|
480
|
-
"name": "label",
|
|
481
|
-
"type": "string"
|
|
482
|
-
}, {
|
|
483
|
-
"indexed": false,
|
|
484
|
-
"name": "a",
|
|
485
|
-
"type": "address"
|
|
486
|
-
}],
|
|
487
|
-
"name": "LogAddress",
|
|
488
|
-
"type": "event"
|
|
489
|
-
}, {
|
|
490
|
-
"anonymous": false,
|
|
491
|
-
"inputs": [{
|
|
492
|
-
"indexed": false,
|
|
493
|
-
"name": "label",
|
|
494
|
-
"type": "string"
|
|
495
|
-
}, {
|
|
496
|
-
"indexed": false,
|
|
497
|
-
"name": "u",
|
|
498
|
-
"type": "uint256"
|
|
499
|
-
}],
|
|
500
|
-
"name": "LogUint256",
|
|
501
|
-
"type": "event"
|
|
502
|
-
}, {
|
|
503
|
-
"anonymous": false,
|
|
504
|
-
"inputs": [{
|
|
505
|
-
"indexed": false,
|
|
506
|
-
"name": "label",
|
|
507
|
-
"type": "string"
|
|
508
|
-
}, {
|
|
509
|
-
"indexed": false,
|
|
510
|
-
"name": "u",
|
|
511
|
-
"type": "int256"
|
|
512
|
-
}],
|
|
513
|
-
"name": "LogInt256",
|
|
514
|
-
"type": "event"
|
|
515
|
-
}, {
|
|
516
|
-
"anonymous": false,
|
|
517
|
-
"inputs": [{
|
|
518
|
-
"indexed": false,
|
|
519
|
-
"name": "label",
|
|
520
|
-
"type": "string"
|
|
521
|
-
}, {
|
|
522
|
-
"indexed": false,
|
|
523
|
-
"name": "b",
|
|
524
|
-
"type": "bytes32"
|
|
525
|
-
}],
|
|
526
|
-
"name": "LogBytes32",
|
|
527
|
-
"type": "event"
|
|
528
|
-
}, {
|
|
529
|
-
"anonymous": false,
|
|
530
|
-
"inputs": [{
|
|
531
|
-
"indexed": false,
|
|
532
|
-
"name": "label",
|
|
533
|
-
"type": "string"
|
|
534
|
-
}, {
|
|
535
|
-
"indexed": false,
|
|
536
|
-
"name": "payee",
|
|
537
|
-
"type": "address"
|
|
538
|
-
}, {
|
|
539
|
-
"indexed": false,
|
|
540
|
-
"name": "amount",
|
|
541
|
-
"type": "uint256"
|
|
542
|
-
}],
|
|
543
|
-
"name": "LogPayment",
|
|
544
|
-
"type": "event"
|
|
545
|
-
}, {
|
|
546
|
-
"anonymous": false,
|
|
547
|
-
"inputs": [{
|
|
548
|
-
"indexed": false,
|
|
549
|
-
"name": "result",
|
|
550
|
-
"type": "uint256"
|
|
551
|
-
}],
|
|
552
|
-
"name": "RunCreate",
|
|
553
|
-
"type": "event"
|
|
554
|
-
}, {
|
|
555
|
-
"anonymous": false,
|
|
556
|
-
"inputs": [{
|
|
557
|
-
"indexed": false,
|
|
558
|
-
"name": "result",
|
|
559
|
-
"type": "uint256"
|
|
560
|
-
}],
|
|
561
|
-
"name": "RunKill",
|
|
562
|
-
"type": "event"
|
|
563
|
-
}, {
|
|
564
|
-
"anonymous": false,
|
|
565
|
-
"inputs": [{
|
|
566
|
-
"indexed": false,
|
|
567
|
-
"name": "proposedStatusCode",
|
|
568
|
-
"type": "int256"
|
|
569
|
-
}, {
|
|
570
|
-
"indexed": false,
|
|
571
|
-
"name": "returnStatusCode",
|
|
572
|
-
"type": "int256"
|
|
573
|
-
}],
|
|
574
|
-
"name": "RunStatusChange",
|
|
575
|
-
"type": "event"
|
|
576
|
-
}, {
|
|
577
|
-
"anonymous": false,
|
|
578
|
-
"inputs": [{
|
|
579
|
-
"indexed": false,
|
|
580
|
-
"name": "level",
|
|
581
|
-
"type": "uint8"
|
|
582
|
-
}, {
|
|
583
|
-
"indexed": false,
|
|
584
|
-
"name": "calculateAccessCharge",
|
|
585
|
-
"type": "int256"
|
|
586
|
-
}],
|
|
587
|
-
"name": "RunAccessCharge",
|
|
588
|
-
"type": "event"
|
|
589
|
-
}, {
|
|
590
|
-
"anonymous": false,
|
|
591
|
-
"inputs": [{
|
|
592
|
-
"indexed": false,
|
|
593
|
-
"name": "requestID",
|
|
594
|
-
"type": "uint256"
|
|
595
|
-
}, {
|
|
596
|
-
"indexed": false,
|
|
597
|
-
"name": "result",
|
|
598
|
-
"type": "uint256"
|
|
599
|
-
}],
|
|
600
|
-
"name": "RunAccess",
|
|
601
|
-
"type": "event"
|
|
602
|
-
}, {
|
|
603
|
-
"anonymous": false,
|
|
604
|
-
"inputs": [{
|
|
605
|
-
"indexed": false,
|
|
606
|
-
"name": "requestID",
|
|
607
|
-
"type": "uint256"
|
|
608
|
-
}, {
|
|
609
|
-
"indexed": false,
|
|
610
|
-
"name": "result",
|
|
611
|
-
"type": "uint256"
|
|
612
|
-
}],
|
|
613
|
-
"name": "RunFinalize",
|
|
614
|
-
"type": "event"
|
|
615
|
-
}],
|
|
616
|
-
"bytecode": "60806040527f4f776e61626c6532303139303532383139333830304d4c0000000000000000006000557f436f6e74656e7432303139303531303135313630304d4c0000000000000000006004557f53706c436f6e744c6963656e73696e6732303139303331383130353730304d4c600555678ac7230489e800006006556007805461280061ff001960ff19909216603c179190911617905560018054600160a060020a03199081163290811790925560028054909116909117905561151e806100c96000396000f3006080604052600436106101715763ffffffff60e060020a60003504166302d05d3f81146101735780630779564b146101a45780630f82c16f146101cb578063123e0e8014610290578063176859531461031d5780632d4fac771461032b5780632e1a7d4d146103565780633513a8051461038257806341c0e1b51461038d57806345080442146103a25780634d52fe4b146103ba57806354fd4d50146103cf5780636af27417146103e45780636d2e4b1b146103f95780637b1cdb3e1461041a5780638da5cb5b146104225780638e7f900f146104375780639e99bbea1461044c578063a2e1cf8a14610454578063af570c041461047b578063b261b9e714610490578063b535b03e146104a5578063b6524089146104ba578063ba3c32ea146104d2578063cba43b0d1461051f578063db14178d1461053a578063e870ed9114610555578063e97a08ba14610565578063f185db0c14610579578063f2fde38b1461058e578063f96e91df146105af575b005b34801561017f57600080fd5b50610188610620565b60408051600160a060020a039092168252519081900360200190f35b3480156101b057600080fd5b506101b961062f565b60408051918252519081900360200190f35b3480156101d757600080fd5b5060408051602060046024803582810135848102808701860190975280865261026196843560ff1696369660449591949091019291829185019084908082843750506040805187358901803560208181028481018201909552818452989b9a9989019892975090820195509350839250850190849080828437509497506106359650505050505050565b6040805160ff958616815293851660208501529190931682820152606082019290925290519081900360800190f35b60408051602060046044358181013583810280860185019096528085526101b9958335956024803560ff1696369695606495939492019291829185019084908082843750506040805187358901803560208181028481018201909552818452989b9a9989019892975090820195509350839250850190849080828437509497506106449650505050505050565b6101b960043560243561064e565b34801561033757600080fd5b50610340610656565b6040805160ff9092168252519081900360200190f35b34801561036257600080fd5b5061036e60043561065f565b604080519115158252519081900360200190f35b6101b960043561071c565b34801561039957600080fd5b50610171610b9f565b3480156103ae57600080fd5b506101b9600435610bdb565b3480156103c657600080fd5b506101b9610c47565b3480156103db57600080fd5b506101b9610c6b565b3480156103f057600080fd5b50610340610c71565b34801561040557600080fd5b50610171600160a060020a0360043516610c76565b6101b9610cd1565b34801561042e57600080fd5b50610188610d4a565b34801561044357600080fd5b50610340610d59565b6101b9610d67565b34801561046057600080fd5b50610188600160a060020a0360043581169060243516610eb3565b34801561048757600080fd5b50610188610f6b565b34801561049c57600080fd5b506101b9610f7a565b3480156104b157600080fd5b50610340610f9e565b3480156104c657600080fd5b506101b9600435610fa3565b3480156104de57600080fd5b506104f3600160a060020a0360043516610fdd565b6040805160ff909516855260208501939093528383019190915215156060830152519081900360800190f35b34801561052b57600080fd5b5061034060ff60043516611009565b34801561054657600080fd5b5061034060ff6004351661105c565b6101b9600435602435151561064e565b610188600160a060020a03600435166110a4565b34801561058557600080fd5b5061034061129b565b34801561059a57600080fd5b50610171600160a060020a03600435166112a0565b3480156105bb57600080fd5b50604080516020601f60643560048181013592830184900484028501840190955281845261036e94600160a060020a03813516946024803515159560ff6044351695369560849493019181908401838280828437509497506113129650505050505050565b600154600160a060020a031681565b60065481565b60076000808093509350935093565b6000949350505050565b600092915050565b60075460ff1681565b600254600090600160a060020a03163214806106855750600254600160a060020a031633145b151561069057600080fd5b600254604051600160a060020a039091169083156108fc029084906000818181858888f193505050501580156106ca573d6000803e3d6000fd5b5060025460408051600160a060020a03909216825260006020830152818101849052517f6fad978e8a2a7d154cdbeac8b127068f0cb03d8f2d585fe8087161308cc3dd1d9181900360600190a1919050565b3360008181526008602090815260408083208054600282015460019092015483517f27c1c21d0000000000000000000000000000000000000000000000000000000081529351959695869560ff90931694899489949303928492839283928a926327c1c21d92600480820193929182900301818787803b15801561079f57600080fd5b505af11580156107b3573d6000803e3d6000fd5b505050506040513d60208110156107c957600080fd5b50511280156107d8575060008a135b156108005760075460ff908116908716106107f657600394506107fb565b600194505b61088c565b8560ff166064141561081b578915156107fb5782935061088c565b60075460ff90811690871610610886578915156107fb57600160a060020a03881660009081526008602052604090206002810154600754600190920154909160649161010090910460ff160204039150828211610878578161087a565b825b9350600219945061088c565b60001994505b60008411156109aa57828411156108a257600080fd5b86600160a060020a03166302d05d3f6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156108e057600080fd5b505af11580156108f4573d6000803e3d6000fd5b505050506040513d602081101561090a57600080fd5b5051600160a060020a03808a16600090815260086020526040808220600201805489019055519293509083169186156108fc0291879190818181858888f1935050505015801561095e573d6000803e3d6000fd5b5060408051600160a060020a0380841682528a16602082015280820186905290517f6fad978e8a2a7d154cdbeac8b127068f0cb03d8f2d585fe8087161308cc3dd1d9181900360600190a15b604080518b81526020810187905281517fb6c1c013bb5004fe8e943c6890e300ccedf9bd73dcd4eb291b31b9f96874feff929181900390910190a1841515610a2c57600160a060020a0388166000908152600860205260408120805460ff19908116825560018201839055600282019290925560030180549091169055610b91565b6000851215610b0f5786600160a060020a031663f2fde38b88600160a060020a03166302d05d3f6040518163ffffffff1660e060020a028152600401602060405180830381600087803b158015610a8257600080fd5b505af1158015610a96573d6000803e3d6000fd5b505050506040513d6020811015610aac57600080fd5b50516040805160e060020a63ffffffff8516028152600160a060020a03909216600483015251602480830192600092919082900301818387803b158015610af257600080fd5b505af1158015610b06573d6000803e3d6000fd5b50505050610b91565b6000851315610b9157604080517ff2fde38b0000000000000000000000000000000000000000000000000000000081523060048201529051600160a060020a0389169163f2fde38b91602480830192600092919082900301818387803b158015610b7857600080fd5b505af1158015610b8c573d6000803e3d6000fd5b505050505b509298975050505050505050565b600254600160a060020a0316321480610bc25750600254600160a060020a031633145b1515610bcd57600080fd5b600254600160a060020a0316ff5b6000816002191415610c0e57507f447261667420617070726f766564000000000000000000000000000000000000610c42565b8160031415610c3e57507f46696e616c20696e207265766965770000000000000000000000000000000000610c42565b5060005b919050565b7f46696e616c20696e20726576696577000000000000000000000000000000000081565b60055481565b600281565b600154600160a060020a03163214610c8d57600080fd5b600160a060020a0381161515610ca257600080fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b6000610cdb6114cb565b5060408051608081018252600080825260065460208084019182528385018381526001606086018181523386526008909352959093209351845460ff9190911660ff19918216178555915194840194909455905160028301559151600390910180549115159190921617905590565b600254600160a060020a031681565b600754610100900460ff1681565b33600081815260086020526040812060030154909190829060ff161515610d915760009250610eae565b81905030600160a060020a031681600160a060020a0316638da5cb5b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b158015610ddc57600080fd5b505af1158015610df0573d6000803e3d6000fd5b505050506040513d6020811015610e0657600080fd5b5051600160a060020a03161415610e4957600160a060020a0382166000908152600860205260409020600281015460019091015414610e4457600080fd5b610e6f565b600160a060020a03821660009081526008602052604090206002015415610e6f57600080fd5b600160a060020a0382166000908152600860205260408120805460ff199081168255600182018390556002820183905560039091018054909116905592505b505090565b6002546000908190600160a060020a0316321480610edb5750600254600160a060020a031633145b1515610ee657600080fd5b50604080517ff2fde38b000000000000000000000000000000000000000000000000000000008152600160a060020a0384811660048301529151859283169163f2fde38b91602480830192600092919082900301818387803b158015610f4b57600080fd5b505af1158015610f5f573d6000803e3d6000fd5b50949695505050505050565b600354600160a060020a031681565b7f447261667420617070726f76656400000000000000000000000000000000000081565b600181565b600254600090600160a060020a0316321480610fc95750600254600160a060020a031633145b1515610fd457600080fd5b60069190915590565b600860205260009081526040902080546001820154600283015460039093015460ff9283169391921684565b600254600090600160a060020a031632148061102f5750600254600160a060020a031633145b151561103a57600080fd5b506007805461ff00191661010060ff9384168102919091179182905590041690565b600254600090600160a060020a03163214806110825750600254600160a060020a031633145b151561108d57600080fd5b506007805460ff191660ff92831617908190551690565b600160a060020a038116600090815260086020526040812060030154819060ff1615156110d057600080fd5b82905080600160a060020a03166302d05d3f6040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561111157600080fd5b505af1158015611125573d6000803e3d6000fd5b505050506040513d602081101561113b57600080fd5b5051600160a060020a0316321461115157600080fd5b600160a060020a03831660009081526008602052604090206002015434101561117957600080fd5b600160a060020a03808416600090815260086020908152604080832060020183905580517f8280dd8f0000000000000000000000000000000000000000000000000000000081526000196004820152905193851693638280dd8f93602480840194938390030190829087803b1580156111f157600080fd5b505af1158015611205573d6000803e3d6000fd5b505050506040513d602081101561121b57600080fd5b5050604080517ff2fde38b0000000000000000000000000000000000000000000000000000000081523260048201529051600160a060020a0383169163f2fde38b91602480830192600092919082900301818387803b15801561127d57600080fd5b505af1158015611291573d6000803e3d6000fd5b5050505050919050565b600481565b600254600160a060020a03163214806112c35750600254600160a060020a031633145b15156112ce57600080fd5b600160a060020a03811615156112e357600080fd5b6002805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600160a060020a0384166000818152600860209081526040808320805460ff191660ff881617905580517fb816f5130000000000000000000000000000000000000000000000000000000081529051929388938593849363b816f513926004808301939282900301818787803b15801561138b57600080fd5b505af115801561139f573d6000803e3d6000fd5b505050506040513d60208110156113b557600080fd5b50516040517f87e86b2c000000000000000000000000000000000000000000000000000000008152600160a060020a038a8116600483019081528a15156024840152606060448401908152895160648501528951949650918616936387e86b2c938d938d938c93909260840190602085019080838360005b8381101561144557818101518382015260200161142d565b50505050905090810190601f1680156114725780820380516001836020036101000a031916815260200191505b50945050505050602060405180830381600087803b15801561149357600080fd5b505af11580156114a7573d6000803e3d6000fd5b505050506040513d60208110156114bd57600080fd5b505198975050505050505050565b604080516080810182526000808252602082018190529181018290526060810191909152905600a165627a7a723058203cd7cf68d58fc177b6a635bda8125ed3f471d66389e09531873c99f4f2cb84e50029"
|
|
617
|
-
};
|
|
618
|
-
module.exports = contract;
|