Skip to content

Compute status from indexer/standardsInfo if available, else from on-chain state + clock.

deriveCrowdfundStatus(deadlineMs, raised, goal): CrowdfundStatus

Defined in: packages/bitbadgesjs-sdk/src/core/crowdfunds.ts:213

Compute status from indexer/standardsInfo if available, else from on-chain state + clock.

Parameters

deadlineMs

bigint

raised

bigint

goal

bigint

Returns

CrowdfundStatus

Edit this page on GitHub