Skip to content

Latest commit

 

History

History
108 lines (57 loc) · 2.76 KB

WalletRegistry.md

File metadata and controls

108 lines (57 loc) · 2.76 KB

Interface: WalletRegistry

Interface for communication with the WalletRegistry on-chain contract.

Implemented by

Table of contents

Properties

Methods

Properties

getDkgResultApprovedEvents

getDkgResultApprovedEvents: Function<DkgResultApprovedEvent>

Get emitted DkgResultApprovedEvent events.

See

GetEventsFunction

Defined in

src/lib/contracts/wallet-registry.ts:32


getDkgResultChallengedEvents

getDkgResultChallengedEvents: Function<DkgResultChallengedEvent>

Get emitted DkgResultChallengedEvent events.

See

GetEventsFunction

Defined in

src/lib/contracts/wallet-registry.ts:38


getDkgResultSubmittedEvents

getDkgResultSubmittedEvents: Function<DkgResultSubmittedEvent>

Get emitted DkgResultSubmittedEvent events.

See

GetEventsFunction

Defined in

src/lib/contracts/wallet-registry.ts:26

Methods

getChainIdentifier

getChainIdentifier(): ChainIdentifier

Gets the chain-specific identifier of this contract.

Returns

ChainIdentifier

Defined in

src/lib/contracts/wallet-registry.ts:13


getWalletPublicKey

getWalletPublicKey(walletID): Promise<Hex>

Gets the public key for the given wallet.

Parameters

Name Type Description
walletID Hex ID of the wallet.

Returns

Promise<Hex>

Uncompressed public key without the 04 prefix.

Defined in

src/lib/contracts/wallet-registry.ts:20