UNPKG

@celo/contractkit

Version:

Celo's ContractKit to interact with Celo network

16 lines 722 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ScoreManagerWrapper = void 0; const BaseWrapper_1 = require("./BaseWrapper"); /** * Contract handling validator scores. */ class ScoreManagerWrapper extends BaseWrapper_1.BaseWrapper { constructor() { super(...arguments); this.getGroupScore = (0, BaseWrapper_1.proxyCall)(this.contract.methods.getGroupScore, undefined, BaseWrapper_1.fixidityValueToBigNumber); this.getValidatorScore = (0, BaseWrapper_1.proxyCall)(this.contract.methods.getValidatorScore, undefined, BaseWrapper_1.fixidityValueToBigNumber); } } exports.ScoreManagerWrapper = ScoreManagerWrapper; //# sourceMappingURL=ScoreManager.js.map