mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-07 11:26:44 +01:00
Add sync interface
This commit is contained in:
37
common/scvars.go
Normal file
37
common/scvars.go
Normal file
@@ -0,0 +1,37 @@
|
||||
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 PoDVars 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
|
||||
}
|
||||
Reference in New Issue
Block a user