Files
hermez-node/common/accountcreationauths.go
2020-08-24 11:19:39 +02:00

17 lines
390 B
Go

package common
import (
"time"
ethCommon "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 ethCommon.Address
BJJ babyjub.PublicKey
Signature babyjub.Signature
}