UNPKG

@pythnetwork/price-pusher

Version:
12 lines (11 loc) 369 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createPythContract = void 0; const viem_1 = require("viem"); const pyth_abi_1 = require("./pyth-abi"); const createPythContract = (client, address) => (0, viem_1.getContract)({ client, abi: pyth_abi_1.PythAbi, address, }); exports.createPythContract = createPythContract;