UNPKG

@bombearn/sdk

Version:

Interaction framework for the yearn protocol

27 lines (26 loc) 418 B
/** * Utility functions to convert raw structures returned from ethers to plain * javascript objects. * * eg. * * ```javascript * [ * 1, * "hello" * "a": 1, * "b": "hello" * ] * ``` * * to * * ```javascript * { * "a": 1, * "b": "hello" * } * ``` */ export declare function struct(tuple: any): any; export declare function structArray(tuples: any[]): any[];