Skip to content

Commit

Permalink
Update src/seth/README.md
Browse files Browse the repository at this point in the history
Co-authored-by: dxo  <[email protected]>
  • Loading branch information
henry-hz and d-xo authored Mar 31, 2022
1 parent 239bb9e commit f42b40b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/seth/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ governance token using the ERC20 ABI:
$ seth call $MKR_TOKEN "totalSupply()(uint)"
995238778286468792512963

If you want to send a string as an argument, remember to put the quotes.
If you want to send a string as an argument, you must surround the string in both single and double quotes.
$ TOKEN=0x9f8F72aA9304c8B593d555F12eF6589cC3A579A2
$ seth call $TOKEN "getAddress(string)(address)" '"my_string"'
0x7Bb0b08587b8a6B8945e09F1Baca426558B0f06a
Expand Down

0 comments on commit f42b40b

Please sign in to comment.