Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@milkyklim
Created May 15, 2020 11:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save milkyklim/51de8bcd694382370abea43895421be6 to your computer and use it in GitHub Desktop.
Save milkyklim/51de8bcd694382370abea43895421be6 to your computer and use it in GitHub Desktop.
Get symbol and decimal for tokens' list
0x5b09a0371c1da44a8e24d36bf5deb1141a84d875
0x5c406d99e04b8494dc253fcc52943ef82bca7d75
0x5c872500c00565505f3624ab435c222e558e9ff8
while read address; do echo $address,$(seth call $address "symbol()(string)"),$(seth call $address "decimals()(uint8)"); done < input.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment