UNPKG

@ajna-finance/sdk

Version:

A typescript SDK that can be used to create Dapps in Ajna ecosystem.

12 lines (11 loc) 431 B
import { BaseContract } from 'ethers'; /** * Iterate through each contract, decoding error hashes. * Ensure environment is configured (to any chain) before running. */ export declare const decodeErrors: () => void; /** * print error hashes for a single contract * @param contract identifies the contract for which error hashes are desired */ export declare function getCustomErrorsFromContract(contract: BaseContract): void;