@@ -39,6 +39,7 @@ class Transfer extends React.Component {
3939 userApproval: false,
4040 nonce: '',
4141 gasPrice: '5',
42+ showGasDetails: false,
4243 chainId: '',
4344 gasLimit: '600000',
4445 txn: Maybe.Nothing(),
@@ -55,8 +56,14 @@ class Transfer extends React.Component {
5556 this.handleSetChainId = this.handleSetChainId.bind(this)
5657 this.handleSetGasPrice = this.handleSetGasPrice.bind(this)
5758 this.handleSetGasLimit = this.handleSetGasLimit.bind(this)
59+ this.toggleGasDetails = this.toggleGasDetails.bind(this)
5860 }
5961
62+ toggleGasDetails() {
63+ this.setState({
64+ showGasDetails: !this.state.showGasDetails
65+ })
66+ }
6067
6168 componentDidMount() {
6269 const { props } = this
@@ -311,6 +318,8 @@ class Transfer extends React.Component {
311318 gasPrice={state.gasPrice}
312319 chainId={state.chainId}
313320 gasLimit={state.gasLimit}
321+ showGasDetails={state.showGasDetails}
322+ toggleGasDetails={state.toggleGasDetails}
314323 // Checks
315324 userApproval={state.userApproval}
316325 canGenerate={ canGenerate }