mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-07 11:26:44 +01:00
Update to follow DB spec
This commit is contained in:
16
common/accountcreationauths.go
Normal file
16
common/accountcreationauths.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package common
|
||||
|
||||
import (
|
||||
"time"
|
||||
|
||||
eth "github.com/ethereum/go-ethereum/common"
|
||||
"github.com/iden3/go-iden3-crypto/babyjub"
|
||||
)
|
||||
|
||||
// AccountCreationAuth authorizations sent by users to the L2DB, to be used for account creations when necessary
|
||||
type AccountCreationAuth struct {
|
||||
Timestamp time.Time
|
||||
EthAddr eth.Address
|
||||
BJJ babyjub.PublicKey
|
||||
Signature babyjub.Signature
|
||||
}
|
||||
Reference in New Issue
Block a user