UNPKG

@sol-synth-engine/js-client

Version:

JavaScript client for Sol Synth Engine

26 lines (25 loc) 1.34 kB
"use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; var desc = Object.getOwnPropertyDescriptor(m, k); if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { desc = { enumerable: true, get: function() { return m[k]; } }; } Object.defineProperty(o, k2, desc); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; })); var __exportStar = (this && this.__exportStar) || function(m, exports) { for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.SOL_SYNTH_ENGINE_PROGRAM_ID = exports.SOL_SYNTH_ENGINE_IDL = void 0; const sol_synth_engine_json_1 = __importDefault(require("./idls/sol_synth_engine.json")); const web3_js_1 = require("@solana/web3.js"); exports.SOL_SYNTH_ENGINE_IDL = sol_synth_engine_json_1.default; __exportStar(require("./idls/sol_synth_engine"), exports); exports.SOL_SYNTH_ENGINE_PROGRAM_ID = new web3_js_1.PublicKey(sol_synth_engine_json_1.default.address);