Skip to main content

Schema

Git Source

Storage Schema v0.1.0

Structs

$Admin

Note: storage-location: erc7201:mc.std.admin

struct $Admin {
address admin;
}

$Clone

Note: storage-location: erc7201:mc.std.clone

struct $Clone {
address dictionary;
}

$Proposal

Note: storage-location: erc7201:mc.std.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

Note: storage-location: erc7201:mc.std.member

struct $Member {
address[] members;
}

$FeatureToggle

Note: storage-location: erc7201:mc.std.featureToggle

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

$Initialization

Note: storage-location: erc7201:mc.std.initializer

struct $Initialization {
uint64 initialized;
bool initializing;
}

Enums

ProposalType

enum ProposalType {
Undefined,
MEMBERSHIP_STOCK_TOKEN_RULE,
MEMBERSHIP_REPS_MAJORITY_RULE,
LEGISLATION
}