Interface for communication with the WalletRegistry on-chain contract.
• getDkgResultApprovedEvents: Function
<DkgResultApprovedEvent
>
Get emitted DkgResultApprovedEvent events.
See
GetEventsFunction
src/lib/contracts/wallet-registry.ts:32
• getDkgResultChallengedEvents: Function
<DkgResultChallengedEvent
>
Get emitted DkgResultChallengedEvent events.
See
GetEventsFunction
src/lib/contracts/wallet-registry.ts:38
• getDkgResultSubmittedEvents: Function
<DkgResultSubmittedEvent
>
Get emitted DkgResultSubmittedEvent events.
See
GetEventsFunction
src/lib/contracts/wallet-registry.ts:26
▸ getChainIdentifier(): ChainIdentifier
Gets the chain-specific identifier of this contract.
src/lib/contracts/wallet-registry.ts:13
▸ getWalletPublicKey(walletID
): Promise
<Hex
>
Gets the public key for the given wallet.
Name | Type | Description |
---|---|---|
walletID |
Hex |
ID of the wallet. |
Promise
<Hex
>
Uncompressed public key without the 04 prefix.