"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const Contracts_1 = require("../../../../Contracts");
const callFactory_1 = require("../../../../utils/solidity/callFactory");
const postProcess = (environment, result) => {
    return new Date(result.toString() * 1000);
};
const getCreationTime = callFactory_1.callFactoryWithoutParams('creationTime', Contracts_1.Contracts.Hub, {
    postProcess,
});
exports.getCreationTime = getCreationTime;
