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

[framework] Refactor coin register_extend to register_extend_v2 #3123

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jolestar
Copy link
Contributor

Summary

Summary about this PR

  • Closes #issue

Copy link

vercel bot commented Dec 29, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
rooch-portal-v2.1 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 29, 2024 4:50pm
test-portal ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 29, 2024 4:50pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
rooch ⬜️ Ignored (Inspect) Visit Preview Dec 29, 2024 4:50pm

Copy link

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Files

}

/// This function is for old code to upgrade to new code, exchange the Object<CoinInfo<CoinType>> to Object<TreasuryCap<CoinType>>
public fun exchange_cap<CoinType: key>(coin_info: Object<CoinInfo<CoinType>>): Object<TreasuryCap<CoinType>> {
Copy link
Collaborator

Choose a reason for hiding this comment

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

如果之前的CoinInfo被包裹在struct里是不是就不能exchange_cap了

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.

2 participants