Hardhat should provide useful command line utilities for tasks like computing a hash or fetching a transaction. ### Abi - [ ] abi sig - [ ] abi sig-event - [ ] `abi encode-args` and `abi encode-type` - [ ] `abi encode-event` - [ ] `abi encode-calldata` - [ ] `abi decode-args` and `abi decode-type` - [ ] `abi decode-calldata` - [ ] `abi decode-event` - [ ] `abi decode-error` - [ ] `abi decode-value string <arg>` - [ ] `abi encode-type int256 <value>` - [ ] `abi encode-type uint256 <value>` ## Contract - [ ] `contract compute` - [ ] `contract compute-create2` ## Constant - [x] `constant zero-address` - [x] https://github.com/NomicFoundation/hardhat/pull/8567 - [x] https://github.com/NomicFoundation/hardhat/pull/8571 ## Conversion - [x] https://github.com/NomicFoundation/hardhat/pull/8566 - [ ] `convert to-hex` - [ ] `convert from-hex` - [ ] `convert to-wei` - [ ] `convert from-wei` - [ ] `convert from-eth` - [ ] `convert format-units` - [ ] `convert parse-units` - [ ] `convert to-utf8` - [ ] `convert from-utf8` - [ ] `convert to-rlp` - [ ] `convert from-rlp` - [ ] `convert pad --right` - [ ] `convert format-bytes32-string` - [ ] `convert parse-bytes32-string` - [ ] `convert parse-bytes32-address` - [ ] `convert concat-hex` - [ ] `convert pad` - [ ] `convert shl` - [ ] `convert shr` ## ERC20 - [ ] erc20 balance - [ ] erc20 allowance - [ ] erc20 name - [ ] erc20 symbol - [ ] erc20 decimals - [ ] erc20 total-supply ## fetch - [ ] fetch base-fee - [ ] fetch chain - [ ] fetch chain-id - [ ] fetch client - [ ] fetch gas-price - [ ] fetch logs - [ ] fetch block - [ ] fetch block-number - [ ] fetch timestamp - [ ] fetch balance - [ ] fetch nonce - [ ] fetch tx - [ ] fetch receipt - [ ] fetch code - [ ] fetch codehash - [ ] fetch codesize - [ ] fetch storage - [ ] fetch storage-root - [ ] fetch proof ## hash - [ ] hash keccak - [ ] hash message ## tx - [ ] tx call - [ ] tx estimate - [ ] tx publish - [ ] tx decode
Hardhat should provide useful command line utilities for tasks like computing a hash or fetching a transaction.
Abi
abi encode-argsandabi encode-typeabi encode-eventabi encode-calldataabi decode-argsandabi decode-typeabi decode-calldataabi decode-eventabi decode-errorabi decode-value string <arg>abi encode-type int256 <value>abi encode-type uint256 <value>Contract
contract computecontract compute-create2Constant
constant zero-addressConversion
convert to-hexconvert from-hexconvert to-weiconvert from-weiconvert from-ethconvert format-unitsconvert parse-unitsconvert to-utf8convert from-utf8convert to-rlpconvert from-rlpconvert pad --rightconvert format-bytes32-stringconvert parse-bytes32-stringconvert parse-bytes32-addressconvert concat-hexconvert padconvert shlconvert shrERC20
fetch
hash
tx