new userAirdropDetailCache(params)
Parameters:
Name | Type | Description |
---|---|---|
params |
Object | cache key generation & expiry related params |
Extends
Methods
-
fetchDataFromSource()
-
fetch data from source
- Overrides:
Returns:
- Type
- Result
-
getCacheKey(address)
-
Get cache keys
Parameters:
Name Type Description address
string address - Overrides:
Returns:
- Type
- string
-
setCacheExpiry()
-
set cache expiry in oThis.cacheExpiry and return it
- Overrides:
Returns:
- Type
- Number
-
setCacheKeys()
-
set cache key
- Overrides:
Returns:
- Type
- Object