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.

18 lines
649 B

  1. package common
  2. import (
  3. eth "github.com/ethereum/go-ethereum/common"
  4. )
  5. // Coordinator represents a Hermez network coordinator who wins an auction for an specific slot
  6. // WARNING: this is strongly based on the previous implementation, once the new spec is done, this may change a lot.
  7. type Coordinator struct {
  8. CoordinatorID CoordinatorID
  9. Forger eth.Address // address of the forger
  10. Beneficiary eth.Address // address of the beneficiary
  11. Withdraw eth.Address // address of the withdraw
  12. URL string // URL of the coordinators API
  13. }
  14. // CoordinatorID is use to identify a Hermez coordinator
  15. type CoordinatorID uint64