updated gov overview diagram

This commit is contained in:
Jack Hodgkinson 2022-01-31 15:55:04 +00:00
parent bd0b81251d
commit 84508a4482
2 changed files with 77 additions and 115 deletions

View file

@ -1,12 +1,8 @@
digraph {
Proposals -> Governor [label="submitted to"]
Users -> StakingPool [label="pay GT to"]
StakingPool -> Stakes [label="creates"]
Stakes -> Proposals [label="are locked by"]
"Staking pool" -> Stakes [label="tracks"]
Stakes -> Proposals [label="are put on"]
Proposals -> Effects [label="have"]
Governor -> Effects [label="issues GATs to"]
Treasury -> Governor [label="releases GT to"]
"Vesting contract" -> Users [label="distributes GT amongst"]
Users -> Stakes [label="own"]
Governor -> "Vesting contract" [label="invokes"]
Users -> Stakes [label="lock GT in"]
Users -> Treasury [label="claim GT from"]
}

View file

@ -4,127 +4,93 @@
<!-- 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 -->
<svg width="334pt" height="305pt"
viewBox="0.00 0.00 333.89 305.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 301)">
<polygon fill="white" stroke="transparent" points="-4,4 -4,-301 329.89,-301 329.89,4 -4,4"/>
<!-- Staking pool -->
<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&#45;&gt;Governor -->
<g id="edge1" class="edge">
<title>Proposals&#45;&gt;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&#45;&gt;Effects -->
<g id="edge5" class="edge">
<title>Proposals&#45;&gt;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&#45;&gt;Effects -->
<g id="edge6" class="edge">
<title>Governor&#45;&gt;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&#45;&gt;Vesting contract -->
<g id="edge10" class="edge">
<title>Governor&#45;&gt;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&#45;&gt;StakingPool -->
<g id="edge2" class="edge">
<title>Users&#45;&gt;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>
<title>Staking pool</title>
<ellipse fill="none" stroke="black" cx="68.89" cy="-279" rx="68.79" ry="18"/>
<text text-anchor="middle" x="68.89" y="-275.3" font-family="Times,serif" font-size="14.00">Staking pool</text>
</g>
<!-- Stakes -->
<g id="node5" class="node">
<g id="node2" 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>
<ellipse fill="none" stroke="black" cx="94.89" cy="-192" rx="42.49" ry="18"/>
<text text-anchor="middle" x="94.89" y="-188.3" font-family="Times,serif" font-size="14.00">Stakes</text>
</g>
<!-- Users&#45;&gt;Stakes -->
<g id="edge9" class="edge">
<title>Users&#45;&gt;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>
<!-- Staking pool&#45;&gt;Stakes -->
<g id="edge1" class="edge">
<title>Staking pool&#45;&gt;Stakes</title>
<path fill="none" stroke="black" d="M66.77,-260.91C66.15,-251.05 66.4,-238.55 69.89,-228 71.09,-224.39 72.81,-220.82 74.78,-217.43"/>
<polygon fill="black" stroke="black" points="77.8,-219.21 80.45,-208.95 71.98,-215.32 77.8,-219.21"/>
<text text-anchor="middle" x="92.39" y="-231.8" font-family="Times,serif" font-size="14.00">tracks</text>
</g>
<!-- StakingPool&#45;&gt;Stakes -->
<g id="edge3" class="edge">
<title>StakingPool&#45;&gt;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>
<!-- Proposals -->
<g id="node3" class="node">
<title>Proposals</title>
<ellipse fill="none" stroke="black" cx="94.89" cy="-105" rx="55.79" ry="18"/>
<text text-anchor="middle" x="94.89" y="-101.3" font-family="Times,serif" font-size="14.00">Proposals</text>
</g>
<!-- Stakes&#45;&gt;Proposals -->
<g id="edge4" class="edge">
<g id="edge2" class="edge">
<title>Stakes&#45;&gt;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>
<path fill="none" stroke="black" d="M94.89,-173.8C94.89,-162.16 94.89,-146.55 94.89,-133.24"/>
<polygon fill="black" stroke="black" points="98.39,-133.18 94.89,-123.18 91.39,-133.18 98.39,-133.18"/>
<text text-anchor="middle" x="131.89" y="-144.8" font-family="Times,serif" font-size="14.00">are put on</text>
</g>
<!-- Effects -->
<g id="node4" class="node">
<title>Effects</title>
<ellipse fill="none" stroke="black" cx="158.89" cy="-18" rx="42.79" ry="18"/>
<text text-anchor="middle" x="158.89" y="-14.3" font-family="Times,serif" font-size="14.00">Effects</text>
</g>
<!-- Proposals&#45;&gt;Effects -->
<g id="edge3" class="edge">
<title>Proposals&#45;&gt;Effects</title>
<path fill="none" stroke="black" d="M107.54,-87.21C116.89,-74.79 129.78,-57.67 140.3,-43.7"/>
<polygon fill="black" stroke="black" points="143.27,-45.56 146.49,-35.47 137.68,-41.35 143.27,-45.56"/>
<text text-anchor="middle" x="147.89" y="-57.8" font-family="Times,serif" font-size="14.00">have</text>
</g>
<!-- Governor -->
<g id="node5" class="node">
<title>Governor</title>
<ellipse fill="none" stroke="black" cx="222.89" cy="-105" rx="53.89" ry="18"/>
<text text-anchor="middle" x="222.89" y="-101.3" font-family="Times,serif" font-size="14.00">Governor</text>
</g>
<!-- Governor&#45;&gt;Effects -->
<g id="edge4" class="edge">
<title>Governor&#45;&gt;Effects</title>
<path fill="none" stroke="black" d="M210.25,-87.21C200.9,-74.79 188.01,-57.67 177.49,-43.7"/>
<polygon fill="black" stroke="black" points="180.11,-41.35 171.29,-35.47 174.51,-45.56 180.11,-41.35"/>
<text text-anchor="middle" x="246.89" y="-57.8" font-family="Times,serif" font-size="14.00">issues GATs to</text>
</g>
<!-- Users -->
<g id="node6" class="node">
<title>Users</title>
<ellipse fill="none" stroke="black" cx="212.89" cy="-279" rx="38.19" ry="18"/>
<text text-anchor="middle" x="212.89" y="-275.3" font-family="Times,serif" font-size="14.00">Users</text>
</g>
<!-- Users&#45;&gt;Stakes -->
<g id="edge5" class="edge">
<title>Users&#45;&gt;Stakes</title>
<path fill="none" stroke="black" d="M185.75,-266.08C173.12,-259.97 158.21,-251.95 145.89,-243 135.34,-235.33 124.85,-225.52 116.15,-216.63"/>
<polygon fill="black" stroke="black" points="118.44,-213.96 109.01,-209.12 113.37,-218.78 118.44,-213.96"/>
<text text-anchor="middle" x="181.89" y="-231.8" font-family="Times,serif" font-size="14.00">lock GT in</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>
<ellipse fill="none" stroke="black" cx="231.89" cy="-192" rx="51.99" ry="18"/>
<text text-anchor="middle" x="231.89" y="-188.3" font-family="Times,serif" font-size="14.00">Treasury</text>
</g>
<!-- Treasury&#45;&gt;Governor -->
<g id="edge7" class="edge">
<title>Treasury&#45;&gt;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&#45;&gt;Users -->
<g id="edge8" class="edge">
<title>Vesting contract&#45;&gt;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>
<!-- Users&#45;&gt;Treasury -->
<g id="edge6" class="edge">
<title>Users&#45;&gt;Treasury</title>
<path fill="none" stroke="black" d="M216.74,-260.8C219.34,-249.16 222.83,-233.55 225.81,-220.24"/>
<polygon fill="black" stroke="black" points="229.29,-220.7 228.05,-210.18 222.46,-219.17 229.29,-220.7"/>
<text text-anchor="middle" x="274.89" y="-231.8" font-family="Times,serif" font-size="14.00">claim GT from</text>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 6.9 KiB

After

Width:  |  Height:  |  Size: 4.9 KiB

Before After
Before After