Builds the post-deployment crank the app runs once every position is
open: TriggerBehaviorsV2 on the CLMM bucket (moving the ledger leftover
via BaseTokenRollover, with the remaining accounts wired from the
bucket's behavior data) followed by SweepRaydiumClmmBucketSignerV2
(sending the deployment residue in the bucket signer ATAs to the position
NFT owner). Both instructions are permissionless and gated on-chain until
all positions are open.
Each behavior needs its destination bucket plus that destination's quote
token account as remaining accounts; the token account owner depends on
the destination bucket type (Raydium buckets custody tokens under a
separate bucket signer PDA), which this helper resolves by inspecting the
destination accounts.
Builds the post-deployment crank the app runs once every position is open:
TriggerBehaviorsV2on the CLMM bucket (moving the ledger leftover viaBaseTokenRollover, with the remaining accounts wired from the bucket's behavior data) followed bySweepRaydiumClmmBucketSignerV2(sending the deployment residue in the bucket signer ATAs to the position NFT owner). Both instructions are permissionless and gated on-chain until all positions are open.Each behavior needs its destination bucket plus that destination's quote token account as remaining accounts; the token account owner depends on the destination bucket type (Raydium buckets custody tokens under a separate bucket signer PDA), which this helper resolves by inspecting the destination accounts.