From 7740841ce6d69eda561fca0e52008e0b70e2f8df Mon Sep 17 00:00:00 2001 From: Dan Rusnac Date: Wed, 29 Apr 2026 15:16:28 +0200 Subject: [PATCH 1/2] feat: add NavigatorRegistry and B3TRChallenges ABIs --- ABIs/VeBetterDAO-navigator-registry.json | 2762 ++++++++++++++++++++++ 1 file changed, 2762 insertions(+) create mode 100644 ABIs/VeBetterDAO-navigator-registry.json diff --git a/ABIs/VeBetterDAO-navigator-registry.json b/ABIs/VeBetterDAO-navigator-registry.json new file mode 100644 index 00000000..b7843886 --- /dev/null +++ b/ABIs/VeBetterDAO-navigator-registry.json @@ -0,0 +1,2762 @@ +[ + { + "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": "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": "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": [ + { + "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": [], + "name": "proxiableUUID", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "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": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "callerConfirmation", + "type": "address" + } + ], + "name": "renounceRole", + "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": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "revokeRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "roundId", + "type": "uint256" + }, + { + "internalType": "bytes32[]", + "name": "appIds", + "type": "bytes32[]" + }, + { + "internalType": "uint256[]", + "name": "weights", + "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": [ + { + "internalType": "bytes4", + "name": "interfaceId", + "type": "bytes4" + } + ], + "name": "supportsInterface", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "undelegate", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newImplementation", + "type": "address" + }, + { + "internalType": "bytes", + "name": "data", + "type": "bytes" + } + ], + "name": "upgradeToAndCall", + "outputs": [], + "stateMutability": "payable", + "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" + } +] From 636cf194a6690e40f793407330891bf7ecdd496d Mon Sep 17 00:00:00 2001 From: Dan Rusnac Date: Wed, 29 Apr 2026 15:16:29 +0200 Subject: [PATCH 2/2] feat: add NavigatorRegistry and B3TRChallenges ABIs --- ABIs/VeBetterDAO-b3tr-challenges.json | 2459 +++++++++++++++++++++++++ 1 file changed, 2459 insertions(+) create mode 100644 ABIs/VeBetterDAO-b3tr-challenges.json diff --git a/ABIs/VeBetterDAO-b3tr-challenges.json b/ABIs/VeBetterDAO-b3tr-challenges.json new file mode 100644 index 00000000..38f2a5ac --- /dev/null +++ b/ABIs/VeBetterDAO-b3tr-challenges.json @@ -0,0 +1,2459 @@ +[ + { + "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": "uint256", + "name": "challengeId", + "type": "uint256" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "AlreadyClaimed", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "challengeId", + "type": "uint256" + }, + { + "internalType": "address", + "name": "invitee", + "type": "address" + } + ], + "name": "AlreadyInvited", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "challengeId", + "type": "uint256" + }, + { + "internalType": "address", + "name": "participant", + "type": "address" + } + ], + "name": "AlreadyParticipating", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "challengeId", + "type": "uint256" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "AlreadyRefunded", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "provided", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "minimum", + "type": "uint256" + } + ], + "name": "BetAmountBelowMinimum", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "challengeId", + "type": "uint256" + } + ], + "name": "ChallengeAlreadyCompleted", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "challengeId", + "type": "uint256" + } + ], + "name": "ChallengeDoesNotExist", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "challengeId", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "endRound", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "currentRound", + "type": "uint256" + } + ], + "name": "ChallengeEnded", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "challengeId", + "type": "uint256" + }, + { + "internalType": "enum ChallengeTypes.ChallengeStatus", + "name": "status", + "type": "uint8" + } + ], + "name": "ChallengeInvalidStatus", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "challengeId", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "endRound", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "currentRound", + "type": "uint256" + } + ], + "name": "ChallengeNotEnded", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "challengeId", + "type": "uint256" + } + ], + "name": "ChallengeNotPending", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "appId", + "type": "bytes32" + } + ], + "name": "ChallengeUnknownApp", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "user", + "type": "address" + } + ], + "name": "ChallengesUnauthorizedUser", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "challengeId", + "type": "uint256" + } + ], + "name": "CreatorCannotJoin", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "challengeId", + "type": "uint256" + } + ], + "name": "CreatorCannotLeave", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "provided", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "maximum", + "type": "uint256" + } + ], + "name": "DescriptionTooLong", + "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": "FailedInnerCall", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "provided", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "maximum", + "type": "uint256" + } + ], + "name": "ImageURITooLong", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "stakeAmount", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "numWinners", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "minPrizePerWinner", + "type": "uint256" + } + ], + "name": "InsufficientPrizePerWinner", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "available", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "requested", + "type": "uint256" + } + ], + "name": "InsufficientWithdrawableFunds", + "type": "error" + }, + { + "inputs": [], + "name": "InvalidAmount", + "type": "error" + }, + { + "inputs": [], + "name": "InvalidChallengeTypeForCombo", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "startRound", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "endRound", + "type": "uint256" + } + ], + "name": "InvalidEndRound", + "type": "error" + }, + { + "inputs": [], + "name": "InvalidInitialization", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "startRound", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "currentRound", + "type": "uint256" + } + ], + "name": "InvalidStartRound", + "type": "error" + }, + { + "inputs": [], + "name": "InvalidTypeConfiguration", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "provided", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "maximum", + "type": "uint256" + } + ], + "name": "MaxChallengeDurationExceeded", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "provided", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "maximum", + "type": "uint256" + } + ], + "name": "MaxParticipantsExceeded", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "provided", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "maximum", + "type": "uint256" + } + ], + "name": "MaxSelectedAppsExceeded", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "provided", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "maximum", + "type": "uint256" + } + ], + "name": "MetadataURITooLong", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "challengeId", + "type": "uint256" + } + ], + "name": "NotASplitWinChallenge", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "challengeId", + "type": "uint256" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "internalType": "uint256", + "name": "actions", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "threshold", + "type": "uint256" + } + ], + "name": "NotEligibleForSplitWin", + "type": "error" + }, + { + "inputs": [], + "name": "NotInitializing", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "challengeId", + "type": "uint256" + }, + { + "internalType": "address", + "name": "participant", + "type": "address" + } + ], + "name": "NotInvited", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "challengeId", + "type": "uint256" + }, + { + "internalType": "address", + "name": "participant", + "type": "address" + } + ], + "name": "NotParticipating", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "challengeId", + "type": "uint256" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "NothingToClaim", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "challengeId", + "type": "uint256" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "NothingToRefund", + "type": "error" + }, + { + "inputs": [], + "name": "ReentrancyGuardReentrantCall", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "challengeId", + "type": "uint256" + } + ], + "name": "SplitWinCannotComplete", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "challengeId", + "type": "uint256" + } + ], + "name": "SplitWinSlotsExhausted", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "provided", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "maximum", + "type": "uint256" + } + ], + "name": "ThresholdTooHigh", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "provided", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "maximum", + "type": "uint256" + } + ], + "name": "TitleTooLong", + "type": "error" + }, + { + "inputs": [], + "name": "TransferFailed", + "type": "error" + }, + { + "inputs": [], + "name": "UUPSUnauthorizedCallContext", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "slot", + "type": "bytes32" + } + ], + "name": "UUPSUnsupportedProxiableUUID", + "type": "error" + }, + { + "inputs": [], + "name": "ZeroAddress", + "type": "error" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "admin", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "recipient", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "AdminWithdrawal", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "oldAddress", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newAddress", + "type": "address" + } + ], + "name": "B3TRAddressUpdated", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "uint256", + "name": "challengeId", + "type": "uint256" + } + ], + "name": "ChallengeActivated", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "uint256", + "name": "challengeId", + "type": "uint256" + } + ], + "name": "ChallengeCancelled", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "uint256", + "name": "challengeId", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "enum ChallengeTypes.SettlementMode", + "name": "settlementMode", + "type": "uint8" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "bestScore", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "bestCount", + "type": "uint256" + } + ], + "name": "ChallengeCompleted", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "uint256", + "name": "challengeId", + "type": "uint256" + }, + { + "indexed": true, + "internalType": "address", + "name": "creator", + "type": "address" + }, + { + "indexed": true, + "internalType": "uint256", + "name": "endRound", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "enum ChallengeTypes.ChallengeKind", + "name": "kind", + "type": "uint8" + }, + { + "indexed": false, + "internalType": "enum ChallengeTypes.ChallengeVisibility", + "name": "visibility", + "type": "uint8" + }, + { + "indexed": false, + "internalType": "enum ChallengeTypes.ChallengeType", + "name": "challengeType", + "type": "uint8" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "stakeAmount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "startRound", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "threshold", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "bool", + "name": "allApps", + "type": "bool" + }, + { + "indexed": false, + "internalType": "bytes32[]", + "name": "selectedApps", + "type": "bytes32[]" + }, + { + "indexed": false, + "internalType": "string", + "name": "title", + "type": "string" + }, + { + "indexed": false, + "internalType": "string", + "name": "description", + "type": "string" + }, + { + "indexed": false, + "internalType": "string", + "name": "imageURI", + "type": "string" + }, + { + "indexed": false, + "internalType": "string", + "name": "metadataURI", + "type": "string" + } + ], + "name": "ChallengeCreated", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "uint256", + "name": "challengeId", + "type": "uint256" + }, + { + "indexed": true, + "internalType": "address", + "name": "participant", + "type": "address" + } + ], + "name": "ChallengeDeclined", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "uint256", + "name": "challengeId", + "type": "uint256" + } + ], + "name": "ChallengeInvalidated", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "uint256", + "name": "challengeId", + "type": "uint256" + }, + { + "indexed": true, + "internalType": "address", + "name": "invitee", + "type": "address" + } + ], + "name": "ChallengeInviteAdded", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "uint256", + "name": "challengeId", + "type": "uint256" + }, + { + "indexed": true, + "internalType": "address", + "name": "participant", + "type": "address" + } + ], + "name": "ChallengeJoined", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "uint256", + "name": "challengeId", + "type": "uint256" + }, + { + "indexed": true, + "internalType": "address", + "name": "participant", + "type": "address" + } + ], + "name": "ChallengeLeft", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "uint256", + "name": "challengeId", + "type": "uint256" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "ChallengePayoutClaimed", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "uint256", + "name": "challengeId", + "type": "uint256" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "ChallengeRefundClaimed", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint64", + "name": "version", + "type": "uint64" + } + ], + "name": "Initialized", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "oldValue", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "newValue", + "type": "uint256" + } + ], + "name": "MaxChallengeDurationUpdated", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "oldValue", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "newValue", + "type": "uint256" + } + ], + "name": "MaxParticipantsUpdated", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "oldValue", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "newValue", + "type": "uint256" + } + ], + "name": "MaxSelectedAppsUpdated", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "oldValue", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "newValue", + "type": "uint256" + } + ], + "name": "MinBetAmountUpdated", + "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": "uint256", + "name": "challengeId", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "numWinners", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "prizePerWinner", + "type": "uint256" + } + ], + "name": "SplitWinConfigured", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "uint256", + "name": "challengeId", + "type": "uint256" + }, + { + "indexed": true, + "internalType": "address", + "name": "creator", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "SplitWinCreatorRefunded", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "uint256", + "name": "challengeId", + "type": "uint256" + }, + { + "indexed": true, + "internalType": "address", + "name": "winner", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "prize", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "actions", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "winnersClaimed", + "type": "uint256" + } + ], + "name": "SplitWinPrizeClaimed", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "implementation", + "type": "address" + } + ], + "name": "Upgraded", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "oldAddress", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newAddress", + "type": "address" + } + ], + "name": "VeBetterPassportAddressUpdated", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "oldAddress", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newAddress", + "type": "address" + } + ], + "name": "X2EarnAppsAddressUpdated", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "oldAddress", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newAddress", + "type": "address" + } + ], + "name": "XAllocationVotingAddressUpdated", + "type": "event" + }, + { + "inputs": [], + "name": "CONTRACTS_ADDRESS_MANAGER_ROLE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "DEFAULT_ADMIN_ROLE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "SETTINGS_MANAGER_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": "challengeId", + "type": "uint256" + }, + { + "internalType": "address[]", + "name": "invitees", + "type": "address[]" + } + ], + "name": "addInvites", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "challengeId", + "type": "uint256" + } + ], + "name": "cancelChallenge", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "challengeCount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "challengeId", + "type": "uint256" + } + ], + "name": "claimChallengePayout", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "challengeId", + "type": "uint256" + } + ], + "name": "claimChallengeRefund", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "challengeId", + "type": "uint256" + } + ], + "name": "claimCreatorSplitWinRefund", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "challengeId", + "type": "uint256" + } + ], + "name": "claimSplitWinPrize", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "challengeId", + "type": "uint256" + } + ], + "name": "completeChallenge", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "components": [ + { + "internalType": "enum ChallengeTypes.ChallengeKind", + "name": "kind", + "type": "uint8" + }, + { + "internalType": "enum ChallengeTypes.ChallengeVisibility", + "name": "visibility", + "type": "uint8" + }, + { + "internalType": "enum ChallengeTypes.ChallengeType", + "name": "challengeType", + "type": "uint8" + }, + { + "internalType": "uint256", + "name": "stakeAmount", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "startRound", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "endRound", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "threshold", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "numWinners", + "type": "uint256" + }, + { + "internalType": "bytes32[]", + "name": "appIds", + "type": "bytes32[]" + }, + { + "internalType": "address[]", + "name": "invitees", + "type": "address[]" + }, + { + "internalType": "string", + "name": "title", + "type": "string" + }, + { + "internalType": "string", + "name": "description", + "type": "string" + }, + { + "internalType": "string", + "name": "imageURI", + "type": "string" + }, + { + "internalType": "string", + "name": "metadataURI", + "type": "string" + } + ], + "internalType": "struct ChallengeTypes.CreateChallengeParams", + "name": "params", + "type": "tuple" + } + ], + "name": "createChallenge", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "challengeId", + "type": "uint256" + } + ], + "name": "declineChallenge", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "challengeId", + "type": "uint256" + } + ], + "name": "getChallenge", + "outputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "challengeId", + "type": "uint256" + }, + { + "internalType": "enum ChallengeTypes.ChallengeKind", + "name": "kind", + "type": "uint8" + }, + { + "internalType": "enum ChallengeTypes.ChallengeVisibility", + "name": "visibility", + "type": "uint8" + }, + { + "internalType": "enum ChallengeTypes.ChallengeType", + "name": "challengeType", + "type": "uint8" + }, + { + "internalType": "enum ChallengeTypes.ChallengeStatus", + "name": "status", + "type": "uint8" + }, + { + "internalType": "enum ChallengeTypes.SettlementMode", + "name": "settlementMode", + "type": "uint8" + }, + { + "internalType": "address", + "name": "creator", + "type": "address" + }, + { + "internalType": "uint256", + "name": "stakeAmount", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "startRound", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "endRound", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "duration", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "threshold", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "numWinners", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "winnersClaimed", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "prizePerWinner", + "type": "uint256" + }, + { + "internalType": "bool", + "name": "allApps", + "type": "bool" + }, + { + "internalType": "uint256", + "name": "totalPrize", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "participantCount", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "invitedCount", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "declinedCount", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "selectedAppsCount", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "winnersCount", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "bestScore", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "bestCount", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "payoutsClaimed", + "type": "uint256" + }, + { + "internalType": "string", + "name": "title", + "type": "string" + }, + { + "internalType": "string", + "name": "description", + "type": "string" + }, + { + "internalType": "string", + "name": "imageURI", + "type": "string" + }, + { + "internalType": "string", + "name": "metadataURI", + "type": "string" + } + ], + "internalType": "struct ChallengeTypes.ChallengeView", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "challengeId", + "type": "uint256" + } + ], + "name": "getChallengeDeclined", + "outputs": [ + { + "internalType": "address[]", + "name": "", + "type": "address[]" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "challengeId", + "type": "uint256" + } + ], + "name": "getChallengeInvited", + "outputs": [ + { + "internalType": "address[]", + "name": "", + "type": "address[]" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "challengeId", + "type": "uint256" + } + ], + "name": "getChallengeParticipants", + "outputs": [ + { + "internalType": "address[]", + "name": "", + "type": "address[]" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "challengeId", + "type": "uint256" + } + ], + "name": "getChallengeSelectedApps", + "outputs": [ + { + "internalType": "bytes32[]", + "name": "", + "type": "bytes32[]" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "challengeId", + "type": "uint256" + } + ], + "name": "getChallengeStatus", + "outputs": [ + { + "internalType": "enum ChallengeTypes.ChallengeStatus", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "challengeId", + "type": "uint256" + } + ], + "name": "getChallengeWinners", + "outputs": [ + { + "internalType": "address[]", + "name": "", + "type": "address[]" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "challengeId", + "type": "uint256" + }, + { + "internalType": "address", + "name": "participant", + "type": "address" + } + ], + "name": "getParticipantActions", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "challengeId", + "type": "uint256" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "getParticipantStatus", + "outputs": [ + { + "internalType": "enum ChallengeTypes.ParticipantStatus", + "name": "", + "type": "uint8" + } + ], + "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": "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": [ + { + "components": [ + { + "internalType": "address", + "name": "b3trAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "veBetterPassportAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "xAllocationVotingAddress", + "type": "address" + }, + { + "internalType": "address", + "name": "x2EarnAppsAddress", + "type": "address" + }, + { + "internalType": "uint256", + "name": "maxChallengeDuration", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "maxSelectedApps", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "maxParticipants", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "minBetAmount", + "type": "uint256" + } + ], + "internalType": "struct ChallengeTypes.InitializationData", + "name": "data", + "type": "tuple" + }, + { + "components": [ + { + "internalType": "address", + "name": "admin", + "type": "address" + }, + { + "internalType": "address", + "name": "upgrader", + "type": "address" + }, + { + "internalType": "address", + "name": "contractsAddressManager", + "type": "address" + }, + { + "internalType": "address", + "name": "settingsManager", + "type": "address" + } + ], + "internalType": "struct ChallengeTypes.InitializationRoleData", + "name": "roles", + "type": "tuple" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "challengeId", + "type": "uint256" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "isInvitationEligible", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "challengeId", + "type": "uint256" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "isSplitWinWinner", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "challengeId", + "type": "uint256" + } + ], + "name": "joinChallenge", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "challengeId", + "type": "uint256" + } + ], + "name": "leaveChallenge", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "maxChallengeDuration", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "maxParticipants", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "maxSelectedApps", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "minBetAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "proxiableUUID", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "callerConfirmation", + "type": "address" + } + ], + "name": "renounceRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "revokeRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newAddress", + "type": "address" + } + ], + "name": "setB3TRAddress", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "newValue", + "type": "uint256" + } + ], + "name": "setMaxChallengeDuration", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "newValue", + "type": "uint256" + } + ], + "name": "setMaxParticipants", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "newValue", + "type": "uint256" + } + ], + "name": "setMaxSelectedApps", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "newValue", + "type": "uint256" + } + ], + "name": "setMinBetAmount", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newAddress", + "type": "address" + } + ], + "name": "setVeBetterPassportAddress", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newAddress", + "type": "address" + } + ], + "name": "setX2EarnAppsAddress", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newAddress", + "type": "address" + } + ], + "name": "setXAllocationVotingAddress", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes4", + "name": "interfaceId", + "type": "bytes4" + } + ], + "name": "supportsInterface", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "challengeId", + "type": "uint256" + } + ], + "name": "syncChallenge", + "outputs": [ + { + "internalType": "enum ChallengeTypes.ChallengeStatus", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newImplementation", + "type": "address" + }, + { + "internalType": "bytes", + "name": "data", + "type": "bytes" + } + ], + "name": "upgradeToAndCall", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [], + "name": "version", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "withdraw", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } +] \ No newline at end of file