0x-debug 中文文档教程

发布于 5年前 浏览 24 项目主页 更新于 3年前

0x-debug

版本 下载/星期”></a> 
  <a href=License

Usage

$ npm install -g 0x-debug
$ 0x-debug COMMAND
running command...
$ 0x-debug (-v|--version|version)
0x-debug/1.0.2 darwin-x64 node-v11.13.0
$ 0x-debug --help [COMMAND]
USAGE
  $ 0x-debug COMMAND
...

Commands

0x-debug abi_decode [ABIENCODEDDATA]

为已知 ABI 解码 ABI 数据

USAGE
  $ 0x-debug abi_decode [ABIENCODEDDATA]

OPTIONS
  -h, --help                   show CLI help
  -n, --network-id=network-id  Ethereum network id
  -p, --profile=profile        The config profile to use
  --json                       Output as JSON
  --rpc-url=rpc-url            Ethereum Node RPC URL
  --tx

EXAMPLE
  $ 0x-debug abi_decode [abi encoded data]

参见代码:src/commands/abidecode.ts_

0x-debug config [KEY] [VALUE]

存储和检索配置

USAGE
  $ 0x-debug config [KEY] [VALUE]

OPTIONS
  -d, --delete  delete config key

EXAMPLE
  $ 0x-debug config [KEY] [VALUE]

参见代码:src/commands/config.ts

0x-debug explain [TX]

解释以太坊交易

USAGE
  $ 0x-debug explain [TX]

OPTIONS
  -h, --help                   show CLI help
  -n, --network-id=network-id  Ethereum network id
  -p, --profile=profile        The config profile to use
  --json                       Output as JSON
  --rpc-url=rpc-url            Ethereum Node RPC URL

EXAMPLE
  $ 0x-debug explain [tx]

见代码:src/commands/explain.ts

0x-debug help [COMMAND]

显示 0x-debug 的帮助

USAGE
  $ 0x-debug help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

见代码:@oclif/plugin-help

0x-debug mesh:orders

从 Mesh 节点检索订单

USAGE
  $ 0x-debug mesh:orders

OPTIONS
  -h, --help                   show CLI help
  -n, --network-id=network-id  Ethereum network id
  -p, --profile=profile        The config profile to use
  --json                       Output as JSON
  --mesh-url=mesh-url          (required)
  --rpc-url=rpc-url            Ethereum Node RPC URL

EXAMPLE
  $ 0x-debug mesh:orders

< em>查看代码:src/commands/mesh/o rders.ts

0x-debug mesh:stats

打印 Mesh 节点的统计信息

USAGE
  $ 0x-debug mesh:stats

OPTIONS
  -h, --help                   show CLI help
  -n, --network-id=network-id  Ethereum network id
  -p, --profile=profile        The config profile to use
  --json                       Output as JSON
  --mesh-url=mesh-url          (required)
  --rpc-url=rpc-url            Ethereum Node RPC URL

EXAMPLE
  $ 0x-debug mesh:stats

参见代码:src/commands/mesh/stats.ts

0x-debug mesh:subscribe

订阅订单事件的提要

USAGE
  $ 0x-debug mesh:subscribe

OPTIONS
  -h, --help                   show CLI help
  -n, --network-id=network-id  Ethereum network id
  -p, --profile=profile        The config profile to use
  --json                       Output as JSON
  --mesh-url=mesh-url          (required)
  --rpc-url=rpc-url            Ethereum Node RPC URL

EXAMPLE
  $ 0x-debug mesh:subscribe

查看代码:src/commands/mesh/subscribe.ts

0x-debug misc:call [ADDRESS] [CALLDATA]

调用以太坊交易

USAGE
  $ 0x-debug misc:call [ADDRESS] [CALLDATA]

OPTIONS
  -h, --help                   show CLI help
  -n, --network-id=network-id  Ethereum network id
  -p, --profile=profile        The config profile to use
  --blockNumber=blockNumber    block number
  --from=from                  from account
  --gas=gas                    gas amount
  --json                       Output as JSON
  --rpc-url=rpc-url            Ethereum Node RPC URL
  --value=value                [default: 1] Ether value to send

EXAMPLE
  $ 0x-debug misc:call [address] [callData]

见代码:src/commands/misc/call.ts

0x-debug misc:current_block [ADDRESS] [CALLDATA]

获取当前的以太坊区块

USAGE
  $ 0x-debug misc:current_block [ADDRESS] [CALLDATA]

OPTIONS
  -h, --help                   show CLI help
  -n, --network-id=network-id  Ethereum network id
  -p, --profile=profile        The config profile to use
  --json                       Output as JSON
  --rpc-url=rpc-url            Ethereum Node RPC URL

EXAMPLE
  $ 0x-debug misc:current_block

参见代码:src/commands/misc/currentblock.ts_

0x-debug misc:function_registry_check

检查已知的 0x 函数是否已在 Parity Registry 中注册

USAGE
  $ 0x-debug misc:function_registry_check

OPTIONS
  -h, --help                   show CLI help
  -n, --network-id=network-id  Ethereum network id
  -p, --profile=profile        The config profile to use
  --json                       Output as JSON
  --list
  --rpc-url=rpc-url            Ethereum Node RPC URL

EXAMPLE
  $ 0x-debug function_registration_check

参见代码:src/commands/misc/function 注册表check.ts

0x-debug order:create

创建签名订单

USAGE
  $ 0x-debug order:create

OPTIONS
  -h, --help                   show CLI help
  -n, --network-id=network-id  Ethereum network id
  -p, --profile=profile        The config profile to use
  --json                       Output as JSON
  --mnemonic=mnemonic          Mnemonic
  --private-key=private-key    Private Key
  --rpc-url=rpc-url            Ethereum Node RPC URL

EXAMPLE
  $ 0x-debug order:create

参见代码:src/commands/order/create.ts

0x-debug order:hash

散列提供的顺序

USAGE
  $ 0x-debug order:hash

OPTIONS
  -h, --help                   show CLI help
  -n, --network-id=network-id  Ethereum network id
  -o, --order=order            (required) The order in JSON format
  -p, --profile=profile        The config profile to use
  --json                       Output as JSON
  --rpc-url=rpc-url            Ethereum Node RPC URL
  --validate                   Validate the signature of the order

EXAMPLE
  $ 0x-debug order:hash --order [JSON_ORDER]

参见代码:src/commands/order/hash.ts

0x-debug order:info

所提供订单的订单信息

USAGE
  $ 0x-debug order:info

OPTIONS
  -h, --help                   show CLI help
  -n, --network-id=network-id  Ethereum network id
  -o, --order=order            (required) The order in JSON format
  -p, --profile=profile        The config profile to use
  --balances                   Fetch the balances and allowances for the maker address
  --blockNumber=blockNumber    The block number to fetch at
  --json                       Output as JSON
  --rpc-url=rpc-url            Ethereum Node RPC URL

EXAMPLE
  $ 0x-debug order:info --order-hash [ORDER_HASH]

参见代码:src/commands/order/info.ts

0x-debug profile:create

创建配置文件

USAGE
  $ 0x-debug profile:create

OPTIONS
  -h, --help                   show CLI help
  -n, --network-id=network-id  Ethereum network id
  -p, --profile=profile        The config profile to use
  --json                       Output as JSON
  --rpc-url=rpc-url            Ethereum Node RPC URL

EXAMPLE
  $ 0x-debug profile:create

< em>查看代码:src/commands/profile/create.ts

0x-debug staking:epoch:end

结束当前纪元

USAGE
  $ 0x-debug staking:epoch:end

OPTIONS
  -h, --help                   show CLI help
  -n, --network-id=network-id  Ethereum network id
  -p, --profile=profile        The config profile to use
  --json                       Output as JSON
  --mnemonic=mnemonic          Mnemonic
  --private-key=private-key    Private Key
  --rpc-url=rpc-url            Ethereum Node RPC URL

EXAMPLE
  $ 0x-debug staking:epoch:end

查看代码:src/commands/staking/epoch/end.ts

0x-debug staking:epoch:stats

当前 Staking Epoch 的详细信息

USAGE
  $ 0x-debug staking:epoch:stats

OPTIONS
  -h, --help                   show CLI help
  -n, --network-id=network-id  Ethereum network id
  -p, --profile=profile        The config profile to use
  --json                       Output as JSON
  --rpc-url=rpc-url            Ethereum Node RPC URL

EXAMPLE
  $ 0x-debug staking:epoch:stats

参见代码:src/commands/staking/epoch/stats.ts

0x-debug staking:pool:create

创建一个质押池

USAGE
  $ 0x-debug staking:pool:create

OPTIONS
  -h, --help                   show CLI help
  -n, --network-id=network-id  Ethereum network id
  -p, --profile=profile        The config profile to use
  --json                       Output as JSON
  --mnemonic=mnemonic          Mnemonic
  --private-key=private-key    Private Key
  --rpc-url=rpc-url            Ethereum Node RPC URL

EXAMPLE
  $ 0x-debug staking:pool:create

参见代码:src/commands/staking/pool/create.ts

0x-debug staking:pool:decrease_share

减少 Staking 池中的运营商份额

USAGE
  $ 0x-debug staking:pool:decrease_share

OPTIONS
  -h, --help                   show CLI help
  -n, --network-id=network-id  Ethereum network id
  -p, --profile=profile        The config profile to use
  --json                       Output as JSON
  --mnemonic=mnemonic          Mnemonic
  --pool-id=pool-id            (required)
  --private-key=private-key    Private Key
  --rpc-url=rpc-url            Ethereum Node RPC URL

EXAMPLE
  $ 0x-debug staking:pool:decrease_share

参见代码:src/commands/staking/pool/decreaseshare.ts_

0x-debug staking:pool:finalize

完成 Staking 池

USAGE
  $ 0x-debug staking:pool:finalize

OPTIONS
  -h, --help                   show CLI help
  -n, --network-id=network-id  Ethereum network id
  -p, --profile=profile        The config profile to use
  --json                       Output as JSON
  --mnemonic=mnemonic          Mnemonic
  --pool-id=pool-id            (required)
  --private-key=private-key    Private Key
  --rpc-url=rpc-url            Ethereum Node RPC URL

EXAMPLE
  $ 0x-debug staking:pool:finalize

见代码:src/commands/staking/pool/finalize.ts

0x-debug staking:pool:stake

质押一个质押池

USAGE
  $ 0x-debug staking:pool:stake

OPTIONS
  -h, --help                   show CLI help
  -n, --network-id=network-id  Ethereum network id
  -p, --profile=profile        The config profile to use
  --json                       Output as JSON
  --mnemonic=mnemonic          Mnemonic
  --pool-id=pool-id            (required)
  --private-key=private-key    Private Key
  --rpc-url=rpc-url            Ethereum Node RPC URL

EXAMPLE
  $ 0x-debug staking:pool:stake

查看代码:src/commands/staking/pool/stake.ts

0x-debug staking:pool:stats

当前S的详细信息 以 Epoch

USAGE
  $ 0x-debug staking:pool:stats

OPTIONS
  -h, --help                   show CLI help
  -n, --network-id=network-id  Ethereum network id
  -p, --profile=profile        The config profile to use
  --json                       Output as JSON
  --pool-id=pool-id            (required)
  --rpc-url=rpc-url            Ethereum Node RPC URL

EXAMPLE
  $ 0x-debug staking:pool:stats

见代码:src/commands/ staking/pool/stats.ts

0x-debug staking:pool:unstake

解除质押池

USAGE
  $ 0x-debug staking:pool:unstake

OPTIONS
  -h, --help                   show CLI help
  -n, --network-id=network-id  Ethereum network id
  -p, --profile=profile        The config profile to use
  --json                       Output as JSON
  --mnemonic=mnemonic          Mnemonic
  --pool-id=pool-id            (required)
  --private-key=private-key    Private Key
  --rpc-url=rpc-url            Ethereum Node RPC URL

EXAMPLE
  $ 0x-debug staking:pool:unstake

请参阅代码:src/commands/staking/pool/unstake.ts

0x-debug staking:pool:withdraw_rewards

从 Poo 中提取委托人奖励

USAGE
  $ 0x-debug staking:pool:withdraw_rewards

OPTIONS
  -h, --help                   show CLI help
  -n, --network-id=network-id  Ethereum network id
  -p, --profile=profile        The config profile to use
  --json                       Output as JSON
  --mnemonic=mnemonic          Mnemonic
  --pool-id=pool-id            (required)
  --private-key=private-key    Private Key
  --rpc-url=rpc-url            Ethereum Node RPC URL

EXAMPLE
  $ 0x-debug staking:pool:withdraw_rewards

参见代码:src/commands/staking/pool/withdraw a href="https://github.com/dekz/0x-debug/blob/v1.0.2/src/commands/staking/pool/withdraw_rewards.ts">rewards.ts_

0x-debug tokens:enable

启用令牌进行交易

USAGE
  $ 0x-debug tokens:enable

OPTIONS
  -h, --help                   show CLI help
  -n, --network-id=network-id  Ethereum network id
  -p, --profile=profile        The config profile to use
  --json                       Output as JSON
  --mnemonic=mnemonic          Mnemonic
  --private-key=private-key    Private Key
  --rpc-url=rpc-url            Ethereum Node RPC URL
  --token=token                (required)

EXAMPLE
  $ 0x-debug tokens:enable

查看代码:src/commands/tokens/enable。 ts

0x-debug

Version Downloads/week License

Usage

$ npm install -g 0x-debug
$ 0x-debug COMMAND
running command...
$ 0x-debug (-v|--version|version)
0x-debug/1.0.2 darwin-x64 node-v11.13.0
$ 0x-debug --help [COMMAND]
USAGE
  $ 0x-debug COMMAND
...

Commands

0x-debug abi_decode [ABIENCODEDDATA]

Decodes ABI data for known ABI

USAGE
  $ 0x-debug abi_decode [ABIENCODEDDATA]

OPTIONS
  -h, --help                   show CLI help
  -n, --network-id=network-id  Ethereum network id
  -p, --profile=profile        The config profile to use
  --json                       Output as JSON
  --rpc-url=rpc-url            Ethereum Node RPC URL
  --tx

EXAMPLE
  $ 0x-debug abi_decode [abi encoded data]

See code: src/commands/abidecode.ts_

0x-debug config [KEY] [VALUE]

Store and retrieve config

USAGE
  $ 0x-debug config [KEY] [VALUE]

OPTIONS
  -d, --delete  delete config key

EXAMPLE
  $ 0x-debug config [KEY] [VALUE]

See code: src/commands/config.ts

0x-debug explain [TX]

Explain the Ethereum transaction

USAGE
  $ 0x-debug explain [TX]

OPTIONS
  -h, --help                   show CLI help
  -n, --network-id=network-id  Ethereum network id
  -p, --profile=profile        The config profile to use
  --json                       Output as JSON
  --rpc-url=rpc-url            Ethereum Node RPC URL

EXAMPLE
  $ 0x-debug explain [tx]

See code: src/commands/explain.ts

0x-debug help [COMMAND]

display help for 0x-debug

USAGE
  $ 0x-debug help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

0x-debug mesh:orders

Retrieves the orders from a Mesh node

USAGE
  $ 0x-debug mesh:orders

OPTIONS
  -h, --help                   show CLI help
  -n, --network-id=network-id  Ethereum network id
  -p, --profile=profile        The config profile to use
  --json                       Output as JSON
  --mesh-url=mesh-url          (required)
  --rpc-url=rpc-url            Ethereum Node RPC URL

EXAMPLE
  $ 0x-debug mesh:orders

See code: src/commands/mesh/orders.ts

0x-debug mesh:stats

Print the stats of a Mesh node

USAGE
  $ 0x-debug mesh:stats

OPTIONS
  -h, --help                   show CLI help
  -n, --network-id=network-id  Ethereum network id
  -p, --profile=profile        The config profile to use
  --json                       Output as JSON
  --mesh-url=mesh-url          (required)
  --rpc-url=rpc-url            Ethereum Node RPC URL

EXAMPLE
  $ 0x-debug mesh:stats

See code: src/commands/mesh/stats.ts

0x-debug mesh:subscribe

Subscribe to a feed of order events

USAGE
  $ 0x-debug mesh:subscribe

OPTIONS
  -h, --help                   show CLI help
  -n, --network-id=network-id  Ethereum network id
  -p, --profile=profile        The config profile to use
  --json                       Output as JSON
  --mesh-url=mesh-url          (required)
  --rpc-url=rpc-url            Ethereum Node RPC URL

EXAMPLE
  $ 0x-debug mesh:subscribe

See code: src/commands/mesh/subscribe.ts

0x-debug misc:call [ADDRESS] [CALLDATA]

Call the Ethereum transaction

USAGE
  $ 0x-debug misc:call [ADDRESS] [CALLDATA]

OPTIONS
  -h, --help                   show CLI help
  -n, --network-id=network-id  Ethereum network id
  -p, --profile=profile        The config profile to use
  --blockNumber=blockNumber    block number
  --from=from                  from account
  --gas=gas                    gas amount
  --json                       Output as JSON
  --rpc-url=rpc-url            Ethereum Node RPC URL
  --value=value                [default: 1] Ether value to send

EXAMPLE
  $ 0x-debug misc:call [address] [callData]

See code: src/commands/misc/call.ts

0x-debug misc:current_block [ADDRESS] [CALLDATA]

Gets the current ethereum block

USAGE
  $ 0x-debug misc:current_block [ADDRESS] [CALLDATA]

OPTIONS
  -h, --help                   show CLI help
  -n, --network-id=network-id  Ethereum network id
  -p, --profile=profile        The config profile to use
  --json                       Output as JSON
  --rpc-url=rpc-url            Ethereum Node RPC URL

EXAMPLE
  $ 0x-debug misc:current_block

See code: src/commands/misc/currentblock.ts_

0x-debug misc:function_registry_check

Checks if known 0x functions are registered with Parity Registry

USAGE
  $ 0x-debug misc:function_registry_check

OPTIONS
  -h, --help                   show CLI help
  -n, --network-id=network-id  Ethereum network id
  -p, --profile=profile        The config profile to use
  --json                       Output as JSON
  --list
  --rpc-url=rpc-url            Ethereum Node RPC URL

EXAMPLE
  $ 0x-debug function_registration_check

See code: src/commands/misc/functionregistrycheck.ts

0x-debug order:create

Creates a signed order

USAGE
  $ 0x-debug order:create

OPTIONS
  -h, --help                   show CLI help
  -n, --network-id=network-id  Ethereum network id
  -p, --profile=profile        The config profile to use
  --json                       Output as JSON
  --mnemonic=mnemonic          Mnemonic
  --private-key=private-key    Private Key
  --rpc-url=rpc-url            Ethereum Node RPC URL

EXAMPLE
  $ 0x-debug order:create

See code: src/commands/order/create.ts

0x-debug order:hash

Hashes the provided order

USAGE
  $ 0x-debug order:hash

OPTIONS
  -h, --help                   show CLI help
  -n, --network-id=network-id  Ethereum network id
  -o, --order=order            (required) The order in JSON format
  -p, --profile=profile        The config profile to use
  --json                       Output as JSON
  --rpc-url=rpc-url            Ethereum Node RPC URL
  --validate                   Validate the signature of the order

EXAMPLE
  $ 0x-debug order:hash --order [JSON_ORDER]

See code: src/commands/order/hash.ts

0x-debug order:info

Order Info for the provided order

USAGE
  $ 0x-debug order:info

OPTIONS
  -h, --help                   show CLI help
  -n, --network-id=network-id  Ethereum network id
  -o, --order=order            (required) The order in JSON format
  -p, --profile=profile        The config profile to use
  --balances                   Fetch the balances and allowances for the maker address
  --blockNumber=blockNumber    The block number to fetch at
  --json                       Output as JSON
  --rpc-url=rpc-url            Ethereum Node RPC URL

EXAMPLE
  $ 0x-debug order:info --order-hash [ORDER_HASH]

See code: src/commands/order/info.ts

0x-debug profile:create

Creates a profile

USAGE
  $ 0x-debug profile:create

OPTIONS
  -h, --help                   show CLI help
  -n, --network-id=network-id  Ethereum network id
  -p, --profile=profile        The config profile to use
  --json                       Output as JSON
  --rpc-url=rpc-url            Ethereum Node RPC URL

EXAMPLE
  $ 0x-debug profile:create

See code: src/commands/profile/create.ts

0x-debug staking:epoch:end

Ends the current epoch

USAGE
  $ 0x-debug staking:epoch:end

OPTIONS
  -h, --help                   show CLI help
  -n, --network-id=network-id  Ethereum network id
  -p, --profile=profile        The config profile to use
  --json                       Output as JSON
  --mnemonic=mnemonic          Mnemonic
  --private-key=private-key    Private Key
  --rpc-url=rpc-url            Ethereum Node RPC URL

EXAMPLE
  $ 0x-debug staking:epoch:end

See code: src/commands/staking/epoch/end.ts

0x-debug staking:epoch:stats

Details for the current Staking Epoch

USAGE
  $ 0x-debug staking:epoch:stats

OPTIONS
  -h, --help                   show CLI help
  -n, --network-id=network-id  Ethereum network id
  -p, --profile=profile        The config profile to use
  --json                       Output as JSON
  --rpc-url=rpc-url            Ethereum Node RPC URL

EXAMPLE
  $ 0x-debug staking:epoch:stats

See code: src/commands/staking/epoch/stats.ts

0x-debug staking:pool:create

Creates a Staking Pool

USAGE
  $ 0x-debug staking:pool:create

OPTIONS
  -h, --help                   show CLI help
  -n, --network-id=network-id  Ethereum network id
  -p, --profile=profile        The config profile to use
  --json                       Output as JSON
  --mnemonic=mnemonic          Mnemonic
  --private-key=private-key    Private Key
  --rpc-url=rpc-url            Ethereum Node RPC URL

EXAMPLE
  $ 0x-debug staking:pool:create

See code: src/commands/staking/pool/create.ts

0x-debug staking:pool:decrease_share

Decreases the Operator Share in the Staking pool

USAGE
  $ 0x-debug staking:pool:decrease_share

OPTIONS
  -h, --help                   show CLI help
  -n, --network-id=network-id  Ethereum network id
  -p, --profile=profile        The config profile to use
  --json                       Output as JSON
  --mnemonic=mnemonic          Mnemonic
  --pool-id=pool-id            (required)
  --private-key=private-key    Private Key
  --rpc-url=rpc-url            Ethereum Node RPC URL

EXAMPLE
  $ 0x-debug staking:pool:decrease_share

See code: src/commands/staking/pool/decreaseshare.ts_

0x-debug staking:pool:finalize

Finalizes the Staking pool

USAGE
  $ 0x-debug staking:pool:finalize

OPTIONS
  -h, --help                   show CLI help
  -n, --network-id=network-id  Ethereum network id
  -p, --profile=profile        The config profile to use
  --json                       Output as JSON
  --mnemonic=mnemonic          Mnemonic
  --pool-id=pool-id            (required)
  --private-key=private-key    Private Key
  --rpc-url=rpc-url            Ethereum Node RPC URL

EXAMPLE
  $ 0x-debug staking:pool:finalize

See code: src/commands/staking/pool/finalize.ts

0x-debug staking:pool:stake

Stakes a Staking Pool

USAGE
  $ 0x-debug staking:pool:stake

OPTIONS
  -h, --help                   show CLI help
  -n, --network-id=network-id  Ethereum network id
  -p, --profile=profile        The config profile to use
  --json                       Output as JSON
  --mnemonic=mnemonic          Mnemonic
  --pool-id=pool-id            (required)
  --private-key=private-key    Private Key
  --rpc-url=rpc-url            Ethereum Node RPC URL

EXAMPLE
  $ 0x-debug staking:pool:stake

See code: src/commands/staking/pool/stake.ts

0x-debug staking:pool:stats

Details for the current Staking Epoch

USAGE
  $ 0x-debug staking:pool:stats

OPTIONS
  -h, --help                   show CLI help
  -n, --network-id=network-id  Ethereum network id
  -p, --profile=profile        The config profile to use
  --json                       Output as JSON
  --pool-id=pool-id            (required)
  --rpc-url=rpc-url            Ethereum Node RPC URL

EXAMPLE
  $ 0x-debug staking:pool:stats

See code: src/commands/staking/pool/stats.ts

0x-debug staking:pool:unstake

Unstakes a Staking Pool

USAGE
  $ 0x-debug staking:pool:unstake

OPTIONS
  -h, --help                   show CLI help
  -n, --network-id=network-id  Ethereum network id
  -p, --profile=profile        The config profile to use
  --json                       Output as JSON
  --mnemonic=mnemonic          Mnemonic
  --pool-id=pool-id            (required)
  --private-key=private-key    Private Key
  --rpc-url=rpc-url            Ethereum Node RPC URL

EXAMPLE
  $ 0x-debug staking:pool:unstake

See code: src/commands/staking/pool/unstake.ts

0x-debug staking:pool:withdraw_rewards

Withdraws Delegator Rewards from a Poo

USAGE
  $ 0x-debug staking:pool:withdraw_rewards

OPTIONS
  -h, --help                   show CLI help
  -n, --network-id=network-id  Ethereum network id
  -p, --profile=profile        The config profile to use
  --json                       Output as JSON
  --mnemonic=mnemonic          Mnemonic
  --pool-id=pool-id            (required)
  --private-key=private-key    Private Key
  --rpc-url=rpc-url            Ethereum Node RPC URL

EXAMPLE
  $ 0x-debug staking:pool:withdraw_rewards

See code: src/commands/staking/pool/withdrawrewards.ts_

0x-debug tokens:enable

Enables a token for trading

USAGE
  $ 0x-debug tokens:enable

OPTIONS
  -h, --help                   show CLI help
  -n, --network-id=network-id  Ethereum network id
  -p, --profile=profile        The config profile to use
  --json                       Output as JSON
  --mnemonic=mnemonic          Mnemonic
  --private-key=private-key    Private Key
  --rpc-url=rpc-url            Ethereum Node RPC URL
  --token=token                (required)

EXAMPLE
  $ 0x-debug tokens:enable

See code: src/commands/tokens/enable.ts

更多

友情链接

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文