From 45ab19529bf7c5618936413bdc0ec4d601b4057a Mon Sep 17 00:00:00 2001 From: hswick Date: Wed, 10 Oct 2018 11:16:53 -0500 Subject: [PATCH] README updates --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3926ec2..b915dd4 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ ```elixir def deps do - [{:exw3, "~> 0.3.0"}] + [{:exw3, "~> 0.4.0"}] end ``` ## Overview @@ -110,7 +110,7 @@ iex(11)> ExW3.Contract.call(:SimpleStorage, :get) ## Address Type If you are familiar with web3.js you may find the way ExW3 handles addresses unintuitive. ExW3's abi encoder interprets the address type as an uint160. If you are using an address as an option to a transaction like `:from` or `:to` this will work as expected. However, if one of your smart contracts is expecting an address type for an input parameter then you will need to do this: -``` +```elixir a = ExW3.to_decimal("0x88838e84a401a1d6162290a1a765507c4a83f5e050658a83992a912f42149ca5") ```