Search

For DAO Managers

For Investors

Claiming Vesting

For Startups

For Scout

What Is Scout

Propose An Investment

Governomy

Understanding Governomy

Governomy Contract & Graph

Expansion

Risk Disclaimer

Terms of Use

Privacy Policy

DAOSquare Incubator Documentation
DAOSquare Incubator Documentation
Protocol Contract & Graph

Protocol Contract & Graph

 ######  ##   ##    ####   ##   ##  ######     ###     # #####  #####   ######
   ##    ###  ##   ##  ##  ##   ##   ##  ##   ## ##   ## ## ## ### ###   ##  ##
   ##    #### ##  ##       ##   ##   ##  ##  ##   ##     ##    ##   ##   ##  ##
   ##    #######  ##       ##   ##   #####   ##   ##     ##    ##   ##   #####
   ##    ## ####  ##       ##   ##   ##  ##  #######     ##    ##   ##   ## ##
   ##    ##  ###   ##  ##  ##   ##   ##  ##  ##   ##     ##    ### ###   ## ##
 ######  ##   ##    ####    #####   ######   ##   ##    ####    #####   #### ##

Contracts

Deployed Address On Base Of Contracts

Vintage

4 views

Vintage

Collective

Flex

Common

Name
Address
vintageFundingPoolFactory deployed address

0xe13FF6CB6b4fbd21AF5999Ad2614B5Db4fF39AAF

bentoBoxV1 deployed address

0xcfE0DE4A50C80B434092f87e106DFA40b71A5563

vintageSetRiceReceiverProposalAdapterContract deployed address

0x36c1cdc9dc45D1491694F727375e95fd5c59e8C7

vintageGovernorVotingAssetAllocationProposalAdapterContract deployed address

0x2bb508Be8E97d23809624165B43cD63e3A8780a2

vintageDaoSetHelperAdapterContract deployed address

0x0066A9A831a95A7e057Ea323BA4100772323D16A

vintageDaoSetAdapterContract deployed address

0xaa77EFd46fB1F9AC92127f1ACe74C92FFEe3548E

vintageFundingPoolAdapterHelperContract deployed address

0xB81f1cAB4C8a5D9Ba26341042c785CC9ABB76105

vintageFreeInEscrowFundAdapterContract deployed address

0x13AbbbDA8dBfA282244C14211aefe78a4EF59e6C

vintageInvestmentPaybackTokenAdapterContract deployed address

0x42421cb63dD8C045f97abCb89Ad94Ccf404624DA

vintageRaiserAllocationAdapter deployed address

0x658A92c019b412B32A36944389DA86db261E2769

vintageDistributeAdatperContract deployed address

0xfe281674F2973FCf64e3c79986478Bab46E2fAA0

vintageEscrowFundAdapterContract deployed address

0x9C0756Dd20318DDD4D80A7618036AF14a47Bd7bB

vintageVesting deployed address

0xAa0C7DD48Fd085258C2Ca3457Ac5967330e351da

vintageAllocationAdapterContract deployed address

0x396e4988db07a3677caf8dCd6C0101199221c752

vintageFundingAdapterContract deployed address

0xBA8604923C8ac139B6016056D50b32655Ed0ed10

vintageRaiserManagementContract deployed address

0x7F00C0f61A4d306f829e044B5276f6489fE0Cebc

vintageVotingContract deployed address

0x9285B30cD65040C2FeD32f8668d592229461968a

vintageFundingPoolAdapterContract deployed address

0xA8707133a51cbEE1A328f891647812727dEe0835

vintageFundRaiseHelperAdapterContract deployed address

0x434C3DE1EEbb298e6EF41941192620534BDa75eB

vintageFundRaiseAdapterContract deployed address

0x72A3788baFE9D16D3397764dEB4099b0b0bD8a0A

Github repo

Collective

Summon Collective DAO

step
contract
method
summon collective dao
SummonCollecitveDao.sol
summonCollectiveDao

Fund Raise Proposal

step
contract
method
submit fund raise proposal
CollectiveFundRaiseProposalAdapter.sol
submitProposal
process fund raise proposal
CollectiveFundRaiseProposalAdapter.sol
processProposal

Voting

step
contract
method
vote for proposal
CollectiveVotingAdapter.sol
submitVote

Deposit ERC20

step
contract
method
deposit erc20
CollectiveFundingPoolAdapter.sol
deposit
withdraw erc20
CollectiveFundingPoolAdapter.sol
withdraw

Funding Proposal

step
contract
method
submit funding proposal
CollectiveFundingProposalAdapter.sol
submitProposal
process proposal
CollectiveFundingProposalAdapter.sol
processProposal

Clear Fund Proposal

step
contract
method
submit clear fund proposal
CollectiveClearFundProposalAdapter.sol
submitClearFundProposal
process proposal
CollectiveClearFundProposalAdapter.sol
processClearFundProposal

DAO Set Proposal

step
contract
method
submit Investor Cap Proposal
CollectiveDaoSetProposalAdapter.sol
submitInvestorCapProposal
submit Governor Membershp Proposal
CollectiveDaoSetProposalAdapter.sol
submitGovernorMembershpProposal
submit Voting Proposal
CollectiveDaoSetProposalAdapter.sol
submitVotingProposal
submit Fees Proposal
CollectiveDaoSetProposalAdapter.sol
submitFeesProposal
submit Proposer Reward Proposal
CollectiveDaoSetProposalAdapter.sol
submitProposerRewardProposal
process Investor Cap Proposal
CollectiveDaoSetProposalAdapter.sol
processInvestorCapProposal
process Governor Membership Proposal
CollectiveDaoSetProposalAdapter.sol
processGovernorMembershipProposal
process Voting Proposal
CollectiveDaoSetProposalAdapter.sol
processVotingProposal
process Fees Proposal
CollectiveDaoSetProposalAdapter.sol
processFeesProposal
process Proposer Reward Proposal
CollectiveDaoSetProposalAdapter.sol
processProposerRewardProposal

Expense Proposal

step
contract
method
summbit Proposal
CollectiveExpenseProposalAdapter.sol
summbitProposal
process Proposal
CollectiveExpenseProposalAdapter.sol
processProposal

Governor Management Proposal

step
contract
method
submit Governor In Proposal
CollectiveGovernorManagementAdapter.sol
submitGovernorInProposal
submit Governor Out Proposal
CollectiveGovernorManagementAdapter.sol
submitGovernorOutProposal
process Proposal
CollectiveGovernorManagementAdapter.sol
processProposal

Set RICE Receiver Propsal

step
contract
method
summbit Proposal
CollectiveSetRiceReceiverProposalAdapter.sol
summbitProposal
process Proposal
CollectiveSetRiceReceiverProposalAdapter.sol
processProposal

Top Up Proposal

step
contract
method
summbit Proposal
CollectiveTopUpProposalAdapter.sol
summbitProposal
process Proposal
CollectiveTopUpProposalAdapter.sol
processProposal

Withdraw Fund From Escrow

step
contract
method
withdraw From OverRaised
CollectiveEscrowFundAdapter.sol
withdrawFromOverRaised
withdraw From Failed FundRaising
CollectiveEscrowFundAdapter.sol
withdrawFromFailedFundRaising
withdraw From Liquidation
CollectiveEscrowFundAdapter.sol
withdrawFromLiquidation
withdraw
CollectiveFreeInFundEscrowAdapter.sol
withdraw
withDraw Redemption Fee
CollectiveRedemptionFeeEscrowAdapter.sol
withDrawRedemptionFee

Vesting

step
contract
method
create Vesting
CollectiveVestingAdapter.sol
createVesting
withdraw
CollectiveVestingAdapter.sol
withdraw

Flex

Summon A Flex DAO

step
contract
method
summon Flex Dao
SummonDao.sol
summonFlexDao

DAOSet Proposal

step
contract
method
submit Investor Cap Proposal
FlexDaoSetAdapter.sol
submitInvestorCapProposal
submit Governor Membership Proposal
FlexDaoSetAdapter.sol
submitGovernorMembershipProposal
submit Investor Membership Proposal
FlexDaoSetAdapter.sol
submitInvestorMembershipProposal
submit Voting Proposal
FlexDaoSetAdapter.sol
submitVotingProposal
submit Fees Proposal
FlexDaoSetAdapter.sol
submitFeesProposal
submit Proposer Membership Proposal
FlexDaoSetAdapter.sol
submitProposerMembershipProposal
submit Poll For Investment Proposal
FlexDaoSetAdapter.sol
submitPollForInvestmentProposal
process Investor Cap Proposal
FlexDaoSetAdapter.sol
processInvestorCapProposal
process Governor Membership Proposal
FlexDaoSetAdapter.sol
processGovernorMembershipProposal
process Voting Proposal
FlexDaoSetAdapter.sol
processVotingProposal
process Fees Proposal
FlexDaoSetAdapter.sol
processFeesProposal
process Proposer Membership Proposal
FlexDaoSetAdapter.sol
processProposerMembershipProposal

Funding Proposal

step
contract
method
submit Proposal
FlexFunding.sol
submitProposal
process Proposal
FlexFunding.sol
processProposal

Deposit ERC20

step
contract
method
deposit
FlexFundingPoolAdapter.sol
deposit
withdraw
FlexFundingPoolAdapter.sol
withdraw

Withdraw Fund From Escrow

step
contract
method
withdraw Investment Payback Token
FlexFundingReturnTokenAdapter.sol
withdrawInvestmentPaybackToken
withdraw free in over raised fund
FlexFreeInEscrowFund.sol
withdraw

Governor Voting Asset Allocation Proposal

step
contract
method
submit Proposal
FlexGovernorVotingAssetAllocationProposalAdapter.sol
submitProposal
process Proposal
FlexGovernorVotingAssetAllocationProposalAdapter.sol
processProposal

Vote For Proposal

step
contract
method
vote for poll proposal
FlexPollingVoting.sol
submitVote
vote for proposal
FlexVoting.sol
submitVote

Set RICE Receiver Proposal

step
contract
method
submit Proposal
FlexSetRiceReceiverProposalAdapter.sol
submitProposal
process Proposal
FlexSetRiceReceiverProposalAdapter.sol
processProposal

Governor Management Proposal

step
contract
method
submit Governor In Proposal
StewardManagement.sol
submitGovernorInProposal
submit Governor Out Proposal
StewardManagement.sol
submitGovernorOutProposal
process Proposal
StewardManagement.sol
processProposal
quit from dao
StewardManagement.sol
quit

Vesting

step
contract
method
create Vesting
FlexVesting.sol
createVesting
withdraw from vesting
FlexVesting.sol
withdraw

Vintage

Summon A Vintage DAO

step
contract
method
summon Vintage Dao
SummonVintageDao.sol
summonVintageDao

DAOSet Proposal

step
contract
method
submit Governor Membership Proposal
VintageDaoSetAdapter.sol
submitGovernorMembershipProposal
submit Voting Proposal
VintageDaoSetAdapter.sol
submitVotingProposal
process Governor Membership Proposal
VintageDaoSetAdapter.sol
processGovernorMembershipProposal
process Voting Proposal
VintageDaoSetAdapter.sol
processVotingProposal

Withdraw Fund From Escrow

step
contract
method
withdraw From Liquidation
VintageEscrowFund.sol
withdrawFromLiquidation
withdraw From Failed FundRaising
VintageEscrowFund.sol
withdrawFromFailedFundRaising
withdraw From OverRaised
VintageEscrowFund.sol
withdrawFromOverRaised
withdraw free in over raised fund
VintageFreeInFundEscrow.sol
withdraw
withdraw Investment PaybackToken
VintageFundingReturnTokenAdapter.sol
withdrawInvestmentPaybackToken

Fund Raise Proposal

step
contract
method
submit Proposal
VintageFundRaise.sol
submitProposal
process Proposal
VintageFundRaise.sol
processProposal

Deposit ERC20

step
contract
method
deposit
VintageFundingAdapter.sol
deposit
withdraw
VintageFundingAdapter.sol
withdraw

Governor Voting Asset Allocation proposal

step
contract
method
submit Proposal
VintageGovernorVotingAssetAllocationAdapter.sol
submitProposal
process Proposal
VintageGovernorVotingAssetAllocationAdapter.sol
processProposal

Governor Management Proposal

step
contract
method
submit Governor In Proposal
VintageRaiserManagement.sol
submitGovernorInProposal
submit Governor Out Proposal
VintageRaiserManagement.sol
submitGovernorOutProposal
process Proposal
VintageRaiserManagement.sol
processProposal
governor quit from dao
VintageRaiserManagement.sol
quit

Set RICE Receiver Proposal

step
contract
method
submit Proposal
VintageSetRiceReceiverAdapter.sol
submitProposal
process Proposal
VintageSetRiceReceiverAdapter.sol
processProposal

Vote For Proposal

step
contract
method
vote
VintageVoting.sol
submitVote

Vesting

step
contract
method
create Vesting
VintageVesting.sol
createVesting
withdraw from vesting
withdraw

The Graph For Incubator

  _____  _   _  _____    ____  ____      _     ____   _   _ 
 |_   _|| | | || ____|  / ___||  _ \    / \   |  _ \ | | | |
   | |  | |_| ||  _|   | |  _ | |_) |  / _ \  | |_) || |_| |
   | |  |  _  || |___  | |_| ||  _ <  / ___ \ |  __/ |  _  |
   |_|  |_| |_||_____|  \____||_| \_\/_/   \_\|_|    |_| |_|
                                                            

Github repo

Development

# install project dependencies
yarn // or npm i

# generate graph files
yarn codegen

# run build
yarn build

# now you're able to deploy to thegraph via
graph deploy <your graph id>

Development Query URL

api.studio.thegraph.com

Entities

created daos:

  daoEntiys{
    daoAddr
    daoName
    daoType
    createTimeStamp
  }

Manual Create Vesting

 ManualVestEntity @entity {
  id: ID!
  txHash: Bytes!
  name: String!
  description: String!
  NFTEnalbe: Boolean!
  creator: Bytes! # address
  vestId: BigInt! # uint256
  recipient: Bytes! # address
  originalRecipient: Bytes!
  tokenAddress: Bytes! # address
  erc721Address: Bytes! # address
  tokenId: BigInt! # uint256
  startTime: BigInt! # uint256
  startTimeString:  String!
  cliffEndTime: BigInt! # uint256
  cliffEndTimeString: String!
  endTime: BigInt! # uint256
  endTimeString: String!
  interval: BigInt! # uint256
  totalAmount:  BigInt! # uint256
  totalAmountFromWei: String!
  cliffAmount: BigInt! # uint256
  cliffAmountFromWei: String!
  claimedAmount: BigInt! # uint256
  claimedAmountFromWei: String!
  blockNumber: BigInt! # uint256
  batchVestId: String!
  batchId: BigInt!
}

Collective Set RICE Receiver Proposal

CollectiveSetRiceReceiverProposalEntity @entity{
  id: ID!
  daoAddr: Bytes! # address
  proposalId: Bytes!
  proposer: Bytes! # address
  creationTime: BigInt!
  stopVotingTime: BigInt!
  state: BigInt!
  executeTime: BigInt!
  executeHash: Bytes!
  riceReceiver: Bytes!
  collectiveDaoEntity: CollectiveDaoEntity
}

Collective Clear Fund Proposal

CollectiveClearFundProposalEntity @entity{
  id: ID!
  daoAddr: Bytes! # address
  proposalId: Bytes!
  proposer: Bytes! # address
  creationTime: BigInt!
  stopVotingTime: BigInt!
  state: BigInt!
  executeTime: BigInt!
  executeHash: Bytes!
  amount: BigInt!
  currencyAddr: Bytes!
  collectiveDaoEntity: CollectiveDaoEntity
}

Collective Investor Activity

CollectiveInvestorActivity @entity(immutable: true){
  id:ID!
  txHash:Bytes! 
  daoAddr: Bytes! # address
  proposalId: Bytes! # address
  account:  Bytes! # address
  type: String!
  amount: BigInt! # uint256
  amountFromWei: String!
  timeStamp: BigInt! # uint256
  timeString: String!
}

Collective Fee Ratio

CollectiveDaoFeeInfoEntity @entity{
  id: ID!
  daoAddr: Bytes! # address
  redemptionFeeAmount: BigInt
  proposerInvestTokenFeeAmount: BigInt
  proposerPayBackTokenFeeAmount: BigInt
  collectiveDaoEntity: CollectiveDaoEntity
}

Collective Governor Membership

CollectiveDaoGovernorMembershipEntity @entity {
  id: ID!
  daoAddr: Bytes! # address
  enable: Boolean
  name: String
  varifyType: BigInt
  minHolding: BigInt
  tokenAddress: Bytes
  tokenId: BigInt
  whiteList: [String!]
  collectiveDaoEntity: CollectiveDaoEntity
}

Collective Vesting Info

CollectiveVestEntity @entity {
  id: ID!
  vestId: BigInt! # uint256
  recipient: Bytes! # address
  proposalId: Bytes! 
  tokenAddress: Bytes! # address
  startTime: BigInt! # uint256
  startTimeString:  String!
  cliffEndTimeString: String!
  vestEndTimeString: String!
  cliffDuration: BigInt! # uint256
  stepDuration: BigInt! # uint256
  steps: BigInt! # uint256
  cliffShares: BigInt! # uint256
  stepShares: BigInt! # uint256
  totalAmount:  BigInt! # uint256
  claimedAmount: BigInt! # uint256
  nftToken: Bytes! # address
  tokenId: BigInt! # uint256
  originalRecipient: Bytes! # address
  daoAddr: Bytes! # address
}

Collective DAO Set Proposal

CollectiveDaoSetProposalEntity @entity{
  id:ID!
  daoAddr: Bytes! # address
  proposer: Bytes
  proposalId: Bytes! # bytes32
  proposalType: BigInt! # uint256
  proposalTypeString: String!
  state: BigInt! # uint256
  creationTime: BigInt
  executeHash: Bytes!
  collectiveDaoEntity: CollectiveDaoEntity
}

Collective Expense Proposal

CollectiveExpenseProposalEntity @entity{
  id: ID!
  proposer: Bytes! # address
  daoAddr: Bytes! # address
  proposalId: Bytes! # bytes32
  amount: BigInt!
  creationTime: BigInt!
  receiver: Bytes! # address
  state: BigInt!
  stopVoteTime:BigInt!
  tokenAddress: Bytes! # address
  executeHash: Bytes!
  collectiveDaoEntity: CollectiveDaoEntity
}

Collective Funding Proposal

CollectiveInvestmentProposalEntity @entity{
  id: ID!
  daoAddr: Bytes! # address
  proposalId: Bytes! # bytes32
  approver: Bytes! # address
  escrow: Boolean!
  paybackAmount: BigInt!
  paybackToken: Bytes! # address
  price: BigInt!
  executeBlockNum: BigInt!
  proposalExecuteTimestamp: BigInt!
  investmentAmount: BigInt!
  receiver: Bytes! # address
  token: Bytes! # address
  totalAmount: BigInt!
  proposer: Bytes! # address
  state: BigInt!
  startVotingTime: BigInt!
  stopVotingTime: BigInt!
  cliffEndTime: BigInt!
  cliffVestingAmount: BigInt!
  vestingEndTime: BigInt!
  vestingStartTime: BigInt!
  vestingInterval: BigInt!
  executeHash: Bytes!
  creationTime: BigInt!
  vestingNFTEnable: Boolean!
  vestingNFTAddr: Bytes! # address
  proposerFeeAmount:  BigInt!
  proposerCarryAmount:  BigInt!
  protocolFeeAmount: BigInt!
  collectiveDaoEntity: CollectiveDaoEntity
}

Collective Fund Raise Proposal

CollectiveFundRaiseProposalEntity @entity{
  id: ID!
  daoAddr: Bytes! # address
  proposalId: Bytes! # bytes32
  proposer: Bytes! # bytes32
  acceptTokenAddr: Bytes! # address
  fundRaiseTarget: BigInt! # uint256
  fundRaiseTargetFromWei: String!
  fundRaiseMaxAmount: BigInt! # uint256
  fundRaiseMaxAmountFromWei: String!
  lpMinDepositAmount: BigInt! # uint256
  lpMinDepositAmountFromWei: String!
  lpMaxDepositAmount: BigInt! # uint256
  lpMaxDepositAmountFromWei: String!
  fundRaiseStartTime: BigInt! # uint256
  fundRaiseEndTime: BigInt! # uint256
  state: BigInt! # uint256
  creationTime: BigInt! # uint256
  stopVoteTime: BigInt! # uint256
  totalFund: BigInt! # uint256
  totalFundFromWei: String!
  fundRaiseType: BigInt # uint256
  fundRaiseTypeInString: String
  priorityDepositEnable: Boolean
  priorityDepositType: BigInt
  priorityDepositTokenAddress: Bytes
  priorityDepositTokenId: BigInt
  priorityDepositAmount: BigInt
  priorityDepositWhiteList: [String!]
  executeHash: Bytes!
  fundRaiseState: String
  fundRaiseId: BigInt!
  investorCapEnable: Boolean!
  investorCapAmount: BigInt!
  failedReason: String
  fundRaisingId: BigInt
  collectiveDaoEntity: CollectiveDaoEntity
} 

Collective Governor Management Proposal

CollectiveGovernorManagementProposal @entity{
  id: ID!
  daoAddr: Bytes! # address
  proposer: Bytes! # address
  proposalId: Bytes!
  governorAddress: Bytes! # address
  creationTime: BigInt! # uint256
  createTimeString: String!
  startVoteTime: BigInt!
  startVoteTimeString: String!
  stopVoteTime: BigInt! # uint256
  stopVoteTimeString: String!
  state: BigInt! # uint256
  stateInString: String!
  type: BigInt! # uint256
  typeInString: String!
  executeHash: Bytes!
  depositAmount: BigInt!
  votingPowerToBeAllocated: BigInt!
  quitAmount: BigInt!
  collectiveDaoEntity: CollectiveDaoEntity
}

Collective Top Up Proposal

CollectiveTopUpProposalEntity @entity{
  id: ID!
  daoAddr: Bytes! # address
  proposalId: Bytes! # address
  account: Bytes! # address
  amount: BigInt!
  state: BigInt!
  token: Bytes! # address
  creationTime: BigInt!
  stopVoteTime: BigInt!
  executeHash: Bytes!
  votingPowerToBeAllocated: BigInt!
  collectiveDaoEntity: CollectiveDaoEntity
}

← Previous

Overview Of Protocol

Next →

Fundraising

On this page

  • Contracts
  • Deployed Address On Base Of Contracts
  • Github repo
  • Collective
  • Summon Collective DAO
  • Fund Raise Proposal
  • Voting
  • Deposit ERC20
  • Funding Proposal
  • Clear Fund Proposal
  • DAO Set Proposal
  • Expense Proposal
  • Governor Management Proposal
  • Set RICE Receiver Propsal
  • Top Up Proposal
  • Withdraw Fund From Escrow
  • Vesting
  • Flex
  • Summon A Flex DAO
  • DAOSet Proposal
  • Funding Proposal
  • Deposit ERC20
  • Withdraw Fund From Escrow
  • Governor Voting Asset Allocation Proposal
  • Vote For Proposal
  • Set RICE Receiver Proposal
  • Governor Management Proposal
  • Vesting
  • Vintage
  • Summon A Vintage DAO
  • DAOSet Proposal
  • Withdraw Fund From Escrow
  • Fund Raise Proposal
  • Deposit ERC20
  • Governor Voting Asset Allocation proposal
  • Governor Management Proposal
  • Set RICE Receiver Proposal
  • Vote For Proposal
  • Vesting
  • The Graph For Incubator
  • Github repo
  • Development Query URL
  • Entities
  • Manual Create Vesting
  • Collective Set RICE Receiver Proposal
  • Collective Clear Fund Proposal
  • Collective Investor Activity
  • Collective Fee Ratio
  • Collective Governor Membership
  • Collective Vesting Info
  • Collective DAO Set Proposal
  • Collective Expense Proposal
  • Collective Funding Proposal
  • Collective Fund Raise Proposal
  • Collective Governor Management Proposal
  • Collective Top Up Proposal