@okcontract/sdk
Version:
One-stop-shop permissionless SDK for building any blockchain frontend
19 lines (18 loc) • 840 B
TypeScript
import type { Abi as StarkAbi } from "starknet";
import { type Abi as ViemAbi } from "viem";
import type { AnyCell, SheetProxy } from "@okcontract/cells";
import { type CacheQuery } from "@okcontract/coredata";
import { type ChainAddress } from "@okcontract/multichain";
import type { LocalSubscriber } from "@scv/cache";
export declare class DefaultContracts {
readonly proxy: SheetProxy;
private _local;
readonly erc20AbiEVM: AnyCell<ViemAbi>;
readonly erc20AbiStarknet: AnyCell<StarkAbi>;
readonly ensReverseAbi: AnyCell<ViemAbi>;
readonly polygonUNS: AnyCell<ChainAddress>;
readonly abiUNS: AnyCell<ViemAbi>;
readonly reverseNameOf: AnyCell<string>;
constructor(proxy: SheetProxy, local: LocalSubscriber<CacheQuery>);
getENSContract: (chainID: AnyCell<string>) => AnyCell<ChainAddress | null>;
}