Skip to main content
Version: v1.2

DomainObjs

An utility contract that holds a number of domain objects and functions

MESSAGE_DATA_LENGTH

uint8 MESSAGE_DATA_LENGTH

the length of a MACI message

Message

struct Message {
uint256 msgType;
uint256[10] data;
}

PubKey

struct PubKey {
uint256 x;
uint256 y;
}

StateLeaf

struct StateLeaf {
struct DomainObjs.PubKey pubKey;
uint256 voiceCreditBalance;
uint256 timestamp;
}