@xyo-network/xl1-protocol 4.0.11 → 4.0.14

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 (652) hide show
  1. package/README.md +57 -62
  2. package/dist/neutral/index.d.ts +4 -4
  3. package/dist/neutral/index.d.ts.map +1 -1
  4. package/dist/neutral/index.mjs +4 -4
  5. package/dist/neutral/index.mjs.map +2 -2
  6. package/dist/neutral/modules/network-model/icons/index.d.ts +4 -0
  7. package/dist/neutral/modules/network-model/icons/index.d.ts.map +1 -0
  8. package/dist/neutral/modules/network-model/icons/local/index.d.ts +2 -0
  9. package/dist/neutral/modules/network-model/icons/local/index.d.ts.map +1 -0
  10. package/dist/neutral/modules/network-model/icons/mainnet/index.d.ts +2 -0
  11. package/dist/neutral/modules/network-model/icons/mainnet/index.d.ts.map +1 -0
  12. package/dist/neutral/modules/network-model/icons/sequence/index.d.ts +2 -0
  13. package/dist/neutral/modules/network-model/icons/sequence/index.d.ts.map +1 -0
  14. package/dist/neutral/modules/network-model/index.d.ts +7 -0
  15. package/dist/neutral/modules/network-model/index.d.ts.map +1 -0
  16. package/dist/neutral/modules/network-model/lib/NetworkDataLakeUrls.d.ts +8 -0
  17. package/dist/neutral/modules/network-model/lib/NetworkDataLakeUrls.d.ts.map +1 -0
  18. package/dist/neutral/modules/network-model/lib/Networks.d.ts +10 -0
  19. package/dist/neutral/modules/network-model/lib/Networks.d.ts.map +1 -0
  20. package/dist/neutral/modules/network-model/lib/index.d.ts +3 -0
  21. package/dist/neutral/modules/network-model/lib/index.d.ts.map +1 -0
  22. package/dist/neutral/modules/network-model/manifest/index.d.ts +2 -0
  23. package/dist/neutral/modules/network-model/manifest/index.d.ts.map +1 -0
  24. package/dist/neutral/modules/network-model/manifest/networkManifest.d.ts +4 -0
  25. package/dist/neutral/modules/network-model/manifest/networkManifest.d.ts.map +1 -0
  26. package/dist/neutral/modules/network-model/models/Bootstrap.d.ts +56 -0
  27. package/dist/neutral/modules/network-model/models/Bootstrap.d.ts.map +1 -0
  28. package/dist/neutral/modules/network-model/models/NetworkId.d.ts +12 -0
  29. package/dist/neutral/modules/network-model/models/NetworkId.d.ts.map +1 -0
  30. package/dist/neutral/modules/network-model/models/index.d.ts +3 -0
  31. package/dist/neutral/modules/network-model/models/index.d.ts.map +1 -0
  32. package/dist/neutral/modules/network-model/modules/index.d.ts +2 -0
  33. package/dist/neutral/modules/network-model/modules/index.d.ts.map +1 -0
  34. package/dist/neutral/modules/network-model/modules/node/getNetworkNode.d.ts +10 -0
  35. package/dist/neutral/modules/network-model/modules/node/getNetworkNode.d.ts.map +1 -0
  36. package/dist/neutral/modules/network-model/modules/node/getNetworkNodes.d.ts +4 -0
  37. package/dist/neutral/modules/network-model/modules/node/getNetworkNodes.d.ts.map +1 -0
  38. package/dist/neutral/modules/network-model/modules/node/index.d.ts +4 -0
  39. package/dist/neutral/modules/network-model/modules/node/index.d.ts.map +1 -0
  40. package/dist/neutral/modules/network-model/modules/node/initNetworkNode.d.ts +5 -0
  41. package/dist/neutral/modules/network-model/modules/node/initNetworkNode.d.ts.map +1 -0
  42. package/dist/neutral/modules/network-model/staticRest/index.d.ts +10 -0
  43. package/dist/neutral/modules/network-model/staticRest/index.d.ts.map +1 -0
  44. package/dist/neutral/modules/network-model/staticRest/layout/chainContractManifest.d.ts +84 -0
  45. package/dist/neutral/modules/network-model/staticRest/layout/chainContractManifest.d.ts.map +1 -0
  46. package/dist/neutral/modules/network-model/staticRest/layout/chainManifest.d.ts +101 -0
  47. package/dist/neutral/modules/network-model/staticRest/layout/chainManifest.d.ts.map +1 -0
  48. package/dist/neutral/modules/network-model/staticRest/layout/index.d.ts +4 -0
  49. package/dist/neutral/modules/network-model/staticRest/layout/index.d.ts.map +1 -0
  50. package/dist/neutral/modules/network-model/staticRest/layout/indexManifest.d.ts +263 -0
  51. package/dist/neutral/modules/network-model/staticRest/layout/indexManifest.d.ts.map +1 -0
  52. package/dist/neutral/modules/network-model/staticRest/paths/chainState.d.ts +10 -0
  53. package/dist/neutral/modules/network-model/staticRest/paths/chainState.d.ts.map +1 -0
  54. package/dist/neutral/modules/network-model/staticRest/paths/finalized.d.ts +14 -0
  55. package/dist/neutral/modules/network-model/staticRest/paths/finalized.d.ts.map +1 -0
  56. package/dist/neutral/modules/network-model/staticRest/paths/index.d.ts +4 -0
  57. package/dist/neutral/modules/network-model/staticRest/paths/index.d.ts.map +1 -0
  58. package/dist/neutral/modules/network-model/staticRest/paths/indexPaths.d.ts +14 -0
  59. package/dist/neutral/modules/network-model/staticRest/paths/indexPaths.d.ts.map +1 -0
  60. package/dist/neutral/modules/network-model/staticRest/templates.d.ts +27 -0
  61. package/dist/neutral/modules/network-model/staticRest/templates.d.ts.map +1 -0
  62. package/dist/neutral/modules/network-model/utils/ExplorerLinks.d.ts +28 -0
  63. package/dist/neutral/modules/network-model/utils/ExplorerLinks.d.ts.map +1 -0
  64. package/dist/neutral/modules/network-model/utils/index.d.ts +2 -0
  65. package/dist/neutral/modules/network-model/utils/index.d.ts.map +1 -0
  66. package/dist/neutral/modules/protocol-lib/OpenTelemetryProviders.d.ts +7 -0
  67. package/dist/neutral/modules/protocol-lib/OpenTelemetryProviders.d.ts.map +1 -0
  68. package/dist/neutral/modules/protocol-lib/address/derivedReceiveAddress.d.ts +4 -0
  69. package/dist/neutral/modules/protocol-lib/address/derivedReceiveAddress.d.ts.map +1 -0
  70. package/dist/neutral/modules/protocol-lib/address/index.d.ts +4 -0
  71. package/dist/neutral/modules/protocol-lib/address/index.d.ts.map +1 -0
  72. package/dist/neutral/modules/protocol-lib/address/rewardAddressFromStepIdentity.d.ts +7 -0
  73. package/dist/neutral/modules/protocol-lib/address/rewardAddressFromStepIdentity.d.ts.map +1 -0
  74. package/dist/neutral/modules/protocol-lib/address/sentinelAddressFromSchema.d.ts +21 -0
  75. package/dist/neutral/modules/protocol-lib/address/sentinelAddressFromSchema.d.ts.map +1 -0
  76. package/dist/neutral/modules/protocol-lib/index.d.ts +14 -0
  77. package/dist/neutral/modules/protocol-lib/index.d.ts.map +1 -0
  78. package/dist/neutral/modules/protocol-lib/network/Status.d.ts +26 -0
  79. package/dist/neutral/modules/protocol-lib/network/Status.d.ts.map +1 -0
  80. package/dist/neutral/modules/protocol-lib/network/index.d.ts +2 -0
  81. package/dist/neutral/modules/protocol-lib/network/index.d.ts.map +1 -0
  82. package/dist/neutral/modules/protocol-lib/permissions/InvokerPermission.d.ts +48 -0
  83. package/dist/neutral/modules/protocol-lib/permissions/InvokerPermission.d.ts.map +1 -0
  84. package/dist/neutral/modules/protocol-lib/permissions/XyoPermissions.d.ts +33 -0
  85. package/dist/neutral/modules/protocol-lib/permissions/XyoPermissions.d.ts.map +1 -0
  86. package/dist/neutral/modules/protocol-lib/permissions/index.d.ts +3 -0
  87. package/dist/neutral/modules/protocol-lib/permissions/index.d.ts.map +1 -0
  88. package/dist/neutral/modules/protocol-lib/providers/DataLake/Client.d.ts +86 -0
  89. package/dist/neutral/modules/protocol-lib/providers/DataLake/Client.d.ts.map +1 -0
  90. package/dist/neutral/modules/protocol-lib/providers/DataLake/Provider.d.ts +10 -0
  91. package/dist/neutral/modules/protocol-lib/providers/DataLake/Provider.d.ts.map +1 -0
  92. package/dist/neutral/modules/protocol-lib/providers/DataLake/Runner.d.ts +15 -0
  93. package/dist/neutral/modules/protocol-lib/providers/DataLake/Runner.d.ts.map +1 -0
  94. package/dist/neutral/modules/protocol-lib/providers/DataLake/Viewer.d.ts +14 -0
  95. package/dist/neutral/modules/protocol-lib/providers/DataLake/Viewer.d.ts.map +1 -0
  96. package/dist/neutral/modules/protocol-lib/providers/DataLake/index.d.ts +6 -0
  97. package/dist/neutral/modules/protocol-lib/providers/DataLake/index.d.ts.map +1 -0
  98. package/dist/neutral/modules/protocol-lib/providers/DataLake/isSchemaAllowed.d.ts +7 -0
  99. package/dist/neutral/modules/protocol-lib/providers/DataLake/isSchemaAllowed.d.ts.map +1 -0
  100. package/dist/neutral/modules/protocol-lib/providers/TransactionHelper.d.ts +9 -0
  101. package/dist/neutral/modules/protocol-lib/providers/TransactionHelper.d.ts.map +1 -0
  102. package/dist/neutral/modules/protocol-lib/providers/XyoClient.d.ts +25 -0
  103. package/dist/neutral/modules/protocol-lib/providers/XyoClient.d.ts.map +1 -0
  104. package/dist/neutral/modules/protocol-lib/providers/XyoConnection.d.ts +18 -0
  105. package/dist/neutral/modules/protocol-lib/providers/XyoConnection.d.ts.map +1 -0
  106. package/dist/neutral/modules/protocol-lib/providers/XyoGateway.d.ts +20 -0
  107. package/dist/neutral/modules/protocol-lib/providers/XyoGateway.d.ts.map +1 -0
  108. package/dist/neutral/modules/protocol-lib/providers/XyoGatewayRunner.d.ts +57 -0
  109. package/dist/neutral/modules/protocol-lib/providers/XyoGatewayRunner.d.ts.map +1 -0
  110. package/dist/neutral/modules/protocol-lib/providers/XyoNetwork.d.ts +7 -0
  111. package/dist/neutral/modules/protocol-lib/providers/XyoNetwork.d.ts.map +1 -0
  112. package/dist/neutral/modules/protocol-lib/providers/XyoRunner.d.ts +16 -0
  113. package/dist/neutral/modules/protocol-lib/providers/XyoRunner.d.ts.map +1 -0
  114. package/dist/neutral/modules/protocol-lib/providers/index.d.ts +9 -0
  115. package/dist/neutral/modules/protocol-lib/providers/index.d.ts.map +1 -0
  116. package/dist/neutral/modules/protocol-lib/providers/signer/XyoSigner.d.ts +24 -0
  117. package/dist/neutral/modules/protocol-lib/providers/signer/XyoSigner.d.ts.map +1 -0
  118. package/dist/neutral/modules/protocol-lib/providers/signer/index.d.ts +2 -0
  119. package/dist/neutral/modules/protocol-lib/providers/signer/index.d.ts.map +1 -0
  120. package/dist/neutral/modules/protocol-lib/repository/Repository.d.ts +27 -0
  121. package/dist/neutral/modules/protocol-lib/repository/Repository.d.ts.map +1 -0
  122. package/dist/neutral/modules/protocol-lib/repository/TransactionReadRepository.d.ts +6 -0
  123. package/dist/neutral/modules/protocol-lib/repository/TransactionReadRepository.d.ts.map +1 -0
  124. package/dist/neutral/modules/protocol-lib/repository/TransactionRepository.d.ts +13 -0
  125. package/dist/neutral/modules/protocol-lib/repository/TransactionRepository.d.ts.map +1 -0
  126. package/dist/neutral/modules/protocol-lib/repository/TransactionRepositoryIterator.d.ts +6 -0
  127. package/dist/neutral/modules/protocol-lib/repository/TransactionRepositoryIterator.d.ts.map +1 -0
  128. package/dist/neutral/modules/protocol-lib/repository/TransactionWriteRepository.d.ts +6 -0
  129. package/dist/neutral/modules/protocol-lib/repository/TransactionWriteRepository.d.ts.map +1 -0
  130. package/dist/neutral/modules/protocol-lib/repository/index.d.ts +6 -0
  131. package/dist/neutral/modules/protocol-lib/repository/index.d.ts.map +1 -0
  132. package/dist/neutral/modules/protocol-lib/runners/Block.d.ts +16 -0
  133. package/dist/neutral/modules/protocol-lib/runners/Block.d.ts.map +1 -0
  134. package/dist/neutral/modules/protocol-lib/runners/BlockPublish.d.ts +30 -0
  135. package/dist/neutral/modules/protocol-lib/runners/BlockPublish.d.ts.map +1 -0
  136. package/dist/neutral/modules/protocol-lib/runners/ChainStatePublish.d.ts +18 -0
  137. package/dist/neutral/modules/protocol-lib/runners/ChainStatePublish.d.ts.map +1 -0
  138. package/dist/neutral/modules/protocol-lib/runners/DataLakePublish.d.ts +27 -0
  139. package/dist/neutral/modules/protocol-lib/runners/DataLakePublish.d.ts.map +1 -0
  140. package/dist/neutral/modules/protocol-lib/runners/DeadLetterQueue.d.ts +22 -0
  141. package/dist/neutral/modules/protocol-lib/runners/DeadLetterQueue.d.ts.map +1 -0
  142. package/dist/neutral/modules/protocol-lib/runners/Finalization.d.ts +15 -0
  143. package/dist/neutral/modules/protocol-lib/runners/Finalization.d.ts.map +1 -0
  144. package/dist/neutral/modules/protocol-lib/runners/IndexPublish.d.ts +35 -0
  145. package/dist/neutral/modules/protocol-lib/runners/IndexPublish.d.ts.map +1 -0
  146. package/dist/neutral/modules/protocol-lib/runners/Mempool.d.ts +25 -0
  147. package/dist/neutral/modules/protocol-lib/runners/Mempool.d.ts.map +1 -0
  148. package/dist/neutral/modules/protocol-lib/runners/index.d.ts +9 -0
  149. package/dist/neutral/modules/protocol-lib/runners/index.d.ts.map +1 -0
  150. package/dist/neutral/modules/protocol-lib/status/SystemStatus.d.ts +84 -0
  151. package/dist/neutral/modules/protocol-lib/status/SystemStatus.d.ts.map +1 -0
  152. package/dist/neutral/modules/protocol-lib/status/index.d.ts +2 -0
  153. package/dist/neutral/modules/protocol-lib/status/index.d.ts.map +1 -0
  154. package/dist/neutral/modules/protocol-lib/summary/BlocksStepSummary.d.ts +26 -0
  155. package/dist/neutral/modules/protocol-lib/summary/BlocksStepSummary.d.ts.map +1 -0
  156. package/dist/neutral/modules/protocol-lib/summary/StepSummary.d.ts +16 -0
  157. package/dist/neutral/modules/protocol-lib/summary/StepSummary.d.ts.map +1 -0
  158. package/dist/neutral/modules/protocol-lib/summary/index.d.ts +4 -0
  159. package/dist/neutral/modules/protocol-lib/summary/index.d.ts.map +1 -0
  160. package/dist/neutral/modules/protocol-lib/summary/stepPlacement.d.ts +21 -0
  161. package/dist/neutral/modules/protocol-lib/summary/stepPlacement.d.ts.map +1 -0
  162. package/dist/neutral/modules/protocol-lib/transaction/elevatedPayloads.d.ts +5 -0
  163. package/dist/neutral/modules/protocol-lib/transaction/elevatedPayloads.d.ts.map +1 -0
  164. package/dist/neutral/modules/protocol-lib/transaction/index.d.ts +3 -0
  165. package/dist/neutral/modules/protocol-lib/transaction/index.d.ts.map +1 -0
  166. package/dist/neutral/modules/protocol-lib/transaction/script.d.ts +17 -0
  167. package/dist/neutral/modules/protocol-lib/transaction/script.d.ts.map +1 -0
  168. package/dist/neutral/modules/protocol-lib/validation/block/BlockValidationFunction.d.ts +6 -0
  169. package/dist/neutral/modules/protocol-lib/validation/block/BlockValidationFunction.d.ts.map +1 -0
  170. package/dist/neutral/modules/protocol-lib/validation/block/HydratedBlockStateValidationFunction.d.ts +19 -0
  171. package/dist/neutral/modules/protocol-lib/validation/block/HydratedBlockStateValidationFunction.d.ts.map +1 -0
  172. package/dist/neutral/modules/protocol-lib/validation/block/HydratedBlockValidationFunction.d.ts +14 -0
  173. package/dist/neutral/modules/protocol-lib/validation/block/HydratedBlockValidationFunction.d.ts.map +1 -0
  174. package/dist/neutral/modules/protocol-lib/validation/block/error.d.ts +167 -0
  175. package/dist/neutral/modules/protocol-lib/validation/block/error.d.ts.map +1 -0
  176. package/dist/neutral/modules/protocol-lib/validation/block/index.d.ts +5 -0
  177. package/dist/neutral/modules/protocol-lib/validation/block/index.d.ts.map +1 -0
  178. package/dist/neutral/modules/protocol-lib/validation/boundwitness/BoundWitnessValidationFunction.d.ts +6 -0
  179. package/dist/neutral/modules/protocol-lib/validation/boundwitness/BoundWitnessValidationFunction.d.ts.map +1 -0
  180. package/dist/neutral/modules/protocol-lib/validation/boundwitness/HydratedBoundWitnessValidationFunction.d.ts +8 -0
  181. package/dist/neutral/modules/protocol-lib/validation/boundwitness/HydratedBoundWitnessValidationFunction.d.ts.map +1 -0
  182. package/dist/neutral/modules/protocol-lib/validation/boundwitness/error.d.ts +13 -0
  183. package/dist/neutral/modules/protocol-lib/validation/boundwitness/error.d.ts.map +1 -0
  184. package/dist/neutral/modules/protocol-lib/validation/boundwitness/index.d.ts +4 -0
  185. package/dist/neutral/modules/protocol-lib/validation/boundwitness/index.d.ts.map +1 -0
  186. package/dist/neutral/modules/protocol-lib/validation/error.d.ts +59 -0
  187. package/dist/neutral/modules/protocol-lib/validation/error.d.ts.map +1 -0
  188. package/dist/neutral/modules/protocol-lib/validation/index.d.ts +6 -0
  189. package/dist/neutral/modules/protocol-lib/validation/index.d.ts.map +1 -0
  190. package/dist/neutral/modules/protocol-lib/validation/payload/InBlockPayloadValidationFunction.d.ts +10 -0
  191. package/dist/neutral/modules/protocol-lib/validation/payload/InBlockPayloadValidationFunction.d.ts.map +1 -0
  192. package/dist/neutral/modules/protocol-lib/validation/payload/error.d.ts +12 -0
  193. package/dist/neutral/modules/protocol-lib/validation/payload/error.d.ts.map +1 -0
  194. package/dist/neutral/modules/protocol-lib/validation/payload/index.d.ts +3 -0
  195. package/dist/neutral/modules/protocol-lib/validation/payload/index.d.ts.map +1 -0
  196. package/dist/neutral/modules/protocol-lib/validation/transaction/HydratedTransactionStateValidationFunction.d.ts +18 -0
  197. package/dist/neutral/modules/protocol-lib/validation/transaction/HydratedTransactionStateValidationFunction.d.ts.map +1 -0
  198. package/dist/neutral/modules/protocol-lib/validation/transaction/HydratedTransactionValidationFunction.d.ts +16 -0
  199. package/dist/neutral/modules/protocol-lib/validation/transaction/HydratedTransactionValidationFunction.d.ts.map +1 -0
  200. package/dist/neutral/modules/protocol-lib/validation/transaction/error.d.ts +8 -0
  201. package/dist/neutral/modules/protocol-lib/validation/transaction/error.d.ts.map +1 -0
  202. package/dist/neutral/modules/protocol-lib/validation/transaction/index.d.ts +4 -0
  203. package/dist/neutral/modules/protocol-lib/validation/transaction/index.d.ts.map +1 -0
  204. package/dist/neutral/modules/protocol-lib/viewers/Block.d.ts +38 -0
  205. package/dist/neutral/modules/protocol-lib/viewers/Block.d.ts.map +1 -0
  206. package/dist/neutral/modules/protocol-lib/viewers/BlockInvalidation.d.ts +56 -0
  207. package/dist/neutral/modules/protocol-lib/viewers/BlockInvalidation.d.ts.map +1 -0
  208. package/dist/neutral/modules/protocol-lib/viewers/BlockReward.d.ts +14 -0
  209. package/dist/neutral/modules/protocol-lib/viewers/BlockReward.d.ts.map +1 -0
  210. package/dist/neutral/modules/protocol-lib/viewers/BlockValidation.d.ts +56 -0
  211. package/dist/neutral/modules/protocol-lib/viewers/BlockValidation.d.ts.map +1 -0
  212. package/dist/neutral/modules/protocol-lib/viewers/ChainContract.d.ts +23 -0
  213. package/dist/neutral/modules/protocol-lib/viewers/ChainContract.d.ts.map +1 -0
  214. package/dist/neutral/modules/protocol-lib/viewers/ChainStakeViewer.d.ts +11 -0
  215. package/dist/neutral/modules/protocol-lib/viewers/ChainStakeViewer.d.ts.map +1 -0
  216. package/dist/neutral/modules/protocol-lib/viewers/ChainState.d.ts +26 -0
  217. package/dist/neutral/modules/protocol-lib/viewers/ChainState.d.ts.map +1 -0
  218. package/dist/neutral/modules/protocol-lib/viewers/DeadLetterQueue.d.ts +31 -0
  219. package/dist/neutral/modules/protocol-lib/viewers/DeadLetterQueue.d.ts.map +1 -0
  220. package/dist/neutral/modules/protocol-lib/viewers/Finalization.d.ts +18 -0
  221. package/dist/neutral/modules/protocol-lib/viewers/Finalization.d.ts.map +1 -0
  222. package/dist/neutral/modules/protocol-lib/viewers/Fork.d.ts +9 -0
  223. package/dist/neutral/modules/protocol-lib/viewers/Fork.d.ts.map +1 -0
  224. package/dist/neutral/modules/protocol-lib/viewers/IndexViewer.d.ts +16 -0
  225. package/dist/neutral/modules/protocol-lib/viewers/IndexViewer.d.ts.map +1 -0
  226. package/dist/neutral/modules/protocol-lib/viewers/Mempool.d.ts +31 -0
  227. package/dist/neutral/modules/protocol-lib/viewers/Mempool.d.ts.map +1 -0
  228. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/NetworkStakeViewer.d.ts +17 -0
  229. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/NetworkStakeViewer.d.ts.map +1 -0
  230. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/ByPositionViewer.d.ts +14 -0
  231. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/ByPositionViewer.d.ts.map +1 -0
  232. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/ByStakerViewer.d.ts +15 -0
  233. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/ByStakerViewer.d.ts.map +1 -0
  234. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/ByStepViewer.d.ts +14 -0
  235. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/ByStepViewer.d.ts.map +1 -0
  236. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/Options.d.ts +19 -0
  237. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/Options.d.ts.map +1 -0
  238. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/TotalViewer.d.ts +14 -0
  239. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/TotalViewer.d.ts.map +1 -0
  240. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/Viewer.d.ts +20 -0
  241. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/Viewer.d.ts.map +1 -0
  242. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/index.d.ts +8 -0
  243. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/index.d.ts.map +1 -0
  244. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/templates/ByIndexMethodsTemplate.d.ts +6 -0
  245. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/templates/ByIndexMethodsTemplate.d.ts.map +1 -0
  246. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/templates/MethodsTemplate.d.ts +10 -0
  247. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/templates/MethodsTemplate.d.ts.map +1 -0
  248. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/templates/index.d.ts +3 -0
  249. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/templates/index.d.ts.map +1 -0
  250. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/index.d.ts +3 -0
  251. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/index.d.ts.map +1 -0
  252. package/dist/neutral/modules/protocol-lib/viewers/NetworkStakeStepReward.d.ts +41 -0
  253. package/dist/neutral/modules/protocol-lib/viewers/NetworkStakeStepReward.d.ts.map +1 -0
  254. package/dist/neutral/modules/protocol-lib/viewers/Stake.d.ts +39 -0
  255. package/dist/neutral/modules/protocol-lib/viewers/Stake.d.ts.map +1 -0
  256. package/dist/neutral/modules/protocol-lib/viewers/StakeEvents.d.ts +45 -0
  257. package/dist/neutral/modules/protocol-lib/viewers/StakeEvents.d.ts.map +1 -0
  258. package/dist/neutral/modules/protocol-lib/viewers/StakeIntent.d.ts +16 -0
  259. package/dist/neutral/modules/protocol-lib/viewers/StakeIntent.d.ts.map +1 -0
  260. package/dist/neutral/modules/protocol-lib/viewers/StakeTotals.d.ts +21 -0
  261. package/dist/neutral/modules/protocol-lib/viewers/StakeTotals.d.ts.map +1 -0
  262. package/dist/neutral/modules/protocol-lib/viewers/StepStake.d.ts +15 -0
  263. package/dist/neutral/modules/protocol-lib/viewers/StepStake.d.ts.map +1 -0
  264. package/dist/neutral/modules/protocol-lib/viewers/StepViewer.d.ts +38 -0
  265. package/dist/neutral/modules/protocol-lib/viewers/StepViewer.d.ts.map +1 -0
  266. package/dist/neutral/modules/protocol-lib/viewers/Sync.d.ts +19 -0
  267. package/dist/neutral/modules/protocol-lib/viewers/Sync.d.ts.map +1 -0
  268. package/dist/neutral/modules/protocol-lib/viewers/TimeSync.d.ts +21 -0
  269. package/dist/neutral/modules/protocol-lib/viewers/TimeSync.d.ts.map +1 -0
  270. package/dist/neutral/modules/protocol-lib/viewers/Transaction.d.ts +22 -0
  271. package/dist/neutral/modules/protocol-lib/viewers/Transaction.d.ts.map +1 -0
  272. package/dist/neutral/modules/protocol-lib/viewers/TransactionInvalidation.d.ts +54 -0
  273. package/dist/neutral/modules/protocol-lib/viewers/TransactionInvalidation.d.ts.map +1 -0
  274. package/dist/neutral/modules/protocol-lib/viewers/TransactionValidation.d.ts +55 -0
  275. package/dist/neutral/modules/protocol-lib/viewers/TransactionValidation.d.ts.map +1 -0
  276. package/dist/neutral/modules/protocol-lib/viewers/TransferBalance.d.ts +30 -0
  277. package/dist/neutral/modules/protocol-lib/viewers/TransferBalance.d.ts.map +1 -0
  278. package/dist/neutral/modules/protocol-lib/viewers/WindowedBlock.d.ts +18 -0
  279. package/dist/neutral/modules/protocol-lib/viewers/WindowedBlock.d.ts.map +1 -0
  280. package/dist/neutral/modules/protocol-lib/viewers/XyoViewer.d.ts +53 -0
  281. package/dist/neutral/modules/protocol-lib/viewers/XyoViewer.d.ts.map +1 -0
  282. package/dist/neutral/modules/protocol-lib/viewers/index.d.ts +28 -0
  283. package/dist/neutral/modules/protocol-lib/viewers/index.d.ts.map +1 -0
  284. package/dist/neutral/modules/protocol-model/BlockNumber/BlockNumber.d.ts +35 -0
  285. package/dist/neutral/modules/protocol-model/BlockNumber/BlockNumber.d.ts.map +1 -0
  286. package/dist/neutral/modules/protocol-model/BlockNumber/EthBlockNumber.d.ts +46 -0
  287. package/dist/neutral/modules/protocol-model/BlockNumber/EthBlockNumber.d.ts.map +1 -0
  288. package/dist/neutral/modules/protocol-model/BlockNumber/Numberish.d.ts +6 -0
  289. package/dist/neutral/modules/protocol-model/BlockNumber/Numberish.d.ts.map +1 -0
  290. package/dist/neutral/modules/protocol-model/BlockNumber/index.d.ts +5 -0
  291. package/dist/neutral/modules/protocol-model/BlockNumber/index.d.ts.map +1 -0
  292. package/dist/neutral/modules/protocol-model/BlockNumber/xl1BlockNumber.d.ts +46 -0
  293. package/dist/neutral/modules/protocol-model/BlockNumber/xl1BlockNumber.d.ts.map +1 -0
  294. package/dist/neutral/modules/protocol-model/RecordKeyType.d.ts +4 -0
  295. package/dist/neutral/modules/protocol-model/RecordKeyType.d.ts.map +1 -0
  296. package/dist/neutral/modules/protocol-model/Step/StepHash.d.ts +11 -0
  297. package/dist/neutral/modules/protocol-model/Step/StepHash.d.ts.map +1 -0
  298. package/dist/neutral/modules/protocol-model/Step/StepIdentity.d.ts +19 -0
  299. package/dist/neutral/modules/protocol-model/Step/StepIdentity.d.ts.map +1 -0
  300. package/dist/neutral/modules/protocol-model/Step/StepSizes.d.ts +12 -0
  301. package/dist/neutral/modules/protocol-model/Step/StepSizes.d.ts.map +1 -0
  302. package/dist/neutral/modules/protocol-model/Step/index.d.ts +4 -0
  303. package/dist/neutral/modules/protocol-model/Step/index.d.ts.map +1 -0
  304. package/dist/neutral/modules/protocol-model/TransferPayload.d.ts +79 -0
  305. package/dist/neutral/modules/protocol-model/TransferPayload.d.ts.map +1 -0
  306. package/dist/neutral/modules/protocol-model/amount/ShiftedBigIntConfig.d.ts +9 -0
  307. package/dist/neutral/modules/protocol-model/amount/ShiftedBigIntConfig.d.ts.map +1 -0
  308. package/dist/neutral/modules/protocol-model/amount/index.d.ts +3 -0
  309. package/dist/neutral/modules/protocol-model/amount/index.d.ts.map +1 -0
  310. package/dist/neutral/modules/protocol-model/amount/xl1AmountInstance.d.ts +16 -0
  311. package/dist/neutral/modules/protocol-model/amount/xl1AmountInstance.d.ts.map +1 -0
  312. package/dist/neutral/modules/protocol-model/block/AllowedBlockPayload.d.ts +40 -0
  313. package/dist/neutral/modules/protocol-model/block/AllowedBlockPayload.d.ts.map +1 -0
  314. package/dist/neutral/modules/protocol-model/block/BlockBoundWitness.d.ts +544 -0
  315. package/dist/neutral/modules/protocol-model/block/BlockBoundWitness.d.ts.map +1 -0
  316. package/dist/neutral/modules/protocol-model/block/HydratedBlock.d.ts +1466 -0
  317. package/dist/neutral/modules/protocol-model/block/HydratedBlock.d.ts.map +1 -0
  318. package/dist/neutral/modules/protocol-model/block/index.d.ts +6 -0
  319. package/dist/neutral/modules/protocol-model/block/index.d.ts.map +1 -0
  320. package/dist/neutral/modules/protocol-model/block/signed/SignedBlockBoundWitness.d.ts +168 -0
  321. package/dist/neutral/modules/protocol-model/block/signed/SignedBlockBoundWitness.d.ts.map +1 -0
  322. package/dist/neutral/modules/protocol-model/block/signed/SignedBlockBoundWitnessWithHashMeta.d.ts +286 -0
  323. package/dist/neutral/modules/protocol-model/block/signed/SignedBlockBoundWitnessWithHashMeta.d.ts.map +1 -0
  324. package/dist/neutral/modules/protocol-model/block/signed/SignedBlockBoundWitnessWithStorageMeta.d.ts +343 -0
  325. package/dist/neutral/modules/protocol-model/block/signed/SignedBlockBoundWitnessWithStorageMeta.d.ts.map +1 -0
  326. package/dist/neutral/modules/protocol-model/block/signed/index.d.ts +4 -0
  327. package/dist/neutral/modules/protocol-model/block/signed/index.d.ts.map +1 -0
  328. package/dist/neutral/modules/protocol-model/block/unsigned/UnsignedBlockBoundWitness.d.ts +168 -0
  329. package/dist/neutral/modules/protocol-model/block/unsigned/UnsignedBlockBoundWitness.d.ts.map +1 -0
  330. package/dist/neutral/modules/protocol-model/block/unsigned/index.d.ts +2 -0
  331. package/dist/neutral/modules/protocol-model/block/unsigned/index.d.ts.map +1 -0
  332. package/dist/neutral/modules/protocol-model/chain/Chain.d.ts +4 -0
  333. package/dist/neutral/modules/protocol-model/chain/Chain.d.ts.map +1 -0
  334. package/dist/neutral/modules/protocol-model/chain/ChainAnalyzer.d.ts +10 -0
  335. package/dist/neutral/modules/protocol-model/chain/ChainAnalyzer.d.ts.map +1 -0
  336. package/dist/neutral/modules/protocol-model/chain/ChainId.d.ts +28 -0
  337. package/dist/neutral/modules/protocol-model/chain/ChainId.d.ts.map +1 -0
  338. package/dist/neutral/modules/protocol-model/chain/index.d.ts +4 -0
  339. package/dist/neutral/modules/protocol-model/chain/index.d.ts.map +1 -0
  340. package/dist/neutral/modules/protocol-model/fields/Addressable.d.ts +6 -0
  341. package/dist/neutral/modules/protocol-model/fields/Addressable.d.ts.map +1 -0
  342. package/dist/neutral/modules/protocol-model/fields/BlockDuration.d.ts +25 -0
  343. package/dist/neutral/modules/protocol-model/fields/BlockDuration.d.ts.map +1 -0
  344. package/dist/neutral/modules/protocol-model/fields/BlockNumber.d.ts +32 -0
  345. package/dist/neutral/modules/protocol-model/fields/BlockNumber.d.ts.map +1 -0
  346. package/dist/neutral/modules/protocol-model/fields/ChainReference.d.ts +11 -0
  347. package/dist/neutral/modules/protocol-model/fields/ChainReference.d.ts.map +1 -0
  348. package/dist/neutral/modules/protocol-model/fields/index.d.ts +5 -0
  349. package/dist/neutral/modules/protocol-model/fields/index.d.ts.map +1 -0
  350. package/dist/neutral/modules/protocol-model/index.d.ts +16 -0
  351. package/dist/neutral/modules/protocol-model/index.d.ts.map +1 -0
  352. package/dist/neutral/modules/protocol-model/map/AsyncMap.d.ts +42 -0
  353. package/dist/neutral/modules/protocol-model/map/AsyncMap.d.ts.map +1 -0
  354. package/dist/neutral/modules/protocol-model/map/MapType.d.ts +17 -0
  355. package/dist/neutral/modules/protocol-model/map/MapType.d.ts.map +1 -0
  356. package/dist/neutral/modules/protocol-model/map/SyncMap.d.ts +41 -0
  357. package/dist/neutral/modules/protocol-model/map/SyncMap.d.ts.map +1 -0
  358. package/dist/neutral/modules/protocol-model/map/index.d.ts +4 -0
  359. package/dist/neutral/modules/protocol-model/map/index.d.ts.map +1 -0
  360. package/dist/neutral/modules/protocol-model/model/AccountBalance.d.ts +122 -0
  361. package/dist/neutral/modules/protocol-model/model/AccountBalance.d.ts.map +1 -0
  362. package/dist/neutral/modules/protocol-model/model/ArrayBuffer.d.ts +6 -0
  363. package/dist/neutral/modules/protocol-model/model/ArrayBuffer.d.ts.map +1 -0
  364. package/dist/neutral/modules/protocol-model/model/BlockRange/BlockRange.d.ts +32 -0
  365. package/dist/neutral/modules/protocol-model/model/BlockRange/BlockRange.d.ts.map +1 -0
  366. package/dist/neutral/modules/protocol-model/model/BlockRange/EthBlockRange.d.ts +32 -0
  367. package/dist/neutral/modules/protocol-model/model/BlockRange/EthBlockRange.d.ts.map +1 -0
  368. package/dist/neutral/modules/protocol-model/model/BlockRange/Numberish.d.ts +4 -0
  369. package/dist/neutral/modules/protocol-model/model/BlockRange/Numberish.d.ts.map +1 -0
  370. package/dist/neutral/modules/protocol-model/model/BlockRange/Range.d.ts +18 -0
  371. package/dist/neutral/modules/protocol-model/model/BlockRange/Range.d.ts.map +1 -0
  372. package/dist/neutral/modules/protocol-model/model/BlockRange/index.d.ts +5 -0
  373. package/dist/neutral/modules/protocol-model/model/BlockRange/index.d.ts.map +1 -0
  374. package/dist/neutral/modules/protocol-model/model/BlockRange/xl1BlockRange.d.ts +32 -0
  375. package/dist/neutral/modules/protocol-model/model/BlockRange/xl1BlockRange.d.ts.map +1 -0
  376. package/dist/neutral/modules/protocol-model/model/BlockRate.d.ts +290 -0
  377. package/dist/neutral/modules/protocol-model/model/BlockRate.d.ts.map +1 -0
  378. package/dist/neutral/modules/protocol-model/model/ChainQualification.d.ts +57 -0
  379. package/dist/neutral/modules/protocol-model/model/ChainQualification.d.ts.map +1 -0
  380. package/dist/neutral/modules/protocol-model/model/Context/BaseContext.d.ts +5 -0
  381. package/dist/neutral/modules/protocol-model/model/Context/BaseContext.d.ts.map +1 -0
  382. package/dist/neutral/modules/protocol-model/model/Context/BaseContext.zod.d.ts +26 -0
  383. package/dist/neutral/modules/protocol-model/model/Context/BaseContext.zod.d.ts.map +1 -0
  384. package/dist/neutral/modules/protocol-model/model/Context/BlockContext.d.ts +9 -0
  385. package/dist/neutral/modules/protocol-model/model/Context/BlockContext.d.ts.map +1 -0
  386. package/dist/neutral/modules/protocol-model/model/Context/BlockContext.zod.d.ts +33 -0
  387. package/dist/neutral/modules/protocol-model/model/Context/BlockContext.zod.d.ts.map +1 -0
  388. package/dist/neutral/modules/protocol-model/model/Context/CachingContext.d.ts +5 -0
  389. package/dist/neutral/modules/protocol-model/model/Context/CachingContext.d.ts.map +1 -0
  390. package/dist/neutral/modules/protocol-model/model/Context/CachingContext.zod.d.ts +10 -0
  391. package/dist/neutral/modules/protocol-model/model/Context/CachingContext.zod.d.ts.map +1 -0
  392. package/dist/neutral/modules/protocol-model/model/Context/ChainContext.d.ts +9 -0
  393. package/dist/neutral/modules/protocol-model/model/Context/ChainContext.d.ts.map +1 -0
  394. package/dist/neutral/modules/protocol-model/model/Context/ChainContext.zod.d.ts +115 -0
  395. package/dist/neutral/modules/protocol-model/model/Context/ChainContext.zod.d.ts.map +1 -0
  396. package/dist/neutral/modules/protocol-model/model/Context/HeadContext.d.ts +5 -0
  397. package/dist/neutral/modules/protocol-model/model/Context/HeadContext.d.ts.map +1 -0
  398. package/dist/neutral/modules/protocol-model/model/Context/HeadContext.zod.d.ts +70 -0
  399. package/dist/neutral/modules/protocol-model/model/Context/HeadContext.zod.d.ts.map +1 -0
  400. package/dist/neutral/modules/protocol-model/model/Context/index.d.ts +11 -0
  401. package/dist/neutral/modules/protocol-model/model/Context/index.d.ts.map +1 -0
  402. package/dist/neutral/modules/protocol-model/model/GatewayName.d.ts +6 -0
  403. package/dist/neutral/modules/protocol-model/model/GatewayName.d.ts.map +1 -0
  404. package/dist/neutral/modules/protocol-model/model/HydratedTransaction.d.ts +2300 -0
  405. package/dist/neutral/modules/protocol-model/model/HydratedTransaction.d.ts.map +1 -0
  406. package/dist/neutral/modules/protocol-model/model/OpCodes.d.ts +3 -0
  407. package/dist/neutral/modules/protocol-model/model/OpCodes.d.ts.map +1 -0
  408. package/dist/neutral/modules/protocol-model/model/PayloadMap.d.ts +10 -0
  409. package/dist/neutral/modules/protocol-model/model/PayloadMap.d.ts.map +1 -0
  410. package/dist/neutral/modules/protocol-model/model/Permission.d.ts +65 -0
  411. package/dist/neutral/modules/protocol-model/model/Permission.d.ts.map +1 -0
  412. package/dist/neutral/modules/protocol-model/model/Position.d.ts +13 -0
  413. package/dist/neutral/modules/protocol-model/model/Position.d.ts.map +1 -0
  414. package/dist/neutral/modules/protocol-model/model/PositionId.d.ts +6 -0
  415. package/dist/neutral/modules/protocol-model/model/PositionId.d.ts.map +1 -0
  416. package/dist/neutral/modules/protocol-model/model/RangeMultipliers.d.ts +10 -0
  417. package/dist/neutral/modules/protocol-model/model/RangeMultipliers.d.ts.map +1 -0
  418. package/dist/neutral/modules/protocol-model/model/RewardShare.d.ts +3 -0
  419. package/dist/neutral/modules/protocol-model/model/RewardShare.d.ts.map +1 -0
  420. package/dist/neutral/modules/protocol-model/model/RewardsRangeOptions.d.ts +16 -0
  421. package/dist/neutral/modules/protocol-model/model/RewardsRangeOptions.d.ts.map +1 -0
  422. package/dist/neutral/modules/protocol-model/model/Sequence.d.ts +15 -0
  423. package/dist/neutral/modules/protocol-model/model/Sequence.d.ts.map +1 -0
  424. package/dist/neutral/modules/protocol-model/model/Stake.d.ts +121 -0
  425. package/dist/neutral/modules/protocol-model/model/Stake.d.ts.map +1 -0
  426. package/dist/neutral/modules/protocol-model/model/StakeShare.d.ts +3 -0
  427. package/dist/neutral/modules/protocol-model/model/StakeShare.d.ts.map +1 -0
  428. package/dist/neutral/modules/protocol-model/model/SyncStepSummary.d.ts +409 -0
  429. package/dist/neutral/modules/protocol-model/model/SyncStepSummary.d.ts.map +1 -0
  430. package/dist/neutral/modules/protocol-model/model/TimeDomain.d.ts +4 -0
  431. package/dist/neutral/modules/protocol-model/model/TimeDomain.d.ts.map +1 -0
  432. package/dist/neutral/modules/protocol-model/model/TransferPair.d.ts +12 -0
  433. package/dist/neutral/modules/protocol-model/model/TransferPair.d.ts.map +1 -0
  434. package/dist/neutral/modules/protocol-model/model/addresses.d.ts +28 -0
  435. package/dist/neutral/modules/protocol-model/model/addresses.d.ts.map +1 -0
  436. package/dist/neutral/modules/protocol-model/model/defaultRewardRatio.d.ts +3 -0
  437. package/dist/neutral/modules/protocol-model/model/defaultRewardRatio.d.ts.map +1 -0
  438. package/dist/neutral/modules/protocol-model/model/defaultTransactionFees.d.ts +4 -0
  439. package/dist/neutral/modules/protocol-model/model/defaultTransactionFees.d.ts.map +1 -0
  440. package/dist/neutral/modules/protocol-model/model/index.d.ts +28 -0
  441. package/dist/neutral/modules/protocol-model/model/index.d.ts.map +1 -0
  442. package/dist/neutral/modules/protocol-model/model/minTransactionFees.d.ts +4 -0
  443. package/dist/neutral/modules/protocol-model/model/minTransactionFees.d.ts.map +1 -0
  444. package/dist/neutral/modules/protocol-model/model/rewards.d.ts +15 -0
  445. package/dist/neutral/modules/protocol-model/model/rewards.d.ts.map +1 -0
  446. package/dist/neutral/modules/protocol-model/model/version.d.ts +11 -0
  447. package/dist/neutral/modules/protocol-model/model/version.d.ts.map +1 -0
  448. package/dist/neutral/modules/protocol-model/payload/StepIdentityPayload.d.ts +20 -0
  449. package/dist/neutral/modules/protocol-model/payload/StepIdentityPayload.d.ts.map +1 -0
  450. package/dist/neutral/modules/protocol-model/payload/application/Exchange/ExchangeOutcome.d.ts +29 -0
  451. package/dist/neutral/modules/protocol-model/payload/application/Exchange/ExchangeOutcome.d.ts.map +1 -0
  452. package/dist/neutral/modules/protocol-model/payload/application/Exchange/ExchangeTerms.d.ts +47 -0
  453. package/dist/neutral/modules/protocol-model/payload/application/Exchange/ExchangeTerms.d.ts.map +1 -0
  454. package/dist/neutral/modules/protocol-model/payload/application/Exchange/PartySecretReveal.d.ts +25 -0
  455. package/dist/neutral/modules/protocol-model/payload/application/Exchange/PartySecretReveal.d.ts.map +1 -0
  456. package/dist/neutral/modules/protocol-model/payload/application/Exchange/index.d.ts +4 -0
  457. package/dist/neutral/modules/protocol-model/payload/application/Exchange/index.d.ts.map +1 -0
  458. package/dist/neutral/modules/protocol-model/payload/application/Ordinal/Inscription.d.ts +26 -0
  459. package/dist/neutral/modules/protocol-model/payload/application/Ordinal/Inscription.d.ts.map +1 -0
  460. package/dist/neutral/modules/protocol-model/payload/application/Ordinal/OrdinalTransfer.d.ts +30 -0
  461. package/dist/neutral/modules/protocol-model/payload/application/Ordinal/OrdinalTransfer.d.ts.map +1 -0
  462. package/dist/neutral/modules/protocol-model/payload/application/Ordinal/index.d.ts +3 -0
  463. package/dist/neutral/modules/protocol-model/payload/application/Ordinal/index.d.ts.map +1 -0
  464. package/dist/neutral/modules/protocol-model/payload/application/Xrc20/Ticker.d.ts +10 -0
  465. package/dist/neutral/modules/protocol-model/payload/application/Xrc20/Ticker.d.ts.map +1 -0
  466. package/dist/neutral/modules/protocol-model/payload/application/Xrc20/TokenAmount.d.ts +10 -0
  467. package/dist/neutral/modules/protocol-model/payload/application/Xrc20/TokenAmount.d.ts.map +1 -0
  468. package/dist/neutral/modules/protocol-model/payload/application/Xrc20/TokenDeploy.d.ts +27 -0
  469. package/dist/neutral/modules/protocol-model/payload/application/Xrc20/TokenDeploy.d.ts.map +1 -0
  470. package/dist/neutral/modules/protocol-model/payload/application/Xrc20/TokenMint.d.ts +25 -0
  471. package/dist/neutral/modules/protocol-model/payload/application/Xrc20/TokenMint.d.ts.map +1 -0
  472. package/dist/neutral/modules/protocol-model/payload/application/Xrc20/TokenTransfer.d.ts +30 -0
  473. package/dist/neutral/modules/protocol-model/payload/application/Xrc20/TokenTransfer.d.ts.map +1 -0
  474. package/dist/neutral/modules/protocol-model/payload/application/Xrc20/index.d.ts +6 -0
  475. package/dist/neutral/modules/protocol-model/payload/application/Xrc20/index.d.ts.map +1 -0
  476. package/dist/neutral/modules/protocol-model/payload/application/index.d.ts +4 -0
  477. package/dist/neutral/modules/protocol-model/payload/application/index.d.ts.map +1 -0
  478. package/dist/neutral/modules/protocol-model/payload/elevatable/Bridge/BridgeCompletion.d.ts +23 -0
  479. package/dist/neutral/modules/protocol-model/payload/elevatable/Bridge/BridgeCompletion.d.ts.map +1 -0
  480. package/dist/neutral/modules/protocol-model/payload/elevatable/Bridge/BridgeDestinationObservation.d.ts +33 -0
  481. package/dist/neutral/modules/protocol-model/payload/elevatable/Bridge/BridgeDestinationObservation.d.ts.map +1 -0
  482. package/dist/neutral/modules/protocol-model/payload/elevatable/Bridge/BridgeDetails.d.ts +45 -0
  483. package/dist/neutral/modules/protocol-model/payload/elevatable/Bridge/BridgeDetails.d.ts.map +1 -0
  484. package/dist/neutral/modules/protocol-model/payload/elevatable/Bridge/BridgeIntent.d.ts +31 -0
  485. package/dist/neutral/modules/protocol-model/payload/elevatable/Bridge/BridgeIntent.d.ts.map +1 -0
  486. package/dist/neutral/modules/protocol-model/payload/elevatable/Bridge/BridgeSourceObservation.d.ts +33 -0
  487. package/dist/neutral/modules/protocol-model/payload/elevatable/Bridge/BridgeSourceObservation.d.ts.map +1 -0
  488. package/dist/neutral/modules/protocol-model/payload/elevatable/Bridge/index.d.ts +6 -0
  489. package/dist/neutral/modules/protocol-model/payload/elevatable/Bridge/index.d.ts.map +1 -0
  490. package/dist/neutral/modules/protocol-model/payload/elevatable/ChainStakeIntent.d.ts +24 -0
  491. package/dist/neutral/modules/protocol-model/payload/elevatable/ChainStakeIntent.d.ts.map +1 -0
  492. package/dist/neutral/modules/protocol-model/payload/elevatable/Executable.d.ts +21 -0
  493. package/dist/neutral/modules/protocol-model/payload/elevatable/Executable.d.ts.map +1 -0
  494. package/dist/neutral/modules/protocol-model/payload/elevatable/Hash.d.ts +21 -0
  495. package/dist/neutral/modules/protocol-model/payload/elevatable/Hash.d.ts.map +1 -0
  496. package/dist/neutral/modules/protocol-model/payload/elevatable/StepComplete.d.ts +22 -0
  497. package/dist/neutral/modules/protocol-model/payload/elevatable/StepComplete.d.ts.map +1 -0
  498. package/dist/neutral/modules/protocol-model/payload/elevatable/Time.d.ts +71 -0
  499. package/dist/neutral/modules/protocol-model/payload/elevatable/Time.d.ts.map +1 -0
  500. package/dist/neutral/modules/protocol-model/payload/elevatable/index.d.ts +7 -0
  501. package/dist/neutral/modules/protocol-model/payload/elevatable/index.d.ts.map +1 -0
  502. package/dist/neutral/modules/protocol-model/payload/index.d.ts +4 -0
  503. package/dist/neutral/modules/protocol-model/payload/index.d.ts.map +1 -0
  504. package/dist/neutral/modules/protocol-model/provider/Provider.d.ts +6 -0
  505. package/dist/neutral/modules/protocol-model/provider/Provider.d.ts.map +1 -0
  506. package/dist/neutral/modules/protocol-model/provider/ProviderMoniker.d.ts +9 -0
  507. package/dist/neutral/modules/protocol-model/provider/ProviderMoniker.d.ts.map +1 -0
  508. package/dist/neutral/modules/protocol-model/provider/index.d.ts +3 -0
  509. package/dist/neutral/modules/protocol-model/provider/index.d.ts.map +1 -0
  510. package/dist/neutral/modules/protocol-model/rejection/BlockRejectionPayload.d.ts +169 -0
  511. package/dist/neutral/modules/protocol-model/rejection/BlockRejectionPayload.d.ts.map +1 -0
  512. package/dist/neutral/modules/protocol-model/rejection/RejectionError.d.ts +10 -0
  513. package/dist/neutral/modules/protocol-model/rejection/RejectionError.d.ts.map +1 -0
  514. package/dist/neutral/modules/protocol-model/rejection/TransactionRejectionPayload.d.ts +205 -0
  515. package/dist/neutral/modules/protocol-model/rejection/TransactionRejectionPayload.d.ts.map +1 -0
  516. package/dist/neutral/modules/protocol-model/rejection/index.d.ts +4 -0
  517. package/dist/neutral/modules/protocol-model/rejection/index.d.ts.map +1 -0
  518. package/dist/neutral/modules/protocol-model/transaction/TransactionBoundWitness.d.ts +2127 -0
  519. package/dist/neutral/modules/protocol-model/transaction/TransactionBoundWitness.d.ts.map +1 -0
  520. package/dist/neutral/modules/protocol-model/transaction/TransactionFees.d.ts +138 -0
  521. package/dist/neutral/modules/protocol-model/transaction/TransactionFees.d.ts.map +1 -0
  522. package/dist/neutral/modules/protocol-model/transaction/TransactionGasCosts.d.ts +38 -0
  523. package/dist/neutral/modules/protocol-model/transaction/TransactionGasCosts.d.ts.map +1 -0
  524. package/dist/neutral/modules/protocol-model/transaction/index.d.ts +4 -0
  525. package/dist/neutral/modules/protocol-model/transaction/index.d.ts.map +1 -0
  526. package/dist/neutral/modules/protocol-model/xl1/attoXl1.d.ts +15 -0
  527. package/dist/neutral/modules/protocol-model/xl1/attoXl1.d.ts.map +1 -0
  528. package/dist/neutral/modules/protocol-model/xl1/femtoXl1.d.ts +15 -0
  529. package/dist/neutral/modules/protocol-model/xl1/femtoXl1.d.ts.map +1 -0
  530. package/dist/neutral/modules/protocol-model/xl1/index.d.ts +9 -0
  531. package/dist/neutral/modules/protocol-model/xl1/index.d.ts.map +1 -0
  532. package/dist/neutral/modules/protocol-model/xl1/isXl1Factory.d.ts +12 -0
  533. package/dist/neutral/modules/protocol-model/xl1/isXl1Factory.d.ts.map +1 -0
  534. package/dist/neutral/modules/protocol-model/xl1/microXl1.d.ts +15 -0
  535. package/dist/neutral/modules/protocol-model/xl1/microXl1.d.ts.map +1 -0
  536. package/dist/neutral/modules/protocol-model/xl1/milliXl1.d.ts +15 -0
  537. package/dist/neutral/modules/protocol-model/xl1/milliXl1.d.ts.map +1 -0
  538. package/dist/neutral/modules/protocol-model/xl1/nanoXl1.d.ts +15 -0
  539. package/dist/neutral/modules/protocol-model/xl1/nanoXl1.d.ts.map +1 -0
  540. package/dist/neutral/modules/protocol-model/xl1/picoXl1.d.ts +15 -0
  541. package/dist/neutral/modules/protocol-model/xl1/picoXl1.d.ts.map +1 -0
  542. package/dist/neutral/modules/protocol-model/xl1/xl1.d.ts +15 -0
  543. package/dist/neutral/modules/protocol-model/xl1/xl1.d.ts.map +1 -0
  544. package/dist/neutral/modules/protocol-model/xl1/xl1MaxValue.d.ts +3 -0
  545. package/dist/neutral/modules/protocol-model/xl1/xl1MaxValue.d.ts.map +1 -0
  546. package/dist/neutral/modules/protocol-model/xl1/xl1Units.d.ts +10 -0
  547. package/dist/neutral/modules/protocol-model/xl1/xl1Units.d.ts.map +1 -0
  548. package/dist/neutral/modules/schema/Executable.d.ts +5 -0
  549. package/dist/neutral/modules/schema/Executable.d.ts.map +1 -0
  550. package/dist/neutral/modules/schema/StorageMeta.d.ts +5 -0
  551. package/dist/neutral/modules/schema/StorageMeta.d.ts.map +1 -0
  552. package/dist/neutral/modules/schema/boundwitness/BlockBoundWitness.d.ts +17 -0
  553. package/dist/neutral/modules/schema/boundwitness/BlockBoundWitness.d.ts.map +1 -0
  554. package/dist/neutral/modules/schema/boundwitness/BlockBoundWitnessWithStorageMeta.d.ts +18 -0
  555. package/dist/neutral/modules/schema/boundwitness/BlockBoundWitnessWithStorageMeta.d.ts.map +1 -0
  556. package/dist/neutral/modules/schema/boundwitness/TransactionBoundWitness.d.ts +17 -0
  557. package/dist/neutral/modules/schema/boundwitness/TransactionBoundWitness.d.ts.map +1 -0
  558. package/dist/neutral/modules/schema/boundwitness/TransactionBoundWitnessWithStorageMeta.d.ts +17 -0
  559. package/dist/neutral/modules/schema/boundwitness/TransactionBoundWitnessWithStorageMeta.d.ts.map +1 -0
  560. package/dist/neutral/modules/schema/boundwitness/index.d.ts +5 -0
  561. package/dist/neutral/modules/schema/boundwitness/index.d.ts.map +1 -0
  562. package/dist/neutral/modules/schema/index.d.ts +5 -0
  563. package/dist/neutral/modules/schema/index.d.ts.map +1 -0
  564. package/dist/neutral/modules/schema/mergeJsonSchemaRequired.d.ts +7 -0
  565. package/dist/neutral/modules/schema/mergeJsonSchemaRequired.d.ts.map +1 -0
  566. package/dist/neutral/modules/schema/payload/ChainStakeIntent.d.ts +17 -0
  567. package/dist/neutral/modules/schema/payload/ChainStakeIntent.d.ts.map +1 -0
  568. package/dist/neutral/modules/schema/payload/HashPayload.d.ts +17 -0
  569. package/dist/neutral/modules/schema/payload/HashPayload.d.ts.map +1 -0
  570. package/dist/neutral/modules/schema/payload/TransferPayload.d.ts +17 -0
  571. package/dist/neutral/modules/schema/payload/TransferPayload.d.ts.map +1 -0
  572. package/dist/neutral/modules/schema/payload/index.d.ts +4 -0
  573. package/dist/neutral/modules/schema/payload/index.d.ts.map +1 -0
  574. package/dist/neutral/{test → modules/test}/buildRandomTransaction.d.ts +1 -1
  575. package/dist/neutral/modules/test/buildRandomTransaction.d.ts.map +1 -0
  576. package/dist/neutral/{test → modules/test}/buildTransaction.d.ts +1 -1
  577. package/dist/neutral/modules/test/buildTransaction.d.ts.map +1 -0
  578. package/dist/neutral/{test → modules/test}/createTransferPayload.d.ts +1 -1
  579. package/dist/neutral/modules/test/createTransferPayload.d.ts.map +1 -0
  580. package/dist/neutral/modules/test/index.d.ts +4 -0
  581. package/dist/neutral/modules/test/index.d.ts.map +1 -0
  582. package/dist/neutral/modules/validation/block/index.d.ts +2 -0
  583. package/dist/neutral/modules/validation/block/index.d.ts.map +1 -0
  584. package/dist/neutral/modules/validation/block/validators/BlockCumulativeBalanceValidator.d.ts +7 -0
  585. package/dist/neutral/modules/validation/block/validators/BlockCumulativeBalanceValidator.d.ts.map +1 -0
  586. package/dist/neutral/modules/validation/block/validators/index.d.ts +2 -0
  587. package/dist/neutral/modules/validation/block/validators/index.d.ts.map +1 -0
  588. package/dist/neutral/modules/validation/boundwitness/index.d.ts +2 -0
  589. package/dist/neutral/modules/validation/boundwitness/index.d.ts.map +1 -0
  590. package/dist/neutral/modules/validation/boundwitness/validators/BoundWitnessReferences.d.ts +5 -0
  591. package/dist/neutral/modules/validation/boundwitness/validators/BoundWitnessReferences.d.ts.map +1 -0
  592. package/dist/neutral/modules/validation/boundwitness/validators/BoundWitnessSignatures.d.ts +4 -0
  593. package/dist/neutral/modules/validation/boundwitness/validators/BoundWitnessSignatures.d.ts.map +1 -0
  594. package/dist/neutral/modules/validation/boundwitness/validators/index.d.ts +3 -0
  595. package/dist/neutral/modules/validation/boundwitness/validators/index.d.ts.map +1 -0
  596. package/dist/neutral/modules/validation/index.d.ts +4 -0
  597. package/dist/neutral/modules/validation/index.d.ts.map +1 -0
  598. package/dist/neutral/modules/validation/transaction/index.d.ts +3 -0
  599. package/dist/neutral/modules/validation/transaction/index.d.ts.map +1 -0
  600. package/dist/neutral/modules/validation/transaction/validateTransaction.d.ts +4 -0
  601. package/dist/neutral/modules/validation/transaction/validateTransaction.d.ts.map +1 -0
  602. package/dist/neutral/modules/validation/transaction/validators/SignerAuthorization.d.ts +48 -0
  603. package/dist/neutral/modules/validation/transaction/validators/SignerAuthorization.d.ts.map +1 -0
  604. package/dist/neutral/modules/validation/transaction/validators/TransactionBoundWitnessValidator.d.ts +18 -0
  605. package/dist/neutral/modules/validation/transaction/validators/TransactionBoundWitnessValidator.d.ts.map +1 -0
  606. package/dist/neutral/modules/validation/transaction/validators/TransactionDurationValidator.d.ts +4 -0
  607. package/dist/neutral/modules/validation/transaction/validators/TransactionDurationValidator.d.ts.map +1 -0
  608. package/dist/neutral/modules/validation/transaction/validators/TransactionElevationValidator.d.ts +4 -0
  609. package/dist/neutral/modules/validation/transaction/validators/TransactionElevationValidator.d.ts.map +1 -0
  610. package/dist/neutral/modules/validation/transaction/validators/TransactionFromValidator.d.ts +4 -0
  611. package/dist/neutral/modules/validation/transaction/validators/TransactionFromValidator.d.ts.map +1 -0
  612. package/dist/neutral/modules/validation/transaction/validators/TransactionGasValidator.d.ts +4 -0
  613. package/dist/neutral/modules/validation/transaction/validators/TransactionGasValidator.d.ts.map +1 -0
  614. package/dist/neutral/modules/validation/transaction/validators/TransactionJsonSchemaValidator.d.ts +4 -0
  615. package/dist/neutral/modules/validation/transaction/validators/TransactionJsonSchemaValidator.d.ts.map +1 -0
  616. package/dist/neutral/modules/validation/transaction/validators/TransactionProtocolValidator.d.ts +4 -0
  617. package/dist/neutral/modules/validation/transaction/validators/TransactionProtocolValidator.d.ts.map +1 -0
  618. package/dist/neutral/modules/validation/transaction/validators/TransactionTransfersValidator.d.ts +17 -0
  619. package/dist/neutral/modules/validation/transaction/validators/TransactionTransfersValidator.d.ts.map +1 -0
  620. package/dist/neutral/modules/validation/transaction/validators/index.d.ts +10 -0
  621. package/dist/neutral/modules/validation/transaction/validators/index.d.ts.map +1 -0
  622. package/dist/neutral/network-model.d.ts +2 -0
  623. package/dist/neutral/network-model.d.ts.map +1 -0
  624. package/dist/neutral/network-model.mjs +431 -0
  625. package/dist/neutral/network-model.mjs.map +7 -0
  626. package/dist/neutral/protocol-lib.d.ts +2 -0
  627. package/dist/neutral/protocol-lib.d.ts.map +1 -0
  628. package/dist/neutral/protocol-lib.mjs +600 -0
  629. package/dist/neutral/protocol-lib.mjs.map +7 -0
  630. package/dist/neutral/protocol-model.d.ts +2 -0
  631. package/dist/neutral/protocol-model.d.ts.map +1 -0
  632. package/dist/neutral/protocol-model.mjs +2047 -0
  633. package/dist/neutral/protocol-model.mjs.map +7 -0
  634. package/dist/neutral/schema.d.ts +2 -0
  635. package/dist/neutral/schema.d.ts.map +1 -0
  636. package/dist/neutral/schema.mjs +259 -0
  637. package/dist/neutral/schema.mjs.map +7 -0
  638. package/dist/neutral/test.d.ts +2 -0
  639. package/dist/neutral/test.d.ts.map +1 -0
  640. package/dist/neutral/{test/index.mjs → test.mjs} +8 -8
  641. package/dist/neutral/test.mjs.map +7 -0
  642. package/dist/neutral/validation.d.ts +2 -0
  643. package/dist/neutral/validation.d.ts.map +1 -0
  644. package/dist/neutral/validation.mjs +510 -0
  645. package/dist/neutral/validation.mjs.map +7 -0
  646. package/package.json +49 -23
  647. package/dist/neutral/test/buildRandomTransaction.d.ts.map +0 -1
  648. package/dist/neutral/test/buildTransaction.d.ts.map +0 -1
  649. package/dist/neutral/test/createTransferPayload.d.ts.map +0 -1
  650. package/dist/neutral/test/index.d.ts +0 -4
  651. package/dist/neutral/test/index.d.ts.map +0 -1
  652. package/dist/neutral/test/index.mjs.map +0 -7
package/README.md CHANGED
@@ -5,29 +5,17 @@
5
5
  [![npm-badge][]][npm-link]
6
6
  [![license-badge][]][license-link]
7
7
 
8
- > The full XL1 protocol surface — types, schemas, runtime contracts, and validation in one package.
9
-
10
- ## Table of Contents
11
-
12
- - [Description](#description)
13
- - [Install](#install)
14
- - [Subpath Exports](#subpath-exports)
15
- - [What's Inside](#whats-inside)
16
- - [Building Locally](#building-locally)
17
- - [Maintainers](#maintainers)
18
- - [License](#license)
19
- - [Credits](#credits)
8
+ > XL1 protocol models, interfaces, schemas, and validation in one package.
20
9
 
21
10
  ## Description
22
11
 
23
- This package is the protocol-tier aggregate for XL1 (XYO Layer One). It bundles every package that defines *what XL1 data looks like* and *how it's validated* — the contracts that every node, indexer, and client agrees on:
12
+ XL1 is the XYO Layer One blockchain protocol. This package is the protocol
13
+ surface for XL1: data models, provider and viewer contracts, network metadata,
14
+ JSON schema exports, and validation utilities.
24
15
 
25
- - `@xyo-network/xl1-network-model` network metadata, default networks, datalake URLs
26
- - `@xyo-network/xl1-protocol-lib` viewer/runner/repository/provider interfaces (the runtime contract layer)
27
- - `@xyo-network/xl1-schema` — JSON Schema (AJV) definitions for protocol payloads
28
- - `@xyo-network/xl1-validation` — block/bound-witness/transaction validators
29
-
30
- If you're building a node, indexer, or any tool that needs the raw protocol primitives without RPC plumbing, this is your entry point. If you also want gateways, providers, RPC, and wrappers, use [`@xyo-network/xl1-sdk`](https://www.npmjs.com/package/@xyo-network/xl1-sdk) — it re-exports this package alongside two more SDK-tier packages.
16
+ Use it when you need protocol-level types or runtime validation without pulling
17
+ in gateway construction, JSON-RPC transports, storage drivers, or React bindings.
18
+ For application and service development, start with `@xyo-network/xl1-sdk`.
31
19
 
32
20
  ## Install
33
21
 
@@ -55,63 +43,70 @@ Using bun:
55
43
  bun add @xyo-network/xl1-protocol
56
44
  ```
57
45
 
58
- ## Subpath Exports
46
+ ## Usage
47
+
48
+ Import the protocol layer from its explicit subpaths:
59
49
 
60
- - `@xyo-network/xl1-protocol` — flat barrel of all four sub-packages
61
- - `@xyo-network/xl1-protocol/test` — shared test utilities and fixtures
50
+ ```ts
51
+ import { DefaultNetworks } from '@xyo-network/xl1-protocol/network-model'
52
+ import { BlockViewerMoniker } from '@xyo-network/xl1-protocol/protocol-lib'
53
+ import { asXL1BlockNumber } from '@xyo-network/xl1-protocol/protocol-model'
62
54
 
63
- ## What's Inside
55
+ const sequence = DefaultNetworks.find(network => network.id === 'sequence')
56
+ const genesis = asXL1BlockNumber(0, true)
64
57
 
65
- **Type system** — A Zod-first model: every protocol type starts as a Zod schema, with derived TypeScript types and `is*` / `as*` / `to*` factory guards. Includes the full Signed/Unsigned × plain/WithHashMeta/WithStorageMeta variant matrix for transactions, blocks, and bound witnesses.
58
+ console.log(sequence?.name, BlockViewerMoniker, genesis)
59
+ ```
66
60
 
67
- **Runtime contracts** — Viewer interfaces (read), Runner interfaces (write), Repository interfaces (storage), and Provider interfaces (connection). 25+ viewers covering blocks, accounts, stake, finalization, mempool, network, time, and transactions.
61
+ Available subpaths:
68
62
 
69
- **Schemas** — AJV-compatible JSON Schemas for payloads, transactions, and bound witnesses, used at network and storage boundaries.
63
+ - `@xyo-network/xl1-protocol`
64
+ - `@xyo-network/xl1-protocol/network-model`
65
+ - `@xyo-network/xl1-protocol/protocol-lib`
66
+ - `@xyo-network/xl1-protocol/protocol-model`
67
+ - `@xyo-network/xl1-protocol/schema`
68
+ - `@xyo-network/xl1-protocol/validation`
69
+ - `@xyo-network/xl1-protocol/test`
70
70
 
71
- **Validators** — Composable validator functions for block cumulative balances, bound-witness signatures and references, and transactions (protocol, duration, from-address, gas, elevation, JSON-schema, transfers).
71
+ ## Documentation
72
72
 
73
- ## Building Locally
73
+ - Use `protocol-model` for Zod-first XL1 data structures and value guards.
74
+ - Use `protocol-lib` for provider, viewer, runner, gateway, and status contracts.
75
+ - Use `network-model` for network metadata and static REST path helpers.
76
+ - Use `schema` and `validation` at serialization, storage, and chain-validation boundaries.
77
+ - Use `@xyo-network/xl1-sdk` when you need concrete gateway, RPC, or provider implementations.
78
+
79
+ ## AI Agent Skills
80
+
81
+ Install the recommended XL1/XYO skills with [Skills.sh](https://skills.sh):
74
82
 
75
- From the repo root:
83
+ ```sh
84
+ npx skills add XYOracleNetwork/xyo-skills --all
85
+ ```
86
+
87
+ In XY toolchain repos, the equivalent convenience command is:
76
88
 
77
89
  ```sh
78
- xy build # tsup + tsc + publint
79
- xy test # vitest
80
- xy lint # eslint
90
+ pnpm xy skills defaults
91
+ pnpm xy skills lint --fix
81
92
  ```
82
93
 
83
- Scope to this package: `xy build @xyo-network/xl1-protocol`.
84
-
85
- ## Maintainers
86
-
87
- <table>
88
- <tr>
89
- <td align="center" valign="top" width="120">
90
- <a href="https://github.com/arietrouw">
91
- <img src="https://github.com/arietrouw.png" width="80" height="80" alt="Arie Trouw" /><br />
92
- <sub><b>Arie Trouw</b></sub>
93
- </a>
94
- <br />
95
- <a href="https://arietrouw.com">arietrouw.com</a>
96
- </td>
97
- <td align="center" valign="top" width="120">
98
- <a href="https://github.com/jonesmac">
99
- <img src="https://github.com/jonesmac.png" width="80" height="80" alt="Matt Jones" /><br />
100
- <sub><b>Matt Jones</b></sub>
101
- </a>
102
- </td>
103
- <td align="center" valign="top" width="120">
104
- <a href="https://github.com/JoelBCarter">
105
- <img src="https://github.com/JoelBCarter.png" width="80" height="80" alt="Joel Carter" /><br />
106
- <sub><b>Joel Carter</b></sub>
107
- </a>
108
- </td>
109
- </tr>
110
- </table>
94
+ For XL1 work, ask your agent to use `xyo-knowledge`, `xl1-knowledge`, and
95
+ `xl1-patterns`. These skills cover XYO primitives, XL1 chain and gateway APIs,
96
+ and application patterns for XL1 dApps.
97
+
98
+ ## Building Locally
99
+
100
+ ```sh
101
+ pnpm xy build @xyo-network/xl1-protocol
102
+ pnpm xy test @xyo-network/xl1-protocol
103
+ pnpm xy lint @xyo-network/xl1-protocol
104
+ ```
111
105
 
112
106
  ## License
113
107
 
114
- See the [LICENSE](./LICENSE) file for license rights and limitations (LGPL-3.0-only).
108
+ See the repository [LICENSE](../../LICENSE) file for license rights and
109
+ limitations (LGPL-3.0-only).
115
110
 
116
111
  ## Credits
117
112
 
@@ -120,5 +115,5 @@ See the [LICENSE](./LICENSE) file for license rights and limitations (LGPL-3.0-o
120
115
  [npm-badge]: https://img.shields.io/npm/v/@xyo-network/xl1-protocol.svg
121
116
  [npm-link]: https://www.npmjs.com/package/@xyo-network/xl1-protocol
122
117
  [license-badge]: https://img.shields.io/npm/l/@xyo-network/xl1-protocol.svg
123
- [license-link]: ./LICENSE
118
+ [license-link]: ../../LICENSE
124
119
  [logo]: https://cdn.xy.company/img/brand/XYO_full_colored.png
@@ -1,5 +1,5 @@
1
- export * from '@xyo-network/xl1-network-model';
2
- export * from '@xyo-network/xl1-protocol-lib';
3
- export * from '@xyo-network/xl1-schema';
4
- export * from '@xyo-network/xl1-validation';
1
+ export * from './modules/network-model/index.js';
2
+ export * from './modules/protocol-lib/index.js';
3
+ export * from './modules/schema/index.js';
4
+ export * from './modules/validation/index.js';
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAA;AAC9C,cAAc,+BAA+B,CAAA;AAC7C,cAAc,yBAAyB,CAAA;AACvC,cAAc,6BAA6B,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,eAAe,CAAA;AAC7B,cAAc,SAAS,CAAA;AACvB,cAAc,aAAa,CAAA"}
@@ -1,6 +1,6 @@
1
1
  // src/index.ts
2
- export * from "@xyo-network/xl1-network-model";
3
- export * from "@xyo-network/xl1-protocol-lib";
4
- export * from "@xyo-network/xl1-schema";
5
- export * from "@xyo-network/xl1-validation";
2
+ export * from "#network-model";
3
+ export * from "#protocol-lib";
4
+ export * from "#schema";
5
+ export * from "#validation";
6
6
  //# sourceMappingURL=index.mjs.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/index.ts"],
4
- "sourcesContent": ["export * from '@xyo-network/xl1-network-model'\nexport * from '@xyo-network/xl1-protocol-lib'\nexport * from '@xyo-network/xl1-schema'\nexport * from '@xyo-network/xl1-validation'\n"],
5
- "mappings": ";AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;",
4
+ "sourcesContent": ["// Generated by xy monolith layout sync (package-sync-layout) \u2014 do not edit by hand.\nexport * from '#network-model'\nexport * from '#protocol-lib'\nexport * from '#schema'\nexport * from '#validation'\n"],
5
+ "mappings": ";AACA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;",
6
6
  "names": []
7
7
  }
@@ -0,0 +1,4 @@
1
+ export * from './local/index.js';
2
+ export * from './mainnet/index.js';
3
+ export * from './sequence/index.js';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/network-model/icons/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA;AAChC,cAAc,oBAAoB,CAAA;AAClC,cAAc,qBAAqB,CAAA"}
@@ -0,0 +1,2 @@
1
+ export { default as LocalNetworkIconString } from './local.svg.js';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/network-model/icons/local/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,aAAa,CAAA"}
@@ -0,0 +1,2 @@
1
+ export { default as MainNetworkIconString } from './mainnet.svg.js';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/network-model/icons/mainnet/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,eAAe,CAAA"}
@@ -0,0 +1,2 @@
1
+ export { default as SequenceNetworkIconString } from './testnet.svg.js';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/network-model/icons/sequence/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,eAAe,CAAA"}
@@ -0,0 +1,7 @@
1
+ export * from './icons/index.js';
2
+ export * from './lib/index.js';
3
+ export * from './models/index.js';
4
+ export * from './modules/index.js';
5
+ export * from './staticRest/index.js';
6
+ export * from './utils/index.js';
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/network-model/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA;AAChC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,mBAAmB,CAAA;AACjC,cAAc,oBAAoB,CAAA;AAClC,cAAc,uBAAuB,CAAA;AACrC,cAAc,kBAAkB,CAAA"}
@@ -0,0 +1,8 @@
1
+ import { LocalNetwork, MainNetwork, SequenceNetwork } from './Networks.js';
2
+ /** Map of network IDs to their corresponding Data Lake API URLs. */
3
+ export declare const NetworkDataLakeUrls: {
4
+ readonly [MainNetwork.id]: "https://api.archivist.xyo.network/dataLake";
5
+ readonly [SequenceNetwork.id]: "https://beta.api.archivist.xyo.network/dataLake";
6
+ readonly [LocalNetwork.id]: "http://localhost:8080/dataLake";
7
+ };
8
+ //# sourceMappingURL=NetworkDataLakeUrls.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NetworkDataLakeUrls.d.ts","sourceRoot":"","sources":["../../../../../src/modules/network-model/lib/NetworkDataLakeUrls.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,YAAY,EAAE,WAAW,EAAE,eAAe,EAC3C,MAAM,eAAe,CAAA;AAEtB,oEAAoE;AACpE,eAAO,MAAM,mBAAmB;IAC9B,SAAA,CAAC,WAAW,CAAC,EAAE,CAAC,+CAA8C;IAC9D,SAAA,CAAC,eAAe,CAAC,EAAE,CAAC,oDAAmD;IACvE,SAAA,CAAC,YAAY,CAAC,EAAE,CAAC,mCAAkC;CACL,CAAA"}
@@ -0,0 +1,10 @@
1
+ import type { NetworkBootstrap } from '../models/index.js';
2
+ /** Bootstrap configuration for the XYO Layer 1 mainnet. */
3
+ export declare const MainNetwork: NetworkBootstrap;
4
+ /** Bootstrap configuration for the XYO Layer 1 sequence (test) network. */
5
+ export declare const SequenceNetwork: NetworkBootstrap;
6
+ /** Bootstrap configuration for a local development network. */
7
+ export declare const LocalNetwork: NetworkBootstrap;
8
+ /** Default set of available XYO Layer 1 networks (mainnet, sequence, local). */
9
+ export declare const DefaultNetworks: NetworkBootstrap[];
10
+ //# sourceMappingURL=Networks.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Networks.d.ts","sourceRoot":"","sources":["../../../../../src/modules/network-model/lib/Networks.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,gBAAgB,EAAa,MAAM,oBAAoB,CAAA;AAGrE,2DAA2D;AAC3D,eAAO,MAAM,WAAW,EAAE,gBAUzB,CAAA;AAED,2EAA2E;AAC3E,eAAO,MAAM,eAAe,EAAE,gBAU7B,CAAA;AAED,+DAA+D;AAC/D,eAAO,MAAM,YAAY,EAAE,gBAS1B,CAAA;AAED,gFAAgF;AAChF,eAAO,MAAM,eAAe,EAAE,gBAAgB,EAAiD,CAAA"}
@@ -0,0 +1,3 @@
1
+ export * from './NetworkDataLakeUrls.js';
2
+ export * from './Networks.js';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/network-model/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAA;AACxC,cAAc,eAAe,CAAA"}
@@ -0,0 +1,2 @@
1
+ export * from './networkManifest.js';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/network-model/manifest/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA"}
@@ -0,0 +1,4 @@
1
+ import type { PackageManifestPayload } from '@xyo-network/sdk';
2
+ /** @deprecated XYO Node manifest bootstrap is no longer used; wire providers via archivist bindings or JsonRpc instead. */
3
+ export declare const NetworkNodeManifest: PackageManifestPayload;
4
+ //# sourceMappingURL=networkManifest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"networkManifest.d.ts","sourceRoot":"","sources":["../../../../../src/modules/network-model/manifest/networkManifest.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAA;AAI9D,2HAA2H;AAC3H,eAAO,MAAM,mBAAmB,EAAsB,sBAAsB,CAAA"}
@@ -0,0 +1,56 @@
1
+ import type { Address } from '@ariestools/sdk';
2
+ import type { Payload } from '@xyo-network/sdk';
3
+ import type { ChainId } from '../../protocol-lib/index.js';
4
+ import type { NetworkId } from './NetworkId.js';
5
+ /** Connection details for accessing a chain endpoint. */
6
+ export interface ChainConnection {
7
+ /** Chain Identifier - can be a hex (eth contract address) or a string */
8
+ chain?: ChainId;
9
+ /** Name of the chain */
10
+ name: string;
11
+ /** URL for accessing the network */
12
+ url: string;
13
+ }
14
+ /** Schema identifier for network bootstrap payloads. */
15
+ export declare const NetworkBootstrapSchema: "network.xyo.network.bootstrap" & {
16
+ readonly __schema: true;
17
+ };
18
+ /** Schema type for network bootstrap payloads. */
19
+ export type NetworkBootstrapSchema = typeof NetworkBootstrapSchema;
20
+ /** Fields describing a chain fork origin. */
21
+ export interface ChainForkFields {
22
+ /** Block Number at which the chain was forked from */
23
+ forkedAtLastBlockNumber?: string;
24
+ /** Hash in the last block the chain was forked from */
25
+ forkedAtLastHash?: string;
26
+ /** Address of the forked chain */
27
+ forkedChainId?: Address;
28
+ }
29
+ /** Core fields describing an XYO network. */
30
+ export interface NetworkFields {
31
+ /** Description of the network */
32
+ description: string;
33
+ /** URL for accessing the network explorer */
34
+ explorerUrl?: string;
35
+ /** string representation of the icon (SVG) */
36
+ icon?: string;
37
+ /** Machine-readable identifier */
38
+ id: NetworkId;
39
+ schema: NetworkBootstrapSchema;
40
+ /** Symbol of the network */
41
+ symbol?: string;
42
+ }
43
+ /** Optional Properties can be found walking the chain to the genesis block */
44
+ export interface NetworkBootstrapFields extends NetworkFields, ChainForkFields, ChainConnection {
45
+ }
46
+ /** A network bootstrap extended with a flag indicating whether it is a custom network. */
47
+ export interface Network extends NetworkBootstrap {
48
+ custom: boolean;
49
+ }
50
+ /** Payload type containing all network bootstrap configuration fields. */
51
+ export type NetworkBootstrap = Payload<NetworkBootstrapFields, NetworkBootstrapSchema>;
52
+ /** Type guard that checks whether a payload is a NetworkBootstrap. */
53
+ export declare const isNetworkBootstrap: (x?: unknown) => x is NetworkBootstrap;
54
+ /** Optionally casts a value to a Network if it is a valid NetworkBootstrap. */
55
+ export declare const asOptionalNetwork: (value: import("@ariestools/sdk").AnyNonPromise) => NetworkBootstrap | undefined;
56
+ //# sourceMappingURL=Bootstrap.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Bootstrap.d.ts","sourceRoot":"","sources":["../../../../../src/modules/network-model/models/Bootstrap.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAE9C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAG/C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AAE5C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAE/C,yDAAyD;AACzD,MAAM,WAAW,eAAe;IAC9B,yEAAyE;IACzE,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,wBAAwB;IACxB,IAAI,EAAE,MAAM,CAAA;IACZ,oCAAoC;IACpC,GAAG,EAAE,MAAM,CAAA;CACZ;AAED,wDAAwD;AACxD,eAAO,MAAM,sBAAsB;;CAAkD,CAAA;AACrF,kDAAkD;AAClD,MAAM,MAAM,sBAAsB,GAAG,OAAO,sBAAsB,CAAA;AAElE,6CAA6C;AAC7C,MAAM,WAAW,eAAe;IAC9B,sDAAsD;IACtD,uBAAuB,CAAC,EAAE,MAAM,CAAA;IAChC,uDAAuD;IACvD,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,kCAAkC;IAClC,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB;AAED,6CAA6C;AAC7C,MAAM,WAAW,aAAa;IAC5B,iCAAiC;IACjC,WAAW,EAAE,MAAM,CAAA;IACnB,6CAA6C;IAC7C,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,8CAA8C;IAC9C,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,kCAAkC;IAClC,EAAE,EAAE,SAAS,CAAA;IACb,MAAM,EAAE,sBAAsB,CAAA;IAC9B,4BAA4B;IAC5B,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,8EAA8E;AAC9E,MAAM,WAAW,sBAAuB,SAAQ,aAAa,EAAE,eAAe,EAAE,eAAe;CAAG;AAElG,0FAA0F;AAC1F,MAAM,WAAW,OAAQ,SAAQ,gBAAgB;IAC/C,MAAM,EAAE,OAAO,CAAA;CAChB;AAED,0EAA0E;AAC1E,MAAM,MAAM,gBAAgB,GAAG,OAAO,CAAC,sBAAsB,EAAE,sBAAsB,CAAC,CAAA;AAEtF,sEAAsE;AACtE,eAAO,MAAM,kBAAkB,wCAAkE,CAAA;AAEjG,+EAA+E;AAC/E,eAAO,MAAM,iBAAiB,kFAAqD,CAAA"}
@@ -0,0 +1,12 @@
1
+ import type { GatewayName } from '../../protocol-lib/index.js';
2
+ /** Default network identifiers for mainnet, sequence, and local environments. */
3
+ export type DefaultNetworkIds = ('mainnet' & {
4
+ __gatewayName: true;
5
+ }) | ('sequence' & {
6
+ __gatewayName: true;
7
+ }) | ('local' & {
8
+ __gatewayName: true;
9
+ });
10
+ /** A network identifier, either a custom gateway name or one of the default network IDs. */
11
+ export type NetworkId<T extends GatewayName | void = void> = T extends void ? DefaultNetworkIds : T | DefaultNetworkIds;
12
+ //# sourceMappingURL=NetworkId.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NetworkId.d.ts","sourceRoot":"","sources":["../../../../../src/modules/network-model/models/NetworkId.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAEhD,iFAAiF;AACjF,MAAM,MAAM,iBAAiB,GAAG,CAAC,SAAS,GAAG;IAAE,aAAa,EAAE,IAAI,CAAA;CAAE,CAAC,GAAG,CAAC,UAAU,GAAG;IAAE,aAAa,EAAE,IAAI,CAAA;CAAE,CAAC,GAAG,CAAC,OAAO,GAAG;IAAE,aAAa,EAAE,IAAI,CAAA;CAAE,CAAC,CAAA;AACpJ,4FAA4F;AAC5F,MAAM,MAAM,SAAS,CAAC,CAAC,SAAS,WAAW,GAAG,IAAI,GAAG,IAAI,IAAM,CAAC,SAAS,IAAI,GAAG,iBAAiB,GAAG,CAAC,GAAG,iBAAiB,CAAA"}
@@ -0,0 +1,3 @@
1
+ export * from './Bootstrap.js';
2
+ export * from './NetworkId.js';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/network-model/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,gBAAgB,CAAA"}
@@ -0,0 +1,2 @@
1
+ export * from './node/index.js';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/network-model/modules/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA"}
@@ -0,0 +1,10 @@
1
+ import type { AttachableNodeInstance, WalletInstance } from '@xyo-network/sdk';
2
+ /**
3
+ * Creates a network node from the network manifest using the provided wallet.
4
+ *
5
+ * @deprecated Bootstrapping an XYO `NodeInstance` via manifest is no longer supported.
6
+ * Use `connectArchivist` from `@xyo-network/xl1-protocol-sdk` for co-located archivist
7
+ * access, or `GatewayBuilder` from `@xyo-network/xl1-gateway` for remote RPC access.
8
+ */
9
+ export declare function getNetworkNode(wallet: WalletInstance): Promise<AttachableNodeInstance>;
10
+ //# sourceMappingURL=getNetworkNode.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getNetworkNode.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/network-model/modules/node/getNetworkNode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAK9E;;;;;;GAMG;AACH,wBAAsB,cAAc,CAAC,MAAM,EAAE,cAAc,GAAG,OAAO,CAAC,sBAAsB,CAAC,CAI5F"}
@@ -0,0 +1,4 @@
1
+ import type { AttachableNodeInstance } from '@xyo-network/sdk';
2
+ /** @deprecated Internal cache for deprecated `initNetworkNode`; do not use. */
3
+ export declare const getNetworkNodes: () => Map<string, AttachableNodeInstance<import("@xyo-network/sdk").NodeParams<import("@xyo-network/sdk").AnyConfigSchema<import("@xyo-network/sdk").NodeConfig>>, import("@xyo-network/sdk").NodeModuleEventData>>;
4
+ //# sourceMappingURL=getNetworkNodes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getNetworkNodes.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/network-model/modules/node/getNetworkNodes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAA;AAI9D,+EAA+E;AAC/E,eAAO,MAAM,eAAe,qNAE3B,CAAA"}
@@ -0,0 +1,4 @@
1
+ export * from './getNetworkNode.js';
2
+ export * from './getNetworkNodes.js';
3
+ export * from './initNetworkNode.js';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/network-model/modules/node/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA;AACnC,cAAc,sBAAsB,CAAA;AACpC,cAAc,sBAAsB,CAAA"}
@@ -0,0 +1,5 @@
1
+ import type { AttachableNodeInstance, WalletInstance } from '@xyo-network/sdk';
2
+ import type { NetworkBootstrap } from '../../models/index.js';
3
+ /** @deprecated Use `connectArchivist` archivist bindings (`@xyo-network/xl1-protocol-sdk`) or `GatewayBuilder` (`@xyo-network/xl1-gateway`) instead of bootstrapping an XYO NodeInstance. */
4
+ export declare const initNetworkNode: (activeNetwork: NetworkBootstrap, wallet: WalletInstance) => Promise<AttachableNodeInstance>;
5
+ //# sourceMappingURL=initNetworkNode.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"initNetworkNode.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/network-model/modules/node/initNetworkNode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAE9E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AAI7D,6LAA6L;AAC7L,eAAO,MAAM,eAAe,GAAU,eAAe,gBAAgB,EAAE,QAAQ,cAAc,KAAG,OAAO,CAAC,sBAAsB,CAQ7H,CAAA"}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Static REST layout protocol for XL1 chain data.
3
+ *
4
+ * Path builders, manifest schemas, and derived path templates shared by static file publishers
5
+ * (S3 runners) and HTTP readers (Rest viewers). See `packages/protocol/STATIC_REST_LAYOUT.md`.
6
+ */
7
+ export * from './layout/index.js';
8
+ export * from './paths/index.js';
9
+ export * from './templates.js';
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/network-model/staticRest/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,cAAc,mBAAmB,CAAA;AACjC,cAAc,kBAAkB,CAAA;AAChC,cAAc,gBAAgB,CAAA"}
@@ -0,0 +1,84 @@
1
+ import { z } from 'zod';
2
+ /** Schema id for the chain-contract manifest document. */
3
+ export declare const ChainContractManifestSchema: "network.xyo.s3.chain.contract";
4
+ /** Type literal for the chain-contract manifest schema. */
5
+ export type ChainContractManifestSchema = typeof ChainContractManifestSchema;
6
+ /** Bumped when the manifest shape changes, so readers can detect a mismatch. */
7
+ export declare const CHAIN_CONTRACT_MANIFEST_VERSION = 1;
8
+ /**
9
+ * Zod schema for the static per-chain config at `chainContractPath()`: the reward contract,
10
+ * staking token, minimum withdrawal window, and (optional) fork lineage. Published once —
11
+ * this data doesn't change per block, unlike `chain/head.json`.
12
+ */
13
+ export declare const ChainContractManifestZod: z.ZodObject<{
14
+ forkedAtBlockNumber: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodInt, z.ZodTransform<import('../../../protocol-lib/index.js').XL1BlockNumber, number>>>>;
15
+ forkedAtHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ forkedChainId: z.ZodOptional<z.ZodNullable<import("zod/mini").ZodMiniPipe<import("zod/mini").ZodMiniString<string>, import("zod/mini").ZodMiniTransform<import("@ariestools/sdk").BrandedHex, string>>>>;
17
+ minWithdrawalBlocks: z.ZodInt;
18
+ rewardsContract: z.ZodString;
19
+ schema: z.ZodLiteral<"network.xyo.s3.chain.contract">;
20
+ stakingTokenAddress: z.ZodString;
21
+ version: z.ZodInt;
22
+ }, z.core.$strip>;
23
+ /** The static per-chain contract config at `chainContractPath()`. */
24
+ export type ChainContractManifest = z.infer<typeof ChainContractManifestZod>;
25
+ /** Type guard that checks if a value is a valid ChainContractManifest. */
26
+ export declare const isChainContractManifest: <T>(value: T) => value is T & {
27
+ minWithdrawalBlocks: number;
28
+ rewardsContract: string;
29
+ schema: "network.xyo.s3.chain.contract";
30
+ stakingTokenAddress: string;
31
+ version: number;
32
+ forkedAtBlockNumber?: import('../../../protocol-lib/index.js').XL1BlockNumber | null | undefined;
33
+ forkedAtHash?: string | null | undefined;
34
+ forkedChainId?: import("@ariestools/sdk").BrandedHex | null | undefined;
35
+ };
36
+ /** Converts a value to ChainContractManifest, throwing if invalid. */
37
+ export declare const asChainContractManifest: {
38
+ <T>(value: T): (T & {
39
+ minWithdrawalBlocks: number;
40
+ rewardsContract: string;
41
+ schema: "network.xyo.s3.chain.contract";
42
+ stakingTokenAddress: string;
43
+ version: number;
44
+ forkedAtBlockNumber?: import('../../../protocol-lib/index.js').XL1BlockNumber | null | undefined;
45
+ forkedAtHash?: string | null | undefined;
46
+ forkedChainId?: import("@ariestools/sdk").BrandedHex | null | undefined;
47
+ }) | undefined;
48
+ <T>(value: T, assert: import("@ariestools/sdk").ZodFactoryConfig): T & {
49
+ minWithdrawalBlocks: number;
50
+ rewardsContract: string;
51
+ schema: "network.xyo.s3.chain.contract";
52
+ stakingTokenAddress: string;
53
+ version: number;
54
+ forkedAtBlockNumber?: import('../../../protocol-lib/index.js').XL1BlockNumber | null | undefined;
55
+ forkedAtHash?: string | null | undefined;
56
+ forkedChainId?: import("@ariestools/sdk").BrandedHex | null | undefined;
57
+ };
58
+ };
59
+ /** Non-validating cast to ChainContractManifest. */
60
+ export declare const toChainContractManifest: {
61
+ <T>(value: T): (T & {
62
+ minWithdrawalBlocks: number;
63
+ rewardsContract: string;
64
+ schema: "network.xyo.s3.chain.contract";
65
+ stakingTokenAddress: string;
66
+ version: number;
67
+ forkedAtBlockNumber?: import('../../../protocol-lib/index.js').XL1BlockNumber | null | undefined;
68
+ forkedAtHash?: string | null | undefined;
69
+ forkedChainId?: import("@ariestools/sdk").BrandedHex | null | undefined;
70
+ }) | undefined;
71
+ <T>(value: T, assert: import("@ariestools/sdk").ZodFactoryConfig): T & {
72
+ minWithdrawalBlocks: number;
73
+ rewardsContract: string;
74
+ schema: "network.xyo.s3.chain.contract";
75
+ stakingTokenAddress: string;
76
+ version: number;
77
+ forkedAtBlockNumber?: import('../../../protocol-lib/index.js').XL1BlockNumber | null | undefined;
78
+ forkedAtHash?: string | null | undefined;
79
+ forkedChainId?: import("@ariestools/sdk").BrandedHex | null | undefined;
80
+ };
81
+ };
82
+ /** Builds a validated chain-contract manifest. */
83
+ export declare function createChainContractManifest(config: Omit<ChainContractManifest, 'schema' | 'version'>): ChainContractManifest;
84
+ //# sourceMappingURL=chainContractManifest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chainContractManifest.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/network-model/staticRest/layout/chainContractManifest.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAIvB,0DAA0D;AAC1D,eAAO,MAAM,2BAA2B,EAAG,+BAAwC,CAAA;AACnF,2DAA2D;AAC3D,MAAM,MAAM,2BAA2B,GAAG,OAAO,2BAA2B,CAAA;AAE5E,gFAAgF;AAChF,eAAO,MAAM,+BAA+B,IAAI,CAAA;AAEhD;;;;GAIG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;iBASnC,CAAA;AAEF,qEAAqE;AACrE,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAA;AAE5E,0EAA0E;AAC1E,eAAO,MAAM,uBAAuB;;;;;;;;;CAAyC,CAAA;AAC7E,sEAAsE;AACtE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;CAAoE,CAAA;AACxG,oDAAoD;AACpD,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;CAAoE,CAAA;AAExG,kDAAkD;AAClD,wBAAgB,2BAA2B,CACzC,MAAM,EAAE,IAAI,CAAC,qBAAqB,EAAE,QAAQ,GAAG,SAAS,CAAC,GACxD,qBAAqB,CAMvB"}