UNPKG

swapable

Version:
35 lines (34 loc) 865 B
"use strict"; /** * This file is part of Swapable shared under AGPL-3.0 * Copyright (C) 2021 Using Blockchain Ltd, Reg No.: 12658136, United Kingdom * * @package Swapable * @author Grégory Saive for Using Blockchain Ltd <greg@ubc.digital> * @license AGPL-3.0 */ Object.defineProperty(exports, "__esModule", { value: true }); exports.Service = void 0; /** * @class Service * @package Swapable * @subpackage Contracts * @since v1.0.0 * @description Abstract class that describes a service interface for * low-level blockchain feature integrations. */ class Service { /** * Construct a service object around `context` * * @param {Context} context */ constructor( /** * @description Execution context */ context) { this.context = context; } } exports.Service = Service;