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.
- package/.github/scripts/validate-branch-policy.sh +107 -0
- package/.github/workflows/branch-policy.yml +24 -0
- package/.github/workflows/fast-forward-main.yaml +57 -0
- package/.github/workflows/publish.yml +49 -4
- package/.github/workflows/retarget-main-prs.yaml +53 -0
- package/.github/workflows/smoke.yml +3 -1
- package/.github/workflows/sync-docs.yml +0 -24
- package/.github/workflows/validate-code.yml +6 -1
- package/CHANGELOG.md +30 -2
- package/CONTRIBUTING.md +6 -14
- package/README.md +57 -11
- package/dist/index.js +11908 -4368
- package/docs/BRANCHING.md +58 -0
- package/docs/api-references/_meta.json +7 -1
- package/docs/api-references/accounts/account/send.mdx +1 -1
- package/docs/api-references/configuration/network/add.mdx +32 -0
- package/docs/api-references/configuration/network/remove.mdx +21 -0
- package/docs/api-references/configuration/network.mdx +3 -1
- package/docs/api-references/contracts/call.mdx +1 -0
- package/docs/api-references/contracts/deploy.mdx +8 -0
- package/docs/api-references/contracts/write.mdx +8 -0
- package/docs/api-references/estimate-fees.mdx +29 -0
- package/docs/api-references/finalize-batch.mdx +21 -0
- package/docs/api-references/finalize.mdx +21 -0
- package/docs/api-references/index.mdx +6 -1
- package/docs/api-references/localnet/localnet/validators/create-random.mdx +3 -1
- package/docs/api-references/staking/staking/active-validators.mdx +1 -1
- package/docs/api-references/staking/staking/banned-validators.mdx +1 -1
- package/docs/api-references/staking/staking/delegation-info.mdx +1 -1
- package/docs/api-references/staking/staking/delegator-claim.mdx +2 -1
- package/docs/api-references/staking/staking/delegator-exit.mdx +2 -1
- package/docs/api-references/staking/staking/delegator-join.mdx +2 -1
- package/docs/api-references/staking/staking/epoch-info.mdx +1 -1
- package/docs/api-references/staking/staking/prime-all.mdx +2 -1
- package/docs/api-references/staking/staking/quarantined-validators.mdx +1 -1
- package/docs/api-references/staking/staking/set-identity.mdx +2 -1
- package/docs/api-references/staking/staking/set-operator.mdx +2 -1
- package/docs/api-references/staking/staking/validator-claim.mdx +2 -1
- package/docs/api-references/staking/staking/validator-deposit.mdx +2 -1
- package/docs/api-references/staking/staking/validator-exit.mdx +2 -1
- package/docs/api-references/staking/staking/validator-history.mdx +1 -1
- package/docs/api-references/staking/staking/validator-info.mdx +1 -1
- package/docs/api-references/staking/staking/validator-join.mdx +2 -1
- package/docs/api-references/staking/staking/validator-prime.mdx +2 -1
- package/docs/api-references/staking/staking/validators.mdx +5 -2
- package/docs/api-references/staking/staking/wizard.mdx +1 -0
- package/docs/api-references/staking/staking.mdx +1 -1
- package/docs/api-references/transactions/appeal.mdx +1 -0
- package/docs/api-references/transactions/receipt.mdx +1 -1
- package/docs/api-references/vesting/claim.mdx +28 -0
- package/docs/api-references/vesting/delegate.mdx +29 -0
- package/docs/api-references/vesting/list.mdx +21 -0
- package/docs/api-references/vesting/undelegate.mdx +28 -0
- package/docs/api-references/vesting/validator/claim.mdx +28 -0
- package/docs/api-references/vesting/validator/create.mdx +29 -0
- package/docs/api-references/vesting/validator/deposit.mdx +29 -0
- package/docs/api-references/vesting/validator/exit.mdx +29 -0
- package/docs/api-references/vesting/validator/join.mdx +29 -0
- package/docs/api-references/vesting/validator/list.mdx +22 -0
- package/docs/api-references/vesting/validator/operator-transfer/cancel.mdx +28 -0
- package/docs/api-references/vesting/validator/operator-transfer/complete.mdx +28 -0
- package/docs/api-references/vesting/validator/operator-transfer/initiate.mdx +30 -0
- package/docs/api-references/vesting/validator/operator-transfer.mdx +25 -0
- package/docs/api-references/vesting/validator/set-identity.mdx +37 -0
- package/docs/api-references/vesting/validator/status.mdx +22 -0
- package/docs/api-references/vesting/validator.mdx +31 -0
- package/docs/api-references/vesting/withdraw.mdx +24 -0
- package/docs/api-references/vesting.mdx +28 -0
- package/docs/api-references/wallet/connect.mdx +17 -0
- package/docs/api-references/wallet/disconnect.mdx +15 -0
- package/docs/api-references/wallet/status.mdx +15 -0
- package/docs/api-references/wallet.mdx +25 -0
- package/package.json +9 -6
- package/scripts/generate-cli-docs.mjs +10 -2
- package/scripts/run-esbuild.mjs +12 -0
- package/src/commands/account/index.ts +2 -1
- package/src/commands/account/send.ts +3 -7
- package/src/commands/account/show.ts +17 -5
- package/src/commands/balances/BalancesAction.ts +276 -0
- package/src/commands/balances/index.ts +18 -0
- package/src/commands/contracts/deploy.ts +44 -16
- package/src/commands/contracts/estimateFees.ts +24 -15
- package/src/commands/contracts/execution.ts +145 -0
- package/src/commands/contracts/fees.ts +212 -58
- package/src/commands/contracts/index.ts +50 -41
- package/src/commands/contracts/write.ts +37 -10
- package/src/commands/network/index.ts +25 -0
- package/src/commands/network/setNetwork.ts +238 -28
- package/src/commands/staking/StakingAction.ts +86 -24
- package/src/commands/staking/delegatorClaim.ts +44 -0
- package/src/commands/staking/delegatorExit.ts +60 -0
- package/src/commands/staking/delegatorJoin.ts +46 -0
- package/src/commands/staking/index.ts +186 -156
- package/src/commands/staking/setIdentity.ts +62 -0
- package/src/commands/staking/setOperator.ts +42 -0
- package/src/commands/staking/validatorClaim.ts +39 -0
- package/src/commands/staking/validatorDeposit.ts +42 -0
- package/src/commands/staking/validatorExit.ts +57 -0
- package/src/commands/staking/validatorHistory.ts +34 -12
- package/src/commands/staking/validatorJoin.ts +50 -0
- package/src/commands/staking/validatorPrime.ts +88 -0
- package/src/commands/staking/validators.ts +619 -0
- package/src/commands/staking/wizard.ts +515 -34
- package/src/commands/transactions/appeal.ts +7 -0
- package/src/commands/transactions/finalize.ts +27 -2
- package/src/commands/transactions/index.ts +29 -25
- package/src/commands/vesting/VestingAction.ts +173 -0
- package/src/commands/vesting/claim.ts +83 -0
- package/src/commands/vesting/delegate.ts +94 -0
- package/src/commands/vesting/index.ts +286 -0
- package/src/commands/vesting/list.ts +157 -0
- package/src/commands/vesting/undelegate.ts +110 -0
- package/src/commands/vesting/validatorClaim.ts +85 -0
- package/src/commands/vesting/validatorCreate.ts +116 -0
- package/src/commands/vesting/validatorDeposit.ts +92 -0
- package/src/commands/vesting/validatorExit.ts +110 -0
- package/src/commands/vesting/validatorList.ts +93 -0
- package/src/commands/vesting/validatorOperatorTransfer.ts +254 -0
- package/src/commands/vesting/validatorSetIdentity.ts +136 -0
- package/src/commands/vesting/vestingTypes.ts +156 -0
- package/src/commands/vesting/withdraw.ts +86 -0
- package/src/commands/wallet/WalletAction.ts +190 -0
- package/src/commands/wallet/index.ts +36 -0
- package/src/index.ts +6 -0
- package/src/lib/actions/BaseAction.ts +156 -3
- package/src/lib/config/simulator.ts +3 -3
- package/src/lib/networks/customNetworks.ts +253 -0
- package/src/lib/vesting/availableToStake.ts +29 -0
- package/src/lib/wallet/bridgePage.ts +266 -0
- package/src/lib/wallet/browserBridge.ts +694 -0
- package/src/lib/wallet/browserSend.ts +316 -0
- package/src/lib/wallet/sessionClient.ts +148 -0
- package/src/lib/wallet/sessionConstants.ts +50 -0
- package/src/lib/wallet/sessionDaemon.ts +238 -0
- package/src/lib/wallet/sessionDescriptor.ts +95 -0
- package/src/lib/wallet/sessionResolver.ts +131 -0
- package/src/lib/wallet/spawnDaemon.ts +104 -0
- package/src/lib/wallet/stakingTx.ts +12 -0
- package/src/lib/wallet/txBuilders.ts +114 -0
- package/src/lib/wallet/walletOption.ts +23 -0
- package/support/ci/ACTIVE_DEV_BRANCH +1 -0
- package/tests/actions/balances.test.ts +247 -0
- package/tests/actions/customNetworkProfiles.test.ts +300 -0
- package/tests/actions/deploy.test.ts +272 -6
- package/tests/actions/estimateFees.test.ts +159 -16
- package/tests/actions/hasLiveWalletSession.test.ts +55 -0
- package/tests/actions/show.test.ts +94 -0
- package/tests/actions/staking.test.ts +311 -5
- package/tests/actions/stakingWizard.test.ts +417 -0
- package/tests/actions/vesting.test.ts +160 -0
- package/tests/actions/walletConnect.test.ts +161 -0
- package/tests/actions/walletSession.test.ts +86 -0
- package/tests/actions/write.test.ts +292 -24
- package/tests/commands/balances.test.ts +73 -0
- package/tests/commands/deploy.test.ts +34 -14
- package/tests/commands/estimateFees.test.ts +27 -15
- package/tests/commands/network.test.ts +56 -0
- package/tests/commands/staking.test.ts +97 -10
- package/tests/commands/stakingValidators.test.ts +197 -0
- package/tests/commands/vesting.test.ts +555 -0
- package/tests/commands/wallet.test.ts +64 -0
- package/tests/commands/write.test.ts +25 -0
- package/tests/index.test.ts +12 -0
- package/tests/libs/browserBridge.test.ts +412 -0
- package/tests/libs/browserSend.test.ts +183 -0
- package/tests/libs/sessionClient.test.ts +155 -0
- package/tests/libs/sessionDaemon.test.ts +141 -0
- package/tests/libs/sessionDescriptor.test.ts +95 -0
- package/tests/libs/sessionResolver.test.ts +283 -0
- package/tests/libs/spawnDaemon.test.ts +117 -0
- package/tests/libs/stakingTx.test.ts +116 -0
- package/tests/libs/txBuilders.test.ts +152 -0
- package/tests/services/simulator.test.ts +15 -0
- package/tests/setup.ts +33 -0
- package/tests/smoke.test.ts +13 -8
- 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.