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

Add update_reserved_value method to Mint module and tests #340

Merged
merged 3 commits into from
Mar 18, 2024

Conversation

cloudvenger
Copy link
Contributor

fix #339

@cloudvenger cloudvenger requested a review from tekkac March 15, 2024 01:24
tekkac
tekkac previously approved these changes Mar 18, 2024
Copy link
Member

@tekkac tekkac left a comment

Choose a reason for hiding this comment

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

Minor change requested.
Looks good to me.
Thanks for the additional tests.

@@ -28,6 +28,7 @@ trait IMint<TContractState> {
fn set_min_value_per_tx(ref self: TContractState, min_value_per_tx: u256);
fn set_max_value(ref self: TContractState, max_value: u256);
fn set_unit_price(ref self: TContractState, unit_price: u256);
fn update_reserved_value(ref self: TContractState, value: u256);
fn decrease_reserved_value(ref self: TContractState, value: u256);
Copy link
Member

Choose a reason for hiding this comment

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

update vs decrease:

  • should we remove decrease_reserved_value or,
  • should we rename to inrease_reserved_value ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

in this case, we should remove decrease.

@cloudvenger cloudvenger merged commit 08254ee into Carbonable:main Mar 18, 2024
2 checks passed
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.

Set (change up and down) value for reserve of the selling of a project - on Minter
2 participants