Skip to main content

PredictFundingService Events

2 events registered.

NameDeprecated
depositResolved
depositStatusChanged

PredictFundingService:depositResolved​

Source: app/components/UI/PredictNext/services/PredictFundingService.ts:300

Published when this process sees a deposit it already knew reach a status that needs nothing more from the app: completed, cancelled, failed or under_review. Each such move is published once, including a later one after support review (under_review to completed, say). A deposit first read already resolved is not announced, so an old deposit never shows up as news, and an answer older than what the service knows is never announced again.

Payload signature:

[{ venueId: PredictVenueId; deposit: PredictDepositOperation }]

PredictFundingService:depositStatusChanged​

Source: app/components/UI/PredictNext/services/PredictFundingService.ts:306

Published whenever the active deposit status line changes for a Venue.

Payload signature:

[
{ venueId: PredictVenueId; deposit: PredictDepositOperation | null },
]