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.

41 lines
843 B

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