Cosmos, Staking, Kava, Terra, Regen Lost in Cosmos explorers...

<p>Existing Cosmos explorers show limited information. In some cases, reward withdrawal happens not only by initiating <code>withdraw</code> transaction and there are unobvious events, which cause that action. We have added these hidden events to <a href="https://p2p.org/?utm_source=blog&amp;utm_medium=economy&amp;utm_campaign=cosmos_dashboard_release#dashboard-block">P2P Dashboard</a>, <strong><strong>implemented full reward history across all Cosmos Hub versions and opened it for community</strong></strong>. Below, I will walk through the topic in detail with examples.</p><h3 id="transparency-limit"><strong>Transparency limit</strong></h3><p>Every transaction that is recorded in non-private blockchain can easily be retrieved for analytical or other purposes providing clarity for end users. With such transparency everyone can get a trusted record of any event since the start of the network. But is it really an easy task for someone without deep knowledge in code and various API endpoints to get all the data they need?</p><p>You may argue that there are multiple explorers built for this purpose but each of them focuses on various goals and doesn’t give a complete picture of all events happening in a particular network. For an ordinary user like me, explorers act as a window in this magic world of blockchains and <strong><strong>our understanding is limited by the events various tools decide to display</strong></strong>.</p><p>Blockchains are still new and complex to understand. The increasing number of projects with a different logic and various triggers is aggravating. Transparency matters especially for financial transfers and events that can be used for accounting purposes. For example, in Proof-Of-Stake blockchains it can be a withdrawal of accumulated rewards.</p><p>A diversity of high-quality explorers is significant for building user commitment to the network and facilitating trust although more tools do not always result in better visibility. Some explorers focus more on usability, which is also very important but it still is not conductive to increasing transparency for users of the network.</p><h3 id="unobvious-events-in-tendermint-blockchains"><strong>Unobvious events in Tendermint blockchains</strong></h3><p>Let's take a look at the reward withdrawal process in Cosmos Hub. Surplus accumulates in a validator pool and can be withdrawn to the corresponding staking address manually. Basically, a delegator withdraws rewards at any point of time to receive them on address. Explorers show this operation with names like GetReward or Withdraw Reward. In fact that's not the only action that triggers reward withdrawal.</p><h4 id="example-27-03-2020-"><strong><strong><strong>Example</strong></strong> (27.03.2020)</strong></h4><p>Let's take a random account and check the information about its balance on<a href="https://www.mintscan.io/account/cosmos1d5lu67hu3lhqtw6zyv7uy4gkfpdtfnzxw0wga8"> Mintscan</a> block explorer.</p><figure class="kg-card kg-image-card"><img src="https://economy.p2p.org/content/images/2020/09/1-5.png" class="kg-image" alt srcset="https://economy.p2p.org/content/images/size/w600/2020/09/1-5.png 600w, https://economy.p2p.org/content/images/size/w1000/2020/09/1-5.png 1000w, https://economy.p2p.org/content/images/size/w1600/2020/09/1-5.png 1600w, https://economy.p2p.org/content/images/2020/09/1-5.png 1784w" sizes="(min-width: 720px) 720px"></figure><figure class="kg-card kg-image-card"><img src="https://economy.p2p.org/content/images/2020/09/2-8.png" class="kg-image" alt srcset="https://economy.p2p.org/content/images/size/w600/2020/09/2-8.png 600w, https://economy.p2p.org/content/images/size/w1000/2020/09/2-8.png 1000w, https://economy.p2p.org/content/images/size/w1600/2020/09/2-8.png 1600w, https://economy.p2p.org/content/images/2020/09/2-8.png 1799w" sizes="(min-width: 720px) 720px"></figure><p>If we calculate total balances using this transaction data we should get:</p><ul><li>Received: <em><em>484,7076 ATOM</em></em></li><li>Delegated: <em><em>474 ATOM</em></em></li><li><em><em>Tx Fees: 0,015 ATOM</em></em></li><li>Available: <strong><strong><em><em>10,692625 ATOM</em></em></strong></strong></li></ul><p>And here are values from<a href="https://www.mintscan.io/account/cosmos1d5lu67hu3lhqtw6zyv7uy4gkfpdtfnzxw0wga8"> Mintscan</a>:</p><figure class="kg-card kg-image-card"><img src="https://economy.p2p.org/content/images/2020/09/3-7.png" class="kg-image" alt srcset="https://economy.p2p.org/content/images/size/w600/2020/09/3-7.png 600w, https://economy.p2p.org/content/images/size/w1000/2020/09/3-7.png 1000w, https://economy.p2p.org/content/images/size/w1600/2020/09/3-7.png 1600w, https://economy.p2p.org/content/images/2020/09/3-7.png 1890w" sizes="(min-width: 720px) 720px"></figure><p>It is also true for the same address on <a href="https://cosmos.bigdipper.live/account/cosmos1d5lu67hu3lhqtw6zyv7uy4gkfpdtfnzxw0wga8">Forbole</a>:</p><figure class="kg-card kg-image-card"><img src="https://economy.p2p.org/content/images/2020/09/4-4.png" class="kg-image" alt srcset="https://economy.p2p.org/content/images/size/w600/2020/09/4-4.png 600w, https://economy.p2p.org/content/images/size/w1000/2020/09/4-4.png 1000w, https://economy.p2p.org/content/images/size/w1600/2020/09/4-4.png 1600w, https://economy.p2p.org/content/images/2020/09/4-4.png 1889w" sizes="(min-width: 720px) 720px"></figure><p>We see an additional 0,971002 ATOM on the available balance, but where did they come from if there was no withdraw transaction made by this account? Of course you may say it's even less than 1 ATOM who cares? But systems based on a code should not allow any mistake. So, is the displayed balance correct or wrong? Let's look into it.</p><p>In fact, the balance is correct. <strong><strong>There are hidden events that trigger reward withdrawal but are not displayed on most explorers</strong></strong>. These tools serve another purpose and these events do not correspond much to the observation of what is happening in general. Nevertheless, these triggers are still crucial for generating full withdrawal history and bringing clarity for delegators.</p><p>There are five core types of actions delegators usually perform:</p><ul><li>Delegate to a validator</li><li>Redelegate to another validator</li><li>Undelegate from a validator</li><li>Withdraw accumulated rewards</li><li>Send available tokens to another address</li></ul><p>The first four of them initiate reward withdrawal, which is usually not displayed for the first three actions by most explorers.</p><p>On <a href="https://p2p.org/dashboard/cosmos1d5lu67hu3lhqtw6zyv7uy4gkfpdtfnzxw0wga8">P2P Dashboard</a> you can check reward withdrawals related to the same address.</p><figure class="kg-card kg-image-card"><img src="https://economy.p2p.org/content/images/2020/09/5-4.png" class="kg-image" alt srcset="https://economy.p2p.org/content/images/size/w600/2020/09/5-4.png 600w, https://economy.p2p.org/content/images/size/w1000/2020/09/5-4.png 1000w, https://economy.p2p.org/content/images/size/w1600/2020/09/5-4.png 1600w, https://economy.p2p.org/content/images/2020/09/5-4.png 1895w" sizes="(min-width: 720px) 720px"></figure><p>In some cases, to apply updates of the network, validators stop producing blocks and upgrade node software. This process requires a transition to a new chain with a new genesis file that stores the actual state at the moment of chain halt. When the new chain becomes active what happens with accumulated rewards?</p><p>These rewards also become available, the transition to the new chain triggers withdrawal but the event is also hidden and not obvious to delegators.</p><h3 id="p2p-dashboard"><strong>P2P Dashboard</strong></h3><p>Every public network needs a variety of analytical tools to allow people without advanced technical skills to get information about what is going on from different angles. In Proof-Of-Stake blockchains a clear reward history and accessibility of historical data are especially important. <strong><strong>What if you need to prove received reward referring to a particular event that simply does not displayed by any explorer?</strong></strong></p><p>Thinking of that, we decided to conduct technical research to make all rewards and withdrawals together with corresponding messages accessible and transparent across all versions of Cosmos Hub.</p><blockquote><em><em>We have added ability to check all withdrawal events across all versions of Cosmos Hub on <a href="https://p2p.org/?utm_source=blog&amp;utm_medium=economy&amp;utm_campaign=cosmos_dashboard_release#dashboard-block">P2P Dashboard</a> and made it open for community. In addition, any ATOM delegator can check all withdrawals, get full reward history and download a report in CSV for multiple addresses.</em></em></blockquote><p>To start, go to <a href="https://p2p.org/?utm_source=blog&amp;utm_medium=economy&amp;utm_campaign=cosmos_dashboard_release">p2p.org</a> and click <code>Get started</code> button in the top right corner. Connect to the dashboard manually by entering the address or using your Ledger device.</p><hr><p><em><em>Want to stake with us? Alexey will be happy to help. Contact</em></em> <em><em>[email protected]</em></em> <em><em>to get personal assistance.</em></em></p><hr><p><strong><strong>P2P Validator</strong></strong> provides secure non-custodial staking. Subscribe to our channels and stay tuned for updates and new blog posts.</p><p><strong><strong>Stake ATOM with us:</strong></strong><a href="https://p2p.org/cosmos"> https://p2p.org/cosmos</a></p><p><strong><strong>Web:</strong></strong><a href="https://p2p.org/?utm_source=blog&amp;utm_medium=economy&amp;utm_campaign=cosmos_dashboard_release"> https://p2p.org</a></p><p><strong><strong>Twitter:</strong></strong><a href="https://twitter.com/p2pvalidator"> @p2pvalidator</a></p><p><strong><strong>Telegram:</strong></strong><a href="https://t.me/p2pvalidator"> https://t.me/p2pvalidator</a></p>

Alex Bond

from p2p validator