Skip to main content

Schema

Git Source

Storage Schema v0.1.0

Structs

$Admin

struct $Admin {
address admin;
}

$Clone

struct $Clone {
address dictionary;
}

$Proposal

struct $Proposal {
Proposal[] proposals;
}

Proposal

struct Proposal {
ProposalHeader header;
ProposalBody[] bodies;
}

ProposalHeader

struct ProposalHeader {
ProposalType proposalType;
}

ProposalBody

struct ProposalBody {
uint80 forkRefIndex;
string overview;
Op[] ops;
}

Op

struct Op {
bytes data;
}

$Member

struct $Member {
address[] members;
}

$FeatureToggle

struct $FeatureToggle {
mapping(bytes4 selector => bool) disabledFeature;
}

$Initialization

struct $Initialization {
uint64 initialized;
bool initializing;
}

Enums

ProposalType

enum ProposalType {
Undefined,
MEMBERSHIP_STOCK_TOKEN_RULE,
MEMBERSHIP_REPS_MAJORITY_RULE,
LEGISLATION
}