Moloch V2
Shares - non-transferable voting & economic interests in the DAO
Loot - non-transferable economic interests in the DAO
Â
Both shares and loot entitle the holder to their proportional share of all guild tokens in the DAO treasury if they burn their interests
Â
Jail - A member can have their shares forcibly converted to loot via a proposal by the other members. They do not lose any economic interests, only voting power.
Â
Ways shares can be increased
- On summon
- Via standard proposal
Â
Ways loot can be increased
- Share conversion (guild kick)
- Via standard proposal
Â
How can shares be lowered
- Rage quit - voluntary burning of shares
Â
How can loot be lowered
- Rage quit - voluntary burning of loot
- Rage kick - involuntary burning of loot by the DAO on behalf of a jailed participant
Â
How to read the members
A list of members is not directly query-able. Instead, it is best to parse events or create a subgraph to track share, loot creation and burn events
Â
Procedure for tallying membership
- Parse summoning data to read
sumonerShares
- Parse proposals to track when
sharesRequested
orlootRequested
are non-zero - https://github.com/Moloch-Mystics/Molochv2.1/blob/ef94734a460f00deb61433e225f4be169ad1cc23/Molochv2.1.sol#L39
- Add shares and loot to
applicant
if the proposal has been: - Sponsored
- Voted yes
- Processed
- Use
getProposalFlags
or trackProcessProposal
events to check if member proposal was successful
- Track when
RageQuit
events are emitted - https://github.com/Moloch-Mystics/Molochv2.1/blob/ef94734a460f00deb61433e225f4be169ad1cc23/Molochv2.1.sol#L45
- Remove shares or loot from
memberAddress
Â
Moloch V3
Â
Key changes:
- In V3, shares and loot can be made transferable through a governance proposal
- Shares emit normal ERC20 events
- Loot emits a different transfer event
- Shares and loot can also be updated via
memberActions
by whitelistedshamans
Â