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

Refactor threshold #105

Merged
merged 11 commits into from
Dec 6, 2024
Merged

Refactor threshold #105

merged 11 commits into from
Dec 6, 2024

Conversation

Ninjatosba
Copy link
Collaborator

  • The exit cancelled operation has been removed; Exit_stream will now handle these situations differently.
  • A threshold state has been added under the Finalized status.
  • The creator will execute Finalize_stream regardless of whether the threshold is reached or not.

@Ninjatosba Ninjatosba marked this pull request as ready for review December 4, 2024 23:31
@@ -25,6 +25,8 @@ pub struct StreamState {
pub out_asset: Coin,
/// Status info of the stream
pub status_info: StatusInfo,
/// Threshold amount of the stream
pub threshold: Option<Uint256>,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Just pulling attention to decide if this should go to Streamİnfo?

@orkunkl orkunkl merged commit 397b7af into main Dec 6, 2024
8 checks passed
@orkunkl orkunkl deleted the refactor-threshold branch December 6, 2024 18:23
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