@xyo-network/xl1-protocol 4.5.1 → 4.5.3

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 (367) hide show
  1. package/dist/neutral/modules/network-model/models/Bootstrap.d.ts +2 -0
  2. package/dist/neutral/modules/network-model/models/Bootstrap.d.ts.map +1 -1
  3. package/dist/neutral/modules/network-model/staticRest/layout/chainContractManifest.d.ts +10 -4
  4. package/dist/neutral/modules/network-model/staticRest/layout/chainContractManifest.d.ts.map +1 -1
  5. package/dist/neutral/modules/network-model/staticRest/paths/chainState.d.ts +6 -2
  6. package/dist/neutral/modules/network-model/staticRest/paths/chainState.d.ts.map +1 -1
  7. package/dist/neutral/modules/network-model/utils/ExplorerLinks.d.ts +8 -0
  8. package/dist/neutral/modules/network-model/utils/ExplorerLinks.d.ts.map +1 -1
  9. package/dist/neutral/modules/protocol-lib/OpenTelemetryProviders.d.ts +2 -0
  10. package/dist/neutral/modules/protocol-lib/OpenTelemetryProviders.d.ts.map +1 -1
  11. package/dist/neutral/modules/protocol-lib/network/Status.d.ts +6 -0
  12. package/dist/neutral/modules/protocol-lib/network/Status.d.ts.map +1 -1
  13. package/dist/neutral/modules/protocol-lib/permissions/InvokerPermission.d.ts +1 -1
  14. package/dist/neutral/modules/protocol-lib/permissions/InvokerPermission.d.ts.map +1 -1
  15. package/dist/neutral/modules/protocol-lib/permissions/XyoPermissions.d.ts +3 -1
  16. package/dist/neutral/modules/protocol-lib/permissions/XyoPermissions.d.ts.map +1 -1
  17. package/dist/neutral/modules/protocol-lib/providers/DataLake/Client.d.ts +4 -0
  18. package/dist/neutral/modules/protocol-lib/providers/DataLake/Client.d.ts.map +1 -1
  19. package/dist/neutral/modules/protocol-lib/providers/DataLake/Provider.d.ts +4 -2
  20. package/dist/neutral/modules/protocol-lib/providers/DataLake/Provider.d.ts.map +1 -1
  21. package/dist/neutral/modules/protocol-lib/providers/DataLake/Runner.d.ts +1 -1
  22. package/dist/neutral/modules/protocol-lib/providers/DataLake/Runner.d.ts.map +1 -1
  23. package/dist/neutral/modules/protocol-lib/providers/DataLake/Viewer.d.ts +1 -1
  24. package/dist/neutral/modules/protocol-lib/providers/DataLake/Viewer.d.ts.map +1 -1
  25. package/dist/neutral/modules/protocol-lib/providers/TransactionHelper.d.ts +4 -1
  26. package/dist/neutral/modules/protocol-lib/providers/TransactionHelper.d.ts.map +1 -1
  27. package/dist/neutral/modules/protocol-lib/providers/XyoClient.d.ts +7 -1
  28. package/dist/neutral/modules/protocol-lib/providers/XyoClient.d.ts.map +1 -1
  29. package/dist/neutral/modules/protocol-lib/providers/XyoConnection.d.ts +6 -1
  30. package/dist/neutral/modules/protocol-lib/providers/XyoConnection.d.ts.map +1 -1
  31. package/dist/neutral/modules/protocol-lib/providers/XyoGateway.d.ts +3 -3
  32. package/dist/neutral/modules/protocol-lib/providers/XyoGateway.d.ts.map +1 -1
  33. package/dist/neutral/modules/protocol-lib/providers/XyoGatewayRunner.d.ts +13 -2
  34. package/dist/neutral/modules/protocol-lib/providers/XyoGatewayRunner.d.ts.map +1 -1
  35. package/dist/neutral/modules/protocol-lib/providers/XyoNetwork.d.ts +2 -1
  36. package/dist/neutral/modules/protocol-lib/providers/XyoNetwork.d.ts.map +1 -1
  37. package/dist/neutral/modules/protocol-lib/providers/XyoRunner.d.ts +3 -1
  38. package/dist/neutral/modules/protocol-lib/providers/XyoRunner.d.ts.map +1 -1
  39. package/dist/neutral/modules/protocol-lib/providers/signer/XyoSigner.d.ts +15 -2
  40. package/dist/neutral/modules/protocol-lib/providers/signer/XyoSigner.d.ts.map +1 -1
  41. package/dist/neutral/modules/protocol-lib/repository/Repository.d.ts +10 -7
  42. package/dist/neutral/modules/protocol-lib/repository/Repository.d.ts.map +1 -1
  43. package/dist/neutral/modules/protocol-lib/repository/TransactionReadRepository.d.ts +1 -1
  44. package/dist/neutral/modules/protocol-lib/repository/TransactionReadRepository.d.ts.map +1 -1
  45. package/dist/neutral/modules/protocol-lib/repository/TransactionRepository.d.ts +3 -3
  46. package/dist/neutral/modules/protocol-lib/repository/TransactionRepository.d.ts.map +1 -1
  47. package/dist/neutral/modules/protocol-lib/repository/TransactionRepositoryIterator.d.ts +1 -1
  48. package/dist/neutral/modules/protocol-lib/repository/TransactionRepositoryIterator.d.ts.map +1 -1
  49. package/dist/neutral/modules/protocol-lib/repository/TransactionWriteRepository.d.ts +1 -1
  50. package/dist/neutral/modules/protocol-lib/repository/TransactionWriteRepository.d.ts.map +1 -1
  51. package/dist/neutral/modules/protocol-lib/runners/Block.d.ts +4 -1
  52. package/dist/neutral/modules/protocol-lib/runners/Block.d.ts.map +1 -1
  53. package/dist/neutral/modules/protocol-lib/runners/BlockPublish.d.ts +1 -1
  54. package/dist/neutral/modules/protocol-lib/runners/BlockPublish.d.ts.map +1 -1
  55. package/dist/neutral/modules/protocol-lib/runners/ChainStatePublish.d.ts +8 -1
  56. package/dist/neutral/modules/protocol-lib/runners/ChainStatePublish.d.ts.map +1 -1
  57. package/dist/neutral/modules/protocol-lib/runners/DeadLetterQueue.d.ts +8 -1
  58. package/dist/neutral/modules/protocol-lib/runners/DeadLetterQueue.d.ts.map +1 -1
  59. package/dist/neutral/modules/protocol-lib/runners/EvmEventIndexPublish.d.ts +1 -1
  60. package/dist/neutral/modules/protocol-lib/runners/EvmEventIndexPublish.d.ts.map +1 -1
  61. package/dist/neutral/modules/protocol-lib/runners/Finalization.d.ts +3 -1
  62. package/dist/neutral/modules/protocol-lib/runners/Finalization.d.ts.map +1 -1
  63. package/dist/neutral/modules/protocol-lib/runners/IndexPublish.d.ts +1 -1
  64. package/dist/neutral/modules/protocol-lib/runners/IndexPublish.d.ts.map +1 -1
  65. package/dist/neutral/modules/protocol-lib/runners/Mempool.d.ts +9 -2
  66. package/dist/neutral/modules/protocol-lib/runners/Mempool.d.ts.map +1 -1
  67. package/dist/neutral/modules/protocol-lib/status/SystemStatus.d.ts +24 -0
  68. package/dist/neutral/modules/protocol-lib/status/SystemStatus.d.ts.map +1 -1
  69. package/dist/neutral/modules/protocol-lib/summary/StepSummary.d.ts +2 -0
  70. package/dist/neutral/modules/protocol-lib/summary/StepSummary.d.ts.map +1 -1
  71. package/dist/neutral/modules/protocol-lib/summary/stepPlacement.d.ts +2 -0
  72. package/dist/neutral/modules/protocol-lib/summary/stepPlacement.d.ts.map +1 -1
  73. package/dist/neutral/modules/protocol-lib/validation/block/HydratedBlockStateValidationFunction.d.ts +3 -2
  74. package/dist/neutral/modules/protocol-lib/validation/block/HydratedBlockStateValidationFunction.d.ts.map +1 -1
  75. package/dist/neutral/modules/protocol-lib/validation/block/error.d.ts +18 -0
  76. package/dist/neutral/modules/protocol-lib/validation/block/error.d.ts.map +1 -1
  77. package/dist/neutral/modules/protocol-lib/validation/error.d.ts +9 -0
  78. package/dist/neutral/modules/protocol-lib/validation/error.d.ts.map +1 -1
  79. package/dist/neutral/modules/protocol-lib/validation/payload/error.d.ts +2 -0
  80. package/dist/neutral/modules/protocol-lib/validation/payload/error.d.ts.map +1 -1
  81. package/dist/neutral/modules/protocol-lib/validation/transaction/HydratedTransactionStateValidationFunction.d.ts +3 -0
  82. package/dist/neutral/modules/protocol-lib/validation/transaction/HydratedTransactionStateValidationFunction.d.ts.map +1 -1
  83. package/dist/neutral/modules/protocol-lib/validation/transaction/HydratedTransactionValidationFunction.d.ts +4 -1
  84. package/dist/neutral/modules/protocol-lib/validation/transaction/HydratedTransactionValidationFunction.d.ts.map +1 -1
  85. package/dist/neutral/modules/protocol-lib/viewers/Block.d.ts +33 -1
  86. package/dist/neutral/modules/protocol-lib/viewers/Block.d.ts.map +1 -1
  87. package/dist/neutral/modules/protocol-lib/viewers/BlockInvalidation.d.ts +9 -3
  88. package/dist/neutral/modules/protocol-lib/viewers/BlockInvalidation.d.ts.map +1 -1
  89. package/dist/neutral/modules/protocol-lib/viewers/BlockReward.d.ts +2 -1
  90. package/dist/neutral/modules/protocol-lib/viewers/BlockReward.d.ts.map +1 -1
  91. package/dist/neutral/modules/protocol-lib/viewers/BlockValidation.d.ts +10 -4
  92. package/dist/neutral/modules/protocol-lib/viewers/BlockValidation.d.ts.map +1 -1
  93. package/dist/neutral/modules/protocol-lib/viewers/ChainContract.d.ts +10 -1
  94. package/dist/neutral/modules/protocol-lib/viewers/ChainContract.d.ts.map +1 -1
  95. package/dist/neutral/modules/protocol-lib/viewers/ChainState.d.ts +6 -1
  96. package/dist/neutral/modules/protocol-lib/viewers/ChainState.d.ts.map +1 -1
  97. package/dist/neutral/modules/protocol-lib/viewers/DeadLetterQueue.d.ts +7 -5
  98. package/dist/neutral/modules/protocol-lib/viewers/DeadLetterQueue.d.ts.map +1 -1
  99. package/dist/neutral/modules/protocol-lib/viewers/EvmChain.d.ts +1 -1
  100. package/dist/neutral/modules/protocol-lib/viewers/EvmChain.d.ts.map +1 -1
  101. package/dist/neutral/modules/protocol-lib/viewers/Finalization.d.ts +6 -1
  102. package/dist/neutral/modules/protocol-lib/viewers/Finalization.d.ts.map +1 -1
  103. package/dist/neutral/modules/protocol-lib/viewers/Fork.d.ts +3 -2
  104. package/dist/neutral/modules/protocol-lib/viewers/Fork.d.ts.map +1 -1
  105. package/dist/neutral/modules/protocol-lib/viewers/IndexViewer.d.ts +1 -1
  106. package/dist/neutral/modules/protocol-lib/viewers/IndexViewer.d.ts.map +1 -1
  107. package/dist/neutral/modules/protocol-lib/viewers/Mempool.d.ts +7 -5
  108. package/dist/neutral/modules/protocol-lib/viewers/Mempool.d.ts.map +1 -1
  109. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/NetworkStakeViewer.d.ts +2 -1
  110. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/NetworkStakeViewer.d.ts.map +1 -1
  111. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/ByPositionViewer.d.ts +1 -1
  112. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/ByPositionViewer.d.ts.map +1 -1
  113. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/ByStakerViewer.d.ts +1 -1
  114. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/ByStakerViewer.d.ts.map +1 -1
  115. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/ByStepViewer.d.ts +1 -1
  116. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/ByStepViewer.d.ts.map +1 -1
  117. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/Options.d.ts +4 -0
  118. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/Options.d.ts.map +1 -1
  119. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/TotalViewer.d.ts +1 -1
  120. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/TotalViewer.d.ts.map +1 -1
  121. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/Viewer.d.ts +5 -1
  122. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/Viewer.d.ts.map +1 -1
  123. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/templates/ByIndexMethodsTemplate.d.ts +1 -1
  124. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/templates/ByIndexMethodsTemplate.d.ts.map +1 -1
  125. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/templates/MethodsTemplate.d.ts +6 -1
  126. package/dist/neutral/modules/protocol-lib/viewers/NetworkStake/Rewards/templates/MethodsTemplate.d.ts.map +1 -1
  127. package/dist/neutral/modules/protocol-lib/viewers/NetworkStakeStepReward.d.ts +22 -4
  128. package/dist/neutral/modules/protocol-lib/viewers/NetworkStakeStepReward.d.ts.map +1 -1
  129. package/dist/neutral/modules/protocol-lib/viewers/Stake.d.ts +16 -2
  130. package/dist/neutral/modules/protocol-lib/viewers/Stake.d.ts.map +1 -1
  131. package/dist/neutral/modules/protocol-lib/viewers/StakeEvents.d.ts +21 -8
  132. package/dist/neutral/modules/protocol-lib/viewers/StakeEvents.d.ts.map +1 -1
  133. package/dist/neutral/modules/protocol-lib/viewers/StakeIntent.d.ts +3 -1
  134. package/dist/neutral/modules/protocol-lib/viewers/StakeIntent.d.ts.map +1 -1
  135. package/dist/neutral/modules/protocol-lib/viewers/StakeTotals.d.ts +8 -1
  136. package/dist/neutral/modules/protocol-lib/viewers/StakeTotals.d.ts.map +1 -1
  137. package/dist/neutral/modules/protocol-lib/viewers/StepStake.d.ts +4 -1
  138. package/dist/neutral/modules/protocol-lib/viewers/StepStake.d.ts.map +1 -1
  139. package/dist/neutral/modules/protocol-lib/viewers/StepViewer.d.ts +16 -2
  140. package/dist/neutral/modules/protocol-lib/viewers/StepViewer.d.ts.map +1 -1
  141. package/dist/neutral/modules/protocol-lib/viewers/Sync.d.ts +1 -1
  142. package/dist/neutral/modules/protocol-lib/viewers/Sync.d.ts.map +1 -1
  143. package/dist/neutral/modules/protocol-lib/viewers/TimeSync.d.ts +1 -1
  144. package/dist/neutral/modules/protocol-lib/viewers/TimeSync.d.ts.map +1 -1
  145. package/dist/neutral/modules/protocol-lib/viewers/Transaction.d.ts +4 -1
  146. package/dist/neutral/modules/protocol-lib/viewers/Transaction.d.ts.map +1 -1
  147. package/dist/neutral/modules/protocol-lib/viewers/TransactionInvalidation.d.ts +7 -3
  148. package/dist/neutral/modules/protocol-lib/viewers/TransactionInvalidation.d.ts.map +1 -1
  149. package/dist/neutral/modules/protocol-lib/viewers/TransactionValidation.d.ts +8 -4
  150. package/dist/neutral/modules/protocol-lib/viewers/TransactionValidation.d.ts.map +1 -1
  151. package/dist/neutral/modules/protocol-lib/viewers/TransferBalance.d.ts +11 -3
  152. package/dist/neutral/modules/protocol-lib/viewers/TransferBalance.d.ts.map +1 -1
  153. package/dist/neutral/modules/protocol-lib/viewers/WindowedBlock.d.ts +3 -1
  154. package/dist/neutral/modules/protocol-lib/viewers/WindowedBlock.d.ts.map +1 -1
  155. package/dist/neutral/modules/protocol-lib/viewers/XyoViewer.d.ts +23 -3
  156. package/dist/neutral/modules/protocol-lib/viewers/XyoViewer.d.ts.map +1 -1
  157. package/dist/neutral/modules/protocol-model/RecordKeyType.d.ts +1 -1
  158. package/dist/neutral/modules/protocol-model/RecordKeyType.d.ts.map +1 -1
  159. package/dist/neutral/modules/protocol-model/Step/StepHash.d.ts +4 -2
  160. package/dist/neutral/modules/protocol-model/Step/StepHash.d.ts.map +1 -1
  161. package/dist/neutral/modules/protocol-model/amount/ShiftedBigIntConfig.d.ts +9 -1
  162. package/dist/neutral/modules/protocol-model/amount/ShiftedBigIntConfig.d.ts.map +1 -1
  163. package/dist/neutral/modules/protocol-model/amount/xl1AmountInstance.d.ts +28 -1
  164. package/dist/neutral/modules/protocol-model/amount/xl1AmountInstance.d.ts.map +1 -1
  165. package/dist/neutral/modules/protocol-model/block/AllowedBlockPayload.d.ts +3 -3
  166. package/dist/neutral/modules/protocol-model/block/AllowedBlockPayload.d.ts.map +1 -1
  167. package/dist/neutral/modules/protocol-model/block/BlockBoundWitness.d.ts +9 -9
  168. package/dist/neutral/modules/protocol-model/block/BlockBoundWitness.d.ts.map +1 -1
  169. package/dist/neutral/modules/protocol-model/block/HydratedBlock.d.ts +16 -16
  170. package/dist/neutral/modules/protocol-model/block/HydratedBlock.d.ts.map +1 -1
  171. package/dist/neutral/modules/protocol-model/block/signed/SignedBlockBoundWitness.d.ts +3 -3
  172. package/dist/neutral/modules/protocol-model/block/signed/SignedBlockBoundWitness.d.ts.map +1 -1
  173. package/dist/neutral/modules/protocol-model/block/signed/SignedBlockBoundWitnessWithHashMeta.d.ts +5 -5
  174. package/dist/neutral/modules/protocol-model/block/signed/SignedBlockBoundWitnessWithHashMeta.d.ts.map +1 -1
  175. package/dist/neutral/modules/protocol-model/block/signed/SignedBlockBoundWitnessWithStorageMeta.d.ts +5 -5
  176. package/dist/neutral/modules/protocol-model/block/signed/SignedBlockBoundWitnessWithStorageMeta.d.ts.map +1 -1
  177. package/dist/neutral/modules/protocol-model/block/unsigned/UnsignedBlockBoundWitness.d.ts +3 -3
  178. package/dist/neutral/modules/protocol-model/block/unsigned/UnsignedBlockBoundWitness.d.ts.map +1 -1
  179. package/dist/neutral/modules/protocol-model/chain/Chain.d.ts +1 -1
  180. package/dist/neutral/modules/protocol-model/chain/Chain.d.ts.map +1 -1
  181. package/dist/neutral/modules/protocol-model/chain/ChainAnalyzer.d.ts +9 -1
  182. package/dist/neutral/modules/protocol-model/chain/ChainAnalyzer.d.ts.map +1 -1
  183. package/dist/neutral/modules/protocol-model/chain/ChainId.d.ts +2 -2
  184. package/dist/neutral/modules/protocol-model/chain/ChainId.d.ts.map +1 -1
  185. package/dist/neutral/modules/protocol-model/fields/Addressable.d.ts +2 -1
  186. package/dist/neutral/modules/protocol-model/fields/Addressable.d.ts.map +1 -1
  187. package/dist/neutral/modules/protocol-model/fields/BlockDuration.d.ts +2 -2
  188. package/dist/neutral/modules/protocol-model/fields/BlockDuration.d.ts.map +1 -1
  189. package/dist/neutral/modules/protocol-model/fields/BlockNumber.d.ts +1 -1
  190. package/dist/neutral/modules/protocol-model/fields/BlockNumber.d.ts.map +1 -1
  191. package/dist/neutral/modules/protocol-model/map/AsyncMap.d.ts +13 -6
  192. package/dist/neutral/modules/protocol-model/map/AsyncMap.d.ts.map +1 -1
  193. package/dist/neutral/modules/protocol-model/map/MapType.d.ts +7 -7
  194. package/dist/neutral/modules/protocol-model/map/MapType.d.ts.map +1 -1
  195. package/dist/neutral/modules/protocol-model/map/SyncMap.d.ts +13 -6
  196. package/dist/neutral/modules/protocol-model/map/SyncMap.d.ts.map +1 -1
  197. package/dist/neutral/modules/protocol-model/model/AccountBalance.d.ts +11 -5
  198. package/dist/neutral/modules/protocol-model/model/AccountBalance.d.ts.map +1 -1
  199. package/dist/neutral/modules/protocol-model/model/ArrayBuffer.d.ts +2 -2
  200. package/dist/neutral/modules/protocol-model/model/ArrayBuffer.d.ts.map +1 -1
  201. package/dist/neutral/modules/protocol-model/model/BlockRange/BlockRange.d.ts +7 -7
  202. package/dist/neutral/modules/protocol-model/model/BlockRange/BlockRange.d.ts.map +1 -1
  203. package/dist/neutral/modules/protocol-model/model/BlockRange/EthBlockRange.d.ts +7 -7
  204. package/dist/neutral/modules/protocol-model/model/BlockRange/EthBlockRange.d.ts.map +1 -1
  205. package/dist/neutral/modules/protocol-model/model/BlockRange/Numberish.d.ts +1 -1
  206. package/dist/neutral/modules/protocol-model/model/BlockRange/Numberish.d.ts.map +1 -1
  207. package/dist/neutral/modules/protocol-model/model/BlockRange/Range.d.ts +3 -3
  208. package/dist/neutral/modules/protocol-model/model/BlockRange/Range.d.ts.map +1 -1
  209. package/dist/neutral/modules/protocol-model/model/BlockRange/xl1BlockRange.d.ts +7 -7
  210. package/dist/neutral/modules/protocol-model/model/BlockRange/xl1BlockRange.d.ts.map +1 -1
  211. package/dist/neutral/modules/protocol-model/model/BlockRate.d.ts +19 -19
  212. package/dist/neutral/modules/protocol-model/model/BlockRate.d.ts.map +1 -1
  213. package/dist/neutral/modules/protocol-model/model/ChainQualification.d.ts +11 -11
  214. package/dist/neutral/modules/protocol-model/model/ChainQualification.d.ts.map +1 -1
  215. package/dist/neutral/modules/protocol-model/model/Context/BaseContext.d.ts +1 -1
  216. package/dist/neutral/modules/protocol-model/model/Context/BaseContext.d.ts.map +1 -1
  217. package/dist/neutral/modules/protocol-model/model/Context/BaseContext.zod.d.ts +7 -7
  218. package/dist/neutral/modules/protocol-model/model/Context/BaseContext.zod.d.ts.map +1 -1
  219. package/dist/neutral/modules/protocol-model/model/Context/BlockContext.d.ts +3 -3
  220. package/dist/neutral/modules/protocol-model/model/Context/BlockContext.d.ts.map +1 -1
  221. package/dist/neutral/modules/protocol-model/model/Context/BlockContext.zod.d.ts +3 -3
  222. package/dist/neutral/modules/protocol-model/model/Context/BlockContext.zod.d.ts.map +1 -1
  223. package/dist/neutral/modules/protocol-model/model/Context/CachingContext.d.ts +1 -1
  224. package/dist/neutral/modules/protocol-model/model/Context/CachingContext.d.ts.map +1 -1
  225. package/dist/neutral/modules/protocol-model/model/Context/CachingContext.zod.d.ts +1 -1
  226. package/dist/neutral/modules/protocol-model/model/Context/CachingContext.zod.d.ts.map +1 -1
  227. package/dist/neutral/modules/protocol-model/model/Context/ChainContext.d.ts +3 -3
  228. package/dist/neutral/modules/protocol-model/model/Context/ChainContext.d.ts.map +1 -1
  229. package/dist/neutral/modules/protocol-model/model/Context/ChainContext.zod.d.ts +3 -3
  230. package/dist/neutral/modules/protocol-model/model/Context/ChainContext.zod.d.ts.map +1 -1
  231. package/dist/neutral/modules/protocol-model/model/Context/HeadContext.d.ts +1 -1
  232. package/dist/neutral/modules/protocol-model/model/Context/HeadContext.d.ts.map +1 -1
  233. package/dist/neutral/modules/protocol-model/model/Context/HeadContext.zod.d.ts +2 -2
  234. package/dist/neutral/modules/protocol-model/model/Context/HeadContext.zod.d.ts.map +1 -1
  235. package/dist/neutral/modules/protocol-model/model/GatewayName.d.ts +1 -1
  236. package/dist/neutral/modules/protocol-model/model/GatewayName.d.ts.map +1 -1
  237. package/dist/neutral/modules/protocol-model/model/HydratedTransaction.d.ts +18 -18
  238. package/dist/neutral/modules/protocol-model/model/HydratedTransaction.d.ts.map +1 -1
  239. package/dist/neutral/modules/protocol-model/model/OpCodes.d.ts +1 -1
  240. package/dist/neutral/modules/protocol-model/model/OpCodes.d.ts.map +1 -1
  241. package/dist/neutral/modules/protocol-model/model/PayloadMap.d.ts +3 -3
  242. package/dist/neutral/modules/protocol-model/model/PayloadMap.d.ts.map +1 -1
  243. package/dist/neutral/modules/protocol-model/model/Permission.d.ts +6 -6
  244. package/dist/neutral/modules/protocol-model/model/Permission.d.ts.map +1 -1
  245. package/dist/neutral/modules/protocol-model/model/Position.d.ts +8 -1
  246. package/dist/neutral/modules/protocol-model/model/Position.d.ts.map +1 -1
  247. package/dist/neutral/modules/protocol-model/model/PositionId.d.ts +1 -1
  248. package/dist/neutral/modules/protocol-model/model/PositionId.d.ts.map +1 -1
  249. package/dist/neutral/modules/protocol-model/model/RangeMultipliers.d.ts +4 -4
  250. package/dist/neutral/modules/protocol-model/model/RangeMultipliers.d.ts.map +1 -1
  251. package/dist/neutral/modules/protocol-model/model/RewardShare.d.ts +1 -1
  252. package/dist/neutral/modules/protocol-model/model/RewardShare.d.ts.map +1 -1
  253. package/dist/neutral/modules/protocol-model/model/RewardsRangeOptions.d.ts +1 -1
  254. package/dist/neutral/modules/protocol-model/model/RewardsRangeOptions.d.ts.map +1 -1
  255. package/dist/neutral/modules/protocol-model/model/Sequence.d.ts +6 -6
  256. package/dist/neutral/modules/protocol-model/model/Sequence.d.ts.map +1 -1
  257. package/dist/neutral/modules/protocol-model/model/Stake.d.ts +3 -3
  258. package/dist/neutral/modules/protocol-model/model/Stake.d.ts.map +1 -1
  259. package/dist/neutral/modules/protocol-model/model/StakeShare.d.ts +1 -1
  260. package/dist/neutral/modules/protocol-model/model/StakeShare.d.ts.map +1 -1
  261. package/dist/neutral/modules/protocol-model/model/SyncStepSummary.d.ts +9 -9
  262. package/dist/neutral/modules/protocol-model/model/SyncStepSummary.d.ts.map +1 -1
  263. package/dist/neutral/modules/protocol-model/model/TimeDomain.d.ts +1 -1
  264. package/dist/neutral/modules/protocol-model/model/TimeDomain.d.ts.map +1 -1
  265. package/dist/neutral/modules/protocol-model/model/TransferPair.d.ts +1 -1
  266. package/dist/neutral/modules/protocol-model/model/TransferPair.d.ts.map +1 -1
  267. package/dist/neutral/modules/protocol-model/model/addresses.d.ts +5 -5
  268. package/dist/neutral/modules/protocol-model/model/addresses.d.ts.map +1 -1
  269. package/dist/neutral/modules/protocol-model/model/rewards.d.ts +7 -7
  270. package/dist/neutral/modules/protocol-model/model/rewards.d.ts.map +1 -1
  271. package/dist/neutral/modules/protocol-model/model/version.d.ts +5 -5
  272. package/dist/neutral/modules/protocol-model/model/version.d.ts.map +1 -1
  273. package/dist/neutral/modules/protocol-model/payload/StepWitness.d.ts +1 -1
  274. package/dist/neutral/modules/protocol-model/payload/StepWitness.d.ts.map +1 -1
  275. package/dist/neutral/modules/protocol-model/payload/application/Exchange/ExchangeOutcome.d.ts +1 -1
  276. package/dist/neutral/modules/protocol-model/payload/application/Exchange/ExchangeOutcome.d.ts.map +1 -1
  277. package/dist/neutral/modules/protocol-model/payload/application/Exchange/ExchangeTerms.d.ts +1 -1
  278. package/dist/neutral/modules/protocol-model/payload/application/Exchange/ExchangeTerms.d.ts.map +1 -1
  279. package/dist/neutral/modules/protocol-model/payload/application/Exchange/PartySecretReveal.d.ts +1 -1
  280. package/dist/neutral/modules/protocol-model/payload/application/Exchange/PartySecretReveal.d.ts.map +1 -1
  281. package/dist/neutral/modules/protocol-model/payload/application/Ordinal/Inscription.d.ts +1 -1
  282. package/dist/neutral/modules/protocol-model/payload/application/Ordinal/Inscription.d.ts.map +1 -1
  283. package/dist/neutral/modules/protocol-model/payload/application/Ordinal/OrdinalTransfer.d.ts +1 -1
  284. package/dist/neutral/modules/protocol-model/payload/application/Ordinal/OrdinalTransfer.d.ts.map +1 -1
  285. package/dist/neutral/modules/protocol-model/payload/application/Xrc20/TokenDeploy.d.ts +1 -1
  286. package/dist/neutral/modules/protocol-model/payload/application/Xrc20/TokenDeploy.d.ts.map +1 -1
  287. package/dist/neutral/modules/protocol-model/payload/application/Xrc20/TokenMint.d.ts +1 -1
  288. package/dist/neutral/modules/protocol-model/payload/application/Xrc20/TokenMint.d.ts.map +1 -1
  289. package/dist/neutral/modules/protocol-model/payload/application/Xrc20/TokenTransfer.d.ts +1 -1
  290. package/dist/neutral/modules/protocol-model/payload/application/Xrc20/TokenTransfer.d.ts.map +1 -1
  291. package/dist/neutral/modules/protocol-model/payload/elevatable/Bridge/BridgeDestinationObservation.d.ts +1 -1
  292. package/dist/neutral/modules/protocol-model/payload/elevatable/Bridge/BridgeDestinationObservation.d.ts.map +1 -1
  293. package/dist/neutral/modules/protocol-model/payload/elevatable/Bridge/BridgeIntent.d.ts +2 -2
  294. package/dist/neutral/modules/protocol-model/payload/elevatable/Bridge/BridgeIntent.d.ts.map +1 -1
  295. package/dist/neutral/modules/protocol-model/payload/elevatable/Bridge/BridgeSourceObservation.d.ts +1 -1
  296. package/dist/neutral/modules/protocol-model/payload/elevatable/Bridge/BridgeSourceObservation.d.ts.map +1 -1
  297. package/dist/neutral/modules/protocol-model/payload/elevatable/ChainStakeIntent.d.ts +2 -1
  298. package/dist/neutral/modules/protocol-model/payload/elevatable/ChainStakeIntent.d.ts.map +1 -1
  299. package/dist/neutral/modules/protocol-model/payload/elevatable/Executable.d.ts +10 -5
  300. package/dist/neutral/modules/protocol-model/payload/elevatable/Executable.d.ts.map +1 -1
  301. package/dist/neutral/modules/protocol-model/payload/elevatable/Hash.d.ts +1 -0
  302. package/dist/neutral/modules/protocol-model/payload/elevatable/Hash.d.ts.map +1 -1
  303. package/dist/neutral/modules/protocol-model/payload/elevatable/StepComplete.d.ts +6 -1
  304. package/dist/neutral/modules/protocol-model/payload/elevatable/StepComplete.d.ts.map +1 -1
  305. package/dist/neutral/modules/protocol-model/provider/Provider.d.ts +2 -1
  306. package/dist/neutral/modules/protocol-model/provider/Provider.d.ts.map +1 -1
  307. package/dist/neutral/modules/protocol-model/transaction/TransactionBoundWitness.d.ts +35 -35
  308. package/dist/neutral/modules/protocol-model/transaction/TransactionBoundWitness.d.ts.map +1 -1
  309. package/dist/neutral/modules/protocol-model/transaction/TransactionFees.d.ts +13 -13
  310. package/dist/neutral/modules/protocol-model/transaction/TransactionFees.d.ts.map +1 -1
  311. package/dist/neutral/modules/protocol-model/transaction/TransactionGasCosts.d.ts +1 -1
  312. package/dist/neutral/modules/protocol-model/transaction/TransactionGasCosts.d.ts.map +1 -1
  313. package/dist/neutral/modules/protocol-model/xl1/attoXl1.d.ts +15 -6
  314. package/dist/neutral/modules/protocol-model/xl1/attoXl1.d.ts.map +1 -1
  315. package/dist/neutral/modules/protocol-model/xl1/femtoXl1.d.ts +15 -6
  316. package/dist/neutral/modules/protocol-model/xl1/femtoXl1.d.ts.map +1 -1
  317. package/dist/neutral/modules/protocol-model/xl1/isXl1Factory.d.ts +38 -5
  318. package/dist/neutral/modules/protocol-model/xl1/isXl1Factory.d.ts.map +1 -1
  319. package/dist/neutral/modules/protocol-model/xl1/microXl1.d.ts +15 -6
  320. package/dist/neutral/modules/protocol-model/xl1/microXl1.d.ts.map +1 -1
  321. package/dist/neutral/modules/protocol-model/xl1/milliXl1.d.ts +15 -6
  322. package/dist/neutral/modules/protocol-model/xl1/milliXl1.d.ts.map +1 -1
  323. package/dist/neutral/modules/protocol-model/xl1/nanoXl1.d.ts +15 -6
  324. package/dist/neutral/modules/protocol-model/xl1/nanoXl1.d.ts.map +1 -1
  325. package/dist/neutral/modules/protocol-model/xl1/picoXl1.d.ts +15 -6
  326. package/dist/neutral/modules/protocol-model/xl1/picoXl1.d.ts.map +1 -1
  327. package/dist/neutral/modules/protocol-model/xl1/xl1.d.ts +15 -6
  328. package/dist/neutral/modules/protocol-model/xl1/xl1.d.ts.map +1 -1
  329. package/dist/neutral/modules/protocol-model/xl1/xl1MaxValue.d.ts +6 -1
  330. package/dist/neutral/modules/protocol-model/xl1/xl1MaxValue.d.ts.map +1 -1
  331. package/dist/neutral/modules/protocol-model/xl1/xl1Units.d.ts +6 -3
  332. package/dist/neutral/modules/protocol-model/xl1/xl1Units.d.ts.map +1 -1
  333. package/dist/neutral/modules/schema/boundwitness/BlockBoundWitness.d.ts +1 -0
  334. package/dist/neutral/modules/schema/boundwitness/BlockBoundWitness.d.ts.map +1 -1
  335. package/dist/neutral/modules/schema/boundwitness/BlockBoundWitnessWithStorageMeta.d.ts +1 -0
  336. package/dist/neutral/modules/schema/boundwitness/BlockBoundWitnessWithStorageMeta.d.ts.map +1 -1
  337. package/dist/neutral/modules/schema/boundwitness/TransactionBoundWitness.d.ts +1 -0
  338. package/dist/neutral/modules/schema/boundwitness/TransactionBoundWitness.d.ts.map +1 -1
  339. package/dist/neutral/modules/schema/boundwitness/TransactionBoundWitnessWithStorageMeta.d.ts +1 -0
  340. package/dist/neutral/modules/schema/boundwitness/TransactionBoundWitnessWithStorageMeta.d.ts.map +1 -1
  341. package/dist/neutral/modules/schema/mergeJsonSchemaRequired.d.ts +6 -0
  342. package/dist/neutral/modules/schema/mergeJsonSchemaRequired.d.ts.map +1 -1
  343. package/dist/neutral/modules/schema/payload/ChainStakeIntent.d.ts +1 -0
  344. package/dist/neutral/modules/schema/payload/ChainStakeIntent.d.ts.map +1 -1
  345. package/dist/neutral/modules/schema/payload/HashPayload.d.ts +1 -0
  346. package/dist/neutral/modules/schema/payload/HashPayload.d.ts.map +1 -1
  347. package/dist/neutral/modules/schema/payload/TransferPayload.d.ts +1 -0
  348. package/dist/neutral/modules/schema/payload/TransferPayload.d.ts.map +1 -1
  349. package/dist/neutral/modules/test/buildRandomTransaction.d.ts +7 -0
  350. package/dist/neutral/modules/test/buildRandomTransaction.d.ts.map +1 -1
  351. package/dist/neutral/modules/test/buildTransaction.d.ts +8 -0
  352. package/dist/neutral/modules/test/buildTransaction.d.ts.map +1 -1
  353. package/dist/neutral/modules/test/createTransferPayload.d.ts +1 -0
  354. package/dist/neutral/modules/test/createTransferPayload.d.ts.map +1 -1
  355. package/dist/neutral/modules/validation/transaction/validators/SignerAuthorization.d.ts +3 -0
  356. package/dist/neutral/modules/validation/transaction/validators/SignerAuthorization.d.ts.map +1 -1
  357. package/dist/neutral/network-model.mjs +12 -2
  358. package/dist/neutral/network-model.mjs.map +2 -2
  359. package/dist/neutral/protocol-lib.mjs +16 -1
  360. package/dist/neutral/protocol-lib.mjs.map +2 -2
  361. package/dist/neutral/protocol-model.mjs +1 -1
  362. package/dist/neutral/protocol-model.mjs.map +2 -2
  363. package/dist/neutral/schema.mjs.map +2 -2
  364. package/dist/neutral/test.mjs.map +2 -2
  365. package/dist/neutral/validation.mjs +2 -2
  366. package/dist/neutral/validation.mjs.map +2 -2
  367. package/package.json +5 -5
@@ -1,15 +1,24 @@
1
- /** Maximum value for the MilliXL1 branded type. */
1
+ /** Largest milliXL1 amount whose attoXL1 representation fits the 32-digit amount range. */
2
2
  export declare const MilliXL1MaxValue: bigint;
3
- /** MilliXL1 type. */
3
+ /** Non-negative XL1 amount expressed in milliXL1, where one milliXL1 equals `10^15` attoXL1. */
4
4
  export type MilliXL1 = bigint & {
5
5
  readonly _tag: 'MilliXL1';
6
6
  };
7
- /** Type guard that checks if a value is a valid MilliXL1. */
7
+ /** Returns whether a value is a bigint in the inclusive range `0` through {@link MilliXL1MaxValue}. */
8
8
  export declare const isMilliXL1: (val: unknown) => val is MilliXL1;
9
- /** Converts a value to MilliXL1, throwing if invalid. */
9
+ /**
10
+ * Validates and brands an existing bigint as a {@link MilliXL1} amount.
11
+ *
12
+ * @throws A Zod validation error when the value is not a bigint or is outside the supported range.
13
+ */
10
14
  export declare const asMilliXL1: (val: unknown) => MilliXL1;
11
- /** Converts a bigint value to MilliXL1 without validation. */
15
+ /**
16
+ * Coerces a bigint, integer number, numeric string, or boolean to {@link MilliXL1}, then validates its range.
17
+ *
18
+ * @returns The branded amount, or `undefined` when input type or range validation fails.
19
+ * @throws A JavaScript bigint-conversion error when a number is fractional or a string is not an integer.
20
+ */
12
21
  export declare const toMilliXL1: (val: unknown) => MilliXL1 | undefined;
13
- /** Shorthand alias for asMilliXL1. */
22
+ /** Strict constructor alias for {@link asMilliXL1}. */
14
23
  export declare const MilliXL1: (val: unknown) => MilliXL1;
15
24
  //# sourceMappingURL=milliXl1.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"milliXl1.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-model/xl1/milliXl1.ts"],"names":[],"mappings":"AAMA,mDAAmD;AACnD,eAAO,MAAM,gBAAgB,QAA+B,CAAA;AAC5D,qBAAqB;AACrB,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG;IAAE,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAA;CAAE,CAAA;AAC7D,6DAA6D;AAC7D,eAAO,MAAM,UAAU,mCAA0C,CAAA;AACjE,yDAAyD;AACzD,eAAO,MAAM,UAAU,4BAA0C,CAAA;AAEjE,8DAA8D;AAC9D,eAAO,MAAM,UAAU,wCAA0C,CAAA;AAEjE,sCAAsC;AACtC,eAAO,MAAM,QAAQ,4BAAa,CAAA"}
1
+ {"version":3,"file":"milliXl1.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-model/xl1/milliXl1.ts"],"names":[],"mappings":"AAMA,2FAA2F;AAC3F,eAAO,MAAM,gBAAgB,QAA+B,CAAA;AAC5D,gGAAgG;AAChG,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG;IAAE,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAA;CAAE,CAAA;AAC7D,uGAAuG;AACvG,eAAO,MAAM,UAAU,mCAA0C,CAAA;AACjE;;;;GAIG;AACH,eAAO,MAAM,UAAU,4BAA0C,CAAA;AAEjE;;;;;GAKG;AACH,eAAO,MAAM,UAAU,wCAA0C,CAAA;AAEjE,uDAAuD;AACvD,eAAO,MAAM,QAAQ,4BAAa,CAAA"}
@@ -1,15 +1,24 @@
1
- /** Maximum value for the NanoXL1 branded type. */
1
+ /** Largest nanoXL1 amount whose attoXL1 representation fits the 32-digit amount range. */
2
2
  export declare const NanoXL1MaxValue: bigint;
3
- /** NanoXL1 type. */
3
+ /** Non-negative XL1 amount expressed in nanoXL1, where one nanoXL1 equals `10^9` attoXL1. */
4
4
  export type NanoXL1 = bigint & {
5
5
  readonly _tag: 'NanoXL1';
6
6
  };
7
- /** Type guard that checks if a value is a valid NanoXL1. */
7
+ /** Returns whether a value is a bigint in the inclusive range `0` through {@link NanoXL1MaxValue}. */
8
8
  export declare const isNanoXL1: (val: unknown) => val is NanoXL1;
9
- /** Converts a value to NanoXL1, throwing if invalid. */
9
+ /**
10
+ * Validates and brands an existing bigint as a {@link NanoXL1} amount.
11
+ *
12
+ * @throws A Zod validation error when the value is not a bigint or is outside the supported range.
13
+ */
10
14
  export declare const asNanoXL1: (val: unknown) => NanoXL1;
11
- /** Converts a bigint value to NanoXL1 without validation. */
15
+ /**
16
+ * Coerces a bigint, integer number, numeric string, or boolean to {@link NanoXL1}, then validates its range.
17
+ *
18
+ * @returns The branded amount, or `undefined` when input type or range validation fails.
19
+ * @throws A JavaScript bigint-conversion error when a number is fractional or a string is not an integer.
20
+ */
12
21
  export declare const toNanoXL1: (val: unknown) => NanoXL1 | undefined;
13
- /** Shorthand alias for asNanoXL1. */
22
+ /** Strict constructor alias for {@link asNanoXL1}. */
14
23
  export declare const NanoXL1: (val: unknown) => NanoXL1;
15
24
  //# sourceMappingURL=nanoXl1.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"nanoXl1.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-model/xl1/nanoXl1.ts"],"names":[],"mappings":"AAMA,kDAAkD;AAClD,eAAO,MAAM,eAAe,QAA8B,CAAA;AAC1D,oBAAoB;AACpB,MAAM,MAAM,OAAO,GAAG,MAAM,GAAG;IAAE,QAAQ,CAAC,IAAI,EAAE,SAAS,CAAA;CAAE,CAAA;AAC3D,4DAA4D;AAC5D,eAAO,MAAM,SAAS,kCAAwC,CAAA;AAC9D,wDAAwD;AACxD,eAAO,MAAM,SAAS,2BAAwC,CAAA;AAE9D,6DAA6D;AAC7D,eAAO,MAAM,SAAS,uCAAwC,CAAA;AAE9D,qCAAqC;AACrC,eAAO,MAAM,OAAO,2BAAY,CAAA"}
1
+ {"version":3,"file":"nanoXl1.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-model/xl1/nanoXl1.ts"],"names":[],"mappings":"AAMA,0FAA0F;AAC1F,eAAO,MAAM,eAAe,QAA8B,CAAA;AAC1D,6FAA6F;AAC7F,MAAM,MAAM,OAAO,GAAG,MAAM,GAAG;IAAE,QAAQ,CAAC,IAAI,EAAE,SAAS,CAAA;CAAE,CAAA;AAC3D,sGAAsG;AACtG,eAAO,MAAM,SAAS,kCAAwC,CAAA;AAC9D;;;;GAIG;AACH,eAAO,MAAM,SAAS,2BAAwC,CAAA;AAE9D;;;;;GAKG;AACH,eAAO,MAAM,SAAS,uCAAwC,CAAA;AAE9D,sDAAsD;AACtD,eAAO,MAAM,OAAO,2BAAY,CAAA"}
@@ -1,15 +1,24 @@
1
- /** PicoXL1MaxValue constant. */
1
+ /** Largest picoXL1 amount whose attoXL1 representation fits the 32-digit amount range. */
2
2
  export declare const PicoXL1MaxValue: bigint;
3
- /** PicoXL1 type. */
3
+ /** Non-negative XL1 amount expressed in picoXL1, where one picoXL1 equals `10^6` attoXL1. */
4
4
  export type PicoXL1 = bigint & {
5
5
  readonly _tag: 'PicoXL1';
6
6
  };
7
- /** Type guard that checks if a value is a valid PicoXL1. */
7
+ /** Returns whether a value is a bigint in the inclusive range `0` through {@link PicoXL1MaxValue}. */
8
8
  export declare const isPicoXL1: (val: unknown) => val is PicoXL1;
9
- /** Converts a value to PicoXL1, throwing if invalid. */
9
+ /**
10
+ * Validates and brands an existing bigint as a {@link PicoXL1} amount.
11
+ *
12
+ * @throws A Zod validation error when the value is not a bigint or is outside the supported range.
13
+ */
10
14
  export declare const asPicoXL1: (val: unknown) => PicoXL1;
11
- /** toPicoXL1 constant. */
15
+ /**
16
+ * Coerces a bigint, integer number, numeric string, or boolean to {@link PicoXL1}, then validates its range.
17
+ *
18
+ * @returns The branded amount, or `undefined` when input type or range validation fails.
19
+ * @throws A JavaScript bigint-conversion error when a number is fractional or a string is not an integer.
20
+ */
12
21
  export declare const toPicoXL1: (val: unknown) => PicoXL1 | undefined;
13
- /** PicoXL1 constant. */
22
+ /** Strict constructor alias for {@link asPicoXL1}. */
14
23
  export declare const PicoXL1: (val: unknown) => PicoXL1;
15
24
  //# sourceMappingURL=picoXl1.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"picoXl1.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-model/xl1/picoXl1.ts"],"names":[],"mappings":"AAMA,gCAAgC;AAChC,eAAO,MAAM,eAAe,QAA8B,CAAA;AAC1D,oBAAoB;AACpB,MAAM,MAAM,OAAO,GAAG,MAAM,GAAG;IAAE,QAAQ,CAAC,IAAI,EAAE,SAAS,CAAA;CAAE,CAAA;AAC3D,4DAA4D;AAC5D,eAAO,MAAM,SAAS,kCAAwC,CAAA;AAC9D,wDAAwD;AACxD,eAAO,MAAM,SAAS,2BAAwC,CAAA;AAE9D,0BAA0B;AAC1B,eAAO,MAAM,SAAS,uCAAwC,CAAA;AAE9D,wBAAwB;AACxB,eAAO,MAAM,OAAO,2BAAY,CAAA"}
1
+ {"version":3,"file":"picoXl1.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-model/xl1/picoXl1.ts"],"names":[],"mappings":"AAMA,0FAA0F;AAC1F,eAAO,MAAM,eAAe,QAA8B,CAAA;AAC1D,6FAA6F;AAC7F,MAAM,MAAM,OAAO,GAAG,MAAM,GAAG;IAAE,QAAQ,CAAC,IAAI,EAAE,SAAS,CAAA;CAAE,CAAA;AAC3D,sGAAsG;AACtG,eAAO,MAAM,SAAS,kCAAwC,CAAA;AAC9D;;;;GAIG;AACH,eAAO,MAAM,SAAS,2BAAwC,CAAA;AAE9D;;;;;GAKG;AACH,eAAO,MAAM,SAAS,uCAAwC,CAAA;AAE9D,sDAAsD;AACtD,eAAO,MAAM,OAAO,2BAAY,CAAA"}
@@ -1,15 +1,24 @@
1
- /** XL1MaxValue constant. */
1
+ /** Largest whole-XL1 amount whose attoXL1 representation fits the 32-digit amount range. */
2
2
  export declare const XL1MaxValue: bigint;
3
- /** XL1 type. */
3
+ /** Non-negative amount expressed in whole XL1, where one XL1 equals `10^18` attoXL1. */
4
4
  export type XL1 = bigint & {
5
5
  readonly _tag: 'XL1';
6
6
  };
7
- /** Type guard that checks if a value is a valid XL1. */
7
+ /** Returns whether a value is a bigint in the inclusive range `0` through {@link XL1MaxValue}. */
8
8
  export declare const isXL1: (val: unknown) => val is XL1;
9
- /** Converts a value to XL1, throwing if invalid. */
9
+ /**
10
+ * Validates and brands an existing bigint as a whole-{@link XL1} amount.
11
+ *
12
+ * @throws A Zod validation error when the value is not a bigint or is outside the supported range.
13
+ */
10
14
  export declare const asXL1: (val: unknown) => XL1;
11
- /** toXL1 constant. */
15
+ /**
16
+ * Coerces a bigint, integer number, numeric string, or boolean to whole {@link XL1}, then validates its range.
17
+ *
18
+ * @returns The branded amount, or `undefined` when input type or range validation fails.
19
+ * @throws A JavaScript bigint-conversion error when a number is fractional or a string is not an integer.
20
+ */
12
21
  export declare const toXL1: (val: unknown) => XL1 | undefined;
13
- /** XL1 constant. */
22
+ /** Strict constructor alias for {@link asXL1}. */
14
23
  export declare const XL1: (val: unknown) => XL1;
15
24
  //# sourceMappingURL=xl1.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"xl1.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-model/xl1/xl1.ts"],"names":[],"mappings":"AAMA,4BAA4B;AAC5B,eAAO,MAAM,WAAW,QAA6B,CAAA;AACrD,gBAAgB;AAChB,MAAM,MAAM,GAAG,GAAG,MAAM,GAAG;IAAE,QAAQ,CAAC,IAAI,EAAE,KAAK,CAAA;CAAE,CAAA;AACnD,wDAAwD;AACxD,eAAO,MAAM,KAAK,8BAAmC,CAAA;AACrD,oDAAoD;AACpD,eAAO,MAAM,KAAK,uBAAmC,CAAA;AAErD,sBAAsB;AACtB,eAAO,MAAM,KAAK,mCAAmC,CAAA;AAErD,oBAAoB;AACpB,eAAO,MAAM,GAAG,uBAAQ,CAAA"}
1
+ {"version":3,"file":"xl1.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-model/xl1/xl1.ts"],"names":[],"mappings":"AAMA,4FAA4F;AAC5F,eAAO,MAAM,WAAW,QAA6B,CAAA;AACrD,wFAAwF;AACxF,MAAM,MAAM,GAAG,GAAG,MAAM,GAAG;IAAE,QAAQ,CAAC,IAAI,EAAE,KAAK,CAAA;CAAE,CAAA;AACnD,kGAAkG;AAClG,eAAO,MAAM,KAAK,8BAAmC,CAAA;AACrD;;;;GAIG;AACH,eAAO,MAAM,KAAK,uBAAmC,CAAA;AAErD;;;;;GAKG;AACH,eAAO,MAAM,KAAK,mCAAmC,CAAA;AAErD,kDAAkD;AAClD,eAAO,MAAM,GAAG,uBAAQ,CAAA"}
@@ -1,3 +1,8 @@
1
- /** Computes the maximum value for an XL1 unit given its decimal places. */
1
+ /**
2
+ * Computes the largest count of a denomination that fits the 32-decimal-digit XL1 amount range.
3
+ *
4
+ * @param places The denomination's decimal places relative to attoXL1.
5
+ * @returns `10 ** (32 - places) - 1`.
6
+ */
2
7
  export declare const xl1MaxValue: (places: bigint) => bigint;
3
8
  //# sourceMappingURL=xl1MaxValue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"xl1MaxValue.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-model/xl1/xl1MaxValue.ts"],"names":[],"mappings":"AAAA,2EAA2E;AAC3E,eAAO,MAAM,WAAW,GAAI,QAAQ,MAAM,WAA+B,CAAA"}
1
+ {"version":3,"file":"xl1MaxValue.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-model/xl1/xl1MaxValue.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,eAAO,MAAM,WAAW,GAAI,QAAQ,MAAM,WAA+B,CAAA"}
@@ -1,9 +1,12 @@
1
1
  type XL1Units = 'xl1' | 'milli' | 'micro' | 'nano' | 'pico' | 'femto' | 'atto';
2
- /** Decimal place definitions for each XL1 currency unit (atto=18, femto=15, etc.). */
2
+ /** Decimal exponent used to convert each XL1 denomination to atomic attoXL1 units. */
3
3
  export declare const XL1Places: Record<XL1Units, bigint>;
4
4
  /**
5
- * Convert factor by which a respective unit is multiplied to convert it to AttoXL1 or
6
- * by which AttoXL1 is divided to convert it to respective unit is multiplied.
5
+ * Number of attoXL1 in one unit of each denomination.
6
+ *
7
+ * Multiply a denomination value by its factor to obtain attoXL1; divide an
8
+ * attoXL1 value by the factor to obtain that denomination, subject to integer
9
+ * truncation by the caller's arithmetic.
7
10
  */
8
11
  export declare const AttoXL1ConvertFactor: Record<XL1Units, bigint>;
9
12
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"xl1Units.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-model/xl1/xl1Units.ts"],"names":[],"mappings":"AAAA,KAAK,QAAQ,GAAG,KAAK,GAAG,OAAO,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,CAAA;AAE9E,sFAAsF;AACtF,eAAO,MAAM,SAAS,EAAE,MAAM,CAAC,QAAQ,EAAE,MAAM,CAQrC,CAAA;AAEV;;;GAGG;AACH,eAAO,MAAM,oBAAoB,EAAE,MAAM,CAAC,QAAQ,EAAE,MAAM,CAQhD,CAAA"}
1
+ {"version":3,"file":"xl1Units.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-model/xl1/xl1Units.ts"],"names":[],"mappings":"AAAA,KAAK,QAAQ,GAAG,KAAK,GAAG,OAAO,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,CAAA;AAE9E,sFAAsF;AACtF,eAAO,MAAM,SAAS,EAAE,MAAM,CAAC,QAAQ,EAAE,MAAM,CAQrC,CAAA;AAEV;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB,EAAE,MAAM,CAAC,QAAQ,EAAE,MAAM,CAQhD,CAAA"}
@@ -2,6 +2,7 @@ import type { JSONSchemaType } from 'ajv';
2
2
  import type { BlockBoundWitness } from '../../protocol-lib/index.js';
3
3
  /** JSON schema for validating BlockBoundWitness payloads. */
4
4
  export declare const BlockBoundWitnessJsonSchema: JSONSchemaType<BlockBoundWitness>;
5
+ /** Schema payload that publishes {@link BlockBoundWitnessJsonSchema} for registry-based validation. */
5
6
  export declare const BlockBoundWitnessSchemaPayload: {
6
7
  schema: "network.xyo.schema" & {
7
8
  readonly __schema: true;
@@ -1 +1 @@
1
- {"version":3,"file":"BlockBoundWitness.d.ts","sourceRoot":"","sources":["../../../../../src/modules/schema/boundwitness/BlockBoundWitness.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAEzC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAA;AAItD,6DAA6D;AAC7D,eAAO,MAAM,2BAA2B,EAAE,cAAc,CAAC,iBAAiB,CAoBhE,CAAA;AAIV,eAAO,MAAM,8BAA8B;;;;;;;;;;;CACmB,CAAA"}
1
+ {"version":3,"file":"BlockBoundWitness.d.ts","sourceRoot":"","sources":["../../../../../src/modules/schema/boundwitness/BlockBoundWitness.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAEzC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAA;AAItD,6DAA6D;AAC7D,eAAO,MAAM,2BAA2B,EAAE,cAAc,CAAC,iBAAiB,CAoBhE,CAAA;AAIV,uGAAuG;AACvG,eAAO,MAAM,8BAA8B;;;;;;;;;;;CACmB,CAAA"}
@@ -3,6 +3,7 @@ import type { JSONSchemaType } from 'ajv';
3
3
  import type { BlockBoundWitness } from '../../protocol-lib/index.js';
4
4
  /** JSON schema for validating BlockBoundWitness payloads including storage metadata. */
5
5
  export declare const BlockBoundWitnessWithStorageMetaJsonSchema: JSONSchemaType<WithStorageMeta<BlockBoundWitness>>;
6
+ /** Schema payload that publishes the storage-meta block definition for registry-based validation. */
6
7
  export declare const BlockBoundWitnessWithStorageMetaSchemaPayload: {
7
8
  schema: "network.xyo.schema" & {
8
9
  readonly __schema: true;
@@ -1 +1 @@
1
- {"version":3,"file":"BlockBoundWitnessWithStorageMeta.d.ts","sourceRoot":"","sources":["../../../../../src/modules/schema/boundwitness/BlockBoundWitnessWithStorageMeta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiB,eAAe,EAAE,MAAM,kBAAkB,CAAA;AAKtE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAEzC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAA;AAMtD,wFAAwF;AACxF,eAAO,MAAM,0CAA0C,EAAE,cAAc,CAAC,eAAe,CAAC,iBAAiB,CAAC,CAehG,CAAA;AAIV,eAAO,MAAM,6CAA6C;;;;;;;;;;;CACmB,CAAA"}
1
+ {"version":3,"file":"BlockBoundWitnessWithStorageMeta.d.ts","sourceRoot":"","sources":["../../../../../src/modules/schema/boundwitness/BlockBoundWitnessWithStorageMeta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiB,eAAe,EAAE,MAAM,kBAAkB,CAAA;AAKtE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAEzC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAA;AAMtD,wFAAwF;AACxF,eAAO,MAAM,0CAA0C,EAAE,cAAc,CAAC,eAAe,CAAC,iBAAiB,CAAC,CAehG,CAAA;AAIV,qGAAqG;AACrG,eAAO,MAAM,6CAA6C;;;;;;;;;;;CACmB,CAAA"}
@@ -2,6 +2,7 @@ import type { JSONSchemaType } from 'ajv';
2
2
  import type { TransactionBoundWitness } from '../../protocol-lib/index.js';
3
3
  /** JSON schema for validating TransactionBoundWitness payloads. */
4
4
  export declare const TransactionBoundWitnessJsonSchema: JSONSchemaType<TransactionBoundWitness>;
5
+ /** Schema payload that publishes {@link TransactionBoundWitnessJsonSchema} for registry-based validation. */
5
6
  export declare const TransactionBoundWitnessSchemaPayload: {
6
7
  schema: "network.xyo.schema" & {
7
8
  readonly __schema: true;
@@ -1 +1 @@
1
- {"version":3,"file":"TransactionBoundWitness.d.ts","sourceRoot":"","sources":["../../../../../src/modules/schema/boundwitness/TransactionBoundWitness.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAEzC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAA;AAK5D,mEAAmE;AACnE,eAAO,MAAM,iCAAiC,EAAE,cAAc,CAAC,uBAAuB,CA2B5E,CAAA;AAIV,eAAO,MAAM,oCAAoC;;;;;;;;;;;CACmB,CAAA"}
1
+ {"version":3,"file":"TransactionBoundWitness.d.ts","sourceRoot":"","sources":["../../../../../src/modules/schema/boundwitness/TransactionBoundWitness.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAEzC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAA;AAK5D,mEAAmE;AACnE,eAAO,MAAM,iCAAiC,EAAE,cAAc,CAAC,uBAAuB,CA2B5E,CAAA;AAIV,6GAA6G;AAC7G,eAAO,MAAM,oCAAoC;;;;;;;;;;;CACmB,CAAA"}
@@ -2,6 +2,7 @@ import type { JSONSchemaType } from 'ajv';
2
2
  import type { TransactionBoundWitness } from '../../protocol-lib/index.js';
3
3
  /** JSON schema for validating TransactionBoundWitness payloads including storage metadata. */
4
4
  export declare const TransactionBoundWitnessWithStorageMetaJsonSchema: JSONSchemaType<TransactionBoundWitness>;
5
+ /** Schema payload that publishes the storage-meta transaction definition for registry-based validation. */
5
6
  export declare const TransactionBoundWitnessWithStorageMetaSchemaPayload: {
6
7
  schema: "network.xyo.schema" & {
7
8
  readonly __schema: true;
@@ -1 +1 @@
1
- {"version":3,"file":"TransactionBoundWitnessWithStorageMeta.d.ts","sourceRoot":"","sources":["../../../../../src/modules/schema/boundwitness/TransactionBoundWitnessWithStorageMeta.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAEzC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAA;AAK5D,8FAA8F;AAC9F,eAAO,MAAM,gDAAgD,EAAE,cAAc,CAAC,uBAAuB,CAgB3F,CAAA;AAIV,eAAO,MAAM,mDAAmD;;;;;;;;;;;CACmB,CAAA"}
1
+ {"version":3,"file":"TransactionBoundWitnessWithStorageMeta.d.ts","sourceRoot":"","sources":["../../../../../src/modules/schema/boundwitness/TransactionBoundWitnessWithStorageMeta.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAEzC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAA;AAK5D,8FAA8F;AAC9F,eAAO,MAAM,gDAAgD,EAAE,cAAc,CAAC,uBAAuB,CAgB3F,CAAA;AAIV,2GAA2G;AAC3G,eAAO,MAAM,mDAAmD;;;;;;;;;;;CACmB,CAAA"}
@@ -1,4 +1,10 @@
1
1
  import type { JSONSchemaType } from 'ajv';
2
+ /**
3
+ * Normalizes an AJV `required` value to a readonly string array.
4
+ *
5
+ * @param required Candidate value from a JSON-schema definition.
6
+ * @returns The string itself as one item, its string array items, or an empty array.
7
+ */
2
8
  export declare const asRequiredStrings: (required: unknown) => readonly string[];
3
9
  /** Merge JSON schema `required` arrays without spreading untyped sdk-js values. */
4
10
  export declare const mergeJsonSchemaRequired: <T>(...groups: readonly unknown[]) => JSONSchemaType<T> extends {
@@ -1 +1 @@
1
- {"version":3,"file":"mergeJsonSchemaRequired.d.ts","sourceRoot":"","sources":["../../../../src/modules/schema/mergeJsonSchemaRequired.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAEzC,eAAO,MAAM,iBAAiB,GAAI,UAAU,OAAO,KAAG,SAAS,MAAM,EAIpE,CAAA;AAED,mFAAmF;AACnF,eAAO,MAAM,uBAAuB,GAAI,CAAC,EACvC,GAAG,QAAQ,SAAS,OAAO,EAAE,KAC5B,cAAc,CAAC,CAAC,CAAC,SAAS;IAAE,QAAQ,EAAE,MAAM,CAAC,CAAA;CAAE,GAAG,CAAC,GAAG,KAExD,CAAA"}
1
+ {"version":3,"file":"mergeJsonSchemaRequired.d.ts","sourceRoot":"","sources":["../../../../src/modules/schema/mergeJsonSchemaRequired.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAEzC;;;;;GAKG;AACH,eAAO,MAAM,iBAAiB,GAAI,UAAU,OAAO,KAAG,SAAS,MAAM,EAIpE,CAAA;AAED,mFAAmF;AACnF,eAAO,MAAM,uBAAuB,GAAI,CAAC,EACvC,GAAG,QAAQ,SAAS,OAAO,EAAE,KAC5B,cAAc,CAAC,CAAC,CAAC,SAAS;IAAE,QAAQ,EAAE,MAAM,CAAC,CAAA;CAAE,GAAG,CAAC,GAAG,KAExD,CAAA"}
@@ -2,6 +2,7 @@ import type { JSONSchemaType } from 'ajv';
2
2
  import type { ChainStakeIntent } from '../../protocol-lib/index.js';
3
3
  /** JSON schema for validating ChainStakeIntent payloads. */
4
4
  export declare const ChainStakeIntentPayloadJsonSchema: JSONSchemaType<ChainStakeIntent>;
5
+ /** Schema payload that publishes {@link ChainStakeIntentPayloadJsonSchema} for registry-based validation. */
5
6
  export declare const ChainStakeIntentPayloadJsonSchemaPayload: {
6
7
  schema: "network.xyo.schema" & {
7
8
  readonly __schema: true;
@@ -1 +1 @@
1
- {"version":3,"file":"ChainStakeIntent.d.ts","sourceRoot":"","sources":["../../../../../src/modules/schema/payload/ChainStakeIntent.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAEzC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAA;AAKrD,4DAA4D;AAC5D,eAAO,MAAM,iCAAiC,EAAE,cAAc,CAAC,gBAAgB,CAa9E,CAAA;AAID,eAAO,MAAM,wCAAwC;;;;;;;;;;;CACe,CAAA"}
1
+ {"version":3,"file":"ChainStakeIntent.d.ts","sourceRoot":"","sources":["../../../../../src/modules/schema/payload/ChainStakeIntent.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAEzC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAA;AAKrD,4DAA4D;AAC5D,eAAO,MAAM,iCAAiC,EAAE,cAAc,CAAC,gBAAgB,CAa9E,CAAA;AAID,6GAA6G;AAC7G,eAAO,MAAM,wCAAwC;;;;;;;;;;;CACe,CAAA"}
@@ -2,6 +2,7 @@ import type { JSONSchemaType } from 'ajv';
2
2
  import type { HashPayload } from '../../protocol-lib/index.js';
3
3
  /** JSON schema for validating Hash payloads. */
4
4
  export declare const HashPayloadJsonSchema: JSONSchemaType<HashPayload>;
5
+ /** Schema payload that publishes {@link HashPayloadJsonSchema} for registry-based validation. */
5
6
  export declare const HashPayloadJsonSchemaPayload: {
6
7
  schema: "network.xyo.schema" & {
7
8
  readonly __schema: true;
@@ -1 +1 @@
1
- {"version":3,"file":"HashPayload.d.ts","sourceRoot":"","sources":["../../../../../src/modules/schema/payload/HashPayload.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAEzC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAKhD,gDAAgD;AAChD,eAAO,MAAM,qBAAqB,EAAE,cAAc,CAAC,WAAW,CAY7D,CAAA;AAID,eAAO,MAAM,4BAA4B;;;;;;;;;;;CACe,CAAA"}
1
+ {"version":3,"file":"HashPayload.d.ts","sourceRoot":"","sources":["../../../../../src/modules/schema/payload/HashPayload.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAEzC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAKhD,gDAAgD;AAChD,eAAO,MAAM,qBAAqB,EAAE,cAAc,CAAC,WAAW,CAY7D,CAAA;AAID,iGAAiG;AACjG,eAAO,MAAM,4BAA4B;;;;;;;;;;;CACe,CAAA"}
@@ -2,6 +2,7 @@ import type { JSONSchemaType } from 'ajv';
2
2
  import type { Transfer } from '../../protocol-lib/index.js';
3
3
  /** JSON schema for validating Transfer payloads. */
4
4
  export declare const TransferPayloadJsonSchema: JSONSchemaType<Transfer>;
5
+ /** Schema payload that publishes {@link TransferPayloadJsonSchema} for registry-based validation. */
5
6
  export declare const TransferPayloadJsonSchemaPayload: {
6
7
  schema: "network.xyo.schema" & {
7
8
  readonly __schema: true;
@@ -1 +1 @@
1
- {"version":3,"file":"TransferPayload.d.ts","sourceRoot":"","sources":["../../../../../src/modules/schema/payload/TransferPayload.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAEzC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAK7C,oDAAoD;AACpD,eAAO,MAAM,yBAAyB,EAAE,cAAc,CAAC,QAAQ,CAkB9D,CAAA;AAID,eAAO,MAAM,gCAAgC;;;;;;;;;;;CACe,CAAA"}
1
+ {"version":3,"file":"TransferPayload.d.ts","sourceRoot":"","sources":["../../../../../src/modules/schema/payload/TransferPayload.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAEzC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAK7C,oDAAoD;AACpD,eAAO,MAAM,yBAAyB,EAAE,cAAc,CAAC,QAAQ,CAkB9D,CAAA;AAID,qGAAqG;AACrG,eAAO,MAAM,gCAAgC;;;;;;;;;;;CACe,CAAA"}
@@ -1,4 +1,11 @@
1
1
  import type { AccountInstance, Payload, Schema, XyoAddress } from '@xyo-network/sdk';
2
2
  import type { ChainId, SignedHydratedTransactionWithHashMeta, XL1BlockNumber } from '../protocol-lib/index.js';
3
+ /**
4
+ * Builds a signed test transaction, creating a random sender and minimal
5
+ * transfer payload when the caller does not supply them.
6
+ *
7
+ * Payloads with schemas listed in `privatePayloadSchemas` are omitted from the
8
+ * returned hydrated payload array after signing.
9
+ */
3
10
  export declare const buildRandomTransaction: (chain: ChainId, payloads?: Payload[], account?: AccountInstance, nbf?: XL1BlockNumber, exp?: XL1BlockNumber, privatePayloadSchemas?: Schema[], receiverAddress?: XyoAddress) => Promise<SignedHydratedTransactionWithHashMeta>;
4
11
  //# sourceMappingURL=buildRandomTransaction.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"buildRandomTransaction.d.ts","sourceRoot":"","sources":["../../../../src/modules/test/buildRandomTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,eAAe,EAAE,OAAO,EAAE,MAAM,EAAE,UAAU,EAC7C,MAAM,kBAAkB,CAAA;AAGzB,OAAO,KAAK,EAEV,OAAO,EACP,qCAAqC,EACrC,cAAc,EACf,MAAM,eAAe,CAAA;AAMtB,eAAO,MAAM,sBAAsB,GACjC,OAAO,OAAO,EACd,WAAW,OAAO,EAAE,EACpB,UAAU,eAAe,EACzB,MAAK,cAA0C,EAC/C,MAAK,cAAmD,EACxD,wBAAuB,MAAM,EAAO,EACpC,kBAAkB,UAAU,KAC3B,OAAO,CAAC,qCAAqC,CAgB/C,CAAA"}
1
+ {"version":3,"file":"buildRandomTransaction.d.ts","sourceRoot":"","sources":["../../../../src/modules/test/buildRandomTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,eAAe,EAAE,OAAO,EAAE,MAAM,EAAE,UAAU,EAC7C,MAAM,kBAAkB,CAAA;AAGzB,OAAO,KAAK,EAEV,OAAO,EACP,qCAAqC,EACrC,cAAc,EACf,MAAM,eAAe,CAAA;AAMtB;;;;;;GAMG;AACH,eAAO,MAAM,sBAAsB,GACjC,OAAO,OAAO,EACd,WAAW,OAAO,EAAE,EACpB,UAAU,eAAe,EACzB,MAAK,cAA0C,EAC/C,MAAK,cAAmD,EACxD,wBAAuB,MAAM,EAAO,EACpC,kBAAkB,UAAU,KAC3B,OAAO,CAAC,qCAAqC,CAgB/C,CAAA"}
@@ -1,4 +1,12 @@
1
1
  import type { AccountInstance, Payload, XyoAddress } from '@xyo-network/sdk';
2
2
  import type { AllowedBlockPayload, ChainId, SignedHydratedTransactionWithHashMeta, TransactionFeesBigInt, XL1BlockNumber } from '../protocol-lib/index.js';
3
+ /**
4
+ * Builds and signs a hydrated XL1 transaction for protocol tests.
5
+ *
6
+ * On-chain payload hashes are added to the elevation script; off-chain payloads
7
+ * remain referenced by the bound witness without elevation.
8
+ *
9
+ * @throws When multiple signers are supplied without an explicit source address.
10
+ */
3
11
  export declare function buildTransaction(chain: ChainId, onChainPayloads: AllowedBlockPayload[], offChainPayloads: Payload[], signer: AccountInstance | AccountInstance[], nbf: XL1BlockNumber, exp: XL1BlockNumber, from?: XyoAddress, fees?: TransactionFeesBigInt): Promise<SignedHydratedTransactionWithHashMeta>;
4
12
  //# sourceMappingURL=buildTransaction.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"buildTransaction.d.ts","sourceRoot":"","sources":["../../../../src/modules/test/buildTransaction.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,eAAe,EAAE,OAAO,EAAE,UAAU,EACrC,MAAM,kBAAkB,CAAA;AAKzB,OAAO,KAAK,EACV,mBAAmB,EACnB,OAAO,EAGP,qCAAqC,EAGrC,qBAAqB,EACrB,cAAc,EACf,MAAM,eAAe,CAAA;AAGtB,wBAAsB,gBAAgB,CACpC,KAAK,EAAE,OAAO,EACd,eAAe,EAAE,mBAAmB,EAAE,EACtC,gBAAgB,EAAE,OAAO,EAAE,EAC3B,MAAM,EAAE,eAAe,GAAG,eAAe,EAAE,EAC3C,GAAG,EAAE,cAAc,EACnB,GAAG,EAAE,cAAc,EACnB,IAAI,CAAC,EAAE,UAAU,EACjB,IAAI,GAAE,qBAA8C,GACnD,OAAO,CAAC,qCAAqC,CAAC,CAsChD"}
1
+ {"version":3,"file":"buildTransaction.d.ts","sourceRoot":"","sources":["../../../../src/modules/test/buildTransaction.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,eAAe,EAAE,OAAO,EAAE,UAAU,EACrC,MAAM,kBAAkB,CAAA;AAKzB,OAAO,KAAK,EACV,mBAAmB,EACnB,OAAO,EAGP,qCAAqC,EAGrC,qBAAqB,EACrB,cAAc,EACf,MAAM,eAAe,CAAA;AAGtB;;;;;;;GAOG;AACH,wBAAsB,gBAAgB,CACpC,KAAK,EAAE,OAAO,EACd,eAAe,EAAE,mBAAmB,EAAE,EACtC,gBAAgB,EAAE,OAAO,EAAE,EAC3B,MAAM,EAAE,eAAe,GAAG,eAAe,EAAE,EAC3C,GAAG,EAAE,cAAc,EACnB,GAAG,EAAE,cAAc,EACnB,IAAI,CAAC,EAAE,UAAU,EACjB,IAAI,GAAE,qBAA8C,GACnD,OAAO,CAAC,qCAAqC,CAAC,CAsChD"}
@@ -1,5 +1,6 @@
1
1
  import type { JsonObject } from '@ariestools/sdk';
2
2
  import type { XyoAddress } from '@xyo-network/sdk';
3
3
  import type { Transfer } from '../protocol-lib/index.js';
4
+ /** Creates an XL1 transfer payload with hex-encoded attoXL1 amounts and the current epoch timestamp. */
4
5
  export declare function createTransferPayload(from: XyoAddress, transfers: Record<XyoAddress, bigint>, context?: JsonObject): Transfer;
5
6
  //# sourceMappingURL=createTransferPayload.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createTransferPayload.d.ts","sourceRoot":"","sources":["../../../../src/modules/test/createTransferPayload.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAGlD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAG7C,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,EAAE,UAAU,GAAG,QAAQ,CAQ7H"}
1
+ {"version":3,"file":"createTransferPayload.d.ts","sourceRoot":"","sources":["../../../../src/modules/test/createTransferPayload.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAGlD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAG7C,wGAAwG;AACxG,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,EAAE,UAAU,GAAG,QAAQ,CAQ7H"}
@@ -36,8 +36,11 @@ export declare const SignerAuthorizationZod: z.ZodDiscriminatedUnion<[z.ZodObjec
36
36
  readonly __address: true;
37
37
  }, string>>, import("zod/mini").ZodMiniPipe<import("zod/mini").ZodMiniString<string>, import("zod/mini").ZodMiniTransform<import("@xyo-network/sdk").XyoQuantAddress, string>>]>>;
38
38
  }, z.core.$strip>], "type">;
39
+ /** Type-level representation of Completed Step Reward Authorization. */
39
40
  export type CompletedStepRewardAuthorization = z.infer<typeof CompletedStepRewardAuthorizationZod>;
41
+ /** Type-level representation of Derived Receive Authorization. */
40
42
  export type DerivedReceiveAuthorization = z.infer<typeof DerivedReceiveAuthorizationZod>;
43
+ /** Type-level representation of Signer Authorization. */
41
44
  export type SignerAuthorization = z.infer<typeof SignerAuthorizationZod>;
42
45
  /**
43
46
  * Builds the `SignerValidator[]` consumed by `TransactionTransfersValidatorFactory` from a list
@@ -1 +1 @@
1
- {"version":3,"file":"SignerAuthorization.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/validation/transaction/validators/SignerAuthorization.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAA;AAKzE,iFAAiF;AACjF,eAAO,MAAM,mCAAmC;;;;;;;iBAGqB,CAAA;AAErE,0FAA0F;AAC1F,eAAO,MAAM,8BAA8B;;;;;;;;iBAImC,CAAA;AAE9E,+FAA+F;AAC/F,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;2BAGjC,CAAA;AAEF,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAA;AAClG,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAA;AACxF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAkBxE;;;;GAIG;AACH,wBAAgB,kCAAkC,CAAC,cAAc,GAAE,mBAAmB,EAAO,GAAG,eAAe,EAAE,CAEhH"}
1
+ {"version":3,"file":"SignerAuthorization.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/validation/transaction/validators/SignerAuthorization.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAA;AAKzE,iFAAiF;AACjF,eAAO,MAAM,mCAAmC;;;;;;;iBAGqB,CAAA;AAErE,0FAA0F;AAC1F,eAAO,MAAM,8BAA8B;;;;;;;;iBAImC,CAAA;AAE9E,+FAA+F;AAC/F,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;2BAGjC,CAAA;AAEF,wEAAwE;AACxE,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAA;AAClG,kEAAkE;AAClE,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAA;AACxF,yDAAyD;AACzD,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAkBxE;;;;GAIG;AACH,wBAAgB,kCAAkC,CAAC,cAAc,GAAE,mBAAmB,EAAO,GAAG,eAAe,EAAE,CAEhH"}
@@ -121,6 +121,8 @@ var ChainContractBlockNumberZod = NumberishZod.pipe(z.int().nonnegative()).trans
121
121
  var ChainContractManifestSchema = "network.xyo.s3.chain.contract";
122
122
  var CHAIN_CONTRACT_MANIFEST_VERSION = 1;
123
123
  var ChainContractManifestZod = z.object({
124
+ /** Self-identifying chain id (matches the path key). Optional for older fixtures. */
125
+ chainId: z.optional(ChainIdZod),
124
126
  forkedAtBlockNumber: ChainContractBlockNumberZod.nullable().optional(),
125
127
  forkedAtHash: z.string().nullable().optional(),
126
128
  forkedChainId: z.nullable(ChainIdZod).optional(),
@@ -151,7 +153,7 @@ import { z as z2 } from "zod";
151
153
 
152
154
  // src/modules/network-model/staticRest/paths/chainState.ts
153
155
  var headPath = () => "chain/head.json";
154
- var chainContractPath = () => "chain/contract.json";
156
+ var chainContractByIdPath = (chainId) => `chain/contracts/${chainId.toLowerCase()}.json`;
155
157
 
156
158
  // src/modules/network-model/staticRest/paths/finalized.ts
157
159
  var manifestPath = () => "manifest.json";
@@ -377,8 +379,16 @@ function evmEventIndexTailPath(address) {
377
379
 
378
380
  // src/modules/network-model/utils/ExplorerLinks.ts
379
381
  var ExplorerLinks = class {
382
+ /** Explorer origin with trailing slashes removed. */
380
383
  explorerUrl;
384
+ /** Network identifier included in generated links. */
381
385
  networkId;
386
+ /**
387
+ * Creates a link builder for one explorer deployment and network.
388
+ *
389
+ * @param explorerUrl Base explorer URL, with or without trailing slashes.
390
+ * @param networkId Network segment included in every generated URL.
391
+ */
382
392
  constructor(explorerUrl, networkId) {
383
393
  this.explorerUrl = explorerUrl.replace(/\/+$/, "");
384
394
  this.networkId = networkId;
@@ -467,7 +477,7 @@ export {
467
477
  blockHashPathTemplate,
468
478
  blockNumberPath,
469
479
  blockNumberPathTemplate,
470
- chainContractPath,
480
+ chainContractByIdPath,
471
481
  chainManifestPathTemplates,
472
482
  createChainContractManifest,
473
483
  createChainManifest,