#compdef stellar

autoload -U is-at-least

_stellar() {
    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[@]}" : \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--list[⚠️ Deprecated, use \`stellar plugin ls\`. List installed plugins. E.g. \`stellar-hello\`]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
":: :_stellar_commands" \
"*::: :->stellar" \
&& ret=0
    case $state in
    (stellar)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:stellar-command-$line[1]:"
        case $line[1] in
            (contract)
_arguments "${_arguments_options[@]}" : \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
":: :_stellar__contract_commands" \
"*::: :->contract" \
&& ret=0

    case $state in
    (contract)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:stellar-contract-command-$line[1]:"
        case $line[1] in
            (asset)
_arguments "${_arguments_options[@]}" : \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
":: :_stellar__contract__asset_commands" \
"*::: :->asset" \
&& ret=0

    case $state in
    (asset)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:stellar-contract-asset-command-$line[1]:"
        case $line[1] in
            (id)
_arguments "${_arguments_options[@]}" : \
'--asset=[ID of the Stellar classic asset to wrap, e.g. "native", "USDC\:G...5", "USDC\:alias"]:ASSET:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(deploy)
_arguments "${_arguments_options[@]}" : \
'--asset=[ID of the Stellar classic asset to wrap, e.g. "USDC\:G...5"]:ASSET:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--alias=[The alias that will be used to save the assets'\''s id. Whenever used, \`--alias\` will always overwrite the existing contract id configuration without asking for confirmation]:ALIAS:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
        esac
    ;;
esac
;;
(alias)
_arguments "${_arguments_options[@]}" : \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
":: :_stellar__contract__alias_commands" \
"*::: :->alias" \
&& ret=0

    case $state in
    (alias)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:stellar-contract-alias-command-$line[1]:"
        case $line[1] in
            (remove)
_arguments "${_arguments_options[@]}" : \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
':alias -- The contract alias that will be removed:_default' \
&& ret=0
;;
(add)
_arguments "${_arguments_options[@]}" : \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'--id=[The contract id that will be associated with the alias]:CONTRACT_ID:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'--overwrite[Overwrite the contract alias if it already exists]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
':alias -- The contract alias that will be used:_default' \
&& ret=0
;;
(show)
_arguments "${_arguments_options[@]}" : \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
':alias -- The contract alias that will be displayed:_default' \
&& ret=0
;;
(ls)
_arguments "${_arguments_options[@]}" : \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
        esac
    ;;
esac
;;
(bindings)
_arguments "${_arguments_options[@]}" : \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
":: :_stellar__contract__bindings_commands" \
"*::: :->bindings" \
&& ret=0

    case $state in
    (bindings)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:stellar-contract-bindings-command-$line[1]:"
        case $line[1] in
            (json)
_arguments "${_arguments_options[@]}" : \
'--wasm=[Path to wasm binary]:WASM:_files' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(rust)
_arguments "${_arguments_options[@]}" : \
'--wasm=[Path to wasm binary]:WASM:_files' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(typescript)
_arguments "${_arguments_options[@]}" : \
'(--contract-id --wasm-hash)--wasm=[Wasm file path on local filesystem. Provide this OR \`--wasm-hash\` OR \`--contract-id\`]:WASM:_files' \
'(--contract-id --wasm)--wasm-hash=[Hash of Wasm blob on a network. Provide this OR \`--wasm\` OR \`--contract-id\`]:WASM_HASH:_default' \
'(--wasm --wasm-hash)--contract-id=[Contract ID/alias on a network. Provide this OR \`--wasm-hash\` OR \`--wasm\`]:CONTRACT_ID:_default' \
'(--wasm --wasm-hash)--id=[Contract ID/alias on a network. Provide this OR \`--wasm-hash\` OR \`--wasm\`]:CONTRACT_ID:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--output-dir=[Where to place generated project]:OUTPUT_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'--overwrite[Whether to overwrite output directory if it already exists]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(python)
_arguments "${_arguments_options[@]}" : \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(java)
_arguments "${_arguments_options[@]}" : \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(flutter)
_arguments "${_arguments_options[@]}" : \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(swift)
_arguments "${_arguments_options[@]}" : \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(php)
_arguments "${_arguments_options[@]}" : \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
        esac
    ;;
esac
;;
(build)
_arguments "${_arguments_options[@]}" : \
'--manifest-path=[Path to Cargo.toml]:MANIFEST_PATH:_files' \
'--package=[Package to build]:PACKAGE:_default' \
'--profile=[Build with the specified profile]:PROFILE:_default' \
'--features=[Build with the list of features activated, space or comma separated]:FEATURES:_default' \
'--out-dir=[Directory to copy wasm files to]:OUT_DIR:_files' \
'*--meta=[Add key-value to contract meta (adds the meta to the \`contractmetav0\` custom section)]:META:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'(--features --no-default-features)--all-features[Build with the all features activated]' \
'--no-default-features[Build with the default feature not activated]' \
'(--out-dir)--print-commands-only[Print commands to build without executing them]' \
'--optimize[Optimize the generated wasm]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(extend)
_arguments "${_arguments_options[@]}" : \
'--ledgers-to-extend=[Number of ledgers to extend the entries]:LEDGERS_TO_EXTEND:_default' \
'--id=[Contract ID to which owns the data entries. If no keys provided the Contract'\''s instance will be extended]:CONTRACT_ID:_default' \
'(--key-xdr)*--key=[Storage key (symbols only)]:KEY:_default' \
'(--key)*--key-xdr=[Storage key (base64-encoded XDR)]:KEY_XDR:_default' \
'(--id --key --key-xdr --wasm-hash)--wasm=[Path to Wasm file of contract code to extend]:WASM:_files' \
'(--id --key --key-xdr --wasm)--wasm-hash=[Path to Wasm file of contract code to extend]:WASM_HASH:_default' \
'--durability=[Storage entry durability]:DURABILITY:((persistent\:"Persistent"
temporary\:"Temporary"))' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--ttl-ledger-only[Only print the new Time To Live ledger]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(deploy)
_arguments "${_arguments_options[@]}" : \
'--wasm=[WASM file to deploy]:WASM:_files' \
'(--wasm)--wasm-hash=[Hash of the already installed/deployed WASM file]:WASM_HASH:_default' \
'--salt=[Custom salt 32-byte salt for the token id]:SALT:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--alias=[The alias that will be used to save the contract'\''s id. Whenever used, \`--alias\` will always overwrite the existing contract id configuration without asking for confirmation]:ALIAS:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'-i[Whether to ignore safety checks when deploying contracts]' \
'--ignore-checks[Whether to ignore safety checks when deploying contracts]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
'*::CONTRACT_CONSTRUCTOR_ARGS -- If provided, will be passed to the contract'\''s `__constructor` function with provided arguments for that function as `--arg-name value`:_default' \
&& ret=0
;;
(fetch)
_arguments "${_arguments_options[@]}" : \
'--id=[Contract ID to fetch]:CONTRACT_ID:_default' \
'(--id)--wasm-hash=[Wasm to fetch]:WASM_HASH:_default' \
'-o+[Where to write output otherwise stdout is used]:OUT_FILE:_files' \
'--out-file=[Where to write output otherwise stdout is used]:OUT_FILE:_files' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(id)
_arguments "${_arguments_options[@]}" : \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
":: :_stellar__contract__id_commands" \
"*::: :->id" \
&& ret=0

    case $state in
    (id)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:stellar-contract-id-command-$line[1]:"
        case $line[1] in
            (asset)
_arguments "${_arguments_options[@]}" : \
'--asset=[ID of the Stellar classic asset to wrap, e.g. "native", "USDC\:G...5", "USDC\:alias"]:ASSET:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(wasm)
_arguments "${_arguments_options[@]}" : \
'--salt=[ID of the Soroban contract]:SALT:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
        esac
    ;;
esac
;;
(info)
_arguments "${_arguments_options[@]}" : \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
":: :_stellar__contract__info_commands" \
"*::: :->info" \
&& ret=0

    case $state in
    (info)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:stellar-contract-info-command-$line[1]:"
        case $line[1] in
            (interface)
_arguments "${_arguments_options[@]}" : \
'(--contract-id --wasm-hash)--wasm=[Wasm file path on local filesystem. Provide this OR \`--wasm-hash\` OR \`--contract-id\`]:WASM:_files' \
'(--contract-id --wasm)--wasm-hash=[Hash of Wasm blob on a network. Provide this OR \`--wasm\` OR \`--contract-id\`]:WASM_HASH:_default' \
'(--wasm --wasm-hash)--contract-id=[Contract ID/alias on a network. Provide this OR \`--wasm-hash\` OR \`--wasm\`]:CONTRACT_ID:_default' \
'(--wasm --wasm-hash)--id=[Contract ID/alias on a network. Provide this OR \`--wasm-hash\` OR \`--wasm\`]:CONTRACT_ID:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--output=[Format of the output]:OUTPUT:((rust\:"Rust code output of the contract interface"
xdr-base64\:"XDR output of the info entry"
json\:"JSON output of the info entry (one line, not formatted)"
json-formatted\:"Formatted (multiline) JSON output of the info entry"))' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(meta)
_arguments "${_arguments_options[@]}" : \
'(--contract-id --wasm-hash)--wasm=[Wasm file path on local filesystem. Provide this OR \`--wasm-hash\` OR \`--contract-id\`]:WASM:_files' \
'(--contract-id --wasm)--wasm-hash=[Hash of Wasm blob on a network. Provide this OR \`--wasm\` OR \`--contract-id\`]:WASM_HASH:_default' \
'(--wasm --wasm-hash)--contract-id=[Contract ID/alias on a network. Provide this OR \`--wasm-hash\` OR \`--wasm\`]:CONTRACT_ID:_default' \
'(--wasm --wasm-hash)--id=[Contract ID/alias on a network. Provide this OR \`--wasm-hash\` OR \`--wasm\`]:CONTRACT_ID:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--output=[Format of the output]:OUTPUT:((text\:"Text output of the meta info entry"
xdr-base64\:"XDR output of the info entry"
json\:"JSON output of the info entry (one line, not formatted)"
json-formatted\:"Formatted (multiline) JSON output of the info entry"))' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(env-meta)
_arguments "${_arguments_options[@]}" : \
'(--contract-id --wasm-hash)--wasm=[Wasm file path on local filesystem. Provide this OR \`--wasm-hash\` OR \`--contract-id\`]:WASM:_files' \
'(--contract-id --wasm)--wasm-hash=[Hash of Wasm blob on a network. Provide this OR \`--wasm\` OR \`--contract-id\`]:WASM_HASH:_default' \
'(--wasm --wasm-hash)--contract-id=[Contract ID/alias on a network. Provide this OR \`--wasm-hash\` OR \`--wasm\`]:CONTRACT_ID:_default' \
'(--wasm --wasm-hash)--id=[Contract ID/alias on a network. Provide this OR \`--wasm-hash\` OR \`--wasm\`]:CONTRACT_ID:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--output=[Format of the output]:OUTPUT:((text\:"Text output of the meta info entry"
xdr-base64\:"XDR output of the info entry"
json\:"JSON output of the info entry (one line, not formatted)"
json-formatted\:"Formatted (multiline) JSON output of the info entry"))' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(build)
_arguments "${_arguments_options[@]}" : \
'(--contract-id --wasm-hash)--wasm=[Wasm file path on local filesystem. Provide this OR \`--wasm-hash\` OR \`--contract-id\`]:WASM:_files' \
'(--contract-id --wasm)--wasm-hash=[Hash of Wasm blob on a network. Provide this OR \`--wasm\` OR \`--contract-id\`]:WASM_HASH:_default' \
'(--wasm --wasm-hash)--contract-id=[Contract ID/alias on a network. Provide this OR \`--wasm-hash\` OR \`--wasm\`]:CONTRACT_ID:_default' \
'(--wasm --wasm-hash)--id=[Contract ID/alias on a network. Provide this OR \`--wasm-hash\` OR \`--wasm\`]:CONTRACT_ID:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
        esac
    ;;
esac
;;
(init)
_arguments "${_arguments_options[@]}" : \
'--name=[]:NAME:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--overwrite[]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':project_path:_default' \
&& ret=0
;;
(inspect)
_arguments "${_arguments_options[@]}" : \
'--wasm=[Path to wasm binary]:WASM:_files' \
'--output=[Output just XDR in base64]:OUTPUT:((xdr-base64\:"XDR of array of contract spec entries"
xdr-base64-array\:"Array of xdr of contract spec entries"
docs\:"Pretty print of contract spec entries"))' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(upload)
_arguments "${_arguments_options[@]}" : \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--wasm=[Path to wasm binary]:WASM:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'-i[Whether to ignore safety checks when deploying contracts]' \
'--ignore-checks[Whether to ignore safety checks when deploying contracts]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(install)
_arguments "${_arguments_options[@]}" : \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--wasm=[Path to wasm binary]:WASM:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'-i[Whether to ignore safety checks when deploying contracts]' \
'--ignore-checks[Whether to ignore safety checks when deploying contracts]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(invoke)
_arguments "${_arguments_options[@]}" : \
'--id=[Contract ID to invoke]:CONTRACT_ID:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--send=[Whether or not to send a transaction]:SEND:((default\:"Send transaction if simulation indicates there are ledger writes, published events, or auth required, otherwise return simulation result"
no\:"Do not send transaction, return simulation result"
yes\:"Always send transaction"))' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--is-view[⚠️ Deprecated, use \`--send=no\`. View the result simulating and do not sign and submit transaction]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'*::CONTRACT_FN_AND_ARGS -- Function name as subcommand, then arguments for that function as `--arg-name value`:_default' \
&& ret=0
;;
(optimize)
_arguments "${_arguments_options[@]}" : \
'*--wasm=[Path to one or more wasm binaries]:WASM:_files' \
'--wasm-out=[Path to write the optimized WASM file to (defaults to same location as --wasm with .optimized.wasm suffix)]:WASM_OUT:_files' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(read)
_arguments "${_arguments_options[@]}" : \
'--output=[Type of output to generate]:OUTPUT:((string\:"String"
json\:"Json"
xdr\:"XDR"))' \
'--id=[Contract ID to which owns the data entries. If no keys provided the Contract'\''s instance will be extended]:CONTRACT_ID:_default' \
'(--key-xdr)*--key=[Storage key (symbols only)]:KEY:_default' \
'(--key)*--key-xdr=[Storage key (base64-encoded XDR)]:KEY_XDR:_default' \
'(--id --key --key-xdr --wasm-hash)--wasm=[Path to Wasm file of contract code to extend]:WASM:_files' \
'(--id --key --key-xdr --wasm)--wasm-hash=[Path to Wasm file of contract code to extend]:WASM_HASH:_default' \
'--durability=[Storage entry durability]:DURABILITY:((persistent\:"Persistent"
temporary\:"Temporary"))' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(restore)
_arguments "${_arguments_options[@]}" : \
'--id=[Contract ID to which owns the data entries. If no keys provided the Contract'\''s instance will be extended]:CONTRACT_ID:_default' \
'(--key-xdr)*--key=[Storage key (symbols only)]:KEY:_default' \
'(--key)*--key-xdr=[Storage key (base64-encoded XDR)]:KEY_XDR:_default' \
'(--id --key --key-xdr --wasm-hash)--wasm=[Path to Wasm file of contract code to extend]:WASM:_files' \
'(--id --key --key-xdr --wasm)--wasm-hash=[Path to Wasm file of contract code to extend]:WASM_HASH:_default' \
'--durability=[Storage entry durability]:DURABILITY:((persistent\:"Persistent"
temporary\:"Temporary"))' \
'--ledgers-to-extend=[Number of ledgers to extend the entry]:LEDGERS_TO_EXTEND:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--ttl-ledger-only[Only print the new Time To Live ledger]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
        esac
    ;;
esac
;;
(doctor)
_arguments "${_arguments_options[@]}" : \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(events)
_arguments "${_arguments_options[@]}" : \
'(--cursor)--start-ledger=[The first ledger sequence number in the range to pull events https\://developers.stellar.org/docs/learn/encyclopedia/network-configuration/ledger-headers#ledger-sequence]:START_LEDGER:_default' \
'(--start-ledger)--cursor=[The cursor corresponding to the start of the event range]:CURSOR:_default' \
'--output=[Output formatting options for event stream]:OUTPUT:((pretty\:"Colorful, human-oriented console output"
plain\:"Human-oriented console output without colors"
json\:"JSON formatted console output"))' \
'-c+[The maximum number of events to display (defer to the server-defined limit)]:COUNT:_default' \
'--count=[The maximum number of events to display (defer to the server-defined limit)]:COUNT:_default' \
'*--id=[A set of (up to 5) contract IDs to filter events on. This parameter can be passed multiple times, e.g. \`--id C123.. --id C456..\`, or passed with multiple parameters, e.g. \`--id C123 C456\`]:CONTRACT_IDS:_default' \
'*--topic=[A set of (up to 5) topic filters to filter event topics on. A single topic filter can contain 1-4 different segments, separated by commas. An asterisk (\`*\` character) indicates a wildcard segment]:TOPIC_FILTERS:_default' \
'--type=[Specifies which type of contract events to display]:EVENT_TYPE:(all contract system)' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(env)
_arguments "${_arguments_options[@]}" : \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'::name -- Env variable name to get the value of:_default' \
&& ret=0
;;
(keys)
_arguments "${_arguments_options[@]}" : \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
":: :_stellar__keys_commands" \
"*::: :->keys" \
&& ret=0

    case $state in
    (keys)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:stellar-keys-command-$line[1]:"
        case $line[1] in
            (add)
_arguments "${_arguments_options[@]}" : \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'(--seed-phrase --secret-key)--public-key=[Add a public key, ed25519, or muxed account, e.g. G1.., M2..]:PUBLIC_KEY:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--secret-key[⚠️ Deprecated, use \`--secure-store\`. Enter secret (S) key when prompted]' \
'--seed-phrase[⚠️ Deprecated, use \`--secure-store\`. Enter key using 12-24 word seed phrase]' \
'--secure-store[Save the new key in your OS'\''s credential secure store]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'--overwrite[Overwrite existing identity if it already exists]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':name -- Name of identity:_default' \
&& ret=0
;;
(public-key)
_arguments "${_arguments_options[@]}" : \
'--hd-path=[If identity is a seed phrase use this hd path, default is 0]:HD_PATH:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
':name -- Name of identity to lookup, default test identity used if not provided:_default' \
&& ret=0
;;
(address)
_arguments "${_arguments_options[@]}" : \
'--hd-path=[If identity is a seed phrase use this hd path, default is 0]:HD_PATH:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
':name -- Name of identity to lookup, default test identity used if not provided:_default' \
&& ret=0
;;
(fund)
_arguments "${_arguments_options[@]}" : \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'--hd-path=[If identity is a seed phrase use this hd path, default is 0]:HD_PATH:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
':name -- Name of identity to lookup, default test identity used if not provided:_default' \
&& ret=0
;;
(generate)
_arguments "${_arguments_options[@]}" : \
'--seed=[Optional seed to use when generating seed phrase. Random otherwise]:SEED:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--hd-path=[When generating a secret key, which \`hd_path\` should be used from the original \`seed_phrase\`]:HD_PATH:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'-s[Output the generated identity as a secret key]' \
'--as-secret[Output the generated identity as a secret key]' \
'--secure-store[Save the new key in your OS'\''s credential secure store]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'--fund[Fund generated key pair]' \
'--overwrite[Overwrite existing identity if it already exists]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':name -- Name of identity:_default' \
&& ret=0
;;
(ls)
_arguments "${_arguments_options[@]}" : \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-l[]' \
'--long[]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(rm)
_arguments "${_arguments_options[@]}" : \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
':name -- Identity to remove:_default' \
&& ret=0
;;
(secret)
_arguments "${_arguments_options[@]}" : \
'(--phrase)--hd-path=[If identity is a seed phrase use this hd path, default is 0]:HD_PATH:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'(--hd-path)--phrase[Output seed phrase instead of private key]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
':name -- Name of identity to lookup, default is test identity:_default' \
&& ret=0
;;
(use)
_arguments "${_arguments_options[@]}" : \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
':name -- Set the default network name:_default' \
&& ret=0
;;
        esac
    ;;
esac
;;
(network)
_arguments "${_arguments_options[@]}" : \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
":: :_stellar__network_commands" \
"*::: :->network" \
&& ret=0

    case $state in
    (network)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:stellar-network-command-$line[1]:"
        case $line[1] in
            (add)
_arguments "${_arguments_options[@]}" : \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[Optional header to include in requests to the RPC, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
':name -- Name of network:_default' \
&& ret=0
;;
(rm)
_arguments "${_arguments_options[@]}" : \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
':name -- Network to remove:_default' \
&& ret=0
;;
(ls)
_arguments "${_arguments_options[@]}" : \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-l[Get more info about the networks]' \
'--long[Get more info about the networks]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(use)
_arguments "${_arguments_options[@]}" : \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
':name -- Set the default network name:_default' \
&& ret=0
;;
(health)
_arguments "${_arguments_options[@]}" : \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--output=[Format of the output]:OUTPUT:((text\:"Text output of network health status"
json\:"JSON result of the RPC request"
json-formatted\:"Formatted (multiline) JSON output of the RPC request"))' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(info)
_arguments "${_arguments_options[@]}" : \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--output=[Format of the output]:OUTPUT:((text\:"Text output of network info"
json\:"JSON result of the RPC request"
json-formatted\:"Formatted (multiline) JSON output of the RPC request"))' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(settings)
_arguments "${_arguments_options[@]}" : \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--output=[Format of the output]:OUTPUT:((xdr\:"XDR (\`ConfigUpgradeSet\` type)"
json\:"JSON, XDR-JSON of the \`ConfigUpgradeSet\` XDR type"
json-formatted\:"JSON formatted, XDR-JSON of the \`ConfigUpgradeSet\` XDR type"))' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'--internal[Include internal config settings that are not upgradeable and are internally maintained by the network]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
        esac
    ;;
esac
;;
(container)
_arguments "${_arguments_options[@]}" : \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
":: :_stellar__container_commands" \
"*::: :->container" \
&& ret=0

    case $state in
    (container)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:stellar-container-command-$line[1]:"
        case $line[1] in
            (logs)
_arguments "${_arguments_options[@]}" : \
'-d+[Optional argument to override the default docker host. This is useful when you are using a non-standard docker host path for your Docker-compatible container runtime, e.g. Docker Desktop defaults to \$HOME/.docker/run/docker.sock instead of /var/run/docker.sock]:DOCKER_HOST:_default' \
'--docker-host=[Optional argument to override the default docker host. This is useful when you are using a non-standard docker host path for your Docker-compatible container runtime, e.g. Docker Desktop defaults to \$HOME/.docker/run/docker.sock instead of /var/run/docker.sock]:DOCKER_HOST:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
'::name -- Container to get logs from:_default' \
&& ret=0
;;
(start)
_arguments "${_arguments_options[@]}" : \
'-d+[Optional argument to override the default docker host. This is useful when you are using a non-standard docker host path for your Docker-compatible container runtime, e.g. Docker Desktop defaults to \$HOME/.docker/run/docker.sock instead of /var/run/docker.sock]:DOCKER_HOST:_default' \
'--docker-host=[Optional argument to override the default docker host. This is useful when you are using a non-standard docker host path for your Docker-compatible container runtime, e.g. Docker Desktop defaults to \$HOME/.docker/run/docker.sock instead of /var/run/docker.sock]:DOCKER_HOST:_default' \
'--name=[Optional argument to specify the container name]:NAME:_default' \
'-l+[Optional argument to specify the limits for the local network only]:LIMITS:_default' \
'--limits=[Optional argument to specify the limits for the local network only]:LIMITS:_default' \
'*-p+[Argument to specify the \`HOST_PORT\:CONTAINER_PORT\` mapping]:PORTS_MAPPING:_default' \
'*--ports-mapping=[Argument to specify the \`HOST_PORT\:CONTAINER_PORT\` mapping]:PORTS_MAPPING:_default' \
'-t+[Optional argument to override the default docker image tag for the given network]:IMAGE_TAG_OVERRIDE:_default' \
'--image-tag-override=[Optional argument to override the default docker image tag for the given network]:IMAGE_TAG_OVERRIDE:_default' \
'--protocol-version=[Optional argument to specify the protocol version for the local network only]:PROTOCOL_VERSION:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'::network -- Network to start. Default is `local`:(local testnet futurenet pubnet)' \
&& ret=0
;;
(stop)
_arguments "${_arguments_options[@]}" : \
'-d+[Optional argument to override the default docker host. This is useful when you are using a non-standard docker host path for your Docker-compatible container runtime, e.g. Docker Desktop defaults to \$HOME/.docker/run/docker.sock instead of /var/run/docker.sock]:DOCKER_HOST:_default' \
'--docker-host=[Optional argument to override the default docker host. This is useful when you are using a non-standard docker host path for your Docker-compatible container runtime, e.g. Docker Desktop defaults to \$HOME/.docker/run/docker.sock instead of /var/run/docker.sock]:DOCKER_HOST:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
'::name -- Container to stop:_default' \
&& ret=0
;;
        esac
    ;;
esac
;;
(config)
_arguments "${_arguments_options[@]}" : \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
":: :_stellar__config_commands" \
"*::: :->config" \
&& ret=0

    case $state in
    (config)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:stellar-config-command-$line[1]:"
        case $line[1] in
            (migrate)
_arguments "${_arguments_options[@]}" : \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(dir)
_arguments "${_arguments_options[@]}" : \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
        esac
    ;;
esac
;;
(snapshot)
_arguments "${_arguments_options[@]}" : \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
":: :_stellar__snapshot_commands" \
"*::: :->snapshot" \
&& ret=0

    case $state in
    (snapshot)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:stellar-snapshot-command-$line[1]:"
        case $line[1] in
            (create)
_arguments "${_arguments_options[@]}" : \
'--ledger=[The ledger sequence number to snapshot. Defaults to latest history archived ledger]:LEDGER:_default' \
'*--address=[Account or contract address/alias to include in the snapshot]:ADDRESS:_default' \
'*--wasm-hash=[WASM hashes to include in the snapshot]:WASM_HASHES:_default' \
'--output=[Format of the out file]:OUTPUT:(json)' \
'--out=[Out path that the snapshot is written to]:OUT:_files' \
'--archive-url=[Archive URL]:ARCHIVE_URL:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(merge)
_arguments "${_arguments_options[@]}" : \
'-o+[Output path for the merged snapshot]:OUT:_files' \
'--out=[Output path for the merged snapshot]:OUT:_files' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'*::snapshots -- Snapshot files to merge (at least 2 required):_files' \
&& ret=0
;;
        esac
    ;;
esac
;;
(tx)
_arguments "${_arguments_options[@]}" : \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
":: :_stellar__tx_commands" \
"*::: :->tx" \
&& ret=0

    case $state in
    (tx)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:stellar-tx-command-$line[1]:"
        case $line[1] in
            (update)
_arguments "${_arguments_options[@]}" : \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
":: :_stellar__tx__update_commands" \
"*::: :->update" \
&& ret=0

    case $state in
    (update)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:stellar-tx-update-command-$line[1]:"
        case $line[1] in
            (sequence-number)
_arguments "${_arguments_options[@]}" : \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
":: :_stellar__tx__update__sequence-number_commands" \
"*::: :->sequence-number" \
&& ret=0

    case $state in
    (sequence-number)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:stellar-tx-update-sequence-number-command-$line[1]:"
        case $line[1] in
            (next)
_arguments "${_arguments_options[@]}" : \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
        esac
    ;;
esac
;;
(seq-num)
_arguments "${_arguments_options[@]}" : \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
":: :_stellar__tx__update__sequence-number_commands" \
"*::: :->sequence-number" \
&& ret=0

    case $state in
    (sequence-number)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:stellar-tx-update-sequence-number-command-$line[1]:"
        case $line[1] in
            (next)
_arguments "${_arguments_options[@]}" : \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(edit)
_arguments "${_arguments_options[@]}" : \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(hash)
_arguments "${_arguments_options[@]}" : \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
'::tx_xdr -- Base-64 transaction envelope XDR or file containing XDR to decode, or stdin if empty:_default' \
&& ret=0
;;
(new)
_arguments "${_arguments_options[@]}" : \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
":: :_stellar__tx__new_commands" \
"*::: :->new" \
&& ret=0

    case $state in
    (new)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:stellar-tx-new-command-$line[1]:"
        case $line[1] in
            (account-merge)
_arguments "${_arguments_options[@]}" : \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--account=[Muxed Account to merge with, e.g. \`GBX...\`, '\''MBX...'\'']:ACCOUNT:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(begin-sponsoring-future-reserves)
_arguments "${_arguments_options[@]}" : \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--sponsored-id=[Account that will be sponsored]:SPONSORED_ID:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(bump-sequence)
_arguments "${_arguments_options[@]}" : \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--bump-to=[Sequence number to bump to]:BUMP_TO:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(change-trust)
_arguments "${_arguments_options[@]}" : \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--line=[]:LINE:_default' \
'--limit=[Limit for the trust line, 0 to remove the trust line]:LIMIT:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(claim-claimable-balance)
_arguments "${_arguments_options[@]}" : \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--balance-id=[Balance ID of the claimable balance to claim (64-character hex string)]:BALANCE_ID:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(clawback)
_arguments "${_arguments_options[@]}" : \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--from=[Account to clawback assets from, e.g. \`GBX...\`]:FROM:_default' \
'--asset=[Asset to clawback]:ASSET:_default' \
'--amount=[Amount of the asset to clawback, in stroops. 1 stroop = 0.0000001 of the asset]:AMOUNT:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(clawback-claimable-balance)
_arguments "${_arguments_options[@]}" : \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--balance-id=[Balance ID of the claimable balance to clawback. Accepts multiple formats\: - API format with type prefix (72 chars)\: 000000006f2179b31311fa8064760b48942c8e166702ba0b8fbe7358c4fd570421840461 - Direct hash format (64 chars)\: 6f2179b31311fa8064760b48942c8e166702ba0b8fbe7358c4fd570421840461 - Address format (base32)\: BAAMLBZI42AD52HKGIZOU7WFVZM6BPEJCLPL44QU2AT6TY3P57I5QDNYIA]:BALANCE_ID:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(create-account)
_arguments "${_arguments_options[@]}" : \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--destination=[Account Id to create, e.g. \`GBX...\`]:DESTINATION:_default' \
'--starting-balance=[Initial balance in stroops of the account, default 1 XLM]:STARTING_BALANCE:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(create-claimable-balance)
_arguments "${_arguments_options[@]}" : \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--asset=[Asset to be held in the ClaimableBalanceEntry]:ASSET:_default' \
'--amount=[Amount of asset to store in the entry, in stroops. 1 stroop = 0.0000001 of the asset]:AMOUNT:_default' \
'*--claimant=[Claimants of the claimable balance. Format\: account_id or account_id\:predicate_json Can be specified multiple times for multiple claimants]:CLAIMANTS:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(create-passive-sell-offer)
_arguments "${_arguments_options[@]}" : \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--selling=[Asset to sell]:SELLING:_default' \
'--buying=[Asset to buy]:BUYING:_default' \
'--amount=[Amount of selling asset to offer, in stroops. 1 stroop = 0.0000001 of the asset (e.g. 1 XLM = \`10_000_000\` stroops)]:AMOUNT:_default' \
'--price=[Price of 1 unit of selling asset in terms of buying asset as "numerator\:denominator" (e.g., "1\:2" means 0.5)]:PRICE:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(end-sponsoring-future-reserves)
_arguments "${_arguments_options[@]}" : \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(liquidity-pool-deposit)
_arguments "${_arguments_options[@]}" : \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--liquidity-pool-id=[Liquidity pool ID to deposit to]:LIQUIDITY_POOL_ID:_default' \
'--max-amount-a=[Maximum amount of the first asset to deposit, in stroops]:MAX_AMOUNT_A:_default' \
'--max-amount-b=[Maximum amount of the second asset to deposit, in stroops]:MAX_AMOUNT_B:_default' \
'--min-price=[Minimum price for the first asset in terms of the second asset as "numerator\:denominator" (e.g., "1\:2" means 0.5)]:MIN_PRICE:_default' \
'--max-price=[Maximum price for the first asset in terms of the second asset as "numerator\:denominator" (e.g., "1\:2" means 0.5)]:MAX_PRICE:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(liquidity-pool-withdraw)
_arguments "${_arguments_options[@]}" : \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--liquidity-pool-id=[Liquidity pool ID to withdraw from]:LIQUIDITY_POOL_ID:_default' \
'--amount=[Amount of pool shares to withdraw, in stroops]:AMOUNT:_default' \
'--min-amount-a=[Minimum amount of the first asset to receive, in stroops]:MIN_AMOUNT_A:_default' \
'--min-amount-b=[Minimum amount of the second asset to receive, in stroops]:MIN_AMOUNT_B:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(manage-buy-offer)
_arguments "${_arguments_options[@]}" : \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--selling=[Asset to sell]:SELLING:_default' \
'--buying=[Asset to buy]:BUYING:_default' \
'--amount=[Amount of buying asset to purchase, in stroops. 1 stroop = 0.0000001 of the asset (e.g. 1 XLM = \`10_000_000\` stroops). Use \`0\` to remove the offer]:AMOUNT:_default' \
'--price=[Price of 1 unit of buying asset in terms of selling asset as "numerator\:denominator" (e.g., "1\:2" means 0.5)]:PRICE:_default' \
'--offer-id=[Offer ID. If 0, will create new offer. Otherwise, will update existing offer]:OFFER_ID:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(manage-data)
_arguments "${_arguments_options[@]}" : \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--data-name=[String up to 64 bytes long. If this is a new Name it will add the given name/value pair to the account. If this Name is already present then the associated value will be modified]:DATA_NAME:_default' \
'--data-value=[Up to 64 bytes long hex string If not present then the existing Name will be deleted. If present then this value will be set in the \`DataEntry\`]:DATA_VALUE:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(manage-sell-offer)
_arguments "${_arguments_options[@]}" : \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--selling=[Asset to sell]:SELLING:_default' \
'--buying=[Asset to buy]:BUYING:_default' \
'--amount=[Amount of selling asset to offer, in stroops. 1 stroop = 0.0000001 of the asset (e.g. 1 XLM = \`10_000_000\` stroops). Use \`0\` to remove the offer]:AMOUNT:_default' \
'--price=[Price of 1 unit of selling asset in terms of buying asset as "numerator\:denominator" (e.g., "1\:2" means 0.5)]:PRICE:_default' \
'--offer-id=[Offer ID. If 0, will create new offer. Otherwise, will update existing offer]:OFFER_ID:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(path-payment-strict-send)
_arguments "${_arguments_options[@]}" : \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--send-asset=[Asset to send (pay with)]:SEND_ASSET:_default' \
'--send-amount=[Amount of send asset to deduct from sender'\''s account, in stroops. 1 stroop = 0.0000001 of the asset (e.g. 1 XLM = \`10_000_000\` stroops)]:SEND_AMOUNT:_default' \
'--destination=[Account that receives the payment]:DESTINATION:_default' \
'--dest-asset=[Asset that the destination will receive]:DEST_ASSET:_default' \
'--dest-min=[Minimum amount of destination asset that the destination account can receive. The operation will fail if this amount cannot be met]:DEST_MIN:_default' \
'*--path=[List of intermediate assets for the payment path, comma-separated (up to 5 assets). Each asset should be in the format '\''code\:issuer'\'' or '\''native'\'' for XLM]:PATH:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(path-payment-strict-receive)
_arguments "${_arguments_options[@]}" : \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--send-asset=[Asset to send (pay with)]:SEND_ASSET:_default' \
'--send-max=[Maximum amount of send asset to deduct from sender'\''s account, in stroops. 1 stroop = 0.0000001 of the asset (e.g. 1 XLM = \`10_000_000\` stroops)]:SEND_MAX:_default' \
'--destination=[Account that receives the payment]:DESTINATION:_default' \
'--dest-asset=[Asset that the destination will receive]:DEST_ASSET:_default' \
'--dest-amount=[Exact amount of destination asset that the destination account will receive, in stroops. 1 stroop = 0.0000001 of the asset]:DEST_AMOUNT:_default' \
'*--path=[List of intermediate assets for the payment path, comma-separated (up to 5 assets). Each asset should be in the format '\''code\:issuer'\'' or '\''native'\'' for XLM]:PATH:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(payment)
_arguments "${_arguments_options[@]}" : \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--destination=[Account to send to, e.g. \`GBX...\`]:DESTINATION:_default' \
'--asset=[Asset to send, default native, e.i. XLM]:ASSET:_default' \
'--amount=[Amount of the aforementioned asset to send, in stroops. 1 stroop = 0.0000001 of the asset (e.g. 1 XLM = \`10_000_000\` stroops)]:AMOUNT:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(revoke-sponsorship)
_arguments "${_arguments_options[@]}" : \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--account-id=[Account ID (required for all sponsorship types)]:ACCOUNT_ID:_default' \
'--asset=[Asset for trustline sponsorship (format\: CODE\:ISSUER)]:ASSET:_default' \
'--data-name=[Data name for data entry sponsorship]:DATA_NAME:_default' \
'--offer-id=[Offer ID for offer sponsorship]:OFFER_ID:_default' \
'--liquidity-pool-id=[Pool ID for liquidity pool sponsorship. Accepts multiple formats\: - API format with type prefix (72 chars)\: 000000006f2179b31311fa8064760b48942c8e166702ba0b8fbe7358c4fd570421840461 - Direct hash format (64 chars)\: 6f2179b31311fa8064760b48942c8e166702ba0b8fbe7358c4fd570421840461 - Address format (base32)\: LAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA]:LIQUIDITY_POOL_ID:_default' \
'--claimable-balance-id=[Claimable balance ID for claimable balance sponsorship. Accepts multiple formats\: - API format with type prefix (72 chars)\: 000000006f2179b31311fa8064760b48942c8e166702ba0b8fbe7358c4fd570421840461 - Direct hash format (64 chars)\: 6f2179b31311fa8064760b48942c8e166702ba0b8fbe7358c4fd570421840461 - Address format (base32)\: BAAMLBZI42AD52HKGIZOU7WFVZM6BPEJCLPL44QU2AT6TY3P57I5QDNYIA]:CLAIMABLE_BALANCE_ID:_default' \
'--signer-key=[Signer key for signer sponsorship]:SIGNER_KEY:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(set-options)
_arguments "${_arguments_options[@]}" : \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--inflation-dest=[Account of the inflation destination]:INFLATION_DEST:_default' \
'--master-weight=[A number from 0-255 (inclusive) representing the weight of the master key. If the weight of the master key is updated to 0, it is effectively disabled]:MASTER_WEIGHT:_default' \
'--low-threshold=[A number from 0-255 (inclusive) representing the threshold this account sets on all operations it performs that have a low threshold. https\://developers.stellar.org/docs/learn/encyclopedia/security/signatures-multisig#multisig]:LOW_THRESHOLD:_default' \
'--med-threshold=[A number from 0-255 (inclusive) representing the threshold this account sets on all operations it performs that have a medium threshold. https\://developers.stellar.org/docs/learn/encyclopedia/security/signatures-multisig#multisig]:MED_THRESHOLD:_default' \
'--high-threshold=[A number from 0-255 (inclusive) representing the threshold this account sets on all operations it performs that have a high threshold. https\://developers.stellar.org/docs/learn/encyclopedia/security/signatures-multisig#multisig]:HIGH_THRESHOLD:_default' \
'--home-domain=[Sets the home domain of an account. See https\://developers.stellar.org/docs/learn/encyclopedia/network-configuration/federation]:HOME_DOMAIN:_default' \
'--signer=[Add, update, or remove a signer from an account]:SIGNER:_default' \
'--signer-weight=[Signer weight is a number from 0-255 (inclusive). The signer is deleted if the weight is 0]:SIGNER_WEIGHT:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'(--clear-required)--set-required[When enabled, an issuer must approve an account before that account can hold its asset. https\://developers.stellar.org/docs/tokens/control-asset-access#authorization-required-0x1]' \
'(--clear-revocable)--set-revocable[When enabled, an issuer can revoke an existing trustline'\''s authorization, thereby freezing the asset held by an account. https\://developers.stellar.org/docs/tokens/control-asset-access#authorization-revocable-0x2]' \
'(--clear-clawback-enabled)--set-clawback-enabled[Enables the issuing account to take back (burning) all of the asset. https\://developers.stellar.org/docs/tokens/control-asset-access#clawback-enabled-0x8]' \
'(--clear-immutable)--set-immutable[With this setting, none of the other authorization flags (\`AUTH_REQUIRED_FLAG\`, \`AUTH_REVOCABLE_FLAG\`) can be set, and the issuing account can'\''t be merged. https\://developers.stellar.org/docs/tokens/control-asset-access#authorization-immutable-0x4]' \
'--clear-required[]' \
'--clear-revocable[]' \
'--clear-immutable[]' \
'--clear-clawback-enabled[]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(set-trustline-flags)
_arguments "${_arguments_options[@]}" : \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--trustor=[Account to set trustline flags for, e.g. \`GBX...\`, or alias, or muxed account, \`M123...\`\`]:TRUSTOR:_default' \
'--asset=[Asset to set trustline flags for]:ASSET:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'(--clear-authorize)--set-authorize[Signifies complete authorization allowing an account to transact freely with the asset to make and receive payments and place orders]' \
'(--clear-authorize-to-maintain-liabilities)--set-authorize-to-maintain-liabilities[Denotes limited authorization that allows an account to maintain current orders but not to otherwise transact with the asset]' \
'(--clear-trustline-clawback-enabled)--set-trustline-clawback-enabled[Enables the issuing account to take back (burning) all of the asset. See our section on Clawbacks\: https\://developers.stellar.org/docs/learn/encyclopedia/transactions-specialized/clawbacks]' \
'--clear-authorize[]' \
'--clear-authorize-to-maintain-liabilities[]' \
'--clear-trustline-clawback-enabled[]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
        esac
    ;;
esac
;;
(operation)
_arguments "${_arguments_options[@]}" : \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
":: :_stellar__tx__operation_commands" \
"*::: :->operation" \
&& ret=0

    case $state in
    (operation)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:stellar-tx-operation-command-$line[1]:"
        case $line[1] in
            (add)
_arguments "${_arguments_options[@]}" : \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
":: :_stellar__tx__operation__add_commands" \
"*::: :->add" \
&& ret=0

    case $state in
    (add)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:stellar-tx-operation-add-command-$line[1]:"
        case $line[1] in
            (account-merge)
_arguments "${_arguments_options[@]}" : \
'--operation-source-account=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--op-source=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--account=[Muxed Account to merge with, e.g. \`GBX...\`, '\''MBX...'\'']:ACCOUNT:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
'::tx_xdr -- Base-64 transaction envelope XDR or file containing XDR to decode, or stdin if empty:_default' \
&& ret=0
;;
(begin-sponsoring-future-reserves)
_arguments "${_arguments_options[@]}" : \
'--operation-source-account=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--op-source=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--sponsored-id=[Account that will be sponsored]:SPONSORED_ID:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
'::tx_xdr -- Base-64 transaction envelope XDR or file containing XDR to decode, or stdin if empty:_default' \
&& ret=0
;;
(bump-sequence)
_arguments "${_arguments_options[@]}" : \
'--operation-source-account=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--op-source=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--bump-to=[Sequence number to bump to]:BUMP_TO:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
'::tx_xdr -- Base-64 transaction envelope XDR or file containing XDR to decode, or stdin if empty:_default' \
&& ret=0
;;
(change-trust)
_arguments "${_arguments_options[@]}" : \
'--operation-source-account=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--op-source=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--line=[]:LINE:_default' \
'--limit=[Limit for the trust line, 0 to remove the trust line]:LIMIT:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
'::tx_xdr -- Base-64 transaction envelope XDR or file containing XDR to decode, or stdin if empty:_default' \
&& ret=0
;;
(claim-claimable-balance)
_arguments "${_arguments_options[@]}" : \
'--operation-source-account=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--op-source=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--balance-id=[Balance ID of the claimable balance to claim (64-character hex string)]:BALANCE_ID:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
'::tx_xdr -- Base-64 transaction envelope XDR or file containing XDR to decode, or stdin if empty:_default' \
&& ret=0
;;
(clawback)
_arguments "${_arguments_options[@]}" : \
'--operation-source-account=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--op-source=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--from=[Account to clawback assets from, e.g. \`GBX...\`]:FROM:_default' \
'--asset=[Asset to clawback]:ASSET:_default' \
'--amount=[Amount of the asset to clawback, in stroops. 1 stroop = 0.0000001 of the asset]:AMOUNT:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
'::tx_xdr -- Base-64 transaction envelope XDR or file containing XDR to decode, or stdin if empty:_default' \
&& ret=0
;;
(clawback-claimable-balance)
_arguments "${_arguments_options[@]}" : \
'--operation-source-account=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--op-source=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--balance-id=[Balance ID of the claimable balance to clawback. Accepts multiple formats\: - API format with type prefix (72 chars)\: 000000006f2179b31311fa8064760b48942c8e166702ba0b8fbe7358c4fd570421840461 - Direct hash format (64 chars)\: 6f2179b31311fa8064760b48942c8e166702ba0b8fbe7358c4fd570421840461 - Address format (base32)\: BAAMLBZI42AD52HKGIZOU7WFVZM6BPEJCLPL44QU2AT6TY3P57I5QDNYIA]:BALANCE_ID:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
'::tx_xdr -- Base-64 transaction envelope XDR or file containing XDR to decode, or stdin if empty:_default' \
&& ret=0
;;
(create-account)
_arguments "${_arguments_options[@]}" : \
'--operation-source-account=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--op-source=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--destination=[Account Id to create, e.g. \`GBX...\`]:DESTINATION:_default' \
'--starting-balance=[Initial balance in stroops of the account, default 1 XLM]:STARTING_BALANCE:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
'::tx_xdr -- Base-64 transaction envelope XDR or file containing XDR to decode, or stdin if empty:_default' \
&& ret=0
;;
(create-claimable-balance)
_arguments "${_arguments_options[@]}" : \
'--operation-source-account=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--op-source=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--asset=[Asset to be held in the ClaimableBalanceEntry]:ASSET:_default' \
'--amount=[Amount of asset to store in the entry, in stroops. 1 stroop = 0.0000001 of the asset]:AMOUNT:_default' \
'*--claimant=[Claimants of the claimable balance. Format\: account_id or account_id\:predicate_json Can be specified multiple times for multiple claimants]:CLAIMANTS:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'::tx_xdr -- Base-64 transaction envelope XDR or file containing XDR to decode, or stdin if empty:_default' \
&& ret=0
;;
(create-passive-sell-offer)
_arguments "${_arguments_options[@]}" : \
'--operation-source-account=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--op-source=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--selling=[Asset to sell]:SELLING:_default' \
'--buying=[Asset to buy]:BUYING:_default' \
'--amount=[Amount of selling asset to offer, in stroops. 1 stroop = 0.0000001 of the asset (e.g. 1 XLM = \`10_000_000\` stroops)]:AMOUNT:_default' \
'--price=[Price of 1 unit of selling asset in terms of buying asset as "numerator\:denominator" (e.g., "1\:2" means 0.5)]:PRICE:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
'::tx_xdr -- Base-64 transaction envelope XDR or file containing XDR to decode, or stdin if empty:_default' \
&& ret=0
;;
(end-sponsoring-future-reserves)
_arguments "${_arguments_options[@]}" : \
'--operation-source-account=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--op-source=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
'::tx_xdr -- Base-64 transaction envelope XDR or file containing XDR to decode, or stdin if empty:_default' \
&& ret=0
;;
(liquidity-pool-deposit)
_arguments "${_arguments_options[@]}" : \
'--operation-source-account=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--op-source=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--liquidity-pool-id=[Liquidity pool ID to deposit to]:LIQUIDITY_POOL_ID:_default' \
'--max-amount-a=[Maximum amount of the first asset to deposit, in stroops]:MAX_AMOUNT_A:_default' \
'--max-amount-b=[Maximum amount of the second asset to deposit, in stroops]:MAX_AMOUNT_B:_default' \
'--min-price=[Minimum price for the first asset in terms of the second asset as "numerator\:denominator" (e.g., "1\:2" means 0.5)]:MIN_PRICE:_default' \
'--max-price=[Maximum price for the first asset in terms of the second asset as "numerator\:denominator" (e.g., "1\:2" means 0.5)]:MAX_PRICE:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
'::tx_xdr -- Base-64 transaction envelope XDR or file containing XDR to decode, or stdin if empty:_default' \
&& ret=0
;;
(liquidity-pool-withdraw)
_arguments "${_arguments_options[@]}" : \
'--operation-source-account=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--op-source=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--liquidity-pool-id=[Liquidity pool ID to withdraw from]:LIQUIDITY_POOL_ID:_default' \
'--amount=[Amount of pool shares to withdraw, in stroops]:AMOUNT:_default' \
'--min-amount-a=[Minimum amount of the first asset to receive, in stroops]:MIN_AMOUNT_A:_default' \
'--min-amount-b=[Minimum amount of the second asset to receive, in stroops]:MIN_AMOUNT_B:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
'::tx_xdr -- Base-64 transaction envelope XDR or file containing XDR to decode, or stdin if empty:_default' \
&& ret=0
;;
(manage-buy-offer)
_arguments "${_arguments_options[@]}" : \
'--operation-source-account=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--op-source=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--selling=[Asset to sell]:SELLING:_default' \
'--buying=[Asset to buy]:BUYING:_default' \
'--amount=[Amount of buying asset to purchase, in stroops. 1 stroop = 0.0000001 of the asset (e.g. 1 XLM = \`10_000_000\` stroops). Use \`0\` to remove the offer]:AMOUNT:_default' \
'--price=[Price of 1 unit of buying asset in terms of selling asset as "numerator\:denominator" (e.g., "1\:2" means 0.5)]:PRICE:_default' \
'--offer-id=[Offer ID. If 0, will create new offer. Otherwise, will update existing offer]:OFFER_ID:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
'::tx_xdr -- Base-64 transaction envelope XDR or file containing XDR to decode, or stdin if empty:_default' \
&& ret=0
;;
(manage-data)
_arguments "${_arguments_options[@]}" : \
'--operation-source-account=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--op-source=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--data-name=[String up to 64 bytes long. If this is a new Name it will add the given name/value pair to the account. If this Name is already present then the associated value will be modified]:DATA_NAME:_default' \
'--data-value=[Up to 64 bytes long hex string If not present then the existing Name will be deleted. If present then this value will be set in the \`DataEntry\`]:DATA_VALUE:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
'::tx_xdr -- Base-64 transaction envelope XDR or file containing XDR to decode, or stdin if empty:_default' \
&& ret=0
;;
(manage-sell-offer)
_arguments "${_arguments_options[@]}" : \
'--operation-source-account=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--op-source=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--selling=[Asset to sell]:SELLING:_default' \
'--buying=[Asset to buy]:BUYING:_default' \
'--amount=[Amount of selling asset to offer, in stroops. 1 stroop = 0.0000001 of the asset (e.g. 1 XLM = \`10_000_000\` stroops). Use \`0\` to remove the offer]:AMOUNT:_default' \
'--price=[Price of 1 unit of selling asset in terms of buying asset as "numerator\:denominator" (e.g., "1\:2" means 0.5)]:PRICE:_default' \
'--offer-id=[Offer ID. If 0, will create new offer. Otherwise, will update existing offer]:OFFER_ID:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
'::tx_xdr -- Base-64 transaction envelope XDR or file containing XDR to decode, or stdin if empty:_default' \
&& ret=0
;;
(path-payment-strict-receive)
_arguments "${_arguments_options[@]}" : \
'--operation-source-account=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--op-source=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--send-asset=[Asset to send (pay with)]:SEND_ASSET:_default' \
'--send-max=[Maximum amount of send asset to deduct from sender'\''s account, in stroops. 1 stroop = 0.0000001 of the asset (e.g. 1 XLM = \`10_000_000\` stroops)]:SEND_MAX:_default' \
'--destination=[Account that receives the payment]:DESTINATION:_default' \
'--dest-asset=[Asset that the destination will receive]:DEST_ASSET:_default' \
'--dest-amount=[Exact amount of destination asset that the destination account will receive, in stroops. 1 stroop = 0.0000001 of the asset]:DEST_AMOUNT:_default' \
'*--path=[List of intermediate assets for the payment path, comma-separated (up to 5 assets). Each asset should be in the format '\''code\:issuer'\'' or '\''native'\'' for XLM]:PATH:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
'::tx_xdr -- Base-64 transaction envelope XDR or file containing XDR to decode, or stdin if empty:_default' \
&& ret=0
;;
(path-payment-strict-send)
_arguments "${_arguments_options[@]}" : \
'--operation-source-account=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--op-source=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--send-asset=[Asset to send (pay with)]:SEND_ASSET:_default' \
'--send-amount=[Amount of send asset to deduct from sender'\''s account, in stroops. 1 stroop = 0.0000001 of the asset (e.g. 1 XLM = \`10_000_000\` stroops)]:SEND_AMOUNT:_default' \
'--destination=[Account that receives the payment]:DESTINATION:_default' \
'--dest-asset=[Asset that the destination will receive]:DEST_ASSET:_default' \
'--dest-min=[Minimum amount of destination asset that the destination account can receive. The operation will fail if this amount cannot be met]:DEST_MIN:_default' \
'*--path=[List of intermediate assets for the payment path, comma-separated (up to 5 assets). Each asset should be in the format '\''code\:issuer'\'' or '\''native'\'' for XLM]:PATH:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
'::tx_xdr -- Base-64 transaction envelope XDR or file containing XDR to decode, or stdin if empty:_default' \
&& ret=0
;;
(payment)
_arguments "${_arguments_options[@]}" : \
'--operation-source-account=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--op-source=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--destination=[Account to send to, e.g. \`GBX...\`]:DESTINATION:_default' \
'--asset=[Asset to send, default native, e.i. XLM]:ASSET:_default' \
'--amount=[Amount of the aforementioned asset to send, in stroops. 1 stroop = 0.0000001 of the asset (e.g. 1 XLM = \`10_000_000\` stroops)]:AMOUNT:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
'::tx_xdr -- Base-64 transaction envelope XDR or file containing XDR to decode, or stdin if empty:_default' \
&& ret=0
;;
(revoke-sponsorship)
_arguments "${_arguments_options[@]}" : \
'--operation-source-account=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--op-source=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--account-id=[Account ID (required for all sponsorship types)]:ACCOUNT_ID:_default' \
'--asset=[Asset for trustline sponsorship (format\: CODE\:ISSUER)]:ASSET:_default' \
'--data-name=[Data name for data entry sponsorship]:DATA_NAME:_default' \
'--offer-id=[Offer ID for offer sponsorship]:OFFER_ID:_default' \
'--liquidity-pool-id=[Pool ID for liquidity pool sponsorship. Accepts multiple formats\: - API format with type prefix (72 chars)\: 000000006f2179b31311fa8064760b48942c8e166702ba0b8fbe7358c4fd570421840461 - Direct hash format (64 chars)\: 6f2179b31311fa8064760b48942c8e166702ba0b8fbe7358c4fd570421840461 - Address format (base32)\: LAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA]:LIQUIDITY_POOL_ID:_default' \
'--claimable-balance-id=[Claimable balance ID for claimable balance sponsorship. Accepts multiple formats\: - API format with type prefix (72 chars)\: 000000006f2179b31311fa8064760b48942c8e166702ba0b8fbe7358c4fd570421840461 - Direct hash format (64 chars)\: 6f2179b31311fa8064760b48942c8e166702ba0b8fbe7358c4fd570421840461 - Address format (base32)\: BAAMLBZI42AD52HKGIZOU7WFVZM6BPEJCLPL44QU2AT6TY3P57I5QDNYIA]:CLAIMABLE_BALANCE_ID:_default' \
'--signer-key=[Signer key for signer sponsorship]:SIGNER_KEY:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
'::tx_xdr -- Base-64 transaction envelope XDR or file containing XDR to decode, or stdin if empty:_default' \
&& ret=0
;;
(set-options)
_arguments "${_arguments_options[@]}" : \
'--operation-source-account=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--op-source=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--inflation-dest=[Account of the inflation destination]:INFLATION_DEST:_default' \
'--master-weight=[A number from 0-255 (inclusive) representing the weight of the master key. If the weight of the master key is updated to 0, it is effectively disabled]:MASTER_WEIGHT:_default' \
'--low-threshold=[A number from 0-255 (inclusive) representing the threshold this account sets on all operations it performs that have a low threshold. https\://developers.stellar.org/docs/learn/encyclopedia/security/signatures-multisig#multisig]:LOW_THRESHOLD:_default' \
'--med-threshold=[A number from 0-255 (inclusive) representing the threshold this account sets on all operations it performs that have a medium threshold. https\://developers.stellar.org/docs/learn/encyclopedia/security/signatures-multisig#multisig]:MED_THRESHOLD:_default' \
'--high-threshold=[A number from 0-255 (inclusive) representing the threshold this account sets on all operations it performs that have a high threshold. https\://developers.stellar.org/docs/learn/encyclopedia/security/signatures-multisig#multisig]:HIGH_THRESHOLD:_default' \
'--home-domain=[Sets the home domain of an account. See https\://developers.stellar.org/docs/learn/encyclopedia/network-configuration/federation]:HOME_DOMAIN:_default' \
'--signer=[Add, update, or remove a signer from an account]:SIGNER:_default' \
'--signer-weight=[Signer weight is a number from 0-255 (inclusive). The signer is deleted if the weight is 0]:SIGNER_WEIGHT:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'(--clear-required)--set-required[When enabled, an issuer must approve an account before that account can hold its asset. https\://developers.stellar.org/docs/tokens/control-asset-access#authorization-required-0x1]' \
'(--clear-revocable)--set-revocable[When enabled, an issuer can revoke an existing trustline'\''s authorization, thereby freezing the asset held by an account. https\://developers.stellar.org/docs/tokens/control-asset-access#authorization-revocable-0x2]' \
'(--clear-clawback-enabled)--set-clawback-enabled[Enables the issuing account to take back (burning) all of the asset. https\://developers.stellar.org/docs/tokens/control-asset-access#clawback-enabled-0x8]' \
'(--clear-immutable)--set-immutable[With this setting, none of the other authorization flags (\`AUTH_REQUIRED_FLAG\`, \`AUTH_REVOCABLE_FLAG\`) can be set, and the issuing account can'\''t be merged. https\://developers.stellar.org/docs/tokens/control-asset-access#authorization-immutable-0x4]' \
'--clear-required[]' \
'--clear-revocable[]' \
'--clear-immutable[]' \
'--clear-clawback-enabled[]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
'::tx_xdr -- Base-64 transaction envelope XDR or file containing XDR to decode, or stdin if empty:_default' \
&& ret=0
;;
(set-trustline-flags)
_arguments "${_arguments_options[@]}" : \
'--operation-source-account=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--op-source=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--trustor=[Account to set trustline flags for, e.g. \`GBX...\`, or alias, or muxed account, \`M123...\`\`]:TRUSTOR:_default' \
'--asset=[Asset to set trustline flags for]:ASSET:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'(--clear-authorize)--set-authorize[Signifies complete authorization allowing an account to transact freely with the asset to make and receive payments and place orders]' \
'(--clear-authorize-to-maintain-liabilities)--set-authorize-to-maintain-liabilities[Denotes limited authorization that allows an account to maintain current orders but not to otherwise transact with the asset]' \
'(--clear-trustline-clawback-enabled)--set-trustline-clawback-enabled[Enables the issuing account to take back (burning) all of the asset. See our section on Clawbacks\: https\://developers.stellar.org/docs/learn/encyclopedia/transactions-specialized/clawbacks]' \
'--clear-authorize[]' \
'--clear-authorize-to-maintain-liabilities[]' \
'--clear-trustline-clawback-enabled[]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
'::tx_xdr -- Base-64 transaction envelope XDR or file containing XDR to decode, or stdin if empty:_default' \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(op)
_arguments "${_arguments_options[@]}" : \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
":: :_stellar__tx__operation_commands" \
"*::: :->operation" \
&& ret=0

    case $state in
    (operation)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:stellar-tx-operation-command-$line[1]:"
        case $line[1] in
            (add)
_arguments "${_arguments_options[@]}" : \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
":: :_stellar__tx__operation__add_commands" \
"*::: :->add" \
&& ret=0

    case $state in
    (add)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:stellar-tx-operation-add-command-$line[1]:"
        case $line[1] in
            (account-merge)
_arguments "${_arguments_options[@]}" : \
'--operation-source-account=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--op-source=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--account=[Muxed Account to merge with, e.g. \`GBX...\`, '\''MBX...'\'']:ACCOUNT:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
'::tx_xdr -- Base-64 transaction envelope XDR or file containing XDR to decode, or stdin if empty:_default' \
&& ret=0
;;
(begin-sponsoring-future-reserves)
_arguments "${_arguments_options[@]}" : \
'--operation-source-account=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--op-source=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--sponsored-id=[Account that will be sponsored]:SPONSORED_ID:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
'::tx_xdr -- Base-64 transaction envelope XDR or file containing XDR to decode, or stdin if empty:_default' \
&& ret=0
;;
(bump-sequence)
_arguments "${_arguments_options[@]}" : \
'--operation-source-account=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--op-source=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--bump-to=[Sequence number to bump to]:BUMP_TO:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
'::tx_xdr -- Base-64 transaction envelope XDR or file containing XDR to decode, or stdin if empty:_default' \
&& ret=0
;;
(change-trust)
_arguments "${_arguments_options[@]}" : \
'--operation-source-account=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--op-source=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--line=[]:LINE:_default' \
'--limit=[Limit for the trust line, 0 to remove the trust line]:LIMIT:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
'::tx_xdr -- Base-64 transaction envelope XDR or file containing XDR to decode, or stdin if empty:_default' \
&& ret=0
;;
(claim-claimable-balance)
_arguments "${_arguments_options[@]}" : \
'--operation-source-account=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--op-source=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--balance-id=[Balance ID of the claimable balance to claim (64-character hex string)]:BALANCE_ID:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
'::tx_xdr -- Base-64 transaction envelope XDR or file containing XDR to decode, or stdin if empty:_default' \
&& ret=0
;;
(clawback)
_arguments "${_arguments_options[@]}" : \
'--operation-source-account=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--op-source=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--from=[Account to clawback assets from, e.g. \`GBX...\`]:FROM:_default' \
'--asset=[Asset to clawback]:ASSET:_default' \
'--amount=[Amount of the asset to clawback, in stroops. 1 stroop = 0.0000001 of the asset]:AMOUNT:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
'::tx_xdr -- Base-64 transaction envelope XDR or file containing XDR to decode, or stdin if empty:_default' \
&& ret=0
;;
(clawback-claimable-balance)
_arguments "${_arguments_options[@]}" : \
'--operation-source-account=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--op-source=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--balance-id=[Balance ID of the claimable balance to clawback. Accepts multiple formats\: - API format with type prefix (72 chars)\: 000000006f2179b31311fa8064760b48942c8e166702ba0b8fbe7358c4fd570421840461 - Direct hash format (64 chars)\: 6f2179b31311fa8064760b48942c8e166702ba0b8fbe7358c4fd570421840461 - Address format (base32)\: BAAMLBZI42AD52HKGIZOU7WFVZM6BPEJCLPL44QU2AT6TY3P57I5QDNYIA]:BALANCE_ID:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
'::tx_xdr -- Base-64 transaction envelope XDR or file containing XDR to decode, or stdin if empty:_default' \
&& ret=0
;;
(create-account)
_arguments "${_arguments_options[@]}" : \
'--operation-source-account=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--op-source=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--destination=[Account Id to create, e.g. \`GBX...\`]:DESTINATION:_default' \
'--starting-balance=[Initial balance in stroops of the account, default 1 XLM]:STARTING_BALANCE:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
'::tx_xdr -- Base-64 transaction envelope XDR or file containing XDR to decode, or stdin if empty:_default' \
&& ret=0
;;
(create-claimable-balance)
_arguments "${_arguments_options[@]}" : \
'--operation-source-account=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--op-source=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--asset=[Asset to be held in the ClaimableBalanceEntry]:ASSET:_default' \
'--amount=[Amount of asset to store in the entry, in stroops. 1 stroop = 0.0000001 of the asset]:AMOUNT:_default' \
'*--claimant=[Claimants of the claimable balance. Format\: account_id or account_id\:predicate_json Can be specified multiple times for multiple claimants]:CLAIMANTS:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'::tx_xdr -- Base-64 transaction envelope XDR or file containing XDR to decode, or stdin if empty:_default' \
&& ret=0
;;
(create-passive-sell-offer)
_arguments "${_arguments_options[@]}" : \
'--operation-source-account=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--op-source=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--selling=[Asset to sell]:SELLING:_default' \
'--buying=[Asset to buy]:BUYING:_default' \
'--amount=[Amount of selling asset to offer, in stroops. 1 stroop = 0.0000001 of the asset (e.g. 1 XLM = \`10_000_000\` stroops)]:AMOUNT:_default' \
'--price=[Price of 1 unit of selling asset in terms of buying asset as "numerator\:denominator" (e.g., "1\:2" means 0.5)]:PRICE:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
'::tx_xdr -- Base-64 transaction envelope XDR or file containing XDR to decode, or stdin if empty:_default' \
&& ret=0
;;
(end-sponsoring-future-reserves)
_arguments "${_arguments_options[@]}" : \
'--operation-source-account=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--op-source=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
'::tx_xdr -- Base-64 transaction envelope XDR or file containing XDR to decode, or stdin if empty:_default' \
&& ret=0
;;
(liquidity-pool-deposit)
_arguments "${_arguments_options[@]}" : \
'--operation-source-account=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--op-source=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--liquidity-pool-id=[Liquidity pool ID to deposit to]:LIQUIDITY_POOL_ID:_default' \
'--max-amount-a=[Maximum amount of the first asset to deposit, in stroops]:MAX_AMOUNT_A:_default' \
'--max-amount-b=[Maximum amount of the second asset to deposit, in stroops]:MAX_AMOUNT_B:_default' \
'--min-price=[Minimum price for the first asset in terms of the second asset as "numerator\:denominator" (e.g., "1\:2" means 0.5)]:MIN_PRICE:_default' \
'--max-price=[Maximum price for the first asset in terms of the second asset as "numerator\:denominator" (e.g., "1\:2" means 0.5)]:MAX_PRICE:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
'::tx_xdr -- Base-64 transaction envelope XDR or file containing XDR to decode, or stdin if empty:_default' \
&& ret=0
;;
(liquidity-pool-withdraw)
_arguments "${_arguments_options[@]}" : \
'--operation-source-account=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--op-source=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--liquidity-pool-id=[Liquidity pool ID to withdraw from]:LIQUIDITY_POOL_ID:_default' \
'--amount=[Amount of pool shares to withdraw, in stroops]:AMOUNT:_default' \
'--min-amount-a=[Minimum amount of the first asset to receive, in stroops]:MIN_AMOUNT_A:_default' \
'--min-amount-b=[Minimum amount of the second asset to receive, in stroops]:MIN_AMOUNT_B:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
'::tx_xdr -- Base-64 transaction envelope XDR or file containing XDR to decode, or stdin if empty:_default' \
&& ret=0
;;
(manage-buy-offer)
_arguments "${_arguments_options[@]}" : \
'--operation-source-account=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--op-source=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--selling=[Asset to sell]:SELLING:_default' \
'--buying=[Asset to buy]:BUYING:_default' \
'--amount=[Amount of buying asset to purchase, in stroops. 1 stroop = 0.0000001 of the asset (e.g. 1 XLM = \`10_000_000\` stroops). Use \`0\` to remove the offer]:AMOUNT:_default' \
'--price=[Price of 1 unit of buying asset in terms of selling asset as "numerator\:denominator" (e.g., "1\:2" means 0.5)]:PRICE:_default' \
'--offer-id=[Offer ID. If 0, will create new offer. Otherwise, will update existing offer]:OFFER_ID:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
'::tx_xdr -- Base-64 transaction envelope XDR or file containing XDR to decode, or stdin if empty:_default' \
&& ret=0
;;
(manage-data)
_arguments "${_arguments_options[@]}" : \
'--operation-source-account=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--op-source=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--data-name=[String up to 64 bytes long. If this is a new Name it will add the given name/value pair to the account. If this Name is already present then the associated value will be modified]:DATA_NAME:_default' \
'--data-value=[Up to 64 bytes long hex string If not present then the existing Name will be deleted. If present then this value will be set in the \`DataEntry\`]:DATA_VALUE:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
'::tx_xdr -- Base-64 transaction envelope XDR or file containing XDR to decode, or stdin if empty:_default' \
&& ret=0
;;
(manage-sell-offer)
_arguments "${_arguments_options[@]}" : \
'--operation-source-account=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--op-source=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--selling=[Asset to sell]:SELLING:_default' \
'--buying=[Asset to buy]:BUYING:_default' \
'--amount=[Amount of selling asset to offer, in stroops. 1 stroop = 0.0000001 of the asset (e.g. 1 XLM = \`10_000_000\` stroops). Use \`0\` to remove the offer]:AMOUNT:_default' \
'--price=[Price of 1 unit of selling asset in terms of buying asset as "numerator\:denominator" (e.g., "1\:2" means 0.5)]:PRICE:_default' \
'--offer-id=[Offer ID. If 0, will create new offer. Otherwise, will update existing offer]:OFFER_ID:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
'::tx_xdr -- Base-64 transaction envelope XDR or file containing XDR to decode, or stdin if empty:_default' \
&& ret=0
;;
(path-payment-strict-receive)
_arguments "${_arguments_options[@]}" : \
'--operation-source-account=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--op-source=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--send-asset=[Asset to send (pay with)]:SEND_ASSET:_default' \
'--send-max=[Maximum amount of send asset to deduct from sender'\''s account, in stroops. 1 stroop = 0.0000001 of the asset (e.g. 1 XLM = \`10_000_000\` stroops)]:SEND_MAX:_default' \
'--destination=[Account that receives the payment]:DESTINATION:_default' \
'--dest-asset=[Asset that the destination will receive]:DEST_ASSET:_default' \
'--dest-amount=[Exact amount of destination asset that the destination account will receive, in stroops. 1 stroop = 0.0000001 of the asset]:DEST_AMOUNT:_default' \
'*--path=[List of intermediate assets for the payment path, comma-separated (up to 5 assets). Each asset should be in the format '\''code\:issuer'\'' or '\''native'\'' for XLM]:PATH:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
'::tx_xdr -- Base-64 transaction envelope XDR or file containing XDR to decode, or stdin if empty:_default' \
&& ret=0
;;
(path-payment-strict-send)
_arguments "${_arguments_options[@]}" : \
'--operation-source-account=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--op-source=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--send-asset=[Asset to send (pay with)]:SEND_ASSET:_default' \
'--send-amount=[Amount of send asset to deduct from sender'\''s account, in stroops. 1 stroop = 0.0000001 of the asset (e.g. 1 XLM = \`10_000_000\` stroops)]:SEND_AMOUNT:_default' \
'--destination=[Account that receives the payment]:DESTINATION:_default' \
'--dest-asset=[Asset that the destination will receive]:DEST_ASSET:_default' \
'--dest-min=[Minimum amount of destination asset that the destination account can receive. The operation will fail if this amount cannot be met]:DEST_MIN:_default' \
'*--path=[List of intermediate assets for the payment path, comma-separated (up to 5 assets). Each asset should be in the format '\''code\:issuer'\'' or '\''native'\'' for XLM]:PATH:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
'::tx_xdr -- Base-64 transaction envelope XDR or file containing XDR to decode, or stdin if empty:_default' \
&& ret=0
;;
(payment)
_arguments "${_arguments_options[@]}" : \
'--operation-source-account=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--op-source=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--destination=[Account to send to, e.g. \`GBX...\`]:DESTINATION:_default' \
'--asset=[Asset to send, default native, e.i. XLM]:ASSET:_default' \
'--amount=[Amount of the aforementioned asset to send, in stroops. 1 stroop = 0.0000001 of the asset (e.g. 1 XLM = \`10_000_000\` stroops)]:AMOUNT:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
'::tx_xdr -- Base-64 transaction envelope XDR or file containing XDR to decode, or stdin if empty:_default' \
&& ret=0
;;
(revoke-sponsorship)
_arguments "${_arguments_options[@]}" : \
'--operation-source-account=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--op-source=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--account-id=[Account ID (required for all sponsorship types)]:ACCOUNT_ID:_default' \
'--asset=[Asset for trustline sponsorship (format\: CODE\:ISSUER)]:ASSET:_default' \
'--data-name=[Data name for data entry sponsorship]:DATA_NAME:_default' \
'--offer-id=[Offer ID for offer sponsorship]:OFFER_ID:_default' \
'--liquidity-pool-id=[Pool ID for liquidity pool sponsorship. Accepts multiple formats\: - API format with type prefix (72 chars)\: 000000006f2179b31311fa8064760b48942c8e166702ba0b8fbe7358c4fd570421840461 - Direct hash format (64 chars)\: 6f2179b31311fa8064760b48942c8e166702ba0b8fbe7358c4fd570421840461 - Address format (base32)\: LAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA]:LIQUIDITY_POOL_ID:_default' \
'--claimable-balance-id=[Claimable balance ID for claimable balance sponsorship. Accepts multiple formats\: - API format with type prefix (72 chars)\: 000000006f2179b31311fa8064760b48942c8e166702ba0b8fbe7358c4fd570421840461 - Direct hash format (64 chars)\: 6f2179b31311fa8064760b48942c8e166702ba0b8fbe7358c4fd570421840461 - Address format (base32)\: BAAMLBZI42AD52HKGIZOU7WFVZM6BPEJCLPL44QU2AT6TY3P57I5QDNYIA]:CLAIMABLE_BALANCE_ID:_default' \
'--signer-key=[Signer key for signer sponsorship]:SIGNER_KEY:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
'::tx_xdr -- Base-64 transaction envelope XDR or file containing XDR to decode, or stdin if empty:_default' \
&& ret=0
;;
(set-options)
_arguments "${_arguments_options[@]}" : \
'--operation-source-account=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--op-source=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--inflation-dest=[Account of the inflation destination]:INFLATION_DEST:_default' \
'--master-weight=[A number from 0-255 (inclusive) representing the weight of the master key. If the weight of the master key is updated to 0, it is effectively disabled]:MASTER_WEIGHT:_default' \
'--low-threshold=[A number from 0-255 (inclusive) representing the threshold this account sets on all operations it performs that have a low threshold. https\://developers.stellar.org/docs/learn/encyclopedia/security/signatures-multisig#multisig]:LOW_THRESHOLD:_default' \
'--med-threshold=[A number from 0-255 (inclusive) representing the threshold this account sets on all operations it performs that have a medium threshold. https\://developers.stellar.org/docs/learn/encyclopedia/security/signatures-multisig#multisig]:MED_THRESHOLD:_default' \
'--high-threshold=[A number from 0-255 (inclusive) representing the threshold this account sets on all operations it performs that have a high threshold. https\://developers.stellar.org/docs/learn/encyclopedia/security/signatures-multisig#multisig]:HIGH_THRESHOLD:_default' \
'--home-domain=[Sets the home domain of an account. See https\://developers.stellar.org/docs/learn/encyclopedia/network-configuration/federation]:HOME_DOMAIN:_default' \
'--signer=[Add, update, or remove a signer from an account]:SIGNER:_default' \
'--signer-weight=[Signer weight is a number from 0-255 (inclusive). The signer is deleted if the weight is 0]:SIGNER_WEIGHT:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'(--clear-required)--set-required[When enabled, an issuer must approve an account before that account can hold its asset. https\://developers.stellar.org/docs/tokens/control-asset-access#authorization-required-0x1]' \
'(--clear-revocable)--set-revocable[When enabled, an issuer can revoke an existing trustline'\''s authorization, thereby freezing the asset held by an account. https\://developers.stellar.org/docs/tokens/control-asset-access#authorization-revocable-0x2]' \
'(--clear-clawback-enabled)--set-clawback-enabled[Enables the issuing account to take back (burning) all of the asset. https\://developers.stellar.org/docs/tokens/control-asset-access#clawback-enabled-0x8]' \
'(--clear-immutable)--set-immutable[With this setting, none of the other authorization flags (\`AUTH_REQUIRED_FLAG\`, \`AUTH_REVOCABLE_FLAG\`) can be set, and the issuing account can'\''t be merged. https\://developers.stellar.org/docs/tokens/control-asset-access#authorization-immutable-0x4]' \
'--clear-required[]' \
'--clear-revocable[]' \
'--clear-immutable[]' \
'--clear-clawback-enabled[]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
'::tx_xdr -- Base-64 transaction envelope XDR or file containing XDR to decode, or stdin if empty:_default' \
&& ret=0
;;
(set-trustline-flags)
_arguments "${_arguments_options[@]}" : \
'--operation-source-account=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--op-source=[Source account used for the operation]:OPERATION_SOURCE_ACCOUNT:_default' \
'--fee=[fee amount for transaction, in stroops. 1 stroop = 0.0000001 xlm]:FEE:_default' \
'--instructions=[Number of instructions to simulate]:INSTRUCTIONS:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--trustor=[Account to set trustline flags for, e.g. \`GBX...\`, or alias, or muxed account, \`M123...\`\`]:TRUSTOR:_default' \
'--asset=[Asset to set trustline flags for]:ASSET:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--cost[Output the cost execution to stderr]' \
'--build-only[Build the transaction and only write the base64 xdr to stdout]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'(--clear-authorize)--set-authorize[Signifies complete authorization allowing an account to transact freely with the asset to make and receive payments and place orders]' \
'(--clear-authorize-to-maintain-liabilities)--set-authorize-to-maintain-liabilities[Denotes limited authorization that allows an account to maintain current orders but not to otherwise transact with the asset]' \
'(--clear-trustline-clawback-enabled)--set-trustline-clawback-enabled[Enables the issuing account to take back (burning) all of the asset. See our section on Clawbacks\: https\://developers.stellar.org/docs/learn/encyclopedia/transactions-specialized/clawbacks]' \
'--clear-authorize[]' \
'--clear-authorize-to-maintain-liabilities[]' \
'--clear-trustline-clawback-enabled[]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
'::tx_xdr -- Base-64 transaction envelope XDR or file containing XDR to decode, or stdin if empty:_default' \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(send)
_arguments "${_arguments_options[@]}" : \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
'::tx_xdr -- Base-64 transaction envelope XDR or file containing XDR to decode, or stdin if empty:_default' \
&& ret=0
;;
(sign)
_arguments "${_arguments_options[@]}" : \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
'::tx_xdr -- Base-64 transaction envelope XDR, or file containing XDR to decode, or stdin if empty:_default' \
&& ret=0
;;
(simulate)
_arguments "${_arguments_options[@]}" : \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'-s+[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source-account=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--source=[Account that where transaction originates from. Alias \`source\`. Can be an identity (--source alice), a public key (--source GDKW...), a muxed account (--source MDA…), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). If \`--build-only\` or \`--sim-only\` flags were NOT provided, this key will also be used to sign the final transaction. In that case, trying to sign with public key will fail]:SOURCE_ACCOUNT:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--sign-with-key=[Sign with a local key or key saved in OS secure storage. Can be an identity (--sign-with-key alice), a secret key (--sign-with-key SC36…), or a seed phrase (--sign-with-key "kite urban…"). If using seed phrase, \`--hd-path\` defaults to the \`0\` path]:SIGN_WITH_KEY:_default' \
'(--sign-with-lab)--hd-path=[If using a seed phrase to sign, sets which hierarchical deterministic path to use, e.g. \`m/44'\''/148'\''/{hd_path}\`. Example\: \`--hd-path 1\`. Default\: \`0\`]:HD_PATH:_default' \
'--instruction-leeway=[Allow this many extra instructions when budgeting resources during transaction simulation]:INSTRUCTION_LEEWAY:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'(--sign-with-key)--sign-with-lab[Sign with https\://lab.stellar.org]' \
'(--sign-with-key --sign-with-lab)--sign-with-ledger[Sign with a ledger wallet]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
'::tx_xdr -- Base-64 transaction envelope XDR or file containing XDR to decode, or stdin if empty:_default' \
&& ret=0
;;
(fetch)
_arguments "${_arguments_options[@]}" : \
'--hash=[Hash of transaction to fetch]:HASH:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'--output=[Format of the output]:OUTPUT:((json\:"JSON output with parsed XDRs (one line, not formatted)"
json-formatted\:"Formatted (multiline) JSON output with parsed XDRs"
xdr\:"Original RPC output (containing XDRs)"))' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
":: :_stellar__tx__fetch_commands" \
"*::: :->fetch" \
&& ret=0

    case $state in
    (fetch)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:stellar-tx-fetch-command-$line[1]:"
        case $line[1] in
            (result)
_arguments "${_arguments_options[@]}" : \
'--hash=[Transaction hash to fetch]:HASH:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'--output=[Format of the output]:OUTPUT:((json\:"JSON output with parsed XDRs (one line, not formatted)"
json-formatted\:"Formatted (multiline) JSON output with parsed XDRs"
xdr\:"Original RPC output (containing XDRs)"))' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(meta)
_arguments "${_arguments_options[@]}" : \
'--hash=[Transaction hash to fetch]:HASH:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'--output=[Format of the output]:OUTPUT:((json\:"JSON output with parsed XDRs (one line, not formatted)"
json-formatted\:"Formatted (multiline) JSON output with parsed XDRs"
xdr\:"Original RPC output (containing XDRs)"))' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(fee)
_arguments "${_arguments_options[@]}" : \
'--hash=[Transaction hash to fetch]:HASH:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'--output=[Output format for fee command]:OUTPUT:((json\:"JSON output of the ledger entry with parsed XDRs (one line, not formatted)"
json-formatted\:"Formatted (multiline) JSON output of the ledger entry with parsed XDRs"
table\:"Formatted in a table comparing fee types"))' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(events)
_arguments "${_arguments_options[@]}" : \
'--hash=[Transaction hash to fetch]:HASH:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'--output=[Format of the output]:OUTPUT:((json\:"JSON output of the events with parsed XDRs (one line, not formatted)"
json-formatted\:"Formatted (multiline) JSON output of events with parsed XDRs"
text\:"Human readable event output with parsed XDRs"))' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(envelope)
_arguments "${_arguments_options[@]}" : \
'--hash=[Transaction hash to fetch]:HASH:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'--output=[Format of the output]:OUTPUT:((json\:"JSON output with parsed XDRs (one line, not formatted)"
json-formatted\:"Formatted (multiline) JSON output with parsed XDRs"
xdr\:"Original RPC output (containing XDRs)"))' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
        esac
    ;;
esac
;;
(decode)
_arguments "${_arguments_options[@]}" : \
'--input=[]:INPUT_FORMAT:(single-base64 single)' \
'--output=[]:OUTPUT_FORMAT:(json json-formatted)' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
'*::input -- XDR or files containing XDR to decode, or stdin if empty:_default' \
&& ret=0
;;
(encode)
_arguments "${_arguments_options[@]}" : \
'--input=[]:INPUT_FORMAT:(json)' \
'--output=[]:OUTPUT_FORMAT:(single-base64 single)' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
'*::input -- XDR or files containing XDR to decode, or stdin if empty:_default' \
&& ret=0
;;
        esac
    ;;
esac
;;
(xdr)
_arguments "${_arguments_options[@]}" : \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
'::channel -- Channel of XDR to operate on:(+curr +next)' \
":: :_stellar__xdr_commands" \
"*::: :->xdr" \
&& ret=0

    case $state in
    (xdr)
        words=($line[2] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:stellar-xdr-command-$line[2]:"
        case $line[2] in
            (types)
_arguments "${_arguments_options[@]}" : \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
":: :_stellar__xdr__types_commands" \
"*::: :->types" \
&& ret=0

    case $state in
    (types)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:stellar-xdr-types-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
'--output=[]:OUTPUT:(plain json json-formatted)' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(schema)
_arguments "${_arguments_options[@]}" : \
'--type=[XDR type to decode]:TYPE:_default' \
'--output=[]:OUTPUT:(json-schema-draft201909)' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(schema-files)
_arguments "${_arguments_options[@]}" : \
'--out-dir=[]:OUT_DIR:_files' \
'--output=[]:OUTPUT:(json-schema-draft201909)' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
        esac
    ;;
esac
;;
(guess)
_arguments "${_arguments_options[@]}" : \
'--input=[]:INPUT_FORMAT:(single single-base64 stream stream-base64 stream-framed)' \
'--output=[]:OUTPUT_FORMAT:(list)' \
'--certainty=[Certainty as an arbitrary value]:CERTAINTY:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'::input -- XDR or file containing XDR to decode, or stdin if empty:_default' \
&& ret=0
;;
(decode)
_arguments "${_arguments_options[@]}" : \
'--type=[XDR type to decode]:TYPE:_default' \
'--input=[]:INPUT_FORMAT:(single single-base64 stream stream-base64 stream-framed)' \
'--output=[]:OUTPUT_FORMAT:(json json-formatted text rust-debug rust-debug-formatted)' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
'*::input -- XDR or files containing XDR to decode, or stdin if empty:_default' \
&& ret=0
;;
(encode)
_arguments "${_arguments_options[@]}" : \
'--type=[XDR type to encode]:TYPE:_default' \
'--input=[]:INPUT_FORMAT:(json)' \
'--output=[]:OUTPUT_FORMAT:(single single-base64 stream)' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
'*::input -- XDR or files containing XDR to decode, or stdin if empty:_default' \
&& ret=0
;;
(compare)
_arguments "${_arguments_options[@]}" : \
'--type=[XDR type of both inputs]:TYPE:_default' \
'--input=[]:INPUT:(single single-base64)' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':left -- XDR file to decode and compare with the right value:_files' \
':right -- XDR file to decode and compare with the left value:_files' \
&& ret=0
;;
(generate)
_arguments "${_arguments_options[@]}" : \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
":: :_stellar__xdr__generate_commands" \
"*::: :->generate" \
&& ret=0

    case $state in
    (generate)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:stellar-xdr-generate-command-$line[1]:"
        case $line[1] in
            (default)
_arguments "${_arguments_options[@]}" : \
'--type=[XDR type to generate]:TYPE:_default' \
'--output=[]:OUTPUT_FORMAT:(single single-base64 json json-formatted text)' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(arbitrary)
_arguments "${_arguments_options[@]}" : \
'--type=[XDR type to generate]:TYPE:_default' \
'--output=[]:OUTPUT_FORMAT:(single single-base64 json json-formatted text)' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
        esac
    ;;
esac
;;
(version)
_arguments "${_arguments_options[@]}" : \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
        esac
    ;;
esac
;;
(completion)
_arguments "${_arguments_options[@]}" : \
'--shell=[The shell type]:SHELL:(bash elvish fish powershell zsh)' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(cache)
_arguments "${_arguments_options[@]}" : \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
":: :_stellar__cache_commands" \
"*::: :->cache" \
&& ret=0

    case $state in
    (cache)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:stellar-cache-command-$line[1]:"
        case $line[1] in
            (clean)
_arguments "${_arguments_options[@]}" : \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(path)
_arguments "${_arguments_options[@]}" : \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(actionlog)
_arguments "${_arguments_options[@]}" : \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
":: :_stellar__cache__actionlog_commands" \
"*::: :->actionlog" \
&& ret=0

    case $state in
    (actionlog)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:stellar-cache-actionlog-command-$line[1]:"
        case $line[1] in
            (ls)
_arguments "${_arguments_options[@]}" : \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-l[]' \
'--long[]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(read)
_arguments "${_arguments_options[@]}" : \
'--id=[ID of the cache entry]:ID:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(version)
_arguments "${_arguments_options[@]}" : \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--only-version[Print only the version]' \
'--only-version-major[Print only the major version]' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(plugin)
_arguments "${_arguments_options[@]}" : \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
":: :_stellar__plugin_commands" \
"*::: :->plugin" \
&& ret=0

    case $state in
    (plugin)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:stellar-plugin-command-$line[1]:"
        case $line[1] in
            (search)
_arguments "${_arguments_options[@]}" : \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(ls)
_arguments "${_arguments_options[@]}" : \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
        esac
    ;;
esac
;;
(ledger)
_arguments "${_arguments_options[@]}" : \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
":: :_stellar__ledger_commands" \
"*::: :->ledger" \
&& ret=0

    case $state in
    (ledger)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:stellar-ledger-command-$line[1]:"
        case $line[1] in
            (entry)
_arguments "${_arguments_options[@]}" : \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
":: :_stellar__ledger__entry_commands" \
"*::: :->entry" \
&& ret=0

    case $state in
    (entry)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:stellar-ledger-entry-command-$line[1]:"
        case $line[1] in
            (fetch)
_arguments "${_arguments_options[@]}" : \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help]' \
'--help[Print help]' \
":: :_stellar__ledger__entry__fetch_commands" \
"*::: :->fetch" \
&& ret=0

    case $state in
    (fetch)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:stellar-ledger-entry-fetch-command-$line[1]:"
        case $line[1] in
            (account)
_arguments "${_arguments_options[@]}" : \
'--account=[Account alias or address to lookup]:ACCOUNT:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--output=[Format of the output]:OUTPUT:((json\:"JSON output of the ledger entry with parsed XDRs (one line, not formatted)"
json-formatted\:"Formatted (multiline) JSON output of the ledger entry with parsed XDRs"
xdr\:"Original RPC output (containing XDRs)"))' \
'--hd-path=[If identity is a seed phrase use this hd path, default is 0]:HD_PATH:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(contract-data)
_arguments "${_arguments_options[@]}" : \
'--contract=[Contract alias or address to fetch]:CONTRACT:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--output=[Format of the output]:OUTPUT:((json\:"JSON output of the ledger entry with parsed XDRs (one line, not formatted)"
json-formatted\:"Formatted (multiline) JSON output of the ledger entry with parsed XDRs"
xdr\:"Original RPC output (containing XDRs)"))' \
'--durability=[Storage entry durability]:DURABILITY:((persistent\:"Persistent"
temporary\:"Temporary"))' \
'*--key=[Storage key (symbols only)]:KEY:_default' \
'*--key-xdr=[Storage key (base64-encoded XDR)]:KEY_XDR:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'--instance[If the contract instance ledger entry should be included in the output]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(claimable-balance)
_arguments "${_arguments_options[@]}" : \
'*--id=[Claimable Balance Ids to fetch an entry for]:ID:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--output=[Format of the output]:OUTPUT:((json\:"JSON output of the ledger entry with parsed XDRs (one line, not formatted)"
json-formatted\:"Formatted (multiline) JSON output of the ledger entry with parsed XDRs"
xdr\:"Original RPC output (containing XDRs)"))' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(liquidity-pool)
_arguments "${_arguments_options[@]}" : \
'*--id=[Liquidity pool ids]:ID:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--output=[Format of the output]:OUTPUT:((json\:"JSON output of the ledger entry with parsed XDRs (one line, not formatted)"
json-formatted\:"Formatted (multiline) JSON output of the ledger entry with parsed XDRs"
xdr\:"Original RPC output (containing XDRs)"))' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(contract-code)
_arguments "${_arguments_options[@]}" : \
'*--wasm-hash=[Get WASM bytecode by hash]:WASM_HASH:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--output=[Format of the output]:OUTPUT:((json\:"JSON output of the ledger entry with parsed XDRs (one line, not formatted)"
json-formatted\:"Formatted (multiline) JSON output of the ledger entry with parsed XDRs"
xdr\:"Original RPC output (containing XDRs)"))' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(trustline)
_arguments "${_arguments_options[@]}" : \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--output=[Format of the output]:OUTPUT:((json\:"JSON output of the ledger entry with parsed XDRs (one line, not formatted)"
json-formatted\:"Formatted (multiline) JSON output of the ledger entry with parsed XDRs"
xdr\:"Original RPC output (containing XDRs)"))' \
'--account=[Account alias or address to lookup]:ACCOUNT:_default' \
'*--asset=[Assets to get trustline info for]:ASSET:_default' \
'--hd-path=[If account is a seed phrase use this hd path, default is 0]:HD_PATH:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(data)
_arguments "${_arguments_options[@]}" : \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--output=[Format of the output]:OUTPUT:((json\:"JSON output of the ledger entry with parsed XDRs (one line, not formatted)"
json-formatted\:"Formatted (multiline) JSON output of the ledger entry with parsed XDRs"
xdr\:"Original RPC output (containing XDRs)"))' \
'--account=[Account alias or address to lookup]:ACCOUNT:_default' \
'*--data-name=[Fetch key-value data entries attached to an account (see manageDataOp)]:DATA_NAME:_default' \
'--hd-path=[If identity is a seed phrase use this hd path, default is 0]:HD_PATH:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(offer)
_arguments "${_arguments_options[@]}" : \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'--output=[Format of the output]:OUTPUT:((json\:"JSON output of the ledger entry with parsed XDRs (one line, not formatted)"
json-formatted\:"Formatted (multiline) JSON output of the ledger entry with parsed XDRs"
xdr\:"Original RPC output (containing XDRs)"))' \
'--account=[Account alias or address to lookup]:ACCOUNT:_default' \
'*--offer=[ID of an offer made on the Stellar DEX]:OFFER:_default' \
'--hd-path=[If identity is a seed phrase use this hd path, default is 0]:HD_PATH:_default' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(latest)
_arguments "${_arguments_options[@]}" : \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'--output=[Format of the output]:OUTPUT:((text\:"Text output of network info"
json\:"JSON result of the RPC request"
json-formatted\:"Formatted (multiline) JSON output of the RPC request"))' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(fetch)
_arguments "${_arguments_options[@]}" : \
'--limit=[Number of ledgers to fetch]:LIMIT:_default' \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'--output=[Format of the output]:OUTPUT:((text\:"Text output of network info"
json\:"JSON result of the RPC request"
json-formatted\:"Formatted (multiline) JSON output of the RPC request"))' \
'--xdr-format=[Format of the xdr in the output]:XDR_FORMAT:((json\:"XDR fields will be fetched as json and accessible via the headerJson and metadataJson fields"
xdr\:"XDR fields will be fetched as xdr and accessible via the headerXdr and metadataXdr fields"))' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':seq -- Ledger Sequence to start fetch (inclusive):_default' \
&& ret=0
;;
        esac
    ;;
esac
;;
(fee-stats)
_arguments "${_arguments_options[@]}" : \
'--rpc-url=[RPC server endpoint]:RPC_URL:_default' \
'*--rpc-header=[RPC Header(s) to include in requests to the RPC provider, example\: "X-API-Key\: abc123". Multiple headers can be added by passing the option multiple times]:RPC_HEADERS:_default' \
'--network-passphrase=[Network passphrase to sign the transaction sent to the rpc server]:NETWORK_PASSPHRASE:_default' \
'-n+[Name of network to use from config]:NETWORK:_default' \
'--network=[Name of network to use from config]:NETWORK:_default' \
'--output=[Format of the output]:OUTPUT:((text\:"Text output of network info"
json\:"JSON result of the RPC request"
json-formatted\:"Formatted (multiline) JSON output of the RPC request"))' \
'--config-dir=[Location of config directory. By default, it uses \`\$XDG_CONFIG_HOME/stellar\` if set, falling back to \`~/.config/stellar\` otherwise. Contains configuration files, aliases, and other persistent settings]:CONFIG_DIR:_files' \
'*-f+[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'*--filter-logs=[Filter logs output. To turn on \`stellar_cli\:\:log\:\:footprint=debug\` or off \`=off\`. Can also use env var \`RUST_LOG\`]:FILTER_LOGS:_default' \
'--global[⚠️ Deprecated\: global config is always on]' \
'-q[Do not write logs to stderr including \`INFO\`]' \
'--quiet[Do not write logs to stderr including \`INFO\`]' \
'-v[Log DEBUG events]' \
'--verbose[Log DEBUG events]' \
'--very-verbose[Log DEBUG and TRACE events]' \
'--vv[Log DEBUG and TRACE events]' \
'--no-cache[Do not cache your simulations and transactions]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
        esac
    ;;
esac
}

(( $+functions[_stellar_commands] )) ||
_stellar_commands() {
    local commands; commands=(
'contract:Tools for smart contract developers' \
'doctor:Diagnose and troubleshoot CLI and network issues' \
'events:Watch the network for contract events' \
'env:Prints the environment variables' \
'keys:Create and manage identities including keys and addresses' \
'network:Configure connection to networks' \
'container:Start local networks in containers' \
'config:Manage cli configuration' \
'snapshot:Download a snapshot of a ledger from an archive' \
'tx:Sign, Simulate, and Send transactions' \
'xdr:Decode and encode XDR' \
'completion:Print shell completion code for the specified shell' \
'cache:Cache for transactions and contract specs' \
'version:Print version information' \
'plugin:The subcommand for CLI plugins' \
'ledger:Fetch ledger information' \
'fee-stats:Fetch network feestats' \
    )
    _describe -t commands 'stellar commands' commands "$@"
}
(( $+functions[_stellar__cache_commands] )) ||
_stellar__cache_commands() {
    local commands; commands=(
'clean:Delete the cache' \
'path:Show the location of the cache' \
'actionlog:Access details about cached actions like transactions, and simulations. (Experimental. May see breaking changes at any time.)' \
    )
    _describe -t commands 'stellar cache commands' commands "$@"
}
(( $+functions[_stellar__cache__actionlog_commands] )) ||
_stellar__cache__actionlog_commands() {
    local commands; commands=(
'ls:List cached actions (transactions, simulations)' \
'read:Read cached action' \
    )
    _describe -t commands 'stellar cache actionlog commands' commands "$@"
}
(( $+functions[_stellar__cache__actionlog__ls_commands] )) ||
_stellar__cache__actionlog__ls_commands() {
    local commands; commands=()
    _describe -t commands 'stellar cache actionlog ls commands' commands "$@"
}
(( $+functions[_stellar__cache__actionlog__read_commands] )) ||
_stellar__cache__actionlog__read_commands() {
    local commands; commands=()
    _describe -t commands 'stellar cache actionlog read commands' commands "$@"
}
(( $+functions[_stellar__cache__clean_commands] )) ||
_stellar__cache__clean_commands() {
    local commands; commands=()
    _describe -t commands 'stellar cache clean commands' commands "$@"
}
(( $+functions[_stellar__cache__path_commands] )) ||
_stellar__cache__path_commands() {
    local commands; commands=()
    _describe -t commands 'stellar cache path commands' commands "$@"
}
(( $+functions[_stellar__completion_commands] )) ||
_stellar__completion_commands() {
    local commands; commands=()
    _describe -t commands 'stellar completion commands' commands "$@"
}
(( $+functions[_stellar__config_commands] )) ||
_stellar__config_commands() {
    local commands; commands=(
'migrate:Migrate the local configuration to the global directory' \
'dir:Show the global configuration directory' \
    )
    _describe -t commands 'stellar config commands' commands "$@"
}
(( $+functions[_stellar__config__dir_commands] )) ||
_stellar__config__dir_commands() {
    local commands; commands=()
    _describe -t commands 'stellar config dir commands' commands "$@"
}
(( $+functions[_stellar__config__migrate_commands] )) ||
_stellar__config__migrate_commands() {
    local commands; commands=()
    _describe -t commands 'stellar config migrate commands' commands "$@"
}
(( $+functions[_stellar__container_commands] )) ||
_stellar__container_commands() {
    local commands; commands=(
'logs:Get logs from a running network container' \
'start:Start a container running a Stellar node, RPC, API, and friendbot (faucet)' \
'stop:Stop a network container started with \`stellar container start\`' \
    )
    _describe -t commands 'stellar container commands' commands "$@"
}
(( $+functions[_stellar__container__logs_commands] )) ||
_stellar__container__logs_commands() {
    local commands; commands=()
    _describe -t commands 'stellar container logs commands' commands "$@"
}
(( $+functions[_stellar__container__start_commands] )) ||
_stellar__container__start_commands() {
    local commands; commands=()
    _describe -t commands 'stellar container start commands' commands "$@"
}
(( $+functions[_stellar__container__stop_commands] )) ||
_stellar__container__stop_commands() {
    local commands; commands=()
    _describe -t commands 'stellar container stop commands' commands "$@"
}
(( $+functions[_stellar__contract_commands] )) ||
_stellar__contract_commands() {
    local commands; commands=(
'asset:Utilities to deploy a Stellar Asset Contract or get its id' \
'alias:Utilities to manage contract aliases' \
'bindings:Generate code client bindings for a contract' \
'build:Build a contract from source' \
'extend:Extend the time to live ledger of a contract-data ledger entry' \
'deploy:Deploy a wasm contract' \
'fetch:Fetch a contract'\''s Wasm binary' \
'id:Generate the contract id for a given contract or asset' \
'info:Access info about contracts' \
'init:Initialize a Soroban contract project' \
'inspect:⚠️ Deprecated, use \`contract info\`. Inspect a WASM file listing contract functions, meta, etc' \
'upload:Install a WASM file to the ledger without creating a contract instance' \
'install:⚠️ Deprecated, use \`contract upload\`. Install a WASM file to the ledger without creating a contract instance' \
'invoke:Invoke a contract function' \
'optimize:⚠️ Deprecated, use \`build --optimize\`. Optimize a WASM file' \
'read:Print the current value of a contract-data ledger entry' \
'restore:Restore an evicted value for a contract-data legder entry' \
    )
    _describe -t commands 'stellar contract commands' commands "$@"
}
(( $+functions[_stellar__contract__alias_commands] )) ||
_stellar__contract__alias_commands() {
    local commands; commands=(
'remove:Remove contract alias' \
'add:Add contract alias' \
'show:Show the contract id associated with a given alias' \
'ls:List all aliases' \
    )
    _describe -t commands 'stellar contract alias commands' commands "$@"
}
(( $+functions[_stellar__contract__alias__add_commands] )) ||
_stellar__contract__alias__add_commands() {
    local commands; commands=()
    _describe -t commands 'stellar contract alias add commands' commands "$@"
}
(( $+functions[_stellar__contract__alias__ls_commands] )) ||
_stellar__contract__alias__ls_commands() {
    local commands; commands=()
    _describe -t commands 'stellar contract alias ls commands' commands "$@"
}
(( $+functions[_stellar__contract__alias__remove_commands] )) ||
_stellar__contract__alias__remove_commands() {
    local commands; commands=()
    _describe -t commands 'stellar contract alias remove commands' commands "$@"
}
(( $+functions[_stellar__contract__alias__show_commands] )) ||
_stellar__contract__alias__show_commands() {
    local commands; commands=()
    _describe -t commands 'stellar contract alias show commands' commands "$@"
}
(( $+functions[_stellar__contract__asset_commands] )) ||
_stellar__contract__asset_commands() {
    local commands; commands=(
'id:Get Id of builtin Soroban Asset Contract. Deprecated, use \`stellar contract id asset\` instead' \
'deploy:Deploy builtin Soroban Asset Contract' \
    )
    _describe -t commands 'stellar contract asset commands' commands "$@"
}
(( $+functions[_stellar__contract__asset__deploy_commands] )) ||
_stellar__contract__asset__deploy_commands() {
    local commands; commands=()
    _describe -t commands 'stellar contract asset deploy commands' commands "$@"
}
(( $+functions[_stellar__contract__asset__id_commands] )) ||
_stellar__contract__asset__id_commands() {
    local commands; commands=()
    _describe -t commands 'stellar contract asset id commands' commands "$@"
}
(( $+functions[_stellar__contract__bindings_commands] )) ||
_stellar__contract__bindings_commands() {
    local commands; commands=(
'json:Generate Json Bindings' \
'rust:Generate Rust bindings' \
'typescript:Generate a TypeScript / JavaScript package' \
'python:Generate Python bindings' \
'java:Generate Java bindings' \
'flutter:Generate Flutter bindings' \
'swift:Generate Swift bindings' \
'php:Generate PHP bindings' \
    )
    _describe -t commands 'stellar contract bindings commands' commands "$@"
}
(( $+functions[_stellar__contract__bindings__flutter_commands] )) ||
_stellar__contract__bindings__flutter_commands() {
    local commands; commands=()
    _describe -t commands 'stellar contract bindings flutter commands' commands "$@"
}
(( $+functions[_stellar__contract__bindings__java_commands] )) ||
_stellar__contract__bindings__java_commands() {
    local commands; commands=()
    _describe -t commands 'stellar contract bindings java commands' commands "$@"
}
(( $+functions[_stellar__contract__bindings__json_commands] )) ||
_stellar__contract__bindings__json_commands() {
    local commands; commands=()
    _describe -t commands 'stellar contract bindings json commands' commands "$@"
}
(( $+functions[_stellar__contract__bindings__php_commands] )) ||
_stellar__contract__bindings__php_commands() {
    local commands; commands=()
    _describe -t commands 'stellar contract bindings php commands' commands "$@"
}
(( $+functions[_stellar__contract__bindings__python_commands] )) ||
_stellar__contract__bindings__python_commands() {
    local commands; commands=()
    _describe -t commands 'stellar contract bindings python commands' commands "$@"
}
(( $+functions[_stellar__contract__bindings__rust_commands] )) ||
_stellar__contract__bindings__rust_commands() {
    local commands; commands=()
    _describe -t commands 'stellar contract bindings rust commands' commands "$@"
}
(( $+functions[_stellar__contract__bindings__swift_commands] )) ||
_stellar__contract__bindings__swift_commands() {
    local commands; commands=()
    _describe -t commands 'stellar contract bindings swift commands' commands "$@"
}
(( $+functions[_stellar__contract__bindings__typescript_commands] )) ||
_stellar__contract__bindings__typescript_commands() {
    local commands; commands=()
    _describe -t commands 'stellar contract bindings typescript commands' commands "$@"
}
(( $+functions[_stellar__contract__build_commands] )) ||
_stellar__contract__build_commands() {
    local commands; commands=()
    _describe -t commands 'stellar contract build commands' commands "$@"
}
(( $+functions[_stellar__contract__deploy_commands] )) ||
_stellar__contract__deploy_commands() {
    local commands; commands=()
    _describe -t commands 'stellar contract deploy commands' commands "$@"
}
(( $+functions[_stellar__contract__extend_commands] )) ||
_stellar__contract__extend_commands() {
    local commands; commands=()
    _describe -t commands 'stellar contract extend commands' commands "$@"
}
(( $+functions[_stellar__contract__fetch_commands] )) ||
_stellar__contract__fetch_commands() {
    local commands; commands=()
    _describe -t commands 'stellar contract fetch commands' commands "$@"
}
(( $+functions[_stellar__contract__id_commands] )) ||
_stellar__contract__id_commands() {
    local commands; commands=(
'asset:Deploy builtin Soroban Asset Contract' \
'wasm:Deploy normal Wasm Contract' \
    )
    _describe -t commands 'stellar contract id commands' commands "$@"
}
(( $+functions[_stellar__contract__id__asset_commands] )) ||
_stellar__contract__id__asset_commands() {
    local commands; commands=()
    _describe -t commands 'stellar contract id asset commands' commands "$@"
}
(( $+functions[_stellar__contract__id__wasm_commands] )) ||
_stellar__contract__id__wasm_commands() {
    local commands; commands=()
    _describe -t commands 'stellar contract id wasm commands' commands "$@"
}
(( $+functions[_stellar__contract__info_commands] )) ||
_stellar__contract__info_commands() {
    local commands; commands=(
'interface:Output the interface of a contract' \
'meta:Output the metadata stored in a contract' \
'env-meta:Output the env required metadata stored in a contract' \
'build:Output the contract build information, if available' \
    )
    _describe -t commands 'stellar contract info commands' commands "$@"
}
(( $+functions[_stellar__contract__info__build_commands] )) ||
_stellar__contract__info__build_commands() {
    local commands; commands=()
    _describe -t commands 'stellar contract info build commands' commands "$@"
}
(( $+functions[_stellar__contract__info__env-meta_commands] )) ||
_stellar__contract__info__env-meta_commands() {
    local commands; commands=()
    _describe -t commands 'stellar contract info env-meta commands' commands "$@"
}
(( $+functions[_stellar__contract__info__interface_commands] )) ||
_stellar__contract__info__interface_commands() {
    local commands; commands=()
    _describe -t commands 'stellar contract info interface commands' commands "$@"
}
(( $+functions[_stellar__contract__info__meta_commands] )) ||
_stellar__contract__info__meta_commands() {
    local commands; commands=()
    _describe -t commands 'stellar contract info meta commands' commands "$@"
}
(( $+functions[_stellar__contract__init_commands] )) ||
_stellar__contract__init_commands() {
    local commands; commands=()
    _describe -t commands 'stellar contract init commands' commands "$@"
}
(( $+functions[_stellar__contract__inspect_commands] )) ||
_stellar__contract__inspect_commands() {
    local commands; commands=()
    _describe -t commands 'stellar contract inspect commands' commands "$@"
}
(( $+functions[_stellar__contract__install_commands] )) ||
_stellar__contract__install_commands() {
    local commands; commands=()
    _describe -t commands 'stellar contract install commands' commands "$@"
}
(( $+functions[_stellar__contract__invoke_commands] )) ||
_stellar__contract__invoke_commands() {
    local commands; commands=()
    _describe -t commands 'stellar contract invoke commands' commands "$@"
}
(( $+functions[_stellar__contract__optimize_commands] )) ||
_stellar__contract__optimize_commands() {
    local commands; commands=()
    _describe -t commands 'stellar contract optimize commands' commands "$@"
}
(( $+functions[_stellar__contract__read_commands] )) ||
_stellar__contract__read_commands() {
    local commands; commands=()
    _describe -t commands 'stellar contract read commands' commands "$@"
}
(( $+functions[_stellar__contract__restore_commands] )) ||
_stellar__contract__restore_commands() {
    local commands; commands=()
    _describe -t commands 'stellar contract restore commands' commands "$@"
}
(( $+functions[_stellar__contract__upload_commands] )) ||
_stellar__contract__upload_commands() {
    local commands; commands=()
    _describe -t commands 'stellar contract upload commands' commands "$@"
}
(( $+functions[_stellar__doctor_commands] )) ||
_stellar__doctor_commands() {
    local commands; commands=()
    _describe -t commands 'stellar doctor commands' commands "$@"
}
(( $+functions[_stellar__env_commands] )) ||
_stellar__env_commands() {
    local commands; commands=()
    _describe -t commands 'stellar env commands' commands "$@"
}
(( $+functions[_stellar__events_commands] )) ||
_stellar__events_commands() {
    local commands; commands=()
    _describe -t commands 'stellar events commands' commands "$@"
}
(( $+functions[_stellar__fee-stats_commands] )) ||
_stellar__fee-stats_commands() {
    local commands; commands=()
    _describe -t commands 'stellar fee-stats commands' commands "$@"
}
(( $+functions[_stellar__keys_commands] )) ||
_stellar__keys_commands() {
    local commands; commands=(
'add:Add a new identity (keypair, ledger, OS specific secure store)' \
'public-key:Given an identity return its address (public key)' \
'address:Given an identity return its address (public key)' \
'fund:Fund an identity on a test network' \
'generate:Generate a new identity using a 24-word seed phrase The seed phrase can be stored in a config file (default) or in an OS-specific secure store' \
'ls:List identities' \
'rm:Remove an identity' \
'secret:Output an identity'\''s secret key' \
'use:Set the default identity that will be used on all commands. This allows you to skip \`--source-account\` or setting a environment variable, while reusing this value in all commands that require it' \
    )
    _describe -t commands 'stellar keys commands' commands "$@"
}
(( $+functions[_stellar__keys__add_commands] )) ||
_stellar__keys__add_commands() {
    local commands; commands=()
    _describe -t commands 'stellar keys add commands' commands "$@"
}
(( $+functions[_stellar__keys__fund_commands] )) ||
_stellar__keys__fund_commands() {
    local commands; commands=()
    _describe -t commands 'stellar keys fund commands' commands "$@"
}
(( $+functions[_stellar__keys__generate_commands] )) ||
_stellar__keys__generate_commands() {
    local commands; commands=()
    _describe -t commands 'stellar keys generate commands' commands "$@"
}
(( $+functions[_stellar__keys__ls_commands] )) ||
_stellar__keys__ls_commands() {
    local commands; commands=()
    _describe -t commands 'stellar keys ls commands' commands "$@"
}
(( $+functions[_stellar__keys__public-key_commands] )) ||
_stellar__keys__public-key_commands() {
    local commands; commands=()
    _describe -t commands 'stellar keys public-key commands' commands "$@"
}
(( $+functions[_stellar__keys__rm_commands] )) ||
_stellar__keys__rm_commands() {
    local commands; commands=()
    _describe -t commands 'stellar keys rm commands' commands "$@"
}
(( $+functions[_stellar__keys__secret_commands] )) ||
_stellar__keys__secret_commands() {
    local commands; commands=()
    _describe -t commands 'stellar keys secret commands' commands "$@"
}
(( $+functions[_stellar__keys__use_commands] )) ||
_stellar__keys__use_commands() {
    local commands; commands=()
    _describe -t commands 'stellar keys use commands' commands "$@"
}
(( $+functions[_stellar__ledger_commands] )) ||
_stellar__ledger_commands() {
    local commands; commands=(
'entry:Work with ledger entries' \
'latest:Get the latest ledger sequence and information from the network' \
'fetch:' \
    )
    _describe -t commands 'stellar ledger commands' commands "$@"
}
(( $+functions[_stellar__ledger__entry_commands] )) ||
_stellar__ledger__entry_commands() {
    local commands; commands=(
'fetch:Fetch ledger entries. This command supports all types of ledger entries supported by the RPC. Read more about the RPC command here\: \[https\://developers.stellar.org/docs/data/apis/rpc/api-reference/methods/getLedgerEntries#types-of-ledgerkeys\](https\://developers.stellar.org/docs/data/apis/rpc/api-reference/methods/getLedgerEntries#types-of-ledgerkeys)' \
    )
    _describe -t commands 'stellar ledger entry commands' commands "$@"
}
(( $+functions[_stellar__ledger__entry__fetch_commands] )) ||
_stellar__ledger__entry__fetch_commands() {
    local commands; commands=(
'account:Fetch account entry by public key or alias' \
'contract-data:Fetch contract ledger entry by address or alias and storage key' \
'claimable-balance:Fetch a claimable balance ledger entry by id' \
'liquidity-pool:Fetch a liquidity pool ledger entry by id' \
'contract-code:Fetch a Contract'\''s WASM bytecode by WASM hash' \
'trustline:Fetch a trustline by account and asset' \
'data:Fetch key-value data entries attached to an account (see manageDataOp)' \
'offer:Fetch an offer by account and offer id' \
    )
    _describe -t commands 'stellar ledger entry fetch commands' commands "$@"
}
(( $+functions[_stellar__ledger__entry__fetch__account_commands] )) ||
_stellar__ledger__entry__fetch__account_commands() {
    local commands; commands=()
    _describe -t commands 'stellar ledger entry fetch account commands' commands "$@"
}
(( $+functions[_stellar__ledger__entry__fetch__claimable-balance_commands] )) ||
_stellar__ledger__entry__fetch__claimable-balance_commands() {
    local commands; commands=()
    _describe -t commands 'stellar ledger entry fetch claimable-balance commands' commands "$@"
}
(( $+functions[_stellar__ledger__entry__fetch__contract-code_commands] )) ||
_stellar__ledger__entry__fetch__contract-code_commands() {
    local commands; commands=()
    _describe -t commands 'stellar ledger entry fetch contract-code commands' commands "$@"
}
(( $+functions[_stellar__ledger__entry__fetch__contract-data_commands] )) ||
_stellar__ledger__entry__fetch__contract-data_commands() {
    local commands; commands=()
    _describe -t commands 'stellar ledger entry fetch contract-data commands' commands "$@"
}
(( $+functions[_stellar__ledger__entry__fetch__data_commands] )) ||
_stellar__ledger__entry__fetch__data_commands() {
    local commands; commands=()
    _describe -t commands 'stellar ledger entry fetch data commands' commands "$@"
}
(( $+functions[_stellar__ledger__entry__fetch__liquidity-pool_commands] )) ||
_stellar__ledger__entry__fetch__liquidity-pool_commands() {
    local commands; commands=()
    _describe -t commands 'stellar ledger entry fetch liquidity-pool commands' commands "$@"
}
(( $+functions[_stellar__ledger__entry__fetch__offer_commands] )) ||
_stellar__ledger__entry__fetch__offer_commands() {
    local commands; commands=()
    _describe -t commands 'stellar ledger entry fetch offer commands' commands "$@"
}
(( $+functions[_stellar__ledger__entry__fetch__trustline_commands] )) ||
_stellar__ledger__entry__fetch__trustline_commands() {
    local commands; commands=()
    _describe -t commands 'stellar ledger entry fetch trustline commands' commands "$@"
}
(( $+functions[_stellar__ledger__fetch_commands] )) ||
_stellar__ledger__fetch_commands() {
    local commands; commands=()
    _describe -t commands 'stellar ledger fetch commands' commands "$@"
}
(( $+functions[_stellar__ledger__latest_commands] )) ||
_stellar__ledger__latest_commands() {
    local commands; commands=()
    _describe -t commands 'stellar ledger latest commands' commands "$@"
}
(( $+functions[_stellar__network_commands] )) ||
_stellar__network_commands() {
    local commands; commands=(
'add:Add a new network' \
'rm:Remove a network' \
'ls:List networks' \
'use:Set the default network that will be used on all commands. This allows you to skip \`--network\` or setting a environment variable, while reusing this value in all commands that require it' \
'health:Fetch the health of the configured RPC' \
'info:Checks the health of the configured RPC' \
'settings:Fetch the network'\''s config settings' \
    )
    _describe -t commands 'stellar network commands' commands "$@"
}
(( $+functions[_stellar__network__add_commands] )) ||
_stellar__network__add_commands() {
    local commands; commands=()
    _describe -t commands 'stellar network add commands' commands "$@"
}
(( $+functions[_stellar__network__health_commands] )) ||
_stellar__network__health_commands() {
    local commands; commands=()
    _describe -t commands 'stellar network health commands' commands "$@"
}
(( $+functions[_stellar__network__info_commands] )) ||
_stellar__network__info_commands() {
    local commands; commands=()
    _describe -t commands 'stellar network info commands' commands "$@"
}
(( $+functions[_stellar__network__ls_commands] )) ||
_stellar__network__ls_commands() {
    local commands; commands=()
    _describe -t commands 'stellar network ls commands' commands "$@"
}
(( $+functions[_stellar__network__rm_commands] )) ||
_stellar__network__rm_commands() {
    local commands; commands=()
    _describe -t commands 'stellar network rm commands' commands "$@"
}
(( $+functions[_stellar__network__settings_commands] )) ||
_stellar__network__settings_commands() {
    local commands; commands=()
    _describe -t commands 'stellar network settings commands' commands "$@"
}
(( $+functions[_stellar__network__use_commands] )) ||
_stellar__network__use_commands() {
    local commands; commands=()
    _describe -t commands 'stellar network use commands' commands "$@"
}
(( $+functions[_stellar__plugin_commands] )) ||
_stellar__plugin_commands() {
    local commands; commands=(
'search:Search for CLI plugins using GitHub' \
'ls:List installed plugins' \
    )
    _describe -t commands 'stellar plugin commands' commands "$@"
}
(( $+functions[_stellar__plugin__ls_commands] )) ||
_stellar__plugin__ls_commands() {
    local commands; commands=()
    _describe -t commands 'stellar plugin ls commands' commands "$@"
}
(( $+functions[_stellar__plugin__search_commands] )) ||
_stellar__plugin__search_commands() {
    local commands; commands=()
    _describe -t commands 'stellar plugin search commands' commands "$@"
}
(( $+functions[_stellar__snapshot_commands] )) ||
_stellar__snapshot_commands() {
    local commands; commands=(
'create:Create a ledger snapshot using a history archive' \
'merge:Merge multiple ledger snapshots into a single snapshot file' \
    )
    _describe -t commands 'stellar snapshot commands' commands "$@"
}
(( $+functions[_stellar__snapshot__create_commands] )) ||
_stellar__snapshot__create_commands() {
    local commands; commands=()
    _describe -t commands 'stellar snapshot create commands' commands "$@"
}
(( $+functions[_stellar__snapshot__merge_commands] )) ||
_stellar__snapshot__merge_commands() {
    local commands; commands=()
    _describe -t commands 'stellar snapshot merge commands' commands "$@"
}
(( $+functions[_stellar__tx_commands] )) ||
_stellar__tx_commands() {
    local commands; commands=(
'update:Update the transaction' \
'edit:Edit a transaction envelope from stdin. This command respects the environment variables \`STELLAR_EDITOR\`, \`EDITOR\` and \`VISUAL\`, in that order' \
'hash:Calculate the hash of a transaction envelope' \
'new:Create a new transaction' \
'operation:Manipulate the operations in a transaction, including adding new operations' \
'op:Manipulate the operations in a transaction, including adding new operations' \
'send:Send a transaction envelope to the network' \
'sign:Sign a transaction envelope appending the signature to the envelope' \
'simulate:Simulate a transaction envelope from stdin' \
'fetch:Fetch a transaction from the network by hash If no subcommand is passed in, the transaction envelope will be returned' \
'decode:Decode a transaction envelope from XDR to JSON' \
'encode:Encode a transaction envelope from JSON to XDR' \
    )
    _describe -t commands 'stellar tx commands' commands "$@"
}
(( $+functions[_stellar__tx__decode_commands] )) ||
_stellar__tx__decode_commands() {
    local commands; commands=()
    _describe -t commands 'stellar tx decode commands' commands "$@"
}
(( $+functions[_stellar__tx__edit_commands] )) ||
_stellar__tx__edit_commands() {
    local commands; commands=()
    _describe -t commands 'stellar tx edit commands' commands "$@"
}
(( $+functions[_stellar__tx__encode_commands] )) ||
_stellar__tx__encode_commands() {
    local commands; commands=()
    _describe -t commands 'stellar tx encode commands' commands "$@"
}
(( $+functions[_stellar__tx__fetch_commands] )) ||
_stellar__tx__fetch_commands() {
    local commands; commands=(
'result:Fetch the transaction result' \
'meta:Fetch the transaction meta' \
'fee:Fetch the transaction fee information' \
'events:Fetch the transaction events' \
'envelope:Fetch the transaction envelope' \
    )
    _describe -t commands 'stellar tx fetch commands' commands "$@"
}
(( $+functions[_stellar__tx__fetch__envelope_commands] )) ||
_stellar__tx__fetch__envelope_commands() {
    local commands; commands=()
    _describe -t commands 'stellar tx fetch envelope commands' commands "$@"
}
(( $+functions[_stellar__tx__fetch__events_commands] )) ||
_stellar__tx__fetch__events_commands() {
    local commands; commands=()
    _describe -t commands 'stellar tx fetch events commands' commands "$@"
}
(( $+functions[_stellar__tx__fetch__fee_commands] )) ||
_stellar__tx__fetch__fee_commands() {
    local commands; commands=()
    _describe -t commands 'stellar tx fetch fee commands' commands "$@"
}
(( $+functions[_stellar__tx__fetch__meta_commands] )) ||
_stellar__tx__fetch__meta_commands() {
    local commands; commands=()
    _describe -t commands 'stellar tx fetch meta commands' commands "$@"
}
(( $+functions[_stellar__tx__fetch__result_commands] )) ||
_stellar__tx__fetch__result_commands() {
    local commands; commands=()
    _describe -t commands 'stellar tx fetch result commands' commands "$@"
}
(( $+functions[_stellar__tx__hash_commands] )) ||
_stellar__tx__hash_commands() {
    local commands; commands=()
    _describe -t commands 'stellar tx hash commands' commands "$@"
}
(( $+functions[_stellar__tx__new_commands] )) ||
_stellar__tx__new_commands() {
    local commands; commands=(
'account-merge:Transfer XLM balance to another account and remove source account' \
'begin-sponsoring-future-reserves:Begin sponsoring future reserves for another account' \
'bump-sequence:Bump sequence number to invalidate older transactions' \
'change-trust:Create, update, or delete a trustline' \
'claim-claimable-balance:Claim a claimable balance by its balance ID' \
'clawback:Clawback an asset from an account' \
'clawback-claimable-balance:Clawback a claimable balance by its balance ID' \
'create-account:Create and fund a new account' \
'create-claimable-balance:Create a claimable balance that can be claimed by specified accounts' \
'create-passive-sell-offer:Create a passive sell offer on the Stellar DEX' \
'end-sponsoring-future-reserves:End sponsoring future reserves' \
'liquidity-pool-deposit:Deposit assets into a liquidity pool' \
'liquidity-pool-withdraw:Withdraw assets from a liquidity pool' \
'manage-buy-offer:Create, update, or delete a buy offer' \
'manage-data:Set, modify, or delete account data entries' \
'manage-sell-offer:Create, update, or delete a sell offer' \
'path-payment-strict-send:Send a payment with a different asset using path finding, specifying the send amount' \
'path-payment-strict-receive:Send a payment with a different asset using path finding, specifying the receive amount' \
'payment:Send asset to destination account' \
'revoke-sponsorship:Revoke sponsorship of a ledger entry or signer' \
'set-options:Set account options like flags, signers, and home domain' \
'set-trustline-flags:Configure authorization and trustline flags for an asset' \
    )
    _describe -t commands 'stellar tx new commands' commands "$@"
}
(( $+functions[_stellar__tx__new__account-merge_commands] )) ||
_stellar__tx__new__account-merge_commands() {
    local commands; commands=()
    _describe -t commands 'stellar tx new account-merge commands' commands "$@"
}
(( $+functions[_stellar__tx__new__begin-sponsoring-future-reserves_commands] )) ||
_stellar__tx__new__begin-sponsoring-future-reserves_commands() {
    local commands; commands=()
    _describe -t commands 'stellar tx new begin-sponsoring-future-reserves commands' commands "$@"
}
(( $+functions[_stellar__tx__new__bump-sequence_commands] )) ||
_stellar__tx__new__bump-sequence_commands() {
    local commands; commands=()
    _describe -t commands 'stellar tx new bump-sequence commands' commands "$@"
}
(( $+functions[_stellar__tx__new__change-trust_commands] )) ||
_stellar__tx__new__change-trust_commands() {
    local commands; commands=()
    _describe -t commands 'stellar tx new change-trust commands' commands "$@"
}
(( $+functions[_stellar__tx__new__claim-claimable-balance_commands] )) ||
_stellar__tx__new__claim-claimable-balance_commands() {
    local commands; commands=()
    _describe -t commands 'stellar tx new claim-claimable-balance commands' commands "$@"
}
(( $+functions[_stellar__tx__new__clawback_commands] )) ||
_stellar__tx__new__clawback_commands() {
    local commands; commands=()
    _describe -t commands 'stellar tx new clawback commands' commands "$@"
}
(( $+functions[_stellar__tx__new__clawback-claimable-balance_commands] )) ||
_stellar__tx__new__clawback-claimable-balance_commands() {
    local commands; commands=()
    _describe -t commands 'stellar tx new clawback-claimable-balance commands' commands "$@"
}
(( $+functions[_stellar__tx__new__create-account_commands] )) ||
_stellar__tx__new__create-account_commands() {
    local commands; commands=()
    _describe -t commands 'stellar tx new create-account commands' commands "$@"
}
(( $+functions[_stellar__tx__new__create-claimable-balance_commands] )) ||
_stellar__tx__new__create-claimable-balance_commands() {
    local commands; commands=()
    _describe -t commands 'stellar tx new create-claimable-balance commands' commands "$@"
}
(( $+functions[_stellar__tx__new__create-passive-sell-offer_commands] )) ||
_stellar__tx__new__create-passive-sell-offer_commands() {
    local commands; commands=()
    _describe -t commands 'stellar tx new create-passive-sell-offer commands' commands "$@"
}
(( $+functions[_stellar__tx__new__end-sponsoring-future-reserves_commands] )) ||
_stellar__tx__new__end-sponsoring-future-reserves_commands() {
    local commands; commands=()
    _describe -t commands 'stellar tx new end-sponsoring-future-reserves commands' commands "$@"
}
(( $+functions[_stellar__tx__new__liquidity-pool-deposit_commands] )) ||
_stellar__tx__new__liquidity-pool-deposit_commands() {
    local commands; commands=()
    _describe -t commands 'stellar tx new liquidity-pool-deposit commands' commands "$@"
}
(( $+functions[_stellar__tx__new__liquidity-pool-withdraw_commands] )) ||
_stellar__tx__new__liquidity-pool-withdraw_commands() {
    local commands; commands=()
    _describe -t commands 'stellar tx new liquidity-pool-withdraw commands' commands "$@"
}
(( $+functions[_stellar__tx__new__manage-buy-offer_commands] )) ||
_stellar__tx__new__manage-buy-offer_commands() {
    local commands; commands=()
    _describe -t commands 'stellar tx new manage-buy-offer commands' commands "$@"
}
(( $+functions[_stellar__tx__new__manage-data_commands] )) ||
_stellar__tx__new__manage-data_commands() {
    local commands; commands=()
    _describe -t commands 'stellar tx new manage-data commands' commands "$@"
}
(( $+functions[_stellar__tx__new__manage-sell-offer_commands] )) ||
_stellar__tx__new__manage-sell-offer_commands() {
    local commands; commands=()
    _describe -t commands 'stellar tx new manage-sell-offer commands' commands "$@"
}
(( $+functions[_stellar__tx__new__path-payment-strict-receive_commands] )) ||
_stellar__tx__new__path-payment-strict-receive_commands() {
    local commands; commands=()
    _describe -t commands 'stellar tx new path-payment-strict-receive commands' commands "$@"
}
(( $+functions[_stellar__tx__new__path-payment-strict-send_commands] )) ||
_stellar__tx__new__path-payment-strict-send_commands() {
    local commands; commands=()
    _describe -t commands 'stellar tx new path-payment-strict-send commands' commands "$@"
}
(( $+functions[_stellar__tx__new__payment_commands] )) ||
_stellar__tx__new__payment_commands() {
    local commands; commands=()
    _describe -t commands 'stellar tx new payment commands' commands "$@"
}
(( $+functions[_stellar__tx__new__revoke-sponsorship_commands] )) ||
_stellar__tx__new__revoke-sponsorship_commands() {
    local commands; commands=()
    _describe -t commands 'stellar tx new revoke-sponsorship commands' commands "$@"
}
(( $+functions[_stellar__tx__new__set-options_commands] )) ||
_stellar__tx__new__set-options_commands() {
    local commands; commands=()
    _describe -t commands 'stellar tx new set-options commands' commands "$@"
}
(( $+functions[_stellar__tx__new__set-trustline-flags_commands] )) ||
_stellar__tx__new__set-trustline-flags_commands() {
    local commands; commands=()
    _describe -t commands 'stellar tx new set-trustline-flags commands' commands "$@"
}
(( $+functions[_stellar__tx__operation_commands] )) ||
_stellar__tx__operation_commands() {
    local commands; commands=(
'add:Add Operation to a transaction' \
    )
    _describe -t commands 'stellar tx operation commands' commands "$@"
}
(( $+functions[_stellar__tx__operation__add_commands] )) ||
_stellar__tx__operation__add_commands() {
    local commands; commands=(
'account-merge:Transfer XLM balance to another account and remove source account' \
'begin-sponsoring-future-reserves:Begin sponsoring future reserves for another account' \
'bump-sequence:Bump sequence number to invalidate older transactions' \
'change-trust:Create, update, or delete a trustline' \
'claim-claimable-balance:Claim a claimable balance by its balance ID' \
'clawback:Clawback an asset from an account' \
'clawback-claimable-balance:Clawback a claimable balance by its balance ID' \
'create-account:Create and fund a new account' \
'create-claimable-balance:Create a claimable balance that can be claimed by specified accounts' \
'create-passive-sell-offer:Create a passive sell offer on the Stellar DEX' \
'end-sponsoring-future-reserves:End sponsoring future reserves' \
'liquidity-pool-deposit:Deposit assets into a liquidity pool' \
'liquidity-pool-withdraw:Withdraw assets from a liquidity pool' \
'manage-buy-offer:Create, update, or delete a buy offer' \
'manage-data:Set, modify, or delete account data entries' \
'manage-sell-offer:Create, update, or delete a sell offer' \
'path-payment-strict-receive:Send a payment with a different asset using path finding, specifying the receive amount' \
'path-payment-strict-send:Send a payment with a different asset using path finding, specifying the send amount' \
'payment:Send asset to destination account' \
'revoke-sponsorship:Revoke sponsorship of a ledger entry or signer' \
'set-options:Set account options like flags, signers, and home domain' \
'set-trustline-flags:Configure authorization and trustline flags for an asset' \
    )
    _describe -t commands 'stellar tx operation add commands' commands "$@"
}
(( $+functions[_stellar__tx__operation__add__account-merge_commands] )) ||
_stellar__tx__operation__add__account-merge_commands() {
    local commands; commands=()
    _describe -t commands 'stellar tx operation add account-merge commands' commands "$@"
}
(( $+functions[_stellar__tx__operation__add__begin-sponsoring-future-reserves_commands] )) ||
_stellar__tx__operation__add__begin-sponsoring-future-reserves_commands() {
    local commands; commands=()
    _describe -t commands 'stellar tx operation add begin-sponsoring-future-reserves commands' commands "$@"
}
(( $+functions[_stellar__tx__operation__add__bump-sequence_commands] )) ||
_stellar__tx__operation__add__bump-sequence_commands() {
    local commands; commands=()
    _describe -t commands 'stellar tx operation add bump-sequence commands' commands "$@"
}
(( $+functions[_stellar__tx__operation__add__change-trust_commands] )) ||
_stellar__tx__operation__add__change-trust_commands() {
    local commands; commands=()
    _describe -t commands 'stellar tx operation add change-trust commands' commands "$@"
}
(( $+functions[_stellar__tx__operation__add__claim-claimable-balance_commands] )) ||
_stellar__tx__operation__add__claim-claimable-balance_commands() {
    local commands; commands=()
    _describe -t commands 'stellar tx operation add claim-claimable-balance commands' commands "$@"
}
(( $+functions[_stellar__tx__operation__add__clawback_commands] )) ||
_stellar__tx__operation__add__clawback_commands() {
    local commands; commands=()
    _describe -t commands 'stellar tx operation add clawback commands' commands "$@"
}
(( $+functions[_stellar__tx__operation__add__clawback-claimable-balance_commands] )) ||
_stellar__tx__operation__add__clawback-claimable-balance_commands() {
    local commands; commands=()
    _describe -t commands 'stellar tx operation add clawback-claimable-balance commands' commands "$@"
}
(( $+functions[_stellar__tx__operation__add__create-account_commands] )) ||
_stellar__tx__operation__add__create-account_commands() {
    local commands; commands=()
    _describe -t commands 'stellar tx operation add create-account commands' commands "$@"
}
(( $+functions[_stellar__tx__operation__add__create-claimable-balance_commands] )) ||
_stellar__tx__operation__add__create-claimable-balance_commands() {
    local commands; commands=()
    _describe -t commands 'stellar tx operation add create-claimable-balance commands' commands "$@"
}
(( $+functions[_stellar__tx__operation__add__create-passive-sell-offer_commands] )) ||
_stellar__tx__operation__add__create-passive-sell-offer_commands() {
    local commands; commands=()
    _describe -t commands 'stellar tx operation add create-passive-sell-offer commands' commands "$@"
}
(( $+functions[_stellar__tx__operation__add__end-sponsoring-future-reserves_commands] )) ||
_stellar__tx__operation__add__end-sponsoring-future-reserves_commands() {
    local commands; commands=()
    _describe -t commands 'stellar tx operation add end-sponsoring-future-reserves commands' commands "$@"
}
(( $+functions[_stellar__tx__operation__add__liquidity-pool-deposit_commands] )) ||
_stellar__tx__operation__add__liquidity-pool-deposit_commands() {
    local commands; commands=()
    _describe -t commands 'stellar tx operation add liquidity-pool-deposit commands' commands "$@"
}
(( $+functions[_stellar__tx__operation__add__liquidity-pool-withdraw_commands] )) ||
_stellar__tx__operation__add__liquidity-pool-withdraw_commands() {
    local commands; commands=()
    _describe -t commands 'stellar tx operation add liquidity-pool-withdraw commands' commands "$@"
}
(( $+functions[_stellar__tx__operation__add__manage-buy-offer_commands] )) ||
_stellar__tx__operation__add__manage-buy-offer_commands() {
    local commands; commands=()
    _describe -t commands 'stellar tx operation add manage-buy-offer commands' commands "$@"
}
(( $+functions[_stellar__tx__operation__add__manage-data_commands] )) ||
_stellar__tx__operation__add__manage-data_commands() {
    local commands; commands=()
    _describe -t commands 'stellar tx operation add manage-data commands' commands "$@"
}
(( $+functions[_stellar__tx__operation__add__manage-sell-offer_commands] )) ||
_stellar__tx__operation__add__manage-sell-offer_commands() {
    local commands; commands=()
    _describe -t commands 'stellar tx operation add manage-sell-offer commands' commands "$@"
}
(( $+functions[_stellar__tx__operation__add__path-payment-strict-receive_commands] )) ||
_stellar__tx__operation__add__path-payment-strict-receive_commands() {
    local commands; commands=()
    _describe -t commands 'stellar tx operation add path-payment-strict-receive commands' commands "$@"
}
(( $+functions[_stellar__tx__operation__add__path-payment-strict-send_commands] )) ||
_stellar__tx__operation__add__path-payment-strict-send_commands() {
    local commands; commands=()
    _describe -t commands 'stellar tx operation add path-payment-strict-send commands' commands "$@"
}
(( $+functions[_stellar__tx__operation__add__payment_commands] )) ||
_stellar__tx__operation__add__payment_commands() {
    local commands; commands=()
    _describe -t commands 'stellar tx operation add payment commands' commands "$@"
}
(( $+functions[_stellar__tx__operation__add__revoke-sponsorship_commands] )) ||
_stellar__tx__operation__add__revoke-sponsorship_commands() {
    local commands; commands=()
    _describe -t commands 'stellar tx operation add revoke-sponsorship commands' commands "$@"
}
(( $+functions[_stellar__tx__operation__add__set-options_commands] )) ||
_stellar__tx__operation__add__set-options_commands() {
    local commands; commands=()
    _describe -t commands 'stellar tx operation add set-options commands' commands "$@"
}
(( $+functions[_stellar__tx__operation__add__set-trustline-flags_commands] )) ||
_stellar__tx__operation__add__set-trustline-flags_commands() {
    local commands; commands=()
    _describe -t commands 'stellar tx operation add set-trustline-flags commands' commands "$@"
}
(( $+functions[_stellar__tx__send_commands] )) ||
_stellar__tx__send_commands() {
    local commands; commands=()
    _describe -t commands 'stellar tx send commands' commands "$@"
}
(( $+functions[_stellar__tx__sign_commands] )) ||
_stellar__tx__sign_commands() {
    local commands; commands=()
    _describe -t commands 'stellar tx sign commands' commands "$@"
}
(( $+functions[_stellar__tx__simulate_commands] )) ||
_stellar__tx__simulate_commands() {
    local commands; commands=()
    _describe -t commands 'stellar tx simulate commands' commands "$@"
}
(( $+functions[_stellar__tx__update_commands] )) ||
_stellar__tx__update_commands() {
    local commands; commands=(
'sequence-number:Edit the sequence number on a transaction' \
'seq-num:Edit the sequence number on a transaction' \
    )
    _describe -t commands 'stellar tx update commands' commands "$@"
}
(( $+functions[_stellar__tx__update__sequence-number_commands] )) ||
_stellar__tx__update__sequence-number_commands() {
    local commands; commands=(
'next:Fetch the source account'\''s seq-num and increment for the given tx' \
    )
    _describe -t commands 'stellar tx update sequence-number commands' commands "$@"
}
(( $+functions[_stellar__tx__update__sequence-number__next_commands] )) ||
_stellar__tx__update__sequence-number__next_commands() {
    local commands; commands=()
    _describe -t commands 'stellar tx update sequence-number next commands' commands "$@"
}
(( $+functions[_stellar__version_commands] )) ||
_stellar__version_commands() {
    local commands; commands=()
    _describe -t commands 'stellar version commands' commands "$@"
}
(( $+functions[_stellar__xdr_commands] )) ||
_stellar__xdr_commands() {
    local commands; commands=(
'types:View information about types' \
'guess:Guess the XDR type' \
'decode:Decode XDR' \
'encode:Encode XDR' \
'compare:Compare two XDR values with each other' \
'generate:Generate XDR values' \
'version:Print version information' \
    )
    _describe -t commands 'stellar xdr commands' commands "$@"
}
(( $+functions[_stellar__xdr__compare_commands] )) ||
_stellar__xdr__compare_commands() {
    local commands; commands=()
    _describe -t commands 'stellar xdr compare commands' commands "$@"
}
(( $+functions[_stellar__xdr__decode_commands] )) ||
_stellar__xdr__decode_commands() {
    local commands; commands=()
    _describe -t commands 'stellar xdr decode commands' commands "$@"
}
(( $+functions[_stellar__xdr__encode_commands] )) ||
_stellar__xdr__encode_commands() {
    local commands; commands=()
    _describe -t commands 'stellar xdr encode commands' commands "$@"
}
(( $+functions[_stellar__xdr__generate_commands] )) ||
_stellar__xdr__generate_commands() {
    local commands; commands=(
'default:Generate default XDR values' \
'arbitrary:Generate arbitrary XDR values' \
    )
    _describe -t commands 'stellar xdr generate commands' commands "$@"
}
(( $+functions[_stellar__xdr__generate__arbitrary_commands] )) ||
_stellar__xdr__generate__arbitrary_commands() {
    local commands; commands=()
    _describe -t commands 'stellar xdr generate arbitrary commands' commands "$@"
}
(( $+functions[_stellar__xdr__generate__default_commands] )) ||
_stellar__xdr__generate__default_commands() {
    local commands; commands=()
    _describe -t commands 'stellar xdr generate default commands' commands "$@"
}
(( $+functions[_stellar__xdr__guess_commands] )) ||
_stellar__xdr__guess_commands() {
    local commands; commands=()
    _describe -t commands 'stellar xdr guess commands' commands "$@"
}
(( $+functions[_stellar__xdr__types_commands] )) ||
_stellar__xdr__types_commands() {
    local commands; commands=(
'list:' \
'schema:' \
'schema-files:Generate JSON schema files for the XDR types, writing a file for each type to the out directory' \
    )
    _describe -t commands 'stellar xdr types commands' commands "$@"
}
(( $+functions[_stellar__xdr__types__list_commands] )) ||
_stellar__xdr__types__list_commands() {
    local commands; commands=()
    _describe -t commands 'stellar xdr types list commands' commands "$@"
}
(( $+functions[_stellar__xdr__types__schema_commands] )) ||
_stellar__xdr__types__schema_commands() {
    local commands; commands=()
    _describe -t commands 'stellar xdr types schema commands' commands "$@"
}
(( $+functions[_stellar__xdr__types__schema-files_commands] )) ||
_stellar__xdr__types__schema-files_commands() {
    local commands; commands=()
    _describe -t commands 'stellar xdr types schema-files commands' commands "$@"
}
(( $+functions[_stellar__xdr__version_commands] )) ||
_stellar__xdr__version_commands() {
    local commands; commands=()
    _describe -t commands 'stellar xdr version commands' commands "$@"
}

if [ "$funcstack[1]" = "_stellar" ]; then
    _stellar "$@"
else
    compdef _stellar stellar
fi
