|
2 | 2 | import React from 'react'
|
3 | 3 | import { RunTab } from '../types/run-tab'
|
4 | 4 | import { resetAndInit, setupEvents, setEventsDispatch } from './events'
|
5 |
| -import { createNewBlockchainAccount, setExecutionContext, signMessageWithAddress, addFileInternal } from './account' |
| 5 | +import { createNewBlockchainAccount, createSmartAccount, setExecutionContext, signMessageWithAddress, addFileInternal } from './account' |
6 | 6 | import { clearInstances, clearPopUp, removeInstance, pinInstance, unpinInstance, setAccount, setGasFee, setMatchPassphrasePrompt,
|
7 | 7 | setNetworkNameFromProvider, setPassphrasePrompt, setSelectedContract, setSendTransactionValue, setUnit,
|
8 | 8 | updateBaseFeePerGas, updateConfirmSettings, updateGasPrice, updateGasPriceStatus, updateMaxFee, updateMaxPriorityFee, updateScenarioPath } from './actions'
|
@@ -39,6 +39,7 @@ export const setGasFeeAmount = (value: number) => setGasFee(dispatch, value)
|
39 | 39 | export const setExecutionEnvironment = (executionContext: { context: string, fork: string }) => setExecutionContext(plugin, dispatch, executionContext)
|
40 | 40 | export const hideToaster = () => clearPopUp(dispatch)
|
41 | 41 | export const createNewAddress = (cbMessage: JSX.Element) => createNewBlockchainAccount(plugin, dispatch, cbMessage)
|
| 42 | +export const createNewSmartAccount = () => createSmartAccount(plugin, dispatch) |
42 | 43 | export const setPassphraseModal = (passphrase: string) => setPassphrasePrompt(dispatch, passphrase)
|
43 | 44 | export const setMatchPassphraseModal = (passphrase: string) => setMatchPassphrasePrompt(dispatch, passphrase)
|
44 | 45 | export const signMessage = (account: string, message: string, modalContent: (hash: string, data: string) => JSX.Element, passphrase?: string) => signMessageWithAddress(plugin, dispatch, account, message, modalContent, passphrase)
|
|
0 commit comments