ethers.js/packages/abi/lib/abi-coder.d.ts
2022-04-19 04:50:19 -04:00

11 lines
544 B
TypeScript

import { Result } from "./coders/abstract-coder.js";
import { ParamType } from "./fragments.js";
import type { BytesLike } from "@ethersproject/bytes";
export declare class AbiCoder {
#private;
getDefaultValue(types: ReadonlyArray<string | ParamType>): Result;
encode(types: ReadonlyArray<string | ParamType>, values: ReadonlyArray<any>): string;
decode(types: ReadonlyArray<string | ParamType>, data: BytesLike, loose?: boolean): Result;
}
export declare const defaultAbiCoder: AbiCoder;
//# sourceMappingURL=abi-coder.d.ts.map