UNPKG

@dxdao/aqua

Version:

AquaJS gives developers access to the entire Aqua ecosystem a single package

33 lines 1.62 kB
"use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); }) : (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); }; Object.defineProperty(exports, "__esModule", { value: true }); exports.RINKEBY_CONFIG = exports.XDAI_CONFIG = void 0; const aqua_sc_1 = require("@dxdao/aqua-sc"); __exportStar(require("./Aqua"), exports); __exportStar(require("./Subgraph"), exports); __exportStar(require("./types"), exports); __exportStar(require("@dxdao/aqua-sc"), exports); const xdaiAddresses = (0, aqua_sc_1.getContractAddressesForChainOrThrow)(aqua_sc_1.ChainId.xdai); exports.XDAI_CONFIG = { factory: xdaiAddresses.aquaFactory, saleLauncher: xdaiAddresses.saleLauncher, templateLauncher: xdaiAddresses.templateLauncher, subgraph: 'https://api.thegraph.com/subgraphs/name/adamazad/aqua-xdai-next', }; const rinkebyAddresses = (0, aqua_sc_1.getContractAddressesForChainOrThrow)(aqua_sc_1.ChainId.rinkeby); exports.RINKEBY_CONFIG = { factory: rinkebyAddresses.aquaFactory, saleLauncher: rinkebyAddresses.saleLauncher, templateLauncher: rinkebyAddresses.templateLauncher, subgraph: 'https://api.thegraph.com/subgraphs/name/mprasanjith/aqua-rinkeby-next', }; //# sourceMappingURL=index.js.map