@eluvio/elv-client-js 4.0.10 → 4.0.12

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.
Files changed (78) hide show
  1. package/dist/.keep +0 -0
  2. package/dist/ElvClient-min.js +10 -10
  3. package/dist/ElvClient-node-min.js +3 -3
  4. package/dist/ElvFrameClient-min.js +10 -10
  5. package/dist/ElvWalletClient-min.js +9 -9
  6. package/dist/ElvWalletClient-node-min.js +3 -3
  7. package/dist/src/AuthorizationClient.js +7 -8
  8. package/dist/src/client/Files.js +2 -1
  9. package/package.json +4 -21
  10. package/src/AuthorizationClient.js +5 -5
  11. package/src/client/Files.js +1 -1
  12. package/dist/AccessClient-min.js +0 -54
  13. package/dist/AccessClient-node-min.js +0 -74
  14. package/dist/src/AccessClient.js +0 -798
  15. package/dist/src/LimitedMap.js +0 -120
  16. package/dist/src/client/Access.js +0 -1
  17. package/dist/src/client/Management.js +0 -1606
  18. package/dist/src/contracts/AccessIndexor.js +0 -831
  19. package/dist/src/contracts/Accessible.js +0 -31
  20. package/dist/src/contracts/AdmgrAdvertisement.js +0 -695
  21. package/dist/src/contracts/AdmgrCampaign.js +0 -648
  22. package/dist/src/contracts/AdmgrCampaignManager.js +0 -493
  23. package/dist/src/contracts/AdmgrCommercialOffering.js +0 -622
  24. package/dist/src/contracts/AdmgrCommercialOfferingManager.js +0 -413
  25. package/dist/src/contracts/AdmgrMarketPlace.js +0 -413
  26. package/dist/src/contracts/AvailsDelivery.js +0 -535
  27. package/dist/src/contracts/BaseAccessControlGroup.js +0 -1221
  28. package/dist/src/contracts/BaseAccessWallet.js +0 -1575
  29. package/dist/src/contracts/BaseAccessWalletFactory.js +0 -93
  30. package/dist/src/contracts/BaseContent.js +0 -1104
  31. package/dist/src/contracts/BaseContentFactory.js +0 -99
  32. package/dist/src/contracts/BaseContentFactoryExt.js +0 -219
  33. package/dist/src/contracts/BaseContentSpace.js +0 -1346
  34. package/dist/src/contracts/BaseContentType.js +0 -353
  35. package/dist/src/contracts/BaseFactory.js +0 -107
  36. package/dist/src/contracts/BaseGroupFactory.js +0 -93
  37. package/dist/src/contracts/BaseLibrary.js +0 -1035
  38. package/dist/src/contracts/BaseLibraryFactory.js +0 -96
  39. package/dist/src/contracts/Certifyer.js +0 -87
  40. package/dist/src/contracts/Container.js +0 -543
  41. package/dist/src/contracts/Content.js +0 -432
  42. package/dist/src/contracts/Editable.js +0 -295
  43. package/dist/src/contracts/FactorySpace.js +0 -57
  44. package/dist/src/contracts/KmsSpace.js +0 -52
  45. package/dist/src/contracts/LvProvider.js +0 -512
  46. package/dist/src/contracts/LvRecordableStream.js +0 -1026
  47. package/dist/src/contracts/LvRecording.js +0 -627
  48. package/dist/src/contracts/LvStreamRightsHolder.js +0 -551
  49. package/dist/src/contracts/MetaObject.js +0 -110
  50. package/dist/src/contracts/Node.js +0 -167
  51. package/dist/src/contracts/NodeSpace.js +0 -18
  52. package/dist/src/contracts/NodeSpaceImpl.js +0 -273
  53. package/dist/src/contracts/Ownable.js +0 -87
  54. package/dist/src/contracts/PaymentService.js +0 -616
  55. package/dist/src/contracts/Precompile.js +0 -15
  56. package/dist/src/contracts/SampleContentAdMarketplace.js +0 -564
  57. package/dist/src/contracts/SampleContentAdvertising.js +0 -444
  58. package/dist/src/contracts/SampleContentHelloWorld.js +0 -459
  59. package/dist/src/contracts/SampleContentLicensing.js +0 -618
  60. package/dist/src/contracts/SampleContentSigned.js +0 -447
  61. package/dist/src/contracts/SampleInstance.js +0 -438
  62. package/dist/src/contracts/SampleInstanceFactory.js +0 -451
  63. package/dist/src/contracts/Transactable.js +0 -82
  64. package/dist/src/contracts/UserSpace.js +0 -18
  65. package/dist/src/contracts/UserSpaceImpl.js +0 -43
  66. package/dist/src/contracts/Utils.js +0 -18
  67. package/dist/src/contracts/Verifier.js +0 -53
  68. package/dist/src/contracts/strings.js +0 -4
  69. package/dist/src/contracts/v2/BaseContentFactoryExt.js +0 -219
  70. package/dist/src/contracts/v2/FactorySpace.js +0 -57
  71. package/dist/src/contracts/v2/KmsSpace.js +0 -52
  72. package/dist/src/contracts/v2/NodeSpaceImpl.js +0 -273
  73. package/dist/src/contracts/v2/UserSpaceImpl.js +0 -43
  74. package/dist/src/marketplaceClient/ClientMethods.js +0 -1918
  75. package/dist/src/marketplaceClient/Configuration.js +0 -29
  76. package/dist/src/marketplaceClient/Utils.js +0 -304
  77. package/dist/src/marketplaceClient/index.js +0 -1553
  78. package/testScripts/CreateMezMonolithic.js +0 -779
@@ -1,451 +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": false,
15
- "inputs": [{
16
- "name": "centralized_ownership",
17
- "type": "bool"
18
- }],
19
- "name": "setCentralizedOwnership",
20
- "outputs": [{
21
- "name": "",
22
- "type": "bool"
23
- }],
24
- "payable": false,
25
- "stateMutability": "nonpayable",
26
- "type": "function"
27
- }, {
28
- "constant": true,
29
- "inputs": [{
30
- "name": "",
31
- "type": "uint8"
32
- }, {
33
- "name": "",
34
- "type": "bytes32[]"
35
- }, {
36
- "name": "",
37
- "type": "address[]"
38
- }],
39
- "name": "runAccessInfo",
40
- "outputs": [{
41
- "name": "",
42
- "type": "uint8"
43
- }, {
44
- "name": "",
45
- "type": "uint8"
46
- }, {
47
- "name": "",
48
- "type": "uint8"
49
- }, {
50
- "name": "",
51
- "type": "uint256"
52
- }],
53
- "payable": false,
54
- "stateMutability": "view",
55
- "type": "function"
56
- }, {
57
- "constant": false,
58
- "inputs": [{
59
- "name": "",
60
- "type": "uint256"
61
- }, {
62
- "name": "",
63
- "type": "uint8"
64
- }, {
65
- "name": "",
66
- "type": "bytes32[]"
67
- }, {
68
- "name": "",
69
- "type": "address[]"
70
- }],
71
- "name": "runAccess",
72
- "outputs": [{
73
- "name": "",
74
- "type": "uint256"
75
- }],
76
- "payable": true,
77
- "stateMutability": "payable",
78
- "type": "function"
79
- }, {
80
- "constant": false,
81
- "inputs": [{
82
- "name": "",
83
- "type": "uint256"
84
- }, {
85
- "name": "",
86
- "type": "uint256"
87
- }],
88
- "name": "runFinalize",
89
- "outputs": [{
90
- "name": "",
91
- "type": "uint256"
92
- }],
93
- "payable": true,
94
- "stateMutability": "payable",
95
- "type": "function"
96
- }, {
97
- "constant": false,
98
- "inputs": [{
99
- "name": "proposed_status_code",
100
- "type": "int256"
101
- }],
102
- "name": "runStatusChange",
103
- "outputs": [{
104
- "name": "",
105
- "type": "int256"
106
- }],
107
- "payable": true,
108
- "stateMutability": "payable",
109
- "type": "function"
110
- }, {
111
- "constant": false,
112
- "inputs": [],
113
- "name": "kill",
114
- "outputs": [],
115
- "payable": false,
116
- "stateMutability": "nonpayable",
117
- "type": "function"
118
- }, {
119
- "constant": true,
120
- "inputs": [{
121
- "name": "",
122
- "type": "int256"
123
- }],
124
- "name": "runDescribeStatus",
125
- "outputs": [{
126
- "name": "",
127
- "type": "bytes32"
128
- }],
129
- "payable": false,
130
- "stateMutability": "pure",
131
- "type": "function"
132
- }, {
133
- "constant": true,
134
- "inputs": [],
135
- "name": "version",
136
- "outputs": [{
137
- "name": "",
138
- "type": "bytes32"
139
- }],
140
- "payable": false,
141
- "stateMutability": "view",
142
- "type": "function"
143
- }, {
144
- "constant": true,
145
- "inputs": [],
146
- "name": "DEFAULT_ACCESS",
147
- "outputs": [{
148
- "name": "",
149
- "type": "uint8"
150
- }],
151
- "payable": false,
152
- "stateMutability": "view",
153
- "type": "function"
154
- }, {
155
- "constant": false,
156
- "inputs": [{
157
- "name": "newCreator",
158
- "type": "address"
159
- }],
160
- "name": "transferCreatorship",
161
- "outputs": [],
162
- "payable": false,
163
- "stateMutability": "nonpayable",
164
- "type": "function"
165
- }, {
166
- "constant": false,
167
- "inputs": [],
168
- "name": "runCreate",
169
- "outputs": [{
170
- "name": "",
171
- "type": "uint256"
172
- }],
173
- "payable": true,
174
- "stateMutability": "payable",
175
- "type": "function"
176
- }, {
177
- "constant": true,
178
- "inputs": [],
179
- "name": "owner",
180
- "outputs": [{
181
- "name": "",
182
- "type": "address"
183
- }],
184
- "payable": false,
185
- "stateMutability": "view",
186
- "type": "function"
187
- }, {
188
- "constant": true,
189
- "inputs": [],
190
- "name": "centralizedOwnership",
191
- "outputs": [{
192
- "name": "",
193
- "type": "bool"
194
- }],
195
- "payable": false,
196
- "stateMutability": "view",
197
- "type": "function"
198
- }, {
199
- "constant": false,
200
- "inputs": [],
201
- "name": "runKill",
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": "contentSpace",
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": "DEFAULT_SEE",
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": "",
235
- "type": "uint256"
236
- }, {
237
- "name": "",
238
- "type": "bool"
239
- }],
240
- "name": "runGrant",
241
- "outputs": [{
242
- "name": "",
243
- "type": "uint256"
244
- }],
245
- "payable": true,
246
- "stateMutability": "payable",
247
- "type": "function"
248
- }, {
249
- "constant": true,
250
- "inputs": [],
251
- "name": "DEFAULT_CHARGE",
252
- "outputs": [{
253
- "name": "",
254
- "type": "uint8"
255
- }],
256
- "payable": false,
257
- "stateMutability": "view",
258
- "type": "function"
259
- }, {
260
- "constant": false,
261
- "inputs": [{
262
- "name": "newOwner",
263
- "type": "address"
264
- }],
265
- "name": "transferOwnership",
266
- "outputs": [],
267
- "payable": false,
268
- "stateMutability": "nonpayable",
269
- "type": "function"
270
- }, {
271
- "payable": true,
272
- "stateMutability": "payable",
273
- "type": "fallback"
274
- }, {
275
- "anonymous": false,
276
- "inputs": [{
277
- "indexed": false,
278
- "name": "logMsg",
279
- "type": "string"
280
- }, {
281
- "indexed": false,
282
- "name": "addr",
283
- "type": "address"
284
- }],
285
- "name": "dbgAddress",
286
- "type": "event"
287
- }, {
288
- "anonymous": false,
289
- "inputs": [{
290
- "indexed": false,
291
- "name": "label",
292
- "type": "string"
293
- }],
294
- "name": "Log",
295
- "type": "event"
296
- }, {
297
- "anonymous": false,
298
- "inputs": [{
299
- "indexed": false,
300
- "name": "label",
301
- "type": "string"
302
- }, {
303
- "indexed": false,
304
- "name": "b",
305
- "type": "bool"
306
- }],
307
- "name": "LogBool",
308
- "type": "event"
309
- }, {
310
- "anonymous": false,
311
- "inputs": [{
312
- "indexed": false,
313
- "name": "label",
314
- "type": "string"
315
- }, {
316
- "indexed": false,
317
- "name": "a",
318
- "type": "address"
319
- }],
320
- "name": "LogAddress",
321
- "type": "event"
322
- }, {
323
- "anonymous": false,
324
- "inputs": [{
325
- "indexed": false,
326
- "name": "label",
327
- "type": "string"
328
- }, {
329
- "indexed": false,
330
- "name": "u",
331
- "type": "uint256"
332
- }],
333
- "name": "LogUint256",
334
- "type": "event"
335
- }, {
336
- "anonymous": false,
337
- "inputs": [{
338
- "indexed": false,
339
- "name": "label",
340
- "type": "string"
341
- }, {
342
- "indexed": false,
343
- "name": "u",
344
- "type": "int256"
345
- }],
346
- "name": "LogInt256",
347
- "type": "event"
348
- }, {
349
- "anonymous": false,
350
- "inputs": [{
351
- "indexed": false,
352
- "name": "label",
353
- "type": "string"
354
- }, {
355
- "indexed": false,
356
- "name": "b",
357
- "type": "bytes32"
358
- }],
359
- "name": "LogBytes32",
360
- "type": "event"
361
- }, {
362
- "anonymous": false,
363
- "inputs": [{
364
- "indexed": false,
365
- "name": "label",
366
- "type": "string"
367
- }, {
368
- "indexed": false,
369
- "name": "payee",
370
- "type": "address"
371
- }, {
372
- "indexed": false,
373
- "name": "amount",
374
- "type": "uint256"
375
- }],
376
- "name": "LogPayment",
377
- "type": "event"
378
- }, {
379
- "anonymous": false,
380
- "inputs": [{
381
- "indexed": false,
382
- "name": "result",
383
- "type": "uint256"
384
- }],
385
- "name": "RunCreate",
386
- "type": "event"
387
- }, {
388
- "anonymous": false,
389
- "inputs": [{
390
- "indexed": false,
391
- "name": "result",
392
- "type": "uint256"
393
- }],
394
- "name": "RunKill",
395
- "type": "event"
396
- }, {
397
- "anonymous": false,
398
- "inputs": [{
399
- "indexed": false,
400
- "name": "proposedStatusCode",
401
- "type": "int256"
402
- }, {
403
- "indexed": false,
404
- "name": "returnStatusCode",
405
- "type": "int256"
406
- }],
407
- "name": "RunStatusChange",
408
- "type": "event"
409
- }, {
410
- "anonymous": false,
411
- "inputs": [{
412
- "indexed": false,
413
- "name": "level",
414
- "type": "uint8"
415
- }, {
416
- "indexed": false,
417
- "name": "calculateAccessCharge",
418
- "type": "int256"
419
- }],
420
- "name": "RunAccessCharge",
421
- "type": "event"
422
- }, {
423
- "anonymous": false,
424
- "inputs": [{
425
- "indexed": false,
426
- "name": "requestID",
427
- "type": "uint256"
428
- }, {
429
- "indexed": false,
430
- "name": "result",
431
- "type": "uint256"
432
- }],
433
- "name": "RunAccess",
434
- "type": "event"
435
- }, {
436
- "anonymous": false,
437
- "inputs": [{
438
- "indexed": false,
439
- "name": "requestID",
440
- "type": "uint256"
441
- }, {
442
- "indexed": false,
443
- "name": "result",
444
- "type": "uint256"
445
- }],
446
- "name": "RunFinalize",
447
- "type": "event"
448
- }],
449
- "bytecode": "60806040527f4f776e61626c6532303139303532383139333830304d4c0000000000000000006000557f436f6e74656e7432303139303531303135313630304d4c0000000000000000006004556005805460ff1916905560018054600160a060020a031990811632908117909255600280549091169091179055610de0806100886000396000f3006080604052600436106101115763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166302d05d3f81146101135780630a384186146101445780630f82c16f14610172578063123e0e801461023757806317685953146102d65780633513a805146102e457806341c0e1b5146102ef578063450804421461030457806354fd4d501461031c5780636af27417146103315780636d2e4b1b1461035c5780637b1cdb3e1461037d5780638da5cb5b1461038557806394188e3a1461039a5780639e99bbea146103af578063af570c04146103b7578063b535b03e146103cc578063e870ed91146103e1578063f185db0c146103f1578063f2fde38b14610406575b005b34801561011f57600080fd5b50610128610427565b60408051600160a060020a039092168252519081900360200190f35b34801561015057600080fd5b5061015e6004351515610436565b604080519115158252519081900360200190f35b34801561017e57600080fd5b5060408051602060046024803582810135848102808701860190975280865261020896843560ff1696369660449591949091019291829185019084908082843750506040805187358901803560208181028481018201909552818452989b9a9989019892975090820195509350839250850190849080828437509497506104819650505050505050565b6040805160ff958616815293851660208501529190931682820152606082019290925290519081900360800190f35b60408051602060046044358181013583810280860185019096528085526102c4958335956024803560ff1696369695606495939492019291829185019084908082843750506040805187358901803560208181028481018201909552818452989b9a9989019892975090820195509350839250850190849080828437509497506104909650505050505050565b60408051918252519081900360200190f35b6102c460043560243561049a565b6102c46004356104a2565b3480156102fb57600080fd5b506101116104a5565b34801561031057600080fd5b506102c46004356104e1565b34801561032857600080fd5b506102c46104e7565b34801561033d57600080fd5b506103466104ed565b6040805160ff9092168252519081900360200190f35b34801561036857600080fd5b50610111600160a060020a03600435166104f2565b6102c461054d565b34801561039157600080fd5b5061012861068f565b3480156103a657600080fd5b5061015e61069e565b6102c46106a7565b3480156103c357600080fd5b506101286106ac565b3480156103d857600080fd5b506103466106bb565b6102c4600435602435151561049a565b3480156103fd57600080fd5b506103466106c0565b34801561041257600080fd5b50610111600160a060020a03600435166106c5565b600154600160a060020a031681565b600254600090600160a060020a031632148061045c5750600254600160a060020a031633145b151561046757600080fd5b506005805460ff1916911515919091179081905560ff1690565b60076000808093509350935093565b6000949350505050565b600092915050565b90565b600254600160a060020a03163214806104c85750600254600160a060020a031633145b15156104d357600080fd5b600254600160a060020a0316ff5b50600090565b60045481565b600281565b600154600160a060020a0316321461050957600080fd5b600160a060020a038116151561051e57600080fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60008060008061055b610737565b604051809103906000f080158015610577573d6000803e3d6000fd5b50604080517fe5385303000000000000000000000000000000000000000000000000000000008152600160a060020a03831660048201529051919450339350839163e53853039160248082019260009290919082900301818387803b1580156105df57600080fd5b505af11580156105f3573d6000803e3d6000fd5b505060055460ff1615915061068590505750600254604080517ff2fde38b000000000000000000000000000000000000000000000000000000008152600160a060020a0392831660048201529051849283169163f2fde38b91602480830192600092919082900301818387803b15801561066c57600080fd5b505af1158015610680573d6000803e3d6000fd5b505050505b6000935050505090565b600254600160a060020a031681565b60055460ff1681565b600090565b600354600160a060020a031681565b600181565b600481565b600254600160a060020a03163214806106e85750600254600160a060020a031633145b15156106f357600080fd5b600160a060020a038116151561070857600080fd5b6002805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60405161066d8061074883390190560060806040527f4f776e61626c6532303139303532383139333830304d4c0000000000000000006000557f436f6e74656e7432303139303531303135313630304d4c00000000000000000060045560018054600160a060020a0319908116329081179092556002805490911690911790556105ef8061007e6000396000f3006080604052600436106101115763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166302d05d3f81146101135780630f82c16f14610144578063123e0e801461020957806317685953146102a85780633513a805146102b657806341c0e1b5146102c157806345080442146102d657806354fd4d50146102ee5780636af27417146103035780636d2e4b1b1461032e5780637b1cdb3e1461034f5780638da5cb5b14610357578063990322191461036c5780639e99bbea1461034f578063a7a0d53714610384578063af570c0414610399578063b535b03e146103ae578063e870ed91146103c3578063f185db0c146103d3578063f2fde38b146103e8575b005b34801561011f57600080fd5b50610128610409565b60408051600160a060020a039092168252519081900360200190f35b34801561015057600080fd5b506040805160206004602480358281013584810280870186019097528086526101da96843560ff1696369660449591949091019291829185019084908082843750506040805187358901803560208181028481018201909552818452989b9a9989019892975090820195509350839250850190849080828437509497506104189650505050505050565b6040805160ff958616815293851660208501529190931682820152606082019290925290519081900360800190f35b6040805160206004604435818101358381028086018501909652808552610296958335956024803560ff1696369695606495939492019291829185019084908082843750506040805187358901803560208181028481018201909552818452989b9a9989019892975090820195509350839250850190849080828437509497506104279650505050505050565b60408051918252519081900360200190f35b610296600435602435610431565b610296600435610439565b3480156102cd57600080fd5b5061011161043c565b3480156102e257600080fd5b50610296600435610478565b3480156102fa57600080fd5b5061029661047e565b34801561030f57600080fd5b50610318610484565b6040805160ff9092168252519081900360200190f35b34801561033a57600080fd5b50610111600160a060020a0360043516610489565b6102966104e4565b34801561036357600080fd5b506101286104e9565b34801561037857600080fd5b506102966004356104f8565b34801561039057600080fd5b50610296610532565b3480156103a557600080fd5b50610128610538565b3480156103ba57600080fd5b50610318610547565b6102966004356024351515610431565b3480156103df57600080fd5b5061031861054c565b3480156103f457600080fd5b50610111600160a060020a0360043516610551565b600154600160a060020a031681565b60076000808093509350935093565b6000949350505050565b600092915050565b90565b600254600160a060020a031632148061045f5750600254600160a060020a031633145b151561046a57600080fd5b600254600160a060020a0316ff5b50600090565b60045481565b600281565b600154600160a060020a031632146104a057600080fd5b600160a060020a03811615156104b557600080fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600090565b600254600160a060020a031681565b600254600090600160a060020a031632148061051e5750600254600160a060020a031633145b151561052957600080fd5b50600581905590565b60055481565b600354600160a060020a031681565b600181565b600481565b600254600160a060020a03163214806105745750600254600160a060020a031633145b151561057f57600080fd5b600160a060020a038116151561059457600080fd5b6002805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03929092169190911790555600a165627a7a723058207508e64d97582c16dbe81a660d8a63bc4591bc94651626f5ab37df056638285d0029a165627a7a7230582052dc53bbf3bbf4d918dbc227fba10de26de86ae9d41767fec53c4bcb7b5443cc0029"
450
- };
451
- module.exports = contract;
@@ -1,82 +0,0 @@
1
- var contract = {
2
- "abi": [{
3
- "constant": false,
4
- "inputs": [{
5
- "name": "_guarantor",
6
- "type": "address"
7
- }, {
8
- "name": "_v",
9
- "type": "uint8"
10
- }, {
11
- "name": "_r",
12
- "type": "bytes32"
13
- }, {
14
- "name": "_s",
15
- "type": "bytes32"
16
- }, {
17
- "name": "_dest",
18
- "type": "address"
19
- }, {
20
- "name": "_value",
21
- "type": "uint256"
22
- }, {
23
- "name": "_ts",
24
- "type": "uint256"
25
- }],
26
- "name": "execute",
27
- "outputs": [{
28
- "name": "",
29
- "type": "bool"
30
- }],
31
- "payable": false,
32
- "stateMutability": "nonpayable",
33
- "type": "function"
34
- }, {
35
- "constant": true,
36
- "inputs": [{
37
- "name": "_v",
38
- "type": "uint8"
39
- }, {
40
- "name": "_r",
41
- "type": "bytes32"
42
- }, {
43
- "name": "_s",
44
- "type": "bytes32"
45
- }, {
46
- "name": "_dest",
47
- "type": "address"
48
- }, {
49
- "name": "_value",
50
- "type": "uint256"
51
- }, {
52
- "name": "_ts",
53
- "type": "uint256"
54
- }],
55
- "name": "validateTransaction",
56
- "outputs": [{
57
- "name": "",
58
- "type": "bool"
59
- }],
60
- "payable": false,
61
- "stateMutability": "view",
62
- "type": "function"
63
- }, {
64
- "constant": true,
65
- "inputs": [{
66
- "name": "_ts",
67
- "type": "uint256"
68
- }],
69
- "name": "validateTimestamp",
70
- "outputs": [{
71
- "name": "",
72
- "type": "bool"
73
- }, {
74
- "name": "",
75
- "type": "uint256"
76
- }],
77
- "payable": false,
78
- "stateMutability": "view",
79
- "type": "function"
80
- }]
81
- };
82
- module.exports = contract;
@@ -1,18 +0,0 @@
1
- var contract = {
2
- "abi": [{
3
- "constant": true,
4
- "inputs": [{
5
- "name": "_userAddr",
6
- "type": "address"
7
- }],
8
- "name": "getUserWallet",
9
- "outputs": [{
10
- "name": "",
11
- "type": "address"
12
- }],
13
- "payable": false,
14
- "stateMutability": "view",
15
- "type": "function"
16
- }]
17
- };
18
- module.exports = contract;
@@ -1,43 +0,0 @@
1
- var contract = {
2
- "abi": [{
3
- "constant": true,
4
- "inputs": [],
5
- "name": "version",
6
- "outputs": [{
7
- "name": "",
8
- "type": "bytes32"
9
- }],
10
- "payable": false,
11
- "stateMutability": "view",
12
- "type": "function"
13
- }, {
14
- "constant": true,
15
- "inputs": [{
16
- "name": "",
17
- "type": "address"
18
- }],
19
- "name": "userWallets",
20
- "outputs": [{
21
- "name": "",
22
- "type": "address"
23
- }],
24
- "payable": false,
25
- "stateMutability": "view",
26
- "type": "function"
27
- }, {
28
- "constant": true,
29
- "inputs": [{
30
- "name": "_userAddr",
31
- "type": "address"
32
- }],
33
- "name": "getUserWallet",
34
- "outputs": [{
35
- "name": "",
36
- "type": "address"
37
- }],
38
- "payable": false,
39
- "stateMutability": "view",
40
- "type": "function"
41
- }]
42
- };
43
- module.exports = contract;
@@ -1,18 +0,0 @@
1
- var contract = {
2
- "abi": [{
3
- "constant": true,
4
- "inputs": [{
5
- "name": "addr",
6
- "type": "address"
7
- }],
8
- "name": "getBalance",
9
- "outputs": [{
10
- "name": "",
11
- "type": "uint256"
12
- }],
13
- "payable": false,
14
- "stateMutability": "view",
15
- "type": "function"
16
- }]
17
- };
18
- module.exports = contract;
@@ -1,53 +0,0 @@
1
- var contract = {
2
- "abi": [{
3
- "constant": true,
4
- "inputs": [{
5
- "name": "_addr",
6
- "type": "address"
7
- }, {
8
- "name": "msgHash",
9
- "type": "bytes32"
10
- }, {
11
- "name": "v",
12
- "type": "uint8"
13
- }, {
14
- "name": "r",
15
- "type": "bytes32"
16
- }, {
17
- "name": "s",
18
- "type": "bytes32"
19
- }],
20
- "name": "isSigned",
21
- "outputs": [{
22
- "name": "",
23
- "type": "bool"
24
- }],
25
- "payable": false,
26
- "stateMutability": "pure",
27
- "type": "function"
28
- }, {
29
- "constant": true,
30
- "inputs": [{
31
- "name": "msgHash",
32
- "type": "bytes32"
33
- }, {
34
- "name": "v",
35
- "type": "uint8"
36
- }, {
37
- "name": "r",
38
- "type": "bytes32"
39
- }, {
40
- "name": "s",
41
- "type": "bytes32"
42
- }],
43
- "name": "recoverAddr",
44
- "outputs": [{
45
- "name": "",
46
- "type": "address"
47
- }],
48
- "payable": false,
49
- "stateMutability": "pure",
50
- "type": "function"
51
- }]
52
- };
53
- module.exports = contract;
@@ -1,4 +0,0 @@
1
- var contract = {
2
- "abi": []
3
- };
4
- module.exports = contract;