UNPKG

swapable

Version:
34 lines (33 loc) 863 B
/** * 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 */ import { Context } from '../../index'; /** * @class Service * @package Swapable * @subpackage Contracts * @since v1.0.0 * @description Abstract class that describes a service interface for * low-level blockchain feature integrations. */ export declare abstract class Service { /** * @description Execution context */ protected readonly context: Context; /** * Construct a service object around `context` * * @param {Context} context */ constructor( /** * @description Execution context */ context: Context); }