Skip to content

💣 ​Documentation identifies the wrong party as paying money #264

@fulldecent

Description

@fulldecent

Regarding the CountdownGriefingEscrow and CountdownGriefing contracts.

The documentation identifies that the staker or counterparty must approve [ERC-20] tokens to send. This is not necessarily correct. The implementation is that if the function is called by the operator then the operator’s funds are used.

Recommendation: decide which specification is correct, does the operator have authority to spend tokens on behalf of stakers and counterparties, or not? Update documentation and/or implementation as appropriate.

References:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions