You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
677 B

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