UNPKG

@pushchain/core

Version:

Push Chain is a true universal L1 that is 100% EVM compatible. It allows developers to deploy once and make their apps instantly compatible with users from all other L1s (Ethereum, Solana, etc) with zero on-chain code change.

17 lines (16 loc) 544 B
import { CHAIN, PUSH_NETWORK, VM } from '../constants/enums'; export declare class CacheKeys { static ueaAddressOnchain(chain: CHAIN, address: string, pushNetwork: PUSH_NETWORK, vm: VM): string; static deploymentStatus(address: string): string; } export declare class Cache { private cache; private maxSize; constructor(maxSize?: number); private isExpired; get(key: string): any | null; set(key: string, value: any, ttl?: number): void; clear(key: string): void; clearAll(): void; size(): number; }