UNPKG

@unilogin/sdk

Version:

SDK is a JS library, that communicates with relayer. SDK allows managing contract, by creating basic contract-calling messages.

18 lines (13 loc) 384 B
export type WalletEventType = 'KeyAdded' | 'KeyRemoved' | 'AddedOwner' | 'RemovedOwner'; export type WalletEventArgs = { key: string; }; export type WalletEventFilter = { key: string; contractAddress: string; }; export type WalletEventCallback = (args: WalletEventArgs) => void; export type WalletEventObservableRecord = { key: string; callback: WalletEventCallback; };