From 62f3b8ffde366d4312890829deccc349bb19eae1 Mon Sep 17 00:00:00 2001 From: Dan Rusnac Date: Fri, 29 May 2026 18:25:55 +0200 Subject: [PATCH] feat: sync VeBetterDAO ABIs with v10/v11 contract upgrades - B3TRGovernor V11: community execution framework (claimPayout, payee, budget, contributors, initializeV11; propose/markAsInDevelopment signatures changed) - XAllocationVoting V10: add VoteAlreadyProcessed error (relayer double-vote guard) - NavigatorRegistry V1: add InsufficientUnlockedBalance error and correctOverDelegations function - B3TRChallenges V2: add NotVerifiedPerson error (passport gating) --- ABIs/VeBetterDAO-b3tr-challenges.json | 18 +- ABIs/VeBetterDAO-b3tr-governor.json | 378 +++++++++++++++++++++ ABIs/VeBetterDAO-navigator-registry.json | 34 ++ ABIs/VeBetterDAO-x-allocations-voting.json | 16 + 4 files changed, 445 insertions(+), 1 deletion(-) diff --git a/ABIs/VeBetterDAO-b3tr-challenges.json b/ABIs/VeBetterDAO-b3tr-challenges.json index 38f2a5ac..72c88a9f 100644 --- a/ABIs/VeBetterDAO-b3tr-challenges.json +++ b/ABIs/VeBetterDAO-b3tr-challenges.json @@ -542,6 +542,22 @@ "name": "NotParticipating", "type": "error" }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "internalType": "string", + "name": "reason", + "type": "string" + } + ], + "name": "NotVerifiedPerson", + "type": "error" + }, { "inputs": [ { @@ -2456,4 +2472,4 @@ "stateMutability": "nonpayable", "type": "function" } -] \ No newline at end of file +] diff --git a/ABIs/VeBetterDAO-b3tr-governor.json b/ABIs/VeBetterDAO-b3tr-governor.json index 5f55908a..b45600ec 100644 --- a/ABIs/VeBetterDAO-b3tr-governor.json +++ b/ABIs/VeBetterDAO-b3tr-governor.json @@ -427,6 +427,22 @@ "name": "InvalidInitialization", "type": "error" }, + { + "inputs": [], + "name": "InvalidPayeeAddress", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "proposalId", + "type": "uint256" + } + ], + "name": "MissingProposalBudget", + "type": "error" + }, { "inputs": [ { @@ -459,11 +475,60 @@ "name": "NotInitializing", "type": "error" }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "proposalId", + "type": "uint256" + } + ], + "name": "NotReadyToClaim", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "proposalId", + "type": "uint256" + } + ], + "name": "PayeesAlreadyFinalized", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "proposalId", + "type": "uint256" + } + ], + "name": "PayoutAlreadyClaimed", + "type": "error" + }, { "inputs": [], "name": "QueueEmpty", "type": "error" }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "provided", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "max", + "type": "uint256" + } + ], + "name": "TooManyContributors", + "type": "error" + }, { "inputs": [], "name": "UUPSUnauthorizedCallContext", @@ -491,6 +556,22 @@ "name": "UnauthorizedAccess", "type": "error" }, + { + "inputs": [ + { + "internalType": "address", + "name": "caller", + "type": "address" + }, + { + "internalType": "uint256", + "name": "proposalId", + "type": "uint256" + } + ], + "name": "UnauthorizedCommunityExecution", + "type": "error" + }, { "anonymous": false, "inputs": [ @@ -617,6 +698,25 @@ "name": "Paused", "type": "event" }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "uint256", + "name": "proposalId", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "maxBudget", + "type": "uint256" + } + ], + "name": "ProposalBudgetSet", + "type": "event" + }, { "anonymous": false, "inputs": [ @@ -668,6 +768,25 @@ "name": "ProposalCompleted", "type": "event" }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "uint256", + "name": "proposalId", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "string[]", + "name": "contributors", + "type": "string[]" + } + ], + "name": "ProposalContributorsSet", + "type": "event" + }, { "anonymous": false, "inputs": [ @@ -812,6 +931,62 @@ "name": "ProposalInDevelopment", "type": "event" }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "uint256", + "name": "proposalId", + "type": "uint256" + }, + { + "indexed": true, + "internalType": "address", + "name": "payee", + "type": "address" + }, + { + "indexed": false, + "internalType": "string", + "name": "description", + "type": "string" + }, + { + "indexed": false, + "internalType": "string", + "name": "implementationDiscussion", + "type": "string" + } + ], + "name": "ProposalInDevelopmentDetails", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "uint256", + "name": "proposalId", + "type": "uint256" + }, + { + "indexed": true, + "internalType": "address", + "name": "payee", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "ProposalPayoutClaimed", + "type": "event" + }, { "anonymous": false, "inputs": [ @@ -1423,6 +1598,19 @@ "stateMutability": "nonpayable", "type": "function" }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "proposalId", + "type": "uint256" + } + ], + "name": "claimPayout", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, { "inputs": [], "name": "clock", @@ -1608,6 +1796,44 @@ "stateMutability": "view", "type": "function" }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "proposalId", + "type": "uint256" + } + ], + "name": "getProposalBudget", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "proposalId", + "type": "uint256" + } + ], + "name": "getProposalContributors", + "outputs": [ + { + "internalType": "string[]", + "name": "", + "type": "string[]" + } + ], + "stateMutability": "view", + "type": "function" + }, { "inputs": [ { @@ -1627,6 +1853,63 @@ "stateMutability": "view", "type": "function" }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "proposalId", + "type": "uint256" + } + ], + "name": "getProposalDescription", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "proposalId", + "type": "uint256" + } + ], + "name": "getProposalImplementationDiscussion", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "proposalId", + "type": "uint256" + } + ], + "name": "getProposalPayee", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, { "inputs": [ { @@ -1911,6 +2194,24 @@ "stateMutability": "nonpayable", "type": "function" }, + { + "inputs": [ + { + "internalType": "contract ITreasury", + "name": "_treasury", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_maxContributorsPerProposal", + "type": "uint256" + } + ], + "name": "initializeV11", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, { "inputs": [ { @@ -1935,6 +2236,25 @@ "stateMutability": "view", "type": "function" }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "proposalId", + "type": "uint256" + } + ], + "name": "isProposalPaid", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, { "inputs": [], "name": "isQuadraticVotingDisabledForCurrentRound", @@ -1986,6 +2306,26 @@ "internalType": "uint256", "name": "proposalId", "type": "uint256" + }, + { + "internalType": "address", + "name": "payee", + "type": "address" + }, + { + "internalType": "string", + "name": "description", + "type": "string" + }, + { + "internalType": "string", + "name": "implementationDiscussion", + "type": "string" + }, + { + "internalType": "string[]", + "name": "contributors", + "type": "string[]" } ], "name": "markAsInDevelopment", @@ -2414,6 +2754,11 @@ "internalType": "uint256", "name": "depositAmount", "type": "uint256" + }, + { + "internalType": "uint256", + "name": "maxBudget", + "type": "uint256" } ], "name": "propose", @@ -3108,6 +3453,39 @@ "stateMutability": "nonpayable", "type": "function" }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "proposalId", + "type": "uint256" + }, + { + "internalType": "address", + "name": "payee", + "type": "address" + }, + { + "internalType": "string", + "name": "description", + "type": "string" + }, + { + "internalType": "string", + "name": "implementationDiscussion", + "type": "string" + }, + { + "internalType": "string[]", + "name": "contributors", + "type": "string[]" + } + ], + "name": "updateCommunityExecution", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, { "inputs": [ { diff --git a/ABIs/VeBetterDAO-navigator-registry.json b/ABIs/VeBetterDAO-navigator-registry.json index b7843886..e0f60958 100644 --- a/ABIs/VeBetterDAO-navigator-registry.json +++ b/ABIs/VeBetterDAO-navigator-registry.json @@ -287,6 +287,27 @@ "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": [ { @@ -1314,6 +1335,19 @@ "stateMutability": "nonpayable", "type": "function" }, + { + "inputs": [ + { + "internalType": "address[]", + "name": "citizens", + "type": "address[]" + } + ], + "name": "correctOverDelegations", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, { "inputs": [ { diff --git a/ABIs/VeBetterDAO-x-allocations-voting.json b/ABIs/VeBetterDAO-x-allocations-voting.json index 824b8d2d..03ff8e8e 100644 --- a/ABIs/VeBetterDAO-x-allocations-voting.json +++ b/ABIs/VeBetterDAO-x-allocations-voting.json @@ -321,6 +321,22 @@ "name": "UUPSUnsupportedProxiableUUID", "type": "error" }, + { + "inputs": [ + { + "internalType": "address", + "name": "voter", + "type": "address" + }, + { + "internalType": "uint256", + "name": "roundId", + "type": "uint256" + } + ], + "name": "VoteAlreadyProcessed", + "type": "error" + }, { "inputs": [ {