genlayer 0.39.2 → 0.40.0-clarke.2

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 (176) hide show
  1. package/.github/scripts/validate-branch-policy.sh +107 -0
  2. package/.github/workflows/branch-policy.yml +24 -0
  3. package/.github/workflows/fast-forward-main.yaml +57 -0
  4. package/.github/workflows/publish.yml +49 -4
  5. package/.github/workflows/retarget-main-prs.yaml +53 -0
  6. package/.github/workflows/smoke.yml +3 -1
  7. package/.github/workflows/sync-docs.yml +0 -24
  8. package/.github/workflows/validate-code.yml +6 -1
  9. package/CHANGELOG.md +30 -2
  10. package/CONTRIBUTING.md +6 -14
  11. package/README.md +57 -11
  12. package/dist/index.js +11908 -4368
  13. package/docs/BRANCHING.md +58 -0
  14. package/docs/api-references/_meta.json +7 -1
  15. package/docs/api-references/accounts/account/send.mdx +1 -1
  16. package/docs/api-references/configuration/network/add.mdx +32 -0
  17. package/docs/api-references/configuration/network/remove.mdx +21 -0
  18. package/docs/api-references/configuration/network.mdx +3 -1
  19. package/docs/api-references/contracts/call.mdx +1 -0
  20. package/docs/api-references/contracts/deploy.mdx +8 -0
  21. package/docs/api-references/contracts/write.mdx +8 -0
  22. package/docs/api-references/estimate-fees.mdx +29 -0
  23. package/docs/api-references/finalize-batch.mdx +21 -0
  24. package/docs/api-references/finalize.mdx +21 -0
  25. package/docs/api-references/index.mdx +6 -1
  26. package/docs/api-references/localnet/localnet/validators/create-random.mdx +3 -1
  27. package/docs/api-references/staking/staking/active-validators.mdx +1 -1
  28. package/docs/api-references/staking/staking/banned-validators.mdx +1 -1
  29. package/docs/api-references/staking/staking/delegation-info.mdx +1 -1
  30. package/docs/api-references/staking/staking/delegator-claim.mdx +2 -1
  31. package/docs/api-references/staking/staking/delegator-exit.mdx +2 -1
  32. package/docs/api-references/staking/staking/delegator-join.mdx +2 -1
  33. package/docs/api-references/staking/staking/epoch-info.mdx +1 -1
  34. package/docs/api-references/staking/staking/prime-all.mdx +2 -1
  35. package/docs/api-references/staking/staking/quarantined-validators.mdx +1 -1
  36. package/docs/api-references/staking/staking/set-identity.mdx +2 -1
  37. package/docs/api-references/staking/staking/set-operator.mdx +2 -1
  38. package/docs/api-references/staking/staking/validator-claim.mdx +2 -1
  39. package/docs/api-references/staking/staking/validator-deposit.mdx +2 -1
  40. package/docs/api-references/staking/staking/validator-exit.mdx +2 -1
  41. package/docs/api-references/staking/staking/validator-history.mdx +1 -1
  42. package/docs/api-references/staking/staking/validator-info.mdx +1 -1
  43. package/docs/api-references/staking/staking/validator-join.mdx +2 -1
  44. package/docs/api-references/staking/staking/validator-prime.mdx +2 -1
  45. package/docs/api-references/staking/staking/validators.mdx +5 -2
  46. package/docs/api-references/staking/staking/wizard.mdx +1 -0
  47. package/docs/api-references/staking/staking.mdx +1 -1
  48. package/docs/api-references/transactions/appeal.mdx +1 -0
  49. package/docs/api-references/transactions/receipt.mdx +1 -1
  50. package/docs/api-references/vesting/claim.mdx +28 -0
  51. package/docs/api-references/vesting/delegate.mdx +29 -0
  52. package/docs/api-references/vesting/list.mdx +21 -0
  53. package/docs/api-references/vesting/undelegate.mdx +28 -0
  54. package/docs/api-references/vesting/validator/claim.mdx +28 -0
  55. package/docs/api-references/vesting/validator/create.mdx +29 -0
  56. package/docs/api-references/vesting/validator/deposit.mdx +29 -0
  57. package/docs/api-references/vesting/validator/exit.mdx +29 -0
  58. package/docs/api-references/vesting/validator/join.mdx +29 -0
  59. package/docs/api-references/vesting/validator/list.mdx +22 -0
  60. package/docs/api-references/vesting/validator/operator-transfer/cancel.mdx +28 -0
  61. package/docs/api-references/vesting/validator/operator-transfer/complete.mdx +28 -0
  62. package/docs/api-references/vesting/validator/operator-transfer/initiate.mdx +30 -0
  63. package/docs/api-references/vesting/validator/operator-transfer.mdx +25 -0
  64. package/docs/api-references/vesting/validator/set-identity.mdx +37 -0
  65. package/docs/api-references/vesting/validator/status.mdx +22 -0
  66. package/docs/api-references/vesting/validator.mdx +31 -0
  67. package/docs/api-references/vesting/withdraw.mdx +24 -0
  68. package/docs/api-references/vesting.mdx +28 -0
  69. package/docs/api-references/wallet/connect.mdx +17 -0
  70. package/docs/api-references/wallet/disconnect.mdx +15 -0
  71. package/docs/api-references/wallet/status.mdx +15 -0
  72. package/docs/api-references/wallet.mdx +25 -0
  73. package/package.json +9 -6
  74. package/scripts/generate-cli-docs.mjs +10 -2
  75. package/scripts/run-esbuild.mjs +12 -0
  76. package/src/commands/account/index.ts +2 -1
  77. package/src/commands/account/send.ts +3 -7
  78. package/src/commands/account/show.ts +17 -5
  79. package/src/commands/balances/BalancesAction.ts +276 -0
  80. package/src/commands/balances/index.ts +18 -0
  81. package/src/commands/contracts/deploy.ts +44 -16
  82. package/src/commands/contracts/estimateFees.ts +24 -15
  83. package/src/commands/contracts/execution.ts +145 -0
  84. package/src/commands/contracts/fees.ts +212 -58
  85. package/src/commands/contracts/index.ts +50 -41
  86. package/src/commands/contracts/write.ts +37 -10
  87. package/src/commands/network/index.ts +25 -0
  88. package/src/commands/network/setNetwork.ts +238 -28
  89. package/src/commands/staking/StakingAction.ts +86 -24
  90. package/src/commands/staking/delegatorClaim.ts +44 -0
  91. package/src/commands/staking/delegatorExit.ts +60 -0
  92. package/src/commands/staking/delegatorJoin.ts +46 -0
  93. package/src/commands/staking/index.ts +186 -156
  94. package/src/commands/staking/setIdentity.ts +62 -0
  95. package/src/commands/staking/setOperator.ts +42 -0
  96. package/src/commands/staking/validatorClaim.ts +39 -0
  97. package/src/commands/staking/validatorDeposit.ts +42 -0
  98. package/src/commands/staking/validatorExit.ts +57 -0
  99. package/src/commands/staking/validatorHistory.ts +34 -12
  100. package/src/commands/staking/validatorJoin.ts +50 -0
  101. package/src/commands/staking/validatorPrime.ts +88 -0
  102. package/src/commands/staking/validators.ts +619 -0
  103. package/src/commands/staking/wizard.ts +515 -34
  104. package/src/commands/transactions/appeal.ts +7 -0
  105. package/src/commands/transactions/finalize.ts +27 -2
  106. package/src/commands/transactions/index.ts +29 -25
  107. package/src/commands/vesting/VestingAction.ts +173 -0
  108. package/src/commands/vesting/claim.ts +83 -0
  109. package/src/commands/vesting/delegate.ts +94 -0
  110. package/src/commands/vesting/index.ts +286 -0
  111. package/src/commands/vesting/list.ts +157 -0
  112. package/src/commands/vesting/undelegate.ts +110 -0
  113. package/src/commands/vesting/validatorClaim.ts +85 -0
  114. package/src/commands/vesting/validatorCreate.ts +116 -0
  115. package/src/commands/vesting/validatorDeposit.ts +92 -0
  116. package/src/commands/vesting/validatorExit.ts +110 -0
  117. package/src/commands/vesting/validatorList.ts +93 -0
  118. package/src/commands/vesting/validatorOperatorTransfer.ts +254 -0
  119. package/src/commands/vesting/validatorSetIdentity.ts +136 -0
  120. package/src/commands/vesting/vestingTypes.ts +156 -0
  121. package/src/commands/vesting/withdraw.ts +86 -0
  122. package/src/commands/wallet/WalletAction.ts +190 -0
  123. package/src/commands/wallet/index.ts +36 -0
  124. package/src/index.ts +6 -0
  125. package/src/lib/actions/BaseAction.ts +156 -3
  126. package/src/lib/config/simulator.ts +3 -3
  127. package/src/lib/networks/customNetworks.ts +253 -0
  128. package/src/lib/vesting/availableToStake.ts +29 -0
  129. package/src/lib/wallet/bridgePage.ts +266 -0
  130. package/src/lib/wallet/browserBridge.ts +694 -0
  131. package/src/lib/wallet/browserSend.ts +316 -0
  132. package/src/lib/wallet/sessionClient.ts +148 -0
  133. package/src/lib/wallet/sessionConstants.ts +50 -0
  134. package/src/lib/wallet/sessionDaemon.ts +238 -0
  135. package/src/lib/wallet/sessionDescriptor.ts +95 -0
  136. package/src/lib/wallet/sessionResolver.ts +131 -0
  137. package/src/lib/wallet/spawnDaemon.ts +104 -0
  138. package/src/lib/wallet/stakingTx.ts +12 -0
  139. package/src/lib/wallet/txBuilders.ts +114 -0
  140. package/src/lib/wallet/walletOption.ts +23 -0
  141. package/support/ci/ACTIVE_DEV_BRANCH +1 -0
  142. package/tests/actions/balances.test.ts +247 -0
  143. package/tests/actions/customNetworkProfiles.test.ts +300 -0
  144. package/tests/actions/deploy.test.ts +272 -6
  145. package/tests/actions/estimateFees.test.ts +159 -16
  146. package/tests/actions/hasLiveWalletSession.test.ts +55 -0
  147. package/tests/actions/show.test.ts +94 -0
  148. package/tests/actions/staking.test.ts +311 -5
  149. package/tests/actions/stakingWizard.test.ts +417 -0
  150. package/tests/actions/vesting.test.ts +160 -0
  151. package/tests/actions/walletConnect.test.ts +161 -0
  152. package/tests/actions/walletSession.test.ts +86 -0
  153. package/tests/actions/write.test.ts +292 -24
  154. package/tests/commands/balances.test.ts +73 -0
  155. package/tests/commands/deploy.test.ts +34 -14
  156. package/tests/commands/estimateFees.test.ts +27 -15
  157. package/tests/commands/network.test.ts +56 -0
  158. package/tests/commands/staking.test.ts +97 -10
  159. package/tests/commands/stakingValidators.test.ts +197 -0
  160. package/tests/commands/vesting.test.ts +555 -0
  161. package/tests/commands/wallet.test.ts +64 -0
  162. package/tests/commands/write.test.ts +25 -0
  163. package/tests/index.test.ts +12 -0
  164. package/tests/libs/browserBridge.test.ts +412 -0
  165. package/tests/libs/browserSend.test.ts +183 -0
  166. package/tests/libs/sessionClient.test.ts +155 -0
  167. package/tests/libs/sessionDaemon.test.ts +141 -0
  168. package/tests/libs/sessionDescriptor.test.ts +95 -0
  169. package/tests/libs/sessionResolver.test.ts +283 -0
  170. package/tests/libs/spawnDaemon.test.ts +117 -0
  171. package/tests/libs/stakingTx.test.ts +116 -0
  172. package/tests/libs/txBuilders.test.ts +152 -0
  173. package/tests/services/simulator.test.ts +15 -0
  174. package/tests/setup.ts +33 -0
  175. package/tests/smoke.test.ts +13 -8
  176. package/vitest.config.ts +1 -0

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the package file manually.