Skip to content

Metadata #19

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

Merged
merged 2 commits into from
Jan 28, 2025
Merged

Metadata #19

merged 2 commits into from
Jan 28, 2025

Conversation

brozorec
Copy link
Collaborator

@brozorec brozorec commented Jan 27, 2025

This PR fixes #18 by closely following "soroban-token-sdk" as example.

Plz, note that this new extension gets re-exported here:

pub mod fungible;
pub mod storage;
pub use extensions::metadata;

This will allow importing with use openzeppelin_fungible_token::metadata instead of use openzeppelin_fungible_token::extensions::metadata. What about doing the same for mintable and burnable?

  • Tests
  • Documentation

@brozorec brozorec self-assigned this Jan 27, 2025
@brozorec brozorec requested a review from ozgunozerk January 27, 2025 13:39
@ozgunozerk
Copy link
Collaborator

This will allow importing with use openzeppelin_fungible_token::metadata instead of use openzeppelin_fungible_token::extensions::metadata. What about doing the same for mintable and burnable?

Sure, I don't see a reason why not :)

@brozorec brozorec merged commit 0c3d4db into main Jan 28, 2025
2 checks passed
@brozorec brozorec deleted the metadata branch January 28, 2025 09:10
@brozorec brozorec mentioned this pull request Jan 28, 2025
@brozorec brozorec mentioned this pull request Mar 28, 2025
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

🏗️ [Core Feature]: Fungible Metadata extension
2 participants