@leofcoin/chain 1.0.21 → 1.0.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (409) hide show
  1. package/.jsdoc.json +1 -1
  2. package/dist/chain.browser.js +11246 -17187
  3. package/dist/chain.js +42 -47
  4. package/dist/node.browser.js +9086 -66876
  5. package/dist/node.js +1 -1
  6. package/dist/pako.browser.js +6731 -0
  7. package/dist/protons.browser.js +3786 -0
  8. package/dist/wrtc.browser.js +28 -0
  9. package/docs/@leofcoin/chain/{1.0.16 → 1.0.22}/chain.js.html +138 -139
  10. package/docs/@leofcoin/chain/{1.0.12 → 1.0.22}/contracts_factory.js.html +123 -123
  11. package/docs/@leofcoin/chain/{1.0.14 → 1.0.22}/contracts_nameService.js.html +123 -123
  12. package/docs/@leofcoin/chain/{1.0.13 → 1.0.22}/contracts_proxies_factoryProxy.js.html +123 -123
  13. package/docs/@leofcoin/chain/{1.0.13 → 1.0.22}/contracts_proxies_nameServiceProxy.js.html +123 -123
  14. package/docs/@leofcoin/chain/{1.0.13 → 1.0.22}/contracts_proxies_nativeTokenProxy.js.html +123 -123
  15. package/docs/@leofcoin/chain/{1.0.12 → 1.0.22}/contracts_proxies_validatorsProxy.js.html +123 -123
  16. package/docs/@leofcoin/chain/{1.0.12 → 1.0.22}/contracts_proxies_votingProxy.js.html +123 -123
  17. package/docs/@leofcoin/chain/{1.0.14 → 1.0.22}/contracts_validators.js.html +123 -123
  18. package/docs/@leofcoin/chain/{1.0.12 → 1.0.22}/fonts/OpenSans-Bold-webfont.eot +0 -0
  19. package/docs/@leofcoin/chain/{1.0.12 → 1.0.22}/fonts/OpenSans-Bold-webfont.svg +1829 -1829
  20. package/docs/@leofcoin/chain/{1.0.12 → 1.0.22}/fonts/OpenSans-Bold-webfont.woff +0 -0
  21. package/docs/@leofcoin/chain/{1.0.12 → 1.0.22}/fonts/OpenSans-BoldItalic-webfont.eot +0 -0
  22. package/docs/@leofcoin/chain/{1.0.14 → 1.0.22}/fonts/OpenSans-BoldItalic-webfont.svg +1829 -1829
  23. package/docs/@leofcoin/chain/{1.0.12 → 1.0.22}/fonts/OpenSans-BoldItalic-webfont.woff +0 -0
  24. package/docs/@leofcoin/chain/{1.0.12 → 1.0.22}/fonts/OpenSans-Italic-webfont.eot +0 -0
  25. package/docs/@leofcoin/chain/{1.0.13 → 1.0.22}/fonts/OpenSans-Italic-webfont.svg +1829 -1829
  26. package/docs/@leofcoin/chain/{1.0.12 → 1.0.22}/fonts/OpenSans-Italic-webfont.woff +0 -0
  27. package/docs/@leofcoin/chain/{1.0.12 → 1.0.22}/fonts/OpenSans-Light-webfont.eot +0 -0
  28. package/docs/@leofcoin/chain/{1.0.14 → 1.0.22}/fonts/OpenSans-Light-webfont.svg +1830 -1830
  29. package/docs/@leofcoin/chain/{1.0.12 → 1.0.22}/fonts/OpenSans-Light-webfont.woff +0 -0
  30. package/docs/@leofcoin/chain/{1.0.12 → 1.0.22}/fonts/OpenSans-LightItalic-webfont.eot +0 -0
  31. package/docs/@leofcoin/chain/{1.0.12 → 1.0.22}/fonts/OpenSans-LightItalic-webfont.svg +1834 -1834
  32. package/docs/@leofcoin/chain/{1.0.12 → 1.0.22}/fonts/OpenSans-LightItalic-webfont.woff +0 -0
  33. package/docs/@leofcoin/chain/{1.0.12 → 1.0.22}/fonts/OpenSans-Regular-webfont.eot +0 -0
  34. package/docs/@leofcoin/chain/{1.0.13 → 1.0.22}/fonts/OpenSans-Regular-webfont.svg +1830 -1830
  35. package/docs/@leofcoin/chain/{1.0.12 → 1.0.22}/fonts/OpenSans-Regular-webfont.woff +0 -0
  36. package/docs/@leofcoin/chain/{1.0.12 → 1.0.22}/fonts/OpenSans-Semibold-webfont.eot +0 -0
  37. package/docs/@leofcoin/chain/{1.0.14 → 1.0.22}/fonts/OpenSans-Semibold-webfont.svg +1829 -1829
  38. package/docs/@leofcoin/chain/{1.0.12 → 1.0.22}/fonts/OpenSans-Semibold-webfont.ttf +0 -0
  39. package/docs/@leofcoin/chain/{1.0.12 → 1.0.22}/fonts/OpenSans-Semibold-webfont.woff +0 -0
  40. package/docs/@leofcoin/chain/{1.0.12 → 1.0.22}/fonts/OpenSans-SemiboldItalic-webfont.eot +0 -0
  41. package/docs/@leofcoin/chain/{1.0.13 → 1.0.22}/fonts/OpenSans-SemiboldItalic-webfont.svg +1829 -1829
  42. package/docs/@leofcoin/chain/{1.0.12 → 1.0.22}/fonts/OpenSans-SemiboldItalic-webfont.ttf +0 -0
  43. package/docs/@leofcoin/chain/{1.0.12 → 1.0.22}/fonts/OpenSans-SemiboldItalic-webfont.woff +0 -0
  44. package/docs/@leofcoin/chain/{1.0.14 → 1.0.22}/global.html +1152 -1152
  45. package/docs/@leofcoin/chain/{1.0.12 → 1.0.22}/icons/home.svg +3 -3
  46. package/docs/@leofcoin/chain/{1.0.12 → 1.0.22}/icons/search.svg +3 -3
  47. package/docs/@leofcoin/chain/{1.0.12 → 1.0.22}/index.html +124 -124
  48. package/docs/@leofcoin/chain/{1.0.14 → 1.0.22}/machine.js.html +129 -129
  49. package/docs/@leofcoin/chain/{1.0.13 → 1.0.22}/scripts/linenumber.js +23 -23
  50. package/docs/@leofcoin/chain/{1.0.14 → 1.0.22}/scripts/pagelocation.js +89 -89
  51. package/docs/@leofcoin/chain/{1.0.14 → 1.0.22}/standards_roles.js.html +123 -123
  52. package/docs/@leofcoin/chain/{1.0.14 → 1.0.22}/standards_token.js.html +123 -123
  53. package/docs/@leofcoin/chain/{1.0.14 → 1.0.22}/styles/collapse.css +27 -27
  54. package/docs/@leofcoin/chain/{1.0.14 → 1.0.22}/styles/jsdoc-default.css +953 -953
  55. package/docs/@leofcoin/chain/{1.0.13 → 1.0.22}/styles/prettify-jsdoc.css +111 -111
  56. package/docs/@leofcoin/chain/{1.0.14 → 1.0.22}/styles/prettify-tomorrow.css +138 -138
  57. package/package.json +53 -52
  58. package/rollup.config.js +8 -0
  59. package/src/chain.js +15 -16
  60. package/src/machine.js +6 -6
  61. package/src/node.js +1 -2
  62. package/webpack.config.js +8 -138
  63. package/dist/browser/peernet.js +0 -101516
  64. package/dist/chain.browser.js.tmp-browserify-65536332430764332457 +0 -0
  65. package/dist/chain.browser.js.tmp-browserify-77283953363424018335 +0 -0
  66. package/dist/chain.browser.min.js +0 -2
  67. package/dist/chain.browser.min.js.LICENSE.txt +0 -10
  68. package/dist/lib.browser.js +0 -16966
  69. package/dist/native.js +0 -1
  70. package/dist/node.browser.min.js +0 -2
  71. package/dist/node.browser.min.js.LICENSE.txt +0 -12
  72. package/dist/token/native.js +0 -1
  73. package/dist/token.js +0 -1
  74. package/docs/@leofcoin/chain/1.0.12/chain.js.html +0 -738
  75. package/docs/@leofcoin/chain/1.0.12/contracts_nameService.js.html +0 -231
  76. package/docs/@leofcoin/chain/1.0.12/contracts_proxies_factoryProxy.js.html +0 -135
  77. package/docs/@leofcoin/chain/1.0.12/contracts_proxies_nameServiceProxy.js.html +0 -135
  78. package/docs/@leofcoin/chain/1.0.12/contracts_proxies_nativeTokenProxy.js.html +0 -135
  79. package/docs/@leofcoin/chain/1.0.12/contracts_validators.js.html +0 -242
  80. package/docs/@leofcoin/chain/1.0.12/fonts/OpenSans-BoldItalic-webfont.svg +0 -1830
  81. package/docs/@leofcoin/chain/1.0.12/fonts/OpenSans-Italic-webfont.svg +0 -1830
  82. package/docs/@leofcoin/chain/1.0.12/fonts/OpenSans-Light-webfont.svg +0 -1831
  83. package/docs/@leofcoin/chain/1.0.12/fonts/OpenSans-Regular-webfont.svg +0 -1831
  84. package/docs/@leofcoin/chain/1.0.12/fonts/OpenSans-Semibold-webfont.svg +0 -1830
  85. package/docs/@leofcoin/chain/1.0.12/fonts/OpenSans-SemiboldItalic-webfont.svg +0 -1830
  86. package/docs/@leofcoin/chain/1.0.12/global.html +0 -1153
  87. package/docs/@leofcoin/chain/1.0.12/machine.js.html +0 -252
  88. package/docs/@leofcoin/chain/1.0.12/scripts/linenumber.js +0 -23
  89. package/docs/@leofcoin/chain/1.0.12/scripts/pagelocation.js +0 -89
  90. package/docs/@leofcoin/chain/1.0.12/standards_roles.js.html +0 -188
  91. package/docs/@leofcoin/chain/1.0.12/standards_token.js.html +0 -260
  92. package/docs/@leofcoin/chain/1.0.12/styles/collapse.css +0 -27
  93. package/docs/@leofcoin/chain/1.0.12/styles/jsdoc-default.css +0 -953
  94. package/docs/@leofcoin/chain/1.0.12/styles/prettify-jsdoc.css +0 -111
  95. package/docs/@leofcoin/chain/1.0.12/styles/prettify-tomorrow.css +0 -138
  96. package/docs/@leofcoin/chain/1.0.13/chain.js.html +0 -738
  97. package/docs/@leofcoin/chain/1.0.13/contracts_factory.js.html +0 -182
  98. package/docs/@leofcoin/chain/1.0.13/contracts_nameService.js.html +0 -231
  99. package/docs/@leofcoin/chain/1.0.13/contracts_proxies_validatorsProxy.js.html +0 -135
  100. package/docs/@leofcoin/chain/1.0.13/contracts_proxies_votingProxy.js.html +0 -135
  101. package/docs/@leofcoin/chain/1.0.13/contracts_validators.js.html +0 -242
  102. package/docs/@leofcoin/chain/1.0.13/fonts/OpenSans-Bold-webfont.eot +0 -0
  103. package/docs/@leofcoin/chain/1.0.13/fonts/OpenSans-Bold-webfont.svg +0 -1830
  104. package/docs/@leofcoin/chain/1.0.13/fonts/OpenSans-Bold-webfont.woff +0 -0
  105. package/docs/@leofcoin/chain/1.0.13/fonts/OpenSans-BoldItalic-webfont.eot +0 -0
  106. package/docs/@leofcoin/chain/1.0.13/fonts/OpenSans-BoldItalic-webfont.svg +0 -1830
  107. package/docs/@leofcoin/chain/1.0.13/fonts/OpenSans-BoldItalic-webfont.woff +0 -0
  108. package/docs/@leofcoin/chain/1.0.13/fonts/OpenSans-Italic-webfont.eot +0 -0
  109. package/docs/@leofcoin/chain/1.0.13/fonts/OpenSans-Italic-webfont.woff +0 -0
  110. package/docs/@leofcoin/chain/1.0.13/fonts/OpenSans-Light-webfont.eot +0 -0
  111. package/docs/@leofcoin/chain/1.0.13/fonts/OpenSans-Light-webfont.svg +0 -1831
  112. package/docs/@leofcoin/chain/1.0.13/fonts/OpenSans-Light-webfont.woff +0 -0
  113. package/docs/@leofcoin/chain/1.0.13/fonts/OpenSans-LightItalic-webfont.eot +0 -0
  114. package/docs/@leofcoin/chain/1.0.13/fonts/OpenSans-LightItalic-webfont.svg +0 -1835
  115. package/docs/@leofcoin/chain/1.0.13/fonts/OpenSans-LightItalic-webfont.woff +0 -0
  116. package/docs/@leofcoin/chain/1.0.13/fonts/OpenSans-Regular-webfont.eot +0 -0
  117. package/docs/@leofcoin/chain/1.0.13/fonts/OpenSans-Regular-webfont.woff +0 -0
  118. package/docs/@leofcoin/chain/1.0.13/fonts/OpenSans-Semibold-webfont.eot +0 -0
  119. package/docs/@leofcoin/chain/1.0.13/fonts/OpenSans-Semibold-webfont.svg +0 -1830
  120. package/docs/@leofcoin/chain/1.0.13/fonts/OpenSans-Semibold-webfont.ttf +0 -0
  121. package/docs/@leofcoin/chain/1.0.13/fonts/OpenSans-Semibold-webfont.woff +0 -0
  122. package/docs/@leofcoin/chain/1.0.13/fonts/OpenSans-SemiboldItalic-webfont.eot +0 -0
  123. package/docs/@leofcoin/chain/1.0.13/fonts/OpenSans-SemiboldItalic-webfont.ttf +0 -0
  124. package/docs/@leofcoin/chain/1.0.13/fonts/OpenSans-SemiboldItalic-webfont.woff +0 -0
  125. package/docs/@leofcoin/chain/1.0.13/global.html +0 -1153
  126. package/docs/@leofcoin/chain/1.0.13/icons/home.svg +0 -4
  127. package/docs/@leofcoin/chain/1.0.13/icons/search.svg +0 -4
  128. package/docs/@leofcoin/chain/1.0.13/index.html +0 -125
  129. package/docs/@leofcoin/chain/1.0.13/machine.js.html +0 -251
  130. package/docs/@leofcoin/chain/1.0.13/scripts/pagelocation.js +0 -89
  131. package/docs/@leofcoin/chain/1.0.13/standards_roles.js.html +0 -188
  132. package/docs/@leofcoin/chain/1.0.13/standards_token.js.html +0 -260
  133. package/docs/@leofcoin/chain/1.0.13/styles/collapse.css +0 -27
  134. package/docs/@leofcoin/chain/1.0.13/styles/jsdoc-default.css +0 -953
  135. package/docs/@leofcoin/chain/1.0.13/styles/prettify-tomorrow.css +0 -138
  136. package/docs/@leofcoin/chain/1.0.14/chain.js.html +0 -738
  137. package/docs/@leofcoin/chain/1.0.14/contracts_factory.js.html +0 -182
  138. package/docs/@leofcoin/chain/1.0.14/contracts_proxies_factoryProxy.js.html +0 -135
  139. package/docs/@leofcoin/chain/1.0.14/contracts_proxies_nameServiceProxy.js.html +0 -135
  140. package/docs/@leofcoin/chain/1.0.14/contracts_proxies_nativeTokenProxy.js.html +0 -135
  141. package/docs/@leofcoin/chain/1.0.14/contracts_proxies_validatorsProxy.js.html +0 -135
  142. package/docs/@leofcoin/chain/1.0.14/contracts_proxies_votingProxy.js.html +0 -135
  143. package/docs/@leofcoin/chain/1.0.14/fonts/OpenSans-Bold-webfont.eot +0 -0
  144. package/docs/@leofcoin/chain/1.0.14/fonts/OpenSans-Bold-webfont.svg +0 -1830
  145. package/docs/@leofcoin/chain/1.0.14/fonts/OpenSans-Bold-webfont.woff +0 -0
  146. package/docs/@leofcoin/chain/1.0.14/fonts/OpenSans-BoldItalic-webfont.eot +0 -0
  147. package/docs/@leofcoin/chain/1.0.14/fonts/OpenSans-BoldItalic-webfont.woff +0 -0
  148. package/docs/@leofcoin/chain/1.0.14/fonts/OpenSans-Italic-webfont.eot +0 -0
  149. package/docs/@leofcoin/chain/1.0.14/fonts/OpenSans-Italic-webfont.svg +0 -1830
  150. package/docs/@leofcoin/chain/1.0.14/fonts/OpenSans-Italic-webfont.woff +0 -0
  151. package/docs/@leofcoin/chain/1.0.14/fonts/OpenSans-Light-webfont.eot +0 -0
  152. package/docs/@leofcoin/chain/1.0.14/fonts/OpenSans-Light-webfont.woff +0 -0
  153. package/docs/@leofcoin/chain/1.0.14/fonts/OpenSans-LightItalic-webfont.eot +0 -0
  154. package/docs/@leofcoin/chain/1.0.14/fonts/OpenSans-LightItalic-webfont.svg +0 -1835
  155. package/docs/@leofcoin/chain/1.0.14/fonts/OpenSans-LightItalic-webfont.woff +0 -0
  156. package/docs/@leofcoin/chain/1.0.14/fonts/OpenSans-Regular-webfont.eot +0 -0
  157. package/docs/@leofcoin/chain/1.0.14/fonts/OpenSans-Regular-webfont.svg +0 -1831
  158. package/docs/@leofcoin/chain/1.0.14/fonts/OpenSans-Regular-webfont.woff +0 -0
  159. package/docs/@leofcoin/chain/1.0.14/fonts/OpenSans-Semibold-webfont.eot +0 -0
  160. package/docs/@leofcoin/chain/1.0.14/fonts/OpenSans-Semibold-webfont.ttf +0 -0
  161. package/docs/@leofcoin/chain/1.0.14/fonts/OpenSans-Semibold-webfont.woff +0 -0
  162. package/docs/@leofcoin/chain/1.0.14/fonts/OpenSans-SemiboldItalic-webfont.eot +0 -0
  163. package/docs/@leofcoin/chain/1.0.14/fonts/OpenSans-SemiboldItalic-webfont.svg +0 -1830
  164. package/docs/@leofcoin/chain/1.0.14/fonts/OpenSans-SemiboldItalic-webfont.ttf +0 -0
  165. package/docs/@leofcoin/chain/1.0.14/fonts/OpenSans-SemiboldItalic-webfont.woff +0 -0
  166. package/docs/@leofcoin/chain/1.0.14/icons/home.svg +0 -4
  167. package/docs/@leofcoin/chain/1.0.14/icons/search.svg +0 -4
  168. package/docs/@leofcoin/chain/1.0.14/index.html +0 -125
  169. package/docs/@leofcoin/chain/1.0.14/scripts/linenumber.js +0 -23
  170. package/docs/@leofcoin/chain/1.0.14/styles/prettify-jsdoc.css +0 -111
  171. package/docs/@leofcoin/chain/1.0.15/chain.js.html +0 -738
  172. package/docs/@leofcoin/chain/1.0.15/contracts_factory.js.html +0 -182
  173. package/docs/@leofcoin/chain/1.0.15/contracts_nameService.js.html +0 -231
  174. package/docs/@leofcoin/chain/1.0.15/contracts_proxies_factoryProxy.js.html +0 -135
  175. package/docs/@leofcoin/chain/1.0.15/contracts_proxies_nameServiceProxy.js.html +0 -135
  176. package/docs/@leofcoin/chain/1.0.15/contracts_proxies_nativeTokenProxy.js.html +0 -135
  177. package/docs/@leofcoin/chain/1.0.15/contracts_proxies_validatorsProxy.js.html +0 -135
  178. package/docs/@leofcoin/chain/1.0.15/contracts_proxies_votingProxy.js.html +0 -135
  179. package/docs/@leofcoin/chain/1.0.15/contracts_validators.js.html +0 -242
  180. package/docs/@leofcoin/chain/1.0.15/fonts/OpenSans-Bold-webfont.eot +0 -0
  181. package/docs/@leofcoin/chain/1.0.15/fonts/OpenSans-Bold-webfont.svg +0 -1830
  182. package/docs/@leofcoin/chain/1.0.15/fonts/OpenSans-Bold-webfont.woff +0 -0
  183. package/docs/@leofcoin/chain/1.0.15/fonts/OpenSans-BoldItalic-webfont.eot +0 -0
  184. package/docs/@leofcoin/chain/1.0.15/fonts/OpenSans-BoldItalic-webfont.svg +0 -1830
  185. package/docs/@leofcoin/chain/1.0.15/fonts/OpenSans-BoldItalic-webfont.woff +0 -0
  186. package/docs/@leofcoin/chain/1.0.15/fonts/OpenSans-Italic-webfont.eot +0 -0
  187. package/docs/@leofcoin/chain/1.0.15/fonts/OpenSans-Italic-webfont.svg +0 -1830
  188. package/docs/@leofcoin/chain/1.0.15/fonts/OpenSans-Italic-webfont.woff +0 -0
  189. package/docs/@leofcoin/chain/1.0.15/fonts/OpenSans-Light-webfont.eot +0 -0
  190. package/docs/@leofcoin/chain/1.0.15/fonts/OpenSans-Light-webfont.svg +0 -1831
  191. package/docs/@leofcoin/chain/1.0.15/fonts/OpenSans-Light-webfont.woff +0 -0
  192. package/docs/@leofcoin/chain/1.0.15/fonts/OpenSans-LightItalic-webfont.eot +0 -0
  193. package/docs/@leofcoin/chain/1.0.15/fonts/OpenSans-LightItalic-webfont.svg +0 -1835
  194. package/docs/@leofcoin/chain/1.0.15/fonts/OpenSans-LightItalic-webfont.woff +0 -0
  195. package/docs/@leofcoin/chain/1.0.15/fonts/OpenSans-Regular-webfont.eot +0 -0
  196. package/docs/@leofcoin/chain/1.0.15/fonts/OpenSans-Regular-webfont.svg +0 -1831
  197. package/docs/@leofcoin/chain/1.0.15/fonts/OpenSans-Regular-webfont.woff +0 -0
  198. package/docs/@leofcoin/chain/1.0.15/fonts/OpenSans-Semibold-webfont.eot +0 -0
  199. package/docs/@leofcoin/chain/1.0.15/fonts/OpenSans-Semibold-webfont.svg +0 -1830
  200. package/docs/@leofcoin/chain/1.0.15/fonts/OpenSans-Semibold-webfont.ttf +0 -0
  201. package/docs/@leofcoin/chain/1.0.15/fonts/OpenSans-Semibold-webfont.woff +0 -0
  202. package/docs/@leofcoin/chain/1.0.15/fonts/OpenSans-SemiboldItalic-webfont.eot +0 -0
  203. package/docs/@leofcoin/chain/1.0.15/fonts/OpenSans-SemiboldItalic-webfont.svg +0 -1830
  204. package/docs/@leofcoin/chain/1.0.15/fonts/OpenSans-SemiboldItalic-webfont.ttf +0 -0
  205. package/docs/@leofcoin/chain/1.0.15/fonts/OpenSans-SemiboldItalic-webfont.woff +0 -0
  206. package/docs/@leofcoin/chain/1.0.15/global.html +0 -1153
  207. package/docs/@leofcoin/chain/1.0.15/icons/home.svg +0 -4
  208. package/docs/@leofcoin/chain/1.0.15/icons/search.svg +0 -4
  209. package/docs/@leofcoin/chain/1.0.15/index.html +0 -125
  210. package/docs/@leofcoin/chain/1.0.15/machine.js.html +0 -251
  211. package/docs/@leofcoin/chain/1.0.15/scripts/linenumber.js +0 -23
  212. package/docs/@leofcoin/chain/1.0.15/scripts/pagelocation.js +0 -89
  213. package/docs/@leofcoin/chain/1.0.15/standards_roles.js.html +0 -188
  214. package/docs/@leofcoin/chain/1.0.15/standards_token.js.html +0 -260
  215. package/docs/@leofcoin/chain/1.0.15/styles/collapse.css +0 -27
  216. package/docs/@leofcoin/chain/1.0.15/styles/jsdoc-default.css +0 -953
  217. package/docs/@leofcoin/chain/1.0.15/styles/prettify-jsdoc.css +0 -111
  218. package/docs/@leofcoin/chain/1.0.15/styles/prettify-tomorrow.css +0 -138
  219. package/docs/@leofcoin/chain/1.0.16/contracts_factory.js.html +0 -182
  220. package/docs/@leofcoin/chain/1.0.16/contracts_nameService.js.html +0 -231
  221. package/docs/@leofcoin/chain/1.0.16/contracts_proxies_factoryProxy.js.html +0 -135
  222. package/docs/@leofcoin/chain/1.0.16/contracts_proxies_nameServiceProxy.js.html +0 -135
  223. package/docs/@leofcoin/chain/1.0.16/contracts_proxies_nativeTokenProxy.js.html +0 -135
  224. package/docs/@leofcoin/chain/1.0.16/contracts_proxies_validatorsProxy.js.html +0 -135
  225. package/docs/@leofcoin/chain/1.0.16/contracts_proxies_votingProxy.js.html +0 -135
  226. package/docs/@leofcoin/chain/1.0.16/contracts_validators.js.html +0 -242
  227. package/docs/@leofcoin/chain/1.0.16/fonts/OpenSans-Bold-webfont.eot +0 -0
  228. package/docs/@leofcoin/chain/1.0.16/fonts/OpenSans-Bold-webfont.svg +0 -1830
  229. package/docs/@leofcoin/chain/1.0.16/fonts/OpenSans-Bold-webfont.woff +0 -0
  230. package/docs/@leofcoin/chain/1.0.16/fonts/OpenSans-BoldItalic-webfont.eot +0 -0
  231. package/docs/@leofcoin/chain/1.0.16/fonts/OpenSans-BoldItalic-webfont.svg +0 -1830
  232. package/docs/@leofcoin/chain/1.0.16/fonts/OpenSans-BoldItalic-webfont.woff +0 -0
  233. package/docs/@leofcoin/chain/1.0.16/fonts/OpenSans-Italic-webfont.eot +0 -0
  234. package/docs/@leofcoin/chain/1.0.16/fonts/OpenSans-Italic-webfont.svg +0 -1830
  235. package/docs/@leofcoin/chain/1.0.16/fonts/OpenSans-Italic-webfont.woff +0 -0
  236. package/docs/@leofcoin/chain/1.0.16/fonts/OpenSans-Light-webfont.eot +0 -0
  237. package/docs/@leofcoin/chain/1.0.16/fonts/OpenSans-Light-webfont.svg +0 -1831
  238. package/docs/@leofcoin/chain/1.0.16/fonts/OpenSans-Light-webfont.woff +0 -0
  239. package/docs/@leofcoin/chain/1.0.16/fonts/OpenSans-LightItalic-webfont.eot +0 -0
  240. package/docs/@leofcoin/chain/1.0.16/fonts/OpenSans-LightItalic-webfont.svg +0 -1835
  241. package/docs/@leofcoin/chain/1.0.16/fonts/OpenSans-LightItalic-webfont.woff +0 -0
  242. package/docs/@leofcoin/chain/1.0.16/fonts/OpenSans-Regular-webfont.eot +0 -0
  243. package/docs/@leofcoin/chain/1.0.16/fonts/OpenSans-Regular-webfont.svg +0 -1831
  244. package/docs/@leofcoin/chain/1.0.16/fonts/OpenSans-Regular-webfont.woff +0 -0
  245. package/docs/@leofcoin/chain/1.0.16/fonts/OpenSans-Semibold-webfont.eot +0 -0
  246. package/docs/@leofcoin/chain/1.0.16/fonts/OpenSans-Semibold-webfont.svg +0 -1830
  247. package/docs/@leofcoin/chain/1.0.16/fonts/OpenSans-Semibold-webfont.ttf +0 -0
  248. package/docs/@leofcoin/chain/1.0.16/fonts/OpenSans-Semibold-webfont.woff +0 -0
  249. package/docs/@leofcoin/chain/1.0.16/fonts/OpenSans-SemiboldItalic-webfont.eot +0 -0
  250. package/docs/@leofcoin/chain/1.0.16/fonts/OpenSans-SemiboldItalic-webfont.svg +0 -1830
  251. package/docs/@leofcoin/chain/1.0.16/fonts/OpenSans-SemiboldItalic-webfont.ttf +0 -0
  252. package/docs/@leofcoin/chain/1.0.16/fonts/OpenSans-SemiboldItalic-webfont.woff +0 -0
  253. package/docs/@leofcoin/chain/1.0.16/global.html +0 -1153
  254. package/docs/@leofcoin/chain/1.0.16/icons/home.svg +0 -4
  255. package/docs/@leofcoin/chain/1.0.16/icons/search.svg +0 -4
  256. package/docs/@leofcoin/chain/1.0.16/index.html +0 -125
  257. package/docs/@leofcoin/chain/1.0.16/machine.js.html +0 -251
  258. package/docs/@leofcoin/chain/1.0.16/scripts/linenumber.js +0 -23
  259. package/docs/@leofcoin/chain/1.0.16/scripts/pagelocation.js +0 -89
  260. package/docs/@leofcoin/chain/1.0.16/standards_roles.js.html +0 -188
  261. package/docs/@leofcoin/chain/1.0.16/standards_token.js.html +0 -260
  262. package/docs/@leofcoin/chain/1.0.16/styles/collapse.css +0 -27
  263. package/docs/@leofcoin/chain/1.0.16/styles/jsdoc-default.css +0 -953
  264. package/docs/@leofcoin/chain/1.0.16/styles/prettify-jsdoc.css +0 -111
  265. package/docs/@leofcoin/chain/1.0.16/styles/prettify-tomorrow.css +0 -138
  266. package/docs/@leofcoin/chain/1.0.17/chain.js.html +0 -738
  267. package/docs/@leofcoin/chain/1.0.17/contracts_factory.js.html +0 -182
  268. package/docs/@leofcoin/chain/1.0.17/contracts_nameService.js.html +0 -231
  269. package/docs/@leofcoin/chain/1.0.17/contracts_proxies_factoryProxy.js.html +0 -135
  270. package/docs/@leofcoin/chain/1.0.17/contracts_proxies_nameServiceProxy.js.html +0 -135
  271. package/docs/@leofcoin/chain/1.0.17/contracts_proxies_nativeTokenProxy.js.html +0 -135
  272. package/docs/@leofcoin/chain/1.0.17/contracts_proxies_validatorsProxy.js.html +0 -135
  273. package/docs/@leofcoin/chain/1.0.17/contracts_proxies_votingProxy.js.html +0 -135
  274. package/docs/@leofcoin/chain/1.0.17/contracts_validators.js.html +0 -242
  275. package/docs/@leofcoin/chain/1.0.17/fonts/OpenSans-Bold-webfont.eot +0 -0
  276. package/docs/@leofcoin/chain/1.0.17/fonts/OpenSans-Bold-webfont.svg +0 -1830
  277. package/docs/@leofcoin/chain/1.0.17/fonts/OpenSans-Bold-webfont.woff +0 -0
  278. package/docs/@leofcoin/chain/1.0.17/fonts/OpenSans-BoldItalic-webfont.eot +0 -0
  279. package/docs/@leofcoin/chain/1.0.17/fonts/OpenSans-BoldItalic-webfont.svg +0 -1830
  280. package/docs/@leofcoin/chain/1.0.17/fonts/OpenSans-BoldItalic-webfont.woff +0 -0
  281. package/docs/@leofcoin/chain/1.0.17/fonts/OpenSans-Italic-webfont.eot +0 -0
  282. package/docs/@leofcoin/chain/1.0.17/fonts/OpenSans-Italic-webfont.svg +0 -1830
  283. package/docs/@leofcoin/chain/1.0.17/fonts/OpenSans-Italic-webfont.woff +0 -0
  284. package/docs/@leofcoin/chain/1.0.17/fonts/OpenSans-Light-webfont.eot +0 -0
  285. package/docs/@leofcoin/chain/1.0.17/fonts/OpenSans-Light-webfont.svg +0 -1831
  286. package/docs/@leofcoin/chain/1.0.17/fonts/OpenSans-Light-webfont.woff +0 -0
  287. package/docs/@leofcoin/chain/1.0.17/fonts/OpenSans-LightItalic-webfont.eot +0 -0
  288. package/docs/@leofcoin/chain/1.0.17/fonts/OpenSans-LightItalic-webfont.svg +0 -1835
  289. package/docs/@leofcoin/chain/1.0.17/fonts/OpenSans-LightItalic-webfont.woff +0 -0
  290. package/docs/@leofcoin/chain/1.0.17/fonts/OpenSans-Regular-webfont.eot +0 -0
  291. package/docs/@leofcoin/chain/1.0.17/fonts/OpenSans-Regular-webfont.svg +0 -1831
  292. package/docs/@leofcoin/chain/1.0.17/fonts/OpenSans-Regular-webfont.woff +0 -0
  293. package/docs/@leofcoin/chain/1.0.17/fonts/OpenSans-Semibold-webfont.eot +0 -0
  294. package/docs/@leofcoin/chain/1.0.17/fonts/OpenSans-Semibold-webfont.svg +0 -1830
  295. package/docs/@leofcoin/chain/1.0.17/fonts/OpenSans-Semibold-webfont.ttf +0 -0
  296. package/docs/@leofcoin/chain/1.0.17/fonts/OpenSans-Semibold-webfont.woff +0 -0
  297. package/docs/@leofcoin/chain/1.0.17/fonts/OpenSans-SemiboldItalic-webfont.eot +0 -0
  298. package/docs/@leofcoin/chain/1.0.17/fonts/OpenSans-SemiboldItalic-webfont.svg +0 -1830
  299. package/docs/@leofcoin/chain/1.0.17/fonts/OpenSans-SemiboldItalic-webfont.ttf +0 -0
  300. package/docs/@leofcoin/chain/1.0.17/fonts/OpenSans-SemiboldItalic-webfont.woff +0 -0
  301. package/docs/@leofcoin/chain/1.0.17/global.html +0 -1153
  302. package/docs/@leofcoin/chain/1.0.17/icons/home.svg +0 -4
  303. package/docs/@leofcoin/chain/1.0.17/icons/search.svg +0 -4
  304. package/docs/@leofcoin/chain/1.0.17/index.html +0 -125
  305. package/docs/@leofcoin/chain/1.0.17/machine.js.html +0 -251
  306. package/docs/@leofcoin/chain/1.0.17/scripts/linenumber.js +0 -23
  307. package/docs/@leofcoin/chain/1.0.17/scripts/pagelocation.js +0 -89
  308. package/docs/@leofcoin/chain/1.0.17/standards_roles.js.html +0 -188
  309. package/docs/@leofcoin/chain/1.0.17/standards_token.js.html +0 -260
  310. package/docs/@leofcoin/chain/1.0.17/styles/collapse.css +0 -27
  311. package/docs/@leofcoin/chain/1.0.17/styles/jsdoc-default.css +0 -953
  312. package/docs/@leofcoin/chain/1.0.17/styles/prettify-jsdoc.css +0 -111
  313. package/docs/@leofcoin/chain/1.0.17/styles/prettify-tomorrow.css +0 -138
  314. package/docs/@leofcoin/chain/1.0.18/chain.js.html +0 -738
  315. package/docs/@leofcoin/chain/1.0.18/contracts_factory.js.html +0 -182
  316. package/docs/@leofcoin/chain/1.0.18/contracts_nameService.js.html +0 -231
  317. package/docs/@leofcoin/chain/1.0.18/contracts_proxies_factoryProxy.js.html +0 -135
  318. package/docs/@leofcoin/chain/1.0.18/contracts_proxies_nameServiceProxy.js.html +0 -135
  319. package/docs/@leofcoin/chain/1.0.18/contracts_proxies_nativeTokenProxy.js.html +0 -135
  320. package/docs/@leofcoin/chain/1.0.18/contracts_proxies_validatorsProxy.js.html +0 -135
  321. package/docs/@leofcoin/chain/1.0.18/contracts_proxies_votingProxy.js.html +0 -135
  322. package/docs/@leofcoin/chain/1.0.18/contracts_validators.js.html +0 -242
  323. package/docs/@leofcoin/chain/1.0.18/fonts/OpenSans-Bold-webfont.eot +0 -0
  324. package/docs/@leofcoin/chain/1.0.18/fonts/OpenSans-Bold-webfont.svg +0 -1830
  325. package/docs/@leofcoin/chain/1.0.18/fonts/OpenSans-Bold-webfont.woff +0 -0
  326. package/docs/@leofcoin/chain/1.0.18/fonts/OpenSans-BoldItalic-webfont.eot +0 -0
  327. package/docs/@leofcoin/chain/1.0.18/fonts/OpenSans-BoldItalic-webfont.svg +0 -1830
  328. package/docs/@leofcoin/chain/1.0.18/fonts/OpenSans-BoldItalic-webfont.woff +0 -0
  329. package/docs/@leofcoin/chain/1.0.18/fonts/OpenSans-Italic-webfont.eot +0 -0
  330. package/docs/@leofcoin/chain/1.0.18/fonts/OpenSans-Italic-webfont.svg +0 -1830
  331. package/docs/@leofcoin/chain/1.0.18/fonts/OpenSans-Italic-webfont.woff +0 -0
  332. package/docs/@leofcoin/chain/1.0.18/fonts/OpenSans-Light-webfont.eot +0 -0
  333. package/docs/@leofcoin/chain/1.0.18/fonts/OpenSans-Light-webfont.svg +0 -1831
  334. package/docs/@leofcoin/chain/1.0.18/fonts/OpenSans-Light-webfont.woff +0 -0
  335. package/docs/@leofcoin/chain/1.0.18/fonts/OpenSans-LightItalic-webfont.eot +0 -0
  336. package/docs/@leofcoin/chain/1.0.18/fonts/OpenSans-LightItalic-webfont.svg +0 -1835
  337. package/docs/@leofcoin/chain/1.0.18/fonts/OpenSans-LightItalic-webfont.woff +0 -0
  338. package/docs/@leofcoin/chain/1.0.18/fonts/OpenSans-Regular-webfont.eot +0 -0
  339. package/docs/@leofcoin/chain/1.0.18/fonts/OpenSans-Regular-webfont.svg +0 -1831
  340. package/docs/@leofcoin/chain/1.0.18/fonts/OpenSans-Regular-webfont.woff +0 -0
  341. package/docs/@leofcoin/chain/1.0.18/fonts/OpenSans-Semibold-webfont.eot +0 -0
  342. package/docs/@leofcoin/chain/1.0.18/fonts/OpenSans-Semibold-webfont.svg +0 -1830
  343. package/docs/@leofcoin/chain/1.0.18/fonts/OpenSans-Semibold-webfont.ttf +0 -0
  344. package/docs/@leofcoin/chain/1.0.18/fonts/OpenSans-Semibold-webfont.woff +0 -0
  345. package/docs/@leofcoin/chain/1.0.18/fonts/OpenSans-SemiboldItalic-webfont.eot +0 -0
  346. package/docs/@leofcoin/chain/1.0.18/fonts/OpenSans-SemiboldItalic-webfont.svg +0 -1830
  347. package/docs/@leofcoin/chain/1.0.18/fonts/OpenSans-SemiboldItalic-webfont.ttf +0 -0
  348. package/docs/@leofcoin/chain/1.0.18/fonts/OpenSans-SemiboldItalic-webfont.woff +0 -0
  349. package/docs/@leofcoin/chain/1.0.18/global.html +0 -1153
  350. package/docs/@leofcoin/chain/1.0.18/icons/home.svg +0 -4
  351. package/docs/@leofcoin/chain/1.0.18/icons/search.svg +0 -4
  352. package/docs/@leofcoin/chain/1.0.18/index.html +0 -125
  353. package/docs/@leofcoin/chain/1.0.18/machine.js.html +0 -251
  354. package/docs/@leofcoin/chain/1.0.18/scripts/linenumber.js +0 -23
  355. package/docs/@leofcoin/chain/1.0.18/scripts/pagelocation.js +0 -89
  356. package/docs/@leofcoin/chain/1.0.18/standards_roles.js.html +0 -188
  357. package/docs/@leofcoin/chain/1.0.18/standards_token.js.html +0 -260
  358. package/docs/@leofcoin/chain/1.0.18/styles/collapse.css +0 -27
  359. package/docs/@leofcoin/chain/1.0.18/styles/jsdoc-default.css +0 -953
  360. package/docs/@leofcoin/chain/1.0.18/styles/prettify-jsdoc.css +0 -111
  361. package/docs/@leofcoin/chain/1.0.18/styles/prettify-tomorrow.css +0 -138
  362. package/docs/@leofcoin/chain/1.0.19/chain.js.html +0 -738
  363. package/docs/@leofcoin/chain/1.0.19/contracts_factory.js.html +0 -182
  364. package/docs/@leofcoin/chain/1.0.19/contracts_nameService.js.html +0 -231
  365. package/docs/@leofcoin/chain/1.0.19/contracts_proxies_factoryProxy.js.html +0 -135
  366. package/docs/@leofcoin/chain/1.0.19/contracts_proxies_nameServiceProxy.js.html +0 -135
  367. package/docs/@leofcoin/chain/1.0.19/contracts_proxies_nativeTokenProxy.js.html +0 -135
  368. package/docs/@leofcoin/chain/1.0.19/contracts_proxies_validatorsProxy.js.html +0 -135
  369. package/docs/@leofcoin/chain/1.0.19/contracts_proxies_votingProxy.js.html +0 -135
  370. package/docs/@leofcoin/chain/1.0.19/contracts_validators.js.html +0 -242
  371. package/docs/@leofcoin/chain/1.0.19/fonts/OpenSans-Bold-webfont.eot +0 -0
  372. package/docs/@leofcoin/chain/1.0.19/fonts/OpenSans-Bold-webfont.svg +0 -1830
  373. package/docs/@leofcoin/chain/1.0.19/fonts/OpenSans-Bold-webfont.woff +0 -0
  374. package/docs/@leofcoin/chain/1.0.19/fonts/OpenSans-BoldItalic-webfont.eot +0 -0
  375. package/docs/@leofcoin/chain/1.0.19/fonts/OpenSans-BoldItalic-webfont.svg +0 -1830
  376. package/docs/@leofcoin/chain/1.0.19/fonts/OpenSans-BoldItalic-webfont.woff +0 -0
  377. package/docs/@leofcoin/chain/1.0.19/fonts/OpenSans-Italic-webfont.eot +0 -0
  378. package/docs/@leofcoin/chain/1.0.19/fonts/OpenSans-Italic-webfont.svg +0 -1830
  379. package/docs/@leofcoin/chain/1.0.19/fonts/OpenSans-Italic-webfont.woff +0 -0
  380. package/docs/@leofcoin/chain/1.0.19/fonts/OpenSans-Light-webfont.eot +0 -0
  381. package/docs/@leofcoin/chain/1.0.19/fonts/OpenSans-Light-webfont.svg +0 -1831
  382. package/docs/@leofcoin/chain/1.0.19/fonts/OpenSans-Light-webfont.woff +0 -0
  383. package/docs/@leofcoin/chain/1.0.19/fonts/OpenSans-LightItalic-webfont.eot +0 -0
  384. package/docs/@leofcoin/chain/1.0.19/fonts/OpenSans-LightItalic-webfont.svg +0 -1835
  385. package/docs/@leofcoin/chain/1.0.19/fonts/OpenSans-LightItalic-webfont.woff +0 -0
  386. package/docs/@leofcoin/chain/1.0.19/fonts/OpenSans-Regular-webfont.eot +0 -0
  387. package/docs/@leofcoin/chain/1.0.19/fonts/OpenSans-Regular-webfont.svg +0 -1831
  388. package/docs/@leofcoin/chain/1.0.19/fonts/OpenSans-Regular-webfont.woff +0 -0
  389. package/docs/@leofcoin/chain/1.0.19/fonts/OpenSans-Semibold-webfont.eot +0 -0
  390. package/docs/@leofcoin/chain/1.0.19/fonts/OpenSans-Semibold-webfont.svg +0 -1830
  391. package/docs/@leofcoin/chain/1.0.19/fonts/OpenSans-Semibold-webfont.ttf +0 -0
  392. package/docs/@leofcoin/chain/1.0.19/fonts/OpenSans-Semibold-webfont.woff +0 -0
  393. package/docs/@leofcoin/chain/1.0.19/fonts/OpenSans-SemiboldItalic-webfont.eot +0 -0
  394. package/docs/@leofcoin/chain/1.0.19/fonts/OpenSans-SemiboldItalic-webfont.svg +0 -1830
  395. package/docs/@leofcoin/chain/1.0.19/fonts/OpenSans-SemiboldItalic-webfont.ttf +0 -0
  396. package/docs/@leofcoin/chain/1.0.19/fonts/OpenSans-SemiboldItalic-webfont.woff +0 -0
  397. package/docs/@leofcoin/chain/1.0.19/global.html +0 -1153
  398. package/docs/@leofcoin/chain/1.0.19/icons/home.svg +0 -4
  399. package/docs/@leofcoin/chain/1.0.19/icons/search.svg +0 -4
  400. package/docs/@leofcoin/chain/1.0.19/index.html +0 -125
  401. package/docs/@leofcoin/chain/1.0.19/machine.js.html +0 -251
  402. package/docs/@leofcoin/chain/1.0.19/scripts/linenumber.js +0 -23
  403. package/docs/@leofcoin/chain/1.0.19/scripts/pagelocation.js +0 -89
  404. package/docs/@leofcoin/chain/1.0.19/standards_roles.js.html +0 -188
  405. package/docs/@leofcoin/chain/1.0.19/standards_token.js.html +0 -260
  406. package/docs/@leofcoin/chain/1.0.19/styles/collapse.css +0 -27
  407. package/docs/@leofcoin/chain/1.0.19/styles/jsdoc-default.css +0 -953
  408. package/docs/@leofcoin/chain/1.0.19/styles/prettify-jsdoc.css +0 -111
  409. package/docs/@leofcoin/chain/1.0.19/styles/prettify-tomorrow.css +0 -138
@@ -1,1153 +1,1153 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
-
5
- <meta charset="utf-8">
6
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
-
8
- <title>
9
- Global - Documentation
10
- </title>
11
-
12
- <link href="https://www.braintreepayments.com/images/favicon-ccda0b14.png" rel="icon" type="image/png">
13
-
14
- <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.7.0/highlight.min.js"></script>
15
- <script>hljs.initHighlightingOnLoad();</script>
16
-
17
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
18
-
19
- <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
20
- <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
21
-
22
- <link type="text/css" rel="stylesheet" href="styles/collapse.css">
23
-
24
-
25
-
26
-
27
- <!-- start Mixpanel -->
28
- <script type="text/javascript">(function(e,a){if(!a.__SV){var b=window;try{var c,l,i,j=b.location,g=j.hash;c=function(a,b){return(l=a.match(RegExp(b+"=([^&]*)")))?l[1]:null};g&&c(g,"state")&&(i=JSON.parse(decodeURIComponent(c(g,"state"))),"mpeditor"===i.action&&(b.sessionStorage.setItem("_mpcehash",g),history.replaceState(i.desiredHash||"",e.title,j.pathname+j.search)))}catch(m){}var k,h;window.mixpanel=a;a._i=[];a.init=function(b,c,f){function e(b,a){var c=a.split(".");2==c.length&&(b=b[c[0]],a=c[1]);b[a]=function(){b.push([a].concat(Array.prototype.slice.call(arguments,
29
- 0)))}}var d=a;"undefined"!==typeof f?d=a[f]=[]:f="mixpanel";d.people=d.people||[];d.toString=function(b){var a="mixpanel";"mixpanel"!==f&&(a+="."+f);b||(a+=" (stub)");return a};d.people.toString=function(){return d.toString(1)+".people (stub)"};k="disable time_event track track_pageview track_links track_forms register register_once alias unregister identify name_tag set_config reset people.set people.set_once people.increment people.append people.union people.track_charge people.clear_charges people.delete_user".split(" ");
30
- for(h=0;h<k.length;h++)e(d,k[h]);a._i.push([b,c,f])};a.__SV=1.2;b=e.createElement("script");b.type="text/javascript";b.async=!0;b.src="undefined"!==typeof MIXPANEL_CUSTOM_LIB_URL?MIXPANEL_CUSTOM_LIB_URL:"file:"===e.location.protocol&&"//cdn.mxpnl.com/libs/mixpanel-2-latest.min.js".match(/^\/\//)?"https://cdn.mxpnl.com/libs/mixpanel-2-latest.min.js":"//cdn.mxpnl.com/libs/mixpanel-2-latest.min.js";c=e.getElementsByTagName("script")[0];c.parentNode.insertBefore(b,c)}})(document,window.mixpanel||[]);
31
- mixpanel.init("1919205b2da72e4da3b9b6639b444d59");</script>
32
- <!-- end Mixpanel -->
33
- </head>
34
-
35
- <body>
36
- <svg style="display: none;">
37
- <defs>
38
- <symbol id="linkIcon" fill="#706d77" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
39
- <path d="M0 0h24v24H0z" fill="none"/>
40
- <path d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"/>
41
- </symbol>
42
- </defs>
43
- </svg>
44
-
45
- <input type="checkbox" id="nav-trigger" class="nav-trigger" />
46
- <label for="nav-trigger" class="navicon-button x">
47
- <div class="navicon"></div>
48
- </label>
49
-
50
- <label for="nav-trigger" class="overlay"></label>
51
-
52
- <div class="top-nav-wrapper">
53
- <ul>
54
- <li >
55
- <a href="index.html">
56
-
57
- <svg fill="#6D6D6D" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
58
- <path d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"/>
59
- <path d="M0 0h24v24H0z" fill="none"/>
60
- </svg>
61
-
62
-
63
- </a>
64
- </li>
65
-
66
-
67
-
68
- </ul>
69
- </div>
70
-
71
- <nav>
72
- <h3 class="reference-title">
73
- @leofcoin/chain
74
- </h3>
75
-
76
-
77
- <h3>
78
- Resources
79
- </h3>
80
-
81
- <a href="https://github.com/arteontoken/monorepo/chain">github</a>
82
-
83
-
84
-
85
- <h3 id="global-nav">Global</h3><ul><li><a href="global.html#addContract">addContract</a></li><li><a href="global.html#createTransaction">createTransaction</a></li><li><a href="global.html#createTransactionFrom">createTransactionFrom</a></li><li><a href="global.html#deployContract">deployContract</a></li><li><a href="global.html#lookup">lookup</a></li><li><a href="global.html#state">state</a></li></ul>
86
- </nav>
87
-
88
- <div id="main">
89
-
90
- <h1 class="page-title">
91
- Global
92
- </h1>
93
-
94
-
95
-
96
-
97
- <section>
98
- <header>
99
-
100
- <h2>
101
-
102
-
103
-
104
- </h2>
105
-
106
-
107
-
108
- </header>
109
-
110
- <article>
111
- <div class="container-overview">
112
-
113
-
114
-
115
-
116
-
117
- <dl class="details">
118
-
119
-
120
-
121
-
122
-
123
-
124
-
125
-
126
-
127
-
128
-
129
-
130
-
131
-
132
-
133
-
134
-
135
-
136
-
137
-
138
-
139
-
140
-
141
-
142
-
143
-
144
-
145
-
146
-
147
-
148
-
149
-
150
- </dl>
151
-
152
-
153
-
154
-
155
- </div>
156
-
157
-
158
-
159
-
160
-
161
-
162
-
163
-
164
-
165
-
166
-
167
-
168
- <h3 class="subsection-title">Members</h3>
169
-
170
-
171
-
172
-
173
- <h4 class="name" id="state">
174
- <span class="type-signature"></span>state<span class="type-signature"></span>
175
- </h4>
176
-
177
-
178
-
179
-
180
-
181
-
182
-
183
- <dl class="details">
184
-
185
-
186
-
187
-
188
-
189
-
190
-
191
-
192
-
193
-
194
-
195
-
196
-
197
-
198
-
199
-
200
-
201
-
202
-
203
-
204
-
205
-
206
-
207
-
208
-
209
-
210
- <dt class="tag-source">Source:</dt>
211
- <dd class="tag-source">
212
- <ul class="dummy">
213
- <li>
214
- <a href="standards_token.js.html">standards/token.js</a>, <a href="standards_token.js.html#line47">line 47</a>
215
- </li>
216
- </ul>
217
- </dd>
218
-
219
-
220
-
221
-
222
-
223
-
224
-
225
- </dl>
226
-
227
-
228
-
229
-
230
-
231
-
232
-
233
-
234
-
235
-
236
-
237
- <h3 class="subsection-title">Methods</h3>
238
-
239
-
240
-
241
-
242
-
243
-
244
-
245
- <span class='name-container'>
246
- <a class="link-icon" href="#addContract">
247
- <svg height="20" width="20" style="fill: black;">
248
- <use xlink:href="#linkIcon"></use>
249
- </svg>
250
- </a>
251
- <h4 class="name" id="addContract">
252
- <span class="type-signature">(async) </span>addContract<span class="signature">()</span><span class="type-signature"></span>
253
- </h4>
254
- </span>
255
-
256
-
257
-
258
-
259
-
260
-
261
-
262
-
263
-
264
-
265
-
266
-
267
-
268
-
269
- <dl class="details">
270
-
271
-
272
-
273
-
274
-
275
-
276
-
277
-
278
-
279
-
280
-
281
-
282
-
283
-
284
-
285
-
286
-
287
-
288
-
289
-
290
-
291
-
292
-
293
-
294
-
295
-
296
- <dt class="tag-source">Source:</dt>
297
- <dd class="tag-source">
298
- <ul class="dummy">
299
- <li>
300
- <a href="machine.js.html">machine.js</a>, <a href="machine.js.html#line75">line 75</a>
301
- </li>
302
- </ul>
303
- </dd>
304
-
305
-
306
-
307
-
308
-
309
-
310
-
311
- </dl>
312
-
313
-
314
-
315
-
316
-
317
-
318
-
319
-
320
-
321
-
322
-
323
-
324
-
325
-
326
-
327
-
328
-
329
-
330
-
331
-
332
- <span class='name-container'>
333
- <a class="link-icon" href="#createTransaction">
334
- <svg height="20" width="20" style="fill: black;">
335
- <use xlink:href="#linkIcon"></use>
336
- </svg>
337
- </a>
338
- <h4 class="name" id="createTransaction">
339
- <span class="type-signature"></span>createTransaction<span class="signature">(to, method, params, nonce)</span><span class="type-signature"></span>
340
- </h4>
341
- </span>
342
-
343
-
344
-
345
-
346
-
347
- <div class="description">
348
- <p>whenever method = createContract params should hold the contract hash</p>
349
- <p>example: [hash]
350
- createTransaction('0x0', 'createContract', [hash])</p>
351
- </div>
352
-
353
-
354
-
355
-
356
-
357
-
358
-
359
- <h5>Parameters:</h5>
360
-
361
-
362
- <table class="params">
363
- <thead>
364
- <tr>
365
-
366
- <th>Name</th>
367
-
368
-
369
- <th>Type</th>
370
-
371
-
372
-
373
-
374
-
375
- <th class="last">Description</th>
376
- </tr>
377
- </thead>
378
-
379
- <tbody>
380
-
381
- <tr>
382
-
383
- <td class="name"><code>to</code></td>
384
-
385
-
386
- <td class="type">
387
-
388
-
389
- <span class="param-type">
390
- String
391
- </span>
392
-
393
-
394
-
395
-
396
-
397
- </td>
398
-
399
-
400
-
401
-
402
-
403
- <td class="description last">
404
- <p>the contract address for the contract to interact with</p>
405
-
406
- </td>
407
- </tr>
408
-
409
-
410
- <tr>
411
-
412
- <td class="name"><code>method</code></td>
413
-
414
-
415
- <td class="type">
416
-
417
-
418
- <span class="param-type">
419
- String
420
- </span>
421
-
422
-
423
-
424
-
425
-
426
- </td>
427
-
428
-
429
-
430
-
431
-
432
- <td class="description last">
433
- <p>the method/function to run</p>
434
-
435
- </td>
436
- </tr>
437
-
438
-
439
- <tr>
440
-
441
- <td class="name"><code>params</code></td>
442
-
443
-
444
- <td class="type">
445
-
446
-
447
- <span class="param-type">
448
- Array
449
- </span>
450
-
451
-
452
-
453
-
454
-
455
- </td>
456
-
457
-
458
-
459
-
460
-
461
- <td class="description last">
462
- <p>array of paramters to apply to the contract method</p>
463
-
464
- </td>
465
- </tr>
466
-
467
-
468
- <tr>
469
-
470
- <td class="name"><code>nonce</code></td>
471
-
472
-
473
- <td class="type">
474
-
475
-
476
- <span class="param-type">
477
- Number
478
- </span>
479
-
480
-
481
-
482
-
483
-
484
- </td>
485
-
486
-
487
-
488
-
489
-
490
- <td class="description last">
491
- <p>total transaction count [optional]</p>
492
-
493
- </td>
494
- </tr>
495
-
496
-
497
- </tbody>
498
- </table>
499
-
500
-
501
-
502
-
503
-
504
- <dl class="details">
505
-
506
-
507
-
508
-
509
-
510
-
511
-
512
-
513
-
514
-
515
-
516
-
517
-
518
-
519
-
520
-
521
-
522
-
523
-
524
-
525
-
526
-
527
-
528
-
529
-
530
-
531
- <dt class="tag-source">Source:</dt>
532
- <dd class="tag-source">
533
- <ul class="dummy">
534
- <li>
535
- <a href="chain.js.html">chain.js</a>, <a href="chain.js.html#line476">line 476</a>
536
- </li>
537
- </ul>
538
- </dd>
539
-
540
-
541
-
542
-
543
-
544
-
545
-
546
- </dl>
547
-
548
-
549
-
550
-
551
-
552
-
553
-
554
-
555
-
556
-
557
-
558
-
559
-
560
-
561
-
562
-
563
-
564
-
565
-
566
-
567
- <span class='name-container'>
568
- <a class="link-icon" href="#createTransactionFrom">
569
- <svg height="20" width="20" style="fill: black;">
570
- <use xlink:href="#linkIcon"></use>
571
- </svg>
572
- </a>
573
- <h4 class="name" id="createTransactionFrom">
574
- <span class="type-signature">(async) </span>createTransactionFrom<span class="signature">(from, to, method, params, nonce)</span><span class="type-signature"></span>
575
- </h4>
576
- </span>
577
-
578
-
579
-
580
-
581
-
582
- <div class="description">
583
- <p>every tx done is trough contracts so no need for amount
584
- data is undefined when nothing is returned
585
- error is thrown on error so undefined data doesn't mean there is an error...</p>
586
- </div>
587
-
588
-
589
-
590
-
591
-
592
-
593
-
594
- <h5>Parameters:</h5>
595
-
596
-
597
- <table class="params">
598
- <thead>
599
- <tr>
600
-
601
- <th>Name</th>
602
-
603
-
604
- <th>Type</th>
605
-
606
-
607
-
608
-
609
-
610
- <th class="last">Description</th>
611
- </tr>
612
- </thead>
613
-
614
- <tbody>
615
-
616
- <tr>
617
-
618
- <td class="name"><code>from</code></td>
619
-
620
-
621
- <td class="type">
622
-
623
-
624
- <span class="param-type">
625
- String
626
- </span>
627
-
628
-
629
-
630
-
631
-
632
- </td>
633
-
634
-
635
-
636
-
637
-
638
- <td class="description last">
639
- <p>the sender address</p>
640
-
641
- </td>
642
- </tr>
643
-
644
-
645
- <tr>
646
-
647
- <td class="name"><code>to</code></td>
648
-
649
-
650
- <td class="type">
651
-
652
-
653
- <span class="param-type">
654
- String
655
- </span>
656
-
657
-
658
-
659
-
660
-
661
- </td>
662
-
663
-
664
-
665
-
666
-
667
- <td class="description last">
668
- <p>the contract address for the contract to interact with</p>
669
-
670
- </td>
671
- </tr>
672
-
673
-
674
- <tr>
675
-
676
- <td class="name"><code>method</code></td>
677
-
678
-
679
- <td class="type">
680
-
681
-
682
- <span class="param-type">
683
- String
684
- </span>
685
-
686
-
687
-
688
-
689
-
690
- </td>
691
-
692
-
693
-
694
-
695
-
696
- <td class="description last">
697
- <p>the method/function to run</p>
698
-
699
- </td>
700
- </tr>
701
-
702
-
703
- <tr>
704
-
705
- <td class="name"><code>params</code></td>
706
-
707
-
708
- <td class="type">
709
-
710
-
711
- <span class="param-type">
712
- Array
713
- </span>
714
-
715
-
716
-
717
-
718
-
719
- </td>
720
-
721
-
722
-
723
-
724
-
725
- <td class="description last">
726
- <p>array of paramters to apply to the contract method</p>
727
-
728
- </td>
729
- </tr>
730
-
731
-
732
- <tr>
733
-
734
- <td class="name"><code>nonce</code></td>
735
-
736
-
737
- <td class="type">
738
-
739
-
740
- <span class="param-type">
741
- Number
742
- </span>
743
-
744
-
745
-
746
-
747
-
748
- </td>
749
-
750
-
751
-
752
-
753
-
754
- <td class="description last">
755
- <p>total transaction count [optional]</p>
756
-
757
- </td>
758
- </tr>
759
-
760
-
761
- </tbody>
762
- </table>
763
-
764
-
765
-
766
-
767
-
768
- <dl class="details">
769
-
770
-
771
-
772
-
773
-
774
-
775
-
776
-
777
-
778
-
779
-
780
-
781
-
782
-
783
-
784
-
785
-
786
-
787
-
788
-
789
-
790
-
791
-
792
-
793
-
794
-
795
- <dt class="tag-source">Source:</dt>
796
- <dd class="tag-source">
797
- <ul class="dummy">
798
- <li>
799
- <a href="chain.js.html">chain.js</a>, <a href="chain.js.html#line490">line 490</a>
800
- </li>
801
- </ul>
802
- </dd>
803
-
804
-
805
-
806
-
807
-
808
-
809
-
810
- </dl>
811
-
812
-
813
-
814
-
815
-
816
-
817
-
818
-
819
-
820
-
821
-
822
-
823
-
824
-
825
-
826
-
827
-
828
-
829
-
830
-
831
- <span class='name-container'>
832
- <a class="link-icon" href="#deployContract">
833
- <svg height="20" width="20" style="fill: black;">
834
- <use xlink:href="#linkIcon"></use>
835
- </svg>
836
- </a>
837
- <h4 class="name" id="deployContract">
838
- <span class="type-signature">(async) </span>deployContract<span class="signature">(contract)</span><span class="type-signature"></span>
839
- </h4>
840
- </span>
841
-
842
-
843
-
844
-
845
-
846
-
847
-
848
-
849
-
850
-
851
-
852
- <h5>Parameters:</h5>
853
-
854
-
855
- <table class="params">
856
- <thead>
857
- <tr>
858
-
859
- <th>Name</th>
860
-
861
-
862
- <th>Type</th>
863
-
864
-
865
-
866
-
867
-
868
- <th class="last">Description</th>
869
- </tr>
870
- </thead>
871
-
872
- <tbody>
873
-
874
- <tr>
875
-
876
- <td class="name"><code>contract</code></td>
877
-
878
-
879
- <td class="type">
880
-
881
-
882
- <span class="param-type">
883
- String
884
- </span>
885
-
886
-
887
-
888
-
889
-
890
- </td>
891
-
892
-
893
-
894
-
895
-
896
- <td class="description last">
897
- <p>a contract string (see plugins/deployContract)</p>
898
-
899
- </td>
900
- </tr>
901
-
902
-
903
- </tbody>
904
- </table>
905
-
906
-
907
-
908
-
909
-
910
- <dl class="details">
911
-
912
-
913
-
914
-
915
-
916
-
917
-
918
-
919
-
920
-
921
-
922
-
923
-
924
-
925
-
926
-
927
-
928
-
929
-
930
-
931
-
932
-
933
-
934
-
935
-
936
-
937
- <dt class="tag-source">Source:</dt>
938
- <dd class="tag-source">
939
- <ul class="dummy">
940
- <li>
941
- <a href="chain.js.html">chain.js</a>, <a href="chain.js.html#line535">line 535</a>
942
- </li>
943
- </ul>
944
- </dd>
945
-
946
-
947
-
948
-
949
-
950
-
951
-
952
- </dl>
953
-
954
-
955
-
956
-
957
-
958
-
959
-
960
-
961
-
962
-
963
-
964
-
965
-
966
-
967
-
968
-
969
-
970
-
971
-
972
-
973
- <span class='name-container'>
974
- <a class="link-icon" href="#lookup">
975
- <svg height="20" width="20" style="fill: black;">
976
- <use xlink:href="#linkIcon"></use>
977
- </svg>
978
- </a>
979
- <h4 class="name" id="lookup">
980
- <span class="type-signature"></span>lookup<span class="signature">(name)</span><span class="type-signature"> &rarr; {String}</span>
981
- </h4>
982
- </span>
983
-
984
-
985
-
986
-
987
-
988
- <div class="description">
989
- <p>lookup an address for a registered name using the builtin nameService</p>
990
- </div>
991
-
992
-
993
-
994
-
995
-
996
-
997
-
998
- <h5>Parameters:</h5>
999
-
1000
-
1001
- <table class="params">
1002
- <thead>
1003
- <tr>
1004
-
1005
- <th>Name</th>
1006
-
1007
-
1008
- <th>Type</th>
1009
-
1010
-
1011
-
1012
-
1013
-
1014
- <th class="last">Description</th>
1015
- </tr>
1016
- </thead>
1017
-
1018
- <tbody>
1019
-
1020
- <tr>
1021
-
1022
- <td class="name"><code>name</code></td>
1023
-
1024
-
1025
- <td class="type">
1026
-
1027
-
1028
- <span class="param-type">
1029
- String
1030
- </span>
1031
-
1032
-
1033
-
1034
-
1035
-
1036
- </td>
1037
-
1038
-
1039
-
1040
-
1041
-
1042
- <td class="description last">
1043
- <p>contractName</p>
1044
-
1045
- </td>
1046
- </tr>
1047
-
1048
-
1049
- </tbody>
1050
- </table>
1051
-
1052
-
1053
-
1054
-
1055
-
1056
- <dl class="details">
1057
-
1058
-
1059
-
1060
-
1061
-
1062
-
1063
-
1064
-
1065
-
1066
-
1067
-
1068
-
1069
-
1070
-
1071
-
1072
-
1073
-
1074
-
1075
-
1076
-
1077
-
1078
-
1079
-
1080
-
1081
-
1082
-
1083
- <dt class="tag-source">Source:</dt>
1084
- <dd class="tag-source">
1085
- <ul class="dummy">
1086
- <li>
1087
- <a href="chain.js.html">chain.js</a>, <a href="chain.js.html#line612">line 612</a>
1088
- </li>
1089
- </ul>
1090
- </dd>
1091
-
1092
-
1093
-
1094
-
1095
-
1096
-
1097
-
1098
- </dl>
1099
-
1100
-
1101
-
1102
-
1103
-
1104
-
1105
-
1106
-
1107
-
1108
-
1109
-
1110
-
1111
-
1112
- <div class="example-container">
1113
- <a class="link-icon" href="#lookup-examples">
1114
- <svg height="20" width="20" style="fill: black;">
1115
- <use xlink:href="#linkIcon"></use>
1116
- </svg>
1117
- </a>
1118
- <h5 id="lookup-examples">Example</h5>
1119
-
1120
-
1121
- <pre class="prettyprint"><code>chain.lookup('myCoolContractName') // qmqsfddfdgfg...</code></pre>
1122
-
1123
-
1124
- </div>
1125
-
1126
-
1127
-
1128
-
1129
-
1130
-
1131
-
1132
-
1133
- </article>
1134
- </section>
1135
-
1136
-
1137
-
1138
-
1139
- </div>
1140
-
1141
- <br class="clear">
1142
-
1143
- <footer>
1144
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.10</a>
1145
- </footer>
1146
-
1147
- <script src="scripts/linenumber.js"></script>
1148
- <script src="scripts/pagelocation.js"></script>
1149
-
1150
-
1151
-
1152
- </body>
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+
5
+ <meta charset="utf-8">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
+
8
+ <title>
9
+ Global - Documentation
10
+ </title>
11
+
12
+ <link href="https://www.braintreepayments.com/images/favicon-ccda0b14.png" rel="icon" type="image/png">
13
+
14
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.7.0/highlight.min.js"></script>
15
+ <script>hljs.initHighlightingOnLoad();</script>
16
+
17
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
18
+
19
+ <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
20
+ <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
21
+
22
+ <link type="text/css" rel="stylesheet" href="styles/collapse.css">
23
+
24
+
25
+
26
+
27
+ <!-- start Mixpanel -->
28
+ <script type="text/javascript">(function(e,a){if(!a.__SV){var b=window;try{var c,l,i,j=b.location,g=j.hash;c=function(a,b){return(l=a.match(RegExp(b+"=([^&]*)")))?l[1]:null};g&&c(g,"state")&&(i=JSON.parse(decodeURIComponent(c(g,"state"))),"mpeditor"===i.action&&(b.sessionStorage.setItem("_mpcehash",g),history.replaceState(i.desiredHash||"",e.title,j.pathname+j.search)))}catch(m){}var k,h;window.mixpanel=a;a._i=[];a.init=function(b,c,f){function e(b,a){var c=a.split(".");2==c.length&&(b=b[c[0]],a=c[1]);b[a]=function(){b.push([a].concat(Array.prototype.slice.call(arguments,
29
+ 0)))}}var d=a;"undefined"!==typeof f?d=a[f]=[]:f="mixpanel";d.people=d.people||[];d.toString=function(b){var a="mixpanel";"mixpanel"!==f&&(a+="."+f);b||(a+=" (stub)");return a};d.people.toString=function(){return d.toString(1)+".people (stub)"};k="disable time_event track track_pageview track_links track_forms register register_once alias unregister identify name_tag set_config reset people.set people.set_once people.increment people.append people.union people.track_charge people.clear_charges people.delete_user".split(" ");
30
+ for(h=0;h<k.length;h++)e(d,k[h]);a._i.push([b,c,f])};a.__SV=1.2;b=e.createElement("script");b.type="text/javascript";b.async=!0;b.src="undefined"!==typeof MIXPANEL_CUSTOM_LIB_URL?MIXPANEL_CUSTOM_LIB_URL:"file:"===e.location.protocol&&"//cdn.mxpnl.com/libs/mixpanel-2-latest.min.js".match(/^\/\//)?"https://cdn.mxpnl.com/libs/mixpanel-2-latest.min.js":"//cdn.mxpnl.com/libs/mixpanel-2-latest.min.js";c=e.getElementsByTagName("script")[0];c.parentNode.insertBefore(b,c)}})(document,window.mixpanel||[]);
31
+ mixpanel.init("1919205b2da72e4da3b9b6639b444d59");</script>
32
+ <!-- end Mixpanel -->
33
+ </head>
34
+
35
+ <body>
36
+ <svg style="display: none;">
37
+ <defs>
38
+ <symbol id="linkIcon" fill="#706d77" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
39
+ <path d="M0 0h24v24H0z" fill="none"/>
40
+ <path d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"/>
41
+ </symbol>
42
+ </defs>
43
+ </svg>
44
+
45
+ <input type="checkbox" id="nav-trigger" class="nav-trigger" />
46
+ <label for="nav-trigger" class="navicon-button x">
47
+ <div class="navicon"></div>
48
+ </label>
49
+
50
+ <label for="nav-trigger" class="overlay"></label>
51
+
52
+ <div class="top-nav-wrapper">
53
+ <ul>
54
+ <li >
55
+ <a href="index.html">
56
+
57
+ <svg fill="#6D6D6D" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
58
+ <path d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"/>
59
+ <path d="M0 0h24v24H0z" fill="none"/>
60
+ </svg>
61
+
62
+
63
+ </a>
64
+ </li>
65
+
66
+
67
+
68
+ </ul>
69
+ </div>
70
+
71
+ <nav>
72
+ <h3 class="reference-title">
73
+ @leofcoin/chain
74
+ </h3>
75
+
76
+
77
+ <h3>
78
+ Resources
79
+ </h3>
80
+
81
+ <a href="https://github.com/arteontoken/monorepo/tree/main/chain">github</a>
82
+
83
+
84
+
85
+ <h3 id="global-nav">Global</h3><ul><li><a href="global.html#addContract">addContract</a></li><li><a href="global.html#createTransaction">createTransaction</a></li><li><a href="global.html#createTransactionFrom">createTransactionFrom</a></li><li><a href="global.html#deployContract">deployContract</a></li><li><a href="global.html#lookup">lookup</a></li><li><a href="global.html#state">state</a></li></ul>
86
+ </nav>
87
+
88
+ <div id="main">
89
+
90
+ <h1 class="page-title">
91
+ Global
92
+ </h1>
93
+
94
+
95
+
96
+
97
+ <section>
98
+ <header>
99
+
100
+ <h2>
101
+
102
+
103
+
104
+ </h2>
105
+
106
+
107
+
108
+ </header>
109
+
110
+ <article>
111
+ <div class="container-overview">
112
+
113
+
114
+
115
+
116
+
117
+ <dl class="details">
118
+
119
+
120
+
121
+
122
+
123
+
124
+
125
+
126
+
127
+
128
+
129
+
130
+
131
+
132
+
133
+
134
+
135
+
136
+
137
+
138
+
139
+
140
+
141
+
142
+
143
+
144
+
145
+
146
+
147
+
148
+
149
+
150
+ </dl>
151
+
152
+
153
+
154
+
155
+ </div>
156
+
157
+
158
+
159
+
160
+
161
+
162
+
163
+
164
+
165
+
166
+
167
+
168
+ <h3 class="subsection-title">Members</h3>
169
+
170
+
171
+
172
+
173
+ <h4 class="name" id="state">
174
+ <span class="type-signature"></span>state<span class="type-signature"></span>
175
+ </h4>
176
+
177
+
178
+
179
+
180
+
181
+
182
+
183
+ <dl class="details">
184
+
185
+
186
+
187
+
188
+
189
+
190
+
191
+
192
+
193
+
194
+
195
+
196
+
197
+
198
+
199
+
200
+
201
+
202
+
203
+
204
+
205
+
206
+
207
+
208
+
209
+
210
+ <dt class="tag-source">Source:</dt>
211
+ <dd class="tag-source">
212
+ <ul class="dummy">
213
+ <li>
214
+ <a href="standards_token.js.html">standards/token.js</a>, <a href="standards_token.js.html#line47">line 47</a>
215
+ </li>
216
+ </ul>
217
+ </dd>
218
+
219
+
220
+
221
+
222
+
223
+
224
+
225
+ </dl>
226
+
227
+
228
+
229
+
230
+
231
+
232
+
233
+
234
+
235
+
236
+
237
+ <h3 class="subsection-title">Methods</h3>
238
+
239
+
240
+
241
+
242
+
243
+
244
+
245
+ <span class='name-container'>
246
+ <a class="link-icon" href="#addContract">
247
+ <svg height="20" width="20" style="fill: black;">
248
+ <use xlink:href="#linkIcon"></use>
249
+ </svg>
250
+ </a>
251
+ <h4 class="name" id="addContract">
252
+ <span class="type-signature">(async) </span>addContract<span class="signature">()</span><span class="type-signature"></span>
253
+ </h4>
254
+ </span>
255
+
256
+
257
+
258
+
259
+
260
+
261
+
262
+
263
+
264
+
265
+
266
+
267
+
268
+
269
+ <dl class="details">
270
+
271
+
272
+
273
+
274
+
275
+
276
+
277
+
278
+
279
+
280
+
281
+
282
+
283
+
284
+
285
+
286
+
287
+
288
+
289
+
290
+
291
+
292
+
293
+
294
+
295
+
296
+ <dt class="tag-source">Source:</dt>
297
+ <dd class="tag-source">
298
+ <ul class="dummy">
299
+ <li>
300
+ <a href="machine.js.html">machine.js</a>, <a href="machine.js.html#line75">line 75</a>
301
+ </li>
302
+ </ul>
303
+ </dd>
304
+
305
+
306
+
307
+
308
+
309
+
310
+
311
+ </dl>
312
+
313
+
314
+
315
+
316
+
317
+
318
+
319
+
320
+
321
+
322
+
323
+
324
+
325
+
326
+
327
+
328
+
329
+
330
+
331
+
332
+ <span class='name-container'>
333
+ <a class="link-icon" href="#createTransaction">
334
+ <svg height="20" width="20" style="fill: black;">
335
+ <use xlink:href="#linkIcon"></use>
336
+ </svg>
337
+ </a>
338
+ <h4 class="name" id="createTransaction">
339
+ <span class="type-signature"></span>createTransaction<span class="signature">(to, method, params, nonce)</span><span class="type-signature"></span>
340
+ </h4>
341
+ </span>
342
+
343
+
344
+
345
+
346
+
347
+ <div class="description">
348
+ <p>whenever method = createContract params should hold the contract hash</p>
349
+ <p>example: [hash]
350
+ createTransaction('0x0', 'createContract', [hash])</p>
351
+ </div>
352
+
353
+
354
+
355
+
356
+
357
+
358
+
359
+ <h5>Parameters:</h5>
360
+
361
+
362
+ <table class="params">
363
+ <thead>
364
+ <tr>
365
+
366
+ <th>Name</th>
367
+
368
+
369
+ <th>Type</th>
370
+
371
+
372
+
373
+
374
+
375
+ <th class="last">Description</th>
376
+ </tr>
377
+ </thead>
378
+
379
+ <tbody>
380
+
381
+ <tr>
382
+
383
+ <td class="name"><code>to</code></td>
384
+
385
+
386
+ <td class="type">
387
+
388
+
389
+ <span class="param-type">
390
+ String
391
+ </span>
392
+
393
+
394
+
395
+
396
+
397
+ </td>
398
+
399
+
400
+
401
+
402
+
403
+ <td class="description last">
404
+ <p>the contract address for the contract to interact with</p>
405
+
406
+ </td>
407
+ </tr>
408
+
409
+
410
+ <tr>
411
+
412
+ <td class="name"><code>method</code></td>
413
+
414
+
415
+ <td class="type">
416
+
417
+
418
+ <span class="param-type">
419
+ String
420
+ </span>
421
+
422
+
423
+
424
+
425
+
426
+ </td>
427
+
428
+
429
+
430
+
431
+
432
+ <td class="description last">
433
+ <p>the method/function to run</p>
434
+
435
+ </td>
436
+ </tr>
437
+
438
+
439
+ <tr>
440
+
441
+ <td class="name"><code>params</code></td>
442
+
443
+
444
+ <td class="type">
445
+
446
+
447
+ <span class="param-type">
448
+ Array
449
+ </span>
450
+
451
+
452
+
453
+
454
+
455
+ </td>
456
+
457
+
458
+
459
+
460
+
461
+ <td class="description last">
462
+ <p>array of paramters to apply to the contract method</p>
463
+
464
+ </td>
465
+ </tr>
466
+
467
+
468
+ <tr>
469
+
470
+ <td class="name"><code>nonce</code></td>
471
+
472
+
473
+ <td class="type">
474
+
475
+
476
+ <span class="param-type">
477
+ Number
478
+ </span>
479
+
480
+
481
+
482
+
483
+
484
+ </td>
485
+
486
+
487
+
488
+
489
+
490
+ <td class="description last">
491
+ <p>total transaction count [optional]</p>
492
+
493
+ </td>
494
+ </tr>
495
+
496
+
497
+ </tbody>
498
+ </table>
499
+
500
+
501
+
502
+
503
+
504
+ <dl class="details">
505
+
506
+
507
+
508
+
509
+
510
+
511
+
512
+
513
+
514
+
515
+
516
+
517
+
518
+
519
+
520
+
521
+
522
+
523
+
524
+
525
+
526
+
527
+
528
+
529
+
530
+
531
+ <dt class="tag-source">Source:</dt>
532
+ <dd class="tag-source">
533
+ <ul class="dummy">
534
+ <li>
535
+ <a href="chain.js.html">chain.js</a>, <a href="chain.js.html#line475">line 475</a>
536
+ </li>
537
+ </ul>
538
+ </dd>
539
+
540
+
541
+
542
+
543
+
544
+
545
+
546
+ </dl>
547
+
548
+
549
+
550
+
551
+
552
+
553
+
554
+
555
+
556
+
557
+
558
+
559
+
560
+
561
+
562
+
563
+
564
+
565
+
566
+
567
+ <span class='name-container'>
568
+ <a class="link-icon" href="#createTransactionFrom">
569
+ <svg height="20" width="20" style="fill: black;">
570
+ <use xlink:href="#linkIcon"></use>
571
+ </svg>
572
+ </a>
573
+ <h4 class="name" id="createTransactionFrom">
574
+ <span class="type-signature">(async) </span>createTransactionFrom<span class="signature">(from, to, method, params, nonce)</span><span class="type-signature"></span>
575
+ </h4>
576
+ </span>
577
+
578
+
579
+
580
+
581
+
582
+ <div class="description">
583
+ <p>every tx done is trough contracts so no need for amount
584
+ data is undefined when nothing is returned
585
+ error is thrown on error so undefined data doesn't mean there is an error...</p>
586
+ </div>
587
+
588
+
589
+
590
+
591
+
592
+
593
+
594
+ <h5>Parameters:</h5>
595
+
596
+
597
+ <table class="params">
598
+ <thead>
599
+ <tr>
600
+
601
+ <th>Name</th>
602
+
603
+
604
+ <th>Type</th>
605
+
606
+
607
+
608
+
609
+
610
+ <th class="last">Description</th>
611
+ </tr>
612
+ </thead>
613
+
614
+ <tbody>
615
+
616
+ <tr>
617
+
618
+ <td class="name"><code>from</code></td>
619
+
620
+
621
+ <td class="type">
622
+
623
+
624
+ <span class="param-type">
625
+ String
626
+ </span>
627
+
628
+
629
+
630
+
631
+
632
+ </td>
633
+
634
+
635
+
636
+
637
+
638
+ <td class="description last">
639
+ <p>the sender address</p>
640
+
641
+ </td>
642
+ </tr>
643
+
644
+
645
+ <tr>
646
+
647
+ <td class="name"><code>to</code></td>
648
+
649
+
650
+ <td class="type">
651
+
652
+
653
+ <span class="param-type">
654
+ String
655
+ </span>
656
+
657
+
658
+
659
+
660
+
661
+ </td>
662
+
663
+
664
+
665
+
666
+
667
+ <td class="description last">
668
+ <p>the contract address for the contract to interact with</p>
669
+
670
+ </td>
671
+ </tr>
672
+
673
+
674
+ <tr>
675
+
676
+ <td class="name"><code>method</code></td>
677
+
678
+
679
+ <td class="type">
680
+
681
+
682
+ <span class="param-type">
683
+ String
684
+ </span>
685
+
686
+
687
+
688
+
689
+
690
+ </td>
691
+
692
+
693
+
694
+
695
+
696
+ <td class="description last">
697
+ <p>the method/function to run</p>
698
+
699
+ </td>
700
+ </tr>
701
+
702
+
703
+ <tr>
704
+
705
+ <td class="name"><code>params</code></td>
706
+
707
+
708
+ <td class="type">
709
+
710
+
711
+ <span class="param-type">
712
+ Array
713
+ </span>
714
+
715
+
716
+
717
+
718
+
719
+ </td>
720
+
721
+
722
+
723
+
724
+
725
+ <td class="description last">
726
+ <p>array of paramters to apply to the contract method</p>
727
+
728
+ </td>
729
+ </tr>
730
+
731
+
732
+ <tr>
733
+
734
+ <td class="name"><code>nonce</code></td>
735
+
736
+
737
+ <td class="type">
738
+
739
+
740
+ <span class="param-type">
741
+ Number
742
+ </span>
743
+
744
+
745
+
746
+
747
+
748
+ </td>
749
+
750
+
751
+
752
+
753
+
754
+ <td class="description last">
755
+ <p>total transaction count [optional]</p>
756
+
757
+ </td>
758
+ </tr>
759
+
760
+
761
+ </tbody>
762
+ </table>
763
+
764
+
765
+
766
+
767
+
768
+ <dl class="details">
769
+
770
+
771
+
772
+
773
+
774
+
775
+
776
+
777
+
778
+
779
+
780
+
781
+
782
+
783
+
784
+
785
+
786
+
787
+
788
+
789
+
790
+
791
+
792
+
793
+
794
+
795
+ <dt class="tag-source">Source:</dt>
796
+ <dd class="tag-source">
797
+ <ul class="dummy">
798
+ <li>
799
+ <a href="chain.js.html">chain.js</a>, <a href="chain.js.html#line489">line 489</a>
800
+ </li>
801
+ </ul>
802
+ </dd>
803
+
804
+
805
+
806
+
807
+
808
+
809
+
810
+ </dl>
811
+
812
+
813
+
814
+
815
+
816
+
817
+
818
+
819
+
820
+
821
+
822
+
823
+
824
+
825
+
826
+
827
+
828
+
829
+
830
+
831
+ <span class='name-container'>
832
+ <a class="link-icon" href="#deployContract">
833
+ <svg height="20" width="20" style="fill: black;">
834
+ <use xlink:href="#linkIcon"></use>
835
+ </svg>
836
+ </a>
837
+ <h4 class="name" id="deployContract">
838
+ <span class="type-signature">(async) </span>deployContract<span class="signature">(contract)</span><span class="type-signature"></span>
839
+ </h4>
840
+ </span>
841
+
842
+
843
+
844
+
845
+
846
+
847
+
848
+
849
+
850
+
851
+
852
+ <h5>Parameters:</h5>
853
+
854
+
855
+ <table class="params">
856
+ <thead>
857
+ <tr>
858
+
859
+ <th>Name</th>
860
+
861
+
862
+ <th>Type</th>
863
+
864
+
865
+
866
+
867
+
868
+ <th class="last">Description</th>
869
+ </tr>
870
+ </thead>
871
+
872
+ <tbody>
873
+
874
+ <tr>
875
+
876
+ <td class="name"><code>contract</code></td>
877
+
878
+
879
+ <td class="type">
880
+
881
+
882
+ <span class="param-type">
883
+ String
884
+ </span>
885
+
886
+
887
+
888
+
889
+
890
+ </td>
891
+
892
+
893
+
894
+
895
+
896
+ <td class="description last">
897
+ <p>a contract string (see plugins/deployContract)</p>
898
+
899
+ </td>
900
+ </tr>
901
+
902
+
903
+ </tbody>
904
+ </table>
905
+
906
+
907
+
908
+
909
+
910
+ <dl class="details">
911
+
912
+
913
+
914
+
915
+
916
+
917
+
918
+
919
+
920
+
921
+
922
+
923
+
924
+
925
+
926
+
927
+
928
+
929
+
930
+
931
+
932
+
933
+
934
+
935
+
936
+
937
+ <dt class="tag-source">Source:</dt>
938
+ <dd class="tag-source">
939
+ <ul class="dummy">
940
+ <li>
941
+ <a href="chain.js.html">chain.js</a>, <a href="chain.js.html#line534">line 534</a>
942
+ </li>
943
+ </ul>
944
+ </dd>
945
+
946
+
947
+
948
+
949
+
950
+
951
+
952
+ </dl>
953
+
954
+
955
+
956
+
957
+
958
+
959
+
960
+
961
+
962
+
963
+
964
+
965
+
966
+
967
+
968
+
969
+
970
+
971
+
972
+
973
+ <span class='name-container'>
974
+ <a class="link-icon" href="#lookup">
975
+ <svg height="20" width="20" style="fill: black;">
976
+ <use xlink:href="#linkIcon"></use>
977
+ </svg>
978
+ </a>
979
+ <h4 class="name" id="lookup">
980
+ <span class="type-signature"></span>lookup<span class="signature">(name)</span><span class="type-signature"> &rarr; {String}</span>
981
+ </h4>
982
+ </span>
983
+
984
+
985
+
986
+
987
+
988
+ <div class="description">
989
+ <p>lookup an address for a registered name using the builtin nameService</p>
990
+ </div>
991
+
992
+
993
+
994
+
995
+
996
+
997
+
998
+ <h5>Parameters:</h5>
999
+
1000
+
1001
+ <table class="params">
1002
+ <thead>
1003
+ <tr>
1004
+
1005
+ <th>Name</th>
1006
+
1007
+
1008
+ <th>Type</th>
1009
+
1010
+
1011
+
1012
+
1013
+
1014
+ <th class="last">Description</th>
1015
+ </tr>
1016
+ </thead>
1017
+
1018
+ <tbody>
1019
+
1020
+ <tr>
1021
+
1022
+ <td class="name"><code>name</code></td>
1023
+
1024
+
1025
+ <td class="type">
1026
+
1027
+
1028
+ <span class="param-type">
1029
+ String
1030
+ </span>
1031
+
1032
+
1033
+
1034
+
1035
+
1036
+ </td>
1037
+
1038
+
1039
+
1040
+
1041
+
1042
+ <td class="description last">
1043
+ <p>contractName</p>
1044
+
1045
+ </td>
1046
+ </tr>
1047
+
1048
+
1049
+ </tbody>
1050
+ </table>
1051
+
1052
+
1053
+
1054
+
1055
+
1056
+ <dl class="details">
1057
+
1058
+
1059
+
1060
+
1061
+
1062
+
1063
+
1064
+
1065
+
1066
+
1067
+
1068
+
1069
+
1070
+
1071
+
1072
+
1073
+
1074
+
1075
+
1076
+
1077
+
1078
+
1079
+
1080
+
1081
+
1082
+
1083
+ <dt class="tag-source">Source:</dt>
1084
+ <dd class="tag-source">
1085
+ <ul class="dummy">
1086
+ <li>
1087
+ <a href="chain.js.html">chain.js</a>, <a href="chain.js.html#line611">line 611</a>
1088
+ </li>
1089
+ </ul>
1090
+ </dd>
1091
+
1092
+
1093
+
1094
+
1095
+
1096
+
1097
+
1098
+ </dl>
1099
+
1100
+
1101
+
1102
+
1103
+
1104
+
1105
+
1106
+
1107
+
1108
+
1109
+
1110
+
1111
+
1112
+ <div class="example-container">
1113
+ <a class="link-icon" href="#lookup-examples">
1114
+ <svg height="20" width="20" style="fill: black;">
1115
+ <use xlink:href="#linkIcon"></use>
1116
+ </svg>
1117
+ </a>
1118
+ <h5 id="lookup-examples">Example</h5>
1119
+
1120
+
1121
+ <pre class="prettyprint"><code>chain.lookup('myCoolContractName') // qmqsfddfdgfg...</code></pre>
1122
+
1123
+
1124
+ </div>
1125
+
1126
+
1127
+
1128
+
1129
+
1130
+
1131
+
1132
+
1133
+ </article>
1134
+ </section>
1135
+
1136
+
1137
+
1138
+
1139
+ </div>
1140
+
1141
+ <br class="clear">
1142
+
1143
+ <footer>
1144
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.10</a>
1145
+ </footer>
1146
+
1147
+ <script src="scripts/linenumber.js"></script>
1148
+ <script src="scripts/pagelocation.js"></script>
1149
+
1150
+
1151
+
1152
+ </body>
1153
1153
  </html>