Skip to content

Conversation

@agronetlabs
Copy link

When opening a pull request to submit a new EIP, please use the suggested template: https://github.com/ethereum/EIPs/blob/master/eip-template.md

We have a GitHub bot that automatically merges some PRs. It will merge yours immediately if certain criteria are met:

  • The PR edits only existing draft PRs.
  • The build passes.
  • Your GitHub username or email address is listed in the 'author' header of all affected PRs, inside .
  • If matching on email address, the email address is the one publicly listed on your GitHub profile.

- Changed digest field from bytes32 to bytes in Metadata struct
- Changed atf_digest field from bytes32 to bytes in Attestation struct
- Updated auditESGToken parameter to accept bytes instead of bytes32
- Updated Attested event to use bytes for atfDigest
- Added comprehensive NatSpec documentation
- Enhanced Security Considerations section with hash truncation prevention
- Resolves Codex P1 issue about SHA3-512 compatibility
Copilot AI review requested due to automatic review settings October 22, 2025 15:51
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR introduces a new ERC-8040 standard for ESG (Environmental, Social, and Governance) tokenization on Ethereum. The proposal defines an AI-native protocol for ESG-compliant asset tokenization with quantum-resistant cryptography and lifecycle management.

Key changes include:

  • Definition of a comprehensive metadata structure for ESG tokens with SHA3-512 cryptographic digests
  • Smart contract interface (IERC8040) with functions for minting, auditing, and retiring ESG tokens
  • Compatibility mappings with existing ERCs (20, 721, 1155)

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@eip-review-bot
Copy link
Collaborator

eip-review-bot commented Oct 22, 2025

✅ All reviewers have approved.

@eip-review-bot eip-review-bot changed the title Chore/eip 8040 fix Add ERC: ESG Tokenization Protocol Oct 22, 2025
Updated metadata structure and smart contract interface examples in ERCS/erc-8040.md.
Copy link
Collaborator

@eip-review-bot eip-review-bot left a comment

Choose a reason for hiding this comment

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

All Reviewers Have Approved; Performing Automatic Merge...

@github-actions github-actions bot added the w-ci label Oct 25, 2025
Copy link
Collaborator

@eip-review-bot eip-review-bot left a comment

Choose a reason for hiding this comment

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

All Reviewers Have Approved; Performing Automatic Merge...

@github-actions
Copy link

The commit 24dbb68 (as a parent of a5bd6b4) contains errors.
Please inspect the Run Summary for details.

@agronetlabs
Copy link
Author

Closing this PR as it's a duplicate. Consolidating all changes into PR #1313 which has a cleaner commit history (1 commit, 1 file). See #1313

auto-merge was automatically disabled October 25, 2025 11:53

Pull request was closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants