#compdef aptos

autoload -U is-at-least

_aptos() {
    typeset -A opt_args
    typeset -a _arguments_options
    local ret=1

    if is-at-least 5.2; then
        _arguments_options=(-s -S -C)
    else
        _arguments_options=(-s -C)
    fi

    local context curcontext="$curcontext" state line
    _arguments "${_arguments_options[@]}" \
'-h[Print help]' \
'--help[Print help]' \
'-V[Print version]' \
'--version[Print version]' \
":: :_aptos_commands" \
"*::: :->aptos" \
&& ret=0
    case $state in
    (aptos)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aptos-command-$line[1]:"
        case $line[1] in
            (account)
_arguments "${_arguments_options[@]}" \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
":: :_aptos__account_commands" \
"*::: :->account" \
&& ret=0

    case $state in
    (account)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aptos-account-command-$line[1]:"
        case $line[1] in
            (create)
_arguments "${_arguments_options[@]}" \
'--account=[Address of the new account]:ACCOUNT: ' \
'--sender-account=[Sender account address]:SENDER_ACCOUNT: ' \
'--private-key-file=[Signing Ed25519 private key file path]:PRIVATE_KEY_FILE:_files' \
'--private-key=[Signing Ed25519 private key]:PRIVATE_KEY: ' \
'--encoding=[Encoding of data as one of \[base64, bcs, hex\]]:ENCODING: ' \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'--gas-unit-price=[Gas multiplier per unit of gas]:GAS_UNIT_PRICE: ' \
'--max-gas=[Maximum amount of gas units to be used to send this transaction]:MAX_GAS: ' \
'--expiration-secs=[Number of seconds to expire the transaction]:EXPIRATION_SECS: ' \
'--session=[If this option is set, simulate the transaction using a local session]:SESSION:_files' \
'--replay-protection-type=[Replay protection mechanism to use when generating the transaction]:REPLAY_PROTECTION_TYPE:(nonce seqnum)' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'--local[If this option is set, simulate the transaction locally]' \
'--benchmark[If this option is set, benchmark the transaction locally]' \
'--profile-gas[If this option is set, simulate the transaction locally using the debugger and generate flamegraphs that reflect the gas usage]' \
'--fold-unique-stack[If set, fold the call graph by unique stack traces before generating the gas profile report. This helps reduce the size of large reports by aggregating identical call paths]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(create-resource-account)
_arguments "${_arguments_options[@]}" \
'--authentication-key=[Optional Resource Account authentication key]:AUTHENTICATION_KEY: ' \
'--seed=[Resource account seed]:SEED: ' \
'--seed-encoding=[Resource account seed encoding]:SEED_ENCODING: ' \
'--sender-account=[Sender account address]:SENDER_ACCOUNT: ' \
'--private-key-file=[Signing Ed25519 private key file path]:PRIVATE_KEY_FILE:_files' \
'--private-key=[Signing Ed25519 private key]:PRIVATE_KEY: ' \
'--encoding=[Encoding of data as one of \[base64, bcs, hex\]]:ENCODING: ' \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'--gas-unit-price=[Gas multiplier per unit of gas]:GAS_UNIT_PRICE: ' \
'--max-gas=[Maximum amount of gas units to be used to send this transaction]:MAX_GAS: ' \
'--expiration-secs=[Number of seconds to expire the transaction]:EXPIRATION_SECS: ' \
'--session=[If this option is set, simulate the transaction using a local session]:SESSION:_files' \
'--replay-protection-type=[Replay protection mechanism to use when generating the transaction]:REPLAY_PROTECTION_TYPE:(nonce seqnum)' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'--local[If this option is set, simulate the transaction locally]' \
'--benchmark[If this option is set, benchmark the transaction locally]' \
'--profile-gas[If this option is set, simulate the transaction locally using the debugger and generate flamegraphs that reflect the gas usage]' \
'--fold-unique-stack[If set, fold the call graph by unique stack traces before generating the gas profile report. This helps reduce the size of large reports by aggregating identical call paths]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(derive-resource-account-address)
_arguments "${_arguments_options[@]}" \
'--address=[Address of the creator'\''s account]:ADDRESS: ' \
'--seed=[Resource account seed]:SEED: ' \
'--seed-encoding=[Resource account seed encoding]:SEED_ENCODING: ' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(fund-with-faucet)
_arguments "${_arguments_options[@]}" \
'--account=[Address to fund]:ACCOUNT: ' \
'--amount=[Number of Octas to fund the account from the faucet]:AMOUNT: ' \
'--faucet-url=[URL for the faucet endpoint e.g. \`https\://faucet.devnet.aptoslabs.com\`]:FAUCET_URL: ' \
'--faucet-auth-token=[Auth token to bypass faucet ratelimits. You can also set this as an environment variable with FAUCET_AUTH_TOKEN]:FAUCET_AUTH_TOKEN: ' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(balance)
_arguments "${_arguments_options[@]}" \
'--account=[Address of the account you want to list resources/modules/balance for]:ACCOUNT: ' \
'--coin-type=[Coin type to lookup.  Defaults to 0x1\:\:aptos_coin\:\:AptosCoin]:COIN_TYPE: ' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(list)
_arguments "${_arguments_options[@]}" \
'--account=[Address of the account you want to list resources/modules/balance for]:ACCOUNT: ' \
'--query=[Type of items to list\: \[balance, resources, modules\]]:QUERY:(balance modules resources)' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(lookup-address)
_arguments "${_arguments_options[@]}" \
'--encoding=[Encoding of data as one of \[base64, bcs, hex\]]:ENCODING: ' \
'--public-key-file=[Ed25519 Public key input file name]:PUBLIC_KEY_FILE:_files' \
'--public-key=[Ed25519 Public key encoded in a type as shown in \`encoding\`]:PUBLIC_KEY: ' \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'--auth-key-file=[Authentication Key file input]:AUTH_KEY_FILE:_files' \
'--auth-key=[Authentication key input]:AUTH_KEY: ' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(rotate-key)
_arguments "${_arguments_options[@]}" \
'--sender-account=[Sender account address]:SENDER_ACCOUNT: ' \
'--private-key-file=[Signing Ed25519 private key file path]:PRIVATE_KEY_FILE:_files' \
'--private-key=[Signing Ed25519 private key]:PRIVATE_KEY: ' \
'--encoding=[Encoding of data as one of \[base64, bcs, hex\]]:ENCODING: ' \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'--gas-unit-price=[Gas multiplier per unit of gas]:GAS_UNIT_PRICE: ' \
'--max-gas=[Maximum amount of gas units to be used to send this transaction]:MAX_GAS: ' \
'--expiration-secs=[Number of seconds to expire the transaction]:EXPIRATION_SECS: ' \
'--session=[If this option is set, simulate the transaction using a local session]:SESSION:_files' \
'--replay-protection-type=[Replay protection mechanism to use when generating the transaction]:REPLAY_PROTECTION_TYPE:(nonce seqnum)' \
'--new-private-key-file=[File name that contains the new private key encoded in the type from \`--encoding\`]:NEW_PRIVATE_KEY_FILE:_files' \
'--new-private-key=[New private key encoded in the type from \`--encoding\`]:NEW_PRIVATE_KEY: ' \
'--new-derivation-path=[BIP44 derivation path of hardware wallet account, e.g. \`m/44'\''/637'\''/0'\''/0'\''/0'\''\`]:NEW_DERIVATION_PATH: ' \
'--new-derivation-index=[BIP44 account index of hardware wallet account, e.g. \`0\`]:NEW_DERIVATION_INDEX: ' \
'--save-to-profile=[Name of new the profile to save for the new authentication key]:SAVE_TO_PROFILE: ' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'--local[If this option is set, simulate the transaction locally]' \
'--benchmark[If this option is set, benchmark the transaction locally]' \
'--profile-gas[If this option is set, simulate the transaction locally using the debugger and generate flamegraphs that reflect the gas usage]' \
'--fold-unique-stack[If set, fold the call graph by unique stack traces before generating the gas profile report. This helps reduce the size of large reports by aggregating identical call paths]' \
'--skip-saving-profile[Only specify if you do not want to save a new profile]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(transfer)
_arguments "${_arguments_options[@]}" \
'--account=[Address of account to send APT to]:ACCOUNT: ' \
'--amount=[Amount of Octas (10^-8 APT) to transfer]:AMOUNT: ' \
'--sender-account=[Sender account address]:SENDER_ACCOUNT: ' \
'--private-key-file=[Signing Ed25519 private key file path]:PRIVATE_KEY_FILE:_files' \
'--private-key=[Signing Ed25519 private key]:PRIVATE_KEY: ' \
'--encoding=[Encoding of data as one of \[base64, bcs, hex\]]:ENCODING: ' \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'--gas-unit-price=[Gas multiplier per unit of gas]:GAS_UNIT_PRICE: ' \
'--max-gas=[Maximum amount of gas units to be used to send this transaction]:MAX_GAS: ' \
'--expiration-secs=[Number of seconds to expire the transaction]:EXPIRATION_SECS: ' \
'--session=[If this option is set, simulate the transaction using a local session]:SESSION:_files' \
'--replay-protection-type=[Replay protection mechanism to use when generating the transaction]:REPLAY_PROTECTION_TYPE:(nonce seqnum)' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'--local[If this option is set, simulate the transaction locally]' \
'--benchmark[If this option is set, benchmark the transaction locally]' \
'--profile-gas[If this option is set, simulate the transaction locally using the debugger and generate flamegraphs that reflect the gas usage]' \
'--fold-unique-stack[If set, fold the call graph by unique stack traces before generating the gas profile report. This helps reduce the size of large reports by aggregating identical call paths]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" \
":: :_aptos__account__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aptos-account-help-command-$line[1]:"
        case $line[1] in
            (create)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(create-resource-account)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(derive-resource-account-address)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(fund-with-faucet)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(balance)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(list)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(lookup-address)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(rotate-key)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(transfer)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(config)
_arguments "${_arguments_options[@]}" \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
":: :_aptos__config_commands" \
"*::: :->config" \
&& ret=0

    case $state in
    (config)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aptos-config-command-$line[1]:"
        case $line[1] in
            (generate-shell-completions)
_arguments "${_arguments_options[@]}" \
'--shell=[Shell to generate completions]:SHELL:(bash elvish fish powershell zsh)' \
'--output-file=[File to output shell completions to]:OUTPUT_FILE:_files' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(show-global-config)
_arguments "${_arguments_options[@]}" \
'-h[Print help]' \
'--help[Print help]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(set-global-config)
_arguments "${_arguments_options[@]}" \
'--config-type=[A configuration for where to place and use the config]:CONFIG_TYPE:((global\:"Per system user configuration put in \`<HOME>/.aptos\`"
workspace\:"Per directory configuration put in \`<CURRENT_DIR>/.aptos\`"))' \
'--default-prompt-response=[A configuration for how to expect the prompt response]:DEFAULT_PROMPT_RESPONSE:((prompt\:"normal prompt"
yes\:"\`--assume-yes\`"
no\:"\`--assume-no\`"))' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(show-profiles)
_arguments "${_arguments_options[@]}" \
'--profile=[Which profile to show]:PROFILE: ' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(show-private-key)
_arguments "${_arguments_options[@]}" \
'--profile=[Which profile'\''s private key to show]:PROFILE: ' \
'-h[Print help]' \
'--help[Print help]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(rename-profile)
_arguments "${_arguments_options[@]}" \
'--profile=[Which profile to rename]:PROFILE: ' \
'--new-profile-name=[New profile name]:NEW_PROFILE_NAME: ' \
'-h[Print help]' \
'--help[Print help]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(delete-profile)
_arguments "${_arguments_options[@]}" \
'--profile=[Which profile to delete]:PROFILE: ' \
'-h[Print help]' \
'--help[Print help]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" \
":: :_aptos__config__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aptos-config-help-command-$line[1]:"
        case $line[1] in
            (generate-shell-completions)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(show-global-config)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(set-global-config)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(show-profiles)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(show-private-key)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(rename-profile)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(delete-profile)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(genesis)
_arguments "${_arguments_options[@]}" \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
":: :_aptos__genesis_commands" \
"*::: :->genesis" \
&& ret=0

    case $state in
    (genesis)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aptos-genesis-command-$line[1]:"
        case $line[1] in
            (generate-admin-write-set)
_arguments "${_arguments_options[@]}" \
'--output-file=[Path of the output genesis file]:OUTPUT_FILE:_files' \
'--execute-as=[Address of the account which execute this script]:EXECUTE_AS: ' \
'--script-path=[Path to the Move script for the proposal]:SCRIPT_PATH:_files' \
'--compiled-script-path=[Path to the Move script for the proposal]:COMPILED_SCRIPT_PATH:_files' \
'--framework-git-rev=[Git revision or branch for the Aptos framework]:FRAMEWORK_GIT_REV: ' \
'--framework-local-dir=[Local framework directory for the Aptos framework]:FRAMEWORK_LOCAL_DIR:_files' \
'--bytecode-version=[]:BYTECODE_VERSION: ' \
'--compiler-version=[Specify the version of the compiler. Defaults to the latest stable compiler version (at least 2)]:COMPILER_VERSION: ' \
'--language-version=[Specify the language version to be supported. Defaults to the latest stable language version (at least 2)]:LANGUAGE_VERSION: ' \
'--skip-fetch-latest-git-deps[Skip pulling the latest git dependencies]' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(generate-genesis)
_arguments "${_arguments_options[@]}" \
'--output-dir=[Output directory for Genesis file and waypoint]:OUTPUT_DIR:_files' \
'--github-repository=[Github repository e.g. '\''aptos-labs/aptos-core'\'']:GITHUB_REPOSITORY: ' \
'--github-branch=[Github repository branch e.g. main]:GITHUB_BRANCH: ' \
'--github-token-file=[Path to Github API token.  Token must have repo\:* permissions]:GITHUB_TOKEN_FILE:_files' \
'--local-repository-dir=[Path to local git repository]:LOCAL_REPOSITORY_DIR:_files' \
'--mainnet[Whether this is mainnet genesis]' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(get-pool-addresses)
_arguments "${_arguments_options[@]}" \
'--output-dir=[Output directory for pool addresses]:OUTPUT_DIR:_files' \
'--github-repository=[Github repository e.g. '\''aptos-labs/aptos-core'\'']:GITHUB_REPOSITORY: ' \
'--github-branch=[Github repository branch e.g. main]:GITHUB_BRANCH: ' \
'--github-token-file=[Path to Github API token.  Token must have repo\:* permissions]:GITHUB_TOKEN_FILE:_files' \
'--local-repository-dir=[Path to local git repository]:LOCAL_REPOSITORY_DIR:_files' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(generate-keys)
_arguments "${_arguments_options[@]}" \
'--output-dir=[Output directory for the key files]:OUTPUT_DIR:_files' \
'--pool-address=[Address of the Staking pool]:POOL_ADDRESS: ' \
'--random-seed=[The seed used for key generation, should be a 64 character hex string and only used for testing]:RANDOM_SEED: ' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(generate-layout-template)
_arguments "${_arguments_options[@]}" \
'--output-file=[Path of the output layout template]:OUTPUT_FILE:_files' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(setup-git)
_arguments "${_arguments_options[@]}" \
'--github-repository=[Github repository e.g. '\''aptos-labs/aptos-core'\'']:GITHUB_REPOSITORY: ' \
'--github-branch=[Github repository branch e.g. main]:GITHUB_BRANCH: ' \
'--github-token-file=[Path to Github API token.  Token must have repo\:* permissions]:GITHUB_TOKEN_FILE:_files' \
'--local-repository-dir=[Path to local git repository]:LOCAL_REPOSITORY_DIR:_files' \
'--layout-file=[Path to the \`Layout\` file which defines where all the files are]:LAYOUT_FILE:_files' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(set-validator-configuration)
_arguments "${_arguments_options[@]}" \
'--username=[Name of the validator]:USERNAME: ' \
'--validator-host=[Host and port pair for the validator e.g. 127.0.0.1\:6180 or aptoslabs.com\:6180]:VALIDATOR_HOST: ' \
'--full-node-host=[Host and port pair for the fullnode e.g. 127.0.0.1\:6180 or aptoslabs.com\:6180]:FULL_NODE_HOST: ' \
'--stake-amount=[Stake amount for stake distribution]:STAKE_AMOUNT: ' \
'--commission-percentage=[Commission rate to pay operator]:COMMISSION_PERCENTAGE: ' \
'--owner-public-identity-file=[Path to private identity generated from GenerateKeys]:OWNER_PUBLIC_IDENTITY_FILE:_files' \
'--operator-public-identity-file=[Path to operator public identity, defaults to owner identity]:OPERATOR_PUBLIC_IDENTITY_FILE:_files' \
'--voter-public-identity-file=[Path to voter public identity, defaults to owner identity]:VOTER_PUBLIC_IDENTITY_FILE:_files' \
'--github-repository=[Github repository e.g. '\''aptos-labs/aptos-core'\'']:GITHUB_REPOSITORY: ' \
'--github-branch=[Github repository branch e.g. main]:GITHUB_BRANCH: ' \
'--github-token-file=[Path to Github API token.  Token must have repo\:* permissions]:GITHUB_TOKEN_FILE:_files' \
'--local-repository-dir=[Path to local git repository]:LOCAL_REPOSITORY_DIR:_files' \
'--join-during-genesis[Whether the validator will be joining the genesis validator set]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" \
":: :_aptos__genesis__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aptos-genesis-help-command-$line[1]:"
        case $line[1] in
            (generate-admin-write-set)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(generate-genesis)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(get-pool-addresses)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(generate-keys)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(generate-layout-template)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(setup-git)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(set-validator-configuration)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(governance)
_arguments "${_arguments_options[@]}" \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
":: :_aptos__governance_commands" \
"*::: :->governance" \
&& ret=0

    case $state in
    (governance)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aptos-governance-command-$line[1]:"
        case $line[1] in
            (propose)
_arguments "${_arguments_options[@]}" \
'--pool-address=[Address of the Staking pool]:POOL_ADDRESS: ' \
'--metadata-url=[Location of the JSON metadata of the proposal]:METADATA_URL: ' \
'--sender-account=[Sender account address]:SENDER_ACCOUNT: ' \
'--private-key-file=[Signing Ed25519 private key file path]:PRIVATE_KEY_FILE:_files' \
'--private-key=[Signing Ed25519 private key]:PRIVATE_KEY: ' \
'--encoding=[Encoding of data as one of \[base64, bcs, hex\]]:ENCODING: ' \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'--gas-unit-price=[Gas multiplier per unit of gas]:GAS_UNIT_PRICE: ' \
'--max-gas=[Maximum amount of gas units to be used to send this transaction]:MAX_GAS: ' \
'--expiration-secs=[Number of seconds to expire the transaction]:EXPIRATION_SECS: ' \
'--session=[If this option is set, simulate the transaction using a local session]:SESSION:_files' \
'--replay-protection-type=[Replay protection mechanism to use when generating the transaction]:REPLAY_PROTECTION_TYPE:(nonce seqnum)' \
'--script-path=[Path to the Move script for the proposal]:SCRIPT_PATH:_files' \
'--compiled-script-path=[Path to the Move script for the proposal]:COMPILED_SCRIPT_PATH:_files' \
'--framework-git-rev=[Git revision or branch for the Aptos framework]:FRAMEWORK_GIT_REV: ' \
'--framework-local-dir=[Local framework directory for the Aptos framework]:FRAMEWORK_LOCAL_DIR:_files' \
'--bytecode-version=[]:BYTECODE_VERSION: ' \
'--compiler-version=[Specify the version of the compiler. Defaults to the latest stable compiler version (at least 2)]:COMPILER_VERSION: ' \
'--language-version=[Specify the language version to be supported. Defaults to the latest stable language version (at least 2)]:LANGUAGE_VERSION: ' \
'--is-multi-step[]' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'--local[If this option is set, simulate the transaction locally]' \
'--benchmark[If this option is set, benchmark the transaction locally]' \
'--profile-gas[If this option is set, simulate the transaction locally using the debugger and generate flamegraphs that reflect the gas usage]' \
'--fold-unique-stack[If set, fold the call graph by unique stack traces before generating the gas profile report. This helps reduce the size of large reports by aggregating identical call paths]' \
'--skip-fetch-latest-git-deps[Skip pulling the latest git dependencies]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(vote)
_arguments "${_arguments_options[@]}" \
'*--pool-addresses=[Space separated list of pool addresses]' \
'--proposal-id=[Id of the proposal to vote on]:PROPOSAL_ID: ' \
'--voting-power=[Voting power to use for the vote.  If not specified, all the voting power will be used]:VOTING_POWER: ' \
'--sender-account=[Sender account address]:SENDER_ACCOUNT: ' \
'--private-key-file=[Signing Ed25519 private key file path]:PRIVATE_KEY_FILE:_files' \
'--private-key=[Signing Ed25519 private key]:PRIVATE_KEY: ' \
'--encoding=[Encoding of data as one of \[base64, bcs, hex\]]:ENCODING: ' \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'--gas-unit-price=[Gas multiplier per unit of gas]:GAS_UNIT_PRICE: ' \
'--max-gas=[Maximum amount of gas units to be used to send this transaction]:MAX_GAS: ' \
'--expiration-secs=[Number of seconds to expire the transaction]:EXPIRATION_SECS: ' \
'--session=[If this option is set, simulate the transaction using a local session]:SESSION:_files' \
'--replay-protection-type=[Replay protection mechanism to use when generating the transaction]:REPLAY_PROTECTION_TYPE:(nonce seqnum)' \
'--yes[Vote to accept the proposal]' \
'--no[Vote to reject the proposal]' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'--local[If this option is set, simulate the transaction locally]' \
'--benchmark[If this option is set, benchmark the transaction locally]' \
'--profile-gas[If this option is set, simulate the transaction locally using the debugger and generate flamegraphs that reflect the gas usage]' \
'--fold-unique-stack[If set, fold the call graph by unique stack traces before generating the gas profile report. This helps reduce the size of large reports by aggregating identical call paths]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(show-proposal)
_arguments "${_arguments_options[@]}" \
'--proposal-id=[The identifier of the onchain governance proposal]:PROPOSAL_ID: ' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(list-proposals)
_arguments "${_arguments_options[@]}" \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(verify-proposal)
_arguments "${_arguments_options[@]}" \
'--proposal-id=[The id of the onchain proposal]:PROPOSAL_ID: ' \
'--script-path=[Path to the Move script for the proposal]:SCRIPT_PATH:_files' \
'--compiled-script-path=[Path to the Move script for the proposal]:COMPILED_SCRIPT_PATH:_files' \
'--framework-git-rev=[Git revision or branch for the Aptos framework]:FRAMEWORK_GIT_REV: ' \
'--framework-local-dir=[Local framework directory for the Aptos framework]:FRAMEWORK_LOCAL_DIR:_files' \
'--bytecode-version=[]:BYTECODE_VERSION: ' \
'--compiler-version=[Specify the version of the compiler. Defaults to the latest stable compiler version (at least 2)]:COMPILER_VERSION: ' \
'--language-version=[Specify the language version to be supported. Defaults to the latest stable language version (at least 2)]:LANGUAGE_VERSION: ' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'--skip-fetch-latest-git-deps[Skip pulling the latest git dependencies]' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(execute-proposal)
_arguments "${_arguments_options[@]}" \
'--proposal-id=[Proposal Id being executed]:PROPOSAL_ID: ' \
'--sender-account=[Sender account address]:SENDER_ACCOUNT: ' \
'--private-key-file=[Signing Ed25519 private key file path]:PRIVATE_KEY_FILE:_files' \
'--private-key=[Signing Ed25519 private key]:PRIVATE_KEY: ' \
'--encoding=[Encoding of data as one of \[base64, bcs, hex\]]:ENCODING: ' \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'--gas-unit-price=[Gas multiplier per unit of gas]:GAS_UNIT_PRICE: ' \
'--max-gas=[Maximum amount of gas units to be used to send this transaction]:MAX_GAS: ' \
'--expiration-secs=[Number of seconds to expire the transaction]:EXPIRATION_SECS: ' \
'--session=[If this option is set, simulate the transaction using a local session]:SESSION:_files' \
'--replay-protection-type=[Replay protection mechanism to use when generating the transaction]:REPLAY_PROTECTION_TYPE:(nonce seqnum)' \
'--script-path=[Path to the Move script for the proposal]:SCRIPT_PATH:_files' \
'--compiled-script-path=[Path to the Move script for the proposal]:COMPILED_SCRIPT_PATH:_files' \
'--framework-git-rev=[Git revision or branch for the Aptos framework]:FRAMEWORK_GIT_REV: ' \
'--framework-local-dir=[Local framework directory for the Aptos framework]:FRAMEWORK_LOCAL_DIR:_files' \
'--bytecode-version=[]:BYTECODE_VERSION: ' \
'--compiler-version=[Specify the version of the compiler. Defaults to the latest stable compiler version (at least 2)]:COMPILER_VERSION: ' \
'--language-version=[Specify the language version to be supported. Defaults to the latest stable language version (at least 2)]:LANGUAGE_VERSION: ' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'--local[If this option is set, simulate the transaction locally]' \
'--benchmark[If this option is set, benchmark the transaction locally]' \
'--profile-gas[If this option is set, simulate the transaction locally using the debugger and generate flamegraphs that reflect the gas usage]' \
'--fold-unique-stack[If set, fold the call graph by unique stack traces before generating the gas profile report. This helps reduce the size of large reports by aggregating identical call paths]' \
'--skip-fetch-latest-git-deps[Skip pulling the latest git dependencies]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(generate-upgrade-proposal)
_arguments "${_arguments_options[@]}" \
'--account=[Address of the account which the proposal addresses]:ACCOUNT: ' \
'--output=[Where to store the generated proposal]:OUTPUT:_files' \
'--included-artifacts=[What artifacts to include in the package. This can be one of \`none\`, \`sparse\`, and \`all\`. \`none\` is the most compact form and does not allow to reconstruct a source package from chain; \`sparse\` is the minimal set of artifacts needed to reconstruct a source package; \`all\` includes all available artifacts. The choice of included artifacts heavily influences the size and therefore gas cost of publishing\: \`none\` is the size of bytecode alone; \`sparse\` is roughly 2 times as much; and \`all\` 3-4 as much]:INCLUDED_ARTIFACTS:(none sparse all)' \
'--next-execution-hash=[]:NEXT_EXECUTION_HASH: ' \
'--package-dir=[Path to a move package (the folder with a Move.toml file).  Defaults to current directory]:PACKAGE_DIR:_files' \
'--output-dir=[Path to save the compiled move package]:OUTPUT_DIR:_files' \
'--named-addresses=[Named addresses for the move binary]:NAMED_ADDRESSES: ' \
'--override-std=[Override the standard library version by mainnet/testnet/devnet]:OVERRIDE_STD:(mainnet testnet devnet)' \
'--optimize=[Select optimization level.  Choices are "none", "default", or "extra". Level "extra" may spend more time on expensive optimizations in the future. Level "none" does no optimizations, possibly leading to use of too many runtime resources. Level "default" is the recommended level, and the default if not provided]:OPTIMIZE: ' \
'*--experiments=[Experiments]:EXPERIMENTS: ' \
'--bytecode-version=[...or --bytecode BYTECODE_VERSION
Specify the version of the bytecode the compiler is going to emit.
If not provided, it is inferred from the language version.]:BYTECODE_VERSION: ' \
'--compiler-version=[...or --compiler COMPILER_VERSION
Specify the version of the compiler (must be at least 2).
Defaults to the latest stable compiler version.]:COMPILER_VERSION: ' \
'--language-version=[...or --language LANGUAGE_VERSION
Specify the language version to be supported.
Defaults to the latest stable language version.]:LANGUAGE_VERSION: ' \
'--testnet[Generate the script for mainnet governance proposal by default or generate the upgrade script for testnet]' \
'--skip-fetch-latest-git-deps[Skip pulling the latest git dependencies]' \
'--skip-attribute-checks[Do not complain about unknown attributes in Move code]' \
'--dev[Enables dev mode, which uses all dev-addresses and dev-dependencies]' \
'--skip-checks-on-test-code[Skip extended checks (such as checks for the #\[view\] attribute) on test code]' \
'--fail-on-warning[Fail the compilation if there are any warnings]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(approve-execution-hash)
_arguments "${_arguments_options[@]}" \
'--proposal-id=[Id of the proposal to vote on]:PROPOSAL_ID: ' \
'--sender-account=[Sender account address]:SENDER_ACCOUNT: ' \
'--private-key-file=[Signing Ed25519 private key file path]:PRIVATE_KEY_FILE:_files' \
'--private-key=[Signing Ed25519 private key]:PRIVATE_KEY: ' \
'--encoding=[Encoding of data as one of \[base64, bcs, hex\]]:ENCODING: ' \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'--gas-unit-price=[Gas multiplier per unit of gas]:GAS_UNIT_PRICE: ' \
'--max-gas=[Maximum amount of gas units to be used to send this transaction]:MAX_GAS: ' \
'--expiration-secs=[Number of seconds to expire the transaction]:EXPIRATION_SECS: ' \
'--session=[If this option is set, simulate the transaction using a local session]:SESSION:_files' \
'--replay-protection-type=[Replay protection mechanism to use when generating the transaction]:REPLAY_PROTECTION_TYPE:(nonce seqnum)' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'--local[If this option is set, simulate the transaction locally]' \
'--benchmark[If this option is set, benchmark the transaction locally]' \
'--profile-gas[If this option is set, simulate the transaction locally using the debugger and generate flamegraphs that reflect the gas usage]' \
'--fold-unique-stack[If set, fold the call graph by unique stack traces before generating the gas profile report. This helps reduce the size of large reports by aggregating identical call paths]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(delegation-pool)
_arguments "${_arguments_options[@]}" \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
":: :_aptos__governance__delegation-pool_commands" \
"*::: :->delegation-pool" \
&& ret=0

    case $state in
    (delegation-pool)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aptos-governance-delegation-pool-command-$line[1]:"
        case $line[1] in
            (propose)
_arguments "${_arguments_options[@]}" \
'--delegation-pool-address=[The address of the delegation pool to propose]:DELEGATION_POOL_ADDRESS: ' \
'--metadata-url=[Location of the JSON metadata of the proposal]:METADATA_URL: ' \
'--sender-account=[Sender account address]:SENDER_ACCOUNT: ' \
'--private-key-file=[Signing Ed25519 private key file path]:PRIVATE_KEY_FILE:_files' \
'--private-key=[Signing Ed25519 private key]:PRIVATE_KEY: ' \
'--encoding=[Encoding of data as one of \[base64, bcs, hex\]]:ENCODING: ' \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'--gas-unit-price=[Gas multiplier per unit of gas]:GAS_UNIT_PRICE: ' \
'--max-gas=[Maximum amount of gas units to be used to send this transaction]:MAX_GAS: ' \
'--expiration-secs=[Number of seconds to expire the transaction]:EXPIRATION_SECS: ' \
'--session=[If this option is set, simulate the transaction using a local session]:SESSION:_files' \
'--replay-protection-type=[Replay protection mechanism to use when generating the transaction]:REPLAY_PROTECTION_TYPE:(nonce seqnum)' \
'--script-path=[Path to the Move script for the proposal]:SCRIPT_PATH:_files' \
'--compiled-script-path=[Path to the Move script for the proposal]:COMPILED_SCRIPT_PATH:_files' \
'--framework-git-rev=[Git revision or branch for the Aptos framework]:FRAMEWORK_GIT_REV: ' \
'--framework-local-dir=[Local framework directory for the Aptos framework]:FRAMEWORK_LOCAL_DIR:_files' \
'--bytecode-version=[]:BYTECODE_VERSION: ' \
'--compiler-version=[Specify the version of the compiler. Defaults to the latest stable compiler version (at least 2)]:COMPILER_VERSION: ' \
'--language-version=[Specify the language version to be supported. Defaults to the latest stable language version (at least 2)]:LANGUAGE_VERSION: ' \
'--is-multi-step[]' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'--local[If this option is set, simulate the transaction locally]' \
'--benchmark[If this option is set, benchmark the transaction locally]' \
'--profile-gas[If this option is set, simulate the transaction locally using the debugger and generate flamegraphs that reflect the gas usage]' \
'--fold-unique-stack[If set, fold the call graph by unique stack traces before generating the gas profile report. This helps reduce the size of large reports by aggregating identical call paths]' \
'--skip-fetch-latest-git-deps[Skip pulling the latest git dependencies]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(vote)
_arguments "${_arguments_options[@]}" \
'--delegation-pool-address=[The address of the delegation pool to vote]:DELEGATION_POOL_ADDRESS: ' \
'--proposal-id=[Id of the proposal to vote on]:PROPOSAL_ID: ' \
'--voting-power=[Voting power to use for the vote.  If not specified, all the voting power will be used]:VOTING_POWER: ' \
'--sender-account=[Sender account address]:SENDER_ACCOUNT: ' \
'--private-key-file=[Signing Ed25519 private key file path]:PRIVATE_KEY_FILE:_files' \
'--private-key=[Signing Ed25519 private key]:PRIVATE_KEY: ' \
'--encoding=[Encoding of data as one of \[base64, bcs, hex\]]:ENCODING: ' \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'--gas-unit-price=[Gas multiplier per unit of gas]:GAS_UNIT_PRICE: ' \
'--max-gas=[Maximum amount of gas units to be used to send this transaction]:MAX_GAS: ' \
'--expiration-secs=[Number of seconds to expire the transaction]:EXPIRATION_SECS: ' \
'--session=[If this option is set, simulate the transaction using a local session]:SESSION:_files' \
'--replay-protection-type=[Replay protection mechanism to use when generating the transaction]:REPLAY_PROTECTION_TYPE:(nonce seqnum)' \
'--yes[Vote to accept the proposal]' \
'--no[Vote to reject the proposal]' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'--local[If this option is set, simulate the transaction locally]' \
'--benchmark[If this option is set, benchmark the transaction locally]' \
'--profile-gas[If this option is set, simulate the transaction locally using the debugger and generate flamegraphs that reflect the gas usage]' \
'--fold-unique-stack[If set, fold the call graph by unique stack traces before generating the gas profile report. This helps reduce the size of large reports by aggregating identical call paths]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" \
":: :_aptos__governance__delegation-pool__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aptos-governance-delegation-pool-help-command-$line[1]:"
        case $line[1] in
            (propose)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(vote)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(help)
_arguments "${_arguments_options[@]}" \
":: :_aptos__governance__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aptos-governance-help-command-$line[1]:"
        case $line[1] in
            (propose)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(vote)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(show-proposal)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(list-proposals)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(verify-proposal)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(execute-proposal)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(generate-upgrade-proposal)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(approve-execution-hash)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(delegation-pool)
_arguments "${_arguments_options[@]}" \
":: :_aptos__governance__help__delegation-pool_commands" \
"*::: :->delegation-pool" \
&& ret=0

    case $state in
    (delegation-pool)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aptos-governance-help-delegation-pool-command-$line[1]:"
        case $line[1] in
            (propose)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(vote)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
        esac
    ;;
esac
;;
(help)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(info)
_arguments "${_arguments_options[@]}" \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(init)
_arguments "${_arguments_options[@]}" \
'--network=[Network to use for default settings]:NETWORK: ' \
'--rest-url=[URL to a fullnode on the network]:REST_URL: ' \
'--faucet-url=[URL for the faucet endpoint e.g. \`https\://faucet.devnet.aptoslabs.com\`]:FAUCET_URL: ' \
'--faucet-auth-token=[Auth token to bypass faucet ratelimits. You can also set this as an environment variable with FAUCET_AUTH_TOKEN]:FAUCET_AUTH_TOKEN: ' \
'(--derivation-index)--derivation-path=[BIP44 derivation path of hardware wallet account, e.g. \`m/44'\''/637'\''/0'\''/0'\''/0'\''\`]:DERIVATION_PATH: ' \
'(--derivation-path)--derivation-index=[BIP44 account index of hardware wallet account, e.g. \`0\`]:DERIVATION_INDEX: ' \
'--random-seed=[The seed used for key generation, should be a 64 character hex string and only used for testing]:RANDOM_SEED: ' \
'--private-key-file=[Signing Ed25519 private key file path]:PRIVATE_KEY_FILE:_files' \
'--private-key=[Signing Ed25519 private key]:PRIVATE_KEY: ' \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'--encoding=[Encoding of data as one of \[base64, bcs, hex\]]:ENCODING: ' \
'--skip-faucet[Whether to skip the faucet for a non-faucet endpoint]' \
'--ledger[Whether you want to create a profile from your ledger account]' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(key)
_arguments "${_arguments_options[@]}" \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
":: :_aptos__key_commands" \
"*::: :->key" \
&& ret=0

    case $state in
    (key)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aptos-key-command-$line[1]:"
        case $line[1] in
            (generate)
_arguments "${_arguments_options[@]}" \
'--key-type=[Key type to generate. Must be one of \[x25519, ed25519, bls12381\]]:KEY_TYPE:((ed25519\:"Ed25519 key used for signing"
x25519\:"X25519 key used for network handshakes and identity"
bls12381\:"A BLS12381 key for consensus"))' \
'--vanity-prefix=[Vanity prefix that resultant account address should start with, e.g. 0xaceface or d00d. Each additional character multiplies by a factor of 16 the computational difficulty associated with generating an address, so try out shorter prefixes first and be prepared to wait for longer ones]:VANITY_PREFIX: ' \
'--random-seed=[The seed used for key generation, should be a 64 character hex string and only used for testing]:RANDOM_SEED: ' \
'--output-file=[Output file path]:OUTPUT_FILE:_files' \
'--encoding=[Encoding of data as one of \[base64, bcs, hex\]]:ENCODING: ' \
'--vanity-multisig[Use this flag when vanity prefix is for a multisig account. This mines a private key for a single signer account that can, as its first transaction, create a multisig account with the given vanity prefix]' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(extract-public-key)
_arguments "${_arguments_options[@]}" \
'--key-type=[Key type to generate. Must be one of \[x25519, ed25519, bls12381\]]:KEY_TYPE:((ed25519\:"Ed25519 key used for signing"
x25519\:"X25519 key used for network handshakes and identity"
bls12381\:"A BLS12381 key for consensus"))' \
'--private-key-file=[Signing Ed25519 private key file path]:PRIVATE_KEY_FILE:_files' \
'--private-key=[Signing Ed25519 private key]:PRIVATE_KEY: ' \
'--random-seed=[The seed used for key generation, should be a 64 character hex string and only used for testing]:RANDOM_SEED: ' \
'--output-file=[Output file path]:OUTPUT_FILE:_files' \
'--encoding=[Encoding of data as one of \[base64, bcs, hex\]]:ENCODING: ' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(extract-peer)
_arguments "${_arguments_options[@]}" \
'--host=[Host and port of the full node]:HOST: ' \
'--private-network-key-file=[x25519 Private key input file name]:PRIVATE_NETWORK_KEY_FILE:_files' \
'--private-network-key=[x25519 Private key encoded in a type as shown in \`encoding\`]:PRIVATE_NETWORK_KEY: ' \
'--public-network-key-file=[x25519 Public key input file name]:PUBLIC_NETWORK_KEY_FILE:_files' \
'--public-network-key=[x25519 Public key encoded in a type as shown in \`encoding\`]:PUBLIC_NETWORK_KEY: ' \
'--output-file=[Output file path]:OUTPUT_FILE:_files' \
'--encoding=[Encoding of data as one of \[base64, bcs, hex\]]:ENCODING: ' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" \
":: :_aptos__key__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aptos-key-help-command-$line[1]:"
        case $line[1] in
            (generate)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(extract-public-key)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(extract-peer)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(move)
_arguments "${_arguments_options[@]}" \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
":: :_aptos__move_commands" \
"*::: :->move" \
&& ret=0

    case $state in
    (move)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aptos-move-command-$line[1]:"
        case $line[1] in
            (build-publish-payload)
_arguments "${_arguments_options[@]}" \
'--large-packages-module-address=[Address of the \`large_packages\` move module for chunked publishing]:LARGE_PACKAGES_MODULE_ADDRESS: ' \
'--chunk-size=[Size of the code chunk in bytes for splitting bytecode and metadata of large packages]:CHUNK_SIZE: ' \
'--included-artifacts=[Artifacts to be generated when building the package]:INCLUDED_ARTIFACTS:(none sparse all)' \
'--package-dir=[Path to a move package (the folder with a Move.toml file).  Defaults to current directory]:PACKAGE_DIR:_files' \
'--output-dir=[Path to save the compiled move package]:OUTPUT_DIR:_files' \
'--named-addresses=[Named addresses for the move binary]:NAMED_ADDRESSES: ' \
'--override-std=[Override the standard library version by mainnet/testnet/devnet]:OVERRIDE_STD:(mainnet testnet devnet)' \
'--optimize=[Select optimization level.  Choices are "none", "default", or "extra". Level "extra" may spend more time on expensive optimizations in the future. Level "none" does no optimizations, possibly leading to use of too many runtime resources. Level "default" is the recommended level, and the default if not provided]:OPTIMIZE: ' \
'*--experiments=[Experiments]:EXPERIMENTS: ' \
'--bytecode-version=[...or --bytecode BYTECODE_VERSION
Specify the version of the bytecode the compiler is going to emit.
If not provided, it is inferred from the language version.]:BYTECODE_VERSION: ' \
'--compiler-version=[...or --compiler COMPILER_VERSION
Specify the version of the compiler (must be at least 2).
Defaults to the latest stable compiler version.]:COMPILER_VERSION: ' \
'--language-version=[...or --language LANGUAGE_VERSION
Specify the language version to be supported.
Defaults to the latest stable language version.]:LANGUAGE_VERSION: ' \
'--sender-account=[Sender account address]:SENDER_ACCOUNT: ' \
'--private-key-file=[Signing Ed25519 private key file path]:PRIVATE_KEY_FILE:_files' \
'--private-key=[Signing Ed25519 private key]:PRIVATE_KEY: ' \
'--encoding=[Encoding of data as one of \[base64, bcs, hex\]]:ENCODING: ' \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'--gas-unit-price=[Gas multiplier per unit of gas]:GAS_UNIT_PRICE: ' \
'--max-gas=[Maximum amount of gas units to be used to send this transaction]:MAX_GAS: ' \
'--expiration-secs=[Number of seconds to expire the transaction]:EXPIRATION_SECS: ' \
'--session=[If this option is set, simulate the transaction using a local session]:SESSION:_files' \
'--replay-protection-type=[Replay protection mechanism to use when generating the transaction]:REPLAY_PROTECTION_TYPE:(nonce seqnum)' \
'--json-output-file=[JSON output file to write publication transaction to]:JSON_OUTPUT_FILE:_files' \
'--override-size-check[Whether to override the check for maximal size of published data]' \
'--chunked-publish[Whether to publish a package in a chunked mode. This may require more than one transaction for publishing the Move package]' \
'--skip-fetch-latest-git-deps[Skip pulling the latest git dependencies]' \
'--skip-attribute-checks[Do not complain about unknown attributes in Move code]' \
'--dev[Enables dev mode, which uses all dev-addresses and dev-dependencies]' \
'--skip-checks-on-test-code[Skip extended checks (such as checks for the #\[view\] attribute) on test code]' \
'--fail-on-warning[Fail the compilation if there are any warnings]' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'--local[If this option is set, simulate the transaction locally]' \
'--benchmark[If this option is set, benchmark the transaction locally]' \
'--profile-gas[If this option is set, simulate the transaction locally using the debugger and generate flamegraphs that reflect the gas usage]' \
'--fold-unique-stack[If set, fold the call graph by unique stack traces before generating the gas profile report. This helps reduce the size of large reports by aggregating identical call paths]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(clean)
_arguments "${_arguments_options[@]}" \
'--package-dir=[Path to a move package (the folder with a Move.toml file).  Defaults to current directory]:PACKAGE_DIR:_files' \
'--output-dir=[Path to save the compiled move package]:OUTPUT_DIR:_files' \
'--named-addresses=[Named addresses for the move binary]:NAMED_ADDRESSES: ' \
'--override-std=[Override the standard library version by mainnet/testnet/devnet]:OVERRIDE_STD:(mainnet testnet devnet)' \
'--optimize=[Select optimization level.  Choices are "none", "default", or "extra". Level "extra" may spend more time on expensive optimizations in the future. Level "none" does no optimizations, possibly leading to use of too many runtime resources. Level "default" is the recommended level, and the default if not provided]:OPTIMIZE: ' \
'*--experiments=[Experiments]:EXPERIMENTS: ' \
'--bytecode-version=[...or --bytecode BYTECODE_VERSION
Specify the version of the bytecode the compiler is going to emit.
If not provided, it is inferred from the language version.]:BYTECODE_VERSION: ' \
'--compiler-version=[...or --compiler COMPILER_VERSION
Specify the version of the compiler (must be at least 2).
Defaults to the latest stable compiler version.]:COMPILER_VERSION: ' \
'--language-version=[...or --language LANGUAGE_VERSION
Specify the language version to be supported.
Defaults to the latest stable language version.]:LANGUAGE_VERSION: ' \
'--skip-fetch-latest-git-deps[Skip pulling the latest git dependencies]' \
'--skip-attribute-checks[Do not complain about unknown attributes in Move code]' \
'--dev[Enables dev mode, which uses all dev-addresses and dev-dependencies]' \
'--skip-checks-on-test-code[Skip extended checks (such as checks for the #\[view\] attribute) on test code]' \
'--fail-on-warning[Fail the compilation if there are any warnings]' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(clear-staging-area)
_arguments "${_arguments_options[@]}" \
'--sender-account=[Sender account address]:SENDER_ACCOUNT: ' \
'--private-key-file=[Signing Ed25519 private key file path]:PRIVATE_KEY_FILE:_files' \
'--private-key=[Signing Ed25519 private key]:PRIVATE_KEY: ' \
'--encoding=[Encoding of data as one of \[base64, bcs, hex\]]:ENCODING: ' \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'--gas-unit-price=[Gas multiplier per unit of gas]:GAS_UNIT_PRICE: ' \
'--max-gas=[Maximum amount of gas units to be used to send this transaction]:MAX_GAS: ' \
'--expiration-secs=[Number of seconds to expire the transaction]:EXPIRATION_SECS: ' \
'--session=[If this option is set, simulate the transaction using a local session]:SESSION:_files' \
'--replay-protection-type=[Replay protection mechanism to use when generating the transaction]:REPLAY_PROTECTION_TYPE:(nonce seqnum)' \
'--large-packages-module-address=[Address of the \`large_packages\` move module for chunked publishing]:LARGE_PACKAGES_MODULE_ADDRESS: ' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'--local[If this option is set, simulate the transaction locally]' \
'--benchmark[If this option is set, benchmark the transaction locally]' \
'--profile-gas[If this option is set, simulate the transaction locally using the debugger and generate flamegraphs that reflect the gas usage]' \
'--fold-unique-stack[If set, fold the call graph by unique stack traces before generating the gas profile report. This helps reduce the size of large reports by aggregating identical call paths]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(compile)
_arguments "${_arguments_options[@]}" \
'--included-artifacts=[Artifacts to be generated when building the package]:INCLUDED_ARTIFACTS:(none sparse all)' \
'--package-dir=[Path to a move package (the folder with a Move.toml file).  Defaults to current directory]:PACKAGE_DIR:_files' \
'--output-dir=[Path to save the compiled move package]:OUTPUT_DIR:_files' \
'--named-addresses=[Named addresses for the move binary]:NAMED_ADDRESSES: ' \
'--override-std=[Override the standard library version by mainnet/testnet/devnet]:OVERRIDE_STD:(mainnet testnet devnet)' \
'--optimize=[Select optimization level.  Choices are "none", "default", or "extra". Level "extra" may spend more time on expensive optimizations in the future. Level "none" does no optimizations, possibly leading to use of too many runtime resources. Level "default" is the recommended level, and the default if not provided]:OPTIMIZE: ' \
'*--experiments=[Experiments]:EXPERIMENTS: ' \
'--bytecode-version=[...or --bytecode BYTECODE_VERSION
Specify the version of the bytecode the compiler is going to emit.
If not provided, it is inferred from the language version.]:BYTECODE_VERSION: ' \
'--compiler-version=[...or --compiler COMPILER_VERSION
Specify the version of the compiler (must be at least 2).
Defaults to the latest stable compiler version.]:COMPILER_VERSION: ' \
'--language-version=[...or --language LANGUAGE_VERSION
Specify the language version to be supported.
Defaults to the latest stable language version.]:LANGUAGE_VERSION: ' \
'--save-metadata[Save the package metadata in the package'\''s build directory]' \
'--fetch-deps-only[Fetch dependencies of a package from the network, skipping the actual compilation]' \
'--skip-fetch-latest-git-deps[Skip pulling the latest git dependencies]' \
'--skip-attribute-checks[Do not complain about unknown attributes in Move code]' \
'--dev[Enables dev mode, which uses all dev-addresses and dev-dependencies]' \
'--skip-checks-on-test-code[Skip extended checks (such as checks for the #\[view\] attribute) on test code]' \
'--fail-on-warning[Fail the compilation if there are any warnings]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(compile-script)
_arguments "${_arguments_options[@]}" \
'--output-file=[]:OUTPUT_FILE:_files' \
'--package-dir=[Path to a move package (the folder with a Move.toml file).  Defaults to current directory]:PACKAGE_DIR:_files' \
'--output-dir=[Path to save the compiled move package]:OUTPUT_DIR:_files' \
'--named-addresses=[Named addresses for the move binary]:NAMED_ADDRESSES: ' \
'--override-std=[Override the standard library version by mainnet/testnet/devnet]:OVERRIDE_STD:(mainnet testnet devnet)' \
'--optimize=[Select optimization level.  Choices are "none", "default", or "extra". Level "extra" may spend more time on expensive optimizations in the future. Level "none" does no optimizations, possibly leading to use of too many runtime resources. Level "default" is the recommended level, and the default if not provided]:OPTIMIZE: ' \
'*--experiments=[Experiments]:EXPERIMENTS: ' \
'--bytecode-version=[...or --bytecode BYTECODE_VERSION
Specify the version of the bytecode the compiler is going to emit.
If not provided, it is inferred from the language version.]:BYTECODE_VERSION: ' \
'--compiler-version=[...or --compiler COMPILER_VERSION
Specify the version of the compiler (must be at least 2).
Defaults to the latest stable compiler version.]:COMPILER_VERSION: ' \
'--language-version=[...or --language LANGUAGE_VERSION
Specify the language version to be supported.
Defaults to the latest stable language version.]:LANGUAGE_VERSION: ' \
'--skip-fetch-latest-git-deps[Skip pulling the latest git dependencies]' \
'--skip-attribute-checks[Do not complain about unknown attributes in Move code]' \
'--dev[Enables dev mode, which uses all dev-addresses and dev-dependencies]' \
'--skip-checks-on-test-code[Skip extended checks (such as checks for the #\[view\] attribute) on test code]' \
'--fail-on-warning[Fail the compilation if there are any warnings]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(coverage)
_arguments "${_arguments_options[@]}" \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
":: :_aptos__move__coverage_commands" \
"*::: :->coverage" \
&& ret=0

    case $state in
    (coverage)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aptos-move-coverage-command-$line[1]:"
        case $line[1] in
            (summary)
_arguments "${_arguments_options[@]}" \
'-f+[A filter string to determine which unit tests to compute coverage on]:FILTER: ' \
'--filter=[A filter string to determine which unit tests to compute coverage on]:FILTER: ' \
'*--extra-coverage=[Path to extra Move coverage files (\`.mvcov\`) to include, in addition to, or instead of the file produced by unit tests run with \`--coverage\` and stored at \`./.coverage_map.mvcov\`]' \
'--package-dir=[Path to a move package (the folder with a Move.toml file).  Defaults to current directory]:PACKAGE_DIR:_files' \
'--output-dir=[Path to save the compiled move package]:OUTPUT_DIR:_files' \
'--named-addresses=[Named addresses for the move binary]:NAMED_ADDRESSES: ' \
'--override-std=[Override the standard library version by mainnet/testnet/devnet]:OVERRIDE_STD:(mainnet testnet devnet)' \
'--optimize=[Select optimization level.  Choices are "none", "default", or "extra". Level "extra" may spend more time on expensive optimizations in the future. Level "none" does no optimizations, possibly leading to use of too many runtime resources. Level "default" is the recommended level, and the default if not provided]:OPTIMIZE: ' \
'*--experiments=[Experiments]:EXPERIMENTS: ' \
'--bytecode-version=[...or --bytecode BYTECODE_VERSION
Specify the version of the bytecode the compiler is going to emit.
If not provided, it is inferred from the language version.]:BYTECODE_VERSION: ' \
'--compiler-version=[...or --compiler COMPILER_VERSION
Specify the version of the compiler (must be at least 2).
Defaults to the latest stable compiler version.]:COMPILER_VERSION: ' \
'--language-version=[...or --language LANGUAGE_VERSION
Specify the language version to be supported.
Defaults to the latest stable language version.]:LANGUAGE_VERSION: ' \
'--summarize-functions[Display function coverage summaries]' \
'--csv[Output CSV data of coverage]' \
'--skip-fetch-latest-git-deps[Skip pulling the latest git dependencies]' \
'--skip-attribute-checks[Do not complain about unknown attributes in Move code]' \
'--dev[Enables dev mode, which uses all dev-addresses and dev-dependencies]' \
'--skip-checks-on-test-code[Skip extended checks (such as checks for the #\[view\] attribute) on test code]' \
'--fail-on-warning[Fail the compilation if there are any warnings]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(source)
_arguments "${_arguments_options[@]}" \
'--module=[Show coverage for the given module]:MODULE_NAME: ' \
'--color=[Colorize output based on coverage]:COLOR:((none\:"Color is never shown"
default\:"Color is shown only on a terminal"
always\:"Color is always shown"))' \
'--tag=[Tag each line with a textual indication of coverage]:TAG:((none\:"No textual indicator of coverage"
explicit\:"Prefix each line with some code missing coverage by \`-\`; other lines are prefixed with \`+\`"
on\:"Same behavior as Explicit"))' \
'*--extra-coverage=[Path to extra Move coverage files (\`.mvcov\`) to include, in addition to, or instead of the file produced by unit tests run with \`--coverage\` and stored at \`./.coverage_map.mvcov\`]' \
'--package-dir=[Path to a move package (the folder with a Move.toml file).  Defaults to current directory]:PACKAGE_DIR:_files' \
'--output-dir=[Path to save the compiled move package]:OUTPUT_DIR:_files' \
'--named-addresses=[Named addresses for the move binary]:NAMED_ADDRESSES: ' \
'--override-std=[Override the standard library version by mainnet/testnet/devnet]:OVERRIDE_STD:(mainnet testnet devnet)' \
'--optimize=[Select optimization level.  Choices are "none", "default", or "extra". Level "extra" may spend more time on expensive optimizations in the future. Level "none" does no optimizations, possibly leading to use of too many runtime resources. Level "default" is the recommended level, and the default if not provided]:OPTIMIZE: ' \
'*--experiments=[Experiments]:EXPERIMENTS: ' \
'--bytecode-version=[...or --bytecode BYTECODE_VERSION
Specify the version of the bytecode the compiler is going to emit.
If not provided, it is inferred from the language version.]:BYTECODE_VERSION: ' \
'--compiler-version=[...or --compiler COMPILER_VERSION
Specify the version of the compiler (must be at least 2).
Defaults to the latest stable compiler version.]:COMPILER_VERSION: ' \
'--language-version=[...or --language LANGUAGE_VERSION
Specify the language version to be supported.
Defaults to the latest stable language version.]:LANGUAGE_VERSION: ' \
'--skip-fetch-latest-git-deps[Skip pulling the latest git dependencies]' \
'--skip-attribute-checks[Do not complain about unknown attributes in Move code]' \
'--dev[Enables dev mode, which uses all dev-addresses and dev-dependencies]' \
'--skip-checks-on-test-code[Skip extended checks (such as checks for the #\[view\] attribute) on test code]' \
'--fail-on-warning[Fail the compilation if there are any warnings]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(bytecode)
_arguments "${_arguments_options[@]}" \
'--module=[]:MODULE_NAME: ' \
'*--extra-coverage=[Path to extra Move coverage files (\`.mvcov\`) to include, in addition to, or instead of the file produced by unit tests run with \`--coverage\` and stored at \`./.coverage_map.mvcov\`]' \
'--package-dir=[Path to a move package (the folder with a Move.toml file).  Defaults to current directory]:PACKAGE_DIR:_files' \
'--output-dir=[Path to save the compiled move package]:OUTPUT_DIR:_files' \
'--named-addresses=[Named addresses for the move binary]:NAMED_ADDRESSES: ' \
'--override-std=[Override the standard library version by mainnet/testnet/devnet]:OVERRIDE_STD:(mainnet testnet devnet)' \
'--optimize=[Select optimization level.  Choices are "none", "default", or "extra". Level "extra" may spend more time on expensive optimizations in the future. Level "none" does no optimizations, possibly leading to use of too many runtime resources. Level "default" is the recommended level, and the default if not provided]:OPTIMIZE: ' \
'*--experiments=[Experiments]:EXPERIMENTS: ' \
'--bytecode-version=[...or --bytecode BYTECODE_VERSION
Specify the version of the bytecode the compiler is going to emit.
If not provided, it is inferred from the language version.]:BYTECODE_VERSION: ' \
'--compiler-version=[...or --compiler COMPILER_VERSION
Specify the version of the compiler (must be at least 2).
Defaults to the latest stable compiler version.]:COMPILER_VERSION: ' \
'--language-version=[...or --language LANGUAGE_VERSION
Specify the language version to be supported.
Defaults to the latest stable language version.]:LANGUAGE_VERSION: ' \
'--skip-fetch-latest-git-deps[Skip pulling the latest git dependencies]' \
'--skip-attribute-checks[Do not complain about unknown attributes in Move code]' \
'--dev[Enables dev mode, which uses all dev-addresses and dev-dependencies]' \
'--skip-checks-on-test-code[Skip extended checks (such as checks for the #\[view\] attribute) on test code]' \
'--fail-on-warning[Fail the compilation if there are any warnings]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" \
":: :_aptos__move__coverage__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aptos-move-coverage-help-command-$line[1]:"
        case $line[1] in
            (summary)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(source)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(bytecode)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(create-object-and-publish-package)
_arguments "${_arguments_options[@]}" \
'--address-name=[The named address for compiling and using in the contract]:ADDRESS_NAME: ' \
'--large-packages-module-address=[Address of the \`large_packages\` move module for chunked publishing]:LARGE_PACKAGES_MODULE_ADDRESS: ' \
'--chunk-size=[Size of the code chunk in bytes for splitting bytecode and metadata of large packages]:CHUNK_SIZE: ' \
'--included-artifacts=[Artifacts to be generated when building the package]:INCLUDED_ARTIFACTS:(none sparse all)' \
'--package-dir=[Path to a move package (the folder with a Move.toml file).  Defaults to current directory]:PACKAGE_DIR:_files' \
'--output-dir=[Path to save the compiled move package]:OUTPUT_DIR:_files' \
'--named-addresses=[Named addresses for the move binary]:NAMED_ADDRESSES: ' \
'--override-std=[Override the standard library version by mainnet/testnet/devnet]:OVERRIDE_STD:(mainnet testnet devnet)' \
'--optimize=[Select optimization level.  Choices are "none", "default", or "extra". Level "extra" may spend more time on expensive optimizations in the future. Level "none" does no optimizations, possibly leading to use of too many runtime resources. Level "default" is the recommended level, and the default if not provided]:OPTIMIZE: ' \
'*--experiments=[Experiments]:EXPERIMENTS: ' \
'--bytecode-version=[...or --bytecode BYTECODE_VERSION
Specify the version of the bytecode the compiler is going to emit.
If not provided, it is inferred from the language version.]:BYTECODE_VERSION: ' \
'--compiler-version=[...or --compiler COMPILER_VERSION
Specify the version of the compiler (must be at least 2).
Defaults to the latest stable compiler version.]:COMPILER_VERSION: ' \
'--language-version=[...or --language LANGUAGE_VERSION
Specify the language version to be supported.
Defaults to the latest stable language version.]:LANGUAGE_VERSION: ' \
'--sender-account=[Sender account address]:SENDER_ACCOUNT: ' \
'--private-key-file=[Signing Ed25519 private key file path]:PRIVATE_KEY_FILE:_files' \
'--private-key=[Signing Ed25519 private key]:PRIVATE_KEY: ' \
'--encoding=[Encoding of data as one of \[base64, bcs, hex\]]:ENCODING: ' \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'--gas-unit-price=[Gas multiplier per unit of gas]:GAS_UNIT_PRICE: ' \
'--max-gas=[Maximum amount of gas units to be used to send this transaction]:MAX_GAS: ' \
'--expiration-secs=[Number of seconds to expire the transaction]:EXPIRATION_SECS: ' \
'--session=[If this option is set, simulate the transaction using a local session]:SESSION:_files' \
'--replay-protection-type=[Replay protection mechanism to use when generating the transaction]:REPLAY_PROTECTION_TYPE:(nonce seqnum)' \
'--override-size-check[Whether to override the check for maximal size of published data]' \
'--chunked-publish[Whether to publish a package in a chunked mode. This may require more than one transaction for publishing the Move package]' \
'--skip-fetch-latest-git-deps[Skip pulling the latest git dependencies]' \
'--skip-attribute-checks[Do not complain about unknown attributes in Move code]' \
'--dev[Enables dev mode, which uses all dev-addresses and dev-dependencies]' \
'--skip-checks-on-test-code[Skip extended checks (such as checks for the #\[view\] attribute) on test code]' \
'--fail-on-warning[Fail the compilation if there are any warnings]' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'--local[If this option is set, simulate the transaction locally]' \
'--benchmark[If this option is set, benchmark the transaction locally]' \
'--profile-gas[If this option is set, simulate the transaction locally using the debugger and generate flamegraphs that reflect the gas usage]' \
'--fold-unique-stack[If set, fold the call graph by unique stack traces before generating the gas profile report. This helps reduce the size of large reports by aggregating identical call paths]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(upgrade-object-package)
_arguments "${_arguments_options[@]}" \
'--object-address=[Address of the object the package was deployed to]:OBJECT_ADDRESS: ' \
'--large-packages-module-address=[Address of the \`large_packages\` move module for chunked publishing]:LARGE_PACKAGES_MODULE_ADDRESS: ' \
'--chunk-size=[Size of the code chunk in bytes for splitting bytecode and metadata of large packages]:CHUNK_SIZE: ' \
'--included-artifacts=[Artifacts to be generated when building the package]:INCLUDED_ARTIFACTS:(none sparse all)' \
'--package-dir=[Path to a move package (the folder with a Move.toml file).  Defaults to current directory]:PACKAGE_DIR:_files' \
'--output-dir=[Path to save the compiled move package]:OUTPUT_DIR:_files' \
'--named-addresses=[Named addresses for the move binary]:NAMED_ADDRESSES: ' \
'--override-std=[Override the standard library version by mainnet/testnet/devnet]:OVERRIDE_STD:(mainnet testnet devnet)' \
'--optimize=[Select optimization level.  Choices are "none", "default", or "extra". Level "extra" may spend more time on expensive optimizations in the future. Level "none" does no optimizations, possibly leading to use of too many runtime resources. Level "default" is the recommended level, and the default if not provided]:OPTIMIZE: ' \
'*--experiments=[Experiments]:EXPERIMENTS: ' \
'--bytecode-version=[...or --bytecode BYTECODE_VERSION
Specify the version of the bytecode the compiler is going to emit.
If not provided, it is inferred from the language version.]:BYTECODE_VERSION: ' \
'--compiler-version=[...or --compiler COMPILER_VERSION
Specify the version of the compiler (must be at least 2).
Defaults to the latest stable compiler version.]:COMPILER_VERSION: ' \
'--language-version=[...or --language LANGUAGE_VERSION
Specify the language version to be supported.
Defaults to the latest stable language version.]:LANGUAGE_VERSION: ' \
'--sender-account=[Sender account address]:SENDER_ACCOUNT: ' \
'--private-key-file=[Signing Ed25519 private key file path]:PRIVATE_KEY_FILE:_files' \
'--private-key=[Signing Ed25519 private key]:PRIVATE_KEY: ' \
'--encoding=[Encoding of data as one of \[base64, bcs, hex\]]:ENCODING: ' \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'--gas-unit-price=[Gas multiplier per unit of gas]:GAS_UNIT_PRICE: ' \
'--max-gas=[Maximum amount of gas units to be used to send this transaction]:MAX_GAS: ' \
'--expiration-secs=[Number of seconds to expire the transaction]:EXPIRATION_SECS: ' \
'--session=[If this option is set, simulate the transaction using a local session]:SESSION:_files' \
'--replay-protection-type=[Replay protection mechanism to use when generating the transaction]:REPLAY_PROTECTION_TYPE:(nonce seqnum)' \
'--override-size-check[Whether to override the check for maximal size of published data]' \
'--chunked-publish[Whether to publish a package in a chunked mode. This may require more than one transaction for publishing the Move package]' \
'--skip-fetch-latest-git-deps[Skip pulling the latest git dependencies]' \
'--skip-attribute-checks[Do not complain about unknown attributes in Move code]' \
'--dev[Enables dev mode, which uses all dev-addresses and dev-dependencies]' \
'--skip-checks-on-test-code[Skip extended checks (such as checks for the #\[view\] attribute) on test code]' \
'--fail-on-warning[Fail the compilation if there are any warnings]' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'--local[If this option is set, simulate the transaction locally]' \
'--benchmark[If this option is set, benchmark the transaction locally]' \
'--profile-gas[If this option is set, simulate the transaction locally using the debugger and generate flamegraphs that reflect the gas usage]' \
'--fold-unique-stack[If set, fold the call graph by unique stack traces before generating the gas profile report. This helps reduce the size of large reports by aggregating identical call paths]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(deploy-object)
_arguments "${_arguments_options[@]}" \
'--address-name=[The named address for compiling and using in the contract]:ADDRESS_NAME: ' \
'--large-packages-module-address=[Address of the \`large_packages\` move module for chunked publishing]:LARGE_PACKAGES_MODULE_ADDRESS: ' \
'--chunk-size=[Size of the code chunk in bytes for splitting bytecode and metadata of large packages]:CHUNK_SIZE: ' \
'--included-artifacts=[Artifacts to be generated when building the package]:INCLUDED_ARTIFACTS:(none sparse all)' \
'--package-dir=[Path to a move package (the folder with a Move.toml file).  Defaults to current directory]:PACKAGE_DIR:_files' \
'--output-dir=[Path to save the compiled move package]:OUTPUT_DIR:_files' \
'--named-addresses=[Named addresses for the move binary]:NAMED_ADDRESSES: ' \
'--override-std=[Override the standard library version by mainnet/testnet/devnet]:OVERRIDE_STD:(mainnet testnet devnet)' \
'--optimize=[Select optimization level.  Choices are "none", "default", or "extra". Level "extra" may spend more time on expensive optimizations in the future. Level "none" does no optimizations, possibly leading to use of too many runtime resources. Level "default" is the recommended level, and the default if not provided]:OPTIMIZE: ' \
'*--experiments=[Experiments]:EXPERIMENTS: ' \
'--bytecode-version=[...or --bytecode BYTECODE_VERSION
Specify the version of the bytecode the compiler is going to emit.
If not provided, it is inferred from the language version.]:BYTECODE_VERSION: ' \
'--compiler-version=[...or --compiler COMPILER_VERSION
Specify the version of the compiler (must be at least 2).
Defaults to the latest stable compiler version.]:COMPILER_VERSION: ' \
'--language-version=[...or --language LANGUAGE_VERSION
Specify the language version to be supported.
Defaults to the latest stable language version.]:LANGUAGE_VERSION: ' \
'--sender-account=[Sender account address]:SENDER_ACCOUNT: ' \
'--private-key-file=[Signing Ed25519 private key file path]:PRIVATE_KEY_FILE:_files' \
'--private-key=[Signing Ed25519 private key]:PRIVATE_KEY: ' \
'--encoding=[Encoding of data as one of \[base64, bcs, hex\]]:ENCODING: ' \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'--gas-unit-price=[Gas multiplier per unit of gas]:GAS_UNIT_PRICE: ' \
'--max-gas=[Maximum amount of gas units to be used to send this transaction]:MAX_GAS: ' \
'--expiration-secs=[Number of seconds to expire the transaction]:EXPIRATION_SECS: ' \
'--session=[If this option is set, simulate the transaction using a local session]:SESSION:_files' \
'--replay-protection-type=[Replay protection mechanism to use when generating the transaction]:REPLAY_PROTECTION_TYPE:(nonce seqnum)' \
'--override-size-check[Whether to override the check for maximal size of published data]' \
'--chunked-publish[Whether to publish a package in a chunked mode. This may require more than one transaction for publishing the Move package]' \
'--skip-fetch-latest-git-deps[Skip pulling the latest git dependencies]' \
'--skip-attribute-checks[Do not complain about unknown attributes in Move code]' \
'--dev[Enables dev mode, which uses all dev-addresses and dev-dependencies]' \
'--skip-checks-on-test-code[Skip extended checks (such as checks for the #\[view\] attribute) on test code]' \
'--fail-on-warning[Fail the compilation if there are any warnings]' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'--local[If this option is set, simulate the transaction locally]' \
'--benchmark[If this option is set, benchmark the transaction locally]' \
'--profile-gas[If this option is set, simulate the transaction locally using the debugger and generate flamegraphs that reflect the gas usage]' \
'--fold-unique-stack[If set, fold the call graph by unique stack traces before generating the gas profile report. This helps reduce the size of large reports by aggregating identical call paths]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(upgrade-object)
_arguments "${_arguments_options[@]}" \
'--address-name=[The named address for compiling and using in the contract]:ADDRESS_NAME: ' \
'--object-address=[Address of the object the package was deployed to]:OBJECT_ADDRESS: ' \
'--large-packages-module-address=[Address of the \`large_packages\` move module for chunked publishing]:LARGE_PACKAGES_MODULE_ADDRESS: ' \
'--chunk-size=[Size of the code chunk in bytes for splitting bytecode and metadata of large packages]:CHUNK_SIZE: ' \
'--included-artifacts=[Artifacts to be generated when building the package]:INCLUDED_ARTIFACTS:(none sparse all)' \
'--package-dir=[Path to a move package (the folder with a Move.toml file).  Defaults to current directory]:PACKAGE_DIR:_files' \
'--output-dir=[Path to save the compiled move package]:OUTPUT_DIR:_files' \
'--named-addresses=[Named addresses for the move binary]:NAMED_ADDRESSES: ' \
'--override-std=[Override the standard library version by mainnet/testnet/devnet]:OVERRIDE_STD:(mainnet testnet devnet)' \
'--optimize=[Select optimization level.  Choices are "none", "default", or "extra". Level "extra" may spend more time on expensive optimizations in the future. Level "none" does no optimizations, possibly leading to use of too many runtime resources. Level "default" is the recommended level, and the default if not provided]:OPTIMIZE: ' \
'*--experiments=[Experiments]:EXPERIMENTS: ' \
'--bytecode-version=[...or --bytecode BYTECODE_VERSION
Specify the version of the bytecode the compiler is going to emit.
If not provided, it is inferred from the language version.]:BYTECODE_VERSION: ' \
'--compiler-version=[...or --compiler COMPILER_VERSION
Specify the version of the compiler (must be at least 2).
Defaults to the latest stable compiler version.]:COMPILER_VERSION: ' \
'--language-version=[...or --language LANGUAGE_VERSION
Specify the language version to be supported.
Defaults to the latest stable language version.]:LANGUAGE_VERSION: ' \
'--sender-account=[Sender account address]:SENDER_ACCOUNT: ' \
'--private-key-file=[Signing Ed25519 private key file path]:PRIVATE_KEY_FILE:_files' \
'--private-key=[Signing Ed25519 private key]:PRIVATE_KEY: ' \
'--encoding=[Encoding of data as one of \[base64, bcs, hex\]]:ENCODING: ' \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'--gas-unit-price=[Gas multiplier per unit of gas]:GAS_UNIT_PRICE: ' \
'--max-gas=[Maximum amount of gas units to be used to send this transaction]:MAX_GAS: ' \
'--expiration-secs=[Number of seconds to expire the transaction]:EXPIRATION_SECS: ' \
'--session=[If this option is set, simulate the transaction using a local session]:SESSION:_files' \
'--replay-protection-type=[Replay protection mechanism to use when generating the transaction]:REPLAY_PROTECTION_TYPE:(nonce seqnum)' \
'--override-size-check[Whether to override the check for maximal size of published data]' \
'--chunked-publish[Whether to publish a package in a chunked mode. This may require more than one transaction for publishing the Move package]' \
'--skip-fetch-latest-git-deps[Skip pulling the latest git dependencies]' \
'--skip-attribute-checks[Do not complain about unknown attributes in Move code]' \
'--dev[Enables dev mode, which uses all dev-addresses and dev-dependencies]' \
'--skip-checks-on-test-code[Skip extended checks (such as checks for the #\[view\] attribute) on test code]' \
'--fail-on-warning[Fail the compilation if there are any warnings]' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'--local[If this option is set, simulate the transaction locally]' \
'--benchmark[If this option is set, benchmark the transaction locally]' \
'--profile-gas[If this option is set, simulate the transaction locally using the debugger and generate flamegraphs that reflect the gas usage]' \
'--fold-unique-stack[If set, fold the call graph by unique stack traces before generating the gas profile report. This helps reduce the size of large reports by aggregating identical call paths]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(create-resource-account-and-publish-package)
_arguments "${_arguments_options[@]}" \
'--address-name=[The named address for compiling and using in the contract]:ADDRESS_NAME: ' \
'--seed=[Resource account seed]:SEED: ' \
'--seed-encoding=[Resource account seed encoding]:SEED_ENCODING: ' \
'--included-artifacts=[Artifacts to be generated when building the package]:INCLUDED_ARTIFACTS:(none sparse all)' \
'--package-dir=[Path to a move package (the folder with a Move.toml file).  Defaults to current directory]:PACKAGE_DIR:_files' \
'--output-dir=[Path to save the compiled move package]:OUTPUT_DIR:_files' \
'--named-addresses=[Named addresses for the move binary]:NAMED_ADDRESSES: ' \
'--override-std=[Override the standard library version by mainnet/testnet/devnet]:OVERRIDE_STD:(mainnet testnet devnet)' \
'--optimize=[Select optimization level.  Choices are "none", "default", or "extra". Level "extra" may spend more time on expensive optimizations in the future. Level "none" does no optimizations, possibly leading to use of too many runtime resources. Level "default" is the recommended level, and the default if not provided]:OPTIMIZE: ' \
'*--experiments=[Experiments]:EXPERIMENTS: ' \
'--bytecode-version=[...or --bytecode BYTECODE_VERSION
Specify the version of the bytecode the compiler is going to emit.
If not provided, it is inferred from the language version.]:BYTECODE_VERSION: ' \
'--compiler-version=[...or --compiler COMPILER_VERSION
Specify the version of the compiler (must be at least 2).
Defaults to the latest stable compiler version.]:COMPILER_VERSION: ' \
'--language-version=[...or --language LANGUAGE_VERSION
Specify the language version to be supported.
Defaults to the latest stable language version.]:LANGUAGE_VERSION: ' \
'--sender-account=[Sender account address]:SENDER_ACCOUNT: ' \
'--private-key-file=[Signing Ed25519 private key file path]:PRIVATE_KEY_FILE:_files' \
'--private-key=[Signing Ed25519 private key]:PRIVATE_KEY: ' \
'--encoding=[Encoding of data as one of \[base64, bcs, hex\]]:ENCODING: ' \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'--gas-unit-price=[Gas multiplier per unit of gas]:GAS_UNIT_PRICE: ' \
'--max-gas=[Maximum amount of gas units to be used to send this transaction]:MAX_GAS: ' \
'--expiration-secs=[Number of seconds to expire the transaction]:EXPIRATION_SECS: ' \
'--session=[If this option is set, simulate the transaction using a local session]:SESSION:_files' \
'--replay-protection-type=[Replay protection mechanism to use when generating the transaction]:REPLAY_PROTECTION_TYPE:(nonce seqnum)' \
'--override-size-check[Whether to override the check for maximal size of published data]' \
'--skip-fetch-latest-git-deps[Skip pulling the latest git dependencies]' \
'--skip-attribute-checks[Do not complain about unknown attributes in Move code]' \
'--dev[Enables dev mode, which uses all dev-addresses and dev-dependencies]' \
'--skip-checks-on-test-code[Skip extended checks (such as checks for the #\[view\] attribute) on test code]' \
'--fail-on-warning[Fail the compilation if there are any warnings]' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'--local[If this option is set, simulate the transaction locally]' \
'--benchmark[If this option is set, benchmark the transaction locally]' \
'--profile-gas[If this option is set, simulate the transaction locally using the debugger and generate flamegraphs that reflect the gas usage]' \
'--fold-unique-stack[If set, fold the call graph by unique stack traces before generating the gas profile report. This helps reduce the size of large reports by aggregating identical call paths]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(disassemble)
_arguments "${_arguments_options[@]}" \
'--package-dir=[The path to a directory containing Move bytecode files with the extension \`.mv\`. The tool will process all files found in this directory]:PACKAGE_DIR:_files' \
'--bytecode-path=[Alternatively to a package path, path to a single bytecode file which should be processed]:BYTECODE_PATH:_files' \
'--code-coverage-path=[(Optional) Currently only for disassemble\: path to a coverage file for the VM in order to print trace information in the disassembled output]:CODE_COVERAGE_PATH:_files' \
'--output-dir=[Output directory for the generated file. Defaults to the directory of the \`path/module.mv\` file if not provided. The disassembled output is stored at \`output_dir/module.mv.asm\`, and decompiled output at \`output_dir/module.mv.move\`]:OUTPUT_DIR:_files' \
'--is-script[Treat input file as a script (default is to treat file as a module)]' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'--print-metadata-only[When \`--bytecode-path\` is set with this option, only print out the metadata and bytecode version of the target bytecode]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(decompile)
_arguments "${_arguments_options[@]}" \
'--package-dir=[The path to a directory containing Move bytecode files with the extension \`.mv\`. The tool will process all files found in this directory]:PACKAGE_DIR:_files' \
'--bytecode-path=[Alternatively to a package path, path to a single bytecode file which should be processed]:BYTECODE_PATH:_files' \
'--code-coverage-path=[(Optional) Currently only for disassemble\: path to a coverage file for the VM in order to print trace information in the disassembled output]:CODE_COVERAGE_PATH:_files' \
'--output-dir=[Output directory for the generated file. Defaults to the directory of the \`path/module.mv\` file if not provided. The disassembled output is stored at \`output_dir/module.mv.asm\`, and decompiled output at \`output_dir/module.mv.move\`]:OUTPUT_DIR:_files' \
'--is-script[Treat input file as a script (default is to treat file as a module)]' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'--print-metadata-only[When \`--bytecode-path\` is set with this option, only print out the metadata and bytecode version of the target bytecode]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(document)
_arguments "${_arguments_options[@]}" \
'--package-dir=[Path to a move package (the folder with a Move.toml file).  Defaults to current directory]:PACKAGE_DIR:_files' \
'--output-dir=[Path to save the compiled move package]:OUTPUT_DIR:_files' \
'--named-addresses=[Named addresses for the move binary]:NAMED_ADDRESSES: ' \
'--override-std=[Override the standard library version by mainnet/testnet/devnet]:OVERRIDE_STD:(mainnet testnet devnet)' \
'--optimize=[Select optimization level.  Choices are "none", "default", or "extra". Level "extra" may spend more time on expensive optimizations in the future. Level "none" does no optimizations, possibly leading to use of too many runtime resources. Level "default" is the recommended level, and the default if not provided]:OPTIMIZE: ' \
'*--experiments=[Experiments]:EXPERIMENTS: ' \
'--bytecode-version=[...or --bytecode BYTECODE_VERSION
Specify the version of the bytecode the compiler is going to emit.
If not provided, it is inferred from the language version.]:BYTECODE_VERSION: ' \
'--compiler-version=[...or --compiler COMPILER_VERSION
Specify the version of the compiler (must be at least 2).
Defaults to the latest stable compiler version.]:COMPILER_VERSION: ' \
'--language-version=[...or --language LANGUAGE_VERSION
Specify the language version to be supported.
Defaults to the latest stable language version.]:LANGUAGE_VERSION: ' \
'--landing-page-template=[Package-relative path to an optional markdown template which is a used to create a landing page. Placeholders in this file are substituted as follows\: \`> {{move-toc}}\` is replaced by a table of contents of all modules; \`> {{move-index}}\` is replaced by an index, and \`> {{move-include NAME_OF_MODULE_OR_SCRIP}}\` is replaced by the full documentation of the named entity. (The given entity will not longer be placed in its own file, so this can be used to create a single manually populated page for the package.)]:LANDING_PAGE_TEMPLATE: ' \
'--references-file=[Package-relative path to a file whose content is added to each generated markdown file. This can contain common markdown references fpr this package (e.g. \`\[move-book\]\: <url>\`)]:REFERENCES_FILE: ' \
'--output-format=[Choose the output format]:OUTPUT_FORMAT:(md mdx)' \
'--skip-fetch-latest-git-deps[Skip pulling the latest git dependencies]' \
'--skip-attribute-checks[Do not complain about unknown attributes in Move code]' \
'--dev[Enables dev mode, which uses all dev-addresses and dev-dependencies]' \
'--skip-checks-on-test-code[Skip extended checks (such as checks for the #\[view\] attribute) on test code]' \
'--fail-on-warning[Fail the compilation if there are any warnings]' \
'--include-impl[Whether to include private declarations and implementations into the generated documentation. Defaults to false]' \
'--include-specs[Whether to include specifications in the generated documentation. Defaults to false]' \
'--specs-inlined[Whether specifications should be put side-by-side with declarations or into a separate section. Defaults to false]' \
'--include-dep-diagram[Whether to include a dependency diagram. Defaults to false]' \
'--collapsed-sections[Whether details should be put into collapsed sections. This is not supported by all markdown, but the github dialect. Defaults to false]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(download)
_arguments "${_arguments_options[@]}" \
'--account=[Address of the account containing the package]:ACCOUNT: ' \
'--package=[Name of the package]:PACKAGE: ' \
'--output-dir=[Directory to store downloaded package. Defaults to the current directory]:OUTPUT_DIR:_files' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'-b[Whether to download the bytecode of the package]' \
'--bytecode[Whether to download the bytecode of the package]' \
'--print-metadata[Print metadata of the package]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(init)
_arguments "${_arguments_options[@]}" \
'--name=[Name of the new Move package]:NAME: ' \
'--package-dir=[Directory to create the new Move package]:PACKAGE_DIR:_files' \
'--named-addresses=[Named addresses for the move binary]:NAMED_ADDRESSES: ' \
'--template=[Template name for initialization]:TEMPLATE:(hello-blockchain)' \
'--framework-git-rev=[Git revision or branch for the Aptos framework]:FRAMEWORK_GIT_REV: ' \
'--framework-local-dir=[Local framework directory for the Aptos framework]:FRAMEWORK_LOCAL_DIR:_files' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'--skip-fetch-latest-git-deps[Skip pulling the latest git dependencies]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(lint)
_arguments "${_arguments_options[@]}" \
'--package-dir=[Path to a move package (the folder with a Move.toml file).  Defaults to current directory]:PACKAGE_DIR:_files' \
'--output-dir=[Specify the path to save the compiled bytecode files which lint generates while running checks. Defaults to \`<package_dir>/build\`]:OUTPUT_DIR:_files' \
'--language-version=[...or --language LANGUAGE_VERSION
Specify the language version to be supported.
Defaults to the latest stable language version.]:LANGUAGE_VERSION: ' \
'--named-addresses=[Named addresses for the move binary]:NAMED_ADDRESSES: ' \
'--override-std=[Override the standard library version by mainnet/testnet/devnet]:OVERRIDE_STD:(mainnet testnet devnet)' \
'*--experiments=[Experiments]:EXPERIMENTS: ' \
'--checks=[Select the category of lint checks to run]:CHECKS: ' \
'--skip-fetch-latest-git-deps[Skip pulling the latest git dependencies]' \
'--skip-attribute-checks[Do not complain about unknown attributes in Move code]' \
'--dev[Enables dev mode, which uses all dev-addresses and dev-dependencies]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(list)
_arguments "${_arguments_options[@]}" \
'--account=[Address of the account for which to list packages]:ACCOUNT: ' \
'--query=[Type of items to query]:QUERY:(packages)' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(prove)
_arguments "${_arguments_options[@]}" \
'--package-dir=[Path to a move package (the folder with a Move.toml file).  Defaults to current directory]:PACKAGE_DIR:_files' \
'--output-dir=[Path to save the compiled move package]:OUTPUT_DIR:_files' \
'--named-addresses=[Named addresses for the move binary]:NAMED_ADDRESSES: ' \
'--override-std=[Override the standard library version by mainnet/testnet/devnet]:OVERRIDE_STD:(mainnet testnet devnet)' \
'--optimize=[Select optimization level.  Choices are "none", "default", or "extra". Level "extra" may spend more time on expensive optimizations in the future. Level "none" does no optimizations, possibly leading to use of too many runtime resources. Level "default" is the recommended level, and the default if not provided]:OPTIMIZE: ' \
'*--experiments=[Experiments]:EXPERIMENTS: ' \
'--bytecode-version=[...or --bytecode BYTECODE_VERSION
Specify the version of the bytecode the compiler is going to emit.
If not provided, it is inferred from the language version.]:BYTECODE_VERSION: ' \
'--compiler-version=[...or --compiler COMPILER_VERSION
Specify the version of the compiler (must be at least 2).
Defaults to the latest stable compiler version.]:COMPILER_VERSION: ' \
'--language-version=[...or --language LANGUAGE_VERSION
Specify the language version to be supported.
Defaults to the latest stable language version.]:LANGUAGE_VERSION: ' \
'-v+[Verbosity level]:VERBOSITY: ' \
'--verbosity=[Verbosity level]:VERBOSITY: ' \
'-f+[Filters targets out from the package. Any module with a matching file name will be a target, similar as with \`cargo test\`]:FILTER: ' \
'--filter=[Filters targets out from the package. Any module with a matching file name will be a target, similar as with \`cargo test\`]:FILTER: ' \
'-o+[Scopes verification to the specified function. This can either be a name of the form "mod\:\:func" or simply "func", in the later case every matching function is taken]:ONLY: ' \
'--only=[Scopes verification to the specified function. This can either be a name of the form "mod\:\:func" or simply "func", in the later case every matching function is taken]:ONLY: ' \
'--random-seed=[A seed for the prover]:RANDOM_SEED: ' \
'--proc-cores=[The number of cores to use for parallel processing of verification conditions]:PROC_CORES: ' \
'--shards=[The number of shards to split the verification problem into. Shards are processed sequentially. This can be used to ease memory pressure for verification of large packages]:SHARDS: ' \
'--only-shard=[If there are multiple shards, the shard to which verification shall be narrowed]:ONLY_SHARD: ' \
'--vc-timeout=[A (soft) timeout for the solver, per verification condition, in seconds]:VC_TIMEOUT: ' \
'--loop-unroll=[Number of iterations to unroll loops]:LOOP_UNROLL: ' \
'--skip-fetch-latest-git-deps[Skip pulling the latest git dependencies]' \
'--skip-attribute-checks[Do not complain about unknown attributes in Move code]' \
'--dev[Enables dev mode, which uses all dev-addresses and dev-dependencies]' \
'--skip-checks-on-test-code[Skip extended checks (such as checks for the #\[view\] attribute) on test code]' \
'--fail-on-warning[Fail the compilation if there are any warnings]' \
'-t[Whether to display additional information in error reports. This may help debugging but also can make verification slower]' \
'--trace[Whether to display additional information in error reports. This may help debugging but also can make verification slower]' \
'--cvc5[Whether to use cvc5 as the smt solver backend. The environment variable \`CVC5_EXE\` should point to the binary]' \
'--disallow-global-timeout-to-be-overwritten[Whether to disable global timeout overwrite. With this flag set to true, the value set by "--vc-timeout" will be used globally]' \
'--check-inconsistency[Whether to check consistency of specs by injecting impossible assertions]' \
'--unconditional-abort-as-inconsistency[Whether to treat abort as inconsistency when checking consistency. Need to work together with check-inconsistency]' \
'--keep-loops[Whether to keep loops as they are and pass them on to the underlying solver]' \
'--stable-test-output[Whether output for e.g. diagnosis shall be stable/redacted so it can be used in test output]' \
'--dump[Whether to dump intermediate step results to files]' \
'--benchmark[Whether to benchmark verification. If selected, each verification target in the current package will be verified independently with timing recorded. This attempts to detect timeouts. A benchmark report will be written to \`prover_benchmark.fun_data\` in the package directory. The command also writes a \`prover_benchmark.svg\` graphic, which is build from the data in the file above, comparing with any other \`*.fun_data\` files in the package directory. Thus, you can rename the data file to something like \`prover_benchmark_v1.fun_data\` and in the next run, compare benchmarks in the \`.svg\` file from multiple runs]' \
'--skip-instance-check[Whether to skip verification of type instantiations of functions. This may miss some verification conditions if different type instantiations can create different behavior via type reflection or storage access, but can speed up verification]' \
'--for-test[Internal flag\: use a temp dir for boogie output so parallel invocations don'\''t interfere. Set automatically by test harnesses]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(publish)
_arguments "${_arguments_options[@]}" \
'--large-packages-module-address=[Address of the \`large_packages\` move module for chunked publishing]:LARGE_PACKAGES_MODULE_ADDRESS: ' \
'--chunk-size=[Size of the code chunk in bytes for splitting bytecode and metadata of large packages]:CHUNK_SIZE: ' \
'--included-artifacts=[Artifacts to be generated when building the package]:INCLUDED_ARTIFACTS:(none sparse all)' \
'--package-dir=[Path to a move package (the folder with a Move.toml file).  Defaults to current directory]:PACKAGE_DIR:_files' \
'--output-dir=[Path to save the compiled move package]:OUTPUT_DIR:_files' \
'--named-addresses=[Named addresses for the move binary]:NAMED_ADDRESSES: ' \
'--override-std=[Override the standard library version by mainnet/testnet/devnet]:OVERRIDE_STD:(mainnet testnet devnet)' \
'--optimize=[Select optimization level.  Choices are "none", "default", or "extra". Level "extra" may spend more time on expensive optimizations in the future. Level "none" does no optimizations, possibly leading to use of too many runtime resources. Level "default" is the recommended level, and the default if not provided]:OPTIMIZE: ' \
'*--experiments=[Experiments]:EXPERIMENTS: ' \
'--bytecode-version=[...or --bytecode BYTECODE_VERSION
Specify the version of the bytecode the compiler is going to emit.
If not provided, it is inferred from the language version.]:BYTECODE_VERSION: ' \
'--compiler-version=[...or --compiler COMPILER_VERSION
Specify the version of the compiler (must be at least 2).
Defaults to the latest stable compiler version.]:COMPILER_VERSION: ' \
'--language-version=[...or --language LANGUAGE_VERSION
Specify the language version to be supported.
Defaults to the latest stable language version.]:LANGUAGE_VERSION: ' \
'--sender-account=[Sender account address]:SENDER_ACCOUNT: ' \
'--private-key-file=[Signing Ed25519 private key file path]:PRIVATE_KEY_FILE:_files' \
'--private-key=[Signing Ed25519 private key]:PRIVATE_KEY: ' \
'--encoding=[Encoding of data as one of \[base64, bcs, hex\]]:ENCODING: ' \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'--gas-unit-price=[Gas multiplier per unit of gas]:GAS_UNIT_PRICE: ' \
'--max-gas=[Maximum amount of gas units to be used to send this transaction]:MAX_GAS: ' \
'--expiration-secs=[Number of seconds to expire the transaction]:EXPIRATION_SECS: ' \
'--session=[If this option is set, simulate the transaction using a local session]:SESSION:_files' \
'--replay-protection-type=[Replay protection mechanism to use when generating the transaction]:REPLAY_PROTECTION_TYPE:(nonce seqnum)' \
'--override-size-check[Whether to override the check for maximal size of published data]' \
'--chunked-publish[Whether to publish a package in a chunked mode. This may require more than one transaction for publishing the Move package]' \
'--skip-fetch-latest-git-deps[Skip pulling the latest git dependencies]' \
'--skip-attribute-checks[Do not complain about unknown attributes in Move code]' \
'--dev[Enables dev mode, which uses all dev-addresses and dev-dependencies]' \
'--skip-checks-on-test-code[Skip extended checks (such as checks for the #\[view\] attribute) on test code]' \
'--fail-on-warning[Fail the compilation if there are any warnings]' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'--local[If this option is set, simulate the transaction locally]' \
'--benchmark[If this option is set, benchmark the transaction locally]' \
'--profile-gas[If this option is set, simulate the transaction locally using the debugger and generate flamegraphs that reflect the gas usage]' \
'--fold-unique-stack[If set, fold the call graph by unique stack traces before generating the gas profile report. This helps reduce the size of large reports by aggregating identical call paths]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(run)
_arguments "${_arguments_options[@]}" \
'--function-id=[Function name as \`<ADDRESS>\:\:<MODULE_ID>\:\:<FUNCTION_NAME>\`]:FUNCTION_ID: ' \
'*--type-args=[TypeTag arguments separated by spaces]' \
'*--args=[Arguments combined with their type separated by spaces]' \
'(--function-id --args --type-args)--json-file=[JSON file specifying public entry function ID, type arguments, and arguments]:JSON_FILE:_files' \
'--sender-account=[Sender account address]:SENDER_ACCOUNT: ' \
'--private-key-file=[Signing Ed25519 private key file path]:PRIVATE_KEY_FILE:_files' \
'--private-key=[Signing Ed25519 private key]:PRIVATE_KEY: ' \
'--encoding=[Encoding of data as one of \[base64, bcs, hex\]]:ENCODING: ' \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'--gas-unit-price=[Gas multiplier per unit of gas]:GAS_UNIT_PRICE: ' \
'--max-gas=[Maximum amount of gas units to be used to send this transaction]:MAX_GAS: ' \
'--expiration-secs=[Number of seconds to expire the transaction]:EXPIRATION_SECS: ' \
'--session=[If this option is set, simulate the transaction using a local session]:SESSION:_files' \
'--replay-protection-type=[Replay protection mechanism to use when generating the transaction]:REPLAY_PROTECTION_TYPE:(nonce seqnum)' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'--local[If this option is set, simulate the transaction locally]' \
'--benchmark[If this option is set, benchmark the transaction locally]' \
'--profile-gas[If this option is set, simulate the transaction locally using the debugger and generate flamegraphs that reflect the gas usage]' \
'--fold-unique-stack[If set, fold the call graph by unique stack traces before generating the gas profile report. This helps reduce the size of large reports by aggregating identical call paths]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(run-script)
_arguments "${_arguments_options[@]}" \
'--sender-account=[Sender account address]:SENDER_ACCOUNT: ' \
'--private-key-file=[Signing Ed25519 private key file path]:PRIVATE_KEY_FILE:_files' \
'--private-key=[Signing Ed25519 private key]:PRIVATE_KEY: ' \
'--encoding=[Encoding of data as one of \[base64, bcs, hex\]]:ENCODING: ' \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'--gas-unit-price=[Gas multiplier per unit of gas]:GAS_UNIT_PRICE: ' \
'--max-gas=[Maximum amount of gas units to be used to send this transaction]:MAX_GAS: ' \
'--expiration-secs=[Number of seconds to expire the transaction]:EXPIRATION_SECS: ' \
'--session=[If this option is set, simulate the transaction using a local session]:SESSION:_files' \
'--replay-protection-type=[Replay protection mechanism to use when generating the transaction]:REPLAY_PROTECTION_TYPE:(nonce seqnum)' \
'--script-path=[Path to the Move script for the proposal]:SCRIPT_PATH:_files' \
'--compiled-script-path=[Path to the Move script for the proposal]:COMPILED_SCRIPT_PATH:_files' \
'--framework-git-rev=[Git revision or branch for the Aptos framework]:FRAMEWORK_GIT_REV: ' \
'--framework-local-dir=[Local framework directory for the Aptos framework]:FRAMEWORK_LOCAL_DIR:_files' \
'--bytecode-version=[]:BYTECODE_VERSION: ' \
'--compiler-version=[Specify the version of the compiler. Defaults to the latest stable compiler version (at least 2)]:COMPILER_VERSION: ' \
'--language-version=[Specify the language version to be supported. Defaults to the latest stable language version (at least 2)]:LANGUAGE_VERSION: ' \
'*--type-args=[TypeTag arguments separated by spaces]' \
'*--args=[Arguments combined with their type separated by spaces]' \
'(--args --type-args)--json-file=[JSON file specifying type arguments and arguments]:JSON_FILE:_files' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'--local[If this option is set, simulate the transaction locally]' \
'--benchmark[If this option is set, benchmark the transaction locally]' \
'--profile-gas[If this option is set, simulate the transaction locally using the debugger and generate flamegraphs that reflect the gas usage]' \
'--fold-unique-stack[If set, fold the call graph by unique stack traces before generating the gas profile report. This helps reduce the size of large reports by aggregating identical call paths]' \
'--skip-fetch-latest-git-deps[Skip pulling the latest git dependencies]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(simulate)
_arguments "${_arguments_options[@]}" \
'--sender-account=[Sender account address]:SENDER_ACCOUNT: ' \
'--private-key-file=[Signing Ed25519 private key file path]:PRIVATE_KEY_FILE:_files' \
'--private-key=[Signing Ed25519 private key]:PRIVATE_KEY: ' \
'--encoding=[Encoding of data as one of \[base64, bcs, hex\]]:ENCODING: ' \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'--gas-unit-price=[Gas multiplier per unit of gas]:GAS_UNIT_PRICE: ' \
'--max-gas=[Maximum amount of gas units to be used to send this transaction]:MAX_GAS: ' \
'--expiration-secs=[Number of seconds to expire the transaction]:EXPIRATION_SECS: ' \
'--replay-protection-type=[Replay protection mechanism to use when generating the transaction]:REPLAY_PROTECTION_TYPE:(nonce seqnum)' \
'--function-id=[Function name as \`<ADDRESS>\:\:<MODULE_ID>\:\:<FUNCTION_NAME>\`]:FUNCTION_ID: ' \
'*--type-args=[TypeTag arguments separated by spaces]' \
'*--args=[Arguments combined with their type separated by spaces]' \
'(--function-id --args --type-args)--json-file=[JSON file specifying public entry function ID, type arguments, and arguments]:JSON_FILE:_files' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'--local[]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(show)
_arguments "${_arguments_options[@]}" \
'-h[Print help]' \
'--help[Print help]' \
'-V[Print version]' \
'--version[Print version]' \
":: :_aptos__move__show_commands" \
"*::: :->show" \
&& ret=0

    case $state in
    (show)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aptos-move-show-command-$line[1]:"
        case $line[1] in
            (abi)
_arguments "${_arguments_options[@]}" \
'*--modules=[If provided, only show items from the given Move modules. These should be module names, not file paths. For example, \`coin\`]' \
'*--names=[If provided, only show items with the given names. For example, \`transfer\`]' \
'--included-artifacts=[Artifacts to be generated when building the package]:INCLUDED_ARTIFACTS:(none sparse all)' \
'--package-dir=[Path to a move package (the folder with a Move.toml file).  Defaults to current directory]:PACKAGE_DIR:_files' \
'--output-dir=[Path to save the compiled move package]:OUTPUT_DIR:_files' \
'--named-addresses=[Named addresses for the move binary]:NAMED_ADDRESSES: ' \
'--override-std=[Override the standard library version by mainnet/testnet/devnet]:OVERRIDE_STD:(mainnet testnet devnet)' \
'--optimize=[Select optimization level.  Choices are "none", "default", or "extra". Level "extra" may spend more time on expensive optimizations in the future. Level "none" does no optimizations, possibly leading to use of too many runtime resources. Level "default" is the recommended level, and the default if not provided]:OPTIMIZE: ' \
'*--experiments=[Experiments]:EXPERIMENTS: ' \
'--bytecode-version=[...or --bytecode BYTECODE_VERSION
Specify the version of the bytecode the compiler is going to emit.
If not provided, it is inferred from the language version.]:BYTECODE_VERSION: ' \
'--compiler-version=[...or --compiler COMPILER_VERSION
Specify the version of the compiler (must be at least 2).
Defaults to the latest stable compiler version.]:COMPILER_VERSION: ' \
'--language-version=[...or --language LANGUAGE_VERSION
Specify the language version to be supported.
Defaults to the latest stable language version.]:LANGUAGE_VERSION: ' \
'--skip-fetch-latest-git-deps[Skip pulling the latest git dependencies]' \
'--skip-attribute-checks[Do not complain about unknown attributes in Move code]' \
'--dev[Enables dev mode, which uses all dev-addresses and dev-dependencies]' \
'--skip-checks-on-test-code[Skip extended checks (such as checks for the #\[view\] attribute) on test code]' \
'--fail-on-warning[Fail the compilation if there are any warnings]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" \
":: :_aptos__move__show__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aptos-move-show-help-command-$line[1]:"
        case $line[1] in
            (abi)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(test)
_arguments "${_arguments_options[@]}" \
'-f+[A filter string to determine which unit tests to run]:FILTER: ' \
'--filter=[A filter string to determine which unit tests to run]:FILTER: ' \
'--package-dir=[Path to a move package (the folder with a Move.toml file).  Defaults to current directory]:PACKAGE_DIR:_files' \
'--output-dir=[Path to save the compiled move package]:OUTPUT_DIR:_files' \
'--named-addresses=[Named addresses for the move binary]:NAMED_ADDRESSES: ' \
'--override-std=[Override the standard library version by mainnet/testnet/devnet]:OVERRIDE_STD:(mainnet testnet devnet)' \
'--optimize=[Select optimization level.  Choices are "none", "default", or "extra". Level "extra" may spend more time on expensive optimizations in the future. Level "none" does no optimizations, possibly leading to use of too many runtime resources. Level "default" is the recommended level, and the default if not provided]:OPTIMIZE: ' \
'*--experiments=[Experiments]:EXPERIMENTS: ' \
'--bytecode-version=[...or --bytecode BYTECODE_VERSION
Specify the version of the bytecode the compiler is going to emit.
If not provided, it is inferred from the language version.]:BYTECODE_VERSION: ' \
'--compiler-version=[...or --compiler COMPILER_VERSION
Specify the version of the compiler (must be at least 2).
Defaults to the latest stable compiler version.]:COMPILER_VERSION: ' \
'--language-version=[...or --language LANGUAGE_VERSION
Specify the language version to be supported.
Defaults to the latest stable language version.]:LANGUAGE_VERSION: ' \
'-i+[The maximum number of instructions that can be executed by a test]:instructions: ' \
'--instructions=[The maximum number of instructions that can be executed by a test]:instructions: ' \
'--ignore-compile-warnings[A boolean value to skip warnings]' \
'--skip-fetch-latest-git-deps[Skip pulling the latest git dependencies]' \
'--skip-attribute-checks[Do not complain about unknown attributes in Move code]' \
'--dev[Enables dev mode, which uses all dev-addresses and dev-dependencies]' \
'--skip-checks-on-test-code[Skip extended checks (such as checks for the #\[view\] attribute) on test code]' \
'--fail-on-warning[Fail the compilation if there are any warnings]' \
'--coverage[Collect coverage information for later use with the various \`aptos move coverage\` subcommands]' \
'--dump[Dump storage state on failure]' \
'--fail-fast[Fail-fast mode\: stop running tests after the first failure]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(verify-package)
_arguments "${_arguments_options[@]}" \
'--account=[Address of the account containing the package]:ACCOUNT: ' \
'--included-artifacts=[Artifacts to be generated when building this package]:INCLUDED_ARTIFACTS:(none sparse all)' \
'--package-dir=[Path to a move package (the folder with a Move.toml file).  Defaults to current directory]:PACKAGE_DIR:_files' \
'--output-dir=[Path to save the compiled move package]:OUTPUT_DIR:_files' \
'--named-addresses=[Named addresses for the move binary]:NAMED_ADDRESSES: ' \
'--override-std=[Override the standard library version by mainnet/testnet/devnet]:OVERRIDE_STD:(mainnet testnet devnet)' \
'--optimize=[Select optimization level.  Choices are "none", "default", or "extra". Level "extra" may spend more time on expensive optimizations in the future. Level "none" does no optimizations, possibly leading to use of too many runtime resources. Level "default" is the recommended level, and the default if not provided]:OPTIMIZE: ' \
'*--experiments=[Experiments]:EXPERIMENTS: ' \
'--bytecode-version=[...or --bytecode BYTECODE_VERSION
Specify the version of the bytecode the compiler is going to emit.
If not provided, it is inferred from the language version.]:BYTECODE_VERSION: ' \
'--compiler-version=[...or --compiler COMPILER_VERSION
Specify the version of the compiler (must be at least 2).
Defaults to the latest stable compiler version.]:COMPILER_VERSION: ' \
'--language-version=[...or --language LANGUAGE_VERSION
Specify the language version to be supported.
Defaults to the latest stable language version.]:LANGUAGE_VERSION: ' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'--skip-fetch-latest-git-deps[Skip pulling the latest git dependencies]' \
'--skip-attribute-checks[Do not complain about unknown attributes in Move code]' \
'--dev[Enables dev mode, which uses all dev-addresses and dev-dependencies]' \
'--skip-checks-on-test-code[Skip extended checks (such as checks for the #\[view\] attribute) on test code]' \
'--fail-on-warning[Fail the compilation if there are any warnings]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(view)
_arguments "${_arguments_options[@]}" \
'--function-id=[Function name as \`<ADDRESS>\:\:<MODULE_ID>\:\:<FUNCTION_NAME>\`]:FUNCTION_ID: ' \
'*--type-args=[TypeTag arguments separated by spaces]' \
'*--args=[Arguments combined with their type separated by spaces]' \
'(--function-id --args --type-args)--json-file=[JSON file specifying public entry function ID, type arguments, and arguments]:JSON_FILE:_files' \
'--sender-account=[Sender account address]:SENDER_ACCOUNT: ' \
'--private-key-file=[Signing Ed25519 private key file path]:PRIVATE_KEY_FILE:_files' \
'--private-key=[Signing Ed25519 private key]:PRIVATE_KEY: ' \
'--encoding=[Encoding of data as one of \[base64, bcs, hex\]]:ENCODING: ' \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'--gas-unit-price=[Gas multiplier per unit of gas]:GAS_UNIT_PRICE: ' \
'--max-gas=[Maximum amount of gas units to be used to send this transaction]:MAX_GAS: ' \
'--expiration-secs=[Number of seconds to expire the transaction]:EXPIRATION_SECS: ' \
'--session=[If this option is set, simulate the transaction using a local session]:SESSION:_files' \
'--replay-protection-type=[Replay protection mechanism to use when generating the transaction]:REPLAY_PROTECTION_TYPE:(nonce seqnum)' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'--local[If this option is set, simulate the transaction locally]' \
'--benchmark[If this option is set, benchmark the transaction locally]' \
'--profile-gas[If this option is set, simulate the transaction locally using the debugger and generate flamegraphs that reflect the gas usage]' \
'--fold-unique-stack[If set, fold the call graph by unique stack traces before generating the gas profile report. This helps reduce the size of large reports by aggregating identical call paths]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(replay)
_arguments "${_arguments_options[@]}" \
'--network=[The network to replay on]:NETWORK: ' \
'--txn-id=[The id of the transaction to replay. Also being referred to as "version" in some contexts]:TXN_ID: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`]:NODE_API_KEY: ' \
'*--use-local-package=[Override one or more on-chain packages with a locally compiled version]:PATH:_files' \
'--named-address=[Override named addresses when compiling local packages]:NAMED_ADDRESSES: ' \
'--benchmark[If this option is set, benchmark the transaction and report the running time(s)]' \
'--profile-gas[If this option is set, profile the transaction and generate a detailed report of its gas usage]' \
'--fold-unique-stack[If set, fold the call graph by unique stack traces before generating the gas profile report. This helps reduce the size of large reports by aggregating identical call paths]' \
'--skip-comparison[If present, skip the comparison against the expected transaction output]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(fmt)
_arguments "${_arguments_options[@]}" \
'--emit-mode=[How to generate and show the result after reformatting. Warning\: if not specified or set in the config file, files will by default be overwritten]:EMIT_MODE:(overwrite new-file std-out diff)' \
'--package-dir=[Path to the move package (the folder with a Move.toml file) to be formatted. If neither a package directory nor a file path is provided, the current directory is formatted]:PACKAGE_DIR:_files' \
'*--file-path=[Path to specific Move source files to format. This cannot be called with a package dir option]:FILE_PATH:_files' \
'--config-path=[Path to the configuration file movefmt.toml. If not given, search is done recursively from the current dir to its parents]:CONFIG_PATH:_files' \
'--config=[Set options from command line. These settings take priority over movefmt.toml. Config options can be found at https\://github.com/movebit/movefmt/blob/develop/doc/how_to_use.md]:CONFIG: ' \
'-v[Print verbose output]' \
'--verbose[Print verbose output]' \
'-q[Print less output]' \
'--quiet[Print less output]' \
'-V[Print version information for the movefmt binary]' \
'--version[Print version information for the movefmt binary]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(sim)
_arguments "${_arguments_options[@]}" \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
":: :_aptos__move__sim_commands" \
"*::: :->sim" \
&& ret=0

    case $state in
    (sim)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aptos-move-sim-command-$line[1]:"
        case $line[1] in
            (init)
_arguments "${_arguments_options[@]}" \
'--path=[Path to the directory where the session data will be stored]:PATH:_files' \
'--network=[If specified, starts the simulation by forking from a remote network state]:NETWORK: ' \
'--network-version=[The version of the network state to fork from]:NETWORK_VERSION: ' \
'--api-key=[API key for connecting to the fullnode]:API_KEY: ' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(fund)
_arguments "${_arguments_options[@]}" \
'--session=[Path to a stored session]:SESSION:_files' \
'--account=[Account to fund, can be an address or a CLI profile name]:ACCOUNT: ' \
'--amount=[Funding amount, in Octa (10^-8 APT)]:AMOUNT: ' \
'-h[Print help]' \
'--help[Print help]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(view-resource)
_arguments "${_arguments_options[@]}" \
'--session=[Path to a stored session]:SESSION:_files' \
'--account=[Account under which the resource is stored]:ACCOUNT: ' \
'--resource=[Resource to view]:RESOURCE: ' \
'-h[Print help]' \
'--help[Print help]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(view-resource-group)
_arguments "${_arguments_options[@]}" \
'--session=[Path to a stored session]:SESSION:_files' \
'--account=[Account under which the resource group is stored]:ACCOUNT: ' \
'--resource-group=[Resource group to view]:RESOURCE_GROUP: ' \
'--derived-object-address=[If specified, derives an object address from the source address and an object]:DERIVED_OBJECT_ADDRESS: ' \
'-h[Print help]' \
'--help[Print help]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(new-block)
_arguments "${_arguments_options[@]}" \
'--session=[Path to a stored session]:SESSION:_files' \
'(--offset-usecs)--timestamp-usecs=[Absolute block timestamp in microseconds]:TIMESTAMP_USECS: ' \
'(--timestamp-usecs)--offset-usecs=[Advance the current timestamp by this many microseconds]:OFFSET_USECS: ' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(advance-epoch)
_arguments "${_arguments_options[@]}" \
'--session=[Path to a stored session]:SESSION:_files' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" \
":: :_aptos__move__sim__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aptos-move-sim-help-command-$line[1]:"
        case $line[1] in
            (init)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(fund)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(view-resource)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(view-resource-group)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(new-block)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(advance-epoch)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(help)
_arguments "${_arguments_options[@]}" \
":: :_aptos__move__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aptos-move-help-command-$line[1]:"
        case $line[1] in
            (build-publish-payload)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(clean)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(clear-staging-area)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(compile)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(compile-script)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(coverage)
_arguments "${_arguments_options[@]}" \
":: :_aptos__move__help__coverage_commands" \
"*::: :->coverage" \
&& ret=0

    case $state in
    (coverage)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aptos-move-help-coverage-command-$line[1]:"
        case $line[1] in
            (summary)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(source)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(bytecode)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
        esac
    ;;
esac
;;
(create-object-and-publish-package)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(upgrade-object-package)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(deploy-object)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(upgrade-object)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(create-resource-account-and-publish-package)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(disassemble)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(decompile)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(document)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(download)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(init)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(lint)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(list)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(prove)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(publish)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(run)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(run-script)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(simulate)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(show)
_arguments "${_arguments_options[@]}" \
":: :_aptos__move__help__show_commands" \
"*::: :->show" \
&& ret=0

    case $state in
    (show)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aptos-move-help-show-command-$line[1]:"
        case $line[1] in
            (abi)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
        esac
    ;;
esac
;;
(test)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(verify-package)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(view)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(replay)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(fmt)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(sim)
_arguments "${_arguments_options[@]}" \
":: :_aptos__move__help__sim_commands" \
"*::: :->sim" \
&& ret=0

    case $state in
    (sim)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aptos-move-help-sim-command-$line[1]:"
        case $line[1] in
            (init)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(fund)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(view-resource)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(view-resource-group)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(new-block)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(advance-epoch)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
        esac
    ;;
esac
;;
(help)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(multisig)
_arguments "${_arguments_options[@]}" \
'-h[Print help]' \
'--help[Print help]' \
'-V[Print version]' \
'--version[Print version]' \
":: :_aptos__multisig_commands" \
"*::: :->multisig" \
&& ret=0

    case $state in
    (multisig)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aptos-multisig-command-$line[1]:"
        case $line[1] in
            (approve)
_arguments "${_arguments_options[@]}" \
'--multisig-address=[The address of the multisig account to interact with]:MULTISIG_ADDRESS: ' \
'--sequence-number=[Multisig account sequence number to interact with]:SEQUENCE_NUMBER: ' \
'--sender-account=[Sender account address]:SENDER_ACCOUNT: ' \
'--private-key-file=[Signing Ed25519 private key file path]:PRIVATE_KEY_FILE:_files' \
'--private-key=[Signing Ed25519 private key]:PRIVATE_KEY: ' \
'--encoding=[Encoding of data as one of \[base64, bcs, hex\]]:ENCODING: ' \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'--gas-unit-price=[Gas multiplier per unit of gas]:GAS_UNIT_PRICE: ' \
'--max-gas=[Maximum amount of gas units to be used to send this transaction]:MAX_GAS: ' \
'--expiration-secs=[Number of seconds to expire the transaction]:EXPIRATION_SECS: ' \
'--session=[If this option is set, simulate the transaction using a local session]:SESSION:_files' \
'--replay-protection-type=[Replay protection mechanism to use when generating the transaction]:REPLAY_PROTECTION_TYPE:(nonce seqnum)' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'--local[If this option is set, simulate the transaction locally]' \
'--benchmark[If this option is set, benchmark the transaction locally]' \
'--profile-gas[If this option is set, simulate the transaction locally using the debugger and generate flamegraphs that reflect the gas usage]' \
'--fold-unique-stack[If set, fold the call graph by unique stack traces before generating the gas profile report. This helps reduce the size of large reports by aggregating identical call paths]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(create)
_arguments "${_arguments_options[@]}" \
'*--additional-owners=[Addresses of additional owners for the new multisig, beside the transaction sender]' \
'--num-signatures-required=[The number of signatures (approvals or rejections) required to execute or remove a proposed transaction]:NUM_SIGNATURES_REQUIRED: ' \
'--sender-account=[Sender account address]:SENDER_ACCOUNT: ' \
'--private-key-file=[Signing Ed25519 private key file path]:PRIVATE_KEY_FILE:_files' \
'--private-key=[Signing Ed25519 private key]:PRIVATE_KEY: ' \
'--encoding=[Encoding of data as one of \[base64, bcs, hex\]]:ENCODING: ' \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'--gas-unit-price=[Gas multiplier per unit of gas]:GAS_UNIT_PRICE: ' \
'--max-gas=[Maximum amount of gas units to be used to send this transaction]:MAX_GAS: ' \
'--expiration-secs=[Number of seconds to expire the transaction]:EXPIRATION_SECS: ' \
'--session=[If this option is set, simulate the transaction using a local session]:SESSION:_files' \
'--replay-protection-type=[Replay protection mechanism to use when generating the transaction]:REPLAY_PROTECTION_TYPE:(nonce seqnum)' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'--local[If this option is set, simulate the transaction locally]' \
'--benchmark[If this option is set, benchmark the transaction locally]' \
'--profile-gas[If this option is set, simulate the transaction locally using the debugger and generate flamegraphs that reflect the gas usage]' \
'--fold-unique-stack[If set, fold the call graph by unique stack traces before generating the gas profile report. This helps reduce the size of large reports by aggregating identical call paths]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(create-transaction)
_arguments "${_arguments_options[@]}" \
'--multisig-address=[The address of the multisig account to interact with]:MULTISIG_ADDRESS: ' \
'--sender-account=[Sender account address]:SENDER_ACCOUNT: ' \
'--private-key-file=[Signing Ed25519 private key file path]:PRIVATE_KEY_FILE:_files' \
'--private-key=[Signing Ed25519 private key]:PRIVATE_KEY: ' \
'--encoding=[Encoding of data as one of \[base64, bcs, hex\]]:ENCODING: ' \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'--gas-unit-price=[Gas multiplier per unit of gas]:GAS_UNIT_PRICE: ' \
'--max-gas=[Maximum amount of gas units to be used to send this transaction]:MAX_GAS: ' \
'--expiration-secs=[Number of seconds to expire the transaction]:EXPIRATION_SECS: ' \
'--session=[If this option is set, simulate the transaction using a local session]:SESSION:_files' \
'--replay-protection-type=[Replay protection mechanism to use when generating the transaction]:REPLAY_PROTECTION_TYPE:(nonce seqnum)' \
'--function-id=[Function name as \`<ADDRESS>\:\:<MODULE_ID>\:\:<FUNCTION_NAME>\`]:FUNCTION_ID: ' \
'*--type-args=[TypeTag arguments separated by spaces]' \
'*--args=[Arguments combined with their type separated by spaces]' \
'(--function-id --args --type-args)--json-file=[JSON file specifying public entry function ID, type arguments, and arguments]:JSON_FILE:_files' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'--local[If this option is set, simulate the transaction locally]' \
'--benchmark[If this option is set, benchmark the transaction locally]' \
'--profile-gas[If this option is set, simulate the transaction locally using the debugger and generate flamegraphs that reflect the gas usage]' \
'--fold-unique-stack[If set, fold the call graph by unique stack traces before generating the gas profile report. This helps reduce the size of large reports by aggregating identical call paths]' \
'--store-hash-only[Pass this flag if only storing transaction hash on-chain. Else full payload is stored]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(create-script-transaction)
_arguments "${_arguments_options[@]}" \
'--multisig-address=[The address of the multisig account to interact with]:MULTISIG_ADDRESS: ' \
'--sender-account=[Sender account address]:SENDER_ACCOUNT: ' \
'--private-key-file=[Signing Ed25519 private key file path]:PRIVATE_KEY_FILE:_files' \
'--private-key=[Signing Ed25519 private key]:PRIVATE_KEY: ' \
'--encoding=[Encoding of data as one of \[base64, bcs, hex\]]:ENCODING: ' \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'--gas-unit-price=[Gas multiplier per unit of gas]:GAS_UNIT_PRICE: ' \
'--max-gas=[Maximum amount of gas units to be used to send this transaction]:MAX_GAS: ' \
'--expiration-secs=[Number of seconds to expire the transaction]:EXPIRATION_SECS: ' \
'--session=[If this option is set, simulate the transaction using a local session]:SESSION:_files' \
'--replay-protection-type=[Replay protection mechanism to use when generating the transaction]:REPLAY_PROTECTION_TYPE:(nonce seqnum)' \
'--script-path=[Path to the Move script for the proposal]:SCRIPT_PATH:_files' \
'--compiled-script-path=[Path to the Move script for the proposal]:COMPILED_SCRIPT_PATH:_files' \
'--framework-git-rev=[Git revision or branch for the Aptos framework]:FRAMEWORK_GIT_REV: ' \
'--framework-local-dir=[Local framework directory for the Aptos framework]:FRAMEWORK_LOCAL_DIR:_files' \
'--bytecode-version=[]:BYTECODE_VERSION: ' \
'--compiler-version=[Specify the version of the compiler. Defaults to the latest stable compiler version (at least 2)]:COMPILER_VERSION: ' \
'--language-version=[Specify the language version to be supported. Defaults to the latest stable language version (at least 2)]:LANGUAGE_VERSION: ' \
'*--type-args=[TypeTag arguments separated by spaces]' \
'*--args=[Arguments combined with their type separated by spaces]' \
'(--args --type-args)--json-file=[JSON file specifying type arguments and arguments]:JSON_FILE:_files' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'--local[If this option is set, simulate the transaction locally]' \
'--benchmark[If this option is set, benchmark the transaction locally]' \
'--profile-gas[If this option is set, simulate the transaction locally using the debugger and generate flamegraphs that reflect the gas usage]' \
'--fold-unique-stack[If set, fold the call graph by unique stack traces before generating the gas profile report. This helps reduce the size of large reports by aggregating identical call paths]' \
'--skip-fetch-latest-git-deps[Skip pulling the latest git dependencies]' \
'--store-hash-only[Pass this flag if only storing transaction hash on-chain. Else full payload is stored]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(execute)
_arguments "${_arguments_options[@]}" \
'--multisig-address=[The address of the multisig account to interact with]:MULTISIG_ADDRESS: ' \
'--sender-account=[Sender account address]:SENDER_ACCOUNT: ' \
'--private-key-file=[Signing Ed25519 private key file path]:PRIVATE_KEY_FILE:_files' \
'--private-key=[Signing Ed25519 private key]:PRIVATE_KEY: ' \
'--encoding=[Encoding of data as one of \[base64, bcs, hex\]]:ENCODING: ' \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'--gas-unit-price=[Gas multiplier per unit of gas]:GAS_UNIT_PRICE: ' \
'--max-gas=[Maximum amount of gas units to be used to send this transaction]:MAX_GAS: ' \
'--expiration-secs=[Number of seconds to expire the transaction]:EXPIRATION_SECS: ' \
'--session=[If this option is set, simulate the transaction using a local session]:SESSION:_files' \
'--replay-protection-type=[Replay protection mechanism to use when generating the transaction]:REPLAY_PROTECTION_TYPE:(nonce seqnum)' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'--local[If this option is set, simulate the transaction locally]' \
'--benchmark[If this option is set, benchmark the transaction locally]' \
'--profile-gas[If this option is set, simulate the transaction locally using the debugger and generate flamegraphs that reflect the gas usage]' \
'--fold-unique-stack[If set, fold the call graph by unique stack traces before generating the gas profile report. This helps reduce the size of large reports by aggregating identical call paths]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(execute-reject)
_arguments "${_arguments_options[@]}" \
'--multisig-address=[The address of the multisig account to interact with]:MULTISIG_ADDRESS: ' \
'--sender-account=[Sender account address]:SENDER_ACCOUNT: ' \
'--private-key-file=[Signing Ed25519 private key file path]:PRIVATE_KEY_FILE:_files' \
'--private-key=[Signing Ed25519 private key]:PRIVATE_KEY: ' \
'--encoding=[Encoding of data as one of \[base64, bcs, hex\]]:ENCODING: ' \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'--gas-unit-price=[Gas multiplier per unit of gas]:GAS_UNIT_PRICE: ' \
'--max-gas=[Maximum amount of gas units to be used to send this transaction]:MAX_GAS: ' \
'--expiration-secs=[Number of seconds to expire the transaction]:EXPIRATION_SECS: ' \
'--session=[If this option is set, simulate the transaction using a local session]:SESSION:_files' \
'--replay-protection-type=[Replay protection mechanism to use when generating the transaction]:REPLAY_PROTECTION_TYPE:(nonce seqnum)' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'--local[If this option is set, simulate the transaction locally]' \
'--benchmark[If this option is set, benchmark the transaction locally]' \
'--profile-gas[If this option is set, simulate the transaction locally using the debugger and generate flamegraphs that reflect the gas usage]' \
'--fold-unique-stack[If set, fold the call graph by unique stack traces before generating the gas profile report. This helps reduce the size of large reports by aggregating identical call paths]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(execute-with-payload)
_arguments "${_arguments_options[@]}" \
'--multisig-address=[The address of the multisig account to interact with]:MULTISIG_ADDRESS: ' \
'--sender-account=[Sender account address]:SENDER_ACCOUNT: ' \
'--private-key-file=[Signing Ed25519 private key file path]:PRIVATE_KEY_FILE:_files' \
'--private-key=[Signing Ed25519 private key]:PRIVATE_KEY: ' \
'--encoding=[Encoding of data as one of \[base64, bcs, hex\]]:ENCODING: ' \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'--gas-unit-price=[Gas multiplier per unit of gas]:GAS_UNIT_PRICE: ' \
'--max-gas=[Maximum amount of gas units to be used to send this transaction]:MAX_GAS: ' \
'--expiration-secs=[Number of seconds to expire the transaction]:EXPIRATION_SECS: ' \
'--session=[If this option is set, simulate the transaction using a local session]:SESSION:_files' \
'--replay-protection-type=[Replay protection mechanism to use when generating the transaction]:REPLAY_PROTECTION_TYPE:(nonce seqnum)' \
'--function-id=[Function name as \`<ADDRESS>\:\:<MODULE_ID>\:\:<FUNCTION_NAME>\`]:FUNCTION_ID: ' \
'*--type-args=[TypeTag arguments separated by spaces]' \
'*--args=[Arguments combined with their type separated by spaces]' \
'(--function-id --args --type-args)--json-file=[JSON file specifying public entry function ID, type arguments, and arguments]:JSON_FILE:_files' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'--local[If this option is set, simulate the transaction locally]' \
'--benchmark[If this option is set, benchmark the transaction locally]' \
'--profile-gas[If this option is set, simulate the transaction locally using the debugger and generate flamegraphs that reflect the gas usage]' \
'--fold-unique-stack[If set, fold the call graph by unique stack traces before generating the gas profile report. This helps reduce the size of large reports by aggregating identical call paths]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(execute-with-script-payload)
_arguments "${_arguments_options[@]}" \
'--multisig-address=[The address of the multisig account to interact with]:MULTISIG_ADDRESS: ' \
'--sender-account=[Sender account address]:SENDER_ACCOUNT: ' \
'--private-key-file=[Signing Ed25519 private key file path]:PRIVATE_KEY_FILE:_files' \
'--private-key=[Signing Ed25519 private key]:PRIVATE_KEY: ' \
'--encoding=[Encoding of data as one of \[base64, bcs, hex\]]:ENCODING: ' \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'--gas-unit-price=[Gas multiplier per unit of gas]:GAS_UNIT_PRICE: ' \
'--max-gas=[Maximum amount of gas units to be used to send this transaction]:MAX_GAS: ' \
'--expiration-secs=[Number of seconds to expire the transaction]:EXPIRATION_SECS: ' \
'--session=[If this option is set, simulate the transaction using a local session]:SESSION:_files' \
'--replay-protection-type=[Replay protection mechanism to use when generating the transaction]:REPLAY_PROTECTION_TYPE:(nonce seqnum)' \
'--script-path=[Path to the Move script for the proposal]:SCRIPT_PATH:_files' \
'--compiled-script-path=[Path to the Move script for the proposal]:COMPILED_SCRIPT_PATH:_files' \
'--framework-git-rev=[Git revision or branch for the Aptos framework]:FRAMEWORK_GIT_REV: ' \
'--framework-local-dir=[Local framework directory for the Aptos framework]:FRAMEWORK_LOCAL_DIR:_files' \
'--bytecode-version=[]:BYTECODE_VERSION: ' \
'--compiler-version=[Specify the version of the compiler. Defaults to the latest stable compiler version (at least 2)]:COMPILER_VERSION: ' \
'--language-version=[Specify the language version to be supported. Defaults to the latest stable language version (at least 2)]:LANGUAGE_VERSION: ' \
'*--type-args=[TypeTag arguments separated by spaces]' \
'*--args=[Arguments combined with their type separated by spaces]' \
'(--args --type-args)--json-file=[JSON file specifying type arguments and arguments]:JSON_FILE:_files' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'--local[If this option is set, simulate the transaction locally]' \
'--benchmark[If this option is set, benchmark the transaction locally]' \
'--profile-gas[If this option is set, simulate the transaction locally using the debugger and generate flamegraphs that reflect the gas usage]' \
'--fold-unique-stack[If set, fold the call graph by unique stack traces before generating the gas profile report. This helps reduce the size of large reports by aggregating identical call paths]' \
'--skip-fetch-latest-git-deps[Skip pulling the latest git dependencies]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(reject)
_arguments "${_arguments_options[@]}" \
'--multisig-address=[The address of the multisig account to interact with]:MULTISIG_ADDRESS: ' \
'--sequence-number=[Multisig account sequence number to interact with]:SEQUENCE_NUMBER: ' \
'--sender-account=[Sender account address]:SENDER_ACCOUNT: ' \
'--private-key-file=[Signing Ed25519 private key file path]:PRIVATE_KEY_FILE:_files' \
'--private-key=[Signing Ed25519 private key]:PRIVATE_KEY: ' \
'--encoding=[Encoding of data as one of \[base64, bcs, hex\]]:ENCODING: ' \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'--gas-unit-price=[Gas multiplier per unit of gas]:GAS_UNIT_PRICE: ' \
'--max-gas=[Maximum amount of gas units to be used to send this transaction]:MAX_GAS: ' \
'--expiration-secs=[Number of seconds to expire the transaction]:EXPIRATION_SECS: ' \
'--session=[If this option is set, simulate the transaction using a local session]:SESSION:_files' \
'--replay-protection-type=[Replay protection mechanism to use when generating the transaction]:REPLAY_PROTECTION_TYPE:(nonce seqnum)' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'--local[If this option is set, simulate the transaction locally]' \
'--benchmark[If this option is set, benchmark the transaction locally]' \
'--profile-gas[If this option is set, simulate the transaction locally using the debugger and generate flamegraphs that reflect the gas usage]' \
'--fold-unique-stack[If set, fold the call graph by unique stack traces before generating the gas profile report. This helps reduce the size of large reports by aggregating identical call paths]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(verify-proposal)
_arguments "${_arguments_options[@]}" \
'--multisig-address=[The address of the multisig account to interact with]:MULTISIG_ADDRESS: ' \
'--sequence-number=[Multisig account sequence number to interact with]:SEQUENCE_NUMBER: ' \
'--sender-account=[Sender account address]:SENDER_ACCOUNT: ' \
'--private-key-file=[Signing Ed25519 private key file path]:PRIVATE_KEY_FILE:_files' \
'--private-key=[Signing Ed25519 private key]:PRIVATE_KEY: ' \
'--encoding=[Encoding of data as one of \[base64, bcs, hex\]]:ENCODING: ' \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'--gas-unit-price=[Gas multiplier per unit of gas]:GAS_UNIT_PRICE: ' \
'--max-gas=[Maximum amount of gas units to be used to send this transaction]:MAX_GAS: ' \
'--expiration-secs=[Number of seconds to expire the transaction]:EXPIRATION_SECS: ' \
'--session=[If this option is set, simulate the transaction using a local session]:SESSION:_files' \
'--replay-protection-type=[Replay protection mechanism to use when generating the transaction]:REPLAY_PROTECTION_TYPE:(nonce seqnum)' \
'--function-id=[Function name as \`<ADDRESS>\:\:<MODULE_ID>\:\:<FUNCTION_NAME>\`]:FUNCTION_ID: ' \
'*--type-args=[TypeTag arguments separated by spaces]' \
'*--args=[Arguments combined with their type separated by spaces]' \
'(--function-id --args --type-args)--json-file=[JSON file specifying public entry function ID, type arguments, and arguments]:JSON_FILE:_files' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'--local[If this option is set, simulate the transaction locally]' \
'--benchmark[If this option is set, benchmark the transaction locally]' \
'--profile-gas[If this option is set, simulate the transaction locally using the debugger and generate flamegraphs that reflect the gas usage]' \
'--fold-unique-stack[If set, fold the call graph by unique stack traces before generating the gas profile report. This helps reduce the size of large reports by aggregating identical call paths]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(verify-script-proposal)
_arguments "${_arguments_options[@]}" \
'--multisig-address=[The address of the multisig account to interact with]:MULTISIG_ADDRESS: ' \
'--sequence-number=[Multisig account sequence number to interact with]:SEQUENCE_NUMBER: ' \
'--sender-account=[Sender account address]:SENDER_ACCOUNT: ' \
'--private-key-file=[Signing Ed25519 private key file path]:PRIVATE_KEY_FILE:_files' \
'--private-key=[Signing Ed25519 private key]:PRIVATE_KEY: ' \
'--encoding=[Encoding of data as one of \[base64, bcs, hex\]]:ENCODING: ' \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'--gas-unit-price=[Gas multiplier per unit of gas]:GAS_UNIT_PRICE: ' \
'--max-gas=[Maximum amount of gas units to be used to send this transaction]:MAX_GAS: ' \
'--expiration-secs=[Number of seconds to expire the transaction]:EXPIRATION_SECS: ' \
'--session=[If this option is set, simulate the transaction using a local session]:SESSION:_files' \
'--replay-protection-type=[Replay protection mechanism to use when generating the transaction]:REPLAY_PROTECTION_TYPE:(nonce seqnum)' \
'--script-path=[Path to the Move script for the proposal]:SCRIPT_PATH:_files' \
'--compiled-script-path=[Path to the Move script for the proposal]:COMPILED_SCRIPT_PATH:_files' \
'--framework-git-rev=[Git revision or branch for the Aptos framework]:FRAMEWORK_GIT_REV: ' \
'--framework-local-dir=[Local framework directory for the Aptos framework]:FRAMEWORK_LOCAL_DIR:_files' \
'--bytecode-version=[]:BYTECODE_VERSION: ' \
'--compiler-version=[Specify the version of the compiler. Defaults to the latest stable compiler version (at least 2)]:COMPILER_VERSION: ' \
'--language-version=[Specify the language version to be supported. Defaults to the latest stable language version (at least 2)]:LANGUAGE_VERSION: ' \
'*--type-args=[TypeTag arguments separated by spaces]' \
'*--args=[Arguments combined with their type separated by spaces]' \
'(--args --type-args)--json-file=[JSON file specifying type arguments and arguments]:JSON_FILE:_files' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'--local[If this option is set, simulate the transaction locally]' \
'--benchmark[If this option is set, benchmark the transaction locally]' \
'--profile-gas[If this option is set, simulate the transaction locally using the debugger and generate flamegraphs that reflect the gas usage]' \
'--fold-unique-stack[If set, fold the call graph by unique stack traces before generating the gas profile report. This helps reduce the size of large reports by aggregating identical call paths]' \
'--skip-fetch-latest-git-deps[Skip pulling the latest git dependencies]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" \
":: :_aptos__multisig__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aptos-multisig-help-command-$line[1]:"
        case $line[1] in
            (approve)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(create)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(create-transaction)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(create-script-transaction)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(execute)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(execute-reject)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(execute-with-payload)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(execute-with-script-payload)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(reject)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(verify-proposal)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(verify-script-proposal)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(node)
_arguments "${_arguments_options[@]}" \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
":: :_aptos__node_commands" \
"*::: :->node" \
&& ret=0

    case $state in
    (node)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aptos-node-command-$line[1]:"
        case $line[1] in
            (analyze-validator-performance)
_arguments "${_arguments_options[@]}" \
'--start-epoch=[First epoch to analyze]:START_EPOCH: ' \
'--end-epoch=[Last epoch to analyze]:END_EPOCH: ' \
'--analyze-mode=[Analyze mode for the validator\: \[All, DetailedEpochTable, ValidatorHealthOverTime, NetworkHealthOverTime\]]:ANALYZE_MODE:((all\:"Print all other modes simultaneously"
detailed-epoch-table\:"For each epoch, print a detailed table containing performance of each of the validators"
validator-health-over-time\:"For each validator, summarize it'\''s performance in an epoch into one of the predefined reliability buckets, and prints it'\''s performance across epochs"
network-health-over-time\:"For each epoch summarize how many validators were in each of the reliability buckets"
max-tps\:"Max TPS"))' \
'*--pool-addresses=[Filter of stake pool addresses to analyze]' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(bootstrap-db)
_arguments "${_arguments_options[@]}" \
'--local-fs-dir=[Select the LocalFs backup storage type, which is used mainly for tests.]:LOCAL_FS_DIR: ' \
'--command-adapter-config=[Select the CommandAdapter backup storage type, which reads shell commands with which it communicates with either a local file system or a remote cloud storage. Compression or other filters can be added as part of the commands. See a sample config here\: https\://github.com/aptos-labs/aptos-networks/tree/main/testnet/backups ]:COMMAND_ADAPTER_CONFIG: ' \
'--metadata-cache-dir=[Metadata cache dir. If specified and shared across runs, metadata files in cache won'\''t be downloaded again from backup source, speeding up tool boot up significantly. Cache content can be messed up if used across the devnet, the testnet and the mainnet, hence it \[Defaults to temporary dir\].]:DIR:_files' \
'--ledger-history-start-version=[\[default to only start ledger history after selected state snapshot\] Ignore restoring the ledger history (transactions and events) before this version if possible, set 0 for full ledger history.]:LEDGER_HISTORY_START_VERSION: ' \
'(--dry-run)--target-db-dir=[]:DB_DIR:_files' \
'--target-version=[Content newer than this version will not be recovered to DB, defaulting to the largest version possible, meaning recover everything in the backups.]:TARGET_VERSION: ' \
'*--trust-waypoint=[(multiple) When provided, an epoch ending LedgerInfo at the waypoint version will be checked against the hash in the waypoint, but signatures on it are NOT checked. Use this for two purposes\: 1. set the genesis or the latest waypoint to confirm the backup is compatible. 2. set waypoints at versions where writeset transactions were used to overwrite the validator set, so that the signature check is skipped. N.B. LedgerInfos are verified only when restoring / verifying the epoch ending backups, i.e. they are NOT checked at all when doing one-shot restoring of the transaction and state backups.]:TRUST_WAYPOINT: ' \
'--ledger-db-max-open-files=[]:LEDGER_DB_MAX_OPEN_FILES: ' \
'--ledger-db-max-total-wal-size=[]:LEDGER_DB_MAX_TOTAL_WAL_SIZE: ' \
'--state-merkle-db-max-open-files=[]:STATE_MERKLE_DB_MAX_OPEN_FILES: ' \
'--state-merkle-db-max-total-wal-size=[]:STATE_MERKLE_DB_MAX_TOTAL_WAL_SIZE: ' \
'--state-kv-db-max-open-files=[]:STATE_KV_DB_MAX_OPEN_FILES: ' \
'--state-kv-db-max-total-wal-size=[]:STATE_KV_DB_MAX_TOTAL_WAL_SIZE: ' \
'--index-db-max-open-files=[]:INDEX_DB_MAX_OPEN_FILES: ' \
'--index-db-max-total-wal-size=[]:INDEX_DB_MAX_TOTAL_WAL_SIZE: ' \
'--max-background-jobs=[]:MAX_BACKGROUND_JOBS: ' \
'--block-cache-size=[]:BLOCK_CACHE_SIZE: ' \
'--concurrent-downloads=[Number of concurrent downloads from the backup storage. This covers the initial metadata downloads as well. Speeds up remote backup access. \[Defaults to number of CPUs\]]:CONCURRENT_DOWNLOADS: ' \
'--replay-concurrency-level=[concurrency_level used by the transaction executor, applicable when replaying transactions after a state snapshot. \[Defaults to number of CPUs\]]:REPLAY_CONCURRENCY_LEVEL: ' \
'--replay-all[Replay all transactions, don'\''t try to use a state snapshot.]' \
'--skip-epoch-endings[Skip restoring epoch ending info, used for debugging.]' \
'--dry-run[Dry run without writing data to DB.]' \
'--enable-storage-sharding[]' \
'--enable-state-indices[Restore the state indices when restore the snapshot]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(check-network-connectivity)
_arguments "${_arguments_options[@]}" \
'--address=[\`NetworkAddress\` of remote server interface. Examples include\: - \`/dns/example.com/tcp/6180/noise-ik/<x25519-pubkey>/handshake/1\` - \`/ip4/<ip-address>/tcp/6182/noise-ik/<x25519-pubkey>/handshake/0\`]:ADDRESS: ' \
'--chain-id=[\`ChainId\` of remote server. Examples include\: - Chain numbers, e.g., \`2\`, \`3\` and \`25\`. - Chain names, e.g., \`devnet\`, \`testnet\`, \`mainnet\` and \`testing\` (for local test networks)]:CHAIN_ID: ' \
'--network-id=[\`NetworkId\` of remote server interface]:NETWORK_ID: ' \
'--timeout-seconds=[Optional number of seconds to timeout attempting to connect to endpoint]:TIMEOUT_SECONDS: ' \
'--no-handshake[Skip handshake for network checking]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(get-performance)
_arguments "${_arguments_options[@]}" \
'--pool-address=[Address of the Staking pool]:POOL_ADDRESS: ' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(get-stake-pool)
_arguments "${_arguments_options[@]}" \
'--owner-address=[The owner address of the stake pool]:OWNER_ADDRESS: ' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(initialize-validator)
_arguments "${_arguments_options[@]}" \
'--sender-account=[Sender account address]:SENDER_ACCOUNT: ' \
'--private-key-file=[Signing Ed25519 private key file path]:PRIVATE_KEY_FILE:_files' \
'--private-key=[Signing Ed25519 private key]:PRIVATE_KEY: ' \
'--encoding=[Encoding of data as one of \[base64, bcs, hex\]]:ENCODING: ' \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'--gas-unit-price=[Gas multiplier per unit of gas]:GAS_UNIT_PRICE: ' \
'--max-gas=[Maximum amount of gas units to be used to send this transaction]:MAX_GAS: ' \
'--expiration-secs=[Number of seconds to expire the transaction]:EXPIRATION_SECS: ' \
'--session=[If this option is set, simulate the transaction using a local session]:SESSION:_files' \
'--replay-protection-type=[Replay protection mechanism to use when generating the transaction]:REPLAY_PROTECTION_TYPE:(nonce seqnum)' \
'--operator-config-file=[Operator Configuration file]:OPERATOR_CONFIG_FILE:_files' \
'--consensus-public-key=[Hex encoded Consensus public key]:CONSENSUS_PUBLIC_KEY: ' \
'--proof-of-possession=[Hex encoded Consensus proof of possession]:PROOF_OF_POSSESSION: ' \
'--validator-host=[Host and port pair for the validator]:VALIDATOR_HOST: ' \
'--validator-network-public-key=[Validator x25519 public network key]:VALIDATOR_NETWORK_PUBLIC_KEY: ' \
'--full-node-host=[Host and port pair for the fullnode]:FULL_NODE_HOST: ' \
'--full-node-network-public-key=[Full node x25519 public network key]:FULL_NODE_NETWORK_PUBLIC_KEY: ' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'--local[If this option is set, simulate the transaction locally]' \
'--benchmark[If this option is set, benchmark the transaction locally]' \
'--profile-gas[If this option is set, simulate the transaction locally using the debugger and generate flamegraphs that reflect the gas usage]' \
'--fold-unique-stack[If set, fold the call graph by unique stack traces before generating the gas profile report. This helps reduce the size of large reports by aggregating identical call paths]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(join-validator-set)
_arguments "${_arguments_options[@]}" \
'--sender-account=[Sender account address]:SENDER_ACCOUNT: ' \
'--private-key-file=[Signing Ed25519 private key file path]:PRIVATE_KEY_FILE:_files' \
'--private-key=[Signing Ed25519 private key]:PRIVATE_KEY: ' \
'--encoding=[Encoding of data as one of \[base64, bcs, hex\]]:ENCODING: ' \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'--gas-unit-price=[Gas multiplier per unit of gas]:GAS_UNIT_PRICE: ' \
'--max-gas=[Maximum amount of gas units to be used to send this transaction]:MAX_GAS: ' \
'--expiration-secs=[Number of seconds to expire the transaction]:EXPIRATION_SECS: ' \
'--session=[If this option is set, simulate the transaction using a local session]:SESSION:_files' \
'--replay-protection-type=[Replay protection mechanism to use when generating the transaction]:REPLAY_PROTECTION_TYPE:(nonce seqnum)' \
'--pool-address=[Address of the Staking pool]:POOL_ADDRESS: ' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'--local[If this option is set, simulate the transaction locally]' \
'--benchmark[If this option is set, benchmark the transaction locally]' \
'--profile-gas[If this option is set, simulate the transaction locally using the debugger and generate flamegraphs that reflect the gas usage]' \
'--fold-unique-stack[If set, fold the call graph by unique stack traces before generating the gas profile report. This helps reduce the size of large reports by aggregating identical call paths]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(leave-validator-set)
_arguments "${_arguments_options[@]}" \
'--sender-account=[Sender account address]:SENDER_ACCOUNT: ' \
'--private-key-file=[Signing Ed25519 private key file path]:PRIVATE_KEY_FILE:_files' \
'--private-key=[Signing Ed25519 private key]:PRIVATE_KEY: ' \
'--encoding=[Encoding of data as one of \[base64, bcs, hex\]]:ENCODING: ' \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'--gas-unit-price=[Gas multiplier per unit of gas]:GAS_UNIT_PRICE: ' \
'--max-gas=[Maximum amount of gas units to be used to send this transaction]:MAX_GAS: ' \
'--expiration-secs=[Number of seconds to expire the transaction]:EXPIRATION_SECS: ' \
'--session=[If this option is set, simulate the transaction using a local session]:SESSION:_files' \
'--replay-protection-type=[Replay protection mechanism to use when generating the transaction]:REPLAY_PROTECTION_TYPE:(nonce seqnum)' \
'--pool-address=[Address of the Staking pool]:POOL_ADDRESS: ' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'--local[If this option is set, simulate the transaction locally]' \
'--benchmark[If this option is set, benchmark the transaction locally]' \
'--profile-gas[If this option is set, simulate the transaction locally using the debugger and generate flamegraphs that reflect the gas usage]' \
'--fold-unique-stack[If set, fold the call graph by unique stack traces before generating the gas profile report. This helps reduce the size of large reports by aggregating identical call paths]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(show-epoch-info)
_arguments "${_arguments_options[@]}" \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(show-validator-config)
_arguments "${_arguments_options[@]}" \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'--pool-address=[Address of the Staking pool]:POOL_ADDRESS: ' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(show-validator-set)
_arguments "${_arguments_options[@]}" \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(show-validator-stake)
_arguments "${_arguments_options[@]}" \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'--pool-address=[Address of the Staking pool]:POOL_ADDRESS: ' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(run-localnet)
_arguments "${_arguments_options[@]}" \
'--test-dir=[The directory to save all files for the node]:TEST_DIR:_files' \
'--config-path=[An overridable config template for the test node]:CONFIG_PATH:_files' \
'(--config-path)--test-config-override=[Path to node configuration file override for local test mode]:TEST_CONFIG_OVERRIDE:_files' \
'--seed=[Random seed for key generation in test mode]:SEED: ' \
'--txn-stream-port=[The port at which to expose the grpc transaction stream]:TXN_STREAM_PORT: ' \
'--faucet-port=[Port to run the faucet on]:FAUCET_PORT: ' \
'--postgres-database=[This is the database to connect to, both when --use-host-postgres is set and when it is not (when postgres is running in a container)]:POSTGRES_DATABASE: ' \
'--postgres-user=[The user to connect as. If --use-host-postgres is set, we expect this user to exist already]:POSTGRES_USER: ' \
'--postgres-port=[This is the port to use for the postgres instance when --use-host-postgres is not set (i.e. we are running a postgres instance in a container)]:POSTGRES_PORT: ' \
'--host-postgres-host=[If --use-host-postgres is set, you can use this to change the host we try to connect to]:HOST_POSTGRES_HOST: ' \
'--host-postgres-port=[When --use-host-postgres is set, this is the port to connect to]:HOST_POSTGRES_PORT: ' \
'--host-postgres-password=[When --use-host-postgres is set, this is the password to connect with]:HOST_POSTGRES_PASSWORD: ' \
'*--processors=[The value of this flag determines which processors we will run if --with-indexer-api is set. Note that some processors are not supported in the localnet (e.g. ANS). If you try to set those an error will be thrown immediately]:PROCESSORS:(account_restoration_processor account_transactions_processor ans_processor default_processor fungible_asset_processor user_transaction_processor stake_processor token_v2_processor objects_processor monitoring_processor gas_fee_processor parquet_default_processor parquet_objects_processor parquet_user_transaction_processor parquet_events_processor parquet_ans_processor parquet_fungible_asset_processor parquet_transaction_metadata_processor parquet_account_transactions_processor parquet_token_v2_processor parquet_stake_processor)' \
'--indexer-api-port=[The port at which to run the indexer API]:INDEXER_API_PORT: ' \
'--existing-hasura-url=[If set we will assume a Hasura instance is running at the given URL rather than running our own]:EXISTING_HASURA_URL: ' \
'--ready-server-listen-port=[The port to run the ready server. This exposes an endpoint at \`/\` that you can use to check if the entire localnet is ready]:READY_SERVER_LISTEN_PORT: ' \
'--bind-to=[By default all services running on the host system will be bound to 127.0.0.1, unless you'\''re running the CLI inside a container, in which case it will run them on 0.0.0.0. You can use this flag to override this behavior in both cases]:BIND_TO: ' \
'--docker-network=[If set, use an existing Docker network instead of creating a new one]:DOCKER_NETWORK: ' \
'-f[Clean the state and start with a new chain at genesis]' \
'--force-restart[Clean the state and start with a new chain at genesis]' \
'--performance[Optimize the node for higher performance]' \
'--no-txn-stream[Do not run a transaction stream service alongside the node]' \
'--use-internal-fullnode-data-interface[Use the internal FullnodeData gRPC interface instead of the RawData (data service) interface for the transaction stream. This is needed for example when running the indexer-grpc-manager stack against the localnet, since the manager expects the FullnodeData interface. If you aren'\''t sure if you need to enable this, you almost certainly don'\''t]' \
'--no-node[If set we won'\''t run the node at all]' \
'--no-faucet[Do not run a faucet alongside the node]' \
'--with-faucet[This does nothing, we already run a faucet by default. We only keep this here for backwards compatibility with tests. We will remove this once the commit that added --no-faucet makes its way to the testnet branch]' \
'--do-not-delegate[Disable the delegation of faucet minting to a dedicated account]' \
'--use-host-postgres[If set, connect to the postgres instance specified by the rest of the \`postgres_args\` (e.g. --host-postgres-port) rather than running an instance with Docker. This can be used to connect to an existing postgres instance running on the host system]' \
'(--no-txn-stream)--with-indexer-api[If set, we will run a postgres DB using Docker (unless --use-host-postgres is set), run the standard set of indexer processors (see --processors), and configure them to write to this DB, and run an API that lets you access the data they write to storage. This is opt in because it requires Docker to be installed on the host system]' \
'--skip-metadata-apply[If set, we will not try to apply the Hasura metadata]' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'--log-to-stdout[By default, tracing output goes to files. With this set, it goes to stdout]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(update-consensus-key)
_arguments "${_arguments_options[@]}" \
'--sender-account=[Sender account address]:SENDER_ACCOUNT: ' \
'--private-key-file=[Signing Ed25519 private key file path]:PRIVATE_KEY_FILE:_files' \
'--private-key=[Signing Ed25519 private key]:PRIVATE_KEY: ' \
'--encoding=[Encoding of data as one of \[base64, bcs, hex\]]:ENCODING: ' \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'--gas-unit-price=[Gas multiplier per unit of gas]:GAS_UNIT_PRICE: ' \
'--max-gas=[Maximum amount of gas units to be used to send this transaction]:MAX_GAS: ' \
'--expiration-secs=[Number of seconds to expire the transaction]:EXPIRATION_SECS: ' \
'--session=[If this option is set, simulate the transaction using a local session]:SESSION:_files' \
'--replay-protection-type=[Replay protection mechanism to use when generating the transaction]:REPLAY_PROTECTION_TYPE:(nonce seqnum)' \
'--pool-address=[Address of the Staking pool]:POOL_ADDRESS: ' \
'--operator-config-file=[Operator Configuration file]:OPERATOR_CONFIG_FILE:_files' \
'--consensus-public-key=[Hex encoded Consensus public key]:CONSENSUS_PUBLIC_KEY: ' \
'--proof-of-possession=[Hex encoded Consensus proof of possession]:PROOF_OF_POSSESSION: ' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'--local[If this option is set, simulate the transaction locally]' \
'--benchmark[If this option is set, benchmark the transaction locally]' \
'--profile-gas[If this option is set, simulate the transaction locally using the debugger and generate flamegraphs that reflect the gas usage]' \
'--fold-unique-stack[If set, fold the call graph by unique stack traces before generating the gas profile report. This helps reduce the size of large reports by aggregating identical call paths]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(update-validator-network-addresses)
_arguments "${_arguments_options[@]}" \
'--sender-account=[Sender account address]:SENDER_ACCOUNT: ' \
'--private-key-file=[Signing Ed25519 private key file path]:PRIVATE_KEY_FILE:_files' \
'--private-key=[Signing Ed25519 private key]:PRIVATE_KEY: ' \
'--encoding=[Encoding of data as one of \[base64, bcs, hex\]]:ENCODING: ' \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'--gas-unit-price=[Gas multiplier per unit of gas]:GAS_UNIT_PRICE: ' \
'--max-gas=[Maximum amount of gas units to be used to send this transaction]:MAX_GAS: ' \
'--expiration-secs=[Number of seconds to expire the transaction]:EXPIRATION_SECS: ' \
'--session=[If this option is set, simulate the transaction using a local session]:SESSION:_files' \
'--replay-protection-type=[Replay protection mechanism to use when generating the transaction]:REPLAY_PROTECTION_TYPE:(nonce seqnum)' \
'--pool-address=[Address of the Staking pool]:POOL_ADDRESS: ' \
'--operator-config-file=[Operator Configuration file]:OPERATOR_CONFIG_FILE:_files' \
'--validator-host=[Host and port pair for the validator]:VALIDATOR_HOST: ' \
'--validator-network-public-key=[Validator x25519 public network key]:VALIDATOR_NETWORK_PUBLIC_KEY: ' \
'--full-node-host=[Host and port pair for the fullnode]:FULL_NODE_HOST: ' \
'--full-node-network-public-key=[Full node x25519 public network key]:FULL_NODE_NETWORK_PUBLIC_KEY: ' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'--local[If this option is set, simulate the transaction locally]' \
'--benchmark[If this option is set, benchmark the transaction locally]' \
'--profile-gas[If this option is set, simulate the transaction locally using the debugger and generate flamegraphs that reflect the gas usage]' \
'--fold-unique-stack[If set, fold the call graph by unique stack traces before generating the gas profile report. This helps reduce the size of large reports by aggregating identical call paths]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(verify-digest-key)
_arguments "${_arguments_options[@]}" \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
':file -- Path to the BCS-serialized DigestKey blob file:_files' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" \
":: :_aptos__node__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aptos-node-help-command-$line[1]:"
        case $line[1] in
            (analyze-validator-performance)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(bootstrap-db)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(check-network-connectivity)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(get-performance)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(get-stake-pool)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(initialize-validator)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(join-validator-set)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(leave-validator-set)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(show-epoch-info)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(show-validator-config)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(show-validator-set)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(show-validator-stake)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(run-localnet)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(update-consensus-key)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(update-validator-network-addresses)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(verify-digest-key)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(stake)
_arguments "${_arguments_options[@]}" \
'-h[Print help]' \
'--help[Print help]' \
'-V[Print version]' \
'--version[Print version]' \
":: :_aptos__stake_commands" \
"*::: :->stake" \
&& ret=0

    case $state in
    (stake)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aptos-stake-command-$line[1]:"
        case $line[1] in
            (add-stake)
_arguments "${_arguments_options[@]}" \
'--amount=[Amount of Octas (10^-8 APT) to add to stake]:AMOUNT: ' \
'--sender-account=[Sender account address]:SENDER_ACCOUNT: ' \
'--private-key-file=[Signing Ed25519 private key file path]:PRIVATE_KEY_FILE:_files' \
'--private-key=[Signing Ed25519 private key]:PRIVATE_KEY: ' \
'--encoding=[Encoding of data as one of \[base64, bcs, hex\]]:ENCODING: ' \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'--gas-unit-price=[Gas multiplier per unit of gas]:GAS_UNIT_PRICE: ' \
'--max-gas=[Maximum amount of gas units to be used to send this transaction]:MAX_GAS: ' \
'--expiration-secs=[Number of seconds to expire the transaction]:EXPIRATION_SECS: ' \
'--session=[If this option is set, simulate the transaction using a local session]:SESSION:_files' \
'--replay-protection-type=[Replay protection mechanism to use when generating the transaction]:REPLAY_PROTECTION_TYPE:(nonce seqnum)' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'--local[If this option is set, simulate the transaction locally]' \
'--benchmark[If this option is set, benchmark the transaction locally]' \
'--profile-gas[If this option is set, simulate the transaction locally using the debugger and generate flamegraphs that reflect the gas usage]' \
'--fold-unique-stack[If set, fold the call graph by unique stack traces before generating the gas profile report. This helps reduce the size of large reports by aggregating identical call paths]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(create-staking-contract)
_arguments "${_arguments_options[@]}" \
'--operator=[Account Address of operator]:OPERATOR: ' \
'--voter=[Account Address of delegated voter]:VOTER: ' \
'--amount=[Amount to create the staking contract with]:AMOUNT: ' \
'--commission-percentage=[Percentage of accumulated rewards to pay the operator as commission]:COMMISSION_PERCENTAGE: ' \
'--sender-account=[Sender account address]:SENDER_ACCOUNT: ' \
'--private-key-file=[Signing Ed25519 private key file path]:PRIVATE_KEY_FILE:_files' \
'--private-key=[Signing Ed25519 private key]:PRIVATE_KEY: ' \
'--encoding=[Encoding of data as one of \[base64, bcs, hex\]]:ENCODING: ' \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'--gas-unit-price=[Gas multiplier per unit of gas]:GAS_UNIT_PRICE: ' \
'--max-gas=[Maximum amount of gas units to be used to send this transaction]:MAX_GAS: ' \
'--expiration-secs=[Number of seconds to expire the transaction]:EXPIRATION_SECS: ' \
'--session=[If this option is set, simulate the transaction using a local session]:SESSION:_files' \
'--replay-protection-type=[Replay protection mechanism to use when generating the transaction]:REPLAY_PROTECTION_TYPE:(nonce seqnum)' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'--local[If this option is set, simulate the transaction locally]' \
'--benchmark[If this option is set, benchmark the transaction locally]' \
'--profile-gas[If this option is set, simulate the transaction locally using the debugger and generate flamegraphs that reflect the gas usage]' \
'--fold-unique-stack[If set, fold the call graph by unique stack traces before generating the gas profile report. This helps reduce the size of large reports by aggregating identical call paths]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(distribute-vested-coins)
_arguments "${_arguments_options[@]}" \
'--admin-address=[Address of the vesting contract'\''s admin]:ADMIN_ADDRESS: ' \
'--sender-account=[Sender account address]:SENDER_ACCOUNT: ' \
'--private-key-file=[Signing Ed25519 private key file path]:PRIVATE_KEY_FILE:_files' \
'--private-key=[Signing Ed25519 private key]:PRIVATE_KEY: ' \
'--encoding=[Encoding of data as one of \[base64, bcs, hex\]]:ENCODING: ' \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'--gas-unit-price=[Gas multiplier per unit of gas]:GAS_UNIT_PRICE: ' \
'--max-gas=[Maximum amount of gas units to be used to send this transaction]:MAX_GAS: ' \
'--expiration-secs=[Number of seconds to expire the transaction]:EXPIRATION_SECS: ' \
'--session=[If this option is set, simulate the transaction using a local session]:SESSION:_files' \
'--replay-protection-type=[Replay protection mechanism to use when generating the transaction]:REPLAY_PROTECTION_TYPE:(nonce seqnum)' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'--local[If this option is set, simulate the transaction locally]' \
'--benchmark[If this option is set, benchmark the transaction locally]' \
'--profile-gas[If this option is set, simulate the transaction locally using the debugger and generate flamegraphs that reflect the gas usage]' \
'--fold-unique-stack[If set, fold the call graph by unique stack traces before generating the gas profile report. This helps reduce the size of large reports by aggregating identical call paths]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(increase-lockup)
_arguments "${_arguments_options[@]}" \
'--sender-account=[Sender account address]:SENDER_ACCOUNT: ' \
'--private-key-file=[Signing Ed25519 private key file path]:PRIVATE_KEY_FILE:_files' \
'--private-key=[Signing Ed25519 private key]:PRIVATE_KEY: ' \
'--encoding=[Encoding of data as one of \[base64, bcs, hex\]]:ENCODING: ' \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'--gas-unit-price=[Gas multiplier per unit of gas]:GAS_UNIT_PRICE: ' \
'--max-gas=[Maximum amount of gas units to be used to send this transaction]:MAX_GAS: ' \
'--expiration-secs=[Number of seconds to expire the transaction]:EXPIRATION_SECS: ' \
'--session=[If this option is set, simulate the transaction using a local session]:SESSION:_files' \
'--replay-protection-type=[Replay protection mechanism to use when generating the transaction]:REPLAY_PROTECTION_TYPE:(nonce seqnum)' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'--local[If this option is set, simulate the transaction locally]' \
'--benchmark[If this option is set, benchmark the transaction locally]' \
'--profile-gas[If this option is set, simulate the transaction locally using the debugger and generate flamegraphs that reflect the gas usage]' \
'--fold-unique-stack[If set, fold the call graph by unique stack traces before generating the gas profile report. This helps reduce the size of large reports by aggregating identical call paths]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(initialize-stake-owner)
_arguments "${_arguments_options[@]}" \
'--initial-stake-amount=[Initial amount of Octas (10^-8 APT) to be staked]:INITIAL_STAKE_AMOUNT: ' \
'--operator-address=[Account Address of delegated operator]:OPERATOR_ADDRESS: ' \
'--voter-address=[Account address of delegated voter]:VOTER_ADDRESS: ' \
'--sender-account=[Sender account address]:SENDER_ACCOUNT: ' \
'--private-key-file=[Signing Ed25519 private key file path]:PRIVATE_KEY_FILE:_files' \
'--private-key=[Signing Ed25519 private key]:PRIVATE_KEY: ' \
'--encoding=[Encoding of data as one of \[base64, bcs, hex\]]:ENCODING: ' \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'--gas-unit-price=[Gas multiplier per unit of gas]:GAS_UNIT_PRICE: ' \
'--max-gas=[Maximum amount of gas units to be used to send this transaction]:MAX_GAS: ' \
'--expiration-secs=[Number of seconds to expire the transaction]:EXPIRATION_SECS: ' \
'--session=[If this option is set, simulate the transaction using a local session]:SESSION:_files' \
'--replay-protection-type=[Replay protection mechanism to use when generating the transaction]:REPLAY_PROTECTION_TYPE:(nonce seqnum)' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'--local[If this option is set, simulate the transaction locally]' \
'--benchmark[If this option is set, benchmark the transaction locally]' \
'--profile-gas[If this option is set, simulate the transaction locally using the debugger and generate flamegraphs that reflect the gas usage]' \
'--fold-unique-stack[If set, fold the call graph by unique stack traces before generating the gas profile report. This helps reduce the size of large reports by aggregating identical call paths]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(request-commission)
_arguments "${_arguments_options[@]}" \
'--owner-address=[Address of the owner of the stake pool]:OWNER_ADDRESS: ' \
'--operator-address=[Address of the operator of the stake pool]:OPERATOR_ADDRESS: ' \
'--sender-account=[Sender account address]:SENDER_ACCOUNT: ' \
'--private-key-file=[Signing Ed25519 private key file path]:PRIVATE_KEY_FILE:_files' \
'--private-key=[Signing Ed25519 private key]:PRIVATE_KEY: ' \
'--encoding=[Encoding of data as one of \[base64, bcs, hex\]]:ENCODING: ' \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'--gas-unit-price=[Gas multiplier per unit of gas]:GAS_UNIT_PRICE: ' \
'--max-gas=[Maximum amount of gas units to be used to send this transaction]:MAX_GAS: ' \
'--expiration-secs=[Number of seconds to expire the transaction]:EXPIRATION_SECS: ' \
'--session=[If this option is set, simulate the transaction using a local session]:SESSION:_files' \
'--replay-protection-type=[Replay protection mechanism to use when generating the transaction]:REPLAY_PROTECTION_TYPE:(nonce seqnum)' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'--local[If this option is set, simulate the transaction locally]' \
'--benchmark[If this option is set, benchmark the transaction locally]' \
'--profile-gas[If this option is set, simulate the transaction locally using the debugger and generate flamegraphs that reflect the gas usage]' \
'--fold-unique-stack[If set, fold the call graph by unique stack traces before generating the gas profile report. This helps reduce the size of large reports by aggregating identical call paths]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(set-delegated-voter)
_arguments "${_arguments_options[@]}" \
'--voter-address=[Account Address of delegated voter]:VOTER_ADDRESS: ' \
'--sender-account=[Sender account address]:SENDER_ACCOUNT: ' \
'--private-key-file=[Signing Ed25519 private key file path]:PRIVATE_KEY_FILE:_files' \
'--private-key=[Signing Ed25519 private key]:PRIVATE_KEY: ' \
'--encoding=[Encoding of data as one of \[base64, bcs, hex\]]:ENCODING: ' \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'--gas-unit-price=[Gas multiplier per unit of gas]:GAS_UNIT_PRICE: ' \
'--max-gas=[Maximum amount of gas units to be used to send this transaction]:MAX_GAS: ' \
'--expiration-secs=[Number of seconds to expire the transaction]:EXPIRATION_SECS: ' \
'--session=[If this option is set, simulate the transaction using a local session]:SESSION:_files' \
'--replay-protection-type=[Replay protection mechanism to use when generating the transaction]:REPLAY_PROTECTION_TYPE:(nonce seqnum)' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'--local[If this option is set, simulate the transaction locally]' \
'--benchmark[If this option is set, benchmark the transaction locally]' \
'--profile-gas[If this option is set, simulate the transaction locally using the debugger and generate flamegraphs that reflect the gas usage]' \
'--fold-unique-stack[If set, fold the call graph by unique stack traces before generating the gas profile report. This helps reduce the size of large reports by aggregating identical call paths]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(set-operator)
_arguments "${_arguments_options[@]}" \
'--operator-address=[Account Address of delegated operator]:OPERATOR_ADDRESS: ' \
'--sender-account=[Sender account address]:SENDER_ACCOUNT: ' \
'--private-key-file=[Signing Ed25519 private key file path]:PRIVATE_KEY_FILE:_files' \
'--private-key=[Signing Ed25519 private key]:PRIVATE_KEY: ' \
'--encoding=[Encoding of data as one of \[base64, bcs, hex\]]:ENCODING: ' \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'--gas-unit-price=[Gas multiplier per unit of gas]:GAS_UNIT_PRICE: ' \
'--max-gas=[Maximum amount of gas units to be used to send this transaction]:MAX_GAS: ' \
'--expiration-secs=[Number of seconds to expire the transaction]:EXPIRATION_SECS: ' \
'--session=[If this option is set, simulate the transaction using a local session]:SESSION:_files' \
'--replay-protection-type=[Replay protection mechanism to use when generating the transaction]:REPLAY_PROTECTION_TYPE:(nonce seqnum)' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'--local[If this option is set, simulate the transaction locally]' \
'--benchmark[If this option is set, benchmark the transaction locally]' \
'--profile-gas[If this option is set, simulate the transaction locally using the debugger and generate flamegraphs that reflect the gas usage]' \
'--fold-unique-stack[If set, fold the call graph by unique stack traces before generating the gas profile report. This helps reduce the size of large reports by aggregating identical call paths]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(unlock-stake)
_arguments "${_arguments_options[@]}" \
'--amount=[Amount of Octas (10^-8 APT) to unlock]:AMOUNT: ' \
'--sender-account=[Sender account address]:SENDER_ACCOUNT: ' \
'--private-key-file=[Signing Ed25519 private key file path]:PRIVATE_KEY_FILE:_files' \
'--private-key=[Signing Ed25519 private key]:PRIVATE_KEY: ' \
'--encoding=[Encoding of data as one of \[base64, bcs, hex\]]:ENCODING: ' \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'--gas-unit-price=[Gas multiplier per unit of gas]:GAS_UNIT_PRICE: ' \
'--max-gas=[Maximum amount of gas units to be used to send this transaction]:MAX_GAS: ' \
'--expiration-secs=[Number of seconds to expire the transaction]:EXPIRATION_SECS: ' \
'--session=[If this option is set, simulate the transaction using a local session]:SESSION:_files' \
'--replay-protection-type=[Replay protection mechanism to use when generating the transaction]:REPLAY_PROTECTION_TYPE:(nonce seqnum)' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'--local[If this option is set, simulate the transaction locally]' \
'--benchmark[If this option is set, benchmark the transaction locally]' \
'--profile-gas[If this option is set, simulate the transaction locally using the debugger and generate flamegraphs that reflect the gas usage]' \
'--fold-unique-stack[If set, fold the call graph by unique stack traces before generating the gas profile report. This helps reduce the size of large reports by aggregating identical call paths]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(unlock-vested-coins)
_arguments "${_arguments_options[@]}" \
'--admin-address=[Address of the vesting contract'\''s admin]:ADMIN_ADDRESS: ' \
'--sender-account=[Sender account address]:SENDER_ACCOUNT: ' \
'--private-key-file=[Signing Ed25519 private key file path]:PRIVATE_KEY_FILE:_files' \
'--private-key=[Signing Ed25519 private key]:PRIVATE_KEY: ' \
'--encoding=[Encoding of data as one of \[base64, bcs, hex\]]:ENCODING: ' \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'--gas-unit-price=[Gas multiplier per unit of gas]:GAS_UNIT_PRICE: ' \
'--max-gas=[Maximum amount of gas units to be used to send this transaction]:MAX_GAS: ' \
'--expiration-secs=[Number of seconds to expire the transaction]:EXPIRATION_SECS: ' \
'--session=[If this option is set, simulate the transaction using a local session]:SESSION:_files' \
'--replay-protection-type=[Replay protection mechanism to use when generating the transaction]:REPLAY_PROTECTION_TYPE:(nonce seqnum)' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'--local[If this option is set, simulate the transaction locally]' \
'--benchmark[If this option is set, benchmark the transaction locally]' \
'--profile-gas[If this option is set, simulate the transaction locally using the debugger and generate flamegraphs that reflect the gas usage]' \
'--fold-unique-stack[If set, fold the call graph by unique stack traces before generating the gas profile report. This helps reduce the size of large reports by aggregating identical call paths]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(withdraw-stake)
_arguments "${_arguments_options[@]}" \
'--amount=[Amount of Octas (10^-8 APT) to withdraw. This only applies to stake pools owned directly by the owner account, instead of via a staking contract. In the latter case, when withdrawal is issued, all coins are distributed]:AMOUNT: ' \
'--sender-account=[Sender account address]:SENDER_ACCOUNT: ' \
'--private-key-file=[Signing Ed25519 private key file path]:PRIVATE_KEY_FILE:_files' \
'--private-key=[Signing Ed25519 private key]:PRIVATE_KEY: ' \
'--encoding=[Encoding of data as one of \[base64, bcs, hex\]]:ENCODING: ' \
'--profile=[Profile to use from the CLI config]:PROFILE: ' \
'--url=[URL to a fullnode on the network]:URL: ' \
'--connection-timeout-secs=[Connection timeout in seconds, used for the REST endpoint of the fullnode]:CONNECTION_TIMEOUT_SECS: ' \
'--node-api-key=[Key to use for ratelimiting purposes with the node API. This value will be used as \`Authorization\: Bearer <key>\`. You may also set this with the NODE_API_KEY environment variable]:NODE_API_KEY: ' \
'--gas-unit-price=[Gas multiplier per unit of gas]:GAS_UNIT_PRICE: ' \
'--max-gas=[Maximum amount of gas units to be used to send this transaction]:MAX_GAS: ' \
'--expiration-secs=[Number of seconds to expire the transaction]:EXPIRATION_SECS: ' \
'--session=[If this option is set, simulate the transaction using a local session]:SESSION:_files' \
'--replay-protection-type=[Replay protection mechanism to use when generating the transaction]:REPLAY_PROTECTION_TYPE:(nonce seqnum)' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'--local[If this option is set, simulate the transaction locally]' \
'--benchmark[If this option is set, benchmark the transaction locally]' \
'--profile-gas[If this option is set, simulate the transaction locally using the debugger and generate flamegraphs that reflect the gas usage]' \
'--fold-unique-stack[If set, fold the call graph by unique stack traces before generating the gas profile report. This helps reduce the size of large reports by aggregating identical call paths]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" \
":: :_aptos__stake__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aptos-stake-help-command-$line[1]:"
        case $line[1] in
            (add-stake)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(create-staking-contract)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(distribute-vested-coins)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(increase-lockup)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(initialize-stake-owner)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(request-commission)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(set-delegated-voter)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(set-operator)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(unlock-stake)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(unlock-vested-coins)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(withdraw-stake)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(update)
_arguments "${_arguments_options[@]}" \
'-h[Print help]' \
'--help[Print help]' \
'-V[Print version]' \
'--version[Print version]' \
":: :_aptos__update_commands" \
"*::: :->update" \
&& ret=0

    case $state in
    (update)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aptos-update-command-$line[1]:"
        case $line[1] in
            (aptos)
_arguments "${_arguments_options[@]}" \
'--repo-owner=[The owner of the repo to download the binary from]:REPO_OWNER: ' \
'--repo-name=[The name of the repo to download the binary from]:REPO_NAME: ' \
'--check[If set, it will check if there are updates for the tool, but not actually update]' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(movefmt)
_arguments "${_arguments_options[@]}" \
'--repo-owner=[The owner of the repo to download the binary from]:REPO_OWNER: ' \
'--repo-name=[The name of the repo to download the binary from]:REPO_NAME: ' \
'--target-version=[The version to install, e.g. 1.0.1. Use with caution, the default value is a version that is tested for compatibility with the version of the CLI you are using]:TARGET_VERSION: ' \
'--install-dir=[Where to install the binary. Make sure this directory is on your PATH. If not given we will put it in a standard location for your OS that the CLI will use later when the tool is required]:INSTALL_DIR:_files' \
'--check[If set, it will check if there are updates for the tool, but not actually update]' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'-h[Print help]' \
'--help[Print help]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(move-mutation-test)
_arguments "${_arguments_options[@]}" \
'--repo-owner=[The owner of the repo to download the binary from]:REPO_OWNER: ' \
'--repo-name=[The name of the repo to download the binary from]:REPO_NAME: ' \
'--target-version=[The version to install, e.g. 1.0.0. Use with caution, the default value is a version that is tested for compatibility with the version of the CLI you are using]:TARGET_VERSION: ' \
'--install-dir=[Where to install the binary. Make sure this directory is on your PATH. If not given we will put it in a standard location for your OS that the CLI will use later when the tool is required]:INSTALL_DIR:_files' \
'--check[If set, it will check if there are updates for the tool, but not actually update]' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'-h[Print help]' \
'--help[Print help]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(prover-dependencies)
_arguments "${_arguments_options[@]}" \
'--install-dir=[Where to install binaries of boogie, z3 and cvc5. If not given we will put it in a standard location for your OS]:INSTALL_DIR:_files' \
'-y[Assume yes for all yes/no prompts]' \
'--assume-yes[Assume yes for all yes/no prompts]' \
'--assume-no[Assume no for all yes/no prompts]' \
'-h[Print help]' \
'--help[Print help]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" \
":: :_aptos__update__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aptos-update-help-command-$line[1]:"
        case $line[1] in
            (aptos)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(movefmt)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(move-mutation-test)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(prover-dependencies)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(workspace)
_arguments "${_arguments_options[@]}" \
'-h[Print help]' \
'--help[Print help]' \
'-V[Print version]' \
'--version[Print version]' \
":: :_aptos__workspace_commands" \
"*::: :->workspace" \
&& ret=0

    case $state in
    (workspace)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aptos-workspace-command-$line[1]:"
        case $line[1] in
            (run)
_arguments "${_arguments_options[@]}" \
'--timeout=[]:TIMEOUT: ' \
'-h[Print help]' \
'--help[Print help]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" \
":: :_aptos__workspace__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aptos-workspace-help-command-$line[1]:"
        case $line[1] in
            (run)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(help)
_arguments "${_arguments_options[@]}" \
":: :_aptos__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aptos-help-command-$line[1]:"
        case $line[1] in
            (account)
_arguments "${_arguments_options[@]}" \
":: :_aptos__help__account_commands" \
"*::: :->account" \
&& ret=0

    case $state in
    (account)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aptos-help-account-command-$line[1]:"
        case $line[1] in
            (create)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(create-resource-account)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(derive-resource-account-address)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(fund-with-faucet)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(balance)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(list)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(lookup-address)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(rotate-key)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(transfer)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
        esac
    ;;
esac
;;
(config)
_arguments "${_arguments_options[@]}" \
":: :_aptos__help__config_commands" \
"*::: :->config" \
&& ret=0

    case $state in
    (config)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aptos-help-config-command-$line[1]:"
        case $line[1] in
            (generate-shell-completions)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(show-global-config)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(set-global-config)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(show-profiles)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(show-private-key)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(rename-profile)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(delete-profile)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
        esac
    ;;
esac
;;
(genesis)
_arguments "${_arguments_options[@]}" \
":: :_aptos__help__genesis_commands" \
"*::: :->genesis" \
&& ret=0

    case $state in
    (genesis)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aptos-help-genesis-command-$line[1]:"
        case $line[1] in
            (generate-admin-write-set)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(generate-genesis)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(get-pool-addresses)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(generate-keys)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(generate-layout-template)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(setup-git)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(set-validator-configuration)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
        esac
    ;;
esac
;;
(governance)
_arguments "${_arguments_options[@]}" \
":: :_aptos__help__governance_commands" \
"*::: :->governance" \
&& ret=0

    case $state in
    (governance)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aptos-help-governance-command-$line[1]:"
        case $line[1] in
            (propose)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(vote)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(show-proposal)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(list-proposals)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(verify-proposal)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(execute-proposal)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(generate-upgrade-proposal)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(approve-execution-hash)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(delegation-pool)
_arguments "${_arguments_options[@]}" \
":: :_aptos__help__governance__delegation-pool_commands" \
"*::: :->delegation-pool" \
&& ret=0

    case $state in
    (delegation-pool)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aptos-help-governance-delegation-pool-command-$line[1]:"
        case $line[1] in
            (propose)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(vote)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(info)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(init)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(key)
_arguments "${_arguments_options[@]}" \
":: :_aptos__help__key_commands" \
"*::: :->key" \
&& ret=0

    case $state in
    (key)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aptos-help-key-command-$line[1]:"
        case $line[1] in
            (generate)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(extract-public-key)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(extract-peer)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
        esac
    ;;
esac
;;
(move)
_arguments "${_arguments_options[@]}" \
":: :_aptos__help__move_commands" \
"*::: :->move" \
&& ret=0

    case $state in
    (move)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aptos-help-move-command-$line[1]:"
        case $line[1] in
            (build-publish-payload)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(clean)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(clear-staging-area)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(compile)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(compile-script)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(coverage)
_arguments "${_arguments_options[@]}" \
":: :_aptos__help__move__coverage_commands" \
"*::: :->coverage" \
&& ret=0

    case $state in
    (coverage)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aptos-help-move-coverage-command-$line[1]:"
        case $line[1] in
            (summary)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(source)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(bytecode)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
        esac
    ;;
esac
;;
(create-object-and-publish-package)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(upgrade-object-package)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(deploy-object)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(upgrade-object)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(create-resource-account-and-publish-package)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(disassemble)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(decompile)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(document)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(download)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(init)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(lint)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(list)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(prove)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(publish)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(run)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(run-script)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(simulate)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(show)
_arguments "${_arguments_options[@]}" \
":: :_aptos__help__move__show_commands" \
"*::: :->show" \
&& ret=0

    case $state in
    (show)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aptos-help-move-show-command-$line[1]:"
        case $line[1] in
            (abi)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
        esac
    ;;
esac
;;
(test)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(verify-package)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(view)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(replay)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(fmt)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(sim)
_arguments "${_arguments_options[@]}" \
":: :_aptos__help__move__sim_commands" \
"*::: :->sim" \
&& ret=0

    case $state in
    (sim)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aptos-help-move-sim-command-$line[1]:"
        case $line[1] in
            (init)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(fund)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(view-resource)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(view-resource-group)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(new-block)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(advance-epoch)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(multisig)
_arguments "${_arguments_options[@]}" \
":: :_aptos__help__multisig_commands" \
"*::: :->multisig" \
&& ret=0

    case $state in
    (multisig)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aptos-help-multisig-command-$line[1]:"
        case $line[1] in
            (approve)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(create)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(create-transaction)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(create-script-transaction)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(execute)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(execute-reject)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(execute-with-payload)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(execute-with-script-payload)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(reject)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(verify-proposal)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(verify-script-proposal)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
        esac
    ;;
esac
;;
(node)
_arguments "${_arguments_options[@]}" \
":: :_aptos__help__node_commands" \
"*::: :->node" \
&& ret=0

    case $state in
    (node)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aptos-help-node-command-$line[1]:"
        case $line[1] in
            (analyze-validator-performance)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(bootstrap-db)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(check-network-connectivity)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(get-performance)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(get-stake-pool)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(initialize-validator)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(join-validator-set)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(leave-validator-set)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(show-epoch-info)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(show-validator-config)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(show-validator-set)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(show-validator-stake)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(run-localnet)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(update-consensus-key)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(update-validator-network-addresses)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(verify-digest-key)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
        esac
    ;;
esac
;;
(stake)
_arguments "${_arguments_options[@]}" \
":: :_aptos__help__stake_commands" \
"*::: :->stake" \
&& ret=0

    case $state in
    (stake)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aptos-help-stake-command-$line[1]:"
        case $line[1] in
            (add-stake)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(create-staking-contract)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(distribute-vested-coins)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(increase-lockup)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(initialize-stake-owner)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(request-commission)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(set-delegated-voter)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(set-operator)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(unlock-stake)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(unlock-vested-coins)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(withdraw-stake)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
        esac
    ;;
esac
;;
(update)
_arguments "${_arguments_options[@]}" \
":: :_aptos__help__update_commands" \
"*::: :->update" \
&& ret=0

    case $state in
    (update)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aptos-help-update-command-$line[1]:"
        case $line[1] in
            (aptos)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(movefmt)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(move-mutation-test)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
(prover-dependencies)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
        esac
    ;;
esac
;;
(workspace)
_arguments "${_arguments_options[@]}" \
":: :_aptos__help__workspace_commands" \
"*::: :->workspace" \
&& ret=0

    case $state in
    (workspace)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aptos-help-workspace-command-$line[1]:"
        case $line[1] in
            (run)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
        esac
    ;;
esac
;;
(help)
_arguments "${_arguments_options[@]}" \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
}

(( $+functions[_aptos_commands] )) ||
_aptos_commands() {
    local commands; commands=(
'account:Tool for interacting with accounts' \
'config:Tool for interacting with configuration of the Aptos CLI tool' \
'genesis:Tool for setting up an Aptos chain Genesis transaction' \
'governance:Tool for on-chain governance' \
'info:Show build information about the CLI' \
'init:Tool to initialize current directory for the aptos tool' \
'key:Tool for generating, inspecting, and interacting with keys' \
'move:Tool for Move smart contract related operations' \
'multisig:Tool for interacting with multisig accounts' \
'node:Tool for operations related to nodes' \
'stake:Tool for manipulating stake and stake pools' \
'update:Update the CLI or other tools it depends on' \
'workspace:' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'aptos commands' commands "$@"
}
(( $+functions[_aptos__help__move__show__abi_commands] )) ||
_aptos__help__move__show__abi_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help move show abi commands' commands "$@"
}
(( $+functions[_aptos__move__help__show__abi_commands] )) ||
_aptos__move__help__show__abi_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move help show abi commands' commands "$@"
}
(( $+functions[_aptos__move__show__abi_commands] )) ||
_aptos__move__show__abi_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move show abi commands' commands "$@"
}
(( $+functions[_aptos__move__show__help__abi_commands] )) ||
_aptos__move__show__help__abi_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move show help abi commands' commands "$@"
}
(( $+functions[_aptos__account_commands] )) ||
_aptos__account_commands() {
    local commands; commands=(
'create:Create a new account on-chain' \
'create-resource-account:Create a resource account on-chain' \
'derive-resource-account-address:Derive the address for a resource account' \
'fund-with-faucet:Fund an account with tokens from a faucet' \
'balance:Show the account'\''s balance of different coins' \
'list:List resources, modules, or balance owned by an address' \
'lookup-address:Lookup the account address through the on-chain lookup table' \
'rotate-key:Rotate an account'\''s authentication key' \
'transfer:Transfer APT between accounts' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'aptos account commands' commands "$@"
}
(( $+functions[_aptos__help__account_commands] )) ||
_aptos__help__account_commands() {
    local commands; commands=(
'create:Create a new account on-chain' \
'create-resource-account:Create a resource account on-chain' \
'derive-resource-account-address:Derive the address for a resource account' \
'fund-with-faucet:Fund an account with tokens from a faucet' \
'balance:Show the account'\''s balance of different coins' \
'list:List resources, modules, or balance owned by an address' \
'lookup-address:Lookup the account address through the on-chain lookup table' \
'rotate-key:Rotate an account'\''s authentication key' \
'transfer:Transfer APT between accounts' \
    )
    _describe -t commands 'aptos help account commands' commands "$@"
}
(( $+functions[_aptos__help__stake__add-stake_commands] )) ||
_aptos__help__stake__add-stake_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help stake add-stake commands' commands "$@"
}
(( $+functions[_aptos__stake__add-stake_commands] )) ||
_aptos__stake__add-stake_commands() {
    local commands; commands=()
    _describe -t commands 'aptos stake add-stake commands' commands "$@"
}
(( $+functions[_aptos__stake__help__add-stake_commands] )) ||
_aptos__stake__help__add-stake_commands() {
    local commands; commands=()
    _describe -t commands 'aptos stake help add-stake commands' commands "$@"
}
(( $+functions[_aptos__help__move__sim__advance-epoch_commands] )) ||
_aptos__help__move__sim__advance-epoch_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help move sim advance-epoch commands' commands "$@"
}
(( $+functions[_aptos__move__help__sim__advance-epoch_commands] )) ||
_aptos__move__help__sim__advance-epoch_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move help sim advance-epoch commands' commands "$@"
}
(( $+functions[_aptos__move__sim__advance-epoch_commands] )) ||
_aptos__move__sim__advance-epoch_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move sim advance-epoch commands' commands "$@"
}
(( $+functions[_aptos__move__sim__help__advance-epoch_commands] )) ||
_aptos__move__sim__help__advance-epoch_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move sim help advance-epoch commands' commands "$@"
}
(( $+functions[_aptos__help__node__analyze-validator-performance_commands] )) ||
_aptos__help__node__analyze-validator-performance_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help node analyze-validator-performance commands' commands "$@"
}
(( $+functions[_aptos__node__analyze-validator-performance_commands] )) ||
_aptos__node__analyze-validator-performance_commands() {
    local commands; commands=()
    _describe -t commands 'aptos node analyze-validator-performance commands' commands "$@"
}
(( $+functions[_aptos__node__help__analyze-validator-performance_commands] )) ||
_aptos__node__help__analyze-validator-performance_commands() {
    local commands; commands=()
    _describe -t commands 'aptos node help analyze-validator-performance commands' commands "$@"
}
(( $+functions[_aptos__help__multisig__approve_commands] )) ||
_aptos__help__multisig__approve_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help multisig approve commands' commands "$@"
}
(( $+functions[_aptos__multisig__approve_commands] )) ||
_aptos__multisig__approve_commands() {
    local commands; commands=()
    _describe -t commands 'aptos multisig approve commands' commands "$@"
}
(( $+functions[_aptos__multisig__help__approve_commands] )) ||
_aptos__multisig__help__approve_commands() {
    local commands; commands=()
    _describe -t commands 'aptos multisig help approve commands' commands "$@"
}
(( $+functions[_aptos__governance__approve-execution-hash_commands] )) ||
_aptos__governance__approve-execution-hash_commands() {
    local commands; commands=()
    _describe -t commands 'aptos governance approve-execution-hash commands' commands "$@"
}
(( $+functions[_aptos__governance__help__approve-execution-hash_commands] )) ||
_aptos__governance__help__approve-execution-hash_commands() {
    local commands; commands=()
    _describe -t commands 'aptos governance help approve-execution-hash commands' commands "$@"
}
(( $+functions[_aptos__help__governance__approve-execution-hash_commands] )) ||
_aptos__help__governance__approve-execution-hash_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help governance approve-execution-hash commands' commands "$@"
}
(( $+functions[_aptos__help__update__aptos_commands] )) ||
_aptos__help__update__aptos_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help update aptos commands' commands "$@"
}
(( $+functions[_aptos__update__aptos_commands] )) ||
_aptos__update__aptos_commands() {
    local commands; commands=()
    _describe -t commands 'aptos update aptos commands' commands "$@"
}
(( $+functions[_aptos__update__help__aptos_commands] )) ||
_aptos__update__help__aptos_commands() {
    local commands; commands=()
    _describe -t commands 'aptos update help aptos commands' commands "$@"
}
(( $+functions[_aptos__account__balance_commands] )) ||
_aptos__account__balance_commands() {
    local commands; commands=()
    _describe -t commands 'aptos account balance commands' commands "$@"
}
(( $+functions[_aptos__account__help__balance_commands] )) ||
_aptos__account__help__balance_commands() {
    local commands; commands=()
    _describe -t commands 'aptos account help balance commands' commands "$@"
}
(( $+functions[_aptos__help__account__balance_commands] )) ||
_aptos__help__account__balance_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help account balance commands' commands "$@"
}
(( $+functions[_aptos__help__node__bootstrap-db_commands] )) ||
_aptos__help__node__bootstrap-db_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help node bootstrap-db commands' commands "$@"
}
(( $+functions[_aptos__node__bootstrap-db_commands] )) ||
_aptos__node__bootstrap-db_commands() {
    local commands; commands=()
    _describe -t commands 'aptos node bootstrap-db commands' commands "$@"
}
(( $+functions[_aptos__node__help__bootstrap-db_commands] )) ||
_aptos__node__help__bootstrap-db_commands() {
    local commands; commands=()
    _describe -t commands 'aptos node help bootstrap-db commands' commands "$@"
}
(( $+functions[_aptos__help__move__build-publish-payload_commands] )) ||
_aptos__help__move__build-publish-payload_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help move build-publish-payload commands' commands "$@"
}
(( $+functions[_aptos__move__build-publish-payload_commands] )) ||
_aptos__move__build-publish-payload_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move build-publish-payload commands' commands "$@"
}
(( $+functions[_aptos__move__help__build-publish-payload_commands] )) ||
_aptos__move__help__build-publish-payload_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move help build-publish-payload commands' commands "$@"
}
(( $+functions[_aptos__help__move__coverage__bytecode_commands] )) ||
_aptos__help__move__coverage__bytecode_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help move coverage bytecode commands' commands "$@"
}
(( $+functions[_aptos__move__coverage__bytecode_commands] )) ||
_aptos__move__coverage__bytecode_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move coverage bytecode commands' commands "$@"
}
(( $+functions[_aptos__move__coverage__help__bytecode_commands] )) ||
_aptos__move__coverage__help__bytecode_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move coverage help bytecode commands' commands "$@"
}
(( $+functions[_aptos__move__help__coverage__bytecode_commands] )) ||
_aptos__move__help__coverage__bytecode_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move help coverage bytecode commands' commands "$@"
}
(( $+functions[_aptos__help__node__check-network-connectivity_commands] )) ||
_aptos__help__node__check-network-connectivity_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help node check-network-connectivity commands' commands "$@"
}
(( $+functions[_aptos__node__check-network-connectivity_commands] )) ||
_aptos__node__check-network-connectivity_commands() {
    local commands; commands=()
    _describe -t commands 'aptos node check-network-connectivity commands' commands "$@"
}
(( $+functions[_aptos__node__help__check-network-connectivity_commands] )) ||
_aptos__node__help__check-network-connectivity_commands() {
    local commands; commands=()
    _describe -t commands 'aptos node help check-network-connectivity commands' commands "$@"
}
(( $+functions[_aptos__help__move__clean_commands] )) ||
_aptos__help__move__clean_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help move clean commands' commands "$@"
}
(( $+functions[_aptos__move__clean_commands] )) ||
_aptos__move__clean_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move clean commands' commands "$@"
}
(( $+functions[_aptos__move__help__clean_commands] )) ||
_aptos__move__help__clean_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move help clean commands' commands "$@"
}
(( $+functions[_aptos__help__move__clear-staging-area_commands] )) ||
_aptos__help__move__clear-staging-area_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help move clear-staging-area commands' commands "$@"
}
(( $+functions[_aptos__move__clear-staging-area_commands] )) ||
_aptos__move__clear-staging-area_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move clear-staging-area commands' commands "$@"
}
(( $+functions[_aptos__move__help__clear-staging-area_commands] )) ||
_aptos__move__help__clear-staging-area_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move help clear-staging-area commands' commands "$@"
}
(( $+functions[_aptos__help__move__compile_commands] )) ||
_aptos__help__move__compile_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help move compile commands' commands "$@"
}
(( $+functions[_aptos__move__compile_commands] )) ||
_aptos__move__compile_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move compile commands' commands "$@"
}
(( $+functions[_aptos__move__help__compile_commands] )) ||
_aptos__move__help__compile_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move help compile commands' commands "$@"
}
(( $+functions[_aptos__help__move__compile-script_commands] )) ||
_aptos__help__move__compile-script_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help move compile-script commands' commands "$@"
}
(( $+functions[_aptos__move__compile-script_commands] )) ||
_aptos__move__compile-script_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move compile-script commands' commands "$@"
}
(( $+functions[_aptos__move__help__compile-script_commands] )) ||
_aptos__move__help__compile-script_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move help compile-script commands' commands "$@"
}
(( $+functions[_aptos__config_commands] )) ||
_aptos__config_commands() {
    local commands; commands=(
'generate-shell-completions:Generate shell completion files' \
'show-global-config:Shows the properties in the global config' \
'set-global-config:Set global configuration settings' \
'show-profiles:Shows the current profiles available' \
'show-private-key:Show the private key for the given profile' \
'rename-profile:Rename the specified profile' \
'delete-profile:Delete the specified profile' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'aptos config commands' commands "$@"
}
(( $+functions[_aptos__help__config_commands] )) ||
_aptos__help__config_commands() {
    local commands; commands=(
'generate-shell-completions:Generate shell completion files' \
'show-global-config:Shows the properties in the global config' \
'set-global-config:Set global configuration settings' \
'show-profiles:Shows the current profiles available' \
'show-private-key:Show the private key for the given profile' \
'rename-profile:Rename the specified profile' \
'delete-profile:Delete the specified profile' \
    )
    _describe -t commands 'aptos help config commands' commands "$@"
}
(( $+functions[_aptos__help__move__coverage_commands] )) ||
_aptos__help__move__coverage_commands() {
    local commands; commands=(
'summary:Display a coverage summary for all modules in a package' \
'source:Display coverage information about the module against source code' \
'bytecode:Display coverage information about the module against disassembled bytecode' \
    )
    _describe -t commands 'aptos help move coverage commands' commands "$@"
}
(( $+functions[_aptos__move__coverage_commands] )) ||
_aptos__move__coverage_commands() {
    local commands; commands=(
'summary:Display a coverage summary for all modules in a package' \
'source:Display coverage information about the module against source code' \
'bytecode:Display coverage information about the module against disassembled bytecode' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'aptos move coverage commands' commands "$@"
}
(( $+functions[_aptos__move__help__coverage_commands] )) ||
_aptos__move__help__coverage_commands() {
    local commands; commands=(
'summary:Display a coverage summary for all modules in a package' \
'source:Display coverage information about the module against source code' \
'bytecode:Display coverage information about the module against disassembled bytecode' \
    )
    _describe -t commands 'aptos move help coverage commands' commands "$@"
}
(( $+functions[_aptos__account__create_commands] )) ||
_aptos__account__create_commands() {
    local commands; commands=()
    _describe -t commands 'aptos account create commands' commands "$@"
}
(( $+functions[_aptos__account__help__create_commands] )) ||
_aptos__account__help__create_commands() {
    local commands; commands=()
    _describe -t commands 'aptos account help create commands' commands "$@"
}
(( $+functions[_aptos__help__account__create_commands] )) ||
_aptos__help__account__create_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help account create commands' commands "$@"
}
(( $+functions[_aptos__help__multisig__create_commands] )) ||
_aptos__help__multisig__create_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help multisig create commands' commands "$@"
}
(( $+functions[_aptos__multisig__create_commands] )) ||
_aptos__multisig__create_commands() {
    local commands; commands=()
    _describe -t commands 'aptos multisig create commands' commands "$@"
}
(( $+functions[_aptos__multisig__help__create_commands] )) ||
_aptos__multisig__help__create_commands() {
    local commands; commands=()
    _describe -t commands 'aptos multisig help create commands' commands "$@"
}
(( $+functions[_aptos__help__move__create-object-and-publish-package_commands] )) ||
_aptos__help__move__create-object-and-publish-package_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help move create-object-and-publish-package commands' commands "$@"
}
(( $+functions[_aptos__move__create-object-and-publish-package_commands] )) ||
_aptos__move__create-object-and-publish-package_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move create-object-and-publish-package commands' commands "$@"
}
(( $+functions[_aptos__move__help__create-object-and-publish-package_commands] )) ||
_aptos__move__help__create-object-and-publish-package_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move help create-object-and-publish-package commands' commands "$@"
}
(( $+functions[_aptos__account__create-resource-account_commands] )) ||
_aptos__account__create-resource-account_commands() {
    local commands; commands=()
    _describe -t commands 'aptos account create-resource-account commands' commands "$@"
}
(( $+functions[_aptos__account__help__create-resource-account_commands] )) ||
_aptos__account__help__create-resource-account_commands() {
    local commands; commands=()
    _describe -t commands 'aptos account help create-resource-account commands' commands "$@"
}
(( $+functions[_aptos__help__account__create-resource-account_commands] )) ||
_aptos__help__account__create-resource-account_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help account create-resource-account commands' commands "$@"
}
(( $+functions[_aptos__help__move__create-resource-account-and-publish-package_commands] )) ||
_aptos__help__move__create-resource-account-and-publish-package_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help move create-resource-account-and-publish-package commands' commands "$@"
}
(( $+functions[_aptos__move__create-resource-account-and-publish-package_commands] )) ||
_aptos__move__create-resource-account-and-publish-package_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move create-resource-account-and-publish-package commands' commands "$@"
}
(( $+functions[_aptos__move__help__create-resource-account-and-publish-package_commands] )) ||
_aptos__move__help__create-resource-account-and-publish-package_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move help create-resource-account-and-publish-package commands' commands "$@"
}
(( $+functions[_aptos__help__multisig__create-script-transaction_commands] )) ||
_aptos__help__multisig__create-script-transaction_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help multisig create-script-transaction commands' commands "$@"
}
(( $+functions[_aptos__multisig__create-script-transaction_commands] )) ||
_aptos__multisig__create-script-transaction_commands() {
    local commands; commands=()
    _describe -t commands 'aptos multisig create-script-transaction commands' commands "$@"
}
(( $+functions[_aptos__multisig__help__create-script-transaction_commands] )) ||
_aptos__multisig__help__create-script-transaction_commands() {
    local commands; commands=()
    _describe -t commands 'aptos multisig help create-script-transaction commands' commands "$@"
}
(( $+functions[_aptos__help__stake__create-staking-contract_commands] )) ||
_aptos__help__stake__create-staking-contract_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help stake create-staking-contract commands' commands "$@"
}
(( $+functions[_aptos__stake__create-staking-contract_commands] )) ||
_aptos__stake__create-staking-contract_commands() {
    local commands; commands=()
    _describe -t commands 'aptos stake create-staking-contract commands' commands "$@"
}
(( $+functions[_aptos__stake__help__create-staking-contract_commands] )) ||
_aptos__stake__help__create-staking-contract_commands() {
    local commands; commands=()
    _describe -t commands 'aptos stake help create-staking-contract commands' commands "$@"
}
(( $+functions[_aptos__help__multisig__create-transaction_commands] )) ||
_aptos__help__multisig__create-transaction_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help multisig create-transaction commands' commands "$@"
}
(( $+functions[_aptos__multisig__create-transaction_commands] )) ||
_aptos__multisig__create-transaction_commands() {
    local commands; commands=()
    _describe -t commands 'aptos multisig create-transaction commands' commands "$@"
}
(( $+functions[_aptos__multisig__help__create-transaction_commands] )) ||
_aptos__multisig__help__create-transaction_commands() {
    local commands; commands=()
    _describe -t commands 'aptos multisig help create-transaction commands' commands "$@"
}
(( $+functions[_aptos__help__move__decompile_commands] )) ||
_aptos__help__move__decompile_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help move decompile commands' commands "$@"
}
(( $+functions[_aptos__move__decompile_commands] )) ||
_aptos__move__decompile_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move decompile commands' commands "$@"
}
(( $+functions[_aptos__move__help__decompile_commands] )) ||
_aptos__move__help__decompile_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move help decompile commands' commands "$@"
}
(( $+functions[_aptos__governance__delegation-pool_commands] )) ||
_aptos__governance__delegation-pool_commands() {
    local commands; commands=(
'propose:Submit a governance proposal' \
'vote:Submit a vote on a proposal' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'aptos governance delegation-pool commands' commands "$@"
}
(( $+functions[_aptos__governance__help__delegation-pool_commands] )) ||
_aptos__governance__help__delegation-pool_commands() {
    local commands; commands=(
'propose:Submit a governance proposal' \
'vote:Submit a vote on a proposal' \
    )
    _describe -t commands 'aptos governance help delegation-pool commands' commands "$@"
}
(( $+functions[_aptos__help__governance__delegation-pool_commands] )) ||
_aptos__help__governance__delegation-pool_commands() {
    local commands; commands=(
'propose:Submit a governance proposal' \
'vote:Submit a vote on a proposal' \
    )
    _describe -t commands 'aptos help governance delegation-pool commands' commands "$@"
}
(( $+functions[_aptos__config__delete-profile_commands] )) ||
_aptos__config__delete-profile_commands() {
    local commands; commands=()
    _describe -t commands 'aptos config delete-profile commands' commands "$@"
}
(( $+functions[_aptos__config__help__delete-profile_commands] )) ||
_aptos__config__help__delete-profile_commands() {
    local commands; commands=()
    _describe -t commands 'aptos config help delete-profile commands' commands "$@"
}
(( $+functions[_aptos__help__config__delete-profile_commands] )) ||
_aptos__help__config__delete-profile_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help config delete-profile commands' commands "$@"
}
(( $+functions[_aptos__help__move__deploy-object_commands] )) ||
_aptos__help__move__deploy-object_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help move deploy-object commands' commands "$@"
}
(( $+functions[_aptos__move__deploy-object_commands] )) ||
_aptos__move__deploy-object_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move deploy-object commands' commands "$@"
}
(( $+functions[_aptos__move__help__deploy-object_commands] )) ||
_aptos__move__help__deploy-object_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move help deploy-object commands' commands "$@"
}
(( $+functions[_aptos__account__derive-resource-account-address_commands] )) ||
_aptos__account__derive-resource-account-address_commands() {
    local commands; commands=()
    _describe -t commands 'aptos account derive-resource-account-address commands' commands "$@"
}
(( $+functions[_aptos__account__help__derive-resource-account-address_commands] )) ||
_aptos__account__help__derive-resource-account-address_commands() {
    local commands; commands=()
    _describe -t commands 'aptos account help derive-resource-account-address commands' commands "$@"
}
(( $+functions[_aptos__help__account__derive-resource-account-address_commands] )) ||
_aptos__help__account__derive-resource-account-address_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help account derive-resource-account-address commands' commands "$@"
}
(( $+functions[_aptos__help__move__disassemble_commands] )) ||
_aptos__help__move__disassemble_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help move disassemble commands' commands "$@"
}
(( $+functions[_aptos__move__disassemble_commands] )) ||
_aptos__move__disassemble_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move disassemble commands' commands "$@"
}
(( $+functions[_aptos__move__help__disassemble_commands] )) ||
_aptos__move__help__disassemble_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move help disassemble commands' commands "$@"
}
(( $+functions[_aptos__help__stake__distribute-vested-coins_commands] )) ||
_aptos__help__stake__distribute-vested-coins_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help stake distribute-vested-coins commands' commands "$@"
}
(( $+functions[_aptos__stake__distribute-vested-coins_commands] )) ||
_aptos__stake__distribute-vested-coins_commands() {
    local commands; commands=()
    _describe -t commands 'aptos stake distribute-vested-coins commands' commands "$@"
}
(( $+functions[_aptos__stake__help__distribute-vested-coins_commands] )) ||
_aptos__stake__help__distribute-vested-coins_commands() {
    local commands; commands=()
    _describe -t commands 'aptos stake help distribute-vested-coins commands' commands "$@"
}
(( $+functions[_aptos__help__move__document_commands] )) ||
_aptos__help__move__document_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help move document commands' commands "$@"
}
(( $+functions[_aptos__move__document_commands] )) ||
_aptos__move__document_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move document commands' commands "$@"
}
(( $+functions[_aptos__move__help__document_commands] )) ||
_aptos__move__help__document_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move help document commands' commands "$@"
}
(( $+functions[_aptos__help__move__download_commands] )) ||
_aptos__help__move__download_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help move download commands' commands "$@"
}
(( $+functions[_aptos__move__download_commands] )) ||
_aptos__move__download_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move download commands' commands "$@"
}
(( $+functions[_aptos__move__help__download_commands] )) ||
_aptos__move__help__download_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move help download commands' commands "$@"
}
(( $+functions[_aptos__help__multisig__execute_commands] )) ||
_aptos__help__multisig__execute_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help multisig execute commands' commands "$@"
}
(( $+functions[_aptos__multisig__execute_commands] )) ||
_aptos__multisig__execute_commands() {
    local commands; commands=()
    _describe -t commands 'aptos multisig execute commands' commands "$@"
}
(( $+functions[_aptos__multisig__help__execute_commands] )) ||
_aptos__multisig__help__execute_commands() {
    local commands; commands=()
    _describe -t commands 'aptos multisig help execute commands' commands "$@"
}
(( $+functions[_aptos__governance__execute-proposal_commands] )) ||
_aptos__governance__execute-proposal_commands() {
    local commands; commands=()
    _describe -t commands 'aptos governance execute-proposal commands' commands "$@"
}
(( $+functions[_aptos__governance__help__execute-proposal_commands] )) ||
_aptos__governance__help__execute-proposal_commands() {
    local commands; commands=()
    _describe -t commands 'aptos governance help execute-proposal commands' commands "$@"
}
(( $+functions[_aptos__help__governance__execute-proposal_commands] )) ||
_aptos__help__governance__execute-proposal_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help governance execute-proposal commands' commands "$@"
}
(( $+functions[_aptos__help__multisig__execute-reject_commands] )) ||
_aptos__help__multisig__execute-reject_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help multisig execute-reject commands' commands "$@"
}
(( $+functions[_aptos__multisig__execute-reject_commands] )) ||
_aptos__multisig__execute-reject_commands() {
    local commands; commands=()
    _describe -t commands 'aptos multisig execute-reject commands' commands "$@"
}
(( $+functions[_aptos__multisig__help__execute-reject_commands] )) ||
_aptos__multisig__help__execute-reject_commands() {
    local commands; commands=()
    _describe -t commands 'aptos multisig help execute-reject commands' commands "$@"
}
(( $+functions[_aptos__help__multisig__execute-with-payload_commands] )) ||
_aptos__help__multisig__execute-with-payload_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help multisig execute-with-payload commands' commands "$@"
}
(( $+functions[_aptos__multisig__execute-with-payload_commands] )) ||
_aptos__multisig__execute-with-payload_commands() {
    local commands; commands=()
    _describe -t commands 'aptos multisig execute-with-payload commands' commands "$@"
}
(( $+functions[_aptos__multisig__help__execute-with-payload_commands] )) ||
_aptos__multisig__help__execute-with-payload_commands() {
    local commands; commands=()
    _describe -t commands 'aptos multisig help execute-with-payload commands' commands "$@"
}
(( $+functions[_aptos__help__multisig__execute-with-script-payload_commands] )) ||
_aptos__help__multisig__execute-with-script-payload_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help multisig execute-with-script-payload commands' commands "$@"
}
(( $+functions[_aptos__multisig__execute-with-script-payload_commands] )) ||
_aptos__multisig__execute-with-script-payload_commands() {
    local commands; commands=()
    _describe -t commands 'aptos multisig execute-with-script-payload commands' commands "$@"
}
(( $+functions[_aptos__multisig__help__execute-with-script-payload_commands] )) ||
_aptos__multisig__help__execute-with-script-payload_commands() {
    local commands; commands=()
    _describe -t commands 'aptos multisig help execute-with-script-payload commands' commands "$@"
}
(( $+functions[_aptos__help__key__extract-peer_commands] )) ||
_aptos__help__key__extract-peer_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help key extract-peer commands' commands "$@"
}
(( $+functions[_aptos__key__extract-peer_commands] )) ||
_aptos__key__extract-peer_commands() {
    local commands; commands=()
    _describe -t commands 'aptos key extract-peer commands' commands "$@"
}
(( $+functions[_aptos__key__help__extract-peer_commands] )) ||
_aptos__key__help__extract-peer_commands() {
    local commands; commands=()
    _describe -t commands 'aptos key help extract-peer commands' commands "$@"
}
(( $+functions[_aptos__help__key__extract-public-key_commands] )) ||
_aptos__help__key__extract-public-key_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help key extract-public-key commands' commands "$@"
}
(( $+functions[_aptos__key__extract-public-key_commands] )) ||
_aptos__key__extract-public-key_commands() {
    local commands; commands=()
    _describe -t commands 'aptos key extract-public-key commands' commands "$@"
}
(( $+functions[_aptos__key__help__extract-public-key_commands] )) ||
_aptos__key__help__extract-public-key_commands() {
    local commands; commands=()
    _describe -t commands 'aptos key help extract-public-key commands' commands "$@"
}
(( $+functions[_aptos__help__move__fmt_commands] )) ||
_aptos__help__move__fmt_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help move fmt commands' commands "$@"
}
(( $+functions[_aptos__move__fmt_commands] )) ||
_aptos__move__fmt_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move fmt commands' commands "$@"
}
(( $+functions[_aptos__move__help__fmt_commands] )) ||
_aptos__move__help__fmt_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move help fmt commands' commands "$@"
}
(( $+functions[_aptos__help__move__sim__fund_commands] )) ||
_aptos__help__move__sim__fund_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help move sim fund commands' commands "$@"
}
(( $+functions[_aptos__move__help__sim__fund_commands] )) ||
_aptos__move__help__sim__fund_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move help sim fund commands' commands "$@"
}
(( $+functions[_aptos__move__sim__fund_commands] )) ||
_aptos__move__sim__fund_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move sim fund commands' commands "$@"
}
(( $+functions[_aptos__move__sim__help__fund_commands] )) ||
_aptos__move__sim__help__fund_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move sim help fund commands' commands "$@"
}
(( $+functions[_aptos__account__fund-with-faucet_commands] )) ||
_aptos__account__fund-with-faucet_commands() {
    local commands; commands=()
    _describe -t commands 'aptos account fund-with-faucet commands' commands "$@"
}
(( $+functions[_aptos__account__help__fund-with-faucet_commands] )) ||
_aptos__account__help__fund-with-faucet_commands() {
    local commands; commands=()
    _describe -t commands 'aptos account help fund-with-faucet commands' commands "$@"
}
(( $+functions[_aptos__help__account__fund-with-faucet_commands] )) ||
_aptos__help__account__fund-with-faucet_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help account fund-with-faucet commands' commands "$@"
}
(( $+functions[_aptos__help__key__generate_commands] )) ||
_aptos__help__key__generate_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help key generate commands' commands "$@"
}
(( $+functions[_aptos__key__generate_commands] )) ||
_aptos__key__generate_commands() {
    local commands; commands=()
    _describe -t commands 'aptos key generate commands' commands "$@"
}
(( $+functions[_aptos__key__help__generate_commands] )) ||
_aptos__key__help__generate_commands() {
    local commands; commands=()
    _describe -t commands 'aptos key help generate commands' commands "$@"
}
(( $+functions[_aptos__genesis__generate-admin-write-set_commands] )) ||
_aptos__genesis__generate-admin-write-set_commands() {
    local commands; commands=()
    _describe -t commands 'aptos genesis generate-admin-write-set commands' commands "$@"
}
(( $+functions[_aptos__genesis__help__generate-admin-write-set_commands] )) ||
_aptos__genesis__help__generate-admin-write-set_commands() {
    local commands; commands=()
    _describe -t commands 'aptos genesis help generate-admin-write-set commands' commands "$@"
}
(( $+functions[_aptos__help__genesis__generate-admin-write-set_commands] )) ||
_aptos__help__genesis__generate-admin-write-set_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help genesis generate-admin-write-set commands' commands "$@"
}
(( $+functions[_aptos__genesis__generate-genesis_commands] )) ||
_aptos__genesis__generate-genesis_commands() {
    local commands; commands=()
    _describe -t commands 'aptos genesis generate-genesis commands' commands "$@"
}
(( $+functions[_aptos__genesis__help__generate-genesis_commands] )) ||
_aptos__genesis__help__generate-genesis_commands() {
    local commands; commands=()
    _describe -t commands 'aptos genesis help generate-genesis commands' commands "$@"
}
(( $+functions[_aptos__help__genesis__generate-genesis_commands] )) ||
_aptos__help__genesis__generate-genesis_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help genesis generate-genesis commands' commands "$@"
}
(( $+functions[_aptos__genesis__generate-keys_commands] )) ||
_aptos__genesis__generate-keys_commands() {
    local commands; commands=()
    _describe -t commands 'aptos genesis generate-keys commands' commands "$@"
}
(( $+functions[_aptos__genesis__help__generate-keys_commands] )) ||
_aptos__genesis__help__generate-keys_commands() {
    local commands; commands=()
    _describe -t commands 'aptos genesis help generate-keys commands' commands "$@"
}
(( $+functions[_aptos__help__genesis__generate-keys_commands] )) ||
_aptos__help__genesis__generate-keys_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help genesis generate-keys commands' commands "$@"
}
(( $+functions[_aptos__genesis__generate-layout-template_commands] )) ||
_aptos__genesis__generate-layout-template_commands() {
    local commands; commands=()
    _describe -t commands 'aptos genesis generate-layout-template commands' commands "$@"
}
(( $+functions[_aptos__genesis__help__generate-layout-template_commands] )) ||
_aptos__genesis__help__generate-layout-template_commands() {
    local commands; commands=()
    _describe -t commands 'aptos genesis help generate-layout-template commands' commands "$@"
}
(( $+functions[_aptos__help__genesis__generate-layout-template_commands] )) ||
_aptos__help__genesis__generate-layout-template_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help genesis generate-layout-template commands' commands "$@"
}
(( $+functions[_aptos__config__generate-shell-completions_commands] )) ||
_aptos__config__generate-shell-completions_commands() {
    local commands; commands=()
    _describe -t commands 'aptos config generate-shell-completions commands' commands "$@"
}
(( $+functions[_aptos__config__help__generate-shell-completions_commands] )) ||
_aptos__config__help__generate-shell-completions_commands() {
    local commands; commands=()
    _describe -t commands 'aptos config help generate-shell-completions commands' commands "$@"
}
(( $+functions[_aptos__help__config__generate-shell-completions_commands] )) ||
_aptos__help__config__generate-shell-completions_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help config generate-shell-completions commands' commands "$@"
}
(( $+functions[_aptos__governance__generate-upgrade-proposal_commands] )) ||
_aptos__governance__generate-upgrade-proposal_commands() {
    local commands; commands=()
    _describe -t commands 'aptos governance generate-upgrade-proposal commands' commands "$@"
}
(( $+functions[_aptos__governance__help__generate-upgrade-proposal_commands] )) ||
_aptos__governance__help__generate-upgrade-proposal_commands() {
    local commands; commands=()
    _describe -t commands 'aptos governance help generate-upgrade-proposal commands' commands "$@"
}
(( $+functions[_aptos__help__governance__generate-upgrade-proposal_commands] )) ||
_aptos__help__governance__generate-upgrade-proposal_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help governance generate-upgrade-proposal commands' commands "$@"
}
(( $+functions[_aptos__genesis_commands] )) ||
_aptos__genesis_commands() {
    local commands; commands=(
'generate-admin-write-set:Generate a WriteSet genesis' \
'generate-genesis:Generate genesis from a git repository' \
'get-pool-addresses:Get pool addresses from a mainnet genesis setup' \
'generate-keys:Generate keys for a new validator' \
'generate-layout-template:Generate a Layout template file' \
'setup-git:Setup a shared Git repository for Genesis' \
'set-validator-configuration:Set validator configuration for a single validator' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'aptos genesis commands' commands "$@"
}
(( $+functions[_aptos__help__genesis_commands] )) ||
_aptos__help__genesis_commands() {
    local commands; commands=(
'generate-admin-write-set:Generate a WriteSet genesis' \
'generate-genesis:Generate genesis from a git repository' \
'get-pool-addresses:Get pool addresses from a mainnet genesis setup' \
'generate-keys:Generate keys for a new validator' \
'generate-layout-template:Generate a Layout template file' \
'setup-git:Setup a shared Git repository for Genesis' \
'set-validator-configuration:Set validator configuration for a single validator' \
    )
    _describe -t commands 'aptos help genesis commands' commands "$@"
}
(( $+functions[_aptos__help__node__get-performance_commands] )) ||
_aptos__help__node__get-performance_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help node get-performance commands' commands "$@"
}
(( $+functions[_aptos__node__get-performance_commands] )) ||
_aptos__node__get-performance_commands() {
    local commands; commands=()
    _describe -t commands 'aptos node get-performance commands' commands "$@"
}
(( $+functions[_aptos__node__help__get-performance_commands] )) ||
_aptos__node__help__get-performance_commands() {
    local commands; commands=()
    _describe -t commands 'aptos node help get-performance commands' commands "$@"
}
(( $+functions[_aptos__genesis__get-pool-addresses_commands] )) ||
_aptos__genesis__get-pool-addresses_commands() {
    local commands; commands=()
    _describe -t commands 'aptos genesis get-pool-addresses commands' commands "$@"
}
(( $+functions[_aptos__genesis__help__get-pool-addresses_commands] )) ||
_aptos__genesis__help__get-pool-addresses_commands() {
    local commands; commands=()
    _describe -t commands 'aptos genesis help get-pool-addresses commands' commands "$@"
}
(( $+functions[_aptos__help__genesis__get-pool-addresses_commands] )) ||
_aptos__help__genesis__get-pool-addresses_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help genesis get-pool-addresses commands' commands "$@"
}
(( $+functions[_aptos__help__node__get-stake-pool_commands] )) ||
_aptos__help__node__get-stake-pool_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help node get-stake-pool commands' commands "$@"
}
(( $+functions[_aptos__node__get-stake-pool_commands] )) ||
_aptos__node__get-stake-pool_commands() {
    local commands; commands=()
    _describe -t commands 'aptos node get-stake-pool commands' commands "$@"
}
(( $+functions[_aptos__node__help__get-stake-pool_commands] )) ||
_aptos__node__help__get-stake-pool_commands() {
    local commands; commands=()
    _describe -t commands 'aptos node help get-stake-pool commands' commands "$@"
}
(( $+functions[_aptos__governance_commands] )) ||
_aptos__governance_commands() {
    local commands; commands=(
'propose:Submit a governance proposal' \
'vote:Submit a vote on a proposal' \
'show-proposal:View a known on-chain governance proposal' \
'list-proposals:List the last 100 visible onchain proposals' \
'verify-proposal:Verify a proposal given the source code of the script' \
'execute-proposal:Execute a proposal that has passed voting requirements' \
'generate-upgrade-proposal:Generates a package upgrade proposal script' \
'approve-execution-hash:Submit a transaction to approve a proposal'\''s script hash to bypass the transaction size limit. This is needed for upgrading large packages such as aptos-framework' \
'delegation-pool:Tool for on-chain governance from delegation pools' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'aptos governance commands' commands "$@"
}
(( $+functions[_aptos__help__governance_commands] )) ||
_aptos__help__governance_commands() {
    local commands; commands=(
'propose:Submit a governance proposal' \
'vote:Submit a vote on a proposal' \
'show-proposal:View a known on-chain governance proposal' \
'list-proposals:List the last 100 visible onchain proposals' \
'verify-proposal:Verify a proposal given the source code of the script' \
'execute-proposal:Execute a proposal that has passed voting requirements' \
'generate-upgrade-proposal:Generates a package upgrade proposal script' \
'approve-execution-hash:Submit a transaction to approve a proposal'\''s script hash to bypass the transaction size limit. This is needed for upgrading large packages such as aptos-framework' \
'delegation-pool:Tool for on-chain governance from delegation pools' \
    )
    _describe -t commands 'aptos help governance commands' commands "$@"
}
(( $+functions[_aptos__account__help_commands] )) ||
_aptos__account__help_commands() {
    local commands; commands=(
'create:Create a new account on-chain' \
'create-resource-account:Create a resource account on-chain' \
'derive-resource-account-address:Derive the address for a resource account' \
'fund-with-faucet:Fund an account with tokens from a faucet' \
'balance:Show the account'\''s balance of different coins' \
'list:List resources, modules, or balance owned by an address' \
'lookup-address:Lookup the account address through the on-chain lookup table' \
'rotate-key:Rotate an account'\''s authentication key' \
'transfer:Transfer APT between accounts' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'aptos account help commands' commands "$@"
}
(( $+functions[_aptos__account__help__help_commands] )) ||
_aptos__account__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'aptos account help help commands' commands "$@"
}
(( $+functions[_aptos__config__help_commands] )) ||
_aptos__config__help_commands() {
    local commands; commands=(
'generate-shell-completions:Generate shell completion files' \
'show-global-config:Shows the properties in the global config' \
'set-global-config:Set global configuration settings' \
'show-profiles:Shows the current profiles available' \
'show-private-key:Show the private key for the given profile' \
'rename-profile:Rename the specified profile' \
'delete-profile:Delete the specified profile' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'aptos config help commands' commands "$@"
}
(( $+functions[_aptos__config__help__help_commands] )) ||
_aptos__config__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'aptos config help help commands' commands "$@"
}
(( $+functions[_aptos__genesis__help_commands] )) ||
_aptos__genesis__help_commands() {
    local commands; commands=(
'generate-admin-write-set:Generate a WriteSet genesis' \
'generate-genesis:Generate genesis from a git repository' \
'get-pool-addresses:Get pool addresses from a mainnet genesis setup' \
'generate-keys:Generate keys for a new validator' \
'generate-layout-template:Generate a Layout template file' \
'setup-git:Setup a shared Git repository for Genesis' \
'set-validator-configuration:Set validator configuration for a single validator' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'aptos genesis help commands' commands "$@"
}
(( $+functions[_aptos__genesis__help__help_commands] )) ||
_aptos__genesis__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'aptos genesis help help commands' commands "$@"
}
(( $+functions[_aptos__governance__delegation-pool__help_commands] )) ||
_aptos__governance__delegation-pool__help_commands() {
    local commands; commands=(
'propose:Submit a governance proposal' \
'vote:Submit a vote on a proposal' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'aptos governance delegation-pool help commands' commands "$@"
}
(( $+functions[_aptos__governance__delegation-pool__help__help_commands] )) ||
_aptos__governance__delegation-pool__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'aptos governance delegation-pool help help commands' commands "$@"
}
(( $+functions[_aptos__governance__help_commands] )) ||
_aptos__governance__help_commands() {
    local commands; commands=(
'propose:Submit a governance proposal' \
'vote:Submit a vote on a proposal' \
'show-proposal:View a known on-chain governance proposal' \
'list-proposals:List the last 100 visible onchain proposals' \
'verify-proposal:Verify a proposal given the source code of the script' \
'execute-proposal:Execute a proposal that has passed voting requirements' \
'generate-upgrade-proposal:Generates a package upgrade proposal script' \
'approve-execution-hash:Submit a transaction to approve a proposal'\''s script hash to bypass the transaction size limit. This is needed for upgrading large packages such as aptos-framework' \
'delegation-pool:Tool for on-chain governance from delegation pools' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'aptos governance help commands' commands "$@"
}
(( $+functions[_aptos__governance__help__help_commands] )) ||
_aptos__governance__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'aptos governance help help commands' commands "$@"
}
(( $+functions[_aptos__help_commands] )) ||
_aptos__help_commands() {
    local commands; commands=(
'account:Tool for interacting with accounts' \
'config:Tool for interacting with configuration of the Aptos CLI tool' \
'genesis:Tool for setting up an Aptos chain Genesis transaction' \
'governance:Tool for on-chain governance' \
'info:Show build information about the CLI' \
'init:Tool to initialize current directory for the aptos tool' \
'key:Tool for generating, inspecting, and interacting with keys' \
'move:Tool for Move smart contract related operations' \
'multisig:Tool for interacting with multisig accounts' \
'node:Tool for operations related to nodes' \
'stake:Tool for manipulating stake and stake pools' \
'update:Update the CLI or other tools it depends on' \
'workspace:' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'aptos help commands' commands "$@"
}
(( $+functions[_aptos__help__help_commands] )) ||
_aptos__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help help commands' commands "$@"
}
(( $+functions[_aptos__key__help_commands] )) ||
_aptos__key__help_commands() {
    local commands; commands=(
'generate:Generates a \`x25519\`, \`ed25519\` or \`bls12381\` key' \
'extract-public-key:Extracts the public key and any appropriate proof of possession from the PrivateKey' \
'extract-peer:Extract full peer information for an upstream peer' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'aptos key help commands' commands "$@"
}
(( $+functions[_aptos__key__help__help_commands] )) ||
_aptos__key__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'aptos key help help commands' commands "$@"
}
(( $+functions[_aptos__move__coverage__help_commands] )) ||
_aptos__move__coverage__help_commands() {
    local commands; commands=(
'summary:Display a coverage summary for all modules in a package' \
'source:Display coverage information about the module against source code' \
'bytecode:Display coverage information about the module against disassembled bytecode' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'aptos move coverage help commands' commands "$@"
}
(( $+functions[_aptos__move__coverage__help__help_commands] )) ||
_aptos__move__coverage__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move coverage help help commands' commands "$@"
}
(( $+functions[_aptos__move__help_commands] )) ||
_aptos__move__help_commands() {
    local commands; commands=(
'build-publish-payload:Build a publication transaction payload and store it in a JSON output file' \
'clean:Cleans derived artifacts of a package' \
'clear-staging-area:Cleans up the \`StagingArea\` resource under an account, which is used for chunked publish operations' \
'compile:Compiles a package and returns the associated ModuleIds' \
'compile-script:Compiles a Move script into bytecode' \
'coverage:Computes coverage for a package' \
'create-object-and-publish-package:Publishes the modules in a Move package to the Aptos blockchain, under an object (legacy version of \`deploy-object\`)' \
'upgrade-object-package:Upgrades the modules in a Move package deployed under an object (legacy version of \`upgrade-object\`)' \
'deploy-object:Publishes the modules in a Move package to the Aptos blockchain, under an object' \
'upgrade-object:Upgrades the modules in a Move package deployed under an object' \
'create-resource-account-and-publish-package:Publishes the modules in a Move package to the Aptos blockchain under a resource account' \
'disassemble:Disassemble the Move bytecode pointed to in the textual representation of Move bytecode' \
'decompile:Decompile the Move bytecode pointed to into Move source code' \
'document:Documents a Move package' \
'download:Downloads a package and stores it in a directory named after the package' \
'init:Creates a new Move package at the given location' \
'lint:Run a Lint tool to show additional warnings about the current package, in addition to ordinary warnings and/or errors generated by the Move 2 compiler' \
'list:Lists information about packages and modules on-chain for an account' \
'prove:Proves a Move package' \
'publish:Publishes the modules in a Move package to the Aptos blockchain' \
'run:Run a Move function' \
'run-script:Run a Move script' \
'simulate:BETA\: Simulate a Move function or script' \
'show:' \
'test:Runs Move unit tests for a package' \
'verify-package:Downloads a package and verifies the bytecode' \
'view:Run a view function' \
'replay:Replay a comitted transaction using a local VM' \
'fmt:Format the Move source code' \
'sim:BETA\: Commands for interacting with a local simulation session' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'aptos move help commands' commands "$@"
}
(( $+functions[_aptos__move__help__help_commands] )) ||
_aptos__move__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move help help commands' commands "$@"
}
(( $+functions[_aptos__move__show__help_commands] )) ||
_aptos__move__show__help_commands() {
    local commands; commands=(
'abi:Compile the package and show information about the ABIs of the compiled modules' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'aptos move show help commands' commands "$@"
}
(( $+functions[_aptos__move__show__help__help_commands] )) ||
_aptos__move__show__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move show help help commands' commands "$@"
}
(( $+functions[_aptos__move__sim__help_commands] )) ||
_aptos__move__sim__help_commands() {
    local commands; commands=(
'init:Initializes a new simulation session' \
'fund:Funds an account with APT tokens' \
'view-resource:View a resource' \
'view-resource-group:View a resource group' \
'new-block:Execute a new block' \
'advance-epoch:Advance to the next epoch' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'aptos move sim help commands' commands "$@"
}
(( $+functions[_aptos__move__sim__help__help_commands] )) ||
_aptos__move__sim__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move sim help help commands' commands "$@"
}
(( $+functions[_aptos__multisig__help_commands] )) ||
_aptos__multisig__help_commands() {
    local commands; commands=(
'approve:Approve a multisig transaction' \
'create:Create a new multisig account (v2) on-chain' \
'create-transaction:Propose a new multisig transaction' \
'create-script-transaction:Propose a new multisig transaction with a Move script payload' \
'execute:Execute a proposed multisig transaction that has a full payload stored on-chain' \
'execute-reject:Remove a proposed multisig transaction' \
'execute-with-payload:Execute a proposed multisig transaction that has only a payload hash stored on-chain' \
'execute-with-script-payload:Execute a proposed multisig transaction with a script payload that has only a payload hash stored on-chain' \
'reject:Reject a multisig transaction' \
'verify-proposal:Verify entry function matches on-chain transaction proposal' \
'verify-script-proposal:Verify a script proposal matches on-chain transaction proposal' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'aptos multisig help commands' commands "$@"
}
(( $+functions[_aptos__multisig__help__help_commands] )) ||
_aptos__multisig__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'aptos multisig help help commands' commands "$@"
}
(( $+functions[_aptos__node__help_commands] )) ||
_aptos__node__help_commands() {
    local commands; commands=(
'analyze-validator-performance:Analyze the performance of one or more validators' \
'bootstrap-db:Bootstrap AptosDB from a backup' \
'check-network-connectivity:Checks the network connectivity of a node' \
'get-performance:Show staking performance of the given staking pool' \
'get-stake-pool:Show the stake pool' \
'initialize-validator:Register the current account as a validator' \
'join-validator-set:Join the validator set after meeting staking requirements' \
'leave-validator-set:Leave the validator set' \
'show-epoch-info:Show epoch information' \
'show-validator-config:Show validator configuration for a specific validator' \
'show-validator-set:Show validator details of the validator set' \
'show-validator-stake:Show validator stake information for a specific validator' \
'run-localnet:Run a localnet' \
'update-consensus-key:Update consensus key for the validator node' \
'update-validator-network-addresses:Update the current validator'\''s network and fullnode network addresses' \
'verify-digest-key:Verify a BCS-serialized DigestKey blob file' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'aptos node help commands' commands "$@"
}
(( $+functions[_aptos__node__help__help_commands] )) ||
_aptos__node__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'aptos node help help commands' commands "$@"
}
(( $+functions[_aptos__stake__help_commands] )) ||
_aptos__stake__help_commands() {
    local commands; commands=(
'add-stake:Add APT to a stake pool' \
'create-staking-contract:Create a staking contract stake pool' \
'distribute-vested-coins:Distribute fully unlocked coins from vesting' \
'increase-lockup:Increase lockup of all staked APT in a stake pool' \
'initialize-stake-owner:Initialize a stake pool owner' \
'request-commission:Request commission from running a stake pool' \
'set-delegated-voter:Delegate voting capability to another account' \
'set-operator:Delegate operator capability to another account' \
'unlock-stake:Unlock staked APT in a stake pool' \
'unlock-vested-coins:Unlock vested coins' \
'withdraw-stake:Withdraw unlocked staked APT from a stake pool' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'aptos stake help commands' commands "$@"
}
(( $+functions[_aptos__stake__help__help_commands] )) ||
_aptos__stake__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'aptos stake help help commands' commands "$@"
}
(( $+functions[_aptos__update__help_commands] )) ||
_aptos__update__help_commands() {
    local commands; commands=(
'aptos:Update the CLI itself' \
'movefmt:Update Movefmt, the tool used for formatting Move code' \
'move-mutation-test:Update move-mutation-test, the tool used for mutation testing of Move unit tests' \
'prover-dependencies:Install dependencies (boogie, z3 and cvc5) for Move prover' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'aptos update help commands' commands "$@"
}
(( $+functions[_aptos__update__help__help_commands] )) ||
_aptos__update__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'aptos update help help commands' commands "$@"
}
(( $+functions[_aptos__workspace__help_commands] )) ||
_aptos__workspace__help_commands() {
    local commands; commands=(
'run:' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'aptos workspace help commands' commands "$@"
}
(( $+functions[_aptos__workspace__help__help_commands] )) ||
_aptos__workspace__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'aptos workspace help help commands' commands "$@"
}
(( $+functions[_aptos__help__stake__increase-lockup_commands] )) ||
_aptos__help__stake__increase-lockup_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help stake increase-lockup commands' commands "$@"
}
(( $+functions[_aptos__stake__help__increase-lockup_commands] )) ||
_aptos__stake__help__increase-lockup_commands() {
    local commands; commands=()
    _describe -t commands 'aptos stake help increase-lockup commands' commands "$@"
}
(( $+functions[_aptos__stake__increase-lockup_commands] )) ||
_aptos__stake__increase-lockup_commands() {
    local commands; commands=()
    _describe -t commands 'aptos stake increase-lockup commands' commands "$@"
}
(( $+functions[_aptos__help__info_commands] )) ||
_aptos__help__info_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help info commands' commands "$@"
}
(( $+functions[_aptos__info_commands] )) ||
_aptos__info_commands() {
    local commands; commands=()
    _describe -t commands 'aptos info commands' commands "$@"
}
(( $+functions[_aptos__help__init_commands] )) ||
_aptos__help__init_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help init commands' commands "$@"
}
(( $+functions[_aptos__help__move__init_commands] )) ||
_aptos__help__move__init_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help move init commands' commands "$@"
}
(( $+functions[_aptos__help__move__sim__init_commands] )) ||
_aptos__help__move__sim__init_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help move sim init commands' commands "$@"
}
(( $+functions[_aptos__init_commands] )) ||
_aptos__init_commands() {
    local commands; commands=()
    _describe -t commands 'aptos init commands' commands "$@"
}
(( $+functions[_aptos__move__help__init_commands] )) ||
_aptos__move__help__init_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move help init commands' commands "$@"
}
(( $+functions[_aptos__move__help__sim__init_commands] )) ||
_aptos__move__help__sim__init_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move help sim init commands' commands "$@"
}
(( $+functions[_aptos__move__init_commands] )) ||
_aptos__move__init_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move init commands' commands "$@"
}
(( $+functions[_aptos__move__sim__help__init_commands] )) ||
_aptos__move__sim__help__init_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move sim help init commands' commands "$@"
}
(( $+functions[_aptos__move__sim__init_commands] )) ||
_aptos__move__sim__init_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move sim init commands' commands "$@"
}
(( $+functions[_aptos__help__stake__initialize-stake-owner_commands] )) ||
_aptos__help__stake__initialize-stake-owner_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help stake initialize-stake-owner commands' commands "$@"
}
(( $+functions[_aptos__stake__help__initialize-stake-owner_commands] )) ||
_aptos__stake__help__initialize-stake-owner_commands() {
    local commands; commands=()
    _describe -t commands 'aptos stake help initialize-stake-owner commands' commands "$@"
}
(( $+functions[_aptos__stake__initialize-stake-owner_commands] )) ||
_aptos__stake__initialize-stake-owner_commands() {
    local commands; commands=()
    _describe -t commands 'aptos stake initialize-stake-owner commands' commands "$@"
}
(( $+functions[_aptos__help__node__initialize-validator_commands] )) ||
_aptos__help__node__initialize-validator_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help node initialize-validator commands' commands "$@"
}
(( $+functions[_aptos__node__help__initialize-validator_commands] )) ||
_aptos__node__help__initialize-validator_commands() {
    local commands; commands=()
    _describe -t commands 'aptos node help initialize-validator commands' commands "$@"
}
(( $+functions[_aptos__node__initialize-validator_commands] )) ||
_aptos__node__initialize-validator_commands() {
    local commands; commands=()
    _describe -t commands 'aptos node initialize-validator commands' commands "$@"
}
(( $+functions[_aptos__help__node__join-validator-set_commands] )) ||
_aptos__help__node__join-validator-set_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help node join-validator-set commands' commands "$@"
}
(( $+functions[_aptos__node__help__join-validator-set_commands] )) ||
_aptos__node__help__join-validator-set_commands() {
    local commands; commands=()
    _describe -t commands 'aptos node help join-validator-set commands' commands "$@"
}
(( $+functions[_aptos__node__join-validator-set_commands] )) ||
_aptos__node__join-validator-set_commands() {
    local commands; commands=()
    _describe -t commands 'aptos node join-validator-set commands' commands "$@"
}
(( $+functions[_aptos__help__key_commands] )) ||
_aptos__help__key_commands() {
    local commands; commands=(
'generate:Generates a \`x25519\`, \`ed25519\` or \`bls12381\` key' \
'extract-public-key:Extracts the public key and any appropriate proof of possession from the PrivateKey' \
'extract-peer:Extract full peer information for an upstream peer' \
    )
    _describe -t commands 'aptos help key commands' commands "$@"
}
(( $+functions[_aptos__key_commands] )) ||
_aptos__key_commands() {
    local commands; commands=(
'generate:Generates a \`x25519\`, \`ed25519\` or \`bls12381\` key' \
'extract-public-key:Extracts the public key and any appropriate proof of possession from the PrivateKey' \
'extract-peer:Extract full peer information for an upstream peer' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'aptos key commands' commands "$@"
}
(( $+functions[_aptos__help__node__leave-validator-set_commands] )) ||
_aptos__help__node__leave-validator-set_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help node leave-validator-set commands' commands "$@"
}
(( $+functions[_aptos__node__help__leave-validator-set_commands] )) ||
_aptos__node__help__leave-validator-set_commands() {
    local commands; commands=()
    _describe -t commands 'aptos node help leave-validator-set commands' commands "$@"
}
(( $+functions[_aptos__node__leave-validator-set_commands] )) ||
_aptos__node__leave-validator-set_commands() {
    local commands; commands=()
    _describe -t commands 'aptos node leave-validator-set commands' commands "$@"
}
(( $+functions[_aptos__help__move__lint_commands] )) ||
_aptos__help__move__lint_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help move lint commands' commands "$@"
}
(( $+functions[_aptos__move__help__lint_commands] )) ||
_aptos__move__help__lint_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move help lint commands' commands "$@"
}
(( $+functions[_aptos__move__lint_commands] )) ||
_aptos__move__lint_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move lint commands' commands "$@"
}
(( $+functions[_aptos__account__help__list_commands] )) ||
_aptos__account__help__list_commands() {
    local commands; commands=()
    _describe -t commands 'aptos account help list commands' commands "$@"
}
(( $+functions[_aptos__account__list_commands] )) ||
_aptos__account__list_commands() {
    local commands; commands=()
    _describe -t commands 'aptos account list commands' commands "$@"
}
(( $+functions[_aptos__help__account__list_commands] )) ||
_aptos__help__account__list_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help account list commands' commands "$@"
}
(( $+functions[_aptos__help__move__list_commands] )) ||
_aptos__help__move__list_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help move list commands' commands "$@"
}
(( $+functions[_aptos__move__help__list_commands] )) ||
_aptos__move__help__list_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move help list commands' commands "$@"
}
(( $+functions[_aptos__move__list_commands] )) ||
_aptos__move__list_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move list commands' commands "$@"
}
(( $+functions[_aptos__governance__help__list-proposals_commands] )) ||
_aptos__governance__help__list-proposals_commands() {
    local commands; commands=()
    _describe -t commands 'aptos governance help list-proposals commands' commands "$@"
}
(( $+functions[_aptos__governance__list-proposals_commands] )) ||
_aptos__governance__list-proposals_commands() {
    local commands; commands=()
    _describe -t commands 'aptos governance list-proposals commands' commands "$@"
}
(( $+functions[_aptos__help__governance__list-proposals_commands] )) ||
_aptos__help__governance__list-proposals_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help governance list-proposals commands' commands "$@"
}
(( $+functions[_aptos__account__help__lookup-address_commands] )) ||
_aptos__account__help__lookup-address_commands() {
    local commands; commands=()
    _describe -t commands 'aptos account help lookup-address commands' commands "$@"
}
(( $+functions[_aptos__account__lookup-address_commands] )) ||
_aptos__account__lookup-address_commands() {
    local commands; commands=()
    _describe -t commands 'aptos account lookup-address commands' commands "$@"
}
(( $+functions[_aptos__help__account__lookup-address_commands] )) ||
_aptos__help__account__lookup-address_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help account lookup-address commands' commands "$@"
}
(( $+functions[_aptos__help__move_commands] )) ||
_aptos__help__move_commands() {
    local commands; commands=(
'build-publish-payload:Build a publication transaction payload and store it in a JSON output file' \
'clean:Cleans derived artifacts of a package' \
'clear-staging-area:Cleans up the \`StagingArea\` resource under an account, which is used for chunked publish operations' \
'compile:Compiles a package and returns the associated ModuleIds' \
'compile-script:Compiles a Move script into bytecode' \
'coverage:Computes coverage for a package' \
'create-object-and-publish-package:Publishes the modules in a Move package to the Aptos blockchain, under an object (legacy version of \`deploy-object\`)' \
'upgrade-object-package:Upgrades the modules in a Move package deployed under an object (legacy version of \`upgrade-object\`)' \
'deploy-object:Publishes the modules in a Move package to the Aptos blockchain, under an object' \
'upgrade-object:Upgrades the modules in a Move package deployed under an object' \
'create-resource-account-and-publish-package:Publishes the modules in a Move package to the Aptos blockchain under a resource account' \
'disassemble:Disassemble the Move bytecode pointed to in the textual representation of Move bytecode' \
'decompile:Decompile the Move bytecode pointed to into Move source code' \
'document:Documents a Move package' \
'download:Downloads a package and stores it in a directory named after the package' \
'init:Creates a new Move package at the given location' \
'lint:Run a Lint tool to show additional warnings about the current package, in addition to ordinary warnings and/or errors generated by the Move 2 compiler' \
'list:Lists information about packages and modules on-chain for an account' \
'prove:Proves a Move package' \
'publish:Publishes the modules in a Move package to the Aptos blockchain' \
'run:Run a Move function' \
'run-script:Run a Move script' \
'simulate:BETA\: Simulate a Move function or script' \
'show:' \
'test:Runs Move unit tests for a package' \
'verify-package:Downloads a package and verifies the bytecode' \
'view:Run a view function' \
'replay:Replay a comitted transaction using a local VM' \
'fmt:Format the Move source code' \
'sim:BETA\: Commands for interacting with a local simulation session' \
    )
    _describe -t commands 'aptos help move commands' commands "$@"
}
(( $+functions[_aptos__move_commands] )) ||
_aptos__move_commands() {
    local commands; commands=(
'build-publish-payload:Build a publication transaction payload and store it in a JSON output file' \
'clean:Cleans derived artifacts of a package' \
'clear-staging-area:Cleans up the \`StagingArea\` resource under an account, which is used for chunked publish operations' \
'compile:Compiles a package and returns the associated ModuleIds' \
'compile-script:Compiles a Move script into bytecode' \
'coverage:Computes coverage for a package' \
'create-object-and-publish-package:Publishes the modules in a Move package to the Aptos blockchain, under an object (legacy version of \`deploy-object\`)' \
'upgrade-object-package:Upgrades the modules in a Move package deployed under an object (legacy version of \`upgrade-object\`)' \
'deploy-object:Publishes the modules in a Move package to the Aptos blockchain, under an object' \
'upgrade-object:Upgrades the modules in a Move package deployed under an object' \
'create-resource-account-and-publish-package:Publishes the modules in a Move package to the Aptos blockchain under a resource account' \
'disassemble:Disassemble the Move bytecode pointed to in the textual representation of Move bytecode' \
'decompile:Decompile the Move bytecode pointed to into Move source code' \
'document:Documents a Move package' \
'download:Downloads a package and stores it in a directory named after the package' \
'init:Creates a new Move package at the given location' \
'lint:Run a Lint tool to show additional warnings about the current package, in addition to ordinary warnings and/or errors generated by the Move 2 compiler' \
'list:Lists information about packages and modules on-chain for an account' \
'prove:Proves a Move package' \
'publish:Publishes the modules in a Move package to the Aptos blockchain' \
'run:Run a Move function' \
'run-script:Run a Move script' \
'simulate:BETA\: Simulate a Move function or script' \
'show:' \
'test:Runs Move unit tests for a package' \
'verify-package:Downloads a package and verifies the bytecode' \
'view:Run a view function' \
'replay:Replay a comitted transaction using a local VM' \
'fmt:Format the Move source code' \
'sim:BETA\: Commands for interacting with a local simulation session' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'aptos move commands' commands "$@"
}
(( $+functions[_aptos__help__update__move-mutation-test_commands] )) ||
_aptos__help__update__move-mutation-test_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help update move-mutation-test commands' commands "$@"
}
(( $+functions[_aptos__update__help__move-mutation-test_commands] )) ||
_aptos__update__help__move-mutation-test_commands() {
    local commands; commands=()
    _describe -t commands 'aptos update help move-mutation-test commands' commands "$@"
}
(( $+functions[_aptos__update__move-mutation-test_commands] )) ||
_aptos__update__move-mutation-test_commands() {
    local commands; commands=()
    _describe -t commands 'aptos update move-mutation-test commands' commands "$@"
}
(( $+functions[_aptos__help__update__movefmt_commands] )) ||
_aptos__help__update__movefmt_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help update movefmt commands' commands "$@"
}
(( $+functions[_aptos__update__help__movefmt_commands] )) ||
_aptos__update__help__movefmt_commands() {
    local commands; commands=()
    _describe -t commands 'aptos update help movefmt commands' commands "$@"
}
(( $+functions[_aptos__update__movefmt_commands] )) ||
_aptos__update__movefmt_commands() {
    local commands; commands=()
    _describe -t commands 'aptos update movefmt commands' commands "$@"
}
(( $+functions[_aptos__help__multisig_commands] )) ||
_aptos__help__multisig_commands() {
    local commands; commands=(
'approve:Approve a multisig transaction' \
'create:Create a new multisig account (v2) on-chain' \
'create-transaction:Propose a new multisig transaction' \
'create-script-transaction:Propose a new multisig transaction with a Move script payload' \
'execute:Execute a proposed multisig transaction that has a full payload stored on-chain' \
'execute-reject:Remove a proposed multisig transaction' \
'execute-with-payload:Execute a proposed multisig transaction that has only a payload hash stored on-chain' \
'execute-with-script-payload:Execute a proposed multisig transaction with a script payload that has only a payload hash stored on-chain' \
'reject:Reject a multisig transaction' \
'verify-proposal:Verify entry function matches on-chain transaction proposal' \
'verify-script-proposal:Verify a script proposal matches on-chain transaction proposal' \
    )
    _describe -t commands 'aptos help multisig commands' commands "$@"
}
(( $+functions[_aptos__multisig_commands] )) ||
_aptos__multisig_commands() {
    local commands; commands=(
'approve:Approve a multisig transaction' \
'create:Create a new multisig account (v2) on-chain' \
'create-transaction:Propose a new multisig transaction' \
'create-script-transaction:Propose a new multisig transaction with a Move script payload' \
'execute:Execute a proposed multisig transaction that has a full payload stored on-chain' \
'execute-reject:Remove a proposed multisig transaction' \
'execute-with-payload:Execute a proposed multisig transaction that has only a payload hash stored on-chain' \
'execute-with-script-payload:Execute a proposed multisig transaction with a script payload that has only a payload hash stored on-chain' \
'reject:Reject a multisig transaction' \
'verify-proposal:Verify entry function matches on-chain transaction proposal' \
'verify-script-proposal:Verify a script proposal matches on-chain transaction proposal' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'aptos multisig commands' commands "$@"
}
(( $+functions[_aptos__help__move__sim__new-block_commands] )) ||
_aptos__help__move__sim__new-block_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help move sim new-block commands' commands "$@"
}
(( $+functions[_aptos__move__help__sim__new-block_commands] )) ||
_aptos__move__help__sim__new-block_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move help sim new-block commands' commands "$@"
}
(( $+functions[_aptos__move__sim__help__new-block_commands] )) ||
_aptos__move__sim__help__new-block_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move sim help new-block commands' commands "$@"
}
(( $+functions[_aptos__move__sim__new-block_commands] )) ||
_aptos__move__sim__new-block_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move sim new-block commands' commands "$@"
}
(( $+functions[_aptos__help__node_commands] )) ||
_aptos__help__node_commands() {
    local commands; commands=(
'analyze-validator-performance:Analyze the performance of one or more validators' \
'bootstrap-db:Bootstrap AptosDB from a backup' \
'check-network-connectivity:Checks the network connectivity of a node' \
'get-performance:Show staking performance of the given staking pool' \
'get-stake-pool:Show the stake pool' \
'initialize-validator:Register the current account as a validator' \
'join-validator-set:Join the validator set after meeting staking requirements' \
'leave-validator-set:Leave the validator set' \
'show-epoch-info:Show epoch information' \
'show-validator-config:Show validator configuration for a specific validator' \
'show-validator-set:Show validator details of the validator set' \
'show-validator-stake:Show validator stake information for a specific validator' \
'run-localnet:Run a localnet' \
'update-consensus-key:Update consensus key for the validator node' \
'update-validator-network-addresses:Update the current validator'\''s network and fullnode network addresses' \
'verify-digest-key:Verify a BCS-serialized DigestKey blob file' \
    )
    _describe -t commands 'aptos help node commands' commands "$@"
}
(( $+functions[_aptos__node_commands] )) ||
_aptos__node_commands() {
    local commands; commands=(
'analyze-validator-performance:Analyze the performance of one or more validators' \
'bootstrap-db:Bootstrap AptosDB from a backup' \
'check-network-connectivity:Checks the network connectivity of a node' \
'get-performance:Show staking performance of the given staking pool' \
'get-stake-pool:Show the stake pool' \
'initialize-validator:Register the current account as a validator' \
'join-validator-set:Join the validator set after meeting staking requirements' \
'leave-validator-set:Leave the validator set' \
'show-epoch-info:Show epoch information' \
'show-validator-config:Show validator configuration for a specific validator' \
'show-validator-set:Show validator details of the validator set' \
'show-validator-stake:Show validator stake information for a specific validator' \
'run-localnet:Run a localnet' \
'update-consensus-key:Update consensus key for the validator node' \
'update-validator-network-addresses:Update the current validator'\''s network and fullnode network addresses' \
'verify-digest-key:Verify a BCS-serialized DigestKey blob file' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'aptos node commands' commands "$@"
}
(( $+functions[_aptos__governance__delegation-pool__help__propose_commands] )) ||
_aptos__governance__delegation-pool__help__propose_commands() {
    local commands; commands=()
    _describe -t commands 'aptos governance delegation-pool help propose commands' commands "$@"
}
(( $+functions[_aptos__governance__delegation-pool__propose_commands] )) ||
_aptos__governance__delegation-pool__propose_commands() {
    local commands; commands=()
    _describe -t commands 'aptos governance delegation-pool propose commands' commands "$@"
}
(( $+functions[_aptos__governance__help__delegation-pool__propose_commands] )) ||
_aptos__governance__help__delegation-pool__propose_commands() {
    local commands; commands=()
    _describe -t commands 'aptos governance help delegation-pool propose commands' commands "$@"
}
(( $+functions[_aptos__governance__help__propose_commands] )) ||
_aptos__governance__help__propose_commands() {
    local commands; commands=()
    _describe -t commands 'aptos governance help propose commands' commands "$@"
}
(( $+functions[_aptos__governance__propose_commands] )) ||
_aptos__governance__propose_commands() {
    local commands; commands=()
    _describe -t commands 'aptos governance propose commands' commands "$@"
}
(( $+functions[_aptos__help__governance__delegation-pool__propose_commands] )) ||
_aptos__help__governance__delegation-pool__propose_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help governance delegation-pool propose commands' commands "$@"
}
(( $+functions[_aptos__help__governance__propose_commands] )) ||
_aptos__help__governance__propose_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help governance propose commands' commands "$@"
}
(( $+functions[_aptos__help__move__prove_commands] )) ||
_aptos__help__move__prove_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help move prove commands' commands "$@"
}
(( $+functions[_aptos__move__help__prove_commands] )) ||
_aptos__move__help__prove_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move help prove commands' commands "$@"
}
(( $+functions[_aptos__move__prove_commands] )) ||
_aptos__move__prove_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move prove commands' commands "$@"
}
(( $+functions[_aptos__help__update__prover-dependencies_commands] )) ||
_aptos__help__update__prover-dependencies_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help update prover-dependencies commands' commands "$@"
}
(( $+functions[_aptos__update__help__prover-dependencies_commands] )) ||
_aptos__update__help__prover-dependencies_commands() {
    local commands; commands=()
    _describe -t commands 'aptos update help prover-dependencies commands' commands "$@"
}
(( $+functions[_aptos__update__prover-dependencies_commands] )) ||
_aptos__update__prover-dependencies_commands() {
    local commands; commands=()
    _describe -t commands 'aptos update prover-dependencies commands' commands "$@"
}
(( $+functions[_aptos__help__move__publish_commands] )) ||
_aptos__help__move__publish_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help move publish commands' commands "$@"
}
(( $+functions[_aptos__move__help__publish_commands] )) ||
_aptos__move__help__publish_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move help publish commands' commands "$@"
}
(( $+functions[_aptos__move__publish_commands] )) ||
_aptos__move__publish_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move publish commands' commands "$@"
}
(( $+functions[_aptos__help__multisig__reject_commands] )) ||
_aptos__help__multisig__reject_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help multisig reject commands' commands "$@"
}
(( $+functions[_aptos__multisig__help__reject_commands] )) ||
_aptos__multisig__help__reject_commands() {
    local commands; commands=()
    _describe -t commands 'aptos multisig help reject commands' commands "$@"
}
(( $+functions[_aptos__multisig__reject_commands] )) ||
_aptos__multisig__reject_commands() {
    local commands; commands=()
    _describe -t commands 'aptos multisig reject commands' commands "$@"
}
(( $+functions[_aptos__config__help__rename-profile_commands] )) ||
_aptos__config__help__rename-profile_commands() {
    local commands; commands=()
    _describe -t commands 'aptos config help rename-profile commands' commands "$@"
}
(( $+functions[_aptos__config__rename-profile_commands] )) ||
_aptos__config__rename-profile_commands() {
    local commands; commands=()
    _describe -t commands 'aptos config rename-profile commands' commands "$@"
}
(( $+functions[_aptos__help__config__rename-profile_commands] )) ||
_aptos__help__config__rename-profile_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help config rename-profile commands' commands "$@"
}
(( $+functions[_aptos__help__move__replay_commands] )) ||
_aptos__help__move__replay_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help move replay commands' commands "$@"
}
(( $+functions[_aptos__move__help__replay_commands] )) ||
_aptos__move__help__replay_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move help replay commands' commands "$@"
}
(( $+functions[_aptos__move__replay_commands] )) ||
_aptos__move__replay_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move replay commands' commands "$@"
}
(( $+functions[_aptos__help__stake__request-commission_commands] )) ||
_aptos__help__stake__request-commission_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help stake request-commission commands' commands "$@"
}
(( $+functions[_aptos__stake__help__request-commission_commands] )) ||
_aptos__stake__help__request-commission_commands() {
    local commands; commands=()
    _describe -t commands 'aptos stake help request-commission commands' commands "$@"
}
(( $+functions[_aptos__stake__request-commission_commands] )) ||
_aptos__stake__request-commission_commands() {
    local commands; commands=()
    _describe -t commands 'aptos stake request-commission commands' commands "$@"
}
(( $+functions[_aptos__account__help__rotate-key_commands] )) ||
_aptos__account__help__rotate-key_commands() {
    local commands; commands=()
    _describe -t commands 'aptos account help rotate-key commands' commands "$@"
}
(( $+functions[_aptos__account__rotate-key_commands] )) ||
_aptos__account__rotate-key_commands() {
    local commands; commands=()
    _describe -t commands 'aptos account rotate-key commands' commands "$@"
}
(( $+functions[_aptos__help__account__rotate-key_commands] )) ||
_aptos__help__account__rotate-key_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help account rotate-key commands' commands "$@"
}
(( $+functions[_aptos__help__move__run_commands] )) ||
_aptos__help__move__run_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help move run commands' commands "$@"
}
(( $+functions[_aptos__help__workspace__run_commands] )) ||
_aptos__help__workspace__run_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help workspace run commands' commands "$@"
}
(( $+functions[_aptos__move__help__run_commands] )) ||
_aptos__move__help__run_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move help run commands' commands "$@"
}
(( $+functions[_aptos__move__run_commands] )) ||
_aptos__move__run_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move run commands' commands "$@"
}
(( $+functions[_aptos__workspace__help__run_commands] )) ||
_aptos__workspace__help__run_commands() {
    local commands; commands=()
    _describe -t commands 'aptos workspace help run commands' commands "$@"
}
(( $+functions[_aptos__workspace__run_commands] )) ||
_aptos__workspace__run_commands() {
    local commands; commands=()
    _describe -t commands 'aptos workspace run commands' commands "$@"
}
(( $+functions[_aptos__help__node__run-localnet_commands] )) ||
_aptos__help__node__run-localnet_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help node run-localnet commands' commands "$@"
}
(( $+functions[_aptos__node__help__run-localnet_commands] )) ||
_aptos__node__help__run-localnet_commands() {
    local commands; commands=()
    _describe -t commands 'aptos node help run-localnet commands' commands "$@"
}
(( $+functions[_aptos__node__run-localnet_commands] )) ||
_aptos__node__run-localnet_commands() {
    local commands; commands=()
    _describe -t commands 'aptos node run-localnet commands' commands "$@"
}
(( $+functions[_aptos__help__move__run-script_commands] )) ||
_aptos__help__move__run-script_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help move run-script commands' commands "$@"
}
(( $+functions[_aptos__move__help__run-script_commands] )) ||
_aptos__move__help__run-script_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move help run-script commands' commands "$@"
}
(( $+functions[_aptos__move__run-script_commands] )) ||
_aptos__move__run-script_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move run-script commands' commands "$@"
}
(( $+functions[_aptos__help__stake__set-delegated-voter_commands] )) ||
_aptos__help__stake__set-delegated-voter_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help stake set-delegated-voter commands' commands "$@"
}
(( $+functions[_aptos__stake__help__set-delegated-voter_commands] )) ||
_aptos__stake__help__set-delegated-voter_commands() {
    local commands; commands=()
    _describe -t commands 'aptos stake help set-delegated-voter commands' commands "$@"
}
(( $+functions[_aptos__stake__set-delegated-voter_commands] )) ||
_aptos__stake__set-delegated-voter_commands() {
    local commands; commands=()
    _describe -t commands 'aptos stake set-delegated-voter commands' commands "$@"
}
(( $+functions[_aptos__config__help__set-global-config_commands] )) ||
_aptos__config__help__set-global-config_commands() {
    local commands; commands=()
    _describe -t commands 'aptos config help set-global-config commands' commands "$@"
}
(( $+functions[_aptos__config__set-global-config_commands] )) ||
_aptos__config__set-global-config_commands() {
    local commands; commands=()
    _describe -t commands 'aptos config set-global-config commands' commands "$@"
}
(( $+functions[_aptos__help__config__set-global-config_commands] )) ||
_aptos__help__config__set-global-config_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help config set-global-config commands' commands "$@"
}
(( $+functions[_aptos__help__stake__set-operator_commands] )) ||
_aptos__help__stake__set-operator_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help stake set-operator commands' commands "$@"
}
(( $+functions[_aptos__stake__help__set-operator_commands] )) ||
_aptos__stake__help__set-operator_commands() {
    local commands; commands=()
    _describe -t commands 'aptos stake help set-operator commands' commands "$@"
}
(( $+functions[_aptos__stake__set-operator_commands] )) ||
_aptos__stake__set-operator_commands() {
    local commands; commands=()
    _describe -t commands 'aptos stake set-operator commands' commands "$@"
}
(( $+functions[_aptos__genesis__help__set-validator-configuration_commands] )) ||
_aptos__genesis__help__set-validator-configuration_commands() {
    local commands; commands=()
    _describe -t commands 'aptos genesis help set-validator-configuration commands' commands "$@"
}
(( $+functions[_aptos__genesis__set-validator-configuration_commands] )) ||
_aptos__genesis__set-validator-configuration_commands() {
    local commands; commands=()
    _describe -t commands 'aptos genesis set-validator-configuration commands' commands "$@"
}
(( $+functions[_aptos__help__genesis__set-validator-configuration_commands] )) ||
_aptos__help__genesis__set-validator-configuration_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help genesis set-validator-configuration commands' commands "$@"
}
(( $+functions[_aptos__genesis__help__setup-git_commands] )) ||
_aptos__genesis__help__setup-git_commands() {
    local commands; commands=()
    _describe -t commands 'aptos genesis help setup-git commands' commands "$@"
}
(( $+functions[_aptos__genesis__setup-git_commands] )) ||
_aptos__genesis__setup-git_commands() {
    local commands; commands=()
    _describe -t commands 'aptos genesis setup-git commands' commands "$@"
}
(( $+functions[_aptos__help__genesis__setup-git_commands] )) ||
_aptos__help__genesis__setup-git_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help genesis setup-git commands' commands "$@"
}
(( $+functions[_aptos__help__move__show_commands] )) ||
_aptos__help__move__show_commands() {
    local commands; commands=(
'abi:Compile the package and show information about the ABIs of the compiled modules' \
    )
    _describe -t commands 'aptos help move show commands' commands "$@"
}
(( $+functions[_aptos__move__help__show_commands] )) ||
_aptos__move__help__show_commands() {
    local commands; commands=(
'abi:Compile the package and show information about the ABIs of the compiled modules' \
    )
    _describe -t commands 'aptos move help show commands' commands "$@"
}
(( $+functions[_aptos__move__show_commands] )) ||
_aptos__move__show_commands() {
    local commands; commands=(
'abi:Compile the package and show information about the ABIs of the compiled modules' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'aptos move show commands' commands "$@"
}
(( $+functions[_aptos__help__node__show-epoch-info_commands] )) ||
_aptos__help__node__show-epoch-info_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help node show-epoch-info commands' commands "$@"
}
(( $+functions[_aptos__node__help__show-epoch-info_commands] )) ||
_aptos__node__help__show-epoch-info_commands() {
    local commands; commands=()
    _describe -t commands 'aptos node help show-epoch-info commands' commands "$@"
}
(( $+functions[_aptos__node__show-epoch-info_commands] )) ||
_aptos__node__show-epoch-info_commands() {
    local commands; commands=()
    _describe -t commands 'aptos node show-epoch-info commands' commands "$@"
}
(( $+functions[_aptos__config__help__show-global-config_commands] )) ||
_aptos__config__help__show-global-config_commands() {
    local commands; commands=()
    _describe -t commands 'aptos config help show-global-config commands' commands "$@"
}
(( $+functions[_aptos__config__show-global-config_commands] )) ||
_aptos__config__show-global-config_commands() {
    local commands; commands=()
    _describe -t commands 'aptos config show-global-config commands' commands "$@"
}
(( $+functions[_aptos__help__config__show-global-config_commands] )) ||
_aptos__help__config__show-global-config_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help config show-global-config commands' commands "$@"
}
(( $+functions[_aptos__config__help__show-private-key_commands] )) ||
_aptos__config__help__show-private-key_commands() {
    local commands; commands=()
    _describe -t commands 'aptos config help show-private-key commands' commands "$@"
}
(( $+functions[_aptos__config__show-private-key_commands] )) ||
_aptos__config__show-private-key_commands() {
    local commands; commands=()
    _describe -t commands 'aptos config show-private-key commands' commands "$@"
}
(( $+functions[_aptos__help__config__show-private-key_commands] )) ||
_aptos__help__config__show-private-key_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help config show-private-key commands' commands "$@"
}
(( $+functions[_aptos__config__help__show-profiles_commands] )) ||
_aptos__config__help__show-profiles_commands() {
    local commands; commands=()
    _describe -t commands 'aptos config help show-profiles commands' commands "$@"
}
(( $+functions[_aptos__config__show-profiles_commands] )) ||
_aptos__config__show-profiles_commands() {
    local commands; commands=()
    _describe -t commands 'aptos config show-profiles commands' commands "$@"
}
(( $+functions[_aptos__help__config__show-profiles_commands] )) ||
_aptos__help__config__show-profiles_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help config show-profiles commands' commands "$@"
}
(( $+functions[_aptos__governance__help__show-proposal_commands] )) ||
_aptos__governance__help__show-proposal_commands() {
    local commands; commands=()
    _describe -t commands 'aptos governance help show-proposal commands' commands "$@"
}
(( $+functions[_aptos__governance__show-proposal_commands] )) ||
_aptos__governance__show-proposal_commands() {
    local commands; commands=()
    _describe -t commands 'aptos governance show-proposal commands' commands "$@"
}
(( $+functions[_aptos__help__governance__show-proposal_commands] )) ||
_aptos__help__governance__show-proposal_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help governance show-proposal commands' commands "$@"
}
(( $+functions[_aptos__help__node__show-validator-config_commands] )) ||
_aptos__help__node__show-validator-config_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help node show-validator-config commands' commands "$@"
}
(( $+functions[_aptos__node__help__show-validator-config_commands] )) ||
_aptos__node__help__show-validator-config_commands() {
    local commands; commands=()
    _describe -t commands 'aptos node help show-validator-config commands' commands "$@"
}
(( $+functions[_aptos__node__show-validator-config_commands] )) ||
_aptos__node__show-validator-config_commands() {
    local commands; commands=()
    _describe -t commands 'aptos node show-validator-config commands' commands "$@"
}
(( $+functions[_aptos__help__node__show-validator-set_commands] )) ||
_aptos__help__node__show-validator-set_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help node show-validator-set commands' commands "$@"
}
(( $+functions[_aptos__node__help__show-validator-set_commands] )) ||
_aptos__node__help__show-validator-set_commands() {
    local commands; commands=()
    _describe -t commands 'aptos node help show-validator-set commands' commands "$@"
}
(( $+functions[_aptos__node__show-validator-set_commands] )) ||
_aptos__node__show-validator-set_commands() {
    local commands; commands=()
    _describe -t commands 'aptos node show-validator-set commands' commands "$@"
}
(( $+functions[_aptos__help__node__show-validator-stake_commands] )) ||
_aptos__help__node__show-validator-stake_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help node show-validator-stake commands' commands "$@"
}
(( $+functions[_aptos__node__help__show-validator-stake_commands] )) ||
_aptos__node__help__show-validator-stake_commands() {
    local commands; commands=()
    _describe -t commands 'aptos node help show-validator-stake commands' commands "$@"
}
(( $+functions[_aptos__node__show-validator-stake_commands] )) ||
_aptos__node__show-validator-stake_commands() {
    local commands; commands=()
    _describe -t commands 'aptos node show-validator-stake commands' commands "$@"
}
(( $+functions[_aptos__help__move__sim_commands] )) ||
_aptos__help__move__sim_commands() {
    local commands; commands=(
'init:Initializes a new simulation session' \
'fund:Funds an account with APT tokens' \
'view-resource:View a resource' \
'view-resource-group:View a resource group' \
'new-block:Execute a new block' \
'advance-epoch:Advance to the next epoch' \
    )
    _describe -t commands 'aptos help move sim commands' commands "$@"
}
(( $+functions[_aptos__move__help__sim_commands] )) ||
_aptos__move__help__sim_commands() {
    local commands; commands=(
'init:Initializes a new simulation session' \
'fund:Funds an account with APT tokens' \
'view-resource:View a resource' \
'view-resource-group:View a resource group' \
'new-block:Execute a new block' \
'advance-epoch:Advance to the next epoch' \
    )
    _describe -t commands 'aptos move help sim commands' commands "$@"
}
(( $+functions[_aptos__move__sim_commands] )) ||
_aptos__move__sim_commands() {
    local commands; commands=(
'init:Initializes a new simulation session' \
'fund:Funds an account with APT tokens' \
'view-resource:View a resource' \
'view-resource-group:View a resource group' \
'new-block:Execute a new block' \
'advance-epoch:Advance to the next epoch' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'aptos move sim commands' commands "$@"
}
(( $+functions[_aptos__help__move__simulate_commands] )) ||
_aptos__help__move__simulate_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help move simulate commands' commands "$@"
}
(( $+functions[_aptos__move__help__simulate_commands] )) ||
_aptos__move__help__simulate_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move help simulate commands' commands "$@"
}
(( $+functions[_aptos__move__simulate_commands] )) ||
_aptos__move__simulate_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move simulate commands' commands "$@"
}
(( $+functions[_aptos__help__move__coverage__source_commands] )) ||
_aptos__help__move__coverage__source_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help move coverage source commands' commands "$@"
}
(( $+functions[_aptos__move__coverage__help__source_commands] )) ||
_aptos__move__coverage__help__source_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move coverage help source commands' commands "$@"
}
(( $+functions[_aptos__move__coverage__source_commands] )) ||
_aptos__move__coverage__source_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move coverage source commands' commands "$@"
}
(( $+functions[_aptos__move__help__coverage__source_commands] )) ||
_aptos__move__help__coverage__source_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move help coverage source commands' commands "$@"
}
(( $+functions[_aptos__help__stake_commands] )) ||
_aptos__help__stake_commands() {
    local commands; commands=(
'add-stake:Add APT to a stake pool' \
'create-staking-contract:Create a staking contract stake pool' \
'distribute-vested-coins:Distribute fully unlocked coins from vesting' \
'increase-lockup:Increase lockup of all staked APT in a stake pool' \
'initialize-stake-owner:Initialize a stake pool owner' \
'request-commission:Request commission from running a stake pool' \
'set-delegated-voter:Delegate voting capability to another account' \
'set-operator:Delegate operator capability to another account' \
'unlock-stake:Unlock staked APT in a stake pool' \
'unlock-vested-coins:Unlock vested coins' \
'withdraw-stake:Withdraw unlocked staked APT from a stake pool' \
    )
    _describe -t commands 'aptos help stake commands' commands "$@"
}
(( $+functions[_aptos__stake_commands] )) ||
_aptos__stake_commands() {
    local commands; commands=(
'add-stake:Add APT to a stake pool' \
'create-staking-contract:Create a staking contract stake pool' \
'distribute-vested-coins:Distribute fully unlocked coins from vesting' \
'increase-lockup:Increase lockup of all staked APT in a stake pool' \
'initialize-stake-owner:Initialize a stake pool owner' \
'request-commission:Request commission from running a stake pool' \
'set-delegated-voter:Delegate voting capability to another account' \
'set-operator:Delegate operator capability to another account' \
'unlock-stake:Unlock staked APT in a stake pool' \
'unlock-vested-coins:Unlock vested coins' \
'withdraw-stake:Withdraw unlocked staked APT from a stake pool' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'aptos stake commands' commands "$@"
}
(( $+functions[_aptos__help__move__coverage__summary_commands] )) ||
_aptos__help__move__coverage__summary_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help move coverage summary commands' commands "$@"
}
(( $+functions[_aptos__move__coverage__help__summary_commands] )) ||
_aptos__move__coverage__help__summary_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move coverage help summary commands' commands "$@"
}
(( $+functions[_aptos__move__coverage__summary_commands] )) ||
_aptos__move__coverage__summary_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move coverage summary commands' commands "$@"
}
(( $+functions[_aptos__move__help__coverage__summary_commands] )) ||
_aptos__move__help__coverage__summary_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move help coverage summary commands' commands "$@"
}
(( $+functions[_aptos__help__move__test_commands] )) ||
_aptos__help__move__test_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help move test commands' commands "$@"
}
(( $+functions[_aptos__move__help__test_commands] )) ||
_aptos__move__help__test_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move help test commands' commands "$@"
}
(( $+functions[_aptos__move__test_commands] )) ||
_aptos__move__test_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move test commands' commands "$@"
}
(( $+functions[_aptos__account__help__transfer_commands] )) ||
_aptos__account__help__transfer_commands() {
    local commands; commands=()
    _describe -t commands 'aptos account help transfer commands' commands "$@"
}
(( $+functions[_aptos__account__transfer_commands] )) ||
_aptos__account__transfer_commands() {
    local commands; commands=()
    _describe -t commands 'aptos account transfer commands' commands "$@"
}
(( $+functions[_aptos__help__account__transfer_commands] )) ||
_aptos__help__account__transfer_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help account transfer commands' commands "$@"
}
(( $+functions[_aptos__help__stake__unlock-stake_commands] )) ||
_aptos__help__stake__unlock-stake_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help stake unlock-stake commands' commands "$@"
}
(( $+functions[_aptos__stake__help__unlock-stake_commands] )) ||
_aptos__stake__help__unlock-stake_commands() {
    local commands; commands=()
    _describe -t commands 'aptos stake help unlock-stake commands' commands "$@"
}
(( $+functions[_aptos__stake__unlock-stake_commands] )) ||
_aptos__stake__unlock-stake_commands() {
    local commands; commands=()
    _describe -t commands 'aptos stake unlock-stake commands' commands "$@"
}
(( $+functions[_aptos__help__stake__unlock-vested-coins_commands] )) ||
_aptos__help__stake__unlock-vested-coins_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help stake unlock-vested-coins commands' commands "$@"
}
(( $+functions[_aptos__stake__help__unlock-vested-coins_commands] )) ||
_aptos__stake__help__unlock-vested-coins_commands() {
    local commands; commands=()
    _describe -t commands 'aptos stake help unlock-vested-coins commands' commands "$@"
}
(( $+functions[_aptos__stake__unlock-vested-coins_commands] )) ||
_aptos__stake__unlock-vested-coins_commands() {
    local commands; commands=()
    _describe -t commands 'aptos stake unlock-vested-coins commands' commands "$@"
}
(( $+functions[_aptos__help__update_commands] )) ||
_aptos__help__update_commands() {
    local commands; commands=(
'aptos:Update the CLI itself' \
'movefmt:Update Movefmt, the tool used for formatting Move code' \
'move-mutation-test:Update move-mutation-test, the tool used for mutation testing of Move unit tests' \
'prover-dependencies:Install dependencies (boogie, z3 and cvc5) for Move prover' \
    )
    _describe -t commands 'aptos help update commands' commands "$@"
}
(( $+functions[_aptos__update_commands] )) ||
_aptos__update_commands() {
    local commands; commands=(
'aptos:Update the CLI itself' \
'movefmt:Update Movefmt, the tool used for formatting Move code' \
'move-mutation-test:Update move-mutation-test, the tool used for mutation testing of Move unit tests' \
'prover-dependencies:Install dependencies (boogie, z3 and cvc5) for Move prover' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'aptos update commands' commands "$@"
}
(( $+functions[_aptos__help__node__update-consensus-key_commands] )) ||
_aptos__help__node__update-consensus-key_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help node update-consensus-key commands' commands "$@"
}
(( $+functions[_aptos__node__help__update-consensus-key_commands] )) ||
_aptos__node__help__update-consensus-key_commands() {
    local commands; commands=()
    _describe -t commands 'aptos node help update-consensus-key commands' commands "$@"
}
(( $+functions[_aptos__node__update-consensus-key_commands] )) ||
_aptos__node__update-consensus-key_commands() {
    local commands; commands=()
    _describe -t commands 'aptos node update-consensus-key commands' commands "$@"
}
(( $+functions[_aptos__help__node__update-validator-network-addresses_commands] )) ||
_aptos__help__node__update-validator-network-addresses_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help node update-validator-network-addresses commands' commands "$@"
}
(( $+functions[_aptos__node__help__update-validator-network-addresses_commands] )) ||
_aptos__node__help__update-validator-network-addresses_commands() {
    local commands; commands=()
    _describe -t commands 'aptos node help update-validator-network-addresses commands' commands "$@"
}
(( $+functions[_aptos__node__update-validator-network-addresses_commands] )) ||
_aptos__node__update-validator-network-addresses_commands() {
    local commands; commands=()
    _describe -t commands 'aptos node update-validator-network-addresses commands' commands "$@"
}
(( $+functions[_aptos__help__move__upgrade-object_commands] )) ||
_aptos__help__move__upgrade-object_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help move upgrade-object commands' commands "$@"
}
(( $+functions[_aptos__move__help__upgrade-object_commands] )) ||
_aptos__move__help__upgrade-object_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move help upgrade-object commands' commands "$@"
}
(( $+functions[_aptos__move__upgrade-object_commands] )) ||
_aptos__move__upgrade-object_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move upgrade-object commands' commands "$@"
}
(( $+functions[_aptos__help__move__upgrade-object-package_commands] )) ||
_aptos__help__move__upgrade-object-package_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help move upgrade-object-package commands' commands "$@"
}
(( $+functions[_aptos__move__help__upgrade-object-package_commands] )) ||
_aptos__move__help__upgrade-object-package_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move help upgrade-object-package commands' commands "$@"
}
(( $+functions[_aptos__move__upgrade-object-package_commands] )) ||
_aptos__move__upgrade-object-package_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move upgrade-object-package commands' commands "$@"
}
(( $+functions[_aptos__help__node__verify-digest-key_commands] )) ||
_aptos__help__node__verify-digest-key_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help node verify-digest-key commands' commands "$@"
}
(( $+functions[_aptos__node__help__verify-digest-key_commands] )) ||
_aptos__node__help__verify-digest-key_commands() {
    local commands; commands=()
    _describe -t commands 'aptos node help verify-digest-key commands' commands "$@"
}
(( $+functions[_aptos__node__verify-digest-key_commands] )) ||
_aptos__node__verify-digest-key_commands() {
    local commands; commands=()
    _describe -t commands 'aptos node verify-digest-key commands' commands "$@"
}
(( $+functions[_aptos__help__move__verify-package_commands] )) ||
_aptos__help__move__verify-package_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help move verify-package commands' commands "$@"
}
(( $+functions[_aptos__move__help__verify-package_commands] )) ||
_aptos__move__help__verify-package_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move help verify-package commands' commands "$@"
}
(( $+functions[_aptos__move__verify-package_commands] )) ||
_aptos__move__verify-package_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move verify-package commands' commands "$@"
}
(( $+functions[_aptos__governance__help__verify-proposal_commands] )) ||
_aptos__governance__help__verify-proposal_commands() {
    local commands; commands=()
    _describe -t commands 'aptos governance help verify-proposal commands' commands "$@"
}
(( $+functions[_aptos__governance__verify-proposal_commands] )) ||
_aptos__governance__verify-proposal_commands() {
    local commands; commands=()
    _describe -t commands 'aptos governance verify-proposal commands' commands "$@"
}
(( $+functions[_aptos__help__governance__verify-proposal_commands] )) ||
_aptos__help__governance__verify-proposal_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help governance verify-proposal commands' commands "$@"
}
(( $+functions[_aptos__help__multisig__verify-proposal_commands] )) ||
_aptos__help__multisig__verify-proposal_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help multisig verify-proposal commands' commands "$@"
}
(( $+functions[_aptos__multisig__help__verify-proposal_commands] )) ||
_aptos__multisig__help__verify-proposal_commands() {
    local commands; commands=()
    _describe -t commands 'aptos multisig help verify-proposal commands' commands "$@"
}
(( $+functions[_aptos__multisig__verify-proposal_commands] )) ||
_aptos__multisig__verify-proposal_commands() {
    local commands; commands=()
    _describe -t commands 'aptos multisig verify-proposal commands' commands "$@"
}
(( $+functions[_aptos__help__multisig__verify-script-proposal_commands] )) ||
_aptos__help__multisig__verify-script-proposal_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help multisig verify-script-proposal commands' commands "$@"
}
(( $+functions[_aptos__multisig__help__verify-script-proposal_commands] )) ||
_aptos__multisig__help__verify-script-proposal_commands() {
    local commands; commands=()
    _describe -t commands 'aptos multisig help verify-script-proposal commands' commands "$@"
}
(( $+functions[_aptos__multisig__verify-script-proposal_commands] )) ||
_aptos__multisig__verify-script-proposal_commands() {
    local commands; commands=()
    _describe -t commands 'aptos multisig verify-script-proposal commands' commands "$@"
}
(( $+functions[_aptos__help__move__view_commands] )) ||
_aptos__help__move__view_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help move view commands' commands "$@"
}
(( $+functions[_aptos__move__help__view_commands] )) ||
_aptos__move__help__view_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move help view commands' commands "$@"
}
(( $+functions[_aptos__move__view_commands] )) ||
_aptos__move__view_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move view commands' commands "$@"
}
(( $+functions[_aptos__help__move__sim__view-resource_commands] )) ||
_aptos__help__move__sim__view-resource_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help move sim view-resource commands' commands "$@"
}
(( $+functions[_aptos__move__help__sim__view-resource_commands] )) ||
_aptos__move__help__sim__view-resource_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move help sim view-resource commands' commands "$@"
}
(( $+functions[_aptos__move__sim__help__view-resource_commands] )) ||
_aptos__move__sim__help__view-resource_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move sim help view-resource commands' commands "$@"
}
(( $+functions[_aptos__move__sim__view-resource_commands] )) ||
_aptos__move__sim__view-resource_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move sim view-resource commands' commands "$@"
}
(( $+functions[_aptos__help__move__sim__view-resource-group_commands] )) ||
_aptos__help__move__sim__view-resource-group_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help move sim view-resource-group commands' commands "$@"
}
(( $+functions[_aptos__move__help__sim__view-resource-group_commands] )) ||
_aptos__move__help__sim__view-resource-group_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move help sim view-resource-group commands' commands "$@"
}
(( $+functions[_aptos__move__sim__help__view-resource-group_commands] )) ||
_aptos__move__sim__help__view-resource-group_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move sim help view-resource-group commands' commands "$@"
}
(( $+functions[_aptos__move__sim__view-resource-group_commands] )) ||
_aptos__move__sim__view-resource-group_commands() {
    local commands; commands=()
    _describe -t commands 'aptos move sim view-resource-group commands' commands "$@"
}
(( $+functions[_aptos__governance__delegation-pool__help__vote_commands] )) ||
_aptos__governance__delegation-pool__help__vote_commands() {
    local commands; commands=()
    _describe -t commands 'aptos governance delegation-pool help vote commands' commands "$@"
}
(( $+functions[_aptos__governance__delegation-pool__vote_commands] )) ||
_aptos__governance__delegation-pool__vote_commands() {
    local commands; commands=()
    _describe -t commands 'aptos governance delegation-pool vote commands' commands "$@"
}
(( $+functions[_aptos__governance__help__delegation-pool__vote_commands] )) ||
_aptos__governance__help__delegation-pool__vote_commands() {
    local commands; commands=()
    _describe -t commands 'aptos governance help delegation-pool vote commands' commands "$@"
}
(( $+functions[_aptos__governance__help__vote_commands] )) ||
_aptos__governance__help__vote_commands() {
    local commands; commands=()
    _describe -t commands 'aptos governance help vote commands' commands "$@"
}
(( $+functions[_aptos__governance__vote_commands] )) ||
_aptos__governance__vote_commands() {
    local commands; commands=()
    _describe -t commands 'aptos governance vote commands' commands "$@"
}
(( $+functions[_aptos__help__governance__delegation-pool__vote_commands] )) ||
_aptos__help__governance__delegation-pool__vote_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help governance delegation-pool vote commands' commands "$@"
}
(( $+functions[_aptos__help__governance__vote_commands] )) ||
_aptos__help__governance__vote_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help governance vote commands' commands "$@"
}
(( $+functions[_aptos__help__stake__withdraw-stake_commands] )) ||
_aptos__help__stake__withdraw-stake_commands() {
    local commands; commands=()
    _describe -t commands 'aptos help stake withdraw-stake commands' commands "$@"
}
(( $+functions[_aptos__stake__help__withdraw-stake_commands] )) ||
_aptos__stake__help__withdraw-stake_commands() {
    local commands; commands=()
    _describe -t commands 'aptos stake help withdraw-stake commands' commands "$@"
}
(( $+functions[_aptos__stake__withdraw-stake_commands] )) ||
_aptos__stake__withdraw-stake_commands() {
    local commands; commands=()
    _describe -t commands 'aptos stake withdraw-stake commands' commands "$@"
}
(( $+functions[_aptos__help__workspace_commands] )) ||
_aptos__help__workspace_commands() {
    local commands; commands=(
'run:' \
    )
    _describe -t commands 'aptos help workspace commands' commands "$@"
}
(( $+functions[_aptos__workspace_commands] )) ||
_aptos__workspace_commands() {
    local commands; commands=(
'run:' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'aptos workspace commands' commands "$@"
}

if [ "$funcstack[1]" = "_aptos" ]; then
    _aptos "$@"
else
    compdef _aptos aptos
fi
