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.

31 lines
354 B

package types
import (
"time"
)
type Ballot struct {
Type string
PID string
Nullifier []byte
Vote []byte
Franchise []byte
}
type Envelope struct {
Type string
Nonce uint64
KeyProof []byte
Ballot []byte
Timestamp time.Time
}
type Batch struct {
Type string
Nullifiers [][]byte
URL string
TXID string
Nonce []byte
Signature string
}