@andrekorol/kollateral
Version:
Typescript library for Kollateral, the flash loan building block
22 lines • 794 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.InvokerUtils = void 0;
var network_1 = require("./network");
var addressToTokenMap = new Map([
[network_1.Network.Mainnet, "0x06d1f34fd7C055aE5CA39aa8c6a8E10100a45c01"],
[network_1.Network.Ropsten, "0x234A76352e816c48098F20F830A21c820085b902"],
[network_1.Network.Rinkeby, "0x6523B8FE598D7c590Fa91BEd6234C0121cf2ee66"]
]);
var InvokerUtils = /** @class */ (function () {
function InvokerUtils() {
}
InvokerUtils.getAddress = function (network) {
if (!addressToTokenMap.has(network)) {
return null;
}
return addressToTokenMap.get(network);
};
return InvokerUtils;
}());
exports.InvokerUtils = InvokerUtils;
//# sourceMappingURL=invoker.js.map