moved wallet transactions ns
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
This commit is contained in:
parent
d38f74fdfd
commit
a0e7dc65c4
|
@ -20,7 +20,7 @@
|
|||
[status-im.utils.money :as money]
|
||||
[status-im.ui.screens.wallet.db :as wallet.db]
|
||||
[status-im.ui.screens.wallet.choose-recipient.events :as choose-recipient.events]
|
||||
[status-im.wallet.transactions :as wallet.transactions]
|
||||
[status-im.models.transactions :as wallet.transactions]
|
||||
[status-im.ui.screens.navigation :as navigation]))
|
||||
|
||||
;; common `send/request` functionality
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
[status-im.chat.models.message :as message-model]
|
||||
[status-im.utils.handlers :as handlers]
|
||||
[status-im.utils.handlers-macro :as handlers-macro]
|
||||
[status-im.wallet.transactions :as wallet.transactions]))
|
||||
[status-im.models.transactions :as wallet.transactions]))
|
||||
|
||||
;;;; Handlers
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
[status-im.utils.gfycat.core :as gfycat]
|
||||
[status-im.i18n :as i18n]
|
||||
[status-im.constants :as const]
|
||||
[status-im.wallet.transactions :as transactions]))
|
||||
[status-im.models.transactions :as transactions]))
|
||||
|
||||
(reg-sub :get-chats :chats)
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
(ns status-im.wallet.transactions
|
||||
(ns status-im.models.transactions
|
||||
(:require [clojure.set :as set]
|
||||
[status-im.utils.datetime :as time]
|
||||
[status-im.utils.ethereum.tokens :as tokens]
|
|
@ -15,7 +15,7 @@
|
|||
[status-im.constants :as constants]
|
||||
[status-im.ui.screens.navigation :as navigation]
|
||||
[status-im.utils.money :as money]
|
||||
[status-im.wallet.transactions :as wallet.transactions]))
|
||||
[status-im.models.transactions :as wallet.transactions]))
|
||||
|
||||
(defn get-balance [{:keys [web3 account-id on-success on-error]}]
|
||||
(if (and web3 account-id)
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
[status-im.chat.commands.sending :as commands-sending]
|
||||
[status-im.constants :as constants]
|
||||
[status-im.ui.screens.navigation :as navigation]
|
||||
[status-im.wallet.transactions :as wallet.transactions]))
|
||||
[status-im.models.transactions :as wallet.transactions]))
|
||||
|
||||
;;;; FX
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
(ns status-im.test.wallet.transactions
|
||||
(:require [cljs.test :refer-macros [deftest is testing]]
|
||||
[status-im.utils.datetime :as time]
|
||||
[status-im.wallet.transactions :as wallet.transactions]))
|
||||
[status-im.models.transactions :as wallet.transactions]))
|
||||
|
||||
(deftest test-store-chat-transaction-hash
|
||||
(is (= (wallet.transactions/store-chat-transaction-hash "0x318f566edd98eb29965067d3394c555050bf9f8e20183792c7f1a6bbc1bb34db"
|
||||
|
|
Loading…
Reference in New Issue