mirror of
https://github.com/status-im/status-mobile.git
synced 2025-02-11 08:07:07 +00:00
26 lines
902 B
Clojure
26 lines
902 B
Clojure
(ns status-im.native-module.module)
|
|
|
|
(defprotocol IReactNativeStatus
|
|
(-init-jail [this])
|
|
(-move-to-internal-storage [this callback])
|
|
(-start-node [this config])
|
|
(-stop-node [this])
|
|
(-create-account [this password callback])
|
|
(-recover-account [this passphrase password callback])
|
|
(-login [this address password callback])
|
|
(-complete-transactions [this hashes password callback])
|
|
(-discard-transaction [this id])
|
|
(-parse-jail [this chat-id file callback])
|
|
(-call-jail [this params])
|
|
(-call-function! [this params])
|
|
(-set-soft-input-mode [this mode])
|
|
(-clear-web-data [this])
|
|
(-call-web3 [this payload callback])
|
|
(-module-initialized! [this])
|
|
(-should-move-to-internal-storage? [this callback])
|
|
(-notify-users [this {:keys [message payload tokens] :as m} callback])
|
|
(-add-peer [this enode callback])
|
|
(-close-application [this])
|
|
(-connection-change [this data]))
|
|
|