WIP
This commit is contained in:
parent
fa68ce464a
commit
95fec2a7e9
|
@ -9,7 +9,7 @@
|
|||
(fn [{:keys [db]}]
|
||||
(let [address (-> db :wallet :current-viewing-account-address)
|
||||
chain-ids (chain/chain-ids db)
|
||||
request-id 0
|
||||
request-id 1
|
||||
filters {:period {:startTimestamp 0
|
||||
:endTimestamp 0}
|
||||
:types []
|
||||
|
@ -20,7 +20,7 @@
|
|||
:filterOutAssets false
|
||||
:filterOutCollectibles false}
|
||||
offset 0
|
||||
limit 35
|
||||
limit 50
|
||||
request-params [request-id [address] chain-ids filters offset limit]]
|
||||
{:fx [[:json-rpc/call
|
||||
[{;; This method is deprecated and will be replaced by
|
||||
|
@ -37,6 +37,7 @@
|
|||
(rf/reg-event-fx
|
||||
:wallet/activity-filtering-for-current-account-done
|
||||
(fn [{:keys [db]} [{:keys [message]}]]
|
||||
(def --x message)
|
||||
(let [address (-> db :wallet :current-viewing-account-address)
|
||||
activities (->> message
|
||||
(transforms/json->clj)
|
||||
|
|
|
@ -60,7 +60,7 @@
|
|||
[{:keys [transaction] :as activity}]
|
||||
(case transaction
|
||||
(:send :receive) [send-and-receive-activity activity]
|
||||
;:mint [mint-activity activity]
|
||||
:mint [mint-activity activity]
|
||||
nil))
|
||||
|
||||
(defn view
|
||||
|
|
|
@ -71,7 +71,7 @@
|
|||
constants/wallet-activity-type-receive
|
||||
(process-receive-activity data activity chain-id->network-name)
|
||||
|
||||
#_#_constants/wallet-activity-type-mint
|
||||
constants/wallet-activity-type-mint
|
||||
(process-mint-activity data activity chain-id->network-name)
|
||||
|
||||
nil)))
|
||||
|
|
Loading…
Reference in New Issue