delegate-framework
Version:
A TypeScript framework for building robust, production-ready blockchain workflows with comprehensive error handling, logging, and testing. Maintained by delegate.fun
15 lines • 441 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.CostCalculator = void 0;
const constants_1 = require("./constants");
class CostCalculator {
static async getCost(task) {
// instance of deployer
if (task.type === constants_1.DELEGATE_TYPES.DEPLOYER) {
return 0.03;
}
return 0;
}
}
exports.CostCalculator = CostCalculator;
//# sourceMappingURL=cost.js.map