Sha256: 931d3c954e0bd3d6194f932a6e6f91c0b636777510a2af07308b88332561272d

Contents?: true

Size: 382 Bytes

Versions: 7

Compression:

Stored size: 382 Bytes

Contents

module Zilliqa
  module Account
    class TransactionFactory
      attr_reader :provider, :signer

      def initialize(provider, signer)
        @provider = provider
        @signer = signer
      end

      def new(tx_params, to_ds = false)
        Transaction.new(tx_params, @provider, Zilliqa::Account::Transaction::TX_STATUSES[:initialized], to_ds)
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
zilliqa-0.1.7 lib/zilliqa/account/transaction_factory.rb
zilliqa-0.1.6 lib/zilliqa/account/transaction_factory.rb
zilliqa-0.1.5 lib/zilliqa/account/transaction_factory.rb
zilliqa-0.1.4 lib/zilliqa/account/transaction_factory.rb
zilliqa-0.1.3 lib/zilliqa/account/transaction_factory.rb
zilliqa-0.1.2 lib/zilliqa/account/transaction_factory.rb
zilliqa-0.1.1 lib/zilliqa/account/transaction_factory.rb