UNPKG

@descent-protocol/sdk

Version:

A Typescript library for interacting with the Descent Protocol

15 lines (14 loc) 782 B
/** * @dev Fuction to set an error message * @param message Error object * @returns The error message */ import { Signer } from 'ethers'; import { Transaction } from './transactions'; import { Internal } from './internal'; declare const createError: (message?: any) => Error; declare const approveUSDC: (spender: string, amount: string, signer: Signer, transaction: Transaction, internal: Internal) => Promise<void>; declare const waitTime: (seconds: number) => Promise<unknown>; declare const getxNGNBalance: (owner: any, signer?: Signer) => Promise<bigint>; declare const approvexNGN: (spender: string, amount: string, signer: Signer, transaction: Transaction, internal: Internal) => Promise<void>; export { createError, approveUSDC, waitTime, getxNGNBalance, approvexNGN, };