"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.toAddress = void 0;
const ethers_1 = require("ethers");
/**
 * Converts an address to checksum format and returns a typed instance.
 */
exports.toAddress = (s) => typeof s === 'string' ? ethers_1.utils.getAddress(s) : s;
//# sourceMappingURL=addresses.js.map