Skip to content

Commit

Permalink
Merge pull request #932 from insurdao/master
Browse files Browse the repository at this point in the history
  • Loading branch information
d-xo authored Mar 31, 2022
2 parents c60f9ec + f42b40b commit c9562ac
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/seth/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,13 @@ governance token using the ERC20 ABI:
$ seth call $MKR_TOKEN "totalSupply()(uint)"
995238778286468792512963

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



If the ABI function has parameters, you can supply them as additional
arguments; for example, to check the balance of the MakerDAO fund:

Expand Down

0 comments on commit c9562ac

Please sign in to comment.