DAOhaus v2
Developers
Entities

Entities

Moloch

FieldTypeDescription
idID!Unique identifier and primary key of the entity
versionStringVersion of moloch contract (v1, v2, v2.1, v2.2)
summonerBytes!Address that created the dao
newContractStringDeprecated
deletedBooleanDeprecated
summoningTimeBigInt!Timestamp of the block when the dao was summoned - duplicated
createdAtString!Timestamp of the block when the dao was summoned
periodDurationBigInt!Length in seconds of the current voting period and grace period
votingPeriodLengthBigInt!Length in seconds of the current voting period
gracePeriodLengthBigInt!Length in seconds of the current grace period
proposalDepositBigInt!Deposit amount required to submit a proposal
dilutionBoundBigInt!(1/dilutionBound) is the minimum membership treshold for a ragequit to pass
processingRewardBigInt!Reward amount for processing a proposal
depositTokenToken!Token address for the dao's primary token
approvedTokens[Token!]!Approved tokens scoped to this dao
guildBankAddressBytesThe dao's treasury address
guildBankBalanceV1BigIntDeprecated
tokens[Token!]!Tokens scoped to this dao
members[Member!]!Member addresses scoped to this dao
tokenBalances[TokenBalance!]Token balances scoped to this dao
proposals[Proposal!]Proposals scoped to this dao
rageQuits[RageQuit!]Ragequits scoped to this dao
minions[Minion!]Minion addresses scoped to this dao
shamans[Shaman!]Shamans scoped to this dao
documents[Content!]Documents scoped to this dao
records[Record!]Records scoped to this dao
totalSharesBigInt!Total circulating shares tokens
totalLootBigInt!Total circulating loot tokens
v22SetupBooleanBoolean value of whether v2.2 is set up
spamPreventionAddressBytesUnused - address that receives tributes for submitting a proposal
spamPreventionAmountBigIntUnused - tribute amount required for submitting a proposal

TokenBalance

FieldTypeDescription
idID!Unique identifier and primary key of the entity
molochMoloch!Moloch dao scoped to this token
tokenToken!Token scoped to this token balance
tokenBalanceBigInt!Amount of tokens in balance
memberMemberAddress of the associated member
guildBankBoolean!Boolean value of whether the token balance belongs to the moloch dao
ecrowBankBoolean!Boolean value of whether the token balance belongs in the escrow
memberBankBoolean!Boolean value of whether the token balance belongs to the member

Token

FieldTypeDescription
idID!Unique identifier and primary key of the entity
molochMoloch!Moloch dao scoped to this token balance
tokenAddressTokenAddress!Token address
whitelistedBoolean!Boolean value of whether token is whitelisted
symbolStringToken symbol
decimalsBigIntToken decimals

Member

FieldTypeDescription
idID!Unique identifier and primary key of the entity
createdAtString!Timestamp when the member was created
molochMoloch!Moloch dao scoped to this member
molochAddressBytes!Related dao address
memberAddressBytes!Address of the member
delegateKeyBytes!Address that has received delegated shares from the member (most often, the member's own address)
sharesBigInt!Current shares held by the member
lootBigInt!Current loot held by the member
existsBoolean!Deprecated
highestIndexYesVotesProposallatest proposal that the member has voted yes on (helper value for disabling ragequit if member has a yes vote on an active proposal)
tokenTributeBigInt!Amount of token tributed when the member first joined the dao
didRageQuitBoolean!Boolean value of whether member ragequit from the dao
votes[Vote!]Votes scoped to this member
submissions[Proposal!]Submitted proposals scoped to this member
tokenBalances[TokenBalance!]Token balances scoped to this member
rageQuits[RageQuit!]Rage quits scoped to this member
proposedToTickBooleanBoolean value of whether member was proposed to be kicked from the dao
kickedBooleanBoolean value of whether member was kicked from the dao
jailedBigIntProposal index of the proposal that kicked the member from the dao (0 if member is unkicked)
isDaoMolochMoloch dao address (if the member is a dao)
isSafeMinionSafeMinionSafe minion address (if the member is a safe minion)

Vote

FieldTypeDescription
idID!unique identifier and primary key of the entity
createdAtString!Block timestamp when the vote was submitted
proposalProposal!Related proposal
memberMember!Related/voting member
uintVoteInt!Whether the dao member has voted yes or no (1 for yes, 2 for no)
molochAddressBytes!Contract address of the DAO related to this vote
memberAddressBytesRelated/voting member address
memberPowerBigIntMember's proportional share of all dao shares at time of vote
proposalIndexBigIntOrder that the proposal went through sponsorship process
delegateKeyBytesAddress that has received delegated shares from the member (most often, the member's own address)

Proposal

FieldTypeDescription
idID!Unique identifier and primary key of the entity
createdAtString!Block timestamp when the vote was submitted
createdByBytes!Address that submitted the proposal
proposalIndexBigIntOrder that the proposal went through sponsorship process
proposalIdBigInt!Id of the proposal
molochMoloch!Moloch dao scoped to this
molochAddressBytes!Contract address of the DAO related to this proposal
memberMember!Member scoped to this proposal
memberAddressMember!Address of associated member
delegateKeyBytes!Address that has received delegated shares from the member (most often, the member's own address)
applicantBytes!Address of the proposal applicant
proposerBytesAddress of the proposal proposer
sponsorBytes!Address of the proposal sponsor
processorBytesAddress of the proposal processor
sharesRequestedBigInt!Amount of shares requested in this proposal
lootRequestedBigInt!Amount of loot requested in this proposal
tributeOfferedBigInt!Amount of tribute offered in this proposal
tributeTokenBytes!Address of tribute token
tributeTokenSymbolStringSymbol of tribute token"
tributeTokenDecimalsBigIntDecimals of tribute token
paymentRequestedBigInt!Amount of payment requested
paymentTokenBytes!Address of payment token requested
paymentTokenSymbolStringSymbol of payment token requested
paymentTokenDecimalsBigIntDecimals of payment token
startingPeriodBigIntTimestamp when the proposal enters the proposal queue
yesVotesBigInt!Amount of current shares that have voted yes
noVotesBigInt!Amount of current shares that have voted no
sponsoredBoolean!Boolean value of whether proposal was sponsored
sponsoredAtStringBlock timestamp when the proposal was sponsored
processedBoolean!Boolean value of whether proposal was processed
processedAtStringblock timestamp when the proposal was processed
didPassBoolean!Boolean value of whether proposal was passed
cancelledBooleanBoolean value of whether proposal was cancelled
cancelledAtStringBlock timestamp when the proposal was cancelled
abortedBooleanBoolean value of whether this proposal is aborted
whiteListBooleanBoolean value of whether this proposal is a whitelist token proposal
guildKickBooleanBoolean value of whether this proposal is a guildkick proposal
newMemberBooleanBoolean value of whether this proposal is a new member proposal
tradeBooleanBoolean value of whether this proposal is a trade proposal
guildkickOrWhitelistOrMinionBooleanUnused
detailsStringProposal details scoped to this proposal
maxTotalSharesAndLootAtYesVoteBigIntTotal dao shares and loot at time of yes vote (helper value for dilution bound calculation)
votes[Vote!]Votes scoped to this proposal
yesSharesBigInt!Number of shares that voted yes
noSharesBigInt!Number of shares that voted no
votingPeriodStartsBigInt!Timestamp when the voting period starts
votingPeriodEndsBigInt!Timestamp when the voting period ends
gracePeriodEndsBigInt!Timestamp when the grace period ends
molochVersionMoloch!Version of the moloch dao
isMinionBoolean!Boolean value of whether this is a minion proposal
uberHausMinionExecutedBooleanUnused
executedBooleanBoolean value of whether the proposal is executed (for minion proposals only)
minionAddressBytesMinion address
minionExecuteActionTxMolochTransactionTransaction hash scoped to the minion execution for this proposal
minionMinionMinion object scoped to this proposal
escrowProposalEscrowEscrow minion that holds a nft tribute for a new member proposal
actions[MinionAction!]Minion action scoped to this proposal

RageQuit

FieldTypeDescription
idID!Unique identifier and primary key of the entity
createdAtString!Timestamp of the block when the dao was summoned
molochMoloch!Moloch dao scoped to this ragequit
molochAddressBytes!Related dao address
memberMember!Member scoped to this ragequit
memberAddressBytes!Related member address
sharesBigInt!Number of shares ragequit
lootBigInt!Number of loot ragequit

DaoMeta

FieldTypeDescription
idID!Unique identifier and primary key of the entity
titleStringDeprecated
versionStringDeprecated
newContractStringDeprecated
httpStringDeprecated

Minion

FieldTypeDescription
idID!Unique identifier and primary key of the entity
createdAtString!Timestamp of the block when the minion was summoned
minionAddressBytes!Related dao address
molochAddressBytes!Moloch dao scoped to this minion
detailsString!Name of the minion
minionTypeString!Type of minion
proposals[Proposal!]Proposals scoped to this minion
uberHausAddressBytesAddress of uberhaus dao
uberHausMolochDeprecated
uberHausDelegateRewardFactorBigIntDeprecated
uberHausDelegateBytesUberHausDelegate
safeAddressBytesaddress of related safe
safeMinionVersionStringVersion of the safe minion
crossChainMinionBoolean!Boolean value of whether this minion is a cross-chain minion
foreignChainIdStringChain id of the foreign chain
foreignSafeAddressBytesSafe address on the foreign chain
bridgeModuleStringBridge module address for a cross-chain minion
versionStringVersion of the minion
minQuorumBigIntMinimum quorum percentage of the minion
streams[MinionStream!]Minion stream scoped to this minion

MinionStream

FieldTypeDescription
idID!Unique identifier and primary key of the entity
proposalIdString!Related proposal Id
createdAtString!block id when the minion stream was created
toBytes!Recipient address of minion stream
tokenAddressBytes!Token address of minion stream
superTokenAddressBytes!Token address of super token
rateBigInt!Rate of minion stream per block
minDepositBigInt!Minimum deposit amount to start the minion stream
proposerBytes!Member address that proposed the minion stream
executedBoolean!Boolean value of whether the minion stream was executed
executedBlockBigIntBlock id when the minion stream was executed
executedAtStringBlock timestamp when the minion stream was executed
execTxhashBytesTransaction hash when the minion stream was executed
activeBoolean!Boolean value of whether the minion stream is active
ctxBytes!Transaction hash of cancellation of the minion stream
cancelledAtStringBlock timestamp when the minion stream was cancelled
cancelledByBytesTransaction hash hen the minion stream was cancelled
minionMinion!Minion scoped to this minion stream

SafeMinion

FieldTypeDescription
idID!Unique identifier and primary key of the entity
minions[Minion!]!Minion scoped to this safe minion

MolochTransaction

FieldTypeDescription
idID!Unique identifier and primary key of the entity
createdAtString!Block timestamp when the moloch transaction was created

ProposalEscrow

FieldTypeDescription
idID!Unique identifier and primary key of the entity
proposalProposal!Proposal scoped to this proposal escrow
minionAddressBytes!Address of the associated minion
molochAddressBytes!Address of the associated moloch dao
proposerBytes!Address of the user who proposed this proposal escrow
tokenAddresses[Bytes!]Address of the associated token
tokenTypes[BigInt!]Token standards for tokens in escrow (1 for erc-20, 2 for erc-721, 3 for erc-1155)
tokenIds[BigInt!]Token IDs for tokens in escrow
amounts[BigInt!]Amounts for tokens in escrow

MinionAction

FieldTypeDescription
idID!Unique identifier and primary key of the entity
proposalProposal!Proposal scoped to this minion action
minionAddressBytes!Related minion address
molochAddressBytes!Related dao address
targetBytes!Target address of the minion action
withdrawTokenBytes!Address of the token withdrawn from this minion action
withdrawValueBigInt!Value of the token withdrawn from this minion action
dataString!Encoded data for minion action
memberOnlyBoolean!Boolean value on whether the proposal can be executed by members only
indexBigInt!Order of the minion action

Shaman

FieldTypeDescription
idID!Unique identifier and primary key of the entity
createdAtString!Block timestamp when the shaman was added
shamanAddressBytes!Address of the shaman
molochAddressBytes!Related dao address
molochMoloch!Moloch dao scoped to this shaman
enabledBoolean!Boolean value of whether this shaman is enabled

Content

FieldTypeDescription
idID!Unique identifier and primary key of the entity
createdAtString!Block timestamp when the shaman was added
transactionHashBytes!Transaction hash when the content was created
molochAddressStringRelated dao address
molochMoloch!Moloch dao scoped to this content
memberAddressBytes!Related member address
contentString!Content of the content
contentTypeString!Type of the content
locationString!Location of the content
titleStringTitle of the content
descriptionStringDescription of the content
ratifiedBoolean!Boolean value of whether the content is ratified by the dao
rawDataString!Raw content of the content before parsing

Record

FieldTypeDescription
idID!Unique identifier and primary key of the entity
createdAtString!Block timestamp when the record was added
createdByBytes!Address that created the record
molochMoloch!Moloch dao scoped to this record
tagBytes!Related tag address
tableString!Record table
contentTypeString!Type of the record
contentString!Content of the record