Files
xrpl-dev-portal/content/snippets/depositauth-semantics-table.html
2018-01-26 11:49:55 -08:00

123 lines
3.9 KiB
HTML

<table>
<thead>
<tr>
<th>DepositAuth status:</th>
<th colspan="2" class="depauth-status">Disabled</th>
<th colspan="2" class="depauth-status">Enabled</th>
</tr>
<tr>
<th>Transaction Type</th>
<th>Sent by Destination</th><th>Sent by Others</th>
<th>Sent by Destination</th><th>Sent by Others</th>
</tr>
</thead>
<tbody>
<tr>
<td class="depauth-txtype">AccountSet</td>
<td colspan="4" class="depauth-na">(This transaction type never sends money.)</td>
</tr>
<tr>
<td class="depauth-txtype">CheckCancel</td>
<td colspan="4" class="depauth-na">(This transaction type never sends money.)</td>
</tr>
<tr>
<td class="depauth-txtype">CheckCash</td>
<td class="depauth-ok">OK</td>
<td class="depauth-no">No Permission</td>
<td class="depauth-ok">OK</td>
<td class="depauth-no">No Permission</td>
</tr>
<tr>
<td class="depauth-txtype">CheckCreate</td>
<td colspan="4" class="depauth-na">(This transaction type never sends money.)</td>
</tr>
<tr>
<td class="depauth-txtype">EscrowCancel</td>
<td class="depauth-maybe" colspan="4">(Can return XRP from an expired escrow)</td>
</tr>
<tr>
<td class="depauth-txtype">EscrowCreate</td>
<td colspan="4" class="depauth-na">(This transaction type can only debit XRP, not credit it.)</td>
</tr>
<tr>
<td class="depauth-txtype">EscrowFinish</td>
<td class="depauth-ok">OK</td>
<td class="depauth-ok">OK</td>
<td class="depauth-ok">OK</td>
<td class="depauth-maybe">No Permission</td>
</tr>
<tr>
<td class="depauth-txtype">OfferCancel</td>
<td colspan="4" class="depauth-na">(This transaction type never sends money.)</td>
</tr>
<tr>
<td class="depauth-txtype">OfferCreate</td>
<td class="depauth-ok">OK</td>
<td class="depauth-maybe">(Only if account previously created a matching offer)</td>
<td class="depauth-ok">OK</td>
<td class="depauth-maybe">(Only if account previously created a matching offer)</td>
</tr>
<tr>
<td class="depauth-txtype">Payment (if account has no trust lines or offers)</td>
<td class="depauth-maybe">(Cross-currency payments only)</td>
<td class="depauth-ok">OK</td>
<td class="depauth-no">No Permission</td>
<td class="depauth-no">No Permission</td>
</tr>
<tr>
<td class="depauth-txtype">Payment (if account has trust lines or offers)</td>
<td class="depauth-maybe">(Cross-currency payments only)</td>
<td class="depauth-ok">OK</td>
<td class="depauth-no">No Permission</td>
<td class="depauth-maybe"><b>(TODO: Maybe By consuming offers or rippling?)</b></td>
</tr>
<tr>
<td class="depauth-txtype">PaymentChannelClaim</td>
<td class="depauth-ok">OK</td>
<td class="depauth-ok">OK</td>
<td class="depauth-ok">OK</td>
<td class="depauth-no">No Permission</td>
</tr>
<tr>
<td class="depauth-txtype">PaymentChannelCreate</td>
<td colspan="4" class="depauth-na">(This transaction type can only debit XRP, not credit it.)</td>
</tr>
<tr>
<td class="depauth-txtype">PaymentChannelFund</td>
<td class="depauth-maybe" colspan="4">(Can return XRP when closing a channel created by self)</td>
</tr>
<tr>
<td class="depauth-txtype">SetRegularKey</td>
<td colspan="4" class="depauth-na">(This transaction type never sends money.)</td>
</tr>
<tr>
<td class="depauth-txtype">SignerListSet</td>
<td colspan="4" class="depauth-na">(This transaction type never sends money.)</td>
</tr>
<tr>
<td class="depauth-txtype">TrustSet</td>
<td colspan="4" class="depauth-na">(This transaction type never sends money.)</td>
</tr>
</table>
<style type="text/css">
.depauth-txtype {
font-weight: bold;
}
.depauth-status {
text-align: center;
}
.depauth-na {
background-color: #999;
}
.depauth-ok {
background-color: #afa;
}
.depauth-no {
background-color: #faa;
}
.depauth-maybe {
background-color: #ffa;
}
</style>