hermez-node/common/scvars.go
common/scvars.goRaw
1package common
2
3import (
4 "math/big"
5
6 eth "github.com/ethereum/go-ethereum/common"
7)
8
9type RollupVars struct {
10 EthBlockNum uint64
11 ForgeL1Timeout *big.Int
12 FeeL1UserTx *big.Int
13 FeeAddToken *big.Int
14 TokensHEZ eth.Address
15 Governance eth.Address
16}
17
18type AuctionVars struct {
19 EthBlockNum uint64
20 SlotDeadline uint
21 CloseAuctionSlots uint
22 OpenAuctionSlots uint
23 Governance eth.Address
24 MinBidSlots MinBidSlots
25 Outbidding int
26 DonationAddress eth.Address
27 GovernanceAddress eth.Address
28 AllocationRatio AllocationRatio
29}
30
31type MinBidSlots [6]uint
32
33type AllocationRatio struct {
34 Donation uint
35 Burn uint
36 Forger uint
37}