Skip to content

time-lock on contract's remaining balance #16

@CodiePP

Description

@CodiePP

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions