mirror of
https://github.com/status-im/status-mobile.git
synced 2025-01-15 11:14:26 +00:00
2c3eec3c43
Former-commit-id: a6f63a5b5f2ec8fbecd07f975694d2fbb94f1137
14 lines
365 B
Clojure
14 lines
365 B
Clojure
(ns status-im.data-store.accounts
|
|
(:require [status-im.data-store.realm.accounts :as data-store]))
|
|
|
|
(defn get-all []
|
|
(data-store/get-all-as-list))
|
|
|
|
(defn get-by-address [address]
|
|
(data-store/get-by-address address))
|
|
|
|
(defn save [account update?]
|
|
(data-store/save account update?))
|
|
|
|
(defn save-all [accounts update?]
|
|
(data-store/save-all accounts update?)) |