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.

15 lines
494 B

  1. package common
  2. import "math/big"
  3. // L1Tx is a struct that represents an already forged L1 tx
  4. // WARNING: this struct is very unclear and a complete guess
  5. type L1Tx struct {
  6. Tx
  7. Ax *big.Int // Ax is the x coordinate of the BabyJubJub curve point
  8. Ay *big.Int // Ay is the y coordinate of the BabyJubJub curve point
  9. LoadAmount *big.Int // amount transfered from L1 -> L2
  10. Mined bool
  11. BlockNum uint64
  12. ToForgeL1TxsNumber uint32
  13. }