@xyo-network/xl1-protocol 4.0.11 → 4.0.12

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 (647) hide show
  1. package/dist/neutral/index.d.ts +4 -4
  2. package/dist/neutral/index.d.ts.map +1 -1
  3. package/dist/neutral/index.mjs +4 -4
  4. package/dist/neutral/index.mjs.map +2 -2
  5. package/dist/neutral/modules/network-model/icons/index.d.ts +4 -0
  6. package/dist/neutral/modules/network-model/icons/index.d.ts.map +1 -0
  7. package/dist/neutral/modules/network-model/icons/local/index.d.ts +2 -0
  8. package/dist/neutral/modules/network-model/icons/local/index.d.ts.map +1 -0
  9. package/dist/neutral/modules/network-model/icons/mainnet/index.d.ts +2 -0
  10. package/dist/neutral/modules/network-model/icons/mainnet/index.d.ts.map +1 -0
  11. package/dist/neutral/modules/network-model/icons/sequence/index.d.ts +2 -0
  12. package/dist/neutral/modules/network-model/icons/sequence/index.d.ts.map +1 -0
  13. package/dist/neutral/modules/network-model/index.d.ts +7 -0
  14. package/dist/neutral/modules/network-model/index.d.ts.map +1 -0
  15. package/dist/neutral/modules/network-model/lib/NetworkDataLakeUrls.d.ts +8 -0
  16. package/dist/neutral/modules/network-model/lib/NetworkDataLakeUrls.d.ts.map +1 -0
  17. package/dist/neutral/modules/network-model/lib/Networks.d.ts +10 -0
  18. package/dist/neutral/modules/network-model/lib/Networks.d.ts.map +1 -0
  19. package/dist/neutral/modules/network-model/lib/index.d.ts +3 -0
  20. package/dist/neutral/modules/network-model/lib/index.d.ts.map +1 -0
  21. package/dist/neutral/modules/network-model/manifest/index.d.ts +2 -0
  22. package/dist/neutral/modules/network-model/manifest/index.d.ts.map +1 -0
  23. package/dist/neutral/modules/network-model/manifest/networkManifest.d.ts +4 -0
  24. package/dist/neutral/modules/network-model/manifest/networkManifest.d.ts.map +1 -0
  25. package/dist/neutral/modules/network-model/models/Bootstrap.d.ts +56 -0
  26. package/dist/neutral/modules/network-model/models/Bootstrap.d.ts.map +1 -0
  27. package/dist/neutral/modules/network-model/models/NetworkId.d.ts +12 -0
  28. package/dist/neutral/modules/network-model/models/NetworkId.d.ts.map +1 -0
  29. package/dist/neutral/modules/network-model/models/index.d.ts +3 -0
  30. package/dist/neutral/modules/network-model/models/index.d.ts.map +1 -0
  31. package/dist/neutral/modules/network-model/modules/index.d.ts +2 -0
  32. package/dist/neutral/modules/network-model/modules/index.d.ts.map +1 -0
  33. package/dist/neutral/modules/network-model/modules/node/getNetworkNode.d.ts +10 -0
  34. package/dist/neutral/modules/network-model/modules/node/getNetworkNode.d.ts.map +1 -0
  35. package/dist/neutral/modules/network-model/modules/node/getNetworkNodes.d.ts +4 -0
  36. package/dist/neutral/modules/network-model/modules/node/getNetworkNodes.d.ts.map +1 -0
  37. package/dist/neutral/modules/network-model/modules/node/index.d.ts +4 -0
  38. package/dist/neutral/modules/network-model/modules/node/index.d.ts.map +1 -0
  39. package/dist/neutral/modules/network-model/modules/node/initNetworkNode.d.ts +5 -0
  40. package/dist/neutral/modules/network-model/modules/node/initNetworkNode.d.ts.map +1 -0
  41. package/dist/neutral/modules/network-model/staticRest/index.d.ts +10 -0
  42. package/dist/neutral/modules/network-model/staticRest/index.d.ts.map +1 -0
  43. package/dist/neutral/modules/network-model/staticRest/layout/chainContractManifest.d.ts +84 -0
  44. package/dist/neutral/modules/network-model/staticRest/layout/chainContractManifest.d.ts.map +1 -0
  45. package/dist/neutral/modules/network-model/staticRest/layout/chainManifest.d.ts +101 -0
  46. package/dist/neutral/modules/network-model/staticRest/layout/chainManifest.d.ts.map +1 -0
  47. package/dist/neutral/modules/network-model/staticRest/layout/index.d.ts +4 -0
  48. package/dist/neutral/modules/network-model/staticRest/layout/index.d.ts.map +1 -0
  49. package/dist/neutral/modules/network-model/staticRest/layout/indexManifest.d.ts +263 -0
  50. package/dist/neutral/modules/network-model/staticRest/layout/indexManifest.d.ts.map +1 -0
  51. package/dist/neutral/modules/network-model/staticRest/paths/chainState.d.ts +10 -0
  52. package/dist/neutral/modules/network-model/staticRest/paths/chainState.d.ts.map +1 -0
  53. package/dist/neutral/modules/network-model/staticRest/paths/finalized.d.ts +14 -0
  54. package/dist/neutral/modules/network-model/staticRest/paths/finalized.d.ts.map +1 -0
  55. package/dist/neutral/modules/network-model/staticRest/paths/index.d.ts +4 -0
  56. package/dist/neutral/modules/network-model/staticRest/paths/index.d.ts.map +1 -0
  57. package/dist/neutral/modules/network-model/staticRest/paths/indexPaths.d.ts +14 -0
  58. package/dist/neutral/modules/network-model/staticRest/paths/indexPaths.d.ts.map +1 -0
  59. package/dist/neutral/modules/network-model/staticRest/templates.d.ts +27 -0
  60. package/dist/neutral/modules/network-model/staticRest/templates.d.ts.map +1 -0
  61. package/dist/neutral/modules/network-model/utils/ExplorerLinks.d.ts +28 -0
  62. package/dist/neutral/modules/network-model/utils/ExplorerLinks.d.ts.map +1 -0
  63. package/dist/neutral/modules/network-model/utils/index.d.ts +2 -0
  64. package/dist/neutral/modules/network-model/utils/index.d.ts.map +1 -0
  65. package/dist/neutral/modules/protocol-lib/OpenTelemetryProviders.d.ts +7 -0
  66. package/dist/neutral/modules/protocol-lib/OpenTelemetryProviders.d.ts.map +1 -0
  67. package/dist/neutral/modules/protocol-lib/address/derivedReceiveAddress.d.ts +4 -0
  68. package/dist/neutral/modules/protocol-lib/address/derivedReceiveAddress.d.ts.map +1 -0
  69. package/dist/neutral/modules/protocol-lib/address/index.d.ts +4 -0
  70. package/dist/neutral/modules/protocol-lib/address/index.d.ts.map +1 -0
  71. package/dist/neutral/modules/protocol-lib/address/rewardAddressFromStepIdentity.d.ts +7 -0
  72. package/dist/neutral/modules/protocol-lib/address/rewardAddressFromStepIdentity.d.ts.map +1 -0
  73. package/dist/neutral/modules/protocol-lib/address/sentinelAddressFromSchema.d.ts +21 -0
  74. package/dist/neutral/modules/protocol-lib/address/sentinelAddressFromSchema.d.ts.map +1 -0
  75. package/dist/neutral/modules/protocol-lib/index.d.ts +14 -0
  76. package/dist/neutral/modules/protocol-lib/index.d.ts.map +1 -0
  77. package/dist/neutral/modules/protocol-lib/network/Status.d.ts +26 -0
  78. package/dist/neutral/modules/protocol-lib/network/Status.d.ts.map +1 -0
  79. package/dist/neutral/modules/protocol-lib/network/index.d.ts +2 -0
  80. package/dist/neutral/modules/protocol-lib/network/index.d.ts.map +1 -0
  81. package/dist/neutral/modules/protocol-lib/permissions/InvokerPermission.d.ts +48 -0
  82. package/dist/neutral/modules/protocol-lib/permissions/InvokerPermission.d.ts.map +1 -0
  83. package/dist/neutral/modules/protocol-lib/permissions/XyoPermissions.d.ts +33 -0
  84. package/dist/neutral/modules/protocol-lib/permissions/XyoPermissions.d.ts.map +1 -0
  85. package/dist/neutral/modules/protocol-lib/permissions/index.d.ts +3 -0
  86. package/dist/neutral/modules/protocol-lib/permissions/index.d.ts.map +1 -0
  87. package/dist/neutral/modules/protocol-lib/providers/DataLake/Client.d.ts +86 -0
  88. package/dist/neutral/modules/protocol-lib/providers/DataLake/Client.d.ts.map +1 -0
  89. package/dist/neutral/modules/protocol-lib/providers/DataLake/Provider.d.ts +10 -0
  90. package/dist/neutral/modules/protocol-lib/providers/DataLake/Provider.d.ts.map +1 -0
  91. package/dist/neutral/modules/protocol-lib/providers/DataLake/Runner.d.ts +15 -0
  92. package/dist/neutral/modules/protocol-lib/providers/DataLake/Runner.d.ts.map +1 -0
  93. package/dist/neutral/modules/protocol-lib/providers/DataLake/Viewer.d.ts +14 -0
  94. package/dist/neutral/modules/protocol-lib/providers/DataLake/Viewer.d.ts.map +1 -0
  95. package/dist/neutral/modules/protocol-lib/providers/DataLake/index.d.ts +5 -0
  96. package/dist/neutral/modules/protocol-lib/providers/DataLake/index.d.ts.map +1 -0
  97. package/dist/neutral/modules/protocol-lib/providers/TransactionHelper.d.ts +9 -0
  98. package/dist/neutral/modules/protocol-lib/providers/TransactionHelper.d.ts.map +1 -0
  99. package/dist/neutral/modules/protocol-lib/providers/XyoClient.d.ts +25 -0
  100. package/dist/neutral/modules/protocol-lib/providers/XyoClient.d.ts.map +1 -0
  101. package/dist/neutral/modules/protocol-lib/providers/XyoConnection.d.ts +18 -0
  102. package/dist/neutral/modules/protocol-lib/providers/XyoConnection.d.ts.map +1 -0
  103. package/dist/neutral/modules/protocol-lib/providers/XyoGateway.d.ts +20 -0
  104. package/dist/neutral/modules/protocol-lib/providers/XyoGateway.d.ts.map +1 -0
  105. package/dist/neutral/modules/protocol-lib/providers/XyoGatewayRunner.d.ts +57 -0
  106. package/dist/neutral/modules/protocol-lib/providers/XyoGatewayRunner.d.ts.map +1 -0
  107. package/dist/neutral/modules/protocol-lib/providers/XyoNetwork.d.ts +7 -0
  108. package/dist/neutral/modules/protocol-lib/providers/XyoNetwork.d.ts.map +1 -0
  109. package/dist/neutral/modules/protocol-lib/providers/XyoRunner.d.ts +16 -0
  110. package/dist/neutral/modules/protocol-lib/providers/XyoRunner.d.ts.map +1 -0
  111. package/dist/neutral/modules/protocol-lib/providers/index.d.ts +9 -0
  112. package/dist/neutral/modules/protocol-lib/providers/index.d.ts.map +1 -0
  113. package/dist/neutral/modules/protocol-lib/providers/signer/XyoSigner.d.ts +24 -0
  114. package/dist/neutral/modules/protocol-lib/providers/signer/XyoSigner.d.ts.map +1 -0
  115. package/dist/neutral/modules/protocol-lib/providers/signer/index.d.ts +2 -0
  116. package/dist/neutral/modules/protocol-lib/providers/signer/index.d.ts.map +1 -0
  117. package/dist/neutral/modules/protocol-lib/repository/Repository.d.ts +27 -0
  118. package/dist/neutral/modules/protocol-lib/repository/Repository.d.ts.map +1 -0
  119. package/dist/neutral/modules/protocol-lib/repository/TransactionReadRepository.d.ts +6 -0
  120. package/dist/neutral/modules/protocol-lib/repository/TransactionReadRepository.d.ts.map +1 -0
  121. package/dist/neutral/modules/protocol-lib/repository/TransactionRepository.d.ts +13 -0
  122. package/dist/neutral/modules/protocol-lib/repository/TransactionRepository.d.ts.map +1 -0
  123. package/dist/neutral/modules/protocol-lib/repository/TransactionRepositoryIterator.d.ts +6 -0
  124. package/dist/neutral/modules/protocol-lib/repository/TransactionRepositoryIterator.d.ts.map +1 -0
  125. package/dist/neutral/modules/protocol-lib/repository/TransactionWriteRepository.d.ts +6 -0
  126. package/dist/neutral/modules/protocol-lib/repository/TransactionWriteRepository.d.ts.map +1 -0
  127. package/dist/neutral/modules/protocol-lib/repository/index.d.ts +6 -0
  128. package/dist/neutral/modules/protocol-lib/repository/index.d.ts.map +1 -0
  129. package/dist/neutral/modules/protocol-lib/runners/Block.d.ts +16 -0
  130. package/dist/neutral/modules/protocol-lib/runners/Block.d.ts.map +1 -0
  131. package/dist/neutral/modules/protocol-lib/runners/BlockPublish.d.ts +30 -0
  132. package/dist/neutral/modules/protocol-lib/runners/BlockPublish.d.ts.map +1 -0
  133. package/dist/neutral/modules/protocol-lib/runners/ChainStatePublish.d.ts +18 -0
  134. package/dist/neutral/modules/protocol-lib/runners/ChainStatePublish.d.ts.map +1 -0
  135. package/dist/neutral/modules/protocol-lib/runners/DeadLetterQueue.d.ts +22 -0
  136. package/dist/neutral/modules/protocol-lib/runners/DeadLetterQueue.d.ts.map +1 -0
  137. package/dist/neutral/modules/protocol-lib/runners/Finalization.d.ts +15 -0
  138. package/dist/neutral/modules/protocol-lib/runners/Finalization.d.ts.map +1 -0
  139. package/dist/neutral/modules/protocol-lib/runners/IndexPublish.d.ts +35 -0
  140. package/dist/neutral/modules/protocol-lib/runners/IndexPublish.d.ts.map +1 -0
  141. package/dist/neutral/modules/protocol-lib/runners/Mempool.d.ts +25 -0
  142. package/dist/neutral/modules/protocol-lib/runners/Mempool.d.ts.map +1 -0
  143. package/dist/neutral/modules/protocol-lib/runners/index.d.ts +8 -0
  144. package/dist/neutral/modules/protocol-lib/runners/index.d.ts.map +1 -0
  145. package/dist/neutral/modules/protocol-lib/status/SystemStatus.d.ts +84 -0
  146. package/dist/neutral/modules/protocol-lib/status/SystemStatus.d.ts.map +1 -0
  147. package/dist/neutral/modules/protocol-lib/status/index.d.ts +2 -0
  148. package/dist/neutral/modules/protocol-lib/status/index.d.ts.map +1 -0
  149. package/dist/neutral/modules/protocol-lib/summary/BlocksStepSummary.d.ts +26 -0
  150. package/dist/neutral/modules/protocol-lib/summary/BlocksStepSummary.d.ts.map +1 -0
  151. package/dist/neutral/modules/protocol-lib/summary/StepSummary.d.ts +16 -0
  152. package/dist/neutral/modules/protocol-lib/summary/StepSummary.d.ts.map +1 -0
  153. package/dist/neutral/modules/protocol-lib/summary/index.d.ts +4 -0
  154. package/dist/neutral/modules/protocol-lib/summary/index.d.ts.map +1 -0
  155. package/dist/neutral/modules/protocol-lib/summary/stepPlacement.d.ts +21 -0
  156. package/dist/neutral/modules/protocol-lib/summary/stepPlacement.d.ts.map +1 -0
  157. package/dist/neutral/modules/protocol-lib/transaction/elevatedPayloads.d.ts +5 -0
  158. package/dist/neutral/modules/protocol-lib/transaction/elevatedPayloads.d.ts.map +1 -0
  159. package/dist/neutral/modules/protocol-lib/transaction/index.d.ts +3 -0
  160. package/dist/neutral/modules/protocol-lib/transaction/index.d.ts.map +1 -0
  161. package/dist/neutral/modules/protocol-lib/transaction/script.d.ts +17 -0
  162. package/dist/neutral/modules/protocol-lib/transaction/script.d.ts.map +1 -0
  163. package/dist/neutral/modules/protocol-lib/validation/block/BlockValidationFunction.d.ts +6 -0
  164. package/dist/neutral/modules/protocol-lib/validation/block/BlockValidationFunction.d.ts.map +1 -0
  165. package/dist/neutral/modules/protocol-lib/validation/block/HydratedBlockStateValidationFunction.d.ts +19 -0
  166. package/dist/neutral/modules/protocol-lib/validation/block/HydratedBlockStateValidationFunction.d.ts.map +1 -0
  167. package/dist/neutral/modules/protocol-lib/validation/block/HydratedBlockValidationFunction.d.ts +14 -0
  168. package/dist/neutral/modules/protocol-lib/validation/block/HydratedBlockValidationFunction.d.ts.map +1 -0
  169. package/dist/neutral/modules/protocol-lib/validation/block/error.d.ts +167 -0
  170. package/dist/neutral/modules/protocol-lib/validation/block/error.d.ts.map +1 -0
  171. package/dist/neutral/modules/protocol-lib/validation/block/index.d.ts +5 -0
  172. package/dist/neutral/modules/protocol-lib/validation/block/index.d.ts.map +1 -0
  173. package/dist/neutral/modules/protocol-lib/validation/boundwitness/BoundWitnessValidationFunction.d.ts +6 -0
  174. package/dist/neutral/modules/protocol-lib/validation/boundwitness/BoundWitnessValidationFunction.d.ts.map +1 -0
  175. package/dist/neutral/modules/protocol-lib/validation/boundwitness/HydratedBoundWitnessValidationFunction.d.ts +8 -0
  176. package/dist/neutral/modules/protocol-lib/validation/boundwitness/HydratedBoundWitnessValidationFunction.d.ts.map +1 -0
  177. package/dist/neutral/modules/protocol-lib/validation/boundwitness/error.d.ts +13 -0
  178. package/dist/neutral/modules/protocol-lib/validation/boundwitness/error.d.ts.map +1 -0
  179. package/dist/neutral/modules/protocol-lib/validation/boundwitness/index.d.ts +4 -0
  180. package/dist/neutral/modules/protocol-lib/validation/boundwitness/index.d.ts.map +1 -0
  181. package/dist/neutral/modules/protocol-lib/validation/error.d.ts +59 -0
  182. package/dist/neutral/modules/protocol-lib/validation/error.d.ts.map +1 -0
  183. package/dist/neutral/modules/protocol-lib/validation/index.d.ts +6 -0
  184. package/dist/neutral/modules/protocol-lib/validation/index.d.ts.map +1 -0
  185. package/dist/neutral/modules/protocol-lib/validation/payload/InBlockPayloadValidationFunction.d.ts +10 -0
  186. package/dist/neutral/modules/protocol-lib/validation/payload/InBlockPayloadValidationFunction.d.ts.map +1 -0
  187. package/dist/neutral/modules/protocol-lib/validation/payload/error.d.ts +12 -0
  188. package/dist/neutral/modules/protocol-lib/validation/payload/error.d.ts.map +1 -0
  189. package/dist/neutral/modules/protocol-lib/validation/payload/index.d.ts +3 -0
  190. package/dist/neutral/modules/protocol-lib/validation/payload/index.d.ts.map +1 -0
  191. package/dist/neutral/modules/protocol-lib/validation/transaction/HydratedTransactionStateValidationFunction.d.ts +18 -0
  192. package/dist/neutral/modules/protocol-lib/validation/transaction/HydratedTransactionStateValidationFunction.d.ts.map +1 -0
  193. package/dist/neutral/modules/protocol-lib/validation/transaction/HydratedTransactionValidationFunction.d.ts +16 -0
  194. package/dist/neutral/modules/protocol-lib/validation/transaction/HydratedTransactionValidationFunction.d.ts.map +1 -0
  195. package/dist/neutral/modules/protocol-lib/validation/transaction/error.d.ts +8 -0
  196. package/dist/neutral/modules/protocol-lib/validation/transaction/error.d.ts.map +1 -0
  197. package/dist/neutral/modules/protocol-lib/validation/transaction/index.d.ts +4 -0
  198. package/dist/neutral/modules/protocol-lib/validation/transaction/index.d.ts.map +1 -0
  199. package/dist/neutral/modules/protocol-lib/viewers/Block.d.ts +38 -0
  200. package/dist/neutral/modules/protocol-lib/viewers/Block.d.ts.map +1 -0
  201. package/dist/neutral/modules/protocol-lib/viewers/BlockInvalidation.d.ts +56 -0
  202. package/dist/neutral/modules/protocol-lib/viewers/BlockInvalidation.d.ts.map +1 -0
  203. package/dist/neutral/modules/protocol-lib/viewers/BlockReward.d.ts +14 -0
  204. package/dist/neutral/modules/protocol-lib/viewers/BlockReward.d.ts.map +1 -0
  205. package/dist/neutral/modules/protocol-lib/viewers/BlockValidation.d.ts +56 -0
  206. package/dist/neutral/modules/protocol-lib/viewers/BlockValidation.d.ts.map +1 -0
  207. package/dist/neutral/modules/protocol-lib/viewers/ChainContract.d.ts +23 -0
  208. package/dist/neutral/modules/protocol-lib/viewers/ChainContract.d.ts.map +1 -0
  209. package/dist/neutral/modules/protocol-lib/viewers/ChainStakeViewer.d.ts +11 -0
  210. package/dist/neutral/modules/protocol-lib/viewers/ChainStakeViewer.d.ts.map +1 -0
  211. package/dist/neutral/modules/protocol-lib/viewers/ChainState.d.ts +26 -0
  212. package/dist/neutral/modules/protocol-lib/viewers/ChainState.d.ts.map +1 -0
  213. package/dist/neutral/modules/protocol-lib/viewers/DeadLetterQueue.d.ts +31 -0
  214. package/dist/neutral/modules/protocol-lib/viewers/DeadLetterQueue.d.ts.map +1 -0
  215. package/dist/neutral/modules/protocol-lib/viewers/Finalization.d.ts +18 -0
  216. package/dist/neutral/modules/protocol-lib/viewers/Finalization.d.ts.map +1 -0
  217. package/dist/neutral/modules/protocol-lib/viewers/Fork.d.ts +9 -0
  218. package/dist/neutral/modules/protocol-lib/viewers/Fork.d.ts.map +1 -0
  219. package/dist/neutral/modules/protocol-lib/viewers/IndexViewer.d.ts +16 -0
  220. package/dist/neutral/modules/protocol-lib/viewers/IndexViewer.d.ts.map +1 -0
  221. package/dist/neutral/modules/protocol-lib/viewers/Mempool.d.ts +31 -0
  222. package/dist/neutral/modules/protocol-lib/viewers/Mempool.d.ts.map +1 -0
  223. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/NetworkStakeViewer.d.ts +17 -0
  224. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/NetworkStakeViewer.d.ts.map +1 -0
  225. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/ByPositionViewer.d.ts +14 -0
  226. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/ByPositionViewer.d.ts.map +1 -0
  227. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/ByStakerViewer.d.ts +15 -0
  228. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/ByStakerViewer.d.ts.map +1 -0
  229. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/ByStepViewer.d.ts +14 -0
  230. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/ByStepViewer.d.ts.map +1 -0
  231. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/Options.d.ts +19 -0
  232. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/Options.d.ts.map +1 -0
  233. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/TotalViewer.d.ts +14 -0
  234. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/TotalViewer.d.ts.map +1 -0
  235. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/Viewer.d.ts +20 -0
  236. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/Viewer.d.ts.map +1 -0
  237. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/index.d.ts +8 -0
  238. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/index.d.ts.map +1 -0
  239. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/templates/ByIndexMethodsTemplate.d.ts +6 -0
  240. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/templates/ByIndexMethodsTemplate.d.ts.map +1 -0
  241. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/templates/MethodsTemplate.d.ts +10 -0
  242. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/templates/MethodsTemplate.d.ts.map +1 -0
  243. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/templates/index.d.ts +3 -0
  244. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/templates/index.d.ts.map +1 -0
  245. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/index.d.ts +3 -0
  246. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/index.d.ts.map +1 -0
  247. package/dist/neutral/modules/protocol-lib/viewers/NetworkStakeStepReward.d.ts +41 -0
  248. package/dist/neutral/modules/protocol-lib/viewers/NetworkStakeStepReward.d.ts.map +1 -0
  249. package/dist/neutral/modules/protocol-lib/viewers/Stake.d.ts +39 -0
  250. package/dist/neutral/modules/protocol-lib/viewers/Stake.d.ts.map +1 -0
  251. package/dist/neutral/modules/protocol-lib/viewers/StakeEvents.d.ts +45 -0
  252. package/dist/neutral/modules/protocol-lib/viewers/StakeEvents.d.ts.map +1 -0
  253. package/dist/neutral/modules/protocol-lib/viewers/StakeIntent.d.ts +16 -0
  254. package/dist/neutral/modules/protocol-lib/viewers/StakeIntent.d.ts.map +1 -0
  255. package/dist/neutral/modules/protocol-lib/viewers/StakeTotals.d.ts +21 -0
  256. package/dist/neutral/modules/protocol-lib/viewers/StakeTotals.d.ts.map +1 -0
  257. package/dist/neutral/modules/protocol-lib/viewers/StepStake.d.ts +15 -0
  258. package/dist/neutral/modules/protocol-lib/viewers/StepStake.d.ts.map +1 -0
  259. package/dist/neutral/modules/protocol-lib/viewers/StepViewer.d.ts +38 -0
  260. package/dist/neutral/modules/protocol-lib/viewers/StepViewer.d.ts.map +1 -0
  261. package/dist/neutral/modules/protocol-lib/viewers/Sync.d.ts +19 -0
  262. package/dist/neutral/modules/protocol-lib/viewers/Sync.d.ts.map +1 -0
  263. package/dist/neutral/modules/protocol-lib/viewers/TimeSync.d.ts +21 -0
  264. package/dist/neutral/modules/protocol-lib/viewers/TimeSync.d.ts.map +1 -0
  265. package/dist/neutral/modules/protocol-lib/viewers/Transaction.d.ts +22 -0
  266. package/dist/neutral/modules/protocol-lib/viewers/Transaction.d.ts.map +1 -0
  267. package/dist/neutral/modules/protocol-lib/viewers/TransactionInvalidation.d.ts +54 -0
  268. package/dist/neutral/modules/protocol-lib/viewers/TransactionInvalidation.d.ts.map +1 -0
  269. package/dist/neutral/modules/protocol-lib/viewers/TransactionValidation.d.ts +55 -0
  270. package/dist/neutral/modules/protocol-lib/viewers/TransactionValidation.d.ts.map +1 -0
  271. package/dist/neutral/modules/protocol-lib/viewers/TransferBalance.d.ts +30 -0
  272. package/dist/neutral/modules/protocol-lib/viewers/TransferBalance.d.ts.map +1 -0
  273. package/dist/neutral/modules/protocol-lib/viewers/WindowedBlock.d.ts +18 -0
  274. package/dist/neutral/modules/protocol-lib/viewers/WindowedBlock.d.ts.map +1 -0
  275. package/dist/neutral/modules/protocol-lib/viewers/XyoViewer.d.ts +50 -0
  276. package/dist/neutral/modules/protocol-lib/viewers/XyoViewer.d.ts.map +1 -0
  277. package/dist/neutral/modules/protocol-lib/viewers/index.d.ts +28 -0
  278. package/dist/neutral/modules/protocol-lib/viewers/index.d.ts.map +1 -0
  279. package/dist/neutral/modules/protocol-model/BlockNumber/BlockNumber.d.ts +35 -0
  280. package/dist/neutral/modules/protocol-model/BlockNumber/BlockNumber.d.ts.map +1 -0
  281. package/dist/neutral/modules/protocol-model/BlockNumber/EthBlockNumber.d.ts +46 -0
  282. package/dist/neutral/modules/protocol-model/BlockNumber/EthBlockNumber.d.ts.map +1 -0
  283. package/dist/neutral/modules/protocol-model/BlockNumber/Numberish.d.ts +6 -0
  284. package/dist/neutral/modules/protocol-model/BlockNumber/Numberish.d.ts.map +1 -0
  285. package/dist/neutral/modules/protocol-model/BlockNumber/index.d.ts +5 -0
  286. package/dist/neutral/modules/protocol-model/BlockNumber/index.d.ts.map +1 -0
  287. package/dist/neutral/modules/protocol-model/BlockNumber/xl1BlockNumber.d.ts +46 -0
  288. package/dist/neutral/modules/protocol-model/BlockNumber/xl1BlockNumber.d.ts.map +1 -0
  289. package/dist/neutral/modules/protocol-model/RecordKeyType.d.ts +4 -0
  290. package/dist/neutral/modules/protocol-model/RecordKeyType.d.ts.map +1 -0
  291. package/dist/neutral/modules/protocol-model/Step/StepHash.d.ts +11 -0
  292. package/dist/neutral/modules/protocol-model/Step/StepHash.d.ts.map +1 -0
  293. package/dist/neutral/modules/protocol-model/Step/StepIdentity.d.ts +19 -0
  294. package/dist/neutral/modules/protocol-model/Step/StepIdentity.d.ts.map +1 -0
  295. package/dist/neutral/modules/protocol-model/Step/StepSizes.d.ts +12 -0
  296. package/dist/neutral/modules/protocol-model/Step/StepSizes.d.ts.map +1 -0
  297. package/dist/neutral/modules/protocol-model/Step/index.d.ts +4 -0
  298. package/dist/neutral/modules/protocol-model/Step/index.d.ts.map +1 -0
  299. package/dist/neutral/modules/protocol-model/TransferPayload.d.ts +79 -0
  300. package/dist/neutral/modules/protocol-model/TransferPayload.d.ts.map +1 -0
  301. package/dist/neutral/modules/protocol-model/amount/ShiftedBigIntConfig.d.ts +9 -0
  302. package/dist/neutral/modules/protocol-model/amount/ShiftedBigIntConfig.d.ts.map +1 -0
  303. package/dist/neutral/modules/protocol-model/amount/index.d.ts +3 -0
  304. package/dist/neutral/modules/protocol-model/amount/index.d.ts.map +1 -0
  305. package/dist/neutral/modules/protocol-model/amount/xl1AmountInstance.d.ts +16 -0
  306. package/dist/neutral/modules/protocol-model/amount/xl1AmountInstance.d.ts.map +1 -0
  307. package/dist/neutral/modules/protocol-model/block/AllowedBlockPayload.d.ts +40 -0
  308. package/dist/neutral/modules/protocol-model/block/AllowedBlockPayload.d.ts.map +1 -0
  309. package/dist/neutral/modules/protocol-model/block/BlockBoundWitness.d.ts +544 -0
  310. package/dist/neutral/modules/protocol-model/block/BlockBoundWitness.d.ts.map +1 -0
  311. package/dist/neutral/modules/protocol-model/block/HydratedBlock.d.ts +1466 -0
  312. package/dist/neutral/modules/protocol-model/block/HydratedBlock.d.ts.map +1 -0
  313. package/dist/neutral/modules/protocol-model/block/index.d.ts +6 -0
  314. package/dist/neutral/modules/protocol-model/block/index.d.ts.map +1 -0
  315. package/dist/neutral/modules/protocol-model/block/signed/SignedBlockBoundWitness.d.ts +168 -0
  316. package/dist/neutral/modules/protocol-model/block/signed/SignedBlockBoundWitness.d.ts.map +1 -0
  317. package/dist/neutral/modules/protocol-model/block/signed/SignedBlockBoundWitnessWithHashMeta.d.ts +286 -0
  318. package/dist/neutral/modules/protocol-model/block/signed/SignedBlockBoundWitnessWithHashMeta.d.ts.map +1 -0
  319. package/dist/neutral/modules/protocol-model/block/signed/SignedBlockBoundWitnessWithStorageMeta.d.ts +343 -0
  320. package/dist/neutral/modules/protocol-model/block/signed/SignedBlockBoundWitnessWithStorageMeta.d.ts.map +1 -0
  321. package/dist/neutral/modules/protocol-model/block/signed/index.d.ts +4 -0
  322. package/dist/neutral/modules/protocol-model/block/signed/index.d.ts.map +1 -0
  323. package/dist/neutral/modules/protocol-model/block/unsigned/UnsignedBlockBoundWitness.d.ts +168 -0
  324. package/dist/neutral/modules/protocol-model/block/unsigned/UnsignedBlockBoundWitness.d.ts.map +1 -0
  325. package/dist/neutral/modules/protocol-model/block/unsigned/index.d.ts +2 -0
  326. package/dist/neutral/modules/protocol-model/block/unsigned/index.d.ts.map +1 -0
  327. package/dist/neutral/modules/protocol-model/chain/Chain.d.ts +4 -0
  328. package/dist/neutral/modules/protocol-model/chain/Chain.d.ts.map +1 -0
  329. package/dist/neutral/modules/protocol-model/chain/ChainAnalyzer.d.ts +10 -0
  330. package/dist/neutral/modules/protocol-model/chain/ChainAnalyzer.d.ts.map +1 -0
  331. package/dist/neutral/modules/protocol-model/chain/ChainId.d.ts +28 -0
  332. package/dist/neutral/modules/protocol-model/chain/ChainId.d.ts.map +1 -0
  333. package/dist/neutral/modules/protocol-model/chain/index.d.ts +4 -0
  334. package/dist/neutral/modules/protocol-model/chain/index.d.ts.map +1 -0
  335. package/dist/neutral/modules/protocol-model/fields/Addressable.d.ts +6 -0
  336. package/dist/neutral/modules/protocol-model/fields/Addressable.d.ts.map +1 -0
  337. package/dist/neutral/modules/protocol-model/fields/BlockDuration.d.ts +25 -0
  338. package/dist/neutral/modules/protocol-model/fields/BlockDuration.d.ts.map +1 -0
  339. package/dist/neutral/modules/protocol-model/fields/BlockNumber.d.ts +32 -0
  340. package/dist/neutral/modules/protocol-model/fields/BlockNumber.d.ts.map +1 -0
  341. package/dist/neutral/modules/protocol-model/fields/ChainReference.d.ts +11 -0
  342. package/dist/neutral/modules/protocol-model/fields/ChainReference.d.ts.map +1 -0
  343. package/dist/neutral/modules/protocol-model/fields/index.d.ts +5 -0
  344. package/dist/neutral/modules/protocol-model/fields/index.d.ts.map +1 -0
  345. package/dist/neutral/modules/protocol-model/index.d.ts +16 -0
  346. package/dist/neutral/modules/protocol-model/index.d.ts.map +1 -0
  347. package/dist/neutral/modules/protocol-model/map/AsyncMap.d.ts +42 -0
  348. package/dist/neutral/modules/protocol-model/map/AsyncMap.d.ts.map +1 -0
  349. package/dist/neutral/modules/protocol-model/map/MapType.d.ts +17 -0
  350. package/dist/neutral/modules/protocol-model/map/MapType.d.ts.map +1 -0
  351. package/dist/neutral/modules/protocol-model/map/SyncMap.d.ts +41 -0
  352. package/dist/neutral/modules/protocol-model/map/SyncMap.d.ts.map +1 -0
  353. package/dist/neutral/modules/protocol-model/map/index.d.ts +4 -0
  354. package/dist/neutral/modules/protocol-model/map/index.d.ts.map +1 -0
  355. package/dist/neutral/modules/protocol-model/model/AccountBalance.d.ts +122 -0
  356. package/dist/neutral/modules/protocol-model/model/AccountBalance.d.ts.map +1 -0
  357. package/dist/neutral/modules/protocol-model/model/ArrayBuffer.d.ts +6 -0
  358. package/dist/neutral/modules/protocol-model/model/ArrayBuffer.d.ts.map +1 -0
  359. package/dist/neutral/modules/protocol-model/model/BlockRange/BlockRange.d.ts +32 -0
  360. package/dist/neutral/modules/protocol-model/model/BlockRange/BlockRange.d.ts.map +1 -0
  361. package/dist/neutral/modules/protocol-model/model/BlockRange/EthBlockRange.d.ts +32 -0
  362. package/dist/neutral/modules/protocol-model/model/BlockRange/EthBlockRange.d.ts.map +1 -0
  363. package/dist/neutral/modules/protocol-model/model/BlockRange/Numberish.d.ts +4 -0
  364. package/dist/neutral/modules/protocol-model/model/BlockRange/Numberish.d.ts.map +1 -0
  365. package/dist/neutral/modules/protocol-model/model/BlockRange/Range.d.ts +18 -0
  366. package/dist/neutral/modules/protocol-model/model/BlockRange/Range.d.ts.map +1 -0
  367. package/dist/neutral/modules/protocol-model/model/BlockRange/index.d.ts +5 -0
  368. package/dist/neutral/modules/protocol-model/model/BlockRange/index.d.ts.map +1 -0
  369. package/dist/neutral/modules/protocol-model/model/BlockRange/xl1BlockRange.d.ts +32 -0
  370. package/dist/neutral/modules/protocol-model/model/BlockRange/xl1BlockRange.d.ts.map +1 -0
  371. package/dist/neutral/modules/protocol-model/model/BlockRate.d.ts +290 -0
  372. package/dist/neutral/modules/protocol-model/model/BlockRate.d.ts.map +1 -0
  373. package/dist/neutral/modules/protocol-model/model/ChainQualification.d.ts +57 -0
  374. package/dist/neutral/modules/protocol-model/model/ChainQualification.d.ts.map +1 -0
  375. package/dist/neutral/modules/protocol-model/model/Context/BaseContext.d.ts +5 -0
  376. package/dist/neutral/modules/protocol-model/model/Context/BaseContext.d.ts.map +1 -0
  377. package/dist/neutral/modules/protocol-model/model/Context/BaseContext.zod.d.ts +26 -0
  378. package/dist/neutral/modules/protocol-model/model/Context/BaseContext.zod.d.ts.map +1 -0
  379. package/dist/neutral/modules/protocol-model/model/Context/BlockContext.d.ts +9 -0
  380. package/dist/neutral/modules/protocol-model/model/Context/BlockContext.d.ts.map +1 -0
  381. package/dist/neutral/modules/protocol-model/model/Context/BlockContext.zod.d.ts +33 -0
  382. package/dist/neutral/modules/protocol-model/model/Context/BlockContext.zod.d.ts.map +1 -0
  383. package/dist/neutral/modules/protocol-model/model/Context/CachingContext.d.ts +5 -0
  384. package/dist/neutral/modules/protocol-model/model/Context/CachingContext.d.ts.map +1 -0
  385. package/dist/neutral/modules/protocol-model/model/Context/CachingContext.zod.d.ts +10 -0
  386. package/dist/neutral/modules/protocol-model/model/Context/CachingContext.zod.d.ts.map +1 -0
  387. package/dist/neutral/modules/protocol-model/model/Context/ChainContext.d.ts +9 -0
  388. package/dist/neutral/modules/protocol-model/model/Context/ChainContext.d.ts.map +1 -0
  389. package/dist/neutral/modules/protocol-model/model/Context/ChainContext.zod.d.ts +115 -0
  390. package/dist/neutral/modules/protocol-model/model/Context/ChainContext.zod.d.ts.map +1 -0
  391. package/dist/neutral/modules/protocol-model/model/Context/HeadContext.d.ts +5 -0
  392. package/dist/neutral/modules/protocol-model/model/Context/HeadContext.d.ts.map +1 -0
  393. package/dist/neutral/modules/protocol-model/model/Context/HeadContext.zod.d.ts +70 -0
  394. package/dist/neutral/modules/protocol-model/model/Context/HeadContext.zod.d.ts.map +1 -0
  395. package/dist/neutral/modules/protocol-model/model/Context/index.d.ts +11 -0
  396. package/dist/neutral/modules/protocol-model/model/Context/index.d.ts.map +1 -0
  397. package/dist/neutral/modules/protocol-model/model/GatewayName.d.ts +6 -0
  398. package/dist/neutral/modules/protocol-model/model/GatewayName.d.ts.map +1 -0
  399. package/dist/neutral/modules/protocol-model/model/HydratedTransaction.d.ts +2300 -0
  400. package/dist/neutral/modules/protocol-model/model/HydratedTransaction.d.ts.map +1 -0
  401. package/dist/neutral/modules/protocol-model/model/OpCodes.d.ts +3 -0
  402. package/dist/neutral/modules/protocol-model/model/OpCodes.d.ts.map +1 -0
  403. package/dist/neutral/modules/protocol-model/model/PayloadMap.d.ts +10 -0
  404. package/dist/neutral/modules/protocol-model/model/PayloadMap.d.ts.map +1 -0
  405. package/dist/neutral/modules/protocol-model/model/Permission.d.ts +65 -0
  406. package/dist/neutral/modules/protocol-model/model/Permission.d.ts.map +1 -0
  407. package/dist/neutral/modules/protocol-model/model/Position.d.ts +13 -0
  408. package/dist/neutral/modules/protocol-model/model/Position.d.ts.map +1 -0
  409. package/dist/neutral/modules/protocol-model/model/PositionId.d.ts +6 -0
  410. package/dist/neutral/modules/protocol-model/model/PositionId.d.ts.map +1 -0
  411. package/dist/neutral/modules/protocol-model/model/RangeMultipliers.d.ts +10 -0
  412. package/dist/neutral/modules/protocol-model/model/RangeMultipliers.d.ts.map +1 -0
  413. package/dist/neutral/modules/protocol-model/model/RewardShare.d.ts +3 -0
  414. package/dist/neutral/modules/protocol-model/model/RewardShare.d.ts.map +1 -0
  415. package/dist/neutral/modules/protocol-model/model/RewardsRangeOptions.d.ts +16 -0
  416. package/dist/neutral/modules/protocol-model/model/RewardsRangeOptions.d.ts.map +1 -0
  417. package/dist/neutral/modules/protocol-model/model/Sequence.d.ts +15 -0
  418. package/dist/neutral/modules/protocol-model/model/Sequence.d.ts.map +1 -0
  419. package/dist/neutral/modules/protocol-model/model/Stake.d.ts +121 -0
  420. package/dist/neutral/modules/protocol-model/model/Stake.d.ts.map +1 -0
  421. package/dist/neutral/modules/protocol-model/model/StakeShare.d.ts +3 -0
  422. package/dist/neutral/modules/protocol-model/model/StakeShare.d.ts.map +1 -0
  423. package/dist/neutral/modules/protocol-model/model/SyncStepSummary.d.ts +409 -0
  424. package/dist/neutral/modules/protocol-model/model/SyncStepSummary.d.ts.map +1 -0
  425. package/dist/neutral/modules/protocol-model/model/TimeDomain.d.ts +4 -0
  426. package/dist/neutral/modules/protocol-model/model/TimeDomain.d.ts.map +1 -0
  427. package/dist/neutral/modules/protocol-model/model/TransferPair.d.ts +12 -0
  428. package/dist/neutral/modules/protocol-model/model/TransferPair.d.ts.map +1 -0
  429. package/dist/neutral/modules/protocol-model/model/addresses.d.ts +28 -0
  430. package/dist/neutral/modules/protocol-model/model/addresses.d.ts.map +1 -0
  431. package/dist/neutral/modules/protocol-model/model/defaultRewardRatio.d.ts +3 -0
  432. package/dist/neutral/modules/protocol-model/model/defaultRewardRatio.d.ts.map +1 -0
  433. package/dist/neutral/modules/protocol-model/model/defaultTransactionFees.d.ts +4 -0
  434. package/dist/neutral/modules/protocol-model/model/defaultTransactionFees.d.ts.map +1 -0
  435. package/dist/neutral/modules/protocol-model/model/index.d.ts +28 -0
  436. package/dist/neutral/modules/protocol-model/model/index.d.ts.map +1 -0
  437. package/dist/neutral/modules/protocol-model/model/minTransactionFees.d.ts +4 -0
  438. package/dist/neutral/modules/protocol-model/model/minTransactionFees.d.ts.map +1 -0
  439. package/dist/neutral/modules/protocol-model/model/rewards.d.ts +15 -0
  440. package/dist/neutral/modules/protocol-model/model/rewards.d.ts.map +1 -0
  441. package/dist/neutral/modules/protocol-model/model/version.d.ts +11 -0
  442. package/dist/neutral/modules/protocol-model/model/version.d.ts.map +1 -0
  443. package/dist/neutral/modules/protocol-model/payload/StepIdentityPayload.d.ts +20 -0
  444. package/dist/neutral/modules/protocol-model/payload/StepIdentityPayload.d.ts.map +1 -0
  445. package/dist/neutral/modules/protocol-model/payload/application/Exchange/ExchangeOutcome.d.ts +29 -0
  446. package/dist/neutral/modules/protocol-model/payload/application/Exchange/ExchangeOutcome.d.ts.map +1 -0
  447. package/dist/neutral/modules/protocol-model/payload/application/Exchange/ExchangeTerms.d.ts +47 -0
  448. package/dist/neutral/modules/protocol-model/payload/application/Exchange/ExchangeTerms.d.ts.map +1 -0
  449. package/dist/neutral/modules/protocol-model/payload/application/Exchange/PartySecretReveal.d.ts +25 -0
  450. package/dist/neutral/modules/protocol-model/payload/application/Exchange/PartySecretReveal.d.ts.map +1 -0
  451. package/dist/neutral/modules/protocol-model/payload/application/Exchange/index.d.ts +4 -0
  452. package/dist/neutral/modules/protocol-model/payload/application/Exchange/index.d.ts.map +1 -0
  453. package/dist/neutral/modules/protocol-model/payload/application/Ordinal/Inscription.d.ts +26 -0
  454. package/dist/neutral/modules/protocol-model/payload/application/Ordinal/Inscription.d.ts.map +1 -0
  455. package/dist/neutral/modules/protocol-model/payload/application/Ordinal/OrdinalTransfer.d.ts +30 -0
  456. package/dist/neutral/modules/protocol-model/payload/application/Ordinal/OrdinalTransfer.d.ts.map +1 -0
  457. package/dist/neutral/modules/protocol-model/payload/application/Ordinal/index.d.ts +3 -0
  458. package/dist/neutral/modules/protocol-model/payload/application/Ordinal/index.d.ts.map +1 -0
  459. package/dist/neutral/modules/protocol-model/payload/application/Xrc20/Ticker.d.ts +10 -0
  460. package/dist/neutral/modules/protocol-model/payload/application/Xrc20/Ticker.d.ts.map +1 -0
  461. package/dist/neutral/modules/protocol-model/payload/application/Xrc20/TokenAmount.d.ts +10 -0
  462. package/dist/neutral/modules/protocol-model/payload/application/Xrc20/TokenAmount.d.ts.map +1 -0
  463. package/dist/neutral/modules/protocol-model/payload/application/Xrc20/TokenDeploy.d.ts +27 -0
  464. package/dist/neutral/modules/protocol-model/payload/application/Xrc20/TokenDeploy.d.ts.map +1 -0
  465. package/dist/neutral/modules/protocol-model/payload/application/Xrc20/TokenMint.d.ts +25 -0
  466. package/dist/neutral/modules/protocol-model/payload/application/Xrc20/TokenMint.d.ts.map +1 -0
  467. package/dist/neutral/modules/protocol-model/payload/application/Xrc20/TokenTransfer.d.ts +30 -0
  468. package/dist/neutral/modules/protocol-model/payload/application/Xrc20/TokenTransfer.d.ts.map +1 -0
  469. package/dist/neutral/modules/protocol-model/payload/application/Xrc20/index.d.ts +6 -0
  470. package/dist/neutral/modules/protocol-model/payload/application/Xrc20/index.d.ts.map +1 -0
  471. package/dist/neutral/modules/protocol-model/payload/application/index.d.ts +4 -0
  472. package/dist/neutral/modules/protocol-model/payload/application/index.d.ts.map +1 -0
  473. package/dist/neutral/modules/protocol-model/payload/elevatable/Bridge/BridgeCompletion.d.ts +23 -0
  474. package/dist/neutral/modules/protocol-model/payload/elevatable/Bridge/BridgeCompletion.d.ts.map +1 -0
  475. package/dist/neutral/modules/protocol-model/payload/elevatable/Bridge/BridgeDestinationObservation.d.ts +33 -0
  476. package/dist/neutral/modules/protocol-model/payload/elevatable/Bridge/BridgeDestinationObservation.d.ts.map +1 -0
  477. package/dist/neutral/modules/protocol-model/payload/elevatable/Bridge/BridgeDetails.d.ts +45 -0
  478. package/dist/neutral/modules/protocol-model/payload/elevatable/Bridge/BridgeDetails.d.ts.map +1 -0
  479. package/dist/neutral/modules/protocol-model/payload/elevatable/Bridge/BridgeIntent.d.ts +31 -0
  480. package/dist/neutral/modules/protocol-model/payload/elevatable/Bridge/BridgeIntent.d.ts.map +1 -0
  481. package/dist/neutral/modules/protocol-model/payload/elevatable/Bridge/BridgeSourceObservation.d.ts +33 -0
  482. package/dist/neutral/modules/protocol-model/payload/elevatable/Bridge/BridgeSourceObservation.d.ts.map +1 -0
  483. package/dist/neutral/modules/protocol-model/payload/elevatable/Bridge/index.d.ts +6 -0
  484. package/dist/neutral/modules/protocol-model/payload/elevatable/Bridge/index.d.ts.map +1 -0
  485. package/dist/neutral/modules/protocol-model/payload/elevatable/ChainStakeIntent.d.ts +24 -0
  486. package/dist/neutral/modules/protocol-model/payload/elevatable/ChainStakeIntent.d.ts.map +1 -0
  487. package/dist/neutral/modules/protocol-model/payload/elevatable/Executable.d.ts +21 -0
  488. package/dist/neutral/modules/protocol-model/payload/elevatable/Executable.d.ts.map +1 -0
  489. package/dist/neutral/modules/protocol-model/payload/elevatable/Hash.d.ts +21 -0
  490. package/dist/neutral/modules/protocol-model/payload/elevatable/Hash.d.ts.map +1 -0
  491. package/dist/neutral/modules/protocol-model/payload/elevatable/StepComplete.d.ts +22 -0
  492. package/dist/neutral/modules/protocol-model/payload/elevatable/StepComplete.d.ts.map +1 -0
  493. package/dist/neutral/modules/protocol-model/payload/elevatable/Time.d.ts +71 -0
  494. package/dist/neutral/modules/protocol-model/payload/elevatable/Time.d.ts.map +1 -0
  495. package/dist/neutral/modules/protocol-model/payload/elevatable/index.d.ts +7 -0
  496. package/dist/neutral/modules/protocol-model/payload/elevatable/index.d.ts.map +1 -0
  497. package/dist/neutral/modules/protocol-model/payload/index.d.ts +4 -0
  498. package/dist/neutral/modules/protocol-model/payload/index.d.ts.map +1 -0
  499. package/dist/neutral/modules/protocol-model/provider/Provider.d.ts +6 -0
  500. package/dist/neutral/modules/protocol-model/provider/Provider.d.ts.map +1 -0
  501. package/dist/neutral/modules/protocol-model/provider/ProviderMoniker.d.ts +9 -0
  502. package/dist/neutral/modules/protocol-model/provider/ProviderMoniker.d.ts.map +1 -0
  503. package/dist/neutral/modules/protocol-model/provider/index.d.ts +3 -0
  504. package/dist/neutral/modules/protocol-model/provider/index.d.ts.map +1 -0
  505. package/dist/neutral/modules/protocol-model/rejection/BlockRejectionPayload.d.ts +169 -0
  506. package/dist/neutral/modules/protocol-model/rejection/BlockRejectionPayload.d.ts.map +1 -0
  507. package/dist/neutral/modules/protocol-model/rejection/RejectionError.d.ts +10 -0
  508. package/dist/neutral/modules/protocol-model/rejection/RejectionError.d.ts.map +1 -0
  509. package/dist/neutral/modules/protocol-model/rejection/TransactionRejectionPayload.d.ts +205 -0
  510. package/dist/neutral/modules/protocol-model/rejection/TransactionRejectionPayload.d.ts.map +1 -0
  511. package/dist/neutral/modules/protocol-model/rejection/index.d.ts +4 -0
  512. package/dist/neutral/modules/protocol-model/rejection/index.d.ts.map +1 -0
  513. package/dist/neutral/modules/protocol-model/transaction/TransactionBoundWitness.d.ts +2127 -0
  514. package/dist/neutral/modules/protocol-model/transaction/TransactionBoundWitness.d.ts.map +1 -0
  515. package/dist/neutral/modules/protocol-model/transaction/TransactionFees.d.ts +138 -0
  516. package/dist/neutral/modules/protocol-model/transaction/TransactionFees.d.ts.map +1 -0
  517. package/dist/neutral/modules/protocol-model/transaction/TransactionGasCosts.d.ts +38 -0
  518. package/dist/neutral/modules/protocol-model/transaction/TransactionGasCosts.d.ts.map +1 -0
  519. package/dist/neutral/modules/protocol-model/transaction/index.d.ts +4 -0
  520. package/dist/neutral/modules/protocol-model/transaction/index.d.ts.map +1 -0
  521. package/dist/neutral/modules/protocol-model/xl1/attoXl1.d.ts +15 -0
  522. package/dist/neutral/modules/protocol-model/xl1/attoXl1.d.ts.map +1 -0
  523. package/dist/neutral/modules/protocol-model/xl1/femtoXl1.d.ts +15 -0
  524. package/dist/neutral/modules/protocol-model/xl1/femtoXl1.d.ts.map +1 -0
  525. package/dist/neutral/modules/protocol-model/xl1/index.d.ts +9 -0
  526. package/dist/neutral/modules/protocol-model/xl1/index.d.ts.map +1 -0
  527. package/dist/neutral/modules/protocol-model/xl1/isXl1Factory.d.ts +12 -0
  528. package/dist/neutral/modules/protocol-model/xl1/isXl1Factory.d.ts.map +1 -0
  529. package/dist/neutral/modules/protocol-model/xl1/microXl1.d.ts +15 -0
  530. package/dist/neutral/modules/protocol-model/xl1/microXl1.d.ts.map +1 -0
  531. package/dist/neutral/modules/protocol-model/xl1/milliXl1.d.ts +15 -0
  532. package/dist/neutral/modules/protocol-model/xl1/milliXl1.d.ts.map +1 -0
  533. package/dist/neutral/modules/protocol-model/xl1/nanoXl1.d.ts +15 -0
  534. package/dist/neutral/modules/protocol-model/xl1/nanoXl1.d.ts.map +1 -0
  535. package/dist/neutral/modules/protocol-model/xl1/picoXl1.d.ts +15 -0
  536. package/dist/neutral/modules/protocol-model/xl1/picoXl1.d.ts.map +1 -0
  537. package/dist/neutral/modules/protocol-model/xl1/xl1.d.ts +15 -0
  538. package/dist/neutral/modules/protocol-model/xl1/xl1.d.ts.map +1 -0
  539. package/dist/neutral/modules/protocol-model/xl1/xl1MaxValue.d.ts +3 -0
  540. package/dist/neutral/modules/protocol-model/xl1/xl1MaxValue.d.ts.map +1 -0
  541. package/dist/neutral/modules/protocol-model/xl1/xl1Units.d.ts +10 -0
  542. package/dist/neutral/modules/protocol-model/xl1/xl1Units.d.ts.map +1 -0
  543. package/dist/neutral/modules/schema/Executable.d.ts +5 -0
  544. package/dist/neutral/modules/schema/Executable.d.ts.map +1 -0
  545. package/dist/neutral/modules/schema/StorageMeta.d.ts +5 -0
  546. package/dist/neutral/modules/schema/StorageMeta.d.ts.map +1 -0
  547. package/dist/neutral/modules/schema/boundwitness/BlockBoundWitness.d.ts +17 -0
  548. package/dist/neutral/modules/schema/boundwitness/BlockBoundWitness.d.ts.map +1 -0
  549. package/dist/neutral/modules/schema/boundwitness/BlockBoundWitnessWithStorageMeta.d.ts +18 -0
  550. package/dist/neutral/modules/schema/boundwitness/BlockBoundWitnessWithStorageMeta.d.ts.map +1 -0
  551. package/dist/neutral/modules/schema/boundwitness/TransactionBoundWitness.d.ts +17 -0
  552. package/dist/neutral/modules/schema/boundwitness/TransactionBoundWitness.d.ts.map +1 -0
  553. package/dist/neutral/modules/schema/boundwitness/TransactionBoundWitnessWithStorageMeta.d.ts +17 -0
  554. package/dist/neutral/modules/schema/boundwitness/TransactionBoundWitnessWithStorageMeta.d.ts.map +1 -0
  555. package/dist/neutral/modules/schema/boundwitness/index.d.ts +5 -0
  556. package/dist/neutral/modules/schema/boundwitness/index.d.ts.map +1 -0
  557. package/dist/neutral/modules/schema/index.d.ts +5 -0
  558. package/dist/neutral/modules/schema/index.d.ts.map +1 -0
  559. package/dist/neutral/modules/schema/mergeJsonSchemaRequired.d.ts +7 -0
  560. package/dist/neutral/modules/schema/mergeJsonSchemaRequired.d.ts.map +1 -0
  561. package/dist/neutral/modules/schema/payload/ChainStakeIntent.d.ts +17 -0
  562. package/dist/neutral/modules/schema/payload/ChainStakeIntent.d.ts.map +1 -0
  563. package/dist/neutral/modules/schema/payload/HashPayload.d.ts +17 -0
  564. package/dist/neutral/modules/schema/payload/HashPayload.d.ts.map +1 -0
  565. package/dist/neutral/modules/schema/payload/TransferPayload.d.ts +17 -0
  566. package/dist/neutral/modules/schema/payload/TransferPayload.d.ts.map +1 -0
  567. package/dist/neutral/modules/schema/payload/index.d.ts +4 -0
  568. package/dist/neutral/modules/schema/payload/index.d.ts.map +1 -0
  569. package/dist/neutral/{test → modules/test}/buildRandomTransaction.d.ts +1 -1
  570. package/dist/neutral/modules/test/buildRandomTransaction.d.ts.map +1 -0
  571. package/dist/neutral/{test → modules/test}/buildTransaction.d.ts +1 -1
  572. package/dist/neutral/modules/test/buildTransaction.d.ts.map +1 -0
  573. package/dist/neutral/{test → modules/test}/createTransferPayload.d.ts +1 -1
  574. package/dist/neutral/modules/test/createTransferPayload.d.ts.map +1 -0
  575. package/dist/neutral/modules/test/index.d.ts +4 -0
  576. package/dist/neutral/modules/test/index.d.ts.map +1 -0
  577. package/dist/neutral/modules/validation/block/index.d.ts +2 -0
  578. package/dist/neutral/modules/validation/block/index.d.ts.map +1 -0
  579. package/dist/neutral/modules/validation/block/validators/BlockCumulativeBalanceValidator.d.ts +7 -0
  580. package/dist/neutral/modules/validation/block/validators/BlockCumulativeBalanceValidator.d.ts.map +1 -0
  581. package/dist/neutral/modules/validation/block/validators/index.d.ts +2 -0
  582. package/dist/neutral/modules/validation/block/validators/index.d.ts.map +1 -0
  583. package/dist/neutral/modules/validation/boundwitness/index.d.ts +2 -0
  584. package/dist/neutral/modules/validation/boundwitness/index.d.ts.map +1 -0
  585. package/dist/neutral/modules/validation/boundwitness/validators/BoundWitnessReferences.d.ts +5 -0
  586. package/dist/neutral/modules/validation/boundwitness/validators/BoundWitnessReferences.d.ts.map +1 -0
  587. package/dist/neutral/modules/validation/boundwitness/validators/BoundWitnessSignatures.d.ts +4 -0
  588. package/dist/neutral/modules/validation/boundwitness/validators/BoundWitnessSignatures.d.ts.map +1 -0
  589. package/dist/neutral/modules/validation/boundwitness/validators/index.d.ts +3 -0
  590. package/dist/neutral/modules/validation/boundwitness/validators/index.d.ts.map +1 -0
  591. package/dist/neutral/modules/validation/index.d.ts +4 -0
  592. package/dist/neutral/modules/validation/index.d.ts.map +1 -0
  593. package/dist/neutral/modules/validation/transaction/index.d.ts +3 -0
  594. package/dist/neutral/modules/validation/transaction/index.d.ts.map +1 -0
  595. package/dist/neutral/modules/validation/transaction/validateTransaction.d.ts +4 -0
  596. package/dist/neutral/modules/validation/transaction/validateTransaction.d.ts.map +1 -0
  597. package/dist/neutral/modules/validation/transaction/validators/SignerAuthorization.d.ts +48 -0
  598. package/dist/neutral/modules/validation/transaction/validators/SignerAuthorization.d.ts.map +1 -0
  599. package/dist/neutral/modules/validation/transaction/validators/TransactionBoundWitnessValidator.d.ts +18 -0
  600. package/dist/neutral/modules/validation/transaction/validators/TransactionBoundWitnessValidator.d.ts.map +1 -0
  601. package/dist/neutral/modules/validation/transaction/validators/TransactionDurationValidator.d.ts +4 -0
  602. package/dist/neutral/modules/validation/transaction/validators/TransactionDurationValidator.d.ts.map +1 -0
  603. package/dist/neutral/modules/validation/transaction/validators/TransactionElevationValidator.d.ts +4 -0
  604. package/dist/neutral/modules/validation/transaction/validators/TransactionElevationValidator.d.ts.map +1 -0
  605. package/dist/neutral/modules/validation/transaction/validators/TransactionFromValidator.d.ts +4 -0
  606. package/dist/neutral/modules/validation/transaction/validators/TransactionFromValidator.d.ts.map +1 -0
  607. package/dist/neutral/modules/validation/transaction/validators/TransactionGasValidator.d.ts +4 -0
  608. package/dist/neutral/modules/validation/transaction/validators/TransactionGasValidator.d.ts.map +1 -0
  609. package/dist/neutral/modules/validation/transaction/validators/TransactionJsonSchemaValidator.d.ts +4 -0
  610. package/dist/neutral/modules/validation/transaction/validators/TransactionJsonSchemaValidator.d.ts.map +1 -0
  611. package/dist/neutral/modules/validation/transaction/validators/TransactionProtocolValidator.d.ts +4 -0
  612. package/dist/neutral/modules/validation/transaction/validators/TransactionProtocolValidator.d.ts.map +1 -0
  613. package/dist/neutral/modules/validation/transaction/validators/TransactionTransfersValidator.d.ts +17 -0
  614. package/dist/neutral/modules/validation/transaction/validators/TransactionTransfersValidator.d.ts.map +1 -0
  615. package/dist/neutral/modules/validation/transaction/validators/index.d.ts +10 -0
  616. package/dist/neutral/modules/validation/transaction/validators/index.d.ts.map +1 -0
  617. package/dist/neutral/network-model.d.ts +2 -0
  618. package/dist/neutral/network-model.d.ts.map +1 -0
  619. package/dist/neutral/network-model.mjs +431 -0
  620. package/dist/neutral/network-model.mjs.map +7 -0
  621. package/dist/neutral/protocol-lib.d.ts +2 -0
  622. package/dist/neutral/protocol-lib.d.ts.map +1 -0
  623. package/dist/neutral/protocol-lib.mjs +584 -0
  624. package/dist/neutral/protocol-lib.mjs.map +7 -0
  625. package/dist/neutral/protocol-model.d.ts +2 -0
  626. package/dist/neutral/protocol-model.d.ts.map +1 -0
  627. package/dist/neutral/protocol-model.mjs +2047 -0
  628. package/dist/neutral/protocol-model.mjs.map +7 -0
  629. package/dist/neutral/schema.d.ts +2 -0
  630. package/dist/neutral/schema.d.ts.map +1 -0
  631. package/dist/neutral/schema.mjs +259 -0
  632. package/dist/neutral/schema.mjs.map +7 -0
  633. package/dist/neutral/test.d.ts +2 -0
  634. package/dist/neutral/test.d.ts.map +1 -0
  635. package/dist/neutral/{test/index.mjs → test.mjs} +8 -8
  636. package/dist/neutral/test.mjs.map +7 -0
  637. package/dist/neutral/validation.d.ts +2 -0
  638. package/dist/neutral/validation.d.ts.map +1 -0
  639. package/dist/neutral/validation.mjs +510 -0
  640. package/dist/neutral/validation.mjs.map +7 -0
  641. package/package.json +49 -23
  642. package/dist/neutral/test/buildRandomTransaction.d.ts.map +0 -1
  643. package/dist/neutral/test/buildTransaction.d.ts.map +0 -1
  644. package/dist/neutral/test/createTransferPayload.d.ts.map +0 -1
  645. package/dist/neutral/test/index.d.ts +0 -4
  646. package/dist/neutral/test/index.d.ts.map +0 -1
  647. package/dist/neutral/test/index.mjs.map +0 -7
@@ -0,0 +1,263 @@
1
+ import { z } from 'zod';
2
+ import type { IndexSummaryFamily, IndexWatermark } from '../../../protocol-lib/index.js';
3
+ /** Bumped when the on-disk index layout changes shape, so readers can detect a mismatch. */
4
+ export declare const INDEX_LAYOUT_VERSION = 1;
5
+ /** Schema id for the index manifest document (the static layout descriptor). */
6
+ export declare const IndexManifestSchema: "network.xyo.s3.index.manifest";
7
+ /** Type literal for the index manifest schema. */
8
+ export type IndexManifestSchema = typeof IndexManifestSchema;
9
+ /** Schema id for the index head document (the progress watermark). */
10
+ export declare const IndexHeadSchema: "network.xyo.s3.index.head";
11
+ /** Type literal for the index head schema. */
12
+ export type IndexHeadSchema = typeof IndexHeadSchema;
13
+ /** Per-family descriptor carried in the manifest. */
14
+ export declare const IndexManifestFamilyZod: z.ZodObject<{
15
+ maxStep: z.ZodInt;
16
+ path: z.ZodString;
17
+ }, z.core.$strip>;
18
+ /** Type for one index manifest family descriptor. */
19
+ export type IndexManifestFamily = z.infer<typeof IndexManifestFamilyZod>;
20
+ /** Zod schema for the static index layout descriptor at `indexManifestPath()`. */
21
+ export declare const IndexManifestZod: z.ZodObject<{
22
+ families: z.ZodObject<{
23
+ balances: z.ZodObject<{
24
+ maxStep: z.ZodInt;
25
+ path: z.ZodString;
26
+ }, z.core.$strip>;
27
+ blocks: z.ZodObject<{
28
+ maxStep: z.ZodInt;
29
+ path: z.ZodString;
30
+ }, z.core.$strip>;
31
+ schemas: z.ZodObject<{
32
+ maxStep: z.ZodInt;
33
+ path: z.ZodString;
34
+ }, z.core.$strip>;
35
+ transfers: z.ZodObject<{
36
+ maxStep: z.ZodInt;
37
+ path: z.ZodString;
38
+ }, z.core.$strip>;
39
+ }, z.core.$strip>;
40
+ schema: z.ZodLiteral<"network.xyo.s3.index.manifest">;
41
+ version: z.ZodInt;
42
+ }, z.core.$strip>;
43
+ /** The static index layout descriptor at `indexManifestPath()`. */
44
+ export type IndexManifest = z.infer<typeof IndexManifestZod>;
45
+ /** Type guard that checks if a value is a valid IndexManifest. */
46
+ export declare const isIndexManifest: <T>(value: T) => value is T & {
47
+ families: {
48
+ balances: {
49
+ maxStep: number;
50
+ path: string;
51
+ };
52
+ blocks: {
53
+ maxStep: number;
54
+ path: string;
55
+ };
56
+ schemas: {
57
+ maxStep: number;
58
+ path: string;
59
+ };
60
+ transfers: {
61
+ maxStep: number;
62
+ path: string;
63
+ };
64
+ };
65
+ schema: "network.xyo.s3.index.manifest";
66
+ version: number;
67
+ };
68
+ /** Converts a value to IndexManifest, throwing if invalid. */
69
+ export declare const asIndexManifest: {
70
+ <T>(value: T): (T & {
71
+ families: {
72
+ balances: {
73
+ maxStep: number;
74
+ path: string;
75
+ };
76
+ blocks: {
77
+ maxStep: number;
78
+ path: string;
79
+ };
80
+ schemas: {
81
+ maxStep: number;
82
+ path: string;
83
+ };
84
+ transfers: {
85
+ maxStep: number;
86
+ path: string;
87
+ };
88
+ };
89
+ schema: "network.xyo.s3.index.manifest";
90
+ version: number;
91
+ }) | undefined;
92
+ <T>(value: T, assert: import("@ariestools/sdk").ZodFactoryConfig): T & {
93
+ families: {
94
+ balances: {
95
+ maxStep: number;
96
+ path: string;
97
+ };
98
+ blocks: {
99
+ maxStep: number;
100
+ path: string;
101
+ };
102
+ schemas: {
103
+ maxStep: number;
104
+ path: string;
105
+ };
106
+ transfers: {
107
+ maxStep: number;
108
+ path: string;
109
+ };
110
+ };
111
+ schema: "network.xyo.s3.index.manifest";
112
+ version: number;
113
+ };
114
+ };
115
+ /** Non-validating cast to IndexManifest. */
116
+ export declare const toIndexManifest: {
117
+ <T>(value: T): (T & {
118
+ families: {
119
+ balances: {
120
+ maxStep: number;
121
+ path: string;
122
+ };
123
+ blocks: {
124
+ maxStep: number;
125
+ path: string;
126
+ };
127
+ schemas: {
128
+ maxStep: number;
129
+ path: string;
130
+ };
131
+ transfers: {
132
+ maxStep: number;
133
+ path: string;
134
+ };
135
+ };
136
+ schema: "network.xyo.s3.index.manifest";
137
+ version: number;
138
+ }) | undefined;
139
+ <T>(value: T, assert: import("@ariestools/sdk").ZodFactoryConfig): T & {
140
+ families: {
141
+ balances: {
142
+ maxStep: number;
143
+ path: string;
144
+ };
145
+ blocks: {
146
+ maxStep: number;
147
+ path: string;
148
+ };
149
+ schemas: {
150
+ maxStep: number;
151
+ path: string;
152
+ };
153
+ transfers: {
154
+ maxStep: number;
155
+ path: string;
156
+ };
157
+ };
158
+ schema: "network.xyo.s3.index.manifest";
159
+ version: number;
160
+ };
161
+ };
162
+ /** Completed frame counts per family in the index head watermark. */
163
+ export declare const IndexHeadFamiliesZod: z.ZodObject<{
164
+ balances: z.ZodInt;
165
+ blocks: z.ZodInt;
166
+ schemas: z.ZodInt;
167
+ transfers: z.ZodInt;
168
+ }, z.core.$strip>;
169
+ /** Zod schema for the index progress watermark at `indexHeadPath()`. */
170
+ export declare const IndexHeadZod: z.ZodObject<{
171
+ block: z.ZodInt;
172
+ families: z.ZodObject<{
173
+ balances: z.ZodInt;
174
+ blocks: z.ZodInt;
175
+ schemas: z.ZodInt;
176
+ transfers: z.ZodInt;
177
+ }, z.core.$strip>;
178
+ hash: z.ZodString;
179
+ schema: z.ZodLiteral<"network.xyo.s3.index.head">;
180
+ updatedAt: z.ZodString;
181
+ version: z.ZodInt;
182
+ }, z.core.$strip>;
183
+ /** The index progress watermark at `indexHeadPath()`. */
184
+ export type IndexHead = z.infer<typeof IndexHeadZod>;
185
+ /** Type guard that checks if a value is a valid IndexHead. */
186
+ export declare const isIndexHead: <T>(value: T) => value is T & {
187
+ block: number;
188
+ families: {
189
+ balances: number;
190
+ blocks: number;
191
+ schemas: number;
192
+ transfers: number;
193
+ };
194
+ hash: string;
195
+ schema: "network.xyo.s3.index.head";
196
+ updatedAt: string;
197
+ version: number;
198
+ };
199
+ /** Converts a value to IndexHead, throwing if invalid. */
200
+ export declare const asIndexHead: {
201
+ <T>(value: T): (T & {
202
+ block: number;
203
+ families: {
204
+ balances: number;
205
+ blocks: number;
206
+ schemas: number;
207
+ transfers: number;
208
+ };
209
+ hash: string;
210
+ schema: "network.xyo.s3.index.head";
211
+ updatedAt: string;
212
+ version: number;
213
+ }) | undefined;
214
+ <T>(value: T, assert: import("@ariestools/sdk").ZodFactoryConfig): T & {
215
+ block: number;
216
+ families: {
217
+ balances: number;
218
+ blocks: number;
219
+ schemas: number;
220
+ transfers: number;
221
+ };
222
+ hash: string;
223
+ schema: "network.xyo.s3.index.head";
224
+ updatedAt: string;
225
+ version: number;
226
+ };
227
+ };
228
+ /** Non-validating cast to IndexHead. */
229
+ export declare const toIndexHead: {
230
+ <T>(value: T): (T & {
231
+ block: number;
232
+ families: {
233
+ balances: number;
234
+ blocks: number;
235
+ schemas: number;
236
+ transfers: number;
237
+ };
238
+ hash: string;
239
+ schema: "network.xyo.s3.index.head";
240
+ updatedAt: string;
241
+ version: number;
242
+ }) | undefined;
243
+ <T>(value: T, assert: import("@ariestools/sdk").ZodFactoryConfig): T & {
244
+ block: number;
245
+ families: {
246
+ balances: number;
247
+ blocks: number;
248
+ schemas: number;
249
+ transfers: number;
250
+ };
251
+ hash: string;
252
+ schema: "network.xyo.s3.index.head";
253
+ updatedAt: string;
254
+ version: number;
255
+ };
256
+ };
257
+ /** Builds per-family manifest descriptors with path templates derived from the path builders. */
258
+ export declare function createIndexManifestFamilies(maxSteps: Record<IndexSummaryFamily, number>): Record<IndexSummaryFamily, IndexManifestFamily>;
259
+ /** Builds a validated index manifest with path templates derived from the path builders. */
260
+ export declare function createIndexManifest(maxSteps: Record<IndexSummaryFamily, number>): IndexManifest;
261
+ /** Builds a validated index head watermark from an indexer progress snapshot. */
262
+ export declare function createIndexHead(watermark: IndexWatermark, updatedAt?: string): IndexHead;
263
+ //# sourceMappingURL=indexManifest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"indexManifest.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/network-model/staticRest/layout/indexManifest.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,KAAK,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAIvE,4FAA4F;AAC5F,eAAO,MAAM,oBAAoB,IAAI,CAAA;AAErC,gFAAgF;AAChF,eAAO,MAAM,mBAAmB,EAAG,+BAAwC,CAAA;AAC3E,kDAAkD;AAClD,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAA;AAE5D,sEAAsE;AACtE,eAAO,MAAM,eAAe,EAAG,2BAAoC,CAAA;AACnE,8CAA8C;AAC9C,MAAM,MAAM,eAAe,GAAG,OAAO,eAAe,CAAA;AAEpD,qDAAqD;AACrD,eAAO,MAAM,sBAAsB;;;iBAKjC,CAAA;AAEF,qDAAqD;AACrD,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAA;AASxE,kFAAkF;AAClF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;iBAI3B,CAAA;AAEF,mEAAmE;AACnE,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAA;AAE5D,kEAAkE;AAClE,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;CAAiC,CAAA;AAC7D,8DAA8D;AAC9D,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAoD,CAAA;AAChF,4CAA4C;AAC5C,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAoD,CAAA;AAEhF,qEAAqE;AACrE,eAAO,MAAM,oBAAoB;;;;;iBAK/B,CAAA;AAEF,wEAAwE;AACxE,eAAO,MAAM,YAAY;;;;;;;;;;;;iBAWvB,CAAA;AAEF,yDAAyD;AACzD,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAA;AAEpD,8DAA8D;AAC9D,eAAO,MAAM,WAAW;;;;;;;;;;;;CAA6B,CAAA;AACrD,0DAA0D;AAC1D,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA4C,CAAA;AACpE,wCAAwC;AACxC,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA4C,CAAA;AAEpE,iGAAiG;AACjG,wBAAgB,2BAA2B,CACzC,QAAQ,EAAE,MAAM,CAAC,kBAAkB,EAAE,MAAM,CAAC,GAC3C,MAAM,CAAC,kBAAkB,EAAE,mBAAmB,CAAC,CAOjD;AAED,4FAA4F;AAC5F,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,MAAM,CAAC,kBAAkB,EAAE,MAAM,CAAC,GAAG,aAAa,CAM/F;AAED,iFAAiF;AACjF,wBAAgB,eAAe,CAAC,SAAS,EAAE,cAAc,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAWxF"}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Path builders for the chain-state (mutable) bucket.
3
+ *
4
+ * Paths are relative — no leading slash — and joined to a base URL by the consumer.
5
+ */
6
+ /** The mutable head pointer: the current head SignedHydratedBlockWithHashMeta. */
7
+ export declare const headPath: () => string;
8
+ /** The chain-contract manifest: static per-chain config (rewards contract, staking token, fork info). Published once. */
9
+ export declare const chainContractPath: () => string;
10
+ //# sourceMappingURL=chainState.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chainState.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/network-model/staticRest/paths/chainState.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,kFAAkF;AAClF,eAAO,MAAM,QAAQ,QAAO,MAA2B,CAAA;AAEvD,yHAAyH;AACzH,eAAO,MAAM,iBAAiB,QAAO,MAA+B,CAAA"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Path builders for the finalized (immutable) bucket.
3
+ *
4
+ * Paths are relative — no leading slash — and joined to a base URL by the consumer.
5
+ */
6
+ /** The finalized layout descriptor (path templates, encoding, version, earliest block). */
7
+ export declare const manifestPath: () => string;
8
+ /** A block by number: SignedHydratedBlockWithHashMeta. */
9
+ export declare const blockNumberPath: (block: number) => string;
10
+ /** A block by hash: the same content as its by-number twin. */
11
+ export declare const blockHashPath: (hash: string) => string;
12
+ /** A payload by hash: WithHashMeta<Payload>. */
13
+ export declare const payloadPath: (hash: string) => string;
14
+ //# sourceMappingURL=finalized.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"finalized.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/network-model/staticRest/paths/finalized.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,2FAA2F;AAC3F,eAAO,MAAM,YAAY,QAAO,MAAyB,CAAA;AAEzD,0DAA0D;AAC1D,eAAO,MAAM,eAAe,GAAI,OAAO,MAAM,KAAG,MAAsC,CAAA;AAEtF,+DAA+D;AAC/D,eAAO,MAAM,aAAa,GAAI,MAAM,MAAM,KAAG,MAAmC,CAAA;AAEhF,gDAAgD;AAChD,eAAO,MAAM,WAAW,GAAI,MAAM,MAAM,KAAG,MAAgC,CAAA"}
@@ -0,0 +1,4 @@
1
+ export * from './chainState.js';
2
+ export * from './finalized.js';
3
+ export * from './indexPaths.js';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/network-model/staticRest/paths/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,iBAAiB,CAAA"}
@@ -0,0 +1,14 @@
1
+ import type { IndexSummaryFamily } from '../../../protocol-lib/index.js';
2
+ /**
3
+ * Path builders for the index bucket.
4
+ *
5
+ * The index is a separate, single-writer bucket holding completed step summaries for several
6
+ * families. Paths are relative — no leading slash — and joined to a base URL by the consumer.
7
+ */
8
+ /** A completed frame's summary for a family, e.g. `blocks/2/5.json`. Immutable once written. */
9
+ export declare const indexSummaryPath: (family: IndexSummaryFamily, stepLevel: number, stepIndex: number) => string;
10
+ /** The index layout descriptor (families, max step, encoding, version). */
11
+ export declare const indexManifestPath: () => string;
12
+ /** The indexer's progress watermark (highest block the index is complete through). */
13
+ export declare const indexHeadPath: () => string;
14
+ //# sourceMappingURL=indexPaths.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"indexPaths.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/network-model/staticRest/paths/indexPaths.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAA;AAEvD;;;;;GAKG;AAEH,gGAAgG;AAChG,eAAO,MAAM,gBAAgB,GAAI,QAAQ,kBAAkB,EAAE,WAAW,MAAM,EAAE,WAAW,MAAM,KAAG,MACxD,CAAA;AAE5C,2EAA2E;AAC3E,eAAO,MAAM,iBAAiB,QAAO,MAAyB,CAAA;AAE9D,sFAAsF;AACtF,eAAO,MAAM,aAAa,QAAO,MAAqB,CAAA"}
@@ -0,0 +1,27 @@
1
+ import type { IndexSummaryFamily } from '../../protocol-lib/index.js';
2
+ /**
3
+ * Replaces concrete slot literals in a path with named `{placeholder}` segments.
4
+ * Used to derive manifest path templates from the path builders so the two cannot drift.
5
+ */
6
+ export declare function toPathTemplate(path: string, slots: {
7
+ literal: string;
8
+ name: string;
9
+ }[]): string;
10
+ /** Fills `{placeholder}` segments in a manifest path template. Used in conformance tests. */
11
+ export declare function interpolatePathTemplate(template: string, values: Record<string, string | number>): string;
12
+ /** Self-describing template for `blockNumberPath`. */
13
+ export declare const blockNumberPathTemplate: () => string;
14
+ /** Self-describing template for `blockHashPath`. */
15
+ export declare const blockHashPathTemplate: () => string;
16
+ /** Self-describing template for `payloadPath`. */
17
+ export declare const payloadPathTemplate: () => string;
18
+ /** Self-describing templates for finalized + chain-state files carried in the chain manifest. */
19
+ export declare function chainManifestPathTemplates(): {
20
+ blockByHash: string;
21
+ blockByNumber: string;
22
+ head: string;
23
+ payload: string;
24
+ };
25
+ /** Self-describing template for one index summary family, e.g. `blocks/{level}/{index}.json`. */
26
+ export declare function indexSummaryPathTemplate(family: IndexSummaryFamily): string;
27
+ //# sourceMappingURL=templates.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"templates.d.ts","sourceRoot":"","sources":["../../../../../src/modules/network-model/staticRest/templates.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAA;AAgBvD;;;GAGG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,EAAE,GAAG,MAAM,CAS/F;AAED,6FAA6F;AAC7F,wBAAgB,uBAAuB,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,GAAG,MAAM,CAMzG;AAED,sDAAsD;AACtD,eAAO,MAAM,uBAAuB,QAAO,MACwE,CAAA;AAEnH,oDAAoD;AACpD,eAAO,MAAM,qBAAqB,QAAO,MAC6D,CAAA;AAEtG,kDAAkD;AAClD,eAAO,MAAM,mBAAmB,QAAO,MAC6D,CAAA;AAEpG,iGAAiG;AACjG,wBAAgB,0BAA0B,IAAI;IAC5C,WAAW,EAAE,MAAM,CAAA;IACnB,aAAa,EAAE,MAAM,CAAA;IACrB,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;CAChB,CAOA;AAED,iGAAiG;AACjG,wBAAgB,wBAAwB,CAAC,MAAM,EAAE,kBAAkB,GAAG,MAAM,CAM3E"}
@@ -0,0 +1,28 @@
1
+ import type { NetworkId } from '../models/index.js';
2
+ /** Builds URLs to pages on an XL1 chain explorer for a specific network. */
3
+ export declare class ExplorerLinks {
4
+ readonly explorerUrl: string;
5
+ readonly networkId: NetworkId;
6
+ constructor(explorerUrl: string, networkId: NetworkId);
7
+ /** `{explorerUrl}/xl1/{networkId}/address/{address}` */
8
+ address(address: string): string;
9
+ /** `{explorerUrl}/xl1/{networkId}/addresses` */
10
+ addresses(): string;
11
+ /** `{explorerUrl}/xl1/{networkId}/block/{blockHash}` */
12
+ block(blockHash: string): string;
13
+ /** `{explorerUrl}/xl1/{networkId}/block/number/{blockNumber}` */
14
+ blockByNumber(blockNumber: number | string): string;
15
+ /** `{explorerUrl}/xl1/{networkId}/block/{blockHash}/payload/{payloadHash}[/{render}]` */
16
+ blockPayload(blockHash: string, payloadHash: string, render?: string): string;
17
+ /** `{explorerUrl}/xl1/{networkId}/blocks` */
18
+ blocks(): string;
19
+ /** `{explorerUrl}/xl1/{networkId}` */
20
+ network(): string;
21
+ /** `{explorerUrl}/xl1/{networkId}/transaction/{txHash}` */
22
+ transaction(txHash: string): string;
23
+ /** `{explorerUrl}/xl1/{networkId}/transaction/{txHash}/payload/{payloadHash}[/{render}]` */
24
+ transactionPayload(txHash: string, payloadHash: string, render?: string): string;
25
+ /** `{explorerUrl}/xl1/{networkId}/transactions` */
26
+ transactions(): string;
27
+ }
28
+ //# sourceMappingURL=ExplorerLinks.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExplorerLinks.d.ts","sourceRoot":"","sources":["../../../../../src/modules/network-model/utils/ExplorerLinks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AAEnD,4EAA4E;AAC5E,qBAAa,aAAa;IACxB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAA;IAC5B,QAAQ,CAAC,SAAS,EAAE,SAAS,CAAA;gBAEjB,WAAW,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS;IAKrD,wDAAwD;IACxD,OAAO,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM;IAIhC,gDAAgD;IAChD,SAAS,IAAI,MAAM;IAInB,wDAAwD;IACxD,KAAK,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM;IAIhC,iEAAiE;IACjE,aAAa,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM;IAInD,yFAAyF;IACzF,YAAY,CAAC,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM;IAK7E,6CAA6C;IAC7C,MAAM,IAAI,MAAM;IAIhB,sCAAsC;IACtC,OAAO,IAAI,MAAM;IAIjB,2DAA2D;IAC3D,WAAW,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM;IAInC,4FAA4F;IAC5F,kBAAkB,CAAC,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM;IAKhF,mDAAmD;IACnD,YAAY,IAAI,MAAM;CAGvB"}
@@ -0,0 +1,2 @@
1
+ export * from './ExplorerLinks.js';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/network-model/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA"}
@@ -0,0 +1,7 @@
1
+ import type { MeterProvider, TracerProvider } from '@opentelemetry/api';
2
+ /** Configuration for OpenTelemetry metric and trace providers */
3
+ export interface OpenTelemetryProviders {
4
+ meterProvider?: MeterProvider;
5
+ traceProvider?: TracerProvider;
6
+ }
7
+ //# sourceMappingURL=OpenTelemetryProviders.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OpenTelemetryProviders.d.ts","sourceRoot":"","sources":["../../../../src/modules/protocol-lib/OpenTelemetryProviders.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AAEvE,iEAAiE;AACjE,MAAM,WAAW,sBAAsB;IACrC,aAAa,CAAC,EAAE,aAAa,CAAA;IAC7B,aAAa,CAAC,EAAE,cAAc,CAAA;CAC/B"}
@@ -0,0 +1,4 @@
1
+ import type { XyoAddress } from '@xyo-network/sdk';
2
+ /** Returns the deterministic derived receive address for an address and optional scope. */
3
+ export declare function derivedReceiveAddress(address: XyoAddress, scope?: string): XyoAddress;
4
+ //# sourceMappingURL=derivedReceiveAddress.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"derivedReceiveAddress.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-lib/address/derivedReceiveAddress.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAGlD,2FAA2F;AAC3F,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,UAAU,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,UAAU,CAKrF"}
@@ -0,0 +1,4 @@
1
+ export * from './derivedReceiveAddress.js';
2
+ export * from './rewardAddressFromStepIdentity.js';
3
+ export * from './sentinelAddressFromSchema.js';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-lib/address/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAA;AAC1C,cAAc,oCAAoC,CAAA;AAClD,cAAc,gCAAgC,CAAA"}
@@ -0,0 +1,7 @@
1
+ import type { XyoAddress } from '@xyo-network/sdk';
2
+ import { type StepIdentity } from '../../protocol-model/index.js';
3
+ /** Returns the deterministic reward-holder address for a completed step. */
4
+ export declare function rewardAddressFromStepIdentity({ block, step }: StepIdentity): XyoAddress;
5
+ /** @deprecated use rewardAddressFromStepIdentity instead */
6
+ export declare const completedStepRewardAddress: typeof rewardAddressFromStepIdentity;
7
+ //# sourceMappingURL=rewardAddressFromStepIdentity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rewardAddressFromStepIdentity.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-lib/address/rewardAddressFromStepIdentity.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAGlD,OAAO,EAAE,KAAK,YAAY,EAAa,MAAM,iBAAiB,CAAA;AAE9D,4EAA4E;AAC5E,wBAAgB,6BAA6B,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,YAAY,GAAG,UAAU,CAMvF;AAED,4DAA4D;AAC5D,eAAO,MAAM,0BAA0B,sCAAgC,CAAA"}
@@ -0,0 +1,21 @@
1
+ import type { XyoAddress } from '@xyo-network/sdk';
2
+ /**
3
+ * Returns a deterministic no-private-key sentinel address derived from a schema,
4
+ * optionally bound to a specific payload hash for per-payload burn semantics.
5
+ *
6
+ * Without `payloadHash`: produces the static protocol sentinel for the schema.
7
+ * Used as the destination for `Transfer` payloads accompanying app
8
+ * data so that `accountBalanceHistory(sentinel)` surfaces every transaction
9
+ * in the protocol with no global indexer required.
10
+ * construction: keccak256(utf8(schema)).slice(-40)
11
+ *
12
+ * With `payloadHash`: produces a per-payload derived burn address scoped to
13
+ * the schema. Each app payload binds dust to a unique no-key
14
+ * destination — verifiable real cost per operation.
15
+ * construction: keccak256(utf8(`${schema}|${payloadHash}`)).slice(-40)
16
+ *
17
+ * Mirrors the construction used by `rewardAddressFromStepIdentity` and
18
+ * `derivedReceiveAddress` for the chain's own no-key escrow accounts.
19
+ */
20
+ export declare function sentinelAddressFromSchema(schema: string, payloadHash?: string): XyoAddress;
21
+ //# sourceMappingURL=sentinelAddressFromSchema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sentinelAddressFromSchema.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-lib/address/sentinelAddressFromSchema.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAGlD;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,yBAAyB,CAAC,MAAM,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,MAAM,GAAG,UAAU,CAM1F"}
@@ -0,0 +1,14 @@
1
+ export * from './address/index.js';
2
+ export * from './network/index.js';
3
+ export * from './OpenTelemetryProviders.js';
4
+ export * from './permissions/index.js';
5
+ export * from './providers/index.js';
6
+ export * from './repository/index.js';
7
+ export * from './runners/index.js';
8
+ export * from './status/index.js';
9
+ export * from './summary/index.js';
10
+ export * from './transaction/index.js';
11
+ export * from './validation/index.js';
12
+ export * from './viewers/index.js';
13
+ export * from '../protocol-model/index.js';
14
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/protocol-lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAClC,cAAc,oBAAoB,CAAA;AAClC,cAAc,6BAA6B,CAAA;AAC3C,cAAc,wBAAwB,CAAA;AACtC,cAAc,sBAAsB,CAAA;AACpC,cAAc,uBAAuB,CAAA;AACrC,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AACjC,cAAc,oBAAoB,CAAA;AAClC,cAAc,wBAAwB,CAAA;AACtC,cAAc,uBAAuB,CAAA;AACrC,cAAc,oBAAoB,CAAA;AAClC,cAAc,iBAAiB,CAAA"}
@@ -0,0 +1,26 @@
1
+ import type { Payload } from '@xyo-network/sdk';
2
+ /** Schema identifier for network status payloads. */
3
+ export declare const NetworkStatusSchema: "network.xyo.chain.status" & {
4
+ readonly __schema: true;
5
+ };
6
+ /** Schema type for NetworkStatus payloads. */
7
+ export type NetworkStatusSchema = typeof NetworkStatusSchema;
8
+ /** Possible states of the network: online, offline, degraded, or unknown. */
9
+ export type NetworkStatusState = 'online' | 'offline' | 'degraded' | 'unknown';
10
+ /** Represents a single network status update with a time range and description. */
11
+ export interface NetworkStatusUpdate {
12
+ end: number;
13
+ start: number;
14
+ update: string;
15
+ }
16
+ /** Fields describing the current network status, including state and optional updates. */
17
+ export interface NetworkStatusFields {
18
+ description: string;
19
+ state: NetworkStatusState;
20
+ updates?: NetworkStatusUpdate[];
21
+ }
22
+ /** A payload representing the current network status. */
23
+ export type NetworkStatus = Payload<NetworkStatusFields, NetworkStatusSchema>;
24
+ /** Type guard that checks whether a value is a NetworkStatus payload. */
25
+ export declare const isNetworkStatus: (x?: unknown) => x is NetworkStatus;
26
+ //# sourceMappingURL=Status.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Status.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-lib/network/Status.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAG/C,qDAAqD;AACrD,eAAO,MAAM,mBAAmB;;CAA6C,CAAA;AAC7E,8CAA8C;AAC9C,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAA;AAE5D,6EAA6E;AAC7E,MAAM,MAAM,kBAAkB,GAAG,QAAQ,GAAG,SAAS,GAAG,UAAU,GAAG,SAAS,CAAA;AAE9E,mFAAmF;AACnF,MAAM,WAAW,mBAAmB;IAClC,GAAG,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;CACf;AAED,0FAA0F;AAC1F,MAAM,WAAW,mBAAmB;IAClC,WAAW,EAAE,MAAM,CAAA;IACnB,KAAK,EAAE,kBAAkB,CAAA;IACzB,OAAO,CAAC,EAAE,mBAAmB,EAAE,CAAA;CAChC;AAED,yDAAyD;AACzD,MAAM,MAAM,aAAa,GAAG,OAAO,CAAC,mBAAmB,EAAE,mBAAmB,CAAC,CAAA;AAE7E,yEAAyE;AACzE,eAAO,MAAM,eAAe,qCAA4D,CAAA"}
@@ -0,0 +1,2 @@
1
+ export * from './Status.js';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-lib/network/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA"}
@@ -0,0 +1,48 @@
1
+ import type { JsonValue } from '@ariestools/sdk';
2
+ import type { CaveatTypes } from '../../protocol-model/index.js';
3
+ /**
4
+ * Modeled after EIP-2255
5
+ * See - https://eips.ethereum.org/EIPS/eip-2255#specification
6
+ *
7
+ * In order to send multiple permission requests at once, do not send multiple parentCapability keys.
8
+ * Instead, send multiple PermissionRequest objects in the params array of the rpc call.
9
+ */
10
+ export type PermissionRequest = Record<string, Record<string, JsonValue>>;
11
+ /**
12
+ * Modeled after EIP-2255
13
+ * See - https://eips.ethereum.org/EIPS/eip-2255#specification
14
+ */
15
+ export interface RequestedPermission {
16
+ /** Optional timestamp for when the permission was granted */
17
+ date?: number;
18
+ /** Permission identifier (i.e. RPC method, action, etc.) */
19
+ parentCapability: string;
20
+ }
21
+ /**
22
+ * Modeled after EIP-2255
23
+ * See - https://eips.ethereum.org/EIPS/eip-2255#specification
24
+ */
25
+ export interface Caveats {
26
+ /** Type of caveat */
27
+ type: CaveatTypes;
28
+ /** Value for the caveat (i.e. chain id, subset of accounts, expiration, max request per minute, etc.) */
29
+ value: JsonValue;
30
+ }
31
+ /**
32
+ * Modeled after EIP-2255
33
+ * See - https://eips.ethereum.org/EIPS/eip-2255#specification
34
+ */
35
+ export interface Permission {
36
+ /** Caveats for the permission, if applicable (i.e. allowed accounts, signing, etc.) */
37
+ caveats?: Caveats[];
38
+ /** Invoker for the given permission (URI, domain, webpage, address, etc.) */
39
+ invoker: string;
40
+ /** Permission identifier (i.e. RPC method, action, etc.) */
41
+ parentCapability: string;
42
+ }
43
+ /** InvokerPermission interface. */
44
+ export interface InvokerPermission extends Permission {
45
+ /** Time at which the permission was granted */
46
+ date?: number;
47
+ }
48
+ //# sourceMappingURL=InvokerPermission.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InvokerPermission.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-lib/permissions/InvokerPermission.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAEhD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAA;AAElD;;;;;;GAMG;AACH,MAAM,MAAM,iBAAiB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC,CAAA;AAEzE;;;GAGG;AACH,MAAM,WAAW,mBAAmB;IAClC,6DAA6D;IAC7D,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,4DAA4D;IAC5D,gBAAgB,EAAE,MAAM,CAAA;CACzB;AAED;;;GAGG;AACH,MAAM,WAAW,OAAO;IACtB,qBAAqB;IACrB,IAAI,EAAE,WAAW,CAAA;IACjB,yGAAyG;IACzG,KAAK,EAAE,SAAS,CAAA;CACjB;AAED;;;GAGG;AACH,MAAM,WAAW,UAAU;IACzB,uFAAuF;IACvF,OAAO,CAAC,EAAE,OAAO,EAAE,CAAA;IACnB,6EAA6E;IAC7E,OAAO,EAAE,MAAM,CAAA;IACf,4DAA4D;IAC5D,gBAAgB,EAAE,MAAM,CAAA;CACzB;AAED,mCAAmC;AACnC,MAAM,WAAW,iBAAkB,SAAQ,UAAU;IACnD,+CAA+C;IAC/C,IAAI,CAAC,EAAE,MAAM,CAAA;CACd"}
@@ -0,0 +1,33 @@
1
+ import type { InvokerPermission, PermissionRequest, RequestedPermission } from './InvokerPermission.js';
2
+ /**
3
+ * Handles Getting Permissions
4
+ */
5
+ export interface PermissionsGetHandler {
6
+ /**
7
+ * Returns the permissions that are currently granted
8
+ *
9
+ * Per the spec - "The wallet_getPermissions method is used for getting an array of current permissions
10
+ * (empty by default). It takes no parameters and returns an array of Permission objects."
11
+ *
12
+ * See - https://eips.ethereum.org/EIPS/eip-2255#specification
13
+ */
14
+ getPermissions(): Promise<InvokerPermission[]>;
15
+ }
16
+ /**
17
+ * Handles Permission Requests
18
+ */
19
+ export interface PermissionRequestsHandler {
20
+ requestPermissions(permissions: PermissionRequest[]): Promise<RequestedPermission[]>;
21
+ revokePermissions(permissions: PermissionRequest): Promise<RequestedPermission[]>;
22
+ }
23
+ /**
24
+ * Interface for getting, requesting and revoking permissions
25
+ *
26
+ * See - https://eips.ethereum.org/EIPS/eip-2255
27
+ */
28
+ export interface XyoPermissions extends PermissionsGetHandler, PermissionRequestsHandler {
29
+ }
30
+ /** PermissionsProvider interface. */
31
+ export interface PermissionsProvider extends XyoPermissions {
32
+ }
33
+ //# sourceMappingURL=XyoPermissions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"XyoPermissions.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-lib/permissions/XyoPermissions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EAAE,iBAAiB,EAAE,mBAAmB,EAC1D,MAAM,wBAAwB,CAAA;AAE/B;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC;;;;;;;OAOG;IACH,cAAc,IAAI,OAAO,CAAC,iBAAiB,EAAE,CAAC,CAAA;CAC/C;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IAExC,kBAAkB,CAAC,WAAW,EAAE,iBAAiB,EAAE,GAAG,OAAO,CAAC,mBAAmB,EAAE,CAAC,CAAA;IAEpF,iBAAiB,CAAC,WAAW,EAAE,iBAAiB,GAAG,OAAO,CAAC,mBAAmB,EAAE,CAAC,CAAA;CAClF;AAED;;;;GAIG;AACH,MAAM,WAAW,cAAe,SAAQ,qBAAqB,EAAE,yBAAyB;CAEvF;AAGD,qCAAqC;AACrC,MAAM,WAAW,mBAAoB,SAAQ,cAAc;CAAG"}
@@ -0,0 +1,3 @@
1
+ export * from './InvokerPermission.js';
2
+ export * from './XyoPermissions.js';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-lib/permissions/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAA;AACtC,cAAc,qBAAqB,CAAA"}