Skip to content

set x_launch & acp_launch fee to 0 and make only be_ops_wallet can call#146

Merged
koo-virtuals merged 3 commits intomainfrom
feat/vp-2057
Feb 19, 2026
Merged

set x_launch & acp_launch fee to 0 and make only be_ops_wallet can call#146
koo-virtuals merged 3 commits intomainfrom
feat/vp-2057

Conversation

@koo-virtuals
Copy link
Contributor

@koo-virtuals koo-virtuals commented Feb 18, 2026

Note

Medium Risk
Introduces new access control gates on preLaunch for two launch modes, which can block launches if allowlists are misconfigured. Also changes upgradeable storage layout, so deployments/upgrades must ensure the new mappings are correctly accounted for.

Overview
Restricts who can use special launch modes in BondingV4. preLaunch now reverts with UnauthorizedLauncher unless the caller is explicitly allowlisted for LAUNCH_MODE_X_LAUNCH (isXLauncher) or LAUNCH_MODE_ACP_SKILL (isAcpSkillLauncher), and adds owner-only setters setXLauncher/setAcpSkillLauncher to manage these permissions.

Tests are updated/expanded to cover allowlist management and unauthorized launch reverts for both modes. OpenZeppelin upgrade artifacts (.openzeppelin/base*.json) are updated to reflect the new BondingV4 storage layout (new mappings).

Written by Cursor Bugbot for commit b884f2c. This will update automatically on new commits. Configure here.

twx-virtuals
twx-virtuals previously approved these changes Feb 19, 2026
@koo-virtuals koo-virtuals merged commit ca880e9 into main Feb 19, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments