From 122f76cffebb19947fce8d0a5f4c1467662722fe Mon Sep 17 00:00:00 2001 From: Teemu Patja Date: Thu, 24 Aug 2017 18:08:34 +0300 Subject: [PATCH] Remove unused module --- src/clj/commiteth/eth/erc20.clj | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 src/clj/commiteth/eth/erc20.clj diff --git a/src/clj/commiteth/eth/erc20.clj b/src/clj/commiteth/eth/erc20.clj deleted file mode 100644 index f4444c5..0000000 --- a/src/clj/commiteth/eth/erc20.clj +++ /dev/null @@ -1,11 +0,0 @@ -(ns commiteth.eth.erc20 - (:require [commiteth.eth.core :as eth] - [clojure.tools.logging :as log])) - -(defn balance-of - [token-addr owner-addr] - (let [method-id (eth/sig->method-id "balanceOf(address)")] - (log/debug "erc20.balance-of(token-addr, owner-addr)" token-addr owner-addr) - (eth/call token-addr - method-id - owner-addr)))