###### ## ## #### ## ## ###### ### # ##### ##### ######
## ### ## ## ## ## ## ## ## ## ## ## ## ## ### ### ## ##
## #### ## ## ## ## ## ## ## ## ## ## ## ## ##
## ####### ## ## ## ##### ## ## ## ## ## #####
## ## #### ## ## ## ## ## ####### ## ## ## ## ##
## ## ### ## ## ## ## ## ## ## ## ## ### ### ## ##
###### ## ## #### ##### ###### ## ## #### ##### #### ##
Contracts
Deployed Address On Base Of Contracts
Name | Address |
---|---|
0xe13FF6CB6b4fbd21AF5999Ad2614B5Db4fF39AAF | |
0xcfE0DE4A50C80B434092f87e106DFA40b71A5563 | |
0x36c1cdc9dc45D1491694F727375e95fd5c59e8C7 | |
0x2bb508Be8E97d23809624165B43cD63e3A8780a2 | |
0x0066A9A831a95A7e057Ea323BA4100772323D16A | |
0xaa77EFd46fB1F9AC92127f1ACe74C92FFEe3548E | |
0xB81f1cAB4C8a5D9Ba26341042c785CC9ABB76105 | |
0x13AbbbDA8dBfA282244C14211aefe78a4EF59e6C | |
0x42421cb63dD8C045f97abCb89Ad94Ccf404624DA | |
0x658A92c019b412B32A36944389DA86db261E2769 | |
0xfe281674F2973FCf64e3c79986478Bab46E2fAA0 | |
0x9C0756Dd20318DDD4D80A7618036AF14a47Bd7bB | |
0xAa0C7DD48Fd085258C2Ca3457Ac5967330e351da | |
0x396e4988db07a3677caf8dCd6C0101199221c752 | |
0xBA8604923C8ac139B6016056D50b32655Ed0ed10 | |
0x7F00C0f61A4d306f829e044B5276f6489fE0Cebc | |
0x9285B30cD65040C2FeD32f8668d592229461968a | |
0xA8707133a51cbEE1A328f891647812727dEe0835 | |
0x434C3DE1EEbb298e6EF41941192620534BDa75eB | |
0x72A3788baFE9D16D3397764dEB4099b0b0bD8a0A |
Github repo
Collective
Summon Collective DAO
step | contract | method |
summon collective dao | summonCollectiveDao |
Fund Raise Proposal
step | contract | method |
submit fund raise proposal | submitProposal | |
process fund raise proposal | processProposal |
Voting
step | contract | method |
vote for proposal | submitVote |
Deposit ERC20
step | contract | method |
deposit erc20 | deposit | |
withdraw erc20 | withdraw |
Funding Proposal
step | contract | method |
submit funding proposal | submitProposal | |
process proposal | processProposal |
Clear Fund Proposal
step | contract | method |
submit clear fund proposal | submitClearFundProposal | |
process proposal | processClearFundProposal |
DAO Set Proposal
step | contract | method |
submit Investor Cap Proposal | submitInvestorCapProposal | |
submit Governor Membershp Proposal | submitGovernorMembershpProposal | |
submit Voting Proposal | submitVotingProposal | |
submit Fees Proposal | submitFeesProposal | |
submit Proposer Reward Proposal | submitProposerRewardProposal | |
process Investor Cap Proposal | processInvestorCapProposal | |
process Governor Membership Proposal | processGovernorMembershipProposal | |
process Voting Proposal | processVotingProposal | |
process Fees Proposal | processFeesProposal | |
process Proposer Reward Proposal | processProposerRewardProposal |
Expense Proposal
step | contract | method |
summbit Proposal | summbitProposal | |
process Proposal | processProposal |
Governor Management Proposal
step | contract | method |
submit Governor In Proposal | submitGovernorInProposal | |
submit Governor Out Proposal | submitGovernorOutProposal | |
process Proposal | processProposal |
Set RICE Receiver Propsal
step | contract | method |
summbit Proposal | summbitProposal | |
process Proposal | processProposal |
Top Up Proposal
step | contract | method |
summbit Proposal | summbitProposal | |
process Proposal | processProposal |
Withdraw Fund From Escrow
step | contract | method |
withdraw From OverRaised | withdrawFromOverRaised | |
withdraw From Failed FundRaising | withdrawFromFailedFundRaising | |
withdraw From Liquidation | withdrawFromLiquidation | |
withdraw | withdraw | |
withDraw Redemption Fee | withDrawRedemptionFee |
Vesting
step | contract | method |
create Vesting | createVesting | |
withdraw | withdraw |
Flex
Summon A Flex DAO
step | contract | method |
summon Flex Dao | summonFlexDao |
DAOSet Proposal
step | contract | method |
submit Investor Cap Proposal | submitInvestorCapProposal | |
submit Governor Membership Proposal | submitGovernorMembershipProposal | |
submit Investor Membership Proposal | submitInvestorMembershipProposal | |
submit Voting Proposal | submitVotingProposal | |
submit Fees Proposal | submitFeesProposal | |
submit Proposer Membership Proposal | submitProposerMembershipProposal | |
submit Poll For Investment Proposal | submitPollForInvestmentProposal | |
process Investor Cap Proposal | processInvestorCapProposal | |
process Governor Membership Proposal | processGovernorMembershipProposal | |
process Voting Proposal | processVotingProposal | |
process Fees Proposal | processFeesProposal | |
process Proposer Membership Proposal | processProposerMembershipProposal |
Funding Proposal
step | contract | method |
submit Proposal | submitProposal | |
process Proposal | processProposal |
Deposit ERC20
step | contract | method |
deposit | deposit | |
withdraw | withdraw |
Withdraw Fund From Escrow
step | contract | method |
withdraw Investment Payback Token | withdrawInvestmentPaybackToken | |
withdraw free in over raised fund | withdraw |
Governor Voting Asset Allocation Proposal
step | contract | method |
submit Proposal | submitProposal | |
process Proposal | processProposal |
Vote For Proposal
step | contract | method |
vote for poll proposal | submitVote | |
vote for proposal | submitVote |
Set RICE Receiver Proposal
step | contract | method |
submit Proposal | submitProposal | |
process Proposal | processProposal |
Governor Management Proposal
step | contract | method |
submit Governor In Proposal | submitGovernorInProposal | |
submit Governor Out Proposal | submitGovernorOutProposal | |
process Proposal | processProposal | |
quit from dao | quit |
Vesting
step | contract | method |
create Vesting | createVesting | |
withdraw from vesting | withdraw |
Vintage
Summon A Vintage DAO
step | contract | method |
summon Vintage Dao | summonVintageDao |
DAOSet Proposal
step | contract | method |
submit Governor Membership Proposal | submitGovernorMembershipProposal | |
submit Voting Proposal | submitVotingProposal | |
process Governor Membership Proposal | processGovernorMembershipProposal | |
process Voting Proposal | processVotingProposal |
Withdraw Fund From Escrow
step | contract | method |
withdraw From Liquidation | withdrawFromLiquidation | |
withdraw From Failed FundRaising | withdrawFromFailedFundRaising | |
withdraw From OverRaised | withdrawFromOverRaised | |
withdraw free in over raised fund | withdraw | |
withdraw Investment PaybackToken | withdrawInvestmentPaybackToken |
Fund Raise Proposal
step | contract | method |
submit Proposal | submitProposal | |
process Proposal | processProposal |
Deposit ERC20
step | contract | method |
deposit | deposit | |
withdraw | withdraw |
Governor Voting Asset Allocation proposal
step | contract | method |
submit Proposal | submitProposal | |
process Proposal | processProposal |
Governor Management Proposal
step | contract | method |
submit Governor In Proposal | submitGovernorInProposal | |
submit Governor Out Proposal | submitGovernorOutProposal | |
process Proposal | processProposal | |
governor quit from dao | quit |
Set RICE Receiver Proposal
step | contract | method |
submit Proposal | submitProposal | |
process Proposal | processProposal |
Vote For Proposal
step | contract | method |
vote | submitVote |
Vesting
step | contract | method |
create Vesting | 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
https://api.studio.thegraph.com/query/66101/phoenix-base/version/latest
Production Query URL
https://gateway.thegraph.com/api/df7b31885dddc3c6c117be98d5c12d40/subgraphs/id/FoTCW8c8aarckvxt4ukDK55CEn29qeUFh7Xi5pvFd3ph
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
Next →
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
- Production 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