-
Notifications
You must be signed in to change notification settings - Fork 0
Redesign ShareExtension and harden extension architecture #87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
lex-node
wants to merge
21
commits into
develop
Choose a base branch
from
claude/redesign-shareextension-UIgbv
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
12f4454
Redesign ShareExtension.sol: split series terms from certificate data
claude b35b5fa
Add foundry.lock from dependency installation
claude 803f8a9
Distinguish class-wide vs series-specific voting rights
claude 04e6459
Fix V1 backward compat: preserve TransferRestrictionType enum ordinals
claude cdf8145
Revert V1 enum ordinal preservation — clean up TransferRestrictionType
claude 31b6cea
Remove V1 backward compatibility layer — no prior deployment exists
claude 9dcc268
Implement full ShareExtension redesign per revised evaluation plan
claude de048da
Reject zero conversionPrice for convertible series
claude 2763da1
Only scale price-denominated triggers during stock splits
claude 8bef176
Extract _recordStockSplit internal to fix batch self-call revert
claude 6235595
Backport legend hash tracking, events, and audit trail to CyberCertPr…
claude 0dcd787
Delegate legend management from ShareExtension to CyberCertPrinter
claude 7c871a1
Extract shared StringUtils library for uint256ToString
claude 8bbd1da
Honor dividendCompounding flag in computeAccruedDividends
claude d974920
Preserve custom shareClassKey identity in URI rendering
claude fccc4a2
Condense URI output by omitting inactive sections for simple share cl…
claude c5f8c7e
Add lazy legend-hash backfill for pre-upgrade proxies
claude 205cef4
Backfill legend hashes before appending in add functions
claude ce5b61b
Seed series transfer-restriction legends automatically at mint time
claude dbbf422
Wire setCertPrinter on extension during cert printer creation
claude f37ce4a
Remove deprecated legacy storage slots and annotate no-prod-history
claude File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| { | ||
| "dependencies/forge-std": { | ||
| "rev": "8ba9031ffcbe25aa0d1224d3ca263a995026e477" | ||
| }, | ||
| "dependencies/openzeppelin-contracts": { | ||
| "rev": "fda6b85f2c65d146b86d513a604554d15abd6679" | ||
| }, | ||
| "dependencies/openzeppelin-contracts-upgradeable": { | ||
| "rev": "36ec7079af1a68bd866f6b9f4cf2f4dddee1e7bc" | ||
| } | ||
| } |
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| pragma solidity 0.8.28; | ||
|
|
||
| /// @title StringUtils | ||
| /// @notice Shared string conversion utilities for CyberCorps extensions | ||
| library StringUtils { | ||
| function uint256ToString(uint256 _i) internal pure returns (string memory) { | ||
| if (_i == 0) { | ||
| return "0"; | ||
| } | ||
| uint256 j = _i; | ||
| uint256 len; | ||
| while (j != 0) { | ||
| len++; | ||
| j /= 10; | ||
| } | ||
| bytes memory bstr = new bytes(len); | ||
| uint256 k = len; | ||
| while (_i != 0) { | ||
| k = k - 1; | ||
| uint8 temp = uint8(48 + (_i % 10)); | ||
| bytes1 b1 = bytes1(temp); | ||
| bstr[k] = b1; | ||
| _i /= 10; | ||
| } | ||
| return string(bstr); | ||
| } | ||
| } |
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.