barterjs-sdk
Version:
Barter Network SDK
23 lines (22 loc) • 552 B
JavaScript
;
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;