Add ExpireWithdrawVestedFundsProposalTrigger
Fixes #213
Adds ExpireWithdrawVestedFundsProposalTrigger, which archives expired WithdrawVestedFundsProposals with DsoRules_WithdrawVestedFunds_DsoExpire. It mirrors ExpireUnlockProposalTrigger from #294.
SvDsoStoreingestsWithdrawVestedFundsProposal, with the same filter and version guard as Scan.listExpiredWithdrawVestedFundsProposalsreuseslistExpiredFromPayloadExpiry, so there is no new SQL. It skips proposals whose owner, featured app provider or vesting controllers are unavailable, which matchesGovernanceLockUtil.withdrawInformees. Proposers must be controllers, so they are covered too.
Tests:
DbSvDsoStoreTest: expiry, DSO scoping, and unavailable parties with both the in-memory and the DB-backed store.- TODO: an integration test in
GovernanceLockTimeBasedIntegrationTest, once #277 merges. A pending withdrawal proposal needs a vesting lock with custom controllers, and the #277 helpers are what create one.
Stacked on #294. Retarget to custom-controllers-scala once #294 merges.