UNPKG

warpslot-poc

Version:
22 lines (21 loc) 648 B
export declare const wait: (ms: number) => Promise<void>; export declare const getUser: (FID: number) => Promise<{ fid: number wallet_address: string total_spins: number spins_remaining: number last_spin_at: string last_daily_reset_at: string total_rewards_value: string last_win_at: string created_at: string } | null>; export declare const doSpin: (fid: number) => Promise<{ message: string prizeType: "SMALL" | "MEDIUM" | "BIG" | "JACKPOT" | string rewardAmount: string rewardId: string tokenType: string won: boolean } | null>; export declare function formatEvmTokenAmountNumber(amountString: string, decimals?: number): number;