Skip to content

Commit

Permalink
Added a warning to not deposit ETH from smart contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
xenohunter committed Sep 19, 2017
1 parent 982ae75 commit 5e0ee53
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -594,6 +594,12 @@ <h2 class="sectionHeader">DEPOSIT: BTC</h2>
<div class="noDisp" ng-controller="walletDepositController as deposit" data-currency="ETH">
<div id="deposit-eth-dialog" waves-dialog ok-button-caption="CLOSE" cancel-button-visible="false">
<h2 class="sectionHeader">DEPOSIT: ETH</h2>
<div class="plate-warning">
<p><b>Do not deposit ETH from smart contracts!</b></p>
<p>Check if your wallet or exchange uses smart-contracts to withdraw ETH.<br/>
We do not accept such transactions and can’t refund them.<br/>
You will lose that money.</p>
</div>
<p class="dialog-text">To deposit ETH to your Waves account, please send ETH to the address below.<br/>
The minimum amount of deposit is <span class="fontBold">{{deposit.eth.minimumAmount}} ETH</span>.</p>
<p class="dialog-text">Please do not deposit ERC20 tokens! Only Ethereum is allowed.</p>
Expand Down
8 changes: 8 additions & 0 deletions src/less/global.less
Original file line number Diff line number Diff line change
Expand Up @@ -362,4 +362,12 @@ table.bitcoin-requisites {
font-family: @font-lekton;
}
}
}

.plate-warning {
margin-bottom: 15px;
padding: 12px 30px;
border-radius: 5px;
background: #c21208;
color: #fff;
}

0 comments on commit 5e0ee53

Please sign in to comment.