arnaucube
arnaucube/hermez-nodePublic Self-hosted repository
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
 8// WARNING: this is strongly based on the previous implementation, once the new spec is done, this may change a lot.
 9type Bid struct {
10	SlotNum         SlotNum     // Slot in which the bid is done
11	InfoCoordinator Coordinator // Operaror bidder information
12	Amount          *big.Int
13}