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

time-lock on contract's remaining balance #16

Open
CodiePP opened this issue Oct 25, 2024 · 0 comments
Open

time-lock on contract's remaining balance #16

CodiePP opened this issue Oct 25, 2024 · 0 comments
Labels

Comments

@CodiePP
Copy link
Member

CodiePP commented Oct 25, 2024

as time runs, the contract accumulates fees which cannot be retrieved by the user nor by the provider, but only by the owner of the contract.

  • fee_init @ 0.2
  • fee_24h @ 0.05 per 24 hours

The contract should support a time-lock:

  • after stop() the contract's balance is locked for 10 days
  • in this time the user and provider may retrieve their balance
  • after 10 days the contract's owner may transfer the remaining balance
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant