first commit
This commit is contained in:
parent
501a414bc0
commit
b4a40a56ea
7 changed files with 279 additions and 2 deletions
130
docs/diagrams/gov-overview.svg
Normal file
130
docs/diagrams/gov-overview.svg
Normal file
|
|
@ -0,0 +1,130 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<!-- Generated by graphviz version 2.48.0 (0)
|
||||
-->
|
||||
<!-- Pages: 1 -->
|
||||
<svg width="451pt" height="479pt"
|
||||
viewBox="0.00 0.00 451.00 479.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 475)">
|
||||
<polygon fill="white" stroke="transparent" points="-4,4 -4,-475 447,-475 447,4 -4,4"/>
|
||||
<!-- Proposals -->
|
||||
<g id="node1" class="node">
|
||||
<title>Proposals</title>
|
||||
<ellipse fill="none" stroke="black" cx="285" cy="-453" rx="55.79" ry="18"/>
|
||||
<text text-anchor="middle" x="285" y="-449.3" font-family="Times,serif" font-size="14.00">Proposals</text>
|
||||
</g>
|
||||
<!-- Governor -->
|
||||
<g id="node2" class="node">
|
||||
<title>Governor</title>
|
||||
<ellipse fill="none" stroke="black" cx="127" cy="-366" rx="53.89" ry="18"/>
|
||||
<text text-anchor="middle" x="127" y="-362.3" font-family="Times,serif" font-size="14.00">Governor</text>
|
||||
</g>
|
||||
<!-- Proposals->Governor -->
|
||||
<g id="edge1" class="edge">
|
||||
<title>Proposals->Governor</title>
|
||||
<path fill="none" stroke="black" d="M240.28,-442.02C220.6,-436.45 197.75,-428.3 179,-417 167.6,-410.13 156.7,-400.35 147.86,-391.26"/>
|
||||
<polygon fill="black" stroke="black" points="150.33,-388.78 140.94,-383.86 145.22,-393.56 150.33,-388.78"/>
|
||||
<text text-anchor="middle" x="225" y="-405.8" font-family="Times,serif" font-size="14.00">submitted to</text>
|
||||
</g>
|
||||
<!-- Effects -->
|
||||
<g id="node6" class="node">
|
||||
<title>Effects</title>
|
||||
<ellipse fill="none" stroke="black" cx="266" cy="-279" rx="42.79" ry="18"/>
|
||||
<text text-anchor="middle" x="266" y="-275.3" font-family="Times,serif" font-size="14.00">Effects</text>
|
||||
</g>
|
||||
<!-- Proposals->Effects -->
|
||||
<g id="edge5" class="edge">
|
||||
<title>Proposals->Effects</title>
|
||||
<path fill="none" stroke="black" d="M283.45,-434.67C281.08,-408.65 276.26,-357.95 271,-315 270.68,-312.44 270.34,-309.78 269.98,-307.12"/>
|
||||
<polygon fill="black" stroke="black" points="273.43,-306.49 268.57,-297.07 266.49,-307.46 273.43,-306.49"/>
|
||||
<text text-anchor="middle" x="295" y="-362.3" font-family="Times,serif" font-size="14.00">have</text>
|
||||
</g>
|
||||
<!-- Governor->Effects -->
|
||||
<g id="edge6" class="edge">
|
||||
<title>Governor->Effects</title>
|
||||
<path fill="none" stroke="black" d="M137,-348.11C144.15,-337.32 154.67,-323.76 167,-315 182.27,-304.14 201.25,-296.36 218.49,-290.93"/>
|
||||
<polygon fill="black" stroke="black" points="219.8,-294.2 228.4,-288.01 217.81,-287.48 219.8,-294.2"/>
|
||||
<text text-anchor="middle" x="219" y="-318.8" font-family="Times,serif" font-size="14.00">issues GATs to</text>
|
||||
</g>
|
||||
<!-- Vesting contract -->
|
||||
<g id="node8" class="node">
|
||||
<title>Vesting contract</title>
|
||||
<ellipse fill="none" stroke="black" cx="98" cy="-279" rx="87.18" ry="18"/>
|
||||
<text text-anchor="middle" x="98" y="-275.3" font-family="Times,serif" font-size="14.00">Vesting contract</text>
|
||||
</g>
|
||||
<!-- Governor->Vesting contract -->
|
||||
<g id="edge10" class="edge">
|
||||
<title>Governor->Vesting contract</title>
|
||||
<path fill="none" stroke="black" d="M104.27,-349.62C98.15,-344.2 92.31,-337.56 89,-330 85.88,-322.89 85.97,-314.76 87.43,-307.15"/>
|
||||
<polygon fill="black" stroke="black" points="90.88,-307.81 90.1,-297.25 84.12,-305.99 90.88,-307.81"/>
|
||||
<text text-anchor="middle" x="116.5" y="-318.8" font-family="Times,serif" font-size="14.00">invokes</text>
|
||||
</g>
|
||||
<!-- Users -->
|
||||
<g id="node3" class="node">
|
||||
<title>Users</title>
|
||||
<ellipse fill="none" stroke="black" cx="136" cy="-192" rx="38.19" ry="18"/>
|
||||
<text text-anchor="middle" x="136" y="-188.3" font-family="Times,serif" font-size="14.00">Users</text>
|
||||
</g>
|
||||
<!-- StakingPool -->
|
||||
<g id="node4" class="node">
|
||||
<title>StakingPool</title>
|
||||
<ellipse fill="none" stroke="black" cx="250" cy="-105" rx="65.79" ry="18"/>
|
||||
<text text-anchor="middle" x="250" y="-101.3" font-family="Times,serif" font-size="14.00">StakingPool</text>
|
||||
</g>
|
||||
<!-- Users->StakingPool -->
|
||||
<g id="edge2" class="edge">
|
||||
<title>Users->StakingPool</title>
|
||||
<path fill="none" stroke="black" d="M155.59,-176.39C173.39,-163.12 199.88,-143.36 220.28,-128.16"/>
|
||||
<polygon fill="black" stroke="black" points="222.4,-130.94 228.33,-122.16 218.22,-125.33 222.4,-130.94"/>
|
||||
<text text-anchor="middle" x="235" y="-144.8" font-family="Times,serif" font-size="14.00">pay GT to</text>
|
||||
</g>
|
||||
<!-- Stakes -->
|
||||
<g id="node5" class="node">
|
||||
<title>Stakes</title>
|
||||
<ellipse fill="none" stroke="black" cx="250" cy="-18" rx="42.49" ry="18"/>
|
||||
<text text-anchor="middle" x="250" y="-14.3" font-family="Times,serif" font-size="14.00">Stakes</text>
|
||||
</g>
|
||||
<!-- Users->Stakes -->
|
||||
<g id="edge9" class="edge">
|
||||
<title>Users->Stakes</title>
|
||||
<path fill="none" stroke="black" d="M133.13,-173.77C130.41,-151.92 128.84,-113.87 145,-87 159.55,-62.79 186.42,-45.62 209.34,-34.6"/>
|
||||
<polygon fill="black" stroke="black" points="210.9,-37.73 218.54,-30.39 207.99,-31.36 210.9,-37.73"/>
|
||||
<text text-anchor="middle" x="160" y="-101.3" font-family="Times,serif" font-size="14.00">own</text>
|
||||
</g>
|
||||
<!-- StakingPool->Stakes -->
|
||||
<g id="edge3" class="edge">
|
||||
<title>StakingPool->Stakes</title>
|
||||
<path fill="none" stroke="black" d="M250,-86.8C250,-75.16 250,-59.55 250,-46.24"/>
|
||||
<polygon fill="black" stroke="black" points="253.5,-46.18 250,-36.18 246.5,-46.18 253.5,-46.18"/>
|
||||
<text text-anchor="middle" x="276.5" y="-57.8" font-family="Times,serif" font-size="14.00">creates</text>
|
||||
</g>
|
||||
<!-- Stakes->Proposals -->
|
||||
<g id="edge4" class="edge">
|
||||
<title>Stakes->Proposals</title>
|
||||
<path fill="none" stroke="black" d="M280.42,-30.66C308.87,-43.78 347,-68.06 347,-104 347,-367 347,-367 347,-367 347,-391.49 329.99,-413.64 313.79,-429.18"/>
|
||||
<polygon fill="black" stroke="black" points="311.04,-426.96 305.99,-436.27 315.74,-432.14 311.04,-426.96"/>
|
||||
<text text-anchor="middle" x="395" y="-231.8" font-family="Times,serif" font-size="14.00">are locked by</text>
|
||||
</g>
|
||||
<!-- Treasury -->
|
||||
<g id="node7" class="node">
|
||||
<title>Treasury</title>
|
||||
<ellipse fill="none" stroke="black" cx="52" cy="-453" rx="51.99" ry="18"/>
|
||||
<text text-anchor="middle" x="52" y="-449.3" font-family="Times,serif" font-size="14.00">Treasury</text>
|
||||
</g>
|
||||
<!-- Treasury->Governor -->
|
||||
<g id="edge7" class="edge">
|
||||
<title>Treasury->Governor</title>
|
||||
<path fill="none" stroke="black" d="M48.09,-434.94C46.7,-424.61 46.77,-411.62 53,-402 58.56,-393.41 66.84,-386.88 75.88,-381.94"/>
|
||||
<polygon fill="black" stroke="black" points="77.6,-384.99 85.1,-377.5 74.57,-378.69 77.6,-384.99"/>
|
||||
<text text-anchor="middle" x="104.5" y="-405.8" font-family="Times,serif" font-size="14.00">releases GT to</text>
|
||||
</g>
|
||||
<!-- Vesting contract->Users -->
|
||||
<g id="edge8" class="edge">
|
||||
<title>Vesting contract->Users</title>
|
||||
<path fill="none" stroke="black" d="M105.69,-260.8C111.03,-248.85 118.24,-232.72 124.29,-219.18"/>
|
||||
<polygon fill="black" stroke="black" points="127.56,-220.44 128.45,-209.89 121.17,-217.59 127.56,-220.44"/>
|
||||
<text text-anchor="middle" x="204.5" y="-231.8" font-family="Times,serif" font-size="14.00">distributes GT amongst</text>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 6.9 KiB |
Loading…
Add table
Add a link
Reference in a new issue