@xyo-network/xl1-protocol-sdk 4.0.4 → 4.0.6

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 (699) hide show
  1. package/dist/neutral/index-node.d.ts +3 -0
  2. package/dist/neutral/index-node.d.ts.map +1 -0
  3. package/dist/neutral/index.d.ts +0 -2
  4. package/dist/neutral/index.d.ts.map +1 -1
  5. package/dist/neutral/index.mjs +31 -60
  6. package/dist/neutral/index.mjs.map +4 -4
  7. package/dist/node/Archivists/ArchivistConnectOptions.d.ts +8 -0
  8. package/dist/node/Archivists/ArchivistConnectOptions.d.ts.map +1 -0
  9. package/dist/node/Archivists/ArchivistFactory.d.ts +31 -0
  10. package/dist/node/Archivists/ArchivistFactory.d.ts.map +1 -0
  11. package/dist/node/Archivists/MemoryArchivistFactory.d.ts +19 -0
  12. package/dist/node/Archivists/MemoryArchivistFactory.d.ts.map +1 -0
  13. package/dist/node/Archivists/archivistFactoryRegistry.d.ts +9 -0
  14. package/dist/node/Archivists/archivistFactoryRegistry.d.ts.map +1 -0
  15. package/dist/node/Archivists/archivistRoles.d.ts +12 -0
  16. package/dist/node/Archivists/archivistRoles.d.ts.map +1 -0
  17. package/dist/node/Archivists/connectArchivist.d.ts +11 -0
  18. package/dist/node/Archivists/connectArchivist.d.ts.map +1 -0
  19. package/dist/node/Archivists/index.d.ts +7 -0
  20. package/dist/node/Archivists/index.d.ts.map +1 -0
  21. package/dist/node/ChainContextHelpers.d.ts +10 -0
  22. package/dist/node/ChainContextHelpers.d.ts.map +1 -0
  23. package/dist/node/CreatableProvider/AbstractCreatableProvider.d.ts +114 -0
  24. package/dist/node/CreatableProvider/AbstractCreatableProvider.d.ts.map +1 -0
  25. package/dist/node/CreatableProvider/CreatableProvider.d.ts +67 -0
  26. package/dist/node/CreatableProvider/CreatableProvider.d.ts.map +1 -0
  27. package/dist/node/CreatableProvider/CreatableProviderRegistry.d.ts +13 -0
  28. package/dist/node/CreatableProvider/CreatableProviderRegistry.d.ts.map +1 -0
  29. package/dist/node/CreatableProvider/GetInstanceOptions.d.ts +10 -0
  30. package/dist/node/CreatableProvider/GetInstanceOptions.d.ts.map +1 -0
  31. package/dist/node/CreatableProvider/LabeledCreatableProviderFactory.d.ts +14 -0
  32. package/dist/node/CreatableProvider/LabeledCreatableProviderFactory.d.ts.map +1 -0
  33. package/dist/node/CreatableProvider/ProviderFactory.d.ts +29 -0
  34. package/dist/node/CreatableProvider/ProviderFactory.d.ts.map +1 -0
  35. package/dist/node/CreatableProvider/ProviderFactoryLocator.d.ts +61 -0
  36. package/dist/node/CreatableProvider/ProviderFactoryLocator.d.ts.map +1 -0
  37. package/dist/node/CreatableProvider/ProviderFactoryLocatorInstance.d.ts +47 -0
  38. package/dist/node/CreatableProvider/ProviderFactoryLocatorInstance.d.ts.map +1 -0
  39. package/dist/node/CreatableProvider/index.d.ts +9 -0
  40. package/dist/node/CreatableProvider/index.d.ts.map +1 -0
  41. package/dist/node/SignedBigInt.d.ts +22 -0
  42. package/dist/node/SignedBigInt.d.ts.map +1 -0
  43. package/dist/node/_internal/context/getTestProviderContext.d.ts +4 -0
  44. package/dist/node/_internal/context/getTestProviderContext.d.ts.map +1 -0
  45. package/dist/node/_internal/context/index.d.ts +2 -0
  46. package/dist/node/_internal/context/index.d.ts.map +1 -0
  47. package/dist/node/_internal/index.d.ts +2 -0
  48. package/dist/node/_internal/index.d.ts.map +1 -0
  49. package/dist/node/amount/ShiftedBigInt.d.ts +17 -0
  50. package/dist/node/amount/ShiftedBigInt.d.ts.map +1 -0
  51. package/dist/node/amount/index.d.ts +5 -0
  52. package/dist/node/amount/index.d.ts.map +1 -0
  53. package/dist/node/amount/splitOnDecimal.d.ts +3 -0
  54. package/dist/node/amount/splitOnDecimal.d.ts.map +1 -0
  55. package/dist/node/amount/splitOnDecimalToString.d.ts +3 -0
  56. package/dist/node/amount/splitOnDecimalToString.d.ts.map +1 -0
  57. package/dist/node/amount/xl1Amount.d.ts +26 -0
  58. package/dist/node/amount/xl1Amount.d.ts.map +1 -0
  59. package/dist/node/block/hydrate/BoundWitnessHydrator.d.ts +70 -0
  60. package/dist/node/block/hydrate/BoundWitnessHydrator.d.ts.map +1 -0
  61. package/dist/node/block/hydrate/allHashesPresent.d.ts +5 -0
  62. package/dist/node/block/hydrate/allHashesPresent.d.ts.map +1 -0
  63. package/dist/node/block/hydrate/blockPayloadsFromHydratedBlock.d.ts +5 -0
  64. package/dist/node/block/hydrate/blockPayloadsFromHydratedBlock.d.ts.map +1 -0
  65. package/dist/node/block/hydrate/createBlockHydrator.d.ts +6 -0
  66. package/dist/node/block/hydrate/createBlockHydrator.d.ts.map +1 -0
  67. package/dist/node/block/hydrate/createBoundWitnessHydrator.d.ts +169 -0
  68. package/dist/node/block/hydrate/createBoundWitnessHydrator.d.ts.map +1 -0
  69. package/dist/node/block/hydrate/createTransactionHydrator.d.ts +6 -0
  70. package/dist/node/block/hydrate/createTransactionHydrator.d.ts.map +1 -0
  71. package/dist/node/block/hydrate/flattenHydratedBlock.d.ts +9 -0
  72. package/dist/node/block/hydrate/flattenHydratedBlock.d.ts.map +1 -0
  73. package/dist/node/block/hydrate/flattenHydratedBlocks.d.ts +4 -0
  74. package/dist/node/block/hydrate/flattenHydratedBlocks.d.ts.map +1 -0
  75. package/dist/node/block/hydrate/hydrateBlock.d.ts +5 -0
  76. package/dist/node/block/hydrate/hydrateBlock.d.ts.map +1 -0
  77. package/dist/node/block/hydrate/index.d.ts +12 -0
  78. package/dist/node/block/hydrate/index.d.ts.map +1 -0
  79. package/dist/node/block/hydrate/transactionsFromHydratedBlock.d.ts +4 -0
  80. package/dist/node/block/hydrate/transactionsFromHydratedBlock.d.ts.map +1 -0
  81. package/dist/node/block/hydrate/tryHydrateBlock.d.ts +6 -0
  82. package/dist/node/block/hydrate/tryHydrateBlock.d.ts.map +1 -0
  83. package/dist/node/block/index.d.ts +3 -0
  84. package/dist/node/block/index.d.ts.map +1 -0
  85. package/dist/node/block/primitives/blockFromBlockNumber.d.ts +5 -0
  86. package/dist/node/block/primitives/blockFromBlockNumber.d.ts.map +1 -0
  87. package/dist/node/block/primitives/frames/calculateFramesFromRange.d.ts +7 -0
  88. package/dist/node/block/primitives/frames/calculateFramesFromRange.d.ts.map +1 -0
  89. package/dist/node/block/primitives/frames/deepCalculateFramesFromRange.d.ts +10 -0
  90. package/dist/node/block/primitives/frames/deepCalculateFramesFromRange.d.ts.map +1 -0
  91. package/dist/node/block/primitives/frames/index.d.ts +3 -0
  92. package/dist/node/block/primitives/frames/index.d.ts.map +1 -0
  93. package/dist/node/block/primitives/hashFromBlockNumber.d.ts +5 -0
  94. package/dist/node/block/primitives/hashFromBlockNumber.d.ts.map +1 -0
  95. package/dist/node/block/primitives/index.d.ts +8 -0
  96. package/dist/node/block/primitives/index.d.ts.map +1 -0
  97. package/dist/node/block/primitives/model.d.ts +8 -0
  98. package/dist/node/block/primitives/model.d.ts.map +1 -0
  99. package/dist/node/block/primitives/payloads/ChainWindow.d.ts +7 -0
  100. package/dist/node/block/primitives/payloads/ChainWindow.d.ts.map +1 -0
  101. package/dist/node/block/primitives/payloads/index.d.ts +2 -0
  102. package/dist/node/block/primitives/payloads/index.d.ts.map +1 -0
  103. package/dist/node/block/primitives/toStepIdentityString.d.ts +4 -0
  104. package/dist/node/block/primitives/toStepIdentityString.d.ts.map +1 -0
  105. package/dist/node/block/primitives/validateTransactionOpcodes.d.ts +5 -0
  106. package/dist/node/block/primitives/validateTransactionOpcodes.d.ts.map +1 -0
  107. package/dist/node/boundwitness/buildUnsignedBoundWitness.d.ts +10 -0
  108. package/dist/node/boundwitness/buildUnsignedBoundWitness.d.ts.map +1 -0
  109. package/dist/node/boundwitness/index.d.ts +2 -0
  110. package/dist/node/boundwitness/index.d.ts.map +1 -0
  111. package/dist/node/capabilities/Backing.d.ts +52 -0
  112. package/dist/node/capabilities/Backing.d.ts.map +1 -0
  113. package/dist/node/capabilities/Capability.d.ts +32 -0
  114. package/dist/node/capabilities/Capability.d.ts.map +1 -0
  115. package/dist/node/capabilities/Provider.d.ts +31 -0
  116. package/dist/node/capabilities/Provider.d.ts.map +1 -0
  117. package/dist/node/capabilities/connectionSubsetBySurface.d.ts +17 -0
  118. package/dist/node/capabilities/connectionSubsetBySurface.d.ts.map +1 -0
  119. package/dist/node/capabilities/connectionTypes.d.ts +10 -0
  120. package/dist/node/capabilities/connectionTypes.d.ts.map +1 -0
  121. package/dist/node/capabilities/factoryBrand.d.ts +46 -0
  122. package/dist/node/capabilities/factoryBrand.d.ts.map +1 -0
  123. package/dist/node/capabilities/index.d.ts +12 -0
  124. package/dist/node/capabilities/index.d.ts.map +1 -0
  125. package/dist/node/capabilities/locatorFromConfig.d.ts +29 -0
  126. package/dist/node/capabilities/locatorFromConfig.d.ts.map +1 -0
  127. package/dist/node/capabilities/needsFromProviderBindings.d.ts +8 -0
  128. package/dist/node/capabilities/needsFromProviderBindings.d.ts.map +1 -0
  129. package/dist/node/capabilities/providerCandidateFromClass.d.ts +7 -0
  130. package/dist/node/capabilities/providerCandidateFromClass.d.ts.map +1 -0
  131. package/dist/node/capabilities/resolveProviders.d.ts +56 -0
  132. package/dist/node/capabilities/resolveProviders.d.ts.map +1 -0
  133. package/dist/node/capabilities/surfaceMap.d.ts +11 -0
  134. package/dist/node/capabilities/surfaceMap.d.ts.map +1 -0
  135. package/dist/node/config/Actor.d.ts +590 -0
  136. package/dist/node/config/Actor.d.ts.map +1 -0
  137. package/dist/node/config/Actors.d.ts +107 -0
  138. package/dist/node/config/Actors.d.ts.map +1 -0
  139. package/dist/node/config/Base.d.ts +109 -0
  140. package/dist/node/config/Base.d.ts.map +1 -0
  141. package/dist/node/config/Chain.d.ts +13 -0
  142. package/dist/node/config/Chain.d.ts.map +1 -0
  143. package/dist/node/config/Config.d.ts +396 -0
  144. package/dist/node/config/Config.d.ts.map +1 -0
  145. package/dist/node/config/DeepPartial.d.ts +5 -0
  146. package/dist/node/config/DeepPartial.d.ts.map +1 -0
  147. package/dist/node/config/HostActor.d.ts +591 -0
  148. package/dist/node/config/HostActor.d.ts.map +1 -0
  149. package/dist/node/config/LocatorConfigFields.d.ts +115 -0
  150. package/dist/node/config/LocatorConfigFields.d.ts.map +1 -0
  151. package/dist/node/config/Log.d.ts +16 -0
  152. package/dist/node/config/Log.d.ts.map +1 -0
  153. package/dist/node/config/Provider.d.ts +36 -0
  154. package/dist/node/config/Provider.d.ts.map +1 -0
  155. package/dist/node/config/ProviderBinding.d.ts +17 -0
  156. package/dist/node/config/ProviderBinding.d.ts.map +1 -0
  157. package/dist/node/config/Providers.d.ts +9 -0
  158. package/dist/node/config/Providers.d.ts.map +1 -0
  159. package/dist/node/config/ResolvedLocatorConfig.d.ts +122 -0
  160. package/dist/node/config/ResolvedLocatorConfig.d.ts.map +1 -0
  161. package/dist/node/config/Telemetry.d.ts +40 -0
  162. package/dist/node/config/Telemetry.d.ts.map +1 -0
  163. package/dist/node/config/UsageMeta.d.ts +32 -0
  164. package/dist/node/config/UsageMeta.d.ts.map +1 -0
  165. package/dist/node/config/Validation.d.ts +25 -0
  166. package/dist/node/config/Validation.d.ts.map +1 -0
  167. package/dist/node/config/connections/Connection.d.ts +147 -0
  168. package/dist/node/config/connections/Connection.d.ts.map +1 -0
  169. package/dist/node/config/connections/Mongo.d.ts +12 -0
  170. package/dist/node/config/connections/Mongo.d.ts.map +1 -0
  171. package/dist/node/config/connections/RpcRemote.d.ts +34 -0
  172. package/dist/node/config/connections/RpcRemote.d.ts.map +1 -0
  173. package/dist/node/config/connections/S3.d.ts +20 -0
  174. package/dist/node/config/connections/S3.d.ts.map +1 -0
  175. package/dist/node/config/connections/index.d.ts +5 -0
  176. package/dist/node/config/connections/index.d.ts.map +1 -0
  177. package/dist/node/config/index.d.ts +18 -0
  178. package/dist/node/config/index.d.ts.map +1 -0
  179. package/dist/node/config/normalizeConnectionsConfig.d.ts +17 -0
  180. package/dist/node/config/normalizeConnectionsConfig.d.ts.map +1 -0
  181. package/dist/node/config/resolveRestConnectionEndpoint.d.ts +5 -0
  182. package/dist/node/config/resolveRestConnectionEndpoint.d.ts.map +1 -0
  183. package/dist/node/config/synthesizeRpcConnectionBindings.d.ts +8 -0
  184. package/dist/node/config/synthesizeRpcConnectionBindings.d.ts.map +1 -0
  185. package/dist/node/constants.d.ts +5 -0
  186. package/dist/node/constants.d.ts.map +1 -0
  187. package/dist/node/context/Actor.d.ts +633 -0
  188. package/dist/node/context/Actor.d.ts.map +1 -0
  189. package/dist/node/context/HostActor.d.ts +645 -0
  190. package/dist/node/context/HostActor.d.ts.map +1 -0
  191. package/dist/node/context/index.d.ts +3 -0
  192. package/dist/node/context/index.d.ts.map +1 -0
  193. package/dist/node/createDeclarationPayload.d.ts +5 -0
  194. package/dist/node/createDeclarationPayload.d.ts.map +1 -0
  195. package/dist/node/createTransferPayload.d.ts +6 -0
  196. package/dist/node/createTransferPayload.d.ts.map +1 -0
  197. package/dist/node/eip-712/Payloads/EIP712Data.d.ts +32 -0
  198. package/dist/node/eip-712/Payloads/EIP712Data.d.ts.map +1 -0
  199. package/dist/node/eip-712/Payloads/EIP712Signature.d.ts +23 -0
  200. package/dist/node/eip-712/Payloads/EIP712Signature.d.ts.map +1 -0
  201. package/dist/node/eip-712/Payloads/index.d.ts +3 -0
  202. package/dist/node/eip-712/Payloads/index.d.ts.map +1 -0
  203. package/dist/node/eip-712/Types.d.ts +35 -0
  204. package/dist/node/eip-712/Types.d.ts.map +1 -0
  205. package/dist/node/eip-712/index.d.ts +5 -0
  206. package/dist/node/eip-712/index.d.ts.map +1 -0
  207. package/dist/node/eip-712/sign.d.ts +5 -0
  208. package/dist/node/eip-712/sign.d.ts.map +1 -0
  209. package/dist/node/eip-712/verify.d.ts +4 -0
  210. package/dist/node/eip-712/verify.d.ts.map +1 -0
  211. package/dist/node/getFileConfig.d.ts +191 -0
  212. package/dist/node/getFileConfig.d.ts.map +1 -0
  213. package/dist/node/index-node.d.ts +3 -0
  214. package/dist/node/index-node.d.ts.map +1 -0
  215. package/dist/node/index-node.mjs +8324 -0
  216. package/dist/node/index-node.mjs.map +7 -0
  217. package/dist/node/index.d.ts +30 -0
  218. package/dist/node/index.d.ts.map +1 -0
  219. package/dist/node/instances/Address.d.ts +13 -0
  220. package/dist/node/instances/Address.d.ts.map +1 -0
  221. package/dist/node/instances/BoundWitness.d.ts +9 -0
  222. package/dist/node/instances/BoundWitness.d.ts.map +1 -0
  223. package/dist/node/instances/Data.d.ts +5 -0
  224. package/dist/node/instances/Data.d.ts.map +1 -0
  225. package/dist/node/instances/Fees.d.ts +9 -0
  226. package/dist/node/instances/Fees.d.ts.map +1 -0
  227. package/dist/node/instances/HydratedBoundWitness.d.ts +11 -0
  228. package/dist/node/instances/HydratedBoundWitness.d.ts.map +1 -0
  229. package/dist/node/instances/Object.d.ts +6 -0
  230. package/dist/node/instances/Object.d.ts.map +1 -0
  231. package/dist/node/instances/Payload.d.ts +7 -0
  232. package/dist/node/instances/Payload.d.ts.map +1 -0
  233. package/dist/node/instances/Signature.d.ts +10 -0
  234. package/dist/node/instances/Signature.d.ts.map +1 -0
  235. package/dist/node/instances/block/BlockFields.d.ts +12 -0
  236. package/dist/node/instances/block/BlockFields.d.ts.map +1 -0
  237. package/dist/node/instances/block/HydratedBlock.d.ts +9 -0
  238. package/dist/node/instances/block/HydratedBlock.d.ts.map +1 -0
  239. package/dist/node/instances/block/index.d.ts +2 -0
  240. package/dist/node/instances/block/index.d.ts.map +1 -0
  241. package/dist/node/instances/index.d.ts +11 -0
  242. package/dist/node/instances/index.d.ts.map +1 -0
  243. package/dist/node/instances/modifiers/BlockWindowInstance.d.ts +8 -0
  244. package/dist/node/instances/modifiers/BlockWindowInstance.d.ts.map +1 -0
  245. package/dist/node/instances/modifiers/BlockWindowState.d.ts +6 -0
  246. package/dist/node/instances/modifiers/BlockWindowState.d.ts.map +1 -0
  247. package/dist/node/instances/modifiers/Signed.d.ts +8 -0
  248. package/dist/node/instances/modifiers/Signed.d.ts.map +1 -0
  249. package/dist/node/instances/modifiers/Validatable.d.ts +6 -0
  250. package/dist/node/instances/modifiers/Validatable.d.ts.map +1 -0
  251. package/dist/node/instances/modifiers/index.d.ts +5 -0
  252. package/dist/node/instances/modifiers/index.d.ts.map +1 -0
  253. package/dist/node/instances/transaction/HydratedTransaction.d.ts +7 -0
  254. package/dist/node/instances/transaction/HydratedTransaction.d.ts.map +1 -0
  255. package/dist/node/instances/transaction/TransactionFields.d.ts +17 -0
  256. package/dist/node/instances/transaction/TransactionFields.d.ts.map +1 -0
  257. package/dist/node/instances/transaction/index.d.ts +2 -0
  258. package/dist/node/instances/transaction/index.d.ts.map +1 -0
  259. package/dist/node/isInternetAvailable.d.ts +3 -0
  260. package/dist/node/isInternetAvailable.d.ts.map +1 -0
  261. package/dist/node/model/ChainFork/ChainForkStatic.d.ts +9 -0
  262. package/dist/node/model/ChainFork/ChainForkStatic.d.ts.map +1 -0
  263. package/dist/node/model/ChainFork/index.d.ts +2 -0
  264. package/dist/node/model/ChainFork/index.d.ts.map +1 -0
  265. package/dist/node/model/ChainIdentity.d.ts +6 -0
  266. package/dist/node/model/ChainIdentity.d.ts.map +1 -0
  267. package/dist/node/model/ChainStore.d.ts +12 -0
  268. package/dist/node/model/ChainStore.d.ts.map +1 -0
  269. package/dist/node/model/CreatableProviderContext.d.ts +5 -0
  270. package/dist/node/model/CreatableProviderContext.d.ts.map +1 -0
  271. package/dist/node/model/CreatableProviderContext.zod.d.ts +714 -0
  272. package/dist/node/model/CreatableProviderContext.zod.d.ts.map +1 -0
  273. package/dist/node/model/PayloadBundle/bundledPayloadToHydratedBlock.d.ts +5 -0
  274. package/dist/node/model/PayloadBundle/bundledPayloadToHydratedBlock.d.ts.map +1 -0
  275. package/dist/node/model/PayloadBundle/bundledPayloadToHydratedTransaction.d.ts +5 -0
  276. package/dist/node/model/PayloadBundle/bundledPayloadToHydratedTransaction.d.ts.map +1 -0
  277. package/dist/node/model/PayloadBundle/hydratedBlockToPayloadBundle.d.ts +5 -0
  278. package/dist/node/model/PayloadBundle/hydratedBlockToPayloadBundle.d.ts.map +1 -0
  279. package/dist/node/model/PayloadBundle/hydratedTransactionToPayloadBundle.d.ts +5 -0
  280. package/dist/node/model/PayloadBundle/hydratedTransactionToPayloadBundle.d.ts.map +1 -0
  281. package/dist/node/model/PayloadBundle/index.d.ts +5 -0
  282. package/dist/node/model/PayloadBundle/index.d.ts.map +1 -0
  283. package/dist/node/model/index.d.ts +7 -0
  284. package/dist/node/model/index.d.ts.map +1 -0
  285. package/dist/node/multipliers.d.ts +10 -0
  286. package/dist/node/multipliers.d.ts.map +1 -0
  287. package/dist/node/payloads/AddressPairPayload.d.ts +22 -0
  288. package/dist/node/payloads/AddressPairPayload.d.ts.map +1 -0
  289. package/dist/node/payloads/index.d.ts +5 -0
  290. package/dist/node/payloads/index.d.ts.map +1 -0
  291. package/dist/node/payloads/netBalancesForPayloads.d.ts +9 -0
  292. package/dist/node/payloads/netBalancesForPayloads.d.ts.map +1 -0
  293. package/dist/node/payloads/netSchemasForPayloads.d.ts +9 -0
  294. package/dist/node/payloads/netSchemasForPayloads.d.ts.map +1 -0
  295. package/dist/node/payloads/netTransfersForPayloads.d.ts +5 -0
  296. package/dist/node/payloads/netTransfersForPayloads.d.ts.map +1 -0
  297. package/dist/node/primitives/block/index.d.ts +3 -0
  298. package/dist/node/primitives/block/index.d.ts.map +1 -0
  299. package/dist/node/primitives/block/range/blockRangeSteps.d.ts +4 -0
  300. package/dist/node/primitives/block/range/blockRangeSteps.d.ts.map +1 -0
  301. package/dist/node/primitives/block/range/index.d.ts +2 -0
  302. package/dist/node/primitives/block/range/index.d.ts.map +1 -0
  303. package/dist/node/primitives/block/rate/blockRate.d.ts +11 -0
  304. package/dist/node/primitives/block/rate/blockRate.d.ts.map +1 -0
  305. package/dist/node/primitives/block/rate/index.d.ts +5 -0
  306. package/dist/node/primitives/block/rate/index.d.ts.map +1 -0
  307. package/dist/node/primitives/block/rate/stepRate.d.ts +7 -0
  308. package/dist/node/primitives/block/rate/stepRate.d.ts.map +1 -0
  309. package/dist/node/primitives/block/rate/timeHelpers.d.ts +8 -0
  310. package/dist/node/primitives/block/rate/timeHelpers.d.ts.map +1 -0
  311. package/dist/node/primitives/block/rate/timeRate.d.ts +8 -0
  312. package/dist/node/primitives/block/rate/timeRate.d.ts.map +1 -0
  313. package/dist/node/primitives/chain/getWindowedChain.d.ts +10 -0
  314. package/dist/node/primitives/chain/getWindowedChain.d.ts.map +1 -0
  315. package/dist/node/primitives/chain/index.d.ts +4 -0
  316. package/dist/node/primitives/chain/index.d.ts.map +1 -0
  317. package/dist/node/primitives/chain/step/chainStepRewardAddress.d.ts +5 -0
  318. package/dist/node/primitives/chain/step/chainStepRewardAddress.d.ts.map +1 -0
  319. package/dist/node/primitives/chain/step/index.d.ts +5 -0
  320. package/dist/node/primitives/chain/step/index.d.ts.map +1 -0
  321. package/dist/node/primitives/chain/step/stepRewardBlock.d.ts +4 -0
  322. package/dist/node/primitives/chain/step/stepRewardBlock.d.ts.map +1 -0
  323. package/dist/node/primitives/chain/step/stepRewardTotal.d.ts +4 -0
  324. package/dist/node/primitives/chain/step/stepRewardTotal.d.ts.map +1 -0
  325. package/dist/node/primitives/chain/step/stepsRewardTotal.d.ts +8 -0
  326. package/dist/node/primitives/chain/step/stepsRewardTotal.d.ts.map +1 -0
  327. package/dist/node/primitives/chain/time/externalBlockNumberFromXl1BlockNumber.d.ts +4 -0
  328. package/dist/node/primitives/chain/time/externalBlockNumberFromXl1BlockNumber.d.ts.map +1 -0
  329. package/dist/node/primitives/chain/time/externalBlockRangeFromStep.d.ts +4 -0
  330. package/dist/node/primitives/chain/time/externalBlockRangeFromStep.d.ts.map +1 -0
  331. package/dist/node/primitives/chain/time/externalBlockRangeFromXl1BlockRange.d.ts +4 -0
  332. package/dist/node/primitives/chain/time/externalBlockRangeFromXl1BlockRange.d.ts.map +1 -0
  333. package/dist/node/primitives/chain/time/index.d.ts +4 -0
  334. package/dist/node/primitives/chain/time/index.d.ts.map +1 -0
  335. package/dist/node/primitives/datalake/NamedDataLake.d.ts +7 -0
  336. package/dist/node/primitives/datalake/NamedDataLake.d.ts.map +1 -0
  337. package/dist/node/primitives/datalake/PayloadLocator.d.ts +55 -0
  338. package/dist/node/primitives/datalake/PayloadLocator.d.ts.map +1 -0
  339. package/dist/node/primitives/datalake/addDataLakePayloads.d.ts +5 -0
  340. package/dist/node/primitives/datalake/addDataLakePayloads.d.ts.map +1 -0
  341. package/dist/node/primitives/datalake/addDataLakePayloadsToPayloads.d.ts +9 -0
  342. package/dist/node/primitives/datalake/addDataLakePayloadsToPayloads.d.ts.map +1 -0
  343. package/dist/node/primitives/datalake/index.d.ts +5 -0
  344. package/dist/node/primitives/datalake/index.d.ts.map +1 -0
  345. package/dist/node/primitives/index.d.ts +13 -0
  346. package/dist/node/primitives/index.d.ts.map +1 -0
  347. package/dist/node/primitives/mapToMapType.d.ts +4 -0
  348. package/dist/node/primitives/mapToMapType.d.ts.map +1 -0
  349. package/dist/node/primitives/payload/index.d.ts +2 -0
  350. package/dist/node/primitives/payload/index.d.ts.map +1 -0
  351. package/dist/node/primitives/payload/mergeTransfers.d.ts +5 -0
  352. package/dist/node/primitives/payload/mergeTransfers.d.ts.map +1 -0
  353. package/dist/node/primitives/readPayloadMapFromStore.d.ts +7 -0
  354. package/dist/node/primitives/readPayloadMapFromStore.d.ts.map +1 -0
  355. package/dist/node/primitives/rewardFromBlockNumber.d.ts +4 -0
  356. package/dist/node/primitives/rewardFromBlockNumber.d.ts.map +1 -0
  357. package/dist/node/primitives/rewards/index.d.ts +2 -0
  358. package/dist/node/primitives/rewards/index.d.ts.map +1 -0
  359. package/dist/node/primitives/rewards/networkStakeStepRewardPositionWeight.d.ts +4 -0
  360. package/dist/node/primitives/rewards/networkStakeStepRewardPositionWeight.d.ts.map +1 -0
  361. package/dist/node/primitives/stake/activeStakeAtTimeByAddress.d.ts +5 -0
  362. package/dist/node/primitives/stake/activeStakeAtTimeByAddress.d.ts.map +1 -0
  363. package/dist/node/primitives/stake/activeStakeAtTimeByPosition.d.ts +4 -0
  364. package/dist/node/primitives/stake/activeStakeAtTimeByPosition.d.ts.map +1 -0
  365. package/dist/node/primitives/stake/allStakersForRange.d.ts +5 -0
  366. package/dist/node/primitives/stake/allStakersForRange.d.ts.map +1 -0
  367. package/dist/node/primitives/stake/allStakersForStep.d.ts +5 -0
  368. package/dist/node/primitives/stake/allStakersForStep.d.ts.map +1 -0
  369. package/dist/node/primitives/stake/index.d.ts +7 -0
  370. package/dist/node/primitives/stake/index.d.ts.map +1 -0
  371. package/dist/node/primitives/stake/mergedAddRemoveStakeEventsByPosition.d.ts +4 -0
  372. package/dist/node/primitives/stake/mergedAddRemoveStakeEventsByPosition.d.ts.map +1 -0
  373. package/dist/node/primitives/stake/mergedAddRemoveStakeEventsByStaker.d.ts +5 -0
  374. package/dist/node/primitives/stake/mergedAddRemoveStakeEventsByStaker.d.ts.map +1 -0
  375. package/dist/node/primitives/stake/weightedStakeForRangeByPosition.d.ts +6 -0
  376. package/dist/node/primitives/stake/weightedStakeForRangeByPosition.d.ts.map +1 -0
  377. package/dist/node/primitives/state/findMostRecentBlock.d.ts +11 -0
  378. package/dist/node/primitives/state/findMostRecentBlock.d.ts.map +1 -0
  379. package/dist/node/primitives/state/hydratedBlockByNumber.d.ts +4 -0
  380. package/dist/node/primitives/state/hydratedBlockByNumber.d.ts.map +1 -0
  381. package/dist/node/primitives/state/index.d.ts +3 -0
  382. package/dist/node/primitives/state/index.d.ts.map +1 -0
  383. package/dist/node/primitives/step/derivedReceiveAddress.d.ts +2 -0
  384. package/dist/node/primitives/step/derivedReceiveAddress.d.ts.map +1 -0
  385. package/dist/node/primitives/step/index.d.ts +3 -0
  386. package/dist/node/primitives/step/index.d.ts.map +1 -0
  387. package/dist/node/primitives/step/rewardAddressFromStepIdentity.d.ts +2 -0
  388. package/dist/node/primitives/step/rewardAddressFromStepIdentity.d.ts.map +1 -0
  389. package/dist/node/primitives/step/stepBlockRange.d.ts +4 -0
  390. package/dist/node/primitives/step/stepBlockRange.d.ts.map +1 -0
  391. package/dist/node/primitives/step/stepTransferIndex.d.ts +3 -0
  392. package/dist/node/primitives/step/stepTransferIndex.d.ts.map +1 -0
  393. package/dist/node/primitives/transaction/elevatedPayloads.d.ts +2 -0
  394. package/dist/node/primitives/transaction/elevatedPayloads.d.ts.map +1 -0
  395. package/dist/node/primitives/transaction/index.d.ts +2 -0
  396. package/dist/node/primitives/transaction/index.d.ts.map +1 -0
  397. package/dist/node/primitives/uncle/findBestUncle.d.ts +17 -0
  398. package/dist/node/primitives/uncle/findBestUncle.d.ts.map +1 -0
  399. package/dist/node/primitives/uncle/findUncles.d.ts +36 -0
  400. package/dist/node/primitives/uncle/findUncles.d.ts.map +1 -0
  401. package/dist/node/primitives/uncle/getProducerKey.d.ts +4 -0
  402. package/dist/node/primitives/uncle/getProducerKey.d.ts.map +1 -0
  403. package/dist/node/primitives/uncle/index.d.ts +5 -0
  404. package/dist/node/primitives/uncle/index.d.ts.map +1 -0
  405. package/dist/node/primitives/uncle/scoreUncle.d.ts +6 -0
  406. package/dist/node/primitives/uncle/scoreUncle.d.ts.map +1 -0
  407. package/dist/node/services/AccountTransfersService.d.ts +12 -0
  408. package/dist/node/services/AccountTransfersService.d.ts.map +1 -0
  409. package/dist/node/services/BlockProducerService.d.ts +7 -0
  410. package/dist/node/services/BlockProducerService.d.ts.map +1 -0
  411. package/dist/node/services/Chain/BaseChainService.d.ts +4 -0
  412. package/dist/node/services/Chain/BaseChainService.d.ts.map +1 -0
  413. package/dist/node/services/Chain/ChainHeadService.d.ts +7 -0
  414. package/dist/node/services/Chain/ChainHeadService.d.ts.map +1 -0
  415. package/dist/node/services/Chain/ChainService.d.ts +6 -0
  416. package/dist/node/services/Chain/ChainService.d.ts.map +1 -0
  417. package/dist/node/services/Chain/index.d.ts +4 -0
  418. package/dist/node/services/Chain/index.d.ts.map +1 -0
  419. package/dist/node/services/Election.d.ts +11 -0
  420. package/dist/node/services/Election.d.ts.map +1 -0
  421. package/dist/node/services/NetworkStakeService.d.ts +5 -0
  422. package/dist/node/services/NetworkStakeService.d.ts.map +1 -0
  423. package/dist/node/services/Params.d.ts +11 -0
  424. package/dist/node/services/Params.d.ts.map +1 -0
  425. package/dist/node/services/PendingTransactionsService.d.ts +7 -0
  426. package/dist/node/services/PendingTransactionsService.d.ts.map +1 -0
  427. package/dist/node/services/SchemasService.d.ts +11 -0
  428. package/dist/node/services/SchemasService.d.ts.map +1 -0
  429. package/dist/node/services/StakeIntentService/ChainIndexingServiceStateSchema.d.ts +39 -0
  430. package/dist/node/services/StakeIntentService/ChainIndexingServiceStateSchema.d.ts.map +1 -0
  431. package/dist/node/services/StakeIntentService/StakeIntentService.d.ts +31 -0
  432. package/dist/node/services/StakeIntentService/StakeIntentService.d.ts.map +1 -0
  433. package/dist/node/services/StakeIntentService/index.d.ts +3 -0
  434. package/dist/node/services/StakeIntentService/index.d.ts.map +1 -0
  435. package/dist/node/services/index.d.ts +9 -0
  436. package/dist/node/services/index.d.ts.map +1 -0
  437. package/dist/node/simple/StakeEventsViewer/SimpleStakeEventsViewer.d.ts +23 -0
  438. package/dist/node/simple/StakeEventsViewer/SimpleStakeEventsViewer.d.ts.map +1 -0
  439. package/dist/node/simple/StakeEventsViewer/index.d.ts +2 -0
  440. package/dist/node/simple/StakeEventsViewer/index.d.ts.map +1 -0
  441. package/dist/node/simple/StakeTotalsViewer/SimpleStakeTotalsViewer.d.ts +27 -0
  442. package/dist/node/simple/StakeTotalsViewer/SimpleStakeTotalsViewer.d.ts.map +1 -0
  443. package/dist/node/simple/StakeTotalsViewer/index.d.ts +2 -0
  444. package/dist/node/simple/StakeTotalsViewer/index.d.ts.map +1 -0
  445. package/dist/node/simple/StakeViewer/SimpleStakeViewer.d.ts +42 -0
  446. package/dist/node/simple/StakeViewer/SimpleStakeViewer.d.ts.map +1 -0
  447. package/dist/node/simple/StakeViewer/index.d.ts +2 -0
  448. package/dist/node/simple/StakeViewer/index.d.ts.map +1 -0
  449. package/dist/node/simple/TransactionViewer/SimpleTransactionViewer.d.ts +25 -0
  450. package/dist/node/simple/TransactionViewer/SimpleTransactionViewer.d.ts.map +1 -0
  451. package/dist/node/simple/TransactionViewer/index.d.ts +2 -0
  452. package/dist/node/simple/TransactionViewer/index.d.ts.map +1 -0
  453. package/dist/node/simple/accountBalance/SimpleAccountBalanceViewer.d.ts +132 -0
  454. package/dist/node/simple/accountBalance/SimpleAccountBalanceViewer.d.ts.map +1 -0
  455. package/dist/node/simple/accountBalance/index.d.ts +2 -0
  456. package/dist/node/simple/accountBalance/index.d.ts.map +1 -0
  457. package/dist/node/simple/block/SimpleBlockViewer.d.ts +114 -0
  458. package/dist/node/simple/block/SimpleBlockViewer.d.ts.map +1 -0
  459. package/dist/node/simple/block/index.d.ts +2 -0
  460. package/dist/node/simple/block/index.d.ts.map +1 -0
  461. package/dist/node/simple/blockInvalidation/SimpleBlockInvalidationViewer.d.ts +37 -0
  462. package/dist/node/simple/blockInvalidation/SimpleBlockInvalidationViewer.d.ts.map +1 -0
  463. package/dist/node/simple/blockInvalidation/index.d.ts +2 -0
  464. package/dist/node/simple/blockInvalidation/index.d.ts.map +1 -0
  465. package/dist/node/simple/blockReward/SimpleBlockRewardViewer.d.ts +18 -0
  466. package/dist/node/simple/blockReward/SimpleBlockRewardViewer.d.ts.map +1 -0
  467. package/dist/node/simple/blockReward/index.d.ts +2 -0
  468. package/dist/node/simple/blockReward/index.d.ts.map +1 -0
  469. package/dist/node/simple/blockValidation/SimpleBlockValidationViewer.d.ts +38 -0
  470. package/dist/node/simple/blockValidation/SimpleBlockValidationViewer.d.ts.map +1 -0
  471. package/dist/node/simple/blockValidation/index.d.ts +2 -0
  472. package/dist/node/simple/blockValidation/index.d.ts.map +1 -0
  473. package/dist/node/simple/chainContractViewer/SimpleChainContractViewer.d.ts +47 -0
  474. package/dist/node/simple/chainContractViewer/SimpleChainContractViewer.d.ts.map +1 -0
  475. package/dist/node/simple/chainContractViewer/index.d.ts +2 -0
  476. package/dist/node/simple/chainContractViewer/index.d.ts.map +1 -0
  477. package/dist/node/simple/client/SimpleXyoClient.d.ts +9 -0
  478. package/dist/node/simple/client/SimpleXyoClient.d.ts.map +1 -0
  479. package/dist/node/simple/client/index.d.ts +2 -0
  480. package/dist/node/simple/client/index.d.ts.map +1 -0
  481. package/dist/node/simple/datalake/AbstractRestDataLake.d.ts +34 -0
  482. package/dist/node/simple/datalake/AbstractRestDataLake.d.ts.map +1 -0
  483. package/dist/node/simple/datalake/AbstractSimpleDataLake.d.ts +21 -0
  484. package/dist/node/simple/datalake/AbstractSimpleDataLake.d.ts.map +1 -0
  485. package/dist/node/simple/datalake/RestDataLakeRunner.d.ts +20 -0
  486. package/dist/node/simple/datalake/RestDataLakeRunner.d.ts.map +1 -0
  487. package/dist/node/simple/datalake/RestDataLakeViewer.d.ts +16 -0
  488. package/dist/node/simple/datalake/RestDataLakeViewer.d.ts.map +1 -0
  489. package/dist/node/simple/datalake/SimpleDataLakeRunner.d.ts +23 -0
  490. package/dist/node/simple/datalake/SimpleDataLakeRunner.d.ts.map +1 -0
  491. package/dist/node/simple/datalake/SimpleDataLakeViewer.d.ts +17 -0
  492. package/dist/node/simple/datalake/SimpleDataLakeViewer.d.ts.map +1 -0
  493. package/dist/node/simple/datalake/index.d.ts +5 -0
  494. package/dist/node/simple/datalake/index.d.ts.map +1 -0
  495. package/dist/node/simple/finalization/SimpleFinalizationRunner.d.ts +30 -0
  496. package/dist/node/simple/finalization/SimpleFinalizationRunner.d.ts.map +1 -0
  497. package/dist/node/simple/finalization/SimpleFinalizationViewer.d.ts +75 -0
  498. package/dist/node/simple/finalization/SimpleFinalizationViewer.d.ts.map +1 -0
  499. package/dist/node/simple/finalization/index.d.ts +3 -0
  500. package/dist/node/simple/finalization/index.d.ts.map +1 -0
  501. package/dist/node/simple/gateway/SimpleXyoGateway.d.ts +17 -0
  502. package/dist/node/simple/gateway/SimpleXyoGateway.d.ts.map +1 -0
  503. package/dist/node/simple/gateway/SimpleXyoGatewayRunner.d.ts +29 -0
  504. package/dist/node/simple/gateway/SimpleXyoGatewayRunner.d.ts.map +1 -0
  505. package/dist/node/simple/gateway/index.d.ts +3 -0
  506. package/dist/node/simple/gateway/index.d.ts.map +1 -0
  507. package/dist/node/simple/index.d.ts +24 -0
  508. package/dist/node/simple/index.d.ts.map +1 -0
  509. package/dist/node/simple/mempool/SimpleMempoolRunner.d.ts +84 -0
  510. package/dist/node/simple/mempool/SimpleMempoolRunner.d.ts.map +1 -0
  511. package/dist/node/simple/mempool/SimpleMempoolViewer.d.ts +82 -0
  512. package/dist/node/simple/mempool/SimpleMempoolViewer.d.ts.map +1 -0
  513. package/dist/node/simple/mempool/index.d.ts +3 -0
  514. package/dist/node/simple/mempool/index.d.ts.map +1 -0
  515. package/dist/node/simple/network/SimpleXyoNetwork.d.ts +12 -0
  516. package/dist/node/simple/network/SimpleXyoNetwork.d.ts.map +1 -0
  517. package/dist/node/simple/network/index.d.ts +2 -0
  518. package/dist/node/simple/network/index.d.ts.map +1 -0
  519. package/dist/node/simple/network/lib/FailedNetworkStatusPayloads.d.ts +6 -0
  520. package/dist/node/simple/network/lib/FailedNetworkStatusPayloads.d.ts.map +1 -0
  521. package/dist/node/simple/network/lib/StatusNetworks.d.ts +15 -0
  522. package/dist/node/simple/network/lib/StatusNetworks.d.ts.map +1 -0
  523. package/dist/node/simple/network/lib/index.d.ts +3 -0
  524. package/dist/node/simple/network/lib/index.d.ts.map +1 -0
  525. package/dist/node/simple/permissions/SimpleXyoPermissions.d.ts +17 -0
  526. package/dist/node/simple/permissions/SimpleXyoPermissions.d.ts.map +1 -0
  527. package/dist/node/simple/permissions/index.d.ts +3 -0
  528. package/dist/node/simple/permissions/index.d.ts.map +1 -0
  529. package/dist/node/simple/permissions/store/MemoryPermissions.d.ts +16 -0
  530. package/dist/node/simple/permissions/store/MemoryPermissions.d.ts.map +1 -0
  531. package/dist/node/simple/permissions/store/PermissionsStore.d.ts +14 -0
  532. package/dist/node/simple/permissions/store/PermissionsStore.d.ts.map +1 -0
  533. package/dist/node/simple/permissions/store/index.d.ts +3 -0
  534. package/dist/node/simple/permissions/store/index.d.ts.map +1 -0
  535. package/dist/node/simple/runner/SimpleXyoRunner.d.ts +21 -0
  536. package/dist/node/simple/runner/SimpleXyoRunner.d.ts.map +1 -0
  537. package/dist/node/simple/runner/index.d.ts +2 -0
  538. package/dist/node/simple/runner/index.d.ts.map +1 -0
  539. package/dist/node/simple/signer/SimpleXyoSigner.d.ts +31 -0
  540. package/dist/node/simple/signer/SimpleXyoSigner.d.ts.map +1 -0
  541. package/dist/node/simple/signer/index.d.ts +2 -0
  542. package/dist/node/simple/signer/index.d.ts.map +1 -0
  543. package/dist/node/simple/sync/RestSyncViewer.d.ts +22 -0
  544. package/dist/node/simple/sync/RestSyncViewer.d.ts.map +1 -0
  545. package/dist/node/simple/sync/index.d.ts +2 -0
  546. package/dist/node/simple/sync/index.d.ts.map +1 -0
  547. package/dist/node/simple/systemStatus/SimpleSystemStatusViewer.d.ts +27 -0
  548. package/dist/node/simple/systemStatus/SimpleSystemStatusViewer.d.ts.map +1 -0
  549. package/dist/node/simple/systemStatus/index.d.ts +2 -0
  550. package/dist/node/simple/systemStatus/index.d.ts.map +1 -0
  551. package/dist/node/simple/timeSync2/SimpleTimeSyncViewer.d.ts +27 -0
  552. package/dist/node/simple/timeSync2/SimpleTimeSyncViewer.d.ts.map +1 -0
  553. package/dist/node/simple/timeSync2/index.d.ts +2 -0
  554. package/dist/node/simple/timeSync2/index.d.ts.map +1 -0
  555. package/dist/node/simple/transactionInvalidation/SimpleTransactionInvalidationViewer.d.ts +35 -0
  556. package/dist/node/simple/transactionInvalidation/SimpleTransactionInvalidationViewer.d.ts.map +1 -0
  557. package/dist/node/simple/transactionInvalidation/index.d.ts +2 -0
  558. package/dist/node/simple/transactionInvalidation/index.d.ts.map +1 -0
  559. package/dist/node/simple/transactionValidation/SimpleTransactionValidationViewer.d.ts +34 -0
  560. package/dist/node/simple/transactionValidation/SimpleTransactionValidationViewer.d.ts.map +1 -0
  561. package/dist/node/simple/transactionValidation/index.d.ts +2 -0
  562. package/dist/node/simple/transactionValidation/index.d.ts.map +1 -0
  563. package/dist/node/simple/windowedBlock/SimpleWindowedBlockViewer.d.ts +242 -0
  564. package/dist/node/simple/windowedBlock/SimpleWindowedBlockViewer.d.ts.map +1 -0
  565. package/dist/node/simple/windowedBlock/index.d.ts +2 -0
  566. package/dist/node/simple/windowedBlock/index.d.ts.map +1 -0
  567. package/dist/node/status/ServiceStatus.d.ts +9 -0
  568. package/dist/node/status/ServiceStatus.d.ts.map +1 -0
  569. package/dist/node/status/SimpleSystemStatusRunner.d.ts +35 -0
  570. package/dist/node/status/SimpleSystemStatusRunner.d.ts.map +1 -0
  571. package/dist/node/status/index.d.ts +3 -0
  572. package/dist/node/status/index.d.ts.map +1 -0
  573. package/dist/node/summary/index.d.ts +3 -0
  574. package/dist/node/summary/index.d.ts.map +1 -0
  575. package/dist/node/summary/model/BalancesStepSummary.d.ts +26 -0
  576. package/dist/node/summary/model/BalancesStepSummary.d.ts.map +1 -0
  577. package/dist/node/summary/model/SchemasStepSummary.d.ts +25 -0
  578. package/dist/node/summary/model/SchemasStepSummary.d.ts.map +1 -0
  579. package/dist/node/summary/model/TransfersSummary.d.ts +26 -0
  580. package/dist/node/summary/model/TransfersSummary.d.ts.map +1 -0
  581. package/dist/node/summary/model/index.d.ts +4 -0
  582. package/dist/node/summary/model/index.d.ts.map +1 -0
  583. package/dist/node/summary/primitives/balances/balancesMaxStep.d.ts +9 -0
  584. package/dist/node/summary/primitives/balances/balancesMaxStep.d.ts.map +1 -0
  585. package/dist/node/summary/primitives/balances/balancesStepSummaryFromRange.d.ts +6 -0
  586. package/dist/node/summary/primitives/balances/balancesStepSummaryFromRange.d.ts.map +1 -0
  587. package/dist/node/summary/primitives/balances/balancesSummary.d.ts +7 -0
  588. package/dist/node/summary/primitives/balances/balancesSummary.d.ts.map +1 -0
  589. package/dist/node/summary/primitives/balances/index.d.ts +4 -0
  590. package/dist/node/summary/primitives/balances/index.d.ts.map +1 -0
  591. package/dist/node/summary/primitives/blocks/blocksMaxStep.d.ts +13 -0
  592. package/dist/node/summary/primitives/blocks/blocksMaxStep.d.ts.map +1 -0
  593. package/dist/node/summary/primitives/blocks/blocksStepSummaryFromRange.d.ts +12 -0
  594. package/dist/node/summary/primitives/blocks/blocksStepSummaryFromRange.d.ts.map +1 -0
  595. package/dist/node/summary/primitives/blocks/index.d.ts +3 -0
  596. package/dist/node/summary/primitives/blocks/index.d.ts.map +1 -0
  597. package/dist/node/summary/primitives/index.d.ts +5 -0
  598. package/dist/node/summary/primitives/index.d.ts.map +1 -0
  599. package/dist/node/summary/primitives/schemas/index.d.ts +4 -0
  600. package/dist/node/summary/primitives/schemas/index.d.ts.map +1 -0
  601. package/dist/node/summary/primitives/schemas/schemasMaxStep.d.ts +8 -0
  602. package/dist/node/summary/primitives/schemas/schemasMaxStep.d.ts.map +1 -0
  603. package/dist/node/summary/primitives/schemas/schemasStepSummaryFromRange.d.ts +7 -0
  604. package/dist/node/summary/primitives/schemas/schemasStepSummaryFromRange.d.ts.map +1 -0
  605. package/dist/node/summary/primitives/schemas/schemasSummary.d.ts +7 -0
  606. package/dist/node/summary/primitives/schemas/schemasSummary.d.ts.map +1 -0
  607. package/dist/node/summary/primitives/transfers/index.d.ts +4 -0
  608. package/dist/node/summary/primitives/transfers/index.d.ts.map +1 -0
  609. package/dist/node/summary/primitives/transfers/transfersMaxStep.d.ts +10 -0
  610. package/dist/node/summary/primitives/transfers/transfersMaxStep.d.ts.map +1 -0
  611. package/dist/node/summary/primitives/transfers/transfersStepSummaryFromRange.d.ts +9 -0
  612. package/dist/node/summary/primitives/transfers/transfersStepSummaryFromRange.d.ts.map +1 -0
  613. package/dist/node/summary/primitives/transfers/transfersSummary.d.ts +7 -0
  614. package/dist/node/summary/primitives/transfers/transfersSummary.d.ts.map +1 -0
  615. package/dist/node/test/BuildBlockOptions.d.ts +33 -0
  616. package/dist/node/test/BuildBlockOptions.d.ts.map +1 -0
  617. package/dist/node/test/buildBlock.d.ts +5 -0
  618. package/dist/node/test/buildBlock.d.ts.map +1 -0
  619. package/dist/node/test/buildGenesisBlock.d.ts +9 -0
  620. package/dist/node/test/buildGenesisBlock.d.ts.map +1 -0
  621. package/dist/node/test/buildNextBlock.d.ts +6 -0
  622. package/dist/node/test/buildNextBlock.d.ts.map +1 -0
  623. package/dist/node/test/buildRandomChain.d.ts +20 -0
  624. package/dist/node/test/buildRandomChain.d.ts.map +1 -0
  625. package/dist/node/test/buildRandomGenesisBlock.d.ts +13 -0
  626. package/dist/node/test/buildRandomGenesisBlock.d.ts.map +1 -0
  627. package/dist/node/test/buildRandomTransaction.d.ts +5 -0
  628. package/dist/node/test/buildRandomTransaction.d.ts.map +1 -0
  629. package/dist/node/test/createGenesisBlock.d.ts +5 -0
  630. package/dist/node/test/createGenesisBlock.d.ts.map +1 -0
  631. package/dist/node/test/createProducerChainStakeIntentTransaction.d.ts +16 -0
  632. package/dist/node/test/createProducerChainStakeIntentTransaction.d.ts.map +1 -0
  633. package/dist/node/test/getSimpleBlockViewerLocator.d.ts +15 -0
  634. package/dist/node/test/getSimpleBlockViewerLocator.d.ts.map +1 -0
  635. package/dist/node/test/getTestProviderContext.d.ts +5 -0
  636. package/dist/node/test/getTestProviderContext.d.ts.map +1 -0
  637. package/dist/node/test/index.d.ts +5 -0
  638. package/dist/node/test/index.d.ts.map +1 -0
  639. package/dist/node/time/index.d.ts +2 -0
  640. package/dist/node/time/index.d.ts.map +1 -0
  641. package/dist/node/time/primitives/index.d.ts +2 -0
  642. package/dist/node/time/primitives/index.d.ts.map +1 -0
  643. package/dist/node/time/primitives/xl1BlockNumberToEthBlockNumber.d.ts +4 -0
  644. package/dist/node/time/primitives/xl1BlockNumberToEthBlockNumber.d.ts.map +1 -0
  645. package/dist/node/transaction/TransactionBuilder.d.ts +110 -0
  646. package/dist/node/transaction/TransactionBuilder.d.ts.map +1 -0
  647. package/dist/node/transaction/buildTransaction.d.ts +5 -0
  648. package/dist/node/transaction/buildTransaction.d.ts.map +1 -0
  649. package/dist/node/transaction/buildUnsignedTransaction.d.ts +5 -0
  650. package/dist/node/transaction/buildUnsignedTransaction.d.ts.map +1 -0
  651. package/dist/node/transaction/confirmSubmittedTransaction.d.ts +11 -0
  652. package/dist/node/transaction/confirmSubmittedTransaction.d.ts.map +1 -0
  653. package/dist/node/transaction/hydrateTransaction.d.ts +21 -0
  654. package/dist/node/transaction/hydrateTransaction.d.ts.map +1 -0
  655. package/dist/node/transaction/index.d.ts +8 -0
  656. package/dist/node/transaction/index.d.ts.map +1 -0
  657. package/dist/node/transaction/primitives/index.d.ts +5 -0
  658. package/dist/node/transaction/primitives/index.d.ts.map +1 -0
  659. package/dist/node/transaction/primitives/transactionBlockByteCount.d.ts +4 -0
  660. package/dist/node/transaction/primitives/transactionBlockByteCount.d.ts.map +1 -0
  661. package/dist/node/transaction/primitives/transactionElevatedPayloads.d.ts +8 -0
  662. package/dist/node/transaction/primitives/transactionElevatedPayloads.d.ts.map +1 -0
  663. package/dist/node/transaction/primitives/transactionOperations.d.ts +5 -0
  664. package/dist/node/transaction/primitives/transactionOperations.d.ts.map +1 -0
  665. package/dist/node/transaction/primitives/transactionRequiredGas.d.ts +7 -0
  666. package/dist/node/transaction/primitives/transactionRequiredGas.d.ts.map +1 -0
  667. package/dist/node/transaction/script.d.ts +2 -0
  668. package/dist/node/transaction/script.d.ts.map +1 -0
  669. package/dist/node/transaction/signTransaction.d.ts +19 -0
  670. package/dist/node/transaction/signTransaction.d.ts.map +1 -0
  671. package/dist/node/utils/HydratedCache.d.ts +15 -0
  672. package/dist/node/utils/HydratedCache.d.ts.map +1 -0
  673. package/dist/node/utils/index.d.ts +3 -0
  674. package/dist/node/utils/index.d.ts.map +1 -0
  675. package/dist/node/utils/isZodError.d.ts +6 -0
  676. package/dist/node/utils/isZodError.d.ts.map +1 -0
  677. package/dist/node/validation/index.d.ts +3 -0
  678. package/dist/node/validation/index.d.ts.map +1 -0
  679. package/dist/node/validation/lib/getUrl.d.ts +3 -0
  680. package/dist/node/validation/lib/getUrl.d.ts.map +1 -0
  681. package/dist/node/validation/lib/index.d.ts +3 -0
  682. package/dist/node/validation/lib/index.d.ts.map +1 -0
  683. package/dist/node/validation/lib/isLocalhost.d.ts +3 -0
  684. package/dist/node/validation/lib/isLocalhost.d.ts.map +1 -0
  685. package/dist/node/validation/schema/Address.d.ts +3 -0
  686. package/dist/node/validation/schema/Address.d.ts.map +1 -0
  687. package/dist/node/validation/schema/Mnemonic.d.ts +14 -0
  688. package/dist/node/validation/schema/Mnemonic.d.ts.map +1 -0
  689. package/dist/node/validation/schema/index.d.ts +3 -0
  690. package/dist/node/validation/schema/index.d.ts.map +1 -0
  691. package/dist/node/wallet/generateXyoBaseWalletFromPhrase.d.ts +7 -0
  692. package/dist/node/wallet/generateXyoBaseWalletFromPhrase.d.ts.map +1 -0
  693. package/dist/node/wallet/index.d.ts +3 -0
  694. package/dist/node/wallet/index.d.ts.map +1 -0
  695. package/dist/node/wallet/paths.d.ts +24 -0
  696. package/dist/node/wallet/paths.d.ts.map +1 -0
  697. package/package.json +15 -13
  698. package/dist/neutral/getFileConfig.mjs +0 -357
  699. package/dist/neutral/getFileConfig.mjs.map +0 -7
@@ -0,0 +1,82 @@
1
+ import { type Hash } from '@xylabs/sdk';
2
+ import type { ArchivistInstance } from '@xyo-network/sdk-js';
3
+ import type { MempoolViewer, PendingTransactionsOptions, SignedHydratedBlockWithHashMeta, SignedHydratedTransactionWithHashMeta, WindowedBlockViewer } from '@xyo-network/xl1-protocol-lib';
4
+ import type { ArchivistConnectionBinding } from '../../Archivists/index.ts';
5
+ import type { CreatableProviderParams } from '../../CreatableProvider/index.ts';
6
+ import { AbstractCreatableProvider } from '../../CreatableProvider/index.ts';
7
+ /** Per-bundle handout statistics used to demote transactions that producers keep rejecting. */
8
+ export interface HandoutStats {
9
+ firstHandoutAt: number;
10
+ handouts: number;
11
+ }
12
+ /** Parameters for SimpleMempoolViewer. */
13
+ export interface SimpleMempoolViewerParams extends CreatableProviderParams {
14
+ /** Connection the mempool stores self-provision from when archivists are not injected. */
15
+ connection?: ArchivistConnectionBinding;
16
+ /** Number of handouts before a transaction is considered demoted. Defaults to 3. */
17
+ demotionThreshold?: number;
18
+ /** External mempool viewers (reserved for future use). */
19
+ externalMempools?: MempoolViewer[];
20
+ /** Maximum age (in blocks) of a handout-stats entry before it is garbage collected. Defaults to 1000. */
21
+ handoutStatsTtlBlocks?: number;
22
+ /** Maximum fraction (0–1) of mempool inclusion candidates to return. Defaults to 0.66. */
23
+ mempoolSelectionRatio?: number;
24
+ pendingBlocksArchivist?: ArchivistInstance;
25
+ pendingTransactionsArchivist?: ArchivistInstance;
26
+ }
27
+ /** SimpleMempoolViewer implementation. */
28
+ export declare class SimpleMempoolViewer extends AbstractCreatableProvider<SimpleMempoolViewerParams> implements MempoolViewer {
29
+ static readonly connectionTypes: readonly ["lmdb", "mongo", "memory"];
30
+ static readonly defaultMoniker: "MempoolViewer";
31
+ static readonly dependencies: "WindowedBlockViewer"[];
32
+ static readonly monikers: "MempoolViewer"[];
33
+ static readonly surface: "node";
34
+ moniker: "MempoolViewer";
35
+ private _handoutStats;
36
+ private _windowedBlockViewer?;
37
+ protected get demotionThreshold(): number;
38
+ protected get handoutStatsTtlBlocks(): number;
39
+ protected get pendingBlocksArchivist(): ArchivistInstance;
40
+ protected get pendingTransactionsArchivist(): ArchivistInstance;
41
+ protected get windowedBlockViewer(): WindowedBlockViewer<"WindowedBlockViewer">;
42
+ static paramsHandler(params: Partial<SimpleMempoolViewerParams>): Promise<SimpleMempoolViewerParams>;
43
+ createHandler(): Promise<void>;
44
+ /** Drop handout stats for the given bundle hashes. Called when a bundle has been evicted or otherwise removed from the pool. */
45
+ forget(bundleHashes: Hash[]): void;
46
+ /** Return the subset of the given bundle hashes that are currently considered demoted. */
47
+ getDemotedBundleHashes(bundleHashes: Hash[]): Hash[];
48
+ /**
49
+ * Return the bundle hashes in the order they should be evicted under size pressure.
50
+ * Demoted entries come first, sorted by handouts descending; the remainder is left as-is
51
+ * so the caller can append by FIFO sequence order.
52
+ */
53
+ getEvictionPriorityOrder(bundleHashes: Hash[]): Hash[];
54
+ getHandoutStats(bundleHash: Hash): HandoutStats | undefined;
55
+ pendingBlocks({ cursor: providedCursor }?: PendingTransactionsOptions): Promise<SignedHydratedBlockWithHashMeta[]>;
56
+ pendingTransactions({ cursor: providedCursor, limit, }?: PendingTransactionsOptions): Promise<SignedHydratedTransactionWithHashMeta[]>;
57
+ protected isDemoted(bundleHash: Hash): boolean;
58
+ private deleteBundledTransaction;
59
+ private filterInclusionCandidates;
60
+ private gcHandoutStats;
61
+ private hydratePendingBundles;
62
+ /**
63
+ * Evaluates a transaction to determine if it should be purged from the mempool.
64
+ * @param tx The transaction to evaluate
65
+ * @param currentBlock The current block to use for evaluation
66
+ * @returns True if the transaction should be purged, false otherwise
67
+ */
68
+ private isDeletable;
69
+ /**
70
+ * Evaluates a transaction to determine if is valid for inclusion in the next block. A transaction is invalid if:
71
+ * - The transaction is too early/expired
72
+ * - The transaction has already been included in a block
73
+ * @param tx The transaction to evaluate
74
+ * @param currentBlock The current block to use for evaluation
75
+ * @param checkForDeletable Whether to check if the transaction is deletable (default: true)
76
+ * @returns True if the transaction is valid for inclusion in the next block, false otherwise
77
+ */
78
+ private isInclusionCandidate;
79
+ private recordHandout;
80
+ private selectWithRatio;
81
+ }
82
+ //# sourceMappingURL=SimpleMempoolViewer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SimpleMempoolViewer.d.ts","sourceRoot":"","sources":["../../../../src/simple/mempool/SimpleMempoolViewer.ts"],"names":[],"mappings":"AAAA,OAAO,EACa,KAAK,IAAI,EAC5B,MAAM,aAAa,CAAA;AACpB,OAAO,KAAK,EACV,iBAAiB,EAGlB,MAAM,qBAAqB,CAAA;AAE5B,OAAO,KAAK,EACuB,aAAa,EAC9C,0BAA0B,EAC1B,+BAA+B,EAAE,qCAAqC,EACtE,mBAAmB,EACpB,MAAM,+BAA+B,CAAA;AAGtC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAA;AAI3E,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAA;AAC/E,OAAO,EAAE,yBAAyB,EAAqB,MAAM,kCAAkC,CAAA;AAU/F,+FAA+F;AAC/F,MAAM,WAAW,YAAY;IAC3B,cAAc,EAAE,MAAM,CAAA;IACtB,QAAQ,EAAE,MAAM,CAAA;CACjB;AASD,0CAA0C;AAC1C,MAAM,WAAW,yBAA0B,SAAQ,uBAAuB;IACxE,0FAA0F;IAC1F,UAAU,CAAC,EAAE,0BAA0B,CAAA;IACvC,oFAAoF;IACpF,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,0DAA0D;IAC1D,gBAAgB,CAAC,EAAE,aAAa,EAAE,CAAA;IAClC,yGAAyG;IACzG,qBAAqB,CAAC,EAAE,MAAM,CAAA;IAC9B,0FAA0F;IAC1F,qBAAqB,CAAC,EAAE,MAAM,CAAA;IAC9B,sBAAsB,CAAC,EAAE,iBAAiB,CAAA;IAC1C,4BAA4B,CAAC,EAAE,iBAAiB,CAAA;CACjD;AAED,0CAA0C;AAC1C,qBACa,mBAAoB,SAAQ,yBAAyB,CAAC,yBAAyB,CAAE,YAAW,aAAa;IACpH,MAAM,CAAC,QAAQ,CAAC,eAAe,uCAAuC;IACtE,MAAM,CAAC,QAAQ,CAAC,cAAc,kBAAuB;IACrD,MAAM,CAAC,QAAQ,CAAC,YAAY,0BAA+B;IAC3D,MAAM,CAAC,QAAQ,CAAC,QAAQ,oBAAyB;IACjD,MAAM,CAAC,QAAQ,CAAC,OAAO,EAAG,MAAM,CAAS;IACzC,OAAO,kBAAqC;IAE5C,OAAO,CAAC,aAAa,CAAgC;IACrD,OAAO,CAAC,oBAAoB,CAAC,CAAqB;IAElD,SAAS,KAAK,iBAAiB,IAAI,MAAM,CAExC;IAED,SAAS,KAAK,qBAAqB,IAAI,MAAM,CAE5C;IAED,SAAS,KAAK,sBAAsB,IAAI,iBAAiB,CAExD;IAED,SAAS,KAAK,4BAA4B,IAAI,iBAAiB,CAE9D;IAED,SAAS,KAAK,mBAAmB,+CAEhC;WAEqB,aAAa,CAAC,MAAM,EAAE,OAAO,CAAC,yBAAyB,CAAC,GAAG,OAAO,CAAC,yBAAyB,CAAC;IAWpG,aAAa;IAK5B,gIAAgI;IAChI,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,GAAG,IAAI;IAIlC,0FAA0F;IAC1F,sBAAsB,CAAC,YAAY,EAAE,IAAI,EAAE,GAAG,IAAI,EAAE;IAIpD;;;;OAIG;IACH,wBAAwB,CAAC,YAAY,EAAE,IAAI,EAAE,GAAG,IAAI,EAAE;IAWtD,eAAe,CAAC,UAAU,EAAE,IAAI,GAAG,YAAY,GAAG,SAAS;IAIrD,aAAa,CAAC,EAAE,MAAM,EAAE,cAAc,EAAE,GAAE,0BAA+B,GAAG,OAAO,CAAC,+BAA+B,EAAE,CAAC;IAgBtH,mBAAmB,CAAC,EACxB,MAAM,EAAE,cAAc,EACtB,KAAW,GACZ,GAAE,0BAA+B,GAAG,OAAO,CAAC,qCAAqC,EAAE,CAAC;IAgErF,SAAS,CAAC,SAAS,CAAC,UAAU,EAAE,IAAI,GAAG,OAAO;YAKhC,wBAAwB;YAIxB,yBAAyB;IAUvC,OAAO,CAAC,cAAc;YAOR,qBAAqB;IAUnC;;;;;OAKG;YACW,WAAW;IAazB;;;;;;;;OAQG;YACW,oBAAoB;IAgBlC,OAAO,CAAC,aAAa;IASrB,OAAO,CAAC,eAAe;CAWxB"}
@@ -0,0 +1,3 @@
1
+ export * from './SimpleMempoolRunner.ts';
2
+ export * from './SimpleMempoolViewer.ts';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/simple/mempool/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAA;AACxC,cAAc,0BAA0B,CAAA"}
@@ -0,0 +1,12 @@
1
+ import type { Logger } from '@xylabs/sdk';
2
+ import type { GatewayName, NetworkStatus, XyoNetwork } from '@xyo-network/xl1-protocol-lib';
3
+ /** SimpleXyoNetwork implementation. */
4
+ export declare class SimpleXyoNetwork implements XyoNetwork {
5
+ protected readonly _logger?: Logger;
6
+ protected readonly _networkId: GatewayName;
7
+ constructor(networkId: GatewayName, logger?: Logger);
8
+ protected get logger(): Logger | undefined;
9
+ status(): Promise<NetworkStatus>;
10
+ private makeRequest;
11
+ }
12
+ //# sourceMappingURL=SimpleXyoNetwork.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SimpleXyoNetwork.d.ts","sourceRoot":"","sources":["../../../../src/simple/network/SimpleXyoNetwork.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AAEzC,OAAO,KAAK,EACV,WAAW,EACX,aAAa,EAAE,UAAU,EAC1B,MAAM,+BAA+B,CAAA;AAOtC,uCAAuC;AACvC,qBAAa,gBAAiB,YAAW,UAAU;IACjD,SAAS,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAA;IACnC,SAAS,CAAC,QAAQ,CAAC,UAAU,EAAE,WAAW,CAAA;gBAE9B,SAAS,EAAE,WAAW,EAAE,MAAM,CAAC,EAAE,MAAM;IAKnD,SAAS,KAAK,MAAM,uBAEnB;IAEK,MAAM,IAAI,OAAO,CAAC,aAAa,CAAC;YASxB,WAAW;CAiB1B"}
@@ -0,0 +1,2 @@
1
+ export * from './SimpleXyoNetwork.ts';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/simple/network/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA"}
@@ -0,0 +1,6 @@
1
+ import type { NetworkStatus } from '@xyo-network/xl1-protocol-lib';
2
+ /** unknownStatus constant. */
3
+ export declare const unknownStatus: NetworkStatus;
4
+ /** errorStatus constant. */
5
+ export declare const errorStatus: NetworkStatus;
6
+ //# sourceMappingURL=FailedNetworkStatusPayloads.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FailedNetworkStatusPayloads.d.ts","sourceRoot":"","sources":["../../../../../src/simple/network/lib/FailedNetworkStatusPayloads.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAA;AAGlE,8BAA8B;AAC9B,eAAO,MAAM,aAAa,EAAE,aAI3B,CAAA;AAED,4BAA4B;AAC5B,eAAO,MAAM,WAAW,EAAE,aAIzB,CAAA"}
@@ -0,0 +1,15 @@
1
+ import type { GatewayName } from '@xyo-network/xl1-protocol-lib';
2
+ /** StatusNetwork type. */
3
+ export interface StatusNetwork {
4
+ id: GatewayName;
5
+ statusUrl: string;
6
+ }
7
+ /** MainNetworkStats constant. */
8
+ export declare const MainNetworkStats: StatusNetwork;
9
+ /** SequenceNetworkStats constant. */
10
+ export declare const SequenceNetworkStats: StatusNetwork;
11
+ /** LocalNetworkStats constant. */
12
+ export declare const LocalNetworkStats: StatusNetwork;
13
+ /** StatusNetworks constant. */
14
+ export declare const StatusNetworks: Record<GatewayName, StatusNetwork>;
15
+ //# sourceMappingURL=StatusNetworks.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StatusNetworks.d.ts","sourceRoot":"","sources":["../../../../../src/simple/network/lib/StatusNetworks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAA;AAEhE,0BAA0B;AAC1B,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,WAAW,CAAA;IACf,SAAS,EAAE,MAAM,CAAA;CAClB;AAED,iCAAiC;AACjC,eAAO,MAAM,gBAAgB,EAAE,aAG9B,CAAA;AAED,qCAAqC;AACrC,eAAO,MAAM,oBAAoB,EAAE,aAGlC,CAAA;AAED,kCAAkC;AAClC,eAAO,MAAM,iBAAiB,EAAE,aAG/B,CAAA;AAED,+BAA+B;AAC/B,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,WAAW,EAAE,aAAa,CAI7D,CAAA"}
@@ -0,0 +1,3 @@
1
+ export * from './FailedNetworkStatusPayloads.ts';
2
+ export * from './StatusNetworks.ts';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/simple/network/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,kCAAkC,CAAA;AAChD,cAAc,qBAAqB,CAAA"}
@@ -0,0 +1,17 @@
1
+ import type { InvokerPermission, PermissionRequest, RequestedPermission, XyoPermissions } from '@xyo-network/xl1-protocol-lib';
2
+ import type { Invoker, PermissionsStore } from './store/index.ts';
3
+ /**
4
+ * In-memory implementation of XyoPermissions for testing or ephemeral use cases.
5
+ * Does not persist data beyond the lifetime of the instance.
6
+ * Assumes all permission requests are granted and revocations always succeed.
7
+ */
8
+ export declare class SimpleXyoPermissions implements XyoPermissions {
9
+ invoker: Invoker;
10
+ private _store;
11
+ constructor(store: PermissionsStore);
12
+ get store(): PermissionsStore;
13
+ getPermissions(): Promise<InvokerPermission[]>;
14
+ requestPermissions(permissions: PermissionRequest[]): Promise<RequestedPermission[]>;
15
+ revokePermissions(permissions: PermissionRequest): Promise<RequestedPermission[]>;
16
+ }
17
+ //# sourceMappingURL=SimpleXyoPermissions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SimpleXyoPermissions.d.ts","sourceRoot":"","sources":["../../../../src/simple/permissions/SimpleXyoPermissions.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAEV,iBAAiB,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,cAAc,EAC1E,MAAM,+BAA+B,CAAA;AAEtC,OAAO,KAAK,EAAE,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAA;AAEjE;;;;GAIG;AACH,qBAAa,oBAAqB,YAAW,cAAc;IACzD,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,CAAC,MAAM,CAAkB;gBAEpB,KAAK,EAAE,gBAAgB;IAKnC,IAAI,KAAK,IAAI,gBAAgB,CAE5B;IAEK,cAAc,IAAI,OAAO,CAAC,iBAAiB,EAAE,CAAC;IAK9C,kBAAkB,CAAC,WAAW,EAAE,iBAAiB,EAAE,GAAG,OAAO,CAAC,mBAAmB,EAAE,CAAC;IAmCpF,iBAAiB,CAAC,WAAW,EAAE,iBAAiB,GAAG,OAAO,CAAC,mBAAmB,EAAE,CAAC;CAexF"}
@@ -0,0 +1,3 @@
1
+ export * from './SimpleXyoPermissions.ts';
2
+ export * from './store/index.ts';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/simple/permissions/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAA;AACzC,cAAc,kBAAkB,CAAA"}
@@ -0,0 +1,16 @@
1
+ import type { InvokerPermission } from '@xyo-network/xl1-protocol-lib';
2
+ import type { Invoker, PermissionsStore } from './PermissionsStore.ts';
3
+ /**
4
+ * In-memory implementation of XyoPermissions for testing or ephemeral use cases.
5
+ * Does not persist data beyond the lifetime of the instance.
6
+ * Assumes all permission requests are granted and revocations always succeed.
7
+ */
8
+ export declare class MemoryPermissionsStore implements PermissionsStore {
9
+ private _invoker;
10
+ private permissions;
11
+ constructor(invoker: Invoker);
12
+ get invoker(): Invoker;
13
+ getPermissions(): Promise<InvokerPermission[]>;
14
+ setPermissions(permissions: InvokerPermission[]): Promise<void>;
15
+ }
16
+ //# sourceMappingURL=MemoryPermissions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MemoryPermissions.d.ts","sourceRoot":"","sources":["../../../../../src/simple/permissions/store/MemoryPermissions.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAA;AAEtE,OAAO,KAAK,EAAE,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AAEtE;;;;GAIG;AACH,qBAAa,sBAAuB,YAAW,gBAAgB;IAC7D,OAAO,CAAC,QAAQ,CAAS;IACzB,OAAO,CAAC,WAAW,CAA0B;gBAEjC,OAAO,EAAE,OAAO;IAI5B,IAAI,OAAO,IAAI,OAAO,CAErB;IAEK,cAAc,IAAI,OAAO,CAAC,iBAAiB,EAAE,CAAC;IAK9C,cAAc,CAAC,WAAW,EAAE,iBAAiB,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;CAItE"}
@@ -0,0 +1,14 @@
1
+ import type { InvokerPermission, PermissionsGetHandler } from '@xyo-network/xl1-protocol-lib';
2
+ /** Invoker type. */
3
+ export type Invoker = string;
4
+ /** ParentCapability type. */
5
+ export type ParentCapability = string;
6
+ /**
7
+ * Interface for a permissions store that abstracts away the storage medium.
8
+ * (i.e. in-memory, browser storage, database, etc.)
9
+ */
10
+ export interface PermissionsStore extends PermissionsGetHandler {
11
+ readonly invoker: Invoker;
12
+ setPermissions(permissions: InvokerPermission[]): Promise<void>;
13
+ }
14
+ //# sourceMappingURL=PermissionsStore.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PermissionsStore.d.ts","sourceRoot":"","sources":["../../../../../src/simple/permissions/store/PermissionsStore.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAA;AAE7F,oBAAoB;AACpB,MAAM,MAAM,OAAO,GAAG,MAAM,CAAA;AAC5B,6BAA6B;AAC7B,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAA;AACrC;;;GAGG;AACH,MAAM,WAAW,gBAAiB,SAAQ,qBAAqB;IAE7D,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAA;IAGzB,cAAc,CAAC,WAAW,EAAE,iBAAiB,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;CAChE"}
@@ -0,0 +1,3 @@
1
+ export * from './MemoryPermissions.ts';
2
+ export * from './PermissionsStore.ts';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/simple/permissions/store/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAA;AACtC,cAAc,uBAAuB,CAAA"}
@@ -0,0 +1,21 @@
1
+ import { type Hash } from '@xylabs/sdk';
2
+ import type { MempoolRunner, SignedHydratedTransactionWithStorageMeta, XyoRunner } from '@xyo-network/xl1-protocol-lib';
3
+ import type { CreatableProviderParams } from '../../CreatableProvider/index.ts';
4
+ import { AbstractCreatableProvider } from '../../CreatableProvider/index.ts';
5
+ /** Parameters for SimpleXyoRunner. */
6
+ export interface SimpleXyoRunnerParams extends CreatableProviderParams {
7
+ }
8
+ /** SimpleXyoRunner implementation. */
9
+ export declare class SimpleXyoRunner extends AbstractCreatableProvider<SimpleXyoRunnerParams> implements XyoRunner {
10
+ static readonly connectionTypes: readonly ["lmdb", "mongo", "memory"];
11
+ static readonly defaultMoniker: "XyoRunner";
12
+ static readonly dependencies: "MempoolRunner"[];
13
+ static readonly monikers: "XyoRunner"[];
14
+ static readonly surface: "node";
15
+ moniker: "XyoRunner";
16
+ private _mempoolRunner?;
17
+ get mempool(): MempoolRunner;
18
+ broadcastTransaction(transaction: SignedHydratedTransactionWithStorageMeta): Promise<Hash>;
19
+ createHandler(): Promise<void>;
20
+ }
21
+ //# sourceMappingURL=SimpleXyoRunner.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SimpleXyoRunner.d.ts","sourceRoot":"","sources":["../../../../src/simple/runner/SimpleXyoRunner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,aAAa,CAAA;AAEvC,OAAO,KAAK,EACV,aAAa,EAAE,wCAAwC,EACvD,SAAS,EACV,MAAM,+BAA+B,CAAA;AAGtC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAA;AAC/E,OAAO,EAAE,yBAAyB,EAAqB,MAAM,kCAAkC,CAAA;AAE/F,sCAAsC;AACtC,MAAM,WAAW,qBAAsB,SAAQ,uBAAuB;CACrE;AAED,sCAAsC;AACtC,qBACa,eAAgB,SAAQ,yBAAyB,CAAC,qBAAqB,CAAE,YAAW,SAAS;IACxG,MAAM,CAAC,QAAQ,CAAC,eAAe,uCAAuC;IACtE,MAAM,CAAC,QAAQ,CAAC,cAAc,cAAmB;IACjD,MAAM,CAAC,QAAQ,CAAC,YAAY,oBAAyB;IACrD,MAAM,CAAC,QAAQ,CAAC,QAAQ,gBAAqB;IAC7C,MAAM,CAAC,QAAQ,CAAC,OAAO,EAAG,MAAM,CAAS;IACzC,OAAO,cAAiC;IAExC,OAAO,CAAC,cAAc,CAAC,CAAe;IAEtC,IAAI,OAAO,kBAEV;IAEK,oBAAoB,CAAC,WAAW,EAAE,wCAAwC,GAAG,OAAO,CAAC,IAAI,CAAC;IAOjF,aAAa;CAI7B"}
@@ -0,0 +1,2 @@
1
+ export * from './SimpleXyoRunner.ts';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/simple/runner/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA"}
@@ -0,0 +1,31 @@
1
+ import { type Promisable } from '@xylabs/sdk';
2
+ import type { AccountInstance, Payload, Signed, SignedHydratedBoundWitnessWithHashMeta, UnsignedBoundWitness, XyoAddress } from '@xyo-network/sdk-js';
3
+ import type { SignedHydratedTransactionWithHashMeta, UnsignedHydratedTransaction, XyoSigner } from '@xyo-network/xl1-protocol-lib';
4
+ import type { CreatableProviderParams } from '../../CreatableProvider/index.ts';
5
+ import { AbstractCreatableProvider } from '../../CreatableProvider/index.ts';
6
+ /** Parameters for SimpleXyoSigner. */
7
+ export interface SimpleXyoSignerParams extends CreatableProviderParams {
8
+ account: AccountInstance;
9
+ }
10
+ /** SimpleXyoSigner implementation. */
11
+ export declare class SimpleXyoSigner extends AbstractCreatableProvider<SimpleXyoSignerParams> implements XyoSigner {
12
+ static readonly connectionTypes: readonly ["wallet"];
13
+ static readonly defaultMoniker: "XyoSigner";
14
+ static readonly dependencies: never[];
15
+ static readonly monikers: "XyoSigner"[];
16
+ static readonly surface: "node";
17
+ moniker: "XyoSigner";
18
+ static paramsHandler(params?: Partial<SimpleXyoSignerParams>): Promise<{
19
+ account: AccountInstance;
20
+ context: import("../../index.ts").CreatableProviderContextType;
21
+ name?: import("@xylabs/sdk").CreatableName;
22
+ statusReporter?: import("@xylabs/sdk").CreatableStatusReporter<void> | undefined;
23
+ logger?: import("@xylabs/sdk").Logger;
24
+ meterProvider?: import("@opentelemetry/api").MeterProvider;
25
+ traceProvider?: import("@opentelemetry/api").TracerProvider;
26
+ }>;
27
+ address(): Promisable<XyoAddress>;
28
+ sign<T extends UnsignedBoundWitness>(bw: [T, Payload[]]): Promise<SignedHydratedBoundWitnessWithHashMeta<Signed<T>>>;
29
+ signTransaction(tx: UnsignedHydratedTransaction): Promise<SignedHydratedTransactionWithHashMeta>;
30
+ }
31
+ //# sourceMappingURL=SimpleXyoSigner.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SimpleXyoSigner.d.ts","sourceRoot":"","sources":["../../../../src/simple/signer/SimpleXyoSigner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,UAAU,EAAE,MAAM,aAAa,CAAA;AACvD,OAAO,KAAK,EACV,eAAe,EAAE,OAAO,EAAE,MAAM,EAAE,sCAAsC,EAAE,oBAAoB,EAAE,UAAU,EAC3G,MAAM,qBAAqB,CAAA;AAE5B,OAAO,KAAK,EACV,qCAAqC,EAAE,2BAA2B,EAAE,SAAS,EAC9E,MAAM,+BAA+B,CAAA;AAGtC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAA;AAC/E,OAAO,EAAE,yBAAyB,EAAE,MAAM,kCAAkC,CAAA;AAG5E,sCAAsC;AACtC,MAAM,WAAW,qBAAsB,SAAQ,uBAAuB;IACpE,OAAO,EAAE,eAAe,CAAA;CACzB;AAED,sCAAsC;AACtC,qBAAa,eAAgB,SAAQ,yBAAyB,CAAC,qBAAqB,CAAE,YAAW,SAAS;IACxG,MAAM,CAAC,QAAQ,CAAC,eAAe,sBAAsB;IACrD,MAAM,CAAC,QAAQ,CAAC,cAAc,cAAmB;IACjD,MAAM,CAAC,QAAQ,CAAC,YAAY,UAAK;IACjC,MAAM,CAAC,QAAQ,CAAC,QAAQ,gBAAqB;IAC7C,MAAM,CAAC,QAAQ,CAAC,OAAO,EAAG,MAAM,CAAS;IACzC,OAAO,cAAiC;WAElB,aAAa,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC,qBAAqB,CAAC;;;;;;;;;IAe3E,OAAO,IAAI,UAAU,CAAC,UAAU,CAAC;IAI3B,IAAI,CAAC,CAAC,SAAS,oBAAoB,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,GAAG,OAAO,CAAC,sCAAsC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;IAQpH,eAAe,CAAC,EAAE,EAAE,2BAA2B,GAAG,OAAO,CAAC,qCAAqC,CAAC;CAIvG"}
@@ -0,0 +1,2 @@
1
+ export * from './SimpleXyoSigner.ts';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/simple/signer/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA"}
@@ -0,0 +1,22 @@
1
+ import { FetchJsonClient } from '@xylabs/sdk';
2
+ import type { SignedHydratedBlockWithHashMeta, SyncStepSummaryMetadata, SyncStepSummaryStatus, SyncViewer, XL1BlockNumber } from '@xyo-network/xl1-protocol-lib';
3
+ import { AbstractCreatableProvider, type CreatableProviderParams } from '../../CreatableProvider/index.ts';
4
+ /** Parameters for RestSyncViewer. */
5
+ export interface RestSyncViewerParams extends CreatableProviderParams {
6
+ endpoint: string;
7
+ }
8
+ /** RestSyncViewer implementation for the SyncActor REST endpoint. */
9
+ export declare class RestSyncViewer<TParams extends RestSyncViewerParams = RestSyncViewerParams> extends AbstractCreatableProvider<TParams> implements SyncViewer {
10
+ static readonly defaultMoniker: "SyncViewer";
11
+ static readonly dependencies: never[];
12
+ static readonly monikers: "SyncViewer"[];
13
+ moniker: "SyncViewer";
14
+ protected get client(): FetchJsonClient;
15
+ protected get endpoint(): string;
16
+ stepSummary(step: number, block: XL1BlockNumber): Promise<SignedHydratedBlockWithHashMeta[] | null>;
17
+ stepSummaryMetadata(step: number, block: XL1BlockNumber): Promise<SyncStepSummaryMetadata | null>;
18
+ stepSummaryStatus(): Promise<SyncStepSummaryStatus>;
19
+ private isNotFound;
20
+ private url;
21
+ }
22
+ //# sourceMappingURL=RestSyncViewer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RestSyncViewer.d.ts","sourceRoot":"","sources":["../../../../src/simple/sync/RestSyncViewer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,eAAe,EAAE,MAAM,aAAa,CAAA;AAC/D,OAAO,KAAK,EACV,+BAA+B,EAC/B,uBAAuB,EACvB,qBAAqB,EACrB,UAAU,EACV,cAAc,EACf,MAAM,+BAA+B,CAAA;AAQtC,OAAO,EACL,yBAAyB,EAAqB,KAAK,uBAAuB,EAC3E,MAAM,kCAAkC,CAAA;AAEzC,qCAAqC;AACrC,MAAM,WAAW,oBAAqB,SAAQ,uBAAuB;IACnE,QAAQ,EAAE,MAAM,CAAA;CACjB;AAED,qEAAqE;AACrE,qBACa,cAAc,CAAC,OAAO,SAAS,oBAAoB,GAAG,oBAAoB,CACrF,SAAQ,yBAAyB,CAAC,OAAO,CAAE,YAAW,UAAU;IAChE,MAAM,CAAC,QAAQ,CAAC,cAAc,eAAoB;IAClD,MAAM,CAAC,QAAQ,CAAC,YAAY,UAAK;IACjC,MAAM,CAAC,QAAQ,CAAC,QAAQ,iBAAsB;IAC9C,OAAO,eAAgC;IAEvC,SAAS,KAAK,MAAM,oBAEnB;IAED,SAAS,KAAK,QAAQ,WAErB;IAEK,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,cAAc,GAAG,OAAO,CAAC,+BAA+B,EAAE,GAAG,IAAI,CAAC;IAUnG,mBAAmB,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,cAAc,GAAG,OAAO,CAAC,uBAAuB,GAAG,IAAI,CAAC;IAUjG,iBAAiB,IAAI,OAAO,CAAC,qBAAqB,CAAC;IAKzD,OAAO,CAAC,UAAU;IAIlB,OAAO,CAAC,GAAG;CAGZ"}
@@ -0,0 +1,2 @@
1
+ export * from './RestSyncViewer.ts';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/simple/sync/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA"}
@@ -0,0 +1,27 @@
1
+ import type { CreatableName, CreatableStatus } from '@xylabs/sdk';
2
+ import type { SystemStatusSnapshot, SystemStatusViewer } from '@xyo-network/xl1-protocol-lib';
3
+ import type { CreatableProviderParams } from '../../CreatableProvider/index.ts';
4
+ import { AbstractCreatableProvider } from '../../CreatableProvider/index.ts';
5
+ /** Parameters for SimpleSystemStatusViewer. */
6
+ export interface SimpleSystemStatusViewerParams extends CreatableProviderParams {
7
+ }
8
+ /**
9
+ * Read-only view over the process-wide `SystemStatusRunner`. The Runner is the
10
+ * `context.statusReporter` singleton (created before the locator), so the
11
+ * viewer reads it from the context rather than locating it by moniker.
12
+ */
13
+ export declare class SimpleSystemStatusViewer extends AbstractCreatableProvider<SimpleSystemStatusViewerParams> implements SystemStatusViewer {
14
+ static readonly connectionTypes: readonly ["memory"];
15
+ static readonly defaultMoniker: "SystemStatusViewer";
16
+ static readonly dependencies: never[];
17
+ static readonly monikers: "SystemStatusViewer"[];
18
+ static readonly surface: "node";
19
+ moniker: "SystemStatusViewer";
20
+ private get runner();
21
+ getGlobalStatus(): CreatableStatus;
22
+ getStatus(name: CreatableName): CreatableStatus | undefined;
23
+ isReady(): boolean;
24
+ isShuttingDown(): boolean;
25
+ snapshot(): SystemStatusSnapshot;
26
+ }
27
+ //# sourceMappingURL=SimpleSystemStatusViewer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SimpleSystemStatusViewer.d.ts","sourceRoot":"","sources":["../../../../src/simple/systemStatus/SimpleSystemStatusViewer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAEjE,OAAO,KAAK,EACU,oBAAoB,EAAE,kBAAkB,EAC7D,MAAM,+BAA+B,CAAA;AAGtC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAA;AAC/E,OAAO,EAAE,yBAAyB,EAAqB,MAAM,kCAAkC,CAAA;AAE/F,+CAA+C;AAC/C,MAAM,WAAW,8BAA+B,SAAQ,uBAAuB;CAAG;AAElF;;;;GAIG;AACH,qBACa,wBAAyB,SAAQ,yBAAyB,CAAC,8BAA8B,CAAE,YAAW,kBAAkB;IACnI,MAAM,CAAC,QAAQ,CAAC,eAAe,sBAAsB;IACrD,MAAM,CAAC,QAAQ,CAAC,cAAc,uBAA4B;IAC1D,MAAM,CAAC,QAAQ,CAAC,YAAY,UAAK;IACjC,MAAM,CAAC,QAAQ,CAAC,QAAQ,yBAA8B;IACtD,MAAM,CAAC,QAAQ,CAAC,OAAO,EAAG,MAAM,CAAS;IACzC,OAAO,uBAA0C;IAEjD,OAAO,KAAK,MAAM,GAEjB;IAED,eAAe,IAAI,eAAe;IAIlC,SAAS,CAAC,IAAI,EAAE,aAAa,GAAG,eAAe,GAAG,SAAS;IAI3D,OAAO,IAAI,OAAO;IAIlB,cAAc,IAAI,OAAO;IAIzB,QAAQ,IAAI,oBAAoB;CAGjC"}
@@ -0,0 +1,2 @@
1
+ export * from './SimpleSystemStatusViewer.ts';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/simple/systemStatus/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAA"}
@@ -0,0 +1,27 @@
1
+ import type { Hash } from '@xylabs/sdk';
2
+ import type { BlockViewer, TimeDomain, TimePayload, TimeSyncViewer } from '@xyo-network/xl1-protocol-lib';
3
+ import type { Provider } from 'ethers';
4
+ import type { CreatableProviderParams } from '../../CreatableProvider/index.ts';
5
+ import { AbstractCreatableProvider } from '../../CreatableProvider/index.ts';
6
+ /** Parameters for SimpleTimeSyncViewer. */
7
+ export interface SimpleTimeSyncViewerParams extends CreatableProviderParams {
8
+ ethProvider?: Provider;
9
+ }
10
+ /** SimpleTimeSyncViewer implementation. */
11
+ export declare class SimpleTimeSyncViewer extends AbstractCreatableProvider<SimpleTimeSyncViewerParams> implements TimeSyncViewer {
12
+ static readonly connectionTypes: readonly ["lmdb", "mongo", "memory"];
13
+ static readonly defaultMoniker: "TimeSyncViewer";
14
+ static readonly dependencies: "BlockViewer"[];
15
+ static readonly monikers: "TimeSyncViewer"[];
16
+ static readonly surface: "node";
17
+ moniker: "TimeSyncViewer";
18
+ private _blockViewer?;
19
+ protected get blockViewer(): BlockViewer<"BlockViewer">;
20
+ protected get ethProvider(): Provider | undefined;
21
+ convertTime(fromDomain: TimeDomain, toDomain: TimeDomain, from: number): Promise<number>;
22
+ createHandler(): Promise<void>;
23
+ currentTime(domain: TimeDomain): Promise<[TimeDomain, number]>;
24
+ currentTimeAndHash(domain: TimeDomain): Promise<[number, Hash | null]>;
25
+ currentTimePayload(): Promise<TimePayload>;
26
+ }
27
+ //# sourceMappingURL=SimpleTimeSyncViewer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SimpleTimeSyncViewer.d.ts","sourceRoot":"","sources":["../../../../src/simple/timeSync2/SimpleTimeSyncViewer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAIvC,OAAO,KAAK,EACV,WAAW,EACX,UAAU,EAAE,WAAW,EAAE,cAAc,EACxC,MAAM,+BAA+B,CAAA;AAKtC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAA;AAEtC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAA;AAC/E,OAAO,EAAE,yBAAyB,EAAqB,MAAM,kCAAkC,CAAA;AAE/F,2CAA2C;AAC3C,MAAM,WAAW,0BAA2B,SAAQ,uBAAuB;IACzE,WAAW,CAAC,EAAE,QAAQ,CAAA;CACvB;AAED,2CAA2C;AAC3C,qBACa,oBAAqB,SAAQ,yBAAyB,CAAC,0BAA0B,CAAE,YAAW,cAAc;IACvH,MAAM,CAAC,QAAQ,CAAC,eAAe,uCAAuC;IACtE,MAAM,CAAC,QAAQ,CAAC,cAAc,mBAAwB;IACtD,MAAM,CAAC,QAAQ,CAAC,YAAY,kBAAuB;IACnD,MAAM,CAAC,QAAQ,CAAC,QAAQ,qBAA0B;IAClD,MAAM,CAAC,QAAQ,CAAC,OAAO,EAAG,MAAM,CAAS;IACzC,OAAO,mBAAsC;IAE7C,OAAO,CAAC,YAAY,CAAC,CAAa;IAElC,SAAS,KAAK,WAAW,+BAExB;IAED,SAAS,KAAK,WAAW,yBAExB;IAEK,WAAW,CAAC,UAAU,EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IA6B/E,aAAa;IAKtB,WAAW,CAAC,MAAM,EAAE,UAAU,GAAG,OAAO,CAAC,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC;IAkB9D,kBAAkB,CAAC,MAAM,EAAE,UAAU,GAAG,OAAO,CAAC,CAAC,MAAM,EAAE,IAAI,GAAG,IAAI,CAAC,CAAC;IAsBtE,kBAAkB,IAAI,OAAO,CAAC,WAAW,CAAC;CAkBjD"}
@@ -0,0 +1,2 @@
1
+ export * from './SimpleTimeSyncViewer.ts';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/simple/timeSync2/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAA"}
@@ -0,0 +1,35 @@
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 defaultMoniker: "BlockInvalidationViewer";
13
+ static readonly dependencies: ("BlockViewer" | "AccountBalanceViewer" | "ChainContractViewer")[];
14
+ static readonly monikers: "BlockInvalidationViewer"[];
15
+ moniker: "BlockInvalidationViewer";
16
+ private _accountBalanceViewer;
17
+ private _blockViewer;
18
+ private _chainContractViewer;
19
+ private _uncleWindowedChainCache;
20
+ protected get blockViewer(): BlockViewer<"BlockViewer">;
21
+ protected get chainContractViewer(): ChainContractViewer;
22
+ protected get maxUncleWindowSize(): number;
23
+ static paramsHandler(params: Partial<SimpleBlockInvalidationViewerParams>): Promise<SimpleBlockInvalidationViewerParams>;
24
+ createHandler(): Promise<void>;
25
+ invalidateBlock(block: SignedHydratedBlock, config?: BlockInvalidationConfig): Promise<HydratedBlockValidationError[] | SignedHydratedBlockWithHashMeta>;
26
+ invalidateBlocks(blocks: SignedHydratedBlock[], config?: BlockInvalidationConfig): Promise<(HydratedBlockValidationError[] | SignedHydratedBlockWithHashMeta)[]>;
27
+ invalidateUncle(blocks: SignedHydratedBlock[], config?: BlockInvalidationConfig): Promise<(HydratedBlockValidationError[] | SignedHydratedBlockWithHashMeta)[]>;
28
+ qualifiedInvalidateBlock(block: SignedHydratedBlockWithHashMeta, config?: BlockInvalidationConfig): Promise<ChainQualified<HydratedBlockValidationError[] | SignedHydratedBlockWithHashMeta>>;
29
+ qualifiedInvalidateBlocks(blocks: SignedHydratedBlock[], config?: BlockInvalidationConfig): Promise<ChainQualified<(HydratedBlockValidationError[] | SignedHydratedBlockWithHashMeta)[]>>;
30
+ qualifiedInvalidateUncle(_blocks: SignedHydratedBlock[], _config?: BlockInvalidationConfig): Promise<ChainQualified<(HydratedBlockValidationError[] | SignedHydratedBlockWithHashMeta)[]>>;
31
+ private doInvalidateProtocol;
32
+ private doInvalidateState;
33
+ private updateWindowedChainCache;
34
+ }
35
+ //# sourceMappingURL=SimpleTransactionInvalidationViewer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SimpleTransactionInvalidationViewer.d.ts","sourceRoot":"","sources":["../../../../src/simple/transactionInvalidation/SimpleTransactionInvalidationViewer.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,cAAc,4BAAiC;IAC/D,MAAM,CAAC,QAAQ,CAAC,YAAY,qEAAgF;IAC5G,MAAM,CAAC,QAAQ,CAAC,QAAQ,8BAAmC;IAC3D,OAAO,4BAA+C;IAEtD,OAAO,CAAC,qBAAqB,CAAuB;IACpD,OAAO,CAAC,YAAY,CAAc;IAClC,OAAO,CAAC,oBAAoB,CAAsB;IAClD,OAAO,CAAC,wBAAwB,CAAiD;IAEjF,SAAS,KAAK,WAAW,+BAExB;IAED,SAAS,KAAK,mBAAmB,wBAEhC;IAED,SAAS,KAAK,kBAAkB,WAE/B;WAEqB,aAAa,CAAC,MAAM,EAAE,OAAO,CAAC,mCAAmC,CAAC,GAAG,OAAO,CAAC,mCAAmC,CAAC;IASxH,aAAa;IAOtB,eAAe,CACnB,KAAK,EAAE,mBAAmB,EAC1B,MAAM,CAAC,EAAE,uBAAuB,GAC/B,OAAO,CAAC,4BAA4B,EAAE,GAAG,+BAA+B,CAAC;IAKtE,gBAAgB,CACpB,MAAM,EAAE,mBAAmB,EAAE,EAC7B,MAAM,CAAC,EAAE,uBAAuB,GAC/B,OAAO,CAAC,CAAC,4BAA4B,EAAE,GAAG,+BAA+B,CAAC,EAAE,CAAC;IAK1E,eAAe,CACnB,MAAM,EAAE,mBAAmB,EAAE,EAC7B,MAAM,CAAC,EAAE,uBAAuB,GAC/B,OAAO,CAAC,CAAC,4BAA4B,EAAE,GAAG,+BAA+B,CAAC,EAAE,CAAC;IAK1E,wBAAwB,CAC5B,KAAK,EAAE,+BAA+B,EACtC,MAAM,CAAC,EAAE,uBAAuB,GAC/B,OAAO,CAAC,cAAc,CAAC,4BAA4B,EAAE,GAAG,+BAA+B,CAAC,CAAC;IAKtF,yBAAyB,CAC7B,MAAM,EAAE,mBAAmB,EAAE,EAC7B,MAAM,CAAC,EAAE,uBAAuB,GAC/B,OAAO,CAAC,cAAc,CAAC,CAAC,4BAA4B,EAAE,GAAG,+BAA+B,CAAC,EAAE,CAAC,CAAC;IA2ChG,wBAAwB,CACtB,OAAO,EAAE,mBAAmB,EAAE,EAC9B,OAAO,CAAC,EAAE,uBAAuB,GAChC,OAAO,CAAC,cAAc,CAAC,CAAC,4BAA4B,EAAE,GAAG,+BAA+B,CAAC,EAAE,CAAC,CAAC;YAIlF,oBAAoB;YAcpB,iBAAiB;YAyBjB,wBAAwB;CAIvC"}
@@ -0,0 +1,2 @@
1
+ export * from './SimpleTransactionInvalidationViewer.ts';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/simple/transactionInvalidation/index.ts"],"names":[],"mappings":"AAAA,cAAc,0CAA0C,CAAA"}
@@ -0,0 +1,34 @@
1
+ import type { BlockViewer, ChainContractViewer, ChainQualified, HydratedTransactionStateValidationFunction, HydratedTransactionValidationError, HydratedTransactionValidationFunction, SignedHydratedTransaction, SignedHydratedTransactionWithHashMeta, TransactionValidationConfig, TransactionValidationViewer } from '@xyo-network/xl1-protocol-lib';
2
+ import type { CreatableProviderParams } from '../../CreatableProvider/index.ts';
3
+ import { AbstractCreatableProvider } from '../../CreatableProvider/index.ts';
4
+ /** Parameters for SimpleTransactionValidationViewer. */
5
+ export interface SimpleTransactionValidationViewerParams extends CreatableProviderParams {
6
+ maxUncleWindowSize?: number;
7
+ protocol?: HydratedTransactionValidationFunction;
8
+ state?: HydratedTransactionStateValidationFunction;
9
+ }
10
+ /** SimpleTransactionValidationViewer implementation. */
11
+ export declare class SimpleTransactionValidationViewer extends AbstractCreatableProvider<SimpleTransactionValidationViewerParams> implements TransactionValidationViewer {
12
+ static readonly connectionTypes: readonly ["lmdb", "mongo", "memory", "rpc"];
13
+ static readonly defaultMoniker: "TransactionValidationViewer";
14
+ static readonly dependencies: ("BlockViewer" | "AccountBalanceViewer" | "ChainContractViewer")[];
15
+ static readonly monikers: "TransactionValidationViewer"[];
16
+ static readonly surface: "node";
17
+ moniker: "TransactionValidationViewer";
18
+ private _accountBalanceViewer;
19
+ private _blockViewer;
20
+ private _chainContractViewer;
21
+ protected get blockViewer(): BlockViewer<"BlockViewer">;
22
+ protected get chainContractViewer(): ChainContractViewer;
23
+ protected get maxUncleWindowSize(): number;
24
+ static paramsHandler(params: Partial<SimpleTransactionValidationViewerParams>): Promise<SimpleTransactionValidationViewerParams>;
25
+ createHandler(): Promise<void>;
26
+ qualifiedValidateTransaction(block: SignedHydratedTransactionWithHashMeta, config?: TransactionValidationConfig): Promise<ChainQualified<HydratedTransactionValidationError[] | SignedHydratedTransactionWithHashMeta>>;
27
+ qualifiedValidateTransactions(transactions: SignedHydratedTransaction[], config?: TransactionValidationConfig): Promise<ChainQualified<(HydratedTransactionValidationError[] | SignedHydratedTransactionWithHashMeta)[]>>;
28
+ qualifiedValidateUncle(_transactions: SignedHydratedTransaction[], _config?: TransactionValidationConfig): Promise<ChainQualified<(HydratedTransactionValidationError[] | SignedHydratedTransactionWithHashMeta)[]>>;
29
+ validateTransaction(block: SignedHydratedTransaction, config?: TransactionValidationConfig): Promise<HydratedTransactionValidationError[] | SignedHydratedTransactionWithHashMeta>;
30
+ validateTransactions(transactions: SignedHydratedTransaction[], config?: TransactionValidationConfig): Promise<(HydratedTransactionValidationError[] | SignedHydratedTransactionWithHashMeta)[]>;
31
+ private doValidateProtocol;
32
+ private doValidateState;
33
+ }
34
+ //# sourceMappingURL=SimpleTransactionValidationViewer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SimpleTransactionValidationViewer.d.ts","sourceRoot":"","sources":["../../../../src/simple/transactionValidation/SimpleTransactionValidationViewer.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAEV,WAAW,EACX,mBAAmB,EAEnB,cAAc,EACd,0CAA0C,EAC1C,kCAAkC,EAClC,qCAAqC,EACrC,yBAAyB,EACzB,qCAAqC,EACrC,2BAA2B,EAC3B,2BAA2B,EAC5B,MAAM,+BAA+B,CAAA;AAWtC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAA;AAC/E,OAAO,EAAE,yBAAyB,EAAqB,MAAM,kCAAkC,CAAA;AAE/F,wDAAwD;AACxD,MAAM,WAAW,uCAAwC,SAAQ,uBAAuB;IACtF,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,QAAQ,CAAC,EAAE,qCAAqC,CAAA;IAChD,KAAK,CAAC,EAAE,0CAA0C,CAAA;CACnD;AAED,wDAAwD;AACxD,qBACa,iCAAkC,SAC7C,yBAAyB,CAAC,uCAAuC,CAAE,YAAW,2BAA2B;IACzG,MAAM,CAAC,QAAQ,CAAC,eAAe,8CAA8C;IAC7E,MAAM,CAAC,QAAQ,CAAC,cAAc,gCAAqC;IACnE,MAAM,CAAC,QAAQ,CAAC,YAAY,qEAAgF;IAC5G,MAAM,CAAC,QAAQ,CAAC,QAAQ,kCAAuC;IAC/D,MAAM,CAAC,QAAQ,CAAC,OAAO,EAAG,MAAM,CAAS;IACzC,OAAO,gCAAmD;IAE1D,OAAO,CAAC,qBAAqB,CAAuB;IACpD,OAAO,CAAC,YAAY,CAAc;IAClC,OAAO,CAAC,oBAAoB,CAAsB;IAElD,SAAS,KAAK,WAAW,+BAExB;IAED,SAAS,KAAK,mBAAmB,wBAEhC;IAED,SAAS,KAAK,kBAAkB,WAE/B;WAEqB,aAAa,CAAC,MAAM,EAAE,OAAO,CAAC,uCAAuC,CAAC,GAAG,OAAO,CAAC,uCAAuC,CAAC;IAShI,aAAa;IAOtB,4BAA4B,CAChC,KAAK,EAAE,qCAAqC,EAC5C,MAAM,CAAC,EAAE,2BAA2B,GACnC,OAAO,CAAC,cAAc,CAAC,kCAAkC,EAAE,GAAG,qCAAqC,CAAC,CAAC;IAKlG,6BAA6B,CACjC,YAAY,EAAE,yBAAyB,EAAE,EACzC,MAAM,CAAC,EAAE,2BAA2B,GACnC,OAAO,CAAC,cAAc,CAAC,CAAC,kCAAkC,EAAE,GAAG,qCAAqC,CAAC,EAAE,CAAC,CAAC;IA2C5G,sBAAsB,CACpB,aAAa,EAAE,yBAAyB,EAAE,EAC1C,OAAO,CAAC,EAAE,2BAA2B,GACpC,OAAO,CAAC,cAAc,CAAC,CAAC,kCAAkC,EAAE,GAAG,qCAAqC,CAAC,EAAE,CAAC,CAAC;IAItG,mBAAmB,CACvB,KAAK,EAAE,yBAAyB,EAChC,MAAM,CAAC,EAAE,2BAA2B,GACnC,OAAO,CAAC,kCAAkC,EAAE,GAAG,qCAAqC,CAAC;IAKlF,oBAAoB,CACxB,YAAY,EAAE,yBAAyB,EAAE,EACzC,MAAM,CAAC,EAAE,2BAA2B,GACnC,OAAO,CAAC,CAAC,kCAAkC,EAAE,GAAG,qCAAqC,CAAC,EAAE,CAAC;YAK9E,kBAAkB;YAalB,eAAe;CAc9B"}
@@ -0,0 +1,2 @@
1
+ export * from './SimpleTransactionValidationViewer.ts';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/simple/transactionValidation/index.ts"],"names":[],"mappings":"AAAA,cAAc,wCAAwC,CAAA"}