UNPKG

barterjs-sdk

Version:
23 lines (22 loc) 552 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Chain = void 0; class Chain { constructor(chainId, chainName, rpc, scanUrl, chainLogo, symbol) { this.chainId = chainId; this.chainName = chainName; if (rpc) { this.rpc = rpc; } if (scanUrl) { this.scanUrl = scanUrl; } if (chainLogo) { this.chainLogo = chainLogo; } if (symbol) { this.symbol = symbol; } } } exports.Chain = Chain;