MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / getState

Function getState

src/lib/adRewards.js:271–276  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

269 await refreshState({ notifyExpiry: true });
270 },
271 getState() {
272 return {
273 ...state,
274 expiryDate: getExpiryDate(),
275 };
276 },
277 getOffers() {
278 return OFFERS.map((offer) => ({
279 ...offer,

Callers

nothing calls this directly

Calls 1

getExpiryDateFunction · 0.85

Tested by

no test coverage detected