Interface: ICommonModalConnector
EthersAppContext.ICommonModalConnector
Summary
An interface implemented by EthersModalConnector in addition to AbstractConnector
Implemented by
Methods
setModalTheme
▸ setModalTheme(theme
): void
Parameters
Name | Type |
---|---|
theme | TWeb3ModalTheme | ThemeColors |
Returns
void
Defined in
src/context/ethers-app/connectors/EthersModalConnector.ts:45
resetModal
▸ resetModal(): void
Returns
void
Defined in
src/context/ethers-app/connectors/EthersModalConnector.ts:46
hasCachedProvider
▸ hasCachedProvider(): boolean
Returns
boolean
Defined in
src/context/ethers-app/connectors/EthersModalConnector.ts:48
changeSigner
▸ changeSigner(signer
): Promise
<void
>
Parameters
Name | Type |
---|---|
signer | Signer |
Returns
Promise
<void
>
Defined in
src/context/ethers-app/connectors/EthersModalConnector.ts:52
Properties
loadWeb3Modal
• loadWeb3Modal: () => void
Type declaration
▸ (): void
Returns
void
Defined in
src/context/ethers-app/connectors/EthersModalConnector.ts:49
getSigner
• getSigner: () => undefined
| Signer
Type declaration
▸ (): undefined
| Signer
Returns
undefined
| Signer
Defined in
src/context/ethers-app/connectors/EthersModalConnector.ts:51