UNPKG

@vechain/vebetterdao-contracts

Version:

Open-source repository that houses the smart contracts powering the decentralized VeBetterDAO on the VeChain Thor blockchain.

2,330 lines (2,329 loc) 48.6 kB
{ "_format": "hh-sol-artifact-1", "contractName": "INavigatorRegistry", "sourceName": "contracts/interfaces/INavigatorRegistry.sol", "abi": [ { "inputs": [ { "internalType": "address", "name": "navigator", "type": "address" } ], "name": "AlreadyDeactivated", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "citizen", "type": "address" }, { "internalType": "address", "name": "currentNavigator", "type": "address" } ], "name": "AlreadyDelegated", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "navigator", "type": "address" } ], "name": "AlreadyExiting", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "navigator", "type": "address" } ], "name": "AlreadyRegistered", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "navigator", "type": "address" }, { "internalType": "uint256", "name": "roundId", "type": "uint256" } ], "name": "AlreadySlashed", "type": "error" }, { "inputs": [ { "internalType": "uint256", "name": "amount", "type": "uint256" }, { "internalType": "uint256", "name": "minimum", "type": "uint256" } ], "name": "BelowMinimumDelegation", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "navigator", "type": "address" }, { "internalType": "uint256", "name": "proposalId", "type": "uint256" } ], "name": "DecisionAlreadySet", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "navigator", "type": "address" }, { "internalType": "uint256", "name": "proposalId", "type": "uint256" } ], "name": "DecisionNotSet", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "delegator", "type": "address" }, { "internalType": "address", "name": "currentNavigator", "type": "address" } ], "name": "DelegatorCannotRegister", "type": "error" }, { "inputs": [ { "internalType": "bytes32", "name": "appId", "type": "bytes32" } ], "name": "DuplicateApp", "type": "error" }, { "inputs": [], "name": "EmptyPreferences", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "navigator", "type": "address" }, { "internalType": "uint256", "name": "requested", "type": "uint256" }, { "internalType": "uint256", "name": "available", "type": "uint256" } ], "name": "ExceedsNavigatorCapacity", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "navigator", "type": "address" } ], "name": "FeesForfeited", "type": "error" }, { "inputs": [ { "internalType": "uint256", "name": "roundId", "type": "uint256" }, { "internalType": "uint256", "name": "unlockRound", "type": "uint256" }, { "internalType": "uint256", "name": "currentRound", "type": "uint256" } ], "name": "FeesStillLocked", "type": "error" }, { "inputs": [ { "internalType": "uint256", "name": "requested", "type": "uint256" }, { "internalType": "uint256", "name": "available", "type": "uint256" } ], "name": "InsufficientDelegation", "type": "error" }, { "inputs": [ { "internalType": "uint256", "name": "available", "type": "uint256" }, { "internalType": "uint256", "name": "requested", "type": "uint256" } ], "name": "InsufficientStake", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "citizen", "type": "address" }, { "internalType": "uint256", "name": "requested", "type": "uint256" }, { "internalType": "uint256", "name": "available", "type": "uint256" } ], "name": "InsufficientUnlockedBalance", "type": "error" }, { "inputs": [ { "internalType": "uint8", "name": "decision", "type": "uint8" } ], "name": "InvalidDecision", "type": "error" }, { "inputs": [ { "internalType": "string", "name": "reason", "type": "string" } ], "name": "InvalidParameter", "type": "error" }, { "inputs": [ { "internalType": "uint256", "name": "appsLength", "type": "uint256" }, { "internalType": "uint256", "name": "percentagesLength", "type": "uint256" } ], "name": "LengthMismatch", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "navigator", "type": "address" } ], "name": "NavigatorCannotAcceptDelegations", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "navigator", "type": "address" } ], "name": "NavigatorDeactivated", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "navigator", "type": "address" } ], "name": "NavigatorStillActive", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "navigator", "type": "address" }, { "internalType": "uint256", "name": "roundId", "type": "uint256" } ], "name": "NoFeesToClaim", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "navigator", "type": "address" }, { "internalType": "uint256", "name": "roundId", "type": "uint256" } ], "name": "NoInfractionFound", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "navigator", "type": "address" } ], "name": "NoStakeToSlash", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "NotANavigator", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "citizen", "type": "address" } ], "name": "NotDelegated", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "navigator", "type": "address" } ], "name": "NotExiting", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "navigator", "type": "address" } ], "name": "NotRegistered", "type": "error" }, { "inputs": [ { "internalType": "uint256", "name": "currentRound", "type": "uint256" }, { "internalType": "uint256", "name": "requiredRound", "type": "uint256" } ], "name": "NoticePeriodNotElapsed", "type": "error" }, { "inputs": [ { "internalType": "uint256", "name": "total", "type": "uint256" }, { "internalType": "uint256", "name": "expected", "type": "uint256" } ], "name": "PercentageMismatch", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "navigator", "type": "address" }, { "internalType": "uint256", "name": "roundId", "type": "uint256" } ], "name": "PreferencesAlreadySet", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "navigator", "type": "address" }, { "internalType": "uint256", "name": "roundId", "type": "uint256" } ], "name": "PreferencesNotSet", "type": "error" }, { "inputs": [ { "internalType": "uint256", "name": "roundId", "type": "uint256" } ], "name": "RoundStillActive", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "SelfDelegationNotAllowed", "type": "error" }, { "inputs": [ { "internalType": "uint256", "name": "slashPercentage", "type": "uint256" }, { "internalType": "uint256", "name": "max", "type": "uint256" } ], "name": "SlashExceedsMax", "type": "error" }, { "inputs": [ { "internalType": "uint256", "name": "provided", "type": "uint256" }, { "internalType": "uint256", "name": "minimum", "type": "uint256" } ], "name": "StakeBelowMinimum", "type": "error" }, { "inputs": [ { "internalType": "uint256", "name": "provided", "type": "uint256" }, { "internalType": "uint256", "name": "maximum", "type": "uint256" } ], "name": "StakeExceedsMaximum", "type": "error" }, { "inputs": [ { "internalType": "uint256", "name": "count", "type": "uint256" } ], "name": "TooManyApps", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "caller", "type": "address" } ], "name": "UnauthorizedCaller", "type": "error" }, { "inputs": [ { "internalType": "string", "name": "param", "type": "string" } ], "name": "ZeroAddress", "type": "error" }, { "inputs": [], "name": "ZeroDelegationAmount", "type": "error" }, { "inputs": [], "name": "ZeroPercentage", "type": "error" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "navigator", "type": "address" }, { "indexed": true, "internalType": "uint256", "name": "roundId", "type": "uint256" }, { "indexed": false, "internalType": "bytes32[]", "name": "appIds", "type": "bytes32[]" } ], "name": "AllocationPreferencesSet", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "citizen", "type": "address" }, { "indexed": true, "internalType": "address", "name": "navigator", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "DelegationCreated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "citizen", "type": "address" }, { "indexed": true, "internalType": "address", "name": "navigator", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "removedAmount", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "newTotal", "type": "uint256" } ], "name": "DelegationDecreased", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "citizen", "type": "address" }, { "indexed": true, "internalType": "address", "name": "navigator", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "addedAmount", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "newTotal", "type": "uint256" } ], "name": "DelegationIncreased", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "citizen", "type": "address" }, { "indexed": true, "internalType": "address", "name": "navigator", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "DelegationRemoved", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "navigator", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "announcedAtRound", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "effectiveDeadline", "type": "uint256" } ], "name": "ExitAnnounced", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "navigator", "type": "address" }, { "indexed": true, "internalType": "uint256", "name": "roundId", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "FeeClaimed", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "navigator", "type": "address" }, { "indexed": true, "internalType": "uint256", "name": "roundId", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "FeeDeposited", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "navigator", "type": "address" }, { "indexed": false, "internalType": "string", "name": "newURI", "type": "string" } ], "name": "MetadataURIUpdated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "navigator", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "slashPercentage", "type": "uint256" } ], "name": "NavigatorDeactivatedEvent", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "navigator", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "remainingStake", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "roundId", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "infractionFlags", "type": "uint256" } ], "name": "NavigatorMinorSlashed", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "navigator", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "stakeAmount", "type": "uint256" }, { "indexed": false, "internalType": "string", "name": "metadataURI", "type": "string" } ], "name": "NavigatorRegistered", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "navigator", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "remainingStake", "type": "uint256" }, { "indexed": false, "internalType": "string", "name": "reason", "type": "string" } ], "name": "NavigatorSlashed", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "navigator", "type": "address" }, { "indexed": true, "internalType": "uint256", "name": "proposalId", "type": "uint256" }, { "indexed": false, "internalType": "uint8", "name": "decision", "type": "uint8" } ], "name": "ProposalDecisionSet", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "navigator", "type": "address" }, { "indexed": true, "internalType": "uint256", "name": "roundId", "type": "uint256" }, { "indexed": false, "internalType": "string", "name": "reportURI", "type": "string" } ], "name": "ReportSubmitted", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "navigator", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "newTotal", "type": "uint256" } ], "name": "StakeAdded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "navigator", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "remaining", "type": "uint256" } ], "name": "StakeWithdrawn", "type": "event" }, { "inputs": [], "name": "BASIS_POINTS", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "GOVERNANCE_ROLE", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "UPGRADER_ROLE", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "addStake", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "announceExit", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "navigator", "type": "address" } ], "name": "canAcceptDelegations", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "roundId", "type": "uint256" } ], "name": "claimFee", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "navigator", "type": "address" }, { "internalType": "uint256", "name": "slashPercentage", "type": "uint256" }, { "internalType": "bool", "name": "slashFees", "type": "bool" } ], "name": "deactivateNavigator", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "navigator", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "delegate", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "navigator", "type": "address" }, { "internalType": "uint256", "name": "roundId", "type": "uint256" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "depositNavigatorFee", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "navigator", "type": "address" } ], "name": "exitAnnouncedRound", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "navigator", "type": "address" }, { "internalType": "uint256", "name": "roundId", "type": "uint256" } ], "name": "getAllocationPreferences", "outputs": [ { "internalType": "bytes32[]", "name": "appIds", "type": "bytes32[]" }, { "internalType": "uint256[]", "name": "percentages", "type": "uint256[]" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "citizen", "type": "address" } ], "name": "getDelegatedAmount", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "citizen", "type": "address" }, { "internalType": "uint256", "name": "timepoint", "type": "uint256" } ], "name": "getDelegatedAmountAtTimepoint", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "navigator", "type": "address" } ], "name": "getDelegationCapacity", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getExitNoticePeriod", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getFeeLockPeriod", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getFeePercentage", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "navigator", "type": "address" } ], "name": "getLastReportRound", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "navigator", "type": "address" } ], "name": "getLastReportURI", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getMaxStake", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "navigator", "type": "address" } ], "name": "getMetadataURI", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getMinStake", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getMinorSlashPercentage", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "citizen", "type": "address" } ], "name": "getNavigator", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "citizen", "type": "address" }, { "internalType": "uint256", "name": "timepoint", "type": "uint256" } ], "name": "getNavigatorAtTimepoint", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getPreferenceCutoffPeriod", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "navigator", "type": "address" }, { "internalType": "uint256", "name": "roundId", "type": "uint256" } ], "name": "getPreferencesSetBlock", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "navigator", "type": "address" }, { "internalType": "uint256", "name": "proposalId", "type": "uint256" } ], "name": "getProposalDecision", "outputs": [ { "internalType": "uint8", "name": "", "type": "uint8" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "citizen", "type": "address" } ], "name": "getRawNavigator", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "citizen", "type": "address" }, { "internalType": "uint256", "name": "timepoint", "type": "uint256" } ], "name": "getRawNavigatorAtTimepoint", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "navigator", "type": "address" } ], "name": "getRemainingCapacity", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getReportInterval", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "navigator", "type": "address" }, { "internalType": "uint256", "name": "roundId", "type": "uint256" } ], "name": "getRoundFee", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "navigator", "type": "address" } ], "name": "getStake", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "navigator", "type": "address" }, { "internalType": "uint256", "name": "timepoint", "type": "uint256" } ], "name": "getStakedAmountAtTimepoint", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "getStatus", "outputs": [ { "internalType": "uint8", "name": "", "type": "uint8" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "navigator", "type": "address" } ], "name": "getTotalDelegated", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "navigator", "type": "address" }, { "internalType": "uint256", "name": "timepoint", "type": "uint256" } ], "name": "getTotalDelegatedAtTimepoint", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint48", "name": "timepoint", "type": "uint48" } ], "name": "getTotalDelegatedCitizensAtTimepoint", "outputs": [ { "internalType": "uint208", "name": "", "type": "uint208" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "navigator", "type": "address" } ], "name": "getTotalSlashed", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "navigator", "type": "address" }, { "internalType": "uint256", "name": "proposalId", "type": "uint256" } ], "name": "hasSetDecision", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "navigator", "type": "address" }, { "internalType": "uint256", "name": "roundId", "type": "uint256" } ], "name": "hasSetPreferences", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "increaseDelegation", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "navigator", "type": "address" } ], "name": "isDeactivated", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "navigator", "type": "address" }, { "internalType": "uint256", "name": "timepoint", "type": "uint256" } ], "name": "isDeactivatedAtTimepoint", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "citizen", "type": "address" } ], "name": "isDelegated", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "citizen", "type": "address" }, { "internalType": "uint256", "name": "timepoint", "type": "uint256" } ], "name": "isDelegatedAtTimepoint", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "navigator", "type": "address" } ], "name": "isExiting", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "isNavigator", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "roundId", "type": "uint256" } ], "name": "isRoundFeeUnlocked", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "navigator", "type": "address" }, { "internalType": "uint256", "name": "roundId", "type": "uint256" } ], "name": "isSlashedForRound", "outputs": [ { "internalType": "bool", "name": "slashed", "type": "bool" }, { "internalType": "uint256", "name": "infractionFlags", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "reduceBy", "type": "uint256" } ], "name": "reduceDelegation", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "reduceStake", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "amount", "type": "uint256" }, { "internalType": "string", "name": "metadataURI", "type": "string" } ], "name": "register", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "navigator", "type": "address" }, { "internalType": "uint256", "name": "roundId", "type": "uint256" }, { "internalType": "uint256[]", "name": "proposalIds", "type": "uint256[]" } ], "name": "reportRoundInfractions", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "roundId", "type": "uint256" }, { "internalType": "bytes32[]", "name": "appIds", "type": "bytes32[]" }, { "internalType": "uint256[]", "name": "percentages", "type": "uint256[]" } ], "name": "setAllocationPreferences", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "newPeriod", "type": "uint256" } ], "name": "setExitNoticePeriod", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "newPeriod", "type": "uint256" } ], "name": "setFeeLockPeriod", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "newPercentage", "type": "uint256" } ], "name": "setFeePercentage", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "newPercentage", "type": "uint256" } ], "name": "setMaxStakePercentage", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "string", "name": "uri", "type": "string" } ], "name": "setMetadataURI", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "newMinStake", "type": "uint256" } ], "name": "setMinStake", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "newPercentage", "type": "uint256" } ], "name": "setMinorSlashPercentage", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "newPeriod", "type": "uint256" } ], "name": "setPreferenceCutoffPeriod", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "proposalId", "type": "uint256" }, { "internalType": "uint8", "name": "decision", "type": "uint8" } ], "name": "setProposalDecision", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "newAddress", "type": "address" } ], "name": "setRelayerRewardsPool", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "newInterval", "type": "uint256" } ], "name": "setReportInterval", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "newAddress", "type": "address" } ], "name": "setVoterRewards", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "newAddress", "type": "address" } ], "name": "setXAllocationVoting", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "string", "name": "reportURI", "type": "string" } ], "name": "submitReport", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "undelegate", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "version", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "withdrawStake", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ], "bytecode": "0x", "deployedBytecode": "0x", "linkReferences": {}, "deployedLinkReferences": {} }