@cityofzion/bs-neo-legacy 0.4.0 → 0.4.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.
- package/bs-neo-legacy.build.error.log +2 -2
- package/bs-neo-legacy.build.log +2 -2
- package/dist/BSNeoLegacy.js +6 -8
- package/docs/classes/BDSNeoLegacy.html +13 -13
- package/docs/classes/BSNeoLegacy.html +24 -24
- package/docs/interfaces/DoraNeoLegacyAsset.html +7 -7
- package/docs/interfaces/DoraNeoLegacyAssetResponse.html +9 -9
- package/docs/interfaces/DoraNeoLegacyBalance.html +5 -5
- package/docs/interfaces/DoraNeoLegacyConsensusNode.html +3 -3
- package/docs/interfaces/DoraNeoLegacyDetails.html +12 -12
- package/docs/interfaces/DoraNeoLegacyEntriesEntity.html +8 -8
- package/docs/interfaces/DoraNeoLegacyNameEntity.html +3 -3
- package/docs/interfaces/DoraNeoLegacyScriptsEntity.html +3 -3
- package/docs/interfaces/DoraNeoLegacyTransaction.html +14 -14
- package/docs/interfaces/DoraNeoLegacyTransactionsHistory.html +6 -6
- package/docs/interfaces/DoraNeoLegacyUnclaimed.html +4 -4
- package/docs/interfaces/DoraNeoLegacyVinEntity.html +3 -3
- package/docs/interfaces/DoraNeoLegacyVoutEntity.html +5 -5
- package/docs/variables/DORA_NEO_LEGACY_ASSET.html +1 -1
- package/docs/variables/DORA_NEO_LEGACY_BALANCE.html +1 -1
- package/docs/variables/DORA_NEO_LEGACY_CONTRACT.html +1 -1
- package/docs/variables/DORA_NEO_LEGACY_HISTORY_TRANSACTIONS.html +1 -1
- package/docs/variables/DORA_NEO_LEGACY_NODES.html +1 -1
- package/docs/variables/DORA_NEO_LEGACY_TRANSACTION.html +1 -1
- package/docs/variables/DORA_NEO_LEGACY_UNCLAIMED.html +1 -1
- package/docs/variables/explorerNeoLegacyOption.html +1 -1
- package/package.json +2 -3
- package/src/BSNeoLegacy.ts +6 -9
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
<ul class="tsd-hierarchy">
|
|
21
21
|
<li><span class="target">DoraNeoLegacyTransactionsHistory</span></li></ul></section><aside class="tsd-sources">
|
|
22
22
|
<ul>
|
|
23
|
-
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/
|
|
23
|
+
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/437c7e9/packages/bs-neo-legacy/src/explorer/dora/DoraResponsesNeoLegacy.ts#L77">explorer/dora/DoraResponsesNeoLegacy.ts:77</a></li></ul></aside>
|
|
24
24
|
<section class="tsd-panel-group tsd-index-group">
|
|
25
25
|
<section class="tsd-panel tsd-index-panel">
|
|
26
26
|
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
|
@@ -40,27 +40,27 @@
|
|
|
40
40
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>entries</span><a href="#entries" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
|
|
41
41
|
<div class="tsd-signature">entries<span class="tsd-signature-symbol">?:</span> <a href="DoraNeoLegacyEntriesEntity.html" class="tsd-signature-type" data-tsd-kind="Interface">DoraNeoLegacyEntriesEntity</a><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources">
|
|
42
42
|
<ul>
|
|
43
|
-
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/
|
|
43
|
+
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/437c7e9/packages/bs-neo-legacy/src/explorer/dora/DoraResponsesNeoLegacy.ts#L82">explorer/dora/DoraResponsesNeoLegacy.ts:82</a></li></ul></aside></section>
|
|
44
44
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="page_number" class="tsd-anchor"></a>
|
|
45
45
|
<h3 class="tsd-anchor-link"><span>page_<wbr/>number</span><a href="#page_number" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
46
46
|
<div class="tsd-signature">page_<wbr/>number<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources">
|
|
47
47
|
<ul>
|
|
48
|
-
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/
|
|
48
|
+
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/437c7e9/packages/bs-neo-legacy/src/explorer/dora/DoraResponsesNeoLegacy.ts#L81">explorer/dora/DoraResponsesNeoLegacy.ts:81</a></li></ul></aside></section>
|
|
49
49
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="page_size" class="tsd-anchor"></a>
|
|
50
50
|
<h3 class="tsd-anchor-link"><span>page_<wbr/>size</span><a href="#page_size" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
51
51
|
<div class="tsd-signature">page_<wbr/>size<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources">
|
|
52
52
|
<ul>
|
|
53
|
-
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/
|
|
53
|
+
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/437c7e9/packages/bs-neo-legacy/src/explorer/dora/DoraResponsesNeoLegacy.ts#L80">explorer/dora/DoraResponsesNeoLegacy.ts:80</a></li></ul></aside></section>
|
|
54
54
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="total_entries" class="tsd-anchor"></a>
|
|
55
55
|
<h3 class="tsd-anchor-link"><span>total_<wbr/>entries</span><a href="#total_entries" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
56
56
|
<div class="tsd-signature">total_<wbr/>entries<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources">
|
|
57
57
|
<ul>
|
|
58
|
-
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/
|
|
58
|
+
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/437c7e9/packages/bs-neo-legacy/src/explorer/dora/DoraResponsesNeoLegacy.ts#L79">explorer/dora/DoraResponsesNeoLegacy.ts:79</a></li></ul></aside></section>
|
|
59
59
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="total_pages" class="tsd-anchor"></a>
|
|
60
60
|
<h3 class="tsd-anchor-link"><span>total_<wbr/>pages</span><a href="#total_pages" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
61
61
|
<div class="tsd-signature">total_<wbr/>pages<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources">
|
|
62
62
|
<ul>
|
|
63
|
-
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/
|
|
63
|
+
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/437c7e9/packages/bs-neo-legacy/src/explorer/dora/DoraResponsesNeoLegacy.ts#L78">explorer/dora/DoraResponsesNeoLegacy.ts:78</a></li></ul></aside></section></section></div>
|
|
64
64
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
65
65
|
<div class="tsd-navigation settings">
|
|
66
66
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
<ul class="tsd-hierarchy">
|
|
21
21
|
<li><span class="target">DoraNeoLegacyUnclaimed</span></li></ul></section><aside class="tsd-sources">
|
|
22
22
|
<ul>
|
|
23
|
-
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/
|
|
23
|
+
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/437c7e9/packages/bs-neo-legacy/src/explorer/dora/DoraResponsesNeoLegacy.ts#L103">explorer/dora/DoraResponsesNeoLegacy.ts:103</a></li></ul></aside>
|
|
24
24
|
<section class="tsd-panel-group tsd-index-group">
|
|
25
25
|
<section class="tsd-panel tsd-index-panel">
|
|
26
26
|
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
|
@@ -38,17 +38,17 @@
|
|
|
38
38
|
<h3 class="tsd-anchor-link"><span>available</span><a href="#available" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
|
|
39
39
|
<div class="tsd-signature">available<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources">
|
|
40
40
|
<ul>
|
|
41
|
-
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/
|
|
41
|
+
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/437c7e9/packages/bs-neo-legacy/src/explorer/dora/DoraResponsesNeoLegacy.ts#L104">explorer/dora/DoraResponsesNeoLegacy.ts:104</a></li></ul></aside></section>
|
|
42
42
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="unavailable" class="tsd-anchor"></a>
|
|
43
43
|
<h3 class="tsd-anchor-link"><span>unavailable</span><a href="#unavailable" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
44
44
|
<div class="tsd-signature">unavailable<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources">
|
|
45
45
|
<ul>
|
|
46
|
-
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/
|
|
46
|
+
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/437c7e9/packages/bs-neo-legacy/src/explorer/dora/DoraResponsesNeoLegacy.ts#L105">explorer/dora/DoraResponsesNeoLegacy.ts:105</a></li></ul></aside></section>
|
|
47
47
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="unclaimed" class="tsd-anchor"></a>
|
|
48
48
|
<h3 class="tsd-anchor-link"><span>unclaimed</span><a href="#unclaimed" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
49
49
|
<div class="tsd-signature">unclaimed<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources">
|
|
50
50
|
<ul>
|
|
51
|
-
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/
|
|
51
|
+
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/437c7e9/packages/bs-neo-legacy/src/explorer/dora/DoraResponsesNeoLegacy.ts#L106">explorer/dora/DoraResponsesNeoLegacy.ts:106</a></li></ul></aside></section></section></div>
|
|
52
52
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
53
53
|
<div class="tsd-navigation settings">
|
|
54
54
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
<ul class="tsd-hierarchy">
|
|
21
21
|
<li><span class="target">DoraNeoLegacyVinEntity</span></li></ul></section><aside class="tsd-sources">
|
|
22
22
|
<ul>
|
|
23
|
-
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/
|
|
23
|
+
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/437c7e9/packages/bs-neo-legacy/src/explorer/dora/DoraResponsesNeoLegacy.ts#L60">explorer/dora/DoraResponsesNeoLegacy.ts:60</a></li></ul></aside>
|
|
24
24
|
<section class="tsd-panel-group tsd-index-group">
|
|
25
25
|
<section class="tsd-panel tsd-index-panel">
|
|
26
26
|
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
|
@@ -37,12 +37,12 @@
|
|
|
37
37
|
<h3 class="tsd-anchor-link"><span>txid</span><a href="#txid" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
|
|
38
38
|
<div class="tsd-signature">txid<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
|
|
39
39
|
<ul>
|
|
40
|
-
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/
|
|
40
|
+
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/437c7e9/packages/bs-neo-legacy/src/explorer/dora/DoraResponsesNeoLegacy.ts#L61">explorer/dora/DoraResponsesNeoLegacy.ts:61</a></li></ul></aside></section>
|
|
41
41
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="vout" class="tsd-anchor"></a>
|
|
42
42
|
<h3 class="tsd-anchor-link"><span>vout</span><a href="#vout" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
43
43
|
<div class="tsd-signature">vout<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources">
|
|
44
44
|
<ul>
|
|
45
|
-
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/
|
|
45
|
+
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/437c7e9/packages/bs-neo-legacy/src/explorer/dora/DoraResponsesNeoLegacy.ts#L62">explorer/dora/DoraResponsesNeoLegacy.ts:62</a></li></ul></aside></section></section></div>
|
|
46
46
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
47
47
|
<div class="tsd-navigation settings">
|
|
48
48
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
<ul class="tsd-hierarchy">
|
|
21
21
|
<li><span class="target">DoraNeoLegacyVoutEntity</span></li></ul></section><aside class="tsd-sources">
|
|
22
22
|
<ul>
|
|
23
|
-
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/
|
|
23
|
+
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/437c7e9/packages/bs-neo-legacy/src/explorer/dora/DoraResponsesNeoLegacy.ts#L64">explorer/dora/DoraResponsesNeoLegacy.ts:64</a></li></ul></aside>
|
|
24
24
|
<section class="tsd-panel-group tsd-index-group">
|
|
25
25
|
<section class="tsd-panel tsd-index-panel">
|
|
26
26
|
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
|
@@ -39,22 +39,22 @@
|
|
|
39
39
|
<h3 class="tsd-anchor-link"><span>address</span><a href="#address" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
|
|
40
40
|
<div class="tsd-signature">address<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
|
|
41
41
|
<ul>
|
|
42
|
-
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/
|
|
42
|
+
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/437c7e9/packages/bs-neo-legacy/src/explorer/dora/DoraResponsesNeoLegacy.ts#L68">explorer/dora/DoraResponsesNeoLegacy.ts:68</a></li></ul></aside></section>
|
|
43
43
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="asset" class="tsd-anchor"></a>
|
|
44
44
|
<h3 class="tsd-anchor-link"><span>asset</span><a href="#asset" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
45
45
|
<div class="tsd-signature">asset<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
|
|
46
46
|
<ul>
|
|
47
|
-
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/
|
|
47
|
+
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/437c7e9/packages/bs-neo-legacy/src/explorer/dora/DoraResponsesNeoLegacy.ts#L66">explorer/dora/DoraResponsesNeoLegacy.ts:66</a></li></ul></aside></section>
|
|
48
48
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="n" class="tsd-anchor"></a>
|
|
49
49
|
<h3 class="tsd-anchor-link"><span>n</span><a href="#n" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
50
50
|
<div class="tsd-signature">n<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources">
|
|
51
51
|
<ul>
|
|
52
|
-
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/
|
|
52
|
+
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/437c7e9/packages/bs-neo-legacy/src/explorer/dora/DoraResponsesNeoLegacy.ts#L65">explorer/dora/DoraResponsesNeoLegacy.ts:65</a></li></ul></aside></section>
|
|
53
53
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="value" class="tsd-anchor"></a>
|
|
54
54
|
<h3 class="tsd-anchor-link"><span>value</span><a href="#value" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
55
55
|
<div class="tsd-signature">value<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
|
|
56
56
|
<ul>
|
|
57
|
-
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/
|
|
57
|
+
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/437c7e9/packages/bs-neo-legacy/src/explorer/dora/DoraResponsesNeoLegacy.ts#L67">explorer/dora/DoraResponsesNeoLegacy.ts:67</a></li></ul></aside></section></section></div>
|
|
58
58
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
59
59
|
<div class="tsd-navigation settings">
|
|
60
60
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
<h1>Variable DORA_NEO_LEGACY_ASSET<code class="tsd-tag ts-flagConst">Const</code> </h1></div>
|
|
18
18
|
<div class="tsd-signature">DORA_<wbr/>NEO_<wbr/>LEGACY_<wbr/>ASSET<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"asset"</span><span class="tsd-signature-symbol"> = 'asset'</span></div><aside class="tsd-sources">
|
|
19
19
|
<ul>
|
|
20
|
-
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/
|
|
20
|
+
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/437c7e9/packages/bs-neo-legacy/src/explorer/dora/DoraRoutesNeoLegacy.ts#L6">explorer/dora/DoraRoutesNeoLegacy.ts:6</a></li></ul></aside></div>
|
|
21
21
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
22
22
|
<div class="tsd-navigation settings">
|
|
23
23
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
<h1>Variable DORA_NEO_LEGACY_BALANCE<code class="tsd-tag ts-flagConst">Const</code> </h1></div>
|
|
18
18
|
<div class="tsd-signature">DORA_<wbr/>NEO_<wbr/>LEGACY_<wbr/>BALANCE<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"balance"</span><span class="tsd-signature-symbol"> = 'balance'</span></div><aside class="tsd-sources">
|
|
19
19
|
<ul>
|
|
20
|
-
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/
|
|
20
|
+
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/437c7e9/packages/bs-neo-legacy/src/explorer/dora/DoraRoutesNeoLegacy.ts#L3">explorer/dora/DoraRoutesNeoLegacy.ts:3</a></li></ul></aside></div>
|
|
21
21
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
22
22
|
<div class="tsd-navigation settings">
|
|
23
23
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
<h1>Variable DORA_NEO_LEGACY_CONTRACT<code class="tsd-tag ts-flagConst">Const</code> </h1></div>
|
|
18
18
|
<div class="tsd-signature">DORA_<wbr/>NEO_<wbr/>LEGACY_<wbr/>CONTRACT<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"contract"</span><span class="tsd-signature-symbol"> = 'contract'</span></div><aside class="tsd-sources">
|
|
19
19
|
<ul>
|
|
20
|
-
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/
|
|
20
|
+
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/437c7e9/packages/bs-neo-legacy/src/explorer/dora/DoraRoutesNeoLegacy.ts#L4">explorer/dora/DoraRoutesNeoLegacy.ts:4</a></li></ul></aside></div>
|
|
21
21
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
22
22
|
<div class="tsd-navigation settings">
|
|
23
23
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
<h1>Variable DORA_NEO_LEGACY_HISTORY_TRANSACTIONS<code class="tsd-tag ts-flagConst">Const</code> </h1></div>
|
|
18
18
|
<div class="tsd-signature">DORA_<wbr/>NEO_<wbr/>LEGACY_<wbr/>HISTORY_<wbr/>TRANSACTIONS<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"get_address_abstracts"</span><span class="tsd-signature-symbol"> = 'get_address_abstracts'</span></div><aside class="tsd-sources">
|
|
19
19
|
<ul>
|
|
20
|
-
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/
|
|
20
|
+
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/437c7e9/packages/bs-neo-legacy/src/explorer/dora/DoraRoutesNeoLegacy.ts#L2">explorer/dora/DoraRoutesNeoLegacy.ts:2</a></li></ul></aside></div>
|
|
21
21
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
22
22
|
<div class="tsd-navigation settings">
|
|
23
23
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
<h1>Variable DORA_NEO_LEGACY_NODES<code class="tsd-tag ts-flagConst">Const</code> </h1></div>
|
|
18
18
|
<div class="tsd-signature">DORA_<wbr/>NEO_<wbr/>LEGACY_<wbr/>NODES<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"get_all_nodes"</span><span class="tsd-signature-symbol"> = 'get_all_nodes'</span></div><aside class="tsd-sources">
|
|
19
19
|
<ul>
|
|
20
|
-
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/
|
|
20
|
+
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/437c7e9/packages/bs-neo-legacy/src/explorer/dora/DoraRoutesNeoLegacy.ts#L1">explorer/dora/DoraRoutesNeoLegacy.ts:1</a></li></ul></aside></div>
|
|
21
21
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
22
22
|
<div class="tsd-navigation settings">
|
|
23
23
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
<h1>Variable DORA_NEO_LEGACY_TRANSACTION<code class="tsd-tag ts-flagConst">Const</code> </h1></div>
|
|
18
18
|
<div class="tsd-signature">DORA_<wbr/>NEO_<wbr/>LEGACY_<wbr/>TRANSACTION<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"transaction"</span><span class="tsd-signature-symbol"> = 'transaction'</span></div><aside class="tsd-sources">
|
|
19
19
|
<ul>
|
|
20
|
-
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/
|
|
20
|
+
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/437c7e9/packages/bs-neo-legacy/src/explorer/dora/DoraRoutesNeoLegacy.ts#L5">explorer/dora/DoraRoutesNeoLegacy.ts:5</a></li></ul></aside></div>
|
|
21
21
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
22
22
|
<div class="tsd-navigation settings">
|
|
23
23
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
<h1>Variable DORA_NEO_LEGACY_UNCLAIMED<code class="tsd-tag ts-flagConst">Const</code> </h1></div>
|
|
18
18
|
<div class="tsd-signature">DORA_<wbr/>NEO_<wbr/>LEGACY_<wbr/>UNCLAIMED<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"get_unclaimed"</span><span class="tsd-signature-symbol"> = 'get_unclaimed'</span></div><aside class="tsd-sources">
|
|
19
19
|
<ul>
|
|
20
|
-
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/
|
|
20
|
+
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/437c7e9/packages/bs-neo-legacy/src/explorer/dora/DoraRoutesNeoLegacy.ts#L7">explorer/dora/DoraRoutesNeoLegacy.ts:7</a></li></ul></aside></div>
|
|
21
21
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
22
22
|
<div class="tsd-navigation settings">
|
|
23
23
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
<li class="tsd-parameter">
|
|
23
23
|
<h5>dora<span class="tsd-signature-symbol">: </span><a href="../classes/BDSNeoLegacy.html" class="tsd-signature-type" data-tsd-kind="Class">BDSNeoLegacy</a></h5></li></ul></div><aside class="tsd-sources">
|
|
24
24
|
<ul>
|
|
25
|
-
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/
|
|
25
|
+
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/437c7e9/packages/bs-neo-legacy/src/explorer/index.ts#L6">explorer/index.ts:6</a></li></ul></aside></div>
|
|
26
26
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
27
27
|
<div class="tsd-navigation settings">
|
|
28
28
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cityofzion/bs-neo-legacy",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.2",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"author": "Coz",
|
|
@@ -9,10 +9,9 @@
|
|
|
9
9
|
"build": "tsc && typedoc"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@cityofzion/blockchain-service": "0.4.
|
|
12
|
+
"@cityofzion/blockchain-service": "0.4.2",
|
|
13
13
|
"@cityofzion/dora-ts": "0.0.11",
|
|
14
14
|
"@cityofzion/neon-js": "^4.8.3",
|
|
15
|
-
"@cityofzion/wallet-sdk": "0.1.0",
|
|
16
15
|
"axios": "1.3.2"
|
|
17
16
|
},
|
|
18
17
|
"devDependencies": {
|
package/src/BSNeoLegacy.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { Account, BDSClaimable, BlockchainDataService, BlockchainService,
|
|
1
|
+
import { Account, keychain, BDSClaimable, BlockchainDataService, BlockchainService, CalculateTransferFeeResponse, ClaimResponse, Claimable, Exchange, IntentTransactionParam, SendTransactionParam, Token, TokenInfo } from '@cityofzion/blockchain-service'
|
|
2
2
|
import { api, sc, u, wallet } from '@cityofzion/neon-js'
|
|
3
3
|
import { explorerNeoLegacyOption } from './explorer'
|
|
4
4
|
import { nativeAssetsNeoLegacy, unclaimedTokenNeoLegacy } from './constants'
|
|
5
5
|
const [, neoToken] = nativeAssetsNeoLegacy
|
|
6
6
|
import tokens from './asset/tokens.json'
|
|
7
|
-
import { BIP39Encoded } from '@cityofzion/wallet-sdk'
|
|
8
7
|
|
|
9
8
|
export class BSNeoLegacy<BSCustomName extends string = string> implements BlockchainService, Claimable {
|
|
10
9
|
dataService: BlockchainDataService & BDSClaimable = explorerNeoLegacyOption.dora
|
|
@@ -30,15 +29,13 @@ export class BSNeoLegacy<BSCustomName extends string = string> implements Blockc
|
|
|
30
29
|
return wallet.isWIF(wif)
|
|
31
30
|
}
|
|
32
31
|
generateMnemonic(): string[] {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
return phonetic
|
|
32
|
+
keychain.generateMnemonic(128)
|
|
33
|
+
if (!keychain.mnemonic) throw new Error("Failed to generate mnemonic")
|
|
34
|
+
return keychain.mnemonic.toString().split(' ')
|
|
37
35
|
}
|
|
38
36
|
generateAccount(mnemonic: string[], index: number): Account {
|
|
39
|
-
|
|
40
|
-
const
|
|
41
|
-
const childKey = keychain.generateChildKey(this.derivationPath.replace('?', index.toString()))
|
|
37
|
+
keychain.importMnemonic(mnemonic.join(' '))
|
|
38
|
+
const childKey = keychain.generateChildKey("neo", this.derivationPath.replace('?', index.toString()))
|
|
42
39
|
const wif = childKey.getWIF()
|
|
43
40
|
const { address } = new wallet.Account(wif)
|
|
44
41
|
return { address, wif }
|