UNPKG

@okcontract/sdk

Version:

One-stop-shop permissionless SDK for building any blockchain frontend

18 lines (17 loc) 635 B
import type { Environment } from "@okcontract/lambdascript"; import type { Value } from "@okcontract/lambdascript/src/eval"; import type { ChainAddress } from "@okcontract/multichain"; import type { OKCore } from "./coreExecution"; type AllowanceDefinition = [ChainAddress, Value<unknown>, string]; /** * get_allowances resolves allowances from the ABIMethod and the environment. * @param env * @param extra * @returns * @todo return type any should be bigint * @todo unused */ export declare const getAllowances: (core: OKCore, env: Environment, a: { [key: string]: string; }) => Promise<AllowanceDefinition[]>; export {};