mirror of
https://github.com/status-im/MyCrypto.git
synced 2025-01-21 16:38:48 +00:00
8 lines
375 B
TypeScript
8 lines
375 B
TypeScript
|
import { AppState } from 'features/reducers';
|
||
|
|
||
|
const getTransactionState = (state: AppState) => state.transaction;
|
||
|
|
||
|
export const getSignState = (state: AppState) => getTransactionState(state).sign;
|
||
|
export const getSignedTx = (state: AppState) => getSignState(state).local.signedTransaction;
|
||
|
export const getWeb3Tx = (state: AppState) => getSignState(state).web3.transaction;
|