arnaucube
arnaucube/hermez-nodePublic Self-hosted repository
hermez-node/common/operator.go
common/operator.goRaw
 1package common
 2
 3import (
 4	eth "github.com/ethereum/go-ethereum/common"
 5)
 6
 7// Operator represents a Hermez network operator who wins an auction for an specific slot
 8// WARNING: this is strongly based on the previous implementation, once the new spec is done, this may change a lot.
 9type Operator struct {
10	Forger      eth.Address // address of the forger
11	Beneficiary eth.Address // address of the beneficiary
12	Withdraw    eth.Address // address of the withdraw
13	URL         string      // URL of the operators API
14}