oceanprotocol-archive / oceandao-proposal-portal

OceanDao proposal portal
0 stars 1 forks source link

Update canCreateProposal in BE #161

Closed idiom-bytes closed 2 years ago

idiom-bytes commented 2 years ago

Problem:

Right now, the project/proposal route to check if one can be created, can be improved.

canCreateProposals means we should check every condition that is required to return a simple true/false. receivedFundingAndNotReported is what's developed at the moment.

(2) is a subset of (1)

DoD:

Deferred to separate issue:

idiom-bytes commented 2 years ago

From our conversation. We should just make sure that the umbrella condition (canCreateProposals) is properly handled.

Proposal Standing === Unreported, In Progress, Incomplete & Inactive, In Dispute Proposal State === Funded It can't be any of those

trizin commented 2 years ago

177

Checks if the proposal is funded and not completed.