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.

15 lines
416 B

  1. package common
  2. import (
  3. "math/big"
  4. ethCommon "github.com/ethereum/go-ethereum/common"
  5. )
  6. // Bid is a struct that represents one bid in the PoH
  7. type Bid struct {
  8. SlotNum SlotNum `meddler:"slot_num"`
  9. BidValue *big.Int `meddler:"bid_value,bigint"`
  10. EthBlockNum int64 `meddler:"eth_block_num"`
  11. Bidder ethCommon.Address `meddler:"bidder_addr"` // Coordinator reference
  12. }