Files
hermez-node/common/scvars.go
2020-08-26 14:31:24 +02:00

38 lines
681 B
Go

package common
import (
"math/big"
eth "github.com/ethereum/go-ethereum/common"
)
type RollupVars struct {
EthBlockNum uint64
ForgeL1Timeout *big.Int
FeeL1UserTx *big.Int
FeeAddToken *big.Int
TokensHEZ eth.Address
Governance eth.Address
}
type AuctionVars struct {
EthBlockNum uint64
SlotDeadline uint
CloseAuctionSlots uint
OpenAuctionSlots uint
Governance eth.Address
MinBidSlots MinBidSlots
Outbidding int
DonationAddress eth.Address
GovernanceAddress eth.Address
AllocationRatio AllocationRatio
}
type MinBidSlots [6]uint
type AllocationRatio struct {
Donation uint
Burn uint
Forger uint
}