mirror of
https://github.com/XRPLF/rippled.git
synced 2026-02-07 23:42:28 +00:00
430 lines
77 KiB
HTML
430 lines
77 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
|
<meta name="generator" content="Doxygen 1.9.8"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>rippled: XChainBridge.h Source File</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr id="projectrow">
|
|
<td id="projectalign">
|
|
<div id="projectname">rippled
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.9.8 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
/* @license-end */
|
|
</script>
|
|
<div id="main-nav"></div>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(document).ready(function() { init_codefold(0); });
|
|
/* @license-end */
|
|
</script>
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<div id="MSearchResults">
|
|
<div class="SRPage">
|
|
<div id="SRIndex">
|
|
<div id="SRResults"></div>
|
|
<div class="SRStatus" id="Loading">Loading...</div>
|
|
<div class="SRStatus" id="Searching">Searching...</div>
|
|
<div class="SRStatus" id="NoMatches">No Matches</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="dir_a62226f9e3a6c7c5a3be455e2f87ae01.html">xrpld</a></li><li class="navelem"><a class="el" href="dir_c69db3203fa08a9ff994909ba6ee9783.html">app</a></li><li class="navelem"><a class="el" href="dir_4b2d6f306dc33741b6f38a59a670a446.html">tx</a></li><li class="navelem"><a class="el" href="dir_7b1ffcd2aae1e871efc2e94c72e78699.html">detail</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="headertitle"><div class="title">XChainBridge.h</div></div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="preprocessor">#ifndef XRPL_TX_XCHAINBRIDGE_H_INCLUDED</span></div>
|
|
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="preprocessor">#define XRPL_TX_XCHAINBRIDGE_H_INCLUDED</span></div>
|
|
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span> </div>
|
|
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="preprocessor">#include <xrpld/app/tx/detail/Transactor.h></span></div>
|
|
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span> </div>
|
|
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="preprocessor">#include <xrpl/protocol/XChainAttestations.h></span></div>
|
|
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span> </div>
|
|
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespacexrpl.html">xrpl</a> {</div>
|
|
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span> </div>
|
|
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"><a class="line" href="namespacexrpl.html#ae3de4add9bd1e9877a81a6c131fd50a1"> 10</a></span><span class="keyword">constexpr</span> <span class="keywordtype">size_t</span> <a class="code hl_variable" href="namespacexrpl.html#ae3de4add9bd1e9877a81a6c131fd50a1">xbridgeMaxAccountCreateClaims</a> = 128;</div>
|
|
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span> </div>
|
|
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="comment">// Attach a new bridge to a door account. Once this is done, the cross-chain</span></div>
|
|
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="comment">// transfer transactions may be used to transfer funds from this account.</span></div>
|
|
<div class="foldopen" id="foldopen00014" data-start="{" data-end="};">
|
|
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"><a class="line" href="classxrpl_1_1XChainCreateBridge.html"> 14</a></span><span class="keyword">class </span><a class="code hl_class" href="classxrpl_1_1XChainCreateBridge.html">XChainCreateBridge</a> : <span class="keyword">public</span> <a class="code hl_class" href="classxrpl_1_1Transactor.html">Transactor</a></div>
|
|
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span>{</div>
|
|
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span><span class="keyword">public</span>:</div>
|
|
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"><a class="line" href="classxrpl_1_1XChainCreateBridge.html#a560a25aba192fd44a72a10ffdbbe7ce2"> 17</a></span> <span class="keyword">static</span> <span class="keyword">constexpr</span> <a class="code hl_enumeration" href="classxrpl_1_1Transactor.html#a9420945fd34d224b81b68fd3dcc9fed6">ConsequencesFactoryType</a> <a class="code hl_variable" href="classxrpl_1_1XChainCreateBridge.html#a560a25aba192fd44a72a10ffdbbe7ce2">ConsequencesFactory</a>{<a class="code hl_enumvalue" href="classxrpl_1_1Transactor.html#a9420945fd34d224b81b68fd3dcc9fed6a325a214ee7e0a8b0a0ceb47477d57221">Normal</a>};</div>
|
|
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span> </div>
|
|
<div class="foldopen" id="foldopen00019" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"><a class="line" href="classxrpl_1_1XChainCreateBridge.html#adc3a51e6f1f0b83a84854a4940111486"> 19</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="classxrpl_1_1XChainCreateBridge.html#adc3a51e6f1f0b83a84854a4940111486">XChainCreateBridge</a>(<a class="code hl_class" href="classxrpl_1_1ApplyContext.html">ApplyContext</a>& ctx) : <a class="code hl_class" href="classxrpl_1_1Transactor.html">Transactor</a>(ctx)</div>
|
|
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span> {</div>
|
|
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span> }</div>
|
|
</div>
|
|
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> </div>
|
|
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span> <span class="keyword">static</span> <a class="code hl_class" href="classxrpl_1_1TERSubset.html">NotTEC</a></div>
|
|
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span> <a class="code hl_function" href="classxrpl_1_1XChainCreateBridge.html#a6174d8722749e753ba9b965007bb51b7">preflight</a>(<a class="code hl_struct" href="structxrpl_1_1PreflightContext.html">PreflightContext</a> <span class="keyword">const</span>& ctx);</div>
|
|
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span> </div>
|
|
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span> <span class="keyword">static</span> <a class="code hl_class" href="classxrpl_1_1TERSubset.html">TER</a></div>
|
|
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span> <a class="code hl_function" href="classxrpl_1_1XChainCreateBridge.html#a70440aef1f907da6a5858dfe4163e25c">preclaim</a>(<a class="code hl_struct" href="structxrpl_1_1PreclaimContext.html">PreclaimContext</a> <span class="keyword">const</span>& ctx);</div>
|
|
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span> </div>
|
|
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span> <a class="code hl_class" href="classxrpl_1_1TERSubset.html">TER</a></div>
|
|
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span> <a class="code hl_function" href="classxrpl_1_1XChainCreateBridge.html#ab0358a6226a10a142bc632711604e165">doApply</a>() <span class="keyword">override</span>;</div>
|
|
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span>};</div>
|
|
</div>
|
|
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span> </div>
|
|
<div class="foldopen" id="foldopen00033" data-start="{" data-end="};">
|
|
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"><a class="line" href="classxrpl_1_1BridgeModify.html"> 33</a></span><span class="keyword">class </span><a class="code hl_class" href="classxrpl_1_1BridgeModify.html">BridgeModify</a> : <span class="keyword">public</span> <a class="code hl_class" href="classxrpl_1_1Transactor.html">Transactor</a></div>
|
|
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span>{</div>
|
|
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span><span class="keyword">public</span>:</div>
|
|
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"><a class="line" href="classxrpl_1_1BridgeModify.html#a1b64fe31dee09fbd32a8b8a2c6ca06d3"> 36</a></span> <span class="keyword">static</span> <span class="keyword">constexpr</span> <a class="code hl_enumeration" href="classxrpl_1_1Transactor.html#a9420945fd34d224b81b68fd3dcc9fed6">ConsequencesFactoryType</a> <a class="code hl_variable" href="classxrpl_1_1BridgeModify.html#a1b64fe31dee09fbd32a8b8a2c6ca06d3">ConsequencesFactory</a>{<a class="code hl_enumvalue" href="classxrpl_1_1Transactor.html#a9420945fd34d224b81b68fd3dcc9fed6a325a214ee7e0a8b0a0ceb47477d57221">Normal</a>};</div>
|
|
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> </div>
|
|
<div class="foldopen" id="foldopen00038" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"><a class="line" href="classxrpl_1_1BridgeModify.html#a2cbac1470b3cabe59fd1d75c5afd3cb0"> 38</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="classxrpl_1_1BridgeModify.html#a2cbac1470b3cabe59fd1d75c5afd3cb0">BridgeModify</a>(<a class="code hl_class" href="classxrpl_1_1ApplyContext.html">ApplyContext</a>& ctx) : <a class="code hl_class" href="classxrpl_1_1Transactor.html">Transactor</a>(ctx)</div>
|
|
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span> {</div>
|
|
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span> }</div>
|
|
</div>
|
|
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> </div>
|
|
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> <span class="keyword">static</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a></div>
|
|
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> <a class="code hl_function" href="classxrpl_1_1BridgeModify.html#a5f2a8b26d4747e8a14ad1a079c95735d">getFlagsMask</a>(<a class="code hl_struct" href="structxrpl_1_1PreflightContext.html">PreflightContext</a> <span class="keyword">const</span>& ctx);</div>
|
|
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> </div>
|
|
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> <span class="keyword">static</span> <a class="code hl_class" href="classxrpl_1_1TERSubset.html">NotTEC</a></div>
|
|
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> <a class="code hl_function" href="classxrpl_1_1BridgeModify.html#afcd8a962b9a8e32f25af8e5dedf20098">preflight</a>(<a class="code hl_struct" href="structxrpl_1_1PreflightContext.html">PreflightContext</a> <span class="keyword">const</span>& ctx);</div>
|
|
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> </div>
|
|
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> <span class="keyword">static</span> <a class="code hl_class" href="classxrpl_1_1TERSubset.html">TER</a></div>
|
|
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> <a class="code hl_function" href="classxrpl_1_1BridgeModify.html#ac1596412feff7c254b48c8862371200c">preclaim</a>(<a class="code hl_struct" href="structxrpl_1_1PreclaimContext.html">PreclaimContext</a> <span class="keyword">const</span>& ctx);</div>
|
|
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> </div>
|
|
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> <a class="code hl_class" href="classxrpl_1_1TERSubset.html">TER</a></div>
|
|
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> <a class="code hl_function" href="classxrpl_1_1BridgeModify.html#a0dcf3f1faaa6b1204446b5e21f245241">doApply</a>() <span class="keyword">override</span>;</div>
|
|
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span>};</div>
|
|
</div>
|
|
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> </div>
|
|
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"><a class="line" href="namespacexrpl.html#a8428ac650baccd04dddc207cb40ca79f"> 55</a></span><span class="keyword">using </span><a class="code hl_class" href="classxrpl_1_1BridgeModify.html">XChainModifyBridge</a> = <a class="code hl_class" href="classxrpl_1_1BridgeModify.html">BridgeModify</a>;</div>
|
|
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> </div>
|
|
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span><span class="comment">//------------------------------------------------------------------------------</span></div>
|
|
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> </div>
|
|
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span><span class="comment">// Claim funds from a `XChainCommit` transaction. This is normally not needed,</span></div>
|
|
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span><span class="comment">// but may be used to handle transaction failures or if the destination account</span></div>
|
|
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span><span class="comment">// was not specified in the `XChainCommit` transaction. It may only be used</span></div>
|
|
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span><span class="comment">// after a quorum of signatures have been sent from the witness servers.</span></div>
|
|
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span><span class="comment">//</span></div>
|
|
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span><span class="comment">// If the transaction succeeds in moving funds, the referenced `XChainClaimID`</span></div>
|
|
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span><span class="comment">// ledger object will be destroyed. This prevents transaction replay. If the</span></div>
|
|
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span><span class="comment">// transaction fails, the `XChainClaimID` will not be destroyed and the</span></div>
|
|
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span><span class="comment">// transaction may be re-run with different parameters.</span></div>
|
|
<div class="foldopen" id="foldopen00068" data-start="{" data-end="};">
|
|
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"><a class="line" href="classxrpl_1_1XChainClaim.html"> 68</a></span><span class="keyword">class </span><a class="code hl_class" href="classxrpl_1_1XChainClaim.html">XChainClaim</a> : <span class="keyword">public</span> <a class="code hl_class" href="classxrpl_1_1Transactor.html">Transactor</a></div>
|
|
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span>{</div>
|
|
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span><span class="keyword">public</span>:</div>
|
|
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span> <span class="comment">// Blocker since we cannot accurately calculate the consequences</span></div>
|
|
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"><a class="line" href="classxrpl_1_1XChainClaim.html#a8ef34187acdb80e2f519a46779cd5057"> 72</a></span> <span class="keyword">static</span> <span class="keyword">constexpr</span> <a class="code hl_enumeration" href="classxrpl_1_1Transactor.html#a9420945fd34d224b81b68fd3dcc9fed6">ConsequencesFactoryType</a> <a class="code hl_variable" href="classxrpl_1_1XChainClaim.html#a8ef34187acdb80e2f519a46779cd5057">ConsequencesFactory</a>{<a class="code hl_enumvalue" href="classxrpl_1_1Transactor.html#a9420945fd34d224b81b68fd3dcc9fed6a44800ba5c609a32325ee77bfdca04937">Blocker</a>};</div>
|
|
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span> </div>
|
|
<div class="foldopen" id="foldopen00074" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"><a class="line" href="classxrpl_1_1XChainClaim.html#a00d588eca428bdc9bc0b6f3d689b6fc8"> 74</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="classxrpl_1_1XChainClaim.html#a00d588eca428bdc9bc0b6f3d689b6fc8">XChainClaim</a>(<a class="code hl_class" href="classxrpl_1_1ApplyContext.html">ApplyContext</a>& ctx) : <a class="code hl_class" href="classxrpl_1_1Transactor.html">Transactor</a>(ctx)</div>
|
|
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span> {</div>
|
|
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span> }</div>
|
|
</div>
|
|
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span> </div>
|
|
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span> <span class="keyword">static</span> <a class="code hl_class" href="classxrpl_1_1TERSubset.html">NotTEC</a></div>
|
|
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span> <a class="code hl_function" href="classxrpl_1_1XChainClaim.html#a9aba956a33012bb7479d28833bf79753">preflight</a>(<a class="code hl_struct" href="structxrpl_1_1PreflightContext.html">PreflightContext</a> <span class="keyword">const</span>& ctx);</div>
|
|
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span> </div>
|
|
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span> <span class="keyword">static</span> <a class="code hl_class" href="classxrpl_1_1TERSubset.html">TER</a></div>
|
|
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span> <a class="code hl_function" href="classxrpl_1_1XChainClaim.html#a406971441b45c55c4442d3e006b9512f">preclaim</a>(<a class="code hl_struct" href="structxrpl_1_1PreclaimContext.html">PreclaimContext</a> <span class="keyword">const</span>& ctx);</div>
|
|
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span> </div>
|
|
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span> <a class="code hl_class" href="classxrpl_1_1TERSubset.html">TER</a></div>
|
|
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span> <a class="code hl_function" href="classxrpl_1_1XChainClaim.html#a7642aac34603fd8667fb2940a93ac0fb">doApply</a>() <span class="keyword">override</span>;</div>
|
|
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span>};</div>
|
|
</div>
|
|
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span> </div>
|
|
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span><span class="comment">//------------------------------------------------------------------------------</span></div>
|
|
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"> 89</span> </div>
|
|
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"> 90</span><span class="comment">// Put assets into trust on the locking-chain so they may be wrapped on the</span></div>
|
|
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span><span class="comment">// issuing-chain, or return wrapped assets on the issuing-chain so they can be</span></div>
|
|
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span><span class="comment">// unlocked on the locking-chain. The second step in a cross-chain transfer.</span></div>
|
|
<div class="foldopen" id="foldopen00093" data-start="{" data-end="};">
|
|
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"><a class="line" href="classxrpl_1_1XChainCommit.html"> 93</a></span><span class="keyword">class </span><a class="code hl_class" href="classxrpl_1_1XChainCommit.html">XChainCommit</a> : <span class="keyword">public</span> <a class="code hl_class" href="classxrpl_1_1Transactor.html">Transactor</a></div>
|
|
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span>{</div>
|
|
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span><span class="keyword">public</span>:</div>
|
|
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"><a class="line" href="classxrpl_1_1XChainCommit.html#aee9bf4fcceb44e61fb9bbb1fb997e351"> 96</a></span> <span class="keyword">static</span> <span class="keyword">constexpr</span> <a class="code hl_enumeration" href="classxrpl_1_1Transactor.html#a9420945fd34d224b81b68fd3dcc9fed6">ConsequencesFactoryType</a> <a class="code hl_variable" href="classxrpl_1_1XChainCommit.html#aee9bf4fcceb44e61fb9bbb1fb997e351">ConsequencesFactory</a>{<a class="code hl_enumvalue" href="classxrpl_1_1Transactor.html#a9420945fd34d224b81b68fd3dcc9fed6a0512ccca18ad134fcb5eec993d41603a">Custom</a>};</div>
|
|
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span> </div>
|
|
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span> <span class="keyword">static</span> <a class="code hl_class" href="classxrpl_1_1TxConsequences.html">TxConsequences</a></div>
|
|
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span> <a class="code hl_function" href="classxrpl_1_1XChainCommit.html#af7d40b753de65781a71234822bf17318">makeTxConsequences</a>(<a class="code hl_struct" href="structxrpl_1_1PreflightContext.html">PreflightContext</a> <span class="keyword">const</span>& ctx);</div>
|
|
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span> </div>
|
|
<div class="foldopen" id="foldopen00101" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"><a class="line" href="classxrpl_1_1XChainCommit.html#a2478327b5e76e04d89e49d9dff4c0657"> 101</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="classxrpl_1_1XChainCommit.html#a2478327b5e76e04d89e49d9dff4c0657">XChainCommit</a>(<a class="code hl_class" href="classxrpl_1_1ApplyContext.html">ApplyContext</a>& ctx) : <a class="code hl_class" href="classxrpl_1_1Transactor.html">Transactor</a>(ctx)</div>
|
|
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"> 102</span> {</div>
|
|
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"> 103</span> }</div>
|
|
</div>
|
|
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"> 104</span> </div>
|
|
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span> <span class="keyword">static</span> <a class="code hl_class" href="classxrpl_1_1TERSubset.html">NotTEC</a></div>
|
|
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span> <a class="code hl_function" href="classxrpl_1_1XChainCommit.html#a695b8e7b8d8e415c32f48462a6a392c7">preflight</a>(<a class="code hl_struct" href="structxrpl_1_1PreflightContext.html">PreflightContext</a> <span class="keyword">const</span>& ctx);</div>
|
|
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span> </div>
|
|
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span> <span class="keyword">static</span> <a class="code hl_class" href="classxrpl_1_1TERSubset.html">TER</a></div>
|
|
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span> <a class="code hl_function" href="classxrpl_1_1XChainCommit.html#a5c8948e17ba80dfd9b58e71e00fc6fcb">preclaim</a>(<a class="code hl_struct" href="structxrpl_1_1PreclaimContext.html">PreclaimContext</a> <span class="keyword">const</span>& ctx);</div>
|
|
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span> </div>
|
|
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"> 111</span> <a class="code hl_class" href="classxrpl_1_1TERSubset.html">TER</a></div>
|
|
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"> 112</span> <a class="code hl_function" href="classxrpl_1_1XChainCommit.html#aaa187c6c683245992d7bb5cb6b2bf2f5">doApply</a>() <span class="keyword">override</span>;</div>
|
|
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"> 113</span>};</div>
|
|
</div>
|
|
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"> 114</span> </div>
|
|
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"> 115</span><span class="comment">//------------------------------------------------------------------------------</span></div>
|
|
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"> 116</span> </div>
|
|
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"> 117</span><span class="comment">// Create a new claim id owned by the account. This is the first step in a</span></div>
|
|
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"> 118</span><span class="comment">// cross-chain transfer. The claim id must be created on the destination chain</span></div>
|
|
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span><span class="comment">// before the `XChainCommit` transaction (which must reference this number) can</span></div>
|
|
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"> 120</span><span class="comment">// be sent on the source chain. The account that will send the `XChainCommit` on</span></div>
|
|
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"> 121</span><span class="comment">// the source chain must be specified in this transaction (see note on the</span></div>
|
|
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"> 122</span><span class="comment">// `SourceAccount` field in the `XChainClaimID` ledger object for</span></div>
|
|
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</span><span class="comment">// justification). The actual sequence number must be retrieved from a validated</span></div>
|
|
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"> 124</span><span class="comment">// ledger.</span></div>
|
|
<div class="foldopen" id="foldopen00125" data-start="{" data-end="};">
|
|
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"><a class="line" href="classxrpl_1_1XChainCreateClaimID.html"> 125</a></span><span class="keyword">class </span><a class="code hl_class" href="classxrpl_1_1XChainCreateClaimID.html">XChainCreateClaimID</a> : <span class="keyword">public</span> <a class="code hl_class" href="classxrpl_1_1Transactor.html">Transactor</a></div>
|
|
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"> 126</span>{</div>
|
|
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"> 127</span><span class="keyword">public</span>:</div>
|
|
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"><a class="line" href="classxrpl_1_1XChainCreateClaimID.html#ade0ffbe54a02ef21ef4cc2a8cec666a4"> 128</a></span> <span class="keyword">static</span> <span class="keyword">constexpr</span> <a class="code hl_enumeration" href="classxrpl_1_1Transactor.html#a9420945fd34d224b81b68fd3dcc9fed6">ConsequencesFactoryType</a> <a class="code hl_variable" href="classxrpl_1_1XChainCreateClaimID.html#ade0ffbe54a02ef21ef4cc2a8cec666a4">ConsequencesFactory</a>{<a class="code hl_enumvalue" href="classxrpl_1_1Transactor.html#a9420945fd34d224b81b68fd3dcc9fed6a325a214ee7e0a8b0a0ceb47477d57221">Normal</a>};</div>
|
|
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"> 129</span> </div>
|
|
<div class="foldopen" id="foldopen00130" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"><a class="line" href="classxrpl_1_1XChainCreateClaimID.html#aec7ca16830d7d34fb138480a5984f6df"> 130</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="classxrpl_1_1XChainCreateClaimID.html#aec7ca16830d7d34fb138480a5984f6df">XChainCreateClaimID</a>(<a class="code hl_class" href="classxrpl_1_1ApplyContext.html">ApplyContext</a>& ctx) : <a class="code hl_class" href="classxrpl_1_1Transactor.html">Transactor</a>(ctx)</div>
|
|
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"> 131</span> {</div>
|
|
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"> 132</span> }</div>
|
|
</div>
|
|
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno"> 133</span> </div>
|
|
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno"> 134</span> <span class="keyword">static</span> <a class="code hl_class" href="classxrpl_1_1TERSubset.html">NotTEC</a></div>
|
|
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"> 135</span> <a class="code hl_function" href="classxrpl_1_1XChainCreateClaimID.html#a9f046648015d6cefcfb1560543580371">preflight</a>(<a class="code hl_struct" href="structxrpl_1_1PreflightContext.html">PreflightContext</a> <span class="keyword">const</span>& ctx);</div>
|
|
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno"> 136</span> </div>
|
|
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno"> 137</span> <span class="keyword">static</span> <a class="code hl_class" href="classxrpl_1_1TERSubset.html">TER</a></div>
|
|
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"> 138</span> <a class="code hl_function" href="classxrpl_1_1XChainCreateClaimID.html#a91cd6f3ecf4bf663cf4ea9ccb50d468a">preclaim</a>(<a class="code hl_struct" href="structxrpl_1_1PreclaimContext.html">PreclaimContext</a> <span class="keyword">const</span>& ctx);</div>
|
|
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"> 139</span> </div>
|
|
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"> 140</span> <a class="code hl_class" href="classxrpl_1_1TERSubset.html">TER</a></div>
|
|
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno"> 141</span> <a class="code hl_function" href="classxrpl_1_1XChainCreateClaimID.html#a4f2c73c2f87e2d9b3f17a64763a6cabd">doApply</a>() <span class="keyword">override</span>;</div>
|
|
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno"> 142</span>};</div>
|
|
</div>
|
|
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno"> 143</span> </div>
|
|
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno"> 144</span><span class="comment">//------------------------------------------------------------------------------</span></div>
|
|
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"> 145</span> </div>
|
|
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno"> 146</span><span class="comment">// Provide attestations from a witness server attesting to events on</span></div>
|
|
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno"> 147</span><span class="comment">// the other chain. The signatures must be from one of the keys on the door's</span></div>
|
|
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno"> 148</span><span class="comment">// signer's list at the time the signature was provided. However, if the</span></div>
|
|
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno"> 149</span><span class="comment">// signature list changes between the time the signature was submitted and the</span></div>
|
|
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"> 150</span><span class="comment">// quorum is reached, the new signature set is used and some of the currently</span></div>
|
|
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"> 151</span><span class="comment">// collected signatures may be removed. Also note the reward is only sent to</span></div>
|
|
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"> 152</span><span class="comment">// accounts that have keys on the current list.</span></div>
|
|
<div class="foldopen" id="foldopen00153" data-start="{" data-end="};">
|
|
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"><a class="line" href="classxrpl_1_1XChainAddClaimAttestation.html"> 153</a></span><span class="keyword">class </span><a class="code hl_class" href="classxrpl_1_1XChainAddClaimAttestation.html">XChainAddClaimAttestation</a> : <span class="keyword">public</span> <a class="code hl_class" href="classxrpl_1_1Transactor.html">Transactor</a></div>
|
|
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno"> 154</span>{</div>
|
|
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"> 155</span><span class="keyword">public</span>:</div>
|
|
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"> 156</span> <span class="comment">// Blocker since we cannot accurately calculate the consequences</span></div>
|
|
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"><a class="line" href="classxrpl_1_1XChainAddClaimAttestation.html#a7eb598c3af0404238bee9c8d76147dc9"> 157</a></span> <span class="keyword">static</span> <span class="keyword">constexpr</span> <a class="code hl_enumeration" href="classxrpl_1_1Transactor.html#a9420945fd34d224b81b68fd3dcc9fed6">ConsequencesFactoryType</a> <a class="code hl_variable" href="classxrpl_1_1XChainAddClaimAttestation.html#a7eb598c3af0404238bee9c8d76147dc9">ConsequencesFactory</a>{<a class="code hl_enumvalue" href="classxrpl_1_1Transactor.html#a9420945fd34d224b81b68fd3dcc9fed6a44800ba5c609a32325ee77bfdca04937">Blocker</a>};</div>
|
|
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno"> 158</span> </div>
|
|
<div class="foldopen" id="foldopen00159" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno"><a class="line" href="classxrpl_1_1XChainAddClaimAttestation.html#a2cb6e9cfda4b7612ed153c055e629b6f"> 159</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="classxrpl_1_1XChainAddClaimAttestation.html#a2cb6e9cfda4b7612ed153c055e629b6f">XChainAddClaimAttestation</a>(<a class="code hl_class" href="classxrpl_1_1ApplyContext.html">ApplyContext</a>& ctx) : <a class="code hl_class" href="classxrpl_1_1Transactor.html">Transactor</a>(ctx)</div>
|
|
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno"> 160</span> {</div>
|
|
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno"> 161</span> }</div>
|
|
</div>
|
|
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno"> 162</span> </div>
|
|
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno"> 163</span> <span class="keyword">static</span> <a class="code hl_class" href="classxrpl_1_1TERSubset.html">NotTEC</a></div>
|
|
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno"> 164</span> <a class="code hl_function" href="classxrpl_1_1XChainAddClaimAttestation.html#aac7e2ae50fc56ea3f3978a9414ff27ee">preflight</a>(<a class="code hl_struct" href="structxrpl_1_1PreflightContext.html">PreflightContext</a> <span class="keyword">const</span>& ctx);</div>
|
|
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno"> 165</span> </div>
|
|
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno"> 166</span> <span class="keyword">static</span> <a class="code hl_class" href="classxrpl_1_1TERSubset.html">TER</a></div>
|
|
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno"> 167</span> <a class="code hl_function" href="classxrpl_1_1XChainAddClaimAttestation.html#a3f7bfe9efc76cac1b5d5cf94c769611f">preclaim</a>(<a class="code hl_struct" href="structxrpl_1_1PreclaimContext.html">PreclaimContext</a> <span class="keyword">const</span>& ctx);</div>
|
|
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno"> 168</span> </div>
|
|
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno"> 169</span> <a class="code hl_class" href="classxrpl_1_1TERSubset.html">TER</a></div>
|
|
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno"> 170</span> <a class="code hl_function" href="classxrpl_1_1XChainAddClaimAttestation.html#a75f6159b94f32a9e387229827ce9a94a">doApply</a>() <span class="keyword">override</span>;</div>
|
|
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno"> 171</span>};</div>
|
|
</div>
|
|
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno"> 172</span> </div>
|
|
<div class="foldopen" id="foldopen00173" data-start="{" data-end="};">
|
|
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno"><a class="line" href="classxrpl_1_1XChainAddAccountCreateAttestation.html"> 173</a></span><span class="keyword">class </span><a class="code hl_class" href="classxrpl_1_1XChainAddAccountCreateAttestation.html">XChainAddAccountCreateAttestation</a> : <span class="keyword">public</span> <a class="code hl_class" href="classxrpl_1_1Transactor.html">Transactor</a></div>
|
|
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno"> 174</span>{</div>
|
|
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno"> 175</span><span class="keyword">public</span>:</div>
|
|
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno"> 176</span> <span class="comment">// Blocker since we cannot accurately calculate the consequences</span></div>
|
|
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno"><a class="line" href="classxrpl_1_1XChainAddAccountCreateAttestation.html#a5cac8f211767c1d10f783b2ceaa1cf15"> 177</a></span> <span class="keyword">static</span> <span class="keyword">constexpr</span> <a class="code hl_enumeration" href="classxrpl_1_1Transactor.html#a9420945fd34d224b81b68fd3dcc9fed6">ConsequencesFactoryType</a> <a class="code hl_variable" href="classxrpl_1_1XChainAddAccountCreateAttestation.html#a5cac8f211767c1d10f783b2ceaa1cf15">ConsequencesFactory</a>{<a class="code hl_enumvalue" href="classxrpl_1_1Transactor.html#a9420945fd34d224b81b68fd3dcc9fed6a44800ba5c609a32325ee77bfdca04937">Blocker</a>};</div>
|
|
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno"> 178</span> </div>
|
|
<div class="foldopen" id="foldopen00179" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno"><a class="line" href="classxrpl_1_1XChainAddAccountCreateAttestation.html#a177d90f26c7c47bdb2f9e442a82a5d69"> 179</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="classxrpl_1_1XChainAddAccountCreateAttestation.html#a177d90f26c7c47bdb2f9e442a82a5d69">XChainAddAccountCreateAttestation</a>(<a class="code hl_class" href="classxrpl_1_1ApplyContext.html">ApplyContext</a>& ctx)</div>
|
|
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno"> 180</span> : <a class="code hl_class" href="classxrpl_1_1Transactor.html">Transactor</a>(ctx)</div>
|
|
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno"> 181</span> {</div>
|
|
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno"> 182</span> }</div>
|
|
</div>
|
|
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno"> 183</span> </div>
|
|
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno"> 184</span> <span class="keyword">static</span> <a class="code hl_class" href="classxrpl_1_1TERSubset.html">NotTEC</a></div>
|
|
<div class="line"><a id="l00185" name="l00185"></a><span class="lineno"> 185</span> <a class="code hl_function" href="classxrpl_1_1XChainAddAccountCreateAttestation.html#ac031fa77171ab9709c58b75205992109">preflight</a>(<a class="code hl_struct" href="structxrpl_1_1PreflightContext.html">PreflightContext</a> <span class="keyword">const</span>& ctx);</div>
|
|
<div class="line"><a id="l00186" name="l00186"></a><span class="lineno"> 186</span> </div>
|
|
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno"> 187</span> <span class="keyword">static</span> <a class="code hl_class" href="classxrpl_1_1TERSubset.html">TER</a></div>
|
|
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno"> 188</span> <a class="code hl_function" href="classxrpl_1_1XChainAddAccountCreateAttestation.html#a7161cbb7fc07b33ef4cf675ed94a2132">preclaim</a>(<a class="code hl_struct" href="structxrpl_1_1PreclaimContext.html">PreclaimContext</a> <span class="keyword">const</span>& ctx);</div>
|
|
<div class="line"><a id="l00189" name="l00189"></a><span class="lineno"> 189</span> </div>
|
|
<div class="line"><a id="l00190" name="l00190"></a><span class="lineno"> 190</span> <a class="code hl_class" href="classxrpl_1_1TERSubset.html">TER</a></div>
|
|
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno"> 191</span> <a class="code hl_function" href="classxrpl_1_1XChainAddAccountCreateAttestation.html#a782259859e9528040310775a2ffcec2a">doApply</a>() <span class="keyword">override</span>;</div>
|
|
<div class="line"><a id="l00192" name="l00192"></a><span class="lineno"> 192</span>};</div>
|
|
</div>
|
|
<div class="line"><a id="l00193" name="l00193"></a><span class="lineno"> 193</span> </div>
|
|
<div class="line"><a id="l00194" name="l00194"></a><span class="lineno"> 194</span><span class="comment">//------------------------------------------------------------------------------</span></div>
|
|
<div class="line"><a id="l00195" name="l00195"></a><span class="lineno"> 195</span> </div>
|
|
<div class="line"><a id="l00196" name="l00196"></a><span class="lineno"> 196</span><span class="comment">// This is a special transaction used for creating accounts through a</span></div>
|
|
<div class="line"><a id="l00197" name="l00197"></a><span class="lineno"> 197</span><span class="comment">// cross-chain transfer. A normal cross-chain transfer requires a "chain claim</span></div>
|
|
<div class="line"><a id="l00198" name="l00198"></a><span class="lineno"> 198</span><span class="comment">// id" (which requires an existing account on the destination chain). One</span></div>
|
|
<div class="line"><a id="l00199" name="l00199"></a><span class="lineno"> 199</span><span class="comment">// purpose of the "chain claim id" is to prevent transaction replay. For this</span></div>
|
|
<div class="line"><a id="l00200" name="l00200"></a><span class="lineno"> 200</span><span class="comment">// transaction, we use a different mechanism: the accounts must be claimed on</span></div>
|
|
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno"> 201</span><span class="comment">// the destination chain in the same order that the `XChainCreateAccountCommit`</span></div>
|
|
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno"> 202</span><span class="comment">// transactions occurred on the source chain.</span></div>
|
|
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno"> 203</span><span class="comment">//</span></div>
|
|
<div class="line"><a id="l00204" name="l00204"></a><span class="lineno"> 204</span><span class="comment">// This transaction can only be used for XRP to XRP bridges.</span></div>
|
|
<div class="line"><a id="l00205" name="l00205"></a><span class="lineno"> 205</span><span class="comment">//</span></div>
|
|
<div class="line"><a id="l00206" name="l00206"></a><span class="lineno"> 206</span><span class="comment">// IMPORTANT: This transaction should only be enabled if the witness</span></div>
|
|
<div class="line"><a id="l00207" name="l00207"></a><span class="lineno"> 207</span><span class="comment">// attestations will be reliably delivered to the destination chain. If the</span></div>
|
|
<div class="line"><a id="l00208" name="l00208"></a><span class="lineno"> 208</span><span class="comment">// signatures are not delivered (for example, the chain relies on user wallets</span></div>
|
|
<div class="line"><a id="l00209" name="l00209"></a><span class="lineno"> 209</span><span class="comment">// to collect signatures) then account creation would be blocked for all</span></div>
|
|
<div class="line"><a id="l00210" name="l00210"></a><span class="lineno"> 210</span><span class="comment">// transactions that happened after the one waiting on attestations. This could</span></div>
|
|
<div class="line"><a id="l00211" name="l00211"></a><span class="lineno"> 211</span><span class="comment">// be used maliciously. To disable this transaction on XRP to XRP bridges, the</span></div>
|
|
<div class="line"><a id="l00212" name="l00212"></a><span class="lineno"> 212</span><span class="comment">// bridge's `MinAccountCreateAmount` should not be present.</span></div>
|
|
<div class="line"><a id="l00213" name="l00213"></a><span class="lineno"> 213</span><span class="comment">//</span></div>
|
|
<div class="line"><a id="l00214" name="l00214"></a><span class="lineno"> 214</span><span class="comment">// Note: If this account already exists, the XRP is transferred to the existing</span></div>
|
|
<div class="line"><a id="l00215" name="l00215"></a><span class="lineno"> 215</span><span class="comment">// account. However, note that unlike the `XChainCommit` transaction, there is</span></div>
|
|
<div class="line"><a id="l00216" name="l00216"></a><span class="lineno"> 216</span><span class="comment">// no error handling mechanism. If the claim transaction fails, there is no</span></div>
|
|
<div class="line"><a id="l00217" name="l00217"></a><span class="lineno"> 217</span><span class="comment">// mechanism for refunds. The funds are permanently lost. This transaction</span></div>
|
|
<div class="line"><a id="l00218" name="l00218"></a><span class="lineno"> 218</span><span class="comment">// should still only be used for account creation.</span></div>
|
|
<div class="foldopen" id="foldopen00219" data-start="{" data-end="};">
|
|
<div class="line"><a id="l00219" name="l00219"></a><span class="lineno"><a class="line" href="classxrpl_1_1XChainCreateAccountCommit.html"> 219</a></span><span class="keyword">class </span><a class="code hl_class" href="classxrpl_1_1XChainCreateAccountCommit.html">XChainCreateAccountCommit</a> : <span class="keyword">public</span> <a class="code hl_class" href="classxrpl_1_1Transactor.html">Transactor</a></div>
|
|
<div class="line"><a id="l00220" name="l00220"></a><span class="lineno"> 220</span>{</div>
|
|
<div class="line"><a id="l00221" name="l00221"></a><span class="lineno"> 221</span><span class="keyword">public</span>:</div>
|
|
<div class="line"><a id="l00222" name="l00222"></a><span class="lineno"><a class="line" href="classxrpl_1_1XChainCreateAccountCommit.html#af4bf7fea31b434df02c4ce5951bb063e"> 222</a></span> <span class="keyword">static</span> <span class="keyword">constexpr</span> <a class="code hl_enumeration" href="classxrpl_1_1Transactor.html#a9420945fd34d224b81b68fd3dcc9fed6">ConsequencesFactoryType</a> <a class="code hl_variable" href="classxrpl_1_1XChainCreateAccountCommit.html#af4bf7fea31b434df02c4ce5951bb063e">ConsequencesFactory</a>{<a class="code hl_enumvalue" href="classxrpl_1_1Transactor.html#a9420945fd34d224b81b68fd3dcc9fed6a325a214ee7e0a8b0a0ceb47477d57221">Normal</a>};</div>
|
|
<div class="line"><a id="l00223" name="l00223"></a><span class="lineno"> 223</span> </div>
|
|
<div class="foldopen" id="foldopen00224" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00224" name="l00224"></a><span class="lineno"><a class="line" href="classxrpl_1_1XChainCreateAccountCommit.html#a5d8e01311a804d439dc3755b10b5897b"> 224</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="classxrpl_1_1XChainCreateAccountCommit.html#a5d8e01311a804d439dc3755b10b5897b">XChainCreateAccountCommit</a>(<a class="code hl_class" href="classxrpl_1_1ApplyContext.html">ApplyContext</a>& ctx) : <a class="code hl_class" href="classxrpl_1_1Transactor.html">Transactor</a>(ctx)</div>
|
|
<div class="line"><a id="l00225" name="l00225"></a><span class="lineno"> 225</span> {</div>
|
|
<div class="line"><a id="l00226" name="l00226"></a><span class="lineno"> 226</span> }</div>
|
|
</div>
|
|
<div class="line"><a id="l00227" name="l00227"></a><span class="lineno"> 227</span> </div>
|
|
<div class="line"><a id="l00228" name="l00228"></a><span class="lineno"> 228</span> <span class="keyword">static</span> <a class="code hl_class" href="classxrpl_1_1TERSubset.html">NotTEC</a></div>
|
|
<div class="line"><a id="l00229" name="l00229"></a><span class="lineno"> 229</span> <a class="code hl_function" href="classxrpl_1_1XChainCreateAccountCommit.html#a96d5571247c0bbabc7532d44f3269c22">preflight</a>(<a class="code hl_struct" href="structxrpl_1_1PreflightContext.html">PreflightContext</a> <span class="keyword">const</span>& ctx);</div>
|
|
<div class="line"><a id="l00230" name="l00230"></a><span class="lineno"> 230</span> </div>
|
|
<div class="line"><a id="l00231" name="l00231"></a><span class="lineno"> 231</span> <span class="keyword">static</span> <a class="code hl_class" href="classxrpl_1_1TERSubset.html">TER</a></div>
|
|
<div class="line"><a id="l00232" name="l00232"></a><span class="lineno"> 232</span> <a class="code hl_function" href="classxrpl_1_1XChainCreateAccountCommit.html#a754618b8883bee11c7dab40c8202b8ea">preclaim</a>(<a class="code hl_struct" href="structxrpl_1_1PreclaimContext.html">PreclaimContext</a> <span class="keyword">const</span>& ctx);</div>
|
|
<div class="line"><a id="l00233" name="l00233"></a><span class="lineno"> 233</span> </div>
|
|
<div class="line"><a id="l00234" name="l00234"></a><span class="lineno"> 234</span> <a class="code hl_class" href="classxrpl_1_1TERSubset.html">TER</a></div>
|
|
<div class="line"><a id="l00235" name="l00235"></a><span class="lineno"> 235</span> <a class="code hl_function" href="classxrpl_1_1XChainCreateAccountCommit.html#a5f6f46ca7a008ab3f4885edea9297236">doApply</a>() <span class="keyword">override</span>;</div>
|
|
<div class="line"><a id="l00236" name="l00236"></a><span class="lineno"> 236</span>};</div>
|
|
</div>
|
|
<div class="line"><a id="l00237" name="l00237"></a><span class="lineno"> 237</span> </div>
|
|
<div class="line"><a id="l00238" name="l00238"></a><span class="lineno"><a class="line" href="namespacexrpl.html#a070b162b025dfa8958ffcb1839f1fa52"> 238</a></span><span class="keyword">using </span><a class="code hl_class" href="classxrpl_1_1XChainCreateAccountCommit.html">XChainAccountCreateCommit</a> = <a class="code hl_class" href="classxrpl_1_1XChainCreateAccountCommit.html">XChainCreateAccountCommit</a>;</div>
|
|
<div class="line"><a id="l00239" name="l00239"></a><span class="lineno"> 239</span> </div>
|
|
<div class="line"><a id="l00240" name="l00240"></a><span class="lineno"> 240</span><span class="comment">//------------------------------------------------------------------------------</span></div>
|
|
<div class="line"><a id="l00241" name="l00241"></a><span class="lineno"> 241</span> </div>
|
|
<div class="line"><a id="l00242" name="l00242"></a><span class="lineno"> 242</span>} <span class="comment">// namespace xrpl</span></div>
|
|
<div class="line"><a id="l00243" name="l00243"></a><span class="lineno"> 243</span> </div>
|
|
<div class="line"><a id="l00244" name="l00244"></a><span class="lineno"> 244</span><span class="preprocessor">#endif</span></div>
|
|
<div class="ttc" id="aclassxrpl_1_1ApplyContext_html"><div class="ttname"><a href="classxrpl_1_1ApplyContext.html">xrpl::ApplyContext</a></div><div class="ttdoc">State information when applying a tx.</div><div class="ttdef"><b>Definition</b> <a href="ApplyContext_8h_source.html#l00017">ApplyContext.h:18</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1BridgeModify_html"><div class="ttname"><a href="classxrpl_1_1BridgeModify.html">xrpl::BridgeModify</a></div><div class="ttdef"><b>Definition</b> <a href="XChainBridge_8h_source.html#l00033">XChainBridge.h:34</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1BridgeModify_html_a0dcf3f1faaa6b1204446b5e21f245241"><div class="ttname"><a href="classxrpl_1_1BridgeModify.html#a0dcf3f1faaa6b1204446b5e21f245241">xrpl::BridgeModify::doApply</a></div><div class="ttdeci">TER doApply() override</div><div class="ttdef"><b>Definition</b> <a href="XChainBridge_8cpp_source.html#l01591">XChainBridge.cpp:1591</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1BridgeModify_html_a1b64fe31dee09fbd32a8b8a2c6ca06d3"><div class="ttname"><a href="classxrpl_1_1BridgeModify.html#a1b64fe31dee09fbd32a8b8a2c6ca06d3">xrpl::BridgeModify::ConsequencesFactory</a></div><div class="ttdeci">static constexpr ConsequencesFactoryType ConsequencesFactory</div><div class="ttdef"><b>Definition</b> <a href="XChainBridge_8h_source.html#l00036">XChainBridge.h:36</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1BridgeModify_html_a2cbac1470b3cabe59fd1d75c5afd3cb0"><div class="ttname"><a href="classxrpl_1_1BridgeModify.html#a2cbac1470b3cabe59fd1d75c5afd3cb0">xrpl::BridgeModify::BridgeModify</a></div><div class="ttdeci">BridgeModify(ApplyContext &ctx)</div><div class="ttdef"><b>Definition</b> <a href="XChainBridge_8h_source.html#l00038">XChainBridge.h:38</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1BridgeModify_html_a5f2a8b26d4747e8a14ad1a079c95735d"><div class="ttname"><a href="classxrpl_1_1BridgeModify.html#a5f2a8b26d4747e8a14ad1a079c95735d">xrpl::BridgeModify::getFlagsMask</a></div><div class="ttdeci">static std::uint32_t getFlagsMask(PreflightContext const &ctx)</div><div class="ttdef"><b>Definition</b> <a href="XChainBridge_8cpp_source.html#l01524">XChainBridge.cpp:1524</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1BridgeModify_html_ac1596412feff7c254b48c8862371200c"><div class="ttname"><a href="classxrpl_1_1BridgeModify.html#ac1596412feff7c254b48c8862371200c">xrpl::BridgeModify::preclaim</a></div><div class="ttdeci">static TER preclaim(PreclaimContext const &ctx)</div><div class="ttdef"><b>Definition</b> <a href="XChainBridge_8cpp_source.html#l01574">XChainBridge.cpp:1574</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1BridgeModify_html_afcd8a962b9a8e32f25af8e5dedf20098"><div class="ttname"><a href="classxrpl_1_1BridgeModify.html#afcd8a962b9a8e32f25af8e5dedf20098">xrpl::BridgeModify::preflight</a></div><div class="ttdeci">static NotTEC preflight(PreflightContext const &ctx)</div><div class="ttdef"><b>Definition</b> <a href="XChainBridge_8cpp_source.html#l01530">XChainBridge.cpp:1530</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1TERSubset_html"><div class="ttname"><a href="classxrpl_1_1TERSubset.html">xrpl::TERSubset</a></div><div class="ttdef"><b>Definition</b> <a href="TER_8h_source.html#l00395">TER.h:396</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1Transactor_html"><div class="ttname"><a href="classxrpl_1_1Transactor.html">xrpl::Transactor</a></div><div class="ttdef"><b>Definition</b> <a href="Transactor_8h_source.html#l00121">Transactor.h:122</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1Transactor_html_a9420945fd34d224b81b68fd3dcc9fed6"><div class="ttname"><a href="classxrpl_1_1Transactor.html#a9420945fd34d224b81b68fd3dcc9fed6">xrpl::Transactor::ConsequencesFactoryType</a></div><div class="ttdeci">ConsequencesFactoryType</div><div class="ttdef"><b>Definition</b> <a href="Transactor_8h_source.html#l00138">Transactor.h:138</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1Transactor_html_a9420945fd34d224b81b68fd3dcc9fed6a0512ccca18ad134fcb5eec993d41603a"><div class="ttname"><a href="classxrpl_1_1Transactor.html#a9420945fd34d224b81b68fd3dcc9fed6a0512ccca18ad134fcb5eec993d41603a">xrpl::Transactor::Custom</a></div><div class="ttdeci">@ Custom</div><div class="ttdef"><b>Definition</b> <a href="Transactor_8h_source.html#l00138">Transactor.h:138</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1Transactor_html_a9420945fd34d224b81b68fd3dcc9fed6a325a214ee7e0a8b0a0ceb47477d57221"><div class="ttname"><a href="classxrpl_1_1Transactor.html#a9420945fd34d224b81b68fd3dcc9fed6a325a214ee7e0a8b0a0ceb47477d57221">xrpl::Transactor::Normal</a></div><div class="ttdeci">@ Normal</div><div class="ttdef"><b>Definition</b> <a href="Transactor_8h_source.html#l00138">Transactor.h:138</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1Transactor_html_a9420945fd34d224b81b68fd3dcc9fed6a44800ba5c609a32325ee77bfdca04937"><div class="ttname"><a href="classxrpl_1_1Transactor.html#a9420945fd34d224b81b68fd3dcc9fed6a44800ba5c609a32325ee77bfdca04937">xrpl::Transactor::Blocker</a></div><div class="ttdeci">@ Blocker</div><div class="ttdef"><b>Definition</b> <a href="Transactor_8h_source.html#l00138">Transactor.h:138</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1TxConsequences_html"><div class="ttname"><a href="classxrpl_1_1TxConsequences.html">xrpl::TxConsequences</a></div><div class="ttdoc">Class describing the consequences to the account of applying a transaction if the transaction consume...</div><div class="ttdef"><b>Definition</b> <a href="applySteps_8h_source.html#l00038">applySteps.h:39</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1XChainAddAccountCreateAttestation_html"><div class="ttname"><a href="classxrpl_1_1XChainAddAccountCreateAttestation.html">xrpl::XChainAddAccountCreateAttestation</a></div><div class="ttdef"><b>Definition</b> <a href="XChainBridge_8h_source.html#l00173">XChainBridge.h:174</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1XChainAddAccountCreateAttestation_html_a177d90f26c7c47bdb2f9e442a82a5d69"><div class="ttname"><a href="classxrpl_1_1XChainAddAccountCreateAttestation.html#a177d90f26c7c47bdb2f9e442a82a5d69">xrpl::XChainAddAccountCreateAttestation::XChainAddAccountCreateAttestation</a></div><div class="ttdeci">XChainAddAccountCreateAttestation(ApplyContext &ctx)</div><div class="ttdef"><b>Definition</b> <a href="XChainBridge_8h_source.html#l00179">XChainBridge.h:179</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1XChainAddAccountCreateAttestation_html_a5cac8f211767c1d10f783b2ceaa1cf15"><div class="ttname"><a href="classxrpl_1_1XChainAddAccountCreateAttestation.html#a5cac8f211767c1d10f783b2ceaa1cf15">xrpl::XChainAddAccountCreateAttestation::ConsequencesFactory</a></div><div class="ttdeci">static constexpr ConsequencesFactoryType ConsequencesFactory</div><div class="ttdef"><b>Definition</b> <a href="XChainBridge_8h_source.html#l00177">XChainBridge.h:177</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1XChainAddAccountCreateAttestation_html_a7161cbb7fc07b33ef4cf675ed94a2132"><div class="ttname"><a href="classxrpl_1_1XChainAddAccountCreateAttestation.html#a7161cbb7fc07b33ef4cf675ed94a2132">xrpl::XChainAddAccountCreateAttestation::preclaim</a></div><div class="ttdeci">static TER preclaim(PreclaimContext const &ctx)</div><div class="ttdef"><b>Definition</b> <a href="XChainBridge_8cpp_source.html#l02103">XChainBridge.cpp:2103</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1XChainAddAccountCreateAttestation_html_a782259859e9528040310775a2ffcec2a"><div class="ttname"><a href="classxrpl_1_1XChainAddAccountCreateAttestation.html#a782259859e9528040310775a2ffcec2a">xrpl::XChainAddAccountCreateAttestation::doApply</a></div><div class="ttdeci">TER doApply() override</div><div class="ttdef"><b>Definition</b> <a href="XChainBridge_8cpp_source.html#l02109">XChainBridge.cpp:2109</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1XChainAddAccountCreateAttestation_html_ac031fa77171ab9709c58b75205992109"><div class="ttname"><a href="classxrpl_1_1XChainAddAccountCreateAttestation.html#ac031fa77171ab9709c58b75205992109">xrpl::XChainAddAccountCreateAttestation::preflight</a></div><div class="ttdeci">static NotTEC preflight(PreflightContext const &ctx)</div><div class="ttdef"><b>Definition</b> <a href="XChainBridge_8cpp_source.html#l02097">XChainBridge.cpp:2097</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1XChainAddClaimAttestation_html"><div class="ttname"><a href="classxrpl_1_1XChainAddClaimAttestation.html">xrpl::XChainAddClaimAttestation</a></div><div class="ttdef"><b>Definition</b> <a href="XChainBridge_8h_source.html#l00153">XChainBridge.h:154</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1XChainAddClaimAttestation_html_a2cb6e9cfda4b7612ed153c055e629b6f"><div class="ttname"><a href="classxrpl_1_1XChainAddClaimAttestation.html#a2cb6e9cfda4b7612ed153c055e629b6f">xrpl::XChainAddClaimAttestation::XChainAddClaimAttestation</a></div><div class="ttdeci">XChainAddClaimAttestation(ApplyContext &ctx)</div><div class="ttdef"><b>Definition</b> <a href="XChainBridge_8h_source.html#l00159">XChainBridge.h:159</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1XChainAddClaimAttestation_html_a3f7bfe9efc76cac1b5d5cf94c769611f"><div class="ttname"><a href="classxrpl_1_1XChainAddClaimAttestation.html#a3f7bfe9efc76cac1b5d5cf94c769611f">xrpl::XChainAddClaimAttestation::preclaim</a></div><div class="ttdeci">static TER preclaim(PreclaimContext const &ctx)</div><div class="ttdef"><b>Definition</b> <a href="XChainBridge_8cpp_source.html#l02083">XChainBridge.cpp:2083</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1XChainAddClaimAttestation_html_a75f6159b94f32a9e387229827ce9a94a"><div class="ttname"><a href="classxrpl_1_1XChainAddClaimAttestation.html#a75f6159b94f32a9e387229827ce9a94a">xrpl::XChainAddClaimAttestation::doApply</a></div><div class="ttdeci">TER doApply() override</div><div class="ttdef"><b>Definition</b> <a href="XChainBridge_8cpp_source.html#l02089">XChainBridge.cpp:2089</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1XChainAddClaimAttestation_html_a7eb598c3af0404238bee9c8d76147dc9"><div class="ttname"><a href="classxrpl_1_1XChainAddClaimAttestation.html#a7eb598c3af0404238bee9c8d76147dc9">xrpl::XChainAddClaimAttestation::ConsequencesFactory</a></div><div class="ttdeci">static constexpr ConsequencesFactoryType ConsequencesFactory</div><div class="ttdef"><b>Definition</b> <a href="XChainBridge_8h_source.html#l00157">XChainBridge.h:157</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1XChainAddClaimAttestation_html_aac7e2ae50fc56ea3f3978a9414ff27ee"><div class="ttname"><a href="classxrpl_1_1XChainAddClaimAttestation.html#aac7e2ae50fc56ea3f3978a9414ff27ee">xrpl::XChainAddClaimAttestation::preflight</a></div><div class="ttdeci">static NotTEC preflight(PreflightContext const &ctx)</div><div class="ttdef"><b>Definition</b> <a href="XChainBridge_8cpp_source.html#l02077">XChainBridge.cpp:2077</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1XChainClaim_html"><div class="ttname"><a href="classxrpl_1_1XChainClaim.html">xrpl::XChainClaim</a></div><div class="ttdef"><b>Definition</b> <a href="XChainBridge_8h_source.html#l00068">XChainBridge.h:69</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1XChainClaim_html_a00d588eca428bdc9bc0b6f3d689b6fc8"><div class="ttname"><a href="classxrpl_1_1XChainClaim.html#a00d588eca428bdc9bc0b6f3d689b6fc8">xrpl::XChainClaim::XChainClaim</a></div><div class="ttdeci">XChainClaim(ApplyContext &ctx)</div><div class="ttdef"><b>Definition</b> <a href="XChainBridge_8h_source.html#l00074">XChainBridge.h:74</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1XChainClaim_html_a406971441b45c55c4442d3e006b9512f"><div class="ttname"><a href="classxrpl_1_1XChainClaim.html#a406971441b45c55c4442d3e006b9512f">xrpl::XChainClaim::preclaim</a></div><div class="ttdeci">static TER preclaim(PreclaimContext const &ctx)</div><div class="ttdef"><b>Definition</b> <a href="XChainBridge_8cpp_source.html#l01647">XChainBridge.cpp:1647</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1XChainClaim_html_a7642aac34603fd8667fb2940a93ac0fb"><div class="ttname"><a href="classxrpl_1_1XChainClaim.html#a7642aac34603fd8667fb2940a93ac0fb">xrpl::XChainClaim::doApply</a></div><div class="ttdeci">TER doApply() override</div><div class="ttdef"><b>Definition</b> <a href="XChainBridge_8cpp_source.html#l01731">XChainBridge.cpp:1731</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1XChainClaim_html_a8ef34187acdb80e2f519a46779cd5057"><div class="ttname"><a href="classxrpl_1_1XChainClaim.html#a8ef34187acdb80e2f519a46779cd5057">xrpl::XChainClaim::ConsequencesFactory</a></div><div class="ttdeci">static constexpr ConsequencesFactoryType ConsequencesFactory</div><div class="ttdef"><b>Definition</b> <a href="XChainBridge_8h_source.html#l00072">XChainBridge.h:72</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1XChainClaim_html_a9aba956a33012bb7479d28833bf79753"><div class="ttname"><a href="classxrpl_1_1XChainClaim.html#a9aba956a33012bb7479d28833bf79753">xrpl::XChainClaim::preflight</a></div><div class="ttdeci">static NotTEC preflight(PreflightContext const &ctx)</div><div class="ttdef"><b>Definition</b> <a href="XChainBridge_8cpp_source.html#l01631">XChainBridge.cpp:1631</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1XChainCommit_html"><div class="ttname"><a href="classxrpl_1_1XChainCommit.html">xrpl::XChainCommit</a></div><div class="ttdef"><b>Definition</b> <a href="XChainBridge_8h_source.html#l00093">XChainBridge.h:94</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1XChainCommit_html_a2478327b5e76e04d89e49d9dff4c0657"><div class="ttname"><a href="classxrpl_1_1XChainCommit.html#a2478327b5e76e04d89e49d9dff4c0657">xrpl::XChainCommit::XChainCommit</a></div><div class="ttdeci">XChainCommit(ApplyContext &ctx)</div><div class="ttdef"><b>Definition</b> <a href="XChainBridge_8h_source.html#l00101">XChainBridge.h:101</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1XChainCommit_html_a5c8948e17ba80dfd9b58e71e00fc6fcb"><div class="ttname"><a href="classxrpl_1_1XChainCommit.html#a5c8948e17ba80dfd9b58e71e00fc6fcb">xrpl::XChainCommit::preclaim</a></div><div class="ttdeci">static TER preclaim(PreclaimContext const &ctx)</div><div class="ttdef"><b>Definition</b> <a href="XChainBridge_8cpp_source.html#l01876">XChainBridge.cpp:1876</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1XChainCommit_html_a695b8e7b8d8e415c32f48462a6a392c7"><div class="ttname"><a href="classxrpl_1_1XChainCommit.html#a695b8e7b8d8e415c32f48462a6a392c7">xrpl::XChainCommit::preflight</a></div><div class="ttdeci">static NotTEC preflight(PreflightContext const &ctx)</div><div class="ttdef"><b>Definition</b> <a href="XChainBridge_8cpp_source.html#l01860">XChainBridge.cpp:1860</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1XChainCommit_html_aaa187c6c683245992d7bb5cb6b2bf2f5"><div class="ttname"><a href="classxrpl_1_1XChainCommit.html#aaa187c6c683245992d7bb5cb6b2bf2f5">xrpl::XChainCommit::doApply</a></div><div class="ttdeci">TER doApply() override</div><div class="ttdef"><b>Definition</b> <a href="XChainBridge_8cpp_source.html#l01921">XChainBridge.cpp:1921</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1XChainCommit_html_aee9bf4fcceb44e61fb9bbb1fb997e351"><div class="ttname"><a href="classxrpl_1_1XChainCommit.html#aee9bf4fcceb44e61fb9bbb1fb997e351">xrpl::XChainCommit::ConsequencesFactory</a></div><div class="ttdeci">static constexpr ConsequencesFactoryType ConsequencesFactory</div><div class="ttdef"><b>Definition</b> <a href="XChainBridge_8h_source.html#l00096">XChainBridge.h:96</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1XChainCommit_html_af7d40b753de65781a71234822bf17318"><div class="ttname"><a href="classxrpl_1_1XChainCommit.html#af7d40b753de65781a71234822bf17318">xrpl::XChainCommit::makeTxConsequences</a></div><div class="ttdeci">static TxConsequences makeTxConsequences(PreflightContext const &ctx)</div><div class="ttdef"><b>Definition</b> <a href="XChainBridge_8cpp_source.html#l01847">XChainBridge.cpp:1847</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1XChainCreateAccountCommit_html"><div class="ttname"><a href="classxrpl_1_1XChainCreateAccountCommit.html">xrpl::XChainCreateAccountCommit</a></div><div class="ttdef"><b>Definition</b> <a href="XChainBridge_8h_source.html#l00219">XChainBridge.h:220</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1XChainCreateAccountCommit_html_a5d8e01311a804d439dc3755b10b5897b"><div class="ttname"><a href="classxrpl_1_1XChainCreateAccountCommit.html#a5d8e01311a804d439dc3755b10b5897b">xrpl::XChainCreateAccountCommit::XChainCreateAccountCommit</a></div><div class="ttdeci">XChainCreateAccountCommit(ApplyContext &ctx)</div><div class="ttdef"><b>Definition</b> <a href="XChainBridge_8h_source.html#l00224">XChainBridge.h:224</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1XChainCreateAccountCommit_html_a5f6f46ca7a008ab3f4885edea9297236"><div class="ttname"><a href="classxrpl_1_1XChainCreateAccountCommit.html#a5f6f46ca7a008ab3f4885edea9297236">xrpl::XChainCreateAccountCommit::doApply</a></div><div class="ttdeci">TER doApply() override</div><div class="ttdef"><b>Definition</b> <a href="XChainBridge_8cpp_source.html#l02194">XChainBridge.cpp:2194</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1XChainCreateAccountCommit_html_a754618b8883bee11c7dab40c8202b8ea"><div class="ttname"><a href="classxrpl_1_1XChainCreateAccountCommit.html#a754618b8883bee11c7dab40c8202b8ea">xrpl::XChainCreateAccountCommit::preclaim</a></div><div class="ttdeci">static TER preclaim(PreclaimContext const &ctx)</div><div class="ttdef"><b>Definition</b> <a href="XChainBridge_8cpp_source.html#l02135">XChainBridge.cpp:2135</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1XChainCreateAccountCommit_html_a96d5571247c0bbabc7532d44f3269c22"><div class="ttname"><a href="classxrpl_1_1XChainCreateAccountCommit.html#a96d5571247c0bbabc7532d44f3269c22">xrpl::XChainCreateAccountCommit::preflight</a></div><div class="ttdeci">static NotTEC preflight(PreflightContext const &ctx)</div><div class="ttdef"><b>Definition</b> <a href="XChainBridge_8cpp_source.html#l02117">XChainBridge.cpp:2117</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1XChainCreateAccountCommit_html_af4bf7fea31b434df02c4ce5951bb063e"><div class="ttname"><a href="classxrpl_1_1XChainCreateAccountCommit.html#af4bf7fea31b434df02c4ce5951bb063e">xrpl::XChainCreateAccountCommit::ConsequencesFactory</a></div><div class="ttdeci">static constexpr ConsequencesFactoryType ConsequencesFactory</div><div class="ttdef"><b>Definition</b> <a href="XChainBridge_8h_source.html#l00222">XChainBridge.h:222</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1XChainCreateBridge_html"><div class="ttname"><a href="classxrpl_1_1XChainCreateBridge.html">xrpl::XChainCreateBridge</a></div><div class="ttdef"><b>Definition</b> <a href="XChainBridge_8h_source.html#l00014">XChainBridge.h:15</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1XChainCreateBridge_html_a560a25aba192fd44a72a10ffdbbe7ce2"><div class="ttname"><a href="classxrpl_1_1XChainCreateBridge.html#a560a25aba192fd44a72a10ffdbbe7ce2">xrpl::XChainCreateBridge::ConsequencesFactory</a></div><div class="ttdeci">static constexpr ConsequencesFactoryType ConsequencesFactory</div><div class="ttdef"><b>Definition</b> <a href="XChainBridge_8h_source.html#l00017">XChainBridge.h:17</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1XChainCreateBridge_html_a6174d8722749e753ba9b965007bb51b7"><div class="ttname"><a href="classxrpl_1_1XChainCreateBridge.html#a6174d8722749e753ba9b965007bb51b7">xrpl::XChainCreateBridge::preflight</a></div><div class="ttdeci">static NotTEC preflight(PreflightContext const &ctx)</div><div class="ttdef"><b>Definition</b> <a href="XChainBridge_8cpp_source.html#l01352">XChainBridge.cpp:1352</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1XChainCreateBridge_html_a70440aef1f907da6a5858dfe4163e25c"><div class="ttname"><a href="classxrpl_1_1XChainCreateBridge.html#a70440aef1f907da6a5858dfe4163e25c">xrpl::XChainCreateBridge::preclaim</a></div><div class="ttdeci">static TER preclaim(PreclaimContext const &ctx)</div><div class="ttdef"><b>Definition</b> <a href="XChainBridge_8cpp_source.html#l01427">XChainBridge.cpp:1427</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1XChainCreateBridge_html_ab0358a6226a10a142bc632711604e165"><div class="ttname"><a href="classxrpl_1_1XChainCreateBridge.html#ab0358a6226a10a142bc632711604e165">xrpl::XChainCreateBridge::doApply</a></div><div class="ttdeci">TER doApply() override</div><div class="ttdef"><b>Definition</b> <a href="XChainBridge_8cpp_source.html#l01478">XChainBridge.cpp:1478</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1XChainCreateBridge_html_adc3a51e6f1f0b83a84854a4940111486"><div class="ttname"><a href="classxrpl_1_1XChainCreateBridge.html#adc3a51e6f1f0b83a84854a4940111486">xrpl::XChainCreateBridge::XChainCreateBridge</a></div><div class="ttdeci">XChainCreateBridge(ApplyContext &ctx)</div><div class="ttdef"><b>Definition</b> <a href="XChainBridge_8h_source.html#l00019">XChainBridge.h:19</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1XChainCreateClaimID_html"><div class="ttname"><a href="classxrpl_1_1XChainCreateClaimID.html">xrpl::XChainCreateClaimID</a></div><div class="ttdef"><b>Definition</b> <a href="XChainBridge_8h_source.html#l00125">XChainBridge.h:126</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1XChainCreateClaimID_html_a4f2c73c2f87e2d9b3f17a64763a6cabd"><div class="ttname"><a href="classxrpl_1_1XChainCreateClaimID.html#a4f2c73c2f87e2d9b3f17a64763a6cabd">xrpl::XChainCreateClaimID::doApply</a></div><div class="ttdeci">TER doApply() override</div><div class="ttdef"><b>Definition</b> <a href="XChainBridge_8cpp_source.html#l02013">XChainBridge.cpp:2013</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1XChainCreateClaimID_html_a91cd6f3ecf4bf663cf4ea9ccb50d468a"><div class="ttname"><a href="classxrpl_1_1XChainCreateClaimID.html#a91cd6f3ecf4bf663cf4ea9ccb50d468a">xrpl::XChainCreateClaimID::preclaim</a></div><div class="ttdeci">static TER preclaim(PreclaimContext const &ctx)</div><div class="ttdef"><b>Definition</b> <a href="XChainBridge_8cpp_source.html#l01976">XChainBridge.cpp:1976</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1XChainCreateClaimID_html_a9f046648015d6cefcfb1560543580371"><div class="ttname"><a href="classxrpl_1_1XChainCreateClaimID.html#a9f046648015d6cefcfb1560543580371">xrpl::XChainCreateClaimID::preflight</a></div><div class="ttdeci">static NotTEC preflight(PreflightContext const &ctx)</div><div class="ttdef"><b>Definition</b> <a href="XChainBridge_8cpp_source.html#l01965">XChainBridge.cpp:1965</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1XChainCreateClaimID_html_ade0ffbe54a02ef21ef4cc2a8cec666a4"><div class="ttname"><a href="classxrpl_1_1XChainCreateClaimID.html#ade0ffbe54a02ef21ef4cc2a8cec666a4">xrpl::XChainCreateClaimID::ConsequencesFactory</a></div><div class="ttdeci">static constexpr ConsequencesFactoryType ConsequencesFactory</div><div class="ttdef"><b>Definition</b> <a href="XChainBridge_8h_source.html#l00128">XChainBridge.h:128</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1XChainCreateClaimID_html_aec7ca16830d7d34fb138480a5984f6df"><div class="ttname"><a href="classxrpl_1_1XChainCreateClaimID.html#aec7ca16830d7d34fb138480a5984f6df">xrpl::XChainCreateClaimID::XChainCreateClaimID</a></div><div class="ttdeci">XChainCreateClaimID(ApplyContext &ctx)</div><div class="ttdef"><b>Definition</b> <a href="XChainBridge_8h_source.html#l00130">XChainBridge.h:130</a></div></div>
|
|
<div class="ttc" id="ainteger_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a></div></div>
|
|
<div class="ttc" id="anamespacexrpl_html"><div class="ttname"><a href="namespacexrpl.html">xrpl</a></div><div class="ttdoc">Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.</div><div class="ttdef"><b>Definition</b> <a href="algorithm_8h_source.html#l00006">algorithm.h:6</a></div></div>
|
|
<div class="ttc" id="anamespacexrpl_html_ae3de4add9bd1e9877a81a6c131fd50a1"><div class="ttname"><a href="namespacexrpl.html#ae3de4add9bd1e9877a81a6c131fd50a1">xrpl::xbridgeMaxAccountCreateClaims</a></div><div class="ttdeci">constexpr size_t xbridgeMaxAccountCreateClaims</div><div class="ttdef"><b>Definition</b> <a href="XChainBridge_8h_source.html#l00010">XChainBridge.h:10</a></div></div>
|
|
<div class="ttc" id="astructxrpl_1_1PreclaimContext_html"><div class="ttname"><a href="structxrpl_1_1PreclaimContext.html">xrpl::PreclaimContext</a></div><div class="ttdoc">State information when determining if a tx is likely to claim a fee.</div><div class="ttdef"><b>Definition</b> <a href="Transactor_8h_source.html#l00060">Transactor.h:61</a></div></div>
|
|
<div class="ttc" id="astructxrpl_1_1PreflightContext_html"><div class="ttname"><a href="structxrpl_1_1PreflightContext.html">xrpl::PreflightContext</a></div><div class="ttdoc">State information when preflighting a tx.</div><div class="ttdef"><b>Definition</b> <a href="Transactor_8h_source.html#l00015">Transactor.h:16</a></div></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
|
|
</small></address>
|
|
</body>
|
|
</html>
|