2017-09-05 17:14:45 +03:00
|
|
|
(ns status-im.native-module.module)
|
|
|
|
|
|
|
|
(defprotocol IReactNativeStatus
|
|
|
|
(-init-jail [this])
|
|
|
|
(-move-to-internal-storage [this callback])
|
2017-08-21 17:49:31 +03:00
|
|
|
(-start-node [this config])
|
|
|
|
(-stop-node [this])
|
2017-09-05 17:14:45 +03:00
|
|
|
(-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])
|
2017-12-04 18:05:15 +03:00
|
|
|
(-call-web3 [this payload callback])
|
2017-09-05 17:14:45 +03:00
|
|
|
(-module-initialized! [this])
|
2017-09-18 16:21:11 +02:00
|
|
|
(-should-move-to-internal-storage? [this callback])
|
2018-01-04 11:50:14 +01:00
|
|
|
(-notify-users [this {:keys [message payload tokens] :as m} callback])
|
2017-12-05 11:18:30 +01:00
|
|
|
(-add-peer [this enode callback])
|
2017-10-05 13:23:25 +02:00
|
|
|
(-close-application [this]))
|
2017-09-05 17:14:45 +03:00
|
|
|
|