@exodus/application
Version: 0.0.0
Functions
Application
interface
Properties
changeLockTimer
any
changePassphrase
any
create
any
delete
any
emit
any
fire
any
getMnemonic
any
hook
any
import
any
isBackedUp
any
isRestoring
any
load
any
lock
any
restart
any
restartAutoLockTimer
any
setBackedUp
any
start
any
stop
any
unload
any
unlock
any
Methods
addListener
addListener(event: string | symbol, listener: Listener): this
Parameters:
event: string | symbol
listener: Listener
Returns:
thisoff
off(event: string | symbol, listener: Listener): this
Parameters:
event: string | symbol
listener: Listener
Returns:
thison
on(event: string | symbol, listener: Listener): this
Parameters:
event: string | symbol
listener: Listener
Returns:
thisonce
once(event: string | symbol, listener: Listener): this
Parameters:
event: string | symbol
listener: Listener
Returns:
thisremoveListener
removeListener(event: string | symbol, listener: Listener): this
Parameters:
event: string | symbol
listener: Listener
Returns:
thissetMaxListeners
setMaxListeners(n: number): this
Parameters:
n: number
Returns:
thisApplicationApi
interface
Properties
application
any
application
variable
Type
const application: ({ cachePassphrase, passphraseCacheMaxTtl }: ApplicationConfig) => { ... }Signature
__type({ cachePassphrase, passphraseCacheMaxTtl }?: ApplicationConfig): any
Parameters:
{ cachePassphrase, passphraseCacheMaxTtl } (optional): ApplicationConfig
Returns:
anyProperties
definitions
any | any | any | any | any | any | any | any | any | any | any | any[]
id
string
LifecycleHook
variable
Type
Readonly
Application
interface
Methods
addListener
addListener(event: string | symbol, listener: Listener): this
Parameters:
event: string | symbol
listener: Listener
Returns:
thischangeLockTimer
changeLockTimer(__namedParameters: any): Promise
Parameters:
__namedParameters: any
Returns:
PromisechangePassphrase
create
create(opts?: CreateWalletParams): Promise
Parameters:
opts (optional): CreateWalletParams
Returns:
Promisedelete
delete(opts: DeleteApplicationParams): Promise
Parameters:
opts: DeleteApplicationParams
Returns:
Promiseemit
emit(name: string, args: any): boolean
Parameters:
name: string
args: any
Returns:
booleangetMnemonic
getMnemonic(opts: WalletGetMnemonicParams): Promise
Parameters:
opts: WalletGetMnemonicParams
Returns:
Promisehook
Parameters:
hookName: LifecycleHookName
listener: LifecycleHookListener
Returns:
voidimport
import(opts: ImportApplicationParams): Promise
Parameters:
opts: ImportApplicationParams
Returns:
PromiseisBackedUp
isBackedUp(): Promise
Returns:
PromiseisRestoring
isRestoring(): Promise
Returns:
Promiseload
load(): Promise
Returns:
Promiselock
lock(): Promise
Returns:
Promiseoff
off(event: string | symbol, listener: Listener): this
Parameters:
event: string | symbol
listener: Listener
Returns:
thison
on(event: string | symbol, listener: Listener): this
Parameters:
event: string | symbol
listener: Listener
Returns:
thisonce
once(event: string | symbol, listener: Listener): this
Parameters:
event: string | symbol
listener: Listener
Returns:
thisremoveListener
removeListener(event: string | symbol, listener: Listener): this
Parameters:
event: string | symbol
listener: Listener
Returns:
thisrestart
restart(): Promise
Returns:
PromiserestartAutoLockTimer
restartAutoLockTimer(): Promise
Returns:
PromisesetBackedUp
setBackedUp(): Promise
Returns:
PromisesetMaxListeners
setMaxListeners(n: number): this
Parameters:
n: number
Returns:
thisstart
start(__namedParameters: StartApplicationParams): Promise
Parameters:
__namedParameters: StartApplicationParams
Returns:
Promisestop
stop(): Promise
Returns:
Promiseunload
unload(): Promise
Returns:
Promiseunlock
unlock(opts?: UnlockWalletParams): Promise
Parameters:
opts (optional): UnlockWalletParams
Returns:
PromiseApplicationApi
interface
Properties
application
any
LifecycleHook
variable
Type
Readonly
application
function
Signature
application(__namedParameters: ApplicationConfig): any
Parameters:
__namedParameters: ApplicationConfig
