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