@vechain/vebetterdao-contracts
Version:
Open-source repository that houses the smart contracts powering the decentralized VeBetterDAO on the VeChain Thor blockchain.
2,378 lines • 138 kB
JSON
{
"_format": "hh-sol-artifact-1",
"contractName": "NavigatorRegistry",
"sourceName": "contracts/navigator/NavigatorRegistry.sol",
"abi": [
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [],
"name": "AccessControlBadConfirmation",
"type": "error"
},
{
"inputs": [
{
"internalType": "address",
"name": "account",
"type": "address"
},
{
"internalType": "bytes32",
"name": "neededRole",
"type": "bytes32"
}
],
"name": "AccessControlUnauthorizedAccount",
"type": "error"
},
{
"inputs": [
{
"internalType": "address",
"name": "target",
"type": "address"
}
],
"name": "AddressEmptyCode",
"type": "error"
},
{
"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": [
{
"internalType": "address",
"name": "implementation",
"type": "address"
}
],
"name": "ERC1967InvalidImplementation",
"type": "error"
},
{
"inputs": [],
"name": "ERC1967NonPayable",
"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": [],
"name": "FailedInnerCall",
"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": [],
"name": "InvalidInitialization",
"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": [],
"name": "NotInitializing",
"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": [],
"name": "ReentrancyGuardReentrantCall",
"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": [],
"name": "UUPSUnauthorizedCallContext",
"type": "error"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "slot",
"type": "bytes32"
}
],
"name": "UUPSUnsupportedProxiableUUID",
"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": false,
"internalType": "uint64",
"name": "version",
"type": "uint64"
}
],
"name": "Initialized",
"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": "bytes32",
"name": "role",
"type": "bytes32"
},
{
"indexed": true,
"internalType": "bytes32",
"name": "previousAdminRole",
"type": "bytes32"
},
{
"indexed": true,
"internalType": "bytes32",
"name": "newAdminRole",
"type": "bytes32"
}
],
"name": "RoleAdminChanged",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
},
{
"indexed": true,
"internalType": "address",
"name": "account",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "sender",
"type": "address"
}
],
"name": "RoleGranted",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
},
{
"indexed": true,
"internalType": "address",
"name": "account",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "sender",
"type": "address"
}
],
"name": "RoleRevoked",
"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"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "implementation",
"type": "address"
}
],
"name": "Upgraded",
"type": "event"
},
{
"inputs": [],
"name": "BASIS_POINTS",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "DEFAULT_ADMIN_ROLE",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"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": [],
"name": "UPGRADE_INTERFACE_VERSION",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"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": "citizens",
"type": "address[]"
}
],
"name": "correctOverDelegations",
"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": "",
"type": "bytes32[]"
},
{
"internalType": "uint256[]",
"name": "",
"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": "bytes32",
"name": "role",
"type": "bytes32"
}
],
"name": "getRoleAdmin",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"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": "bytes32",
"name": "role",
"type": "bytes32"
},
{
"internalType": "address",
"name": "account",
"type": "address"
}
],
"name": "grantRole",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
},
{
"internalType": "address",
"name": "account",
"type": "address"
}
],
"name": "hasRole",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"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": [
{
"components": [
{
"internalType": "address",
"name": "admin",
"type": "address"
},
{
"internalType": "address",
"name": "upgrader",
"type": "address"
},
{
"internalType": "address",
"name": "governance",
"type": "address"
},
{
"internalType": "address",
"name": "b3trToken",
"type": "address"
},
{
"internalType": "address",
"name": "vot3Token",
"type": "address"
},
{
"internalType": "address",
"name": "treasury",
"type": "address"
},
{
"internalType": "uint256",
"name": "minStake",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "maxStakePercentage",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "feeLockPeriod",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "feePercentage",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "exitNoticePeriod",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "reportInterval",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "minorSlashPercentage",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "preferenceCutoffPeriod",
"type": "uint256"
},
{
"internalType": "address",
"name": "voterRewards",
"type": "address"
},
{
"internalType": "address",
"name": "xAllocationVoting",
"type": "address"
},
{
"internalType": "address",
"name": "relayerRewardsPool",
"type": "address"
}
],
"internalType": "struct NavigatorRegistry.InitParams",
"name": "params",
"type": "tuple"
}
],
"name": "initialize",
"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": [
{
"internalTy