@xyo-network/xl1-protocol-sdk 4.0.3 → 4.0.5

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 (705) hide show
  1. package/dist/neutral/capabilities/locatorFromConfig.d.ts +3 -3
  2. package/dist/neutral/capabilities/locatorFromConfig.d.ts.map +1 -1
  3. package/dist/neutral/config/LocatorConfigFields.d.ts +6 -0
  4. package/dist/neutral/config/LocatorConfigFields.d.ts.map +1 -1
  5. package/dist/neutral/index-node.d.ts +3 -0
  6. package/dist/neutral/index-node.d.ts.map +1 -0
  7. package/dist/neutral/index.d.ts +0 -1
  8. package/dist/neutral/index.d.ts.map +1 -1
  9. package/dist/neutral/index.mjs +44 -57
  10. package/dist/neutral/index.mjs.map +4 -4
  11. package/dist/neutral/test/index.mjs +1 -0
  12. package/dist/neutral/test/index.mjs.map +2 -2
  13. package/dist/node/Archivists/ArchivistConnectOptions.d.ts +8 -0
  14. package/dist/node/Archivists/ArchivistConnectOptions.d.ts.map +1 -0
  15. package/dist/node/Archivists/ArchivistFactory.d.ts +31 -0
  16. package/dist/node/Archivists/ArchivistFactory.d.ts.map +1 -0
  17. package/dist/node/Archivists/MemoryArchivistFactory.d.ts +19 -0
  18. package/dist/node/Archivists/MemoryArchivistFactory.d.ts.map +1 -0
  19. package/dist/node/Archivists/archivistFactoryRegistry.d.ts +9 -0
  20. package/dist/node/Archivists/archivistFactoryRegistry.d.ts.map +1 -0
  21. package/dist/node/Archivists/archivistRoles.d.ts +12 -0
  22. package/dist/node/Archivists/archivistRoles.d.ts.map +1 -0
  23. package/dist/node/Archivists/connectArchivist.d.ts +11 -0
  24. package/dist/node/Archivists/connectArchivist.d.ts.map +1 -0
  25. package/dist/node/Archivists/index.d.ts +7 -0
  26. package/dist/node/Archivists/index.d.ts.map +1 -0
  27. package/dist/node/ChainContextHelpers.d.ts +10 -0
  28. package/dist/node/ChainContextHelpers.d.ts.map +1 -0
  29. package/dist/node/CreatableProvider/AbstractCreatableProvider.d.ts +114 -0
  30. package/dist/node/CreatableProvider/AbstractCreatableProvider.d.ts.map +1 -0
  31. package/dist/node/CreatableProvider/CreatableProvider.d.ts +67 -0
  32. package/dist/node/CreatableProvider/CreatableProvider.d.ts.map +1 -0
  33. package/dist/node/CreatableProvider/CreatableProviderRegistry.d.ts +13 -0
  34. package/dist/node/CreatableProvider/CreatableProviderRegistry.d.ts.map +1 -0
  35. package/dist/node/CreatableProvider/GetInstanceOptions.d.ts +10 -0
  36. package/dist/node/CreatableProvider/GetInstanceOptions.d.ts.map +1 -0
  37. package/dist/node/CreatableProvider/LabeledCreatableProviderFactory.d.ts +14 -0
  38. package/dist/node/CreatableProvider/LabeledCreatableProviderFactory.d.ts.map +1 -0
  39. package/dist/node/CreatableProvider/ProviderFactory.d.ts +29 -0
  40. package/dist/node/CreatableProvider/ProviderFactory.d.ts.map +1 -0
  41. package/dist/node/CreatableProvider/ProviderFactoryLocator.d.ts +61 -0
  42. package/dist/node/CreatableProvider/ProviderFactoryLocator.d.ts.map +1 -0
  43. package/dist/node/CreatableProvider/ProviderFactoryLocatorInstance.d.ts +47 -0
  44. package/dist/node/CreatableProvider/ProviderFactoryLocatorInstance.d.ts.map +1 -0
  45. package/dist/node/CreatableProvider/index.d.ts +9 -0
  46. package/dist/node/CreatableProvider/index.d.ts.map +1 -0
  47. package/dist/node/SignedBigInt.d.ts +22 -0
  48. package/dist/node/SignedBigInt.d.ts.map +1 -0
  49. package/dist/node/_internal/context/getTestProviderContext.d.ts +4 -0
  50. package/dist/node/_internal/context/getTestProviderContext.d.ts.map +1 -0
  51. package/dist/node/_internal/context/index.d.ts +2 -0
  52. package/dist/node/_internal/context/index.d.ts.map +1 -0
  53. package/dist/node/_internal/index.d.ts +2 -0
  54. package/dist/node/_internal/index.d.ts.map +1 -0
  55. package/dist/node/amount/ShiftedBigInt.d.ts +17 -0
  56. package/dist/node/amount/ShiftedBigInt.d.ts.map +1 -0
  57. package/dist/node/amount/index.d.ts +5 -0
  58. package/dist/node/amount/index.d.ts.map +1 -0
  59. package/dist/node/amount/splitOnDecimal.d.ts +3 -0
  60. package/dist/node/amount/splitOnDecimal.d.ts.map +1 -0
  61. package/dist/node/amount/splitOnDecimalToString.d.ts +3 -0
  62. package/dist/node/amount/splitOnDecimalToString.d.ts.map +1 -0
  63. package/dist/node/amount/xl1Amount.d.ts +26 -0
  64. package/dist/node/amount/xl1Amount.d.ts.map +1 -0
  65. package/dist/node/block/hydrate/BoundWitnessHydrator.d.ts +70 -0
  66. package/dist/node/block/hydrate/BoundWitnessHydrator.d.ts.map +1 -0
  67. package/dist/node/block/hydrate/allHashesPresent.d.ts +5 -0
  68. package/dist/node/block/hydrate/allHashesPresent.d.ts.map +1 -0
  69. package/dist/node/block/hydrate/blockPayloadsFromHydratedBlock.d.ts +5 -0
  70. package/dist/node/block/hydrate/blockPayloadsFromHydratedBlock.d.ts.map +1 -0
  71. package/dist/node/block/hydrate/createBlockHydrator.d.ts +6 -0
  72. package/dist/node/block/hydrate/createBlockHydrator.d.ts.map +1 -0
  73. package/dist/node/block/hydrate/createBoundWitnessHydrator.d.ts +169 -0
  74. package/dist/node/block/hydrate/createBoundWitnessHydrator.d.ts.map +1 -0
  75. package/dist/node/block/hydrate/createTransactionHydrator.d.ts +6 -0
  76. package/dist/node/block/hydrate/createTransactionHydrator.d.ts.map +1 -0
  77. package/dist/node/block/hydrate/flattenHydratedBlock.d.ts +9 -0
  78. package/dist/node/block/hydrate/flattenHydratedBlock.d.ts.map +1 -0
  79. package/dist/node/block/hydrate/flattenHydratedBlocks.d.ts +4 -0
  80. package/dist/node/block/hydrate/flattenHydratedBlocks.d.ts.map +1 -0
  81. package/dist/node/block/hydrate/hydrateBlock.d.ts +5 -0
  82. package/dist/node/block/hydrate/hydrateBlock.d.ts.map +1 -0
  83. package/dist/node/block/hydrate/index.d.ts +12 -0
  84. package/dist/node/block/hydrate/index.d.ts.map +1 -0
  85. package/dist/node/block/hydrate/transactionsFromHydratedBlock.d.ts +4 -0
  86. package/dist/node/block/hydrate/transactionsFromHydratedBlock.d.ts.map +1 -0
  87. package/dist/node/block/hydrate/tryHydrateBlock.d.ts +6 -0
  88. package/dist/node/block/hydrate/tryHydrateBlock.d.ts.map +1 -0
  89. package/dist/node/block/index.d.ts +3 -0
  90. package/dist/node/block/index.d.ts.map +1 -0
  91. package/dist/node/block/primitives/blockFromBlockNumber.d.ts +5 -0
  92. package/dist/node/block/primitives/blockFromBlockNumber.d.ts.map +1 -0
  93. package/dist/node/block/primitives/frames/calculateFramesFromRange.d.ts +7 -0
  94. package/dist/node/block/primitives/frames/calculateFramesFromRange.d.ts.map +1 -0
  95. package/dist/node/block/primitives/frames/deepCalculateFramesFromRange.d.ts +10 -0
  96. package/dist/node/block/primitives/frames/deepCalculateFramesFromRange.d.ts.map +1 -0
  97. package/dist/node/block/primitives/frames/index.d.ts +3 -0
  98. package/dist/node/block/primitives/frames/index.d.ts.map +1 -0
  99. package/dist/node/block/primitives/hashFromBlockNumber.d.ts +5 -0
  100. package/dist/node/block/primitives/hashFromBlockNumber.d.ts.map +1 -0
  101. package/dist/node/block/primitives/index.d.ts +8 -0
  102. package/dist/node/block/primitives/index.d.ts.map +1 -0
  103. package/dist/node/block/primitives/model.d.ts +8 -0
  104. package/dist/node/block/primitives/model.d.ts.map +1 -0
  105. package/dist/node/block/primitives/payloads/ChainWindow.d.ts +7 -0
  106. package/dist/node/block/primitives/payloads/ChainWindow.d.ts.map +1 -0
  107. package/dist/node/block/primitives/payloads/index.d.ts +2 -0
  108. package/dist/node/block/primitives/payloads/index.d.ts.map +1 -0
  109. package/dist/node/block/primitives/toStepIdentityString.d.ts +4 -0
  110. package/dist/node/block/primitives/toStepIdentityString.d.ts.map +1 -0
  111. package/dist/node/block/primitives/validateTransactionOpcodes.d.ts +5 -0
  112. package/dist/node/block/primitives/validateTransactionOpcodes.d.ts.map +1 -0
  113. package/dist/node/boundwitness/buildUnsignedBoundWitness.d.ts +10 -0
  114. package/dist/node/boundwitness/buildUnsignedBoundWitness.d.ts.map +1 -0
  115. package/dist/node/boundwitness/index.d.ts +2 -0
  116. package/dist/node/boundwitness/index.d.ts.map +1 -0
  117. package/dist/node/capabilities/Backing.d.ts +52 -0
  118. package/dist/node/capabilities/Backing.d.ts.map +1 -0
  119. package/dist/node/capabilities/Capability.d.ts +32 -0
  120. package/dist/node/capabilities/Capability.d.ts.map +1 -0
  121. package/dist/node/capabilities/Provider.d.ts +31 -0
  122. package/dist/node/capabilities/Provider.d.ts.map +1 -0
  123. package/dist/node/capabilities/connectionSubsetBySurface.d.ts +17 -0
  124. package/dist/node/capabilities/connectionSubsetBySurface.d.ts.map +1 -0
  125. package/dist/node/capabilities/connectionTypes.d.ts +10 -0
  126. package/dist/node/capabilities/connectionTypes.d.ts.map +1 -0
  127. package/dist/node/capabilities/factoryBrand.d.ts +46 -0
  128. package/dist/node/capabilities/factoryBrand.d.ts.map +1 -0
  129. package/dist/node/capabilities/index.d.ts +12 -0
  130. package/dist/node/capabilities/index.d.ts.map +1 -0
  131. package/dist/node/capabilities/locatorFromConfig.d.ts +29 -0
  132. package/dist/node/capabilities/locatorFromConfig.d.ts.map +1 -0
  133. package/dist/node/capabilities/needsFromProviderBindings.d.ts +8 -0
  134. package/dist/node/capabilities/needsFromProviderBindings.d.ts.map +1 -0
  135. package/dist/node/capabilities/providerCandidateFromClass.d.ts +7 -0
  136. package/dist/node/capabilities/providerCandidateFromClass.d.ts.map +1 -0
  137. package/dist/node/capabilities/resolveProviders.d.ts +56 -0
  138. package/dist/node/capabilities/resolveProviders.d.ts.map +1 -0
  139. package/dist/node/capabilities/surfaceMap.d.ts +11 -0
  140. package/dist/node/capabilities/surfaceMap.d.ts.map +1 -0
  141. package/dist/node/config/Actor.d.ts +590 -0
  142. package/dist/node/config/Actor.d.ts.map +1 -0
  143. package/dist/node/config/Actors.d.ts +107 -0
  144. package/dist/node/config/Actors.d.ts.map +1 -0
  145. package/dist/node/config/Base.d.ts +109 -0
  146. package/dist/node/config/Base.d.ts.map +1 -0
  147. package/dist/node/config/Chain.d.ts +13 -0
  148. package/dist/node/config/Chain.d.ts.map +1 -0
  149. package/dist/node/config/Config.d.ts +396 -0
  150. package/dist/node/config/Config.d.ts.map +1 -0
  151. package/dist/node/config/DeepPartial.d.ts +5 -0
  152. package/dist/node/config/DeepPartial.d.ts.map +1 -0
  153. package/dist/node/config/HostActor.d.ts +591 -0
  154. package/dist/node/config/HostActor.d.ts.map +1 -0
  155. package/dist/node/config/LocatorConfigFields.d.ts +115 -0
  156. package/dist/node/config/LocatorConfigFields.d.ts.map +1 -0
  157. package/dist/node/config/Log.d.ts +16 -0
  158. package/dist/node/config/Log.d.ts.map +1 -0
  159. package/dist/node/config/Provider.d.ts +36 -0
  160. package/dist/node/config/Provider.d.ts.map +1 -0
  161. package/dist/node/config/ProviderBinding.d.ts +17 -0
  162. package/dist/node/config/ProviderBinding.d.ts.map +1 -0
  163. package/dist/node/config/Providers.d.ts +9 -0
  164. package/dist/node/config/Providers.d.ts.map +1 -0
  165. package/dist/node/config/ResolvedLocatorConfig.d.ts +122 -0
  166. package/dist/node/config/ResolvedLocatorConfig.d.ts.map +1 -0
  167. package/dist/node/config/Telemetry.d.ts +40 -0
  168. package/dist/node/config/Telemetry.d.ts.map +1 -0
  169. package/dist/node/config/UsageMeta.d.ts +32 -0
  170. package/dist/node/config/UsageMeta.d.ts.map +1 -0
  171. package/dist/node/config/Validation.d.ts +25 -0
  172. package/dist/node/config/Validation.d.ts.map +1 -0
  173. package/dist/node/config/connections/Connection.d.ts +147 -0
  174. package/dist/node/config/connections/Connection.d.ts.map +1 -0
  175. package/dist/node/config/connections/Mongo.d.ts +12 -0
  176. package/dist/node/config/connections/Mongo.d.ts.map +1 -0
  177. package/dist/node/config/connections/RpcRemote.d.ts +34 -0
  178. package/dist/node/config/connections/RpcRemote.d.ts.map +1 -0
  179. package/dist/node/config/connections/S3.d.ts +20 -0
  180. package/dist/node/config/connections/S3.d.ts.map +1 -0
  181. package/dist/node/config/connections/index.d.ts +5 -0
  182. package/dist/node/config/connections/index.d.ts.map +1 -0
  183. package/dist/node/config/index.d.ts +18 -0
  184. package/dist/node/config/index.d.ts.map +1 -0
  185. package/dist/node/config/normalizeConnectionsConfig.d.ts +17 -0
  186. package/dist/node/config/normalizeConnectionsConfig.d.ts.map +1 -0
  187. package/dist/node/config/resolveRestConnectionEndpoint.d.ts +5 -0
  188. package/dist/node/config/resolveRestConnectionEndpoint.d.ts.map +1 -0
  189. package/dist/node/config/synthesizeRpcConnectionBindings.d.ts +8 -0
  190. package/dist/node/config/synthesizeRpcConnectionBindings.d.ts.map +1 -0
  191. package/dist/node/constants.d.ts +5 -0
  192. package/dist/node/constants.d.ts.map +1 -0
  193. package/dist/node/context/Actor.d.ts +633 -0
  194. package/dist/node/context/Actor.d.ts.map +1 -0
  195. package/dist/node/context/HostActor.d.ts +645 -0
  196. package/dist/node/context/HostActor.d.ts.map +1 -0
  197. package/dist/node/context/index.d.ts +3 -0
  198. package/dist/node/context/index.d.ts.map +1 -0
  199. package/dist/node/createDeclarationPayload.d.ts +5 -0
  200. package/dist/node/createDeclarationPayload.d.ts.map +1 -0
  201. package/dist/node/createTransferPayload.d.ts +6 -0
  202. package/dist/node/createTransferPayload.d.ts.map +1 -0
  203. package/dist/node/eip-712/Payloads/EIP712Data.d.ts +32 -0
  204. package/dist/node/eip-712/Payloads/EIP712Data.d.ts.map +1 -0
  205. package/dist/node/eip-712/Payloads/EIP712Signature.d.ts +23 -0
  206. package/dist/node/eip-712/Payloads/EIP712Signature.d.ts.map +1 -0
  207. package/dist/node/eip-712/Payloads/index.d.ts +3 -0
  208. package/dist/node/eip-712/Payloads/index.d.ts.map +1 -0
  209. package/dist/node/eip-712/Types.d.ts +35 -0
  210. package/dist/node/eip-712/Types.d.ts.map +1 -0
  211. package/dist/node/eip-712/index.d.ts +5 -0
  212. package/dist/node/eip-712/index.d.ts.map +1 -0
  213. package/dist/node/eip-712/sign.d.ts +5 -0
  214. package/dist/node/eip-712/sign.d.ts.map +1 -0
  215. package/dist/node/eip-712/verify.d.ts +4 -0
  216. package/dist/node/eip-712/verify.d.ts.map +1 -0
  217. package/dist/node/getFileConfig.d.ts +191 -0
  218. package/dist/node/getFileConfig.d.ts.map +1 -0
  219. package/dist/node/index-node.d.ts +3 -0
  220. package/dist/node/index-node.d.ts.map +1 -0
  221. package/dist/node/index-node.mjs +9031 -0
  222. package/dist/node/index-node.mjs.map +7 -0
  223. package/dist/node/index.d.ts +31 -0
  224. package/dist/node/index.d.ts.map +1 -0
  225. package/dist/node/instances/Address.d.ts +13 -0
  226. package/dist/node/instances/Address.d.ts.map +1 -0
  227. package/dist/node/instances/BoundWitness.d.ts +9 -0
  228. package/dist/node/instances/BoundWitness.d.ts.map +1 -0
  229. package/dist/node/instances/Data.d.ts +5 -0
  230. package/dist/node/instances/Data.d.ts.map +1 -0
  231. package/dist/node/instances/Fees.d.ts +9 -0
  232. package/dist/node/instances/Fees.d.ts.map +1 -0
  233. package/dist/node/instances/HydratedBoundWitness.d.ts +11 -0
  234. package/dist/node/instances/HydratedBoundWitness.d.ts.map +1 -0
  235. package/dist/node/instances/Object.d.ts +6 -0
  236. package/dist/node/instances/Object.d.ts.map +1 -0
  237. package/dist/node/instances/Payload.d.ts +7 -0
  238. package/dist/node/instances/Payload.d.ts.map +1 -0
  239. package/dist/node/instances/Signature.d.ts +10 -0
  240. package/dist/node/instances/Signature.d.ts.map +1 -0
  241. package/dist/node/instances/block/BlockFields.d.ts +12 -0
  242. package/dist/node/instances/block/BlockFields.d.ts.map +1 -0
  243. package/dist/node/instances/block/HydratedBlock.d.ts +9 -0
  244. package/dist/node/instances/block/HydratedBlock.d.ts.map +1 -0
  245. package/dist/node/instances/block/index.d.ts +2 -0
  246. package/dist/node/instances/block/index.d.ts.map +1 -0
  247. package/dist/node/instances/index.d.ts +11 -0
  248. package/dist/node/instances/index.d.ts.map +1 -0
  249. package/dist/node/instances/modifiers/BlockWindowInstance.d.ts +8 -0
  250. package/dist/node/instances/modifiers/BlockWindowInstance.d.ts.map +1 -0
  251. package/dist/node/instances/modifiers/BlockWindowState.d.ts +6 -0
  252. package/dist/node/instances/modifiers/BlockWindowState.d.ts.map +1 -0
  253. package/dist/node/instances/modifiers/Signed.d.ts +8 -0
  254. package/dist/node/instances/modifiers/Signed.d.ts.map +1 -0
  255. package/dist/node/instances/modifiers/Validatable.d.ts +6 -0
  256. package/dist/node/instances/modifiers/Validatable.d.ts.map +1 -0
  257. package/dist/node/instances/modifiers/index.d.ts +5 -0
  258. package/dist/node/instances/modifiers/index.d.ts.map +1 -0
  259. package/dist/node/instances/transaction/HydratedTransaction.d.ts +7 -0
  260. package/dist/node/instances/transaction/HydratedTransaction.d.ts.map +1 -0
  261. package/dist/node/instances/transaction/TransactionFields.d.ts +17 -0
  262. package/dist/node/instances/transaction/TransactionFields.d.ts.map +1 -0
  263. package/dist/node/instances/transaction/index.d.ts +2 -0
  264. package/dist/node/instances/transaction/index.d.ts.map +1 -0
  265. package/dist/node/isInternetAvailable.d.ts +3 -0
  266. package/dist/node/isInternetAvailable.d.ts.map +1 -0
  267. package/dist/node/model/ChainFork/ChainForkStatic.d.ts +9 -0
  268. package/dist/node/model/ChainFork/ChainForkStatic.d.ts.map +1 -0
  269. package/dist/node/model/ChainFork/index.d.ts +2 -0
  270. package/dist/node/model/ChainFork/index.d.ts.map +1 -0
  271. package/dist/node/model/ChainIdentity.d.ts +6 -0
  272. package/dist/node/model/ChainIdentity.d.ts.map +1 -0
  273. package/dist/node/model/ChainStore.d.ts +12 -0
  274. package/dist/node/model/ChainStore.d.ts.map +1 -0
  275. package/dist/node/model/CreatableProviderContext.d.ts +5 -0
  276. package/dist/node/model/CreatableProviderContext.d.ts.map +1 -0
  277. package/dist/node/model/CreatableProviderContext.zod.d.ts +714 -0
  278. package/dist/node/model/CreatableProviderContext.zod.d.ts.map +1 -0
  279. package/dist/node/model/PayloadBundle/bundledPayloadToHydratedBlock.d.ts +5 -0
  280. package/dist/node/model/PayloadBundle/bundledPayloadToHydratedBlock.d.ts.map +1 -0
  281. package/dist/node/model/PayloadBundle/bundledPayloadToHydratedTransaction.d.ts +5 -0
  282. package/dist/node/model/PayloadBundle/bundledPayloadToHydratedTransaction.d.ts.map +1 -0
  283. package/dist/node/model/PayloadBundle/hydratedBlockToPayloadBundle.d.ts +5 -0
  284. package/dist/node/model/PayloadBundle/hydratedBlockToPayloadBundle.d.ts.map +1 -0
  285. package/dist/node/model/PayloadBundle/hydratedTransactionToPayloadBundle.d.ts +5 -0
  286. package/dist/node/model/PayloadBundle/hydratedTransactionToPayloadBundle.d.ts.map +1 -0
  287. package/dist/node/model/PayloadBundle/index.d.ts +5 -0
  288. package/dist/node/model/PayloadBundle/index.d.ts.map +1 -0
  289. package/dist/node/model/index.d.ts +7 -0
  290. package/dist/node/model/index.d.ts.map +1 -0
  291. package/dist/node/multipliers.d.ts +10 -0
  292. package/dist/node/multipliers.d.ts.map +1 -0
  293. package/dist/node/payloads/AddressPairPayload.d.ts +22 -0
  294. package/dist/node/payloads/AddressPairPayload.d.ts.map +1 -0
  295. package/dist/node/payloads/index.d.ts +5 -0
  296. package/dist/node/payloads/index.d.ts.map +1 -0
  297. package/dist/node/payloads/netBalancesForPayloads.d.ts +9 -0
  298. package/dist/node/payloads/netBalancesForPayloads.d.ts.map +1 -0
  299. package/dist/node/payloads/netSchemasForPayloads.d.ts +9 -0
  300. package/dist/node/payloads/netSchemasForPayloads.d.ts.map +1 -0
  301. package/dist/node/payloads/netTransfersForPayloads.d.ts +5 -0
  302. package/dist/node/payloads/netTransfersForPayloads.d.ts.map +1 -0
  303. package/dist/node/primitives/block/index.d.ts +3 -0
  304. package/dist/node/primitives/block/index.d.ts.map +1 -0
  305. package/dist/node/primitives/block/range/blockRangeSteps.d.ts +4 -0
  306. package/dist/node/primitives/block/range/blockRangeSteps.d.ts.map +1 -0
  307. package/dist/node/primitives/block/range/index.d.ts +2 -0
  308. package/dist/node/primitives/block/range/index.d.ts.map +1 -0
  309. package/dist/node/primitives/block/rate/blockRate.d.ts +11 -0
  310. package/dist/node/primitives/block/rate/blockRate.d.ts.map +1 -0
  311. package/dist/node/primitives/block/rate/index.d.ts +5 -0
  312. package/dist/node/primitives/block/rate/index.d.ts.map +1 -0
  313. package/dist/node/primitives/block/rate/stepRate.d.ts +7 -0
  314. package/dist/node/primitives/block/rate/stepRate.d.ts.map +1 -0
  315. package/dist/node/primitives/block/rate/timeHelpers.d.ts +8 -0
  316. package/dist/node/primitives/block/rate/timeHelpers.d.ts.map +1 -0
  317. package/dist/node/primitives/block/rate/timeRate.d.ts +8 -0
  318. package/dist/node/primitives/block/rate/timeRate.d.ts.map +1 -0
  319. package/dist/node/primitives/chain/getWindowedChain.d.ts +10 -0
  320. package/dist/node/primitives/chain/getWindowedChain.d.ts.map +1 -0
  321. package/dist/node/primitives/chain/index.d.ts +4 -0
  322. package/dist/node/primitives/chain/index.d.ts.map +1 -0
  323. package/dist/node/primitives/chain/step/chainStepRewardAddress.d.ts +5 -0
  324. package/dist/node/primitives/chain/step/chainStepRewardAddress.d.ts.map +1 -0
  325. package/dist/node/primitives/chain/step/index.d.ts +5 -0
  326. package/dist/node/primitives/chain/step/index.d.ts.map +1 -0
  327. package/dist/node/primitives/chain/step/stepRewardBlock.d.ts +4 -0
  328. package/dist/node/primitives/chain/step/stepRewardBlock.d.ts.map +1 -0
  329. package/dist/node/primitives/chain/step/stepRewardTotal.d.ts +4 -0
  330. package/dist/node/primitives/chain/step/stepRewardTotal.d.ts.map +1 -0
  331. package/dist/node/primitives/chain/step/stepsRewardTotal.d.ts +8 -0
  332. package/dist/node/primitives/chain/step/stepsRewardTotal.d.ts.map +1 -0
  333. package/dist/node/primitives/chain/time/externalBlockNumberFromXl1BlockNumber.d.ts +4 -0
  334. package/dist/node/primitives/chain/time/externalBlockNumberFromXl1BlockNumber.d.ts.map +1 -0
  335. package/dist/node/primitives/chain/time/externalBlockRangeFromStep.d.ts +4 -0
  336. package/dist/node/primitives/chain/time/externalBlockRangeFromStep.d.ts.map +1 -0
  337. package/dist/node/primitives/chain/time/externalBlockRangeFromXl1BlockRange.d.ts +4 -0
  338. package/dist/node/primitives/chain/time/externalBlockRangeFromXl1BlockRange.d.ts.map +1 -0
  339. package/dist/node/primitives/chain/time/index.d.ts +4 -0
  340. package/dist/node/primitives/chain/time/index.d.ts.map +1 -0
  341. package/dist/node/primitives/datalake/NamedDataLake.d.ts +7 -0
  342. package/dist/node/primitives/datalake/NamedDataLake.d.ts.map +1 -0
  343. package/dist/node/primitives/datalake/PayloadLocator.d.ts +55 -0
  344. package/dist/node/primitives/datalake/PayloadLocator.d.ts.map +1 -0
  345. package/dist/node/primitives/datalake/addDataLakePayloads.d.ts +5 -0
  346. package/dist/node/primitives/datalake/addDataLakePayloads.d.ts.map +1 -0
  347. package/dist/node/primitives/datalake/addDataLakePayloadsToPayloads.d.ts +9 -0
  348. package/dist/node/primitives/datalake/addDataLakePayloadsToPayloads.d.ts.map +1 -0
  349. package/dist/node/primitives/datalake/index.d.ts +5 -0
  350. package/dist/node/primitives/datalake/index.d.ts.map +1 -0
  351. package/dist/node/primitives/index.d.ts +13 -0
  352. package/dist/node/primitives/index.d.ts.map +1 -0
  353. package/dist/node/primitives/mapToMapType.d.ts +4 -0
  354. package/dist/node/primitives/mapToMapType.d.ts.map +1 -0
  355. package/dist/node/primitives/payload/index.d.ts +2 -0
  356. package/dist/node/primitives/payload/index.d.ts.map +1 -0
  357. package/dist/node/primitives/payload/mergeTransfers.d.ts +5 -0
  358. package/dist/node/primitives/payload/mergeTransfers.d.ts.map +1 -0
  359. package/dist/node/primitives/readPayloadMapFromStore.d.ts +7 -0
  360. package/dist/node/primitives/readPayloadMapFromStore.d.ts.map +1 -0
  361. package/dist/node/primitives/rewardFromBlockNumber.d.ts +4 -0
  362. package/dist/node/primitives/rewardFromBlockNumber.d.ts.map +1 -0
  363. package/dist/node/primitives/rewards/index.d.ts +2 -0
  364. package/dist/node/primitives/rewards/index.d.ts.map +1 -0
  365. package/dist/node/primitives/rewards/networkStakeStepRewardPositionWeight.d.ts +4 -0
  366. package/dist/node/primitives/rewards/networkStakeStepRewardPositionWeight.d.ts.map +1 -0
  367. package/dist/node/primitives/stake/activeStakeAtTimeByAddress.d.ts +5 -0
  368. package/dist/node/primitives/stake/activeStakeAtTimeByAddress.d.ts.map +1 -0
  369. package/dist/node/primitives/stake/activeStakeAtTimeByPosition.d.ts +4 -0
  370. package/dist/node/primitives/stake/activeStakeAtTimeByPosition.d.ts.map +1 -0
  371. package/dist/node/primitives/stake/allStakersForRange.d.ts +5 -0
  372. package/dist/node/primitives/stake/allStakersForRange.d.ts.map +1 -0
  373. package/dist/node/primitives/stake/allStakersForStep.d.ts +5 -0
  374. package/dist/node/primitives/stake/allStakersForStep.d.ts.map +1 -0
  375. package/dist/node/primitives/stake/index.d.ts +7 -0
  376. package/dist/node/primitives/stake/index.d.ts.map +1 -0
  377. package/dist/node/primitives/stake/mergedAddRemoveStakeEventsByPosition.d.ts +4 -0
  378. package/dist/node/primitives/stake/mergedAddRemoveStakeEventsByPosition.d.ts.map +1 -0
  379. package/dist/node/primitives/stake/mergedAddRemoveStakeEventsByStaker.d.ts +5 -0
  380. package/dist/node/primitives/stake/mergedAddRemoveStakeEventsByStaker.d.ts.map +1 -0
  381. package/dist/node/primitives/stake/weightedStakeForRangeByPosition.d.ts +6 -0
  382. package/dist/node/primitives/stake/weightedStakeForRangeByPosition.d.ts.map +1 -0
  383. package/dist/node/primitives/state/findMostRecentBlock.d.ts +11 -0
  384. package/dist/node/primitives/state/findMostRecentBlock.d.ts.map +1 -0
  385. package/dist/node/primitives/state/hydratedBlockByNumber.d.ts +4 -0
  386. package/dist/node/primitives/state/hydratedBlockByNumber.d.ts.map +1 -0
  387. package/dist/node/primitives/state/index.d.ts +3 -0
  388. package/dist/node/primitives/state/index.d.ts.map +1 -0
  389. package/dist/node/primitives/step/derivedReceiveAddress.d.ts +2 -0
  390. package/dist/node/primitives/step/derivedReceiveAddress.d.ts.map +1 -0
  391. package/dist/node/primitives/step/index.d.ts +3 -0
  392. package/dist/node/primitives/step/index.d.ts.map +1 -0
  393. package/dist/node/primitives/step/rewardAddressFromStepIdentity.d.ts +2 -0
  394. package/dist/node/primitives/step/rewardAddressFromStepIdentity.d.ts.map +1 -0
  395. package/dist/node/primitives/step/stepBlockRange.d.ts +4 -0
  396. package/dist/node/primitives/step/stepBlockRange.d.ts.map +1 -0
  397. package/dist/node/primitives/step/stepTransferIndex.d.ts +3 -0
  398. package/dist/node/primitives/step/stepTransferIndex.d.ts.map +1 -0
  399. package/dist/node/primitives/transaction/elevatedPayloads.d.ts +2 -0
  400. package/dist/node/primitives/transaction/elevatedPayloads.d.ts.map +1 -0
  401. package/dist/node/primitives/transaction/index.d.ts +2 -0
  402. package/dist/node/primitives/transaction/index.d.ts.map +1 -0
  403. package/dist/node/primitives/uncle/findBestUncle.d.ts +17 -0
  404. package/dist/node/primitives/uncle/findBestUncle.d.ts.map +1 -0
  405. package/dist/node/primitives/uncle/findUncles.d.ts +36 -0
  406. package/dist/node/primitives/uncle/findUncles.d.ts.map +1 -0
  407. package/dist/node/primitives/uncle/getProducerKey.d.ts +4 -0
  408. package/dist/node/primitives/uncle/getProducerKey.d.ts.map +1 -0
  409. package/dist/node/primitives/uncle/index.d.ts +5 -0
  410. package/dist/node/primitives/uncle/index.d.ts.map +1 -0
  411. package/dist/node/primitives/uncle/scoreUncle.d.ts +6 -0
  412. package/dist/node/primitives/uncle/scoreUncle.d.ts.map +1 -0
  413. package/dist/node/services/AccountTransfersService.d.ts +12 -0
  414. package/dist/node/services/AccountTransfersService.d.ts.map +1 -0
  415. package/dist/node/services/BlockProducerService.d.ts +7 -0
  416. package/dist/node/services/BlockProducerService.d.ts.map +1 -0
  417. package/dist/node/services/Chain/BaseChainService.d.ts +4 -0
  418. package/dist/node/services/Chain/BaseChainService.d.ts.map +1 -0
  419. package/dist/node/services/Chain/ChainHeadService.d.ts +7 -0
  420. package/dist/node/services/Chain/ChainHeadService.d.ts.map +1 -0
  421. package/dist/node/services/Chain/ChainService.d.ts +6 -0
  422. package/dist/node/services/Chain/ChainService.d.ts.map +1 -0
  423. package/dist/node/services/Chain/index.d.ts +4 -0
  424. package/dist/node/services/Chain/index.d.ts.map +1 -0
  425. package/dist/node/services/Election.d.ts +11 -0
  426. package/dist/node/services/Election.d.ts.map +1 -0
  427. package/dist/node/services/NetworkStakeService.d.ts +5 -0
  428. package/dist/node/services/NetworkStakeService.d.ts.map +1 -0
  429. package/dist/node/services/Params.d.ts +11 -0
  430. package/dist/node/services/Params.d.ts.map +1 -0
  431. package/dist/node/services/PendingTransactionsService.d.ts +7 -0
  432. package/dist/node/services/PendingTransactionsService.d.ts.map +1 -0
  433. package/dist/node/services/SchemasService.d.ts +11 -0
  434. package/dist/node/services/SchemasService.d.ts.map +1 -0
  435. package/dist/node/services/StakeIntentService/ChainIndexingServiceStateSchema.d.ts +39 -0
  436. package/dist/node/services/StakeIntentService/ChainIndexingServiceStateSchema.d.ts.map +1 -0
  437. package/dist/node/services/StakeIntentService/StakeIntentService.d.ts +31 -0
  438. package/dist/node/services/StakeIntentService/StakeIntentService.d.ts.map +1 -0
  439. package/dist/node/services/StakeIntentService/index.d.ts +3 -0
  440. package/dist/node/services/StakeIntentService/index.d.ts.map +1 -0
  441. package/dist/node/services/index.d.ts +9 -0
  442. package/dist/node/services/index.d.ts.map +1 -0
  443. package/dist/node/simple/StakeEventsViewer/SimpleStakeEventsViewer.d.ts +23 -0
  444. package/dist/node/simple/StakeEventsViewer/SimpleStakeEventsViewer.d.ts.map +1 -0
  445. package/dist/node/simple/StakeEventsViewer/index.d.ts +2 -0
  446. package/dist/node/simple/StakeEventsViewer/index.d.ts.map +1 -0
  447. package/dist/node/simple/StakeTotalsViewer/SimpleStakeTotalsViewer.d.ts +27 -0
  448. package/dist/node/simple/StakeTotalsViewer/SimpleStakeTotalsViewer.d.ts.map +1 -0
  449. package/dist/node/simple/StakeTotalsViewer/index.d.ts +2 -0
  450. package/dist/node/simple/StakeTotalsViewer/index.d.ts.map +1 -0
  451. package/dist/node/simple/StakeViewer/SimpleStakeViewer.d.ts +42 -0
  452. package/dist/node/simple/StakeViewer/SimpleStakeViewer.d.ts.map +1 -0
  453. package/dist/node/simple/StakeViewer/index.d.ts +2 -0
  454. package/dist/node/simple/StakeViewer/index.d.ts.map +1 -0
  455. package/dist/node/simple/TransactionViewer/SimpleTransactionViewer.d.ts +25 -0
  456. package/dist/node/simple/TransactionViewer/SimpleTransactionViewer.d.ts.map +1 -0
  457. package/dist/node/simple/TransactionViewer/index.d.ts +2 -0
  458. package/dist/node/simple/TransactionViewer/index.d.ts.map +1 -0
  459. package/dist/node/simple/accountBalance/SimpleAccountBalanceViewer.d.ts +132 -0
  460. package/dist/node/simple/accountBalance/SimpleAccountBalanceViewer.d.ts.map +1 -0
  461. package/dist/node/simple/accountBalance/index.d.ts +2 -0
  462. package/dist/node/simple/accountBalance/index.d.ts.map +1 -0
  463. package/dist/node/simple/block/SimpleBlockViewer.d.ts +114 -0
  464. package/dist/node/simple/block/SimpleBlockViewer.d.ts.map +1 -0
  465. package/dist/node/simple/block/index.d.ts +2 -0
  466. package/dist/node/simple/block/index.d.ts.map +1 -0
  467. package/dist/node/simple/blockInvalidation/SimpleBlockInvalidationViewer.d.ts +37 -0
  468. package/dist/node/simple/blockInvalidation/SimpleBlockInvalidationViewer.d.ts.map +1 -0
  469. package/dist/node/simple/blockInvalidation/index.d.ts +2 -0
  470. package/dist/node/simple/blockInvalidation/index.d.ts.map +1 -0
  471. package/dist/node/simple/blockReward/SimpleBlockRewardViewer.d.ts +18 -0
  472. package/dist/node/simple/blockReward/SimpleBlockRewardViewer.d.ts.map +1 -0
  473. package/dist/node/simple/blockReward/index.d.ts +2 -0
  474. package/dist/node/simple/blockReward/index.d.ts.map +1 -0
  475. package/dist/node/simple/blockValidation/SimpleBlockValidationViewer.d.ts +38 -0
  476. package/dist/node/simple/blockValidation/SimpleBlockValidationViewer.d.ts.map +1 -0
  477. package/dist/node/simple/blockValidation/index.d.ts +2 -0
  478. package/dist/node/simple/blockValidation/index.d.ts.map +1 -0
  479. package/dist/node/simple/chainContractViewer/SimpleChainContractViewer.d.ts +47 -0
  480. package/dist/node/simple/chainContractViewer/SimpleChainContractViewer.d.ts.map +1 -0
  481. package/dist/node/simple/chainContractViewer/index.d.ts +2 -0
  482. package/dist/node/simple/chainContractViewer/index.d.ts.map +1 -0
  483. package/dist/node/simple/client/SimpleXyoClient.d.ts +9 -0
  484. package/dist/node/simple/client/SimpleXyoClient.d.ts.map +1 -0
  485. package/dist/node/simple/client/index.d.ts +2 -0
  486. package/dist/node/simple/client/index.d.ts.map +1 -0
  487. package/dist/node/simple/datalake/AbstractRestDataLake.d.ts +34 -0
  488. package/dist/node/simple/datalake/AbstractRestDataLake.d.ts.map +1 -0
  489. package/dist/node/simple/datalake/AbstractSimpleDataLake.d.ts +21 -0
  490. package/dist/node/simple/datalake/AbstractSimpleDataLake.d.ts.map +1 -0
  491. package/dist/node/simple/datalake/RestDataLakeRunner.d.ts +20 -0
  492. package/dist/node/simple/datalake/RestDataLakeRunner.d.ts.map +1 -0
  493. package/dist/node/simple/datalake/RestDataLakeViewer.d.ts +16 -0
  494. package/dist/node/simple/datalake/RestDataLakeViewer.d.ts.map +1 -0
  495. package/dist/node/simple/datalake/SimpleDataLakeRunner.d.ts +23 -0
  496. package/dist/node/simple/datalake/SimpleDataLakeRunner.d.ts.map +1 -0
  497. package/dist/node/simple/datalake/SimpleDataLakeViewer.d.ts +17 -0
  498. package/dist/node/simple/datalake/SimpleDataLakeViewer.d.ts.map +1 -0
  499. package/dist/node/simple/datalake/index.d.ts +5 -0
  500. package/dist/node/simple/datalake/index.d.ts.map +1 -0
  501. package/dist/node/simple/finalization/SimpleFinalizationRunner.d.ts +30 -0
  502. package/dist/node/simple/finalization/SimpleFinalizationRunner.d.ts.map +1 -0
  503. package/dist/node/simple/finalization/SimpleFinalizationViewer.d.ts +75 -0
  504. package/dist/node/simple/finalization/SimpleFinalizationViewer.d.ts.map +1 -0
  505. package/dist/node/simple/finalization/index.d.ts +3 -0
  506. package/dist/node/simple/finalization/index.d.ts.map +1 -0
  507. package/dist/node/simple/gateway/SimpleXyoGateway.d.ts +17 -0
  508. package/dist/node/simple/gateway/SimpleXyoGateway.d.ts.map +1 -0
  509. package/dist/node/simple/gateway/SimpleXyoGatewayRunner.d.ts +29 -0
  510. package/dist/node/simple/gateway/SimpleXyoGatewayRunner.d.ts.map +1 -0
  511. package/dist/node/simple/gateway/index.d.ts +3 -0
  512. package/dist/node/simple/gateway/index.d.ts.map +1 -0
  513. package/dist/node/simple/index.d.ts +24 -0
  514. package/dist/node/simple/index.d.ts.map +1 -0
  515. package/dist/node/simple/mempool/SimpleMempoolRunner.d.ts +84 -0
  516. package/dist/node/simple/mempool/SimpleMempoolRunner.d.ts.map +1 -0
  517. package/dist/node/simple/mempool/SimpleMempoolViewer.d.ts +82 -0
  518. package/dist/node/simple/mempool/SimpleMempoolViewer.d.ts.map +1 -0
  519. package/dist/node/simple/mempool/index.d.ts +3 -0
  520. package/dist/node/simple/mempool/index.d.ts.map +1 -0
  521. package/dist/node/simple/network/SimpleXyoNetwork.d.ts +12 -0
  522. package/dist/node/simple/network/SimpleXyoNetwork.d.ts.map +1 -0
  523. package/dist/node/simple/network/index.d.ts +2 -0
  524. package/dist/node/simple/network/index.d.ts.map +1 -0
  525. package/dist/node/simple/network/lib/FailedNetworkStatusPayloads.d.ts +6 -0
  526. package/dist/node/simple/network/lib/FailedNetworkStatusPayloads.d.ts.map +1 -0
  527. package/dist/node/simple/network/lib/StatusNetworks.d.ts +15 -0
  528. package/dist/node/simple/network/lib/StatusNetworks.d.ts.map +1 -0
  529. package/dist/node/simple/network/lib/index.d.ts +3 -0
  530. package/dist/node/simple/network/lib/index.d.ts.map +1 -0
  531. package/dist/node/simple/permissions/SimpleXyoPermissions.d.ts +17 -0
  532. package/dist/node/simple/permissions/SimpleXyoPermissions.d.ts.map +1 -0
  533. package/dist/node/simple/permissions/index.d.ts +3 -0
  534. package/dist/node/simple/permissions/index.d.ts.map +1 -0
  535. package/dist/node/simple/permissions/store/MemoryPermissions.d.ts +16 -0
  536. package/dist/node/simple/permissions/store/MemoryPermissions.d.ts.map +1 -0
  537. package/dist/node/simple/permissions/store/PermissionsStore.d.ts +14 -0
  538. package/dist/node/simple/permissions/store/PermissionsStore.d.ts.map +1 -0
  539. package/dist/node/simple/permissions/store/index.d.ts +3 -0
  540. package/dist/node/simple/permissions/store/index.d.ts.map +1 -0
  541. package/dist/node/simple/runner/SimpleXyoRunner.d.ts +21 -0
  542. package/dist/node/simple/runner/SimpleXyoRunner.d.ts.map +1 -0
  543. package/dist/node/simple/runner/index.d.ts +2 -0
  544. package/dist/node/simple/runner/index.d.ts.map +1 -0
  545. package/dist/node/simple/signer/SimpleXyoSigner.d.ts +31 -0
  546. package/dist/node/simple/signer/SimpleXyoSigner.d.ts.map +1 -0
  547. package/dist/node/simple/signer/index.d.ts +2 -0
  548. package/dist/node/simple/signer/index.d.ts.map +1 -0
  549. package/dist/node/simple/sync/RestSyncViewer.d.ts +22 -0
  550. package/dist/node/simple/sync/RestSyncViewer.d.ts.map +1 -0
  551. package/dist/node/simple/sync/index.d.ts +2 -0
  552. package/dist/node/simple/sync/index.d.ts.map +1 -0
  553. package/dist/node/simple/systemStatus/SimpleSystemStatusViewer.d.ts +27 -0
  554. package/dist/node/simple/systemStatus/SimpleSystemStatusViewer.d.ts.map +1 -0
  555. package/dist/node/simple/systemStatus/index.d.ts +2 -0
  556. package/dist/node/simple/systemStatus/index.d.ts.map +1 -0
  557. package/dist/node/simple/timeSync2/SimpleTimeSyncViewer.d.ts +27 -0
  558. package/dist/node/simple/timeSync2/SimpleTimeSyncViewer.d.ts.map +1 -0
  559. package/dist/node/simple/timeSync2/index.d.ts +2 -0
  560. package/dist/node/simple/timeSync2/index.d.ts.map +1 -0
  561. package/dist/node/simple/transactionInvalidation/SimpleTransactionInvalidationViewer.d.ts +35 -0
  562. package/dist/node/simple/transactionInvalidation/SimpleTransactionInvalidationViewer.d.ts.map +1 -0
  563. package/dist/node/simple/transactionInvalidation/index.d.ts +2 -0
  564. package/dist/node/simple/transactionInvalidation/index.d.ts.map +1 -0
  565. package/dist/node/simple/transactionValidation/SimpleTransactionValidationViewer.d.ts +34 -0
  566. package/dist/node/simple/transactionValidation/SimpleTransactionValidationViewer.d.ts.map +1 -0
  567. package/dist/node/simple/transactionValidation/index.d.ts +2 -0
  568. package/dist/node/simple/transactionValidation/index.d.ts.map +1 -0
  569. package/dist/node/simple/windowedBlock/SimpleWindowedBlockViewer.d.ts +242 -0
  570. package/dist/node/simple/windowedBlock/SimpleWindowedBlockViewer.d.ts.map +1 -0
  571. package/dist/node/simple/windowedBlock/index.d.ts +2 -0
  572. package/dist/node/simple/windowedBlock/index.d.ts.map +1 -0
  573. package/dist/node/status/ServiceStatus.d.ts +9 -0
  574. package/dist/node/status/ServiceStatus.d.ts.map +1 -0
  575. package/dist/node/status/SimpleSystemStatusRunner.d.ts +35 -0
  576. package/dist/node/status/SimpleSystemStatusRunner.d.ts.map +1 -0
  577. package/dist/node/status/index.d.ts +3 -0
  578. package/dist/node/status/index.d.ts.map +1 -0
  579. package/dist/node/summary/index.d.ts +3 -0
  580. package/dist/node/summary/index.d.ts.map +1 -0
  581. package/dist/node/summary/model/BalancesStepSummary.d.ts +26 -0
  582. package/dist/node/summary/model/BalancesStepSummary.d.ts.map +1 -0
  583. package/dist/node/summary/model/SchemasStepSummary.d.ts +25 -0
  584. package/dist/node/summary/model/SchemasStepSummary.d.ts.map +1 -0
  585. package/dist/node/summary/model/TransfersSummary.d.ts +26 -0
  586. package/dist/node/summary/model/TransfersSummary.d.ts.map +1 -0
  587. package/dist/node/summary/model/index.d.ts +4 -0
  588. package/dist/node/summary/model/index.d.ts.map +1 -0
  589. package/dist/node/summary/primitives/balances/balancesMaxStep.d.ts +9 -0
  590. package/dist/node/summary/primitives/balances/balancesMaxStep.d.ts.map +1 -0
  591. package/dist/node/summary/primitives/balances/balancesStepSummaryFromRange.d.ts +6 -0
  592. package/dist/node/summary/primitives/balances/balancesStepSummaryFromRange.d.ts.map +1 -0
  593. package/dist/node/summary/primitives/balances/balancesSummary.d.ts +7 -0
  594. package/dist/node/summary/primitives/balances/balancesSummary.d.ts.map +1 -0
  595. package/dist/node/summary/primitives/balances/index.d.ts +4 -0
  596. package/dist/node/summary/primitives/balances/index.d.ts.map +1 -0
  597. package/dist/node/summary/primitives/blocks/blocksMaxStep.d.ts +13 -0
  598. package/dist/node/summary/primitives/blocks/blocksMaxStep.d.ts.map +1 -0
  599. package/dist/node/summary/primitives/blocks/blocksStepSummaryFromRange.d.ts +12 -0
  600. package/dist/node/summary/primitives/blocks/blocksStepSummaryFromRange.d.ts.map +1 -0
  601. package/dist/node/summary/primitives/blocks/index.d.ts +3 -0
  602. package/dist/node/summary/primitives/blocks/index.d.ts.map +1 -0
  603. package/dist/node/summary/primitives/index.d.ts +5 -0
  604. package/dist/node/summary/primitives/index.d.ts.map +1 -0
  605. package/dist/node/summary/primitives/schemas/index.d.ts +4 -0
  606. package/dist/node/summary/primitives/schemas/index.d.ts.map +1 -0
  607. package/dist/node/summary/primitives/schemas/schemasMaxStep.d.ts +8 -0
  608. package/dist/node/summary/primitives/schemas/schemasMaxStep.d.ts.map +1 -0
  609. package/dist/node/summary/primitives/schemas/schemasStepSummaryFromRange.d.ts +7 -0
  610. package/dist/node/summary/primitives/schemas/schemasStepSummaryFromRange.d.ts.map +1 -0
  611. package/dist/node/summary/primitives/schemas/schemasSummary.d.ts +7 -0
  612. package/dist/node/summary/primitives/schemas/schemasSummary.d.ts.map +1 -0
  613. package/dist/node/summary/primitives/transfers/index.d.ts +4 -0
  614. package/dist/node/summary/primitives/transfers/index.d.ts.map +1 -0
  615. package/dist/node/summary/primitives/transfers/transfersMaxStep.d.ts +10 -0
  616. package/dist/node/summary/primitives/transfers/transfersMaxStep.d.ts.map +1 -0
  617. package/dist/node/summary/primitives/transfers/transfersStepSummaryFromRange.d.ts +9 -0
  618. package/dist/node/summary/primitives/transfers/transfersStepSummaryFromRange.d.ts.map +1 -0
  619. package/dist/node/summary/primitives/transfers/transfersSummary.d.ts +7 -0
  620. package/dist/node/summary/primitives/transfers/transfersSummary.d.ts.map +1 -0
  621. package/dist/node/test/BuildBlockOptions.d.ts +33 -0
  622. package/dist/node/test/BuildBlockOptions.d.ts.map +1 -0
  623. package/dist/node/test/buildBlock.d.ts +5 -0
  624. package/dist/node/test/buildBlock.d.ts.map +1 -0
  625. package/dist/node/test/buildGenesisBlock.d.ts +9 -0
  626. package/dist/node/test/buildGenesisBlock.d.ts.map +1 -0
  627. package/dist/node/test/buildNextBlock.d.ts +6 -0
  628. package/dist/node/test/buildNextBlock.d.ts.map +1 -0
  629. package/dist/node/test/buildRandomChain.d.ts +20 -0
  630. package/dist/node/test/buildRandomChain.d.ts.map +1 -0
  631. package/dist/node/test/buildRandomGenesisBlock.d.ts +13 -0
  632. package/dist/node/test/buildRandomGenesisBlock.d.ts.map +1 -0
  633. package/dist/node/test/buildRandomTransaction.d.ts +5 -0
  634. package/dist/node/test/buildRandomTransaction.d.ts.map +1 -0
  635. package/dist/node/test/createGenesisBlock.d.ts +5 -0
  636. package/dist/node/test/createGenesisBlock.d.ts.map +1 -0
  637. package/dist/node/test/createProducerChainStakeIntentTransaction.d.ts +16 -0
  638. package/dist/node/test/createProducerChainStakeIntentTransaction.d.ts.map +1 -0
  639. package/dist/node/test/getSimpleBlockViewerLocator.d.ts +15 -0
  640. package/dist/node/test/getSimpleBlockViewerLocator.d.ts.map +1 -0
  641. package/dist/node/test/getTestProviderContext.d.ts +5 -0
  642. package/dist/node/test/getTestProviderContext.d.ts.map +1 -0
  643. package/dist/node/test/index.d.ts +5 -0
  644. package/dist/node/test/index.d.ts.map +1 -0
  645. package/dist/node/time/index.d.ts +2 -0
  646. package/dist/node/time/index.d.ts.map +1 -0
  647. package/dist/node/time/primitives/index.d.ts +2 -0
  648. package/dist/node/time/primitives/index.d.ts.map +1 -0
  649. package/dist/node/time/primitives/xl1BlockNumberToEthBlockNumber.d.ts +4 -0
  650. package/dist/node/time/primitives/xl1BlockNumberToEthBlockNumber.d.ts.map +1 -0
  651. package/dist/node/transaction/TransactionBuilder.d.ts +110 -0
  652. package/dist/node/transaction/TransactionBuilder.d.ts.map +1 -0
  653. package/dist/node/transaction/buildTransaction.d.ts +5 -0
  654. package/dist/node/transaction/buildTransaction.d.ts.map +1 -0
  655. package/dist/node/transaction/buildUnsignedTransaction.d.ts +5 -0
  656. package/dist/node/transaction/buildUnsignedTransaction.d.ts.map +1 -0
  657. package/dist/node/transaction/confirmSubmittedTransaction.d.ts +11 -0
  658. package/dist/node/transaction/confirmSubmittedTransaction.d.ts.map +1 -0
  659. package/dist/node/transaction/hydrateTransaction.d.ts +21 -0
  660. package/dist/node/transaction/hydrateTransaction.d.ts.map +1 -0
  661. package/dist/node/transaction/index.d.ts +8 -0
  662. package/dist/node/transaction/index.d.ts.map +1 -0
  663. package/dist/node/transaction/primitives/index.d.ts +5 -0
  664. package/dist/node/transaction/primitives/index.d.ts.map +1 -0
  665. package/dist/node/transaction/primitives/transactionBlockByteCount.d.ts +4 -0
  666. package/dist/node/transaction/primitives/transactionBlockByteCount.d.ts.map +1 -0
  667. package/dist/node/transaction/primitives/transactionElevatedPayloads.d.ts +8 -0
  668. package/dist/node/transaction/primitives/transactionElevatedPayloads.d.ts.map +1 -0
  669. package/dist/node/transaction/primitives/transactionOperations.d.ts +5 -0
  670. package/dist/node/transaction/primitives/transactionOperations.d.ts.map +1 -0
  671. package/dist/node/transaction/primitives/transactionRequiredGas.d.ts +7 -0
  672. package/dist/node/transaction/primitives/transactionRequiredGas.d.ts.map +1 -0
  673. package/dist/node/transaction/script.d.ts +2 -0
  674. package/dist/node/transaction/script.d.ts.map +1 -0
  675. package/dist/node/transaction/signTransaction.d.ts +19 -0
  676. package/dist/node/transaction/signTransaction.d.ts.map +1 -0
  677. package/dist/node/utils/HydratedCache.d.ts +15 -0
  678. package/dist/node/utils/HydratedCache.d.ts.map +1 -0
  679. package/dist/node/utils/index.d.ts +3 -0
  680. package/dist/node/utils/index.d.ts.map +1 -0
  681. package/dist/node/utils/isZodError.d.ts +6 -0
  682. package/dist/node/utils/isZodError.d.ts.map +1 -0
  683. package/dist/node/validation/index.d.ts +3 -0
  684. package/dist/node/validation/index.d.ts.map +1 -0
  685. package/dist/node/validation/lib/getUrl.d.ts +3 -0
  686. package/dist/node/validation/lib/getUrl.d.ts.map +1 -0
  687. package/dist/node/validation/lib/index.d.ts +3 -0
  688. package/dist/node/validation/lib/index.d.ts.map +1 -0
  689. package/dist/node/validation/lib/isLocalhost.d.ts +3 -0
  690. package/dist/node/validation/lib/isLocalhost.d.ts.map +1 -0
  691. package/dist/node/validation/schema/Address.d.ts +3 -0
  692. package/dist/node/validation/schema/Address.d.ts.map +1 -0
  693. package/dist/node/validation/schema/Mnemonic.d.ts +14 -0
  694. package/dist/node/validation/schema/Mnemonic.d.ts.map +1 -0
  695. package/dist/node/validation/schema/index.d.ts +3 -0
  696. package/dist/node/validation/schema/index.d.ts.map +1 -0
  697. package/dist/node/wallet/generateXyoBaseWalletFromPhrase.d.ts +7 -0
  698. package/dist/node/wallet/generateXyoBaseWalletFromPhrase.d.ts.map +1 -0
  699. package/dist/node/wallet/index.d.ts +3 -0
  700. package/dist/node/wallet/index.d.ts.map +1 -0
  701. package/dist/node/wallet/paths.d.ts +24 -0
  702. package/dist/node/wallet/paths.d.ts.map +1 -0
  703. package/package.json +15 -13
  704. package/dist/neutral/getFileConfig.mjs +0 -356
  705. package/dist/neutral/getFileConfig.mjs.map +0 -7
@@ -0,0 +1,23 @@
1
+ import type { Position, StakeEvent, StakeEventFilter, StakeEventName, StakeEventsViewer } from '@xyo-network/xl1-protocol-lib';
2
+ import type { CreatableProviderParams } from '../../CreatableProvider/index.ts';
3
+ import { AbstractCreatableProvider } from '../../CreatableProvider/index.ts';
4
+ /** Parameters for SimpleStakeEvents. */
5
+ export interface SimpleStakeEventsParams extends CreatableProviderParams {
6
+ positions: Position[];
7
+ }
8
+ /** SimpleStakeEventsViewer implementation. */
9
+ export declare class SimpleStakeEventsViewer extends AbstractCreatableProvider<SimpleStakeEventsParams> implements StakeEventsViewer {
10
+ static readonly connectionTypes: readonly [];
11
+ static readonly defaultMoniker: "StakeEventsViewer";
12
+ static readonly dependencies: never[];
13
+ static readonly monikers: "StakeEventsViewer"[];
14
+ static readonly surface: "node";
15
+ moniker: "StakeEventsViewer";
16
+ protected get positions(): Position[];
17
+ positionCount(range: [number, number | 'latest']): number;
18
+ stakeEvents<TName extends StakeEventName>(range: [number, number | 'latest'], { name }?: StakeEventFilter<TName>): StakeEvent<TName>[];
19
+ protected startHandler(): Promise<void>;
20
+ private eventsFromPositions;
21
+ private positionsFromRange;
22
+ }
23
+ //# sourceMappingURL=SimpleStakeEventsViewer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SimpleStakeEventsViewer.d.ts","sourceRoot":"","sources":["../../../../src/simple/StakeEventsViewer/SimpleStakeEventsViewer.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,QAAQ,EAAE,UAAU,EAAE,gBAAgB,EAAE,cAAc,EAAE,iBAAiB,EAC1E,MAAM,+BAA+B,CAAA;AAGtC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAA;AAC/E,OAAO,EAAE,yBAAyB,EAAqB,MAAM,kCAAkC,CAAA;AAE/F,wCAAwC;AACxC,MAAM,WAAW,uBAAwB,SAAQ,uBAAuB;IACtE,SAAS,EAAE,QAAQ,EAAE,CAAA;CACtB;AAED,8CAA8C;AAC9C,qBACa,uBAAwB,SAAQ,yBAAyB,CAAC,uBAAuB,CAAE,YAAW,iBAAiB;IAC1H,MAAM,CAAC,QAAQ,CAAC,eAAe,cAAc;IAC7C,MAAM,CAAC,QAAQ,CAAC,cAAc,sBAA2B;IACzD,MAAM,CAAC,QAAQ,CAAC,YAAY,UAAK;IACjC,MAAM,CAAC,QAAQ,CAAC,QAAQ,wBAA6B;IACrD,MAAM,CAAC,QAAQ,CAAC,OAAO,EAAG,MAAM,CAAS;IACzC,OAAO,sBAAyC;IAEhD,SAAS,KAAK,SAAS,eAEtB;IAED,aAAa,CAAC,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,GAAG,QAAQ,CAAC,GAAG,MAAM;IAIzD,WAAW,CAAC,KAAK,SAAS,cAAc,EAAE,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,GAAG,QAAQ,CAAC,EAAE,EAAE,IAAI,EAAE,GAAE,gBAAgB,CAAC,KAAK,CAAM,GAAG,UAAU,CAAC,KAAK,CAAC,EAAE;cASjH,YAAY,IAAI,OAAO,CAAC,IAAI,CAAC;IAItD,OAAO,CAAC,mBAAmB;IAyC3B,OAAO,CAAC,kBAAkB;CAQ3B"}
@@ -0,0 +1,2 @@
1
+ export * from './SimpleStakeEventsViewer.ts';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/simple/StakeEventsViewer/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAA"}
@@ -0,0 +1,27 @@
1
+ import { type XyoAddress } from '@xyo-network/sdk-js';
2
+ import type { StakeTotalsViewer, StakeViewer } from '@xyo-network/xl1-protocol-lib';
3
+ import type { CreatableProviderParams } from '../../CreatableProvider/index.ts';
4
+ import { AbstractCreatableProvider } from '../../CreatableProvider/index.ts';
5
+ /** Parameters for SimpleStakeTotalsViewer. */
6
+ export interface SimpleStakeTotalsViewerParams extends CreatableProviderParams {
7
+ }
8
+ /** SimpleStakeTotalsViewer implementation. */
9
+ export declare class SimpleStakeTotalsViewer extends AbstractCreatableProvider<SimpleStakeTotalsViewerParams> implements StakeTotalsViewer {
10
+ static readonly connectionTypes: readonly ["lmdb", "mongo", "memory"];
11
+ static readonly defaultMoniker: "StakeTotalsViewer";
12
+ static readonly dependencies: "StakeViewer"[];
13
+ static readonly monikers: "StakeTotalsViewer"[];
14
+ static readonly surface: "node";
15
+ moniker: "StakeTotalsViewer";
16
+ private _stakeViewer;
17
+ get stakeViewer(): StakeViewer;
18
+ active(time?: number): Promise<bigint>;
19
+ activeByStaked(staked: XyoAddress, time?: number): Promise<bigint>;
20
+ activeByStaker(staker: XyoAddress, time?: number): Promise<bigint>;
21
+ createHandler(): Promise<void>;
22
+ pending(time?: number): Promise<bigint>;
23
+ pendingByStaker(staker: XyoAddress, time?: number): Promise<bigint>;
24
+ withdrawn(time?: number): Promise<bigint>;
25
+ withdrawnByStaker(staker: XyoAddress, time?: number): Promise<bigint>;
26
+ }
27
+ //# sourceMappingURL=SimpleStakeTotalsViewer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SimpleStakeTotalsViewer.d.ts","sourceRoot":"","sources":["../../../../src/simple/StakeTotalsViewer/SimpleStakeTotalsViewer.ts"],"names":[],"mappings":"AACA,OAAO,EAAgB,KAAK,UAAU,EAAE,MAAM,qBAAqB,CAAA;AACnE,OAAO,KAAK,EACV,iBAAiB,EACjB,WAAW,EACZ,MAAM,+BAA+B,CAAA;AAMtC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAA;AAC/E,OAAO,EAAE,yBAAyB,EAAqB,MAAM,kCAAkC,CAAA;AAE/F,8CAA8C;AAC9C,MAAM,WAAW,6BAA8B,SAAQ,uBAAuB;CAE7E;AAED,8CAA8C;AAC9C,qBACa,uBAAwB,SAAQ,yBAAyB,CAAC,6BAA6B,CAAE,YAAW,iBAAiB;IAChI,MAAM,CAAC,QAAQ,CAAC,eAAe,uCAAuC;IACtE,MAAM,CAAC,QAAQ,CAAC,cAAc,sBAA2B;IACzD,MAAM,CAAC,QAAQ,CAAC,YAAY,kBAAuB;IACnD,MAAM,CAAC,QAAQ,CAAC,QAAQ,wBAA6B;IACrD,MAAM,CAAC,QAAQ,CAAC,OAAO,EAAG,MAAM,CAAS;IACzC,OAAO,sBAAyC;IAEhD,OAAO,CAAC,YAAY,CAAc;IAElC,IAAI,WAAW,gBAEd;IAEK,MAAM,CAAC,IAAI,SAA0B;IAWrC,cAAc,CAAC,MAAM,EAAE,UAAU,EAAE,IAAI,SAA0B;IAWjE,cAAc,CAAC,MAAM,EAAE,UAAU,EAAE,IAAI,SAA0B;IAWxD,aAAa;IAQtB,OAAO,CAAC,IAAI,SAA0B,GAAG,OAAO,CAAC,MAAM,CAAC;IAWxD,eAAe,CAAC,MAAM,EAAE,UAAU,EAAE,IAAI,SAA0B;IAWlE,SAAS,CAAC,IAAI,SAA0B,GAAG,OAAO,CAAC,MAAM,CAAC;IAW1D,iBAAiB,CAAC,MAAM,EAAE,UAAU,EAAE,IAAI,SAA0B,GAAG,OAAO,CAAC,MAAM,CAAC;CAU7F"}
@@ -0,0 +1,2 @@
1
+ export * from './SimpleStakeTotalsViewer.ts';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/simple/StakeTotalsViewer/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAA"}
@@ -0,0 +1,42 @@
1
+ import type { Address, Promisable } from '@xylabs/sdk';
2
+ import { type XyoAddress } from '@xyo-network/sdk-js';
3
+ import type { Position, StakeEventsViewer, StakeViewer } from '@xyo-network/xl1-protocol-lib';
4
+ import type { CreatableProviderParams } from '../../CreatableProvider/index.ts';
5
+ import { AbstractCreatableProvider } from '../../CreatableProvider/index.ts';
6
+ /** Parameters for SimpleStakeViewer. */
7
+ export interface SimpleStakeViewerParams extends CreatableProviderParams {
8
+ chainId?: Address;
9
+ minWithdrawalBlocks?: number;
10
+ positions: Position[];
11
+ }
12
+ /** SimpleStakeViewer implementation. */
13
+ export declare class SimpleStakeViewer extends AbstractCreatableProvider<SimpleStakeViewerParams> implements StakeViewer {
14
+ static readonly connectionTypes: readonly ["lmdb", "mongo", "memory"];
15
+ static readonly defaultMoniker: "StakeViewer";
16
+ static readonly dependencies: "StakeEventsViewer"[];
17
+ static readonly monikers: "StakeViewer"[];
18
+ static readonly surface: "node";
19
+ moniker: "StakeViewer";
20
+ private _chainStakeEventsViewer;
21
+ get stakeEvents(): StakeEventsViewer;
22
+ protected get positions(): Position[];
23
+ active(): Promise<bigint>;
24
+ activeByAddressStaked(staked: XyoAddress): Promise<bigint>;
25
+ activeByStaker(staker: XyoAddress): Promise<bigint>;
26
+ activeStakes(): Promisable<Position[]>;
27
+ createHandler(): Promise<void>;
28
+ minWithdrawalBlocks(): number;
29
+ pending(): Promise<bigint>;
30
+ pendingByStaker(staker: XyoAddress): Promise<bigint>;
31
+ removedStakes(): Promisable<Position[]>;
32
+ rewardsContract(): Address;
33
+ stakeById(id: number): Position;
34
+ stakeByStaker(staker: XyoAddress, slot: number): Position;
35
+ stakesByStaked(staked: XyoAddress, range?: [number, number | undefined]): Position[];
36
+ stakesByStaker(staker: XyoAddress, range?: [number, number | undefined]): Position[];
37
+ stakingTokenAddress(): Address;
38
+ withdrawn(): Promise<bigint>;
39
+ withdrawnByStaker(staker: XyoAddress): Promise<bigint>;
40
+ withdrawnStakes(): Promisable<Position[]>;
41
+ }
42
+ //# sourceMappingURL=SimpleStakeViewer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SimpleStakeViewer.d.ts","sourceRoot":"","sources":["../../../../src/simple/StakeViewer/SimpleStakeViewer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AAEtD,OAAO,EAAgB,KAAK,UAAU,EAAE,MAAM,qBAAqB,CAAA;AACnE,OAAO,KAAK,EACV,QAAQ,EAAE,iBAAiB,EAAE,WAAW,EACzC,MAAM,+BAA+B,CAAA;AAGtC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAA;AAC/E,OAAO,EAAE,yBAAyB,EAAqB,MAAM,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AAE;IAKpG,cAAc,CAAC,MAAM,EAAE,UAAU,EAAE,KAAK,GAAE,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAkB,GAAG,QAAQ,EAAE;IAKpG,mBAAmB,IAAI,OAAO;IAIxB,SAAS;IAWT,iBAAiB,CAAC,MAAM,EAAE,UAAU;IAW1C,eAAe,IAAI,UAAU,CAAC,QAAQ,EAAE,CAAC;CAG1C"}
@@ -0,0 +1,2 @@
1
+ export * from './SimpleStakeViewer.ts';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/simple/StakeViewer/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAA"}
@@ -0,0 +1,25 @@
1
+ import type { Hash } from '@xylabs/sdk';
2
+ import type { BlockViewer, SignedHydratedTransactionWithHashMeta, TransactionViewer, XL1BlockNumber } from '@xyo-network/xl1-protocol-lib';
3
+ import type { CreatableProviderParams } from '../../CreatableProvider/index.ts';
4
+ import { AbstractCreatableProvider } from '../../CreatableProvider/index.ts';
5
+ /** Parameters for SimpleTransactionViewer. */
6
+ export interface SimpleTransactionViewerParams extends CreatableProviderParams {
7
+ }
8
+ /** SimpleTransactionViewer implementation. */
9
+ export declare class SimpleTransactionViewer extends AbstractCreatableProvider<SimpleTransactionViewerParams> implements TransactionViewer {
10
+ static readonly connectionTypes: readonly ["lmdb", "mongo", "memory"];
11
+ static readonly defaultMoniker: "TransactionViewer";
12
+ static readonly dependencies: "BlockViewer"[];
13
+ static readonly monikers: "TransactionViewer"[];
14
+ moniker: "TransactionViewer";
15
+ private _blockViewer;
16
+ protected get blockViewer(): BlockViewer<"BlockViewer">;
17
+ byBlockHashAndIndex(blockHash: Hash, transactionIndex: number): Promise<SignedHydratedTransactionWithHashMeta | null>;
18
+ byBlockNumberAndIndex(blockNumber: XL1BlockNumber, transactionIndex: number): Promise<SignedHydratedTransactionWithHashMeta | null>;
19
+ byHash(transactionHash: Hash): Promise<SignedHydratedTransactionWithHashMeta | null>;
20
+ createHandler(): Promise<void>;
21
+ transactionByBlockHashAndIndex(blockHash: Hash, transactionIndex?: number): Promise<SignedHydratedTransactionWithHashMeta | null>;
22
+ transactionByBlockNumberAndIndex(blockNumber: XL1BlockNumber, transactionIndex?: number): Promise<SignedHydratedTransactionWithHashMeta | null>;
23
+ transactionByHash(transactionHash: Hash): Promise<SignedHydratedTransactionWithHashMeta | null>;
24
+ }
25
+ //# sourceMappingURL=SimpleTransactionViewer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SimpleTransactionViewer.d.ts","sourceRoot":"","sources":["../../../../src/simple/TransactionViewer/SimpleTransactionViewer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAGvC,OAAO,KAAK,EACV,WAAW,EACX,qCAAqC,EAAE,iBAAiB,EACxD,cAAc,EACf,MAAM,+BAA+B,CAAA;AAQtC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAA;AAC/E,OAAO,EAAE,yBAAyB,EAAqB,MAAM,kCAAkC,CAAA;AAE/F,8CAA8C;AAC9C,MAAM,WAAW,6BAA8B,SAAQ,uBAAuB;CAE7E;AAED,8CAA8C;AAC9C,qBACa,uBAAwB,SAAQ,yBAAyB,CAAC,6BAA6B,CAAE,YAAW,iBAAiB;IAChI,MAAM,CAAC,QAAQ,CAAC,eAAe,uCAAuC;IACtE,MAAM,CAAC,QAAQ,CAAC,cAAc,sBAA2B;IACzD,MAAM,CAAC,QAAQ,CAAC,YAAY,kBAAuB;IACnD,MAAM,CAAC,QAAQ,CAAC,QAAQ,wBAA6B;IACrD,OAAO,sBAAyC;IAEhD,OAAO,CAAC,YAAY,CAAc;IAElC,SAAS,KAAK,WAAW,+BAExB;IAEK,mBAAmB,CAAC,SAAS,EAAE,IAAI,EAAE,gBAAgB,EAAE,MAAM,GAAG,OAAO,CAAC,qCAAqC,GAAG,IAAI,CAAC;IAmBrH,qBAAqB,CAAC,WAAW,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,GAAG,OAAO,CAAC,qCAAqC,GAAG,IAAI,CAAC;IAYnI,MAAM,CAAC,eAAe,EAAE,IAAI,GAAG,OAAO,CAAC,qCAAqC,GAAG,IAAI,CAAC;IAe3E,aAAa,IAAI,OAAO,CAAC,IAAI,CAAC;IAKvC,8BAA8B,CAAC,SAAS,EAAE,IAAI,EAAE,gBAAgB,SAAI,GAAG,OAAO,CAAC,qCAAqC,GAAG,IAAI,CAAC;IAI5H,gCAAgC,CAAC,WAAW,EAAE,cAAc,EAAE,gBAAgB,SAAI,GAAG,OAAO,CAAC,qCAAqC,GAAG,IAAI,CAAC;IAI1I,iBAAiB,CAAC,eAAe,EAAE,IAAI,GAAG,OAAO,CAAC,qCAAqC,GAAG,IAAI,CAAC;CAGtG"}
@@ -0,0 +1,2 @@
1
+ export * from './SimpleTransactionViewer.ts';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/simple/TransactionViewer/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAA"}
@@ -0,0 +1,132 @@
1
+ import type { WithHashMeta, XyoAddress } from '@xyo-network/sdk-js';
2
+ import type { AccountBalanceConfig, AccountBalanceHistoryItem, AccountBalanceViewer, BlockViewer, ChainQualification, ChainQualified, MapType, XL1BlockNumber } from '@xyo-network/xl1-protocol-lib';
3
+ import { AttoXL1 } from '@xyo-network/xl1-protocol-lib';
4
+ import type { CreatableProviderParams } from '../../CreatableProvider/index.ts';
5
+ import { AbstractCreatableProvider } from '../../CreatableProvider/index.ts';
6
+ import type { BalancesStepSummary, TransfersStepSummary } from '../../summary/index.ts';
7
+ /** Parameters for SimpleAccountBalanceViewer. */
8
+ export interface SimpleAccountBalanceViewerParams extends CreatableProviderParams {
9
+ balancesSummaryMap: MapType<string, WithHashMeta<BalancesStepSummary>>;
10
+ transfersSummaryMap: MapType<string, WithHashMeta<TransfersStepSummary>>;
11
+ }
12
+ /** SimpleAccountBalanceViewer implementation. */
13
+ export declare class SimpleAccountBalanceViewer extends AbstractCreatableProvider<SimpleAccountBalanceViewerParams> implements AccountBalanceViewer {
14
+ static readonly connectionTypes: readonly ["lmdb", "mongo", "memory"];
15
+ static readonly defaultMoniker: "AccountBalanceViewer";
16
+ static readonly dependencies: "BlockViewer"[];
17
+ static readonly monikers: "AccountBalanceViewer"[];
18
+ static readonly surface: "node";
19
+ moniker: "AccountBalanceViewer";
20
+ private _balanceStepSemaphores;
21
+ private _blockViewer;
22
+ private _transferStepSemaphores;
23
+ get balancesSummaryMap(): MapType<string, WithHashMeta<BalancesStepSummary>>;
24
+ get blockViewer(): BlockViewer<"BlockViewer">;
25
+ get transfersSummaryMap(): MapType<string, WithHashMeta<TransfersStepSummary>>;
26
+ static paramsHandler(params?: Partial<SimpleAccountBalanceViewerParams>): Promise<{
27
+ balancesSummaryMap: import("@xyo-network/xl1-protocol-lib").SyncMap<string, WithHashMeta<BalancesStepSummary>> | import("@xyo-network/xl1-protocol-lib").AsyncMap<string, WithHashMeta<BalancesStepSummary>>;
28
+ transfersSummaryMap: import("@xyo-network/xl1-protocol-lib").SyncMap<string, WithHashMeta<TransfersStepSummary>> | import("@xyo-network/xl1-protocol-lib").AsyncMap<string, WithHashMeta<TransfersStepSummary>>;
29
+ context: import("../../index.ts").CreatableProviderContextType;
30
+ name?: import("@xylabs/sdk").CreatableName;
31
+ statusReporter?: import("@xylabs/sdk").CreatableStatusReporter<void> | undefined;
32
+ logger?: import("@xylabs/sdk").Logger;
33
+ meterProvider?: import("@opentelemetry/api").MeterProvider;
34
+ traceProvider?: import("@opentelemetry/api").TracerProvider;
35
+ }>;
36
+ accountBalance(address: XyoAddress, config?: AccountBalanceConfig): Promise<AttoXL1>;
37
+ accountBalanceHistories(addresses: XyoAddress[], config?: AccountBalanceConfig): Promise<Record<XyoAddress, AccountBalanceHistoryItem[]>>;
38
+ accountBalanceHistory(address: XyoAddress, config?: AccountBalanceConfig): Promise<[{
39
+ $epoch: number;
40
+ block: XL1BlockNumber;
41
+ chain: import("@xylabs/sdk").BrandedHex;
42
+ previous: import("@xylabs/sdk").BrandedHash | null;
43
+ schema: "network.xyo.boundwitness" & {
44
+ readonly __schema: true;
45
+ };
46
+ addresses: (import("@xyo-network/sdk-js").XyoQuantAddress | (Lowercase<string> & {
47
+ readonly __hex: true;
48
+ } & {
49
+ readonly __address: true;
50
+ }))[];
51
+ payload_hashes: import("@xylabs/sdk").BrandedHash[];
52
+ payload_schemas: import("@xyo-network/sdk-js").BrandedSchema<string>[];
53
+ previous_hashes: (import("@xylabs/sdk").BrandedHash | null)[];
54
+ $signatures: (import("@xylabs/sdk").BrandedHex | null)[];
55
+ _hash: import("@xylabs/sdk").BrandedHash;
56
+ _dataHash: import("@xylabs/sdk").BrandedHash;
57
+ protocol?: number | undefined;
58
+ step_hashes?: import("@xylabs/sdk").BrandedHash[] | undefined;
59
+ $destination?: import("@xyo-network/sdk-js").XyoQuantAddress | (Lowercase<string> & {
60
+ readonly __hex: true;
61
+ } & {
62
+ readonly __address: true;
63
+ }) | undefined;
64
+ $sourceQuery?: import("@xylabs/sdk").BrandedHash | undefined;
65
+ }, {
66
+ schema: "network.xyo.boundwitness" & {
67
+ readonly __schema: true;
68
+ };
69
+ addresses: (import("@xyo-network/sdk-js").XyoQuantAddress | (Lowercase<string> & {
70
+ readonly __hex: true;
71
+ } & {
72
+ readonly __address: true;
73
+ }))[];
74
+ payload_hashes: import("@xylabs/sdk").BrandedHash[];
75
+ payload_schemas: import("@xyo-network/sdk-js").BrandedSchema<string>[];
76
+ previous_hashes: (import("@xylabs/sdk").BrandedHash | null)[];
77
+ $signatures: (import("@xylabs/sdk").BrandedHex | null)[];
78
+ nbf: XL1BlockNumber;
79
+ exp: XL1BlockNumber;
80
+ fees: {
81
+ base: import("@xylabs/sdk").BrandedHex;
82
+ gasLimit: import("@xylabs/sdk").BrandedHex;
83
+ gasPrice: import("@xylabs/sdk").BrandedHex;
84
+ priority: import("@xylabs/sdk").BrandedHex;
85
+ };
86
+ chain: import("@xylabs/sdk").BrandedHex;
87
+ from: import("@xyo-network/sdk-js").XyoQuantAddress | (Lowercase<string> & {
88
+ readonly __hex: true;
89
+ } & {
90
+ readonly __address: true;
91
+ });
92
+ _hash: import("@xylabs/sdk").BrandedHash;
93
+ _dataHash: import("@xylabs/sdk").BrandedHash;
94
+ $destination?: import("@xyo-network/sdk-js").XyoQuantAddress | (Lowercase<string> & {
95
+ readonly __hex: true;
96
+ } & {
97
+ readonly __address: true;
98
+ }) | undefined;
99
+ $sourceQuery?: import("@xylabs/sdk").BrandedHash | undefined;
100
+ script?: string[] | undefined;
101
+ } | null, {
102
+ schema: "network.xyo.transfer" & {
103
+ readonly __schema: true;
104
+ };
105
+ epoch: number;
106
+ from: import("@xyo-network/sdk-js").XyoQuantAddress | (Lowercase<string> & {
107
+ readonly __hex: true;
108
+ } & {
109
+ readonly __address: true;
110
+ });
111
+ transfers: Record<import("@xyo-network/sdk-js").XyoQuantAddress | (Lowercase<string> & {
112
+ readonly __hex: true;
113
+ } & {
114
+ readonly __address: true;
115
+ }), import("@xylabs/sdk").BrandedHex>;
116
+ _hash: import("@xylabs/sdk").BrandedHash;
117
+ _dataHash: import("@xylabs/sdk").BrandedHash;
118
+ context?: Record<string, unknown> | undefined;
119
+ }][]>;
120
+ accountBalances(address: XyoAddress[], config?: AccountBalanceConfig): Promise<Record<(Lowercase<string> & {
121
+ readonly __hex: true;
122
+ } & {
123
+ readonly __address: true;
124
+ }) | import("@xyo-network/sdk-js").XyoQuantAddress, AttoXL1>>;
125
+ createHandler(): Promise<void>;
126
+ qualifiedAccountBalanceHistories(addresses: XyoAddress[], config: AccountBalanceConfig): Promise<[Record<XyoAddress, AccountBalanceHistoryItem[]>, ChainQualification]>;
127
+ qualifiedAccountBalances(address: XyoAddress[], config: AccountBalanceConfig): Promise<ChainQualified<Record<XyoAddress, AttoXL1>>>;
128
+ startHandler(): Promise<void>;
129
+ private distillTransferHistory;
130
+ private qualifiedAccountBalanceHistory;
131
+ }
132
+ //# sourceMappingURL=SimpleAccountBalanceViewer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SimpleAccountBalanceViewer.d.ts","sourceRoot":"","sources":["../../../../src/simple/accountBalance/SimpleAccountBalanceViewer.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EACV,YAAY,EAAmB,UAAU,EAC1C,MAAM,qBAAqB,CAAA;AAC5B,OAAO,KAAK,EACV,oBAAoB,EACpB,yBAAyB,EACzB,oBAAoB,EACpB,WAAW,EACX,kBAAkB,EAClB,cAAc,EACd,OAAO,EACwC,cAAc,EAC9D,MAAM,+BAA+B,CAAA;AACtC,OAAO,EAEuC,OAAO,EAMpD,MAAM,+BAA+B,CAAA;AAItC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAA;AAC/E,OAAO,EAAE,yBAAyB,EAAqB,MAAM,kCAAkC,CAAA;AAC/F,OAAO,KAAK,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAOvF,iDAAiD;AACjD,MAAM,WAAW,gCAAiC,SAAQ,uBAAuB;IAC/E,kBAAkB,EAAE,OAAO,CAAC,MAAM,EAAE,YAAY,CAAC,mBAAmB,CAAC,CAAC,CAAA;IACtE,mBAAmB,EAAE,OAAO,CAAC,MAAM,EAAE,YAAY,CAAC,oBAAoB,CAAC,CAAC,CAAA;CACzE;AAED,iDAAiD;AACjD,qBACa,0BAA2B,SAAQ,yBAAyB,CAAC,gCAAgC,CAAE,YAAW,oBAAoB;IACzI,MAAM,CAAC,QAAQ,CAAC,eAAe,uCAAuC;IACtE,MAAM,CAAC,QAAQ,CAAC,cAAc,yBAA8B;IAC5D,MAAM,CAAC,QAAQ,CAAC,YAAY,kBAAuB;IACnD,MAAM,CAAC,QAAQ,CAAC,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anceViewer.ts';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/simple/accountBalance/index.ts"],"names":[],"mappings":"AAAA,cAAc,iCAAiC,CAAA"}
@@ -0,0 +1,114 @@
1
+ import type { Hash } from '@xylabs/sdk';
2
+ import type { Payload, ReadArchivist, WithHashMeta } from '@xyo-network/sdk-js';
3
+ import { LruCacheMap } from '@xyo-network/xl1-driver-memory';
4
+ import type { BlockContextRead, BlockRate, BlocksStepSummary, BlockViewer, ChainContextRead, ChainId, FinalizationViewer, MapType, SignedHydratedBlockWithHashMeta, SignedHydratedBlockWithStorageMeta, SingleTimeConfig, TimeDurations, XL1BlockNumber, XL1BlockRange } from '@xyo-network/xl1-protocol-lib';
5
+ import type { ArchivistConnectionBinding } from '../../Archivists/index.ts';
6
+ import type { CreatableProviderParams } from '../../CreatableProvider/index.ts';
7
+ import { AbstractCreatableProvider } from '../../CreatableProvider/index.ts';
8
+ import type { ChainStoreRead } from '../../model/index.ts';
9
+ import { HydratedCache } from '../../utils/index.ts';
10
+ /** Parameters for SimpleBlockViewer. */
11
+ export interface SimpleBlockViewerParams extends CreatableProviderParams {
12
+ /**
13
+ * Optional backing store for cached per-step block summaries used by `blocksByStep`. Omit to use
14
+ * an in-memory LRU; inject a persistent (large-object capable) map for production.
15
+ */
16
+ blocksSummaryMap?: MapType<string, BlocksStepSummary>;
17
+ /** Connection the chain store self-provisions from when finalizedArchivist is not injected. */
18
+ connection?: ArchivistConnectionBinding;
19
+ finalizedArchivist?: ReadArchivist;
20
+ headPollIntervalMs?: number;
21
+ }
22
+ /** SimpleBlockViewer implementation. */
23
+ export declare class SimpleBlockViewer extends AbstractCreatableProvider<SimpleBlockViewerParams, BlockViewer['eventData']> implements BlockViewer {
24
+ static readonly connectionTypes: readonly ["lmdb", "mongo", "memory"];
25
+ static readonly defaultMoniker: "BlockViewer";
26
+ static readonly dependencies: "FinalizationViewer"[];
27
+ static readonly monikers: "BlockViewer"[];
28
+ static readonly surface: "node";
29
+ moniker: "BlockViewer";
30
+ protected _store?: ChainStoreRead;
31
+ protected finalizationViewer: FinalizationViewer;
32
+ protected payloadCache: LruCacheMap<import("@xylabs/sdk").BrandedHash, WithHashMeta<Payload>, () => void>;
33
+ protected signedHydratedBlockWithHashMetaCache: LruCacheMap<import("@xylabs/sdk").BrandedHash, [{
34
+ schema: "network.xyo.boundwitness" & {
35
+ readonly __schema: true;
36
+ };
37
+ addresses: (import("@xyo-network/sdk-js").XyoQuantAddress | (Lowercase<string> & {
38
+ readonly __hex: true;
39
+ } & {
40
+ readonly __address: true;
41
+ }))[];
42
+ payload_hashes: import("@xylabs/sdk").BrandedHash[];
43
+ payload_schemas: import("@xyo-network/sdk-js").BrandedSchema<string>[];
44
+ previous_hashes: (import("@xylabs/sdk").BrandedHash | null)[];
45
+ $signatures: import("@xylabs/sdk").BrandedHex[];
46
+ block: XL1BlockNumber;
47
+ chain: import("@xylabs/sdk").BrandedHex;
48
+ previous: import("@xylabs/sdk").BrandedHash | null;
49
+ $epoch: number;
50
+ _hash: import("@xylabs/sdk").BrandedHash;
51
+ _dataHash: import("@xylabs/sdk").BrandedHash;
52
+ $destination?: import("@xyo-network/sdk-js").XyoQuantAddress | (Lowercase<string> & {
53
+ readonly __hex: true;
54
+ } & {
55
+ readonly __address: true;
56
+ }) | undefined;
57
+ $sourceQuery?: import("@xylabs/sdk").BrandedHash | undefined;
58
+ protocol?: number | undefined;
59
+ step_hashes?: import("@xylabs/sdk").BrandedHash[] | undefined;
60
+ }, {
61
+ [x: string]: unknown;
62
+ schema: import("@xyo-network/sdk-js").BrandedSchema<string>;
63
+ _hash: import("@xylabs/sdk").BrandedHash;
64
+ _dataHash: import("@xylabs/sdk").BrandedHash;
65
+ }[]], () => void>;
66
+ private _blockStepSemaphores;
67
+ private _blocksSummaryMap?;
68
+ private _headPollHash?;
69
+ private _headPollInProgress;
70
+ private _headPollTimer;
71
+ private _signedHydratedBlockCache;
72
+ get finalizedArchivist(): ReadArchivist;
73
+ protected get blocksSummaryMap(): MapType<string, BlocksStepSummary>;
74
+ protected get headPollIntervalMs(): number | undefined;
75
+ protected get hydratedBlockCache(): HydratedCache<SignedHydratedBlockWithStorageMeta>;
76
+ protected get store(): ChainStoreRead;
77
+ static paramsHandler(params: Partial<SimpleBlockViewerParams>): Promise<{
78
+ blocksSummaryMap: MapType<string, BlocksStepSummary> | undefined;
79
+ finalizedArchivist: ReadArchivist<Payload, import("@xylabs/sdk").BrandedHash, import("@xyo-network/sdk-js").Sequence>;
80
+ headPollIntervalMs: number | undefined;
81
+ context: import("../../model/CreatableProviderContext.zod.ts").CreatableProviderContextType;
82
+ name?: import("@xylabs/sdk").CreatableName;
83
+ statusReporter?: import("@xylabs/sdk").CreatableStatusReporter<void> | undefined;
84
+ logger?: import("@xylabs/sdk").Logger;
85
+ meterProvider?: import("@opentelemetry/api").MeterProvider;
86
+ traceProvider?: import("@opentelemetry/api").TracerProvider;
87
+ }>;
88
+ blockByHash(hash: Hash): Promise<SignedHydratedBlockWithHashMeta | null>;
89
+ blockByNumber(blockNumber: XL1BlockNumber): Promise<SignedHydratedBlockWithHashMeta | null>;
90
+ blocksByHash(hash: Hash, limit?: number): Promise<SignedHydratedBlockWithHashMeta[]>;
91
+ blocksByNumber(blockNumber: XL1BlockNumber, limit?: number): Promise<SignedHydratedBlockWithHashMeta[]>;
92
+ blocksByStep(stepLevel: number, stepIndex: number): Promise<SignedHydratedBlockWithHashMeta[]>;
93
+ chainId(): Promise<ChainId>;
94
+ chainId(blockNumber: XL1BlockNumber): Promise<ChainId>;
95
+ chainId(blockNumber: 'latest'): Promise<ChainId>;
96
+ createHandler(): Promise<void>;
97
+ currentBlock(): Promise<SignedHydratedBlockWithHashMeta>;
98
+ currentBlockHash(): Promise<Hash>;
99
+ currentBlockNumber(): Promise<XL1BlockNumber>;
100
+ payloadByHash(hash: Hash): Promise<WithHashMeta<Payload> | null>;
101
+ payloadsByHash(hashes: Hash[]): Promise<WithHashMeta<Payload>[]>;
102
+ rate(range: XL1BlockRange, timeUnit?: keyof TimeDurations): Promise<BlockRate>;
103
+ stepSizeRate(start: XL1BlockNumber, stepIndex: number, count?: number, timeUnit?: keyof TimeDurations): Promise<BlockRate>;
104
+ timeDurationRate(timeConfig: SingleTimeConfig, startBlockNumber?: XL1BlockNumber, timeUnit?: keyof TimeDurations, toleranceMs?: number, maxAttempts?: number): Promise<BlockRate>;
105
+ protected getBlockContextRead(): BlockContextRead;
106
+ protected getChainContextRead(): Promise<ChainContextRead>;
107
+ protected startHandler(): Promise<void>;
108
+ protected stopHandler(): Promise<void>;
109
+ private blockByNumberWithContext;
110
+ private pollHead;
111
+ private startHeadPolling;
112
+ private stopHeadPolling;
113
+ }
114
+ //# sourceMappingURL=SimpleBlockViewer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SimpleBlockViewer.d.ts","sourceRoot":"","sources":["../../../../src/simple/block/SimpleBlockViewer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAIvC,OAAO,KAAK,EACV,OAAO,EAAE,aAAa,EAAE,YAAY,EACrC,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAA;AAC5D,OAAO,KAAK,EACV,gBAAgB,EAChB,SAAS,EAAE,iBAAiB,EAC5B,WAAW,EAAE,gBAAgB,EAC7B,OAAO,EAAE,kBAAkB,EAAE,OAAO,EACpC,+BAA+B,EAAE,kCAAkC,EAAE,gBAAgB,EAAE,aAAa,EAAE,cAAc,EAAE,aAAa,EACpI,MAAM,+BAA+B,CAAA;AAOtC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAA;AAG3E,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAA;AAC/E,OAAO,EAAE,yBAAyB,EAAqB,MAAM,kCAAkC,CAAA;A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,CAAC;IAehE,IAAI,CAAC,KAAK,EAAE,aAAa,EAAE,QAAQ,CAAC,EAAE,MAAM,aAAa,GAAG,OAAO,CAAC,SAAS,CAAC;IAI9E,YAAY,CAAC,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,SAAI,EAAE,QAAQ,CAAC,EAAE,MAAM,aAAa,GAAG,OAAO,CAAC,SAAS,CAAC;IAIrH,gBAAgB,CACpB,UAAU,EAAE,gBAAgB,EAC5B,gBAAgB,CAAC,EAAE,cAAc,EACjC,QAAQ,CAAC,EAAE,MAAM,aAAa,EAC9B,WAAW,CAAC,EAAE,MAAM,EACpB,WAAW,CAAC,EAAE,MAAM,GACnB,OAAO,CAAC,SAAS,CAAC;IAIrB,SAAS,CAAC,mBAAmB,IAAI,gBAAgB;cAOjC,mBAAmB,IAAI,OAAO,CAAC,gBAAgB,CAAC;cAQvC,YAAY,IAAI,OAAO,CAAC,IAAI,CAAC;cAO7B,WAAW,IAAI,OAAO,CAAC,IAAI,CAAC;YAMvC,wBAAwB;YAOxB,QAAQ;IAuBtB,OAAO,CAAC,gBAAgB;IAQxB,OAAO,CAAC,eAAe;CAQxB"}
@@ -0,0 +1,2 @@
1
+ export * from './SimpleBlockViewer.ts';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/simple/block/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAA"}
@@ -0,0 +1,37 @@
1
+ import type { BlockInvalidationConfig, BlockInvalidationViewer, BlockViewer, ChainContractViewer, ChainQualified, HydratedBlockStateValidationFunction, HydratedBlockValidationError, HydratedBlockValidationFunction, SignedHydratedBlock, SignedHydratedBlockWithHashMeta } from '@xyo-network/xl1-protocol-lib';
2
+ import type { CreatableProviderParams } from '../../CreatableProvider/index.ts';
3
+ import { AbstractCreatableProvider } from '../../CreatableProvider/index.ts';
4
+ /** Parameters for SimpleBlockInvalidationViewer. */
5
+ export interface SimpleBlockInvalidationViewerParams extends CreatableProviderParams {
6
+ maxUncleWindowSize?: number;
7
+ state?: HydratedBlockStateValidationFunction;
8
+ value?: HydratedBlockValidationFunction;
9
+ }
10
+ /** SimpleBlockInvalidationViewer implementation. */
11
+ export declare class SimpleBlockInvalidationViewer extends AbstractCreatableProvider<SimpleBlockInvalidationViewerParams> implements BlockInvalidationViewer {
12
+ static readonly connectionTypes: readonly ["lmdb", "mongo", "memory"];
13
+ static readonly defaultMoniker: "BlockInvalidationViewer";
14
+ static readonly dependencies: ("BlockViewer" | "AccountBalanceViewer" | "ChainContractViewer")[];
15
+ static readonly monikers: "BlockInvalidationViewer"[];
16
+ static readonly surface: "node";
17
+ moniker: "BlockInvalidationViewer";
18
+ private _accountBalanceViewer;
19
+ private _blockViewer;
20
+ private _chainContractViewer;
21
+ private _uncleWindowedChainCache;
22
+ protected get blockViewer(): BlockViewer<"BlockViewer">;
23
+ protected get chainContractViewer(): ChainContractViewer;
24
+ protected get maxUncleWindowSize(): number;
25
+ static paramsHandler(params: Partial<SimpleBlockInvalidationViewerParams>): Promise<SimpleBlockInvalidationViewerParams>;
26
+ createHandler(): Promise<void>;
27
+ invalidateBlock(block: SignedHydratedBlock, config?: BlockInvalidationConfig): Promise<HydratedBlockValidationError[] | SignedHydratedBlockWithHashMeta>;
28
+ invalidateBlocks(blocks: SignedHydratedBlock[], config?: BlockInvalidationConfig): Promise<(HydratedBlockValidationError[] | SignedHydratedBlockWithHashMeta)[]>;
29
+ invalidateUncle(blocks: SignedHydratedBlock[], config?: BlockInvalidationConfig): Promise<(HydratedBlockValidationError[] | SignedHydratedBlockWithHashMeta)[]>;
30
+ qualifiedInvalidateBlock(block: SignedHydratedBlockWithHashMeta, config?: BlockInvalidationConfig): Promise<ChainQualified<HydratedBlockValidationError[] | SignedHydratedBlockWithHashMeta>>;
31
+ qualifiedInvalidateBlocks(blocks: SignedHydratedBlock[], config?: BlockInvalidationConfig): Promise<ChainQualified<(HydratedBlockValidationError[] | SignedHydratedBlockWithHashMeta)[]>>;
32
+ qualifiedInvalidateUncle(_blocks: SignedHydratedBlock[], _config?: BlockInvalidationConfig): Promise<ChainQualified<(HydratedBlockValidationError[] | SignedHydratedBlockWithHashMeta)[]>>;
33
+ private doInvalidateProtocol;
34
+ private doInvalidateState;
35
+ private updateWindowedChainCache;
36
+ }
37
+ //# sourceMappingURL=SimpleBlockInvalidationViewer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SimpleBlockInvalidationViewer.d.ts","sourceRoot":"","sources":["../../../../src/simple/blockInvalidation/SimpleBlockInvalidationViewer.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAEV,uBAAuB,EACvB,uBAAuB,EACvB,WAAW,EACX,mBAAmB,EAEnB,cAAc,EACd,oCAAoC,EACpC,4BAA4B,EAC5B,+BAA+B,EAC/B,mBAAmB,EACnB,+BAA+B,EAChC,MAAM,+BAA+B,CAAA;AAWtC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAA;AAC/E,OAAO,EAAE,yBAAyB,EAAqB,MAAM,kCAAkC,CAAA;AAG/F,oDAAoD;AACpD,MAAM,WAAW,mCAAoC,SAAQ,uBAAuB;IAClF,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,KAAK,CAAC,EAAE,oCAAoC,CAAA;IAC5C,KAAK,CAAC,EAAE,+BAA+B,CAAA;CACxC;AAED,oDAAoD;AACpD,qBACa,6BAA8B,SAAQ,yBAAyB,CAAC,mCAAmC,CAAE,YAAW,uBAAuB;IAClJ,MAAM,CAAC,QAAQ,CAAC,eAAe,uCAAuC;IACtE,MAAM,CAAC,QAAQ,CAAC,cAAc,4BAAiC;IAC/D,MAAM,CAAC,QAAQ,CAAC,YAAY,qEAAgF;IAC5G,MAAM,CAAC,QAAQ,CAAC,QAAQ,8BAAmC;IAC3D,MAAM,CAAC,QAAQ,CAAC,OAAO,EAAG,MAAM,CAAS;IACzC,O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E,GAAG,+BAA+B,CAAC,EAAE,CAAC,CAAC;YAIlF,oBAAoB;YAcpB,iBAAiB;YAyBjB,wBAAwB;CAIvC"}
@@ -0,0 +1,2 @@
1
+ export * from './SimpleBlockInvalidationViewer.ts';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/simple/blockInvalidation/index.ts"],"names":[],"mappings":"AAAA,cAAc,oCAAoC,CAAA"}
@@ -0,0 +1,18 @@
1
+ import type { Promisable } from '@xylabs/sdk';
2
+ import type { AttoXL1, BlockRewardViewer, XL1BlockNumber } from '@xyo-network/xl1-protocol-lib';
3
+ import type { CreatableProviderParams } from '../../CreatableProvider/index.ts';
4
+ import { AbstractCreatableProvider } from '../../CreatableProvider/index.ts';
5
+ /** Parameters for SimpleBlockRewardViewer. */
6
+ export interface SimpleBlockRewardViewerParams extends CreatableProviderParams {
7
+ }
8
+ /** SimpleBlockRewardViewer implementation. */
9
+ export declare class SimpleBlockRewardViewer extends AbstractCreatableProvider<SimpleBlockRewardViewerParams> implements BlockRewardViewer {
10
+ static readonly connectionTypes: readonly ["lmdb", "mongo", "memory", "rpc"];
11
+ static readonly defaultMoniker: "BlockRewardViewer";
12
+ static readonly dependencies: never[];
13
+ static readonly monikers: "BlockRewardViewer"[];
14
+ static readonly surface: "node";
15
+ moniker: "BlockRewardViewer";
16
+ allowedRewardForBlock(block: XL1BlockNumber): Promisable<AttoXL1>;
17
+ }
18
+ //# sourceMappingURL=SimpleBlockRewardViewer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SimpleBlockRewardViewer.d.ts","sourceRoot":"","sources":["../../../../src/simple/blockReward/SimpleBlockRewardViewer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AAC7C,OAAO,KAAK,EACV,OAAO,EAAE,iBAAiB,EAAE,cAAc,EAC3C,MAAM,+BAA+B,CAAA;AAGtC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAA;AAC/E,OAAO,EAAE,yBAAyB,EAAqB,MAAM,kCAAkC,CAAA;AAG/F,8CAA8C;AAC9C,MAAM,WAAW,6BAA8B,SAAQ,uBAAuB;CAAG;AAEjF,8CAA8C;AAC9C,qBACa,uBAAwB,SAAQ,yBAAyB,CAAC,6BAA6B,CAAE,YAAW,iBAAiB;IAChI,MAAM,CAAC,QAAQ,CAAC,eAAe,8CAA8C;IAC7E,MAAM,CAAC,QAAQ,CAAC,cAAc,sBAA2B;IACzD,MAAM,CAAC,QAAQ,CAAC,YAAY,UAAK;IACjC,MAAM,CAAC,QAAQ,CAAC,QAAQ,wBAA6B;IACrD,MAAM,CAAC,QAAQ,CAAC,OAAO,EAAG,MAAM,CAAS;IACzC,OAAO,sBAAyC;IAEhD,qBAAqB,CAAC,KAAK,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC;CAKlE"}
@@ -0,0 +1,2 @@
1
+ export * from './SimpleBlockRewardViewer.ts';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/simple/blockReward/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAA"}
@@ -0,0 +1,38 @@
1
+ import type { BlockValidationConfig, BlockValidationViewer, BlockViewer, ChainContractViewer, ChainQualified, HydratedBlockStateValidationFunction, HydratedBlockValidationFunction, SignedHydratedBlock, SignedHydratedBlockWithHashMeta } from '@xyo-network/xl1-protocol-lib';
2
+ import { HydratedBlockValidationError } from '@xyo-network/xl1-protocol-lib';
3
+ import type { CreatableProviderParams } from '../../CreatableProvider/index.ts';
4
+ import { AbstractCreatableProvider } from '../../CreatableProvider/index.ts';
5
+ /** Parameters for SimpleBlockValidationViewer. */
6
+ export interface SimpleBlockValidationViewerParams extends CreatableProviderParams {
7
+ maxUncleWindowSize?: number;
8
+ protocol?: HydratedBlockValidationFunction;
9
+ state?: HydratedBlockStateValidationFunction;
10
+ }
11
+ /** SimpleBlockValidationViewer implementation. */
12
+ export declare class SimpleBlockValidationViewer extends AbstractCreatableProvider<SimpleBlockValidationViewerParams> implements BlockValidationViewer {
13
+ static readonly connectionTypes: readonly ["lmdb", "mongo", "memory", "rpc"];
14
+ static readonly defaultMoniker: "BlockValidationViewer";
15
+ static readonly dependencies: ("BlockViewer" | "AccountBalanceViewer" | "ChainContractViewer")[];
16
+ static readonly monikers: "BlockValidationViewer"[];
17
+ static readonly surface: "node";
18
+ moniker: "BlockValidationViewer";
19
+ private _accountBalanceViewer;
20
+ private _blockViewer;
21
+ private _chainContractViewer;
22
+ private _uncleWindowedChainCache;
23
+ protected get blockViewer(): BlockViewer<"BlockViewer">;
24
+ protected get chainContractViewer(): ChainContractViewer;
25
+ protected get maxUncleWindowSize(): number;
26
+ static paramsHandler(params: Partial<SimpleBlockValidationViewerParams>): Promise<SimpleBlockValidationViewerParams>;
27
+ createHandler(): Promise<void>;
28
+ qualifiedValidateBlock(block: SignedHydratedBlockWithHashMeta, config?: BlockValidationConfig): Promise<ChainQualified<HydratedBlockValidationError[] | SignedHydratedBlockWithHashMeta>>;
29
+ qualifiedValidateBlocks(blocks: SignedHydratedBlock[], config?: BlockValidationConfig): Promise<ChainQualified<(HydratedBlockValidationError[] | SignedHydratedBlockWithHashMeta)[]>>;
30
+ qualifiedValidateUncle(_blocks: SignedHydratedBlock[], _config?: BlockValidationConfig): Promise<ChainQualified<(HydratedBlockValidationError[] | SignedHydratedBlockWithHashMeta)[]>>;
31
+ validateBlock(block: SignedHydratedBlock, config?: BlockValidationConfig): Promise<HydratedBlockValidationError[] | SignedHydratedBlockWithHashMeta>;
32
+ validateBlocks(blocks: SignedHydratedBlock[], config?: BlockValidationConfig): Promise<(HydratedBlockValidationError[] | SignedHydratedBlockWithHashMeta)[]>;
33
+ validateUncle(blocks: SignedHydratedBlock[], config?: BlockValidationConfig): Promise<(HydratedBlockValidationError[] | SignedHydratedBlockWithHashMeta)[]>;
34
+ private doValidateProtocol;
35
+ private doValidateState;
36
+ private updateWindowedChainCache;
37
+ }
38
+ //# sourceMappingURL=SimpleBlockValidationViewer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SimpleBlockValidationViewer.d.ts","sourceRoot":"","sources":["../../../../src/simple/blockValidation/SimpleBlockValidationViewer.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAEV,qBAAqB,EACrB,qBAAqB,EACrB,WAAW,EACX,mBAAmB,EAEnB,cAAc,EACd,oCAAoC,EACpC,+BAA+B,EAC/B,mBAAmB,EACnB,+BAA+B,EAChC,MAAM,+BAA+B,CAAA;AACtC,OAAO,EAML,4BAA4B,EAG7B,MAAM,+BAA+B,CAAA;AAEtC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAA;AAC/E,OAAO,EAAE,yBAAyB,EAAqB,MAAM,kCAAkC,CAAA;AAG/F,kDAAkD;AAClD,MAAM,WAAW,iCAAkC,SAAQ,uBAAuB;IAChF,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,QAAQ,CAAC,EAAE,+BAA+B,CAAA;IAC1C,KAAK,CAAC,EAAE,oCAAoC,CAAA;CAC7C;AAED,kDAAkD;AAClD,qBACa,2BAA4B,SAAQ,yBAAyB,CAAC,iCAAiC,CAAE,YAAW,qBAAqB;IAC5I,MAAM,CAAC,QAAQ,CAAC,eAAe,8CAA8C;IAC7E,MAAM,CAAC,QAAQ,CAAC,cAAc,0BAA+B;IAC7D,MAAM,CAAC,QAAQ,CAAC,YAAY,qEAAgF;IAC5G,MAAM,CAAC,QAAQ,CAAC,QAAQ,4BAAiC;IACzD,MAAM,CAAC,QAAQ,CAAC,OAAO,EAAG,MAAM,CAAS;IACzC,OAAO,0BAA6C;IAEpD,OAAO,CAAC,qBAAqB,CAAuB;IACpD,OAAO,CAAC,YAAY,CAAc;IAClC,OAAO,CAAC,oBAAoB,CAA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@
1
+ export * from './SimpleBlockValidationViewer.ts';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/simple/blockValidation/index.ts"],"names":[],"mappings":"AAAA,cAAc,kCAAkC,CAAA"}