keoken 0.2.1 → 0.2.2
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.
- checksums.yaml +4 -4
- data/.yardoc/checksums +8 -4
- data/.yardoc/object_types +0 -0
- data/.yardoc/objects/root.dat +0 -0
- data/Gemfile.lock +1 -1
- data/doc/Bitcoin/Script.html +1 -1
- data/doc/Keoken/Backend/Base.html +347 -0
- data/doc/Keoken/Backend/BitcoinRuby/Transaction.html +106 -192
- data/doc/Keoken/Backend/BitcoinRuby.html +1 -1
- data/doc/Keoken/Backend/Trezor/Transaction.html +512 -0
- data/doc/Keoken/Backend/Trezor.html +115 -0
- data/doc/Keoken/Backend.html +7 -3
- data/doc/Keoken/Bitprim/Transaction.html +1 -1
- data/doc/Keoken/Bitprim.html +1 -1
- data/doc/Keoken/DataNotParsed.html +202 -0
- data/doc/Keoken/IdNotFound.html +1 -1
- data/doc/Keoken/NameNotFound.html +1 -1
- data/doc/Keoken/OutputNotFound.html +1 -1
- data/doc/Keoken/Parser.html +479 -0
- data/doc/Keoken/Token.html +289 -108
- data/doc/Keoken.html +11 -11
- data/doc/_index.html +55 -1
- data/doc/class_list.html +1 -1
- data/doc/file.README.html +13 -13
- data/doc/index.html +13 -13
- data/doc/method_list.html +120 -16
- data/doc/top-level-namespace.html +1 -1
- data/lib/keoken/backend/trezor/transaction.rb +2 -2
- data/lib/keoken/errors/data_not_parsed.rb +5 -3
- data/lib/keoken/errors/id_not_found.rb +5 -3
- data/lib/keoken/errors/name_not_found.rb +5 -3
- data/lib/keoken/errors/output_not_found.rb +5 -3
- data/lib/keoken/parser.rb +6 -6
- data/lib/keoken/token.rb +2 -2
- data/lib/keoken/version.rb +1 -1
- data/lib/keoken.rb +5 -3
- data/spec/keoken_spec.rb +111 -45
- metadata +6 -1
@@ -0,0 +1,512 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
+
<title>
|
7
|
+
Class: Keoken::Backend::Trezor::Transaction
|
8
|
+
|
9
|
+
— Documentation by YARD 0.9.18
|
10
|
+
|
11
|
+
</title>
|
12
|
+
|
13
|
+
<link rel="stylesheet" href="../../../css/style.css" type="text/css" charset="utf-8" />
|
14
|
+
|
15
|
+
<link rel="stylesheet" href="../../../css/common.css" type="text/css" charset="utf-8" />
|
16
|
+
|
17
|
+
<script type="text/javascript" charset="utf-8">
|
18
|
+
pathId = "Keoken::Backend::Trezor::Transaction";
|
19
|
+
relpath = '../../../';
|
20
|
+
</script>
|
21
|
+
|
22
|
+
|
23
|
+
<script type="text/javascript" charset="utf-8" src="../../../js/jquery.js"></script>
|
24
|
+
|
25
|
+
<script type="text/javascript" charset="utf-8" src="../../../js/app.js"></script>
|
26
|
+
|
27
|
+
|
28
|
+
</head>
|
29
|
+
<body>
|
30
|
+
<div class="nav_wrap">
|
31
|
+
<iframe id="nav" src="../../../class_list.html?1"></iframe>
|
32
|
+
<div id="resizer"></div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="main" tabindex="-1">
|
36
|
+
<div id="header">
|
37
|
+
<div id="menu">
|
38
|
+
|
39
|
+
<a href="../../../_index.html">Index (T)</a> »
|
40
|
+
<span class='title'><span class='object_link'><a href="../../../Keoken.html" title="Keoken (module)">Keoken</a></span></span> » <span class='title'><span class='object_link'><a href="../../Backend.html" title="Keoken::Backend (module)">Backend</a></span></span> » <span class='title'><span class='object_link'><a href="../Trezor.html" title="Keoken::Backend::Trezor (module)">Trezor</a></span></span>
|
41
|
+
»
|
42
|
+
<span class="title">Transaction</span>
|
43
|
+
|
44
|
+
</div>
|
45
|
+
|
46
|
+
<div id="search">
|
47
|
+
|
48
|
+
<a class="full_list_link" id="class_list_link"
|
49
|
+
href="../../../class_list.html">
|
50
|
+
|
51
|
+
<svg width="24" height="24">
|
52
|
+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
54
|
+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
55
|
+
</svg>
|
56
|
+
</a>
|
57
|
+
|
58
|
+
</div>
|
59
|
+
<div class="clear"></div>
|
60
|
+
</div>
|
61
|
+
|
62
|
+
<div id="content"><h1>Class: Keoken::Backend::Trezor::Transaction
|
63
|
+
|
64
|
+
|
65
|
+
|
66
|
+
</h1>
|
67
|
+
<div class="box_info">
|
68
|
+
|
69
|
+
<dl>
|
70
|
+
<dt>Inherits:</dt>
|
71
|
+
<dd>
|
72
|
+
<span class="inheritName"><span class='object_link'><a href="../Base.html" title="Keoken::Backend::Base (class)">Base</a></span></span>
|
73
|
+
|
74
|
+
<ul class="fullTree">
|
75
|
+
<li>Object</li>
|
76
|
+
|
77
|
+
<li class="next"><span class='object_link'><a href="../Base.html" title="Keoken::Backend::Base (class)">Base</a></span></li>
|
78
|
+
|
79
|
+
<li class="next">Keoken::Backend::Trezor::Transaction</li>
|
80
|
+
|
81
|
+
</ul>
|
82
|
+
<a href="#" class="inheritanceTree">show all</a>
|
83
|
+
|
84
|
+
</dd>
|
85
|
+
</dl>
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
<dl>
|
98
|
+
<dt>Defined in:</dt>
|
99
|
+
<dd>lib/keoken/backend/trezor/transaction.rb</dd>
|
100
|
+
</dl>
|
101
|
+
|
102
|
+
</div>
|
103
|
+
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
|
108
|
+
<h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
|
109
|
+
<ul class="summary">
|
110
|
+
|
111
|
+
<li class="public ">
|
112
|
+
<span class="summary_signature">
|
113
|
+
|
114
|
+
<a href="#to_json-instance_method" title="#to_json (instance method)">#<strong>to_json</strong> ⇒ Object </a>
|
115
|
+
|
116
|
+
|
117
|
+
|
118
|
+
</span>
|
119
|
+
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
<span class="summary_desc"><div class='inline'>Returns the value of attribute to_json.</div></span>
|
132
|
+
|
133
|
+
</li>
|
134
|
+
|
135
|
+
|
136
|
+
</ul>
|
137
|
+
|
138
|
+
|
139
|
+
|
140
|
+
|
141
|
+
|
142
|
+
<h3 class="inherited">Attributes inherited from <span class='object_link'><a href="../Base.html" title="Keoken::Backend::Base (class)">Base</a></span></h3>
|
143
|
+
<p class="inherited"><span class='object_link'><a href="../Base.html#bitprim_transaction-instance_method" title="Keoken::Backend::Base#bitprim_transaction (method)">#bitprim_transaction</a></span>, <span class='object_link'><a href="../Base.html#inputs-instance_method" title="Keoken::Backend::Base#inputs (method)">#inputs</a></span></p>
|
144
|
+
|
145
|
+
|
146
|
+
|
147
|
+
<h2>
|
148
|
+
Instance Method Summary
|
149
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
150
|
+
</h2>
|
151
|
+
|
152
|
+
<ul class="summary">
|
153
|
+
|
154
|
+
<li class="public ">
|
155
|
+
<span class="summary_signature">
|
156
|
+
|
157
|
+
<a href="#build_for_creation-instance_method" title="#build_for_creation (instance method)">#<strong>build_for_creation</strong>(address, path, script) ⇒ Keoken::Backend::Trezor::Transaction </a>
|
158
|
+
|
159
|
+
|
160
|
+
|
161
|
+
</span>
|
162
|
+
|
163
|
+
|
164
|
+
|
165
|
+
|
166
|
+
|
167
|
+
|
168
|
+
|
169
|
+
|
170
|
+
|
171
|
+
<span class="summary_desc"><div class='inline'>Create the transaction to broadcast in order to create tokens.</div></span>
|
172
|
+
|
173
|
+
</li>
|
174
|
+
|
175
|
+
|
176
|
+
<li class="public ">
|
177
|
+
<span class="summary_signature">
|
178
|
+
|
179
|
+
<a href="#build_for_send_amount-instance_method" title="#build_for_send_amount (instance method)">#<strong>build_for_send_amount</strong>(address, address_dest, path, script) ⇒ Keoken::Backend::Trezor::Transaction </a>
|
180
|
+
|
181
|
+
|
182
|
+
|
183
|
+
</span>
|
184
|
+
|
185
|
+
|
186
|
+
|
187
|
+
|
188
|
+
|
189
|
+
|
190
|
+
|
191
|
+
|
192
|
+
|
193
|
+
<span class="summary_desc"><div class='inline'>Create the transaction to broadcast in order to send amount between tokens.</div></span>
|
194
|
+
|
195
|
+
</li>
|
196
|
+
|
197
|
+
|
198
|
+
</ul>
|
199
|
+
|
200
|
+
|
201
|
+
|
202
|
+
|
203
|
+
|
204
|
+
|
205
|
+
|
206
|
+
|
207
|
+
|
208
|
+
|
209
|
+
|
210
|
+
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="../Base.html" title="Keoken::Backend::Base (class)">Base</a></span></h3>
|
211
|
+
<p class="inherited"><span class='object_link'><a href="../Base.html#initialize-instance_method" title="Keoken::Backend::Base#initialize (method)">#initialize</a></span></p>
|
212
|
+
<div id="constructor_details" class="method_details_list">
|
213
|
+
<h2>Constructor Details</h2>
|
214
|
+
|
215
|
+
<p class="notice">This class inherits a constructor from <span class='object_link'><a href="../Base.html#initialize-instance_method" title="Keoken::Backend::Base#initialize (method)">Keoken::Backend::Base</a></span></p>
|
216
|
+
|
217
|
+
</div>
|
218
|
+
|
219
|
+
<div id="instance_attr_details" class="attr_details">
|
220
|
+
<h2>Instance Attribute Details</h2>
|
221
|
+
|
222
|
+
|
223
|
+
<span id="to_json=-instance_method"></span>
|
224
|
+
<div class="method_details first">
|
225
|
+
<h3 class="signature first" id="to_json-instance_method">
|
226
|
+
|
227
|
+
#<strong>to_json</strong> ⇒ <tt>Object</tt>
|
228
|
+
|
229
|
+
|
230
|
+
|
231
|
+
|
232
|
+
|
233
|
+
</h3><div class="docstring">
|
234
|
+
<div class="discussion">
|
235
|
+
Returns the value of attribute to_json
|
236
|
+
|
237
|
+
</div>
|
238
|
+
</div>
|
239
|
+
<div class="tags">
|
240
|
+
|
241
|
+
|
242
|
+
</div><table class="source_code">
|
243
|
+
<tr>
|
244
|
+
<td>
|
245
|
+
<pre class="lines">
|
246
|
+
|
247
|
+
|
248
|
+
5
|
249
|
+
6
|
250
|
+
7</pre>
|
251
|
+
</td>
|
252
|
+
<td>
|
253
|
+
<pre class="code"><span class="info file"># File 'lib/keoken/backend/trezor/transaction.rb', line 5</span>
|
254
|
+
|
255
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_to_json'>to_json</span>
|
256
|
+
<span class='ivar'>@to_json</span>
|
257
|
+
<span class='kw'>end</span></pre>
|
258
|
+
</td>
|
259
|
+
</tr>
|
260
|
+
</table>
|
261
|
+
</div>
|
262
|
+
|
263
|
+
</div>
|
264
|
+
|
265
|
+
|
266
|
+
<div id="instance_method_details" class="method_details_list">
|
267
|
+
<h2>Instance Method Details</h2>
|
268
|
+
|
269
|
+
|
270
|
+
<div class="method_details first">
|
271
|
+
<h3 class="signature first" id="build_for_creation-instance_method">
|
272
|
+
|
273
|
+
#<strong>build_for_creation</strong>(address, path, script) ⇒ <tt><span class='object_link'><a href="" title="Keoken::Backend::Trezor::Transaction (class)">Keoken::Backend::Trezor::Transaction</a></span></tt>
|
274
|
+
|
275
|
+
|
276
|
+
|
277
|
+
|
278
|
+
|
279
|
+
</h3><div class="docstring">
|
280
|
+
<div class="discussion">
|
281
|
+
Create the transaction to broadcast in order to create tokens.
|
282
|
+
|
283
|
+
</div>
|
284
|
+
</div>
|
285
|
+
<div class="tags">
|
286
|
+
<p class="tag_title">Parameters:</p>
|
287
|
+
<ul class="param">
|
288
|
+
|
289
|
+
<li>
|
290
|
+
|
291
|
+
<span class='name'>address</span>
|
292
|
+
|
293
|
+
|
294
|
+
<span class='type'>(<tt>String</tt>)</span>
|
295
|
+
|
296
|
+
|
297
|
+
|
298
|
+
—
|
299
|
+
<div class='inline'>Address that will contain the token.</div>
|
300
|
+
|
301
|
+
</li>
|
302
|
+
|
303
|
+
<li>
|
304
|
+
|
305
|
+
<span class='name'>path</span>
|
306
|
+
|
307
|
+
|
308
|
+
<span class='type'>(<tt>Array</tt>)</span>
|
309
|
+
|
310
|
+
|
311
|
+
|
312
|
+
—
|
313
|
+
<div class='inline'>Address derivation path.</div>
|
314
|
+
|
315
|
+
</li>
|
316
|
+
|
317
|
+
<li>
|
318
|
+
|
319
|
+
<span class='name'>script</span>
|
320
|
+
|
321
|
+
|
322
|
+
<span class='type'>(<tt>String</tt>)</span>
|
323
|
+
|
324
|
+
|
325
|
+
|
326
|
+
—
|
327
|
+
<div class='inline'>The token script.</div>
|
328
|
+
|
329
|
+
</li>
|
330
|
+
|
331
|
+
</ul>
|
332
|
+
|
333
|
+
<p class="tag_title">Returns:</p>
|
334
|
+
<ul class="return">
|
335
|
+
|
336
|
+
<li>
|
337
|
+
|
338
|
+
|
339
|
+
<span class='type'>(<tt><span class='object_link'><a href="" title="Keoken::Backend::Trezor::Transaction (class)">Keoken::Backend::Trezor::Transaction</a></span></tt>)</span>
|
340
|
+
|
341
|
+
|
342
|
+
|
343
|
+
—
|
344
|
+
<div class='inline'>A serialized object ready for Trezor signing.</div>
|
345
|
+
|
346
|
+
</li>
|
347
|
+
|
348
|
+
</ul>
|
349
|
+
|
350
|
+
</div><table class="source_code">
|
351
|
+
<tr>
|
352
|
+
<td>
|
353
|
+
<pre class="lines">
|
354
|
+
|
355
|
+
|
356
|
+
15
|
357
|
+
16
|
358
|
+
17
|
359
|
+
18
|
360
|
+
19
|
361
|
+
20</pre>
|
362
|
+
</td>
|
363
|
+
<td>
|
364
|
+
<pre class="code"><span class="info file"># File 'lib/keoken/backend/trezor/transaction.rb', line 15</span>
|
365
|
+
|
366
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_build_for_creation'>build_for_creation</span><span class='lparen'>(</span><span class='id identifier rubyid_address'>address</span><span class='comma'>,</span> <span class='id identifier rubyid_path'>path</span><span class='comma'>,</span> <span class='id identifier rubyid_script'>script</span><span class='rparen'>)</span>
|
367
|
+
<span class='id identifier rubyid_build_inputs'>build_inputs</span><span class='lparen'>(</span><span class='id identifier rubyid_address'>address</span><span class='rparen'>)</span>
|
368
|
+
<span class='id identifier rubyid_total'>total</span><span class='comma'>,</span> <span class='id identifier rubyid_fee'>fee</span> <span class='op'>=</span> <span class='id identifier rubyid_build_fee'>build_fee</span><span class='lparen'>(</span><span class='id identifier rubyid_type'>type</span><span class='rparen'>)</span>
|
369
|
+
<span class='id identifier rubyid_output_amount'>output_amount</span> <span class='op'>=</span> <span class='id identifier rubyid_total'>total</span> <span class='op'>-</span> <span class='id identifier rubyid_fee'>fee</span><span class='period'>.</span><span class='id identifier rubyid_to_i'>to_i</span>
|
370
|
+
<span class='id identifier rubyid_create'>create</span><span class='lparen'>(</span><span class='ivar'>@inputs</span><span class='comma'>,</span> <span class='id identifier rubyid_path'>path</span><span class='comma'>,</span> <span class='id identifier rubyid_address'>address</span><span class='comma'>,</span> <span class='id identifier rubyid_output_amount'>output_amount</span><span class='comma'>,</span> <span class='id identifier rubyid_script'>script</span><span class='rparen'>)</span>
|
371
|
+
<span class='kw'>end</span></pre>
|
372
|
+
</td>
|
373
|
+
</tr>
|
374
|
+
</table>
|
375
|
+
</div>
|
376
|
+
|
377
|
+
<div class="method_details ">
|
378
|
+
<h3 class="signature " id="build_for_send_amount-instance_method">
|
379
|
+
|
380
|
+
#<strong>build_for_send_amount</strong>(address, address_dest, path, script) ⇒ <tt><span class='object_link'><a href="" title="Keoken::Backend::Trezor::Transaction (class)">Keoken::Backend::Trezor::Transaction</a></span></tt>
|
381
|
+
|
382
|
+
|
383
|
+
|
384
|
+
|
385
|
+
|
386
|
+
</h3><div class="docstring">
|
387
|
+
<div class="discussion">
|
388
|
+
Create the transaction to broadcast in order to send amount between tokens.
|
389
|
+
|
390
|
+
</div>
|
391
|
+
</div>
|
392
|
+
<div class="tags">
|
393
|
+
<p class="tag_title">Parameters:</p>
|
394
|
+
<ul class="param">
|
395
|
+
|
396
|
+
<li>
|
397
|
+
|
398
|
+
<span class='name'>address</span>
|
399
|
+
|
400
|
+
|
401
|
+
<span class='type'>(<tt>String</tt>)</span>
|
402
|
+
|
403
|
+
|
404
|
+
|
405
|
+
—
|
406
|
+
<div class='inline'>Address that will contain the token.</div>
|
407
|
+
|
408
|
+
</li>
|
409
|
+
|
410
|
+
<li>
|
411
|
+
|
412
|
+
<span class='name'>address_dest</span>
|
413
|
+
|
414
|
+
|
415
|
+
<span class='type'>(<tt>String</tt>)</span>
|
416
|
+
|
417
|
+
|
418
|
+
|
419
|
+
—
|
420
|
+
<div class='inline'>Address to receive the tokens.</div>
|
421
|
+
|
422
|
+
</li>
|
423
|
+
|
424
|
+
<li>
|
425
|
+
|
426
|
+
<span class='name'>path</span>
|
427
|
+
|
428
|
+
|
429
|
+
<span class='type'>(<tt>Array</tt>)</span>
|
430
|
+
|
431
|
+
|
432
|
+
|
433
|
+
—
|
434
|
+
<div class='inline'>Address derivation path.</div>
|
435
|
+
|
436
|
+
</li>
|
437
|
+
|
438
|
+
<li>
|
439
|
+
|
440
|
+
<span class='name'>script</span>
|
441
|
+
|
442
|
+
|
443
|
+
<span class='type'>(<tt>String</tt>)</span>
|
444
|
+
|
445
|
+
|
446
|
+
|
447
|
+
—
|
448
|
+
<div class='inline'>The token script.</div>
|
449
|
+
|
450
|
+
</li>
|
451
|
+
|
452
|
+
</ul>
|
453
|
+
|
454
|
+
<p class="tag_title">Returns:</p>
|
455
|
+
<ul class="return">
|
456
|
+
|
457
|
+
<li>
|
458
|
+
|
459
|
+
|
460
|
+
<span class='type'>(<tt><span class='object_link'><a href="" title="Keoken::Backend::Trezor::Transaction (class)">Keoken::Backend::Trezor::Transaction</a></span></tt>)</span>
|
461
|
+
|
462
|
+
|
463
|
+
|
464
|
+
—
|
465
|
+
<div class='inline'>A serialized object ready for Trezor signing.</div>
|
466
|
+
|
467
|
+
</li>
|
468
|
+
|
469
|
+
</ul>
|
470
|
+
|
471
|
+
</div><table class="source_code">
|
472
|
+
<tr>
|
473
|
+
<td>
|
474
|
+
<pre class="lines">
|
475
|
+
|
476
|
+
|
477
|
+
31
|
478
|
+
32
|
479
|
+
33
|
480
|
+
34
|
481
|
+
35
|
482
|
+
36
|
483
|
+
37</pre>
|
484
|
+
</td>
|
485
|
+
<td>
|
486
|
+
<pre class="code"><span class="info file"># File 'lib/keoken/backend/trezor/transaction.rb', line 31</span>
|
487
|
+
|
488
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_build_for_send_amount'>build_for_send_amount</span><span class='lparen'>(</span><span class='id identifier rubyid_address'>address</span><span class='comma'>,</span> <span class='id identifier rubyid_address_dest'>address_dest</span><span class='comma'>,</span> <span class='id identifier rubyid_path'>path</span><span class='comma'>,</span> <span class='id identifier rubyid_script'>script</span><span class='rparen'>)</span>
|
489
|
+
<span class='id identifier rubyid_build_inputs'>build_inputs</span><span class='lparen'>(</span><span class='id identifier rubyid_address'>address</span><span class='rparen'>)</span>
|
490
|
+
<span class='id identifier rubyid_total'>total</span><span class='comma'>,</span> <span class='id identifier rubyid_fee'>fee</span> <span class='op'>=</span> <span class='id identifier rubyid_build_fee'>build_fee</span><span class='lparen'>(</span><span class='id identifier rubyid_type'>type</span><span class='rparen'>)</span>
|
491
|
+
<span class='id identifier rubyid_output_amount'>output_amount</span> <span class='op'>=</span> <span class='id identifier rubyid_total'>total</span> <span class='op'>-</span> <span class='lparen'>(</span><span class='id identifier rubyid_fee'>fee</span><span class='period'>.</span><span class='id identifier rubyid_to_i'>to_i</span> <span class='op'>*</span> <span class='int'>2</span><span class='rparen'>)</span>
|
492
|
+
<span class='id identifier rubyid_output_amount_to_addr2'>output_amount_to_addr2</span> <span class='op'>=</span> <span class='id identifier rubyid_fee'>fee</span><span class='period'>.</span><span class='id identifier rubyid_to_i'>to_i</span>
|
493
|
+
<span class='id identifier rubyid_send'>send</span><span class='lparen'>(</span><span class='ivar'>@inputs</span><span class='comma'>,</span> <span class='id identifier rubyid_path'>path</span><span class='comma'>,</span> <span class='id identifier rubyid_output_amount'>output_amount</span><span class='comma'>,</span> <span class='id identifier rubyid_address'>address</span><span class='comma'>,</span> <span class='id identifier rubyid_output_amount_to_addr2'>output_amount_to_addr2</span><span class='comma'>,</span> <span class='id identifier rubyid_address_dest'>address_dest</span><span class='comma'>,</span> <span class='id identifier rubyid_script'>script</span><span class='rparen'>)</span>
|
494
|
+
<span class='kw'>end</span></pre>
|
495
|
+
</td>
|
496
|
+
</tr>
|
497
|
+
</table>
|
498
|
+
</div>
|
499
|
+
|
500
|
+
</div>
|
501
|
+
|
502
|
+
</div>
|
503
|
+
|
504
|
+
<div id="footer">
|
505
|
+
Generated on Tue Feb 5 12:51:34 2019 by
|
506
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
507
|
+
0.9.18 (ruby-2.3.3).
|
508
|
+
</div>
|
509
|
+
|
510
|
+
</div>
|
511
|
+
</body>
|
512
|
+
</html>
|
@@ -0,0 +1,115 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
+
<title>
|
7
|
+
Module: Keoken::Backend::Trezor
|
8
|
+
|
9
|
+
— Documentation by YARD 0.9.18
|
10
|
+
|
11
|
+
</title>
|
12
|
+
|
13
|
+
<link rel="stylesheet" href="../../css/style.css" type="text/css" charset="utf-8" />
|
14
|
+
|
15
|
+
<link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" />
|
16
|
+
|
17
|
+
<script type="text/javascript" charset="utf-8">
|
18
|
+
pathId = "Keoken::Backend::Trezor";
|
19
|
+
relpath = '../../';
|
20
|
+
</script>
|
21
|
+
|
22
|
+
|
23
|
+
<script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
|
24
|
+
|
25
|
+
<script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
|
26
|
+
|
27
|
+
|
28
|
+
</head>
|
29
|
+
<body>
|
30
|
+
<div class="nav_wrap">
|
31
|
+
<iframe id="nav" src="../../class_list.html?1"></iframe>
|
32
|
+
<div id="resizer"></div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="main" tabindex="-1">
|
36
|
+
<div id="header">
|
37
|
+
<div id="menu">
|
38
|
+
|
39
|
+
<a href="../../_index.html">Index (T)</a> »
|
40
|
+
<span class='title'><span class='object_link'><a href="../../Keoken.html" title="Keoken (module)">Keoken</a></span></span> » <span class='title'><span class='object_link'><a href="../Backend.html" title="Keoken::Backend (module)">Backend</a></span></span>
|
41
|
+
»
|
42
|
+
<span class="title">Trezor</span>
|
43
|
+
|
44
|
+
</div>
|
45
|
+
|
46
|
+
<div id="search">
|
47
|
+
|
48
|
+
<a class="full_list_link" id="class_list_link"
|
49
|
+
href="../../class_list.html">
|
50
|
+
|
51
|
+
<svg width="24" height="24">
|
52
|
+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
54
|
+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
55
|
+
</svg>
|
56
|
+
</a>
|
57
|
+
|
58
|
+
</div>
|
59
|
+
<div class="clear"></div>
|
60
|
+
</div>
|
61
|
+
|
62
|
+
<div id="content"><h1>Module: Keoken::Backend::Trezor
|
63
|
+
|
64
|
+
|
65
|
+
|
66
|
+
</h1>
|
67
|
+
<div class="box_info">
|
68
|
+
|
69
|
+
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
<dl>
|
80
|
+
<dt>Defined in:</dt>
|
81
|
+
<dd>lib/keoken/backend/trezor/transaction.rb</dd>
|
82
|
+
</dl>
|
83
|
+
|
84
|
+
</div>
|
85
|
+
|
86
|
+
<h2>Defined Under Namespace</h2>
|
87
|
+
<p class="children">
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
|
92
|
+
<strong class="classes">Classes:</strong> <span class='object_link'><a href="Trezor/Transaction.html" title="Keoken::Backend::Trezor::Transaction (class)">Transaction</a></span>
|
93
|
+
|
94
|
+
|
95
|
+
</p>
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
</div>
|
106
|
+
|
107
|
+
<div id="footer">
|
108
|
+
Generated on Tue Feb 5 12:51:34 2019 by
|
109
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
110
|
+
0.9.18 (ruby-2.3.3).
|
111
|
+
</div>
|
112
|
+
|
113
|
+
</div>
|
114
|
+
</body>
|
115
|
+
</html>
|
data/doc/Keoken/Backend.html
CHANGED
@@ -78,7 +78,9 @@
|
|
78
78
|
|
79
79
|
<dl>
|
80
80
|
<dt>Defined in:</dt>
|
81
|
-
<dd>lib/keoken/backend/
|
81
|
+
<dd>lib/keoken/backend/base.rb<span class="defines">,<br />
|
82
|
+
lib/keoken/backend/trezor/transaction.rb,<br /> lib/keoken/backend/bitcoin_ruby/transaction.rb</span>
|
83
|
+
</dd>
|
82
84
|
</dl>
|
83
85
|
|
84
86
|
</div>
|
@@ -87,10 +89,12 @@
|
|
87
89
|
<p class="children">
|
88
90
|
|
89
91
|
|
90
|
-
<strong class="modules">Modules:</strong> <span class='object_link'><a href="Backend/BitcoinRuby.html" title="Keoken::Backend::BitcoinRuby (module)">BitcoinRuby</a></span>
|
92
|
+
<strong class="modules">Modules:</strong> <span class='object_link'><a href="Backend/BitcoinRuby.html" title="Keoken::Backend::BitcoinRuby (module)">BitcoinRuby</a></span>, <span class='object_link'><a href="Backend/Trezor.html" title="Keoken::Backend::Trezor (module)">Trezor</a></span>
|
91
93
|
|
92
94
|
|
93
95
|
|
96
|
+
<strong class="classes">Classes:</strong> <span class='object_link'><a href="Backend/Base.html" title="Keoken::Backend::Base (class)">Base</a></span>
|
97
|
+
|
94
98
|
|
95
99
|
</p>
|
96
100
|
|
@@ -105,7 +109,7 @@
|
|
105
109
|
</div>
|
106
110
|
|
107
111
|
<div id="footer">
|
108
|
-
Generated on
|
112
|
+
Generated on Tue Feb 5 12:51:34 2019 by
|
109
113
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
110
114
|
0.9.18 (ruby-2.3.3).
|
111
115
|
</div>
|
@@ -631,7 +631,7 @@
|
|
631
631
|
</div>
|
632
632
|
|
633
633
|
<div id="footer">
|
634
|
-
Generated on
|
634
|
+
Generated on Tue Feb 5 12:51:34 2019 by
|
635
635
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
636
636
|
0.9.18 (ruby-2.3.3).
|
637
637
|
</div>
|
data/doc/Keoken/Bitprim.html
CHANGED
@@ -105,7 +105,7 @@
|
|
105
105
|
</div>
|
106
106
|
|
107
107
|
<div id="footer">
|
108
|
-
Generated on
|
108
|
+
Generated on Tue Feb 5 12:51:34 2019 by
|
109
109
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
110
110
|
0.9.18 (ruby-2.3.3).
|
111
111
|
</div>
|