UNPKG

@tw3/wttp-core

Version:

Core contracts, interfaces, and TypeScript types for the Web3 Transfer Protocol (WTTP).

38 lines 2.16 kB
"use strict"; /* * Web3 Transfer Protocol (WTTP) - Core Package Entry Point * Copyright (C) 2025 TechnicallyWeb3 * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see <https://www.gnu.org/licenses/>. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.artifacts = exports.WTTPTypesArtifact = exports.IWTTPPermissionsArtifact = exports.IWTTPStorageArtifact = exports.IWTTPGatewayArtifact = exports.IWTTPSiteArtifact = void 0; const tslib_1 = require("tslib"); // Export all TypeChain types and factories tslib_1.__exportStar(require("../typechain-types"), exports); // Export contract artifacts for direct access using require to avoid TS issues exports.IWTTPSiteArtifact = require('../artifacts/contracts/interfaces/IWTTPSite.sol/IWTTPSite.json'); exports.IWTTPGatewayArtifact = require('../artifacts/contracts/interfaces/IWTTPGateway.sol/IWTTPGateway.json'); exports.IWTTPStorageArtifact = require('../artifacts/contracts/interfaces/IWTTPStorage.sol/IWTTPStorage.json'); exports.IWTTPPermissionsArtifact = require('../artifacts/contracts/interfaces/IWTTPPermissions.sol/IWTTPPermissions.json'); exports.WTTPTypesArtifact = require('../artifacts/contracts/interfaces/WTTPTypes.sol/WTTPTypes.json'); // Also export as a single artifacts object for convenience exports.artifacts = { IWTTPSite: exports.IWTTPSiteArtifact, IWTTPGateway: exports.IWTTPGatewayArtifact, IWTTPStorage: exports.IWTTPStorageArtifact, IWTTPPermissions: exports.IWTTPPermissionsArtifact, WTTPTypes: exports.WTTPTypesArtifact }; //# sourceMappingURL=index.js.map