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

Mint | Experimental Restructure #52

Merged
merged 2 commits into from
Aug 17, 2021
Merged

Conversation

FloppyDisck
Copy link
Contributor

Overview

  • Sending to mint is more flexible
  • Removed redundant commands
  • Stored asset queries can now be modified
  • Contract tester is now cleaned up

Details
Mint contract now supports a more flexible minting/burning algorithm and just required the target coin. This removes alot of the complexity of the contract in favor of something easier to read, understand and use. Because of this, the shade and silk contract do not need to be explicit, they are just part of the list of mintable assets (can now be expanded without changing the code). Apart from thtis, some redundant code in the contract tester was removed in favor of a more readable and cleaner solution.

Missing
Public testnet tester implementation

@FloppyDisck FloppyDisck added mint New feature or request for the minting contract contract-tester New feature or request for the contract tester scripts labels Aug 17, 2021
packages/shade_protocol/src/mint.rs Show resolved Hide resolved
packages/shade_protocol/src/mint.rs Show resolved Hide resolved
packages/shade_protocol/src/mint.rs Show resolved Hide resolved
contracts/mint/src/state.rs Show resolved Hide resolved
@FloppyDisck FloppyDisck merged commit 5549cfd into dev Aug 17, 2021
@FloppyDisck FloppyDisck deleted the mint/experimental-restructure branch August 17, 2021 05:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contract-tester New feature or request for the contract tester scripts mint New feature or request for the minting contract
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants