You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
595 B

  1. package api
  2. import (
  3. "github.com/hermeznetwork/hermez-node/common"
  4. "github.com/hermeznetwork/hermez-node/db/historydb"
  5. "github.com/hermeznetwork/hermez-node/eth"
  6. )
  7. // Status define status of the network
  8. type Status struct {
  9. Network historydb.Network `json:"network"`
  10. Metrics historydb.Metrics `json:"metrics"`
  11. Rollup eth.RollupVariables `json:"rollup"`
  12. Auction eth.AuctionVariables `json:"auction"`
  13. WithdrawalDelayer eth.WDelayerVariables `json:"withdrawalDelayer"`
  14. RecommendedFee common.RecommendedFee `json:"recommendedFee"`
  15. }