UNPKG

reiciendisenim

Version:

A simple, maximally extensible, dependency minimized framework for building modern Ethereum dApps

23 lines (22 loc) 405 B
/*** * AbstractConnectorArguments ***/ export interface AbstractConnectorArguments { supportedChainIds?: number[] } /*** * ConnectorUpdate ***/ export interface ConnectorUpdate<T = number | string> { provider?: any chainId?: T account?: null | string } /*** * ConnectorEvent ***/ export enum ConnectorEvent { Update = 'web3Update', Error = 'web3Error', Deactivate = 'web3Deactivate' }