slot20

0.0.3 • Public • Published

slot20

Simple tool to find storage slots for ERC20 contracts. Trys both (key, slot), and (slot, key)

Usage

Usage: slot20 balanceOf [options] <token address> <token holder>

Find the slot that is responsible for the balance state of a ERC20 token

Arguments:
  token address         Address of the ERC20 token
  token holder          An address which holds a non-zero amount of the ERC20 token

Options:
  --rpc <url>           Node RPC URL (default: "http://127.0.0.1:8545")
  -l, --limit <number>  Checks until slot number (default: 100)
  -v, --verbose         Verbose output
  -h, --help            display help for command

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.3
    97
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.3
    97
  • 0.0.2
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i slot20

Weekly Downloads

97

Version

0.0.3

License

MIT

Unpacked Size

15.3 kB

Total Files

7

Last publish

Collaborators

  • kendricktan