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