Skip to content

support x-layer#162

Open
koo-virtuals wants to merge 4 commits intomainfrom
feat/vp-2270
Open

support x-layer#162
koo-virtuals wants to merge 4 commits intomainfrom
feat/vp-2270

Conversation

@koo-virtuals
Copy link
Copy Markdown
Contributor

@koo-virtuals koo-virtuals commented Apr 27, 2026

Note

High Risk
High risk because it introduces new token-bound account (ERC-6551) + ERC-4337 execution and upgrade authorization logic, which is security-critical and easy to misconfigure. Also adds new network/verification settings for X Layer that could affect deployments and contract verification behavior.

Overview
Adds a new token-bound account stack under contracts/tba, including AccountV3/AccountV3Upgradable, a local ERC6551Registry, and supporting modules for locking, permissioned execution, selector overrides via a sandbox, and batch/nested execution, with signature validation supporting both EOA and contract signatures plus ERC-4337 EntryPoint integration.

Updates Hardhat configuration to support X Layer (chainIds 1952/196) with OKLink verification (@okxweb3/hardhat-explorer-verify/okverify), adds the new networks/RPC defaults and hardfork histories, and expands Solidity compiler config to include multiple versions for verification compatibility.

Updates .openzeppelin manifests (and adds a new one for chain 1952) to record additional proxy/implementation deployments and storage layouts for the new/updated on-chain contracts.

Reviewed by Cursor Bugbot for commit 6ea4de4. Bugbot is set up for automated code reviews on this repo. Configure here.

twx-virtuals
twx-virtuals previously approved these changes Apr 27, 2026
Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 0e985b9. Configure here.

Comment thread hardhat.config.js
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