@cityofzion/bs-neo3 0.1.0 → 0.2.0
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/.rush/temp/operation/build/state.json +1 -1
- package/.rush/temp/package-deps_build.json +4 -4
- package/.rush/temp/shrinkwrap-deps.json +16 -2
- package/dist/BSNeo3.d.ts +7 -15
- package/dist/BSNeo3.js +51 -31
- package/docs/assets/search.js +1 -1
- package/docs/classes/BDSNeo3.html +13 -13
- package/docs/classes/BSNeo3.html +60 -49
- package/docs/interfaces/DoraNeo3Abi.html +6 -6
- package/docs/interfaces/DoraNeo3Asset.html +9 -9
- package/docs/interfaces/DoraNeo3AssetState.html +6 -6
- package/docs/interfaces/DoraNeo3Balance.html +5 -5
- package/docs/interfaces/DoraNeo3ConsensusNode.html +3 -3
- package/docs/interfaces/DoraNeo3Contract.html +8 -8
- package/docs/interfaces/DoraNeo3Event.html +3 -3
- package/docs/interfaces/DoraNeo3Features.html +1 -1
- package/docs/interfaces/DoraNeo3HistoryState.html +3 -3
- package/docs/interfaces/DoraNeo3Invocation.html +3 -3
- package/docs/interfaces/DoraNeo3Item.html +11 -11
- package/docs/interfaces/DoraNeo3Manifest.html +9 -9
- package/docs/interfaces/DoraNeo3Metadata.html +12 -12
- package/docs/interfaces/DoraNeo3Method.html +12 -12
- package/docs/interfaces/DoraNeo3Nef.html +7 -7
- package/docs/interfaces/DoraNeo3Notification.html +4 -4
- package/docs/interfaces/DoraNeo3Parameter.html +3 -3
- package/docs/interfaces/DoraNeo3Permission.html +3 -3
- package/docs/interfaces/DoraNeo3Signer.html +3 -3
- package/docs/interfaces/DoraNeo3Token.html +6 -6
- package/docs/interfaces/DoraNeo3Transaction.html +16 -16
- package/docs/interfaces/DoraNeo3TransactionHistory.html +3 -3
- package/docs/interfaces/DoraNeo3Transfer.html +9 -9
- package/docs/interfaces/DoraNeo3Witness.html +3 -3
- package/docs/variables/DORA_ASSET.html +1 -1
- package/docs/variables/DORA_BALANCE.html +1 -1
- package/docs/variables/DORA_CONTRACT.html +1 -1
- package/docs/variables/DORA_NODES.html +1 -1
- package/docs/variables/DORA_TRANSACTION.html +1 -1
- package/docs/variables/DORA_TRANSACTIONS.html +1 -1
- package/docs/variables/explorerOptions.html +1 -1
- package/docs/variables/gasInfoNeo3.html +1 -1
- package/docs/variables/neoInfoNeo3.html +1 -1
- package/package.json +8 -9
- package/src/BSNeo3.ts +59 -36
- /package/dist/{excpetions.d.ts → exceptions.d.ts} +0 -0
- /package/dist/{excpetions.js → exceptions.js} +0 -0
- /package/src/{excpetions.ts → exceptions.ts} +0 -0
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
<ul class="tsd-hierarchy">
|
|
21
21
|
<li><span class="target">DoraNeo3Transaction</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/38910fc/packages/bs-neo3/src/explorer/dora/DoraNeo3Responses.ts#L12">explorer/dora/DoraNeo3Responses.ts:12</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">
|
|
@@ -50,77 +50,77 @@
|
|
|
50
50
|
<h3 class="tsd-anchor-link"><span>attributes</span><a href="#attributes" 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>
|
|
51
51
|
<div class="tsd-signature">attributes<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</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/38910fc/packages/bs-neo3/src/explorer/dora/DoraNeo3Responses.ts#L22">explorer/dora/DoraNeo3Responses.ts:22</a></li></ul></aside></section>
|
|
54
54
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="block" class="tsd-anchor"></a>
|
|
55
55
|
<h3 class="tsd-anchor-link"><span>block</span><a href="#block" 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">block<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/38910fc/packages/bs-neo3/src/explorer/dora/DoraNeo3Responses.ts#L25">explorer/dora/DoraNeo3Responses.ts:25</a></li></ul></aside></section>
|
|
59
59
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="hash" class="tsd-anchor"></a>
|
|
60
60
|
<h3 class="tsd-anchor-link"><span>hash</span><a href="#hash" 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">hash<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</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/38910fc/packages/bs-neo3/src/explorer/dora/DoraNeo3Responses.ts#L13">explorer/dora/DoraNeo3Responses.ts:13</a></li></ul></aside></section>
|
|
64
64
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="jsonsize" class="tsd-anchor"></a>
|
|
65
65
|
<h3 class="tsd-anchor-link"><span>jsonsize</span><a href="#jsonsize" 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>
|
|
66
66
|
<div class="tsd-signature">jsonsize<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources">
|
|
67
67
|
<ul>
|
|
68
|
-
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/
|
|
68
|
+
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/38910fc/packages/bs-neo3/src/explorer/dora/DoraNeo3Responses.ts#L26">explorer/dora/DoraNeo3Responses.ts:26</a></li></ul></aside></section>
|
|
69
69
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="netfee" class="tsd-anchor"></a>
|
|
70
70
|
<h3 class="tsd-anchor-link"><span>netfee</span><a href="#netfee" 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>
|
|
71
71
|
<div class="tsd-signature">netfee<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
|
|
72
72
|
<ul>
|
|
73
|
-
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/
|
|
73
|
+
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/38910fc/packages/bs-neo3/src/explorer/dora/DoraNeo3Responses.ts#L19">explorer/dora/DoraNeo3Responses.ts:19</a></li></ul></aside></section>
|
|
74
74
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="nonce" class="tsd-anchor"></a>
|
|
75
75
|
<h3 class="tsd-anchor-link"><span>nonce</span><a href="#nonce" 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>
|
|
76
76
|
<div class="tsd-signature">nonce<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources">
|
|
77
77
|
<ul>
|
|
78
|
-
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/
|
|
78
|
+
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/38910fc/packages/bs-neo3/src/explorer/dora/DoraNeo3Responses.ts#L16">explorer/dora/DoraNeo3Responses.ts:16</a></li></ul></aside></section>
|
|
79
79
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="script" class="tsd-anchor"></a>
|
|
80
80
|
<h3 class="tsd-anchor-link"><span>script</span><a href="#script" 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>
|
|
81
81
|
<div class="tsd-signature">script<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
|
|
82
82
|
<ul>
|
|
83
|
-
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/
|
|
83
|
+
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/38910fc/packages/bs-neo3/src/explorer/dora/DoraNeo3Responses.ts#L23">explorer/dora/DoraNeo3Responses.ts:23</a></li></ul></aside></section>
|
|
84
84
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="sender" class="tsd-anchor"></a>
|
|
85
85
|
<h3 class="tsd-anchor-link"><span>sender</span><a href="#sender" 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>
|
|
86
86
|
<div class="tsd-signature">sender<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
|
|
87
87
|
<ul>
|
|
88
|
-
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/
|
|
88
|
+
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/38910fc/packages/bs-neo3/src/explorer/dora/DoraNeo3Responses.ts#L17">explorer/dora/DoraNeo3Responses.ts:17</a></li></ul></aside></section>
|
|
89
89
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="signers" class="tsd-anchor"></a>
|
|
90
90
|
<h3 class="tsd-anchor-link"><span>signers</span><a href="#signers" 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>
|
|
91
91
|
<div class="tsd-signature">signers<span class="tsd-signature-symbol">:</span> <a href="DoraNeo3Signer.html" class="tsd-signature-type" data-tsd-kind="Interface">DoraNeo3Signer</a><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources">
|
|
92
92
|
<ul>
|
|
93
|
-
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/
|
|
93
|
+
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/38910fc/packages/bs-neo3/src/explorer/dora/DoraNeo3Responses.ts#L21">explorer/dora/DoraNeo3Responses.ts:21</a></li></ul></aside></section>
|
|
94
94
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="size" class="tsd-anchor"></a>
|
|
95
95
|
<h3 class="tsd-anchor-link"><span>size</span><a href="#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>
|
|
96
96
|
<div class="tsd-signature">size<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources">
|
|
97
97
|
<ul>
|
|
98
|
-
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/
|
|
98
|
+
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/38910fc/packages/bs-neo3/src/explorer/dora/DoraNeo3Responses.ts#L14">explorer/dora/DoraNeo3Responses.ts:14</a></li></ul></aside></section>
|
|
99
99
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="sysfee" class="tsd-anchor"></a>
|
|
100
100
|
<h3 class="tsd-anchor-link"><span>sysfee</span><a href="#sysfee" 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>
|
|
101
101
|
<div class="tsd-signature">sysfee<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
|
|
102
102
|
<ul>
|
|
103
|
-
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/
|
|
103
|
+
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/38910fc/packages/bs-neo3/src/explorer/dora/DoraNeo3Responses.ts#L18">explorer/dora/DoraNeo3Responses.ts:18</a></li></ul></aside></section>
|
|
104
104
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="time" class="tsd-anchor"></a>
|
|
105
105
|
<h3 class="tsd-anchor-link"><span>time</span><a href="#time" 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>
|
|
106
106
|
<div class="tsd-signature">time<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
|
|
107
107
|
<ul>
|
|
108
|
-
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/
|
|
108
|
+
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/38910fc/packages/bs-neo3/src/explorer/dora/DoraNeo3Responses.ts#L27">explorer/dora/DoraNeo3Responses.ts:27</a></li></ul></aside></section>
|
|
109
109
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="validuntilblock" class="tsd-anchor"></a>
|
|
110
110
|
<h3 class="tsd-anchor-link"><span>validuntilblock</span><a href="#validuntilblock" 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>
|
|
111
111
|
<div class="tsd-signature">validuntilblock<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources">
|
|
112
112
|
<ul>
|
|
113
|
-
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/
|
|
113
|
+
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/38910fc/packages/bs-neo3/src/explorer/dora/DoraNeo3Responses.ts#L20">explorer/dora/DoraNeo3Responses.ts:20</a></li></ul></aside></section>
|
|
114
114
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="version" class="tsd-anchor"></a>
|
|
115
115
|
<h3 class="tsd-anchor-link"><span>version</span><a href="#version" 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>
|
|
116
116
|
<div class="tsd-signature">version<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources">
|
|
117
117
|
<ul>
|
|
118
|
-
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/
|
|
118
|
+
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/38910fc/packages/bs-neo3/src/explorer/dora/DoraNeo3Responses.ts#L15">explorer/dora/DoraNeo3Responses.ts:15</a></li></ul></aside></section>
|
|
119
119
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="witnesses" class="tsd-anchor"></a>
|
|
120
120
|
<h3 class="tsd-anchor-link"><span>witnesses</span><a href="#witnesses" 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>
|
|
121
121
|
<div class="tsd-signature">witnesses<span class="tsd-signature-symbol">:</span> <a href="DoraNeo3Witness.html" class="tsd-signature-type" data-tsd-kind="Interface">DoraNeo3Witness</a><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources">
|
|
122
122
|
<ul>
|
|
123
|
-
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/
|
|
123
|
+
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/38910fc/packages/bs-neo3/src/explorer/dora/DoraNeo3Responses.ts#L24">explorer/dora/DoraNeo3Responses.ts:24</a></li></ul></aside></section></section></div>
|
|
124
124
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
125
125
|
<div class="tsd-navigation settings">
|
|
126
126
|
<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">DoraNeo3TransactionHistory</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/38910fc/packages/bs-neo3/src/explorer/dora/DoraNeo3Responses.ts#L92">explorer/dora/DoraNeo3Responses.ts:92</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>items</span><a href="#items" 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">items<span class="tsd-signature-symbol">:</span> <a href="DoraNeo3Item.html" class="tsd-signature-type" data-tsd-kind="Interface">DoraNeo3Item</a><span class="tsd-signature-symbol">[]</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/38910fc/packages/bs-neo3/src/explorer/dora/DoraNeo3Responses.ts#L93">explorer/dora/DoraNeo3Responses.ts:93</a></li></ul></aside></section>
|
|
41
41
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="totalCount" class="tsd-anchor"></a>
|
|
42
42
|
<h3 class="tsd-anchor-link"><span>total<wbr/>Count</span><a href="#totalCount" 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">total<wbr/>Count<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/38910fc/packages/bs-neo3/src/explorer/dora/DoraNeo3Responses.ts#L94">explorer/dora/DoraNeo3Responses.ts:94</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">DoraNeo3Transfer</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/38910fc/packages/bs-neo3/src/explorer/dora/DoraNeo3Responses.ts#L57">explorer/dora/DoraNeo3Responses.ts:57</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">
|
|
@@ -43,42 +43,42 @@
|
|
|
43
43
|
<h3 class="tsd-anchor-link"><span>amount</span><a href="#amount" 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>
|
|
44
44
|
<div class="tsd-signature">amount<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</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/38910fc/packages/bs-neo3/src/explorer/dora/DoraNeo3Responses.ts#L62">explorer/dora/DoraNeo3Responses.ts:62</a></li></ul></aside></section>
|
|
47
47
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="block" class="tsd-anchor"></a>
|
|
48
48
|
<h3 class="tsd-anchor-link"><span>block</span><a href="#block" 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">block<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/38910fc/packages/bs-neo3/src/explorer/dora/DoraNeo3Responses.ts#L63">explorer/dora/DoraNeo3Responses.ts:63</a></li></ul></aside></section>
|
|
52
52
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="from" class="tsd-anchor"></a>
|
|
53
53
|
<h3 class="tsd-anchor-link"><span>from</span><a href="#from" 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>
|
|
54
54
|
<div class="tsd-signature">from<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
|
|
55
55
|
<ul>
|
|
56
|
-
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/
|
|
56
|
+
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/38910fc/packages/bs-neo3/src/explorer/dora/DoraNeo3Responses.ts#L58">explorer/dora/DoraNeo3Responses.ts:58</a></li></ul></aside></section>
|
|
57
57
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="scripthash" class="tsd-anchor"></a>
|
|
58
58
|
<h3 class="tsd-anchor-link"><span>scripthash</span><a href="#scripthash" 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>
|
|
59
59
|
<div class="tsd-signature">scripthash<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
|
|
60
60
|
<ul>
|
|
61
|
-
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/
|
|
61
|
+
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/38910fc/packages/bs-neo3/src/explorer/dora/DoraNeo3Responses.ts#L61">explorer/dora/DoraNeo3Responses.ts:61</a></li></ul></aside></section>
|
|
62
62
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="time" class="tsd-anchor"></a>
|
|
63
63
|
<h3 class="tsd-anchor-link"><span>time</span><a href="#time" 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>
|
|
64
64
|
<div class="tsd-signature">time<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
|
|
65
65
|
<ul>
|
|
66
|
-
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/
|
|
66
|
+
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/38910fc/packages/bs-neo3/src/explorer/dora/DoraNeo3Responses.ts#L60">explorer/dora/DoraNeo3Responses.ts:60</a></li></ul></aside></section>
|
|
67
67
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="to" class="tsd-anchor"></a>
|
|
68
68
|
<h3 class="tsd-anchor-link"><span>to</span><a href="#to" 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>
|
|
69
69
|
<div class="tsd-signature">to<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
|
|
70
70
|
<ul>
|
|
71
|
-
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/
|
|
71
|
+
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/38910fc/packages/bs-neo3/src/explorer/dora/DoraNeo3Responses.ts#L59">explorer/dora/DoraNeo3Responses.ts:59</a></li></ul></aside></section>
|
|
72
72
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="transferindex" class="tsd-anchor"></a>
|
|
73
73
|
<h3 class="tsd-anchor-link"><span>transferindex</span><a href="#transferindex" 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>
|
|
74
74
|
<div class="tsd-signature">transferindex<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
|
|
75
75
|
<ul>
|
|
76
|
-
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/
|
|
76
|
+
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/38910fc/packages/bs-neo3/src/explorer/dora/DoraNeo3Responses.ts#L65">explorer/dora/DoraNeo3Responses.ts:65</a></li></ul></aside></section>
|
|
77
77
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="txid" class="tsd-anchor"></a>
|
|
78
78
|
<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"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
79
79
|
<div class="tsd-signature">txid<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
|
|
80
80
|
<ul>
|
|
81
|
-
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/
|
|
81
|
+
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/38910fc/packages/bs-neo3/src/explorer/dora/DoraNeo3Responses.ts#L64">explorer/dora/DoraNeo3Responses.ts:64</a></li></ul></aside></section></section></div>
|
|
82
82
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
83
83
|
<div class="tsd-navigation settings">
|
|
84
84
|
<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">DoraNeo3Witness</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/38910fc/packages/bs-neo3/src/explorer/dora/DoraNeo3Responses.ts#L7">explorer/dora/DoraNeo3Responses.ts:7</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>invocation</span><a href="#invocation" 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">invocation<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/38910fc/packages/bs-neo3/src/explorer/dora/DoraNeo3Responses.ts#L8">explorer/dora/DoraNeo3Responses.ts:8</a></li></ul></aside></section>
|
|
41
41
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="verification" class="tsd-anchor"></a>
|
|
42
42
|
<h3 class="tsd-anchor-link"><span>verification</span><a href="#verification" 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">verification<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</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/38910fc/packages/bs-neo3/src/explorer/dora/DoraNeo3Responses.ts#L9">explorer/dora/DoraNeo3Responses.ts:9</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">
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
<h1>Variable DORA_ASSET<code class="tsd-tag ts-flagConst">Const</code> </h1></div>
|
|
18
18
|
<div class="tsd-signature">DORA_<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/38910fc/packages/bs-neo3/src/explorer/dora/DoraNeo3Routes.ts#L6">explorer/dora/DoraNeo3Routes.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_BALANCE<code class="tsd-tag ts-flagConst">Const</code> </h1></div>
|
|
18
18
|
<div class="tsd-signature">DORA_<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/38910fc/packages/bs-neo3/src/explorer/dora/DoraNeo3Routes.ts#L4">explorer/dora/DoraNeo3Routes.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_CONTRACT<code class="tsd-tag ts-flagConst">Const</code> </h1></div>
|
|
18
18
|
<div class="tsd-signature">DORA_<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/38910fc/packages/bs-neo3/src/explorer/dora/DoraNeo3Routes.ts#L5">explorer/dora/DoraNeo3Routes.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_NODES<code class="tsd-tag ts-flagConst">Const</code> </h1></div>
|
|
18
18
|
<div class="tsd-signature">DORA_<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/38910fc/packages/bs-neo3/src/explorer/dora/DoraNeo3Routes.ts#L2">explorer/dora/DoraNeo3Routes.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_TRANSACTION<code class="tsd-tag ts-flagConst">Const</code> </h1></div>
|
|
18
18
|
<div class="tsd-signature">DORA_<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/38910fc/packages/bs-neo3/src/explorer/dora/DoraNeo3Routes.ts#L1">explorer/dora/DoraNeo3Routes.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_TRANSACTIONS<code class="tsd-tag ts-flagConst">Const</code> </h1></div>
|
|
18
18
|
<div class="tsd-signature">DORA_<wbr/>TRANSACTIONS<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"address_txfull"</span><span class="tsd-signature-symbol"> = 'address_txfull'</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/38910fc/packages/bs-neo3/src/explorer/dora/DoraNeo3Routes.ts#L3">explorer/dora/DoraNeo3Routes.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">
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
<li class="tsd-parameter">
|
|
23
23
|
<h5>dora<span class="tsd-signature-symbol">: </span><a href="../classes/BDSNeo3.html" class="tsd-signature-type" data-tsd-kind="Class">BDSNeo3</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/38910fc/packages/bs-neo3/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">
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
<li class="tsd-parameter">
|
|
27
27
|
<h5>symbol<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5></li></ul></div><aside class="tsd-sources">
|
|
28
28
|
<ul>
|
|
29
|
-
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/
|
|
29
|
+
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/38910fc/packages/bs-neo3/src/constants.ts#L1">constants.ts:1</a></li></ul></aside></div>
|
|
30
30
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
31
31
|
<div class="tsd-navigation settings">
|
|
32
32
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
<li class="tsd-parameter">
|
|
27
27
|
<h5>symbol<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5></li></ul></div><aside class="tsd-sources">
|
|
28
28
|
<ul>
|
|
29
|
-
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/
|
|
29
|
+
<li>Defined in <a href="https://github.com/CityOfZion/blockchain-services/blob/38910fc/packages/bs-neo3/src/constants.ts#L7">constants.ts:7</a></li></ul></aside></div>
|
|
30
30
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
31
31
|
<div class="tsd-navigation settings">
|
|
32
32
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
package/package.json
CHANGED
|
@@ -1,16 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cityofzion/bs-neo3",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
|
+
"repository": "https://github.com/CityOfZion/blockchain-services",
|
|
6
7
|
"author": "Coz",
|
|
7
8
|
"license": "MIT",
|
|
8
9
|
"scripts": {
|
|
9
10
|
"build": "tsc && typedoc src/index.ts"
|
|
10
11
|
},
|
|
11
12
|
"dependencies": {
|
|
12
|
-
"@cityofzion/neon-js": "^5.
|
|
13
|
-
"@cityofzion/
|
|
13
|
+
"@cityofzion/neon-js": "^5.4.0",
|
|
14
|
+
"@cityofzion/neon-invoker": "1.4.0",
|
|
15
|
+
"@cityofzion/neon-parser": "1.6.2",
|
|
16
|
+
"@cityofzion/neo3-parser": "1.6.0",
|
|
17
|
+
"@cityofzion/blockchain-service": "0.2.0",
|
|
14
18
|
"@moonlight-io/asteroid-sdk-js": "git+https://github.com/Moonlight-io/asteroid-sdk-js",
|
|
15
19
|
"axios": "1.3.2",
|
|
16
20
|
"@cityofzion/dora-ts": "0.0.11"
|
|
@@ -19,10 +23,5 @@
|
|
|
19
23
|
"ts-node": "10.9.1",
|
|
20
24
|
"typescript": "4.9.5",
|
|
21
25
|
"typedoc": "0.23.24"
|
|
22
|
-
},
|
|
23
|
-
"repository": {
|
|
24
|
-
"type": "git",
|
|
25
|
-
"url": "https://github.com/CityOfZion/blockchain-services",
|
|
26
|
-
"directory": "packages/bs-neo3"
|
|
27
26
|
}
|
|
28
|
-
}
|
|
27
|
+
}
|
package/src/BSNeo3.ts
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
import { BlockchainDataService, BlockchainService, CalculateTransferFeeDetails, SendTransactionParam, Claimable, Account, Exchange, BDSClaimable, exchangeOptions, Token, IntentTransactionParam, NeoNameService, NNSRecordTypes } from '@cityofzion/blockchain-service'
|
|
1
|
+
import { BlockchainDataService, BlockchainService, CalculateTransferFeeDetails, SendTransactionParam, Claimable, Account, Exchange, BDSClaimable, exchangeOptions, Token, IntentTransactionParam, NeoNameService, NNSRecordTypes, CalculateTransferFeeResponse } from '@cityofzion/blockchain-service'
|
|
2
2
|
import { api, rpc, tx, u, wallet } from '@cityofzion/neon-js'
|
|
3
3
|
import * as AsteroidSDK from '@moonlight-io/asteroid-sdk-js'
|
|
4
4
|
import { gasInfoNeo3, neoInfoNeo3 } from './constants'
|
|
5
|
-
import { claimGasExceptions } from './
|
|
5
|
+
import { claimGasExceptions } from './exceptions'
|
|
6
6
|
import { explorerOptions } from './explorer'
|
|
7
7
|
import tokens from './assets/tokens.json'
|
|
8
|
+
import { NeonInvoker } from '@cityofzion/neon-invoker'
|
|
9
|
+
import {NeonParser} from "@cityofzion/neon-parser"
|
|
10
|
+
import { ABI_TYPES, HINT_TYPES } from '@cityofzion/neo3-parser'
|
|
8
11
|
|
|
9
12
|
const NEO_NS_HASH = "0x50ac1c37690cc2cfc594472833cf57505d5f46de";
|
|
10
13
|
|
|
@@ -35,7 +38,7 @@ export class BSNeo3<BSCustomName extends string = string> implements BlockchainS
|
|
|
35
38
|
}
|
|
36
39
|
private buildTransfer(transactionIntents: IntentTransactionParam[], account: Account) {
|
|
37
40
|
const intents: api.Nep17TransferIntent[] = []
|
|
38
|
-
const neoAccount = new wallet.Account(account.
|
|
41
|
+
const neoAccount = new wallet.Account(account.wif)
|
|
39
42
|
for (const transactionIntent of transactionIntents) {
|
|
40
43
|
const { amount, receiverAddress, tokenHash } = transactionIntent
|
|
41
44
|
intents.push({
|
|
@@ -48,7 +51,7 @@ export class BSNeo3<BSCustomName extends string = string> implements BlockchainS
|
|
|
48
51
|
return intents
|
|
49
52
|
}
|
|
50
53
|
private signTransfer(account: Account) {
|
|
51
|
-
const neoAccount = new wallet.Account(account.
|
|
54
|
+
const neoAccount = new wallet.Account(account.address)
|
|
52
55
|
const result: api.signingConfig = {
|
|
53
56
|
signingCallback: api.signWithAccount(neoAccount)
|
|
54
57
|
}
|
|
@@ -65,7 +68,7 @@ export class BSNeo3<BSCustomName extends string = string> implements BlockchainS
|
|
|
65
68
|
const childKey = this.keychain.generateChildKey('neo', this.derivationPath.replace('?', index.toString()))
|
|
66
69
|
return childKey.getWIF()
|
|
67
70
|
}
|
|
68
|
-
generateAccount(mnemonic: string, index: number):
|
|
71
|
+
generateAccount(mnemonic: string, index: number): Account {
|
|
69
72
|
const wif = this.generateWif(mnemonic, index)
|
|
70
73
|
const { address } = new wallet.Account(wif)
|
|
71
74
|
return { address, wif }
|
|
@@ -74,7 +77,7 @@ export class BSNeo3<BSCustomName extends string = string> implements BlockchainS
|
|
|
74
77
|
const { address } = new wallet.Account(wif)
|
|
75
78
|
return address
|
|
76
79
|
}
|
|
77
|
-
async decryptKey(encryptedKey: string, password: string): Promise<
|
|
80
|
+
async decryptKey(encryptedKey: string, password: string): Promise<Account> {
|
|
78
81
|
const wif = await wallet.decrypt(encryptedKey, password)
|
|
79
82
|
const { address } = new wallet.Account(wif)
|
|
80
83
|
return { address, wif }
|
|
@@ -88,7 +91,7 @@ export class BSNeo3<BSCustomName extends string = string> implements BlockchainS
|
|
|
88
91
|
validateWif(wif: string): boolean {
|
|
89
92
|
return wallet.isWIF(wif)
|
|
90
93
|
}
|
|
91
|
-
async calculateTransferFee(param: SendTransactionParam): Promise<
|
|
94
|
+
async calculateTransferFee(param: SendTransactionParam): Promise<CalculateTransferFeeResponse> {
|
|
92
95
|
const node = await this.dataService.getHigherNode()
|
|
93
96
|
const url = node.url
|
|
94
97
|
const rpcClient = new rpc.NeoServerRpcClient(url)
|
|
@@ -113,7 +116,7 @@ export class BSNeo3<BSCustomName extends string = string> implements BlockchainS
|
|
|
113
116
|
}
|
|
114
117
|
}
|
|
115
118
|
const txn = txBuilder.build()
|
|
116
|
-
const accountScriptHash = wallet.getScriptHashFromAddress(param.senderAccount.
|
|
119
|
+
const accountScriptHash = wallet.getScriptHashFromAddress(param.senderAccount.address)
|
|
117
120
|
const invokeFunctionResponse = await rpcClient.invokeScript(
|
|
118
121
|
u.HexString.fromHex(txn.script),
|
|
119
122
|
[
|
|
@@ -144,16 +147,16 @@ export class BSNeo3<BSCustomName extends string = string> implements BlockchainS
|
|
|
144
147
|
}
|
|
145
148
|
//Claimable interface implementation
|
|
146
149
|
async claim(account: Account): Promise<{ txid: string; symbol: string; hash: string; }> {
|
|
147
|
-
const balance = await this.dataService.getBalance(account.
|
|
150
|
+
const balance = await this.dataService.getBalance(account.address)
|
|
148
151
|
const neoHash = neoInfoNeo3.hash
|
|
149
152
|
const neoBalance = balance.find(balance => balance.hash === neoHash)
|
|
150
153
|
const gasBalance = balance.find(balance => balance.hash === gasInfoNeo3.hash)
|
|
151
|
-
const neoAccount = new wallet.Account(account.
|
|
154
|
+
const neoAccount = new wallet.Account(account.wif)
|
|
152
155
|
|
|
153
156
|
if (!neoBalance || !gasBalance) throw new Error(`Problem to claim`);
|
|
154
157
|
|
|
155
158
|
const dataToClaim: SendTransactionParam = {
|
|
156
|
-
transactionIntents: [{ amount: neoBalance.amount, receiverAddress: account.
|
|
159
|
+
transactionIntents: [{ amount: neoBalance.amount, receiverAddress: account.address, tokenHash: neoBalance.hash }],
|
|
157
160
|
senderAccount: account
|
|
158
161
|
}
|
|
159
162
|
|
|
@@ -174,32 +177,52 @@ export class BSNeo3<BSCustomName extends string = string> implements BlockchainS
|
|
|
174
177
|
return result;
|
|
175
178
|
}
|
|
176
179
|
// Gets the record of a second-level domain or its subdomains with the specific type.
|
|
177
|
-
async
|
|
180
|
+
async getNNSRecord(
|
|
178
181
|
domainName: string,
|
|
179
|
-
type:
|
|
182
|
+
type: NNSRecordTypes
|
|
180
183
|
): Promise<any> {
|
|
181
|
-
const
|
|
182
|
-
const
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
const
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
184
|
+
const higherNode = await this.dataService.getHigherNode()
|
|
185
|
+
const parser = NeonParser
|
|
186
|
+
const invoker = await NeonInvoker.init(higherNode.url)
|
|
187
|
+
const response = await invoker.testInvoke({
|
|
188
|
+
invocations: [{
|
|
189
|
+
scriptHash: NEO_NS_HASH,
|
|
190
|
+
operation: "getRecord",
|
|
191
|
+
args: [{ type: "String", value: domainName }, { type: "Integer", value: type }]
|
|
192
|
+
}]
|
|
193
|
+
})
|
|
194
|
+
|
|
195
|
+
if (response.stack.length === 0) {
|
|
196
|
+
throw new Error(response.exception ?? 'unrecognized response')
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
const parsed = parser.parseRpcResponse(response.stack[0] as any)
|
|
200
|
+
return parsed
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
async getOwnerOfNNS(domainName: string): Promise<any> {
|
|
204
|
+
const higherNode = await this.dataService.getHigherNode()
|
|
205
|
+
const parser = NeonParser
|
|
206
|
+
const invoker = await NeonInvoker.init(higherNode.url)
|
|
207
|
+
const response = await invoker.testInvoke({
|
|
208
|
+
invocations: [{
|
|
209
|
+
scriptHash: NEO_NS_HASH,
|
|
210
|
+
operation: "ownerOf",
|
|
211
|
+
args: [{ type: "String", value: domainName }]
|
|
212
|
+
}]
|
|
213
|
+
})
|
|
214
|
+
|
|
215
|
+
if (response.stack.length === 0) {
|
|
216
|
+
throw new Error(response.exception ?? 'unrecognized response')
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
const parsed = parser.parseRpcResponse(response.stack[0] as any, {type: ABI_TYPES.HASH160.name})
|
|
220
|
+
const address = parser.accountInputToAddress(parsed.replace("0x", ""))
|
|
221
|
+
return address
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
validateNNSFormat(domainName: string): boolean {
|
|
225
|
+
if (!domainName.endsWith('.neo')) return false
|
|
226
|
+
return true
|
|
204
227
|
}
|
|
205
228
|
}
|
|
File without changes
|
|
File without changes
|