Socket
Book a DemoInstallSign in
Socket

slot20

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

slot20

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

latest
npmnpm
Version
0.0.3
Version published
Weekly downloads
8
14.29%
Maintainers
1
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 03 Jul 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts