Interface PreviousHashStore
interface PreviousHashStore { getItem( address: Lowercase<string>, ): null | Lowercase<string> | Promise<null | Lowercase<string>>; removeItem(address: Lowercase<string>): void | Promise<void>; setItem( address: Lowercase<string>, previousHash: Lowercase<string>, ): void | Promise<void>;} Methods
getItem
- getItem(
address: Lowercase<string>,
): null | Lowercase<string> | Promise<null | Lowercase<string>> Parameters
- address: Lowercase<string>
Returns null | Lowercase<string> | Promise<null | Lowercase<string>>
removeItem
- removeItem(address: Lowercase<string>): void | Promise<void>
Parameters
- address: Lowercase<string>
Returns void | Promise<void>
setItem
- setItem(
address: Lowercase<string>,
previousHash: Lowercase<string>,
): void | Promise<void> Parameters
- address: Lowercase<string>
- previousHash: Lowercase<string>
Returns void | Promise<void>