@volare.finance/utils.js
Version:
The Blockchain Utils
22 lines • 572 B
JavaScript
;
/**
* @file index.ts
* @author astra <astra@volare.finance>
* @date 2022
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.ENS = void 0;
const tslib_1 = require("tslib");
const provider_1 = require("../provider");
class ENS extends provider_1.Provider {
constructor(endpoint) {
super(endpoint);
}
getAddress(name) {
return tslib_1.__awaiter(this, void 0, void 0, function* () {
return this.provider._getAddress(name);
});
}
}
exports.ENS = ENS;
//# sourceMappingURL=index.js.map