hermez-node/common/bid.go
common/bid.goRaw
1package common
2
3import (
4 "math/big"
5)
6
7// Bid is a struct that represents one bid in the PoH
8type Bid struct {
9 SlotNum SlotNum // Slot in which the bid is done
10 Coordinator // Coordinator bidder information
11 BidValue *big.Int
12 EthBlockNum uint64
13 Won bool // boolean flag that tells that this is the final winning bid of this SlotNum
14}