aelf-sdk-lys1988
Version:
aelf-sdk js library
17 lines (12 loc) • 407 B
JavaScript
var f = require('./formatters.js');
var BaseType = require('./base');
var TypeHash = function () {
this._inputFormatter = f.formatInputHash;
this._outputFormatter = f.formatOutputHash;
};
TypeHash.prototype = new BaseType({});
TypeHash.prototype.constructor = TypeHash;
TypeHash.prototype.isType = function (name) {
return !!name.match(/^AElf\.Common\.Hash$/);
};
module.exports = TypeHash;