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

CrabBacking Module in Crab Runtime and CrabIssuing Module in Mainet Runtime #503

Closed
hackfisher opened this issue Aug 28, 2020 · 2 comments
Closed
Assignees

Comments

@hackfisher
Copy link
Contributor

CRING are native tokens of Darwinia Crab Network, they will be able to transfer cross-chain from Crab to Mainet.

CrabBacking is a module on Crab Network for locking/redeeming the backing CRING, and there should be a counter-party CrabIssuing Module on Mainet for Issuing and Burning.

In mainet genesis, there are 40M RING stored in CrabIssuing module's account for supporting 1:100 converting between RING and CRING, the CRING will be locked in the CrabIssuing module's account after converted.

RING can be converted to CRING in CrabIssuing if and only if there are available CRING locked in the module account.

@hackfisher
Copy link
Contributor Author

After rethinking the design, I would like to try anther way instead:

Using a Swap module and a Issuing(Mapped RING) module on Crab and a Backing(RING) module on Darwinia.

Closing this and open in another issue.

@hackfisher
Copy link
Contributor Author

New issue moved to #509

boundless-forest pushed a commit that referenced this issue Aug 1, 2023
…ance (#503)

* Revert "fix estimate-gas (#501)"

This reverts commit 1a67bc5.

* estimate: if the first exec revert, verify if it's really a lack of gas

Co-authored-by: zjb0807 <zjb0807@qq.com>
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

No branches or pull requests

2 participants