UNPKG

@q-dev/q-js-sdk

Version:

Typescript Library to interact with Q System Contracts

18 lines 783 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SlashingVotingHelper = void 0; const SystemContractInstance_1 = require("./SystemContractInstance"); /** * Slashing interface to interact with Slashing implementation contracts. * See [onchain documentation](@system-contracts-repo/@network/ISlashingVoting/) for more details. */ class SlashingVotingHelper extends SystemContractInstance_1.SystemContractInstance { async getSlashingVictim(proposalId) { return this.instance.getSlashingVictim(proposalId); } async getSlashingProposer(proposalId) { return this.instance.getSlashingProposer(proposalId); } } exports.SlashingVotingHelper = SlashingVotingHelper; //# sourceMappingURL=SlashingVotingHelperInstance.js.map