@xyo-network/xl1-protocol 1.25.32 → 1.26.1

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 (605) hide show
  1. package/dist/neutral/index.d.ts +4 -24
  2. package/dist/neutral/index.d.ts.map +1 -1
  3. package/dist/neutral/index.mjs +5 -2047
  4. package/dist/neutral/index.mjs.map +1 -1
  5. package/package.json +17 -14
  6. package/src/index.ts +4 -24
  7. package/LICENSE +0 -165
  8. package/README.md +0 -81
  9. package/dist/neutral/BlockNumber/BlockNumber.d.ts +0 -35
  10. package/dist/neutral/BlockNumber/BlockNumber.d.ts.map +0 -1
  11. package/dist/neutral/BlockNumber/EthBlockNumber.d.ts +0 -46
  12. package/dist/neutral/BlockNumber/EthBlockNumber.d.ts.map +0 -1
  13. package/dist/neutral/BlockNumber/Numberish.d.ts +0 -6
  14. package/dist/neutral/BlockNumber/Numberish.d.ts.map +0 -1
  15. package/dist/neutral/BlockNumber/XL1BlockNumber.d.ts +0 -46
  16. package/dist/neutral/BlockNumber/XL1BlockNumber.d.ts.map +0 -1
  17. package/dist/neutral/BlockNumber/index.d.ts +0 -5
  18. package/dist/neutral/BlockNumber/index.d.ts.map +0 -1
  19. package/dist/neutral/Initializable.d.ts +0 -9
  20. package/dist/neutral/Initializable.d.ts.map +0 -1
  21. package/dist/neutral/OpenTelemetryProviders.d.ts +0 -7
  22. package/dist/neutral/OpenTelemetryProviders.d.ts.map +0 -1
  23. package/dist/neutral/RecordKeyType.d.ts +0 -4
  24. package/dist/neutral/RecordKeyType.d.ts.map +0 -1
  25. package/dist/neutral/Step/StepHash.d.ts +0 -11
  26. package/dist/neutral/Step/StepHash.d.ts.map +0 -1
  27. package/dist/neutral/Step/StepIdentity.d.ts +0 -19
  28. package/dist/neutral/Step/StepIdentity.d.ts.map +0 -1
  29. package/dist/neutral/Step/StepSizes.d.ts +0 -12
  30. package/dist/neutral/Step/StepSizes.d.ts.map +0 -1
  31. package/dist/neutral/Step/index.d.ts +0 -4
  32. package/dist/neutral/Step/index.d.ts.map +0 -1
  33. package/dist/neutral/TransferPayload.d.ts +0 -79
  34. package/dist/neutral/TransferPayload.d.ts.map +0 -1
  35. package/dist/neutral/amount/ShiftedBigIntConfig.d.ts +0 -9
  36. package/dist/neutral/amount/ShiftedBigIntConfig.d.ts.map +0 -1
  37. package/dist/neutral/amount/XL1AmountInstance.d.ts +0 -16
  38. package/dist/neutral/amount/XL1AmountInstance.d.ts.map +0 -1
  39. package/dist/neutral/amount/index.d.ts +0 -3
  40. package/dist/neutral/amount/index.d.ts.map +0 -1
  41. package/dist/neutral/block/AllowedBlockPayload.d.ts +0 -40
  42. package/dist/neutral/block/AllowedBlockPayload.d.ts.map +0 -1
  43. package/dist/neutral/block/BlockBoundWitness.d.ts +0 -544
  44. package/dist/neutral/block/BlockBoundWitness.d.ts.map +0 -1
  45. package/dist/neutral/block/HydratedBlock.d.ts +0 -1466
  46. package/dist/neutral/block/HydratedBlock.d.ts.map +0 -1
  47. package/dist/neutral/block/index.d.ts +0 -6
  48. package/dist/neutral/block/index.d.ts.map +0 -1
  49. package/dist/neutral/block/signed/SignedBlockBoundWitness.d.ts +0 -168
  50. package/dist/neutral/block/signed/SignedBlockBoundWitness.d.ts.map +0 -1
  51. package/dist/neutral/block/signed/SignedBlockBoundWitnessWithHashMeta.d.ts +0 -286
  52. package/dist/neutral/block/signed/SignedBlockBoundWitnessWithHashMeta.d.ts.map +0 -1
  53. package/dist/neutral/block/signed/SignedBlockBoundWitnessWithStorageMeta.d.ts +0 -343
  54. package/dist/neutral/block/signed/SignedBlockBoundWitnessWithStorageMeta.d.ts.map +0 -1
  55. package/dist/neutral/block/signed/index.d.ts +0 -4
  56. package/dist/neutral/block/signed/index.d.ts.map +0 -1
  57. package/dist/neutral/block/unsigned/UnsignedBlockBoundWitness.d.ts +0 -168
  58. package/dist/neutral/block/unsigned/UnsignedBlockBoundWitness.d.ts.map +0 -1
  59. package/dist/neutral/block/unsigned/index.d.ts +0 -2
  60. package/dist/neutral/block/unsigned/index.d.ts.map +0 -1
  61. package/dist/neutral/chain/Chain.d.ts +0 -4
  62. package/dist/neutral/chain/Chain.d.ts.map +0 -1
  63. package/dist/neutral/chain/ChainAnalyzer.d.ts +0 -10
  64. package/dist/neutral/chain/ChainAnalyzer.d.ts.map +0 -1
  65. package/dist/neutral/chain/ChainId.d.ts +0 -4
  66. package/dist/neutral/chain/ChainId.d.ts.map +0 -1
  67. package/dist/neutral/chain/index.d.ts +0 -4
  68. package/dist/neutral/chain/index.d.ts.map +0 -1
  69. package/dist/neutral/fields/Addressable.d.ts +0 -6
  70. package/dist/neutral/fields/Addressable.d.ts.map +0 -1
  71. package/dist/neutral/fields/BlockDuration.d.ts +0 -25
  72. package/dist/neutral/fields/BlockDuration.d.ts.map +0 -1
  73. package/dist/neutral/fields/BlockNumber.d.ts +0 -32
  74. package/dist/neutral/fields/BlockNumber.d.ts.map +0 -1
  75. package/dist/neutral/fields/ChainReference.d.ts +0 -11
  76. package/dist/neutral/fields/ChainReference.d.ts.map +0 -1
  77. package/dist/neutral/fields/index.d.ts +0 -5
  78. package/dist/neutral/fields/index.d.ts.map +0 -1
  79. package/dist/neutral/map/AsyncMap.d.ts +0 -42
  80. package/dist/neutral/map/AsyncMap.d.ts.map +0 -1
  81. package/dist/neutral/map/MapType.d.ts +0 -17
  82. package/dist/neutral/map/MapType.d.ts.map +0 -1
  83. package/dist/neutral/map/SyncMap.d.ts +0 -41
  84. package/dist/neutral/map/SyncMap.d.ts.map +0 -1
  85. package/dist/neutral/map/index.d.ts +0 -4
  86. package/dist/neutral/map/index.d.ts.map +0 -1
  87. package/dist/neutral/model/AccountBalance.d.ts +0 -133
  88. package/dist/neutral/model/AccountBalance.d.ts.map +0 -1
  89. package/dist/neutral/model/ArrayBuffer.d.ts +0 -6
  90. package/dist/neutral/model/ArrayBuffer.d.ts.map +0 -1
  91. package/dist/neutral/model/BlockRange/BlockRange.d.ts +0 -32
  92. package/dist/neutral/model/BlockRange/BlockRange.d.ts.map +0 -1
  93. package/dist/neutral/model/BlockRange/EthBlockRange.d.ts +0 -32
  94. package/dist/neutral/model/BlockRange/EthBlockRange.d.ts.map +0 -1
  95. package/dist/neutral/model/BlockRange/Numberish.d.ts +0 -4
  96. package/dist/neutral/model/BlockRange/Numberish.d.ts.map +0 -1
  97. package/dist/neutral/model/BlockRange/Range.d.ts +0 -18
  98. package/dist/neutral/model/BlockRange/Range.d.ts.map +0 -1
  99. package/dist/neutral/model/BlockRange/XL1BlockRange.d.ts +0 -32
  100. package/dist/neutral/model/BlockRange/XL1BlockRange.d.ts.map +0 -1
  101. package/dist/neutral/model/BlockRange/index.d.ts +0 -5
  102. package/dist/neutral/model/BlockRange/index.d.ts.map +0 -1
  103. package/dist/neutral/model/BlockRate.d.ts +0 -290
  104. package/dist/neutral/model/BlockRate.d.ts.map +0 -1
  105. package/dist/neutral/model/ChainQualification.d.ts +0 -57
  106. package/dist/neutral/model/ChainQualification.d.ts.map +0 -1
  107. package/dist/neutral/model/Context/BaseContext.d.ts +0 -5
  108. package/dist/neutral/model/Context/BaseContext.d.ts.map +0 -1
  109. package/dist/neutral/model/Context/BaseContext.zod.d.ts +0 -26
  110. package/dist/neutral/model/Context/BaseContext.zod.d.ts.map +0 -1
  111. package/dist/neutral/model/Context/BlockContext.d.ts +0 -9
  112. package/dist/neutral/model/Context/BlockContext.d.ts.map +0 -1
  113. package/dist/neutral/model/Context/BlockContext.zod.d.ts +0 -33
  114. package/dist/neutral/model/Context/BlockContext.zod.d.ts.map +0 -1
  115. package/dist/neutral/model/Context/CachingContext.d.ts +0 -5
  116. package/dist/neutral/model/Context/CachingContext.d.ts.map +0 -1
  117. package/dist/neutral/model/Context/CachingContext.zod.d.ts +0 -10
  118. package/dist/neutral/model/Context/CachingContext.zod.d.ts.map +0 -1
  119. package/dist/neutral/model/Context/ChainContext.d.ts +0 -9
  120. package/dist/neutral/model/Context/ChainContext.d.ts.map +0 -1
  121. package/dist/neutral/model/Context/ChainContext.zod.d.ts +0 -115
  122. package/dist/neutral/model/Context/ChainContext.zod.d.ts.map +0 -1
  123. package/dist/neutral/model/Context/HeadContext.d.ts +0 -5
  124. package/dist/neutral/model/Context/HeadContext.d.ts.map +0 -1
  125. package/dist/neutral/model/Context/HeadContext.zod.d.ts +0 -70
  126. package/dist/neutral/model/Context/HeadContext.zod.d.ts.map +0 -1
  127. package/dist/neutral/model/Context/index.d.ts +0 -11
  128. package/dist/neutral/model/Context/index.d.ts.map +0 -1
  129. package/dist/neutral/model/GatewayName.d.ts +0 -6
  130. package/dist/neutral/model/GatewayName.d.ts.map +0 -1
  131. package/dist/neutral/model/HydratedTransaction.d.ts +0 -2300
  132. package/dist/neutral/model/HydratedTransaction.d.ts.map +0 -1
  133. package/dist/neutral/model/OpCodes.d.ts +0 -3
  134. package/dist/neutral/model/OpCodes.d.ts.map +0 -1
  135. package/dist/neutral/model/PayloadMap.d.ts +0 -10
  136. package/dist/neutral/model/PayloadMap.d.ts.map +0 -1
  137. package/dist/neutral/model/Permission.d.ts +0 -59
  138. package/dist/neutral/model/Permission.d.ts.map +0 -1
  139. package/dist/neutral/model/Position.d.ts +0 -13
  140. package/dist/neutral/model/Position.d.ts.map +0 -1
  141. package/dist/neutral/model/PositionId.d.ts +0 -6
  142. package/dist/neutral/model/PositionId.d.ts.map +0 -1
  143. package/dist/neutral/model/RangeMultipliers.d.ts +0 -10
  144. package/dist/neutral/model/RangeMultipliers.d.ts.map +0 -1
  145. package/dist/neutral/model/RewardShare.d.ts +0 -3
  146. package/dist/neutral/model/RewardShare.d.ts.map +0 -1
  147. package/dist/neutral/model/RewardsRangeOptions.d.ts +0 -16
  148. package/dist/neutral/model/RewardsRangeOptions.d.ts.map +0 -1
  149. package/dist/neutral/model/Sequence.d.ts +0 -15
  150. package/dist/neutral/model/Sequence.d.ts.map +0 -1
  151. package/dist/neutral/model/Stake.d.ts +0 -121
  152. package/dist/neutral/model/Stake.d.ts.map +0 -1
  153. package/dist/neutral/model/StakeShare.d.ts +0 -3
  154. package/dist/neutral/model/StakeShare.d.ts.map +0 -1
  155. package/dist/neutral/model/TimeDomain.d.ts +0 -4
  156. package/dist/neutral/model/TimeDomain.d.ts.map +0 -1
  157. package/dist/neutral/model/TransferPair.d.ts +0 -12
  158. package/dist/neutral/model/TransferPair.d.ts.map +0 -1
  159. package/dist/neutral/model/addresses.d.ts +0 -28
  160. package/dist/neutral/model/addresses.d.ts.map +0 -1
  161. package/dist/neutral/model/defaultRewardRatio.d.ts +0 -3
  162. package/dist/neutral/model/defaultRewardRatio.d.ts.map +0 -1
  163. package/dist/neutral/model/defaultTransactionFees.d.ts +0 -4
  164. package/dist/neutral/model/defaultTransactionFees.d.ts.map +0 -1
  165. package/dist/neutral/model/index.d.ts +0 -28
  166. package/dist/neutral/model/index.d.ts.map +0 -1
  167. package/dist/neutral/model/minTransactionFees.d.ts +0 -4
  168. package/dist/neutral/model/minTransactionFees.d.ts.map +0 -1
  169. package/dist/neutral/model/rewards.d.ts +0 -15
  170. package/dist/neutral/model/rewards.d.ts.map +0 -1
  171. package/dist/neutral/model/version.d.ts +0 -11
  172. package/dist/neutral/model/version.d.ts.map +0 -1
  173. package/dist/neutral/network/NetworkId.d.ts +0 -12
  174. package/dist/neutral/network/NetworkId.d.ts.map +0 -1
  175. package/dist/neutral/network/Status.d.ts +0 -26
  176. package/dist/neutral/network/Status.d.ts.map +0 -1
  177. package/dist/neutral/network/index.d.ts +0 -3
  178. package/dist/neutral/network/index.d.ts.map +0 -1
  179. package/dist/neutral/payload/StepIdentityPayload.d.ts +0 -20
  180. package/dist/neutral/payload/StepIdentityPayload.d.ts.map +0 -1
  181. package/dist/neutral/payload/elevatable/Bridge/BridgeCompletion.d.ts +0 -23
  182. package/dist/neutral/payload/elevatable/Bridge/BridgeCompletion.d.ts.map +0 -1
  183. package/dist/neutral/payload/elevatable/Bridge/BridgeDestinationObservation.d.ts +0 -33
  184. package/dist/neutral/payload/elevatable/Bridge/BridgeDestinationObservation.d.ts.map +0 -1
  185. package/dist/neutral/payload/elevatable/Bridge/BridgeDetails.d.ts +0 -45
  186. package/dist/neutral/payload/elevatable/Bridge/BridgeDetails.d.ts.map +0 -1
  187. package/dist/neutral/payload/elevatable/Bridge/BridgeIntent.d.ts +0 -31
  188. package/dist/neutral/payload/elevatable/Bridge/BridgeIntent.d.ts.map +0 -1
  189. package/dist/neutral/payload/elevatable/Bridge/BridgeSourceObservation.d.ts +0 -33
  190. package/dist/neutral/payload/elevatable/Bridge/BridgeSourceObservation.d.ts.map +0 -1
  191. package/dist/neutral/payload/elevatable/Bridge/index.d.ts +0 -6
  192. package/dist/neutral/payload/elevatable/Bridge/index.d.ts.map +0 -1
  193. package/dist/neutral/payload/elevatable/ChainStakeIntent.d.ts +0 -24
  194. package/dist/neutral/payload/elevatable/ChainStakeIntent.d.ts.map +0 -1
  195. package/dist/neutral/payload/elevatable/Executable.d.ts +0 -20
  196. package/dist/neutral/payload/elevatable/Executable.d.ts.map +0 -1
  197. package/dist/neutral/payload/elevatable/Hash.d.ts +0 -21
  198. package/dist/neutral/payload/elevatable/Hash.d.ts.map +0 -1
  199. package/dist/neutral/payload/elevatable/StepComplete.d.ts +0 -22
  200. package/dist/neutral/payload/elevatable/StepComplete.d.ts.map +0 -1
  201. package/dist/neutral/payload/elevatable/Time.d.ts +0 -71
  202. package/dist/neutral/payload/elevatable/Time.d.ts.map +0 -1
  203. package/dist/neutral/payload/elevatable/index.d.ts +0 -7
  204. package/dist/neutral/payload/elevatable/index.d.ts.map +0 -1
  205. package/dist/neutral/payload/index.d.ts +0 -3
  206. package/dist/neutral/payload/index.d.ts.map +0 -1
  207. package/dist/neutral/permissions/InvokerPermission.d.ts +0 -53
  208. package/dist/neutral/permissions/InvokerPermission.d.ts.map +0 -1
  209. package/dist/neutral/permissions/XyoPermissions.d.ts +0 -33
  210. package/dist/neutral/permissions/XyoPermissions.d.ts.map +0 -1
  211. package/dist/neutral/permissions/index.d.ts +0 -3
  212. package/dist/neutral/permissions/index.d.ts.map +0 -1
  213. package/dist/neutral/provider/Provider.d.ts +0 -6
  214. package/dist/neutral/provider/Provider.d.ts.map +0 -1
  215. package/dist/neutral/provider/ProviderMoniker.d.ts +0 -9
  216. package/dist/neutral/provider/ProviderMoniker.d.ts.map +0 -1
  217. package/dist/neutral/provider/index.d.ts +0 -3
  218. package/dist/neutral/provider/index.d.ts.map +0 -1
  219. package/dist/neutral/providers/DataLake/Provider.d.ts +0 -10
  220. package/dist/neutral/providers/DataLake/Provider.d.ts.map +0 -1
  221. package/dist/neutral/providers/DataLake/Runner.d.ts +0 -15
  222. package/dist/neutral/providers/DataLake/Runner.d.ts.map +0 -1
  223. package/dist/neutral/providers/DataLake/Viewer.d.ts +0 -14
  224. package/dist/neutral/providers/DataLake/Viewer.d.ts.map +0 -1
  225. package/dist/neutral/providers/DataLake/index.d.ts +0 -4
  226. package/dist/neutral/providers/DataLake/index.d.ts.map +0 -1
  227. package/dist/neutral/providers/TransactionHelper.d.ts +0 -9
  228. package/dist/neutral/providers/TransactionHelper.d.ts.map +0 -1
  229. package/dist/neutral/providers/XyoClient.d.ts +0 -23
  230. package/dist/neutral/providers/XyoClient.d.ts.map +0 -1
  231. package/dist/neutral/providers/XyoConnection.d.ts +0 -18
  232. package/dist/neutral/providers/XyoConnection.d.ts.map +0 -1
  233. package/dist/neutral/providers/XyoGateway.d.ts +0 -20
  234. package/dist/neutral/providers/XyoGateway.d.ts.map +0 -1
  235. package/dist/neutral/providers/XyoGatewayRunner.d.ts +0 -55
  236. package/dist/neutral/providers/XyoGatewayRunner.d.ts.map +0 -1
  237. package/dist/neutral/providers/XyoNetwork.d.ts +0 -7
  238. package/dist/neutral/providers/XyoNetwork.d.ts.map +0 -1
  239. package/dist/neutral/providers/XyoRunner.d.ts +0 -17
  240. package/dist/neutral/providers/XyoRunner.d.ts.map +0 -1
  241. package/dist/neutral/providers/index.d.ts +0 -9
  242. package/dist/neutral/providers/index.d.ts.map +0 -1
  243. package/dist/neutral/providers/signer/XyoSigner.d.ts +0 -25
  244. package/dist/neutral/providers/signer/XyoSigner.d.ts.map +0 -1
  245. package/dist/neutral/providers/signer/index.d.ts +0 -2
  246. package/dist/neutral/providers/signer/index.d.ts.map +0 -1
  247. package/dist/neutral/repository/Repository.d.ts +0 -27
  248. package/dist/neutral/repository/Repository.d.ts.map +0 -1
  249. package/dist/neutral/repository/TransactionReadRepository.d.ts +0 -7
  250. package/dist/neutral/repository/TransactionReadRepository.d.ts.map +0 -1
  251. package/dist/neutral/repository/TransactionRepository.d.ts +0 -13
  252. package/dist/neutral/repository/TransactionRepository.d.ts.map +0 -1
  253. package/dist/neutral/repository/TransactionRepositoryIterator.d.ts +0 -7
  254. package/dist/neutral/repository/TransactionRepositoryIterator.d.ts.map +0 -1
  255. package/dist/neutral/repository/TransactionWriteRepository.d.ts +0 -6
  256. package/dist/neutral/repository/TransactionWriteRepository.d.ts.map +0 -1
  257. package/dist/neutral/repository/index.d.ts +0 -6
  258. package/dist/neutral/repository/index.d.ts.map +0 -1
  259. package/dist/neutral/runners/Block.d.ts +0 -17
  260. package/dist/neutral/runners/Block.d.ts.map +0 -1
  261. package/dist/neutral/runners/Finalization.d.ts +0 -16
  262. package/dist/neutral/runners/Finalization.d.ts.map +0 -1
  263. package/dist/neutral/runners/Mempool.d.ts +0 -27
  264. package/dist/neutral/runners/Mempool.d.ts.map +0 -1
  265. package/dist/neutral/runners/index.d.ts +0 -4
  266. package/dist/neutral/runners/index.d.ts.map +0 -1
  267. package/dist/neutral/transaction/TransactionBoundWitness.d.ts +0 -2127
  268. package/dist/neutral/transaction/TransactionBoundWitness.d.ts.map +0 -1
  269. package/dist/neutral/transaction/TransactionFees.d.ts +0 -138
  270. package/dist/neutral/transaction/TransactionFees.d.ts.map +0 -1
  271. package/dist/neutral/transaction/TransactionGasCosts.d.ts +0 -38
  272. package/dist/neutral/transaction/TransactionGasCosts.d.ts.map +0 -1
  273. package/dist/neutral/transaction/index.d.ts +0 -4
  274. package/dist/neutral/transaction/index.d.ts.map +0 -1
  275. package/dist/neutral/validation/block/BlockValidationFunction.d.ts +0 -8
  276. package/dist/neutral/validation/block/BlockValidationFunction.d.ts.map +0 -1
  277. package/dist/neutral/validation/block/HydratedBlockStateValidationFunction.d.ts +0 -22
  278. package/dist/neutral/validation/block/HydratedBlockStateValidationFunction.d.ts.map +0 -1
  279. package/dist/neutral/validation/block/HydratedBlockValidationFunction.d.ts +0 -17
  280. package/dist/neutral/validation/block/HydratedBlockValidationFunction.d.ts.map +0 -1
  281. package/dist/neutral/validation/block/error.d.ts +0 -22
  282. package/dist/neutral/validation/block/error.d.ts.map +0 -1
  283. package/dist/neutral/validation/block/index.d.ts +0 -5
  284. package/dist/neutral/validation/block/index.d.ts.map +0 -1
  285. package/dist/neutral/validation/boundwitness/BoundWitnessValidationFunction.d.ts +0 -6
  286. package/dist/neutral/validation/boundwitness/BoundWitnessValidationFunction.d.ts.map +0 -1
  287. package/dist/neutral/validation/boundwitness/HydratedBoundWitnessValidationFunction.d.ts +0 -8
  288. package/dist/neutral/validation/boundwitness/HydratedBoundWitnessValidationFunction.d.ts.map +0 -1
  289. package/dist/neutral/validation/boundwitness/error.d.ts +0 -13
  290. package/dist/neutral/validation/boundwitness/error.d.ts.map +0 -1
  291. package/dist/neutral/validation/boundwitness/index.d.ts +0 -4
  292. package/dist/neutral/validation/boundwitness/index.d.ts.map +0 -1
  293. package/dist/neutral/validation/error.d.ts +0 -11
  294. package/dist/neutral/validation/error.d.ts.map +0 -1
  295. package/dist/neutral/validation/index.d.ts +0 -6
  296. package/dist/neutral/validation/index.d.ts.map +0 -1
  297. package/dist/neutral/validation/payload/InBlockPayloadValidationFunction.d.ts +0 -11
  298. package/dist/neutral/validation/payload/InBlockPayloadValidationFunction.d.ts.map +0 -1
  299. package/dist/neutral/validation/payload/error.d.ts +0 -12
  300. package/dist/neutral/validation/payload/error.d.ts.map +0 -1
  301. package/dist/neutral/validation/payload/index.d.ts +0 -3
  302. package/dist/neutral/validation/payload/index.d.ts.map +0 -1
  303. package/dist/neutral/validation/transaction/HydratedTransactionStateValidationFunction.d.ts +0 -19
  304. package/dist/neutral/validation/transaction/HydratedTransactionStateValidationFunction.d.ts.map +0 -1
  305. package/dist/neutral/validation/transaction/HydratedTransactionValidationFunction.d.ts +0 -18
  306. package/dist/neutral/validation/transaction/HydratedTransactionValidationFunction.d.ts.map +0 -1
  307. package/dist/neutral/validation/transaction/error.d.ts +0 -8
  308. package/dist/neutral/validation/transaction/error.d.ts.map +0 -1
  309. package/dist/neutral/validation/transaction/index.d.ts +0 -4
  310. package/dist/neutral/validation/transaction/index.d.ts.map +0 -1
  311. package/dist/neutral/viewers/Block.d.ts +0 -33
  312. package/dist/neutral/viewers/Block.d.ts.map +0 -1
  313. package/dist/neutral/viewers/BlockInvalidation.d.ts +0 -69
  314. package/dist/neutral/viewers/BlockInvalidation.d.ts.map +0 -1
  315. package/dist/neutral/viewers/BlockReward.d.ts +0 -16
  316. package/dist/neutral/viewers/BlockReward.d.ts.map +0 -1
  317. package/dist/neutral/viewers/BlockValidation.d.ts +0 -69
  318. package/dist/neutral/viewers/BlockValidation.d.ts.map +0 -1
  319. package/dist/neutral/viewers/ChainContract.d.ts +0 -24
  320. package/dist/neutral/viewers/ChainContract.d.ts.map +0 -1
  321. package/dist/neutral/viewers/ChainStakeViewer.d.ts +0 -11
  322. package/dist/neutral/viewers/ChainStakeViewer.d.ts.map +0 -1
  323. package/dist/neutral/viewers/Finalization.d.ts +0 -21
  324. package/dist/neutral/viewers/Finalization.d.ts.map +0 -1
  325. package/dist/neutral/viewers/Fork.d.ts +0 -9
  326. package/dist/neutral/viewers/Fork.d.ts.map +0 -1
  327. package/dist/neutral/viewers/Mempool.d.ts +0 -33
  328. package/dist/neutral/viewers/Mempool.d.ts.map +0 -1
  329. package/dist/neutral/viewers/NetworkStake/NetworkStakeViewer.d.ts +0 -17
  330. package/dist/neutral/viewers/NetworkStake/NetworkStakeViewer.d.ts.map +0 -1
  331. package/dist/neutral/viewers/NetworkStake/Rewards/ByPositionViewer.d.ts +0 -14
  332. package/dist/neutral/viewers/NetworkStake/Rewards/ByPositionViewer.d.ts.map +0 -1
  333. package/dist/neutral/viewers/NetworkStake/Rewards/ByStakerViewer.d.ts +0 -15
  334. package/dist/neutral/viewers/NetworkStake/Rewards/ByStakerViewer.d.ts.map +0 -1
  335. package/dist/neutral/viewers/NetworkStake/Rewards/ByStepViewer.d.ts +0 -15
  336. package/dist/neutral/viewers/NetworkStake/Rewards/ByStepViewer.d.ts.map +0 -1
  337. package/dist/neutral/viewers/NetworkStake/Rewards/Options.d.ts +0 -20
  338. package/dist/neutral/viewers/NetworkStake/Rewards/Options.d.ts.map +0 -1
  339. package/dist/neutral/viewers/NetworkStake/Rewards/TotalViewer.d.ts +0 -15
  340. package/dist/neutral/viewers/NetworkStake/Rewards/TotalViewer.d.ts.map +0 -1
  341. package/dist/neutral/viewers/NetworkStake/Rewards/Viewer.d.ts +0 -20
  342. package/dist/neutral/viewers/NetworkStake/Rewards/Viewer.d.ts.map +0 -1
  343. package/dist/neutral/viewers/NetworkStake/Rewards/index.d.ts +0 -8
  344. package/dist/neutral/viewers/NetworkStake/Rewards/index.d.ts.map +0 -1
  345. package/dist/neutral/viewers/NetworkStake/Rewards/templates/ByIndexMethodsTemplate.d.ts +0 -7
  346. package/dist/neutral/viewers/NetworkStake/Rewards/templates/ByIndexMethodsTemplate.d.ts.map +0 -1
  347. package/dist/neutral/viewers/NetworkStake/Rewards/templates/MethodsTemplate.d.ts +0 -10
  348. package/dist/neutral/viewers/NetworkStake/Rewards/templates/MethodsTemplate.d.ts.map +0 -1
  349. package/dist/neutral/viewers/NetworkStake/Rewards/templates/index.d.ts +0 -3
  350. package/dist/neutral/viewers/NetworkStake/Rewards/templates/index.d.ts.map +0 -1
  351. package/dist/neutral/viewers/NetworkStake/index.d.ts +0 -3
  352. package/dist/neutral/viewers/NetworkStake/index.d.ts.map +0 -1
  353. package/dist/neutral/viewers/NetworkStakeStepReward.d.ts +0 -42
  354. package/dist/neutral/viewers/NetworkStakeStepReward.d.ts.map +0 -1
  355. package/dist/neutral/viewers/Stake.d.ts +0 -39
  356. package/dist/neutral/viewers/Stake.d.ts.map +0 -1
  357. package/dist/neutral/viewers/StakeEvents.d.ts +0 -44
  358. package/dist/neutral/viewers/StakeEvents.d.ts.map +0 -1
  359. package/dist/neutral/viewers/StakeIntent.d.ts +0 -17
  360. package/dist/neutral/viewers/StakeIntent.d.ts.map +0 -1
  361. package/dist/neutral/viewers/StakeTotals.d.ts +0 -20
  362. package/dist/neutral/viewers/StakeTotals.d.ts.map +0 -1
  363. package/dist/neutral/viewers/StepStake.d.ts +0 -15
  364. package/dist/neutral/viewers/StepStake.d.ts.map +0 -1
  365. package/dist/neutral/viewers/StepViewer.d.ts +0 -39
  366. package/dist/neutral/viewers/StepViewer.d.ts.map +0 -1
  367. package/dist/neutral/viewers/TimeSync.d.ts +0 -22
  368. package/dist/neutral/viewers/TimeSync.d.ts.map +0 -1
  369. package/dist/neutral/viewers/Transaction.d.ts +0 -23
  370. package/dist/neutral/viewers/Transaction.d.ts.map +0 -1
  371. package/dist/neutral/viewers/TransactionInvalidation.d.ts +0 -67
  372. package/dist/neutral/viewers/TransactionInvalidation.d.ts.map +0 -1
  373. package/dist/neutral/viewers/TransactionValidation.d.ts +0 -68
  374. package/dist/neutral/viewers/TransactionValidation.d.ts.map +0 -1
  375. package/dist/neutral/viewers/TransferBalance.d.ts +0 -35
  376. package/dist/neutral/viewers/TransferBalance.d.ts.map +0 -1
  377. package/dist/neutral/viewers/WindowedBlock.d.ts +0 -19
  378. package/dist/neutral/viewers/WindowedBlock.d.ts.map +0 -1
  379. package/dist/neutral/viewers/XyoViewer.d.ts +0 -57
  380. package/dist/neutral/viewers/XyoViewer.d.ts.map +0 -1
  381. package/dist/neutral/viewers/index.d.ts +0 -24
  382. package/dist/neutral/viewers/index.d.ts.map +0 -1
  383. package/dist/neutral/xl1/AttoXL1.d.ts +0 -15
  384. package/dist/neutral/xl1/AttoXL1.d.ts.map +0 -1
  385. package/dist/neutral/xl1/FemtoXL1.d.ts +0 -15
  386. package/dist/neutral/xl1/FemtoXL1.d.ts.map +0 -1
  387. package/dist/neutral/xl1/MicroXL1.d.ts +0 -15
  388. package/dist/neutral/xl1/MicroXL1.d.ts.map +0 -1
  389. package/dist/neutral/xl1/MilliXL1.d.ts +0 -15
  390. package/dist/neutral/xl1/MilliXL1.d.ts.map +0 -1
  391. package/dist/neutral/xl1/NanoXL1.d.ts +0 -15
  392. package/dist/neutral/xl1/NanoXL1.d.ts.map +0 -1
  393. package/dist/neutral/xl1/PicoXL1.d.ts +0 -15
  394. package/dist/neutral/xl1/PicoXL1.d.ts.map +0 -1
  395. package/dist/neutral/xl1/XL1.d.ts +0 -15
  396. package/dist/neutral/xl1/XL1.d.ts.map +0 -1
  397. package/dist/neutral/xl1/XL1Units.d.ts +0 -10
  398. package/dist/neutral/xl1/XL1Units.d.ts.map +0 -1
  399. package/dist/neutral/xl1/index.d.ts +0 -9
  400. package/dist/neutral/xl1/index.d.ts.map +0 -1
  401. package/dist/neutral/xl1/isXL1Factory.d.ts +0 -12
  402. package/dist/neutral/xl1/isXL1Factory.d.ts.map +0 -1
  403. package/dist/neutral/xl1/xl1MaxValue.d.ts +0 -3
  404. package/dist/neutral/xl1/xl1MaxValue.d.ts.map +0 -1
  405. package/src/BlockNumber/BlockNumber.ts +0 -24
  406. package/src/BlockNumber/EthBlockNumber.ts +0 -25
  407. package/src/BlockNumber/Numberish.ts +0 -9
  408. package/src/BlockNumber/XL1BlockNumber.ts +0 -25
  409. package/src/BlockNumber/index.ts +0 -4
  410. package/src/Initializable.ts +0 -13
  411. package/src/OpenTelemetryProviders.ts +0 -7
  412. package/src/RecordKeyType.ts +0 -5
  413. package/src/Step/StepHash.ts +0 -10
  414. package/src/Step/StepIdentity.ts +0 -46
  415. package/src/Step/StepSizes.ts +0 -47
  416. package/src/Step/index.ts +0 -3
  417. package/src/TransferPayload.ts +0 -35
  418. package/src/amount/ShiftedBigIntConfig.ts +0 -8
  419. package/src/amount/XL1AmountInstance.ts +0 -19
  420. package/src/amount/index.ts +0 -2
  421. package/src/block/AllowedBlockPayload.ts +0 -73
  422. package/src/block/BlockBoundWitness.ts +0 -72
  423. package/src/block/HydratedBlock.ts +0 -135
  424. package/src/block/index.ts +0 -5
  425. package/src/block/signed/SignedBlockBoundWitness.ts +0 -22
  426. package/src/block/signed/SignedBlockBoundWitnessWithHashMeta.ts +0 -35
  427. package/src/block/signed/SignedBlockBoundWitnessWithStorageMeta.ts +0 -41
  428. package/src/block/signed/index.ts +0 -3
  429. package/src/block/unsigned/UnsignedBlockBoundWitness.ts +0 -22
  430. package/src/block/unsigned/index.ts +0 -1
  431. package/src/chain/Chain.ts +0 -7
  432. package/src/chain/ChainAnalyzer.ts +0 -11
  433. package/src/chain/ChainId.ts +0 -4
  434. package/src/chain/index.ts +0 -3
  435. package/src/fields/Addressable.ts +0 -7
  436. package/src/fields/BlockDuration.ts +0 -25
  437. package/src/fields/BlockNumber.ts +0 -40
  438. package/src/fields/ChainReference.ts +0 -11
  439. package/src/fields/index.ts +0 -4
  440. package/src/map/AsyncMap.ts +0 -38
  441. package/src/map/MapType.ts +0 -27
  442. package/src/map/SyncMap.ts +0 -38
  443. package/src/map/index.ts +0 -3
  444. package/src/model/AccountBalance.ts +0 -58
  445. package/src/model/ArrayBuffer.ts +0 -44
  446. package/src/model/BlockRange/BlockRange.ts +0 -43
  447. package/src/model/BlockRange/EthBlockRange.ts +0 -43
  448. package/src/model/BlockRange/Numberish.ts +0 -6
  449. package/src/model/BlockRange/Range.ts +0 -17
  450. package/src/model/BlockRange/XL1BlockRange.ts +0 -43
  451. package/src/model/BlockRange/index.ts +0 -4
  452. package/src/model/BlockRate.ts +0 -108
  453. package/src/model/ChainQualification.ts +0 -48
  454. package/src/model/Context/BaseContext.ts +0 -6
  455. package/src/model/Context/BaseContext.zod.ts +0 -36
  456. package/src/model/Context/BlockContext.ts +0 -12
  457. package/src/model/Context/BlockContext.zod.ts +0 -20
  458. package/src/model/Context/CachingContext.ts +0 -6
  459. package/src/model/Context/CachingContext.zod.ts +0 -4
  460. package/src/model/Context/ChainContext.ts +0 -12
  461. package/src/model/Context/ChainContext.zod.ts +0 -17
  462. package/src/model/Context/HeadContext.ts +0 -6
  463. package/src/model/Context/HeadContext.zod.ts +0 -13
  464. package/src/model/Context/index.ts +0 -10
  465. package/src/model/GatewayName.ts +0 -4
  466. package/src/model/HydratedTransaction.ts +0 -169
  467. package/src/model/OpCodes.ts +0 -2
  468. package/src/model/PayloadMap.ts +0 -13
  469. package/src/model/Permission.ts +0 -29
  470. package/src/model/Position.ts +0 -21
  471. package/src/model/PositionId.ts +0 -4
  472. package/src/model/RangeMultipliers.ts +0 -13
  473. package/src/model/RewardShare.ts +0 -2
  474. package/src/model/RewardsRangeOptions.ts +0 -13
  475. package/src/model/Sequence.ts +0 -21
  476. package/src/model/Stake.ts +0 -47
  477. package/src/model/StakeShare.ts +0 -2
  478. package/src/model/TimeDomain.ts +0 -8
  479. package/src/model/TransferPair.ts +0 -7
  480. package/src/model/addresses.ts +0 -36
  481. package/src/model/defaultRewardRatio.ts +0 -3
  482. package/src/model/defaultTransactionFees.ts +0 -11
  483. package/src/model/index.ts +0 -27
  484. package/src/model/minTransactionFees.ts +0 -10
  485. package/src/model/rewards.ts +0 -18
  486. package/src/model/spec/fixtures/index.ts +0 -2
  487. package/src/model/spec/fixtures/signedHydratedTransaction.ts +0 -58
  488. package/src/model/spec/fixtures/unsignedHydratedTransaction.ts +0 -62
  489. package/src/model/version.ts +0 -10
  490. package/src/network/NetworkId.ts +0 -6
  491. package/src/network/Status.ts +0 -30
  492. package/src/network/index.ts +0 -2
  493. package/src/payload/StepIdentityPayload.ts +0 -25
  494. package/src/payload/elevatable/Bridge/BridgeCompletion.ts +0 -28
  495. package/src/payload/elevatable/Bridge/BridgeDestinationObservation.ts +0 -38
  496. package/src/payload/elevatable/Bridge/BridgeDetails.ts +0 -69
  497. package/src/payload/elevatable/Bridge/BridgeIntent.ts +0 -36
  498. package/src/payload/elevatable/Bridge/BridgeSourceObservation.ts +0 -37
  499. package/src/payload/elevatable/Bridge/index.ts +0 -5
  500. package/src/payload/elevatable/ChainStakeIntent.ts +0 -45
  501. package/src/payload/elevatable/Executable.ts +0 -35
  502. package/src/payload/elevatable/Hash.ts +0 -25
  503. package/src/payload/elevatable/StepComplete.ts +0 -31
  504. package/src/payload/elevatable/Time.ts +0 -61
  505. package/src/payload/elevatable/index.ts +0 -6
  506. package/src/payload/index.ts +0 -2
  507. package/src/permissions/InvokerPermission.ts +0 -58
  508. package/src/permissions/XyoPermissions.ts +0 -41
  509. package/src/permissions/index.ts +0 -2
  510. package/src/provider/Provider.ts +0 -6
  511. package/src/provider/ProviderMoniker.ts +0 -15
  512. package/src/provider/index.ts +0 -2
  513. package/src/providers/DataLake/Provider.ts +0 -12
  514. package/src/providers/DataLake/Runner.ts +0 -16
  515. package/src/providers/DataLake/Viewer.ts +0 -16
  516. package/src/providers/DataLake/index.ts +0 -3
  517. package/src/providers/TransactionHelper.ts +0 -16
  518. package/src/providers/XyoClient.ts +0 -26
  519. package/src/providers/XyoConnection.ts +0 -19
  520. package/src/providers/XyoGateway.ts +0 -23
  521. package/src/providers/XyoGatewayRunner.ts +0 -76
  522. package/src/providers/XyoNetwork.ts +0 -8
  523. package/src/providers/XyoRunner.ts +0 -20
  524. package/src/providers/index.ts +0 -8
  525. package/src/providers/signer/XyoSigner.ts +0 -39
  526. package/src/providers/signer/index.ts +0 -1
  527. package/src/repository/Repository.ts +0 -32
  528. package/src/repository/TransactionReadRepository.ts +0 -6
  529. package/src/repository/TransactionRepository.ts +0 -12
  530. package/src/repository/TransactionRepositoryIterator.ts +0 -6
  531. package/src/repository/TransactionWriteRepository.ts +0 -5
  532. package/src/repository/index.ts +0 -5
  533. package/src/runners/Block.ts +0 -22
  534. package/src/runners/Finalization.ts +0 -19
  535. package/src/runners/Mempool.ts +0 -32
  536. package/src/runners/index.ts +0 -3
  537. package/src/transaction/TransactionBoundWitness.ts +0 -187
  538. package/src/transaction/TransactionFees.ts +0 -73
  539. package/src/transaction/TransactionGasCosts.ts +0 -42
  540. package/src/transaction/index.ts +0 -3
  541. package/src/validation/block/BlockValidationFunction.ts +0 -13
  542. package/src/validation/block/HydratedBlockStateValidationFunction.ts +0 -31
  543. package/src/validation/block/HydratedBlockValidationFunction.ts +0 -22
  544. package/src/validation/block/error.ts +0 -50
  545. package/src/validation/block/index.ts +0 -4
  546. package/src/validation/boundwitness/BoundWitnessValidationFunction.ts +0 -9
  547. package/src/validation/boundwitness/HydratedBoundWitnessValidationFunction.ts +0 -15
  548. package/src/validation/boundwitness/error.ts +0 -29
  549. package/src/validation/boundwitness/index.ts +0 -3
  550. package/src/validation/error.ts +0 -25
  551. package/src/validation/index.ts +0 -5
  552. package/src/validation/payload/InBlockPayloadValidationFunction.ts +0 -17
  553. package/src/validation/payload/error.ts +0 -24
  554. package/src/validation/payload/index.ts +0 -2
  555. package/src/validation/transaction/HydratedTransactionStateValidationFunction.ts +0 -27
  556. package/src/validation/transaction/HydratedTransactionValidationFunction.ts +0 -23
  557. package/src/validation/transaction/error.ts +0 -15
  558. package/src/validation/transaction/index.ts +0 -3
  559. package/src/viewers/Block.ts +0 -44
  560. package/src/viewers/BlockInvalidation.ts +0 -80
  561. package/src/viewers/BlockReward.ts +0 -19
  562. package/src/viewers/BlockValidation.ts +0 -80
  563. package/src/viewers/ChainContract.ts +0 -29
  564. package/src/viewers/ChainStakeViewer.ts +0 -14
  565. package/src/viewers/Finalization.ts +0 -24
  566. package/src/viewers/Fork.ts +0 -11
  567. package/src/viewers/Mempool.ts +0 -41
  568. package/src/viewers/NetworkStake/NetworkStakeViewer.ts +0 -20
  569. package/src/viewers/NetworkStake/Rewards/ByPositionViewer.ts +0 -18
  570. package/src/viewers/NetworkStake/Rewards/ByStakerViewer.ts +0 -20
  571. package/src/viewers/NetworkStake/Rewards/ByStepViewer.ts +0 -18
  572. package/src/viewers/NetworkStake/Rewards/Options.ts +0 -24
  573. package/src/viewers/NetworkStake/Rewards/TotalViewer.ts +0 -17
  574. package/src/viewers/NetworkStake/Rewards/Viewer.ts +0 -21
  575. package/src/viewers/NetworkStake/Rewards/index.ts +0 -7
  576. package/src/viewers/NetworkStake/Rewards/templates/ByIndexMethodsTemplate.ts +0 -7
  577. package/src/viewers/NetworkStake/Rewards/templates/MethodsTemplate.ts +0 -10
  578. package/src/viewers/NetworkStake/Rewards/templates/index.ts +0 -2
  579. package/src/viewers/NetworkStake/index.ts +0 -4
  580. package/src/viewers/NetworkStakeStepReward.ts +0 -83
  581. package/src/viewers/Stake.ts +0 -45
  582. package/src/viewers/StakeEvents.ts +0 -55
  583. package/src/viewers/StakeIntent.ts +0 -22
  584. package/src/viewers/StakeTotals.ts +0 -22
  585. package/src/viewers/StepStake.ts +0 -28
  586. package/src/viewers/StepViewer.ts +0 -57
  587. package/src/viewers/TimeSync.ts +0 -27
  588. package/src/viewers/Transaction.ts +0 -27
  589. package/src/viewers/TransactionInvalidation.ts +0 -70
  590. package/src/viewers/TransactionValidation.ts +0 -71
  591. package/src/viewers/TransferBalance.ts +0 -39
  592. package/src/viewers/WindowedBlock.ts +0 -22
  593. package/src/viewers/XyoViewer.ts +0 -74
  594. package/src/viewers/index.ts +0 -23
  595. package/src/xl1/AttoXL1.ts +0 -19
  596. package/src/xl1/FemtoXL1.ts +0 -20
  597. package/src/xl1/MicroXL1.ts +0 -20
  598. package/src/xl1/MilliXL1.ts +0 -20
  599. package/src/xl1/NanoXL1.ts +0 -20
  600. package/src/xl1/PicoXL1.ts +0 -20
  601. package/src/xl1/XL1.ts +0 -20
  602. package/src/xl1/XL1Units.ts +0 -26
  603. package/src/xl1/index.ts +0 -8
  604. package/src/xl1/isXL1Factory.ts +0 -56
  605. package/src/xl1/xl1MaxValue.ts +0 -2
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@xyo-network/xl1-protocol",
3
- "version": "1.25.32",
4
- "description": "XYO Layer One Protocol",
3
+ "version": "1.26.1",
4
+ "description": "XYO Layer One Protocol - All Protocol Packages",
5
5
  "homepage": "https://xylabs.com",
6
6
  "bugs": {
7
7
  "url": "git+https://github.com/xylabs/xyo-chain/issues",
@@ -37,34 +37,37 @@
37
37
  "!**/*.spec.*",
38
38
  "!**/*.test.*"
39
39
  ],
40
+ "dependencies": {
41
+ "@xyo-network/xl1-network-model": "~1.26.1",
42
+ "@xyo-network/xl1-protocol-lib": "~1.26.1",
43
+ "@xyo-network/xl1-protocol-model": "~1.26.1",
44
+ "@xyo-network/xl1-schema": "~1.26.1",
45
+ "@xyo-network/xl1-validation": "~1.26.1"
46
+ },
40
47
  "devDependencies": {
41
48
  "@opentelemetry/api": "^1.9.0",
42
- "@types/node": "^25.5.0",
43
49
  "@xylabs/sdk-js": "^5.0.86",
44
50
  "@xylabs/ts-scripts-yarn3": "~7.4.25",
45
51
  "@xylabs/tsconfig": "~7.4.25",
46
52
  "@xyo-network/sdk-js": "^5.3.16",
47
- "eslint": "^10.1.0",
48
- "eslint-import-resolver-typescript": "~4.4.4",
53
+ "@xyo-network/xl1-protocol-sdk": "~1.26.1",
54
+ "ajv": "~8.18.0",
55
+ "axios": "^1.13.6",
56
+ "dotenv": "~17.3.1",
57
+ "ethers": "^6.16.0",
49
58
  "typescript": "~5.9.3",
50
59
  "vitest": "~4.1.1",
51
60
  "zod": "~4.3.6"
52
61
  },
53
62
  "peerDependencies": {
54
- "@opentelemetry/api": "^1",
55
- "@xylabs/sdk-js": "^5",
56
- "@xyo-network/sdk-js": "^5",
57
- "zod": "^4"
63
+ "axios": "^1",
64
+ "ethers": "^6"
58
65
  },
59
- "packageManager": "yarn@4.10.3",
66
+ "packageManager": "yarn@4.12.0",
60
67
  "engines": {
61
68
  "node": ">=22.3 <23"
62
69
  },
63
70
  "engineStrict": true,
64
- "volta": {
65
- "node": "22.3.0",
66
- "yarn": "4.9.2"
67
- },
68
71
  "publishConfig": {
69
72
  "access": "public"
70
73
  }
package/src/index.ts CHANGED
@@ -1,24 +1,4 @@
1
- export * from './amount/index.ts'
2
- export * from './block/index.ts'
3
- export * from './BlockNumber/index.ts'
4
- export * from './chain/index.ts'
5
- export * from './fields/index.ts'
6
- export * from './Initializable.ts'
7
- export * from './map/index.ts'
8
- export * from './model/index.ts'
9
- export * from './model/index.ts'
10
- export * from './network/index.ts'
11
- export * from './OpenTelemetryProviders.ts'
12
- export * from './payload/index.ts'
13
- export * from './permissions/index.ts'
14
- export * from './provider/index.ts'
15
- export * from './providers/index.ts'
16
- export * from './RecordKeyType.ts'
17
- export * from './repository/index.ts'
18
- export * from './runners/index.ts'
19
- export * from './Step/index.ts'
20
- export * from './transaction/index.ts'
21
- export * from './TransferPayload.ts'
22
- export * from './validation/index.ts'
23
- export * from './viewers/index.ts'
24
- export * from './xl1/index.ts'
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'
package/LICENSE DELETED
@@ -1,165 +0,0 @@
1
- GNU LESSER GENERAL PUBLIC LICENSE
2
- Version 3, 29 June 2007
3
-
4
- Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
5
- Everyone is permitted to copy and distribute verbatim copies
6
- of this license document, but changing it is not allowed.
7
-
8
-
9
- This version of the GNU Lesser General Public License incorporates
10
- the terms and conditions of version 3 of the GNU General Public
11
- License, supplemented by the additional permissions listed below.
12
-
13
- 0. Additional Definitions.
14
-
15
- As used herein, "this License" refers to version 3 of the GNU Lesser
16
- General Public License, and the "GNU GPL" refers to version 3 of the GNU
17
- General Public License.
18
-
19
- "The Library" refers to a covered work governed by this License,
20
- other than an Application or a Combined Work as defined below.
21
-
22
- An "Application" is any work that makes use of an interface provided
23
- by the Library, but which is not otherwise based on the Library.
24
- Defining a subclass of a class defined by the Library is deemed a mode
25
- of using an interface provided by the Library.
26
-
27
- A "Combined Work" is a work produced by combining or linking an
28
- Application with the Library. The particular version of the Library
29
- with which the Combined Work was made is also called the "Linked
30
- Version".
31
-
32
- The "Minimal Corresponding Source" for a Combined Work means the
33
- Corresponding Source for the Combined Work, excluding any source code
34
- for portions of the Combined Work that, considered in isolation, are
35
- based on the Application, and not on the Linked Version.
36
-
37
- The "Corresponding Application Code" for a Combined Work means the
38
- object code and/or source code for the Application, including any data
39
- and utility programs needed for reproducing the Combined Work from the
40
- Application, but excluding the System Libraries of the Combined Work.
41
-
42
- 1. Exception to Section 3 of the GNU GPL.
43
-
44
- You may convey a covered work under sections 3 and 4 of this License
45
- without being bound by section 3 of the GNU GPL.
46
-
47
- 2. Conveying Modified Versions.
48
-
49
- If you modify a copy of the Library, and, in your modifications, a
50
- facility refers to a function or data to be supplied by an Application
51
- that uses the facility (other than as an argument passed when the
52
- facility is invoked), then you may convey a copy of the modified
53
- version:
54
-
55
- a) under this License, provided that you make a good faith effort to
56
- ensure that, in the event an Application does not supply the
57
- function or data, the facility still operates, and performs
58
- whatever part of its purpose remains meaningful, or
59
-
60
- b) under the GNU GPL, with none of the additional permissions of
61
- this License applicable to that copy.
62
-
63
- 3. Object Code Incorporating Material from Library Header Files.
64
-
65
- The object code form of an Application may incorporate material from
66
- a header file that is part of the Library. You may convey such object
67
- code under terms of your choice, provided that, if the incorporated
68
- material is not limited to numerical parameters, data structure
69
- layouts and accessors, or small macros, inline functions and templates
70
- (ten or fewer lines in length), you do both of the following:
71
-
72
- a) Give prominent notice with each copy of the object code that the
73
- Library is used in it and that the Library and its use are
74
- covered by this License.
75
-
76
- b) Accompany the object code with a copy of the GNU GPL and this license
77
- document.
78
-
79
- 4. Combined Works.
80
-
81
- You may convey a Combined Work under terms of your choice that,
82
- taken together, effectively do not restrict modification of the
83
- portions of the Library contained in the Combined Work and reverse
84
- engineering for debugging such modifications, if you also do each of
85
- the following:
86
-
87
- a) Give prominent notice with each copy of the Combined Work that
88
- the Library is used in it and that the Library and its use are
89
- covered by this License.
90
-
91
- b) Accompany the Combined Work with a copy of the GNU GPL and this license
92
- document.
93
-
94
- c) For a Combined Work that displays copyright notices during
95
- execution, include the copyright notice for the Library among
96
- these notices, as well as a reference directing the user to the
97
- copies of the GNU GPL and this license document.
98
-
99
- d) Do one of the following:
100
-
101
- 0) Convey the Minimal Corresponding Source under the terms of this
102
- License, and the Corresponding Application Code in a form
103
- suitable for, and under terms that permit, the user to
104
- recombine or relink the Application with a modified version of
105
- the Linked Version to produce a modified Combined Work, in the
106
- manner specified by section 6 of the GNU GPL for conveying
107
- Corresponding Source.
108
-
109
- 1) Use a suitable shared library mechanism for linking with the
110
- Library. A suitable mechanism is one that (a) uses at run time
111
- a copy of the Library already present on the user's computer
112
- system, and (b) will operate properly with a modified version
113
- of the Library that is interface-compatible with the Linked
114
- Version.
115
-
116
- e) Provide Installation Information, but only if you would otherwise
117
- be required to provide such information under section 6 of the
118
- GNU GPL, and only to the extent that such information is
119
- necessary to install and execute a modified version of the
120
- Combined Work produced by recombining or relinking the
121
- Application with a modified version of the Linked Version. (If
122
- you use option 4d0, the Installation Information must accompany
123
- the Minimal Corresponding Source and Corresponding Application
124
- Code. If you use option 4d1, you must provide the Installation
125
- Information in the manner specified by section 6 of the GNU GPL
126
- for conveying Corresponding Source.)
127
-
128
- 5. Combined Libraries.
129
-
130
- You may place library facilities that are a work based on the
131
- Library side by side in a single library together with other library
132
- facilities that are not Applications and are not covered by this
133
- License, and convey such a combined library under terms of your
134
- choice, if you do both of the following:
135
-
136
- a) Accompany the combined library with a copy of the same work based
137
- on the Library, uncombined with any other library facilities,
138
- conveyed under the terms of this License.
139
-
140
- b) Give prominent notice with the combined library that part of it
141
- is a work based on the Library, and explaining where to find the
142
- accompanying uncombined form of the same work.
143
-
144
- 6. Revised Versions of the GNU Lesser General Public License.
145
-
146
- The Free Software Foundation may publish revised and/or new versions
147
- of the GNU Lesser General Public License from time to time. Such new
148
- versions will be similar in spirit to the present version, but may
149
- differ in detail to address new problems or concerns.
150
-
151
- Each version is given a distinguishing version number. If the
152
- Library as you received it specifies that a certain numbered version
153
- of the GNU Lesser General Public License "or any later version"
154
- applies to it, you have the option of following the terms and
155
- conditions either of that published version or of any later version
156
- published by the Free Software Foundation. If the Library as you
157
- received it does not specify a version number of the GNU Lesser
158
- General Public License, you may choose any version of the GNU Lesser
159
- General Public License ever published by the Free Software Foundation.
160
-
161
- If the Library as you received it specifies that a proxy can decide
162
- whether future versions of the GNU Lesser General Public License shall
163
- apply, that proxy's public statement of acceptance of any version is
164
- permanent authorization for you to choose that version for the
165
- Library.
package/README.md DELETED
@@ -1,81 +0,0 @@
1
- [![logo][]](https://xyo-network)
2
-
3
- # @xyo-network/xl1-protocol
4
-
5
- [![main-build][]][main-build-link]
6
- [![npm-badge][]][npm-link]
7
- [![npm-downloads-badge][]][npm-link]
8
- [![jsdelivr-badge][]][jsdelivr-link]
9
- [![npm-license-badge][]](LICENSE)
10
- [![socket-badge][]][socket-link]
11
-
12
- ## Table of Contents
13
-
14
- - [Description](#description)
15
- - [Install](#install)
16
- - [Scripts](#scripts)
17
- - [Maintainers](#maintainers)
18
- - [License](#license)
19
- - [Credits](#credits)
20
-
21
- ## Description
22
-
23
- Official Definition of the XL1 Protocol - Types and Constants
24
-
25
- ## Install
26
-
27
- Using npm:
28
-
29
- ```sh
30
- npm i --save @xyo-network/xl1-protocol
31
- ```
32
-
33
- Using yarn:
34
-
35
- ```sh
36
- yarn add @xyo-network/xl1-protocol
37
- ```
38
-
39
- ## Build Scripts
40
-
41
- Using npm:
42
-
43
- ```sh
44
- npm xy --help
45
- ```
46
-
47
- Using yarn:
48
-
49
- ```sh
50
- yarn xy --help
51
- ```
52
-
53
- ## Maintainers
54
-
55
- - [Arie Trouw](https://github.com/arietrouw) ([arietrouw.com](https://arietrouw.com))
56
- - [Matt Jones](https://github.com/jonesmac)
57
- - [Joel Carter](https://github.com/JoelBCarter)
58
- - [Jordan Trouw](https://github.com/jordantrouw)
59
-
60
- ## License
61
-
62
- See the [LICENSE](LICENSE) file for license details
63
-
64
- ## Credits
65
-
66
- [Made with 🔥 and ❄️ by XY Labs](https://xylabs.com)
67
-
68
- [logo]: https://cdn.xy.company/img/brand/XYO_full_colored.png
69
- [main-build]: https://github.com/XYOracleNetwork/xl1-protocol/actions/workflows/build.yml/badge.svg
70
- [main-build-link]: https://github.com/XYOracleNetwork/xl1-protocol/actions/workflows/build.yml
71
- [npm-badge]: https://img.shields.io/npm/v/@xyo-network/xl1-protocol.svg
72
- [npm-link]: https://www.npmjs.com/package/@xyo-network/xl1-protocol
73
-
74
- [npm-downloads-badge]: https://img.shields.io/npm/dw/@xyo-network/xl1-protocol
75
- [npm-license-badge]: https://img.shields.io/npm/l/@xyo-network/xl1-protocol
76
-
77
- [jsdelivr-badge]: https://data.jsdelivr.com/v1/package/npm/@xyo-network/xl1-protocol/badge
78
- [jsdelivr-link]: https://www.jsdelivr.com/package/npm/@xyo-network/xl1-protocol
79
-
80
- [socket-badge]: https://socket.dev/api/badge/npm/package/@xyo-network/xl1-protocol
81
- [socket-link]: https://socket.dev/npm/package/@xyo-network/xl1-protocol
@@ -1,35 +0,0 @@
1
- import { type Brand } from '@xylabs/sdk-js';
2
- import { z } from 'zod';
3
- /** Branded number type representing a generic block number */
4
- export type BlockNumber = Brand<number, {
5
- readonly __blockNumber: true;
6
- }>;
7
- /** Zod schema that validates and brands a number as a BlockNumber */
8
- export declare const BlockNumberZod: z.ZodPipe<z.ZodNumber, z.ZodTransform<BlockNumber, number>>;
9
- /** Zod schema that coerces a Numberish value into a BlockNumber */
10
- export declare const BlockNumberishZod: z.ZodPipe<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBigInt]>, z.ZodTransform<number, string | number | bigint>>, z.ZodNumber>, z.ZodTransform<BlockNumber, number>>;
11
- /** Input type for BlockNumberishZod, accepting number, string, or bigint */
12
- export type BlockNumberish = z.input<typeof BlockNumberishZod>;
13
- /** Casts a number to BlockNumber, returning undefined if validation fails */
14
- export declare const asBlockNumber: {
15
- <T>(value: T): (T & number & {
16
- readonly __blockNumber: true;
17
- }) | undefined;
18
- <T>(value: T, assert: import("@xylabs/sdk-js").ZodFactoryConfig): T & number & {
19
- readonly __blockNumber: true;
20
- };
21
- };
22
- /** Coerces a Numberish value to BlockNumber, returning undefined if conversion fails */
23
- export declare const toBlockNumber: {
24
- <T>(value: T): (T & number & {
25
- readonly __blockNumber: true;
26
- }) | undefined;
27
- <T>(value: T, assert: import("@xylabs/sdk-js").ZodFactoryConfig): T & number & {
28
- readonly __blockNumber: true;
29
- };
30
- };
31
- /** The zero block number constant */
32
- export declare const BLOCK_NUMBER_ZERO: (0 & {
33
- readonly __blockNumber: true;
34
- }) | undefined;
35
- //# sourceMappingURL=BlockNumber.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BlockNumber.d.ts","sourceRoot":"","sources":["../../../src/BlockNumber/BlockNumber.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,gBAAgB,CAAA;AAE3C,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAIvB,8DAA8D;AAC9D,MAAM,MAAM,WAAW,GAAG,KAAK,CAAC,MAAM,EAAE;IAAE,QAAQ,CAAC,aAAa,EAAE,IAAI,CAAA;CAAE,CAAC,CAAA;AAEzE,qEAAqE;AACrE,eAAO,MAAM,cAAc,6DAA8C,CAAA;AACzE,mEAAmE;AACnE,eAAO,MAAM,iBAAiB,mMAAgD,CAAA;AAE9E,4EAA4E;AAC5E,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAE9D,6EAA6E;AAC7E,eAAO,MAAM,aAAa;;gCAXwC,IAAI;;;gCAAJ,IAAI;;CAWiB,CAAA;AACvF,wFAAwF;AACxF,eAAO,MAAM,aAAa;;gCAbwC,IAAI;;;gCAAJ,IAAI;;CAaoB,CAAA;AAE1F,qCAAqC;AACrC,eAAO,MAAM,iBAAiB;4BAhBoC,IAAI;cAgBrB,CAAA"}
@@ -1,46 +0,0 @@
1
- import { type Brand } from '@xylabs/sdk-js';
2
- import { z } from 'zod';
3
- import type { BlockNumber } from './BlockNumber.ts';
4
- /** Branded type representing a block number on the Ethereum chain */
5
- export type EthBlockNumber = Brand<BlockNumber, {
6
- readonly __ethBlockNumber: true;
7
- }>;
8
- /** Zod schema that validates and brands a number as an EthBlockNumber */
9
- export declare const EthBlockNumberZod: z.ZodPipe<z.ZodNumber, z.ZodTransform<EthBlockNumber, number>>;
10
- /** Zod schema that coerces a Numberish value into an EthBlockNumber */
11
- export declare const EthBlockNumberishZod: z.ZodPipe<z.ZodPipe<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBigInt]>, z.ZodTransform<number, string | number | bigint>>, z.ZodNumber>, z.ZodTransform<BlockNumber, number>>, z.ZodTransform<EthBlockNumber, BlockNumber>>;
12
- /** Input type for EthBlockNumberishZod, accepting number, string, or bigint */
13
- export type EthBlockNumberish = z.input<typeof EthBlockNumberishZod>;
14
- /** Casts a number to EthBlockNumber, returning undefined if validation fails */
15
- export declare const asEthBlockNumber: {
16
- <T>(value: T): (T & number & {
17
- readonly __blockNumber: true;
18
- } & {
19
- readonly __ethBlockNumber: true;
20
- }) | undefined;
21
- <T>(value: T, assert: import("@xylabs/sdk-js").ZodFactoryConfig): T & number & {
22
- readonly __blockNumber: true;
23
- } & {
24
- readonly __ethBlockNumber: true;
25
- };
26
- };
27
- /** Coerces a Numberish value to EthBlockNumber, returning undefined if conversion fails */
28
- export declare const toEthBlockNumber: {
29
- <T>(value: T): (T & number & {
30
- readonly __blockNumber: true;
31
- } & {
32
- readonly __ethBlockNumber: true;
33
- }) | undefined;
34
- <T>(value: T, assert: import("@xylabs/sdk-js").ZodFactoryConfig): T & number & {
35
- readonly __blockNumber: true;
36
- } & {
37
- readonly __ethBlockNumber: true;
38
- };
39
- };
40
- /** The zero block number constant for the Ethereum chain */
41
- export declare const ETH_BLOCK_NUMBER_ZERO: (0 & {
42
- readonly __blockNumber: true;
43
- } & {
44
- readonly __ethBlockNumber: true;
45
- }) | undefined;
46
- //# sourceMappingURL=EthBlockNumber.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"EthBlockNumber.d.ts","sourceRoot":"","sources":["../../../src/BlockNumber/EthBlockNumber.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,gBAAgB,CAAA;AAE3C,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAGnD,qEAAqE;AACrE,MAAM,MAAM,cAAc,GAAG,KAAK,CAAC,WAAW,EAAE;IAAE,QAAQ,CAAC,gBAAgB,EAAE,IAAI,CAAA;CAAE,CAAC,CAAA;AAEpF,yEAAyE;AACzE,eAAO,MAAM,iBAAiB,gEAAiD,CAAA;AAC/E,uEAAuE;AACvE,eAAO,MAAM,oBAAoB,2PAAwD,CAAA;AAEzF,+EAA+E;AAC/E,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAEpE,gFAAgF;AAChF,eAAO,MAAM,gBAAgB;;;;mCAXgD,IAAI;;;;;mCAAJ,IAAI;;CAWkB,CAAA;AACnG,2FAA2F;AAC3F,eAAO,MAAM,gBAAgB;;;;mCAbgD,IAAI;;;;;mCAAJ,IAAI;;CAaqB,CAAA;AAEtG,4DAA4D;AAC5D,eAAO,MAAM,qBAAqB;;;+BAhB2C,IAAI;cAgBzB,CAAA"}
@@ -1,6 +0,0 @@
1
- import { z } from 'zod';
2
- /** Zod schema that accepts number, string, or bigint and coerces to number */
3
- export declare const NumberishZod: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBigInt]>, z.ZodTransform<number, string | number | bigint>>, z.ZodNumber>;
4
- /** A value that can be coerced to a number: number, string, or bigint */
5
- export type Numberish = z.input<typeof NumberishZod>;
6
- //# sourceMappingURL=Numberish.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Numberish.d.ts","sourceRoot":"","sources":["../../../src/BlockNumber/Numberish.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,8EAA8E;AAC9E,eAAO,MAAM,YAAY,mJAEN,CAAA;AAEnB,yEAAyE;AACzE,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAA"}
@@ -1,46 +0,0 @@
1
- import { type Brand } from '@xylabs/sdk-js';
2
- import { z } from 'zod';
3
- import type { BlockNumber } from './BlockNumber.ts';
4
- /** Branded type representing a block number on the XL1 chain */
5
- export type XL1BlockNumber = Brand<BlockNumber, {
6
- readonly __xl1BlockNumber: true;
7
- }>;
8
- /** Zod schema that validates and brands a number as an XL1BlockNumber */
9
- export declare const XL1BlockNumberZod: z.ZodPipe<z.ZodNumber, z.ZodTransform<XL1BlockNumber, number>>;
10
- /** Zod schema that coerces a Numberish value into an XL1BlockNumber */
11
- export declare const XL1BlockNumberishZod: z.ZodPipe<z.ZodPipe<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBigInt]>, z.ZodTransform<number, string | number | bigint>>, z.ZodNumber>, z.ZodTransform<BlockNumber, number>>, z.ZodTransform<XL1BlockNumber, BlockNumber>>;
12
- /** Input type for XL1BlockNumberishZod, accepting number, string, or bigint */
13
- export type XL1BlockNumberish = z.input<typeof XL1BlockNumberishZod>;
14
- /** Casts a number to XL1BlockNumber, returning undefined if validation fails */
15
- export declare const asXL1BlockNumber: {
16
- <T>(value: T): (T & number & {
17
- readonly __blockNumber: true;
18
- } & {
19
- readonly __xl1BlockNumber: true;
20
- }) | undefined;
21
- <T>(value: T, assert: import("@xylabs/sdk-js").ZodFactoryConfig): T & number & {
22
- readonly __blockNumber: true;
23
- } & {
24
- readonly __xl1BlockNumber: true;
25
- };
26
- };
27
- /** Coerces a Numberish value to XL1BlockNumber, returning undefined if conversion fails */
28
- export declare const toXL1BlockNumber: {
29
- <T>(value: T): (T & number & {
30
- readonly __blockNumber: true;
31
- } & {
32
- readonly __xl1BlockNumber: true;
33
- }) | undefined;
34
- <T>(value: T, assert: import("@xylabs/sdk-js").ZodFactoryConfig): T & number & {
35
- readonly __blockNumber: true;
36
- } & {
37
- readonly __xl1BlockNumber: true;
38
- };
39
- };
40
- /** The zero block number constant for the XL1 chain */
41
- export declare const XL1_BLOCK_NUMBER_ZERO: (0 & {
42
- readonly __blockNumber: true;
43
- } & {
44
- readonly __xl1BlockNumber: true;
45
- }) | undefined;
46
- //# sourceMappingURL=XL1BlockNumber.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"XL1BlockNumber.d.ts","sourceRoot":"","sources":["../../../src/BlockNumber/XL1BlockNumber.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,gBAAgB,CAAA;AAE3C,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAGnD,gEAAgE;AAChE,MAAM,MAAM,cAAc,GAAG,KAAK,CAAC,WAAW,EAAE;IAAE,QAAQ,CAAC,gBAAgB,EAAE,IAAI,CAAA;CAAE,CAAC,CAAA;AAEpF,yEAAyE;AACzE,eAAO,MAAM,iBAAiB,gEAAiD,CAAA;AAC/E,uEAAuE;AACvE,eAAO,MAAM,oBAAoB,2PAAwD,CAAA;AAEzF,+EAA+E;AAC/E,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAEpE,gFAAgF;AAChF,eAAO,MAAM,gBAAgB;;;;mCAXgD,IAAI;;;;;mCAAJ,IAAI;;CAWkB,CAAA;AACnG,2FAA2F;AAC3F,eAAO,MAAM,gBAAgB;;;;mCAbgD,IAAI;;;;;mCAAJ,IAAI;;CAaqB,CAAA;AAEtG,uDAAuD;AACvD,eAAO,MAAM,qBAAqB;;;+BAhB2C,IAAI;cAgBzB,CAAA"}
@@ -1,5 +0,0 @@
1
- export * from './BlockNumber.ts';
2
- export * from './EthBlockNumber.ts';
3
- export * from './Numberish.ts';
4
- export * from './XL1BlockNumber.ts';
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/BlockNumber/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA;AAChC,cAAc,qBAAqB,CAAA;AACnC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,qBAAqB,CAAA"}
@@ -1,9 +0,0 @@
1
- import type { EmptyObject, Logger, Promisable } from '@xylabs/sdk-js';
2
- /** @deprecated */
3
- export type InitializableParams<T extends EmptyObject = {}> = T & {
4
- logger?: Logger;
5
- };
6
- /** @deprecated */
7
- /** Initializable type. */
8
- export type Initializable<T extends EmptyObject, R> = (params: InitializableParams<T>) => Promisable<R>;
9
- //# sourceMappingURL=Initializable.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Initializable.d.ts","sourceRoot":"","sources":["../../src/Initializable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,WAAW,EAAE,MAAM,EAAE,UAAU,EAChC,MAAM,gBAAgB,CAAA;AAEvB,kBAAkB;AAClB,MAAM,MAAM,mBAAmB,CAAC,CAAC,SAAS,WAAW,GAAG,EAAE,IAAI,CAAC,GAAG;IAChE,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,kBAAkB;AAElB,0BAA0B;AAC1B,MAAM,MAAM,aAAa,CAAC,CAAC,SAAS,WAAW,EAAE,CAAC,IAAI,CAAC,MAAM,EAAE,mBAAmB,CAAC,CAAC,CAAC,KAAK,UAAU,CAAC,CAAC,CAAC,CAAA"}
@@ -1,7 +0,0 @@
1
- import type { MeterProvider, TracerProvider } from '@opentelemetry/api';
2
- /** Configuration for OpenTelemetry metric and trace providers */
3
- export interface OpenTelemetryProviders {
4
- meterProvider?: MeterProvider;
5
- traceProvider?: TracerProvider;
6
- }
7
- //# sourceMappingURL=OpenTelemetryProviders.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"OpenTelemetryProviders.d.ts","sourceRoot":"","sources":["../../src/OpenTelemetryProviders.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AAEvE,iEAAiE;AACjE,MAAM,WAAW,sBAAsB;IACrC,aAAa,CAAC,EAAE,aAAa,CAAA;IAC7B,aAAa,CAAC,EAAE,cAAc,CAAA;CAC/B"}
@@ -1,4 +0,0 @@
1
- /** Utility type that constrains T to valid record key types (string, number, or symbol) */
2
- /** RecordKeyType type. */
3
- export type RecordKeyType<T = keyof any> = T extends keyof any ? T : never;
4
- //# sourceMappingURL=RecordKeyType.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RecordKeyType.d.ts","sourceRoot":"","sources":["../../src/RecordKeyType.ts"],"names":[],"mappings":"AACA,2FAA2F;AAE3F,0BAA0B;AAC1B,MAAM,MAAM,aAAa,CAAC,CAAC,GAAG,MAAM,GAAG,IAAI,CAAC,SAAS,MAAM,GAAG,GAAG,CAAC,GAAG,KAAK,CAAA"}
@@ -1,11 +0,0 @@
1
- import type { Brand, Hash } from '@xylabs/sdk-js';
2
- /** A block hash paired with its step index */
3
- export interface StepHash {
4
- block: Hash;
5
- step: number;
6
- }
7
- /** Branded string representing a hash and step index separated by a pipe character */
8
- export type StepHashString = Brand<string, {
9
- readonly __stepHashString: true;
10
- }>;
11
- //# sourceMappingURL=StepHash.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"StepHash.d.ts","sourceRoot":"","sources":["../../../src/Step/StepHash.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAA;AAEjD,8CAA8C;AAC9C,MAAM,WAAW,QAAQ;IACvB,KAAK,EAAE,IAAI,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;CACb;AAED,sFAAsF;AACtF,MAAM,MAAM,cAAc,GAAG,KAAK,CAAC,MAAM,EAAE;IAAE,QAAQ,CAAC,gBAAgB,EAAE,IAAI,CAAA;CAAE,CAAC,CAAA"}
@@ -1,19 +0,0 @@
1
- import { type Brand } from '@xylabs/sdk-js';
2
- import { z } from 'zod';
3
- /** Zod schema for a step identity combining a block number and step index */
4
- export declare const StepIdentityZod: z.ZodObject<{
5
- block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../BlockNumber/XL1BlockNumber.ts").XL1BlockNumber, number>>;
6
- step: z.ZodNumber;
7
- }, z.core.$strip>;
8
- /** Identifies a specific step by its block number and step index */
9
- export type StepIdentity = z.infer<typeof StepIdentityZod>;
10
- /** @deprecated use StepIdentity instead */
11
- export interface StepContext extends StepIdentity {
12
- }
13
- /** Branded string representing a block number and step index separated by a pipe character */
14
- export type StepIdentityString = Brand<string, {
15
- readonly __stepIdentityString: true;
16
- }>;
17
- /** Parses a pipe-separated string into a StepIdentity, returning undefined if invalid */
18
- export declare const asStepIdentity: (stepIdentityString: string) => StepIdentity | undefined;
19
- //# sourceMappingURL=StepIdentity.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"StepIdentity.d.ts","sourceRoot":"","sources":["../../../src/Step/StepIdentity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,KAAK,EAAe,MAAM,gBAAgB,CAAA;AACxD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAIvB,6EAA6E;AAC7E,eAAO,MAAM,eAAe;;;iBAG1B,CAAA;AACF,oEAAoE;AACpE,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAA;AAE1D,2CAA2C;AAC3C,MAAM,WAAW,WAAY,SAAQ,YAAY;CAAG;AAEpD,8FAA8F;AAC9F,MAAM,MAAM,kBAAkB,GAAG,KAAK,CAAC,MAAM,EAAE;IAAE,QAAQ,CAAC,oBAAoB,EAAE,IAAI,CAAA;CAAE,CAAC,CAAA;AAWvF,yFAAyF;AACzF,eAAO,MAAM,cAAc,GAAI,oBAAoB,MAAM,KAAG,YAAY,GAAG,SAgB1E,CAAA"}
@@ -1,12 +0,0 @@
1
- import { type XL1BlockNumber } from '../BlockNumber/index.ts';
2
- /** Array of step sizes based on primorial(n+2) + 1, defining the block intervals for each step level */
3
- export declare const StepSizes: XL1BlockNumber[];
4
- /** Type guard that checks if a value is a valid step index within the StepSizes array */
5
- export declare function isValidStep(step: unknown): step is number;
6
- /** Casts a value to a valid step index, returning undefined if invalid */
7
- export declare const asValidStep: import("@xylabs/sdk-js").AsTypeFunction<number>;
8
- /** Returns the block interval size for a given step index */
9
- export declare function stepSize(step: number): number;
10
- /** Fraction of block rewards allocated at each step level, expressed as [numerator, denominator] pairs */
11
- export declare const StepRewardFractions: readonly [readonly [0n, 1n], readonly [0n, 1n], readonly [0n, 1n], readonly [1n, 10000n], readonly [2n, 1000n], readonly [3n, 100n], readonly [45n, 100n]];
12
- //# sourceMappingURL=StepSizes.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"StepSizes.d.ts","sourceRoot":"","sources":["../../../src/Step/StepSizes.ts"],"names":[],"mappings":"AAEA,OAAO,EAAoB,KAAK,cAAc,EAAE,MAAM,yBAAyB,CAAA;AAK/E,wGAAwG;AACxG,eAAO,MAAM,SAAS,EAAE,cAAc,EAUrC,CAAA;AAED,yFAAyF;AACzF,wBAAgB,WAAW,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI,IAAI,MAAM,CAKzD;AAED,0EAA0E;AAC1E,eAAO,MAAM,WAAW,iDAA4C,CAAA;AAEpE,6DAA6D;AAC7D,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAG7C;AAED,0GAA0G;AAC1G,eAAO,MAAM,mBAAmB,4JAQtB,CAAA"}
@@ -1,4 +0,0 @@
1
- export * from './StepHash.ts';
2
- export * from './StepIdentity.ts';
3
- export * from './StepSizes.ts';
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Step/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA;AAC7B,cAAc,mBAAmB,CAAA;AACjC,cAAc,gBAAgB,CAAA"}