Skip to content
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

Expose Module Reference in Contracts #1123

Closed
td202 opened this issue Feb 9, 2024 · 0 comments
Closed

Expose Module Reference in Contracts #1123

td202 opened this issue Feb 9, 2024 · 0 comments
Assignees
Labels

Comments

@td202
Copy link
Contributor

td202 commented Feb 9, 2024

Feature proposal

Add the ability to query the module reference and contract name of a smart contract instance (given its address) within a smart contract.

  • Node:
    • implement the new functionality (conditional on protocol version)
    • benchmark the operations to determine appropriate costs
    • note: the new functionality does not introduce new events in the contract execution, since the host calls are just simple queries (akin to getting account or contract balance)
  • concordium_std:
    • implement appropriate wrapper functions
  • Smart contract testing library:
    • implement the new functionality
  • Examples:
    • implement example uses of the interface
@td202 td202 added the Epic label Feb 9, 2024
@td202 td202 self-assigned this Feb 9, 2024
@td202 td202 closed this as completed May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant