@ardier16/q-js-sdk
Version:
Typescript Library to interact with Q System Contracts
18 lines • 1.05 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ValidatorSlashingEscrowInstance = void 0;
const SystemSlashingEscrowInstance_1 = require("../../SystemSlashingEscrowInstance");
/**
* Validator Slashing Escrow instance to interact with Validator Slashing Escrow contract.
* See [onchain documentation](@system-contracts-repo/@network/ValidatorSlashingEscrow/) for more details.
* An instance of this class for a deployed network can be obtained via {@link ContractRegistryInstance.validatorSlashingEscrow}
*/
class ValidatorSlashingEscrowInstance extends SystemSlashingEscrowInstance_1.SystemSlashingEscrowInstance {
constructor(web3, address) {
super(web3, ValidatorSlashingEscrowInstance.abi, address);
}
}
exports.ValidatorSlashingEscrowInstance = ValidatorSlashingEscrowInstance;
ValidatorSlashingEscrowInstance.abi = 'ValidatorSlashingEscrow.json';
ValidatorSlashingEscrowInstance.registryKey = 'governance.validators.slashingEscrow';
//# sourceMappingURL=ValidatorSlashingEscrowInstance.js.map