Skip to content

Suggesting updates on the doc of DSToken.transferFrom #39

@DocCon-team

Description

@DocCon-team

Hi,

The function DSToken.transferFrom emits an event Transfer, which is not documented in the README doc.

emit Transfer(src, dst, wad);

A potential fix could be adding "Emits a Transfer event" to the README doc.

Furthermore, function DSToken.transfer calls the function transferFrom. So it also emits the event Transfer.

return transferFrom(msg.sender, dst, wad);

A potential fix could be also adding "Emits a Transfer event" to this function in the README doc.

Could you please check it?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions