25 lines
867 B
Plaintext
Raw Normal View History

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])
(-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])
(-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]))
2017-09-05 17:14:45 +03:00