UNPKG

@azuro-org/sdk

Version:

One-stop solution for building betting dApps on the Azuro Protocol.

10 lines (9 loc) 470 B
import { type Address } from 'viem'; export type StoredAuth = { token: string; expiresAt: number; }; export declare const getAuthStorageKey: (address: Address, affiliate: Address) => string; export declare const readAuth: (address: Address, affiliate: Address) => StoredAuth | null; export declare const writeAuth: (address: Address, affiliate: Address, value: StoredAuth) => void; export declare const clearAuth: (address: Address, affiliate: Address) => void;