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