@bcpros/crypto-wallet-core
Version:
A multi-currency support library for address derivation, private key creation, and transaction creation
37 lines • 1.58 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.MATICERC20TxProvider = exports.MATICTxProvider = void 0;
var erc20_1 = require("../erc20");
var eth_1 = require("../eth");
var MATICTxProvider = (function (_super) {
__extends(MATICTxProvider, _super);
function MATICTxProvider() {
return _super.call(this, 'MATIC') || this;
}
return MATICTxProvider;
}(eth_1.ETHTxProvider));
exports.MATICTxProvider = MATICTxProvider;
var MATICERC20TxProvider = (function (_super) {
__extends(MATICERC20TxProvider, _super);
function MATICERC20TxProvider() {
return _super.call(this, 'MATIC') || this;
}
return MATICERC20TxProvider;
}(erc20_1.ERC20TxProvider));
exports.MATICERC20TxProvider = MATICERC20TxProvider;
//# sourceMappingURL=index.js.map