BaseSignerWalletAdapter
@demox-labs/aleo-wallet-adapter-base / Exports / BaseSignerWalletAdapter
Class: BaseSignerWalletAdapter<Name>
Minimal EventEmitter
interface that is molded against the Node.js EventEmitter
interface.
Type parameters
Name | Type |
---|---|
| extends |
Hierarchy
Implements
SignerWalletAdapter
<Name
>
Table of contents
Constructors
Properties
Accessors
Methods
Constructors
constructor
• new BaseSignerWalletAdapter<Name
>()
Type parameters
Name | Type |
---|---|
| extends |
Inherited from
Properties
connecting
• Abstract
connecting: boolean
Implementation of
SignerWalletAdapter.connecting
Inherited from
Defined in
icon
• Abstract
icon: string
Implementation of
SignerWalletAdapter.icon
Inherited from
Defined in
name
• Abstract
name: WalletName
<Name
>
Implementation of
SignerWalletAdapter.name
Inherited from
Defined in
publicKey
• Abstract
publicKey: string
Implementation of
SignerWalletAdapter.publicKey
Inherited from
Defined in
readyState
• Abstract
readyState: WalletReadyState
Implementation of
SignerWalletAdapter.readyState
Inherited from
Defined in
supportedTransactionVersions
• Abstract
supportedTransactionVersions: ReadonlySet
<any
>
Implementation of
SignerWalletAdapter.supportedTransactionVersions
Inherited from
BaseWalletAdapter.supportedTransactionVersions
Defined in
url
• Abstract
url: string
Implementation of
SignerWalletAdapter.url
Inherited from
Defined in
prefixed
▪ Static
prefixed: string
| boolean
Inherited from
Defined in
node_modules/eventemitter3/index.d.ts:9
Accessors
connected
• get
connected(): boolean
Returns
boolean
Implementation of
SignerWalletAdapter.connected
Inherited from
BaseWalletAdapter.connected
Defined in
Methods
addListener
▸ addListener<T
>(event
, fn
, context?
): BaseSignerWalletAdapter
<Name
>
Type parameters
Name | Type |
---|---|
| extends keyof |
Parameters
Name | Type |
---|---|
|
|
| (... |
|
|
Returns
BaseSignerWalletAdapter
<Name
>
Implementation of
SignerWalletAdapter.addListener
Inherited from
Defined in
node_modules/eventemitter3/index.d.ts:45
connect
▸ Abstract
connect(decryptPermission
, network
, programs?
): Promise
<void
>
Parameters
Name | Type |
---|---|
| |
| |
|
|
Returns
Promise
<void
>
Implementation of
SignerWalletAdapter.connect
Inherited from
Defined in
disconnect
▸ Abstract
disconnect(): Promise
<void
>
Returns
Promise
<void
>
Implementation of
SignerWalletAdapter.disconnect
Inherited from
Defined in
emit
▸ emit<T
>(event
, ...args
): boolean
Calls each of the listeners registered for a given event.
Type parameters
Name | Type |
---|---|
| extends keyof |
Parameters
Name | Type |
---|---|
|
|
|
|
Returns
boolean
Implementation of
SignerWalletAdapter.emit
Inherited from
Defined in
node_modules/eventemitter3/index.d.ts:32
eventNames
▸ eventNames(): keyof WalletAdapterEvents
[]
Return an array listing the events for which the emitter has registered listeners.
Returns
keyof WalletAdapterEvents
[]
Implementation of
SignerWalletAdapter.eventNames
Inherited from
Defined in
node_modules/eventemitter3/index.d.ts:15
listenerCount
▸ listenerCount(event
): number
Return the number of listeners listening to a given event.
Parameters
Name | Type |
---|---|
| keyof |
Returns
number
Implementation of
SignerWalletAdapter.listenerCount
Inherited from
BaseWalletAdapter.listenerCount
Defined in
node_modules/eventemitter3/index.d.ts:27
listeners
▸ listeners<T
>(event
): (...args
: ArgumentMap
<WalletAdapterEvents
>[Extract
<T
, keyof WalletAdapterEvents
>]) => void
[]
Return the listeners registered for a given event.
Type parameters
Name | Type |
---|---|
| extends keyof |
Parameters
Name | Type |
---|---|
|
|
Returns
(...args
: ArgumentMap
<WalletAdapterEvents
>[Extract
<T
, keyof WalletAdapterEvents
>]) => void
[]
Implementation of
SignerWalletAdapter.listeners
Inherited from
Defined in
node_modules/eventemitter3/index.d.ts:20
off
▸ off<T
>(event
, fn?
, context?
, once?
): BaseSignerWalletAdapter
<Name
>
Type parameters
Name | Type |
---|---|
| extends keyof |
Parameters
Name | Type |
---|---|
|
|
| (... |
|
|
|
|
Returns
BaseSignerWalletAdapter
<Name
>
Implementation of
SignerWalletAdapter.off
Inherited from
Defined in
node_modules/eventemitter3/index.d.ts:69
on
▸ on<T
>(event
, fn
, context?
): BaseSignerWalletAdapter
<Name
>
Add a listener for a given event.
Type parameters
Name | Type |
---|---|
| extends keyof |
Parameters
Name | Type |
---|---|
|
|
| (... |
|
|
Returns
BaseSignerWalletAdapter
<Name
>
Implementation of
SignerWalletAdapter.on
Inherited from
Defined in
node_modules/eventemitter3/index.d.ts:40
once
▸ once<T
>(event
, fn
, context?
): BaseSignerWalletAdapter
<Name
>
Add a one-time listener for a given event.
Type parameters
Name | Type |
---|---|
| extends keyof |
Parameters
Name | Type |
---|---|
|
|
| (... |
|
|
Returns
BaseSignerWalletAdapter
<Name
>
Implementation of
SignerWalletAdapter.once
Inherited from
Defined in
node_modules/eventemitter3/index.d.ts:54
removeAllListeners
▸ removeAllListeners(event?
): BaseSignerWalletAdapter
<Name
>
Remove all listeners, or those of the specified event.
Parameters
Name | Type |
---|---|
| keyof |
Returns
BaseSignerWalletAdapter
<Name
>
Implementation of
SignerWalletAdapter.removeAllListeners
Inherited from
BaseWalletAdapter.removeAllListeners
Defined in
node_modules/eventemitter3/index.d.ts:79
removeListener
▸ removeListener<T
>(event
, fn?
, context?
, once?
): BaseSignerWalletAdapter
<Name
>
Remove the listeners of a given event.
Type parameters
Name | Type |
---|---|
| extends keyof |
Parameters
Name | Type |
---|---|
|
|
| (... |
|
|
|
|
Returns
BaseSignerWalletAdapter
<Name
>
Implementation of
SignerWalletAdapter.removeListener
Inherited from
BaseWalletAdapter.removeListener
Defined in
node_modules/eventemitter3/index.d.ts:63
Last updated