import React, { Component } from 'react'; import PropTypes from 'prop-types'; import ethUtil from 'ethereumjs-util'; import ConfirmTransactionBase from '../confirm-transaction-base'; export default class ConfirmDeployContract extends Component { static contextTypes = { t: PropTypes.func, }; static propTypes = { txData: PropTypes.object, }; renderData() { const { t } = this.context; const { txData: { origin, txParams: { data } = {} } = {} } = this.props; return (