UNPKG

lisk-framework

Version:

Lisk blockchain application platform

15 lines 577 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DynamicRewardMethod = void 0; const base_method_1 = require("../base_method"); const calculate_reward_1 = require("../reward/calculate_reward"); class DynamicRewardMethod extends base_method_1.BaseMethod { init(args) { this._config = args.config; } getDefaultRewardAtHeight(_context, height) { return (0, calculate_reward_1.calculateDefaultReward)(this._config, height); } } exports.DynamicRewardMethod = DynamicRewardMethod; //# sourceMappingURL=method.js.map