UNPKG

@0xfutbol/id

Version:

React component library with shared providers for 0xFutbol ID

30 lines (29 loc) 752 B
import {P as readContract}from'./index-DNoa140s.js';const FN_SELECTOR = "0x313ce567"; const FN_INPUTS = []; const FN_OUTPUTS = [ { type: "uint8", }, ]; /** * Calls the "decimals" function on the contract. * @param options - The options for the decimals function. * @returns The parsed result of the function call. * @extension ERC20 * @example * ```ts * import { decimals } from "thirdweb/extensions/erc20"; * * const result = await decimals({ * contract, * }); * * ``` */ async function decimals(options) { return readContract({ contract: options.contract, method: [FN_SELECTOR, FN_INPUTS, FN_OUTPUTS], params: [], }); }export{decimals as d};//# sourceMappingURL=decimals-CUdgsyo0.js.map