-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdice_8hpp_source.html
More file actions
110 lines (108 loc) · 25.4 KB
/
dice_8hpp_source.html
File metadata and controls
110 lines (108 loc) · 25.4 KB
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>BASIC-CHAIN: 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="basic-logo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">BASIC-CHAIN
 <span id="projectnumber">VAPOUR1.0</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="l00002"></a><span class="lineno"> 2</span> <span class="keyword">namespace </span><a class="code" href="namespacedice.html">dice</a> {</div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> </div><div class="line"><a name="l00004"></a><span class="lineno"><a class="line" href="structdice_1_1_offer_bet.html"> 4</a></span>  <span class="keyword">struct </span><a class="code" href="structdice_1_1_offer_bet.html">OfferBet</a> {</div><div class="line"><a name="l00005"></a><span class="lineno"><a class="line" href="structdice_1_1_offer_bet.html#a9b71a51ccf5e241fcb09d82757aaf02a"> 5</a></span>  <a class="code" href="structbasic_1_1token.html">basic::Tokens</a> <a class="code" href="structdice_1_1_offer_bet.html#a9b71a51ccf5e241fcb09d82757aaf02a">amount</a>;</div><div class="line"><a name="l00006"></a><span class="lineno"><a class="line" href="structdice_1_1_offer_bet.html#aa3c5d3ee1d3077c8573564cbe0e60a1c"> 6</a></span>  <a class="code" href="group__types.html#gad67b43dc23285b01176f4c181c59fc23">AccountName</a> <a class="code" href="structdice_1_1_offer_bet.html#aa3c5d3ee1d3077c8573564cbe0e60a1c">player</a>;</div><div class="line"><a name="l00007"></a><span class="lineno"><a class="line" href="structdice_1_1_offer_bet.html#a17dbf172fab27039df1c29906c85a06f"> 7</a></span>  <a class="code" href="structuint256.html">uint256</a> <a class="code" href="structdice_1_1_offer_bet.html#a17dbf172fab27039df1c29906c85a06f">commitment</a>;</div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span>  };</div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> </div><div class="line"><a name="l00010"></a><span class="lineno"><a class="line" href="structdice_1_1_cancel_offer.html"> 10</a></span>  <span class="keyword">struct </span><a class="code" href="structdice_1_1_cancel_offer.html">CancelOffer</a> {</div><div class="line"><a name="l00011"></a><span class="lineno"><a class="line" href="structdice_1_1_cancel_offer.html#a6a505f4c05b3bbbdd413416defa488f7"> 11</a></span>  <a class="code" href="structuint256.html">uint256</a> <a class="code" href="structdice_1_1_cancel_offer.html#a6a505f4c05b3bbbdd413416defa488f7">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_1_reveal.html"> 14</a></span>  <span class="keyword">struct </span><a class="code" href="structdice_1_1_reveal.html">Reveal</a> {</div><div class="line"><a name="l00015"></a><span class="lineno"><a class="line" href="structdice_1_1_reveal.html#ac731fa11505f6d162de3fbd1d788f0e9"> 15</a></span>  <a class="code" href="structuint256.html">uint256</a> <a class="code" href="structdice_1_1_reveal.html#ac731fa11505f6d162de3fbd1d788f0e9">commitment</a>;</div><div class="line"><a name="l00016"></a><span class="lineno"><a class="line" href="structdice_1_1_reveal.html#a5a8478999080e6ba0380eda8d2189661"> 16</a></span>  <a class="code" href="structuint256.html">uint256</a> <a class="code" href="structdice_1_1_reveal.html#a5a8478999080e6ba0380eda8d2189661">source</a>;</div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>  };</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> </div><div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="structdice_1_1_claim_expired.html"> 19</a></span>  <span class="keyword">struct </span><a class="code" href="structdice_1_1_claim_expired.html">ClaimExpired</a> {</div><div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="structdice_1_1_claim_expired.html#a6a378acdf2bf2ec6dfc15fcf50a6a771"> 20</a></span>  <a class="code" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> gameid = 0;</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="namespacedice.html#a72186884f38f963618fea0644ea10df3"> 23</a></span>  <span class="keyword">using</span> <a class="code" href="structbasic_1_1token.html">BasicTokens</a> = <a class="code" href="group__tokens.html#gad7688ac4dfe873f7c66e2664bbd861f9">basic::Tokens</a>;</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> </div><div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="structdice_1_1_offer_primary_key.html"> 25</a></span>  <span class="keyword">struct </span><a class="code" href="structdice_1_1_offer_primary_key.html">OfferPrimaryKey</a> {</div><div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="structdice_1_1_offer_primary_key.html#a5e15bf364e70c1f1f577216af269e457"> 26</a></span>  <a class="code" href="structbasic_1_1token.html">BasicTokens</a> <a class="code" href="structdice_1_1_offer_primary_key.html#a5e15bf364e70c1f1f577216af269e457">bet</a>;</div><div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="structdice_1_1_offer_primary_key.html#a9788afed35028df26a926f1d91587fa7"> 27</a></span>  <a class="code" href="group__types.html#gad67b43dc23285b01176f4c181c59fc23">AccountName</a> <a class="code" href="structdice_1_1_offer_primary_key.html#a9788afed35028df26a926f1d91587fa7">owner</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"> 29</span> </div><div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="namespacedice.html#a1fb03a133423a7202ae10a51420efcd1"> 43</a></span>  <span class="keyword">struct </span><a class="code" href="namespacedice.html#a1fb03a133423a7202ae10a51420efcd1">PACKED</a>( Offer ) {</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <a class="code" href="structdice_1_1_offer_primary_key.html">OfferPrimaryKey</a> <a class="code" href="test__db_8cpp.html#af15b5e608a0fbe8c184ab90b3791413f">primary</a>;</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <a class="code" href="structuint256.html">uint256</a> <a class="code" href="structdice_1_1_offer_bet.html#a17dbf172fab27039df1c29906c85a06f">commitment</a>;</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> gameid = 0;</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  };</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span> </div><div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="structdice_1_1_player.html"> 49</a></span>  <span class="keyword">struct </span><a class="code" href="structdice_1_1_player.html">Player</a> {</div><div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="structdice_1_1_player.html#ae8e2403845fd889665e7e65f6bf4e62d"> 50</a></span>  <a class="code" href="structuint256.html">uint256</a> <a class="code" href="structdice_1_1_player.html#ae8e2403845fd889665e7e65f6bf4e62d">commitment</a>;</div><div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="structdice_1_1_player.html#a1fcc6b53309688f54e038ea5f8f58939"> 51</a></span>  <a class="code" href="structuint256.html">uint256</a> <a class="code" href="structdice_1_1_player.html#a1fcc6b53309688f54e038ea5f8f58939">reveal</a>;</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  };</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span> </div><div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="namespacedice.html#a59c50891eaf1def868e13d7eb1b5c7dd"> 57</a></span>  <span class="keyword">struct </span><a class="code" href="namespacedice.html#a1fb03a133423a7202ae10a51420efcd1">PACKED</a>( Game ) {</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> gameid;</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <a class="code" href="structbasic_1_1token.html">BasicTokens</a> bet;</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <a class="code" href="group__types.html#ga2518c21789dfad901bbf283f9ea4247f">Time</a> deadline;</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <a class="code" href="structdice_1_1_player.html">Player</a> player1;</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <a class="code" href="structdice_1_1_player.html">Player</a> player2;</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  };</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span> </div><div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="namespacedice.html#a4600eb23d9ac0efe2afb987b43b99a53"> 65</a></span>  <span class="keyword">struct </span><a class="code" href="namespacedice.html#a4600eb23d9ac0efe2afb987b43b99a53">Packed</a>( <a class="code" href="struct_table.html">GlobalDice</a> ) {</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> nextgameid = 0;</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"> 69</span> </div><div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="namespacedice.html#a7a88ad77f1bf6cf6a132f7d0042faa51"> 70</a></span>  <span class="keyword">struct </span><a class="code" href="namespacedice.html#a1fb03a133423a7202ae10a51420efcd1">PACKED</a>( <a class="code" href="struct_account.html">Account</a> ) {</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <a class="code" href="struct_account.html">Account</a>( <a class="code" href="group__types.html#gad67b43dc23285b01176f4c181c59fc23">AccountName</a> o = <a class="code" href="group__types.html#gad67b43dc23285b01176f4c181c59fc23">AccountName</a>() ):owner(o){}</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>  <a class="code" href="group__types.html#gad67b43dc23285b01176f4c181c59fc23">AccountName</a> owner;</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <a class="code" href="structbasic_1_1token.html">BasicTokens</a> basic_balance;</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <a class="code" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> open_offers = 0;</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>  <span class="keywordtype">bool</span> isEmpty()<span class="keyword">const </span>{ <span class="keywordflow">return</span> ! ( bool(basic_balance) | open_offers); }</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  };</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span> </div><div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="namespacedice.html#a9cd405289e076229c908b10f3777a442"> 80</a></span>  <span class="keyword">using</span> <a class="code" href="struct_table.html">Accounts</a> = <a class="code" href="struct_table.html">Table<N(dice),N(dice),N(account),Account,uint64_t></a>;</div><div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="namespacedice.html#a02d8f4825162bff31029735c354fbffc"> 81</a></span>  <span class="keyword">using</span> <a class="code" href="struct_table.html">GlobalDice</a> = <a class="code" href="struct_table.html">Table<N(dice),N(dice),N(global),GlobalDice,uint64_t></a>;</div><div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="namespacedice.html#aa3e3d853e1d38daff2ff1303a1d6e99e"> 82</a></span>  <span class="keyword">using</span> <a class="code" href="struct_table.html">Offers</a> = <a class="code" href="struct_table.html">Table<N(dice),N(dice),N(global),GlobalDice,OfferPrimaryKey,uint128_t></a>;</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#a9b4ff61171468f16f1aa209e2c7f7664"> 84</a></span>  <span class="keyword">inline</span> <a class="code" href="struct_account.html">Account</a> <a class="code" href="namespacedice.html#a9b4ff61171468f16f1aa209e2c7f7664">getAccount</a>( <a class="code" href="group__types.html#gad67b43dc23285b01176f4c181c59fc23">AccountName</a> owner ) {</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <a class="code" href="struct_account.html">Account</a> account(owner);</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <a class="code" href="struct_table.html#a50bc5f57482c6a018e7eaf4e716e038c">Accounts::get</a>( account );</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <span class="keywordflow">return</span> account;</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  }</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span> </div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span> };</div><div class="ttc" id="structdice_1_1_offer_bet_html_a9b71a51ccf5e241fcb09d82757aaf02a"><div class="ttname"><a href="structdice_1_1_offer_bet.html#a9b71a51ccf5e241fcb09d82757aaf02a">dice::OfferBet::amount</a></div><div class="ttdeci">basic::Tokens amount</div><div class="ttdef"><b>Definition:</b> dice.hpp:5</div></div>
<div class="ttc" id="struct_account_html"><div class="ttname"><a href="struct_account.html">Account</a></div><div class="ttdef"><b>Definition:</b> social.cpp:39</div></div>
<div class="ttc" id="structdice_1_1_reveal_html"><div class="ttname"><a href="structdice_1_1_reveal.html">dice::Reveal</a></div><div class="ttdef"><b>Definition:</b> dice.hpp:14</div></div>
<div class="ttc" id="structdice_1_1_offer_primary_key_html_a9788afed35028df26a926f1d91587fa7"><div class="ttname"><a href="structdice_1_1_offer_primary_key.html#a9788afed35028df26a926f1d91587fa7">dice::OfferPrimaryKey::owner</a></div><div class="ttdeci">AccountName owner</div><div class="ttdef"><b>Definition:</b> dice.hpp:27</div></div>
<div class="ttc" id="group__types_html_gad67b43dc23285b01176f4c181c59fc23"><div class="ttname"><a href="group__types.html#gad67b43dc23285b01176f4c181c59fc23">AccountName</a></div><div class="ttdeci">uint64_t AccountName</div><div class="ttdef"><b>Definition:</b> types.h:20</div></div>
<div class="ttc" id="structdice_1_1_player_html_ae8e2403845fd889665e7e65f6bf4e62d"><div class="ttname"><a href="structdice_1_1_player.html#ae8e2403845fd889665e7e65f6bf4e62d">dice::Player::commitment</a></div><div class="ttdeci">uint256 commitment</div><div class="ttdef"><b>Definition:</b> dice.hpp:50</div></div>
<div class="ttc" id="namespacedice_html_a9b4ff61171468f16f1aa209e2c7f7664"><div class="ttname"><a href="namespacedice.html#a9b4ff61171468f16f1aa209e2c7f7664">dice::getAccount</a></div><div class="ttdeci">Account getAccount(AccountName owner)</div><div class="ttdef"><b>Definition:</b> dice.hpp:84</div></div>
<div class="ttc" id="structdice_1_1_player_html_a1fcc6b53309688f54e038ea5f8f58939"><div class="ttname"><a href="structdice_1_1_player.html#a1fcc6b53309688f54e038ea5f8f58939">dice::Player::reveal</a></div><div class="ttdeci">uint256 reveal</div><div class="ttdef"><b>Definition:</b> dice.hpp:51</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:13</div></div>
<div class="ttc" id="structdice_1_1_offer_primary_key_html_a5e15bf364e70c1f1f577216af269e457"><div class="ttname"><a href="structdice_1_1_offer_primary_key.html#a5e15bf364e70c1f1f577216af269e457">dice::OfferPrimaryKey::bet</a></div><div class="ttdeci">BasicTokens bet</div><div class="ttdef"><b>Definition:</b> dice.hpp:26</div></div>
<div class="ttc" id="structdice_1_1_reveal_html_ac731fa11505f6d162de3fbd1d788f0e9"><div class="ttname"><a href="structdice_1_1_reveal.html#ac731fa11505f6d162de3fbd1d788f0e9">dice::Reveal::commitment</a></div><div class="ttdeci">uint256 commitment</div><div class="ttdef"><b>Definition:</b> dice.hpp:15</div></div>
<div class="ttc" id="structbasic_1_1token_html"><div class="ttname"><a href="structbasic_1_1token.html">basic::token< uint64_t, N(basic)></a></div></div>
<div class="ttc" id="structdice_1_1_player_html"><div class="ttname"><a href="structdice_1_1_player.html">dice::Player</a></div><div class="ttdef"><b>Definition:</b> dice.hpp:49</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="structdice_1_1_offer_primary_key_html"><div class="ttname"><a href="structdice_1_1_offer_primary_key.html">dice::OfferPrimaryKey</a></div><div class="ttdef"><b>Definition:</b> dice.hpp:25</div></div>
<div class="ttc" id="structdice_1_1_offer_bet_html_aa3c5d3ee1d3077c8573564cbe0e60a1c"><div class="ttname"><a href="structdice_1_1_offer_bet.html#aa3c5d3ee1d3077c8573564cbe0e60a1c">dice::OfferBet::player</a></div><div class="ttdeci">AccountName player</div><div class="ttdef"><b>Definition:</b> dice.hpp:6</div></div>
<div class="ttc" id="structdice_1_1_claim_expired_html"><div class="ttname"><a href="structdice_1_1_claim_expired.html">dice::ClaimExpired</a></div><div class="ttdef"><b>Definition:</b> dice.hpp:19</div></div>
<div class="ttc" id="structdice_1_1_reveal_html_a5a8478999080e6ba0380eda8d2189661"><div class="ttname"><a href="structdice_1_1_reveal.html#a5a8478999080e6ba0380eda8d2189661">dice::Reveal::source</a></div><div class="ttdeci">uint256 source</div><div class="ttdef"><b>Definition:</b> dice.hpp:16</div></div>
<div class="ttc" id="group__tokens_html_gad7688ac4dfe873f7c66e2664bbd861f9"><div class="ttname"><a href="group__tokens.html#gad7688ac4dfe873f7c66e2664bbd861f9">basic::Tokens</a></div><div class="ttdeci">basic::token< uint64_t, N(basic)> Tokens</div><div class="ttdoc">Defines basic tokens. </div><div class="ttdef"><b>Definition:</b> token.hpp:385</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:14</div></div>
<div class="ttc" id="namespacedice_html_a4600eb23d9ac0efe2afb987b43b99a53"><div class="ttname"><a href="namespacedice.html#a4600eb23d9ac0efe2afb987b43b99a53">dice::Packed</a></div><div class="ttdeci">struct Packed(GlobalDice)</div><div class="ttdef"><b>Definition:</b> dice.hpp:65</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:2</div></div>
<div class="ttc" id="structdice_1_1_offer_bet_html"><div class="ttname"><a href="structdice_1_1_offer_bet.html">dice::OfferBet</a></div><div class="ttdef"><b>Definition:</b> dice.hpp:4</div></div>
<div class="ttc" id="structdice_1_1_offer_bet_html_a17dbf172fab27039df1c29906c85a06f"><div class="ttname"><a href="structdice_1_1_offer_bet.html#a17dbf172fab27039df1c29906c85a06f">dice::OfferBet::commitment</a></div><div class="ttdeci">uint256 commitment</div><div class="ttdef"><b>Definition:</b> dice.hpp:7</div></div>
<div class="ttc" id="namespacedice_html_a1fb03a133423a7202ae10a51420efcd1"><div class="ttname"><a href="namespacedice.html#a1fb03a133423a7202ae10a51420efcd1">dice::PACKED</a></div><div class="ttdeci">struct PACKED(Offer)</div><div class="ttdef"><b>Definition:</b> dice.hpp:43</div></div>
<div class="ttc" id="structdice_1_1_cancel_offer_html"><div class="ttname"><a href="structdice_1_1_cancel_offer.html">dice::CancelOffer</a></div><div class="ttdef"><b>Definition:</b> dice.hpp:10</div></div>
<div class="ttc" id="structdice_1_1_cancel_offer_html_a6a505f4c05b3bbbdd413416defa488f7"><div class="ttname"><a href="structdice_1_1_cancel_offer.html#a6a505f4c05b3bbbdd413416defa488f7">dice::CancelOffer::commitment</a></div><div class="ttdeci">uint256 commitment</div><div class="ttdef"><b>Definition:</b> dice.hpp:11</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:7</div></div>
<div class="ttc" id="struct_table_html"><div class="ttname"><a href="struct_table.html">Table</a></div><div class="ttdef"><b>Definition:</b> db.hpp:448</div></div>
<div class="ttc" id="struct_table_html_a50bc5f57482c6a018e7eaf4e716e038c"><div class="ttname"><a href="struct_table.html#a50bc5f57482c6a018e7eaf4e716e038c">Table::get</a></div><div class="ttdeci">static bool get(const PrimaryType &p, Record &r, uint64_t s=scope)</div><div class="ttdef"><b>Definition:</b> db.hpp:647</div></div>
<div class="ttc" id="group__types_html_ga2518c21789dfad901bbf283f9ea4247f"><div class="ttname"><a href="group__types.html#ga2518c21789dfad901bbf283f9ea4247f">Time</a></div><div class="ttdeci">uint32_t Time</div><div class="ttdef"><b>Definition:</b> types.h:24</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>