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

Added ERC20 Streaming Enforcer #47

Merged
merged 4 commits into from
Feb 23, 2025
Merged

Added ERC20 Streaming Enforcer #47

merged 4 commits into from
Feb 23, 2025

Conversation

hanzel98
Copy link
Contributor

@hanzel98 hanzel98 commented Feb 14, 2025

What?

  • Introduced an enhanced ERC20StreamingEnforcer contract that supports linear streaming of ERC20 tokens, with a maximum cap (maxAmount) to limit the total tokens that can become available and an initial amount that is release at the start date.

Why?

  • This streaming enforcer could be used for subscription services, giving an initial payment or accruing over time.

How?

  • Created a new enforcer that can be configured to distribute the tokens depending on the configuration indicated in the terms, initial amount, start date, amount per second.

@hanzel98 hanzel98 requested a review from a team as a code owner February 14, 2025 20:35
@hanzel98 hanzel98 force-pushed the erc20-streaming-enforcer branch from 0575cb9 to e7376f0 Compare February 14, 2025 20:59
@hanzel98 hanzel98 marked this pull request as draft February 14, 2025 21:00
@hanzel98 hanzel98 force-pushed the erc20-streaming-enforcer branch from e7376f0 to 17094f2 Compare February 14, 2025 21:13
@hanzel98 hanzel98 changed the title Added erc20 streaming enforcer Added ERC20 Streaming Enforcer Feb 17, 2025
@hanzel98
Copy link
Contributor Author

Original PR: #24

@hanzel98 hanzel98 mentioned this pull request Feb 19, 2025
Co-authored-by: Ryan <81343914+McOso@users.noreply.github.com>
McOso
McOso previously approved these changes Feb 20, 2025
@hanzel98 hanzel98 self-assigned this Feb 20, 2025
@hanzel98 hanzel98 marked this pull request as ready for review February 20, 2025 21:42
jeffsmale90
jeffsmale90 previously approved these changes Feb 20, 2025
Copy link
Contributor

@jeffsmale90 jeffsmale90 left a comment

Choose a reason for hiding this comment

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

LGTM!

@hanzel98 hanzel98 dismissed stale reviews from jeffsmale90 and McOso via 9bb76fd February 21, 2025 01:03
@hanzel98 hanzel98 merged commit b58aa2b into main Feb 23, 2025
4 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.

3 participants