Skip to content

Properly implement release stake on fan out contract #126

@ethanfrey

Description

@ethanfrey

Related to #125

When one of the outputs releases stake, how do we handle it?

The simplest way would just to deduct the value from that consumer, which may free the user to later manually withdraw some stake.

The most complex would be to re-evaluate the minimum required commitment once that was removed and if that is lower than the current commitment, release that much to the provider.

An interesting intermediate would be to do nothing (option 1) unless the last consumer releases the last stake, in which case, all commitments are released up to the provider (eg staking contract)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions