HenryNguyen5 12d29e5b94 RC Bugfixes (#1644)
* Fix #1569

* Use common component for handling "to" address

* If to address becomes invalid, hide contract interact explorer

* Add IS_CONTRACT_INTERACTION mode - fix bugs related to contract interact

* Bump shepherd version to fix bugs related to metamask + network switches

* Update mycrypto link downloads

* Update facebook link

* Remove console log from checktx

* Fix dollar sign on contract address in conf modal

* Fix unchecksummed address for metamask signing

* Cleanup unused classname

* Update generate keystore file description to be correct

* Add space to create new wallet banner

* Remove extra variable

* Do checksumming in library function instead of component

* Clear state on address change
2018-04-23 18:35:24 -05:00

17 lines
533 B
TypeScript

import {
SetUnitMetaAction,
SetTokenToMetaAction,
GetFromSucceededAction
} from 'actions/transaction';
import { TokenValue } from 'libs/units';
export interface State {
unit: SetUnitMetaAction['payload'];
previousUnit: SetUnitMetaAction['payload'];
decimal: number;
tokenValue: { raw: string; value: TokenValue | null }; // TODO: fix this workaround since some of the payload is optional
tokenTo: SetTokenToMetaAction['payload'];
from: GetFromSucceededAction['payload'] | null;
isContractInteraction: boolean;
}