Skip to content

Add issueTimestamp and acquisitionTimestamp#117

Open
Detoo wants to merge 4 commits into
feat/legionfrom
feat/issuance-acquisition-timestamps
Open

Add issueTimestamp and acquisitionTimestamp#117
Detoo wants to merge 4 commits into
feat/legionfrom
feat/issuance-acquisition-timestamps

Conversation

@Detoo

@Detoo Detoo commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Added

  • issueTimestamp and acquisitionTimestamp as base properties
  • supporting setter/getter

Updated

  • Updated HoldingPeriodCondition and RegSDistributionComplianceCondition per above property changes
  • Reverted IssuanceManager secondary transfer behavior and removed auto-merge feature (to avoid conflicting cert properties such as acquisitionTimestamp)
  • Moved all CyberCertPrinter events and errors to ICyberCertPrinter.sol so they can be shared between base contract and storages

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e9f39ca607

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread src/CyberCertPrinter.sol
if (signature.length == 0) revert ICyberCertPrinter.SignatureRequired();
CyberCertPrinterStorage.cyberCertStorage().issuerSignatures[tokenId].push(signature);
emit CertificateSigned(tokenId, signature);
emit ICyberCertPrinter.CertificateSigned(tokenId, signature);

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Keep emitted events in the printer ABI

After this refactor CyberCertPrinter emits events declared only on ICyberCertPrinter, but the implementation contract neither declares nor inherits that interface, so the generated CyberCertPrinter artifact/ABI will no longer include these emitted events. In deployments or indexers that instantiate the printer from its implementation ABI, events such as CertificateSigned, CyberCertTransfer, UnitsReservedUpdated, and LegalOwnerChanged disappear from the interface even though logs are still emitted, breaking log decoding/subscriptions; keep the declarations on the contract or inherit an interface whose event ABI is meant to be exposed.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

all events are defined in ICyberCertPrinter.sol instead, so offchain ABI will be provided from there

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.

1 participant