diff --git a/src/clj/commiteth/eth/erc20.clj b/src/clj/commiteth/eth/erc20.clj new file mode 100644 index 0000000..fd0c8b5 --- /dev/null +++ b/src/clj/commiteth/eth/erc20.clj @@ -0,0 +1,11 @@ +(ns commiteth.eth.erc20 + (:require [commiteth.eth.core :as eth] + [clojure.tools.logging :as log])) + +(defn balance-of + [token of] + (log/debug "erc20.balance-of(token, of)" token of) + (eth/call token + "0x70a08231" + of)) + \ No newline at end of file