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

  end

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

  end

  def address_factory do
    %Address{
      address: sequence("hash"),
      histories: %{ sequence("txhash") => %{
        "txid" => sequence("txhash"),
        "balance" => %{
          sequence("assethash") => %{
