UNPKG

@sega-so/sega-sdk

Version:

An SDK for building applications on top of SEGA.

26 lines (23 loc) 836 B
import { PublicKey } from '@solana/web3.js'; import { W as ReplaceType } from '../type-CuA4U4Hx.mjs'; import 'bn.js'; import '@solana/spl-token'; import '../api/api.mjs'; import 'axios'; import '../solana/type.mjs'; import '../api/type.mjs'; import '../api/url.mjs'; import 'decimal.js'; import '../module/token.mjs'; import './pubKey.mjs'; import '../sega/token/type.mjs'; import './logger.mjs'; import '../module/currency.mjs'; import './owner.mjs'; import './txTool/lookupTable.mjs'; import './txTool/txType.mjs'; declare function sleep(ms: number): Promise<void>; declare function getTimestamp(): number; declare function notInnerObject(v: unknown): v is Record<string, any>; declare function jsonInfo2PoolKeys<T>(jsonInfo: T): ReplaceType<T, string, PublicKey>; export { getTimestamp, jsonInfo2PoolKeys, notInnerObject, sleep };