@eco-foundation/routes-ts
Version:
The Eco Routes Protocol is a decentralized intent based system that allows users to submit their intent to the network and have it fulfilled by a solver on the destination rollup of their choise.
8 lines (7 loc) • 309 B
TypeScript
import { Abi, AbiParameter } from 'viem';
/**
* Extracts the ABI struct with the given name
* @param params the abi
* @param structName the name of the struct
*/
export declare function extractAbiStruct<abi extends Abi, AbiReturn extends readonly AbiParameter[]>(abi: abi, structName: string): AbiReturn;