   end
 
   def address_factory do
-    %Addresses.Address{
+    %Address{
       address: sequence("hash"),
-      tx_ids: %{ sequence("txhash") => %{
+      histories: %{ sequence("txhash") => %{
         "txid" => sequence("txhash"),
         "balance" => %{
           sequence("assethash") => %{

  end

  def vout_factory do
    %Transactions.Vout{
      asset: sequence("assethash"),
      address_hash: sequence("hash"),
      n: 0,

  end

  def transaction_factory do
    %Transaction{
      attributes: [%{sequence("attributehash") => sequence("attributeinnerhash")}],
      net_fee: "0",
      scripts: [%{sequence("scripthash") => sequence("scriptinnerhash")}],
