DARWINIA NETWORK
Published in

DARWINIA NETWORK

Darwinia Apps Guide Part VⅠ: Fee Market Analytics

Understanding Darwinia Fee Market

Using Fee Market Analytics in Darwinia Apps

Position of Fee Market in Apps

Overview Page

Statistics

Total Relayers — The first number represents the number of currently active relayers in the current Fee Market. And the second number represents the number of all registered relayers. Active Relayers’ collateral should be higher than the required collateral threshold.Average Speed — The average speed of the orders in this Fee Market.Current Message Fee  Fee that you need to pay if you initiate a cross-chain message order during this time. Every time the Fee Market receives a cross-chain message on the blockchain, it generates an order, to manage the process of a cross-chain message. The orders record the cross-chain messages‘ creation time, confirmation time, fee distribution, etc.Total Rewards  Total rewards earned by all relayers from this Fee Market.Total Orders — Total cross-chain message orders created in this Fee Market.

Charts

Relayers Page

List

All Relayers includes a list of all currently registered relayers in this fee market.Assigned Relayers includes a list of n relayers with the lowest quotes. After all the intended relayers have made their quotes, the system will sort the prices in ascending order and select the lowest n quotes. For the current Fee Markets, n is 3. They are jointly responsible for this cross-chain message: If the message crosses the chain on time, the assigned relayer will be rewarded with a higher percentage. If not, all the assigned relayers will be punished for the failure.
Count(orders) — The number of orders in which the relayer is involved. The way to get involved can be as any role of Assigned Relayer, Delivery Relayer, or Confirmation Relayer. The 3 roles will be explained in the next paragraph of this article.Collateral — The amount of tokens the relayer has locked on the chain. The Fee Market requires relayers to lock a certain amount of tokens on the chain as collateral to prevent failure and malpractice.Quote — The quotation posted by the relayer. The relayer posts their quotes based on the reference price and the expected profit on the blockchain. The currently highest quote of the Assigned relayers would be the Current Message Fee.Sum(reward) The total amount of reward received by the relayer.Sum(slash)  The total amount of fines imposed on the relayer.

Details

Reward & Slash Chart It shows how much one relayer gets rewarded or slashed by day. By comparing the two bars, you can visually see whether the relayer is more penalized or more rewarded.Quote History  It shows the history of the relayer‘s quotes.Involved Order List  This list shows all the orders that the relayer has participated in, including the rewards and penalties that each order has generated for him.

Orders Page

Statistics

Finished — It shows how many cross-chain message orders have been finished, which means these orders have completed the {Delivery Phase} and {Confirmation Phase}.In Progress (In Slot) — It shows how many cross-chain message orders are still in progress but have not exceeded the penalty time set by the system yet.In Progress(Out of Slot) — It shows how many cross-chain message orders are still in progress but have already exceeded the penalty time set by the system. The Assigned Relayers for these orders would get penalized. Relayers and Fee Market Operators should focus on this data.

List

  • By Order ID/Sender Address, you can pinpoint specific orders by the ID/order initiator’s account address.
  • By Status, you can filter out the completed and in-progress orders separately.
  • By Date/Block range, you can filter out orders within the specified Date/Block range respectively.
  • By Slot, you can filter orders in different Slots.

Detail

  • Detail Section
Nonce  The ID of the cross-chain message order.Lane ID —The ID of the message delivery lane.Time Stamp —The date and time at which the cross-chain message order was created.Source TxID —A unique 66-character identifier that is generated whenever an order is accepted on the source chain.Sender — The account that initiated the cross-chain message order.Status —The status of the cross-chain message order.Fee —The fee that users pay for the cross-chain message order.Created At Number of the block in which the cross-chain message order was created.Confirmed At Number of the block in which the cross-chain message order was confirmed.Slot At  Number of the time slot(which was set in the system) in which the cross-chain message order is confirmed. Out of Slot indicates the order exceeded the penalty time set by the system.Assigned Relayers  The selected relayers that are jointly responsible for this cross-chain message.
  • Reward & Slash Sections
Extrinsic —The transaction or event that the reward and slash system initiated, related to the corresponding order.The Reward Section shows how many rewards were generated by this order for different roles of the relayer, and how much would be transferred to the Treasury.The Slash Section shows the penalty of the corresponding Assigned Relayer, in case of a time-out order.

About Darwinia & Crab

--

--

Darwinia Network provides a light-client based, programmable, universal cross-chain messaging Network for DApp developers.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Darwinia

As an open cross-chain bridge protocol based on Substrate, Darwinia focuses on the construction of future Internet of Tokens. TG: http://t.me/DarwiniaNetwork