@bcpros/crypto-wallet-core
Version:
A multi-currency support library for address derivation, private key creation, and transaction creation
39 lines • 1.64 kB
JavaScript
;
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.OPERC20TxProvider = exports.OPTxProvider = void 0;
var erc20_1 = require("../erc20");
var eth_1 = require("../eth");
var OPTxProvider = (function (_super) {
__extends(OPTxProvider, _super);
function OPTxProvider(chain) {
if (chain === void 0) { chain = 'OP'; }
return _super.call(this, chain) || this;
}
return OPTxProvider;
}(eth_1.ETHTxProvider));
exports.OPTxProvider = OPTxProvider;
var OPERC20TxProvider = (function (_super) {
__extends(OPERC20TxProvider, _super);
function OPERC20TxProvider(chain) {
if (chain === void 0) { chain = 'OP'; }
return _super.call(this, chain) || this;
}
return OPERC20TxProvider;
}(erc20_1.ERC20TxProvider));
exports.OPERC20TxProvider = OPERC20TxProvider;
//# sourceMappingURL=index.js.map