Open
Conversation
…ith-feb-2026-continuation-fixes
…hed proposal's duration
…t members, or no spending limit members
…or calculations and projections
…er twap_start_timestamp
…ith-feb-2026-continuation-fixes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Futarchy
seconds_per_proposalto proposal'sduration_in_secondsat launch time (ensures updated durations take effect)collect_meteora_damm_feesto match Squads SDK payer semanticswrapping_mulinstead ofsaturating_mulfor TWAP aggregator calculations and projections#[event_cpi]fromExecuteSpendingLimitChange(no events emitted)associated_token_programfromStakeToProposalandUnstakeFromProposalmutfromadmininAdminCancelProposalPerformance Package V2
ProposerTypeenum with directproposer: PubkeyonChangeRequestcreated_at_timestamptoPerformancePackagestate (set on init)pp_created_at_timestamptoChangeRequestto detect stale CRs after close/recreateexecute_change: reject CRs whosepp_created_at_timestampdoesn't match the current PP, and reject CRs where proposer is no longer authority or recipientStaleChangeRequesterror variantupdate_twapaftertwap_start_timestampbefore readingwrapping_mulinstead ofsaturating_mulin futarchy oracle aggregator projectionassociated_token_programfromCompleteUnlockstart_valuefromRewardFunction::CliffLinear- unnecessary due tocliff_valueexistingPrice-Based Performance Package
min_unlock_timestampto be in the future (allow init with past timestamp)wrapping_subinstead ofsaturating_subfor aggregator difference incomplete_unlock#[event_cpi]fromBurnPerformancePackage(no events emitted)V06 Launchpad
has_one = launchconstraint tofunding_recordinClaimandRefundrequire_gt!instead ofrequire_gte!inFund(strict expiry check)launch_signeraccount fromFundmutfrombase_mintinClaimsystem_programfromClaim,Refund, andReturnFundsV07 Launchpad
has_one = launchconstraint tofunding_recordinClaimandRefundlaunch_signeraccount fromFundmutfromlaunch_signerinClaimAdditionalTokenAllocationandInitializePerformancePackagemutfrombase_mintinClaimandClaimAdditionalTokenAllocationsystem_programfromClaimandRefundBid Wall
payeraccount fromCloseBidWallmutfromuserinSellTokenssystem_programfromCollectFeesandSellTokens