-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdice_8hpp_source.html
110 lines (108 loc) · 25.6 KB
/
dice_8hpp_source.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>EOS.IO: contracts/dice/dice.hpp 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 style="height: 56px;">
<td id="projectlogo"><img alt="Logo" src="eos-logo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">EOS.IO
 <span id="projectnumber">DAWN2.0.1</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- 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">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_ae9b15dd87e066e1908bbd90e8f38627.html">contracts</a></li><li class="navelem"><a class="el" href="dir_df9ec5dd3eb98ed2672871667d1ff010.html">dice</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">dice.hpp</div> </div>
</div><!--header-->
<div class="contents">
<a href="dice_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> </div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="keyword">namespace </span><a class="code" href="namespacedice.html">dice</a> {</div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> </div><div class="line"><a name="l00008"></a><span class="lineno"><a class="line" href="structdice_1_1offer__bet.html"> 8</a></span>  <span class="keyword">struct </span><a class="code" href="structdice_1_1offer__bet.html">offer_bet</a> {</div><div class="line"><a name="l00009"></a><span class="lineno"><a class="line" href="structdice_1_1offer__bet.html#ad777bd036a0b12139b1311b7b3deb8f1"> 9</a></span>  <a class="code" href="structeosio_1_1token.html">eosio::tokens</a> <a class="code" href="structdice_1_1offer__bet.html#ad777bd036a0b12139b1311b7b3deb8f1">amount</a>;</div><div class="line"><a name="l00010"></a><span class="lineno"><a class="line" href="structdice_1_1offer__bet.html#a1f0a6ea64b8192dcdaf4f063252027d1"> 10</a></span>  <a class="code" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a> <a class="code" href="structdice_1_1offer__bet.html#a1f0a6ea64b8192dcdaf4f063252027d1">player</a>;</div><div class="line"><a name="l00011"></a><span class="lineno"><a class="line" href="structdice_1_1offer__bet.html#a6152a62e3303f0cae43d6ae214c0f85c"> 11</a></span>  <a class="code" href="structuint256.html">uint256</a> <a class="code" href="structdice_1_1offer__bet.html#a6152a62e3303f0cae43d6ae214c0f85c">commitment</a>;</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>  };</div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> </div><div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="structdice_1_1cancel__offer.html"> 14</a></span>  <span class="keyword">struct </span><a class="code" href="structdice_1_1cancel__offer.html">cancel_offer</a> {</div><div class="line"><a name="l00015"></a><span class="lineno"><a class="line" href="structdice_1_1cancel__offer.html#a14df5b5eeabe4e42e2cd17ac9444b6dd"> 15</a></span>  <a class="code" href="structuint256.html">uint256</a> <a class="code" href="structdice_1_1cancel__offer.html#a14df5b5eeabe4e42e2cd17ac9444b6dd">commitment</a>;</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  };</div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> </div><div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="structdice_1_1reveal.html"> 18</a></span>  <span class="keyword">struct </span><a class="code" href="structdice_1_1reveal.html">reveal</a> {</div><div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="structdice_1_1reveal.html#a6d4041dc4497a38b77f1b2c78d77f94c"> 19</a></span>  <a class="code" href="structuint256.html">uint256</a> <a class="code" href="structdice_1_1reveal.html#a6d4041dc4497a38b77f1b2c78d77f94c">commitment</a>;</div><div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="structdice_1_1reveal.html#a26e3faa41f7e661b1041a79772b6c9f6"> 20</a></span>  <a class="code" href="structuint256.html">uint256</a> <a class="code" href="structdice_1_1reveal.html#a26e3faa41f7e661b1041a79772b6c9f6">source</a>;</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  };</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> </div><div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="structdice_1_1claim__expired.html"> 23</a></span>  <span class="keyword">struct </span><a class="code" href="structdice_1_1claim__expired.html">claim_expired</a> {</div><div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="structdice_1_1claim__expired.html#abb0ae435213c7e74f388634e61aae159"> 24</a></span>  <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> gameid = 0;</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  };</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> </div><div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="namespacedice.html#a4ae1a0587cb1215cd3f3f8b64fbd3761"> 27</a></span>  <span class="keyword">using</span> <a class="code" href="structeosio_1_1token.html">eos_tokens</a> = <a class="code" href="group__tokens.html#ga82e00c544558c53136ec43178a0ca5a0">eosio::tokens</a>;</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> </div><div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="structdice_1_1offer__primary__key.html"> 29</a></span>  <span class="keyword">struct </span><a class="code" href="structdice_1_1offer__primary__key.html">offer_primary_key</a> {</div><div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="structdice_1_1offer__primary__key.html#aff9213f8c3b02c4af9ed8c4460da9472"> 30</a></span>  <a class="code" href="structeosio_1_1token.html">eos_tokens</a> <a class="code" href="structdice_1_1offer__primary__key.html#aff9213f8c3b02c4af9ed8c4460da9472">bet</a>;</div><div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="structdice_1_1offer__primary__key.html#ad060fb372bea546f038f1a14b11b9d82"> 31</a></span>  <a class="code" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a> <a class="code" href="structdice_1_1offer__primary__key.html#ad060fb372bea546f038f1a14b11b9d82">owner</a>;</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  };</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> </div><div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="namespacedice.html#a3f9aeffca709aa6f21dbd29235e7e445"> 47</a></span>  <span class="keyword">struct </span><a class="code" href="namespacedice.html#a3f9aeffca709aa6f21dbd29235e7e445">PACKED</a>( offer ) {</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <a class="code" href="structdice_1_1offer__primary__key.html">offer_primary_key</a> <a class="code" href="test__db_8cpp.html#af15b5e608a0fbe8c184ab90b3791413f">primary</a>;</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <a class="code" href="structuint256.html">uint256</a> <a class="code" href="structdice_1_1offer__bet.html#a6152a62e3303f0cae43d6ae214c0f85c">commitment</a>;</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> gameid = 0;</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  };</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span> </div><div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="structdice_1_1player.html"> 53</a></span>  <span class="keyword">struct </span><a class="code" href="structdice_1_1player.html">player</a> {</div><div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="structdice_1_1player.html#ac64356c3447cc8ed8a66f9ba2550b357"> 54</a></span>  <a class="code" href="structuint256.html">uint256</a> <a class="code" href="structdice_1_1player.html#ac64356c3447cc8ed8a66f9ba2550b357">commitment</a>;</div><div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="structdice_1_1player.html#a762fbafc70af24093a84ca8c05f2da0a"> 55</a></span>  <a class="code" href="structuint256.html">uint256</a> <a class="code" href="structdice_1_1player.html#a762fbafc70af24093a84ca8c05f2da0a">reveal</a>;</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  };</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span> </div><div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="namespacedice.html#a0f2c13b9ffd49b4e908b2379d60e178b"> 61</a></span>  <span class="keyword">struct </span><a class="code" href="namespacedice.html#a3f9aeffca709aa6f21dbd29235e7e445">PACKED</a>( game ) {</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> gameid;</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <a class="code" href="structeosio_1_1token.html">eos_tokens</a> bet;</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <a class="code" href="group__types.html#ga44479e2657d126b44ca53d30c3e670d8">time</a> deadline;</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <a class="code" href="structdice_1_1player.html">player</a> player1;</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <a class="code" href="structdice_1_1player.html">player</a> player2;</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  };</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span> </div><div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="namespacedice.html#a13e6b8e97200662cbe81f254caa068e6"> 69</a></span>  <span class="keyword">struct </span><a class="code" href="namespacedice.html#a13e6b8e97200662cbe81f254caa068e6">Packed</a>( global_dice ) {</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> nextgameid = 0;</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  };</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span> </div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span> </div><div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="namespacedice.html#a2762e8dab591e9c0df8bc8d20496dca4"> 74</a></span>  <span class="keyword">struct </span><a class="code" href="namespacedice.html#a3f9aeffca709aa6f21dbd29235e7e445">PACKED</a>( <a class="code" href="structaccount.html">account</a> ) {</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <a class="code" href="structaccount.html">account</a>( <a class="code" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a> o = <a class="code" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a>() ):owner(o){}</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span> </div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <a class="code" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a> owner;</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <a class="code" href="structeosio_1_1token.html">eos_tokens</a> eos_balance;</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> open_offers = 0;</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span> </div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="keywordtype">bool</span> is_empty()<span class="keyword">const </span>{ <span class="keywordflow">return</span> ! ( bool(eos_balance) | open_offers); }</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  };</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span> </div><div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="namespacedice.html#ac6fcf433d5a29141110b932a34f28383"> 84</a></span>  <span class="keyword">using</span> <a class="code" href="structeosio_1_1table.html">accounts</a> = <a class="code" href="structeosio_1_1table.html">eosio::table<N(dice),N(dice),N(account),account,uint64_t></a>;</div><div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="namespacedice.html#a94d807a8b3909ac9587169845f671951"> 85</a></span>  <span class="keyword">using</span> <a class="code" href="structeosio_1_1table.html">global_dices</a> = <a class="code" href="structeosio_1_1table.html">eosio::table<N(dice),N(dice),N(global),global_dice,uint64_t></a>;</div><div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="namespacedice.html#a34385e2eead0de37a8d80374ce2532cd"> 86</a></span>  <span class="keyword">using</span> <a class="code" href="structeosio_1_1table.html">offers</a> = <a class="code" href="structeosio_1_1table.html">eosio::table<N(dice),N(dice),N(global),global_dice,offer_primary_key,uint128_t></a>;</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span> </div><div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="namespacedice.html#ae09b3a3f877447164f939f485592fc91"> 88</a></span>  <span class="keyword">inline</span> <a class="code" href="structaccount.html">account</a> <a class="code" href="namespacedice.html#ae09b3a3f877447164f939f485592fc91">get_account</a>( <a class="code" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a> owner ) {</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <a class="code" href="structaccount.html">account</a> owned_account(owner);</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <a class="code" href="structeosio_1_1table.html#aa21c1502397afb2cd3952e799fc391c0">accounts::get</a>( owned_account );</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <span class="keywordflow">return</span> owned_account;</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  }</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span> </div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span> };</div><div class="ttc" id="structdice_1_1offer__bet_html_a6152a62e3303f0cae43d6ae214c0f85c"><div class="ttname"><a href="structdice_1_1offer__bet.html#a6152a62e3303f0cae43d6ae214c0f85c">dice::offer_bet::commitment</a></div><div class="ttdeci">uint256 commitment</div><div class="ttdef"><b>Definition:</b> dice.hpp:11</div></div>
<div class="ttc" id="structaccount_html"><div class="ttname"><a href="structaccount.html">account</a></div><div class="ttdef"><b>Definition:</b> social.cpp:43</div></div>
<div class="ttc" id="group__tokens_html_ga82e00c544558c53136ec43178a0ca5a0"><div class="ttname"><a href="group__tokens.html#ga82e00c544558c53136ec43178a0ca5a0">eosio::tokens</a></div><div class="ttdeci">eosio::token< uint64_t, N(eos)> tokens</div><div class="ttdoc">Defines eos tokens. </div><div class="ttdef"><b>Definition:</b> token.hpp:386</div></div>
<div class="ttc" id="group__types_html_ga3b44deb4b3b8d6ebab339d1263692117"><div class="ttname"><a href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a></div><div class="ttdeci">uint64_t account_name</div><div class="ttdef"><b>Definition:</b> types.h:35</div></div>
<div class="ttc" id="namespacedice_html_a3f9aeffca709aa6f21dbd29235e7e445"><div class="ttname"><a href="namespacedice.html#a3f9aeffca709aa6f21dbd29235e7e445">dice::PACKED</a></div><div class="ttdeci">struct PACKED(offer)</div><div class="ttdef"><b>Definition:</b> dice.hpp:47</div></div>
<div class="ttc" id="namespacedice_html_a13e6b8e97200662cbe81f254caa068e6"><div class="ttname"><a href="namespacedice.html#a13e6b8e97200662cbe81f254caa068e6">dice::Packed</a></div><div class="ttdeci">struct Packed(global_dice)</div><div class="ttdef"><b>Definition:</b> dice.hpp:69</div></div>
<div class="ttc" id="structdice_1_1cancel__offer_html"><div class="ttname"><a href="structdice_1_1cancel__offer.html">dice::cancel_offer</a></div><div class="ttdef"><b>Definition:</b> dice.hpp:14</div></div>
<div class="ttc" id="structdice_1_1offer__primary__key_html"><div class="ttname"><a href="structdice_1_1offer__primary__key.html">dice::offer_primary_key</a></div><div class="ttdef"><b>Definition:</b> dice.hpp:29</div></div>
<div class="ttc" id="group__types_html_gaaa5d1cd013383c889537491c3cfd9aad"><div class="ttname"><a href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a></div><div class="ttdeci">unsigned long long uint64_t</div><div class="ttdef"><b>Definition:</b> types.h:18</div></div>
<div class="ttc" id="structdice_1_1reveal_html_a26e3faa41f7e661b1041a79772b6c9f6"><div class="ttname"><a href="structdice_1_1reveal.html#a26e3faa41f7e661b1041a79772b6c9f6">dice::reveal::source</a></div><div class="ttdeci">uint256 source</div><div class="ttdef"><b>Definition:</b> dice.hpp:20</div></div>
<div class="ttc" id="structdice_1_1reveal_html"><div class="ttname"><a href="structdice_1_1reveal.html">dice::reveal</a></div><div class="ttdef"><b>Definition:</b> dice.hpp:18</div></div>
<div class="ttc" id="structeosio_1_1token_html"><div class="ttname"><a href="structeosio_1_1token.html">eosio::token< uint64_t, N(eos)></a></div></div>
<div class="ttc" id="structuint256_html"><div class="ttname"><a href="structuint256.html">uint256</a></div><div class="ttdef"><b>Definition:</b> types.h:29</div></div>
<div class="ttc" id="group__types_html_ga44479e2657d126b44ca53d30c3e670d8"><div class="ttname"><a href="group__types.html#ga44479e2657d126b44ca53d30c3e670d8">time</a></div><div class="ttdeci">uint32_t time</div><div class="ttdef"><b>Definition:</b> types.h:39</div></div>
<div class="ttc" id="namespacedice_html_ae09b3a3f877447164f939f485592fc91"><div class="ttname"><a href="namespacedice.html#ae09b3a3f877447164f939f485592fc91">dice::get_account</a></div><div class="ttdeci">account get_account(account_name owner)</div><div class="ttdef"><b>Definition:</b> dice.hpp:88</div></div>
<div class="ttc" id="structdice_1_1reveal_html_a6d4041dc4497a38b77f1b2c78d77f94c"><div class="ttname"><a href="structdice_1_1reveal.html#a6d4041dc4497a38b77f1b2c78d77f94c">dice::reveal::commitment</a></div><div class="ttdeci">uint256 commitment</div><div class="ttdef"><b>Definition:</b> dice.hpp:19</div></div>
<div class="ttc" id="structdice_1_1offer__primary__key_html_ad060fb372bea546f038f1a14b11b9d82"><div class="ttname"><a href="structdice_1_1offer__primary__key.html#ad060fb372bea546f038f1a14b11b9d82">dice::offer_primary_key::owner</a></div><div class="ttdeci">account_name owner</div><div class="ttdef"><b>Definition:</b> dice.hpp:31</div></div>
<div class="ttc" id="group__types_html_ga06896e8c53f721507066c079052171f8"><div class="ttname"><a href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a></div><div class="ttdeci">unsigned long uint32_t</div><div class="ttdef"><b>Definition:</b> types.h:19</div></div>
<div class="ttc" id="structdice_1_1player_html_ac64356c3447cc8ed8a66f9ba2550b357"><div class="ttname"><a href="structdice_1_1player.html#ac64356c3447cc8ed8a66f9ba2550b357">dice::player::commitment</a></div><div class="ttdeci">uint256 commitment</div><div class="ttdef"><b>Definition:</b> dice.hpp:54</div></div>
<div class="ttc" id="structdice_1_1player_html"><div class="ttname"><a href="structdice_1_1player.html">dice::player</a></div><div class="ttdef"><b>Definition:</b> dice.hpp:53</div></div>
<div class="ttc" id="namespacedice_html"><div class="ttname"><a href="namespacedice.html">dice</a></div><div class="ttdef"><b>Definition:</b> dice.cpp:6</div></div>
<div class="ttc" id="structdice_1_1offer__bet_html_ad777bd036a0b12139b1311b7b3deb8f1"><div class="ttname"><a href="structdice_1_1offer__bet.html#ad777bd036a0b12139b1311b7b3deb8f1">dice::offer_bet::amount</a></div><div class="ttdeci">eosio::tokens amount</div><div class="ttdef"><b>Definition:</b> dice.hpp:9</div></div>
<div class="ttc" id="structdice_1_1offer__primary__key_html_aff9213f8c3b02c4af9ed8c4460da9472"><div class="ttname"><a href="structdice_1_1offer__primary__key.html#aff9213f8c3b02c4af9ed8c4460da9472">dice::offer_primary_key::bet</a></div><div class="ttdeci">eos_tokens bet</div><div class="ttdef"><b>Definition:</b> dice.hpp:30</div></div>
<div class="ttc" id="structeosio_1_1table_html"><div class="ttname"><a href="structeosio_1_1table.html">eosio::table</a></div><div class="ttdef"><b>Definition:</b> db.hpp:179</div></div>
<div class="ttc" id="structdice_1_1player_html_a762fbafc70af24093a84ca8c05f2da0a"><div class="ttname"><a href="structdice_1_1player.html#a762fbafc70af24093a84ca8c05f2da0a">dice::player::reveal</a></div><div class="ttdeci">uint256 reveal</div><div class="ttdef"><b>Definition:</b> dice.hpp:55</div></div>
<div class="ttc" id="structdice_1_1claim__expired_html"><div class="ttname"><a href="structdice_1_1claim__expired.html">dice::claim_expired</a></div><div class="ttdef"><b>Definition:</b> dice.hpp:23</div></div>
<div class="ttc" id="structdice_1_1cancel__offer_html_a14df5b5eeabe4e42e2cd17ac9444b6dd"><div class="ttname"><a href="structdice_1_1cancel__offer.html#a14df5b5eeabe4e42e2cd17ac9444b6dd">dice::cancel_offer::commitment</a></div><div class="ttdeci">uint256 commitment</div><div class="ttdef"><b>Definition:</b> dice.hpp:15</div></div>
<div class="ttc" id="structdice_1_1offer__bet_html"><div class="ttname"><a href="structdice_1_1offer__bet.html">dice::offer_bet</a></div><div class="ttdef"><b>Definition:</b> dice.hpp:8</div></div>
<div class="ttc" id="test__db_8cpp_html_af15b5e608a0fbe8c184ab90b3791413f"><div class="ttname"><a href="test__db_8cpp.html#af15b5e608a0fbe8c184ab90b3791413f">primary</a></div><div class="ttdeci">int primary[11]</div><div class="ttdef"><b>Definition:</b> test_db.cpp:8</div></div>
<div class="ttc" id="structdice_1_1offer__bet_html_a1f0a6ea64b8192dcdaf4f063252027d1"><div class="ttname"><a href="structdice_1_1offer__bet.html#a1f0a6ea64b8192dcdaf4f063252027d1">dice::offer_bet::player</a></div><div class="ttdeci">account_name player</div><div class="ttdef"><b>Definition:</b> dice.hpp:10</div></div>
<div class="ttc" id="structeosio_1_1table_html_aa21c1502397afb2cd3952e799fc391c0"><div class="ttname"><a href="structeosio_1_1table.html#aa21c1502397afb2cd3952e799fc391c0">eosio::table::get</a></div><div class="ttdeci">static bool get(const PrimaryType &p, Record &r, uint64_t s=scope)</div><div class="ttdoc">Fetches a record from the table. </div><div class="ttdef"><b>Definition:</b> db.hpp:377</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>