UNPKG

@dydxfoundation/governance

Version:
47 lines (46 loc) 2.24 kB
"use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; })); var __exportStar = (this && this.__exportStar) || function(m, exports) { for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); }; Object.defineProperty(exports, "__esModule", { value: true }); exports.Role = exports.NetworkName = exports.DelegationType = void 0; __exportStar(require("./deploy-config/types"), exports); var DelegationType; (function (DelegationType) { DelegationType[DelegationType["VOTING_POWER"] = 0] = "VOTING_POWER"; DelegationType[DelegationType["PROPOSITION_POWER"] = 1] = "PROPOSITION_POWER"; })(DelegationType = exports.DelegationType || (exports.DelegationType = {})); var NetworkName; (function (NetworkName) { NetworkName["mainnet"] = "mainnet"; NetworkName["ropsten"] = "ropsten"; NetworkName["kovan"] = "kovan"; NetworkName["hardhat"] = "hardhat"; })(NetworkName = exports.NetworkName || (exports.NetworkName = {})); var Role; (function (Role) { Role["ADD_EXECUTOR_ROLE"] = "ADD_EXECUTOR_ROLE"; Role["BORROWER_ADMIN_ROLE"] = "BORROWER_ADMIN_ROLE"; Role["BORROWER_ROLE"] = "BORROWER_ROLE"; Role["CLAIM_OPERATOR_ROLE"] = "CLAIM_OPERATOR_ROLE"; Role["CONFIG_UPDATER_ROLE"] = "CONFIG_UPDATER_ROLE"; Role["DELEGATION_ADMIN_ROLE"] = "DELEGATION_ADMIN_ROLE"; Role["EPOCH_PARAMETERS_ROLE"] = "EPOCH_PARAMETERS_ROLE"; Role["EXCHANGE_OPERATOR_ROLE"] = "EXCHANGE_OPERATOR_ROLE"; Role["GUARDIAN_ROLE"] = "GUARDIAN_ROLE"; Role["OWNER_ROLE"] = "OWNER_ROLE"; Role["PAUSER_ROLE"] = "PAUSER_ROLE"; Role["REWARDS_RATE_ROLE"] = "REWARDS_RATE_ROLE"; Role["SLASHER_ROLE"] = "SLASHER_ROLE"; Role["STAKE_OPERATOR_ROLE"] = "STAKE_OPERATOR_ROLE"; Role["UNPAUSER_ROLE"] = "UNPAUSER_ROLE"; Role["VETO_GUARDIAN_ROLE"] = "VETO_GUARDIAN_ROLE"; Role["WITHDRAWAL_OPERATOR_ROLE"] = "WITHDRAWAL_OPERATOR_ROLE"; })(Role = exports.Role || (exports.Role = {}));