Display xmr-swap script coin lock spend tx fees.
This commit is contained in:
6 files changed
+30
-13
No files matched your search
@@ -42,7 +42,7 @@
|
||||
<form method="post">
|
||||
{% if data.show_bid_form %}
|
||||
<br/><h4>New Bid</h4>
|
||||
<p>You will send {{ data.amt_to }} {{ data.tla_to }} and receive {{ data.amt_from }} {{ data.tla_from }}</p>
|
||||
<p>You will send {{ data.amt_to }} {{ data.tla_to }} and receive {{ data.amt_from }} {{ data.tla_from }} (excluding {{ data.amt_from_lock_spend_tx_fee }} {{ data.tla_from }} in tx fees). </p>
|
||||
<table>
|
||||
<tr><td>Send From Address</td><td>
|
||||
<select name="addr_from">
|
||||
@@ -64,7 +64,6 @@
|
||||
<input type="hidden" name="formid" value="{{ form_id }}">
|
||||
</form>
|
||||
|
||||
|
||||
<h4>Bids</h4>
|
||||
<table>
|
||||
<tr><th>Bid ID</th><th>Bid Amount</th><th>Bid Status</th><th>ITX Status</th><th>PTX Status</th></tr>
|
||||
|
||||
@@ -23,15 +23,16 @@
|
||||
</select>
|
||||
</td><td>Amount From</td><td><input type="text" name="amt_from" value="{{ data.amt_from }}" readonly></td><td>The amount you will send.</td></tr>
|
||||
{% if data.swap_style == 'xmr' %}
|
||||
</td><td>Fee Rate From</td><td><input name="fee_rate_from" value="{{ data.from_fee_override }}" readonly></td><td>Fee Rate Source</td><td>{{ data.from_fee_src }}</td></tr>
|
||||
</td><td>Fee From Confirm Target</td><td><input type="number" name="fee_from_conf" min="1" max="32" value="{{ data.fee_from_conf }}" readonly></td></tr>
|
||||
</td><td>Fee From Extra Fee</td><td>
|
||||
<tr><td>Fee Rate From</td><td><input name="fee_rate_from" value="{{ data.from_fee_override }}" readonly></td><td>Fee Rate Source</td><td>{{ data.from_fee_src }}</td></tr>
|
||||
<tr><td>Fee From Confirm Target</td><td><input type="number" name="fee_from_conf" min="1" max="32" value="{{ data.fee_from_conf }}" readonly></td></tr>
|
||||
<tr><td>Fee From Increase By</td><td>
|
||||
<select name="fee_from_extra_" disabled>
|
||||
<option value="0">None</option>
|
||||
<option value="10"{% if data.fee_from_extra==10 %} selected{% endif %}>10%</option>
|
||||
<option value="50"{% if data.fee_from_extra==50 %} selected{% endif %}>50%</option>
|
||||
<option value="100"{% if data.fee_from_extra==100 %} selected{% endif %}>100%</option>
|
||||
</select></td></tr>
|
||||
<tr><td>Lock Tx Spend Fee</td><td>{{ data.amt_from_lock_spend_tx_fee }} {{ data.tla_from }}</td></tr>
|
||||
{% endif %}
|
||||
|
||||
<tr><td>Coin To</td><td>
|
||||
@@ -42,9 +43,9 @@
|
||||
</select>
|
||||
</td><td>Amount To</td><td><input type="text" name="amt_to" value="{{ data.amt_to }}" readonly></td><td>The amount you will receive.</td></tr>
|
||||
{% if data.swap_style == 'xmr' and coin_to != '6' %}
|
||||
</td><td>Fee Rate To</td><td><input name="fee_rate_to" value="{{ data.to_fee_override }}" readonly></td><td>Fee Rate Source</td><td>{{ data.to_fee_src }}</td></tr>
|
||||
</td><td>Fee To Confirm Target</td><td><input type="number" name="fee_to_conf" min="1" max="32" value="{{ data.fee_to_conf }}" readonly></td></tr>
|
||||
</td><td>Fee To Extra Fee</td><td>
|
||||
<tr><td>Fee Rate To</td><td><input name="fee_rate_to" value="{{ data.to_fee_override }}" readonly></td><td>Fee Rate Source</td><td>{{ data.to_fee_src }}</td></tr>
|
||||
<tr><td>Fee To Confirm Target</td><td><input type="number" name="fee_to_conf" min="1" max="32" value="{{ data.fee_to_conf }}" readonly></td></tr>
|
||||
<tr><td>Fee To Increase By</td><td>
|
||||
<select name="fee_to_extra_" disabled>
|
||||
<option value="0">None</option>
|
||||
<option value="10"{% if data.fee_to_extra==10 %} selected{% endif %}>10%</option>
|
||||
|
||||
@@ -23,8 +23,8 @@
|
||||
</select>
|
||||
</td><td>Amount From</td><td><input type="text" name="amt_from" value="{{ data.amt_from }}" readonly></td><td>The amount you will send.</td></tr>
|
||||
{% if data.swap_style == 'xmr' %}
|
||||
</td><td>Fee From Confirm Target</td><td><input type="number" name="fee_from_conf" min="1" max="32" value="{{ data.fee_from_conf }}"></td></tr>
|
||||
</td><td>Fee From Extra Fee</td><td>
|
||||
<tr><td>Fee From Confirm Target</td><td><input type="number" name="fee_from_conf" min="1" max="32" value="{{ data.fee_from_conf }}"></td></tr>
|
||||
<tr><td>Fee From Increase By</td><td>
|
||||
<select name="fee_from_extra">
|
||||
<option value="0">None</option>
|
||||
<option value="10"{% if data.fee_from_extra==10 %} selected{% endif %}>10%</option>
|
||||
@@ -41,8 +41,8 @@
|
||||
</select>
|
||||
</td><td>Amount To</td><td><input type="text" name="amt_to" value="{{ data.amt_to }}" readonly></td><td>The amount you will receive.</td></tr>
|
||||
{% if data.swap_style == 'xmr' and coin_to != '6' %}
|
||||
</td><td>Fee To Confirm Target</td><td><input type="number" name="fee_to_conf" min="1" max="32" value="{{ data.fee_to_conf }}"></td></tr>
|
||||
</td><td>Fee To Extra Fee</td><td>
|
||||
<tr><td>Fee To Confirm Target</td><td><input type="number" name="fee_to_conf" min="1" max="32" value="{{ data.fee_to_conf }}"></td></tr>
|
||||
<tr><td>Fee To Increase By</td><td>
|
||||
<select name="fee_to_extra">
|
||||
<option value="0">None</option>
|
||||
<option value="10"{% if data.fee_to_extra==10 %} selected{% endif %}>10%</option>
|
||||
|
||||
Reference in new issue
Block a user