Skip to content

Suggestion: merge refuseInvestment and cancelInvestment #18

@icaroharry

Description

@icaroharry

InvestmentAsset.refuseInvestment and InvestmentAsset.cancelInvestment are the same function, the difference is just the modifiers, the first one being onlyOwner and the second onlyInvestor. So I suggest to merge the functions and create a ownerOrInvestor modifier.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions